
/* リセットによって消えたポインターを復活させる */
a, button, [role="button"], label {
    cursor: pointer;
}

:root {
    --black: #262626;
    --gray-30: #4D4D4D;
    --gray-60: #999999;
    --gray-90: #E5E5E5;
    --white: #FFFFFF;
    --primary: #d80c18;
    --border: #BFBFBF;
    --bg: #FAF7EF;
    --caution: #D45353;
    --font-weight-regular: 400; /* Regular */
    --font-weight-semi-bold: 600; /* SemiBold */
    --font-weight-bold: 700; /* Bold */
    --font-weight-en-normal: 500; /* Medium */
    --font-family-jp: 'Noto Sans JP', sans-serif;
    --font-family-en: 'Montserrat', sans-serif;
    --font-size-100: 6.944vw;
    --font-size-48: 3.333vw;
    --font-size-40: 2.778vw;
    --font-size-32: 2.222vw;
    --font-size-28: 1.944vw;
    --font-size-24: 1.667vw;
    --font-size-20: 1.389vw;
    --font-size-18: 1.25vw;
    --font-size-16: 1.111vw;
    --font-size-14: 0.972vw;
    --font-size-12: 0.833vw;
    --font-size-10: 0.694vw;
}

@media (max-width: 1023px) {
    :root {
        --font-size-100: 25.641vw;
        --font-size-48: 12.308vw;
        --font-size-40: 10.256vw;
        --font-size-32: 8.205vw;
        --font-size-28: 7.179vw;
        --font-size-24: 6.154vw;
        --font-size-20: 5.128vw;
        --font-size-18: 4.615vw;
        --font-size-16: 4.103vw;
        --font-size-14: 3.59vw;
        --font-size-12: 3.077vw;
        --font-size-10: 2.564vw;
    }
}

/* 画面幅1440px以上 */
@media (min-width: 1440px) {
    :root {
        --black: #262626;
        --gray-30: #4D4D4D;
        --gray-60: #999999;
        --gray-90: #E5E5E5;
        --white: #FFFFFF;
        --primary: #d80c18;
        --border: #BFBFBF;
        --bg: #FAF7EF;
        --caution: #D45353;
        --font-weight-regular: 400; /* Regular */
        --font-weight-semi-bold: 600; /* SemiBold */
        --font-weight-bold: 700; /* Bold */
        --font-weight-en-normal: 500; /* Medium */
        --font-family-jp: "Noto Sans JP", sans-serif;
        --font-family-en: "Montserrat", sans-serif;
        --font-size-100: 100px;
        --font-size-48: 48px;
        --font-size-40: 40px;
        --font-size-32: 32px;
        --font-size-28: 28px;
        --font-size-24: 24px;
        --font-size-20: 20px;
        --font-size-18: 18px;
        --font-size-16: 16px;
        --font-size-14: 14px;
        --font-size-12: 12px;
        --font-size-10: 10px;
    }
}


html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    letter-spacing: 0.05em;
    opacity: 0;
    transition: opacity 1.0s ease-in-out;
    -webkit-font-smoothing: antialiased;
    font-display: swap;
}

body.loaded {
    opacity: 1;
}

.fade-out {
    opacity: 0;
    transition: opacity 1.0s ease-in-out;
}

img {
    width: 100%;
    height: auto;
}

/* common.css の修正 */

/* common.css の該当箇所を以下に差し替え */

.to-pc {
    /* 何も記述しない（または display: unset;） */
}

.to-sp {
    display: none !important; /* PCではスマホ用を隠す */
}

@media (max-width: 1023px) {
    .to-pc {
        display: none !important; /* スマホではPC用を隠す */
    }

    .to-sp {
        display: block !important; /* スマホ用を表示（画像などはこれでOK） */
    }
}

.cont-hidden {
    display: none;
}

.container-small {
    max-width: 57.639vw;
    margin: 0 auto; /* コンテンツを中央に配置 */
} 

.container-medium {
    max-width: 79.861vw;
    margin: 0 auto; /* コンテンツを中央に配置 */
}

.container-large {
    max-width: 90.972vw;
    margin: 0 auto;
}

@media (max-width: 1023px) {
    .container-small,
    .container-medium,
    .container-large {
        max-width: none;
        width: calc(100% - 12.308vw);
        margin: 0 6.154vw;
    }
}

@media (min-width: 1440px) {
    .container-small {
        max-width: 830px;
        margin: 0 auto; /* コンテンツを中央に配置 */
    } 
    
    .container-medium {
        max-width: 1150px;
        margin: 0 auto; /* コンテンツを中央に配置 */
    }
    
    .container-large {
        max-width: 1310px;
        margin: 0 auto;
    }
}


.title-en {
    font-family: var(--font-family-en);
    color: var(--primary);
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-en-normal);
    margin-bottom: 1.111vw !important;
}

@media (max-width: 1023px) {
    .title-en {
        margin-bottom: 4.103vw !important;
    }
}

@media (min-width: 1440px) {
    margin-bottom: 16px !important;
}

.title-jp {
    font-family: var(--font-family-jp);
    color: var(--black);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
}

.more-button-black {
    background-color: var(--black); /* 背景を黒に */
    border-radius: 4.167vw; /* 角を丸める */
    width: fit-content; /* 幅は内容に応じる */
    overflow: hidden; /* はみ出し部分を隠す */
}

.more-button-black a {
    display: flex; /* a要素をブロックにする */
    align-items: center;
    text-decoration: none; /* 下線を消す */
    position: relative;
    width: 17.361vw; /* 幅を指定 */
    height: 3.681vw; /* 高さを固定 */
    overflow: hidden; /* はみ出し部分を隠す */
    line-height: 1.5; /* ボタンの高さと一致させる */
    transition: background-color 0.4s; /* 背景色の遷移を追加 */
}

.more-button-black a .text-area {
    display: block;
    position: relative;
    width: 100%;
    height: 21px;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}


@media (hover: hover) and (pointer: fine) {
    .more-button-black a:hover {
        background-color: var(--primary); /* ホバー時に背景色を変更 */
    }
}

.more-button-black a span {
    display: block; /* spanをブロックにする */
    position: absolute; /* 位置を絶対にする */
    left: 2.222vw;
    width: fit-content; /* 幅を100%に設定 */
    color: var(--white);
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-semi-bold);
    transition: all 0.4s; /* アニメーションを適用 */
    text-align: center; /* テキストを中央揃え */
}

.more-button-black a .text-visible {
    top: 50%; /* 最初のspanを中央に配置 */
    transform: translateY(-50%); /* 垂直方向に中央揃え */
}

.more-button-black a .text-hidden {
    top: 100%; /* 2つ目のspanは下に隠れる */
}

@media (hover: hover) and (pointer: fine) {
    .more-button-black a:hover .text-visible {
        top: -100%; /* ホバー時に最初のspanが上に移動 */
    }

    .more-button-black a:hover .text-hidden {
        top: 50%; /* ホバー時に2つ目のspanを中央に表示 */
        transform: translateY(-50%); /* 垂直方向に中央揃え */
    }
}

.more-button-black a:after {
    content: '';
    display: inline-block;
    background-image: url(../img/common/more-button-black-arrow.svg);
    background-size: 1.458vw;
    background-position-x: 0.556vw;
    background-position-y: -0.139vw;
    background-repeat: no-repeat;
    width: 1.736vw;
    height: 1.111vw;
    position: absolute;
    right: 1.181vw;
    top: 50%;
    transform: translateY(-50%);
    border-left: solid 1px var(--gray-60);
}

@media (min-width: 1440px) {
    .more-button-black {
        background-color: var(--black); /* 背景を黒に */
        border-radius: 60px; /* 角を丸める */
        width: fit-content; /* 幅は内容に応じる */
        overflow: hidden; /* はみ出し部分を隠す */
    }
    
    .more-button-black a {
        text-decoration: none; /* 下線を消す */
        position: relative;
        width: 250px; /* 幅を指定 */
        height: 53px; /* 高さを固定 */
        overflow: hidden; /* はみ出し部分を隠す */
        line-height: 1.5; /* ボタンの高さと一致させる */
        transition: background-color 0.4s; /* 背景色の遷移を追加 */
    }
    
    .more-button-black a:hover {
        background-color: var(--primary); /* ホバー時に背景色を変更 */
    }
    
    .more-button-black a span {
        display: block; /* spanをブロックにする */
        position: absolute; /* 位置を絶対にする */
        left: 32px;
        width: fit-content; /* 幅を100%に設定 */
        color: var(--white);
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-semi-bold);
        transition: all 0.4s; /* アニメーションを適用 */
        text-align: center; /* テキストを中央揃え */
    }
    
    .more-button-black a .text-visible {
        top: 50%; /* 最初のspanを中央に配置 */
        transform: translateY(-50%); /* 垂直方向に中央揃え */
    }
    
    .more-button-black a .text-hidden {
        top: 100%; /* 2つ目のspanは下に隠れる */
    }
    
    .more-button-black a:hover .text-visible {
        top: -100%; /* ホバー時に最初のspanが上に移動 */
    }
    
    .more-button-black a:hover .text-hidden {
        top: 50%; /* ホバー時に2つ目のspanを中央に表示 */
        transform: translateY(-50%); /* 垂直方向に中央揃え */
    }
    
    .more-button-black a:after {
        content: '';
        display: inline-block;
        background-image: url(../img/common/more-button-black-arrow.svg);
        background-size: 21px;
        background-position-x: 8px;
        background-position-y: -2px;
        background-repeat: no-repeat;
        width: 25px;
        height: 16px;
        position: absolute;
        right: 17px;
        top: 50%;
        transform: translateY(-50%);
        border-left: solid 1px var(--gray-60);
    }
}

@media (max-width: 1023px) {
    .more-button-black {
        background-color: var(--black);
        border-radius: 15.385vw;
        width: 100%;
        overflow: hidden;
    }
    
    .more-button-black a {
        text-decoration: none;
        position: relative;
        width: 100%;
        height: 13.59vw;
        overflow: hidden;
        line-height: 1.5;
        transition: background-color 0.4s;
    }
    
    .more-button-black a span {
        display: block; /* spanをブロックにする */
        position: absolute; /* 位置を絶対にする */
        left: 8.205vw;
        width: fit-content; /* 幅を100%に設定 */
        color: var(--white);
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-semi-bold);
        transition: all 0.4s; /* アニメーションを適用 */
        text-align: center; /* テキストを中央揃え */
    }
    
    .more-button-black a:after {
        content: '';
        display: inline-block;
        background-image: url(../img/common/more-button-black-arrow.svg);
        background-size: 5.385vw;
        background-position-x: 2.051vw;
        background-position-y: -0.513vw;
        background-repeat: no-repeat;
        width: 6.41vw;
        height: 4.103vw;
        position: absolute;
        right: 4.359vw;
        top: 50%;
        transform: translateY(-50%);
        border-left: solid 1px var(--gray-60);
    }
}

.more-button-white {
    background-color: var(--white); /* 背景色を白に */
    width: fit-content; /* 幅は内容に応じる */
    border-radius: 4.167vw; /* 角を丸める */
    overflow: hidden; /* はみ出し部分を隠す */
}

.more-button-white a {
    display: flex; /* a要素をフレックスコンテナに */
    justify-content: center; /* 水平方向に中央揃え */
    align-items: center; /* 垂直方向に中央揃え */
    color: var(--black); /* 文字色を黒に */
    font-size: var(--font-size-14); /* フォントサイズ */
    font-weight: var(--font-weight-semi-bold); /* フォントウェイト */
    text-align: left; /* 左揃え */
    text-decoration: none; /* 下線を消す */
    position: relative; /* 相対位置に設定 */
    height: 3.264vw; /* 高さを固定 */
    box-sizing: border-box; /* ボックスサイズを含める */
    border-radius: 4.167vw; /* 角を丸める */
    line-height: 1; /* 行の高さを設定 */
    border: solid 3px var(--gray-90); /* 初期のボーダーカラー */
    transition: background-color 0.4s, color 0.1s, border-color 0.4s; /* 追加の遷移 */
}

@media (hover: hover) and (pointer: fine) {
    .more-button-white a:hover {
        background-color: var(--primary); /* ホバー時に背景色を変更 */
        border-color: transparent; /* ホバー時にボーダーカラーを透明に */
    }
}

.more-button-white .text-area {
    display: block; /* text-visible をブロックにする */
    position: relative; /* 親要素に相対位置 */
    width: 100%; /* 幅を親要素に合わせる */
    height: 21px; /* コンテンツの高さに合わせる */
    overflow: hidden; /* 範囲外にはみ出させない */
    transition: all 0.4s ease-in-out; /* アニメーションを適用 */
}

.more-button-white .text-area span {
    display: block; /* spanをブロックにする */
    position: absolute; /* 位置を絶対にする */
    left: 2.222vw;
    width: fit-content;
    color: inherit; /* 親の色を継承 */
    font-size: inherit; /* 親のフォントサイズを継承 */
    font-weight: inherit; /* 親のフォントウェイトを継承 */
    transition: all 0.4s; /* アニメーションを適用 */
}

.more-button-white .text-area .text-visible {
    top: 50%; /* 最初のspanを中央に配置 */
    transform: translateY(-50%); /* 垂直方向に中央揃え */
}

.more-button-white .text-area .text-hidden {
    top: 110%; /* 2つ目のspanは下に隠れる */
}

@media (hover: hover) and (pointer: fine) {
    .more-button-white a:hover .text-area .text-visible {
        top: -100%; /* ホバー時に最初のspanが上に移動 */
        color: var(--white); /* ホバー時に文字色を白に変更 */
    }

    .more-button-white a:hover .text-area .text-hidden {
        top: 50%; /* ホバー時に2つ目のspanを中央に表示 */
        transform: translateY(-50%); /* 垂直方向に中央揃え */
        color: inherit; /* 色は変更しない */
        color: var(--white); /* ホバー時に文字色を白に変更 */
    }
}

.more-button-white a:after {
    content: ''; /* 内容は空 */
    display: inline-block; /* インラインブロックにする */
    background-image: url(../img/common/more-button-white-arrow.svg); /* 矢印画像 */
    background-size: 1.458vw; /* 画像サイズ */
    background-position-x: 0.556vw; /* X位置 */
    background-position-y: -0.139vw; /* Y位置 */
    background-repeat: no-repeat; /* 画像を繰り返さない */
    width: 1.736vw; /* 幅 */
    height: 1.111vw; /* 高さ */
    position: absolute; /* 絶対位置に設定 */
    right: 1.181vw; /* 右位置 */
    top: 50%; /* Y位置を中央に */
    transform: translateY(-50%); /* 垂直方向に中央揃え */
    border-left: solid 1px var(--gray-60); /* 左ボーダー */
}

@media (min-width: 1440px) {
    .more-button-white {
        background-color: var(--white); /* 背景色を白に */
        width: fit-content; /* 幅は内容に応じる */
        border-radius: 60px; /* 角を丸める */
        overflow: hidden; /* はみ出し部分を隠す */
    }
    
    .more-button-white a {
        color: var(--black); /* 文字色を黒に */
        font-size: var(--font-size-14); /* フォントサイズ */
        font-weight: var(--font-weight-semi-bold); /* フォントウェイト */
        text-align: left; /* 左揃え */
        text-decoration: none; /* 下線を消す */
        position: relative; /* 相対位置に設定 */
        height: 53px; /* 高さを固定 */
        box-sizing: border-box; /* ボックスサイズを含める */
        border-radius: 60px; /* 角を丸める */
        line-height: 1; /* 行の高さを設定 */
    }
    
    .more-button-white a:hover {
        background-color: var(--primary); /* ホバー時に背景色を変更 */
        color: var(--white); /* ホバー時に文字色を白に変更 */
    }
    
    .more-button-white a span {
        display: block; /* spanをブロックにする */
        position: absolute; /* 位置を絶対にする */
        left: 32px;
        width: fit-content;
        color: inherit; /* 親の色を継承 */
        font-size: inherit; /* 親のフォントサイズを継承 */
        font-weight: inherit; /* 親のフォントウェイトを継承 */
        transition: all 0.4s; /* アニメーションを適用 */
    }
    
    .more-button-white .text-area {
        display: block; /* text-visible をブロックにする */
        position: relative; /* 親要素に相対位置 */
        width: 100%; /* 幅を親要素に合わせる */
        height: 21px; /* コンテンツの高さに合わせる */
        overflow: hidden; /* 範囲外にはみ出させない */
        transition: all 0.4s ease-in-out; /* アニメーションを適用 */
    }
    
    .more-button-white .text-area span {
        display: block; /* spanをブロックにする */
        position: absolute; /* 位置を絶対にする */
        left: 32px;
        width: fit-content;
        color: inherit; /* 親の色を継承 */
        font-size: inherit; /* 親のフォントサイズを継承 */
        font-weight: inherit; /* 親のフォントウェイトを継承 */
        transition: all 0.4s; /* アニメーションを適用 */
    }
    
    .more-button-white a:after {
        content: ''; /* 内容は空 */
        display: inline-block; /* インラインブロックにする */
        background-image: url(../img/common/more-button-white-arrow.svg); /* 矢印画像 */
        background-size: 21px; /* 画像サイズ */
        background-position-x: 8px; /* X位置 */
        background-position-y: -2px; /* Y位置 */
        background-repeat: no-repeat; /* 画像を繰り返さない */
        width: 25px; /* 幅 */
        height: 16px; /* 高さ */
        position: absolute; /* 絶対位置に設定 */
        right: 17px; /* 右位置 */
        top: 50%; /* Y位置を中央に */
        transform: translateY(-50%); /* 垂直方向に中央揃え */
        border-left: solid 1px var(--gray-60); /* 左ボーダー */
    }
}

@media (max-width: 1023px) {
    .more-button-white {
        background-color: var(--white); /* 背景色を白に */
        width: 100%;
        border-radius: 15.385vw; /* 角を丸める */
        overflow: hidden; /* はみ出し部分を隠す */
    }
    
    .more-button-white a {
        color: var(--black); /* 文字色を黒に */
        font-size: var(--font-size-14); /* フォントサイズ */
        font-weight: var(--font-weight-semi-bold); /* フォントウェイト */
        text-align: left; /* 左揃え */
        text-decoration: none; /* 下線を消す */
        position: relative; /* 相対位置に設定 */
        height: 13.59vw;
        box-sizing: border-box; /* ボックスサイズを含める */
        border-radius: 15.385vw; /* 角を丸める */
        line-height: 1; /* 行の高さを設定 */
        transition: background-color 0.4s, color 0.1s, border-color 0.4s;
        border: solid 3px var(--gray-90);
    }
    
    .more-button-white .text-area {
        display: block; /* text-visible をブロックにする */
        position: relative; /* 親要素に相対位置 */
        width: 100%; /* 幅を親要素に合わせる */
        height: 21px; /* コンテンツの高さに合わせる */
        overflow: hidden; /* 範囲外にはみ出させない */
        transition: all 0.4s ease-in-out; /* アニメーションを適用 */
    }
    
    .more-button-white .text-area span {
        display: block; /* spanをブロックにする */
        position: absolute; /* 位置を絶対にする */
        left: 8.205vw;
        width: fit-content;
        color: inherit; /* 親の色を継承 */
        font-size: inherit; /* 親のフォントサイズを継承 */
        font-weight: inherit; /* 親のフォントウェイトを継承 */
        transition: all 0.4s; /* アニメーションを適用 */
    }
    
    .more-button-white a span {
        display: block; /* spanをブロックにする */
        position: absolute; /* 位置を絶対にする */
        left: 8.205vw;
        width: fit-content;
        color: inherit; /* 親の色を継承 */
        font-size: inherit; /* 親のフォントサイズを継承 */
        font-weight: inherit; /* 親のフォントウェイトを継承 */
        transition: all 0.4s; /* アニメーションを適用 */
    }
    
    .more-button-white a .text-visible {
        top: 50%; /* 最初のspanを中央に配置 */
        transform: translateY(-50%); /* 垂直方向に中央揃え */
    }
    
    .more-button-white a .text-hidden {
        top: 110%; /* 2つ目のspanは下に隠れる */
    }
    
    .more-button-white a:after {
        content: ''; /* 内容は空 */
        display: inline-block; /* インラインブロックにする */
        background-image: url(../img/common/more-button-white-arrow.svg); /* 矢印画像 */
        background-size: 5.385vw; /* 画像サイズ */
        background-position-x: 2.051vw; /* X位置 */
        background-position-y: -0.513vw; /* Y位置 */
        background-repeat: no-repeat; /* 画像を繰り返さない */
        width: 6.41vw; /* 幅 */
        height: 4.103vw; /* 高さ */
        position: absolute; /* 絶対位置に設定 */
        right: 4.359vw; /* 右位置 */
        top: 50%; /* Y位置を中央に */
        transform: translateY(-50%); /* 垂直方向に中央揃え */
        border-left: solid 1px var(--gray-60); /* 左ボーダー */
    }
}

/* ホバー時の矢印画像を変更 */
@media (hover: hover) and (pointer: fine) {
    .more-button-white a:hover:after {
        background-image: url(../img/common/more-button-black-arrow.svg); /* ホバー時の矢印画像 */
    }
}

/* 下層ページ共通 */

.lower-title {
    max-width: 90.972vw;
    margin: 0 auto 40px;
    height: auto;
    display: unset;
    padding: 0;
}

.lower-title h1 {
    font-family: var(--font-family-en);
    font-size: var(--font-size-100);
    font-weight: var(--font-weight-en-normal);
    line-height: 1.5;
}

.lower-title p {
    font-family: var(--font-family-jp);
    font-size: var(--font-size-24);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    position: relative; /* 相対位置にすることで子要素の絶対位置を基準にする */
    padding-left: 1.667vw; /* 左側のテキストとアイコンの間の余白 */
    opacity: 0; /* 初期状態で透明に */
    transition: opacity 1s ease-in-out; /* フェードインのトランジション */
}

.lower-title p.is-visible {
    opacity: 1; /* フェードイン */
}

.lower-title p:before {
    content: ''; /* 内容は空にする */
    position: absolute; /* 絶対位置を指定 */
    left: 0; /* 左端に配置 */
    top: 53%; /* 垂直中央に配置 */
    transform: translateY(-50%); /* 自身の高さの半分だけ上にずらすことで完全に中央揃え */
    width: 0.556vw; /* 幅 */
    height: 0.556vw; /* 高さ */
    background-color: red; /* 赤い丸 */
    border-radius: 50%; /* 丸くする */
    margin-right: 1.667vw; /* 右に24pxの余白 */
}

.lower-content {
    margin-top: 8.333vw;
}

@media (min-width: 1440px) {
    .lower-title {
        max-width: 1310px;
        margin: 0 auto 40px;
        height: auto;
        display: unset;
        padding: 0;
    }
    
    .lower-title h1 {
        font-family: var(--font-family-en);
        font-size: 5.0rem;
        font-weight: var(--font-weight-en-normal);
        line-height: 1.5;
    }
    
    .lower-title p {
        font-family: var(--font-family-jp);
        font-size: var(--font-size-24);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        position: relative; /* 相対位置にすることで子要素の絶対位置を基準にする */
        padding-left: 24px; /* 左側のテキストとアイコンの間の余白 */
        opacity: 0; /* 初期状態で透明に */
        transition: opacity 1s ease-in-out; /* フェードインのトランジション */
    }
    
    .lower-title p.is-visible {
        opacity: 1; /* フェードイン */
        color: rgb(197, 45, 39);
    }
    
    .lower-title p:before {
        content: ''; /* 内容は空にする */
        position: absolute; /* 絶対位置を指定 */
        left: 0; /* 左端に配置 */
        top: 53%; /* 垂直中央に配置 */
        transform: translateY(-50%); /* 自身の高さの半分だけ上にずらすことで完全に中央揃え */
        width: 8px; /* 幅 */
        height: 8px; /* 高さ */
        background-color: rgb(197, 45, 39); /* 赤い丸 */
        border-radius: 50%; /* 丸くする */
        margin-right: 24px; /* 右に24pxの余白 */
    }
    
    .lower-content {
        margin-top: 120px;
    }
}

@media (max-width: 1023px) {
    .lower-content {
        margin-top: 10.256vw;
    }

    .lower-title {
        max-width: unset;
        margin: 0 auto 10.256vw;
    }

    .lower-title h1 {
        font-size: 1.9rem;
    }
    
    .lower-title p {
        font-size: var(--font-size-16);
        padding-left: 6.154vw; /* 左側のテキストとアイコンの間の余白 */
    }
    
    .lower-title p:before {
        content: ''; /* 内容は空にする */
        position: absolute; /* 絶対位置を指定 */
        left: 0; /* 左端に配置 */
        top: 53%; /* 垂直中央に配置 */
        transform: translateY(-50%); /* 自身の高さの半分だけ上にずらすことで完全に中央揃え */
        width: 2.051vw; /* 幅 */
        height: 2.051vw; /* 高さ */
        background-color: red; /* 赤い丸 */
        border-radius: 50%; /* 丸くする */
        margin-right: 6.154vw; /* 右に24pxの余白 */
    }
    
}

/* header */

/* 共通のヘッダースタイル */
header, .scroll-header {
    width: 100%;
    height: 6.806vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5.556vw;
    z-index: 10;
    margin-bottom: 4.306vw;
}

/* overlap-header クラスのスタイル */
header.overlap-header {
    position: absolute; /* 絶対位置に設定 */
    top: 0; /* 上に配置 */
    left: 0; /* 左に配置 */
    right: 0; /* 右に配置 */
    z-index: 10; /* z-indexを設定して、メインコンテンツの上に配置 */
    margin-bottom: 0;
}

/* scroll-header 固有のスタイル */
.scroll-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white); /* 背景色を設定 */
    border-bottom: solid 1px var(--gray-90);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

/* scroll-header の表示状態 */
.scroll-header.visible {
    transform: translateY(0);
}

/* ロゴとナビゲーションメニューのスタイル（共通） */
header .logo img, .scroll-header .logo img {
    width: 16.667vw;
    height: 2.361vw;
}

header .menu-main-menu-container ul, .scroll-header .menu-main-menu-container ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

header .menu-main-menu-container ul li, .scroll-header .menu-main-menu-container ul li {
    margin-left: 2.222vw;
}

header .menu-main-menu-container ul li:first-child, .scroll-header .menu-main-menu-container ul li:first-child {
    margin-left: 0;
}

/* メニューリンクのホバーアニメーション */
header .menu-link, .scroll-header .menu-link {
    position: relative;
    color: var(--black);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-bold);
    line-height: 1.8;
}

header .menu-link::after, .scroll-header .menu-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.556vw;
    width: 100%;
    height: 0.069vw;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right; /* 右端を起点にスケールを適用 */
    transition: transform 0.5s ease;
}

@media (hover: hover) and (pointer: fine) {
    header .menu-link:hover, .scroll-header .menu-link:hover {
        color: var(--primary);
    }

    header .menu-link:hover::after, .scroll-header .menu-link:hover::after {
        transform: scaleX(1);
        transform-origin: left; /* 左端からスライドイン */
    }
}

/* リンクのスタイル */
header.overlap-header .menu-main-menu-container ul li a {
    text-decoration: none;
    color: var(--white);
}

header.overlap-header .menu-main-menu-container .menu-link:hover {
    color: var(--primary);
}
/* スクロール時のヘッダー */

/* scroll-header 初期状態 */
.scroll-header {
    visibility: hidden; /* 初期は非表示 */
    opacity: 0; /* 初期は透明 */
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white); /* 必要に応じて背景色を指定 */
    z-index: 999;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s 0.3s; /* visibilityの遅延を追加 */
    transform: translateY(-100%); /* 上に隠す */
}

/* スクロール時に表示されるとき */
.scroll-header.visible {
    visibility: visible; /* 表示 */
    opacity: 1; /* フェードイン */
    transform: translateY(0); /* 下にスライド */
    transition: transform 0.3s ease, opacity 0.3s ease; /* トランジション */
}

@media (min-width: 1440px) {
    header, .scroll-header {
        width: 100%;
        height: 98px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 80px;
        z-index: 10;
        margin-bottom: 2px;
    }
    
    /* overlap-header クラスのスタイル */
    header.overlap-header {
        position: absolute; /* 絶対位置に設定 */
        top: 0; /* 上に配置 */
        left: 0; /* 左に配置 */
        right: 0; /* 右に配置 */
        z-index: 10; /* z-indexを設定して、メインコンテンツの上に配置 */
        margin-bottom: 0;
    }
    
    /* scroll-header 固有のスタイル */
    .scroll-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: var(--white); /* 背景色を設定 */
        border-bottom: solid 1px var(--gray-90);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }
    
    /* scroll-header の表示状態 */
    .scroll-header.visible {
        transform: translateY(0);
    }
    
    /* ロゴとナビゲーションメニューのスタイル（共通） */
    header .logo img, .scroll-header .logo img {
        width: 344px;
        height: 41px;
    }
    
    header .menu-main-menu-container ul, .scroll-header .menu-main-menu-container ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    header .menu-main-menu-container ul li, .scroll-header .menu-main-menu-container ul li {
        margin-left: 32px;
    }
    
    header .menu-main-menu-container ul li:first-child, .scroll-header .menu-main-menu-container ul li:first-child {
        margin-left: 0;
    }
    
    /* メニューリンクのホバーアニメーション */
    header .menu-link, .scroll-header .menu-link {
        position: relative;
        color: var(--black);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    header .menu-link::after, .scroll-header .menu-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 100%;
        height: 1px;
        background-color: var(--primary);
        transform: scaleX(0);
        transform-origin: right; /* 右端を起点にスケールを適用 */
        transition: transform 0.5s ease;
    }
    
    header .menu-link:hover, .scroll-header .menu-link:hover {
        color: var(--primary);
    }
    
    header .menu-link:hover::after, .scroll-header .menu-link:hover::after {
        transform: scaleX(1);
        transform-origin: left; /* 左端からスライドイン */
    }
    
    
    /* リンクのスタイル */
    header.overlap-header .menu-main-menu-container ul li a {
        text-decoration: none;
        color: var(--white);
    }
    
    header.overlap-header .menu-main-menu-container .menu-link:hover {
        color: var(--primary);
    }
    /* スクロール時のヘッダー */
    
    /* scroll-header 初期状態 */
    .scroll-header {
        visibility: hidden; /* 初期は非表示 */
        opacity: 0; /* 初期は透明 */
        position: fixed;
        top: 0;
        width: 100%;
        background-color: var(--white); /* 必要に応じて背景色を指定 */
        z-index: 999;
        align-items: center;
        justify-content: space-between;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s 0.3s; /* visibilityの遅延を追加 */
        transform: translateY(-100%); /* 上に隠す */
    }
    
    /* スクロール時に表示されるとき */
    .scroll-header.visible {
        visibility: visible; /* 表示 */
        opacity: 1; /* フェードイン */
        transform: translateY(0); /* 下にスライド */
        transition: transform 0.3s ease, opacity 0.3s ease; /* トランジション */
    }
    
}


@media (max-width: 1023px) {
    .no-scroll {
        overflow: hidden; /* スクロールを無効にする */
    }

    header.global-header,
    .scroll-header {
        z-index: 1100;
        padding: 6.154vw;
        height: auto;
    }

    header .logo img,
    .scroll-header .logo img {
        width: 46.154vw;
        height: auto;
    }

    /* 初期状態では非表示で透明に設定 */
    .sp-menu-content {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--bg);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s;
        z-index: 1000;
    }

    /* sp-menu-content が表示されているとき */
    .sp-menu-content.open {
        opacity: 1;
        visibility: visible;
    }

    /* sp-menu-header のスタイル */
    .sp-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 6.154vw;
        position: absolute;
        top: 0;
    }

    .sp-menu-header .logo img {
        width: 46.154vw;
        height: auto;
    }

    header.global-header .hamburger-icon,
    .scroll-header .hamburger-icon {
        background: none;
        border: none;
        cursor: pointer;
        width: 16.41vw;
        height: 8.205vw;
        background: var(--black);
        border-radius: 7.692vw;
        position: relative;
    }

    header.global-header .hamburger-icon.btn-trigger .icon,
    .scroll-header .hamburger-icon.btn-trigger .icon {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        width: 4.103vw;
        height: 2.308vw;
    }

    header.global-header .hamburger-icon.btn-trigger .icon span,
    .scroll-header .hamburger-icon.btn-trigger .icon span {
        position: absolute;
        left: 0;
        width: 4.103vw;
        height: 0.256vw;
        background-color: var(--white);
    }

    header.global-header .hamburger-icon.btn-trigger,
    header.global-header .hamburger-icon.btn-trigger span,
    .scroll-header .hamburger-icon.btn-trigger,   
    .scroll-header .hamburger-icon.btn-trigger span {
        display: inline-block;
        transition: all .5s;
        box-sizing: border-box;
    }

    header.global-header .hamburger-icon.btn-trigger span:nth-of-type(1),
    .scroll-header .hamburger-icon.btn-trigger span:nth-of-type(1)  {
        top: 0;
    }

    header.global-header .hamburger-icon.btn-trigger span:nth-of-type(2),
    .scroll-header .hamburger-icon.btn-trigger span:nth-of-type(2) {
        top: 1.026vw;
    }

    header.global-header .hamburger-icon.btn-trigger span:nth-of-type(3),
    .scroll-header .hamburger-icon.btn-trigger span:nth-of-type(3) {
        bottom: 0;
    }

    header.global-header .hamburger-icon.btn-trigger.active span:nth-of-type(1),
    .scroll-header .hamburger-icon.btn-trigger.active span:nth-of-type(1) {
        transform: translateY(1.026vw) rotate(-45deg);
    }

    header.global-header .hamburger-icon.btn-trigger.active span:nth-of-type(2),
    .scroll-header .hamburger-icon.btn-trigger.active span:nth-of-type(2) {
        opacity: 0;
    }

    header.global-header .hamburger-icon.btn-trigger.active span:nth-of-type(3),
    .scroll-header .hamburger-icon.btn-trigger.active span:nth-of-type(3) {
        transform: translateY(-1.026vw) rotate(45deg);
    }

    /* sp-menu-contentのスタイル */
    .sp-menu-content {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: ;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s;
        z-index: 1000;
    }

    /* メニューが開いたときの状態 */
    .sp-menu-content.open {
        opacity: 1;
        visibility: visible;
    }

    /* メニューリストのスタイル */
    .sp-menu-content .menu-main-menu-container {
        position: absolute;
        top: 27.692vw;
        left: 6.154vw;
    }

    .sp-menu-content .menu-main-menu-container ul {
        display: flex;
        flex-direction: column;
        gap: 8.205vw; /* 要素間の間隔 */
        padding: 0;
        margin: 0;
        list-style: none;
        align-items: flex-start; /* 左寄せ */
    }

    /* メニューリンクのスタイル */
    .sp-menu-content .menu-main-menu-container ul li {
        margin-left: 0;
    }

    /* メニューリンクのスタイル */
    .sp-menu-content .menu-main-menu-container ul li a {
        display: inline-flex; /* フレックスボックスを使用 */
        align-items: center; /* 縦中央揃え */
        font-size: var(--font-size-20);
        font-weight: var(--font-weight-bold);
        line-height: 1.8;
        color: var(--black) !important;
        text-decoration: none;
        background-image: url(../img/common/more-button-white-arrow.svg);
        background-size: 5.385vw;
        background-repeat: no-repeat;
        background-position: left center; /* 背景画像を上下中央に配置 */
        padding-left: 7.179vw; /* 画像分の余白を追加 */
    }
    
    .sp-menu-content .copyright {
        position: absolute;
        bottom: 6.154vw;
    }

    .sp-menu-content .copyright p {
        font-size: var(--font-size-10);
    }
}

/* 1023px以下かつポインタデバイス（マウス）用の微調整 */
@media (max-width: 1023px) and (pointer: fine) {
    .no-scroll {
        overflow: hidden; /* スクロールを無効にする */
    }

    header.global-header,
    .scroll-header {
        z-index: 1100;
        padding: 6.154vw;
        height: auto;
    }

    header .logo img,
    .scroll-header .logo img {
        width: 46.154vw;
        height: auto;
    }

    /* 初期状態では非表示で透明に設定 */
    .sp-menu-content {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--bg);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s;
        z-index: 1000;
    }

    /* sp-menu-content が表示されているとき */
    .sp-menu-content.open {
        opacity: 1;
        visibility: visible;
    }

    /* sp-menu-header のスタイル */
    .sp-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 6.154vw;
        position: absolute;
        top: 0;
    }

    .sp-menu-header .logo img {
        width: 46.154vw;
        height: auto;
    }

    header.global-header .hamburger-icon,
    .scroll-header .hamburger-icon {
        background: none;
        border: none;
        cursor: pointer;
        width: 16.41vw;
        height: 8.205vw;
        background: var(--black);
        border-radius: 7.692vw;
        position: relative;
    }

    header.global-header .hamburger-icon.btn-trigger .icon,
    .scroll-header .hamburger-icon.btn-trigger .icon {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        width: 4.103vw;
        height: 2.308vw;
    }

    header.global-header .hamburger-icon.btn-trigger .icon span,
    .scroll-header .hamburger-icon.btn-trigger .icon span {
        position: absolute;
        left: 0;
        width: 4.103vw;
        height: 0.256vw;
        background-color: var(--white);
    }

    header.global-header .hamburger-icon.btn-trigger,
    header.global-header .hamburger-icon.btn-trigger span,
    .scroll-header .hamburger-icon.btn-trigger,   
    .scroll-header .hamburger-icon.btn-trigger span {
        display: inline-block;
        transition: all .5s;
        box-sizing: border-box;
    }

    header.global-header .hamburger-icon.btn-trigger span:nth-of-type(1),
    .scroll-header .hamburger-icon.btn-trigger span:nth-of-type(1)  {
        top: 0;
    }

    header.global-header .hamburger-icon.btn-trigger span:nth-of-type(2),
    .scroll-header .hamburger-icon.btn-trigger span:nth-of-type(2) {
        top: 1.026vw;
    }

    header.global-header .hamburger-icon.btn-trigger span:nth-of-type(3),
    .scroll-header .hamburger-icon.btn-trigger span:nth-of-type(3) {
        bottom: 0;
    }

    header.global-header .hamburger-icon.btn-trigger.active span:nth-of-type(1),
    .scroll-header .hamburger-icon.btn-trigger.active span:nth-of-type(1) {
        transform: translateY(1.026vw) rotate(-45deg);
    }

    header.global-header .hamburger-icon.btn-trigger.active span:nth-of-type(2),
    .scroll-header .hamburger-icon.btn-trigger.active span:nth-of-type(2) {
        opacity: 0;
    }

    header.global-header .hamburger-icon.btn-trigger.active span:nth-of-type(3),
    .scroll-header .hamburger-icon.btn-trigger.active span:nth-of-type(3) {
        transform: translateY(-1.026vw) rotate(45deg);
    }

    /* sp-menu-contentのスタイル */
    .sp-menu-content {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: ;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s;
        z-index: 1000;
    }

    /* メニューが開いたときの状態 */
    .sp-menu-content.open {
        opacity: 1;
        visibility: visible;
    }

    /* メニューリストのスタイル */
    .sp-menu-content .menu-main-menu-container {
        position: absolute;
        top: 27.692vw;
        left: 6.154vw;
    }

    .sp-menu-content .menu-main-menu-container ul {
        display: flex;
        flex-direction: column;
        gap: 6.205vw;
        padding: 0;
        margin: 0;
        list-style: none;
        align-items: flex-start;
    }

    /* メニューリンクのスタイル */
    .sp-menu-content .menu-main-menu-container ul li {
        margin-left: 0;
    }

    /* メニューリンクのスタイル */
    .sp-menu-content .menu-main-menu-container ul li a {
        display: inline-flex;
        align-items: center;
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-bold);
        line-height: 1.8;
        color: var(--black) !important;
        text-decoration: none;
        background-image: url(../img/common/more-button-white-arrow.svg);
        background-size: 5.385vw;
        background-repeat: no-repeat;
        background-position: left center;
        padding-left: 6.179vw;
    }
    
    .sp-menu-content .copyright {
        position: absolute;
        bottom: 6.154vw;
        left: 6.154vw;
    }

    .sp-menu-content .copyright p {
        font-size: 10px;
    }
}



/* footer */

footer {
    padding: 5.556vw 0 8.333vw;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F3E7 75.49%);
}

footer a,
footer p {
    color: var(--black);
    line-height: 1.5;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8.889vw;
}

.footer-top .logo {
    width: 16.667vw;
}

.footer-top .logo a {
    display: block;
}

footer nav {
    display: flex;
    gap: 2.222vw;
}

footer nav ul {
    display: flex;
    gap: 1.389vw;
}

/* フッター内のリンクスタイル */
footer nav .menu-link {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-semi-bold);
    position: relative;
    color: var(--black); /* デフォルトのテキスト色 */
    text-decoration: none; /* デフォルトの下線を消す */
    transition: color 0.3s ease; /* テキスト色の変更にトランジションを追加 */
}

footer nav .menu-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.278vw; /* 下線の位置を調整 */
    width: 100%;
    height: 0.069vw; /* 下線の太さ */
    background-color: var(--primary); /* 下線の色 */
    transform: scaleX(0); /* 初期状態では見えない */
    transform-origin: left; /* 左端を起点にスケールを適用 */
    transition: transform 0.5s ease; /* 下線のスライドにトランジションを追加 */
}

@media (hover: hover) and (pointer: fine) {
    footer nav .menu-link:hover {
        color: var(--primary); /* マウスオーバー時のテキスト色 */
    }

    footer nav .menu-link:hover::after {
        transform: scaleX(1); /* マウスオーバー時に下線が表示 */
    }

    footer nav .menu-link:not(:hover)::after {
        transform-origin: right; /* 右端を起点にスケールを適用 */
        transform: scaleX(0); /* マウスアウト時に右に消える */
    }
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 2.222vw;
}

.footer-bottom a {
    font-size: var(--font-size-12);
    font-weight: var(--font-weight-regular);
}

.footer-bottom .copyright {
    font-size: 0.833vw;
    text-align: right;
}

@media (min-width: 1440px) {
    footer {
        padding: 80px 0 120px;
        background: linear-gradient(180deg, #FFFFFF 0%, #F8F3E7 75.49%);
    }
    
    footer a,
    footer p {
        color: var(--black);
        line-height: 1.5;
    }
    
    .footer-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 128px;
    }
    
    .footer-top .logo {
        width: 344px;
    }
    
    .footer-top .logo a {
        display: block;
    }
    
    footer nav {
        display: flex;
        gap: 32px;
    }
    
    footer nav ul {
        display: flex;
        gap: 20px;
    }
    
    /* フッター内のリンクスタイル */
    footer nav .menu-link {
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-semi-bold);
        position: relative;
        color: var(--black); /* デフォルトのテキスト色 */
        text-decoration: none; /* デフォルトの下線を消す */
        transition: color 0.3s ease; /* テキスト色の変更にトランジションを追加 */
    }
    
    footer nav .menu-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -4px; /* 下線の位置を調整 */
        width: 100%;
        height: 1px; /* 下線の太さ */
        background-color: var(--primary); /* 下線の色 */
        transform: scaleX(0); /* 初期状態では見えない */
        transform-origin: left; /* 左端を起点にスケールを適用 */
        transition: transform 0.5s ease; /* 下線のスライドにトランジションを追加 */
    }
    
    footer nav .menu-link:hover {
        color: var(--primary); /* マウスオーバー時のテキスト色 */
    }
    
    footer nav .menu-link:hover::after {
        transform: scaleX(1); /* マウスオーバー時に下線が表示 */
    }
    
    footer nav .menu-link:not(:hover)::after {
        transform-origin: right; /* 右端を起点にスケールを適用 */
        transform: scaleX(0); /* マウスアウト時に右に消える */
    }
    
    
    .footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid var(--border);
        padding-top: 32px;
    }
    
    .footer-bottom a {
        font-size: var(--font-size-12);
        font-weight: var(--font-weight-regular);
    }
    
    .footer-bottom .copyright {
        font-size: 12px;
        text-align: right;
    }
}

@media (max-width: 1023px) {
    footer {
        padding: 10.256vw 0 15.385vw;
        background: linear-gradient(180deg, #FFFFFF 0%, #F8F3E7 75.49%);
    }

    footer a,
    footer p {
        color: var(--black);
        line-height: 1.5;
    }

    .footer-top {
        display: block;
        margin-bottom: 20.513vw;
    }

    .footer-top .logo {
        width: 61.538vw;
        margin-bottom: 8.205vw;
    }

    .footer-top .logo a {
        display: block;
    }

    footer nav {
        display: block;
    }

    footer nav ul {
        display: block;
    }

    footer nav ul li {
        margin-bottom: 8.205vw;
    }

    footer nav ul li:last-child {
        margin-bottom: 0;
    }

    /* フッター内のリンクスタイル */
    footer nav .menu-link {
        font-size: var(--font-size-16);
    }

    footer nav .menu-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -1.026vw; /* 下線の位置を調整 */
        width: 100%;
        height: 0.256vw; /* 下線の太さ */
        background-color: var(--primary); /* 下線の色 */
        transform: scaleX(0); /* 初期状態では見えない */
        transform-origin: left; /* 左端を起点にスケールを適用 */
        transition: transform 0.5s ease; /* 下線のスライドにトランジションを追加 */
    }

    .footer-bottom {
        display: block;
        border-top: 1px solid var(--border);
        padding-top: 8.205vw;
    }

    .footer-bottom .privacy-link {
        margin-bottom: 8.205vw;
    }

    .footer-bottom a {
        font-size: var(--font-size-14);
    }

    .footer-bottom .copyright {
        font-size: var(--font-size-12);
        text-align: left;
    }
}


/* パンくずリスト */

.breadcrumb {
    max-width: 90.972vw;
    margin: 0 auto;
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    position: relative;
    font-size: var(--font-size-12);
    line-height: 1.5;
    white-space: nowrap;
}

.breadcrumb li:not(:first-child)::before {
    content: "";
    width: 1.111vw;
    height: 0.069vw;
    background-color: var(--border);
    margin: 0 1.111vw;
    display: block; /* inline-block から block に変更 */
    align-self: center; /* 自動的に上下中央に揃える */
}

.breadcrumb li:first-child::before {
    content: "";
    margin: 0;
}

.breadcrumb li a {
    text-decoration: none;
    color: var(--gray-60);
}

.breadcrumb li:last-child {
    overflow: hidden;
}

.breadcrumb li:last-child span {
    white-space: nowrap; /* テキストを一行で表示 */
    overflow: hidden; /* あふれた部分を隠す */
    text-overflow: ellipsis; /* 省略記号「...」を表示 */
}

@media (min-width: 1440px) {
    .breadcrumb {
        max-width: 1310px;
        margin: 0 auto;
    }
    
    .breadcrumb ul {
        list-style: none;
        display: flex;
        padding: 0;
    }
    
    .breadcrumb li {
        display: flex;
        align-items: center;
        position: relative;
        font-size: var(--font-size-12);
        line-height: 1.5;
        white-space: nowrap;
    }
    
    .breadcrumb li:not(:first-child)::before {
        content: "";
        width: 16px;
        height: 1px;
        background-color: var(--border);
        margin: 0 16px;
        display: block; /* inline-block から block に変更 */
        align-self: center; /* 自動的に上下中央に揃える */
    }
    
    .breadcrumb li:first-child::before {
        content: "";
        margin: 0;
    }
    
    .breadcrumb li a {
        text-decoration: none;
        color: var(--gray-60);
    }
    
    .breadcrumb li:last-child {
        overflow: hidden;
    }
    
    .breadcrumb li:last-child span {
        white-space: nowrap; /* テキストを一行で表示 */
        overflow: hidden; /* あふれた部分を隠す */
        text-overflow: ellipsis; /* 省略記号「...」を表示 */
    }
}

@media (max-width: 1023px) {
    .breadcrumb {
        max-width: none;
        width: calc(100% - 12.308vw);
        margin: 0 6.154vw;
    }
    
    .breadcrumb ul {
        list-style: none;
        display: flex;
        padding: 0;
    }
    
    .breadcrumb li {
        display: flex;
        align-items: center;
        position: relative;
        font-size: var(--font-size-12);
        line-height: 1.5;
    }
    
    .breadcrumb li:not(:first-child)::before {
        content: "";
        width: 16px;
        height: 1px;
        background-color: var(--border);
        margin: 0 16px;
        display: block; /* inline-block から block に変更 */
        align-self: center; /* 自動的に上下中央に揃える */
    }
    
    .breadcrumb li:first-child::before {
        content: "";
        margin: 0;
    }
    
    .breadcrumb li a {
        text-decoration: none;
        color: var(--gray-60);
    }
}

/* 下層ページ2カラム */

.lower-content.two-column {
    display: flex;
    justify-content: space-between; /* 左右の間隔を均等に */
    margin-bottom: 120px;
}

@media (min-width: 1440px) {
    .lower-content.two-column {
        margin-bottom: 8.333vw;
    }
}

@media (max-width: 1023px) {
    .lower-content.two-column {
        display: block;
        margin-bottom: 0;
    }
}

/* フェードイン用スタイル */
.fade-in {
    opacity: 0; /* 初期状態は透明 */
    transition: opacity 0.5s ease; /* フェードインの効果 */
}

.fade-up {
    opacity: 0; /* 初期状態で透明 */
    transform: translateY(1.389vw); /* 初期位置を下に設定 */
    transition: opacity 0.6s ease, transform 0.6s ease; /* アニメーション設定 */
}

@media (min-width: 1440px) {
    .fade-up {
        opacity: 0; /* 初期状態で透明 */
        transform: translateY(20px); /* 初期位置を下に設定 */
        transition: opacity 0.6s ease, transform 0.6s ease; /* アニメーション設定 */
    }
}

.fade-up.active {
    opacity: 1; /* フェードイン時に不透明にする */
    transform: translateY(0); /* 位置を元に戻す */
}

/* ページタイトルのクリップアニメーションスタイル */
.page-title {
    position: relative;
    font-size: 3rem; /* フォントサイズを調整 */
    color: #333;     /* テキストの色 */
    overflow: hidden;
}

.overflow-path {
    display: inline-block;
    white-space: nowrap; /* テキストの折り返しを防ぐ */
    color: transparent; /* テキストを透明にする */
    background-clip: text; /* テキストに背景をクリップ */
    -webkit-background-clip: text; /* Safari用のベンダープレフィックス */
}

.red, .black {
    display: inline-block; /* インラインブロックにする */
    position: absolute; /* 絶対位置に変更して重ねる */
    top: 0;
    left: 0;
    width: 100%; /* 幅を100%に設定 */
    height: 100%; /* 高さを親要素に合わせる */
    background-clip: text; /* テキストに背景をクリップ */
    -webkit-background-clip: text; /* Safari用 */
    color: transparent; /* テキストを透明にして背景だけ見えるように */
}

.red {
    background-image: linear-gradient(to right, rgb(197, 45, 39), rgb(197, 45, 39)); /* 赤のグラデーション */
    background-size: 100%; /* 背景サイズを調整 */
    background-position: 0% 50%; /* 初期位置を左端に設定 */
    transition: clip-path 1.5s cubic-bezier(0.5, 0, 1, 1); /* clip-pathのアニメーション */
    clip-path: inset(0 100% 0 0); /* 初期状態で右側が隠れる */
}

.black {
    background-image: linear-gradient(to right, rgb(255, 255, 255), rgb(255, 255, 255)); /* 黒のグラデーション */
    background-size: 100%; /* 背景サイズを調整 */
    background-position: 0% 50%; /* 初期位置を左端に設定 */
    transition: clip-path 0.75s cubic-bezier(0.5, 0, 1, 1); /* clip-pathのアニメーション */
    clip-path: inset(0 100% 0 0); /* 初期状態で右側が隠れる */
}

.recruit-page .black {
    background-image: linear-gradient(to right, white, white); /* 黒のグラデーション */
}

/* is-activeクラスの追加 */
.is-active .red {
    clip-path: inset(0 0 0 0); /* 全体を表示 */
}

/* black-activeクラスの追加 */
.black-active .black {
    clip-path: inset(0 0 0 0); /* 全体を表示 */
}



/* 見出しのアニメーションアップスタイル */

.page-description {
    /* 必要なスタイルを設定 */
}

.overflow-container {
    display: inline-block; /* インラインブロックにすることで幅を設定 */
    overflow: hidden; /* はみ出た内容を非表示 */
    height: 1.2em; /* 高さを設定してテキストが見えないようにする */
}

.animation-up {
    display: inline-block;
    position: relative; /* 相対位置を指定 */
    transform: translateY(30px); /* 初期位置を下に設定 */
    opacity: 0; /* 初期透明度を設定 */
    transition: transform 0.5s cubic-bezier(0.175, 0, 0.175, 1), opacity 0.5s ease; /* アニメーションの設定 */
}

.animation-up.is-active {
    transform: translateY(-10px); /* 元の位置に戻す */
    opacity: 1; /* 最終的に完全に表示 */
}

.border-animation-up {
    position: relative;
    display: inline-block;
}

.border-animation-up::after {
    content: ''; /* 疑似要素を作成 */
    position: absolute;
    left: 0;
    bottom: -0.208vw;
    height: 2px;
    width: 100%;
    background-color: var(--white);
    transform: scaleX(0); /* 初期状態で非表示に */
    transform-origin: left;
    transition: transform 1.0s ease; /* トランジションをテキストと同期 */
    transition-delay: 0.8s;
}

.border-animation-up.is-active::after {
    transform: scaleX(1); /* アクティブ時に下線を表示 */
}

@media (min-width: 1440px) {
    .border-animation-up::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -4px;
        height: 2px;
        width: 100%;
        background-color: var(--white);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 1.0s ease;
        transition-delay: 0.8s;
    }
}

@media screen and (max-width: 1023px) {
    .animation-up {
        letter-spacing: -0.01em;
    }

    .overflow-container {
        height: 1.4em; /* 高さを設定してテキストが見えないようにする */
    }
    
    .animation-up.is-active {
        transform: translateY(0); /* 元の位置に戻す */
    }
}

/* cookie同意エリア */
#cookie-notice .cookie-notice-container {
    padding: 1.111vw 5.556vw;
    text-align: left;
    width: 100%;
    border-top: solid 1px var(--gray-90);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cn-text-container {
    margin: 0;
    font-size: var(--font-size-12);
    line-height: 1.5;
    color: var(--black);
    letter-spacing: 0.05em;
}

.cn-text-container a {
    text-decoration: underline;
}


#cookie-notice .cn-button {
    margin: 0;
    display: inline-block;
    font-size: var(--font-size-12);
    padding: 12px 24px;
    border-radius: 33px;
    border: solid 1px var(--gray-60);
    transition: opacity 0.3s;
}

#cookie-notice .cn-button:hover {
    opacity: 0.7;
}

.cn-close-icon {
    display: none;
}

@media (min-width: 1440px) {
    #cookie-notice .cookie-notice-container {
        padding: 16px 80px;
        text-align: left;
        width: 100%;
        border-top: solid 1px var(--gray-90);
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    #cookie-notice .cn-button {
        margin: 0;
        display: inline-block;
        font-size: var(--font-size-12);
        padding: 0.833vw 1.667vw;
        border-radius: 2.292vw;
        border: solid 1px var(--gray-60);
        transition: opacity 0.3s;
    }
}

@media screen and (max-width: 1023px) {
    #cookie-notice .cookie-notice-container {
        padding: 4.103vw 6.154vw;
        text-align: left;
        width: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        align-items: flex-start;
    }

    .cn-text-container {
        font-size: var(--font-size-10);
        margin-bottom: 8px; /* ボタンとの間隔を追加 */
    }

    #cn-notice-buttons {
        width: 100%;
        text-align: center;
    }

    #cookie-notice .cn-button {
        width: 100%;
        box-sizing: border-box; /* パディングを含めた幅を確保 */
    }
}

.anchor-target {
    scroll-margin-top: 2.778vw;
}

@media (min-width: 1440px) {
    .anchor-target {
        scroll-margin-top: 40px;
    }
}

@media (max-width: 1023px) {
    .anchor-target {
        scroll-margin-top: 10.256vw;
    }
}

/*TOPメッセージ*/
.top-message {
    padding-top: clamp(3.75rem,1.992rem + 7.03vw,3.375rem);
}
.top-message__grid {
    -webkit-column-gap: 8.37%;
    -moz-column-gap: 8.37%;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 66.64% 24.99%;
    column-gap: 8.37%;
}
.top-message__img {
    position: relative;
    grid-area: 1/1/2/2;
}
.top-message__img .c-title__vertical {
    z-index: 1;
    position: absolute;
    top: -75px;
    right: 150px;
}
.c-title__vertical {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 15px;
}
.c-title__vertical__str {
    display: block;
    width: 67px;
}

.top-message__content {
    grid-area: 1/2/2/3;
}
.c-title__border.\:lg {
    font-weight: 500;
    font-size: clamp(1.5rem,1.2266rem + 1.0938vw,2.375rem);
}
.c-title__border {
    color: var(--color-base);
    font-weight: 600;
    font-size: .75rem;
    font-family: var(--ff-en);
    text-transform: uppercase;
}
.top-message__body {
    grid-area: 1/2/2/3;
    margin-top: 40px;
    margin-right: 80px;
    margin-bottom: 40px;
    font-size: clamp(.8125rem,.7734rem + .1563vw,.9375rem);
    line-height: 2.0rem;
    font-size: 16px;
}
[data-scroll-trigger=top].\:visible {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}
.c-button__primary {
    display: inline-block;
    position: relative;
    min-width: 200px;
    padding: 15px 60px 15px 20px;
    border: 1px solid var(--color-primary);
    border-radius: 100vh;
    color: var(--color-primary);
    font-size: clamp(.8125rem,.793rem + .0781vw,.875rem);
}
.c-button__primary__arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    border: 1px solid var(--color-primary);
    border-radius: 100%;
    background-color: var(--color-bg);
    transition-duration: .5s;
    transition-property: background;
    transition-timing-function: cubic-bezier(.19,1,.22,1);
}
.c-button__primary__arrow:before, .c-button__primary__arrow:after {
    -webkit-mask-size: 50%;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-image: url(/assets/images/main/arrow-right.svg);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    content: "";
    mask-image: url(/assets/images/main/arrow-right.svg);
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: 50%;
    transition-duration: .5s;
    transition-property: opacity,background,-webkit-transform;
    transition-property: opacity,transform,background;
    transition-property: opacity,transform,background,-webkit-transform;
    transition-timing-function: cubic-bezier(.19,1,.22,1);
}
@media screen and (max-width: 1023.98px) {
    .top-message__grid {
        display: block;
    }
    .top-message__img .c-title__vertical {
        top: auto;
        right: 50px;
        bottom: -100px;
    }
        .top-message__body {
        margin: 30px 0px;
    }
}
@media screen and (max-width: 575.98px) {
    .top-message__img .c-title__vertical {
        top: auto;
        right: 25px;
        bottom: -80px;
    }
    .c-title__vertical__str {
        width: 35px;
    }
        .top-message__content {
        padding: 20px 20px 0px;
    }
}
/*よくある質問*/
/* ==========================================================================
   Variables (変数の整理)
   ========================================================================== */
:root {
    /* 色・フォントサイズ等の定数があればここに追加 */
    --bg-faq: #f1f0eb;
    --accent-red: #d70c18;
    --primary-blue: #1f2e55;
}

/* ==========================================================================
   Reset / Base (リセット補完)
   ========================================================================== */
:where(:not(html,iframe,canvas,img,svg,video,audio):not(svg *,symbol *)) {
    all: unset;
    display: revert;
    box-sizing: border-box;
}

/* ==========================================================================
   Layout Components (共通レイアウト)
   ========================================================================== */
.c-container {
    width: 100%;
    max-width: 1000px;
    margin-inline: auto;
    padding-inline: 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   Index FAQ Section (FAQセクション全体)
   ========================================================================== */
.p-index_faq {
    position: relative;
    padding-block-start: min(4.897vw + 41.6px, 120px);
    overflow: hidden; /* 背景の突き抜け対策 */
    margin-top: 50px;
}

/* 背景グラデーション装飾 */
.p-index_faq:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    inline-size: 100%;
    block-size: min(17.55vw + 299.1px, 580px);
    background: radial-gradient(50% 50% at 50% 50%, #dcdee4 0%, #8890a5 100%);
}

.p-index_faq__inner {
    display: grid;
    gap: min(5.714vw - 21.4px, 70px);
    grid-template-columns: min(16.32vw + 128.7px, 390px) 1fr;
}

@media (max-width: 768px) {
    .p-index_faq__inner {
        grid-template-columns: 1fr;
    }
}

.p-index_faq__head {
    position: relative;
}

.p-index_faq__illust {
    position: absolute;
    top: 115px;
    left: 0;
}

/* FAQリストコンテナ */
.p-index_faq__inner .c-faqs {
    position: relative;
    z-index: 1;
    background-color: var(--bg-faq);
    border-radius: 40px 0 0 40px;
    padding-block: min(2.77vw + 19.5px, 64px);
    padding-inline: min(5.22vw - 19.5px, 64px) 0;
}

/* FAQリスト背景の右側突き抜け（デザイン意図） */
.p-index_faq__inner .c-faqs:before {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    inline-size: 100vw;
    block-size: 100%;
    background-color: var(--bg-faq);
}

/* ==========================================================================
   Heading (見出し)
   ========================================================================== */
.p-index_heading {
    position: relative;
}

.p-index_heading__en {
    position: absolute;
    top: 10%;
    right: 0;
    translate: 0 -50%;
    font-size: min(7.83vw + 2.16rem, 10rem);
    font-weight: 700;
    line-height: 1;
    text-transform: none;
    z-index: -1;
}

.p-index_heading.-green .p-index_heading__en {
    color: #8890a5;
}

/* アニメーション用 */
.js-anim_elm .p-index_heading__main,
.js-anim_elm .p-index_heading__sub {
    opacity: 0;
    translate: 0 20px;
    transition: opacity .4s ease, translate .8s ease;
}

.js-anim_elm.is-act .p-index_heading__main,
.js-anim_elm.is-act .p-index_heading__sub,
.js-anim_elm.is-act .p-index_heading__en .js-split,
.js-anim_elm.-base.is-act {
    opacity: 1;
    translate: 0;
    scale: 1;
}

/* ==========================================================================
   FAQ Accordion (アコーディオン)
   ========================================================================== */
.c-faq__head,
.c-faq__body {
    display: grid;
    gap: .7em;
    padding-inline: min(.97vw + 8.3px, 24px);
}

.c-faq__head {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding-block: 1.5em;
    cursor: pointer;
}

.c-faq__body {
    grid-template-columns: auto 1fr;
    align-items: center;
    padding-bottom: 1em;
}

/* Q&Aアイコン */
.c-faq__head .en,
.c-faq__body .en {
    width: 1em;
    aspect-ratio: 24/36;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    font-size: 1.5em;
}

.c-faq__head .en { background-image: url(../img/common/icon_q.svg); }
.c-faq__body .en { background-image: url(../img/common/icon_a.svg); align-self: start; }

/* トグルボタン（＋ー） */
.c-faq__toggle {
    display: grid;
    place-items: center;
    width: 1em;
    aspect-ratio: 1;
    margin-left: auto;
    font-size: 1.875em;
    color: var(--accent-red);
    background-color: #fff;
    border: 2px solid #333;
    border-radius: 50%;
    filter: drop-shadow(min(.12vw + 1px, 3px) min(.12vw + 1px, 3px) min(.2vw + 1.7px, 5px) rgba(124,128,129,.25));
    transition: all .4s ease;
}

.c-faq__toggle:before,
.c-faq__toggle:after {
    content: "";
    grid-area: 1/1;
    width: .5em;
    border-top: 2px solid;
    border-radius: 100vmax;
    transition: transform .4s ease;
}

/* 閉じている時：＋ / 開いている時：ー */
.c-faq__toggle:after { transform: rotate(90deg); }
.js-accordion:not(.is-close) .c-faq__toggle:after { transform: rotate(0deg); }

/* アコーディオン開閉アニメーション */
.js-accordion-wrapper {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}


/* ==========================================================================
   Typography (タイポグラフィ)
   ========================================================================== */
.c-title-s { font-size: min(.32vw + 1.17rem, 1.5rem); }
.c-title-xl { font-size: min(1.95vw + 1.54rem, 3.5rem); }
.fonts-h2 { font-size: 2.5rem; color: #000; }

.c-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    fill: currentColor;
}
.c-icon img, .c-icon svg {
    width: auto;
    height: 1em;
}

/*aboutMV用CSS*/
/* 親要素に基準点を設定 */
.about-kv {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* 画像の基本設定 */
.about-kv img {
    width: 100%;
    height: auto;
    display: block;
}

/* テキストを絶対配置で重ねる */
.about-kv .container-large {
    position: absolute;
    top: 70%;           /* 上下中央（必要に応じて調整） */
    left: 50%;          /* 左右中央 */
    transform: translate(-50%, -50%); /* 中央寄せの補正 */
    z-index: 10;
    width: 90.972vw;    /* 元のcontainer-largeの幅を維持 */
}

@media (max-width: 768px) {
.about-kv .container-large {
    position: absolute;
    top: 60%;           /* 上下中央（必要に応じて調整） */
    left: 45%;          /* 左右中央 */
    transform: translate(-50%, -50%); /* 中央寄せの補正 */
    z-index: 10;
    width: 90.972vw;    /* 元のcontainer-largeの幅を維持 */
    color: #fff;
}
}
