@charset "UTF-8";

/**
 * デフォルトのマージン・パディングをリセット
 */
html,
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
  margin-block-start: 0;
  margin-block-end: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body{
  overflow-x: hidden;
}

/**
 * aタグを通常の文字と同じにする
 */

a {
  color: inherit;
  text-decoration: none;
}

/**
 * PC/SP表示
 */

.u-spOnly {
  display: none;
}

@media screen and (max-width: 767px) {
  .u-spOnly {
    display: block;
  }
}

.u-pcOnly {
  display: block;
}

@media screen and (max-width: 767px) {
  .u-pcOnly {
    display: none;
  }
}

/**
 * URL下線
 */

.u-custom-underline {
  border-bottom: currentColor 1px solid;
}

.u-custom-underline:hover {
        background-size: 100% 1px;
        background-position: left bottom;
}

/* --- 既存の下線を打消し --- */
a:where(:not(.wp-element-button)) {
  text-decoration: none !important;
}


/**
 * 文字サイズ縮小
 */
.u-font-small {
  font-size: max(11px, 0.7em);
}