/* 全体に対してクリック・選択のハイライトを無効化 */
* {
    -webkit-tap-highlight-color: transparent; /* モバイルでの青ハイライト消す */
}
a {
    color: var(--color-text);
    transition: all .5s;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
    color: var(--background-main);
    opacity: inherit;
}
::selection {
    background: #717171; /* 選択時の背景色 */
    color: #fff; /* 選択時の文字色 */
}
ul, ol {
    list-style: none;
    margin: 0;
    padding-left: 0;
}
img {
    width: 100%;
    height: auto;
    display: block;
}
.img-100 {
    width: 100%;
}
.small, small {
    font-size: .7em;
}
/* レスポンシブ */
.pc {
    display: none;
}
.sp {
    display: block;
}
/* ボタン */
.btn-m {
    text-align: center;
}
.btn-m a {
    min-width: 240px;
    max-width: 90%;
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
    background-color: #FFFFFF;
    color: #191919;
    border-radius: 999px;
    padding: 0.8em 3em 0.8em 2.5em;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
}
.btn-white a {
    background-color: #909EA0;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
}
/* 矢印（右端・縦中央） */
.item_arrow {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: center;
    width: 28px;
    height: 28px;
    position: relative;
    transition: transform 0.3s ease;
}
.item_arrow::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 8px;
    height: 8px;
    border-right: 1px solid #222;
    border-top: 1px solid #222;
    transform: rotate(45deg);
}
.link-block:hover .item_arrow {
    transform: translateX(-0.3em);
}

.arrow-icon-right {
    position: absolute;
    top: 50%;
    right: 1.2em;
    transform: translateY(-50%);
    width: 0.7em;
    height: 0.7em;
    transition: transform 0.3s ease;
}
.arrow-icon-left {
    position: absolute;
    top: 50%;
    left: 1.2em;
    transform: translateY(-50%);
    width: 0.7em;
    height: 0.7em;
    transition: transform 0.3s ease;
}
.btn-arrow-right:hover .arrow-icon-right, .btn-l a:hover .arrow-icon-right {
    transform: translateY(-50%) translateX(-0.2em);
}
.btn-arrow-left:hover .arrow-icon-left, .btn-l a:hover .arrow-icon-left {
    transform: translateY(-50%) translateX(0.2em);
}
.item_arrow {
    transition: transform 0.3s ease;
}
.link-block:hover .item_arrow, .btn-block:hover .item_arrow {
    transform: translateX(-0.3em);
}
.disabled {
    pointer-events: none;
}

.scroll-indicator {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.scroll-indicator .arrow {
  position: relative;
  width: 1px;
  height: 4rem;
  background-color: rgba(0, 0, 0, 0.7);
  animation: scrollMove 1.8s ease-in-out infinite;
}

/* 斜めの矢印部分 */
.scroll-indicator .arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 8px;
  height: 8px;
  border-right: 1px solid rgba(0, 0, 0, 0.7);
  transform: rotate(45deg);
}

/* アニメーション */
@keyframes scrollMove {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(1rem);
  }
  100% {
    transform: translateY(0);
  }
}


html {
    font-size: 14px;
}
body {
    color: #191919;
    font-family: "Aboreto", "BIZ UDMincho", serif;
    font-weight: 400;
    font-style: normal;
    font-optical-sizing: auto;
    scroll-behavior: smooth;
    overflow-x: hidden;
    letter-spacing: 0.03rem;
    line-height: 1.7;
    background-color: #C8C8C8;
}
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}
#main {
    flex: 1; /* 余った高さを埋める */
    padding-top: 2rem;
}
.inner-width {
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    width: 100%;
    box-sizing: border-box;
}
.bg-frame {
    position: relative;
    background: #EBEBEB;
    padding: 3rem;
    z-index: 1;
    display: grid;
    place-items: center;
}
.img-100 {
    width: 100%;
}
/* CONTACT セクション */
#contact-block {
    background-color: #909EA0;
    padding: 4rem 0;
    margin-top: 3rem;
}
#contact-block p {
    font-size: 1.2rem;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}
#contact-block p {
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}
#contact-block .btn-m a {
    background-color: #909EA0;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
}
@media screen and (min-width: 768px) {
    .pc {
        display: block;
    }
    .sp {
        display: none;
    }
    html {
        font-size: 16px;
    }
    .bg-frame {
        border-radius: 2rem;
        width: 90%;
        margin: 0 auto;
        max-width: 1600px;
        padding: 4%;
    }
    .inner-width {
        padding-left: 10%;
        padding-right: 10%;
    }
    .inner-width-m {
        max-width: 900px;
        margin: 0 auto;
        padding: 0;
    }
    .inner-width-s {
        max-width: 700px;
        margin: 0 auto;
        padding: 0;
    }
    .item_arrow {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        width: 28px;
        height: 28px;
        position: relative;
    }
}
@media screen and (min-width: 1200px) {
    .inner-width {
        padding-left: 10%;
        padding-right: 10%;
    }
}
/* マテリアル */
hr.short {
    width: 60px;
    margin: 0 auto;
    border-top: 1px #000000 solid;
    opacity: 1;
    margin-bottom: 2.5rem;
}
hr.short-s {
    width: 30px;
    margin: 0 auto;
    border-top: 1px #000000 solid;
    opacity: 1;
    margin-bottom: 1rem;
}
/* カラー */
.color-yellow {
    color: #F5EE88;
}
.color-green {
    color: #C3DC82;
}
.color-pink {
    color: #F5CDCD;
}
.color-white {
    color: #FFFFFF;
}
.color-gray {
    color: #808080;
}
.bg-yellow {
    background-color: #F5EE88;
}
.bg-green {
    background-color: #C3DC82;
}
.bg-pink {
    background-color: #F5CDCD;
}
.bg-yellow-light {
    background-color: #FFFDDD;
}
.bg-green-light {
    background-color: #ECF5D8;
}
.bg-pink-light {
    background-color: #FFF0F0;
}
.bg-gray {
    background-color: #808080;
}
.bg-gray-light {
    background-color: #F9F9F7;
}
.bg-black {
    background-color: #000000;
}
.bg-white {
    background-color: #FFFFFF;
}
/* フォントサイズ */
.txt-xs {
    font-size: 0.8rem;
}
.txt-s {
    font-size: 0.9rem;
}
.txt-m {
    font-size: 1rem;
}
.txt-l {
    font-size: 1.5rem;
}
.txt-xl {
    font-size: 2rem;
}
.txt-xxl {
    font-size: 3rem;
}
/* 英文フォント用 */
.font-en {
    font-family: "Marcellus", serif;
    letter-spacing: 0.1em;
}
.font-en-2 {
    font-family: "Aboreto", system-ui;
    letter-spacing: 0.08em;
}
/* フォントウェイトユーティリティ */
.fw-400 {
    font-weight: 400;
}
.fw-500 {
    font-weight: 500;
}
.fw-600 {
    font-weight: 600;
}
.fw-700 {
    font-weight: 700;
}
.fw-900 {
    font-weight: 900;
}