/* トップページ */
.front-page {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
@media screen and (max-width:500px){
.front-page {
//	height:300px;
//	border:1px solid #000;
}
}
.front-page.is-visible {
    opacity: 1;
}

/* KV */
.front-page .key-visual {
    height: 100vh; /* ビューポートの高さに合わせる */
    display: flex; /* flexboxで子要素を配置 */
    flex-direction: column; /* 縦に並べる */
    justify-content: center; /* 垂直方向中央揃え */
    align-items: center; /* 水平方向中央揃え */
    position: relative; /* 相対位置に設定 */
    overflow: hidden; /* はみ出した部分を隠す */
}

.front-page .key-visual .bg-slider {
    width: 100%;
    height: 100%; /* .key-visualの高さと同じにする */
    overflow: hidden; /* 外に出る部分を隠す */
    position: relative;
}

.slider-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.slider-container .left-slide,
.slider-container .right-slide {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.front-page .key-visual .image-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: inset(0 0 0 0); /* 必要に応じて調整 */
    z-index: 1; /* 初期状態では下のレイヤー */
}

.front-page .key-visual .image-wrapper img {
    width: 100%;  /* 親要素の幅に合わせる */
    height: 100%; /* 親要素の高さに合わせる */
    object-fit: cover;  /* 親要素に合わせて画像を切り抜く */
    object-position: center; /* 画像の中央に配置 */
}

.front-page .key-visual .image-wrapper.show {
    z-index: 2; /* 現在表示されるスライドを前面に */
    clip-path: inset(0 0 0 0); /* 表示全体 */
    transition: transform 8s ease-in-out; /* 拡大のアニメーションを追加 */
    transform: scale(1.1); /* 1.1倍に拡大 */
}

.front-page .key-visual .image-wrapper.hidden {
    transform: scale(1.0); /* 元のサイズに戻す */
    transition: transform 8s ease-in-out; /* 戻すアニメーションを追加 */
}

.front-page .key-visual .image-wrapper.leave {
    transition: clip-path 2.6s cubic-bezier(0.77,0,0.2,1), transform 1s ease-in-out; /* クリップパスと縮小のアニメーション */
    z-index: 2; /* 消えるときは前面に配置 */
    transform: scale(1.1); /* 拡大効果を保持 */
}

.right-slide .image-wrapper.leave {
    clip-path: inset(0 0 100% 0); /* 上から下に消えていく */
}

.left-slide .image-wrapper.leave {
    clip-path: inset(100% 0 0 0); /* 下から上に消えていく */
}

.front-page .key-visual .slider-indicator {
    position: absolute;
    bottom: 1.806vw;
    left: 5.556vw;
    display: flex;
    align-items: center;
    font-size: 1.2em;
    gap: 1.111vw;
    z-index: 3;
}

.front-page .key-visual .slider-indicator .current-slide,
.front-page .key-visual .slider-indicator .total-slides {
    color: var(--primary);
    font-size: var(--font-size-12);
    font-weight: var(--font-weight-en-normal);
    line-height: 1.5;
}

.front-page .key-visual .indicator-bar {
    position: relative;
    width: 9.722vw; /* インジケーターの幅 */
    height: 0.069vw;
    background-color: var(--gray-90);
    overflow: hidden;
}

.front-page .key-visual .indicator-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--primary);
    width: 0;
    transition: width 5s linear; /* 5秒かけてインジケーターが伸びる */
}

.front-page .key-visual .description {
    position: absolute;
    width: 35.417vw;
    height: 19.444vw;
    top: 11.25vw;
    left: 5.556vw;
    z-index: 3;
}

.front-page .key-visual .description h1 {
    font-size: 3.75vw;
    line-height: 1.5;
    margin-bottom: 0.486vw;
    color: var(--white);
    font-weight: var(--font-weight-semi-bold);
}

/* overflow-container のスタイル */
.front-page .key-visual .description h1 .overflow-container {
    transform: translate(-50%, 50%); /* 中央揃え */
    overflow: hidden; /* コンテンツがはみ出さないように */
    height: 1.6em;
}

/* border-animation-up のアニメーション */
.front-page .key-visual .description h1 .border-animation-up {
    display: inline-block;
    transform: translateY(120%);
    transition: transform 0.6s ease-out;
}

.front-page .key-visual .description h1 .is-active .border-animation-up {
    transform: translateY(0); /* 元の位置に戻す（上に移動） */
}

/* is-active クラスでアニメーション開始 */
.front-page .key-visual .description h1 .is-active {
    transform: translateY(0); /* 元の位置に戻す（上に移動） */
}

/* is-active クラスが付いたときに下線を表示 */
.front-page .key-visual .description h1 .border-animation-up.is-active::after {
    transform: scaleX(1); /* アクティブ時に下線を表示 */
}

/* overflow-container に対する下線アニメーション */
.front-page .key-visual .description h1 .overflow-container::after {
    content: ''; /* 疑似要素を作成 */
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: var(--white);
    transform: scaleX(0); /* 初期状態で非表示 */
    transform-origin: left;
    transition: transform 1s ease; /* トランジションをテキストと同期 */
}

/* is-active クラスが付いたときに overflow-container に下線を表示 */
.front-page .key-visual .description h1 .overflow-container.is-active::after {
    transform: scaleX(1); /* アクティブ時に下線を表示 */
}

/* overflow-container に is-active クラスが付いたときに位置を戻す */
.front-page .key-visual .description h1 .overflow-container.is-active {
    transform: translateY(0); /* 元の位置に戻す */
}

.front-page .key-visual .description h1 span {
    display: inline-block;
    height: 1.23em;
}

.front-page .key-visual .description p.fade-in-text {
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-bold);
    line-height: 1.8;
    color: var(--white);
    opacity: 0;
    transition: opacity 1s ease;
}

.front-page .key-visual .description p.fade-in-text.is-visible {
    opacity: 1;
}

.front-page .recruit-button {
    width: 28.125vw;
    height: 5.208vw;
    border-radius: 0.278vw;
    border: solid 1px var(--white);
    background-color: rgba(255, 255, 255, 0.6); /* 背景色白、透明度60% */
    backdrop-filter: blur(10px); /* 背景のぼかしエフェクト */
    -webkit-backdrop-filter: blur(10px); /* Safari用のベンダープレフィックス */
    display: flex; /* 2カラム表示のためにflexboxを使用 */
    align-items: center;
    opacity: 0; /* 初期状態で透明 */
    visibility: hidden; /* 初期状態で非表示 */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transition: opacity 0.5s ease, visibility 0s 0.5s; /* opacityの変更をフェードイン・フェードアウト、visibilityの変更を遅延で処理 */
}

.front-page .recruit-button.visible {
    opacity: 1; /* visibleクラスが追加されると、完全に表示される */
    visibility: visible; /* 完全に表示される */
    transition: opacity 0.5s ease, visibility 0s 0s; /* すぐに表示されるようにvisibilityの遅延を解除 */
}

.front-page .recruit-button a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.front-page .recruit-button img {
    width: 7.639vw;
    height: auto; /* アスペクト比を保つ */
    margin-right: 1.667vw; /* 画像とテキスト間のスペース */
}

.front-page .recruit-button .recruit-text {
    flex-grow: 1; /* テキストエリアを拡張 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.front-page .recruit-button .recruit-text h2 {
    font-size: 1.25vw;
    line-height: 1.5;
    margin-bottom: 0.278vw;
    width: fit-content;
}

.front-page .recruit-button .recruit-text p {
    font-size: 0.833vw;
    width: fit-content;
}

.front-page .recruit-button .recruit-text p::after {
    content: "";
    display: inline-block;
    background-color: var(--white);
    width: 1.319vw;
    height: 0.069vw;
    margin-left: 0.556vw;
    vertical-align: middle;
}

.front-page .recruit-button .arrow-icon {
    background: var(--white);
    border-radius: 50%;
    width: 1.667vw;
    height: 1.667vw;
    position: absolute;
    right: 1.111vw;
}

.front-page .recruit-button .arrow-icon img {
    width: 0.833vw;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}

.front-page .recruit-button .close-button {
    position: absolute;
    top: -0.833vw;
    right: -0.833vw;
    background: var(--white);
    border: none;
    cursor: pointer;
    border-radius: 50%;
    width: 1.667vw;
    height: 1.667vw;
}

.front-page .recruit-button .close-button img {
    width: 0.833vw;
    height: 0.833vw;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

@media (min-width: 1440px) {
    .front-page .key-visual .slider-indicator {
        position: absolute;
        bottom: 26px;
        left: 80px;
        display: flex;
        align-items: center;
        font-size: 1.2em;
        gap: 16px;
        z-index: 3;
    }
    
    .front-page .key-visual .indicator-bar {
        position: relative;
        width: 140px; /* インジケーターの幅 */
        height: 1px;
        background-color: var(--gray-90);
        overflow: hidden;
    }
    
    .front-page .key-visual .description {
        position: absolute;
        width: 510px;
        height: 280px;
        top: 162px;
        left: 80px;
        z-index: 3;
    }
    
    .front-page .key-visual .description h1 {
        font-size: 54px;
        margin-bottom: 7px;
        color: var(--white);
    }
    
    .front-page .key-visual .description h1 span {
        display: inline-block; /* 下線が正しく表示されるようにする */
        height: 1.23em;
    }

    .front-page .recruit-button {
        bottom: 26px;
        right: 32px;
        width: 405px;
        height: 75px;
        border-radius: 4px;
        border: solid 1px var(--white);
        background-color: rgba(255, 255, 255, 0.6); /* 背景色白、透明度60% */
        backdrop-filter: blur(10px); /* 背景のぼかしエフェクト */
        -webkit-backdrop-filter: blur(10px); /* Safari用のベンダープレフィックス */
        display: flex; /* 2カラム表示のためにflexboxを使用 */
        align-items: center;
    }
    
    .front-page .recruit-button img {
        width: 110px;
        height: auto; /* アスペクト比を保つ */
        margin-right: 24px; /* 画像とテキスト間のスペース */
    }
    
    .front-page .recruit-button .recruit-text h2 {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 4px;
    }
    
    .front-page .recruit-button .recruit-text p {
        font-size: 12px;
    }

    .front-page .recruit-button .recruit-text p::after {
        content: "";
        display: inline-block;
        background-color: var(--white);
        width: 19px;
        height: 1px;
        margin-left: 8px;
        vertical-align: middle;
    }
    
    .front-page .recruit-button .arrow-icon {
        background: var(--white);
        border-radius: 50%;
        width: 24px;
        height: 24px;
        position: absolute;
        right: 16px;
    }
    
    .front-page .recruit-button .arrow-icon img {
        width: 12px;
        height: auto;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        margin: auto;
    }
    
    .front-page .recruit-button .close-button {
        position: absolute;
        top: -12px;
        right: -12px;
        background: var(--white);
        border: none;
        cursor: pointer;
        border-radius: 50%;
        width: 24px;
        height: 24px;
    }
    
    .front-page .recruit-button .close-button img {
        width: 12px;
        height: 12px;
        position: absolute;
        margin: auto;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
    }
}

/* banner-area */

.front-page .banner-area {
    margin-top: 2.778vw;
    margin-bottom: 2.778vw;
    display: flex;
    justify-content: space-between;
    gap: 4.444vw; /* アイテム間のスペース */
}

.front-page .banner-area .banner-item {
    flex: 1; /* アイテムを均等に配置 */
}

.front-page .banner-area .banner-item a {
    transition: opacity 0.6s ease; /* トランジションの設定 */
}

.front-page .banner-area .banner-item a:hover {
    opacity: 0.5; /* hover時に半透明にする */
}


.japane-banner {
    margin-top: 5.556vw;
    margin-bottom: 5.556vw;
}

@media (min-width: 1440px) {

    .front-page .banner-area {
        margin-top: 40px;
        margin-bottom: 40px;
        display: flex;
        justify-content: space-between;
        gap: 64px; /* アイテム間のスペース */
    }
    
    .front-page .banner-area .banner-item {
        flex: 1; /* アイテムを均等に配置 */
    }

    .japane-banner {
        margin-top: 80px;
        margin-bottom: 80px;
    }
}

/* What we do */

.front-page .what-we-do {
    padding-top: 4.167vw;
    padding-bottom: 8.333vw;
    margin-bottom: 8.333vw;
    background: url(../images/index/what-we-do_bg.png) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.what-we-do .container-medium  {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8.333vw;
}

.what-we-do .description h2.title-jp  {
    font-size: var(--font-size-40);
    margin-bottom: 4.444vw;
}

.what-we-do .description p  {
    font-size: var(--font-size-16);
    line-height: 2.3;
    margin-bottom: 4.444vw;
}

.what-we-do .image {
    width: 45.139vw;
    padding-top: 14.583vw;
}

/* 親要素のスタイル */
.what-we-do .image-slider {
    width: 100%; /* スライダーの横幅 */
    overflow: hidden; /* 画面外の画像は隠す */
    position: relative;
}

/* 画像を横に並べる */
.front-page .what-we-do .slider {
    display: flex;
    width: max-content; /* コンテンツの幅を画像の総幅に合わせる */
    animation: scroll-img 40s linear infinite; /* 無限スクロールアニメーション */
}

/* 個別の画像に対するサイズ指定 */
.front-page .what-we-do .slider img {
    object-fit: cover; /* 画像のアスペクト比を保つ */
    margin-right: 2.222vw;
    border-radius: 0.556vw;
}

/* 画像ごとに異なる幅と高さを指定 */
.front-page .what-we-do .slider .img1 { width: 17.778vw; height: 22.222vw; margin-top: 9.236vw; }
.front-page .what-we-do .slider .img2 { width: 44.444vw; height: 29.653vw; }
.front-page .what-we-do .slider .img3 { width: 17.778vw; height: 22.222vw; margin-top: 3.681vw; }
.front-page .what-we-do .slider .img4 { width: 44.444vw; height: 29.653vw; margin-top: 5.556vw; }
.front-page .what-we-do .slider .img5 { width: 17.778vw; height: 22.222vw; margin-top: 3.681vw; }
.front-page .what-we-do .slider .img6 { width: 44.444vw; height: 29.653vw; }

/* 無限スクロールのアニメーション */
@keyframes scroll-img {
    0% {
        transform: translateX(0); /* スライド開始位置 */
    }
    100% {
        transform: translateX(-50%); /* スライド終了位置（画像の半分だけスクロール） */
    }
}

@media (min-width: 1440px) {
    .front-page .what-we-do {
        padding-top: 60px;
        padding-bottom: 120px;
        margin-bottom: 120px;
        background: url(../images/index/what-we-do_bg.png) no-repeat center center;
        background-size: cover;
        background-attachment: fixed;
    }
    
    .what-we-do .container-medium  {
        display: flex;
        justify-content: space-between;
        margin-bottom: 120px;
    }
    
    .what-we-do .description h2.title-jp  {
        font-size: var(--font-size-40);
        margin-bottom: 64px;
    }
    
    .what-we-do .description p  {
        font-size: var(--font-size-16);
        line-height: 2.3;
        margin-bottom: 64px;
    }
    
    .what-we-do .image {
        width: 650px;
        padding-top: 210px;
    }
    
    /* 親要素のスタイル */
    .what-we-do .image-slider {
        width: 100%; /* スライダーの横幅 */
        overflow: hidden; /* 画面外の画像は隠す */
        position: relative;
    }
    
    /* 画像を横に並べる */
    .front-page .what-we-do .slider {
        display: flex;
        width: max-content; /* コンテンツの幅を画像の総幅に合わせる */
        animation: scroll-img 40s linear infinite; /* 無限スクロールアニメーション */
    }
    
    /* 個別の画像に対するサイズ指定 */
    .front-page .what-we-do .slider img {
        object-fit: cover; /* 画像のアスペクト比を保つ */
        margin-right: 32px;
        border-radius: 8px;
    }
    
    /* 画像ごとに異なる幅と高さを指定 */
    .front-page .what-we-do .slider .img1 { width: 256px; height: 320px; margin-top: 133px; }
    .front-page .what-we-do .slider .img2 { width: 640px; height: 427px; }
    .front-page .what-we-do .slider .img3 { width: 256px; height: 320px; margin-top: 53px; }
    .front-page .what-we-do .slider .img4 { width: 640px; height: 427px; margin-top: 80px; }
    .front-page .what-we-do .slider .img5 { width: 256px; height: 320px; margin-top: 53px; }
    .front-page .what-we-do .slider .img6 { width: 640px; height: 427px; }
}

/* News */

.front-page .news {}

.front-page .news .container-medium {
    display: flex;
    justify-content: space-between;
}

.front-page .news .container-medium h2.title-jp  {
    font-size: var(--font-size-28);
}

.front-page .news .container-medium .news-items ul.news-list {
    margin-bottom: 4.444vw;
}

.front-page .news .container-medium .news-items .more-button-black {
    margin-left: auto; /* 自動マージンで右寄せ */
}

@media (min-width: 1440px) {
    .front-page .news .container-medium .news-items ul.news-list {
        margin-bottom: 64px;
    }
}

@media (max-width: 700px) {
    .front-page .key-visual {
        overflow: visible;
        height:400px;
    }

    .slider-container {
        display: flex;
        flex-direction: column; /* 縦に並べる */
        width: 100%;
        height: 100%;
    }
    
    .slider-container .left-slide,
    .slider-container .right-slide {
        width: 100%; /* 横幅を100%に */
        height: 50%; /* 高さを50%に変更 */
        position: relative;
        overflow: hidden;
    }

    .right-slide .image-wrapper.leave {
        clip-path: inset(0 100% 0 0); /* 右から左に消えていく */
    }
    
    .left-slide .image-wrapper.leave {
        clip-path: inset(0 0 0 100%); /* 左から右に消えていく */
    }
    
    .front-page .key-visual .description {
        position: absolute;
        width: calc(100% - 12.308vw); /* 左右のマージン分（24px + 24px）を引いた幅 */
        height: 57.795vw;
        top: 25.641vw;
        left: 6.154vw; /* 左側に24pxの余白を確保 */
        right: 6.154vw; /* 右側にも24pxの余白を確保 */
        margin: 0 auto; /* 自動マージンで中央寄せ */
        z-index: 3;
    }

    .front-page .key-visual .description h1 {
        font-size: var(--font-size-32);
        margin-bottom: 3.077vw;
    }

    .front-page .key-visual .description h1 .overflow-container {
        height: 1.5em;
    }

    .front-page .key-visual .description p.fade-in-text {
        font-size: var(--font-size-16);
    }

    .front-page .recruit-button {
        position: fixed;
        bottom: 4.103vw;
        left: 6.154vw;
        right: 6.154vw;
        width: calc(100% - 12.308vw);
        height: 15.385vw;
        border-radius: 1.026vw;
        border: solid 1px var(--white);
        background-color: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        z-index: 1000;
    }
    
    .front-page .recruit-button a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .front-page .recruit-button img {
        width: 22.564vw;
        height: auto;
        margin-right: 2.051vw;
    }
    
    .front-page .recruit-button .recruit-text {
        flex-grow: 1; /* テキストエリアを拡張 */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .front-page .recruit-button .recruit-text h2 {
        font-size: 4.103vw;
        line-height: 1.5;
        margin-bottom: 1.026vw;
    }
    
    .front-page .recruit-button .recruit-text p {
        font-size: 2.564vw;
    }

    .front-page .recruit-button .recruit-text p::after {
        content: "";
        display: inline-block;
        background-color: var(--white);
        width: 5.872vw;
        height: 0.256vw;
        margin-left: 2.051vw;
        vertical-align: middle;
    }

    .front-page .recruit-button .arrow-icon {
        background: var(--white);
        border-radius: 50%;
        width: 6.154vw;
        height: 6.154vw;
        position: absolute;
        right: 4.103vw;
    }
    
    .front-page .recruit-button .arrow-icon img {
        width: 3.077vw;
        height: auto;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        margin: auto;
    }
    
    .front-page .recruit-button .close-button {
        position: absolute;
        top: -3.077vw;
        right: -3.077vw;
        background: var(--white);
        border: none;
        cursor: pointer;
        border-radius: 50%;
        width: 6.154vw;
        height: 6.154vw;
    }
    
    .front-page .recruit-button .close-button img {
        width: 3.077vw;
        height: 3.077vw;
        position: absolute;
        margin: auto;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
    }

    .front-page .key-visual .slider-indicator {
        position: absolute;
        bottom: -8.718vw;
        left: 0;
        right: 0;
        margin: auto;
        display: flex;
        align-items: center;
        font-size: 1.2em;
        gap: 4.103vw;
        z-index: 3;
        width: 51.282vw;
    }
    
    .front-page .key-visual .indicator-bar {
        width: 35.897vw; /* インジケーターの幅 */
        height: 0.513vw;
    }

    .japane-banner {
        margin: 20vw auto 6.154vw;
        width: 87.69%;
    }
    
    .japane-banner a img {
        border-radius: 2.051vw;
    }

    .front-page .what-we-do {
        padding-top: 7.692vw;
        padding-bottom: 15.385vw;
        margin-bottom: 30.769vw;
        background: url(../images/index/what-we-do_bg.png) no-repeat center center;
        background-size: cover;
        background-attachment: fixed;
    }
    
    .what-we-do .container-medium {
        display: block;
        margin-bottom: 15.385vw;
    }

    .what-we-do .description h2.title-jp {
        font-size: var(--font-size-24);
        margin-bottom: 16.41vw;
    }

    .what-we-do .description  {
        margin-bottom: 16.41vw;
    }

    .what-we-do .description p  {
        margin-bottom: 8.205vw;
    }

    .what-we-do .description p.title-en {
        margin-bottom: 4.103vw !important;
    }
    
    .what-we-do .image {
        width: 100%;
        padding-top: 0;
    }
    
    /* 親要素のスタイル */
    .what-we-do .image-slider {
        width: 100%; /* スライダーの横幅 */
        overflow: hidden; /* 画面外の画像は隠す */
        position: relative;
    }
    
    /* 画像を横に並べる */
    .front-page .what-we-do .slider {
        display: flex;
        width: max-content; /* コンテンツの幅を画像の総幅に合わせる */
        animation: scroll-img 30s linear infinite; /* 無限スクロールアニメーション */
    }
    
    /* 個別の画像に対するサイズ指定 */
    .front-page .what-we-do .slider img {
        object-fit: cover; /* 画像のアスペクト比を保つ */
        margin-right: 8.205vw;
        border-radius: 2.051vw;
    }
    
    /* 画像ごとに異なる幅と高さを指定 */
    .front-page .what-we-do .slider .img1 { width: 32.821vw; height: 41.026vw; margin-top: 27.179vw; }
    .front-page .what-we-do .slider .img2 { width: 82.051vw; height: 54.872vw; }
    .front-page .what-we-do .slider .img3 { width: 32.821vw; height: 41.026vw; margin-top: 6.923vw; }
    .front-page .what-we-do .slider .img4 { width: 82.051vw; height: 54.872vw; margin-top: 20.513vw; }
    .front-page .what-we-do .slider .img5 { width: 32.821vw; height: 41.026vw; margin-top: 6.923vw; }
    .front-page .what-we-do .slider .img6 { width: 82.051vw; height: 54.872vw; }
    
    /* 無限スクロールのアニメーション */
    @keyframes scroll-img {
        0% {
            transform: translateX(0); /* スライド開始位置 */
        }
        100% {
            transform: translateX(-50%); /* スライド終了位置（画像の半分だけスクロール） */
        }
    }
    
    /* News */

    .front-page .news .container-medium {
        display: block;
    }

    .front-page .news .container-medium .description {
        margin-bottom: 16.41vw;
    }

    .front-page .news .container-medium h2.title-jp  {
        font-size: var(--font-size-28);
    }

    .front-page .news .container-medium .news-items ul.news-list {
        margin-bottom: 16.41vw;
    }

}


/* お知らせ一覧 */

.news-page .news-container {
    display: flex;
    justify-content: space-between; /* 左右の間隔を均等に */
}

.news-page .categories {
    width: 7.639vw;
}

.news-page .categories ul li {
    margin-bottom: 1.111vw;
}

.news-page .categories ul li a {
    color: var(--gray-60);
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    transition: color 0.3s ease; /* 0.3秒で色が変わるように設定 */
}

.news-page .categories ul li a.active {
    color: var(--black);
    pointer-events: none; /* activeクラスのリンクはホバーしても変わらない */
}

@media (hover: hover) and (pointer: fine) {
    .news-page .categories ul li a:not(.active):hover {
        color: var(--primary); /* active以外のリンクがホバー時に色変更 */
    }
}

.news-page .news-items {
    width: 73.958vw;
}

.news-page h2 {
    color: var(--black);
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    margin-bottom: 4.444vw;
}

.news-items ul.news-list li {
}

.news-items ul.news-list li a {
    display: flex;
    align-items: center;
    padding: 2.222vw 0;
    border-bottom: solid 1px var(--border);
    position: relative; /* 下線のために必要 */
    text-decoration: none;
}

.news-items ul.news-list li a::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -0.069vw; /* 下線の位置を調整 */
    left: 0;
    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) {
    .news-items ul.news-list li a:hover::after {
        transform: scaleX(1); /* ホバー時に下線を表示 */
        transform-origin: left; /* 左端からスライドイン */
    }
}

.news-items ul.news-list li a div {
    flex-shrink: 0;
}

.news-items ul.news-list li a > div:not(:last-child) {
    margin-right: 2.222vw;
}

.news-items ul.news-list li a > div:last-child {
    margin-left: 0;
}

.post-category, .post-date, .post-title {
}

.post-category {
    padding: 0.833vw 1.667vw;
    background: var(--bg);
    font-size: var(--font-size-12);
    font-weight: var(--font-weight-semi-bold);
    color: var(--black);
    border-radius: 2.778vw;
    display: inline-block;
    width: 11.111vw;
    height: 2.917vw;
    text-align: center;
    line-height: 1.5;
}

.post-date {
    font-family: var(--font-family-en);
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-en-normal);
    color: var(--black);
}

.post-title {
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    color: var(--black);
    width: 33.889vw;
    line-height: 1.8;
    margin-right: 7.222vw;
    position: relative;
}

.news-page .post-title {
    width: 44.931vw;
}

.news-items ul.news-list li a .post-title::after {
    content: '';
    display: block;
    width: 0.556vw;
    height: 0.556vw;
    background-color: var(--primary);
    border-radius: 50%;
    position: absolute;
    right: -2.569vw;
    top: 50%;
    transform: translate(50%, -50%); /* 中心から配置 */
    transform-origin: center; /* 中心を軸に */
    transition: width 0.3s ease, height 0.3s ease;
    background-image: none; /* 初期状態はアイコン非表示 */
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

@media (hover: hover) and (pointer: fine) {
    .news-items ul.news-list li a:hover .post-title::after {
        width: 2.222vw;
        height: 2.222vw;
        background-image: url('../images/common/more-button-black-arrow.svg'); /* アイコン表示 */
        background-color: var(--primary);
        background-size: 1.458vw;
        background-position: center;
    }
}

.news-items ul.news-list li:last-child {
    margin-bottom: 0;
}

.news-items ul.news-list li:first-child a {
    padding-top: 0;
}

.news-items .pagination {
    margin-top: 4.444vw;
}

.news-items .pagination ul {
    display: flex;
    justify-content: space-between; /* 前後リンクを左右に配置 */
    align-items: center;
    padding: 0;
    list-style: none;
    gap: 0.556vw;
}

.news-items .pagination li {
    list-style: none;
}

.news-items .pagination .prev {
    margin-right: auto; /* 左寄せ */
}

.news-items .pagination .next {
    margin-left: auto; /* 右寄せ */
}

.news-items .pagination .page-number-wrapper {
    display: flex;
    justify-content: center;
    gap: 0.556vw; /* 数字リンクの間隔を調整 */
}

.news-items .pagination .page-number {
    width: 2.222vw;
    height: 2.222vw;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%; /* 角丸 */
}

.news-items .pagination .page-number .page-numbers {
    display: block;
    width: 100%;
    height: 100%;
    color: var(--gray-60);
    font-size: var(--font-size-12);
    font-weight: var(--font-weight-en-normal);
    background: var(--gray-90);
    text-align: center;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-items .pagination .page-number a.page-numbers {
    transition: background 0.3s ease; /* 背景色の変更に0.3秒のトランジションを設定 */
}

.news-items .pagination .page-number a.page-numbers:hover {
    background: var(--primary); /* ホバー時に背景色をvar(--primary)に変更 */
    color: var(--white);
}

.news-items .pagination .page-numbers.current {
    color: var(--white);
    background: var(--black);
}

/* 数字リンク部分を中央に寄せる */
.news-items .pagination ul li:nth-child(n+2):nth-last-child(n+2) {
    margin-left: auto;
    margin-right: auto;
}

.news-items .pagination ul .next-link,
.news-items .pagination ul .prev-link,
.post-page .post-navigation .next-link,
.post-page .post-navigation .prev-link {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-semi-bold);
    color: var(--black);
    position: relative; /* 共通部分 */
    overflow: hidden;
    width: auto; /* 幅を内容に合わせる */
}

.news-items .pagination ul .next-link a,
.news-items .pagination ul .prev-link a,
.post-page .entry-footer .post-navigation .next-link a,
.post-page .entry-footer .post-navigation .prev-link a {
    position: relative; /* 擬似要素を含めリンク全体に適用 */
    display: inline-block;
    cursor: pointer; /* カーソルをクリック可能に変更 */
}

.news-items .pagination ul .next-link a,
.post-page .entry-footer .post-navigation .next-link a,
.news-items .pagination ul .next-link .disabled-link,
.post-page .entry-footer .post-navigation .next-link .disabled-link {
    padding-right: 3.472vw; /* 擬似要素のために右側にスペースを確保 */
    position: relative; /* 子要素を相対的に配置するために親要素を相対位置に設定 */
    display: block; /* a要素をブロックにする */
    text-decoration: none; /* 下線を消す */
    height: 2.083vw; /* 高さを固定 */
    line-height: 1; /* 行の高さを設定 */
}

.news-items .pagination ul .next-link a,
.news-items .pagination ul .next-link .disabled-link {
    width: 9.722vw;
}

.news-items .pagination ul .prev-link .disabled-link,
.news-items .pagination ul .next-link .disabled-link,
.post-page .entry-footer .post-navigation .prev-link .disabled-link,
.post-page .entry-footer .post-navigation .next-link .disabled-link {
    opacity: 0.5;
}

.news-items .pagination ul .prev-link .disabled-link span,
.news-items .pagination ul .next-link .disabled-link span,
.post-page .entry-footer .post-navigation .prev-link .disabled-link span,
.post-page .entry-footer .post-navigation .next-link .disabled-link span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.post-page .entry-footer .post-navigation .prev-link .disabled-link span {
    right: 0;
}

.news-items .pagination ul .prev-link a,
.post-page .entry-footer .post-navigation .prev-link a,
.news-items .pagination ul .prev-link .disabled-link,
.post-page .entry-footer .post-navigation .prev-link .disabled-link {
    padding-left: 3.472vw; /* 擬似要素のために右側にスペースを確保 */
    position: relative; /* 子要素を相対的に配置するために親要素を相対位置に設定 */
    display: block; /* a要素をブロックにする */
    text-decoration: none; /* 下線を消す */
    height: 2.083vw; /* 高さを固定 */
    line-height: 1; /* 行の高さを設定 */
}

.news-items .pagination ul .prev-link a,
.news-items .pagination ul .prev-link .disabled-link {
    width: 10.722vw;
}

.news-items .pagination ul .prev-link a .text-visible,
.news-items .pagination ul .next-link a .text-visible,
.post-page .post-navigation .prev-link a .text-visible,
.post-page .post-navigation .next-link a .text-visible {
    position: absolute;
    top: 50%; /* 縦位置を中央に設定 */
    transform: translateY(-50%); /* 垂直方向で中央揃え */
    transition: top 0.3s ease; /* 移動のアニメーション */
}

.news-items .pagination ul .prev-link a .text-hidden,
.news-items .pagination ul .next-link a .text-hidden,
.post-page .post-navigation .prev-link a .text-hidden,
.post-page .post-navigation .next-link a .text-hidden {
    position: absolute; /* 絶対位置で配置 */
    top: 125%; /* 2つ目のspanは下に隠れる */
    transform: translateY(-50%); /* 水平方向で左寄せ、垂直方向で中央揃え */
    transition: top 0.3s ease; /* 移動のアニメーション */
}

.news-items .pagination ul .prev-link a .text-visible,
.news-items .pagination ul .prev-link a .text-hidden,
.post-page .post-navigation .prev-link a .text-visible,
.post-page .post-navigation .prev-link a .text-hidden {
    right: 0;
}

.news-items .pagination ul .next-link a .text-visible,
.news-items .pagination ul .next-link a .text-hidden,
.post-page .post-navigation .next-link a .text-visible,
.post-page .post-navigation .next-link a .text-hidden {
    left: 0;
}

@media (hover: hover) and (pointer: fine) {
    .news-items .pagination ul .prev-link a:hover .text-visible,
    .news-items .pagination ul .next-link a:hover .text-visible,
    .post-page .post-navigation .prev-link a:hover .text-visible,
    .post-page .post-navigation .next-link a:hover .text-visible {
        top: -100%; /* ホバー時に最初のspanが上に移動 */
    }

    .news-items .pagination ul .prev-link a:hover .text-hidden,
    .news-items .pagination ul .next-link a:hover .text-hidden,
    .post-page .post-navigation .prev-link a:hover .text-hidden,
    .post-page .post-navigation .next-link a:hover .text-hidden {
        top: 50%; /* ホバー時に2つ目のspanを中央に表示 */
        transform: translateY(-50%); /* 垂直方向で中央揃え */
        color: var(--primary); /* 文字色を変更 */
    }
}

/* 前のページの矢印アイコン */
.news-items .pagination ul .prev-link a:before,
.post-page .entry-footer .post-navigation .prev-link a:before,
.news-items .pagination ul .prev-link .disabled-link:before, 
.post-page .entry-footer .post-navigation .prev-link .disabled-link:before {
    content: '';
    display: inline-block;
    background-image: url(../images/common/more-button-white-arrow-reverse.svg); /* 矢印アイコン */
    background-size: 1.458vw;
    background-position: -0.278vw -0.139vw;
    background-repeat: no-repeat;
    width: 1.806vw;
    height: 1.111vw;
    position: absolute;
    left: 0.694vw;
    top: 50%; /* 垂直中央揃え */
    transform: translateY(-50%); /* 縦の位置調整 */
    border-right: solid 1px var(--gray-60);
}

/* 次のページの矢印アイコン */
.news-items .pagination ul .next-link a:after,
.post-page .entry-footer .post-navigation .next-link a:after,
.news-items .pagination ul .next-link .disabled-link:after,
.post-page .entry-footer .post-navigation .next-link .disabled-link:after {
    content: '';
    display: inline-block;
    background-image: url(../images/common/more-button-white-arrow.svg); /* 矢印アイコン */
    background-size: 1.458vw;
    background-position: 0.556vw -0.139vw;
    background-repeat: no-repeat;
    width: 1.806vw;
    height: 1.111vw;
    position: absolute;
    right: 0.694vw;
    top: 50%; /* 垂直中央揃え */
    transform: translateY(-50%); /* 縦の位置調整 */
    border-left: solid 1px var(--gray-60);
}

@media (min-width: 1440px) {
    .news-page .categories {
        width: 110px;
    }
    
    .news-page .categories ul li {
        margin-bottom: 16px;
    }
    
    .news-page .news-items {
        width: 1065px;
    }
    
    .news-page h2 {
        color: var(--black);
        font-size: var(--font-size-20);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        margin-bottom: 64px;
    }
    
    .news-items ul.news-list li a {
        display: flex;
        align-items: center;
        padding: 32px 0;
        border-bottom: solid 1px var(--border);
        position: relative; /* 下線のために必要 */
        text-decoration: none;
    }
    
    .news-items ul.news-list li a::after {
        content: '';
        display: block;
        position: absolute;
        bottom: -1px; /* 下線の位置を調整 */
        left: 0;
        width: 100%;
        height: 1px; /* 下線の高さ */
        background-color: var(--primary);
        transform: scaleX(0); /* 初期状態は非表示 */
        transform-origin: right; /* 右端を起点にスケールを適用 */
        transition: transform 0.5s ease;
    }
    
    .news-items ul.news-list li a > div:not(:last-child) {
        margin-right: 32px;
    }

    .post-category {
        padding: 12px 24px;
        background: var(--bg);
        font-size: var(--font-size-12);
        font-weight: var(--font-weight-semi-bold);
        color: var(--black);
        border-radius: 40px;
        display: inline-block;
        width: 160px;
        height: 42px;
        text-align: center;
    }
    
    .post-title {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-regular);
        color: var(--black);
        width: 488px;
        line-height: 1.8;
        margin-right: 104px;
        position: relative;
    }
    
    .news-page .post-title {
        width: 647px;
    }
    
    .news-items ul.news-list li a .post-title::after {
        content: '';
        display: block;
        width: 8px;
        height: 8px;
        background-color: var(--primary);
        border-radius: 50%;
        position: absolute;
        right: -37px;
        top: 50%;
        transform: translate(50%, -50%); /* 中心から配置 */
        transform-origin: center; /* 中心を軸に */
        transition: width 0.3s ease, height 0.3s ease;
        background-image: none; /* 初期状態はアイコン非表示 */
        background-position: center;
        background-repeat: no-repeat;
        background-size: 50%;
    }
    
    .news-items ul.news-list li a:hover .post-title::after {
        width: 32px;
        height: 32px;
        background-image: url('../images/common/more-button-black-arrow.svg'); /* アイコン表示 */
        background-color: var(--primary);
        background-size: 21px;
        background-position: center;
    }
    
    .news-items .pagination {
        margin-top: 64px;
    }
    
    .news-items .pagination .page-number-wrapper {
        display: flex;
        justify-content: center;
        gap: 8px; /* 数字リンクの間隔を調整 */
    }
    
    .news-items .pagination .page-number {
        width: 32px;
        height: 32px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%; /* 角丸 */
    }
    
    .news-items .pagination ul .next-link a,
    .post-page .entry-footer .post-navigation .next-link a,
    .news-items .pagination ul .next-link .disabled-link,
    .post-page .entry-footer .post-navigation .next-link .disabled-link {
        padding-right: 50px; /* 擬似要素のために右側にスペースを確保 */
        position: relative; /* 子要素を相対的に配置するために親要素を相対位置に設定 */
        display: block; /* a要素をブロックにする */
        text-decoration: none; /* 下線を消す */
        height: 30px; /* 高さを固定 */
        line-height: 1; /* 行の高さを設定 */
    }
    
    .news-items .pagination ul .next-link a,
    .news-items .pagination ul .next-link .disabled-link {
        width: 140px;
    }
    
    .news-items .pagination ul .prev-link a,
    .post-page .entry-footer .post-navigation .prev-link a,
    .news-items .pagination ul .prev-link .disabled-link,
    .post-page .entry-footer .post-navigation .prev-link .disabled-link {
        padding-left: 50px; /* 擬似要素のために右側にスペースを確保 */
        position: relative; /* 子要素を相対的に配置するために親要素を相対位置に設定 */
        display: block; /* a要素をブロックにする */
        text-decoration: none; /* 下線を消す */
        height: 30px; /* 高さを固定 */
        line-height: 1; /* 行の高さを設定 */
    }
    
    .news-items .pagination ul .prev-link a,
    .news-items .pagination ul .prev-link .disabled-link {
        width: 140px;
    }
    
    /* 前のページの矢印アイコン */
    .news-items .pagination ul .prev-link a:before,
    .post-page .entry-footer .post-navigation .prev-link a:before,
    .news-items .pagination ul .prev-link .disabled-link:before, 
    .post-page .entry-footer .post-navigation .prev-link .disabled-link:before {
        content: '';
        display: inline-block;
        background-image: url(../images/common/more-button-white-arrow-reverse.svg); /* 矢印アイコン */
        background-size: 21px;
        background-position: -4px -2px;
        background-repeat: no-repeat;
        width: 26px;
        height: 16px;
        position: absolute;
        left: 10px;
        top: 50%; /* 垂直中央揃え */
        transform: translateY(-50%); /* 縦の位置調整 */
        border-right: solid 1px var(--gray-60);
    }
    
    /* 次のページの矢印アイコン */
    .news-items .pagination ul .next-link a:after,
    .post-page .entry-footer .post-navigation .next-link a:after,
    .news-items .pagination ul .next-link .disabled-link:after,
    .post-page .entry-footer .post-navigation .next-link .disabled-link:after {
        content: '';
        display: inline-block;
        background-image: url(../images/common/more-button-white-arrow.svg); /* 矢印アイコン */
        background-size: 21px;
        background-position: 8px -2px;
        background-repeat: no-repeat;
        width: 26px;
        height: 16px;
        position: absolute;
        right: 10px;
        top: 50%; /* 垂直中央揃え */
        transform: translateY(-50%); /* 縦の位置調整 */
        border-left: solid 1px var(--gray-60);
    }
    
}

@media (max-width: 1023px) {
    .news-page .news-container {
        display: block;
    }
    
    .news-page .categories {
        width: 100%;
        margin-bottom: 16.41vw;
    }
    
    .news-page .categories ul {
        display: flex;
        flex-wrap: wrap; /* Allow items to wrap into the next line */
        justify-content: space-between; /* Space out items evenly */
    }
    
    .news-page .categories ul li {
        flex: 0 0 calc(50% - 1.026vw); /* Take up 50% of the width, minus half the gap */
        margin-bottom: 2.051vw; /* Maintain bottom margin */
    }

    .news-page .categories ul li:nth-last-child(1),
    .news-page .categories ul li:nth-last-child(2) {
        margin-bottom: 0;
    }

    .categories ul li a {
        border: solid 1px var(--border); /* Set border */
        border-radius: 10.256vw;
        background-color: var(--white); /* Set background color */
        text-decoration: none; /* Remove underline */
        padding: 2.051vw 4.103vw; /* Add padding for better appearance */
        display: inline-block; /* Ensure proper layout */
        color: var(--black);
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        transition: color 0.3s ease, background-color 0.3s ease;
        width: 100%;
        text-align: center;
    }

    .news-page .categories ul li a.active {
        background-color: var(--black); /* Background color for active link */
        color: var(--white); /* Change text color for visibility */
        border-color: var(--black); /* Set border color for active link */
        pointer-events: none; /* activeクラスのリンクはホバーしても変わらない */
    }

    .news-page .news-items {
        width: auto;
    }
    
    .news-page h2 {
        margin-bottom: 16.41vw;
    }

    .news-items ul.news-list li a {
        display: block;
        padding: 8.205vw 0;
        border-bottom: solid 1px var(--border);
        position: relative;
        text-decoration: none;
    }
    
    .news-items ul.news-list li a::after {
        content: '';
        display: block;
        position: absolute;
        bottom: -1px; /* 下線の位置を調整 */
        left: 0;
        width: 100%;
        height: 1px; /* 下線の高さ */
        background-color: var(--primary);
        transform: scaleX(0); /* 初期状態は非表示 */
        transform-origin: right; /* 右端を起点にスケールを適用 */
        transition: transform 0.5s ease;
    }
    
    .news-items ul.news-list li a div {
        flex-shrink: 0;
    }
    
    .news-items ul.news-list li a > div:not(:last-child) {
        margin-right: 0;
        margin-bottom: 4.103vw;
    }
    
    .news-items ul.news-list li a > div:last-child {
        margin-left: 0;
    }
    
    .post-category {
        padding: 3.077vw 6.154vw;
        background: var(--bg);
        font-size: var(--font-size-12);
        font-weight: var(--font-weight-semi-bold);
        color: var(--black);
        border-radius: 10.256vw;
        display: inline-block;
        width: 41.026vw;
        height: 10.769vw;
        text-align: center;
    }
    
    .post-date {
        font-family: var(--font-family-en);
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-en-normal);
        color: var(--black);
    }
    
    .post-title {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-regular);
        color: var(--black);
        width: auto;
        line-height: 1.8;
        margin-right: 11.282vw;
        position: relative;
    }
    
    .news-page .post-title {
        width: auto;
    }
    
    .news-items ul.news-list li a .post-title::after {
        content: '';
        display: block;
        width: 2.051vw;
        height: 2.051vw;
        background-color: var(--primary);
        border-radius: 50%;
        position: absolute;
        right: -9.487vw;
        top: 50%;
        transform: translate(50%, -50%); /* 中心から配置 */
        transform-origin: center; /* 中心を軸に */
        transition: width 0.3s ease, height 0.3s ease;
        background-image: none; /* 初期状態はアイコン非表示 */
        background-position: center;
        background-repeat: no-repeat;
        background-size: 50%;
    }
    
    .news-items ul.news-list li:last-child {
        margin-bottom: 0;
    }
    
    .news-items ul.news-list li:first-child a {
        padding-top: 0;
    }
    
    .news-items .pagination {
        margin-top: 16.41vw;
    }
    
    .news-items .pagination ul .next-link,
    .news-items .pagination ul .prev-link,
    .post-page .post-navigation .next-link,
    .post-page .post-navigation .prev-link {
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-semi-bold);
        color: var(--black);
        position: relative; /* 共通部分 */
        overflow: hidden;
        width: auto; /* 幅を内容に合わせる */
    }
    
    .news-items .pagination ul .next-link a,
    .news-items .pagination ul .prev-link a,
    .post-page .entry-footer .post-navigation .next-link a,
    .post-page .entry-footer .post-navigation .prev-link a {
        position: relative; /* 擬似要素を含めリンク全体に適用 */
        display: inline-block;
        cursor: pointer; /* カーソルをクリック可能に変更 */
    }
    
    .news-items .pagination ul .next-link a,
    .post-page .entry-footer .post-navigation .next-link a {
        padding-right: 12.821vw; /* 擬似要素のために右側にスペースを確保 */
        position: relative; /* 子要素を相対的に配置するために親要素を相対位置に設定 */
        display: block; /* a要素をブロックにする */
        text-decoration: none; /* 下線を消す */
        height: 7.692vw; /* 高さを固定 */
        line-height: 1; /* 行の高さを設定 */
    }
    
    .news-items .pagination ul .next-link a {
        width: 140px;
    }
    
    .news-items .pagination ul .prev-link a,
    .post-page .entry-footer .post-navigation .prev-link a {
        padding-left: 12.821vw; /* 擬似要素のために右側にスペースを確保 */
        position: relative; /* 子要素を相対的に配置するために親要素を相対位置に設定 */
        display: block; /* a要素をブロックにする */
        text-decoration: none; /* 下線を消す */
        height: 7.692vw; /* 高さを固定 */
        line-height: 1; /* 行の高さを設定 */
    }
    
    .news-items .pagination ul .prev-link a,
    .news-items .pagination ul .next-link a,
    .news-items .pagination ul .prev-link .disabled-link,
    .news-items .pagination ul .next-link .disabled-link {
        width: 35.897vw;
        height: 7.692vw;
    }

    .post-page .entry-footer .post-navigation .prev-link .disabled-link,
    .post-page .entry-footer .post-navigation .next-link .disabled-link {
        height: 7.692vw;
    }

    .news-items .pagination ul .prev-link a,
    .news-items .pagination ul .prev-link .disabled-link {
        padding-left: 12.821vw;
    }
    
    .news-items .pagination ul .next-link a,
    .news-items .pagination ul .next-link .disabled-link {
        padding-right: 12.821vw;
    }

    .news-items .pagination ul .prev-link a .text-visible,
    .news-items .pagination ul .next-link a .text-visible,
    .post-page .post-navigation .prev-link a .text-visible,
    .post-page .post-navigation .next-link a .text-visible {
        position: absolute;
        top: 50%; /* 縦位置を中央に設定 */
        transform: translateY(-50%); /* 垂直方向で中央揃え */
        transition: top 0.3s ease; /* 移動のアニメーション */
    }
    
    .news-items .pagination ul .prev-link a .text-hidden,
    .news-items .pagination ul .next-link a .text-hidden,
    .post-page .post-navigation .prev-link a .text-hidden,
    .post-page .post-navigation .next-link a .text-hidden {
        position: absolute; /* 絶対位置で配置 */
        top: 125%;
        transform: translateY(-50%); /* 水平方向で左寄せ、垂直方向で中央揃え */
        transition: top 0.3s ease; /* 移動のアニメーション */
    }
    
    .news-items .pagination ul .prev-link a .text-visible,
    .news-items .pagination ul .prev-link a .text-hidden,
    .post-page .post-navigation .prev-link a .text-visible,
    .post-page .post-navigation .prev-link a .text-hidden {
        right: 0;
    }
    
    .news-items .pagination ul .next-link a .text-visible,
    .news-items .pagination ul .next-link a .text-hidden,
    .post-page .post-navigation .next-link a .text-visible,
    .post-page .post-navigation .next-link a .text-hidden {
        left: 0;
    }
    
    /* 前のページの矢印アイコン */
    .news-items .pagination ul .prev-link a:before,
    .post-page .entry-footer .post-navigation .prev-link a:before,
    .news-items .pagination ul .prev-link .disabled-link:before, 
    .post-page .entry-footer .post-navigation .prev-link .disabled-link:before {
        content: '';
        display: inline-block;
        background-image: url(../images/common/more-button-white-arrow-reverse.svg); /* 矢印アイコン */
        background-size: 5.385vw;
        background-position: -1.026vw -0.513vw;
        background-repeat: no-repeat;
        width: 6.667vw;
        height: 4.103vw;
        position: absolute;
        left: 2.564vw;
        top: 50%; /* 垂直中央揃え */
        transform: translateY(-50%); /* 縦の位置調整 */
        border-right: solid 1px var(--gray-60);
    }

    /* 次のページの矢印アイコン */
    .news-items .pagination ul .next-link a:after,
    .post-page .entry-footer .post-navigation .next-link a:after,
    .news-items .pagination ul .next-link .disabled-link:after, 
    .post-page .entry-footer .post-navigation .next-link .disabled-link:after {
        content: '';
        display: inline-block;
        background-image: url(../images/common/more-button-white-arrow.svg); /* 矢印アイコン */
        background-size: 5.385vw;
        background-position: 2.051vw -0.513vw;
        background-repeat: no-repeat;
        width: 6.667vw;
        height: 4.103vw;
        position: absolute;
        right: 2.564vw;
        top: 50%; /* 垂直中央揃え */
        transform: translateY(-50%); /* 縦の位置調整 */
        border-left: solid 1px var(--gray-60);
    }
}



/* 記事詳細ページ */

.post-page header {
    margin-bottom: 4.444vw;
    padding: 0;
    height: auto;
    border-bottom: solid 1px var(--border);
}

.post-page .entry-meta {
    padding-bottom: 2.222vw;
}

.post-page .entry-meta .meta-area {
    display: flex;
    align-items: center;
    margin-bottom: 2.222vw;
}

.post-page .entry-meta .meta-area .post-category {
    margin-right: 2.222vw;
}


.post-page .post h1 {
    font-size: var(--font-size-32);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    color: var(--black);
}

.post-page .post .wp-block-group {
    margin-bottom: 4.444vw;
}

.post-page .post h2 {
    font-size: var(--font-size-24);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    color: var(--black);
    padding-bottom: 1.806vw;
    border-bottom: solid 1px var(--border);
    margin-bottom: 2.222vw;
    position: relative;
}

.post-page .post h2::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -0.069vw;
    width: 2.778vw; /* 幅40px */
    height: 0.139vw; /* 太さ2px */
    background-color: var(--primary); /* 色を指定 */
}

.post-page .post h3 {
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 1.111vw;
}

.post-page .post p {
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 1.111vw;
}

.post-page .post p a {
    text-decoration: underline;
}

.post-page .post p:last-child {
    margin-bottom: 0;
}

.post-page .post .wp-block-image {
    margin-bottom: 2.222vw;
}

:where(.wp-block-columns) {
    margin: auto;
}

.post-page footer {
    margin-top: 4.444vw;
    padding: 0;
    background: none;
}

.post-page .post-navigation {
    display: flex;
    justify-content: space-between; /* 左右にスペースを均等に配分 */
    align-items: center; /* 縦方向中央揃え */
}

.post-page .post-navigation .prev-link,
.post-page .post-navigation .back-to-list,
.post-page .post-navigation .next-link {
    text-align: center;
}

.post-page .post-navigation .next-link .disabled-link {
    text-align: left;
}

.post-page .post-navigation .prev-link,
.post-page .post-navigation .next-link {
    color: var(--black);
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-semi-bold);
    width: 7.639vw;
}

.post-page .post-navigation .prev-link a,
.post-page .post-navigation .next-link a {
    width: 7.639vw;
}

.post-page .post-navigation .prev-link:empty::before,
.post-page .post-navigation .next-link:empty::before {
    content: ''; /* 空の場合でもスペースを保持 */
    display: inline-block;
    width: 0.069vw; /* 1px幅で空の要素のスペースを埋める */
}

.post-page .post-navigation .back-to-list {
    background-color: var(--black);
    border-radius: 4.167vw;
    flex: none; /* 固定幅で中央に配置 */
    margin: 0 auto; /* 左右に自動マージンを設定して中央配置 */
}

.post-page .post-navigation .back-to-list a {
    display: block;
    color: var(--white);
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-semi-bold);
    text-align: left;
    text-decoration: none;
    padding: 1.111vw 2.708vw 1.111vw 4.236vw;
    position: relative;
    height: 3.681vw;
    margin: 0;
    line-height: 1.5;
    width: 12.764vw;
    border-radius: 4.167vw;
    transition: background-color 0.4s, color 0.1s;
}

.post-page .post-navigation .back-to-list a .text-area {
    display: block;
    position: relative;
    width: 100%;
    height: 1.458vw;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

.post-page .post-navigation .back-to-list a:hover {
    background-color: var(--primary);
    color: var(--white);
}

.post-page .post-navigation .back-to-list a span {
    display: block; /* spanをブロックにする */
    position: absolute; /* 位置を絶対にする */
    width: fit-content; /* 幅を内容に合わせる */
    color: var(--white);
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-semi-bold);
    transition: all 0.4s; /* アニメーションを適用 */
    text-align: center; /* テキストを中央揃え */
}

/* 最初のspanを中央に配置 */
.post-page .post-navigation .back-to-list a .text-visible {
    top: 50%;
    transform: translateY(-50%);
}

/* 2つ目のspanは下に隠れる */
.post-page .post-navigation .back-to-list a .text-hidden {
    top: 100%;
}

/* ホバー時のアニメーション */
.post-page .post-navigation .back-to-list a:hover .text-visible {
    top: -100%;
}

.post-page .post-navigation .back-to-list a:hover .text-hidden {
    top: 50%;
    transform: translateY(-50%);
}

.post-page .post-navigation .back-to-list a:before {
    content: '';
    display: inline-block;
    background-image: url(../images/common/more-button-black-arrow-reverse.svg);
    background-size: 1.458vw;
    background-position: -0.278vw -0.139vw;
    background-repeat: no-repeat;
    width: 1.806vw;
    height: 1.111vw;
    position: absolute;
    left: 1.319vw;
    top: 50%;
    transform: translateY(-50%);
    border-right: solid 1px var(--gray-60);
}

@media (min-width: 1440px) {
    .post-page header {
        margin-bottom: 64px;
        padding: 0;
        height: auto;
        border-bottom: solid 1px var(--border);
    }
    
    .post-page .entry-meta {
        padding-bottom: 32px;
    }
    
    .post-page .entry-meta .meta-area {
        display: flex;
        align-items: center;
        margin-bottom: 32px;
    }
    
    .post-page .entry-meta .meta-area .post-category {
        margin-right: 32px;
    }
    
    .post-page .post .wp-block-group {
        margin-bottom: 64px;
    }
    
    .post-page .post h2 {
        font-size: var(--font-size-24);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        color: var(--black);
        padding-bottom: 26px;
        border-bottom: solid 1px var(--border);
        margin-bottom: 32px;
        position: relative;
    }
    
    .post-page .post h2::before {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        bottom: -1px;
        width: 40px; /* 幅40px */
        height: 2px; /* 太さ2px */
        background-color: var(--primary); /* 色を指定 */
    }
    
    .post-page .post h3 {
        font-size: var(--font-size-20);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        color: var(--black);
        margin-bottom: 16px;
    }
    
    .post-page .post p {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-regular);
        line-height: 1.8;
        color: var(--black);
        margin-bottom: 16px;
    }
    
    .post-page .post p:last-child {
        margin-bottom: 0;
    }
    
    .post-page .post .wp-block-image {
        margin-bottom: 32px;
    }
    
    .post-page footer {
        margin-top: 64px;
        padding: 0;
        background: none;
    }
    
    .post-page .post-navigation .prev-link,
    .post-page .post-navigation .next-link {
        color: var(--black);
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-semi-bold);
        width: 110px;
    }
    
    .post-page .post-navigation .prev-link a,
    .post-page .post-navigation .next-link a {
        width: 110px;
    }
    
    .post-page .post-navigation .prev-link:empty::before,
    .post-page .post-navigation .next-link:empty::before {
        content: ''; /* 空の場合でもスペースを保持 */
        display: inline-block;
        width: 1px; /* 1px幅で空の要素のスペースを埋める */
    }
    
    .post-page .post-navigation .back-to-list {
        background-color: var(--black);
        border-radius: 60px;
        flex: none; /* 固定幅で中央に配置 */
        margin: 0 auto; /* 左右に自動マージンを設定して中央配置 */
    }
    
    .post-page .post-navigation .back-to-list a {
        display: block;
        color: var(--white);
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-semi-bold);
        text-align: left;
        text-decoration: none;
        padding: 16px 39px 16px 61px;
        position: relative;
        height: 53px;
        margin: 0;
        line-height: 1.5;
        width: 174px;
        border-radius: 60px;
        transition: background-color 0.4s, color 0.1s;
    }

    .post-page .post-navigation .back-to-list a:before {
        content: '';
        display: inline-block;
        background-image: url(../images/common/more-button-black-arrow-reverse.svg);
        background-size: 21px;
        background-position: -4px -2px;
        background-repeat: no-repeat;
        width: 26px;
        height: 16px;
        position: absolute;
        left: 19px;
        top: 50%;
        transform: translateY(-50%);
        border-right: solid 1px var(--gray-60);
    }

    .post-page .post-navigation .back-to-list a .text-area {
        display: block;
        position: relative;
        width: 100%;
        height: 21px;
        overflow: hidden;
        transition: all 0.4s ease-in-out;
    }
}

@media (max-width: 1023px) {
    .post-page header {
        margin-bottom: 16.41vw;
    }    
    
    .post-page .entry-meta {
        padding-bottom: 8.205vw;
    }
    
    .post-page .entry-meta .meta-area {
        margin-bottom: 8.205vw;
    }
    
    .post-page .entry-meta .meta-area .post-category {
        margin-right: 8.205vw;
    }
    
    .post-page .post .wp-block-group {
        margin-bottom: 16.41vw;
    }

    .post-page .post h2 {
        padding-bottom: 6.667vw;
        margin-bottom: 8.205vw;
    }
    
    .post-page .post h2::before {
        bottom: -0.256vw;
        width: 10.256vw;
    }
    
    .post-page .post h3 {
        margin-bottom: 4.103vw;
    }
    
    .post-page .post p {
        margin-bottom: 4.103vw;
    }
    
    .post-page .post p:last-child {
        margin-bottom: 0;
    }

    .post-page .post .wp-block-columns {
        flex-wrap: unset !important;
    }

    .post-page .post .wp-block-image {
        margin-bottom: 8.205vw;
    }
    
    :where(.wp-block-columns) {
        margin: auto;
    }
    
    .post-page footer {
        margin-top: 16.41vw;
    }

    .post-page .post-navigation .prev-link,
    .post-page .post-navigation .next-link {
        color: var(--black);
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-semi-bold);
        width: 110px;
    }
    
    .post-page .post-navigation .prev-link a,
    .post-page .post-navigation .next-link a {
        width: 110px;
    }
    
    .post-page .post-navigation .prev-link:empty::before,
    .post-page .post-navigation .next-link:empty::before {
        content: ''; /* 空の場合でもスペースを保持 */
        display: inline-block;
        width: 1px; /* 1px幅で空の要素のスペースを埋める */
    }
    
    .post-page .entry-footer .back-to-list {
        background-color: var(--black);
        border-radius: 15.385vw;
        flex: none; /* 固定幅で中央に配置 */
        margin: 16.41vw auto 0; /* 左右に自動マージンを設定して中央配置 */
        width: 44.615vw;
    }
    
    .post-page .entry-footer .back-to-list a {
        display: block;
        color: var(--white);
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-semi-bold);
        text-align: left;
        text-decoration: none;
        padding: 4.103vw 10vw 4.103vw 15.641vw;
        position: relative;
        height: 13.59vw;
        margin: 0;
        line-height: 1.5;
        width: 44.615vw;
        border-radius: 15.385vw;
        transition: background-color 0.4s, color 0.1s;
    }

    .post-page .entry-footer .back-to-list a .text-area {
        display: block;
        position: relative;
        width: 100%;
        height: 21px;
        overflow: hidden;
        transition: all 0.4s ease-in-out;
    }
    
    .post-page .entry-footer .back-to-list a span {
        display: block; /* spanをブロックにする */
        position: absolute; /* 位置を絶対にする */
        width: fit-content; /* 幅を内容に合わせる */
        color: var(--white);
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-semi-bold);
        transition: all 0.4s; /* アニメーションを適用 */
        text-align: center; /* テキストを中央揃え */
    }
    
    /* 最初のspanを中央に配置 */
    .post-page .entry-footer .back-to-list a .text-visible {
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* 2つ目のspanは下に隠れる */
    .post-page .entry-footer .back-to-list a .text-hidden {
        top: 100%;
    }
    
    .post-page .entry-footer .back-to-list a:before {
        content: '';
        display: inline-block;
        background-image: url(../images/common/more-button-black-arrow-reverse.svg);
        background-size: 21px;
        background-position: -4px -2px;
        background-repeat: no-repeat;
        width: 26px;
        height: 16px;
        position: absolute;
        left: 19px;
        top: 50%;
        transform: translateY(-50%);
        border-right: solid 1px var(--gray-60);
    }

    
}

/* プライバシーポリシー */

.privacy-page .contents {
    width: 68.75vw;
    margin-left: auto;
    margin-right: auto;
}

.privacy-page .contents section.poricy {
    margin-bottom:5.556vw;
}

.privacy-page .contents h2 {
    font-size: var(--font-size-24);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 2.222vw;
}

.privacy-page .contents h3 {
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 0.556vw;
}

.privacy-page .contents p {
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 2.222vw;
}

.privacy-page .contents section section p {
    margin-left: 1.389vw;
}

.privacy-page .contents ol.main-counter {
    counter-reset: main-counter; /* カウンターをリセット */
    list-style: none; /* デフォルトの番号を消す */
    padding-left: 1.5em; /* 適度な余白 */
    margin-bottom: 2.222vw;
}

.privacy-page .contents ol.main-counter li {
    counter-increment: main-counter; /* 各リスト項目でカウンターをインクリメント */
    position: relative;
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: 1.8;
    color: var(--black);
    margin-left: 2.778vw;
    margin-bottom: 1.111vw;
}

.privacy-page .contents ol.main-counter li::before {
    content: "（" counter(main-counter) "）"; /* カウンターを表示 */
    position: absolute;
    left: -3.472vw;
}

.privacy-page .contents ol.sub-counter {
    counter-reset: sub-counter;
    list-style: none;
    margin-top: 1.111vw;
}

.privacy-page .contents ol.sub-counter li {
    counter-increment: sub-counter;
    position: relative;
    margin-bottom: 0.5em;
    margin-left: 2.083vw;
}

.privacy-page .contents ol.sub-counter li::before {
    content: counter(sub-counter, katakana) ;
    position: absolute;
    left: -2.083vw;
}

.privacy-page .contents p.align-right {
    text-align: right;
}


@media (min-width: 1440px) {
    .privacy-page .contents {
        width: 990px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .privacy-page .contents section.poricy {
        margin-bottom:80px;
    }
    
    .privacy-page .contents h2 {
        font-size: var(--font-size-24);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        color: var(--black);
        margin-bottom: 32px;
    }
    
    .privacy-page .contents h3 {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        color: var(--black);
        margin-bottom: 8px;
    }
    
    .privacy-page .contents p {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-regular);
        line-height: 1.8;
        color: var(--black);
        margin-bottom: 32px;
    }
    
    .privacy-page .contents section section p {
        margin-left: 20px;
    }
    
    .privacy-page .contents ol.main-counter {
        counter-reset: main-counter; /* カウンターをリセット */
        list-style: none; /* デフォルトの番号を消す */
        padding-left: 1.5em; /* 適度な余白 */
        margin-bottom: 32px;
    }
    
    .privacy-page .contents ol.main-counter li {
        counter-increment: main-counter; /* 各リスト項目でカウンターをインクリメント */
        position: relative;
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-regular);
        line-height: 1.8;
        color: var(--black);
        margin-left: 40px;
        margin-bottom: 16px;
    }
    
    .privacy-page .contents ol.sub-counter {
        counter-reset: sub-counter;
        list-style: none;
        margin-top: 16px;
    }
    
    .privacy-page .contents ol.sub-counter li {
        counter-increment: sub-counter;
        position: relative;
        margin-bottom: 0.5em;
        margin-left: 30px;
    }
    
    .privacy-page .contents ol.sub-counter li::before {
        content: counter(sub-counter, katakana) ;
        position: absolute;
        left: -30px;
    }
}

@media (max-width: 1023px) {
    .privacy-page .contents {
        width: 100%;
    }
    
    .privacy-page .contents section.poricy {
        margin-bottom:80px;
    }
    
    .privacy-page .contents h2 {
        margin-bottom: 8.205vw;
    }
    
    .privacy-page .contents h3 {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        color: var(--black);
        margin-bottom: 8px;
    }
    
    .privacy-page .contents p {
        margin-bottom: 8.205vw;
    }
    
    .privacy-page .contents section section p {
        margin-left: 0;
    }
    
    .privacy-page .contents ol.main-counter {
        padding-left: 0.5em;
        margin-bottom: 8.205vw;
    }
    
    .privacy-page .contents ol.main-counter li {
        margin-left: 10.256vw;
        margin-bottom: 4.103vw;
    }
    
    .privacy-page .contents ol.main-counter li::before {
        left: -12.821vw;
    }
    
    .privacy-page .contents ol.sub-counter {
        margin-top: 4.103vw;
    }
    
    .privacy-page .contents ol.sub-counter li {
        margin-bottom: 0.5em;
        margin-left: 7.692vw;
    }
    
    .privacy-page .contents ol.sub-counter li::before {
        left: -7.692vw;
    }

}

/* お問い合わせ */

.contact-page .steps {
    width: 16.667vw;
}

.contact-page .form {
    width: 68.75vw;
}

.contact-page .steps ul li {
    display: flex;
    align-items: center;
    margin-bottom: 1.111vw;
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-semi-bold);
    color: var(--gray-60);
    line-height: 1.5;
}

.contact-page .steps ul li:last-child {
    margin-bottom: 0;
}

.contact-page .steps ul li span {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-en-normal);
    background-color: var(--gray-60);
    color: var(--white);
    border-radius: 50%;
    margin-right: 1.111vw;
    width: 2.222vw;
    height: 2.222vw;
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: center; /* 水平方向の中央揃え */
    text-align: center; /* テキストの中央揃え */
    padding: 0; /* 余白をなくす */
}

.contact-page .steps ul li.active {
    color: var(--black);
}

.contact-page .steps ul li.active span {
    background: var(--black);
}

.contact-page .form p {
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    color: var(--black);
    line-height: 1.8;
    margin-bottom: 2.222vw;
}

.contact-page .form p.attention {
    font-size: var(--font-size-14);
    width: fit-content;
    margin: 0 auto 32px;
}

.contact-page .form p.attention a {
    text-decoration: underline;
}


.contact-page .form .form-group {
    display: flex;
    margin-bottom: 2.222vw;
}

.contact-page .input_area .form .form-group .group-title {
    display: flex;
    width: 20.833vw;
    flex-shrink: 0;
    padding-top: 0;
    align-items: center;
    height: 5.139vw;
}

.contact-page .input_area .form .form-group .group-title.inquiry-types {
    height: 1.667vw;
}

.contact-page .confirm_area .form .form-group .group-title {
    display: flex;
    width: 20.833vw;
    flex-shrink: 0;
    padding-top: 0;
    align-items: center;
    height: auto;
}

.contact-page .form .form-center {
    width: fit-content;
    margin: 0 auto;
}

.contact-page .form .mark {
    color: var(--white);
    font-size: var(--font-size-12);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.5;
    width: 3.958vw;
    height: 2.083vw;
    margin-right: 1.111vw;
    border-radius: 2.778vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-page .form .mark.required {
    background-color: var(--caution);
}

.contact-page .form .mark.optional {
    background-color: var(--gray-60);
}

.contact-page .form .form-group .group-title .title {
    color: var(--black);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.5;
}

.contact-page .form-group .group-form {
    width: 100%; /* 入力欄をコンテナに合わせる */
}

.contact-page .form-group .group-form input,
.contact-page .form-group .group-form select,
.contact-page .form-group .group-form textarea {
    border: 1px solid var(--border); /* 枠の色を指定 */
    padding: 1.667vw; /* 内側の余白 */
    border-radius: 0.278vw; /* 角を丸くする */
    width: 100%; /* 入力欄をコンテナに合わせる */
    box-sizing: border-box; /* パディングを含めた幅の調整 */
}

.contact-page .form-group .group-form input,
.contact-page .form-group .group-form textarea {
    font-size: var(--font-size-16); /* 文字サイズを16pxに設定 */
    color: var(--black); /* 通常のテキストの色 */
    letter-spacing: 0.05em;
    line-height: 1.5;
}

.contact-page .form-group .group-form input::placeholder {
    font-size: var(--font-size-16);
}

.contact-page .form-group .group-form input.wpcf7-not-valid,
.contact-page .form-group .group-form textarea.wpcf7-not-valid {
    background-color: #FDF7F7;
    border: solid 1px var(--caution);
}

.contact-page .form-group .group-form .wpcf7-not-valid-tip,
.contact-page .wpcf7-not-valid-tip {
    margin-top: 0.556vw;
    font-size: var(--font-size-14); /* 文字サイズを16pxに設定 */
    font-weight: var(--font-weight-semi-bold);
    color: var(--caution); /* 通常のテキストの色 */
    line-height: 1.5;
}



.contact-page .form-group .group-form input::placeholder,
.contact-page .form-group .group-form textarea::placeholder {
    color: #CCC; /* プレースホルダーの文字色を#CCCに設定 */
    font-size: var(--font-size-16); /* プレースホルダーの文字サイズを16pxに設定 */
}

.contact-page .form-group .group-form input:focus,
.contact-page .form-group .group-form select:focus,
.contact-page .form-group .group-form textarea:focus {
    outline: none; /* フォーカス時の標準の枠線効果を解除 */
    border-color: #ccc; /* グレーの枠線をフォーカス時にも保持 */
    box-shadow: none; /* フォーカス時の影を解除 */
}


.contact-page .form-group .group-form input:focus::-moz-focus-inner,
.contact-page .form-group .group-form textarea:focus::-moz-focus-inner {
    border: 0;
}

.contact-page .form-group .group-form input:active,
.contact-page .form-group .group-form textarea:active {
    background-color: inherit; /* 入力後も背景色が変わらないように設定 */
    box-shadow: none; /* 入力後の影を解除 */
}

/* 電話番号のテキストエリア */
.contact-page .form-group .group-form input[name="your-tel"] {
    width: 10.5em;
}

/* 郵便番号のテキストエリア */
.contact-page .form-group .group-form input[name="your-zip"] {
    width: 7.5em;
}

.contact-page .form-group .group-form .wpcf7-radio {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* 幅が足りない場合に次の行に移動 */
    gap: 2.222vw;
}

.contact-page .form-group .group-form .wpcf7-list-item {
    display: flex;
    align-items: center; /* ラジオボタンとラベルを上下中央に揃える */
    white-space: nowrap; /* ラベルが改行されないようにする */
    margin: 0;
}

.contact-page .form-group .group-form .wpcf7-list-item label {
    display: flex;
    align-items: center;
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-semi-bold);
    color: var(--black);
    line-height: 1.5;    
    cursor: pointer;
}

.contact-page .form-group .group-form .wpcf7-list-item input[type="radio"] {
    appearance: none; /* デフォルトのラジオボタンを非表示に */
    width: 1.389vw;
    height: 1.389vw;
    background-color: var(--gray-90); /* デフォルトの背景色 */
    border: none;
    border-radius: 50%; /* 角丸にする */
    position: relative;
    cursor: pointer;
    outline: none; /* フォーカス時のデフォルトの枠を削除 */
    padding: 0;
    margin-right: 1.111vw; /* ラジオボタンとラベルの間に16pxの余白を追加 */
}

.contact-page .form-group .group-form .wpcf7-list-item input[type="radio"]::before {
    content: "";
    display: block;
    width: 0.833vw;
    height: 0.833vw;
    background-color: transparent; /* デフォルトは透明 */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background-color 0.2s, width 0.2s, height 0.2s; /* なめらかな変化 */
    padding: 0;
}

.contact-page .form-group .group-form .wpcf7-list-item input[type="radio"]:checked::before {
    background-color: var(--black); /* アクティブ時の背景色 */
    width: 0.833vw;
    height: 0.833vw;
}

.contact-page .form-group .group-form .wpcf7-list-item input[type="radio"]:checked {
    background-color: var(--gray-90); /* デフォルトの背景色 */
}

.contact-page .form-group .group-form p {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-semi-bold);
    color: var(--black);
    line-height: 1.5;
    margin-top: 1.111vw;
    margin-bottom: 0;
}

.contact-page .form-btn {
    margin: 80px auto 0; /* 中央寄せ */
    display: flex; /* フレックスボックスを使用 */
    justify-content: center; /* 中央揃え */
}

.contact-page .btn-inner {
    background-color: var(--black); /* 背景を黒に */
    border-radius: 4.167vw; /* 角を丸める */
    padding: 1.25vw 3.819vw 1.25vw 2.222vw;
    position: relative; /* 子要素の絶対配置に必要 */
    display: flex; /* フレックスボックスを使用 */
    align-items: center; /* 縦方向の中央揃え */
    color: var(--white); /* 文字色を白に */
    font-size: var(--font-size-16); /* フォントサイズ */
    font-weight: var(--font-weight-semi-bold); /* フォントウェイト */
    cursor: pointer; /* マウスカーソルをポインターに */
    transition: background-color 0.3s ease; /* 背景色の変更にアニメーションを追加 */
}

@media (hover: hover) and (pointer: fine) {
    .contact-page .btn-inner:hover:not(.disabled) {
        background-color: var(--primary); /* ホバー時に背景をvar(--primary)に変更 */
    }
}

.contact-page .btn-inner:after {
    content: '';
    display: inline-block;
    background-image: url(../images/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);
}

.contact-page .btn-inner.disabled:after {
    opacity: 0.4; /* 矢印アイコンの透明度 */
}

.contact-page .btn-inner.disabled {
    cursor: not-allowed; /* 禁止カーソル */
    opacity: 0.4; /* 無効時の透明度 */
}

/* inputがdisabledの時に.btn-innerに.disabledクラスを適用 */
.contact-page .btn-inner input[type="submit"]:disabled {
    opacity: 0.4; /* 無効時の透明度 */
    cursor: not-allowed; /* カーソルを禁止に */
}

.contact-page .btn-inner .wpcf7-spinner {
    display: none;
}

.wpcf7-form-control.wpcf7-select.p-region {
    background-image: url('../images/common/contact-select-arrow.svg'); /* アイコン画像 */
    background-repeat: no-repeat; /* アイコンの繰り返しを防止 */
    background-position: right 1.25vw center; /* アイコンを右端に配置（右端から10pxの位置に配置） */
    background-size: 1.667vw 1.667vw; /* アイコンのサイズを24pxに設定 */
    padding-right: 2.778vw; /* アイコンのスペースを確保するため、右側のパディングを設定 */
    appearance: none; /* ブラウザによって異なるデフォルトの矢印アイコンを無効化 */
    -webkit-appearance: none; /* SafariやWebkitブラウザのデフォルト矢印を無効化 */
    -moz-appearance: none; /* Firefoxのデフォルト矢印を無効化 */
}

/* 確認画面 */
.contact-page .form.contact-confirm .form-group {
    margin-bottom: 2.222vw;
    padding-bottom: 2.222vw;
    border-bottom: solid 1px var(--border);
}

.contact-page .form.contact-confirm .form-group:last-child {
    margin-bottom: 0;
}

.contact-page .form.contact-confirm .form-group .group-title {
    padding-top: 0;
}

.contact-page .form.contact-confirm .form-group .group-form {
    color: var(--black);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.5;
}

.contact-page .form.contact-confirm .form-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4.444vw; /* btn-backとbtn-innerの間隔を64px空ける */
}

.contact-page .form.contact-confirm .form-btn .btn-back input {
    color: var(--black);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.5;
    text-decoration: underline; /* 下線をつける */
}

/* 完了画面 */

/* 完了画面の全体スタイル */
.contact-page .form.contact-thanks {
    text-align: center;
}

/* タイトルのスタイル */
.contact-page .form.contact-thanks h3 {
    font-size: var(--font-size-24);
    font-weight: var(--font-weight-semi-bold);
    color: var(--black);
    line-height: 1.8;
    margin-bottom: 2.222vw;
}

/* テキストのスタイル */
.contact-page .form.contact-thanks p {
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 1.111vw;
}

@media (min-width: 1440px) {
    .contact-page .steps {
        width: 240px;
    }
    
    .contact-page .form {
        width: 990px;
    }
    
    .contact-page .steps ul li {
        display: flex;
        align-items: center;
        margin-bottom: 16px;
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-semi-bold);
        color: var(--gray-60);
        line-height: 1.5;
    }

    .contact-page .steps ul li span {
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-en-normal);
        background-color: var(--gray-60);
        color: var(--white);
        border-radius: 50%;
        margin-right: 16px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center; /* 垂直方向の中央揃え */
        justify-content: center; /* 水平方向の中央揃え */
        text-align: center; /* テキストの中央揃え */
        padding: 0; /* 余白をなくす */
    }
    
    .contact-page .form p {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-regular);
        color: var(--black);
        line-height: 1.8;
        margin-bottom: 32px;
    }
    
    .contact-page .form p.attention {
        font-size: var(--font-size-14);
        width: fit-content;
        margin: 0 auto 32px;
    }
    
    .contact-page .form .form-group {
        display: flex;
        margin-bottom: 32px;
    }
    
    .contact-page .input_area .form .form-group .group-title {
        display: flex;
        width: 300px;
        flex-shrink: 0;
        padding-top: 0;
        height: 74px;
    }
    
    .contact-page .input_area .form .form-group .group-title.inquiry-types {
        height: 24px;
    }

    .contact-page .confirm_area .form .form-group .group-title {
        display: flex;
        width: 300px;
        flex-shrink: 0;
        padding-top: 0;
        height: auto;
    }

    .contact-page .form .mark {
        color: var(--white);
        font-size: var(--font-size-12);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.5;
        width: 57px;
        height: 30px;
        margin-right: 16px;
        border-radius: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .contact-page .form-group .group-form input,
    .contact-page .form-group .group-form select,
    .contact-page .form-group .group-form textarea {
        border: 1px solid var(--border); /* 枠の色を指定 */
        padding: 24px; /* 内側の余白 */
        border-radius: 4px; /* 角を丸くする */
        width: 100%; /* 入力欄をコンテナに合わせる */
        box-sizing: border-box; /* パディングを含めた幅の調整 */
    }
    
    .contact-page .form-group .group-form input.wpcf7-not-valid,
    .contact-page .form-group .group-form textarea.wpcf7-not-valid {
        background-color: #FDF7F7;
        border: solid 1px var(--caution);
    }
    
    .contact-page .form-group .group-form .wpcf7-not-valid-tip {
        margin-top: 8px;
        font-size: var(--font-size-14); /* 文字サイズを16pxに設定 */
        font-weight: var(--font-weight-semi-bold);
        color: var(--caution); /* 通常のテキストの色 */
        line-height: 1.5;
    }
    
    .contact-page .form-group .group-form .wpcf7-radio {
        display: flex;
        align-items: center;
        flex-wrap: wrap; /* 幅が足りない場合に次の行に移動 */
        gap: 32px;
    }
    
    .contact-page .form-group .group-form .wpcf7-list-item input[type="radio"] {
        appearance: none; /* デフォルトのラジオボタンを非表示に */
        width: 20px;
        height: 20px;
        background-color: var(--gray-90); /* デフォルトの背景色 */
        border: none;
        border-radius: 50%; /* 角丸にする */
        position: relative;
        cursor: pointer;
        outline: none; /* フォーカス時のデフォルトの枠を削除 */
        padding: 0;
        margin-right: 16px; /* ラジオボタンとラベルの間に16pxの余白を追加 */
    }
    
    .contact-page .form-group .group-form .wpcf7-list-item input[type="radio"]::before {
        content: "";
        display: block;
        width: 12px;
        height: 12px;
        background-color: transparent; /* デフォルトは透明 */
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: background-color 0.2s, width 0.2s, height 0.2s; /* なめらかな変化 */
        padding: 0;
    }
    
    .contact-page .form-group .group-form .wpcf7-list-item input[type="radio"]:checked::before {
        background-color: var(--black); /* アクティブ時の背景色 */
        width: 12px;
        height: 12px;
    }
    
    .contact-page .form-group .group-form p {
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-semi-bold);
        color: var(--black);
        line-height: 1.5;
        margin-top: 16px;
        margin-bottom: 0;
    }
    
    .contact-page .form-btn {
        margin: 80px auto 0; /* 中央寄せ */
        display: flex; /* フレックスボックスを使用 */
        justify-content: center; /* 中央揃え */
    }
    
    .contact-page .btn-inner {
        background-color: var(--black); /* 背景を黒に */
        border-radius: 60px; /* 角を丸める */
        padding: 18px 55px 18px 32px;
        position: relative; /* 子要素の絶対配置に必要 */
        display: flex; /* フレックスボックスを使用 */
        align-items: center; /* 縦方向の中央揃え */
        color: var(--white); /* 文字色を白に */
        font-size: var(--font-size-16); /* フォントサイズ */
        font-weight: var(--font-weight-semi-bold); /* フォントウェイト */
        cursor: pointer; /* マウスカーソルをポインターに */
        transition: background-color 0.3s ease; /* 背景色の変更にアニメーションを追加 */
    }

    .contact-page .btn-inner:after {
        content: '';
        display: inline-block;
        background-image: url(../images/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);
    }

    .wpcf7-form-control.wpcf7-select.p-region {
        background-image: url('../images/common/contact-select-arrow.svg'); /* アイコン画像 */
        background-repeat: no-repeat; /* アイコンの繰り返しを防止 */
        background-position: right 18px center; /* アイコンを右端に配置（右端から10pxの位置に配置） */
        background-size: 24px 24px; /* アイコンのサイズを24pxに設定 */
        padding-right: 40px; /* アイコンのスペースを確保するため、右側のパディングを設定 */
        appearance: none; /* ブラウザによって異なるデフォルトの矢印アイコンを無効化 */
        -webkit-appearance: none; /* SafariやWebkitブラウザのデフォルト矢印を無効化 */
        -moz-appearance: none; /* Firefoxのデフォルト矢印を無効化 */
    }
    
    /* 確認画面 */
    .contact-page .form.contact-confirm .form-group {
        margin-bottom: 32px;
        padding-bottom: 32px;
        border-bottom: solid 1px var(--border);
    }
    
    .contact-page .form.contact-confirm .form-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 64px; /* btn-backとbtn-innerの間隔を64px空ける */
    }
    
    /* 完了画面 */
    
    /* タイトルのスタイル */
    .contact-page .form.contact-thanks h3 {
        font-size: var(--font-size-24);
        font-weight: var(--font-weight-semi-bold);
        color: var(--black);
        line-height: 1.8;
        margin-bottom: 32px;
    }
    
    /* テキストのスタイル */
    .contact-page .form.contact-thanks p {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-regular);
        line-height: 1.8;
        color: var(--black);
        margin-bottom: 16px;
    }
}

@media (max-width: 1023px) {
    .contact-page .steps {
        width: 100%;
        margin-bottom: 20.513vw;
    }
    
    .contact-page .form {
        width: 100%;
    }
    
    .contact-page .steps ul {
        display: flex;
        justify-content: space-between; /* 各アイテムの間隔を均等に */
        padding: 0;
        margin: 0;
        list-style: none;
    }   

    .contact-page .steps ul li {
        display: flex;
        align-items: center;
        margin-bottom: 0;
    }
    
    .contact-page .steps ul li span {
        margin-right: 4.103vw;
        width: 8.205vw;
        height: 8.205vw;
    }
    
    .contact-page .form p {
        margin-bottom: 8.205vw;
    }
    
    .contact-page .form p.attention {
        margin: 0 auto 8.205vw;
    }
    
    .contact-page .form .form-group {
        display: block;
        margin-bottom: 8.205vw;
    }

    .contact-page .form .form-group .group-title {
        display: flex;
        width: 100%;
        flex-shrink: 0;
        padding-top: 0;
        margin-bottom: 4.103vw;
    }

    .contact-page .input_area .form .form-group .group-title,
    .contact-page .confirm_area .form .form-group .group-title {
        display: flex;
        width: 100%;
        flex-shrink: 0;
        padding-top: 0;
        margin-bottom: 4.103vw;
        height: auto;
    }
    
    .contact-page .input_area .form .form-group .group-title.inquiry-types {
        height: auto;
    }

    .contact-page .form .mark {
        width: 14.615vw;
        height: 7.692vw;
        margin-right: 4.103vw;
        border-radius: 10.256vw;
    }

    .contact-page .form-group .group-form {
        width: 100%; /* 入力欄をコンテナに合わせる */
    }
    
    .contact-page .form-group .group-form input,
    .contact-page .form-group .group-form select,
    .contact-page .form-group .group-form textarea {
        padding: 6.154vw; /* 内側の余白 */
        border-radius: 1.026vw; /* 角を丸くする */
        width: 100%; /* 入力欄をコンテナに合わせる */
    }
        
    .contact-page .form-group .group-form textarea {
        height: 37.436vw;
    }

    .contact-page .form-group .group-form .wpcf7-not-valid-tip {
        margin-top: 2.051vw;
    }
        
    .contact-page .form-group .group-form input::placeholder,
    .contact-page .form-group .group-form textarea::placeholder {
        color: #CCC; /* プレースホルダーの文字色を#CCCに設定 */
        font-size: 16px; /* プレースホルダーの文字サイズを16pxに設定 */
    }
    
    .contact-page .form-group .group-form input:focus,
    .contact-page .form-group .group-form select:focus,
    .contact-page .form-group .group-form textarea:focus {
        outline: none; /* フォーカス時の標準の枠線効果を解除 */
        border-color: #ccc; /* グレーの枠線をフォーカス時にも保持 */
        box-shadow: none; /* フォーカス時の影を解除 */
    }
    
    
    .contact-page .form-group .group-form input:focus::-moz-focus-inner,
    .contact-page .form-group .group-form textarea:focus::-moz-focus-inner {
        border: 0;
    }
    
    .contact-page .form-group .group-form input:active,
    .contact-page .form-group .group-form textarea:active {
        background-color: inherit; /* 入力後も背景色が変わらないように設定 */
        box-shadow: none; /* 入力後の影を解除 */
    }
    
    /* 電話番号のテキストエリア */
    .contact-page .form-group .group-form input[name="your-tel"] {
        width: 100%;
    }
    
    /* 郵便番号のテキストエリア */
    .contact-page .form-group .group-form input[name="your-zip"] {
        width: 100%;
    }
    
    .contact-page .form-group .group-form .wpcf7-radio {
        display: flex;
        align-items: center;
        flex-wrap: wrap; /* 幅が足りない場合に次の行に移動 */
        gap: 32px;
    }
    
    .contact-page .form-group .group-form .wpcf7-list-item {
        display: flex;
        align-items: center; /* ラジオボタンとラベルを上下中央に揃える */
        white-space: nowrap; /* ラベルが改行されないようにする */
        margin: 0;
    }
    
    .contact-page .form-group .group-form .wpcf7-list-item label {
        display: flex;
        align-items: center;
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-semi-bold);
        color: var(--black);
        line-height: 1.5;    
        cursor: pointer;
    }
    
    .contact-page .form-group .group-form .wpcf7-list-item input[type="radio"] {
        appearance: none; /* デフォルトのラジオボタンを非表示に */
        width: 5.128vw;
        height: 5.128vw;
        background-color: var(--gray-90); /* デフォルトの背景色 */
        border: none;
        border-radius: 50%; /* 角丸にする */
        position: relative;
        cursor: pointer;
        outline: none; /* フォーカス時のデフォルトの枠を削除 */
        padding: 0;
        margin-right: 4.103vw; /* ラジオボタンとラベルの間に16pxの余白を追加 */
    }
    
    .contact-page .form-group .group-form .wpcf7-list-item input[type="radio"]::before {
        content: "";
        display: block;
        width: 3.077vw;
        height: 3.077vw;
        background-color: transparent; /* デフォルトは透明 */
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: background-color 0.2s, width 0.2s, height 0.2s; /* なめらかな変化 */
        padding: 0;
    }
    
    .contact-page .form-group .group-form .wpcf7-list-item input[type="radio"]:checked::before {
        background-color: var(--black); /* アクティブ時の背景色 */
        width: 3.077vw;
        height: 3.077vw;
    }
    
    .contact-page .form-group .group-form .wpcf7-list-item input[type="radio"]:checked {
        background-color: var(--gray-90); /* デフォルトの背景色 */
    }
    
    .contact-page .form-group .group-form p {
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-semi-bold);
        color: var(--black);
        line-height: 1.5;
        margin-top: 4.103vw;
        margin-bottom: 0;
    }
    
    .contact-page .form-btn {
        margin: 20.513vw auto 15.385vw;
    }
    
    .contact-page .btn-inner {
        background-color: var(--black); /* 背景を黒に */
        border-radius: 15.385vw; /* 角を丸める */
        padding: 4.615vw 14.103vw 4.615vw 8.205vw;
        position: relative; /* 子要素の絶対配置に必要 */
        display: flex; /* フレックスボックスを使用 */
        align-items: center; /* 縦方向の中央揃え */
        color: var(--white); /* 文字色を白に */
        font-size: var(--font-size-16); /* フォントサイズ */
        font-weight: var(--font-weight-semi-bold); /* フォントウェイト */
        cursor: pointer; /* マウスカーソルをポインターに */
        transition: background-color 0.3s ease; /* 背景色の変更にアニメーションを追加 */
        width: 100%;
    }
    
    .contact-page .btn-inner:after {
        content: '';
        display: inline-block;
        background-image: url(../images/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);
    }
    
    .contact-page .btn-inner.disabled:after {
        opacity: 0.4; /* 矢印アイコンの透明度 */
    }
    
    .contact-page .btn-inner.disabled {
        cursor: not-allowed; /* 禁止カーソル */
        opacity: 0.4; /* 無効時の透明度 */
    }
    
    /* inputがdisabledの時に.btn-innerに.disabledクラスを適用 */
    .contact-page .btn-inner input[type="submit"]:disabled {
        opacity: 0.4; /* 無効時の透明度 */
        cursor: not-allowed; /* カーソルを禁止に */
    }
    
    .contact-page .btn-inner .wpcf7-spinner {
        display: none;
    }
    
    .wpcf7-form-control.wpcf7-select.p-region {
        background-position: right 4.615vw center; /* アイコンを右端に配置（右端から10pxの位置に配置） */
        background-size: 6.154vw 6.154vw; /* アイコンのサイズを24pxに設定 */
        padding-right: 10.256vw; /* アイコンのスペースを確保するため、右側のパディングを設定 */
    }

    /* 確認画面 */
    .contact-page .form.contact-confirm .form-group {
        margin-bottom: 8.205vw;
        padding-bottom: 8.205vw;
        border-bottom: solid 1px var(--border);
    }
    
    .contact-page .form.contact-confirm .form-btn {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        gap: 8.205vw;
    }

    .contact-page .form.contact-confirm .form-btn .btn-back {
        order: 2; /* 2番目に表示 */
        margin-top: 2.564vw; /* ボタン間に隙間を追加（必要なら） */
    }
    
    .contact-page .form.contact-confirm .form-btn .btn-inner {
        order: 1; /* 1番目に表示 */
    }
    
    /* 完了画面 */
    
    /* 完了画面の全体スタイル */
    .contact-page .form.contact-thanks {
        text-align: center;
    }
    
    /* タイトルのスタイル */
    .contact-page .form.contact-thanks h3 {
        margin-bottom: 8.205vw;
    }
    
    /* テキストのスタイル */
    .contact-page .form.contact-thanks p {
        margin-bottom: 4.103vw;
        text-align: left;
    }

    .contact-page .form.contact-thanks p:nth-child(3) {
        margin-bottom: 0;
    }

}



/* Aboutページ */

.about-page h2.page-description {
    font-size: var(--font-size-40);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    margin-top: 2.778vw;
    margin-bottom: 2.778vw;
}

.about-page .key-visual {
    display: block;
    height: auto;
    border-bottom: solid 1px var(--border);
    margin-bottom: 8.333vw;
}

.about-page .key-visual .page-menu {
    padding: 2.778vw 0;
}

.about-page .key-visual .page-menu ul {
    display: flex;
    gap: 2.222vw;
}

.about-page .key-visual .page-menu ul li {
    position: relative; /* 親要素として相対配置を指定 */
    display: flex;
    align-items: center; /* 上下中央揃え */
}

.about-page .key-visual .page-menu ul li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 0.069vw;
    height: 1.111vw;
    background-color: var(--border);
    margin-left: 2.222vw;
}

/* key-visual内のリンクスタイル */
.about-page .key-visual .menu-link {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.5;
    position: relative;
    color: var(--black); /* デフォルトのテキスト色 */
    text-decoration: none; /* デフォルトの下線を消す */
    transition: color 0.3s ease; /* テキスト色の変更にトランジションを追加 */
}

.about-page .key-visual .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) {
    .about-page .key-visual .menu-link:hover {
        color: var(--primary); /* マウスオーバー時のテキスト色 */
    }

    .about-page .key-visual .menu-link:hover::after {
        transform: scaleX(1); /* マウスオーバー時に下線が表示 */
    }

    .about-page .key-visual .menu-link:not(:hover) {
        color: var(--black); /* マウスアウト時のテキスト色 */
    }

    .about-page .key-visual .menu-link:not(:hover)::after {
        transform: scaleX(0); /* マウスアウト時に下線が消える */
        transform-origin: right; /* 右端を起点にスケールを適用 */
    }
}

.about-page .about-us {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF7EF 100%);
    position: relative;
    margin-bottom: 8.333vw;
}

.about-page .about-us .description {
    width: 41.806vw;
    margin: 0 auto;
    padding-bottom: 8.333vw;
    position: relative; /* 相対位置を設定 */
    z-index: 2; /* 背面に設定 */
}

.about-page .about-us .description .title-jp {
    font-weight: var(--font-weight-semi-bold); /* SemiBold */
    font-size: var(--font-size-32); /* 32px */
    line-height: 1.8;
    margin-bottom: 4.444vw;
}

.about-page .about-us .description .text p {
    font-weight: var(--font-weight-regular); /* Regular */
    font-size: var(--font-size-16); /* 16px */
    line-height: 1.8;
    margin-bottom: 1.111vw;
}

.about-page .about-us .description .text p:last-child {
    margin-bottom: 0;
}

.about-page .about-us .image-container {
    position: absolute; /* 相対位置付け */
    background-color: var(--bg); /* 背景色を設定 */
    overflow: hidden; /* はみ出しを隠す */
}

.about-page .about-us .image {
    position: absolute;
    width: 100%; /* 親要素に合わせて幅を100%に */
    height: 100%; /* 親要素に合わせて高さを100%に */
    clip-path: inset(100% 0 0 0); /* 初期状態で下に隠す */
    transition: clip-path 0.8s ease, opacity 0.8s ease; /* アニメーションの設定 */
    opacity: 0; /* 初期状態で非表示 */
}

/* 特異性を高める */
.about-page .about-us .image.show {
    clip-path: inset(0 0 0 0); /* 最終状態で全体を表示 */
    opacity: 1; /* 背景は常に表示 */
}

.about-page .about-us .image img {
    width: 44.444vw; /* 画像自体の幅を640pxに */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 初期位置を中央に */
    opacity: 0; /* 初期状態で非表示 */
    transition: opacity 0.8s ease, transform 1.5s ease; /* 画像のフェードインアニメーションと拡大アニメーション */
}

.about-page .about-us .image.show img {
    opacity: 1; /* フェードイン */
    transform: translate(-50%, -50%) scale(1.05); /* 1.4倍に拡大 */
}

.about-page .about-us .image01 {
    width: 20.833vw;
    height: 26.042vw;
    top: 0;
    left: 0;
}

.about-page .about-us .image01 .image img {
    width: 20.833vw;
}

.about-page .about-us .image01 {
    width: 20.833vw;
    height: 26.042vw;
    top: 0;
    left: 0;
}

.about-page .about-us .image02 {
    width: 25vw;
    height: 31.25vw;
    bottom: 0;
    right: 0;
}

.about-page .about-us .image02 .image img {
    width: 25vw;
}

.about-page .about-us .text-loop-wrapper {
    position: absolute;
    width: 100%;
    max-width: 100vw;
    height: 25vw;
    bottom: -6.528vw;
    overflow: hidden;
}

.about-page .about-us .text-loop {
    display: flex;
    width: max-content;
    animation: scroll-text 50s linear infinite;
    overflow: hidden;
    z-index: 1;
    opacity: 0.8;
}

.about-page .about-us .text-loop p {
    font-size: 16.667vw; /* フォントサイズ */
    font-weight: var(--font-weight-en-normal); /* フォントウェイト */
    line-height: 1.5; /* 行の高さ */
    color: var(--white); /* テキストカラー */
    white-space: nowrap; /* テキストを改行せずに一行で表示 */
}

/* スクロールアニメーション */
@keyframes scroll-text {
    0% {
        transform: translateX(0); /* スライド開始位置 */
    }
    100% {
        transform: translateX(-50%); /* スライド終了位置（テキストが半分移動） */
    }
}

.about-page .message {
    margin-bottom: 8.333vw;
}

.about-page .message .message-image {
    position: relative;
    overflow: hidden; /* 子要素がはみ出さないように */
    height: 41.667vw; /* 高さはお好みで調整 */
    border-radius: 0.556vw;
    padding: 5.556vw;
    margin-bottom: 5.556vw;
}

.about-page .message .message-image .background-img {
    transition: transform 0.2s ease;
    position: absolute;
    top: -17vh;
    left: 0;
}

.about-page .message .message-image .title-en {
    color: var(--white);
}

.about-page .message .message-image .title-jp {
    color: var(--white);
    font-size: var(--font-size-28);
}

.about-page .message .message-description {
    display: flex;
    justify-content: space-between;
}

.about-page .message .message-description .title {
    width: 27.778vw;
}

.about-page .message .message-description  .title-jp {
    font-size: 3.333vw;
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    margin-bottom: 2.222vw;
}

.about-page .message .message-description .title img {
    width: 27.778vw;
}

.about-page .message .message-description .text {
    width: 54.861vw;
}

.about-page .message .message-description .text p {
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: 1.8;
    margin-bottom: 2.222vw;
}

.about-page .message .message-description .text p:last-child {
    margin-bottom: 0;
}

.about-page .message .message-description .text .ceo-name {
    display: flex;
    justify-content: flex-end; /* 右寄せ */
    align-items: center; /* 中身のテキスト上下中央寄せ */
}

.about-page .message .message-description .text .ceo-name p {
    font-size: var(--font-size-24);
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.about-page .message .message-description .text .ceo-name p span {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    margin-right: 2.222vw;
}

.about-page .company-profile {
    display: flex;
    justify-content: space-between;
}

.about-page .company-profile .title {
    width: 10.028vw;
}

.about-page .company-profile .title .title-jp {
    font-size: var(--font-size-28);
    line-height: 1.8;
    font-weight: var(--font-weight-semi-bold);
}

.about-page .company-profile .profile {
    width: 47.917vw;
}

.about-page .company-profile .profile dl {
    display: flex;
    flex-wrap: wrap;
}

.about-page .company-profile .profile dt {
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-semi-bold); /* セミボールド */
    line-height: 1.8;
    width: 13.889vw; /* 幅を指定 */
    margin: 0; /* デフォルトのマージンをリセット */
    padding: 2.222vw 0; /* 上下32pxのパディング */
    border-bottom: 1px solid var(--border); /* 下線を引く */
}

.about-page .company-profile .profile dd {
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular); /* レギュラー */
    width: 34.028vw; /* 幅を指定 */
    margin: 0; /* デフォルトのマージンをリセット */
    padding: 2.222vw 0; /* 上下32pxのパディング */
    border-bottom: 1px solid var(--border); /* 下線を引く */
    line-height: 1.8;
}

.about-page .company-profile .profile dt,
.about-page .company-profile .profile dd {
    box-sizing: border-box; /* 幅を正確に保つためにボックスサイズを調整 */
}

.about-page .company-profile .profile dd .location {
    margin-bottom: 2.222vw;
}

.about-page .company-profile .profile dd .location .more-button-white {
    margin-top: 1.111vw;
}

.about-page .company-profile .profile dd .location .more-button-white a {
    width: 12.222vw;
}

.about-page .company-profile .profile dd .location .more-button-white .text-area span {
    left:1.528vw;
}

.about-page .company-profile .profile dd ul {
    list-style-type: disc; /* 黒点をリストスタイルとして設定 */
    padding-left: 1.389vw; /* リストの左側に余白を追加（必要に応じて調整） */
}

.about-page .company-profile .profile dd ul li {
    margin-bottom: 0.417vw;
    line-height: 1.8;
}

.about-page .company-profile .profile dd.member p span {
    display: inline-block; /* インラインブロックに変更 */
    width: 8.944vw; /* 幅を設定 */
    margin-right: 2.222vw; /* 右マージンを設定 */
}

.about-page .company-profile .profile dd.bank p span {
    display: inline-block; /* インラインブロックに変更 */
    width: 7.639vw; /* 幅を設定 */
    margin-right: 2.222vw; /* 右マージンを設定 */
}

@media (min-width: 1440px) {
    .about-page h2.page-description {
        font-size: var(--font-size-40);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .about-page .key-visual {
        display: block;
        height: auto;
        border-bottom: solid 1px var(--border);
        margin-bottom: 120px;
    }
    
    .about-page .key-visual .page-menu {
        padding: 40px 0;
    }
    
    .about-page .key-visual .page-menu ul {
        display: flex;
        gap: 32px;
    }

    .about-page .key-visual .page-menu ul li:not(:last-child)::after {
        content: "";
        display: inline-block;
        width: 1px;
        height: 16px;
        background-color: var(--border);
        margin-left: 32px;
    }
    
    
    .about-page .key-visual .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; /* 下線のスライドにトランジションを追加 */
    }
    
    .about-page .about-us {
        background: linear-gradient(180deg, #FFFFFF 0%, #FAF7EF 100%);
        position: relative;
        margin-bottom: 120px;
    }
    
    .about-page .about-us .description {
        width: 602px;
        margin: 0 auto;
        padding-bottom: 120px;
        position: relative; /* 相対位置を設定 */
        z-index: 2; /* 背面に設定 */
    }
    
    .about-page .about-us .description .title-jp {
        font-weight: var(--font-weight-semi-bold); /* SemiBold */
        font-size: var(--font-size-32); /* 32px */
        line-height: 1.8;
        margin-bottom: 64px;
    }
    
    .about-page .about-us .description .text p {
        font-weight: var(--font-weight-regular); /* Regular */
        font-size: var(--font-size-16); /* 16px */
        line-height: 1.8;
        margin-bottom: 16px;
    }
    
    .about-page .about-us .image img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* 初期位置を中央に */
        opacity: 0; /* 初期状態で非表示 */
        transition: opacity 0.8s ease, transform 1.5s ease; /* 画像のフェードインアニメーションと拡大アニメーション */
    }
    
    .about-page .about-us .image01 {
        top: 0;
        left: 0;
    }
    
    .about-page .about-us .image02 {
        bottom: 0;
        right: 0;
    }
    
    .about-page .about-us .text-loop-wrapper {
        position: absolute;
        width: 100%;
        max-width: 100vw;
        height: 360px;
        bottom: -94px;
        overflow: hidden;
    }

    .about-page .about-us .text-loop {
        display: flex;
        width: max-content;
        animation: scroll-text 50s linear infinite;
        overflow: hidden;
        z-index: 1;
        opacity: 0.8;
    }
    
    .about-page .about-us .text-loop p {
        font-size: 240px; /* フォントサイズ */
        font-weight: var(--font-weight-en-normal); /* フォントウェイト */
        line-height: 1.5; /* 行の高さ */
        color: var(--white); /* テキストカラー */
        white-space: nowrap; /* テキストを改行せずに一行で表示 */
    }
    
    .about-page .message {
        margin-bottom: 120px;
    }
    
    .about-page .message .message-image {
        position: relative;
        overflow: hidden; /* 子要素がはみ出さないように */
        height: 600px; /* 高さはお好みで調整 */
        border-radius: 8px;
        padding: 80px;
        margin-bottom: 80px;
    }

    .about-page .message .message-description .title {
        width: 400px;
    }
    
    .about-page .message .message-description .title-jp {
        font-size: 48px;
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        margin-bottom: 32px;
    }
    
    .about-page .message .message-description .title img {
        width: 400px;
    }
    
    .about-page .message .message-description .text {
        width: 790px;
    }
    
    .about-page .message .message-description .text p {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-regular);
        line-height: 1.8;
        margin-bottom: 32px;
    }
    
    .about-page .message .message-description .text .ceo-name p span {
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-regular);
        line-height: 1.5;
        margin-right: 32px;
    }
    
    .about-page .company-profile .title {
        width: 130px;
    }
    
    .about-page .company-profile .profile {
        width: 690px;
    }
    
    .about-page .company-profile .profile dt {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-semi-bold); /* セミボールド */
        line-height: 1.8;
        width: 200px; /* 幅を指定 */
        margin: 0; /* デフォルトのマージンをリセット */
        padding: 32px 0; /* 上下32pxのパディング */
        border-bottom: 1px solid var(--border); /* 下線を引く */
    }
    
    .about-page .company-profile .profile dd {
        font-weight: var(--font-weight-regular); /* レギュラー */
        width: 490px; /* 幅を指定 */
        margin: 0; /* デフォルトのマージンをリセット */
        padding: 32px 0; /* 上下32pxのパディング */
        border-bottom: 1px solid var(--border); /* 下線を引く */
        line-height: 1.8;
    }
    
    .about-page .company-profile .profile dd .location {
        margin-bottom: 32px;
    }
    
    .about-page .company-profile .profile dd .location .more-button-white {
        margin-top: 16px;
    }
    
    .about-page .company-profile .profile dd .location .more-button-white a {
        width: 176px;
    }
    
    .about-page .company-profile .profile dd ul {
        list-style-type: disc; /* 黒点をリストスタイルとして設定 */
        padding-left: 20px; /* リストの左側に余白を追加（必要に応じて調整） */
    }
    
    .about-page .company-profile .profile dd ul li {
        margin-bottom: 6px;
        line-height: 1.8;
    }
    
    .about-page .company-profile .profile dd.member p span {
        display: inline-block; /* インラインブロックに変更 */110px
        width: 100px; /* 幅を設定 */
        margin-right: 32px; /* 右マージンを設定 */
    }
    
    .about-page .company-profile .profile dd.bank p span {
        display: inline-block; /* インラインブロックに変更 */
        width: 110px; /* 幅を設定 */
        margin-right: 32px; /* 右マージンを設定 */
    }

    .about-page .company-profile .profile dd .location .more-button-white .text-area span {
        left:22px;
    }
}

@media (max-width: 1023px) {
    .about-page h2.page-description {
        font-size: var(--font-size-24);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        margin-top: 10.256vw;
        margin-bottom: 10.256vw;
    }
    
    .about-page .key-visual {
        margin-bottom: 15.385vw;
    }
    
    .about-page .key-visual .page-menu {
        padding: 6.154vw 0;
    }
    
    .about-page .key-visual .page-menu ul {
        gap: 5.833vw;
    }

    .about-page .key-visual .menu-link {
        font-size: var(--font-size-12);
        letter-spacing: 0.01em;
    }
    
    .about-page .key-visual .page-menu ul li:not(:last-child)::after {
        content: "";
        display: inline-block;
        width: 0.256vw;
        height: 4.103vw;
        background-color: var(--border);
        margin-left: 5.833vw;
    }

    .about-page .key-visual .menu-link::after {
        bottom: -1.026vw; /* 下線の位置を調整 */
        height: 1px; /* 下線の太さ */
    }
    
    .about-page .about-us {
        margin-bottom: 15.385vw;
    }
    
    .about-page .about-us .description {
        padding-bottom: 0;
        position: static;
        width: calc(100% - 12.308vw);
        margin: 0 6.154vw 8.205vw;
    }
    
    .about-page .about-us .description .title-jp {
        font-size: var(--font-size-24);
        margin-bottom: 16.41vw;
    }
    
    .about-page .about-us .description .text p {
        font-size: var(--font-size-16);
        line-height: 1.8;
        margin-bottom: 4.103vw;
    }
    
    .about-page .about-us .description .text p:last-child {
        margin-bottom: 0;
    }
    
    .about-page .about-us .image-area.to-sp {
        width: calc(100% - 12.308vw);
        margin: 0 6.154vw 15.385vw;
        display: flex !important;
        justify-content: space-between;
        gap: 4.102vw;
    }

    .about-page .about-us .image-area .image-container {
        position: static;
        background-color: var(--bg);
        overflow: hidden;
    }
    
    .about-page .about-us .image-area .image {
        position: static;
        width: 100%; /* 親要素に合わせて幅を100%に */
        height: 100%; /* 親要素に合わせて高さを100%に */
        transition: clip-path 0.8s ease, opacity 0.8s ease; /* アニメーションの設定 */
    }
    
    .about-page .about-us .image img {
        width: auto;
        height: 100%;
        position: static;
        top: 50%;
        left: 50%;
        transform: unset; /* 初期位置を中央に */
        opacity: 0; /* 初期状態で非表示 */
        transition: opacity 0.8s ease, transform 1.5s ease; /* 画像のフェードインアニメーションと拡大アニメーション */
    }

    .about-page .about-us .image-area .image.show img {
        opacity: 1; /* フェードイン */
        transform: unset; /* 1.4倍に拡大 */
        width: 100%;
    }
    
    .about-page .about-us .image01 {
        width: 100%;
        height: 52.308vw;
        top: 0;
        left: 0;
    }
    
    .about-page .about-us .image02 {
        width: 100%;
        height: 52.308vw;
        bottom: 0;
        right: 0;
    }
    
    .about-page .about-us .text-loop {
        bottom: -12.744vw;
    }
    
    .about-page .about-us .text-loop p {
        font-size: 30.769vw;
    }
    
    .about-page .message {
        margin-bottom: 30.769vw;
    }
    
    .about-page .message .message-image {
        border-radius: 2.051vw;
        padding: 6.154vw;
        height: 49.231vw;
        margin-bottom: 20.513vw;
    }
    
    .about-page .message .message-image .background-img {
        width: 110%;
        top: -12vh;
    }

    .about-page .message .message-image .title-en {
        color: var(--white);
    }
    
    .about-page .message .message-image .title-jp {
        color: var(--white);
        font-size: var(--font-size-28);
    }
    
    .about-page .message .message-description {
        display: block;
        width: 100%;
        margin: 0;
    }
    
    .about-page .message .message-description .title {
        width: auto;
    }
    
    .about-page .message .message-description  .title-jp {
        font-size: var(--font-size-40);
        margin-bottom: 8.205vw;
    }
        
    .about-page .message .message-description .text {
        width: 100%;
    }

    .about-page .message .message-description .text p {
        margin-bottom: 8.205vw;
    }

    .about-page .message .message-description .text .ceo-name {
        margin-bottom: 20.513vw;
    }

    .about-page .message .message-description .text .ceo-name p span {
        margin-right: 8.205vw;
    }

    .about-page .message .message-description .text .ceo-image {
        width: 66.667vw;
        margin: 0 auto;
    }
    
    .about-page .company-profile {
        display: block;
    }
    
    .about-page .company-profile .title {
        width: 100%;
    }
    
    .about-page .company-profile .profile {
        width: 100%;
    }
    
    .about-page .company-profile .profile dl {
        display: flex;
        flex-wrap: wrap;
    }
    
    .about-page .company-profile .profile dt {
        width: 100%;
        padding: 8.205vw 0;
        border-bottom: none;
    }
    
    .about-page .company-profile .profile dd {
        width: 100%;
        padding: 0 0 8.205vw;
    }
    
    .about-page .company-profile .profile dd .location {
        margin-bottom: 8.205vw;
    }
    
    .about-page .company-profile .profile dd .location .more-button-white {
        margin-top: 4.103vw;
        width: 100%;
    }

    .about-page .company-profile .profile dd .location .more-button-white a {
        width: 100%;
    }
    
    .about-page .company-profile .profile dd ul {
        list-style-type: disc; /* 黒点をリストスタイルとして設定 */
        padding-left: 5.128vw; /* リストの左側に余白を追加（必要に応じて調整） */
    }
    
    .about-page .company-profile .profile dd ul li {
        margin-bottom: 1.538vw;
        line-height: 1.8;
    }
    
    .about-page .company-profile .profile dd.member p span {
        display: inline-block; /* インラインブロックに変更 */
        width: 31.641vw; /* 幅を設定 */
        margin-right: 8.205vw; /* 右マージンを設定 */
    }
    
    .about-page .company-profile .profile dd.bank p span {
        width: auto;
        margin-right: 6.205vw;
    }

    .about-page .company-profile .profile dd .location .more-button-white .text-area span {
        left:8.205vw;
    }
}

@media screen and (max-width:500px){
.to-pc {
	display:none;
}
.to-sp {
	display:block;
}
}


/* 製品・事業紹介 */

.service-page .page-menu {
    padding: 2.778vw 0;
    border-bottom: solid 1px var(--border);
    margin-top: 2.778vw;
    margin-bottom: 8.333vw;
}

.service-page .page-menu ul {
    display: flex;
    gap: 2.222vw;
}

.service-page .page-menu ul li {
    position: relative;
    display: flex;
    align-items: center;
}

.service-page .page-menu ul li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 0.069vw;
    height: 1.111vw;
    background-color: var(--border);
    margin-left: 2.222vw;
}

/* .page-menu 内のリンクスタイル */
.service-page .page-menu ul li .menu-link {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.5;
    position: relative;
    color: var(--black); /* デフォルトのテキスト色 */
    text-decoration: none; /* デフォルトの下線を消す */
    transition: color 0.3s ease; /* テキスト色の変更にトランジションを追加 */
}

.service-page .page-menu ul li .menu-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.278vw; /* 下線の位置を調整 */
    width: 100%;
    height: 0.139vw; /* 下線の太さ */
    background-color: var(--primary); /* 下線の色 */
    transform: scaleX(0); /* 初期状態では見えない */
    transform-origin: left; /* 左端を起点にスケールを適用 */
    transition: transform 0.5s ease; /* 下線のスライドにトランジションを追加 */
}

@media (hover: hover) and (pointer: fine) {
    .service-page .page-menu ul li .menu-link:hover {
        color: var(--primary); /* マウスオーバー時のテキスト色 */
    }

    .service-page .page-menu ul li .menu-link:hover::after {
        transform: scaleX(1); /* マウスオーバー時に下線が表示 */
    }

    .service-page .page-menu ul li .menu-link:not(:hover)::after {
        transform-origin: right; /* 右端を起点にスケールを適用 */
        transform: scaleX(0); /* マウスアウト時に右に消える */
    }
}

.service-page .what-we-do {
    margin-bottom: 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF7EF 100%);
    position: relative; /* 追加 */
    z-index: 2; /* .text-loop よりも前面に表示されるようにする */
    padding-bottom: 8.333vw;
}

.service-page .what-we-do .container-medium {
    position: relative; /* z-index が効くように相対位置に設定 */
    z-index: 2; /* text-loop より高い値を設定 */
    margin-bottom: 0;
}

.service-page .what-we-do .text-loop-wrapper {
    position: absolute;
    width: 100%;
    max-width: 100vw;
    height: 25vw;
    bottom: 0;
    overflow: hidden;
}

.service-page .what-we-do .text-loop {
    display: flex;
    width: max-content;
    animation: scroll-text 100s linear infinite;
    overflow: hidden;
    position: absolute;
    bottom: -6.528vw;
    z-index: 1; /* 背面に設定 */
}

.service-page .what-we-do .text-loop p {
    font-size: 16.667vw; /* フォントサイズ */
    font-weight: var(--font-weight-en-normal); /* フォントウェイト */
    line-height: 1.5; /* 行の高さ */
    color: var(--white); /* テキストカラー */
    white-space: nowrap; /* テキストを改行せずに一行で表示 */
}

/* スクロールアニメーション */
@keyframes scroll-text {
    0% {
        transform: translateX(0); /* スライド開始位置 */
    }
    100% {
        transform: translateX(-50%); /* スライド終了位置（テキストが半分移動） */
    }
}

/* 幅いっぱいで高さを578pxに制限 */
.service-page .products .key-visual {
    width: 100%;
    height: 40.139vw;
    max-height: 40.139vw;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 画像のフェード切り替えと拡大アニメーション */
.service-page .products .key-visual .bg-image {
    position: absolute;
    width: 100%;
    height: 100%;
}

.service-page .products .key-visual .bg-image img {
    width: 100%;
    max-width: 100vw;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    opacity: 0;
    animation: fadeInOut 18s ease-in-out infinite, zoomInOut 18s ease-in-out infinite;
}


/* 各画像の表示タイミング（6秒間隔で均等に切り替え） */
.service-page .products .key-visual .bg-image img:nth-child(1) {
    animation-delay: 0s;
}

.service-page .products .key-visual .bg-image img:nth-child(2) {
    animation-delay: 6s; /* 6秒後に表示開始 */
}

.service-page .products .key-visual .bg-image img:nth-child(3) {
    animation-delay: 12s; /* 12秒後に表示開始 */
}

/* フェード切り替えアニメーション（6秒） */
@keyframes fadeInOut {
    0% {
        opacity: 0; /* 初期状態は透明 */
    }
    5% {
        opacity: 1; /* フェードイン開始 */
    }
    40% {
        opacity: 1; /* 表示を維持 */
    }
    45% {
        opacity: 0; /* フェードアウト開始 */
    }
    100% {
        opacity: 0; /* 完全に非表示 */
    }
}

/* 拡大・縮小アニメーション（7秒） */
@keyframes zoomInOut {
    0% {
        transform: scale(1); /* 元のサイズ */
    }
    100% {
        transform: scale(1.4); /* 元のサイズに戻る */
    }
}

/* テキストのスタイリング */
.service-page .products .key-visual p {
    writing-mode: vertical-rl;
    font-weight: var(--font-weight-semi-bold);
    font-size: var(--font-size-32);
    color: var(--white);
    z-index: 2;
    margin: 0;
    position: relative;
    line-height: 2.0;
    letter-spacing: 0.2em;
}

.service-page .products .contents {
    background: var(--bg);
    box-shadow: 0px 10px 40px rgba(91, 75, 31, 0.1);
    border-radius: 1.111vw;
    padding: 4.444vw 5.556vw;
    margin-top: -2.778vw;
    margin-bottom: 8.333vw;
    position: relative;
}

.service-page .products .contents .title {
    margin-bottom: 1.111vw;
}

.service-page .products .contents .title .title-jp {
    font-weight: var(--font-weight-semi-bold); /* semibold */
    font-size: var(--font-size-32);
    line-height: 1.8;
}

/* .menuの下マージン32px */
.service-page .products .contents .menu {
    margin-bottom: 2.222vw;
}

.service-page .products .contents .menu p {
    font-weight: var(--font-weight-semi-bold); /* semibold */
    font-size: var(--font-size-14);
    line-height: 1.5;
    margin-bottom: 1.111vw;
}

/* .category-menuを5カラムで、gap16px */
.service-page .products .contents .menu .category-menu {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5カラムに設定 */
    gap: 1.111vw; /* 各項目の間に16pxのギャップ */
}

/* .category-imageを角丸4px、下マージン4px */
.service-page .products .contents .menu .category-menu .category-item .category-image {
    border-radius: 0.278vw; /* 角丸 */
    margin-bottom: 0.278vw; /* 下マージン */
    overflow: hidden; /* 角丸に画像を合わせる */
}

.service-page .products .contents .menu .category-menu .category-item .category-image img {
    transition: transform 0.4s ease; /* 拡大アニメーションの速度を設定 */
}

/* ホバー時に拡大 */
@media (hover: hover) and (pointer: fine) {
    .service-page .products .contents .menu .category-menu .category-item a:hover .category-image img {
        transform: scale(1.1); /* 少し拡大 */
    }
}

/* .category-textのフォントサイズ14px、semibold、line-height:1.8 */
.service-page .products .contents .menu .category-menu .category-text {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    position: relative;
    overflow: hidden; /* はみ出し部分を隠す */
    height: 1.736vw; /* 必要に応じて高さを調整 */
}

.service-page .products .contents .menu .category-menu .category-item a {
    display: block;
    position: relative;
    width: 100%; /* 必要に応じて幅を調整 */
    overflow: hidden;
    text-decoration: none;
    transition: background-color 0.4s;
    scroll-behavior: smooth;
}

.service-page .products .contents .menu .category-menu .category-item .category-text {
    position: relative;
}

.service-page .products .contents .menu .category-menu .category-item .category-text span {
    display: block;
    position: absolute;
    width: 100%;
    left: 0;
    transition: top 0.4s;
}

/* 初期位置 */
.service-page .products .contents .menu .category-menu .category-item .category-text .text-visible {
    top: 50%;
    transform: translateY(-50%);
}

.service-page .products .contents .menu .category-menu .category-item .category-text .text-hidden {
    top: 100%;
}

/* ホバー時のアニメーション */
@media (hover: hover) and (pointer: fine) {
    .service-page .products .contents .menu .category-menu .category-item a:hover .category-text .text-visible {
        top: -100%;
    }

    .service-page .products .contents .menu .category-menu .category-item a:hover .category-text .text-hidden {
        top: 50%;
        transform: translateY(-50%);
        color: var(--primary);
    }
}

/* afterで右端に背景画像 */
.service-page .products .contents .menu .category-menu .category-text::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%); /* 垂直方向に中央揃え */
    background-image: url('../images/common/down-arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 1.111vw; /* 画像の幅を指定 */
    height: 1.111vw; /* 画像の高さを指定 */
}

.service-page .products .contents .product .product-item {
    margin-bottom: 1.111vw;
}

.service-page .products .contents .product .product-item:last-child {
    margin-bottom: 0;
}

.service-page .products .contents .product .product-item h3 {
    font-weight: var(--font-weight-semi-bold); /* semibold */
    font-size: var(--font-size-20);
    line-height: 1.5;
    margin-bottom: 0.625vw;
}

/* 共通スタイル */
.service-page .products .contents .product .product-item h3[class^="product"] {
    position: relative;
    padding-left: 2.778vw; /* アイコンとテキストの余白分 */
    font-size: 1.25vw; /* 任意のフォントサイズ */
    line-height: 1.5; /* 任意の行間 */
}

/* 個別のアイコン背景画像 */
.service-page .products .contents .product .product-item h3.product01::before,
.service-page .products .contents .product .product-item h3.product02::before,
.service-page .products .contents .product .product-item h3.product03::before,
.service-page .products .contents .product .product-item h3.product04::before,
.service-page .products .contents .product .product-item h3.product05::before,
.service-page .products .contents .product .product-item h3.product06::before,
.service-page .products .contents .product .product-item h3.product07::before,
.service-page .products .contents .product .product-item h3.product08::before,
.service-page .products .contents .product .product-item h3.product09::before,
.service-page .products .contents .product .product-item h3.product10::before {
    content: '';
    position: absolute;
    left: 0;
    width: 2.222vw;
    height: 2.222vw;
    background-size: contain;
    background-repeat: no-repeat;
    top: 50%;
    transform: translateY(-50%); /* アイコンを上下中央に配置 */
}

/* 各アイコン画像の指定 */
.service-page .products .contents .product .product-item h3.product01::before { background-image: url('../images/service/category_icon01.svg'); }
.service-page .products .contents .product .product-item h3.product02::before { background-image: url('../images/service/category_icon02.svg'); }
.service-page .products .contents .product .product-item h3.product03::before { background-image: url('../images/service/category_icon03.svg'); }
.service-page .products .contents .product .product-item h3.product04::before { background-image: url('../images/service/category_icon04.svg'); }
.service-page .products .contents .product .product-item h3.product05::before { background-image: url('../images/service/category_icon05.svg'); }
.service-page .products .contents .product .product-item h3.product06::before { background-image: url('../images/service/category_icon06.svg'); }
.service-page .products .contents .product .product-item h3.product07::before { background-image: url('../images/service/category_icon07.svg'); }
.service-page .products .contents .product .product-item h3.product08::before { background-image: url('../images/service/category_icon08.svg'); }
.service-page .products .contents .product .product-item h3.product09::before { background-image: url('../images/service/category_icon09.svg'); }
.service-page .products .contents .product .product-item h3.product10::before { background-image: url('../images/service/category_icon10.svg'); }

.service-page .products .contents .product .product-item table.three-column-table {
    width: 100%;
    border-collapse: collapse;
}

.service-page .products .contents .product .product-item table.three-column-table tr {
    border-bottom: solid 1px var(--border); /* trの間に横線を引く */
}

.service-page .products .contents .product .product-item table.three-column-table tr:last-child {
    border-bottom: none; /* 最後の行の下には線を引かない */
}

.service-page .products .contents .product .product-item table.three-column-table td {
    padding: 0.694vw 1.111vw;
    vertical-align: middle; /* 上下中央揃え */
    border: none; /* 各セルのボーダーはなし */
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
}

/* .bg-blackのスタイリング（背景gray30、中央寄せ） */
.service-page .products .contents .product .product-item table.three-column-table td.bg-black {
    background-color: var(--gray-30); /* gray30 */
    color: var(--white); /* テキストカラーは白に設定 */
    text-align: center; /* テキストを中央揃え */
    width: 13.889vw;
    font-weight: var(--font-weight-semi-bold);
}

/* .bg-yellowのスタイリング（背景F2EAD4） */
.service-page .products .contents .product .product-item table.three-column-table td.bg-yellow {
    background-color: #F2EAD4; /* 指定された背景色 */
    color: var(--black); /* テキストカラーは黒に設定 */
    width: 20.833vw;
}

/* .bg-whiteのスタイリング（背景white） */
.service-page .products .contents .product .product-item table.three-column-table td.bg-white {
    background-color: var(--white); /* 白色の背景 */
    color: var(--black); /* テキストカラーは黒に設定 */
}

.service-page .use-case .title {
    margin-bottom: 4.444vw;
}

.service-page .use-case .title .title-jp {
    font-weight: var(--font-weight-semi-bold); /* semibold */
    font-size: var(--font-size-28);
    line-height: 1.8;
    margin-bottom: 1.111vw;
}

.service-page .use-case .title p {
    font-weight: var(--font-weight-regular); /* semibold */
    font-size: var(--font-size-16);
    line-height: 1.8;
}

.service-page .use-case .case {
}

.service-page .use-case .case-separator {
    border: none; /* ボーダーを消す */
    height: 0.069vw; /* 線の高さ */
    background-color: var(--border); /* 線の色（--borderを使う） */
    margin: 4.444vw 0; /* 上下64pxのマージン */
}

.service-page .use-case .case .num {
    width: fit-content;
    padding: 0.556vw 1.667vw;
    background-color: var(--primary); /* 背景をプライマリカラーに */
    color: var(--white); /* テキスト色を白に */
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-en-normal);
    line-height: 1.5;
    margin-bottom: 2.222vw; /* 下マージン */
}

.service-page .use-case .case .description {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4.444vw;
}

.service-page .use-case .case .description .title {
    width: 26.458vw;
    margin: 0;
}

.service-page .use-case .case .description .text {
    width: 42.361vw;
    display: flex;
    align-items: end;
}

.service-page .use-case .case .description .title h3 {
    font-weight: var(--font-weight-semi-bold); /* semibold */
    font-size: var(--font-size-28);
    line-height: 1.8;
    margin-bottom: 2.222vw; /* 下マージン */
}

.service-page .use-case .case .description .title h3 {
    font-weight: var(--font-weight-semi-bold); /* semibold */
    font-size: var(--font-size-28);
    line-height: 1.8;
    margin-bottom: 2.222vw; /* 下マージン */
}

.service-page .use-case .case .description .title p {
    font-weight: var(--font-weight-regular); /* semibold */
    font-size: var(--font-size-14);
    line-height: 1.8;
    color: var(--gray-30);
}

.service-page .use-case .case .description .text p {
    font-weight: var(--font-weight-regular); /* semibold */
    font-size: var(--font-size-16);
    line-height: 1.8;
}

.service-page .use-case .case .step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    align-items: stretch;
}

.service-page .use-case .case .step .image {
    display: flex; /* フレックスボックスを使用 */
    flex-direction: column; /* 縦並びにする */
    align-items: center; /* 横中央寄せ */
    margin-bottom: 1.111vw; /* 下マージン16px */
}

.service-page .use-case .case .step .image-top {
    width: 4.236vw; /* 幅61px */
    height: 4.931vw; /* 高さ71px */
    background-size: cover; /* 背景画像を要素に合わせる */
    transform: translateY(0); /* 初期位置をそのままにする */
    transition: transform 0.3s ease; /* アニメーションを設定 */
}

.service-page .use-case .case .step .image-bottom {
    width: 6.389vw; /* 幅92px */
    height: 4.514vw; /* 高さ65px */
    background-size: cover; /* 背景画像を要素に合わせる */
}

.service-page .use-case .case .step .step01 .image-top {
    background-image: url(../images/service/step01_top_img.png); /* 背景画像 */
}

.service-page .use-case .case .step .step02 .image-top {
    background-image: url(../images/service/step02_top_img.png); /* 背景画像 */
}

.service-page .use-case .case .step .step03 .image-top {
    background-image: url(../images/service/step03_top_img.png); /* 背景画像 */
}

.service-page .use-case .case .step .step01 .image-bottom {
    background-image: url(../images/service/step01_bottom_img.png); /* 背景画像 */
}

.service-page .use-case .case .step .step02 .image-bottom {
    background-image: url(../images/service/step02_bottom_img.png); /* 背景画像 */
}

.service-page .use-case .case .step .step03 .image-bottom {
    background-image: url(../images/service/step03_bottom_img.png); /* 背景画像 */
}

.service-page .use-case .case .step .image-top.move-down {
    animation: bounce 0.8s ease-in-out forwards; /* バウンスアニメーションを適用 */
}

.service-page .use-case .case .step .image-bottom.move-down {
    animation: scale-up 0.8s ease-in-out forwards; /* スケールアップアニメーションを適用 */
}

@keyframes bounce {
    0% {
        transform: translateY(0); /* 初期位置 */
    }
    100% {
        transform: translateY(15px); /* 15px上に戻る */
    }
}

@keyframes scale-up {
    0% {
        transform: scale(1); /* 初期サイズ */
    }
    100% {
        transform: scale(1.2); /* 元のサイズに戻る */
    }
}

.service-page .use-case .case .step .primary-en {
    color: var(--primary);
    font-weight: var(--font-weight-en-normal);
    font-size: var(--font-size-14);
    line-height: 1.8;
    margin-bottom: 0.556vw;
}

.service-page .use-case .case .step h4 {
    font-weight: var(--font-weight-semi-bold); /* semibold */
    font-size: var(--font-size-20);
    line-height: 1.8;
    margin-bottom: 2.222vw;
}

.service-page .use-case .case .step p {
    font-weight: var(--font-weight-regular); /* semibold */
    font-size: var(--font-size-16);
    line-height: 1.8;
}

.service-page .use-case .case .step p.text-left {
    text-align: left;
}

.service-page .use-case .case .step > div {
    position: relative;
    width: 29.6%;
    padding: 2.222vw 1.111vw;
    border: 1px dashed var(--border);
    text-align: center;
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* ゆったりとしたアニメーション */
}

.service-page .use-case .case .step > div.show {
    opacity: 1;
}

/* 順番にふわっと表示されるように遅延を追加 */
.service-page .use-case .case .step > div.show:nth-child(1) {
    transition-delay: 0.1s;
}
.service-page .use-case .case .step > div.show:nth-child(2) {
    transition-delay: 0.5s;
}
.service-page .use-case .case .step > div.show:nth-child(3) {
    transition-delay: 0.7s;
}

/* .step03のスタイル変更 */
.service-page .use-case .case .step .step03 {
    border: 1px dashed var(--primary) !important;
    background: #FFFAFA;
}

/* カラム間の矢印をCSSで表現 */
.service-page .use-case .case .step01::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -3.194vw;
    width: 0;
    height: 0;
    border-left: 0.799vw solid transparent;
    border-right: 0.799vw solid transparent;
    border-bottom: 1.319vw solid var(--primary);
    transform: translateY(-50%) rotate(90deg);
}

/* カラム間の矢印をCSSで表現 */
.service-page .use-case .case .step02::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -3.542vw;
    width: 0;
    height: 0;
    border-left: 1.076vw solid transparent;
    border-right: 1.076vw solid transparent;
    border-bottom: 1.875vw solid var(--primary);
    transform: translateY(-50%) rotate(90deg);
}

/* ステップ間の矢印の位置調整用 */
.service-page .use-case .case .step02 {
    position: relative; /* 相対位置を設定 */
}

.service-page .use-case .case .step03 {
    position: relative; /* 相対位置を設定 */
}

@media (min-width: 1440px) {
    .service-page .page-menu {
        padding: 40px 0;
        border-bottom: solid 1px var(--border);
        margin-top: 40px;
        margin-bottom: 120px;
    }
    
    .service-page .page-menu ul {
        display: flex;
        gap: 32px;
    }
    
    .service-page .page-menu ul li:not(:last-child)::after {
        content: "";
        display: inline-block;
        width: 1px;
        height: 16px;
        background-color: var(--border);
        margin-left: 32px;
    }

    .service-page .page-menu ul li .menu-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -4px; /* 下線の位置を調整 */
        width: 100%;
        height: 2px; /* 下線の太さ */
        background-color: var(--primary); /* 下線の色 */
        transform: scaleX(0); /* 初期状態では見えない */
        transform-origin: left; /* 左端を起点にスケールを適用 */
        transition: transform 0.5s ease; /* 下線のスライドにトランジションを追加 */
    }
    
    .service-page .what-we-do {
        padding-bottom: 120px;
    }

    .service-page .what-we-do .text-loop-wrapper {
        position: absolute;
        width: 100%;
        max-width: 100vw;
        height: 360px;
        overflow: hidden;
    }

    .service-page .what-we-do .text-loop {
        display: flex;
        width: max-content;
        animation: scroll-text 100s linear infinite;
        overflow: hidden;
        position: absolute;
        bottom: -94px;
        z-index: 1; /* 背面に設定 */
    }
    
    .service-page .what-we-do .text-loop p {
        font-size: 240px; /* フォントサイズ */
        font-weight: var(--font-weight-en-normal); /* フォントウェイト */
        line-height: 1.5; /* 行の高さ */
        color: var(--white); /* テキストカラー */
        white-space: nowrap; /* テキストを改行せずに一行で表示 */
    }
    
    .service-page .products .contents {
        background: var(--bg);
        box-shadow: 0px 10px 40px rgba(91, 75, 31, 0.1);
        border-radius: 16px;
        padding: 64px 80px;
        margin-top: -40px;
        margin-bottom: 120px;
        position: relative;
    }
    
    .service-page .products .contents .title {
        margin-bottom: 16px;
    }
    
    /* .menuの下マージン32px */
    .service-page .products .contents .menu {
        margin-bottom: 32px;
    }
    
    .service-page .products .contents .menu p {
        font-weight: var(--font-weight-semi-bold); /* semibold */
        font-size: var(--font-size-14);
        line-height: 1.5;
        margin-bottom: 16px;
    }
    
    /* .category-menuを5カラムで、gap16px */
    .service-page .products .contents .menu .category-menu {
        display: grid;
        grid-template-columns: repeat(5, 1fr); /* 5カラムに設定 */
        gap: 16px; /* 各項目の間に16pxのギャップ */
    }
    
    /* .category-imageを角丸4px、下マージン4px */
    .service-page .products .contents .menu .category-menu .category-item .category-image {
        border-radius: 4px; /* 角丸 */
        margin-bottom: 4px; /* 下マージン */
        overflow: hidden; /* 角丸に画像を合わせる */
    }
    
    /* .category-textのフォントサイズ14px、semibold、line-height:1.8 */
    .service-page .products .contents .menu .category-menu .category-text {
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        position: relative;
        overflow: hidden; /* はみ出し部分を隠す */
        height: 25px; /* 必要に応じて高さを調整 */
    }
    
    /* afterで右端に背景画像 */
    .service-page .products .contents .menu .category-menu .category-text::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%); /* 垂直方向に中央揃え */
        background-image: url('../images/common/down-arrow.svg');
        background-size: contain;
        background-repeat: no-repeat;
        width: 16px; /* 画像の幅を指定 */
        height: 16px; /* 画像の高さを指定 */
    }
    
    .service-page .products .contents .product .product-item {
        margin-bottom: 16px;
    }
    
    .service-page .products .contents .product .product-item h3 {
        font-weight: var(--font-weight-semi-bold); /* semibold */
        font-size: var(--font-size-20);
        line-height: 1.5;
        margin-bottom: 9px;
    }
    
    /* 共通スタイル */
    .service-page .products .contents .product .product-item h3[class^="product"] {
        position: relative;
        padding-left: 40px; /* アイコンとテキストの余白分 */
        font-size: 18px; /* 任意のフォントサイズ */
        line-height: 1.5; /* 任意の行間 */
    }
    
    /* 個別のアイコン背景画像 */
    .service-page .products .contents .product .product-item h3.product01::before,
    .service-page .products .contents .product .product-item h3.product02::before,
    .service-page .products .contents .product .product-item h3.product03::before,
    .service-page .products .contents .product .product-item h3.product04::before,
    .service-page .products .contents .product .product-item h3.product05::before,
    .service-page .products .contents .product .product-item h3.product06::before,
    .service-page .products .contents .product .product-item h3.product07::before,
    .service-page .products .contents .product .product-item h3.product08::before,
    .service-page .products .contents .product .product-item h3.product09::before,
    .service-page .products .contents .product .product-item h3.product10::before {
        content: '';
        position: absolute;
        left: 0;
        width: 32px;
        height: 32px;
        background-size: contain;
        background-repeat: no-repeat;
        top: 50%;
        transform: translateY(-50%); /* アイコンを上下中央に配置 */
    }

    .service-page .products .contents .product .product-item table.three-column-table td {
        padding: 10px 16px;
        vertical-align: middle; /* 上下中央揃え */
        border: none; /* 各セルのボーダーはなし */
        font-size: var(--font-size-14);
        line-height: 1.5;
    }
    
    /* .bg-blackのスタイリング（背景gray30、中央寄せ） */
    .service-page .products .contents .product .product-item .bg-black {
        background-color: var(--gray-30); /* gray30 */
        color: var(--white); /* テキストカラーは白に設定 */
        text-align: center; /* テキストを中央揃え */
        width: 200px;
    }
    
    /* .bg-yellowのスタイリング（背景F2EAD4） */
    .service-page .products .contents .product .product-item .bg-yellow {
        background-color: #F2EAD4; /* 指定された背景色 */
        color: var(--black); /* テキストカラーは黒に設定 */
        width: 300px;
    }
    
    .service-page .use-case .title {
        margin-bottom: 64px;
    }
    
    .service-page .use-case .title .title-jp {
        font-weight: var(--font-weight-semi-bold); /* semibold */
        font-size: var(--font-size-28);
        line-height: 1.8;
        margin-bottom: 16px;
    }
    
    .service-page .use-case .case-separator {
        border: none; /* ボーダーを消す */
        height: 1px; /* 線の高さ */
        background-color: var(--border); /* 線の色（--borderを使う） */
        margin: 64px 0; /* 上下64pxのマージン */
    }
    
    .service-page .use-case .case .num {
        width: fit-content;
        padding: 8px 24px;
        background-color: var(--primary); /* 背景をプライマリカラーに */
        color: var(--white); /* テキスト色を白に */
        font-size: var(--font-size-20);
        font-weight: var(--font-weight-en-normal);
        line-height: 1.5;
        margin-bottom: 32px; /* 下マージン */
    }
    
    .service-page .use-case .case .description {
        display: flex;
        justify-content: space-between;
        margin-bottom: 64px;
    }
    
    .service-page .use-case .case .description .title {
        width: 420px;
        margin: 0;
    }
    
    .service-page .use-case .case .description .text {
        width: 610px;
        display: flex;
        align-items: end;
    }
    
    .service-page .use-case .case .description .title h3 {
        font-weight: var(--font-weight-semi-bold); /* semibold */
        font-size: var(--font-size-28);
        line-height: 1.8;
        margin-bottom: 32px; /* 下マージン */
    }
    
    .service-page .use-case .case .description .title h3 {
        font-weight: var(--font-weight-semi-bold); /* semibold */
        font-size: var(--font-size-28);
        line-height: 1.8;
        margin-bottom: 32px; /* 下マージン */
    }
    
    .service-page .use-case .case .step .image {
        display: flex; /* フレックスボックスを使用 */
        flex-direction: column; /* 縦並びにする */
        align-items: center; /* 横中央寄せ */
        margin-bottom: 16px; /* 下マージン16px */
    }
    
    .service-page .use-case .case .step .image-top {
        width: 61px; /* 幅61px */
        height: 71px; /* 高さ71px */
        background-size: cover; /* 背景画像を要素に合わせる */
        transform: translateY(0); /* 初期位置をそのままにする */
        transition: transform 0.3s ease; /* アニメーションを設定 */
    }
    
    .service-page .use-case .case .step .image-bottom {
        width: 92px; /* 幅92px */
        height: 65px; /* 高さ65px */
        background-size: cover; /* 背景画像を要素に合わせる */
    }
    
    .service-page .use-case .case .step .primary-en {
        color: var(--primary);
        font-weight: var(--font-weight-en-normal);
        font-size: var(--font-size-14);
        line-height: 1.8;
        margin-bottom: 8px;
    }
    
    .service-page .use-case .case .step h4 {
        font-weight: var(--font-weight-semi-bold); /* semibold */
        font-size: var(--font-size-20);
        line-height: 1.8;
        margin-bottom: 32px;
    }
    
    .service-page .use-case .case .step > div {
        position: relative;
        width: 29.6%; /* 各カラムを均等に分ける */
        padding: 32px 16px;
        border: 1px dashed var(--border);
        text-align: center;
        opacity: 0;
        transform: translateY(30px); /* 初期位置を少し下にずらす */
        transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* ゆったりとしたアニメーション */
    }
    
    /* カラム間の矢印をCSSで表現 */
    .service-page .use-case .case .step01::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -46px;
        width: 0;
        height: 0;
        border-left: 11.5px solid transparent;
        border-right: 11.5px solid transparent;
        border-bottom: 19px solid var(--primary);
        transform: translateY(-50%) rotate(90deg);
    }

    /* カラム間の矢印をCSSで表現 */
    .service-page .use-case .case .step02::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -51px;
        width: 0;
        height: 0;
        border-left: 15.5px solid transparent;
        border-right: 15.5px solid transparent;
        border-bottom: 27px solid var(--primary);
        transform: translateY(-50%) rotate(90deg);
    }
}

@media (max-width: 1023px) {
    .service-page .page-menu {
        padding: 6.154vw 0;
        border-bottom: solid 1px var(--border);
        margin-top: 10.256vw;
        margin-bottom: 15.385vw;
    }
    
    .service-page .page-menu ul {
        display: flex;
        gap: 4.103vw;
    }

    .service-page .page-menu ul li {
        flex: 1; /* 各liを均等に配置 */
    }

    .service-page .page-menu ul li:not(:last-child)::after {
        content: "";
        display: inline-block;
        width: 0.256vw;
        height: 4.103vw;
        background-color: var(--border);
        margin-left: 5.833vw;
    }
    
    .service-page .page-menu ul li .menu-link {
        font-size: var(--font-size-12);
    }

    .service-page .page-menu ul li .menu-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -4px; /* 下線の位置を調整 */
        width: 100%;
        height: 2px; /* 下線の太さ */
        background-color: var(--primary); /* 下線の色 */
        transform: scaleX(0); /* 初期状態では見えない */
        transform-origin: left; /* 左端を起点にスケールを適用 */
        transition: transform 0.5s ease; /* 下線のスライドにトランジションを追加 */
    }
    
    .service-page .what-we-do {
        padding-bottom: 15.385vw;
    }

    .service-page .what-we-do .text-loop {
        bottom: -12.231vw;
    }
    
    .service-page .what-we-do .text-loop p {
        font-size: 30.769vw;
    }
    
    /* スクロールアニメーション */
    @keyframes scroll-text {
        0% {
            transform: translateX(0); /* スライド開始位置 */
        }
        100% {
            transform: translateX(-50%); /* スライド終了位置（テキストが半分移動） */
        }
    }
    
    /* 幅いっぱいで高さを578pxに制限 */
    .service-page .products .key-visual {
        width: 100%;
        max-height: unset;
        position: relative;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* 画像のフェード切り替えと拡大アニメーション */
    .service-page .products .key-visual .bg-image {
        position: absolute;
        width: 100%;
        height: 100%;
        display: flex;
    }
    
    .service-page .products .key-visual .bg-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        opacity: 0;
        animation: fadeInOut 18s ease-in-out infinite, zoomInOut 18s ease-in-out infinite;
    }
    
    /* 各画像の表示タイミング（6秒間隔で均等に切り替え） */
    .service-page .products .key-visual .bg-image img:nth-child(1) {
        animation-delay: 0s;
    }
    
    .service-page .products .key-visual .bg-image img:nth-child(2) {
        animation-delay: 6s; /* 6秒後に表示開始 */
    }
    
    .service-page .products .key-visual .bg-image img:nth-child(3) {
        animation-delay: 12s; /* 12秒後に表示開始 */
    }
    
    /* フェード切り替えアニメーション（6秒） */
    @keyframes fadeInOut {
        0% {
            opacity: 0; /* 初期状態は透明 */
        }
        5% {
            opacity: 1; /* フェードイン開始 */
        }
        40% {
            opacity: 1; /* 表示を維持 */
        }
        45% {
            opacity: 0; /* フェードアウト開始 */
        }
        100% {
            opacity: 0; /* 完全に非表示 */
        }
    }
    
    /* 拡大・縮小アニメーション（7秒） */
    @keyframes zoomInOut {
        0% {
            transform: scale(1); /* 元のサイズ */
        }
        100% {
            transform: scale(1.4); /* 元のサイズに戻る */
        }
    }
    
    /* テキストのスタイリング */
    .service-page .products .key-visual p {
        font-size: var(--font-size-24);
    }
    
    .service-page .products .key-visual {
        height: 122.821vw;
    }
    
    .service-page .products .contents {
        border-radius: 4.103vw;
        padding: 16.41vw 6.154vw;
        margin-top: -10.256vw;
        margin-bottom: 30.769vw;
        position: relative;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-shadow: none;
    }
    
    .service-page .products .contents .container-medium {
        margin: 0;
        width: 100%;
    }
    
    .service-page .products .contents .title {
        margin-bottom: 4.103vw;
    }

    /* .menuの下マージン32px */
    .service-page .products .contents .menu {
        margin-bottom: 8.205vw;
    }
    
    .service-page .products .contents .menu p {
        margin-bottom: 4.103vw;
    }
    
    /* .category-menuを5カラムで、gap16px */
    .service-page .products .contents .menu .category-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 5カラムに設定 */
        gap: 4.103vw; /* 各項目の間に16pxのギャップ */
    }
    
    /* .category-imageを角丸4px、下マージン4px */
    .service-page .products .contents .menu .category-menu .category-item .category-image {
        border-radius: 1.026vw; /* 角丸 */
        margin-bottom: 1.026vw; /* 下マージン */
    }
    
    /* .category-textのフォントサイズ14px、semibold、line-height:1.8 */
    .service-page .products .contents .menu .category-menu .category-text {
        font-size: var(--font-size-12);
        height: 6.41vw; /* 必要に応じて高さを調整 */
        letter-spacing: 0;
    }
    
    /* 初期位置 */
    .service-page .products .contents .menu .category-menu .category-item .category-text .text-visible {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .service-page .products .contents .menu .category-menu .category-item .category-text .text-hidden {
        top: 100%;
    }
    
    /* afterで右端に背景画像 */
    .service-page .products .contents .menu .category-menu .category-text::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%); /* 垂直方向に中央揃え */
        background-image: url('../images/common/down-arrow.svg');
        background-size: contain;
        background-repeat: no-repeat;
        width: 16px; /* 画像の幅を指定 */
        height: 16px; /* 画像の高さを指定 */
    }
        
    .service-page .products .contents .product {
        height: 758px;
        position: relative; /* グラデーション用に相対位置を指定 */
        overflow: hidden; /* 内容が溢れたときに隠す */
    }

    .service-page .products .contents .product .product-item {
        margin-bottom: 4.103vw;
        position: relative; /* グラデーション用に相対位置を指定 */
        overflow: hidden; /* 内容が溢れたときに隠す */
    }

    /* グラデーションを300px下から適用 */
    .service-page .product.show-gradient {
    }

    .service-page .product.show-gradient::after {
        content: '';
        position: absolute; /* 絶対位置に設定 */
        bottom: 0; /* 下部300pxからスタート */
        left: 0;
        right: 0;
        height: 300px; /* グラデーションの高さを300pxに設定 */
        background: linear-gradient(to top, rgba(250, 247, 239, 0.8) 0%, rgba(250, 247, 239, 0) 100%);
        pointer-events: none; /* グラデーションがクリックイベントを受け取らないようにする */
    }

    /* グラデーションを隠すクラス */
    .service-page .product .product-item.hide-gradient::after {
        display: none; /* グラデーションを非表示 */
    }

    .service-page .products .contents .more-button {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 8.205vw auto 0;
        width: 44.615vw;
        height: 12.051vw;
        position: relative;
    }
    
    .service-page .products .contents .more-button span {
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--black);
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1;
        position: absolute;
        left: 8.205vw;
        width: fit-content;
        height: 100%;
    }
    
    .service-page .products .contents .more-button span:after {
        content: '';
        display: inline-block;
        background-image: url(../images/service/sp/more-button-plus.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: -10.256vw;
        top: 50%;
        transform: translateY(-50%);
        border-left: solid 1px var(--gray-60);
    }
    
    /* グラデーションを隠すクラス */
    .service-page .product .product-item.hide-gradient::after {
        display: none; /* グラデーションを非表示 */
    }

    .service-page .products .contents .product .product-item h3 {
        margin-bottom: 2.308vw;
    }
    
    /* 共通スタイル */
    .service-page .products .contents .product .product-item h3[class^="product"] {
        padding-left: 9.231vw;
        font-size: 5.128vw;
        line-height: 1.5;
    }
    
    .service-page .products .contents .product .product-item h3.product01::before,
    .service-page .products .contents .product .product-item h3.product02::before,
    .service-page .products .contents .product .product-item h3.product03::before,
    .service-page .products .contents .product .product-item h3.product04::before,
    .service-page .products .contents .product .product-item h3.product05::before,
    .service-page .products .contents .product .product-item h3.product06::before,
    .service-page .products .contents .product .product-item h3.product07::before,
    .service-page .products .contents .product .product-item h3.product08::before,
    .service-page .products .contents .product .product-item h3.product09::before,
    .service-page .products .contents .product .product-item h3.product10::before {
        width: 8.205vw;
        height: 8.205vw;
    }
    
    .service-page .products .contents .product .product-item table.three-column-table {
        width: 100%;
    }
    
    .service-page .products .contents .product .product-item table.three-column-table tr {
        display: flex;
        flex-direction: column; /* 各行のセルを縦並びに */
        border-bottom: none; /* trの間に横線を引く */
    }
    
    .service-page .products .contents .product .product-item table.three-column-table tr:last-child {
        border-bottom: none; /* 最後の行の下には線を引かない */
    }
    
    .service-page .products .contents .product .product-item table.three-column-table td {
        padding: 2.051vw 4.103vw;
        width: 100% !important;
        text-align: left !important;
    }
    
    /* .bg-blackのスタイリング（背景gray30、中央寄せ） */
    .service-page .products .contents .product .product-item .bg-black {
        background-color: var(--gray-30); /* gray30 */
        color: var(--white); /* テキストカラーは白に設定 */
        text-align: center; /* テキストを中央揃え */
        width: 100%;
    }
    
    /* .bg-yellowのスタイリング（背景F2EAD4） */
    .service-page .products .contents .product .product-item .bg-yellow {
        background-color: #F2EAD4; /* 指定された背景色 */
        color: var(--black); /* テキストカラーは黒に設定 */
        width: 100%;
    }
    
    /* .bg-whiteのスタイリング（背景white） */
    .service-page .products .contents .product .product-item .bg-white {
        background-color: var(--white); /* 白色の背景 */
        color: var(--black); /* テキストカラーは黒に設定 */
    }
    
    .service-page .use-case .title {
        margin-bottom: 16.41vw;
    }
    
    .service-page .use-case .title .title-jp {
        font-size: var(--font-size-24);
        margin-bottom: 4.103vw;
    }
    
    .service-page .use-case .title p {
        font-size: var(--font-size-16);
    }

    .service-page .use-case .case-separator {
        margin: 16.41vw 0; /* 上下64pxのマージン */
    }
    
    .service-page .use-case .case .num {
        padding: 2.051vw 6.154vw;
        margin-bottom: 8.205vw; /* 下マージン */
    }
    
    .service-page .use-case .case .description {
        display: block;
        margin-bottom: 16.41vw;
    }
    
    .service-page .use-case .case .description .title {
        width: 100%;
        margin-bottom: 8.205vw;
    }
    
    .service-page .use-case .case .description .text {
        width: 100%;
        display: block;
    }
    
    .service-page .use-case .case .description .title h3 {
        font-weight: var(--font-weight-semi-bold); /* semibold */
        font-size: var(--font-size-28);
        line-height: 1.8;
        margin-bottom: 32px; /* 下マージン */
    }
    
    .service-page .use-case .case .description .title h3 {
        font-size: var(--font-size-24);
        margin-bottom: 8.205vw; /* 下マージン */
    }
    
    .service-page .use-case .case .step {
        display: flex;
        flex-direction: column; /* 縦方向のflexレイアウトに変更 */
        justify-content: space-between;
        align-items: stretch;
        position: relative;
    }
    
    .service-page .use-case .case .step .image {
        display: flex; /* フレックスボックスを使用 */
        flex-direction: column; /* 縦並びにする */
        align-items: center; /* 横中央寄せ */
        margin-bottom: 4.103vw; /* 下マージン16px */
    }
    
    .service-page .use-case .case .step .image-top {
        width: 15.641vw; /* 幅61px */
        height: 18.205vw; /* 高さ71px */
        background-size: cover; /* 背景画像を要素に合わせる */
        transform: translateY(0); /* 初期位置をそのままにする */
        transition: transform 0.3s ease; /* アニメーションを設定 */
    }
    
    .service-page .use-case .case .step .image-bottom {
        width: 23.59vw; /* 幅92px */
        height: 16.667vw; /* 高さ65px */
        background-size: cover; /* 背景画像を要素に合わせる */
    }
    
    .service-page .use-case .case .step .step01 .image-top {
        background-image: url(../images/service/step01_top_img.png); /* 背景画像 */
    }
    
    .service-page .use-case .case .step .step02 .image-top {
        background-image: url(../images/service/step02_top_img.png); /* 背景画像 */
    }
    
    .service-page .use-case .case .step .step03 .image-top {
        background-image: url(../images/service/step03_top_img.png); /* 背景画像 */
    }
    
    .service-page .use-case .case .step .step01 .image-bottom {
        background-image: url(../images/service/step01_bottom_img.png); /* 背景画像 */
    }
    
    .service-page .use-case .case .step .step02 .image-bottom {
        background-image: url(../images/service/step02_bottom_img.png); /* 背景画像 */
    }
    
    .service-page .use-case .case .step .step03 .image-bottom {
        background-image: url(../images/service/step03_bottom_img.png); /* 背景画像 */
    }
    
    .service-page .use-case .case .step .image-top.move-down {
        animation: bounce 0.8s ease-in-out forwards; /* バウンスアニメーションを適用 */
    }
    
    .service-page .use-case .case .step .image-bottom.move-down {
        animation: scale-up 0.8s ease-in-out forwards; /* スケールアップアニメーションを適用 */
    }
    
    .service-page .use-case .case .step .primary-en {
        margin-bottom: 2.051vw;
        text-align: center;
    }
    
    .service-page .use-case .case .step h4 {
        margin-bottom: 2.051vw;
    }
    
    .service-page .use-case .case .step p {
        text-align: left;
    }
    
    .service-page .use-case .case .step > div {
        width: 100%;
        padding: 8.205vw 4.103vw;
        margin-bottom: 14.359vw;
    }
    
    .service-page .use-case .case .step > div.show:nth-child(3) {
        margin-bottom: 0;
    }

    /* 順番にふわっと表示されるように遅延を追加 */
    .service-page .use-case .case .step > div.show:nth-child(1),
    .service-page .use-case .case .step > div.show:nth-child(2),
    .service-page .use-case .case .step > div.show:nth-child(3) {
        transition-delay: 0s; /* 完全に0に設定 */
    }

    .service-page .use-case .case .step > div.fade-up.active {
        opacity: 1;
    }

    /* .step03のスタイル変更 */
    .service-page .use-case .case .step .step03 {
        border: 1px dashed var(--primary) !important;
        background: #FFFAFA;
    }
    
    
    /* カラム間の矢印をCSSで表現 */
    .service-page .use-case .case .step01::after {
        content: '';
        position: absolute;
        top: 105%;
        left: 50%;
        width: 0;
        height: 0;
        border-left: 3.077vw solid transparent;
        border-right: 3.077vw solid transparent;
        border-top: 6.154vw solid #E91E24;
        border-bottom: none;
        transform: translateX(-50%);
    }
    
    /* カラム間の矢印をCSSで表現 */
    .service-page .use-case .case .step02::after {
        content: '';
        position: absolute;
        top: 105%;
        left: 50%;
        width: 0;
        height: 0;
        border-left: 4.103vw solid transparent;
        border-right: 4.103vw solid transparent;
        border-top: 8.205vw solid #E91E24;
        border-bottom: none;
        transform: translateX(-50%);
    }
    
    /* ステップ間の矢印の位置調整用 */
    .service-page .use-case .case .step02 {
        position: relative; /* 相対位置を設定 */
    }
    
    .service-page .use-case .case .step03 {
        position: relative; /* 相対位置を設定 */
    }
}

/* 採用情報 */

.recruit-page {
    position: relative; /* 基準を作成 */
}

.recruit-page .key-visual {
    display: block;
    padding-bottom: 8.333vw;
    margin-bottom: 8.333vw;
    position: relative; /* 基準を作成 */
}

.recruit-page .key-visual header {
    display: flex;
    height: 100vh;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin-bottom: 150vh;
}

.recruit-page .key-visual header .lower-title {
    position: absolute;
    top: 11.111vw;
    left: 5.556vw;
    color: var(--white);
    width: 90.972vw;
}

.recruit-page .recruit-button {
    width: fit-content;
    height: 3.681vw;
    position: fixed;
    right: 20px;
    bottom: 20px;
    overflow: hidden;
    z-index: 10;
}

.recruit-page .recruit-button a {
    display: flex;
    align-items: center;
    color: var(--black);
    font-size: var(--font-size-24);
    font-weight: var(--font-weight-bold);
    text-align: left;
    text-decoration: none;
    padding: 0.833vw 5.278vw 0.833vw 2.222vw;
    position: relative;
    box-sizing: border-box;
    border-radius: 5.556vw;
    border: solid 2px var(--gray-90);
    background: rgba(255, 255, 255, 0.6);
    line-height: 1;
    overflow: hidden;
    transition: background-color 0.4s, color 0.1s;
    width: 13.889vw;
    height: 3.681vw;
    backdrop-filter: blur(5px);
}

@media (hover: hover) and (pointer: fine) {
    .recruit-page .recruit-button a:hover {
        background-color: var(--primary); /* ホバー時に背景色を変更 */
        color: var(--white); /* ホバー時に文字色を白に変更 */
        border-color: var(--primary);
    }
}

.recruit-page .recruit-button a .text-area {
    display: block;
    position: relative;
    width: 100%;
    height: 1.458vw;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

.recruit-page .recruit-button a span {
    display: block; /* spanをブロックにする */
    position: absolute; /* 位置を絶対にする */
    left: 0;
    width: fit-content;
    color: var(--black); /* 親の色を継承 */
    font-size: var(--font-size-24); /* 親のフォントサイズを継承 */
    font-weight: var(--font-weight-bold); /* 親のフォントウェイトを継承 */
    transition: all 0.4s; /* アニメーションを適用 */
}

.recruit-page .recruit-button a .arrow-icon {
    background: var(--white);
    border-radius: 50%;
    width: 2.222vw;
    height: 2.222vw;
    position: absolute;
    right: 0.833vw;
}

.recruit-page .recruit-button a .arrow-icon img {
    width: 1.111vw;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}

.recruit-page .recruit-button .text-visible {
    top: 50%; /* 最初のspanを中央に配置 */
    transform: translateY(-50%); /* 垂直方向に中央揃え */
}

.recruit-page .recruit-button .text-hidden {
    top: 110%; /* 2つ目のspanは下に隠れる */
}

@media (hover: hover) and (pointer: fine) {
    .recruit-page .recruit-button:hover .text-visible {
        top: -100%; /* ホバー時に最初のspanが上に移動 */
    }

    .recruit-page .recruit-button:hover .text-hidden {
        top: 50%; /* ホバー時に2つ目のspanを中央に表示 */
        transform: translateY(-50%); /* 垂直方向に中央揃え */
        color: var(--white); /* 親の色を継承 */
    }
}

.recruit-page .key-visual .recruit-button .arrow-icon {
    background: var(--white);
    border-radius: 50%;
    width: 1.667vw;
    height: 1.667vw;
    position: absolute;
    right: 1.111vw;
    top: 50%;
    transform: translateY(-50%);
    display: flex; /* フレックスボックスで中央揃え */
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: center; /* 水平方向の中央揃え */
}

.recruit-page .key-visual .recruit-button .arrow-icon img {
    width: 0.486vw;
}


.recruit-page .key-visual p.text-bottom {
    position: absolute;
    left: 5.556vw;
    bottom: 5.556vw;
    font-size: var(--font-size-40);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    color: var(--white);
}

.recruit-page .key-visual .bg-image {
    position: fixed; /* fixedに変更 */
    top: 50%; /* 縦中央 */
    left: 50%; /* 横中央 */
    width: 100vw;
    height: 100vh;
    background-image: url(../images/recruit/kv.jpg);
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform-origin: center; /* 縮小の中心を中央に */
    transition: transform 0.3s ease; /* スケールの変化にアニメーションを追加 */
    transform: translate(-50%, -50%); /* 中央に配置するためにオフセット */
}

.recruit-page .key-visual .bg-image.absolute {
    position: absolute;
    top: 270vh;
}

.recruit-page .key-visual .description {
    position: relative;
    z-index: 3; /* bg-imageの上、headerの下に表示 */
    padding: 1.389vw;
    padding-top: 20vh;
    color: white;
    margin-bottom: 6.944vw;
}

.recruit-page .key-visual .description h2 {
    font-size: var(--font-size-48);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    margin-bottom: 4.444vw;
    color: var(--black);
}

.recruit-page .key-visual .description p {
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: 2.3;
    color: var(--black);
}

.recruit-page .what-we-do {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16.667vw;
}

.recruit-page .what-we-do .image {
    display: flex;
    justify-content: space-between;
    width: 60.556vw; /* 幅を872pxに設定 */
    position: relative;
    left: calc(-50vw + 50% - 3.472vw); /* 画面左端から50px左に揃えるための調整 */
    margin-bottom: 1.111vw; /* 下に余白を追加 */
    padding: 0;
    gap: 1.667vw;
}

.recruit-page .what-we-do .image .fade-in {
    width: 13.889vw; /* 幅を設定 */
    height: 34.722vw; /* 高さを設定 */
    margin-bottom: 1.111vw;
    border-radius: 0.556vw;
    opacity: 0; /* 初期状態で透明 */
    transform: translateY(0); /* 初期位置を元に戻す */
    transition: opacity 0.5s ease, transform 0.5s ease; /* アニメーション設定 */
}

.recruit-page .what-we-do .image .active {
    opacity: 1; /* 透明度を1にする */
}

/* 偶数インデックス（0, 2）は上から下へフェードイン */
.recruit-page .what-we-do .image .fade-in-up {
    transform: translateY(-100px); /* 画像を上に移動 */
}

/* 奇数インデックス（1, 3）は下から上へフェードイン */
.recruit-page .what-we-do .image .fade-in-down {
    transform: translateY(50px); /* 画像を下に移動 */
}

/* フェードイン後の最終位置を設定 */
.recruit-page .what-we-do .image .fade-in-up.active {
    transform: translateY(-50px); /* 上から下に移動して最終位置を元に戻す */
}

.recruit-page .what-we-do .image .fade-in-down.active {
    transform: translateY(0); /* 下から上に移動して最終位置を元に戻す */
}

.recruit-page .what-we-do .text {
    max-width: 48%; /* テキスト部分の幅を調整 */
    padding-left: 2.222vw; /* 画像とのスペースを確保 */
}

.recruit-page .what-we-do .text .title {
    margin-bottom: 4.444vw;
}

.recruit-page .what-we-do .text .title .title-jp {
    font-size: var(--font-size-32);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
}

.recruit-page .what-we-do .text p {
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: 1.8;
    margin-bottom: 1.111vw;
}

.recruit-page .what-we-do .text p:nth-child(2) {
    margin-bottom: 0;
}

.recruit-page .what-we-do .text .more-button-black {
    margin-top: 4.444vw;
}

.recruit-page .environment {
    margin-bottom: 5.556vw;
}

.recruit-page .environment .title {
    margin-bottom: 4.444vw;
}

.recruit-page .environment .title .title-jp {
    font-size: var(--font-size-28);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
}

.recruit-page .environment .image {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1.111vw;
}

.recruit-page .environment .image > div {
    width: 32%; /* 3カラム用の幅 */
    margin-bottom: 1.111vw; /* 下部マージン */
}

.recruit-page .environment .image div {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.recruit-page .environment .image div.show {
    opacity: 1;
    transform: translateY(0);
}


.recruit-page .environment .image .group {
    width: 32%;
    margin-bottom: 1.111vw; /* 下部マージン */
}

.recruit-page .environment .image .group > div {
    width: 100%;
    margin-bottom: 1.111vw;
}

.recruit-page .environment .image .group > div:last-child {
    margin-bottom: 0;
}

/* 最後のネストされたgroupを調整 */
.recruit-page .environment .image .group .group {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.recruit-page .environment .image .group .group > div {
    width: 48%; /* 2カラムの中で更に2カラム */
}


.recruit-page .environment .attention {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    line-height: 1.8;
}

.recruit-page .work-place {
    margin-bottom: 8.333vw;
}

.recruit-page .work-place .title {
    margin-bottom: 4.444vw;
}

.recruit-page .work-place .title .title-jp {
    font-size: var(--font-size-28);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
}

.recruit-page .work-place .place-list {
    display: flex;
    justify-content: space-between; /* 要素間のスペースを均等に配置 */
    flex-wrap: wrap; /* 必要に応じて改行 */
}

.recruit-page .work-place .place-list .place {
    width: 37.708vw;
    padding: 2.222vw 1.111vw;
    border-top: dashed 1px var(--border);
}

.recruit-page .work-place .place-list .place:nth-of-type(3),
.recruit-page .work-place .place-list .place:nth-of-type(4) {
    border-bottom: dashed 1px var(--border);
}

.recruit-page .work-place .place-list .place h3 {
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    margin-bottom: 2.222vw;
}

.recruit-page .work-place .place-list .place p {
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: 1.8;
}

.recruit-page .work-place .place-list .place p.attention {
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-regular);
    line-height: 1.8;
}

.recruit-page .interview {
    background: linear-gradient(180deg, #FAF7EF 0%, #FFFFFF 100%);
    padding: 8.333vw 0 0;
    margin-bottom: 8.333vw;
    position: relative;
    overflow: hidden;
}

.recruit-page .interview .text-loop {
    display: flex;
    width: max-content;
    animation: scroll-text 100s linear infinite;
    overflow: hidden;
    position: absolute;
    top: -5.597vw;
    z-index: 1;
}

.recruit-page .interview .text-loop p {
    font-size: 16.667vw;
    font-weight: var(--font-weight-en-normal);
    line-height: 1.5;
    color: var(--white);
    white-space: nowrap;
}

.recruit-page .interview .container-medium {
    position: relative; /* 位置はそのままに */
    z-index: 2; /* container-mediumを前面に表示 */
}

.recruit-page .interview .title {
    margin-bottom: 4.444vw;
}

.recruit-page .interview .title-jp {
    font-size: var(--font-size-28);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
}

.recruit-page .interview .interview-item {
    margin-bottom: 4.444vw;
    padding-bottom: 4.444vw;
    border-bottom: solid 1px var(--border);
}

.recruit-page .interview .interview-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recruit-page .interview .interview-item:last-child {
    margin-bottom: 0;
}

.recruit-page .interview .interview-item .content {
    display: flex;
    justify-content: space-between;
    /* margin-bottom: 2.222vw; */
}

.recruit-page .interview .interview-item .content .image {
    border-radius: 0.556vw;
    width: 37.708vw;
    height: 30.139vw;
    position: relative;
    overflow: hidden;
}

.recruit-page .interview .interview-item .content .image .overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30.77%, rgba(0, 0, 0, 0.5) 96.58%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* 画像より上に配置される */
}

.recruit-page .interview .interview-item .content .image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像が縦横比を維持しつつ、指定のサイズにフィットする */
    opacity: 0;
    transition: opacity 1s ease; /* フェードのトランジション */
}

.recruit-page .interview .interview-item .content .image img.active {
    opacity: 1; /* アクティブな画像を表示 */
}

.recruit-page .interview .interview-item .content .image .title {
    position: absolute;
    width: 34.375vw;
    bottom: 1.667vw;
    left: 1.667vw;
    margin: 0;
    z-index: 2;
}

.recruit-page .interview .interview-item .content .image .title .num {
    width: fit-content;
    padding: 0.556vw 1.111vw;
    background-color: var(--primary);
    color: var(--white);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-en-normal);
    line-height: 1.5;
    margin-bottom: 0.556vw;
}

.recruit-page .interview .interview-item .content .image .title h3 {
    color: var(--white);
    font-size: var(--font-size-24);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    margin-bottom: 1.111vw;
}

.recruit-page .interview .interview-item .content .image .title p {
    color: var(--white);
    font-size: var(--font-size-14);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
}

.recruit-page .interview .interview-item .content .text {
    width: 37.708vw;
}

.recruit-page .interview .interview-item .content .text dl {
    padding-bottom: 1.111vw;
    margin-bottom: 1.111vw;
    border-bottom: dashed 1px var(--border);
}

.recruit-page .interview .interview-item .content .text dl:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.recruit-page .interview .interview-item .content .text dl dt {
    color: var(--black);
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    margin-bottom: 1.111vw;
}

.recruit-page .interview .interview-item .content .text dl dt span {
    color: var(--primary);
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-en-normal);
    line-height: 1.8;
    margin-right: 1.111vw;
}

.recruit-page .interview .interview-item .content .text dl dd {
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: 1.8;
}

.recruit-page .interview .interview-item .applying {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.111vw 4.444vw;
    background: var(--white);
    border: solid 1px var(--border);
}

.recruit-page .interview .interview-item .applying h4 {
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-semi-bold);
    white-space: nowrap; /* 改行を防止 */
}

.recruit-page .interview .interview-item .applying p {
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: 1.8;
    flex: 1; /* h4の横幅に合わせてpの幅を自動調整 */
}

.recruit-page .interview .interview-item .applying .separator {
    width: 0.069vw;
    height: 1.389vw;
    background-color: var(--border);
    margin: 0 4.444vw;
    align-self: center; /* 縦線を上下中央に配置 */
}


.recruit-page .requirements {
    margin-bottom: 8.333vw;
}

.recruit-page .requirements .title {
    margin-bottom: 4.444vw;
}

.recruit-page .requirements .title .title-jp {
    font-size: var(--font-size-28);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
}

.recruit-page .requirements .requirement-item {
    margin-bottom: 4.444vw;
}

.recruit-page .requirements .requirement-item:last-child {
    margin-bottom: 0; /* 2つ目のrequirement-itemの下マージンを0にする */
}

.recruit-page .requirements .requirement-item h3 {
    font-size: var(--font-size-24);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    margin-bottom: 0.556vw;
}

.recruit-page .requirements .requirement-item dl {
    display: flex; /* フレックスボックスを使用 */
    flex-wrap: wrap; /* 必要に応じて改行 */
}

.recruit-page .requirements .requirement-item .requirement-pair {
    display: flex; /* 各ペアをフレックスボックスで表示 */
    width: 100%; /* ペア全体を横幅100%に設定 */
    margin-bottom: 0.694vw; /* 行間の余白を追加 */
}

.recruit-page .requirements .requirement-item dt,
.recruit-page .requirements .requirement-item dd {
    padding-bottom: 0.347vw; /* 下の余白を追加 */
    box-sizing: border-box;
    border-bottom: 1px solid var(--border);
    font-size: var(--font-size-16);
    padding: 1.111vw 0;
    line-height: 1.8;
}

.recruit-page .requirements .requirement-item dt {
    font-weight: var(--font-weight-semi-bold);
    width: 13.889vw;
    padding-right: 2.222vw;
}

.recruit-page .requirements .requirement-item dd {
    flex: 1; /* ddが残りのスペースを埋める */
}

.recruit-page .requirements .requirement-item dd ul li {
    list-style-type: disc;
    list-style-position: inside;
}

.recruit-page .requirements .requirement-item dd .required-condition {
    font-weight: var(--font-weight-semi-bold);
}

.recruit-page .entry {
    margin-bottom: 5.556vw;
    background-image: url('../images/recruit/entry-bg.jpg');
    background-size: 100%; /* 画面いっぱいに背景を表示 */
    background-repeat: no-repeat; /* 背景の繰り返しを無効に */
    padding: 5.556vw 0; /* 上下のパディングを80px */
}

.recruit-page .entry .title {
    text-align: center; /* テキストを中央揃え */
    margin-bottom: 2.222vw;
}

.recruit-page .entry .title p {
    font-size: var(--font-size-16);
    color: var(--white);
    font-weight: 600; /* フォントウェイトをsemiboldに */
    line-height: 2.3; /* 行間を2.3に */
}

.recruit-page .entry .title .title-en {
    font-size: var(--font-size-14);
    font-weight: normal; /* フォントウェイトをnormalに */
    color: var(--white);
    line-height: 1.5; /* 行間を1.5に */
    margin-bottom: 1.111vw; /* 下マージン16px */
}

.recruit-page .entry .title .title-jp {
    font-size: var(--font-size-28);
    color: var(--white);
    font-weight: 600; /* フォントウェイトをsemiboldに */
    line-height: 1.8; /* 行間を1.8に */
    margin-bottom: 1.111vw; /* 下マージン16px */
}

.recruit-page .entry .banner {
    display: flex; /* フレックスボックスを使用 */
    justify-content: space-between; /* 中央寄せ */
    flex-wrap: wrap; /* 必要に応じて改行 */
    width: 48.056vw; /* 幅692px */
    margin: 0 auto; /* 中央寄せのためのマージン */
}

.recruit-page .entry .banner div {
    width: 22.917vw;
}

.recruit-page .entry .banner div a {
    display: block; /* ブロック要素として表示 */
}

.recruit-page .requirements p.notice {
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: 1.8;
}

@media (min-width: 1440px) {
    .recruit-page .key-visual {
        display: block;
        padding-bottom: 120px;
        margin-bottom: 120px;
        position: relative; /* 基準を作成 */
    }
    
    .recruit-page .key-visual header {
        display: flex;
        height: 100vh;
        padding: 0;
        flex-direction: column;
        justify-content: center;
        position: relative;
        z-index: 2;
    }
    
    .recruit-page .key-visual header .lower-title {
        position: absolute;
        top: 160px;
        left: 80px;
        color: var(--white);
        width: 1310px;
    }
    
    .recruit-page .recruit-button {
        width: fit-content;
        height: 60px;
        position: fixed;
        right: 20px;
        bottom: 20px;
        overflow: hidden;
        z-index: 10;
    }
    
    .recruit-page .recruit-button a {
        display: flex;
        align-items: center;
        color: var(--black);
        font-size: var(--font-size-24);
        font-weight: var(--font-weight-bold);
        text-align: left;
        text-decoration: none;
        padding: 12px 76px 12px 32px;
        position: relative;
        box-sizing: border-box;
        border-radius: 60px;
        border: solid 2px var(--gray-90);
        background: rgba(255, 255, 255, 0.6);
        line-height: 1;
        overflow: hidden;
        transition: background-color 0.4s, color 0.1s;
        width: 200px;
        height: 53px;
        backdrop-filter: blur(5px);
    }
    

    .recruit-page .recruit-button a .text-area {
        display: block;
        position: relative;
        width: 100%;
        height: 21px;
        overflow: hidden;
        transition: all 0.4s ease-in-out;
    }
    
    .recruit-page .recruit-button a span {
        display: block; /* spanをブロックにする */
        position: absolute; /* 位置を絶対にする */
        left: 0;
        width: fit-content;
        color: var(--black); /* 親の色を継承 */
        font-size: var(--font-size-24); /* 親のフォントサイズを継承 */
        font-weight: var(--font-weight-bold); /* 親のフォントウェイトを継承 */
        transition: all 0.4s; /* アニメーションを適用 */
    }
    
    .recruit-page .recruit-button a .arrow-icon {
        background: var(--white);
        border-radius: 50%;
        width: 32px;
        height: 32px;
        position: absolute;
        right: 12px;
    }
    
    .recruit-page .recruit-button a .arrow-icon img {
        width: 16px;
        height: auto;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        margin: auto;
    }

   .recruit-page .key-visual p.text-bottom {
        position: absolute;
        left: 80px;
        bottom: 80px;
        font-size: var(--font-size-40);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        color: var(--white);
    }
    
    .recruit-page .key-visual .bg-image.absolute {
        position: absolute;
        top: 281vh;
    }
    
    .recruit-page .key-visual .description {
        position: relative;
        z-index: 3; /* bg-imageの上、headerの下に表示 */
        color: white;
    }
    
    .recruit-page .key-visual .description h2 {
        font-size: var(--font-size-48);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        margin-bottom: 64px;
        color: var(--black);
    }
    
    .recruit-page .what-we-do {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 240px;
    }
    
    .recruit-page .what-we-do .image {
        display: flex;
        justify-content: space-between;
        width: 872px; /* 幅を872pxに設定 */
        position: relative;
        left: calc(-50vw + 50% - 50px); /* 画面左端から50px左に揃えるための調整 */
        margin-bottom: 16px; /* 下に余白を追加 */
        padding: 0;
        gap: 24px;
    }
    
    .recruit-page .what-we-do .image .fade-in {
        width: 200px; /* 幅を設定 */
        height: 500px; /* 高さを設定 */
        margin-bottom: 16px;
        border-radius: 8px;
        transform: translateY(0); /* 初期位置を元に戻す */
        transition: opacity 0.5s ease, transform 0.5s ease; /* アニメーション設定 */
    }
    
    /* 偶数インデックス（0, 2）は上から下へフェードイン */
    .recruit-page .what-we-do .image .fade-in-up {
        transform: translateY(-100px); /* 画像を上に移動 */
    }
    
    /* 奇数インデックス（1, 3）は下から上へフェードイン */
    .recruit-page .what-we-do .image .fade-in-down {
        transform: translateY(50px); /* 画像を下に移動 */
    }
    
    /* フェードイン後の最終位置を設定 */
    .recruit-page .what-we-do .image .fade-in-up.active {
        transform: translateY(-50px); /* 上から下に移動して最終位置を元に戻す */
    }
    
    .recruit-page .what-we-do .image .fade-in-down.active {
        transform: translateY(0); /* 下から上に移動して最終位置を元に戻す */
    }
    
    .recruit-page .what-we-do .text {
        max-width: 48%; /* テキスト部分の幅を調整 */
        padding-left: 32px; /* 画像とのスペースを確保 */
    }
    
    .recruit-page .what-we-do .text .title {
        margin-bottom: 64px;
    }
    
    .recruit-page .what-we-do .text p {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-regular);
        line-height: 1.8;
        margin-bottom: 16px;
    }
    
    .recruit-page .what-we-do .text .more-button-black {
        margin-top: 64px;
    }
    
    .recruit-page .environment {
        margin-bottom: 80px;
    }
    
    .recruit-page .environment .title {
        margin-bottom: 64px;
    }
    
    .recruit-page .environment .title .title-jp {
        font-size: var(--font-size-28);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
    }
    
    .recruit-page .environment .image {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 16px;
    }
    
    .recruit-page .environment .image > div {
        width: 32%; /* 3カラム用の幅 */
        margin-bottom: 16px; /* 下部マージン */
    }
    
    .recruit-page .environment .image div {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .recruit-page .environment .image .group {
        width: 32%;
        margin-bottom: 16px; /* 下部マージン */
    }
    
    .recruit-page .environment .image .group > div {
        width: 100%;
        margin-bottom: 16px;
    }
    
    .recruit-page .work-place {
        margin-bottom: 120px;
    }
    
    .recruit-page .work-place .title {
        margin-bottom: 64px;
    }
    
    .recruit-page .work-place .place-list .place {
        width: 543px;
        padding: 32px 16px;
        border-top: dashed 1px var(--border);
    }
    
    .recruit-page .work-place .place-list .place:nth-of-type(3),
    .recruit-page .work-place .place-list .place:nth-of-type(4) {
        border-bottom: dashed 1px var(--border);
    }
    
    .recruit-page .work-place .place-list .place h3 {
        font-size: var(--font-size-20);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        margin-bottom: 32px;
    }
    
    .recruit-page .interview {
        background: linear-gradient(180deg, #FAF7EF 0%, #FFFFFF 100%);
        padding: 120px 0 0;
        margin-bottom: 120px;
        position: relative;
        overflow: hidden;
    }
    
    .recruit-page .interview .text-loop {
        display: flex;
        width: max-content;
        animation: scroll-text 100s linear infinite;
        overflow: hidden;
        position: absolute;
        top: -87px;
        z-index: 1;
    }
    
    .recruit-page .interview .text-loop p {
        font-size: 240px;
        font-weight: var(--font-weight-en-normal);
        line-height: 1.5;
        color: var(--white);
        white-space: nowrap;
    }
    
    .recruit-page .interview .title {
        margin-bottom: 64px;
    }
    
    .recruit-page .interview .interview-item {
        margin-bottom: 64px;
        padding-bottom: 64px;
        border-bottom: solid 1px var(--border);
    }
    
    .recruit-page .interview .interview-item .content {
        display: flex;
        justify-content: space-between;
        /* margin-bottom: 32px; */
    }
    
    .recruit-page .interview .interview-item .content .image {
        border-radius: 8px;
        width: 543px;
        height: 434px;
        position: relative;
        overflow: hidden;
    }
    
    .recruit-page .interview .interview-item .content .image .title {
        position: absolute;
        width: 495px;
        bottom: 24px;
        left: 24px;
        margin: 0;
        z-index: 2;
    }
    
    .recruit-page .interview .interview-item .content .image .title .num {
        width: fit-content;
        padding: 8px 16px;
        background-color: var(--primary);
        color: var(--white);
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-en-normal);
        line-height: 1.5;
        margin-bottom: 8px;
    }
    
    .recruit-page .interview .interview-item .content .image .title h3 {
        color: var(--white);
        font-size: var(--font-size-24);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        margin-bottom: 16px;
    }

    .recruit-page .interview .interview-item .content .image .title p {
        color: var(--white);
        font-size: var(--font-size-14);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
    }
    
    .recruit-page .interview .interview-item .content .text {
        width: 543px;
    }
    
    .recruit-page .interview .interview-item .content .text dl {
        padding-bottom: 16px;
        margin-bottom: 16px;
        border-bottom: dashed 1px var(--border);
    }
    
    .recruit-page .interview .interview-item .content .text dl dt {
        color: var(--black);
        font-size: var(--font-size-20);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        margin-bottom: 16px;
    }
    
    .recruit-page .interview .interview-item .content .text dl dt span {
        color: var(--primary);
        font-size: var(--font-size-20);
        font-weight: var(--font-weight-en-normal);
        line-height: 1.8;
        margin-right: 16px;
    }
    
    .recruit-page .interview .interview-item .applying {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 64px;
        background: var(--white);
        border: solid 1px var(--border);
    }
    
    .recruit-page .interview .interview-item .applying .separator {
        width: 1px;
        height: 20px;
        background-color: var(--border);
        margin: 0 64px;
        align-self: center; /* 縦線を上下中央に配置 */
    }
    
    
    .recruit-page .requirements {
        margin-bottom: 120px;
    }
    
    .recruit-page .requirements .title {
        margin-bottom: 64px;
    }
    
    .recruit-page .requirements .requirement-item {
        margin-bottom: 64px;
    }
    
    .recruit-page .requirements .requirement-item h3 {
        font-size: var(--font-size-24);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        margin-bottom: 8px;
    }
    
    .recruit-page .requirements .requirement-item .requirement-pair {
        display: flex; /* 各ペアをフレックスボックスで表示 */
        width: 100%; /* ペア全体を横幅100%に設定 */
        margin-bottom: 10px; /* 行間の余白を追加 */
    }
    
    .recruit-page .requirements .requirement-item dt,
    .recruit-page .requirements .requirement-item dd {
        padding-bottom: 5px; /* 下の余白を追加 */
        box-sizing: border-box;
        border-bottom: 1px solid var(--border);
        font-size: var(--font-size-16);
        padding: 16px 0;
        line-height: 1.8;
    }
    
    .recruit-page .requirements .requirement-item dt {
        font-weight: var(--font-weight-semi-bold);
        width: 200px;
        padding-right: 32px;
    }
    
    .recruit-page .entry {
        margin-bottom: 80px;
        background-image: url('../images/recruit/entry-bg.jpg');
        background-size: 100%; /* 画面いっぱいに背景を表示 */
        background-repeat: no-repeat; /* 背景の繰り返しを無効に */
        padding: 80px 0; /* 上下のパディングを80px */
    }
    
    .recruit-page .entry .title {
        text-align: center; /* テキストを中央揃え */
        margin-bottom: 32px;
    }
    
    .recruit-page .entry .title .title-en {
        font-size: var(--font-size-14);
        font-weight: normal; /* フォントウェイトをnormalに */
        color: var(--white);
        line-height: 1.5; /* 行間を1.5に */
        margin-bottom: 16px; /* 下マージン16px */
    }
    
    .recruit-page .entry .title .title-jp {
        font-size: var(--font-size-28);
        color: var(--white);
        font-weight: 600; /* フォントウェイトをsemiboldに */
        line-height: 1.8; /* 行間を1.8に */
        margin-bottom: 16px; /* 下マージン16px */
    }
    
    .recruit-page .entry .banner {
        display: flex; /* フレックスボックスを使用 */
        justify-content: space-between; /* 中央寄せ */
        flex-wrap: wrap; /* 必要に応じて改行 */
        width: 692px; /* 幅692px */
        margin: 0 auto; /* 中央寄せのためのマージン */
    }
    
    .recruit-page .entry .banner div {
        width: 330px;
    }
}

@media (max-width: 1023px) {
    .recruit-page .key-visual {
        display: block;
        padding-bottom: 0;
        margin-bottom: 30.769vw;
        position: relative;
    }
    
    .recruit-page .key-visual header {
        display: flex;
        height:100vh;
        height:100vh;
        padding: 0;
        flex-direction: column;
        justify-content: center;
        position: relative;
        z-index: 2;
        margin-bottom: 150vh;
    }
    
    .recruit-page .key-visual header .lower-title {
        top: 36.026vw;
        left: 6.154vw;
    }
    
    .recruit-page .recruit-button {
        width: fit-content;
        height: 13.59vw;
        position: fixed;
        right: 5.128vw;
        bottom: 5.128vw;
        overflow: hidden;
        z-index: 10;
    }
    
    .recruit-page .recruit-button a {
        display: flex;
        align-items: center;
        color: var(--black);
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-bold);
        text-align: left;
        text-decoration: none;
        padding: 3.077vw 13.846vw 3.077vw 6.154vw;
        position: relative;
        box-sizing: border-box;
        border-radius: 15.385vw;
        border: solid 2px var(--gray-90);
        background: rgba(255, 255, 255, 0.6);
        line-height: 1;
        overflow: hidden;
        transition: background-color 0.4s, color 0.1s;
        width: 36.71vw;
        height: 12.308vw;
        backdrop-filter: blur(5px);
    }
    

    .recruit-page .recruit-button a .text-area {
        display: block;
        position: relative;
        width: 100%;
        height: 7.385vw;
        overflow: hidden;
        transition: all 0.4s ease-in-out;
    }
    
    .recruit-page .recruit-button a span {
        display: block;
        position: absolute;
        left: 0;
        width: fit-content;
        color: var(--black);
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-bold);
        transition: all 0.4s;
        letter-spacing: -0.001em;
    }
    
    .recruit-page .recruit-button a .arrow-icon {
        background: var(--white);
        border-radius: 50%;
        width: 6.154vw;
        height: 6.154vw;
        position: absolute;
        right: 3.077vw;
    }
    
    .recruit-page .recruit-button a .arrow-icon img {
        width: 4.103vw;
        height: auto;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        margin: auto;
    }

    
    
    .recruit-page .recruit-button .text-visible {
        top: 50%; /* 最初のspanを中央に配置 */
        transform: translateY(-50%); /* 垂直方向に中央揃え */
    }
    
    .recruit-page .recruit-button .text-hidden {
        top: 110%; /* 2つ目のspanは下に隠れる */
    }
    
    .recruit-page .key-visual .recruit-button .arrow-icon {
        background: var(--white);
        border-radius: 50%;
        width: 6.154vw;
        height: 6.154vw;
        position: absolute;
        right: 4.103vw;
        top: 50%;
        transform: translateY(-50%);
        display: flex; /* フレックスボックスで中央揃え */
        align-items: center; /* 垂直方向の中央揃え */
        justify-content: center; /* 水平方向の中央揃え */
    }
    
    .recruit-page .key-visual .recruit-button .arrow-icon img {
        width: 1.795vw;
    }
    
    
    .recruit-page .key-visual p.text-bottom {
        left: 6.154vw;
        bottom: 56.026vw;
        font-size: var(--font-size-24);
    }

    .recruit-page .key-visual p.text-bottom .overflow-container {
        height: 1.35em;
    }
    
    .recruit-page .key-visual .bg-image {
        position: fixed;
        top: 50%;
        left: 50%;
        width: 100vw;
        height: 100lvh;
        background-image: url(../images/recruit/sp/kv.jpg);
        background-size: cover;
        background-position: center;
        z-index: 1;
        transform-origin: center;
        transform: translate(-50%, -50%) scale(1) translateZ(0.01px);
        transition: opacity 0.3s ease;
    }
    
    .recruit-page .key-visual .bg-image.ios-top {
        top: 0;
        left: 0;
        transform: translate(0%, 0%) scale(1) translateZ(0.01px);
    }
    
    .recruit-page .key-visual .bg-image.absolute {
        position: absolute;
        top: 291.4vh;
    }
    
    .recruit-page .key-visual .description {
        position: relative;
        z-index: 3;
        padding-top: 4.7vh;
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
        color: var(--black);
        margin-bottom: 100px;
    }
    
    .recruit-page .key-visual .description h2 {
        font-size: var(--font-size-24);
        margin-bottom: 16.41vw;
    }
    
    .recruit-page .what-we-do {
        display: flex; /* フレックスボックスを有効にする */
        flex-direction: column;
        margin-bottom: 30.769vw;
    }
    
    .recruit-page .what-we-do .image {
        display: flex;
        justify-content: space-between;
        width: 100%;
        position: relative;
        left: auto;
        margin-bottom: 0;
        padding: 0;
        gap: 2.308vw;
        order: 2;
    }
    
    .recruit-page .what-we-do .image .fade-in {
        width: 20vw;
        height: auto;
        margin-bottom: 0;
        border-radius: 2.051vw;
        opacity: 0;
        transform: translateY(0);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    
    .recruit-page .what-we-do .image .active {
        opacity: 1; /* 透明度を1にする */
    }
    
    /* 偶数インデックス（0, 2）は上から下へフェードイン */
    .recruit-page .what-we-do .image .fade-in-up {
        transform: translateY(-25.641vw); /* 画像を上に移動 */
    }
    
    /* 奇数インデックス（1, 3）は下から上へフェードイン */
    .recruit-page .what-we-do .image .fade-in-down {
        transform: translateY(12.821vw); /* 画像を下に移動 */
    }
    
    /* フェードイン後の最終位置を設定 */
    .recruit-page .what-we-do .image .fade-in-up.active {
        transform: translateY(-5.128vw);
    }
    
    .recruit-page .what-we-do .image .fade-in-down.active {
        transform: translateY(0); /* 下から上に移動して最終位置を元に戻す */
    }
    
    .recruit-page .what-we-do .text {
        max-width: unset;
        padding-left: 0;
        order: 1;
        margin-bottom: 16.41vw;
    }
    
    .recruit-page .what-we-do .text .title {
        margin-bottom: 16.41vw;
    }
    
    .recruit-page .what-we-do .text .title .title-jp {
        font-size: var(--font-size-24);
    }
    
    .recruit-page .what-we-do .text p {
        font-size: var(--font-size-16);
        margin-bottom: 4.103vw;
    }
    
    .recruit-page .what-we-do .text p:nth-child(2) {
        margin-bottom: 0;
    }
    
    .recruit-page .what-we-do .text .more-button-black {
        margin-bottom: 0;
    }
    
    .recruit-page .environment {
        margin-bottom: 80px;
    }
    
    .recruit-page .environment .title {
        margin-bottom: 16.41vw;
    }
    
    .recruit-page .environment .title .title-jp {
        font-size: var(--font-size-24);
    }
    
    .recruit-page .environment .image {
        margin-bottom: 4.103vw;
        gap: 4.103vw;
    }
    
    .recruit-page .environment .image > div {
        width: calc(50% - 2.051vw); /* 2カラム用の幅に調整 */
        margin-bottom: 0;
    }
    
    .recruit-page .environment .image div {
        opacity: 0;
        transform: none;
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .recruit-page .environment .image div.show {
        opacity: 1;
        transform: translateY(0);
    }    
    
    .recruit-page .environment .image .group {
        width: calc(50% - 2.051vw);
        margin-bottom: 0;
    }
    
    .recruit-page .environment .image .group > div {
        width: 100%;
        margin-bottom: 4.103vw;
    }
    
    .recruit-page .environment .image .group > div:last-child {
        margin-bottom: 0;
    }
    
    /* 最後のネストされたgroupを調整 */
    .recruit-page .environment .image .group .group {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    
    .recruit-page .environment .image .group .group > div {
        width: calc(50% - 2.051vw);
    }
    
    /* 各画像の順序を指定 */
    .recruit-page .environment .image .image01 { order: 1; }
    .recruit-page .environment .image .image02 { order: 2; }
    .recruit-page .environment .image .image05 { order: 3; }
    .recruit-page .environment .image .image06 { order: 4; }
    .recruit-page .environment .image > .group:nth-of-type(3) { order: 5; } /* .image03と.image04が含まれるgroup */
    .recruit-page .environment .image > .group:nth-of-type(6) { order: 6; } /* .image07のgroup */
    
    .recruit-page .environment .attention {
        font-size: var(--font-size-12);
    }
    
    
    
    
    
    .recruit-page .work-place {
        margin-bottom: 15.385vw;
    }
    
    .recruit-page .work-place .title {
        margin-bottom: 16.41vw;
    }
    
    .recruit-page .work-place .title .title-jp {
        font-size: var(--font-size-24);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
    }
    
    .recruit-page .work-place .place-list .place {
        width: 100%;
        padding: 8.205vw 4.103vw;
    }
    
    .recruit-page .work-place .place-list .place:nth-of-type(3),
    .recruit-page .work-place .place-list .place:nth-of-type(4) {
        border-bottom: dashed 1px var(--border);
    }
    
    .recruit-page .work-place .place-list .place h3 {
        margin-bottom: 8.205vw;
    }

    .recruit-page .work-place .place-list .place p.attention {
        font-size: var(--font-size-12);
    }
    
    
    
    .recruit-page .interview {
        padding: 30.769vw 0 0;
        margin-bottom: 30.769vw;
    }
    
    .recruit-page .interview .text-loop {
        top: -12.821vw;
    }
    
    .recruit-page .interview .text-loop p {
        font-size: 43.769vw;
    }
    
    .recruit-page .interview .container-medium {
        position: relative; /* 位置はそのままに */
        z-index: 2; /* container-mediumを前面に表示 */
    }
    
    .recruit-page .interview .title {
        margin-bottom: 64px;
    }
    
    .recruit-page .interview .title-jp {
        font-size: var(--font-size-28);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
    }
    
    .recruit-page .interview .interview-item {
        margin-bottom: 16.41vw;
        padding-bottom: 16.41vw;
    }
    
    .recruit-page .interview .interview-item .content {
        display: block;
        /* margin-bottom: 8.205vw; */
    }
    
    .recruit-page .interview .interview-item .content .image {
        border-radius: 2.051vw;
        width: 100%;
        height: 70.256vw;
        margin-bottom: 4.103vw;
    }
    
    .recruit-page .interview .interview-item .content .image .overlay {
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30.77%, rgba(0, 0, 0, 0.5) 96.58%);
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1; /* 画像より上に配置される */
    }
    
    .recruit-page .interview .interview-item .content .image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* 画像が縦横比を維持しつつ、指定のサイズにフィットする */
        opacity: 0;
        transition: opacity 1s ease; /* フェードのトランジション */
    }
    
    .recruit-page .interview .interview-item .content .image img.active {
        opacity: 1; /* アクティブな画像を表示 */
    }
    
    .recruit-page .interview .interview-item .content .image .title {
        width: 100%;
        bottom: 8.205vw;
        left: 0;
    }
    
    .recruit-page .interview .interview-item .content .image .title .num {
        padding: 2.051vw 6.154vw;
        margin-bottom: 0;
        font-size: var(--font-size-14);
    }
    
    .recruit-page .interview .interview-item .content .image .title h3 {
        color: var(--white);
        font-size: var(--font-size-28);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        margin-bottom: 16px;
    }
    
    .recruit-page .interview .interview-item .content .image .title p {
        color: var(--white);
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
    }
        
    .recruit-page .interview .interview-item .content .title.to-sp {
        margin-bottom: 8.205vw;
    }

    .recruit-page .interview .interview-item .content .title.to-sp h3 {
        font-size: var(--font-size-24);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        margin-bottom: 4.103vw;
    }

    .recruit-page .interview .interview-item .content .title.to-sp p {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
    }

    .recruit-page .interview .interview-item .content .text {
        width: 100%;
    }
    
    .recruit-page .interview .interview-item .content .text dl {
        padding-bottom: 4.103vw;
        margin-bottom: 4.103vw;
    }
    
    .recruit-page .interview .interview-item .content .text dl:last-child {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
    }
    
    .recruit-page .interview .interview-item .content .text dl dt {
        margin-bottom: 4.103vw;
    }
    
    .recruit-page .interview .interview-item .content .text dl dt span {
        margin-right: 4.103vw;
    }
    
    .recruit-page .interview .interview-item .content .text dl dd {
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-regular);
        line-height: 1.8;
    }
    
    .recruit-page .interview .interview-item .applying {
        display: block;
        padding: 4.103vw 6.154vw;
    }
    
    .recruit-page .interview .interview-item .applying .separator {
        width: 100%;
        height: 1px;
        margin: 4.103vw 0;
    }
    
    
    .recruit-page .requirements {
        margin-bottom: 15.385vw;
    }
    
    .recruit-page .requirements .title {
        margin-bottom: 16.41vw;
    }
    
    .recruit-page .requirements .title .title-jp {
        font-size: var(--font-size-24);
    }
    
    .recruit-page .requirements .requirement-item {
        margin-bottom: 16.41vw;
    }
    
    .recruit-page .requirements .requirement-item:last-child {
        margin-bottom: 0; /* 2つ目のrequirement-itemの下マージンを0にする */
    }
    
    .recruit-page .requirements .requirement-item h3 {
        margin-bottom: 2.051vw;
        text-indent: -3em; /* 「職種 : 」分を逆インデント */
        padding-left: 3em; /* 全体をインデント */
    }
    
    .recruit-page .requirements .requirement-item dl {
        display: block; /* フレックスボックスを使用 */
    }
    
    .recruit-page .requirements .requirement-item .requirement-pair {
        display: block;
        width: 100%;
        margin-bottom: 0;
    }
    
    .recruit-page .requirements .requirement-item dt,
    .recruit-page .requirements .requirement-item dd {
        padding: 16px 0;
        line-height: 1.8;
    }
        
    .recruit-page .requirements .requirement-item dt {
        width: 100%;
        border-bottom: none;
        padding: 4.103vw 0 8.205vw;
    }

    .recruit-page .requirements .requirement-item dd {
        padding: 0 0 4.103vw;
    }
    
    .recruit-page .requirements .requirement-item dd .required-condition {
        font-weight: var(--font-weight-semi-bold);
    }
    
    
    
    .recruit-page .entry {
        margin-bottom: 20.513vw;
        background-size: cover;
        background-position: center;
        padding: 20.513vw 6.154vw;
    }
    
    .recruit-page .entry .title {
        margin-bottom: 8.205vw;
    }
    
    .recruit-page .entry .title p {
        text-align: left;
    }
    
    .recruit-page .entry .title .title-en {
        margin-bottom: 4.103vw !important;
        text-align: center;
    }
    
    .recruit-page .entry .title .title-jp {
        margin-bottom: 4.103vw !important;
    }
    
    .recruit-page .entry .banner {
        display: flex; /* フレックスボックスを使用 */
        flex-direction: column; /* 縦並びにする */
        align-items: center; /* 中央寄せ */
        width: 100%; /* コンテナの幅を各アイテムの幅に合わせる */
        margin: 0 auto; /* 中央寄せのためのマージン */
    }
    
    .recruit-page .entry .banner div {
        width: 100%;
        margin-bottom: 8.205vw; /* アイテム間のスペース */
    }
        
    .recruit-page .entry .banner div:last-child {
        margin-bottom: 0; /* アイテム間のスペース */
    }
    .recruit-page .entry .banner div a {
        display: block;
    }
}

/* 404ページ */

.not-found-page .not-found {
    text-align: center;
    margin-bottom: 8.333vw;
}

.not-found-page .not-found h2 {
    font-size: var(--font-size-24);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    margin-bottom: 2.222vw;
}

.not-found-page .not-found p {
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: 1.8;
    margin-bottom: 5.556vw;
}

.not-found-page .not-found .more-button-black {
    margin: 0 auto;
}

@media (min-width: 1440px) {
    .not-found-page .not-found {
        margin-bottom: 120px;
    }

    .not-found-page .not-found h2 {
        margin-bottom: 32px;
    }
    
    .not-found-page .not-found p {
        margin-bottom: 80px;
    }
}

@media (max-width: 1023px) {
    .not-found-page .not-found {
        text-align: left;
        margin-bottom: 15.385vw;
    }

    .not-found-page .not-found h2 {
        margin-bottom: 8.205vw;
    }
    
    .not-found-page .not-found p {
        margin-bottom: 20.513vw;
    }
}

/* ページ下部 コンタクトエリア・カラムメニュー */

/* お問い合わせエリア */

.contact-area {
    background: url(../images/common/contact-area-bg.jpg) no-repeat;
    background-size: cover;
    padding: 5.556vw 0;
    margin-top: 8.333vw;
    margin-bottom: 5.556vw;
}

.contact-area .container-medium {
    display: flex;
    justify-content: space-between;
}

.contact-area .container-medium .title p {
    font-size: var(--font-size-40); /* フォントサイズ40px */
    font-weight: var(--font-weight-semi-bold); /* セミボールドのフォントウェイト */
    color: var(--white); /* 白色の文字色 */
    line-height: 1.8; /* 行間を1.8倍に設定 */
}

.contact-area .container-medium .description {
    padding-top: 12.222vw;
}

.contact-area .container-medium .description p {
    color: var(--white);
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-regular);
    line-height: 2.3;
}

.contact-area .container-medium .description .title-en {
    line-height: 1.5;
}

.contact-area .container-medium .description .title-jp {
    color: var(--white);
    font-size: var(--font-size-28);
    margin-bottom: 2.222vw;
}

.contact-area .container-medium .description .more-button-white {
    margin-top: 4.444vw;
}

.contact-area .container-medium .description .more-button-white a {
    width: 15.764vw;
}

.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    display: none;
}

@media (min-width: 1440px) {
    .contact-area {
        background: url(../images/common/contact-area-bg.jpg) no-repeat;
        background-size: cover;
        padding: 80px 0;
        margin-top: 120px;
        margin-bottom: 80px;
    }
    
    .contact-area .container-medium .description {
        padding-top: 176px;
    }

    .contact-area .container-medium .description .title-jp {
        color: var(--white);
        font-size: var(--font-size-28);
        margin-bottom: 32px;
    }
    
    .contact-area .container-medium .description .more-button-white {
        margin-top: 64px;
    }
    
    .contact-area .container-medium .description .more-button-white a {
        width: 227px;
    }
}

@media (max-width: 1023px) {
    .contact-area {
        background: url(../images/common/sp/contact-area-bg.jpg) no-repeat;
        background-size: cover;
        padding: 20.513vw 0;
        margin-top: 15.385vw;
        margin-bottom: 20.513vw;
    }
    
    .contact-area .container-medium {
        display: block;
    }
    
    .contact-area .container-medium .title p {
        font-size: var(--font-size-28);
    }
    
    .contact-area .container-medium .description {
        padding-top: 8.205vw;
    }
    
    .contact-area .container-medium .description p {
        color: var(--white);
        font-size: var(--font-size-16);
        font-weight: var(--font-weight-regular);
        line-height: 2.3;
    }
    
    .contact-area .container-medium .description .title-en {
        line-height: 1.5;
        font-size: var(--font-size-14);
    }
    
    .contact-area .container-medium .description .title-jp {
        color: var(--white);
        font-size: var(--font-size-28);
        margin-bottom: 8.205vw;
    }
    
    .contact-area .container-medium .description .more-button-white {
        margin-top: 16.41vw;
    }
    
    .contact-area .container-medium .description .more-button-white a {
        width: 100%;
    }
}

/* three-column-links */

.three-column-links {}

.three-column-links .container-large {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5.556vw;
    width: 100%;
}

.three-column-links .container-large .column {
    width: 29.583vw;
    height: 16.667vw;
    position: relative;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0.556vw;
    overflow: hidden; /* 子要素がはみ出ないように */
}

@media (hover: hover) and (pointer: fine) {
    .three-column-links .container-large .column a:hover .content p .text-hidden {
        top: 50%; /* ホバー時に2つ目のspanが中央に表示 */
        transform: translateY(-50%); /* 垂直方向に中央揃え */
    }
}

.three-column-links .container-large .column a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(38, 38, 38, 0.1) 0%, #262626 100%);
    z-index: 1;
    border-radius: 0.556vw;
}

.three-column-links .container-large .column a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    text-decoration: none;
}

.three-column-links .container-large .column a img {
    display: block; /* 画像をブロック要素に */
    width: 100%; /* 幅を100%に設定 */
    height: auto; /* 高さを自動に設定 */
    transition: transform 0.4s ease; /* スケーリングのトランジションを設定 */
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}

.three-column-links .container-large .column a .content {
    position: absolute;
    bottom: 2.222vw;
    left: 2.222vw;
    z-index: 3;
    height: 2.083vw;
}

@media (hover: hover) and (pointer: fine) {
    .three-column-links .container-large .column a:hover img {
        transform: scale(1.1); /* ホバー時に画像を10%拡大 */
    }
}

.three-column-links .container-large .column.about a .content {
    width: 12.806vw; /* 幅を親要素に合わせる */
}

.three-column-links .container-large .column.service a .content {
    width: 9.444vw; /* 幅を親要素に合わせる */
}

.three-column-links .container-large .column.recruit a .content {
    width: 5.556vw; /* 幅を親要素に合わせる */
}

.three-column-links .container-large .column a .content p .text-visible,
.three-column-links .container-large .column a .content p .text-hidden {
    display: block; /* spanをブロックにする */
    position: absolute; /* 位置を絶対にする */
    width: fit-content; /* 幅を内容に応じる */
    color: inherit; /* 親の色を継承 */
    font-size: inherit; /* 親のフォントサイズを継承 */
    font-weight: inherit; /* 親のフォントウェイトを継承 */
    transition: all 0.4s; /* アニメーションを適用 */
}

.three-column-links .container-large .column a .content p .text-visible {
    top: 50%; /* 最初のspanを中央に配置 */
    transform: translateY(-50%); /* 垂直方向に中央揃え */
}

.three-column-links .container-large .column a .content p .text-hidden {
    top: 110%; /* 2つ目のspanは下に隠れる */
}

@media (hover: hover) and (pointer: fine) {
    .three-column-links .container-large .column a:hover .content p .text-visible {
        top: -50%; /* ホバー時に最初のspanが上に移動 */
    }

    .three-column-links .container-large .column a:hover .content p .text-hidden {
        top: 50%; /* ホバー時に2つ目のspanが中央に表示 */
        transform: translateY(-50%); /* 垂直方向に中央揃え */
    }
}

.three-column-links .container-large .column a .content p {
    color: var(--white);
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    position: relative;
    height: 2.083vw; /* 高さはそのままに */
    overflow: hidden; /* overflowをvisibleに設定 */
}

.three-column-links .container-large .column a .content:after {
    content: '';
    display: inline-block;
    background-image: url(../images/common/more-button-white-arrow.svg);
    background-size: 1.458vw;
    background-position-x: 0.556vw;
    background-position-y: -0.139vw;
    background-repeat: no-repeat;
    width: 1.806vw;
    height: 1.111vw;
    position: absolute;
    right: -2.778vw;
    top: 53%;
    transform: translateY(-50%);
    border-left: solid 1px var(--white);
}

/* two-column-links */

.two-column-links {}

.two-column-links .container-large {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5.556vw;
    gap: 1.111vw;
}

.two-column-links .container-large .column {
    width: 100%;
    height: 16.667vw;
    position: relative;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0.556vw;
    overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
    .two-column-links .container-large .column a:hover .content p .text-hidden {
        top: 50%; /* ホバー時に2つ目のspanが中央に表示 */
        transform: translateY(-50%); /* 垂直方向に中央揃え */
    }
}

.two-column-links .container-large .column a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(38, 38, 38, 0.1) 0%, #262626 100%);
    z-index: 1;
    border-radius: 0.556vw;
}

.two-column-links .container-large .column a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    text-decoration: none;
}

.two-column-links .container-large .column a img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}

.two-column-links .container-large .column a .content {
    position: absolute;
    bottom: 2.222vw;
    left: 2.222vw;
    z-index: 3;
    height: 2.083vw;
}

@media (hover: hover) and (pointer: fine) {
    .two-column-links .container-large .column a:hover img {
        transform: scale(1.1); /* ホバー時に画像を10%拡大 */
    }
}

.two-column-links .container-large .column.about a .content {
    width: 12.006vw; /* 幅を親要素に合わせる */
}

.two-column-links .container-large .column.service a .content {
    width: 9.444vw; /* 幅を親要素に合わせる */
}

.two-column-links .container-large .column.recruit a .content {
    width: 5.556vw; /* 幅を親要素に合わせる */
}

.two-column-links .container-large .column a .content p .text-visible,
.two-column-links .container-large .column a .content p .text-hidden {
    display: block; /* spanをブロックにする */
    position: absolute; /* 位置を絶対にする */
    width: fit-content; /* 幅を内容に応じる */
    color: inherit; /* 親の色を継承 */
    font-size: inherit; /* 親のフォントサイズを継承 */
    font-weight: inherit; /* 親のフォントウェイトを継承 */
    transition: all 0.4s; /* アニメーションを適用 */
}

.two-column-links .container-large .column a .content p .text-visible {
    top: 50%; /* 最初のspanを中央に配置 */
    transform: translateY(-50%); /* 垂直方向に中央揃え */
}

.two-column-links .container-large .column a .content p .text-hidden {
    top: 110%; /* 2つ目のspanは下に隠れる */
}

@media (hover: hover) and (pointer: fine) {
    .two-column-links .container-large .column a:hover .content p .text-visible {
        top: -50%; /* ホバー時に最初のspanが上に移動 */
    }

    .two-column-links .container-large .column a:hover .content p .text-hidden {
        top: 50%; /* ホバー時に2つ目のspanが中央に表示 */
        transform: translateY(-50%); /* 垂直方向に中央揃え */
    }
}

.two-column-links .container-large .column a .content p {
    color: var(--white);
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-semi-bold);
    line-height: 1.8;
    position: relative;
    height: 2.083vw; /* 高さはそのままに */
    overflow: hidden; /* overflowをvisibleに設定 */
}

.two-column-links .container-large .column a .content:after {
    content: '';
    display: inline-block;
    background-image: url(../images/common/more-button-white-arrow.svg);
    background-size: 1.458vw;
    background-position-x: 0.556vw;
    background-position-y: -0.139vw;
    background-repeat: no-repeat;
    width: 1.806vw;
    height: 1.111vw;
    position: absolute;
    right: -2.778vw;
    top: 53%;
    transform: translateY(-50%);
    border-left: solid 1px var(--white);
}


@media (min-width: 1440px) {
    .three-column-links .container-large {
        display: flex;
        justify-content: space-between;
        margin-bottom: 80px;
        width: 100%;
    }
    
    .three-column-links .container-large .column {
        width: 426px;
        height: 240px;
        position: relative;
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 8px;
        overflow: hidden; /* 子要素がはみ出ないように */
    }
    
    .three-column-links .container-large .column a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(38, 38, 38, 0.1) 0%, #262626 100%);
        z-index: 1;
        border-radius: 8px;
    }
    
    .three-column-links .container-large .column a .content {
        position: absolute;
        bottom: 32px;
        left: 32px;
        z-index: 3;
        height: 30px;
    }
    
    .three-column-links .container-large .column a:hover img {
        transform: scale(1.1); /* ホバー時に画像を10%拡大 */
    }
    
    .three-column-links .container-large .column.about a .content {
        width: 170px; /* 幅を親要素に合わせる */
    }
    
    .three-column-links .container-large .column.service a .content {
        width: 136px; /* 幅を親要素に合わせる */
    }
    
    .three-column-links .container-large .column.recruit a .content {
        width: 80px; /* 幅を親要素に合わせる */
    }
    
    .three-column-links .container-large .column a .content p {
        color: var(--white);
        font-size: var(--font-size-18);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        position: relative;
        height: 30px; /* 高さはそのままに */
        overflow: hidden; /* overflowをvisibleに設定 */
    }
    
    .three-column-links .container-large .column a .content:after {
        content: '';
        display: inline-block;
        background-image: url(../images/common/more-button-white-arrow.svg);
        background-size: 21px;
        background-position-x: 8px;
        background-position-y: -2px;
        background-repeat: no-repeat;
        width: 26px;
        height: 16px;
        position: absolute;
        right: -40px;
        top: 53%;
        transform: translateY(-50%);
        border-left: solid 1px var(--white);
    }
    
    .two-column-links .container-large {
        display: flex;
        justify-content: space-between;
        margin-bottom: 80px;
        gap: 16px;
    }
    
    .two-column-links .container-large .column {
        width: 100%;
        height: 240px;
        position: relative;
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .two-column-links .container-large .column a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(38, 38, 38, 0.1) 0%, #262626 100%);
        z-index: 1;
        border-radius: 8px;
    }
    
    .two-column-links .container-large .column a .content {
        position: absolute;
        bottom: 32px;
        left: 32px;
        z-index: 3;
        height: 30px;
    }
    
    .two-column-links .container-large .column a:hover img {
        transform: scale(1.1); /* ホバー時に画像を10%拡大 */
    }
    
    .two-column-links .container-large .column.about a .content {
        width: 170px; /* 幅を親要素に合わせる */
    }
    
    .two-column-links .container-large .column.service a .content {
        width: 136px; /* 幅を親要素に合わせる */
    }
    
    .two-column-links .container-large .column.recruit a .content {
        width: 80px; /* 幅を親要素に合わせる */
    }
    
    .two-column-links .container-large .column a .content p {
        color: var(--white);
        font-size: var(--font-size-18);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        position: relative;
        height: 30px; /* 高さはそのままに */
        overflow: hidden; /* overflowをvisibleに設定 */
    }
    
    .two-column-links .container-large .column a .content:after {
        content: '';
        display: inline-block;
        background-image: url(../images/common/more-button-white-arrow.svg);
        background-size: 21px;
        background-position-x: 8px;
        background-position-y: -2px;
        background-repeat: no-repeat;
        width: 26px;
        height: 16px;
        position: absolute;
        right: -40px;
        top: 53%;
        transform: translateY(-50%);
        border-left: solid 1px var(--white);
    }    
}

@media (max-width: 1023px) {
    /* three-column-links */

    .three-column-links {}

    .three-column-links .container-large {
        display: block;
        margin-bottom: 20.513vw;
        width: calc(100% - 12.308vw);
    }

    .three-column-links .container-large .column {
        width: 100%;
        height: 51.282vw;
        border-radius: 2.051vw;
        margin-bottom: 4.103vw;
    }

    .three-column-links .container-large .column:last-child {
        margin-bottom: 0;
    }

    .three-column-links .container-large .column a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(38, 38, 38, 0.1) 0%, #262626 100%);
        z-index: 1;
        border-radius: 8px;
    }

    .three-column-links .container-large .column a {
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        text-decoration: none;
    }

    .three-column-links .container-large .column a img {
        display: block; /* 画像をブロック要素に */
        width: 100%; /* 幅を100%に設定 */
        height: auto; /* 高さを自動に設定 */
        transition: transform 0.4s ease; /* スケーリングのトランジションを設定 */
        position: static;
    }

    .three-column-links .container-large .column a .content {
        position: absolute;
        bottom: 8.205vw;
        left: 8.205vw;
        z-index: 3;
        height: 7.692vw;
    }

    .three-column-links .container-large .column.about a .content {
        width: 43.59vw; /* 幅を親要素に合わせる */
    }

    .three-column-links .container-large .column.service a .content {
        width: 34.872vw; /* 幅を親要素に合わせる */
    }

    .three-column-links .container-large .column.recruit a .content {
        width: 20.513vw; /* 幅を親要素に合わせる */
    }

    .three-column-links .container-large .column a .content p {
        color: var(--white);
        font-size: var(--font-size-18);
        font-weight: var(--font-weight-semi-bold);
        line-height: 1.8;
        position: relative;
        height: 7.692vw; /* 高さはそのままに */
        overflow: hidden; /* overflowをvisibleに設定 */
    }

    .three-column-links .container-large .column a .content:after {
        content: '';
        display: inline-block;
        background-image: url(../images/common/more-button-white-arrow.svg);
        background-size: 5.385vw;
        background-position-x: 2.051vw;
        background-position-y: -0.513vw;
        background-repeat: no-repeat;
        width: 6.667vw;
        height: 4.103vw;
        position: absolute;
        right: -10.256vw;
        top: 53%;
        transform: translateY(-50%);
        border-left: solid 1px var(--white);
    }

    .two-column-links {}

    .two-column-links .container-large {
        display: block;
        margin-bottom: 20.513vw;
    }
    
    .two-column-links .container-large .column {
        height: 51.282vw;
        border-radius: 2.051vw;
        margin-bottom: 4.103vw;
    }

    .two-column-links .container-large .column a img {
        margin: 0;
    }
    
    .two-column-links .container-large .column a::before {
        border-radius: 2.051vw;
    }
    
    .two-column-links .container-large .column a .content {
        position: absolute;
        bottom: 8.205vw;
        left: 8.205vw;
        z-index: 3;
        height: 7.692vw;
    }
    
    .two-column-links .container-large .column.about a .content {
        width: 43.59vw; /* 幅を親要素に合わせる */
    }
    
    .two-column-links .container-large .column.service a .content {
        width: 34.872vw; /* 幅を親要素に合わせる */
    }
    
    .two-column-links .container-large .column.recruit a .content {
        width: 20.513vw; /* 幅を親要素に合わせる */
    }
    
    .two-column-links .container-large .column a .content p {
        height: 7.692vw; /* 高さはそのままに */
    }
    
    .two-column-links .container-large .column a .content:after {
        content: '';
        display: inline-block;
        background-image: url(../images/common/more-button-white-arrow.svg);
        background-size: 5.385vw;
        background-position-x: 2.051vw;
        background-position-y: -0.513vw;
        background-repeat: no-repeat;
        width: 6.667vw;
        height: 4.103vw;
        position: absolute;
        right: -10.256vw;
        top: 53%;
        transform: translateY(-50%);
        border-left: solid 1px var(--white);
    }
}
