:root {
    --bg: #0a0a0a;
    --surface: #121212;
    --accent: #c5a059;
    --text-primary: #ffffff;
    --text-secondary: #a1a1a1;
    --border: rgba(255, 255, 255, 0.08);
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text-primary);
    font-family: 'Inter', 'Noto Serif JP', serif;
    line-height: 1.8;
    overflow-x: hidden;
}

/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* --- ロゴのスタイル --- */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-fast);
}

.logo-svg {
    height: 28px; /* ロゴの大きさ：品よく見えるサイズに調整 */
    width: auto;
    /* SVGが黒色の場合は、下の1行を有効にすると白く光ります */
    /* filter: brightness(0) invert(1); */
}

.logo-link:hover {
    opacity: 0.7;
}

/* --- キャッチコピーのサイズ調整 (前回より20%アップ) --- */
.catchphrase {
    font-family: 'Noto Serif JP', serif;
    /* 前回の 2.1rem から 2.5rem へ引き上げ */
    font-size: clamp(1.6rem, 4.5vw, 2.5rem) !important; 
    font-weight: 300;
    margin-bottom: 45px; /* サイズに合わせて余白も微調整 */
    letter-spacing: 0.25em;
    line-height: 1.7;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
}

/* ヒーローセクション全体の微調整 */
.hero p {
    font-size: 0.95rem; /* キャッチコピーに合わせて説明文も少し控えめに */
    opacity: 0.8;
    margin-bottom: 50px;
}



/* --- Header --- */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 30px 5%; display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(to bottom, var(--bg), transparent);
    backdrop-filter: blur(8px);
}
.logo { font-size: 1.3rem; font-weight: 600; letter-spacing: 0.4em; }
nav a {
    color: var(--text-secondary); text-decoration: none; font-size: 0.75rem; 
    letter-spacing: 0.1em; margin-left: 40px; transition: 0.3s; position: relative;
}
nav a:hover { color: var(--accent); }
nav a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px;
    background: var(--accent); transition: 0.3s;
}
nav a:hover::after { width: 100%; }

/* --- Hero (Background Image Applied) --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    background-image: 
        linear-gradient(to bottom, rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.7)),
        url('AdobeStock_688862704_Preview.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero h1 {
    font-family: 'Noto Serif JP';
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 0.2em;
    line-height: 1.6;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.hero p {
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 60px;
    font-weight: 300;
    letter-spacing: 0.1em;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 22px 65px;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    transition: var(--transition-fast);
    backdrop-filter: blur(5px);
}
.btn:hover { background: var(--accent); color: #000; box-shadow: 0 10px 30px rgba(197, 160, 89, 0.2); }

/* --- Grid & Cards --- */
section { padding: 140px 10%; border-bottom: 1px solid var(--border); }
.label { color: var(--accent); font-size: 0.7rem; letter-spacing: 0.5em; display: block; margin-bottom: 25px; }
.section-title { font-family: 'Noto Serif JP'; font-size: 2.4rem; font-weight: 300; margin-bottom: 60px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 50px; }
.card {
    background: var(--surface);
    padding: 60px 45px;
    border: 1px solid var(--border);
    transition: var(--transition-fast);
}
.card:hover { border-color: var(--accent); transform: translateY(-10px); }
.card-num { color: var(--accent); font-size: 0.7rem; letter-spacing: 0.2em; }
.card h3 { font-family: 'Noto Serif JP'; margin: 25px 0 15px; font-weight: 300; font-size: 1.4rem; }
.card p { color: var(--text-secondary); font-size: 0.95rem; font-weight: 200; }

/* --- Outline Table --- */
.outline-container { max-width: 900px; margin: 0 auto; }
table { width: 100%; border-collapse: collapse; margin-top: 40px; }
th, td { padding: 25px 20px; border-bottom: 1px solid var(--border); text-align: left; }
th { color: var(--accent); width: 30%; font-weight: 300; font-size: 0.9rem; }
td { color: var(--text-secondary); font-size: 0.95rem; }

footer { padding: 80px 10%; text-align: center; color: var(--text-secondary); font-size: 0.75rem; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    section { padding: 100px 5%; }
}

/* --- ハンバーガーメニュー追加スタイル --- */
.hamburger {
    display: none; /* PCでは非表示 */
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 2000;
}
.hamburger span {
    position: absolute;
    width: 100%;
    height: 1px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

/* 背景オーバーレイ */
.nav-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.98);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}
.nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* --- スマートフォン・タブレット対応 (900px以下) --- */
@media (max-width: 900px) {
    .hamburger { display: block; }

    nav {
        position: fixed;
        top: 0;
        right: -100%; /* 最初は画面外 */
        width: 100%;
        height: 100vh;
        background: var(--bg);
        display: flex; /* ここが重要：flexにしておく */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: var(--transition-slow);
        z-index: 1000;
        visibility: hidden; /* 閉じている時は見えないように */
    }

    /* メニューが開いた時 */
    nav.is-open {
        right: 0;
        visibility: visible;
    }

    nav a {
        font-size: 1.5rem;
        letter-spacing: 0.2em;
    }

    /* ボタンの「×」変形 */
    .hamburger.is-active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
    .hamburger.is-active span:nth-child(2) { opacity: 0; }
    .hamburger.is-active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
    
    /* 既存コンテンツの調整 */
    section { padding: 100px 5%; }
    .catchphrase { font-size: 1.8rem; }
    .section-title { font-size: 2rem; }
}


/* --- ハンバーガーボタン自体の設定 --- */
.hamburger {
    display: none; /* PCでは隠す */
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 2000;
}
.hamburger span {
    position: absolute;
    width: 100%;
    height: 1px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

/* スマホ表示 (900px以下) */
@media (max-width: 900px) {
    .hamburger { display: block; } /* ボタンを表示 */

    header nav {
        position: fixed;
        top: 0;
        right: -100% !important; /* 強制的に画面外へ隠す */
        width: 100%;
        height: 100vh;
        background: var(--bg); /* 元の黒い背景 */
        display: flex !important; /* noneを打ち消して表示 */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        visibility: hidden;
    }

    /* JSでクラスがついた時 */
    header nav.is-open {
        right: 0 !important; /* 画面内にスライド */
        visibility: visible;
    }

    /* ボタンが「×」になるアニメーション */
    .hamburger.is-active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
    .hamburger.is-active span:nth-child(2) { opacity: 0; }
    .hamburger.is-active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
}


/* --- 以下の内容を style.css の最下部に追記 --- */

/* ハンバーガーボタンの基本（PCでは隠す） */
.hamburger {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 2000;
}
.hamburger span {
    position: absolute;
    width: 100%;
    height: 1px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

/* スマホ表示時の設定 (900px以下) */
@media (max-width: 900px) {
    .hamburger { display: block; } /* ボタンを表示 */

    header nav {
        position: fixed;
        top: 0;
        right: -100% !important; /* 画面右外に隠す */
        width: 100%;
        height: 100vh;
        background: var(--bg); /* style.cssで定義されている黒背景 */
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        visibility: hidden;
    }

    /* メニューが開いた時 */
    header nav.is-open {
        right: 0 !important;
        visibility: visible;
    }

    /* ボタンが×になるアニメーション */
    .hamburger.is-active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
    .hamburger.is-active span:nth-child(2) { opacity: 0; }
    .hamburger.is-active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
}


/* --- スマホ・タブレット表示の最適化 (900px以下) --- */
@media (max-width: 900px) {
    /* 1. ヘッダーの高さ分、コンテンツを下げる */
    .hero {
        min-height: 100vh; /* 画面いっぱいの高さを確保 */
        padding-top: 120px !important; /* キャッチコピーが隠れないよう上部余白を確保 */
        display: flex;
        flex-direction: column;
        justify-content: center; /* 中央に配置 */
        background-attachment: scroll !important; /* スマホでの背景拡大バグを防ぐ */
        background-position: center center !important; /* 画像の中心を見せる */
        background-size: cover !important; /* 画像を画面に収める */
    }

    /* 2. キャッチコピーのサイズと改行の調整 */
    .catchphrase {
        font-size: 1.3rem !important; /* フォントを読みやすく小さく調整 */
        line-height: 1.6 !important;
        margin-bottom: 25px !important;
        text-align: left;
        word-break: keep-all; /* 単語の途中で変な改行を防ぐ */
        overflow-wrap: break-word;
    }

    /* 3. ヒーローエリアのリード文（説明文） */
    .hero p {
        font-size: 0.85rem !important;
        line-height: 1.7 !important;
        color: var(--text-secondary);
    }

    /* 4. セクション全体の余白調整 */
    section {
        padding: 80px 5% !important; /* 左右の余白を少し広げる */
    }

    /* 5. 会社概要テーブルの調整 */
    .outline-table th, .outline-table td {
        display: block; /* スマホでは縦に並べる */
        width: 100%;
        border-bottom: none;
        padding: 5px 0;
    }
    .outline-table th {
        color: var(--accent);
        font-size: 0.8rem;
        margin-top: 15px;
    }
}


/* --- スマホ表示の最終調整 (900px以下) --- */
@media (max-width: 900px) {
    /* PC用の改行を無効化し、スマホ専用の改行を有効化 */
    .catchphrase br {
        display: none; /* 一旦すべての改行を無視 */
    }
    .catchphrase br.sp-only {
        display: block; /* 指定した場所だけ改行 */
    }

    /* ヒーローエリアの調整 */
    .hero {
        min-height: 100vh;
        padding: 100px 20px 60px !important; /* 上部の余白を確保 */
        display: flex;
        flex-direction: column;
        justify-content: center; /* 垂直中央 */
        align-items: center;    /* 水平中央 */
        text-align: center;     /* テキストを中央揃え */
    }

    .catchphrase {
        font-size: 1.6rem !important;
        line-height: 1.7 !important;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        /* 指定通り中央揃えに */
        text-align: center !important; 
    }

    /* 説明文も中央に */
    .hero p {
        text-align: center;
        font-size: 0.9rem;
        margin: 0 auto;
        max-width: 90%;
    }

    /* 背景画像のバグ対策を強化 */
    .hero {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center 20% !important; /* 画像のやや上側を中心に */
    }
}

/* PCではスマホ用改行を隠す */
@media (min-width: 901px) {
    .sp-only {
        display: none;
    }
}


@media (max-width: 900px) {
    /* 1. キャッチコピーのサイズをPCの80%程度に縮小し、中央揃えを強化 */
    .catchphrase {
        font-size: 1.30rem !important; /* PC版から約80%に縮小調整 */
        line-height: 1.8 !important;
        text-align: center !important;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        word-break: keep-all; /* 単語の途中で切れないように */
        overflow-wrap: break-word;
    }

    /* スマホ専用改行の有効化設定 */
    .catchphrase br {
        display: none; /* デフォルトの改行を解除 */
    }
    .catchphrase br.sp-only {
        display: block; /* 指定箇所のみ改行 */
    }

    /* 2. ヒーローエリア全体のズレを解消 */
    .hero {
        min-height: 100vh;
        padding: 120px 20px 60px !important; /* 上部の余白をしっかり確保 */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        /* 背景画像が拡大されすぎないよう調整 */
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
    }

    /* 3. 説明文も中央揃え */
    .hero p {
        text-align: center !important;
        margin: 0 auto !important;
        font-size: 0.85rem;
        max-width: 90%;
    }
}

/* PC用：スマホ専用改行を隠す（メディアクエリの外に記述） */
.sp-only {
    display: none;
}


@media (max-width: 900px) {
    /* --- 中略（既にある設定はそのまま） --- */

    /* 4. ヒーローエリア内のリード文の調整 */
    .hero p {
        text-align: center !important;
        margin: 0 auto 40px !important; /* 下に40pxの余白を追加 */
        font-size: 0.85rem;
        line-height: 1.8;
        max-width: 90%;
        color: var(--text-secondary);
    }

    /* 5. ボタン自体のサイズ微調整（スマホで押しやすく） */
    .btn {
        width: 100%;
        max-width: 280px; /* 横に広がりすぎないよう制限 */
        padding: 18px 30px !important;
        display: inline-block;
    }
}


@media (max-width: 900px) {
    /* --- 既存の設定の下に追記 --- */

    /* セクションのメイン見出し（SERVICE, OUTLINE, CONTACTなど）を70%に縮小 */
    .section-title {
        font-size: 1.68rem !important; /* 2.4rem × 0.7 = 1.68rem */
        margin-bottom: 40px !important;
        text-align: center;
    }

    /* カード内の小見出し（一貫した品質が〜, 本質を射抜く〜など）を70%に縮小 */
    .card h3 {
        font-size: 1.0rem !important; /* 1.4rem × 0.7 = 0.98rem → 1.0remで調整 */
        margin: 20px 0 10px !important;
        line-height: 1.5 !important;
        text-align: center;
    }

    /* CONTACTセクションの大きな見出しも調整 */
    #contact .section-title {
        font-size: 1.5rem !important;
        line-height: 1.6 !important;
    }

    /* カード全体のパディングもスマホ用に少し詰めると、より綺麗に見えます */
    .card {
        padding: 40px 25px !important;
        text-align: center;
    }
}


@media (max-width: 900px) {
    /* 1. ヒーローエリアの調整（左合わせ） */
    .hero {
        min-height: 100vh;
        padding: 120px 5% 60px !important; /* 上部の余白を確保し左右を5%に */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start; /* 要素を左側に寄せる */
        text-align: left;        /* テキストを左揃えに */
    }

    /* キャッチコピー（PC版の80%かつ左合わせ） */
    .catchphrase {
        font-size: 1.3rem !important;
        line-height: 1.7 !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        width: 100%;
    }

    /* リード文（左合わせとボタンへの余白） */
    .hero p {
        text-align: left !important;
        margin: 0 0 40px 0 !important; /* 下に40pxの余白、左は0 */
        font-size: 0.85rem;
        max-width: 100%;
    }

    /* 2. 各セクションの見出し（70%縮小 & 左合わせ） */
    .section-title {
        font-size: 1.68rem !important; /* PC版 2.4rem × 0.7 */
        margin-bottom: 40px !important;
        text-align: left !important;
    }

    /* 3. カード内の小見出し（70%縮小 & 左合わせ） */
    .card h3 {
        font-size: 1.0rem !important; /* PC版 1.4rem × 0.7 */
        margin: 25px 0 15px !important;
        line-height: 1.5 !important;
        text-align: left !important;
    }

    /* カード内のテキストも左合わせ */
    .card p {
        text-align: left !important;
    }

    /* カード自体のパディング調整 */
    .card {
        padding: 40px 30px !important;
    }

    /* 4. CONTACTセクションの見出し（70%縮小 & 左合わせ） */
    #contact .section-title {
        font-size: 1.5rem !important; /* PC版の約70% */
        text-align: left !important;
        line-height: 1.5 !important;
    }
    
    #contact p {
        text-align: left !important;
    }
}


@media (max-width: 900px) {
    /* --- 中略（既にある設定の下に追記または修正） --- */

    /* ヒーローエリアのリード文の調整 */
    .hero p {
        text-align: left !important;
        margin: 0 0 45px 0 !important;
        font-size: 0.85rem;
        line-height: 1.8;
        max-width: 100%;
        /* グレー(--text-secondary)から白に変更 */
        color: #ffffff !important; 
        opacity: 0.9; /* わずかに透過させると上品な白になります（お好みで） */
    }
}


/* --- Minimal Form Styles --- */
.form-container {
    max-width: 900px;
    margin: 40px 0 80px;
}

.minimal-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.form-group {
    margin-bottom: 40px;
}

.form-group label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 15px 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.4s ease;
    border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--accent);
}

.submit-button {
    background: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.submit-button:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* --- スマホ時の調整 --- */
@media (max-width: 900px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .concept-header .jp {
        font-size: 1.26rem !important; /* PC版の70% */
    }
}


/* --- Minimal Form Styles (Center Aligned) --- */
.form-container {
    max-width: 800px; /* 中央にまとめるため少し幅を絞る */
    margin: 40px auto 100px;
    padding: 0 5%;
}

.minimal-form {
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 40px;
    text-align: left; /* 入力項目ラベルと線は左寄せ（読みやすさのため） */
}

.form-group label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 15px 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.4s ease;
    border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--accent);
}

.submit-button {
    background: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.submit-button:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
    padding-bottom: 20px; /* ホバー時の動き */
}

/* --- スマホ時の調整 --- */
@media (max-width: 900px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .concept-header .jp {
        font-size: 1.26rem !important;
        text-align: center !important;
    }
    .form-container {
        padding: 0;
    }
}

/* --- 修正：送信ボタンを枠線デザインに変更 --- */
.submit-button {
    background: transparent;
    /* アンダーライン（border-bottom）を廃止し、全周の枠線にする */
    border: 1px solid var(--accent) !important; /* ゴールドの枠線 */
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.2em; /* INQUIRYボタンに合わせる */
    padding: 20px 40px; /* INQUIRYボタンと同じ余白 */
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    border-radius: 0; /* 角丸をなくす */
    text-decoration: none;
    text-transform: uppercase; /* 英字を大文字に（お好みで） */
}

/* ホバー時の挙動（INQUIRYボタンに合わせる：背景がゴールドに、文字が黒に） */
.submit-button:hover {
    background-color: var(--accent); /* 背景をゴールドに */
    color: #000 !important; /* 文字を黒に */
}

/* アロー（→）の調整 */
.submit-button .arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.submit-button:hover .arrow {
    transform: translateX(5px); /* ホバー時に矢印が少し右に動く */
}

/* --- スマホ時のボタン調整 (900px以下) --- */
@media (max-width: 900px) {
    .submit-button {
        width: 100%; /* スマホでは横幅いっぱいに */
        max-width: 320px; /* 広がりすぎないよう制限 */
        margin: 0 auto; /* 中央寄せ */
        display: block;
    }
}


/* --- 送信ボタンのデザイン統合 --- */
.submit-button {
    background: transparent;
    border: 1px solid var(--accent) !important;
    color: #ffffff !important; /* 通常時は白 */
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    padding: 20px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    border-radius: 0;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

/* ホバー時の挙動を INQUIRY ボタンと完全一致させる */
.submit-button:hover {
    background-color: var(--accent) !important;
    color: #000000 !important; /* ホバー時は文字を黒に */
}

/* スマホ時のボタン調整 */
@media (max-width: 900px) {
    .submit-button {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        display: block;
        padding: 18px 20px; /* スマホで少し高さを調整 */
    }
}

/* --- 送信ボタンのデザインを INQUIRY と完全一致させる --- */
.submit-button {
    background: transparent;
    border: 1px solid var(--accent) !important; /* 枠線をゴールドに */
    color: var(--accent) !important;            /* 文字色をゴールドに修正 */
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    padding: 20px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    border-radius: 0;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

/* ホバー時の挙動も INQUIRY と一致：背景ゴールド・文字黒 */
.submit-button:hover {
    background-color: var(--accent) !important;
    color: #000000 !important; /* ホバー時は文字を黒に反転 */
}

/* スマホ表示の調整 */
@media (max-width: 900px) {
    .submit-button {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        display: block;
        padding: 18px 20px;
    }
}

/* --- 送信ボタンのデザイン統合（ゴールド固定） --- */
.submit-button {
    background: transparent;
    border: 1px solid var(--accent) !important;
    color: var(--accent) !important; /* 文字色をゴールドに設定 */
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    padding: 20px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    border-radius: 0;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    text-decoration: none; /* リンクの下線を消す */
}

/* ホバー時は背景がゴールド、文字が黒に反転 */
.submit-button:hover {
    background-color: var(--accent) !important;
    color: #000000 !important;
}

/* スマホ時のボタン調整 */
@media (max-width: 900px) {
    .submit-button {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        display: block;
        padding: 18px 20px;
    }
}


/* CONTACTセクション内の見出しをゴールドに変更 */
#contact .section-title {
    color: var(--accent) !important;
}

/* もし「然るべき未来を〜」だけでなく、すべての大きな見出しをゴールドにしたい場合はこちら */
/*
.section-title {
    color: var(--accent);
}
*/


/* --- スマホ時のレスポンシブ調整 (900px以下) --- */
@media (max-width: 900px) {
    
    /* 1. キャッチコピーの大きさを85%に縮小 */
    /* 元が 1.45rem の場合、約 1.23rem に調整 */
    .catchphrase {
        font-size: 1.23rem !important; 
        line-height: 1.6 !important;
    }

    /* 2. 見出しの日本語のみ85%に縮小 */
    /* セクションタイトル（然るべき未来を〜 等）*/
    /* 元が 1.68rem の場合、約 1.42rem に調整 */
    .section-title {
        font-size: 1.42rem !important;
    }

    /* お問い合わせはこちらから（日本語見出し） */
    /* 元が 1.26rem（PCの70%）の場合、さらにその85%で約 1.07rem に調整 */
    .concept-header .jp {
        font-size: 1.07rem !important;
    }

    /* その他、カード内の見出し等も日本語であれば適用 */
    .card h3 {
        font-size: 0.85rem !important;
    }
}


/* --- スマホ時のレスポンシブ微調整 (900px以下) --- */
@media (max-width: 900px) {
    
    /* 1. トップのメインキャッチコピーを85%に縮小 */
    .catchphrase {
        font-size: 1.23rem !important; /* 1.45rem × 0.85 */
        line-height: 1.6 !important;
    }

    /* 2. 大きなセクションタイトル（日本語）を85%に縮小 */
    /* 「ブランド資産としての〜」「然るべき未来を〜」などが対象 */
    .section-title {
        font-size: 1.42rem !important; /* 1.68rem × 0.85 */
    }

    /* 3. 【元に戻す】カード内の見出し（統合設計思想 など） */
    /* ここは縮小せず、元のデザインサイズを維持します */
    .card h3 {
        font-size: 1.1rem !important; /* 元の適切なサイズに固定 */
    }

    /* 4. お問い合わせはこちらから（日本語）もセクションタイトルに合わせる */
    .concept-header .jp {
        font-size: 1.26rem !important; /* ここは以前設定したバランスを維持 */
    }
}

/* --- スマホ時のレスポンシブ微調整 (900px以下) --- */
@media (max-width: 900px) {
    
    /* 1. トップのメインキャッチコピーを85%に縮小（左寄せ維持） */
    .catchphrase {
        font-size: 1.23rem !important; /* 1.45rem × 0.85 */
        line-height: 1.6 !important;
        text-align: left !important;
    }

    /* 2. 大きなセクションタイトル（日本語）を85%に縮小（左寄せに変更） */
    .section-title {
        font-size: 1.42rem !important; /* 1.68rem × 0.85 */
        text-align: left !important;
    }

    /* 3. 英語の見出し・ラベルをすべて左寄せへ */
    /* INTEGRATION や THE SHIKARI VALUE などの小さな英語ラベル */
    .label, 
    .card-num, 
    .concept-header .en,
    #contact .label {
        text-align: left !important;
        display: block !important;
        width: 100% !important;
    }

    /* 4. コンタクトセクション内の要素も左寄せに統一 */
    #contact,
    #contact .price-list,
    #contact .statement-text,
    .concept-header {
        text-align: left !important;
    }

    /* フォームコンテナの余白調整 */
    .form-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
    }

    /* 5. カード内の日本語見出し（統合設計思想 など）は元のサイズを維持 */
    .card h3 {
        font-size: 1.1rem !important;
        text-align: left !important;
    }
}