/* ========================================
   有限会社ジェイシー技研 共通スタイルシート
   style.css
======================================== */

/* ===== 1. CSS変数 ===== */
:root {
    --accent-blue: #003366;
    --accent-light: #1a4d99;
    --sub-bg: #f5f5f5;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --border-color: #ddd;
    /* レイアウト（ページ共通） */
    --page-pad-x: clamp(1rem, 4vw, 1.5rem);
    --section-pad-y: clamp(2.75rem, 6vw, 5.5rem);
    --stack-gap: clamp(1.25rem, 3vw, 2rem);
    --block-gap: clamp(1.75rem, 4vw, 2.75rem);
}

/* ===== 2. リセット & ベーススタイル ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans JP', sans-serif; line-height: 1.85; color: var(--text-color); background: var(--white); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== 3. ヘッダー & ナビゲーション ===== */
header {
    background: rgba(0,0,0,0.92);
    color: #fff;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid var(--accent-blue);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px var(--page-pad-x);
}
.logo { font-weight: 900; font-size: 1.1rem; letter-spacing: 1px; color: #fff; }
.nav-links { display: flex; }
.nav-links li { margin-left: 24px; }
.nav-links a { font-weight: 700; font-size: 0.85rem; color: #fff; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: #aac0e0; }

/* ===== 4. モバイルナビゲーション ===== */

/* ロゴ full / short */
.logo-short {
    display: none;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 8px 13px;
    background: rgba(0,51,102,0.55);
    border: 1px solid rgba(170,192,224,0.45);
    border-radius: 3px;
    white-space: nowrap;
    transition: background 0.2s;
}
.logo a:hover .logo-short { background: rgba(0,51,102,0.9); }

/* ナビ右グループ */
.nav-right { display: flex; align-items: center; gap: 8px; }

/* モバイルクイックナビ */
.mobile-quicknav { display: none; }
.mobile-quicknav a {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 8px 13px;
    background: rgba(0,51,102,0.55);
    border: 1px solid rgba(170,192,224,0.45);
    border-radius: 3px;
    white-space: nowrap;
    transition: background 0.2s;
}
.mobile-quicknav a:hover { background: rgba(0,51,102,0.9); }

/* ハンバーガーボタン */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    padding: 8px 13px;
    cursor: pointer;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.38);
    border-radius: 4px;
    z-index: 1100;
}
.hamburger span:not(.hamburger-label) {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger-label {
    display: none;
    font-size: 0.62rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.06em;
    margin-top: 3px;
    line-height: 1;
}

/* モバイルメニュー（フルスクリーンオーバーレイ） */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.97);
    z-index: 1050;
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
}
.mobile-menu-header-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}
.mobile-menu-close {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 9px 18px;
    cursor: pointer;
    letter-spacing: 0.05em;
    border-radius: 3px;
    transition: background 0.2s;
}
.mobile-menu-close:hover { background: rgba(255,255,255,0.22); }
.mobile-menu-links { flex: 1; }
.mobile-menu-links a {
    display: flex;
    align-items: center;
    width: 100%;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 22px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s;
}
.mobile-menu-links a::after {
    content: "›";
    margin-left: auto;
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.45;
}
.mobile-menu-links a:hover, .mobile-menu-links a.active {
    background: rgba(170,192,224,0.14);
    color: #aac0e0;
}
.mobile-menu-tel {
    padding: 28px 22px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.12);
    flex-shrink: 0;
}
.mobile-menu-tel p {
    color: #aaa;
    font-size: 0.88rem;
    margin-bottom: 10px;
}
.mobile-menu-tel a {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.05em;
    padding: 14px 28px;
    background: rgba(0,51,102,0.6);
    border: 1px solid rgba(170,192,224,0.4);
    border-radius: 4px;
    transition: background 0.2s;
}
.mobile-menu-tel a:hover { background: rgba(0,51,102,0.9); }

/* ===== 5. セクション共通 ===== */
.section-wrap {
    padding: var(--section-pad-y) var(--page-pad-x);
}
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-wrap.bg-grey { background: var(--sub-bg); }
/* 連続するグレー背景の区切り（視覚的リズム） */
.section-wrap.bg-grey + .section-wrap.bg-grey {
    border-top: 1px solid rgba(0, 51, 102, 0.08);
    padding-top: clamp(2.25rem, 5vw, 4rem);
}
.section-wrap.bg-dark { background: #1e1e1e; color: #fff; }
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    position: relative;
    padding-bottom: 18px;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 50px; height: 3px;
    background: var(--accent-blue);
}
.bg-dark .section-title::after { background: #aac0e0; }
.section-title.align-left { text-align: left; }
.section-title.align-left::after { left: 0; transform: none; }
.section-lead { text-align: center; font-size: 1.05rem; margin-bottom: 40px; color: var(--text-light); }
.bg-dark .section-lead { color: #bbb; }
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: clamp(0.94rem, 2vw, 1rem);
    line-height: 1.75;
    margin-bottom: var(--block-gap);
    margin-top: 0;
}
/* 見出し直後のサブタイトル：タイトルとの距離を詰める */
.section-inner:has(> .section-title + .section-subtitle) > .section-title {
    margin-bottom: 0.5rem;
    padding-bottom: 14px;
}
.section-inner:has(> .section-title + .section-subtitle) > .section-subtitle {
    margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

/* セクション冒頭のリード文（中央寄せ・下余白） */
.section-intro {
    margin-bottom: var(--block-gap);
}
.section-intro--tight {
    margin-bottom: clamp(1.35rem, 3vw, 2.25rem);
}
.text-body--after-tags {
    margin-top: clamp(1.25rem, 3vw, 1.5rem);
}

/* テキストブロック */
.text-body p { font-size: 1.02rem; margin-bottom: 18px; line-height: 2; }
.text-body p:last-child { margin-bottom: 0; }
.text-body.centered { text-align: center; }

/* FAQ */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-blue);
    padding: 16px 18px;
}
.faq-question {
    font-size: clamp(0.98rem, 2vw, 1.04rem);
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 8px;
    line-height: 1.7;
}
.faq-answer {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.9;
}
.faq-answer a {
    color: var(--accent-blue);
    text-decoration: underline;
}

/* サブセクションラベル */
.subsection-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin: 24px 0 12px;
}

/* ===== 6. ページヒーロー & パンくずリスト ===== */
.page-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('../web/image/1773379434410.png')
                no-repeat center center / cover;
    padding: clamp(6.5rem, 16vw, 8.75rem) var(--page-pad-x) clamp(2.75rem, 7vw, 5rem);
    text-align: center;
    color: #fff;
}
.page-hero h1 {
    font-size: clamp(1.65rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    line-height: 1.35;
}
.page-hero p {
    font-size: clamp(0.92rem, 2vw, 1.05rem);
    color: #ccc;
    line-height: 1.85;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb {
    background: var(--sub-bg);
    padding: 0.65rem var(--page-pad-x);
    font-size: 0.82rem;
    color: var(--text-light);
}
.breadcrumb a { color: var(--accent-blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }

/* ===== 7. 施工の流れ（casesページ・hybring-coatページ共通） ===== */
.flow-steps {
    display: flex;
    flex-direction: column;
    max-width: 640px;
    margin: 0 auto;
    padding: 0;
}
.flow-step {
    display: flex;
    align-items: flex-start;
    gap: clamp(14px, 3vw, 20px);
    padding: clamp(18px, 3vw, 22px) 0;
    border-bottom: 1px solid var(--border-color);
}
.flow-step:last-child { border-bottom: none; }
.step-num {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    background: var(--accent-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
}
.step-body { padding-top: 10px; }
.step-body strong { font-size: 1.02rem; display: block; margin-bottom: 4px; }
.step-body p { font-size: 0.9rem; color: var(--text-light); }
.flow-note {
    text-align: center;
    font-size: clamp(0.85rem, 2vw, 0.88rem);
    color: var(--text-light);
    margin-top: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.85;
    padding: 0 var(--page-pad-x);
}

/* ===== 8. CTA ===== */
.cta-wrap {
    background: var(--accent-blue);
    color: #fff;
    text-align: center;
    padding: clamp(3rem, 8vw, 4.5rem) var(--page-pad-x);
}
.cta-wrap h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; margin-bottom: 16px; }
.cta-wrap p { font-size: 1rem; color: #cce0ff; margin-bottom: 28px; }
.cta-wrap .btn {
    background: #fff;
    color: var(--accent-blue);
    border: 2px solid #fff;
    border-radius: 999px;
    padding: 14px 36px;
    margin-top: 0;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(0,0,0,0.28);
}
.cta-wrap .btn:hover {
    background: #eaf2ff;
    color: #00264d;
    transform: translateY(-2px);
}
.cta-tel {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 8px;
}
.cta-tel a { color: inherit; }
.cta-note { font-size: 0.88rem; color: #cce0ff; }

/* ===== 9. フッター ===== */
footer { background: #111; color: #ccc; padding: clamp(2.5rem, 6vw, 3rem) var(--page-pad-x); text-align: center; }
.footer-main { font-size: 0.95rem; margin-bottom: 16px; color: #ddd; line-height: 2.2; }
.footer-tel { color: #fff; font-size: 1.2rem; font-weight: 900; }
.footer-tel a { color: #fff; }
.footer-copy { font-size: 0.78rem; color: #666; margin-top: 0; }

/* ===== 10. レスポンシブ（共通） ===== */
@media (max-width: 768px) {
    nav { padding: 10px 12px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hamburger-label { display: block; }
    .mobile-quicknav { display: flex; }
    .logo-full { display: none; }
    .logo-short { display: inline-block; }
}


/* ========================================
   11. トップページ固有
======================================== */

/* ヒーロー */
.hero {
    min-height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.62)),
                url('../web/image/1773379434410.png')
                no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 100px 24px 60px;
}
.hero-content { max-width: 800px; }
.hero-badge {
    display: inline-block;
    background: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 20px;
    margin-bottom: 24px;
}
.hero-content h1 {
    font-size: clamp(1.8rem, 4.5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 28px;
}
.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.9; margin-bottom: 16px; color: #e8e8e8; }
.hero-note { font-size: 0.95rem; color: #ccc; margin-bottom: 40px; }
.hero-cta {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.4);
    display: inline-block;
    padding: 20px 40px;
}
.hero-cta p { font-size: 0.95rem; color: #e6edf7; margin-bottom: 14px; letter-spacing: 0.03em; }
.hero-cta .btn {
    background: #fff;
    color: var(--accent-blue);
    border: 2px solid #fff;
    border-radius: 999px;
    padding: 14px 34px;
    margin-top: 0;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(0,0,0,0.28);
}
.hero-cta .btn:hover {
    background: #eaf2ff;
    color: #00264d;
    transform: translateY(-2px);
}

/* トップページ 施工事例ダイジェスト */
.case-digest-item {
    max-width: 980px;
    margin: 0 auto;
}
.case-digest-link {
    text-align: center;
    margin-top: 22px;
}
.case-digest-link .btn {
    margin-top: 0;
}

/* お悩みグリッド */
.troubles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 24px;
}
.trouble-item {
    background: var(--white);
    border-left: 4px solid var(--accent-blue);
    padding: 14px 18px;
    font-size: 0.95rem;
    font-weight: 500;
}
.troubles-note { margin-top: 28px; font-size: 0.92rem; color: var(--text-light); text-align: center; }

/* 補修工程リスト */
.process-list {
    padding: 4px 0;
    margin: 20px 0 20px 1em;
}
.process-list li {
    padding: 6px 0;
    padding-left: 1.4em;
    position: relative;
}
.process-list li::before { content: "・"; position: absolute; left: 0; }

/* 対応エリア */
.area-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}
.area-tag { background: var(--accent-blue); color: #fff; padding: 8px 22px; font-weight: 700; font-size: 0.95rem; }
.area-tag.soft { background: var(--white); color: var(--accent-blue); border: 1px solid var(--accent-blue); }

/* トップページ レスポンシブ */
@media (max-width: 768px) {
    .hero { min-height: 100svh; }
}


/* ========================================
   12. 施工事例ページ固有
======================================== */

.cases-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.case-item {
    background: var(--white);
    border-top: 4px solid var(--accent-blue);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}
.case-item-header { padding: 20px 28px 0; }
.case-item .case-no {
    font-size: 0.78rem;
    color: var(--accent-blue);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}
.case-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.ba-panel {
    position: relative;
    overflow: hidden;
}
.ba-panel img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}
.ba-label {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(0,0,0,0.72);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 4px 14px;
}
.ba-label.after { background: var(--accent-blue); }
.ba-divider { position: relative; }
.ba-divider::before {
    content: "";
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 3px;
    background: var(--white);
    z-index: 1;
}
.case-item-desc {
    padding: 16px 28px 22px;
    font-size: 0.95rem;
    color: var(--text-light);
}
.cases-note { margin-top: 32px; font-size: 0.88rem; color: var(--text-light); text-align: center; }

/* 施工事例ページ レスポンシブ */
@media (max-width: 768px) {
    .ba-panel img { height: 220px; }
}
@media (max-width: 480px) {
    .before-after { grid-template-columns: 1fr; }
    .ba-panel img { height: 200px; }
    .ba-divider::before { display: none; }
}


/* ========================================
   13. ハイブリングコートページ固有
======================================== */

/* 2カラムレイアウト */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 52px);
    align-items: start;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* カバー画像 */
.img-cover {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

/* 画像フルブリード（底部のはみ出し演出） */
.img-bleed {
    overflow: hidden;
    margin-top: clamp(1.75rem, 4vw, 2.75rem);
    border-radius: 2px;
}
.img-bleed img { width: 100%; display: block; margin-bottom: -6%; }

/* 対応下地タグ */
.base-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}
.base-tag {
    background: var(--accent-blue);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 6px 18px;
}

/* 画像プレースホルダー */
.img-placeholder {
    background: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.88rem;
    min-height: 320px;
    gap: 10px;
}
.img-placeholder svg { opacity: 0.4; }
.img-placeholder span { letter-spacing: 0.05em; }

/* 特徴カード */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(14px, 2.5vw, 20px);
    margin-bottom: clamp(1.5rem, 3vw, 2.75rem);
}
.feature-card {
    background: var(--white);
    border-left: 4px solid var(--accent-blue);
    padding: 22px 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.feature-card .feature-title {
    font-weight: 900;
    font-size: 1.02rem;
    margin-bottom: 10px;
    color: var(--accent-blue);
}
.feature-card p { font-size: 0.93rem; line-height: 1.8; color: var(--text-color); }

/* クロスとの比較グリッド */
.vs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.vs-col { padding: 28px 28px 32px; }
.vs-col.vs-bad { background: #f5f5f5; }
.vs-col.vs-good { background: #e8eef7; border-left: 1px solid var(--border-color); }
.vs-label {
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    display: inline-block;
    margin-bottom: 18px;
}
.vs-bad .vs-label { background: #888; color: #fff; }
.vs-good .vs-label { background: var(--accent-blue); color: #fff; }
.vs-list { display: flex; flex-direction: column; gap: 10px; }
.vs-list li {
    font-size: 0.93rem;
    padding-left: 1.4em;
    position: relative;
    line-height: 1.7;
}
.vs-bad .vs-list li::before { content: "✕"; position: absolute; left: 0; color: #999; font-size: 0.85rem; }
.vs-good .vs-list li::before { content: "✔"; position: absolute; left: 0; color: var(--accent-blue); font-size: 0.85rem; font-weight: 900; }
.vs-note {
    text-align: center;
    margin-top: clamp(1.5rem, 3vw, 2rem);
    font-size: clamp(0.94rem, 2vw, 1rem);
    font-weight: 700;
    color: var(--accent-blue);
    padding: clamp(16px, 3vw, 20px) var(--page-pad-x);
    border: 2px solid var(--accent-blue);
    background: #f0f4fa;
    line-height: 1.9;
}

/* メリットカード */
.merit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(18px, 3vw, 24px);
    margin-bottom: var(--block-gap);
}
.merit-card {
    background: var(--white);
    padding: 28px 26px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.merit-card-head {
    font-weight: 900;
    font-size: 1rem;
    color: var(--white);
    background: var(--accent-blue);
    padding: 8px 16px;
    margin: -28px -26px 20px;
}
.merit-card p { font-size: 0.95rem; line-height: 1.9; color: var(--text-color); }

/* 比較チェックリスト */
.compare-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}
.compare-list.centered {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.compare-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: clamp(12px, 2vw, 14px) clamp(14px, 2.5vw, 18px);
    background: var(--white);
    border-left: 4px solid var(--accent-blue);
    font-size: clamp(0.9rem, 1.8vw, 0.95rem);
    line-height: 1.75;
}
.compare-row .check {
    color: var(--accent-blue);
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* サンプル実例カード */
.sample-card {
    background: var(--white);
    border-top: 4px solid var(--accent-blue);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: var(--stack-gap);
    border-radius: 2px;
}
#sample .sample-card:last-child {
    margin-bottom: 0;
}
.sample-ba {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.sample-panel {
    position: relative;
    overflow: hidden;
}
.sample-panel img {
    width: 100%;
    height: clamp(220px, 38vw, 360px);
    display: block;
    object-fit: cover;
}
.sample-panel--divider { border-left: 3px solid var(--white); }
.sample-label {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(0,0,0,0.72);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 4px 14px;
}
.sample-label.after { background: var(--accent-blue); }
.sample-panel-cap {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 10px 16px 14px;
}
.sample-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: clamp(20px, 4vw, 36px);
    align-items: start;
    padding: clamp(18px, 3vw, 28px);
}
.sample-side-img {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    /* 縦長写真のままだと右カラムに空白が多くなるため、高さを抑えてトリミング */
    height: clamp(168px, 26vw, 260px);
}
.sample-side-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
.sample-caption {
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    line-height: 1.95;
    color: var(--text-color);
}
.sample-caption p { margin-bottom: 0.65em; }
.sample-caption p:last-child { margin-bottom: 0; }
.sample-caption strong { color: var(--accent-blue); }

.sample-compare-note {
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text-color);
    max-width: 640px;
    margin: 0 auto 36px;
    padding: 0 8px;
}
.sample-compare-note strong { color: var(--accent-blue); }

.section-title--sample-sub {
    margin-top: 8px;
}

.sample-card--note {
    border-top: none;
    border: 1px solid var(--border-color);
    box-shadow: none;
}
.sample-gypsum-note {
    padding: 28px 32px;
    font-size: 0.95rem;
    line-height: 2.1;
    color: var(--text-color);
}
.sample-gypsum-note p { margin-bottom: 12px; }
.sample-gypsum-note p:last-child { margin-bottom: 0; }
.sample-gypsum-note strong { color: var(--accent-blue); }

/* まとめブロック */
.summary-block {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--page-pad-x);
}
.summary-block p {
    font-size: clamp(0.98rem, 2vw, 1.05rem);
    line-height: 2;
    color: var(--text-color);
    margin-bottom: clamp(1rem, 2.5vw, 1.15rem);
}
.summary-block p:last-child { margin-bottom: 0; }

/* ハイブリングコートページ レスポンシブ */
@media (max-width: 900px) {
    .vs-col { padding: clamp(20px, 3vw, 28px); }
}
@media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: var(--stack-gap);
    }
    .two-col .img-cover {
        width: 100%;
        max-height: min(52vw, 320px);
        min-height: 200px;
        object-position: center;
    }
    .two-col.reverse { direction: ltr; }
    .features-grid { grid-template-columns: 1fr; }
    .vs-grid { grid-template-columns: 1fr; }
    .vs-col.vs-good { border-left: none; border-top: 1px solid var(--border-color); }
    .merit-grid { grid-template-columns: 1fr; }
    .sample-side { grid-template-columns: 1fr; }
    .sample-side-img { max-width: 100%; }
    .img-bleed img { margin-bottom: 0; }
}
@media (max-width: 640px) {
    .sample-ba {
        grid-template-columns: 1fr;
    }
    .sample-panel--divider {
        border-left: none;
        border-top: 3px solid var(--white);
    }
    .sample-panel img {
        height: clamp(200px, 55vw, 280px);
    }
}


/* ========================================
   14. 会社概要ページ固有
======================================== */

.section-inner--narrow { max-width: 900px; margin: 0 auto; }

/* 会社概要テーブル */
.company-table {
    width: 100%;
    border-collapse: collapse;
}
.company-table th,
.company-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    font-size: 0.97rem;
    vertical-align: top;
}
.company-table th {
    background: var(--sub-bg);
    width: 28%;
    font-weight: 700;
    color: var(--accent-blue);
    white-space: nowrap;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }
.tel-large {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--accent-blue);
}
.tel-large a { color: inherit; }

/* 求人カード */
.recruit-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.recruit-card p { font-size: 1rem; margin-bottom: 12px; color: var(--text-color); }
.recruit-card p:last-of-type { color: var(--text-light); font-size: 0.92rem; }
.btn {
    display: inline-block;
    background: var(--accent-blue);
    color: #fff;
    padding: 14px 44px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 20px;
    transition: background 0.3s, transform 0.2s;
    letter-spacing: 0.05em;
}
.btn:hover { background: var(--accent-light); transform: translateY(-2px); }

/* お問い合わせフォーム */
.contact-form {
    margin-top: 24px;
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 28px;
}
.contact-form label {
    display: block;
    font-weight: 700;
    color: var(--accent-blue);
    margin: 0 0 8px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    font: inherit;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 12px 14px;
    margin-bottom: 16px;
    background: #fff;
}
.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-light);
    box-shadow: 0 0 0 3px rgba(26,77,153,0.12);
}
.btn-submit {
    display: inline-block;
    background: var(--accent-blue);
    color: #fff;
    border: none;
    padding: 14px 44px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.3s, transform 0.2s;
    letter-spacing: 0.05em;
    cursor: pointer;
}
.btn-submit:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

/* 会社概要ページ レスポンシブ */
@media (max-width: 768px) {
    .company-table th,
    .company-table td { display: block; width: 100%; }
    .company-table th { padding-bottom: 4px; border-bottom: none; background: transparent; }
    .recruit-card { padding: 30px 20px; }
    .contact-form { padding: 20px; }
}
