/* =========================================================
   QUALITY UPGRADE v2 — 温かみ×人×ヒーロー / モバイルファースト
   参考品質: 全画面ヒーロー / 英語見出し / スクロールリビール /
   有機的フォルム / ピル型 / ドロワー
   main.css の後に読み込むこと
   ========================================================= */

:root {
    /* 温かいオフホワイト寄りに微調整 */
    --color-bg: #FBF8F2;
    --brand-sand: #F6EFE2;
    --warm-line: #ECE4D6;
    --radius-blob: 46% 54% 58% 42% / 52% 46% 54% 48%;
    --ease-soft: cubic-bezier(.2, 1, .2, 1);
    --shadow-soft: 0 18px 50px rgba(14,39,72,.10), 0 4px 14px rgba(14,39,72,.05);
}

body { letter-spacing: .01em; }

/* PCだけで改行させたいところに <br class="br-pc"> を置く。
   狭い画面では改行せず、自然な折り返しに任せる。 */
.br-pc { display: none; }
@media (min-width: 768px) { .br-pc { display: inline; } }

/* 代表メッセージのなかで、ひとこと立てたい行 */
.rep-callout {
    font-size: clamp(18px, 2.6vw, 24px);
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1.8;
    letter-spacing: .01em;
    margin: 26px 0 30px;
    padding-left: clamp(16px, 2.4vw, 24px);
    border-left: 3px solid var(--brand-gold);
}

/* リンクの先を示す細い山括弧。文字の「→」の代わりに <i class="chev"></i> を置く。
   currentColor を継承するので、リンクの色に自動で合う。 */
.chev {
    display: inline-block;
    width: .42em;
    height: .42em;
    border-right: 1.5px solid currentColor;
    border-top: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: .8em;
    vertical-align: middle;
    position: relative;
    top: -.05em;
    flex: 0 0 auto;
    transition: transform .2s ease, margin-left .2s ease;
}
/* 戻る方向 */
.chev.is-back { transform: rotate(-135deg); margin-left: 0; margin-right: .8em; }
/* ホバーで少しだけ進む */
a:hover > .chev,
a:hover .chev { margin-left: 1.1em; }
a:hover > .chev.is-back,
a:hover .chev.is-back { margin-left: 0; margin-right: 1.1em; }
@media (prefers-reduced-motion: reduce) {
    .chev { transition: none; }
    a:hover > .chev, a:hover .chev { margin-left: .8em; }
}

/* ---- ブランドロゴ（ヘッダー/フッター） ---- */
.brand-logo { height: 42px; width: auto; display: block; }
.site-header .brand { gap: 12px; }
.foot-brand .brand-logo { height: 40px; }
@media (max-width: 480px) { .brand-logo { height: 36px; } }

/* ---- ヘッダーの横幅対策 ----------------------------------------
   狭い画面では ロゴ＋社名＋電話ボタン＋メニュー が横幅を超えて、
   ページ全体に横スクロールが出ていた。社名を縮められるようにし、
   電話ボタンは番号を隠してアイコンだけにする
   （電話番号は画面下部の固定バーに常時出ている）。 */
.site-header .inner { gap: 12px; }
.site-header .brand { min-width: 0; flex: 1 1 auto; overflow: hidden; }
.brand-meta { min-width: 0; }
.brand-meta span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 700px) {
    .brand-meta small { display: none; }
    .brand-meta span { font-size: 15px; }
}
@media (max-width: 480px) {
    .brand-meta span { font-size: 13.5px; }
    .tel-btn { padding: 10px; gap: 0; }
    .tel-btn span { display: none; }
}

/* メンバー写真プレースホルダー（実写真が入るまで） */
.staff-ph {
    position: absolute; inset: 0;
    display: grid; place-items: center; gap: 10px;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(244,196,48,.18), transparent 60%),
        linear-gradient(160deg, #16365c, var(--brand-primary));
}
.staff-ph svg { width: 64px; height: 64px; opacity: .9; }
.staff-ph .ph-label {
    font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
    color: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.25);
    padding: 4px 12px; border-radius: var(--radius-pill);
}

/* ---- 共通: セクション見出し（英語アイブロウ＋和文） ---- */
.section-head .eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.section-head .eyebrow::before,
.section-head .eyebrow::after {
    content: ""; width: 26px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--brand-gold), var(--brand-accent));
}
.section-head h2 { line-height: 1.32; }
.section-head h2 .accent { color: var(--brand-accent); }

/* =======================================================
   HERO — 全画面写真ヒーロー
   ======================================================= */
.hero {
    /* ヒーローの金色。#EFD638 はロゴから実測した黄そのまま。
       元の値は #F4C430（--brand-gold）で、ロゴより色相が7度オレンジ寄りだった。
       戻す場合はこの1行を var(--brand-gold) に変えるだけでよい。 */
    --hero-gold: #EFD638;

    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    background: var(--brand-primary);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
    /* 明るさは写真そのものをいじりすぎず、かぶせている紺を薄くすることで出す。
       brightness を強くかけると白っぽく眠い絵になるので、ここは軽めに留め、
       contrast と彩度をわずかに上げて、写真本来の締まりを残している。 */
    filter: brightness(1.06) contrast(1.04) saturate(1.05);
    animation: heroZoom 16s var(--ease-soft) infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.14); } }

/* ヒーロー スライドショー（フェード切替） */
.hero-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 1.1s var(--ease-soft); }
.hero-slide.is-active { opacity: 1; }
/* ドットナビ */
.hero-dots { position: absolute; left: 0; right: 0; bottom: 112px; z-index: 4; }
.hero-dots .container { display: flex; gap: 11px; justify-content: center; }
.hero-dot {
    width: 11px; height: 11px; padding: 0; border: 0; cursor: pointer;
    border-radius: var(--radius-pill); background: rgba(255,255,255,.45);
    box-shadow: 0 1px 4px rgba(0,0,0,.25);
    transition: width .35s var(--ease-soft), background .35s var(--ease-soft);
}
.hero-dot:hover { background: rgba(255,255,255,.8); }
.hero-dot.is-active { width: 30px; background: var(--hero-gold); }
@media (prefers-reduced-motion: reduce) {
    .hero-bg img { animation: none; }
    .hero-slide { transition: opacity .4s linear; }
}
@media (max-width: 760px) {
    .hero-dots { bottom: 168px; }
}
/* 写真を明るく見せるため、かぶせる紺を薄くしてある。
   左側だけは文字が乗るので、白文字が読める濃さは残す。 */
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(100deg, rgba(8,20,38,.62) 0%, rgba(8,20,38,.34) 40%, rgba(8,20,38,.06) 68%, rgba(8,20,38,0) 100%),
        linear-gradient(0deg, rgba(8,20,38,.34), transparent 36%);
}
/* 薄くしたぶん、見出しだけ影で輪郭を確保する */
.hero h1, .hero .lead { text-shadow: 0 1px 14px rgba(6, 16, 30, .45); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 64px; padding-bottom: 124px; }
.hero-copy { max-width: 660px; }

.hero .hero-eyebrow {
    background: rgba(255,255,255,.14);
    color: #fff;
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(6px);
}
.hero .hero-eyebrow::before { background: var(--hero-gold); box-shadow: 0 0 0 4px rgba(239,214,56,.22); }

.hero h1 {
    color: #fff;
    font-size: clamp(34px, 6.2vw, 66px);
    line-height: 1.16;
    text-shadow: 0 4px 28px rgba(0,0,0,.32);
    margin-bottom: 22px;
}
.hero h1 em {
    color: var(--hero-gold);
    -webkit-text-fill-color: var(--hero-gold);
    background: none;
    font-style: normal;
    white-space: nowrap;
}
.h1-kicker {
    display: block;
    font-size: clamp(15px, 2.2vw, 22px);
    font-weight: 700;
    line-height: 1.5;
    color: var(--hero-gold);
    margin-bottom: 12px;
    text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.h1-line { white-space: nowrap; }
.hero p.lead {
    color: rgba(255,255,255,.92);
    font-size: clamp(15px, 2.1vw, 18px);
    max-width: 580px;
    text-shadow: 0 2px 14px rgba(0,0,0,.3);
}
.hero p.lead strong { color: #fff; font-weight: 800; border-bottom: 2px solid var(--hero-gold); }

.btn-glass {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.35);
    backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255,255,255,.22); opacity: 1; transform: translateY(-1px); }

/* 統計バー（ヒーロー下のガラス帯） */
.hero-stats-bar {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    background: rgba(255,255,255,.10);
    border-top: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
}
.hero-stats-bar .hero-stats {
    margin: 0 auto; max-width: var(--container);
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.hero-stats-bar .hero-stat {
    background: transparent; border: 0; border-radius: 0;
    padding: 18px 14px; text-align: center;
    border-left: 1px solid rgba(255,255,255,.14);
}
.hero-stats-bar .hero-stat:first-child { border-left: 0; }
.hero-stats-bar .hero-stat .num { color: #fff; font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.hero-stats-bar .hero-stat .num span { font-size: .6em; margin-left: 2px; color: var(--hero-gold); }
.hero-stats-bar .hero-stat .label { color: rgba(255,255,255,.78); font-size: 12.5px; margin-top: 2px; }

.hero-scroll {
    position: absolute; right: 30px; bottom: 104px; z-index: 3;
    color: rgba(255,255,255,.8); font-size: 10px; letter-spacing: .25em;
    writing-mode: vertical-rl; text-orientation: mixed;
}
.hero-scroll::after {
    content: ""; position: absolute; bottom: -42px; left: 50%; transform: translateX(-50%);
    width: 1px; height: 38px; background: rgba(255,255,255,.5);
}
.hero-scroll span { animation: scrollPulse 2.4s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:.4} 50%{opacity:1} }

@media (max-width: 760px) {
    .hero { min-height: 88vh; }
    .hero-inner { padding-top: 40px; padding-bottom: 150px; }
    .hero-stats-bar .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-stats-bar .hero-stat:nth-child(odd) { border-left: 0; }
    .hero-stats-bar .hero-stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
    .hero-scroll { display: none; }
}

/* =======================================================
   SERVICE CARDS — 写真ヘッダー付き
   ======================================================= */
.svc-card:has(.svc-media) {
    padding: 0; overflow: hidden; display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm); text-decoration: none;
}
.svc-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--brand-sand); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-soft); }
.svc-card:hover .svc-media img { transform: scale(1.07); }
.svc-tag {
    position: absolute; top: 12px; left: 12px;
    background: var(--brand-accent); color: #fff;
    font-size: 11.5px; font-weight: 800; letter-spacing: .04em;
    padding: 5px 12px; border-radius: var(--radius-pill);
    box-shadow: 0 6px 16px rgba(230,57,70,.4);
}
.svc-body { padding: 20px 22px 24px; }
.svc-card:has(.svc-media) h3 { font-size: 18px; }
.svc-card:has(.svc-media) .arrow { display: inline-block; margin-top: 4px; }

/* フィーチャーカード（水まわり）は横ワイドに */
.svc-card.feature:has(.svc-media) {
    grid-column: span 8;
    flex-direction: row;
    background: linear-gradient(120deg, var(--brand-primary), #173a63);
}
.svc-card.feature:has(.svc-media) .svc-media { flex: 0 0 52%; aspect-ratio: auto; }
.svc-card.feature:has(.svc-media) .svc-body { display: flex; flex-direction: column; justify-content: center; padding: 30px 32px; }
.svc-card.feature:has(.svc-media) h3 { color: #fff; font-size: 23px; }
.svc-card.feature:has(.svc-media) p { color: rgba(255,255,255,.82); font-size: 15px; }
.svc-card.feature:has(.svc-media) .arrow { color: var(--brand-gold); }

@media (max-width: 800px) {
    .svc-card.feature:has(.svc-media) { grid-column: span 12; flex-direction: column; }
    .svc-card.feature:has(.svc-media) .svc-media { flex: none; aspect-ratio: 16/10; }
    .svc-card.feature:has(.svc-media) .svc-body { padding: 22px; }
}

/* =======================================================
   PERSONA — 写真パネル（有機的フォルム）
   ======================================================= */
.persona-panel .pvisual {
    aspect-ratio: 4/5;
    background: var(--brand-sand);
    overflow: hidden;
    border-radius: 28px 28px 28px 90px;
    box-shadow: var(--shadow-soft);
    position: relative;
    font-size: 0;
}
.persona-panel .pvisual::after {
    content: ""; position: absolute; right: -22px; top: -22px;
    width: 110px; height: 110px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--brand-gold-soft), var(--brand-gold));
    opacity: .9; z-index: 0;
}
.persona-panel .pvisual img {
    position: relative; z-index: 1;
    width: 100%; height: 100%; object-fit: cover;
}
@media (max-width: 800px) {
    .persona-panel .pvisual { aspect-ratio: 16/10; border-radius: 22px 22px 22px 60px; }
}

/* =======================================================
   有機的な装飾・写真ホバー
   ======================================================= */
.persona-section { position: relative; overflow: hidden; }
.persona-section::before {
    content: ""; position: absolute; top: -80px; right: -80px;
    width: 280px; height: 280px; border-radius: var(--radius-blob);
    background: radial-gradient(circle at 40% 40%, rgba(244,196,48,.18), transparent 70%);
    z-index: 0;
}
.persona-section .container { position: relative; z-index: 1; }
.case-card .case-thumb img { transition: transform .6s var(--ease-soft); }
.case-card:hover .case-thumb img { transform: scale(1.06); }

/* =======================================================
   SCROLL REVEAL — 方向＆スタッガー
   ======================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft); will-change: opacity, transform; }
.reveal.up    { transform: translateY(30px); }
.reveal.left  { transform: translateX(-32px); }
.reveal.right { transform: translateX(32px); }
.reveal.zoom  { transform: scale(.94); }
.reveal.in    { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .32s; }
.reveal.d4 { transition-delay: .44s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* =======================================================
   HEADER / DRAWER — モバイルファースト
   ======================================================= */
.menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
body.nav-open { overflow: hidden; }

@media (max-width: 1120px) {
    .nav.open {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        height: 100dvh;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        background: var(--brand-primary);   /* グラデーションは使わない */
        padding: 80px 28px 28px;
        box-shadow: none;
        animation: drawerIn .35s var(--ease-soft);
        z-index: 99;
    }
    .nav.open a {
        color: #fff; font-size: 18px; font-weight: 700;
        padding: 16px 18px; text-align: center;
        border-bottom: 1px solid rgba(255,255,255,.1);
        border-radius: 0;
    }
    .nav.open a:hover, .nav.open a.active { background: rgba(255,255,255,.08); }
    .menu-toggle { z-index: 100; }
    .menu-toggle.active span { background: #fff; }
}
@keyframes drawerIn { from { opacity: 0; } to { opacity: 1; } }

/* =======================================================
   汎用: 写真バンド・ポートレート
   ======================================================= */
.media-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.media-band img { width: 100%; height: 100%; object-fit: cover; }
.portrait-blob {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    border-radius: 38% 62% 56% 44% / 48% 40% 60% 52%;
    box-shadow: var(--shadow-soft);
}

/* =======================================================
   STAFF — メンバー紹介
   ======================================================= */
.staff-intro {
    max-width: 860px; margin: 0 auto 8px; text-align: center;
}
.staff-note {
    display: inline-block; margin: 14px auto 0;
    background: var(--brand-gold-soft); color: #8a6d00;
    font-size: 13px; font-weight: 700;
    padding: 8px 16px; border-radius: var(--radius-pill);
}
.staff-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
    margin-top: 48px;
}
.staff-card {
    background: #fff; border: 1px solid var(--color-border);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
    transition: transform .25s var(--ease-soft), box-shadow .25s var(--ease-soft);
}
.staff-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.staff-photo { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--brand-sand); }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease-soft); }
.staff-card:hover .staff-photo img { transform: scale(1.06); }
.staff-photo .staff-role {
    position: absolute; left: 12px; bottom: 12px;
    background: rgba(14,39,72,.9); color: #fff;
    font-size: 12px; font-weight: 700; letter-spacing: .03em;
    padding: 6px 13px; border-radius: var(--radius-pill);
    backdrop-filter: blur(4px);
}
.staff-photo .staff-role.lead-role { background: var(--brand-accent); }
.staff-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.staff-name { display: flex; align-items: baseline; gap: 8px; }
.staff-name b { font-size: 19px; color: var(--brand-primary); font-weight: 800; }
.staff-name span { font-size: 12px; color: var(--color-text-mute); }
.staff-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.staff-tags i {
    font-style: normal; font-size: 11.5px; font-weight: 700;
    color: var(--brand-mint); background: #E8F8F3;
    padding: 4px 10px; border-radius: var(--radius-pill);
}
.staff-story { font-size: 14px; color: var(--color-text-soft); line-height: 1.85; margin: 0; }
.staff-meta { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--color-line); font-size: 12.5px; color: var(--color-text-mute); display: grid; gap: 3px; }
.staff-meta b { color: var(--brand-primary); font-weight: 700; }
.staff-motto {
    margin: 0; font-size: 14.5px; font-weight: 700; color: var(--brand-primary);
    line-height: 1.7; padding: 10px 14px;
    background: var(--brand-gold-soft); border-left: 3px solid var(--brand-gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.staff-motto span {
    display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em;
    color: var(--brand-accent); margin-bottom: 2px;
}

@media (max-width: 860px) { .staff-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 560px) { .staff-grid { grid-template-columns: 1fr; } }

/* メンバー: チーム文化バンド */
.culture-band { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.culture-band .media-band { width: 100%; }
@media (max-width: 720px) {
    .culture-band { grid-template-columns: 1fr; }
    .culture-band .media-band { max-width: 340px; margin: 0 auto; aspect-ratio: 4/5 !important; }
}

/* サービス詳細: 現場写真 */
.service-figure { margin: 28px 0 0; max-width: 680px; }
.service-figure figcaption {
    margin-top: 10px; font-size: 13px; color: var(--color-text-mute);
    line-height: 1.7; padding-left: 14px; border-left: 2px solid var(--brand-gold);
}

/* =======================================================
   トラストバンド（対応エリア＋担当者）
   ======================================================= */
.trust-band { padding: clamp(32px, 5vw, 52px) 0; background: var(--brand-sand); border-bottom: 1px solid var(--color-border); }
.trust-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.trust-label {
    display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em;
    color: var(--brand-accent); margin-bottom: 12px;
}
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.area-chips span {
    background: #fff; border: 1px solid var(--color-border); color: var(--brand-primary);
    font-size: 14px; font-weight: 700; padding: 7px 14px; border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
}
.trust-note { font-size: 13px; color: var(--color-text-soft); margin: 0; line-height: 1.7; }
.trust-team { border-left: 3px solid var(--brand-gold); padding-left: clamp(18px, 3vw, 28px); }
.trust-team p { font-size: 15px; color: var(--color-text-soft); line-height: 1.9; margin: 0 0 14px; }
.trust-team p strong { color: var(--brand-primary); }
/* 「いつもの人が、最後まで。」— 本文より一段大きく、紺で見出しのように置く */
.trust-team .trust-lead {
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1.7;
    letter-spacing: .01em;
    margin: 0 0 12px;
}
.trust-team-link { font-weight: 800; color: var(--brand-accent); text-decoration: none; font-size: 15px; }
.trust-team-link:hover { text-decoration: underline; }
@media (max-width: 760px) {
    .trust-inner { grid-template-columns: 1fr; gap: 28px; }
    .trust-team { border-left: 0; border-top: 1px solid var(--color-border); padding-left: 0; padding-top: 24px; }
}

/* =======================================================
   料金の目安（トップ抜粋）
   ======================================================= */
.price-teaser { background: #fff; }
.price-teaser-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    max-width: 880px; margin: 0 auto;
}
.pt-item {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--brand-sand); border: 1px solid var(--color-border);
    border-radius: var(--radius-md); padding: 16px 20px;
}
.pt-name { font-size: 14.5px; font-weight: 700; color: var(--brand-primary); }
.pt-yen { font-size: 18px; font-weight: 800; color: var(--brand-accent); white-space: nowrap; }
.price-teaser-note { text-align: center; font-size: 12.5px; color: var(--color-text-mute); margin: 20px 0 0; }
@media (max-width: 720px) { .price-teaser-grid { grid-template-columns: 1fr; max-width: 460px; } }

/* =======================================================
   料金ページ
   ======================================================= */
.price-notice {
    background: var(--brand-gold-soft); border-radius: var(--radius-md);
    padding: 18px 22px; font-size: 14.5px; line-height: 1.85; color: #6b5500;
    margin-bottom: 40px;
}
.price-notice strong { color: var(--brand-primary); }
.price-notice em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: #8a6d00; }
.price-group { margin-bottom: 36px; }
.price-cat { display: flex; align-items: center; gap: 10px; font-size: 20px; color: var(--brand-primary); margin: 0 0 14px; }
.price-cat-ic { font-size: 24px; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.price-table tr { border-top: 1px solid var(--color-line); }
.price-table tr:first-child { border-top: 0; }
.price-table th { text-align: left; padding: 15px 20px; font-size: 15px; font-weight: 700; color: var(--brand-primary); width: 46%; }
.price-table .price-yen { padding: 15px 16px; font-size: 17px; font-weight: 800; color: var(--brand-accent); white-space: nowrap; width: 26%; }
.price-table .price-note { padding: 15px 20px; font-size: 12.5px; color: var(--color-text-mute); }
.price-foot { font-size: 12.5px; color: var(--color-text-soft); line-height: 1.8; margin: 28px 0 0; }
@media (max-width: 600px) {
    .price-table th { width: auto; font-size: 14px; padding: 12px 14px; }
    .price-table .price-yen { font-size: 15px; padding: 12px 10px; }
    .price-table .price-note { display: none; }
}

/* =======================================================
   お知らせ・地域での活動
   ======================================================= */
.news-ig-card {
    display: flex; align-items: center; gap: 20px;
    background: linear-gradient(120deg, #833AB4, #C13584 42%, #E1306C 70%, #F77737);
    color: #fff; text-decoration: none;
    border-radius: var(--radius-lg); padding: 22px 26px; margin-bottom: 44px;
    box-shadow: var(--shadow-md);
}
.news-ig-icon { flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.news-ig-body { flex: 1; }
.news-ig-handle { font-size: 19px; font-weight: 800; letter-spacing: .02em; }
.news-ig-body p { margin: 4px 0 0; font-size: 13.5px; color: rgba(255,255,255,.92); line-height: 1.7; }
.news-ig-btn { flex-shrink: 0; background: #fff; color: #C13584; font-weight: 800; font-size: 14px; padding: 10px 18px; border-radius: var(--radius-pill); white-space: nowrap; }
@media (max-width: 600px) {
    .news-ig-card { flex-direction: column; align-items: flex-start; gap: 14px; text-align: left; }
    .news-ig-btn { align-self: stretch; text-align: center; }
}

.news-section-title { font-size: 22px; color: var(--brand-primary); margin: 0 0 20px; }
.news-list { display: flex; flex-direction: column; gap: 22px; }
.news-card {
    display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: stretch;
    background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm);
}
.news-media { position: relative; min-height: 200px; background: var(--brand-sand); }
.news-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-badge { position: absolute; top: 12px; left: 12px; background: var(--brand-mint); color: #fff; font-size: 11.5px; font-weight: 800; padding: 5px 12px; border-radius: var(--radius-pill); box-shadow: 0 6px 16px rgba(42,157,143,.4); }
.news-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.news-tag { align-self: flex-start; background: var(--brand-gold-soft); color: #8a6d00; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; padding: 4px 12px; border-radius: var(--radius-pill); }
.news-body h3 { font-size: 19px; color: var(--brand-primary); margin: 0; font-weight: 800; line-height: 1.5; }
.news-body p { font-size: 14px; color: var(--color-text-soft); line-height: 1.85; margin: 0; }
.news-more { margin-top: auto; font-weight: 800; color: var(--brand-accent); text-decoration: none; font-size: 14px; }
.news-more:hover { text-decoration: underline; }
@media (max-width: 680px) {
    .news-card { grid-template-columns: 1fr; }
    .news-media { min-height: 0; aspect-ratio: 16/10; }
    .news-media img { position: static; }
}

/* =======================================================
   CTA 分岐カード（お困りの内容から）
   ======================================================= */
.cta-branches {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
    max-width: 940px; margin: 0 auto; text-align: left;
}
.cta-branch {
    background: #fff; border-radius: var(--radius-lg); padding: 26px 24px 28px;
    display: flex; flex-direction: column; gap: 10px;
    box-shadow: var(--shadow-md); border-top: 4px solid var(--brand-primary);
}
.cta-branch.urgent { border-top-color: var(--brand-accent); }
.cta-branch .cta-ic { font-size: 30px; line-height: 1; }
.cta-branch h3 { font-size: 18px; color: var(--brand-primary); margin: 2px 0 0; font-weight: 800; line-height: 1.45; }
.cta-branch p { color: var(--color-text-soft); font-size: 13.5px; line-height: 1.75; margin: 0; max-width: none; }
.cta-branch .btn { margin-top: auto; justify-content: center; width: 100%; }
@media (max-width: 800px) {
    .cta-branches { grid-template-columns: 1fr; max-width: 420px; }
    .cta-branch h3 br { display: none; }
}

/* =======================================================
   モバイル微調整
   ======================================================= */
@media (max-width: 760px) {
    section { padding: clamp(48px, 12vw, 72px) 0; }
    .section-head { margin-bottom: 36px; }
    .hero h1 br { display: none; }
    .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
    .persona-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
    .persona-tab { flex: 0 0 auto; }
}

/* ============================================================
   2026-07 追加：メンバー実写真 / 施工事例ギャラリー / 料金
   ============================================================ */

/* --- メンバー：チーム集合写真（初詣・縦） --- */
.team-hero { max-width: 560px; margin: 0 auto 48px; text-align: center; }
.team-hero img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); display: block; }
.team-hero figcaption { font-size: 13.5px; color: var(--color-text-mute); margin-top: 12px; line-height: 1.7; }

/* --- メンバーカード：オフの一枚 --- */
.staff-off { margin-top: 16px; border-top: 1px solid var(--color-line); padding-top: 14px; }
.staff-off img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius-md); display: block; }
.staff-off figcaption { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--color-text-soft); margin-top: 8px; }
.staff-off figcaption span { background: var(--brand-sand); color: var(--brand-primary); font-weight: 700; font-size: 11px; padding: 2px 9px; border-radius: var(--radius-pill); flex-shrink: 0; }

/* --- 施工事例：カテゴリフィルタ --- */
.case-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.case-chip { border: 1px solid var(--color-border); background: #fff; color: var(--color-text-soft); font-size: 13.5px; font-weight: 700; padding: 9px 16px; border-radius: var(--radius-pill); cursor: pointer; transition: all .2s; }
.case-chip:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.case-chip.is-active { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }

/* --- 施工事例：詳細ギャラリー --- */
.case-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.case-gallery-main { margin: 0; }
.case-gallery-main img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); display: block; background: var(--brand-sand); }
.case-gallery-main figcaption { font-size: 13px; color: var(--color-text-mute); margin-top: 10px; }
.case-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.cg-thumb { border: 2px solid transparent; border-radius: var(--radius-md); overflow: hidden; background: #fff; cursor: pointer; padding: 0; }
.cg-thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.cg-thumb span { display: block; font-size: 10.5px; color: var(--color-text-soft); padding: 4px 2px; text-align: center; line-height: 1.3; }
.cg-thumb.is-active { border-color: var(--brand-accent); }
.case-text { margin-top: 34px; }
.case-text h2 { font-size: 20px; color: var(--brand-primary); margin: 24px 0 10px; }
.case-text h2:first-child { margin-top: 0; }
.case-text p { color: var(--color-text-soft); font-size: 15.5px; line-height: 1.9; margin: 0; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.case-tags span { background: var(--brand-sand); color: var(--brand-primary); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: var(--radius-pill); }
.case-spec { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); position: sticky; top: 96px; }
.cs-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid var(--color-line); }
.cs-row:first-child { border-top: 0; padding-top: 0; }
.cs-row span { font-size: 12.5px; color: var(--color-text-mute); flex-shrink: 0; }
.cs-row b { font-size: 15px; text-align: right; }
.cs-cat { color: var(--brand-primary); }
.cs-yen { color: var(--brand-accent); }
.cs-note { font-size: 11.5px; color: var(--color-text-mute); line-height: 1.7; margin: 12px 0 18px; }

/* --- 料金：信頼づくりブロック --- */
.price-why { background: linear-gradient(135deg, var(--brand-primary), #173a63); color: #fff; border-radius: var(--radius-lg); padding: 32px clamp(20px, 4vw, 40px); margin-bottom: 28px; }
.price-why h2 { color: #fff; font-size: clamp(19px, 2.6vw, 24px); margin: 0 0 12px; }
.price-why p { color: rgba(255,255,255,.9); font-size: 15px; line-height: 1.9; margin: 0; }
.price-why strong { color: var(--brand-gold); }
.price-rules { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pr-chip { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-pill); padding: 8px 16px; font-size: 13px; color: rgba(255,255,255,.9); }
.pr-chip b { color: #fff; }
/* 料金カテゴリ：タブ切替 */
.price-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.price-tab { font-size: 13px; font-weight: 700; color: var(--brand-primary); background: var(--brand-sand); border: 1px solid transparent; border-radius: var(--radius-pill); padding: 9px 15px; cursor: pointer; transition: all .18s; line-height: 1.2; }
.price-tab:hover { background: #e9dfce; }
.price-tab.is-active { background: var(--brand-primary); color: #fff; box-shadow: var(--shadow-sm); }
.price-tab:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 2px; }
.price-group { scroll-margin-top: 96px; }
.price-group[hidden] { display: none; }
.price-group.is-active { animation: priceFade .28s ease; }
@keyframes priceFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
    .price-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-left: -16px; margin-right: -16px; padding: 4px 16px 10px; scrollbar-width: none; }
    .price-tabs::-webkit-scrollbar { display: none; }
    .price-tab { flex: 0 0 auto; }
}
.price-quote { background: var(--brand-sand); border-radius: var(--radius-lg); padding: 28px clamp(20px, 4vw, 36px); margin: 32px 0 0; }
.price-quote h3 { font-size: 18px; color: var(--brand-primary); margin: 0 0 10px; }
.price-quote p { font-size: 14.5px; color: var(--color-text-soft); line-height: 1.9; margin: 0 0 18px; }
.price-quote strong { color: var(--brand-primary); }
.pq-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- 会社：代表サイン写真 --- */
.rep-sign { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-bottom: 28px; }
.rep-sign img { width: 72px; height: 90px; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.rep-sign-txt { text-align: left; }
.rep-sign-txt span { display: block; font-size: 12.5px; color: var(--color-text-mute); }
.rep-sign-txt b { font-size: 18px; color: var(--brand-primary); }

@media (max-width: 860px) {
    .case-detail { grid-template-columns: 1fr; gap: 28px; }
    .case-spec { position: static; }
}
@media (max-width: 520px) {
    .case-gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
}

/* ---------------------------------------------------------
   日本語の改行位置
   指定が無いと「必要」が「必／要」のように語の途中で折り返る。
   文節の切れ目で折り返すよう、本文の要素にまとめて掛けておく。
   対応していないブラウザは無視するだけで、幅や高さは変わらない。
   --------------------------------------------------------- */
h1, h2, h3, h4, p, li, dt, dd, figcaption, blockquote, caption, th, td {
    word-break: auto-phrase;
}
