/* ==========================================================================
   suehiro-theme / main.css — Phase 1 base
   出典: docs/design-spec.md (§2 デザイントークン / §3 レイアウト / §4 UIコンポーネント / §9 フッター)
   方針: 1ファイル運用 (styles.css + styles-v2.css 統合)。
        Phase 1 はトークンと骨格のみ。カード・セクション内訳は Phase 2 で追加。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. デザイントークン (design-spec.md §2)
   -------------------------------------------------------------------------- */
:root {
    /* Brand — フォレストグリーン系 */
    --navy-900: #1a3d2e;
    --navy-800: #234e3a;
    --navy-700: #2d6048;
    --navy-600: #3a7657;
    --navy-500: #4d8e6c;
    --navy-100: #e2ece6;
    --navy-50:  #f1f6f3;

    /* Accent — イナズマ赤 */
    --accent:      #b6342a;
    --accent-dark: #8d2620;
    --accent-soft: #f6ece9;

    /* Accent — アンティークゴールド / ライトグリーン (グリーン地の差し色) */
    --gold:        #c8a86b;
    --gold-light:  #9ccab1;

    /* Surface — ベージュ (インパクトタイルのメリハリ用) */
    --beige:       #ece3d0;
    --beige-line:  #ddd1b6;

    /* Neutral */
    --steel:       #6b7585;
    --steel-light: #adb5c1;
    --line:        #dee3eb;
    --line-soft:   #ebeef3;

    /* Surface */
    --paper:   #f7f6f2;
    --bg:      #ffffff;
    --bg-alt:  #f4f4ee;

    /* Text */
    --ink:      #1a2e25;
    --ink-soft: #44574e;

    /* Typography */
    --font-jp:       "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
    --font-serif-jp: "Noto Serif JP", "Yu Mincho", serif;
    --font-num:      "Inter", system-ui, sans-serif;
    --font-mono:     "JetBrains Mono", ui-monospace, monospace;

    /* Layout */
    --maxw:           1200px;
    --container-px:   28px;
    --section-py:     96px;
    --section-py-v2:  140px;
    --section-py-sp:  64px;

    /* Radius / Shadow */
    --radius-sm: 4px;
    --radius:    8px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 2px rgba(10, 31, 61, 0.06), 0 1px 3px rgba(10, 31, 61, 0.04);
    --shadow-md: 0 4px 14px rgba(10, 31, 61, 0.08), 0 1px 3px rgba(10, 31, 61, 0.04);
    --shadow-lg: 0 18px 40px rgba(10, 31, 61, 0.12);
}

/* --------------------------------------------------------------------------
   2. リセット & ベース
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: var(--font-jp);
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
    font-feature-settings: "palt" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}
ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}
button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}
:focus-visible {
    outline: 2px solid var(--navy-700);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   3. アクセシビリティユーティリティ
   -------------------------------------------------------------------------- */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
.skip-link:focus,
.screen-reader-text:focus {
    background: var(--bg);
    color: var(--accent);
    clip: auto !important;
    clip-path: none;
    display: block;
    font-size: 14px;
    font-weight: 600;
    height: auto;
    left: 16px;
    line-height: normal;
    padding: 12px 20px;
    text-decoration: underline;
    top: 16px;
    width: auto;
    z-index: 100000;
}

/* --------------------------------------------------------------------------
   4. レイアウト (design-spec.md §3)
   -------------------------------------------------------------------------- */
.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.section       { padding: var(--section-py) 0; }
.section-tight { padding: 64px 0; }
.section-alt   { background: var(--bg-alt); }
.section-dark  { background: var(--navy-900); color: #fff; }

.page-hero {
    background: var(--paper);
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--line);
}
.page-hero h1 {
    font-family: var(--font-serif-jp);
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 600;
    margin: 16px 0 12px;
}
.page-hero .lead {
    color: var(--ink-soft);
    max-width: 720px;
    font-size: 15px;
    line-height: 1.95;
}

/* --------------------------------------------------------------------------
   5. ボタン (design-spec.md §4.2)
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.15s;
    cursor: pointer;
}
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(3px); }

.btn-primary       { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-900); }

.btn-accent        { background: var(--accent); color: #fff; }
.btn-accent:hover  { background: var(--accent-dark); }

.tx-accent { color: var(--accent); }

.btn-ghost         { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn-ghost:hover   { background: var(--navy-50); }

/* 暗背景 (hero / section-dark) では .btn-ghost を白基調に反転
   背景は完全透過にして hero の濃緑をそのまま見せ、白文字＋太枠で
   solid な btn-light と視覚的にはっきり区別する。 */
.hero-v2 .btn-ghost,
.section-dark .btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 13px 21px; /* border 1px → 2px の差分を相殺して高さ揃え */
}
.hero-v2 .btn-ghost:hover,
.section-dark .btn-ghost:hover {
    background: #fff;
    color: var(--navy-900);
    border-color: #fff;
}

.btn-light         { background: #fff; color: var(--navy-800); border-color: var(--line); }
.btn-light:hover   { border-color: var(--navy-700); }

.btn-sm { padding: 8px 14px;  font-size: 13px; }
.btn-lg { padding: 18px 28px; font-size: 15px; }

/* --------------------------------------------------------------------------
   6. パンくず (design-spec.md §4.4)
   -------------------------------------------------------------------------- */
.crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--steel);
}
.crumb a:hover { color: var(--navy-700); }
.crumb .sep::before {
    content: "/";
    padding: 0 4px;
    color: var(--steel-light);
}

/* --------------------------------------------------------------------------
   7. タグチップ (design-spec.md §4.7)
   -------------------------------------------------------------------------- */
.tag {
    display: inline-block;
    font-size: 11px;
    padding: 3px 8px;
    background: var(--navy-50);
    color: var(--navy-700);
    border-radius: 2px;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   8. TipBar (design-spec.md §4.1)
   -------------------------------------------------------------------------- */
.tipbar {
    background: var(--navy-900);
    color: #cbd5e1;
    font-size: 12px;
    letter-spacing: 0.05em;
}
.tipbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 32px;
}
.tipbar-left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.tipbar-msg {
    color: inherit;
    text-decoration: none;
}
.tipbar-msg:hover { color: #fff; }
.tipbar-date {
    margin-right: 8px;
    font-family: var(--font-num);
    opacity: 0.7;
}
.tipbar .live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
}
.tipbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}
.tipbar-right a:hover { color: #fff; }
.tipbar-right .tel a {
    font-family: var(--font-num);
    color: #fff;
}

/* --------------------------------------------------------------------------
   9. Site Header (design-spec.md §4.1)
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.2s;
}
.site-header.scrolled {
    box-shadow: 0 1px 0 rgba(10, 31, 61, 0.06);
}
.site-header .container {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: 76px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--navy-800);
    color: #fff;
    font-family: var(--font-num);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    position: relative;
    border-radius: 2px;
}
.brand-mark::after {
    content: "";
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
}
.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
}
.brand-logo-img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 96px;
    object-fit: contain;
}
.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.brand-tag {
    font-size: 10px;
    color: var(--steel);
    letter-spacing: 0.04em;
}
.brand-name .ja {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-900);
}
.brand-name .ja span {
    font-size: 12px;
    margin-left: 4px;
    color: var(--ink-soft);
    font-weight: 500;
}
.brand-name .en-inline {
    font-family: var(--font-num);
    font-size: 10px;
    color: var(--steel);
    letter-spacing: 0.05em;
}

.nav-main { margin-left: auto; min-width: 0; }
.nav-main .nav-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 2px;
}
.nav-main a {
    display: inline-block;
    padding: 10px 11px;
    font-size: 13.5px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    color: var(--ink);
    white-space: nowrap;
}
.nav-main a:hover {
    color: var(--navy-700);
    border-bottom-color: var(--navy-700);
}
.nav-main a.active,
.nav-main .current-menu-item > a,
.nav-main .current_page_item > a {
    color: var(--navy-800);
    border-bottom-color: var(--accent);
}

/* SP用ハンバーガー (980px以下で表示) */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 4px;
}
.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy-900);
    transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   10. Site Footer (design-spec.md §9)
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 28px;
    font-size: 13px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}
.footer-grid h5 {
    font-size: 12px;
    color: #fff;
    letter-spacing: 0.1em;
    margin: 0 0 16px;
    font-weight: 700;
}
.footer-grid li { margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }

.footer-brand .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.footer-brand .brand-name .ja {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}
.footer-brand .brand-name .en-inline {
    font-family: var(--font-num);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}
.footer-address {
    font-style: normal;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}
.footer-bottom .en {
    font-family: var(--font-num);
}

/* --------------------------------------------------------------------------
   11. Hero v2 (design-spec.md §6.1) — TOP用ヒーロー
   -------------------------------------------------------------------------- */
.hero-v2 {
    position: relative;
    /* デザイン参考ページと同じダークグリーン基調 */
    background: #071a0e;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    /* スクロールティーザーが初期表示に収まるよう、ヘッダー+tipbar分+下端の余白を差し引いて画面を埋める */
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - 144px);
}
.hero-v2 > .container {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}
.hero-v2 .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.35;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.hero-v2::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 80% 70% at 60% 45%, rgba(26, 92, 40, 0.28) 0%, transparent 65%),
        radial-gradient(ellipse 40% 50% at 15% 60%, rgba(45, 140, 62, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse 30% 30% at 85% 15%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
        linear-gradient(rgba(45, 140, 62, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 140, 62, 0.032) 1px, transparent 1px);
    background-size: auto, auto, auto, 60px 60px, 60px 60px;
    pointer-events: none;
}
.hero-v2 .hero-grid-v2 {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 16px 0;
}
.hero-v2 .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-num);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    margin-bottom: 36px;
}
.hero-v2 h1 {
    font-family: var(--font-jp);
    font-size: clamp(30px, 3.6vw, 54px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0 0 32px;
}
.hero-v2 .hero-sub {
    font-size: 17px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    margin: 0 0 48px;
}
.hero-v2 .hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* 1stビュー「ライナーの世界」: コピー左 / 周回オービット右の2カラム */
/* has-saturn 時はデバイス最大幅まで使い、オービットを大きく見せる */
.hero-v2:has(.has-saturn) > .container {
    max-width: none;
    padding-inline: clamp(16px, 3.5vw, 56px);
}
.hero-v2 .hero-grid-v2.has-saturn {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
    gap: clamp(28px, 4vw, 72px);
    align-items: center;
}
.hero-v2 .hero-saturn {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* 初期表示にスクロールティーザーを収めるため、幅と「利用可能な高さ」の小さい方で制限 */
    max-width: min(56vw, 720px);
    max-height: calc(100svh - 300px);
    margin-inline: auto;
}
.hero-v2 .hero-saturn #hero-saturn-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* 1stビュー下端のスクロールティーザー（#compare へ誘導） */
.hero-v2 .hero-teaser {
    position: relative;
    z-index: 2;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.3s;
}
.hero-v2 .hero-teaser:hover { background: rgba(255, 255, 255, 0.04); }
.hero-teaser-eyebrow {
    font-family: var(--font-num);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.hero-teaser-main {
    font-family: var(--font-jp);
    font-weight: 700;
    font-size: clamp(15px, 1.7vw, 22px);
    line-height: 1.5;
    text-align: center;
    color: #fff;
}
.hero-teaser-main .hi { color: var(--gold); }
.hero-teaser-main .gr { color: var(--gold-light); }
.hero-teaser-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 2px;
    padding: 0 16px;
}
.hero-teaser-tag {
    font-size: 11px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 100px;
    padding: 3px 12px;
}
.hero-v2 .chevs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    margin-top: 4px;
}
.hero-v2 .chevs i {
    display: block;
    width: 18px;
    height: 9px;
    border-left: 2px solid var(--gold-light);
    border-bottom: 2px solid var(--gold-light);
    transform: rotate(-45deg);
    opacity: 0;
    animation: heroChev 0.95s ease-in-out infinite;
}
.hero-v2 .chevs i:nth-child(2) { animation-delay: 0.2s; }
.hero-v2 .chevs i:nth-child(3) { animation-delay: 0.4s; }
@keyframes heroChev {
    0%   { opacity: 0; transform: rotate(-45deg) translate(-3px, -3px); }
    45%  { opacity: 1; }
    100% { opacity: 0; transform: rotate(-45deg) translate(3px, 3px); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-v2 .chevs i { animation: none; opacity: 0.8; }
}

/* --------------------------------------------------------------------------
   12. Section head (design-spec.md §4.3)
   -------------------------------------------------------------------------- */
.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--accent);
    font-weight: 600;
    font-family: var(--font-num);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-head .eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--accent);
}
.section-head h2 {
    font-family: var(--font-serif-jp);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 16px;
}
.section-head .lead { color: var(--ink-soft); }
.section-head .btn-row { margin-top: 24px; }

.section-head-v2 {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 80px;
}
.section-head-v2 .eyebrow {
    font-family: var(--font-num);
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.section-head-v2 .left h2 {
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy-900);
    margin: 0;
}
.section-head-v2 .right .lead {
    font-size: 16px;
    line-height: 2;
    color: var(--ink-soft);
    margin: 0 0 28px;
    max-width: 540px;
}

/* --------------------------------------------------------------------------
   13. TOP — News section (design-spec.md §5.8)
   -------------------------------------------------------------------------- */
.section-news {
    padding: 80px 0;
}
.section-news .section-head-v2 {
    padding-bottom: 32px;
    margin-bottom: 32px;
}
.section-news .news-actions {
    margin-top: 32px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   13. TOP — Issues section (design-spec.md §6.2)
   -------------------------------------------------------------------------- */
.section-troubles {
    padding: var(--section-py-v2) 0;
}
.troubles-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.t-card-v2 {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.t-card-v2:hover {
    border-color: var(--navy-700);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.t-card-v2-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}
.t-card-v2 .t-num {
    display: block;
    padding: 24px 28px 0;
    font-family: var(--font-num);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--accent);
    font-weight: 600;
}
.t-card-v2 .t-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-top: 16px;
    background: var(--navy-50);
    display: flex;
    align-items: center;
    justify-content: center;
}
.t-card-v2 .t-thumb svg,
.t-card-v2 .t-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.t-card-v2 .t-thumb-placeholder {
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(135deg, var(--navy-50), var(--navy-50) 12px,
            var(--navy-100) 12px, var(--navy-100) 24px);
}
.t-card-v2 h3 {
    padding: 16px 28px 8px;
    font-size: 17px;
    line-height: 1.5;
    margin: 0;
    font-weight: 700;
    color: var(--ink);
}
.t-card-v2 .t-quote,
.t-card-v2 p {
    padding: 0 28px;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.85;
    margin: 0 0 16px;
}
.t-card-v2 .t-prods {
    padding: 16px 28px;
    border-top: 1px solid var(--line-soft);
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.t-card-v2 .t-more {
    padding: 14px 28px 22px;
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.t-card-v2 .t-more .arr { transition: transform 0.2s; }
.t-card-v2:hover .t-more .arr { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   14. TOP — Compare section / Impact grid (design-spec.md §6.3)
   -------------------------------------------------------------------------- */
.section-compare {
    padding: var(--section-py-v2) 0;
    /* スクロールティーザー(#compare)着地時、sticky ヘッダー(76px)直下にエリア先頭を合わせる
       (これより大きいと上にヒーローの帯が覗くため、ヘッダー高にぴったり合わせる) */
    scroll-margin-top: 76px;
}
.impact-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.impact-card {
    border-radius: var(--radius-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}
.impact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
/* 3トーンの背景パターン (メリハリ用。本文の可読性のため濃色域で段階付け) */
.impact-card--deep   { background: var(--navy-900); border: 1px solid var(--navy-800); }
.impact-card--mid    { background: var(--navy-800); border: 1px solid var(--navy-700); }
.impact-card--bright { background: var(--navy-700); border: 1px solid var(--navy-600); }
.impact-card--beige  { background: var(--beige);    border: 1px solid var(--beige-line); }
.impact-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 32px 28px;
    color: #fff;
}
.impact-card .ic-eyebrow {
    font-family: var(--font-jp);
    font-size: 22px;
    line-height: 1.2;
    color: var(--navy-100);
}
.impact-card .ic-metric {
    font-family: var(--font-jp);
    font-size: clamp(44px, 5vw, 60px);
    line-height: 1.02;
    font-weight: 700;
    color: var(--paper);
    letter-spacing: 0.01em;
}
.impact-card .ic-metric .u {
    font-size: 0.42em;
    font-weight: 700;
    color: var(--navy-100);
    margin-left: 0.1em;
}
/* トーン別のメトリクス文字色 (参考デザインのゴールド/グリーン/生成り) */
.impact-card--deep   .ic-metric { color: var(--gold); }
.impact-card--mid    .ic-metric { color: var(--gold-light); }
.impact-card--bright .ic-metric { color: var(--paper); }
.impact-card--deep   .ic-metric .u { color: rgba(200, 168, 107, 0.7); }
.impact-card--mid    .ic-metric .u { color: rgba(156, 202, 177, 0.7); }
.impact-card .ic-label {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    margin-top: 18px;
}
.impact-card .ic-desc {
    font-size: 13px;
    color: var(--navy-100);
    line-height: 1.85;
    margin: 10px 0 20px;
}
.impact-card .ic-tag {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 600;
}
.impact-card .ic-tag::before {
    content: "＋ ";
    color: var(--navy-500);
}
.impact-card.is-cta {
    background: var(--navy-900);
    border-color: var(--navy-800);
}
.impact-card .ic-btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}
.impact-card .ic-btn .arr { transition: transform 0.2s; }
.impact-card.is-cta:hover .ic-btn .arr { transform: translateX(3px); }

/* ベージュタイルはダーク文字で可読性を確保 (基本ルールより後に置いて優先) */
.impact-card--beige .impact-card-link { color: var(--ink); }
.impact-card--beige .ic-eyebrow       { color: var(--ink-soft); }
.impact-card--beige .ic-metric        { color: var(--navy-800); }
.impact-card--beige .ic-metric .u     { color: var(--ink-soft); }
.impact-card--beige .ic-label         { color: var(--ink); }
.impact-card--beige .ic-desc          { color: var(--ink-soft); }
.impact-card--beige .ic-tag           { background: var(--navy-50); color: var(--navy-800); }
.impact-card--beige .ic-tag::before   { color: var(--navy-600); }

/* --------------------------------------------------------------------------
   15. TOP — Products section (design-spec.md §6.4)
   -------------------------------------------------------------------------- */
.section-products {
    padding: var(--section-py-v2) 0;
}
.products-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.p-card-v2 {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.p-card-v2:hover {
    border-color: var(--navy-700);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.p-card-v2.muted { opacity: 0.55; }
.p-card-v2-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}
.p-card-v2 .p-thumb {
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    background: var(--navy-50);
}
.p-card-v2 .p-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.p-card-v2 .p-thumb-placeholder {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(135deg, var(--navy-50), var(--navy-50) 12px,
            var(--navy-100) 12px, var(--navy-100) 24px);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 12px;
}
.p-card-v2 .p-thumb-placeholder .ph-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--navy-700);
    background: rgba(255, 255, 255, 0.85);
    padding: 4px 8px;
    letter-spacing: 0.08em;
}
.p-card-v2 .p-num {
    position: absolute;
    right: 16px;
    bottom: 12px;
    font-family: var(--font-num);
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    mix-blend-mode: difference;
    line-height: 1;
    letter-spacing: -0.02em;
}
.p-card-v2 .p-muted-flag {
    position: absolute;
    left: 12px;
    top: 12px;
    background: rgba(182, 52, 42, 0.92);
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 4px 8px;
    font-weight: 600;
}
.p-card-v2 .p-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.p-card-v2 .p-cat {
    font-family: var(--font-num);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.18em;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.p-card-v2 h3 {
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 10px;
    font-weight: 700;
    color: var(--ink);
}
.p-card-v2 .p-catch {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.85;
    margin: 0 0 16px;
}
.p-card-v2 .p-more {
    margin-top: auto;
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.p-card-v2 .p-more .arr { transition: transform 0.2s; }
.p-card-v2:hover .p-more .arr { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   16. TOP — Reasons section (design-spec.md §5.4 .feat-card 流用)
   -------------------------------------------------------------------------- */
.section-reasons {
    padding: var(--section-py-v2) 0;
}
.feat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.feat-card {
    background: var(--paper);
    padding: 32px 28px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
}
.feat-card .num {
    font-family: var(--font-num);
    font-size: 13px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.08em;
}
.feat-card .en {
    font-family: var(--font-num);
    font-size: 10px;
    color: var(--steel);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 4px;
}
.feat-card h4 {
    font-size: 18px;
    margin: 14px 0 10px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--ink);
}
.feat-card p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.85;
    margin: 0;
}

/* --------------------------------------------------------------------------
   17. TOP — Downloads section (design-spec.md §5.5 / §6.5)
   -------------------------------------------------------------------------- */
.section-dl {
    padding: var(--section-py-v2) 0;
}
.dl-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.dl-card-v2 {
    background: #fff;
    border: 1px solid var(--line);
    padding: 36px 32px;
    border-radius: var(--radius-sm);
}
.dl-cat-head .dl-en {
    display: inline-block;
    font-family: var(--font-num);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.18em;
    font-weight: 600;
    text-transform: uppercase;
}
.dl-cat-head h3 {
    font-size: 22px;
    margin: 8px 0 10px;
    color: var(--ink);
    font-weight: 700;
}
.dl-cat-head .dl-cat-desc {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.85;
    margin: 0;
}
.dl-items {
    margin-top: 20px;
}
.dl-item-row {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--line-soft);
    align-items: start;
}
.dl-item-row.is-pending { opacity: 0.65; }
.dl-pdf-ico {
    background: var(--accent);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 8px;
    text-align: center;
    border-radius: 2px;
}
.dl-item-row.is-pending .dl-pdf-ico {
    background: var(--steel-light);
}
.dl-item-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dl-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}
.dl-item-desc {
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.7;
}
.dl-item-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--steel);
    margin-top: 2px;
}
.dl-pend {
    color: var(--accent);
    margin-left: 6px;
    font-weight: 600;
}
.dl-item-link {
    position: absolute;
    inset: 0;
    text-indent: -9999px;
    overflow: hidden;
}
.dl-item-link:focus-visible {
    outline-offset: -2px;
}

/* --------------------------------------------------------------------------
   18. TOP — CTA section (design-spec.md §5.7 / §6.6)
   -------------------------------------------------------------------------- */
.section-cta-v2 {
    padding: var(--section-py-v2) 0;
    background: var(--navy-900);
    color: #fff;
}
.section-cta-v2 .cta-head {
    max-width: 760px;
    margin-bottom: 56px;
}
.section-cta-v2 .cta-head .eyebrow {
    display: inline-block;
    font-family: var(--font-num);
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-cta-v2 .cta-head h2 {
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 16px;
    color: #fff;
}
.section-cta-v2 .cta-head p {
    font-size: 16px;
    line-height: 1.95;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}
.section-cta-v2 .cta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.cta-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.cta-card:hover {
    border-color: var(--navy-700);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.cta-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 32px 24px 28px;
    color: var(--ink);
}
.cta-card .cta-en {
    font-family: var(--font-num);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.18em;
    font-weight: 600;
    text-transform: uppercase;
}
.cta-card h3 {
    font-size: 20px;
    margin: 8px 0 10px;
    line-height: 1.5;
    color: var(--ink);
    font-weight: 700;
}
.cta-card p {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.85;
    margin: 0 0 18px;
    flex: 1;
}
.cta-card .cta-arr {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
}
.cta-card .cta-arr .arr { transition: transform 0.2s; }
.cta-card:hover .cta-arr .arr { transform: translateX(3px); }

.cta-tel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 32px 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    margin-top: 32px;
}
.cta-tel-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cta-tel-en {
    font-family: var(--font-num);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
}
.cta-tel-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}
.cta-tel-link .num {
    font-family: var(--font-num);
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}
.cta-tel-fax {
    font-family: var(--font-num);
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
}
.cta-tel-fax .num {
    font-size: 22px;
    color: #fff;
}
.cta-tel-hours {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   19. Page hero eyebrow + pagination + archive empty
       (design-spec.md §3.3 / 共通)
   -------------------------------------------------------------------------- */
.page-hero .crumb {
    margin-bottom: 12px;
}
.page-hero-eyebrow {
    display: inline-block;
    font-family: var(--font-num);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}

.section-archive {
    padding: 64px 0 96px;
}
.archive-empty {
    text-align: center;
    color: var(--ink-soft);
    font-size: 15px;
    padding: 64px 0;
}

.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 56px;
    flex-wrap: wrap;
}
.pagination .page-numbers,
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--line);
    font-family: var(--font-num);
    font-size: 14px;
    color: var(--ink);
    border-radius: var(--radius-sm);
    background: #fff;
}
.pagination .page-numbers:hover {
    border-color: var(--navy-700);
    color: var(--navy-800);
}
.pagination .page-numbers.current {
    background: var(--navy-800);
    color: #fff;
    border-color: var(--navy-800);
}

/* --------------------------------------------------------------------------
   20. Trouble card (.trouble-card / .troubles-grid-detail) — design-spec.md §5.1
   -------------------------------------------------------------------------- */
.troubles-grid-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.trouble-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    min-height: 280px;
    display: flex;
}
.trouble-card:hover {
    border-color: var(--navy-700);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.trouble-card-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 36px 32px;
    color: inherit;
}
.trouble-card .num {
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--accent);
    font-weight: 600;
    font-family: var(--font-num);
    margin-bottom: 12px;
}
.trouble-card .t-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--navy-50);
    margin: 0 -32px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trouble-card .t-thumb svg,
.trouble-card .t-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.trouble-card .t-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(135deg, var(--navy-50), var(--navy-50) 12px,
        var(--navy-100) 12px, var(--navy-100) 24px);
}
.trouble-card h3 {
    font-size: 19px;
    line-height: 1.55;
    margin: 0 0 14px;
    font-weight: 700;
    color: var(--ink);
}
.trouble-card .quote {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.85;
    flex: 1;
    margin: 0 0 18px;
}
.trouble-card .more {
    margin-top: auto;
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.trouble-card .more .arr { transition: transform 0.2s; }
.trouble-card:hover .more .arr { transform: translateX(3px); }
.trouble-card .t-prods {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 14px 0 18px;
    border-top: 1px solid var(--line-soft);
    margin: 4px 0 14px;
}
.trouble-card .t-prods .tag-product { background: var(--navy-50); color: var(--navy-700); }
.trouble-card .t-prods .tag-purpose { background: var(--paper); color: var(--steel); }

/* --------------------------------------------------------------------------
   21. Detail layout (design-spec.md §7.1, §7.2, §7.4) — 共通詳細ページ部品
   -------------------------------------------------------------------------- */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 56px;
    padding: 48px 0 96px;
}
.detail-main {
    min-width: 0; /* grid item の overflow 防止 */
}

.detail-section {
    padding: 48px 0;
    border-top: 1px solid var(--line-soft);
}
.detail-section:first-child {
    padding-top: 0;
    border-top: 0;
}
.detail-section .lab {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    font-weight: 600;
}
.detail-section .lab .num {
    font-family: var(--font-num);
    font-size: 12px;
    color: var(--steel);
    background: var(--navy-50);
    padding: 2px 8px;
}
.detail-section h2 {
    font-size: 24px;
    margin: 0 0 20px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--ink);
}
.detail-section .bul {
    margin: 0;
    padding: 0;
}
.detail-section .bul li {
    list-style: none;
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.85;
}
.detail-section .bul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent);
}
.detail-section .rich {
    font-size: 15px;
    line-height: 1.95;
    color: var(--ink);
}
.detail-section .rich p { margin: 0 0 1em; }
.detail-section .rich strong { color: var(--navy-900); }
.detail-section .rich a { color: var(--navy-700); text-decoration: underline; }

.detail-diagram {
    margin: 0 0 20px;
}
.detail-diagram img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--paper);
}
.detail-diagram figcaption {
    margin-top: 8px;
    font-size: 12px;
    color: var(--steel);
    text-align: center;
}

.detail-figure {
    margin: 0 0 16px;
}
.detail-figure img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--paper);
}
.detail-figure figcaption {
    margin-top: 8px;
    font-size: 12px;
    color: var(--steel);
    text-align: center;
}
.detail-figure-overview {
    margin: 0 0 24px;
}
.detail-figure-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.process-flow {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 0 0;
    margin: 0;
}
.process-flow .step {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 12px 16px;
    flex: 1;
    min-width: 130px;
    border-radius: var(--radius-sm);
}
.process-flow .step .n {
    display: block;
    font-family: var(--font-num);
    font-size: 10px;
    color: var(--steel);
    letter-spacing: 0.1em;
}
.process-flow .step .t {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
    color: var(--ink);
}

.detail-cta {
    margin-top: 48px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   22. Aside card + related-prod (design-spec.md §5.10, §7.6)
   -------------------------------------------------------------------------- */
.detail-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.aside-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 24px 22px;
}
.aside-card h4 {
    font-size: 14px;
    margin: 0 0 14px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.04em;
}
.aside-card p {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.85;
    margin: 0 0 14px;
}
.aside-card .btn {
    width: 100%;
    justify-content: center;
}
.aside-card-contact {
    background: var(--paper);
}

.related-prod-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.related-prod {
    border-top: 1px solid var(--line-soft);
    padding: 12px 0;
}
.related-prod:first-child { border-top: 0; padding-top: 0; }
.related-prod a {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 12px;
    align-items: center;
    color: inherit;
}
.related-prod .ph-mini {
    aspect-ratio: 1;
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex;
}
.related-prod .ph-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-prod .info { min-width: 0; }
.related-prod .info .n {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.related-prod .info .d {
    display: block;
    font-size: 11px;
    color: var(--steel);
    line-height: 1.6;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-issue-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.related-issue-list li {
    padding: 8px 0;
    border-top: 1px solid var(--line-soft);
    font-size: 13px;
}
.related-issue-list li:first-child { border-top: 0; }
.related-issue-list a:hover { color: var(--navy-700); }

/* --------------------------------------------------------------------------
   23. Product card (.product-card / .products-grid) — design-spec.md §5.2
       (TOP 用 .p-card-v2 とは別バリエーション)
   -------------------------------------------------------------------------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.product-card:hover {
    border-color: var(--navy-700);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.product-card.muted { opacity: 0.6; }
.product-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}
.product-card .product-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--navy-50);
    position: relative;
}
.product-card .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card .product-thumb-placeholder {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, var(--navy-50), var(--navy-50) 12px,
        var(--navy-100) 12px, var(--navy-100) 24px);
    padding: 12px;
}
.product-card .product-thumb-placeholder .ph-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--navy-700);
    background: rgba(255, 255, 255, 0.85);
    padding: 4px 8px;
    letter-spacing: 0.08em;
}
.product-card .p-muted-flag {
    position: absolute;
    left: 12px;
    top: 12px;
    background: rgba(182, 52, 42, 0.92);
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 4px 8px;
    font-weight: 600;
    border-radius: 2px;
}
.product-card-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card .cat {
    font-family: var(--font-num);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.18em;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.product-card h3 {
    font-size: 17px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 10px;
}
.product-card .one {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.85;
    margin: 0 0 16px;
}
.product-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.product-card .pdf-tag {
    background: var(--accent);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 8px;
    border-radius: 2px;
}
.product-card .more {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}
.product-card .more .arr { transition: transform 0.2s; }
.product-card:hover .more .arr { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   24. Pending notice (design-spec.md §4.6) — 公開可否確認中バナー
   -------------------------------------------------------------------------- */
.pending-notice {
    padding: 24px 0 0;
}
.notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
    color: var(--accent-dark);
    font-size: 13px;
    line-height: 1.7;
    border-radius: 2px;
}
.notice .ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-num);
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   25. Product hero (design-spec.md §7.5)
   -------------------------------------------------------------------------- */
.product-hero {
    background: var(--paper);
    padding: 56px 0;
    border-bottom: 1px solid var(--line);
}
.product-hero .crumb {
    margin-bottom: 24px;
}
.product-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: center;
}
.product-hero.is-muted .product-hero-thumb { opacity: 0.55; }
.product-hero .ptag {
    display: inline-block;
    font-family: var(--font-num);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}
.product-hero h1 {
    font-family: var(--font-serif-jp);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
    margin: 0 0 16px;
}
.product-hero .catch {
    font-size: 18px;
    color: var(--ink);
    line-height: 1.7;
    margin: 0 0 12px;
    font-weight: 600;
}
.product-hero .one {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.95;
    margin: 0 0 20px;
}
.product-hero-meta {
    display: flex;
    gap: 12px;
    align-items: baseline;
    margin: 0 0 24px;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 13px;
}
.product-hero-meta dt {
    font-family: var(--font-mono);
    color: var(--steel);
    font-size: 11px;
    margin: 0;
    letter-spacing: 0.08em;
}
.product-hero-meta dd {
    margin: 0;
    color: var(--ink);
    font-weight: 600;
}
.product-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.product-hero-thumb {
    aspect-ratio: 4 / 3;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}
.product-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-hero-thumb .product-thumb-placeholder {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, var(--navy-50), var(--navy-50) 12px,
        var(--navy-100) 12px, var(--navy-100) 24px);
    padding: 16px;
}

/* --------------------------------------------------------------------------
   26. Product feature/benefit/specs (design-spec.md §5.4 / §7.3)
   -------------------------------------------------------------------------- */
.feat-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.benefit-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.benefit-list li {
    border-left: 3px solid var(--accent);
    padding: 6px 0 6px 16px;
}
.benefit-list h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 6px;
    line-height: 1.5;
}
.benefit-list p {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.85;
    margin: 0;
}

.specs {
    margin: 0;
}
.specs .row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--line-soft);
    font-size: 14px;
    margin: 0;
}
.specs .row:first-child { border-top: 0; padding-top: 0; }
.specs .row .k {
    color: var(--steel);
    font-weight: 500;
    font-family: var(--font-mono);
    font-size: 12px;
    margin: 0;
}
.specs .row .v {
    color: var(--ink);
    margin: 0;
}

/* --------------------------------------------------------------------------
   27. レスポンシブ (design-spec.md §10)
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .section-head-v2 {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 56px;
        margin-bottom: 56px;
    }
    .troubles-grid-v2,
    .products-grid-v2,
    .products-grid,
    .feat-grid,
    .impact-grid {
        grid-template-columns: 1fr 1fr;
    }
    .section-cta-v2 .cta-grid { grid-template-columns: 1fr 1fr; }
    .troubles-grid-detail { grid-template-columns: 1fr; }
}

@media (max-width: 1280px) {
    .brand-tag,
    .brand-name .en-inline {
        display: none;
    }
}

/* 8項目のグローバルナビは ≤1180px で収まりきらないため、ここからハンバーガーへ切替。
   レイアウト系の縦積みは従来どおり ≤980px (下記 MQ) で行う。 */
@media (max-width: 1180px) {
    .nav-main { display: none; }
    .nav-toggle { display: inline-flex; }

    /* ハンバーガー展開時のドロワー — site-header 直下に貼り付けて表示
       sticky 親が stacking context を作るため fixed だと z-index が効かない。
       absolute + top:100% にして header と兄弟扱いにすることで brand / toggle
       (DOM 上で後段) が確実に上に重なる。 */
    .site-header { position: sticky; }
    .nav-main.is-open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid var(--line);
        max-height: calc(100vh - 100%);
        overflow-y: auto;
        padding: 8px 0 16px;
        box-shadow: 0 14px 28px rgba(10, 31, 61, 0.08);
    }
    .nav-main.is-open .nav-list {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .nav-main.is-open .nav-list a {
        display: block;
        padding: 16px 28px;
        font-size: 16px;
        border-bottom: 1px solid var(--line-soft);
        white-space: normal;
    }
}

@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand { grid-column: 1 / -1; }

    .detail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .product-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .feat-grid-3 { grid-template-columns: 1fr 1fr; }
    .benefit-list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .hero-v2 .hero-grid-v2.has-saturn { grid-template-columns: 1fr; gap: 32px; }
    .hero-v2 .hero-saturn { max-width: 420px; }

    .compare-table .ct-head,
    .compare-table .ct-row {
        grid-template-columns: 40px 1fr;
        row-gap: 8px;
    }
    .compare-table .ct-head .ct-before-h,
    .compare-table .ct-head .ct-after-h { display: none; }
    .compare-table .ct-text {
        grid-column: 1 / -1;
        padding: 8px 12px;
        border-left: 3px solid var(--line);
    }
    .compare-table .ct-text.before { background: var(--paper); border-left-color: var(--steel-light); }
    .compare-table .ct-text.after  { background: var(--navy-50); border-left-color: var(--accent); }
    .compare-flow { grid-template-columns: 1fr; gap: 24px; }

    .dl-grid-v2 { grid-template-columns: 1fr; }

    .cta-tel {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 24px;
    }
}

@media (max-width: 640px) {
    .section,
    .section-tight {
        padding: var(--section-py-sp) 0;
    }
    .container { padding: 0 20px; }

    /* インパクトタイル: タイトルは改行せず1行、上下paddingを半分に */
    .impact-card-link { padding: 16px 28px; }
    .impact-card .ic-metric { white-space: nowrap; }

    /* SP: 要素間の余白(gap・ボタン余白)を詰めてオービットを大きく見せる
       (.hero-v2 の min-height: calc(100svh - 144px) はベース定義をそのまま使う) */
    .hero-v2 .hero-grid-v2 { padding: 4px 0; }
    .hero-v2 .hero-eyebrow { margin-bottom: 8px; }
    .hero-v2 h1 { margin-bottom: 6px; }
    .hero-v2 .hero-sub { font-size: 13px; line-height: 1.65; margin-bottom: 8px; }
    .hero-v2 .hero-ctas { gap: 8px; }
    .hero-v2 .hero-ctas .btn { padding: 9px 16px; font-size: 13px; }
    .hero-v2 .hero-teaser { padding: 6px 0 8px; gap: 4px; }
    .hero-v2 .hero-teaser-eyebrow { font-size: 9px; }
    .hero-v2 .hero-teaser-main { font-size: 13px; }
    .hero-v2 .hero-teaser-tags { gap: 5px; margin-top: 0; }
    .hero-v2 .hero-teaser-tag { font-size: 10px; padding: 2px 9px; }
    .hero-v2 .chevs { margin-top: 0; }

    /* SP: 見出し直下にオービット（eyebrow → 見出し → オービット → sub → CTA）。
       デスクトップ用 grid の gap: clamp(40px,…) を 0 にし、要素間余白を margin だけに絞る。 */
    .hero-v2 .hero-grid-v2.has-saturn { display: flex; flex-direction: column; gap: 0; }
    .hero-v2 .hero-grid-v2.has-saturn .hero-copy { display: contents; }
    .hero-v2 .hero-grid-v2.has-saturn .hero-eyebrow { order: 1; }
    .hero-v2 .hero-grid-v2.has-saturn h1            { order: 2; }
    .hero-v2 .hero-grid-v2.has-saturn .hero-saturn  { order: 3; max-width: 300px; max-height: calc(100svh - 520px); margin-bottom: 6px; }
    .hero-v2 .hero-grid-v2.has-saturn .hero-sub     { order: 4; }
    .hero-v2 .hero-grid-v2.has-saturn .hero-ctas    { order: 5; }

    .tipbar { font-size: 11px; }
    .tipbar .container {
        flex-direction: column;
        gap: 4px;
        padding: 6px 20px;
    }
    .tipbar-right { gap: 12px; }

    .site-header .container { min-height: 64px; gap: 12px; }
    .brand-mark { width: 32px; height: 32px; font-size: 12px; }
    .brand-logo { height: 40px; }
    .brand-logo-img { max-width: 80px; }
    .brand-name .ja { font-size: 13px; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 4px;
    }

    .section-troubles,
    .section-compare,
    .section-products,
    .section-reasons,
    .section-dl,
    .section-cta-v2 { padding: var(--section-py-sp) 0; }
    /* SP の sticky ヘッダー(65px)直下にエリア先頭を合わせる */
    .section-compare { scroll-margin-top: 64px; }
    .section-news { padding: 48px 0; }
    .section-news .section-head-v2 {
        padding-bottom: 24px;
        margin-bottom: 24px;
    }
    .section-news .news-item {
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "date cat"
            "title title";
        column-gap: 12px;
        row-gap: 6px;
        padding: 16px 0;
    }
    .section-news .news-item .date  { grid-area: date; }
    .section-news .news-item .cat   { grid-area: cat; }
    .section-news .news-item h4     { grid-area: title; }
    .section-cta-v2 .cta-grid { grid-template-columns: 1fr; }
    .cta-tel-link .num { font-size: 26px; }
    .dl-card-v2 { padding: 28px 24px; }
    .troubles-grid-v2,
    .products-grid-v2,
    .products-grid,
    .feat-grid,
    .feat-grid-3,
    .impact-grid { grid-template-columns: 1fr; }
    .specs .row { grid-template-columns: 1fr; gap: 4px; }
    .t-card-v2 .t-num,
    .t-card-v2 h3,
    .t-card-v2 .t-quote,
    .t-card-v2 p,
    .t-card-v2 .t-prods,
    .t-card-v2 .t-more {
        padding-left: 22px;
        padding-right: 22px;
    }
}

/* ==========================================================================
   Phase 3 — 残ページ群 (works / downloads / news / company / faq / contact / 404)
   docs/design-spec.md §5.3 / §5.6 / §5.8 / §5.9 / §7.x / §8 / §10
   ========================================================================== */

.container-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* ── アーカイブ共通 ─────────────────────────────────────────── */
.section-archive { padding-top: 48px; }
.archive-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}
.archive-tab a {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s;
}
.archive-tab a:hover {
    border-color: var(--navy-700);
    color: var(--navy-900);
}
.archive-tab.is-active a {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: #fff;
}

/* ── 5.3 施工実績カード (case-card) ──────────────────────────── */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.cases-grid-compact {
    grid-template-columns: repeat(2, 1fr);
}
.case-card {
    background: #fff;
    border: 1px solid var(--line);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.case-card:hover {
    border-color: var(--navy-700);
    box-shadow: var(--shadow-md);
}
.case-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.case-card .thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--paper);
}
.case-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.case-card .thumb-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: var(--steel-light);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
}
.case-card .body { padding: 22px; }
.case-card .cat {
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.case-card h4 {
    font-size: 16px;
    margin: 8px 0 10px;
    line-height: 1.5;
    color: var(--navy-900);
}
.case-card .summary {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.7;
    margin: 0 0 12px;
}
.case-card .meta {
    font-size: 12px;
    color: var(--steel);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.case-card .meta .year { font-family: var(--font-num); }

/* ── single-works ───────────────────────────────────────────── */
.work-cover {
    margin: 0 0 48px;
}
.work-cover img {
    width: 100%;
    height: auto;
    display: block;
}
.work-gallery {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.work-gallery figure { margin: 0; }
.work-gallery img {
    width: 100%;
    height: auto;
    display: block;
}
.work-gallery figcaption {
    margin-top: 6px;
    font-size: 12px;
    color: var(--steel);
}

/* ── 5.6 リソース行 (resource-row / resources-list) ──────────── */
.dl-cat-block { margin-bottom: 56px; }
.dl-cat-head {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.dl-cat-head .dl-en {
    font-family: var(--font-num);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.18em;
}
.dl-cat-head h2 {
    font-family: var(--font-serif-jp);
    font-size: 22px;
    margin: 6px 0 6px;
    color: var(--navy-900);
}
.dl-cat-head p {
    font-size: 13px;
    color: var(--ink-soft);
    margin: 0;
}
.dl-cat-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--accent);
    margin-top: 8px;
}
.resources-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.resource-row {
    border: 1px solid var(--line);
    margin: -1px 0 0 -1px;
}
.resource-row-link {
    display: flex;
    gap: 16px;
    padding: 24px;
    color: inherit;
    text-decoration: none;
    align-items: flex-start;
}
.resource-row .ico {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.resource-row .info { flex: 1; }
.resource-row .info h4 {
    font-size: 15px;
    margin: 0 0 6px;
    color: var(--navy-900);
}
.resource-row .desc {
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.7;
    margin: 0 0 8px;
}
.resource-row .meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 11px;
    color: var(--steel);
}
.resource-row .arr {
    flex-shrink: 0;
    font-size: 18px;
    color: var(--accent);
    align-self: center;
}
.resource-row.is-pending .ico { background: var(--steel-light); }
.resource-row.is-pending .resource-row-link {
    cursor: default;
    opacity: 0.7;
}
.dl-pend {
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
}

/* ── 5.8 ニュース行 (news-list / news-item) ──────────────────── */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-item {
    display: grid;
    grid-template-columns: 110px 100px 1fr;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line-soft);
    align-items: baseline;
}
.news-item .date {
    font-family: var(--font-num);
    color: var(--steel);
    font-size: 13px;
}
.news-item .cat {
    display: inline-block;
    padding: 2px 10px;
    background: var(--paper);
    color: var(--ink-soft);
    font-size: 11px;
    letter-spacing: 0.04em;
    justify-self: start;
}
.news-item h4 {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}
.news-item h4 a { color: inherit; text-decoration: none; }
.news-item h4 a:hover { color: var(--accent); }

.news-cover {
    margin: 0 0 32px;
}
.news-cover img {
    width: 100%;
    height: auto;
    display: block;
}
.news-related-head {
    font-family: var(--font-serif-jp);
    font-size: 22px;
    margin: 0 0 16px;
    color: var(--navy-900);
}
.news-related .news-item:last-child { border-bottom: 0; }
.news-back {
    margin-top: 32px;
    text-align: center;
}

/* ── 5.9 アコーディオン (accordion) ──────────────────────────── */
.accordion .a-row {
    border-bottom: 1px solid var(--line);
    padding: 4px 0;
}
.accordion .a-head {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    background: none;
    border: 0;
    color: inherit;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}
.accordion .a-q { flex: 1; }
.accordion .a-head .toggle {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 22px;
    line-height: 1;
    transition: transform 0.2s;
}
.accordion .a-row.is-open .a-head .toggle {
    transform: rotate(45deg);
}
.accordion .a-body {
    max-height: 0;
    overflow: hidden;
    color: var(--ink-soft);
    line-height: 1.95;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.accordion .a-row.is-open .a-body {
    max-height: 1200px;
    padding: 0 0 20px;
}

/* ── 8 お問い合わせフォーム (form-wrap) ──────────────────────── */
.form-wrap {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    padding: 16px 0 48px;
}
.form-aside { display: grid; gap: 16px; align-content: start; }
.form-fallback {
    padding: 32px;
    background: var(--paper);
    border: 1px solid var(--line);
}
.form-fallback p:last-child { margin-bottom: 0; }
.form-main .smf-item {
    margin-bottom: 24px;
}
.form-main .smf-item__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 8px;
}
.form-main .smf-item__required {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    padding: 1px 6px;
    margin-left: 8px;
    letter-spacing: 0.04em;
}
.form-main input[type="text"],
.form-main input[type="email"],
.form-main input[type="tel"],
.form-main input[type="url"],
.form-main select,
.form-main textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
}
.form-main input:focus,
.form-main textarea:focus,
.form-main select:focus {
    border-color: var(--navy-700);
    outline: none;
}
.form-main .smf-control-radio-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.form-main .smf-control-radio-buttons label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    cursor: pointer;
    font-weight: 500;
    background: #fff;
    transition: border-color 0.15s, background 0.15s;
}
.form-main .smf-control-radio-buttons label:has(input:checked) {
    border-color: var(--accent);
    background: var(--accent-soft);
}
.form-main .smf-action button[type="submit"],
.form-main .smf-button-control__control {
    background: var(--accent);
    color: #fff;
    border: 0;
    padding: 16px 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.04em;
}
.form-main .smf-action button[type="submit"]:hover,
.form-main .smf-button-control__control:hover {
    background: var(--accent-dark);
}
.form-main .smf-button-control { display: inline-block; }
.form-main .smf-complete-content {
    text-align: center;
    padding: 72px 24px;
    font-size: 18px;
    font-weight: 600;
    color: var(--navy-900);
}
.form-main .smf-complete-content p { margin: 0; }

/* ── お問い合わせサイドバー ─────────────────────────────────── */
.contact-tel {
    display: block;
    font-family: var(--font-num);
    font-size: 28px;
    font-weight: 700;
    color: var(--navy-900);
    text-decoration: none;
    margin: 8px 0 4px;
}
.contact-tel:hover { color: var(--accent); }
.aside-card .hours {
    font-size: 12px;
    color: var(--steel);
    margin: 0;
}

/* ── 404 / Thanks ────────────────────────────────────────────── */
.error-404 .error-404-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.error-404 .error-404-links li:first-child { grid-column: 1 / -1; }
.error-404 .error-404-links .btn { width: 100%; }

.notice-block {
    padding: 48px 32px;
    background: var(--navy-50);
    border: 1px solid var(--line);
    text-align: center;
}
.notice-block .rich {
    margin-bottom: 24px;
}
.notice-block .btn-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── 会社情報 (page-company) ────────────────────────────────── */
.company-section-head {
    font-family: var(--font-serif-jp);
    font-size: 24px;
    color: var(--navy-900);
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--navy-900);
}
.company-overview .row { grid-template-columns: 200px 1fr; align-items: start; }
.company-overview .v .v-main {
    display: block;
    color: var(--ink);
    font-weight: 500;
}
.company-overview .v .v-sub {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.7;
}
.company-overview .v .addr-main {
    margin: 0 0 8px;
    line-height: 1.85;
}
.company-overview .v .company-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.company-overview .v .company-list li {
    padding: 2px 0;
    line-height: 1.85;
}
.company-overview .v .addr-main + .company-list { margin-top: 8px; }
.company-biz,
.company-licenses {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}
.company-biz li,
.company-licenses li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14px;
    color: var(--ink);
}
.company-history {
    list-style: none;
    padding: 0;
    margin: 0;
}
.company-history li {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14px;
}
.company-history .hist-year {
    font-family: var(--font-num);
    color: var(--accent);
    font-weight: 600;
}
.company-history .hist-event { color: var(--ink); }
.company-relations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.company-relations h3 {
    font-size: 14px;
    margin: 0 0 12px;
    color: var(--navy-900);
}
.company-relations ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.company-relations li {
    padding: 8px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 13px;
    color: var(--ink-soft);
}
.company-access {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.company-map iframe {
    width: 100%;
    display: block;
    border: 1px solid var(--line);
}
.company-access-info .addr {
    font-size: 14px;
    line-height: 1.85;
    color: var(--ink);
}
.company-access-info .nearest {
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 8px;
}

/* ── レスポンシブ (Phase 3) ──────────────────────────────────── */
@media (max-width: 1100px) {
    .cases-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
    .form-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .resources-list { grid-template-columns: 1fr; }
    .company-relations,
    .company-access { grid-template-columns: 1fr; }
    .company-biz,
    .company-licenses { grid-template-columns: 1fr; }
    .work-gallery { grid-template-columns: 1fr; }
    .form-main .smf-control-radio-buttons { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .cases-grid { grid-template-columns: 1fr; }
    .news-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .error-404 .error-404-links { grid-template-columns: 1fr; }
    .error-404 .error-404-links li:first-child { grid-column: 1; }
}

@media (max-width: 640px) {
    .resource-row-link { padding: 18px; }
    .accordion .a-head { font-size: 15px; }
    .company-overview .row,
    .company-history li { grid-template-columns: 1fr; gap: 4px; }
    .archive-tab a { padding: 6px 14px; font-size: 12px; }
}

/* ==========================================================================
   Recruit page — site-spec.md §12.3 (求人ページ) / page-recruit.php
   ========================================================================== */

.recruit-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 32px;
}
.recruit-list li {
    position: relative;
    padding-left: 22px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--ink);
}
.recruit-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

.recruit-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.recruit-tags li {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.recruit-cta-top {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 36px 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}
.recruit-cta-top .body h3 {
    font-family: var(--font-serif-jp);
    font-size: 20px;
    line-height: 1.5;
    margin: 0 0 8px;
    color: var(--ink);
}
.recruit-cta-top .body p {
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--ink-soft);
    margin: 0;
}

@media (max-width: 760px) {
    .recruit-list { grid-template-columns: 1fr; }
    .recruit-cta-top {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }
}
