/* ============================================================
   デザイントークン
   ============================================================ */
:root {
    /* カラー */
    --cream:  #F5F0E8;
    --navy:   #364457;   /* Business/section背景 */
    --dnavy:  #1F2022;   /* Company section背景 */
    --teal:   #0E9A8F;
    --black:  #101010;   /* ライト背景のテキスト */
    --white:  #FFFFFF;

    /* フォント */
    --font-mincho: 'Shippori Mincho B1', serif;
    --font-jp:     'Noto Sans JP', sans-serif;
    --font-en:     'DM Sans', sans-serif;
    --font-brand:  'Orbitron', sans-serif;

    /* レイアウト */
    --container:  1280px;   /* 80px margins on 1440px */
    --gutter:     80px;
    --header-h:   72px;
    --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   テキストコンポーネント（サイズ固定）
   ============================================================ */

/* ゴースト見出し — 100px */
.t-ghost {
    font-family: var(--font-mincho);
    font-size: 100px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}
.t-ghost--dark  { color: rgba(245, 240, 232, 0.4); }
.t-ghost--light { color: rgba(16,  16,  16,  0.4); }

/* Hero タイトル — 74px */
.t-hero-title {
    font-family: var(--font-mincho);
    font-size: 74px;
    font-weight: 800;
    line-height: 1;
}

/* h2 相当 — 48px */
.t-h2 {
    font-family: var(--font-mincho);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

/* CTA タイトル — 44px */
.t-h2-cta {
    font-family: var(--font-mincho);
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
}

/* h3 相当 — 24px */
.t-h3 {
    font-family: var(--font-mincho);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
}

/* キャッチフレーズ — 24px ExtraBold */
.t-catch {
    font-family: var(--font-mincho);
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

/* 本文（標準）— 16px / line-height 1.8 */
.t-body {
    font-family: var(--font-jp);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

/* 本文（小）— 12px / line-height 1.2 */
.t-small {
    font-family: var(--font-jp);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
}

/* セクションラベル — 16px teal */
.t-label {
    font-family: var(--font-jp);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--teal);
}

/* ナビゲーション — 16px DM Sans */
.t-nav {
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}

/* ============================================================
   リセット
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* fixed要素のwidth:100%がviewport基準になるよう両方に設定 */
}
body {
    font-family: var(--font-jp);
    font-weight: 400;
    color: var(--black);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { border: none; cursor: pointer; background: none; font: inherit; }

/* ============================================================
   レイアウト
   ============================================================ */
.container {
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ============================================================
   セクションヘッダー（label + line + ghost text パターン）
   ============================================================ */
.section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 180px 0 0;
    width: 600px;
    max-width: 1440px;
    margin: 0 auto;
}
.section-head__label-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    width: 100%;
}
.section-head__label { color: var(--teal); }
.section-head__line {
    width: 57px;
    height: 1px;
    background: var(--teal);
}
.section-head__ghost {
    width: fit-content;
}

/* light背景用 */
.section-head--light .section-head__ghost { color: rgba(16, 16, 16, 0.4); }
.section-head--light .section-head__label { color: var(--teal); }
.section-head--light .section-head__line  { background: var(--teal); }

/* ============================================================
   アーチトップ（セクション上部の丸み）
   ============================================================ */
.arch-top {
    border-radius: 280px 280px 0 0;
}

/* ============================================================
   円形アローボタン（
   ============================================================ */
   .cursor_icon {
    width: 36px;
   }

/* ============================================================
   フェードアップアニメーション
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   GET IN TOUCH（全ページ共通）
   ============================================================ */
.cta-wrap {
    background: var(--cream);
    padding: 0 80px;
}
.cta-box {
    display: block;
    background: var(--teal);
    border-radius: 12px;
    height: 400px;
    position: relative;
    overflow: hidden;
    cursor: url('../img/contact_cursor.png'), pointer;
}

/* 主コンテンツブロック（124/1280=9.69%, 1032/1280=80.625%） */
.cta-box__inner {
    position: absolute;
    left: 9.69%;
    top: 44px;
    width: 80.625%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* ラベル + ゴーストテキストラッパー（180/1032=17.44% of inner） */
.cta-box__label-ghost {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 17.44%;
    width: 100%;
}

/* ラベル（お問い合わせ + 下線） */
.cta-box__label-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}
.cta-box__label-text {
    color: #F5F0E8;
}
.cta-box__label-line {
    width: 84px;
    height: 1px;
    background: #F5F0E8;
}

/* ゴーストテキスト */
.cta-box__ghost {
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

/* タイトル + 説明（809/1032=78.39% of inner） */
.cta-box__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 78.39%;
    gap: 12px;
    margin-top: 24px;
}
.cta-box__title {
    color: #F5F0E8;
    width: 100%;
}
.cta-box__desc {
    color: #F5F0E8;
    width: 100%;
}

/* Contactリンク（1086/1280=84.84%, 320/400=80%） */
.cta-box__link {
    position: absolute;
    left: 84.84%;
    top: 80%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
    text-decoration: none;
}
.cta-box__link .btn-circle-arrow {
    background: rgba(255,255,255,0.3);
    color: #fff;
}

/* ============================================================
   フッター（全ページ共通）
   ============================================================ */
.site-footer {
    background: var(--cream);
    height: 186px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-footer__center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    width: 609px;
}
.site-footer__top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.site-footer__logo-img {
    width: 70px;
    height: auto;
    object-fit: contain;
    display: block;
}
.site-footer__nav {
    display: flex;
    align-items: center;
    gap: 36px;
}
.site-footer__nav a {
    color: var(--black);
    font-size: 16px;
    font-family: var(--font-jp);
    font-weight: 400;
    line-height: 1.8;
    transition: opacity 0.3s;
}
.site-footer__nav a:hover { opacity: 0.6; }
.site-footer__address {
    color: var(--black);
    text-align: center;
    font-size: 16px;
}
/* コピーライト：縦書き・右端 */
.site-footer__copy {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    white-space: nowrap;
    color: rgba(16, 16, 16, 0.4);
    font-size: 12px;
    transform-origin: center center;
}

/* ============================================================
   SP（〜768px）
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --gutter: 16px;
    }

    .t-h3 {
        line-height: 1.5;
        text-align: center;
    }

    .t-ghost {
        font-size: 40px;
    }

    .arch-top {
        border-radius: 60px 60px 0 0;
    }

    .section-head {
        width: 100%;
        padding: 0 16px;
    }

    .section-head__label-wrap {
        align-items: center;
    }

    /* CTA BOX */
    .cta-wrap {
        padding: 0 16px;
    }

    .cta-box {
        height: auto;
        min-height: 260px;
        padding: 0;
    }

    .cta-box__inner {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        padding: 48px 24px 32px;
    }

    .cta-box__label-ghost {
        padding-right: 0;
    }

    .cta-box__text {
        width: 100%;
        margin-top: 16px;
        gap: 40px;
    }

    .cta-box__title {
        font-size: 24px;
    }

    .cta-box__link {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-top: 24px;
    }

    /* フッター SP レイアウト */
    .site-footer {
        height: auto;
        padding: 40px 20px 32px;
        display: block;
    }

    .site-footer__center {
        position: relative;
        left: auto;
        transform: none;
        width: 100%;
        gap: 24px;
    }

    .site-footer__top-row {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .site-footer__nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 24px;
    }

    .site-footer__nav a {
        font-size: 14px;
    }

    .site-footer__copy {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        display: block;
        text-align: center;
        margin-top: 24px;
    }
}
