/* --- Fluid Design Config & Functions --- */
:root {
    --black: #000000;
    --bg-gray: #F6F6F8;
    --accent-yellow: #edea00;

    --base-width: 1280;
    --min-width: 1080;
    --max-width: 1920;

    --fluid-ratio: (100vw - var(--base-width) * 1px) / (var(--max-width) - var(--min-width));


    /* --- 可変関数 --- */
    --fluid-10: clamp(12px, calc(10px + (15 - 10) * var(--fluid-ratio)), 15px);
    --fluid-20: clamp(16px, calc(20px + (30 - 20) * var(--fluid-ratio)), 30px);
    --fluid-30: clamp(20px, calc(30px + (45 - 30) * var(--fluid-ratio)), 45px);
    --fluid-40: clamp(24px, calc(40px + (60 - 40) * var(--fluid-ratio)), 60px);
    --fluid-50: clamp(30px, calc(50px + (80 - 50) * var(--fluid-ratio)), 80px);
    --fluid-60: clamp(40px, calc(60px + (100 - 60) * var(--fluid-ratio)), 100px);
    --fluid-80: clamp(60px, calc(80px + (120 - 80) * var(--fluid-ratio)), 120px);
    --fluid-100: clamp(60px, calc(100px + (160 - 100) * var(--fluid-ratio)), 160px);
    --fluid-120: clamp(80px, calc(120px + (180 - 120) * var(--fluid-ratio)), 180px);
    --fluid-160: clamp(120px, calc(160px + (240 - 160) * var(--fluid-ratio)), 240px);
}

/* --- Base & Body --- */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: var(--bg-gray);
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.6em;
    color: var(--black);
    font-size: clamp(14px, calc(16px + (22 - 16) * var(--fluid-ratio)), 22px);
}

main {
    padding-bottom: var(--fluid-160);
}

/* --- Header --- */
header.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-sizing: border-box;
    padding: var(--fluid-20) var(--fluid-30);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}



header .logo {
    width: clamp(90px, calc(110px + (140 - 110) * var(--fluid-ratio)), 140px);
    margin: 0;
    transition: all 0.3s;
}

/* スクロール時のスタイル */
.header.scroll .logo {
    /* 最小値を60pxに下げて、ベースが80pxで動くように調整 */
    width: clamp(60px, calc(80px + (100 - 80) * var(--fluid-ratio)), 100px);
}

header .logo a {
    display: block;
}

header .logo img {
    width: 100%;
    height: auto;
}




.header {
    transition: transform 0.6s ease;
    /* アニメーションの速度 */

    /* 初期状態：最上部では表示したくない、もしくは隠しておきたい場合は調整 */
    transform: translateY(0);
}

/* 上にスクロールした時（表示） */
.header.is-show {
    transform: translateY(0);
}

/* 下にスクロールした時（隠す） */
.header.is-hide {
    transform: translateY(-100%);
}




ul.pc-nav {
    display: flex;
    align-items: center;
    gap: clamp(30px, calc(40px + (60 - 40) * var(--fluid-ratio)), 60px);
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.pc-nav li a {
    text-decoration: none;
    color: var(--black);
    letter-spacing: 0.06em;
    position: relative;
}

ul.pc-nav li a:before {
    content: "";
    position: absolute;
    bottom: -5px;
    height: 1px;
    width: 0;
    background: black;
    transition: all 0.3s;
}

ul.pc-nav li a:hover:before {
    width: 100%;
}

ul.pc-nav li:last-of-type a:before {
    display: none;
}

.contact-btn a {
    display: flex;
    background: black;
    justify-content: center;
    align-items: center;
    color: white !important;
    text-decoration: none;
    line-height: 1;
    min-width: clamp(150px, calc(180px + (240 - 180) * var(--fluid-ratio)), 240px);
    padding: var(--fluid-20) var(--fluid-30);
    border-radius: var(--fluid-60);
    transition: all 0.3s ease;
}

.contact-btn a:hover {
    background-color: var(--accent-yellow);
    color: var(--black) !important;
    font-weight: 500;
}

/* --- Main Visual --- */

section.mainvisual {
    position: relative;
}

.mainvisual-image {
    width: calc(100% - 100px);
    overflow: hidden;
    margin-left: auto;
    height: 100vh;
}

.splide__track {
    overflow: hidden;
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.mainvisual-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sns-link-mv {
    position: absolute;
    left: 0;
    bottom: 40px;
    width: 100px;
    display: flex;
    justify-content: center;
}

.sns-link-mv ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sns-link-mv ul li img {
    width: 55px;
}

h2.catch {
    display: flex;
    flex-direction: column;
    position: absolute;

    bottom: var(--fluid-100);
    right: var(--fluid-60);

    /* フォントサイズを可変関数に差し替え */
    font-size: var(--fluid-100);

    gap: var(--fluid-10);
    letter-spacing: 0.1em;
    font-weight: 500;
}

h2.catch span.row {
    background: #1f1f1f;
    display: block;
    padding: 4px 10px 4px 16px;
    position: relative;
    overflow: hidden;
}

/* カーテン（黄色い帯）が文字を覆った初期状態 */
h2.catch span.row::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-yellow);
    z-index: 1;
}

/* .is-revealed が付いたらカーテンが右へスライドアウト */
h2.catch span.row.is-revealed::after {
    animation: catchCurtainReveal 0.75s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* 2行目は少し遅らせてずらす */
h2.catch span.row:nth-child(2).is-revealed::after {
    animation-delay: 0.18s;
}

@keyframes catchCurtainReveal {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(101%);
    }
}

/* ローディングスキップ時はカーテンなしで即表示 */
.loading-skipped h2.catch span.row::after,
.loading-skipped h2.catch span.row.is-revealed::after {
    display: none;
}

h2.catch span {
    color: white;
    line-height: 1em;
}

span.mini.font-noto {
    font-size: 0.7em;
    font-weight: 600;
}

/* --- Section: Common & Typography --- */
.top-content {
    padding-top: var(--fluid-80);
    padding-bottom: var(--fluid-80);
    padding-left: var(--fluid-120);
    padding-right: var(--fluid-120);
    position: relative;
}

.page-content {
    padding-top: var(--fluid-80);
    padding-bottom: var(--fluid-80);
    padding-left: var(--fluid-120);
    padding-right: var(--fluid-120);
    position: relative;
}

.font-en {
    font-family: 'Alexandria', sans-serif;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.font-noto {
    font-family: "Noto Sans JP", sans-serif;
}

p.font-en.title-en {
    font-size: clamp(90px, calc(108px + (160 - 108) * var(--fluid-ratio)), 160px);
    font-weight: 500;
    line-height: 1em;
    margin: 0;
    padding-bottom: var(--fluid-40);
    position: relative;
}

p.font-en.title-en.title-en--about {
    position: absolute;
    transform: none;
    left: 0;
    top: 0;
}


section.top-about.top-content {
    padding-top: var(--fluid-120);
}

.about-content {
    display: flex;
    justify-content: center;
    gap: var(--fluid-100);
    position: relative;
    padding-top: var(--fluid-80);
}

.about-body {
    padding-top: var(--fluid-80);

}


h2.about-title,
h2.top-service__title {
    writing-mode: vertical-rl;
    text-orientation: upright;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    letter-spacing: 0.2em;
    font-size: clamp(38px, calc(44px + (64 - 44) * var(--fluid-ratio)), 64px);
    gap: var(--fluid-20);
    width: 20%;
    justify-content: flex-end;
}

h2.about-title span,
h2.top-service__title span {
    background: white;
    display: inline-block;
    padding: var(--fluid-20) var(--fluid-20);
}

h2.about-title span.height-none {
    padding: 0;
    line-height: 0;
    height: 0.4em;
}

p.about-body__desc {
    line-height: clamp(2.2em, calc(2.4em + (2.6 - 2.4) * var(--fluid-ratio)), 2.6em);
    margin: 0;
}

.title-en--about {
    transform: translate(clamp(-160px, calc(-100px + (-160 - (-100)) * var(--fluid-ratio)), -80px),
            clamp(-60px, calc(-40px + (-60 - (-40)) * var(--fluid-ratio)), -30px));
    color: white;
    z-index: 0;
}

.about-contanct {
    text-align: center;
    margin-top: var(--fluid-120);
}

.about-contanct p {
    font-size: clamp(16px, calc(20px + (28 - 20) * var(--fluid-ratio)), 28px);
    border-bottom: 1px solid;
    padding-bottom: clamp(6px, calc(10px + (16 - 10) * var(--fluid-ratio)), 16px);
    display: inline-block;
}

/* --- Section: Slider --- */
.about-slider {
    width: 100%;
    margin-top: var(--fluid-60);
    padding-bottom: var(--fluid-80);
}

.about-slider .splide__slide img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.about-slider .splide__list {
    gap: var(--fluid-40) !important;
}

/* --- Section: Service --- */
.top-service__body {
    display: flex;
    gap: var(--fluid-100);
    margin-right: var(--fluid-120);
    position: relative;
}

.top-service__info {
    width: 75%;
}

p.top-service__desc {
    padding-left: var(--fluid-120);
    margin: 0;
}

p.service-content {
    margin-top: var(--fluid-40);
}

.service-title {
    width: clamp(60%, calc(75% + (80 - 75) * var(--fluid-ratio)), 80%);
}

.top-service__image {
    margin-top: var(--fluid-50);
    width: 100%;
}

.top-service__image img {
    width: 100%;
    height: auto;
    display: block;
}

h2.top-service__title .tate-cyu-yoko {
    display: inline-block;
    transform: rotate(90deg);
    width: 0;
    height: 0;
    line-height: 0;
    text-align: center;
    transform: rotate(90deg) translateY(-0.6em);
    padding: 0px 0px 0px 0px;
    margin: 20px 0px;
}





/* --- View More Button (Service) --- */
.view-btn.view-btn--service {
    position: absolute;
    right: 0;
    /* 1280px基準で 40px */
    bottom: var(--fluid-40);
}

.view-btn a {
    display: flex;
    align-items: center;
    /* 20px基準の可変 */
    gap: var(--fluid-20);
    text-decoration: none;
    color: var(--black);
}

/* 矢印アイコンのサイズ */
.arrow img {
    /* 18pxを基準に可変（微調整） */
    width: clamp(14px, calc(18px + (24 - 18) * var(--fluid-ratio)), 24px);
}

/* 黒い丸ボタン部分 */
.arrow {
    display: flex;
    background: var(--black);
    /* 80pxを基準に可変 */
    width: var(--fluid-80);
    height: var(--fluid-80);
    justify-content: center;
    align-items: center;
    /* 円形を維持するため大きな値を指定するか、50%にする */
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.view-btn a:hover .arrow {
    transform: scale(1.1);
}

/* ボタンのテキスト */
.view-btn a p {
    /* 18pxを基準に可変 */
    font-size: clamp(16px, calc(18px + (24 - 18) * var(--fluid-ratio)), 24px);
    font-weight: 500;
    margin: 0;
    border-bottom: 1px solid;
    /* 6pxを基準に可変 */
    padding-bottom: clamp(4px, calc(6px + (10 - 6) * var(--fluid-ratio)), 10px);
}




/* カード全体を包むラッパー */
.top-service__card-wrapper {
    display: grid;
    /* 4列横並び */
    grid-template-columns: repeat(4, 1fr);
    /* 隙間も可変 (1280pxで20px基準、4列だと狭い方が綺麗なので40から20に変更) */
    gap: var(--fluid-20);
    margin-top: var(--fluid-80);
    /* ボタンと被らないための余白 */
    padding-bottom: var(--fluid-120);
    padding-left: var(--fluid-120);
    padding-right: var(--fluid-120);
}

/* 各カードの設定 */
.top-service__card a {
    display: block;
    text-decoration: none;
    color: var(--black);
}

/* 画像ボックス */
.card-img-box {
    overflow: hidden;
    width: 100%;
}

.card-img-box img {
    width: 100%;
    height: auto;
    aspect-ratio: 240 / 300;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.top-service__card a:hover img {
    transform: scale(1.1);
}

/* カードのタイトルエリア */
.top-service__card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;

    /* 横のパディングを少し絞る */
    margin-top: var(--fluid-20);
}

.top-service__card-title p {
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    /* 4列だと横幅が狭いので、フォントサイズを少し小さめに調整 */
    padding-left: 6px;
    padding-right: 6px;

}

/* 矢印アイコン */
.arrow-mini {
    width: var(--fluid-30);
    /* 80pxとかだと大きすぎるので30px基準に */
    height: var(--fluid-30);
    background: var(--black);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    /* 円が潰れないように */
}

.arrow-mini img {
    width: 40%;
    height: auto;
}


h2.work-title {
    letter-spacing: 0.05em;
    font-size: clamp(20px, calc(24px + (36 - 24) * var(--fluid-ratio)), 36px);
    background: white;
    padding: var(--fluid-10) var(--fluid-10);
    line-height: 1em;
}

p.top-about__desc {
    margin-top: 40px;
}

.work-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

p.font-en.title-en.title-en--work {
    padding-bottom: var(--fluid-20);
}


.view-btn.view-btn--work {
    position: absolute;
    right: var(--fluid-120);
    bottom: var(--fluid-80);
}


/* カード全体 */
.top-work__card a,
.work__card a {
    padding: var(--fluid-30);
    background: white;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* ここも --fluid-10 などにしてもOK */
    height: 100%;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
}

/* 画像ボックスの比率を固定 */
.top-work__card .card-img-box {
    width: 100%;
    /* 16:9 などの比率を維持 */
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-gray);
    margin-bottom: 10px;
}

.work__card .card-img-box {
    aspect-ratio: 280 / 190;
    width: 100%;
    overflow: hidden;
    background: var(--bg-gray);
    margin-bottom: 10px;
}

.top-work__card .card-img-box img,
.work__card .card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 比率を保って枠を埋める */
    display: block;
}

/* 日付やタイトルのフォントサイズも可変変数があるなら適用 */
.top-work__date,
.work__date {
    font-size: var(--fluid-10);
    margin-bottom: 5px;
}



.top-work__card-title,
.work__card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}


/* 日付部分 */
p.top-work__date.font-en,
p.work__date.font-en {
    /* 14px固定から、最小12px〜最大15pxの可変へ */
    font-size: var(--fluid-10);
    line-height: 1.5;
}

/* カードタイトル部分 */
.top-work__card-title,
.work__card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.top-work__card-title p,
.work__card-title p {
    border: 1px solid var(--black);
    padding: 0.4em 0.6em;

    display: inline-block;
    line-height: 1em;
}


section.top-join {
    position: relative;
}

.work__card-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.work__card {
    width: calc(100% / 3 - 27px);
}

/* ここは背景を突き抜けさせたいので hidden はつけない */
section.top-join {
    position: relative;
    width: 100%;
    padding: var(--fluid-80) 0;
    /* 余白もfluidで調整 */
    margin-top: var(--fluid-60);
}

/* 背景（反転した斜めの帯） */
/* section.top-join:before {
    content: "";
    position: absolute;
    width: 300%;
    height: 60vw;
    background: #FFF600;
    top: -10vw;
    right: -150%;
    transform: rotate(-35deg);
    z-index: -1;
} */

/* スライダーをカットする専用の「窓」 */
.infinite-slider-container {
    width: 100%;
    overflow: hidden;
    /* ここでスライダーだけをカット！ */
}

.infinite-slider__inner {
    display: flex;
    width: fit-content;
    gap: var(--fluid-40);
    animation: infinity-scroll 25s linear infinite;
}

.infinite-slider__inner img {
    height: var(--fluid-70);
    /* 高さを可変に */
    width: auto;
    flex-shrink: 0;
    max-width: none;
}

@keyframes infinity-scroll {
    from {
        transform: translateX(0);
    }

    to {
        /* 画像3枚なら 100% / 3 分だけ移動 */
        transform: translateX(calc(-100% / 3));
    }
}



.join-cta-wrap {
    padding-left: var(--fluid-80);
    padding-right: var(--fluid-80);
    margin-top: var(--fluid-40);
}

.join-cta a {
    display: flex;
    background: #5388CD;
    background: linear-gradient(90deg, rgba(83, 136, 205, 1) 0%, rgba(44, 89, 148, 1) 100%);
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: var(--fluid-120);
    border-radius: 60px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;

}

.join-cta a>* {
    position: relative;
}


.join-cta a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgb(48 104 177) 0%, rgb(44 106 185) 100%);
    top: 0;
    transition: all 0.3s;
    opacity: 0;
}

.join-cta a:hover:before {
    opacity: 1;
}

.join-cta a:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 10px #4545454f;
}


.join-cta p {
    color: white;
}


.cta-button p {
    display: flex;
    /* 重複していた display: block は削除 */
    background: #ffffff;
    justify-content: center;
    align-items: center;
    color: #305e9a !important;
    text-decoration: none;
    line-height: 1;

    /* 余白を可変に（20-30px × 60-100px の範囲で動く） */
    padding: var(--fluid-20) var(--fluid-60);

    /* 角丸も可変にすることで、常にきれいなカプセル型を維持 */
    border-radius: var(--fluid-60);

    /* フォントサイズを可変に（20px〜45px程度、または fluid-20 で 16-30px） */
    /* デザインに応じて fluid-20 か fluid-30 を選んでください */
    font-size: var(--fluid-20);

    font-weight: 500;
    transition: all 0.3s ease;

    /* 必要であれば最小幅も可変を活かす */
    min-width: var(--fluid-160);
}


.join-cta h3 {
    font-size: clamp(30px, calc(38px + (50 - 38) * var(--fluid-ratio)), 50px);
    color: white;
    line-height: 1.6em;
}

h2.company-title {
    letter-spacing: 0.05em;
    font-size: clamp(20px, calc(24px + (36 - 24) * var(--fluid-ratio)), 36px);
    background: white;
    padding: var(--fluid-10) var(--fluid-10);
    line-height: 1em;
}

.company-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    margin-bottom: var(--fluid-60);
}

.top-company__list {
    border: 1px solid;
    padding: 80px;
}

.top-company__item {
    display: flex;
}

.top-company__item div:first-of-type {
    width: 30%;
    border-right: 1px solid #C5C5C5;
    padding: 20px 30px;
}

.top-company__item div:last-of-type {
    width: 70%;
    padding: 20px 30px;
    font-weight: 400;
}

.top-company__list {
    border: 1px solid;
    padding: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.top-company__item div:last-of-type iframe {
    width: 100%;
    height: 20vw;
    margin-top: 20px;
}

.top-gallery {
    margin-top: var(--fluid-60);
}

.galley-list.top-content img {
    width: calc(100% / 4 - 15px);
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.galley-list.top-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: var(--fluid-40);
}


section.cta {
    padding-left: var(--fluid-80);
    padding-right: var(--fluid-80);
    margin-top: var(--fluid-40);
}

.contact-cta a {
    display: flex;
    background: #1f1f1f;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: var(--fluid-120);
    border-radius: 60px;
    transition: all 0.3s;
}

.contact-cta a:hover {
    background: #000000;
    transform: translateY(-10px);
    box-shadow: 0 20px 10px #4545454f;
}

.contact-cta h3 {
    font-size: clamp(30px, calc(38px + (50 - 38) * var(--fluid-ratio)), 50px);
    color: white;
    line-height: 1.6em;
}

.contact-cta .cta-button p {
    color: #1f1f1f !important;
}

footer {
    padding-top: var(--fluid-80);
    padding-bottom: var(--fluid-80);
    padding-left: var(--fluid-120);
    padding-right: var(--fluid-120);
    background: white;
    border-top: 1px solid #BEBEBE;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
}



.footer-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-info p {
    font-weight: 500;
}

.footer-menu {
    width: 60%;
}

.footer-nav {
    display: flex;
    gap: 60px;
}

ul.footer-nav__item li:first-of-type a {
    border-bottom: 1px solid gray;
    display: block;
    padding-bottom: 10px;
}

ul.footer-nav__item {
    width: calc(100% / 3);
}



ul.footer-nav__item li:first-of-type {
    margin-bottom: 20px;
}

ul.footer-nav__item li:first-of-type a {
    border-bottom: 1px solid gray;
    display: block;
    padding-bottom: 10px;
    opacity: 1;
    font-weight: 600;
    font-size: 1em;
}

ul.footer-nav__item li a {
    opacity: 0.4;
    font-weight: 500;
    font-size: 0.9em;
    transition: all 0.3s;
}

ul.footer-nav__item li a:hover {
    opacity: 1;
}

.footer-nav-sub {
    padding-top: 50px;
}

.footer-nav-sub ul {
    display: flex;
    gap: 40px;
    justify-content: flex-end;
}

.footer-nav-sub ul li a {
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s;
}


.page-link.page-content ul li a:before {
    content: "";
    position: absolute;
    width: 0;
    height: 100%;
    left: 0;
    background: #414757;
    transition: 0.3s;
}

.page-link.page-content ul li a:hover:before {
    width: 100%;
}

.page-link.page-content ul li a p {
    color: white;
    position: relative;
}

.footer-nav-sub ul li a:hover {
    opacity: 0.6;
}

p.copyright.font-en {
    text-align: center;
    padding: 10px;
    background: black;
    color: white;
    font-size: 14px;
}

.footer-info__logo {
    width: 120px;
}

.back-to-list {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.back-to-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--black);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.1em;
    border: 1px solid var(--black);
    padding: 14px 40px;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.back-to-list a::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: rotate(-45deg);
}

.back-to-list a:hover {
    background: var(--black);
    color: white;
}

.page-top {
    display: flex;
    justify-content: flex-end;
    padding-top: 60px;
}

.page-top a {
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 5px;
}


span.triangle {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 13px solid #333;
    display: block;
    transform: rotate(180deg);
}




.loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-content {
    text-align: center;
}

.loading-content img {
    /* ロゴのサイズは可変関数を使うと統一感が出ます */
    width: var(--fluid-120);
    display: block;
    margin: 0 auto var(--fluid-30);
}

.loading-count {
    color: #fff;
    font-size: var(--fluid-20);
    letter-spacing: 0.1em;
    font-weight: 500;
}

.loading-count span {
    color: white;
}

main {
    position: relative;
}


.bg-item {
    position: absolute;
    width: 300%;
    height: 60vw;
    background: #FFF600;
    top: 0vw;
    right: -150%;
    transform: rotate(35deg);
    z-index: -2;
}


/* .bg {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    margin-top: calc(1500px + (90vw - 1280px));
    z-index: -1;
    top: 0;
} */


/* .bg-item {
    position: absolute;
    width: 300%;
    height: 60vw;
    background: #FFF600;
    top: 0vw;
    right: -150%;
    transform: rotate(35deg);
    z-index: -2;
} */



/* mainは「見える」ようにして、アンカーリンクを正常化する */
main {
    position: relative;
    overflow: visible;
}



.bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: -1;
}

@keyframes bgStripeExpand {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0% 0 0);
    }
}

@keyframes bgStripeExpandReverse {
    from {
        clip-path: inset(0 0 0 100%);
    }

    to {
        clip-path: inset(0 0 0 0%);
    }
}

.bg-item {
    position: absolute;
    width: 300%;
    height: 60vw;
    background: #FFF600;
    top: calc(1500px + (90vw - 1280px));
    right: -150%;
    transform: rotate(35deg);
    clip-path: inset(0 100% 0 0);
    z-index: -2;
}

.bg-item.is-visible {
    animation: bgStripeExpand 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bg-item:nth-child(2) {
    margin-top: 155vw;
    transform: rotate(-35deg);
    clip-path: inset(0 0 0 100%);
}

.bg-item:nth-child(2).is-visible {
    animation: bgStripeExpandReverse 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.bg-item:nth-child(3) {
    margin-top: 430vw;
}

.bg-item:nth-child(3).is-visible {
    animation: bgStripeExpand 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.sns-link-footer ul li img {
    width: 50px;
}

.sns-link-footer ul {
    display: flex;
    gap: 20px;
}

.page-title {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: var(--fluid-50);
    /* 30px ~ 80px で可変 */
    padding: var(--fluid-160) var(--fluid-50) var(--fluid-20);
}

.page-title h2 {
    font-size: var(--fluid-100);
    /* 60px ~ 160px で可変 */
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1em;
}

.page-title p {
    font-size: var(--fluid-30);
    /* 20px ~ 45px で可変 */
    letter-spacing: 0.05em;
}

.page-link.page-content ul {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.page-link.page-content ul li {
    width: calc(100% / 3 - 20px);
}

.page-link.page-content ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: black;
    padding: 20px;
    color: white;
    position: relative;
}

.page-link.page-content ul li a p {
    color: white;
}

.page-link.page-content ul li a img {
    /* 幅も少し可変にしたい場合は --fluid-10 などに置き換え可能 */
    width: 10px;
    position: absolute;
    right: var(--fluid-20);

}



.service-item h3 {
    /* font-size: 32px -> --fluid-30 (20px ~ 45px) */
    font-size: var(--fluid-30);
    border-bottom: 1px solid;
    /* padding-bottom: 20px -> --fluid-20 (16px ~ 30px) */
    padding-bottom: var(--fluid-20);
    /* margin-bottom: 32px -> --fluid-30 (20px ~ 45px) */
    margin-bottom: var(--fluid-30);
}

ul.service-list.font-noto {
    display: flex;
    /* gap: 10px -> --fluid-10 (12px ~ 15px) */
    gap: var(--fluid-10);
    flex-wrap: wrap;
    /* margin-top: 32px -> --fluid-30 (20px ~ 45px) */
    margin-top: var(--fluid-30);
}

ul.service-list.font-noto li {
    /* gapと連動させるため、引く値を var(--fluid-10) に合わせる */
    width: calc(100% / 4 - var(--fluid-10));
    background: white;
    /* padding: 16px -> --fluid-20 の最小値付近 */
    padding: var(--fluid-20);
    text-align: center;
}

p.font-en.service-item__desc {
    font-weight: 500;
    letter-spacing: 0.05em;
}

.view-btn.view-btn--page {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--fluid-30);
}

section.service.page-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-table__item.service-table__item--heading div {
    background: #414757;
    color: white;
    text-align: center;
}

.service-table__item.service-table__item--heading div:nth-child(2) {
    background: #728096;
}

.service-table__item.service-table__item--heading div:nth-child(3) {
    background: #B5C2D7;
}

.service-table__item.service-table__item--heading {
    display: flex;
    border-bottom: 0;
}


.service-table__item div {
    width: calc(100% / 3);
    padding: var(--fluid-20);
    background: white;
    text-align: left;
}


.service-table__item {
    display: flex;
    border-bottom: 1px solid #A6A6A6;
}

.service-table__item div.service-table__price {
    text-align: right;
}

.service-table.font-noto {
    margin-top: var(--fluid-30);
}

.service-table__item:last-of-type {
    border: 0;
}

.service-area {
    display: flex;
    gap: 80px;
    align-items: center;
}

.service-area img {
    width: 40%;
}

.service-area__content h4 {
    background: black;
    color: white;
    display: inline-block;
    padding: 8px 20px;
    font-weight: 500;
    margin-top: var(--fluid-30);
    margin-bottom: var(--fluid-20);
}




/*---------------アニメーション------------------*/
span.curtain-line {
    color: var(--main);
    position: relative;
    display: inline-block;
}

.curtain.curtain--white span.curtain-line {
    color: white;
}

.curtain.curtain--black span.curtain-line {
    color: #434343;
}

.curtain.curtain--white span.curtain-line {
    color: white;
}

span.curtain-line::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--main);

    transform: scaleX(1);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.curtain.on span.curtain-line::before {
    transform: scaleX(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s ease,
        transform 0.6s cubic-bezier(.4, 0, .2, 1);
}

.fade-up.on {
    opacity: 1;
    transform: translateY(0);
}

.fade-stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.65s ease,
        transform 0.65s cubic-bezier(.22, 1, .36, 1);
    /* easeOutQuart系 */

}


/* on が付いたら表示 */
.fade-stagger.on>* {
    opacity: 1;
    transform: translateY(0);
}

/* 順番ディレイ */
.fade-stagger.on>*:nth-child(1) {
    transition-delay: 0s;
}

.fade-stagger.on>*:nth-child(2) {
    transition-delay: .15s;
}

.fade-stagger.on>*:nth-child(3) {
    transition-delay: .3s;
}

.fade-stagger.on>*:nth-child(4) {
    transition-delay: .45s;
}

.fade-stagger.on>*:nth-child(5) {
    transition-delay: .6s;
}

.fade-stagger.on>*:nth-child(6) {
    transition-delay: .75s;
}

.fade-stagger.on>*:nth-child(7) {
    transition-delay: .9s;
}

.fade-stagger.on>*:nth-child(8) {
    transition-delay: 1.05s;
}

.fade-stagger.on>*:nth-child(9) {
    transition-delay: 1.2s;
}

/*---------------アニメーションここまで------------------*/

.work-main-visual {
    text-align: center;
}

.before-after {
    display: flex;
    align-items: flex-end;
    gap: 30px;
}

.before {
    width: 40%;
    position: relative;
}

.after {
    width: 60%;
    position: relative;
}

.before img,
.after img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.bf-arrow {
    padding-bottom: 120px;
}

p.single-title__date.font-en {
    display: inline-block;
    background: black;
    color: white;
    padding: 5px 20px;
    font-size: 16px;
}

.single-title h3 {
    border-bottom: 1px solid;
    margin-top: 20px;
    margin-bottom: 80px;
    padding: 20px 0;
    font-size: 32px;
}


p.before__text.font-en {
    position: absolute;
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 500;
    right: 0;
    bottom: 0;
    line-height: 1em;
    background: #414757;
    color: white;
    padding: 6px var(--fluid-20);
    padding-left: var(--fluid-10);
    z-index: 2;
}

p.before__text.font-en:before {
    content: "";
    position: absolute;
    left: -10px;
    width: 30px;
    height: 100%;
    top: 0;
    background: #414757;
    transform: skew(-15deg);
    z-index: -1;
}

p.after__text.font-en {
    position: absolute;
    font-size: clamp(40px, 6vw, 62px);
    font-weight: 500;
    right: 0;
    bottom: 0;
    line-height: 1em;
    background: #414757;
    color: white;
    padding: 10px var(--fluid-20);
    padding-left: var(--fluid-10);
    z-index: 2;
}

p.after__text.font-en:before {
    content: "";
    position: absolute;
    left: -10px;
    width: 30px;
    height: 100%;
    top: 0;
    background: #414757;
    transform: skew(-15deg);
    z-index: -1;
}

.single-desc p {
    font-weight: 400;
}

.single-desc {
    padding: 40px;
    background: white;
    margin-top: 50px;
}

.join-us-wrap {
    text-align: center;
}

.join-us {
    text-align: center;
    position: relative;
    display: inline-block;
}

.join-us h3 {
    text-align: center;
    font-size: clamp(30px, calc(38px + (50 - 38) * var(--fluid-ratio)), 50px);
    line-height: 1em;
    margin-bottom: var(--fluid-60);
    display: inline-block;
    position: relative;
}

.join-us__desc {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.join-us__desc span {
    display: inline-block;
    background: white;
    padding: 0 20px;
}

.join-us__desc {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.join-us h3 span:last-of-type {
    transform: scale(-1, 1);
    right: -20px;
}


.join-us h3 span:before {
    content: "";
    position: absolute;
    width: 2px;
    height: 65px;
    background: #000000;
    transform: rotate(-45deg);
    bottom: -20px;
}

.join-us h3 span:after {
    content: "";
    position: absolute;
    width: 2px;
    height: 45px;
    background: #000000;
    transform: rotate(-55deg);
    left: -11px;
    bottom: -20px;
}

.join-us h3 span {
    position: relative;
    display: inline-block;
}

.join-us h3 span:first-of-type {
    left: -28px;
}

.join-us img {
    position: absolute;
}

img.join-01 {
    left: 0;
    top: 0;
}


img.join-01 {
    left: -120px;
    top: 40px;
}

img.join-02 {
    width: 360px;
    right: -310px;
    top: 50px;
}

img.join-03 {
    left: -270px;
    width: 360px;
    bottom: -250px;
}

img.join-04 {
    width: 320px;
    right: -70px;
}


.recruit-title h3 {
    font-size: clamp(30px, calc(38px + (50 - 38) * var(--fluid-ratio)), 50px);
    display: inline-block;
    border-bottom: 1px solid;
    line-height: 1em;
    padding-bottom: 20px;
}

.recruit-title {
    text-align: center;
    padding-bottom: var(--fluid-100);
}

section.voice.page-content {
    margin-top: var(--fluid-160);
}



.qa-item {
    border-bottom: 1px solid #dddddd;
    padding-bottom: var(--fluid-40);
    position: relative;
}

.qa-item:last-of-type {
    border-bottom: 0;
}

.voice-image {
    width: 35%;
    position: relative;
}

.voice-item__meta {
    background: white;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    gap: 10px;
    padding: 10px;
}

.voice-item__meta:before {
    content: "";
    position: absolute;
    left: -10px;
    width: 30px;
    height: 100%;
    top: 0;
    background: #ffffff;
    transform: skew(-15deg);
    z-index: -1;
}

.qa {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: var(--fluid-60);
}

.qa-item__title {
    display: flex;
    gap: var(--fluid-20);
    align-items: center;
    margin-bottom: var(--fluid-30);
}

.qa-item__title p {
    font-size: clamp(22px, calc(22px + (50 - 22) * var(--fluid-ratio)), 40px);
    font-weight: bold;
}

.qa-item__title span {
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: clamp(26px, calc(26px + (50 - 26) * var(--fluid-ratio)), 40px);
    width: clamp(40px, calc(40px + (80 - 40) * var(--fluid-ratio)), 80px);
    height: clamp(40px, calc(40px + (80 - 40) * var(--fluid-ratio)), 80px);
    border-radius: 50px;
}

.qa-item__content p {
    font-weight: 500;
    line-height: 1.8em;
}

.voice-item__meta p:first-of-type {
    font-size: 1.2em;
}

.voice-item-wrap {
    display: flex;
    flex-direction: column;
    gap: 200px;
}

.voice-item {
    display: flex;
    gap: 100px;
    align-items: flex-start;
    z-index: 1;
    position: relative;
}

.voice-item {
    position: relative;
    /* 項目ごとにカウンターを1増やす */
    counter-increment: voice-count;
}

.voice-item:before {
    content: "VOICE " counter(voice-count, decimal-leading-zero);
    position: absolute;
    font-size: 14.0625vw;
    right: -31.75vw;
    top: 19.84375vw;
    font-family: 'Alexandria', sans-serif;
    line-height: 1em;
    font-weight: 500;
    transform: rotate(90deg);
    color: white;
    z-index: -1;
    white-space: nowrap;
}

.description__list {
    border: 1px solid;
    padding: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: white;
    border: 0;
}

.description__item {
    display: flex;
}

.description__item div:first-of-type {
    width: 30%;
    border-right: 1px solid #C5C5C5;
    padding: 20px 30px;
}

.description__item div:last-of-type {
    width: 70%;
    padding: 20px 30px;
    font-weight: 400;
}

.flow-item-wrap {
    display: flex;
    gap: 50px;
    position: relative;
}

.flow-item-wrap:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: black;
    top: 50%;
}

.flow-item {
    width: calc(100% / 4);
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    border-radius: 100%;
    position: relative;
}

p.flow-item__num {
    position: absolute;
    font-size: 24px;
    color: white;
    position: absolute;
    left: 10px;
    top: 10px;
    background: #000000;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-radius: 40px;
    font-weight: 400;
    border: 1px solid white;
}

.flow-item p:last-of-type {
    font-size: 1.2em;
}

.flow-item:last-of-type {
    background: black;
}

.flow-item:last-of-type p {
    color: white;
}


.join-cta-wrap.join-cta-wrap--entry .cta-button {
    width: 90%;
}

.join-cta-wrap.join-cta-wrap--entry .cta-button p {
    padding: var(--fluid-20);
    font-size: 32px;
}


/* ========================================
   SP Nav Button: PCでは非表示
======================================== */
.sp-nav-btn {
    display: none;
}

.sp-nav {
    display: none;
}

br.sp-only {
    display: none;
}

[id] {
    scroll-margin-top: 160px;
}

/* ページ全体をスムーズに動かす */
html {
    scroll-behavior: smooth;
}



/* ========================================
   フォーム
======================================== */
.form-container.form-container--contact {
    max-width: 800px;
    margin: auto;
}

.form-step ul {
    display: flex;
    justify-content: center;
    padding: 50px 0;
    gap: 10px;
}

.form-step ul li {
    color: white;
    padding: 12px 20px;
    width: 100%;
    text-align: center;
    max-width: 220px;
    background: #9a696d;
}

.form-step ul li.active {
    background: #752d33;
}



textarea {
    border: 1px solid;
    border-radius: 5px;
    font-size: 16px;
    line-height: 2em;
    background: white;
    border-color: #d9d9d9;
    width: 100%;
    padding: 5px 10px;
    border: 0;
    max-height: 200px;
}

dl.form__item:last-of-type {
    border: 0;
}

input[type=submit] {
    padding: 15px;
    background: #C20000;
    min-width: 250px;
    color: white;
}

.form__submit {
    margin-top: 50px;
    text-align: center;
}

label {
    line-height: 0;
}

dt,
dd {
    font-weight: 500;
}

.form {
    margin: auto;
    max-width: 800px;
}

dl.form__item {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    border-bottom: 1px solid #ffffff;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-top: 0;
    font-family: "Noto Sans JP", sans-serif;
}

dl.form__item.form__item--f-start {
    display: flex;
    align-items: flex-start;
}

dl.form__item dt {
    width: 300px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
}

dl.form__item dd {
    width: calc(100% - 300px);
}

dt.form__label span {
    background: #9D1012;
    color: white;
    font-size: 14px;
    padding: 2px 5px;
    border-radius: 4px;
    margin-left: 16px;
    font-weight: normal;
    font-family: "Noto Sans JP", sans-serif;
}

.form-radio label,
.form-radio-group2 label {
    display: inline-block;
}

.form-radio label:not(:first-of-type) {
    margin-left: 15px;
}

.form-radio input+span {
    position: relative;
    display: block;
    font-size: 0.9375rem;
    line-height: 1;
    cursor: pointer;
    padding: 0px 0px 0px 1.5em;
}

.form-radio input+span::before {
    content: "";
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    background: rgb(255, 255, 255);
    border-width: 1px;
    border-style: solid;
    -o-border-image: initial;
    border-image: initial;
    border-radius: 5px;
    border: 0;
}

.form-radio input+span::after {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    top: 50%;
    left: 0.5rem;
    transform: translateY(-50%);
    opacity: 0;
    padding: 0.125rem;
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    -o-border-image: initial;
    border-image: initial;
    border-radius: 4px;
    background: rgb(0, 0, 0);
    transition: all 0.3s ease 0s;
}

.form-radio input:checked+span:after {
    opacity: 1;
}

input[type=text],
input[type=tel],
input[type=email],
select,
input[type=date] {
    border: 1px solid;
    border-radius: 5px;
    font-size: 16px;
    line-height: 2em;
    background: white;
    border: 0;
    width: 100%;
    padding: 5px 10px;
    height: 50px;
}

select,
input[type=date] {
    max-width: 200px;
    height: 45px;
}

.event__contact {
    padding-top: 100px;
}

.event__contact-title h4 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
}

.event__contact-title {
    text-align: center;
    margin-bottom: 40px;
}

.form-container.form-container--event {
    background: #F8F9E8;
    padding: 80px 60px;
    margin-top: 30px;
}

dl.form__item.zip {
    margin-bottom: 10px;
}

dl.form__item.zip .form-input p {
    display: flex;
    align-items: center;
    gap: 10px;
}

input.wpcf7-form-control.wpcf7-previous {
    padding: 15px;
    background: #a1a1a1;
    min-width: 150px;
    color: white;
}

.form__submit.form-submit.form-submit--confirm p {
    display: flex;
    justify-content: center;
    gap: 10px;
}

dd.form__radio.form-radio p span {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
    margin-left: 0;
}



dl.form__item p.note {
    font-size: 0.8em;
    font-weight: 400;
    margin-top: 5px;
}

dd.form__radio.form-radio p span span.wpcf7-list-item-label {
    padding-left: 50px;
}

dl.form__item.zip {
    border: 0;
    padding-bottom: 0;
}

dl.form__item.auto {
    padding-top: 10px;
}

.form-container.form-container--contact.form-container--confirm dl.form__item.zip {
    border-bottom: 1px solid white;
    padding-bottom: 30px;
    margin-bottom: 0;
}

.form__submit.form-submit.form-submit--confirm input:first-of-type {
    background: #c3c3c3;
}


.form__submit.form-submit input {
    transition: all 0.3s;
}

.form__submit.form-submit input:hover {
    background: var(--accent-yellow);
}

.contact-desc {
    padding: 30px;
    background: white;
    text-align: center;
    max-width: 800px;
    margin: auto;
    font-weight: 500;
}

.step div {
    width: calc(100% / 3);
    background: #BDC3D4;
    text-align: center;
    padding: 10px;
    color: white;
    margin-top: 40px;
    margin-bottom: 20px;
}

.step {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    margin: auto;
    padding: 20px;
}

.step div.active {
    background: #414757;
}


.line-banner img {
    max-width: 560px;
}

.line-banner {
    display: flex;
    justify-content: center;
}

.form__submit.form-submit input {
    border-radius: 40px;
    border: 0;
    background: black;
    font-size: 20px;
    padding: 20px 40px;
}


/* ラジオボタンとチェックボックスの両方にチェック時の表示を適用 */
.form-radio input:checked+span::after,
.form-check input:checked+span::after {
    opacity: 1;
}

/* acceptanceタグ特有の構造に合わせた調整 */
.form-check .wpcf7-list-item {
    margin-left: 0;
    position: relative;
    display: block;
}

.form-check input {
    /* 本物のチェックボックスは隠すが、クリック判定は残すかスパンで代用 */
    position: absolute;
    opacity: 0;
}

.form-check .wpcf7-list-item-label {
    position: relative;
    display: block;
    font-size: 0.9375rem;
    line-height: 30px;
    /* 枠の高さに合わせる */
    cursor: pointer;
    padding-left: 40px;
    /* 枠の分だけ左を空ける */
}

/* 外枠（四角） */
.form-check .wpcf7-list-item-label::before {
    content: "";
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 5px;
    border: 1px solid #d9d9d9;
    /* 枠線が見えないと困る場合は追加 */
}

/* 中身（チェックマーク/点） */
.form-check .wpcf7-list-item-label::after {
    content: "";
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    opacity: 0;
    border-radius: 2px;
    background: #000;
    transition: all 0.3s ease;
}

/* チェックされたら表示 */
.form-check input:checked+.wpcf7-list-item-label::after {
    opacity: 1;
}


.form__input.form-check {
    display: flex;
    justify-content: center;
    padding-right: 80px;
    margin-top: 30px;
}



.thanks-content h3 {
    font-size: 28px;
}

.thanks-content {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 40px;
    gap: 30px;
    max-width: 1000px;
    margin: auto;
}

.thanks-content p {
    font-weight: 500;
}

br.sp-br {
    display: none;
}

.privacy-desc {
    background: white;
    padding: 40px;
    font-family: "Noto Sans JP", sans-serif;
}

.privacy-item-wrap {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.privacy-item p {
    font-weight: 400;
}

.privacy-item h4 {
    padding-bottom: 20px;
    border-bottom: 1px solid white;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.privacy-item ul {
    list-style: decimal;
    padding-left: 30px;
    font-weight: 400;
}

section.page-content.page-content--privacy {
    max-width: 1600px;
    margin: auto;
}

span.wpcf7-form-control.wpcf7-acceptance a {
    text-decoration: underline;
}

/* ========================================
   Responsive: 1000px以下
======================================== */
@media (max-width: 800px) {
    .privacy-desc {
        padding: 20px;
    }

    br.sp-none {
        display: none;
    }

    br.sp-br {
        display: inline;
    }

    /* ---- Hamburger Button ---- */
    .sp-nav-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        z-index: 200;
        position: relative;
        flex-shrink: 0;
    }

    .mainvisual-image img {
        width: 90%;
    }

    .sp-nav-btn span {
        display: block;
        width: 26px;
        height: 2px;
        background: var(--black);
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .sp-nav-btn.is-open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .sp-nav-btn.is-open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .sp-nav-btn.is-open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* SP Nav overlay */
    .sp-nav {
        position: fixed;
        inset: 0;
        background: white;
        z-index: 150;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s ease;
    }

    .sp-nav.is-open {
        opacity: 1;
        pointer-events: all;
    }

    .sp-nav>ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .sp-nav>ul li a {
        text-decoration: none;
        color: var(--black);
        font-size: 18px;
        letter-spacing: 0.1em;
    }

    .sp-nav .sp-nav__contact .contact-btn a {
        min-width: 200px;
        font-size: 16px;
        padding: 20px 36px;
    }

    .sp-nav__sns {
        display: flex;
        gap: 24px;
        align-items: center;
    }

    .sp-nav__sns img {
        width: 36px;
        height: 36px;
        object-fit: contain;
    }

    /* PC Nav hidden */
    ul.pc-nav {
        display: none;
    }

    /* ---- Header ---- */
    header.header {
        padding: 14px 20px;
        align-items: center;
        z-index: 200;
    }

    header .logo {
        width: 50px;
    }

    .header.scroll .logo {
        width: 64px;
    }

    /* ---- Main Visual ---- */
    .mainvisual-image {
        width: 100%;
        height: 90svh;
    }

    .sns-link-mv {
        display: none;
    }

    h2.catch {
        right: 0;
        bottom: 40px;
        font-size: 54px;
        gap: 6px;
    }

    /* ---- Section padding ---- */
    .top-content,
    .page-content {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    main {
        padding-bottom: 60px;
    }

    /* ---- About ---- */
    section.top-about.top-content {
        padding-top: 50px;
    }

    .about-content {
        flex-direction: column-reverse;
        gap: 30px;
        padding-top: 20px;
    }

    br.sp-only {
        display: inline;
    }

    h2.about-title {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        display: block;
        width: 100%;
        font-size: 28px;
        letter-spacing: 0.06em;
        line-height: 2;
    }

    h2.about-title>span {
        display: inline;
        background: white;
        padding: 4px 8px;
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
    }

    h2.about-title>span:nth-child(1) {
        padding-right: 0;
    }

    h2.about-title>span:nth-child(2) {
        padding-left: 0;
    }

    h2.about-title span.height-none {
        display: inline;
        padding: 0;
        background: transparent;
    }

    p.font-en.title-en {
        font-size: clamp(54px, 11vw, 70px);
        padding-bottom: 10px;
    }

    p.font-en.title-en.title-en--about {
        position: relative;
        left: auto;
        top: auto;
        color: #cccccc;
        transform: none;
        display: none;
    }

    .title-en--about {
        color: #cccccc;
        transform: none;
    }

    .about-body {
        padding-top: 0;
    }

    .about-contanct {
        margin-top: 40px;
    }

    .about-contanct p {
        font-size: 14px;
    }

    /* ---- Service (top) ---- */
    .top-service__body {
        flex-direction: column;
        gap: 16px;
        margin-right: 0;
        padding-left: 20px;
        padding-right: 20px;
    }

    .top-service__image {
        display: none;
    }

    h2.top-service__title {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        display: block;
        width: 100%;
        font-size: 24px;
        letter-spacing: 0.08em;
        order: -1;
        line-height: 2.2;
    }

    h2.top-service__title>span {
        display: inline;
        background: white;
        padding: 4px 8px;
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
    }

    h2.top-service__title>span:nth-child(1) {
        padding-right: 0;
    }

    h2.top-service__title>span:nth-child(2) {
        padding-left: 0;
    }

    h2.top-service__title .tate-cyu-yoko {
        display: inline;
        transform: none;
        width: auto;
        height: auto;
        line-height: inherit;
        margin: 0;
        padding: 0;
    }

    .top-service__info {
        width: 100%;
    }

    p.top-service__desc {
        padding-left: 0;
    }

    .view-btn.view-btn--service {
        position: static;
        display: flex;
        justify-content: flex-end;
        margin-top: 20px;
    }

    .top-service__card-wrapper {
        grid-template-columns: repeat(2, 1fr);
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 40px;
        margin-top: 30px;
    }

    .arrow-mini {
        display: none;
    }

    .top-service__card-title p {
        padding: 0;
    }

    .top-company__list {
        gap: 10px;
    }


    /* ---- Work (top) ---- */
    .view-btn.view-btn--work {
        position: static;
        display: flex;
        justify-content: flex-end;
        margin-top: 16px;
        width: 100%;
    }

    /* ---- Join ---- */
    .join-cta-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .join-cta a {
        padding: 40px 20px;
        border-radius: 24px;
        gap: 20px;
    }

    .join-cta h3 {
        font-size: 20px;
        line-height: 1.7em;
        text-align: center;
    }

    .join-cta p {
        font-size: 14px;
        text-align: center;
    }

    .cta-button p {
        padding: 14px 32px;
        font-size: 14px;
        border-radius: 30px;
        min-width: auto;
    }

    /* ---- Company ---- */
    .top-company__list {
        padding: 20px;
    }

    .top-company__item {
        flex-direction: column;
    }

    .top-company__item div:first-of-type {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #C5C5C5;
        padding: 10px 0;
        box-sizing: border-box;
    }

    .top-company__item div:last-of-type {
        width: 100%;
        padding: 10px 0;
        box-sizing: border-box;
    }

    .top-company__item div:last-of-type iframe {
        width: 100%;
        height: 50vw;
    }

    /* ---- Gallery ---- */
    .galley-list.top-content img {
        width: calc(50% - 10px);
    }

    /* ---- Background stripes ---- */
    .bg-item {
        width: 400%;
        right: -200%;
        height: 90vw;
    }

    .bg-item:nth-child(2) {
        margin-top: 280vw;
    }

    .bg-item:nth-child(3) {
        margin-top: 800vw;
    }

    /* ---- CTA ---- */
    section.cta {
        padding-left: 16px;
        padding-right: 16px;
    }

    .contact-cta a {
        padding: 40px 20px;
        border-radius: 24px;
        gap: 20px;
    }

    .contact-cta h3 {
        font-size: 20px;
        text-align: center;
    }

    /* ---- Footer ---- */
    footer {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }

    .footer-menu {
        width: 100%;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 24px;
    }

    ul.footer-nav__item {
        width: calc(50% - 12px);
    }

    .footer-nav-sub {
        padding-top: 24px;
    }

    .footer-nav-sub ul {
        gap: 16px;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    /* ---- Page title (内部ページ) ---- */
    .page-title {
        padding: 100px 20px 20px;
        gap: 12px;
    }

    .page-title h2 {
        font-size: clamp(46px, 12vw, 76px);
        text-align:center;
    }

    .page-title p {
        font-size: 15px;
    }

    /* ---- Page link ---- */
    .page-link.page-content ul {
        gap: 10px;
    }

    .page-link.page-content ul li a {
        font-size: 16px;
    }


    .page-link.page-content ul li {
        width: calc(50% - 8px);
    }

    /* ---- Service page ---- */
    ul.service-list.font-noto li {
        width: 100%;
        padding: 10px;
    }

    .service-table__item div {
        line-height: 1.2em;
    }

    .service-area {
        flex-direction: column;
        gap: 20px;
    }

    .service-area img {
        width: 100%;
    }

    /* ---- Work card (一覧ページ) ---- */
    .work__card-wrapper {
        gap: 16px;
    }

    .work__card {
        width: calc(50% - 8px);
    }

    /* ---- Single work ---- */
    .before-after {
        flex-direction: column;
        gap: 30px;
    }

    .before,
    .after {
        width: 100%;
    }

    .bf-arrow {
        padding-bottom: 0;
        transform: rotate(90deg);
    }

    .single-desc {
        padding: 20px;
    }

    .single-title h3 {
        line-height: 1.4em;
        font-size: 24px;
        margin-top: 0;
        margin-bottom: 40px;
    }

    p.single-title__date.font-en {
        padding: 5px 10px;
        font-size: 14px;
    }

    /* ---- Description list ---- */
    .description__list {
        padding: 20px;
    }

    .description__item {
        flex-direction: column;
    }

    .description__item div:first-of-type {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #C5C5C5;
        padding: 10px 0;
        box-sizing: border-box;
    }

    .description__item div:last-of-type {
        width: 100%;
        padding: 10px 0;
        box-sizing: border-box;
    }

    /* ---- Voice section ---- */
    .voice-item-wrap {
        gap: 60px;
    }

    .voice-item {
        flex-direction: column;
        gap: 30px;
    }

    .voice-image {
        width: 100%;
    }

    .qa {
        width: 100%;
    }

    .voice-item:before {
        display: none;
    }

    /* ---- Flow ---- */
    .flow-item-wrap {
        flex-direction: column;
        gap: 16px;
    }

    .flow-item-wrap:before {
        display: none;
    }

    .flow-item {
        width: 100%;
        aspect-ratio: auto;
        min-height: 80px;
        border-radius: 16px;
        padding: 20px;
        box-sizing: border-box;
    }

    /* ---- Join us 装飾画像 ---- */
    img.join-01,
    img.join-02,
    img.join-03,
    img.join-04 {
        display: none;
    }

    .join-us h3 {
        line-height: 1.2em;
    }

    .join-us h3 span:first-of-type {
        bottom: -34px;
    }

    .join-us h3 span:first-of-type {
        left: -38px;
    }

    .join-us h3 span:last-of-type {
        right: -30px;
    }

    .join-us__desc span {
        display: inline-block;
        background: none;
        padding: 0;
        text-align: left;
    }

    .join-us__desc {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        position: relative;
        z-index: 2;
    }

    /* ---- Entry CTA ---- */
    .join-cta-wrap.join-cta-wrap--entry .cta-button p {
        font-size: 18px;
    }

    section.voice.page-content {
        margin-top: 50px;
    }

    .description__list {
        gap: 10px;
    }

    /* ---- Contact / Confirm / Thanks ---- */
    .step {
        gap: 6px;
        padding: 10px 0;
        margin-bottom: 20px;
    }

    .step div {
        font-size: 13px;
        padding: 10px 4px;
        margin-bottom: 0;
    }

    .line-banner img {
        max-width: 100%;
    }

    .contact-desc {
        padding: 16px;
        margin-bottom: 40px;
    }

    .line-banner {
        margin-bottom: 40px;
    }

    dl.form__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    dl.form__item.form__item--f-start {
        align-items: flex-start;
    }

    dl.form__item dt {
        width: 100%;
        font-size: 16px;
    }

    dl.form__item dd {
        width: 100%;
        margin-left: 0;
    }


    .form__input.form-check {
        padding-right: 0;
    }

    .form__submit {
        margin-top: 30px;
    }

    input[type=submit] {
        min-width: auto;
        width: 100%;
        max-width: 320px;
    }

    .form__submit.form-submit.form-submit--confirm p {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .step div {
        margin-top: 0;
    }

    input.wpcf7-form-control.wpcf7-previous {
        min-width: auto;
        width: 100%;
        max-width: 320px;
    }

    .thanks-content {
        padding: 40px 20px;
    }

    .thanks-content h3 {
        font-size: 20px;
    }
}

/* ---- 600px以下 ---- */
@media (max-width: 600px) {
    .page-link.page-content ul li {
        width: 100%;
    }

    .work__card {
        width: 100%;
    }

    ul.footer-nav__item {
        width: 100%;
    }
}