/* =========================================================
   T-M・サポート 公開サイト
   モダン / ペルソナ別訴求 / IT不慣れな方にも優しいデザイン
   ========================================================= */

:root {
    --color-bg: #FAFAF7;
    --color-surface: #FFFFFF;
    --color-text: #0B1F33;
    --color-text-soft: #4B5A6A;
    --color-text-mute: #7E8B98;
    --color-border: #E6E4DC;
    --color-line: #EFEDE5;

    /* ブランドカラー（チラシの紺/赤を継承しつつモダン化） */
    --brand-primary: #0E2748;   /* 深い紺 */
    --brand-primary-2: #14365E;
    --brand-accent: #E63946;    /* 朱赤 */
    --brand-accent-2: #C81E2D;
    --brand-gold: #F4C430;
    --brand-gold-soft: #FFE9A0;
    --brand-mint: #2A9D8F;
    --brand-sand: #F4EFE6;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(11, 31, 51, .06), 0 1px 3px rgba(11, 31, 51, .04);
    --shadow-md: 0 6px 24px rgba(11, 31, 51, .08), 0 2px 6px rgba(11, 31, 51, .04);
    --shadow-lg: 0 22px 60px rgba(11, 31, 51, .14);

    --container: 1180px;

    --font-sans: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", sans-serif;
    --font-serif: "Noto Serif JP", "Hiragino Mincho Pro", "Yu Mincho", serif;

    --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    font-feature-settings: "palt";
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-primary); text-decoration: none; }
a:hover { opacity: .85; }

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

/* ====== Header ====== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--color-line);
}

.site-header .inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--brand-primary);
    font-size: 18px;
    letter-spacing: .02em;
    flex-shrink: 0;
}

.brand-mark {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-2) 60%, var(--brand-accent));
    color: #fff;
    display: grid; place-items: center;
    font-weight: 900;
    font-size: 17px;
    box-shadow: var(--shadow-sm);
}
.brand-meta { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.brand-meta small { font-size: 11px; color: var(--color-text-mute); font-weight: 500; }

.nav { display: flex; gap: 4px; align-items: center; flex-wrap: nowrap; flex-shrink: 0; }
.nav a {
    padding: 8px 12px;
    font-size: 14.5px;
    color: var(--color-text);
    border-radius: var(--radius-pill);
    font-weight: 500;
    white-space: nowrap;
    transition: background .15s ease;
}
.nav a:hover, .nav a.active { background: rgba(14, 39, 72, .06); }

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.tel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* 白文字とのコントラストを確保するため、--brand-accent より濃い赤を使う */
    background: #C32B38;
    color: #fff !important;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(230, 57, 70, .35);
}
.tel-btn:hover { background: var(--brand-accent-2); opacity: 1; }
.tel-btn svg { width: 16px; height: 16px; }

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 40px; height: 40px;
    border-radius: 10px;
    cursor: pointer;
}
.menu-toggle span {
    display: block; width: 22px; height: 2px; background: var(--brand-primary);
    margin: 4px auto;
    transition: transform .25s;
}

@media (max-width: 1120px) {
    .nav { display: none; }
    .menu-toggle { display: block; }
    .nav.open {
        display: flex;
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        flex-direction: column;
        background: #fff;
        padding: 16px;
        border-bottom: 1px solid var(--color-line);
        gap: 4px;
        box-shadow: var(--shadow-md);
    }
}

/* ====== Hero ====== */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(60% 80% at 80% 10%, rgba(244, 196, 48, .22), transparent 60%),
        radial-gradient(70% 90% at 10% 100%, rgba(230, 57, 70, .12), transparent 60%),
        linear-gradient(180deg, #fff 0%, var(--color-bg) 100%);
    padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 7vw, 72px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 39, 72, .08);
    color: var(--brand-primary);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero-eyebrow::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--brand-accent);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, .18);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { box-shadow: 0 0 0 4px rgba(230, 57, 70, .18); }
    50%     { box-shadow: 0 0 0 8px rgba(230, 57, 70, .04); }
}

.hero h1 {
    font-size: clamp(36px, 5.4vw, 60px);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 18px;
    color: var(--brand-primary);
    font-weight: 800;
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, var(--brand-accent), var(--brand-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p.lead {
    font-size: 17px;
    color: var(--color-text-soft);
    max-width: 540px;
    margin: 0 0 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 22px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 15px;
    border: 0;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
    background: var(--brand-primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-1px); background: var(--brand-primary-2); opacity: 1; }
.btn-accent {
    background: var(--brand-accent); color: #fff;
    box-shadow: 0 12px 28px rgba(230, 57, 70, .35);
}
.btn-accent:hover { background: var(--brand-accent-2); opacity: 1; transform: translateY(-1px); }
.btn-ghost {
    background: #fff; color: var(--brand-primary);
    border: 1px solid var(--color-border);
}
.btn-ghost:hover { background: #f6f4ec; opacity: 1; }
.btn-lg { padding: 16px 26px; font-size: 16px; }

.hero-stats {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 540px;
}
.hero-stat {
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
}
.hero-stat .num {
    font-size: 22px;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: -.02em;
}
.hero-stat .label { font-size: 12px; color: var(--color-text-mute); }

/* Hero visual (right) */
.hero-visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(160deg, var(--brand-primary), var(--brand-primary-2) 60%, #1a4884);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-visual::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(60% 50% at 30% 30%, rgba(244, 196, 48, .35), transparent 60%);
}
.hero-visual .floating {
    position: absolute;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    box-shadow: var(--shadow-md);
    font-size: 13px;
    color: var(--color-text);
    display: flex; align-items: center; gap: 10px;
}
.hero-visual .floating .badge {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--brand-sand);
    color: var(--brand-accent);
    display: grid; place-items: center;
    font-weight: 800;
    font-size: 14px;
}
.hero-visual .floating strong { display: block; color: var(--brand-primary); font-size: 14px; }
.hero-visual .floating small { color: var(--color-text-mute); }

.hero-visual .f1 { top: 22%; left: -18px; }
.hero-visual .f2 { top: 48%; right: -22px; }
.hero-visual .f3 { bottom: 12%; left: 20px; }

.hero-logo-overlay {
    position: absolute;
    inset: auto 0 24% 0;
    text-align: center;
    color: #fff;
    font-family: var(--font-serif);
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: .04em;
    text-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.hero-logo-overlay small { display: block; font-size: 14px; font-weight: 500; letter-spacing: .3em; margin-bottom: 6px; opacity: .8; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { aspect-ratio: 16/11; max-width: 480px; margin: 0 auto; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); }
}

/* ====== Sections ====== */
section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.eyebrow {
    /* ベージュ地でもコントラストを確保できる濃さの赤 */
    color: #C32B38;
    font-size: 13px; font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-head h2 {
    font-size: clamp(28px, 3.6vw, 44px);
    margin: 0 0 12px;
    letter-spacing: -.02em;
    color: var(--brand-primary);
    font-weight: 800;
}
.section-head p {
    color: var(--color-text-soft);
    max-width: 640px;
    margin: 0 auto;
    font-size: 16px;
}

/* ====== Services ====== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}
.svc-card {
    grid-column: span 4;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .2s;
}
.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(14, 39, 72, .15);
}
.svc-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--brand-sand);
    color: var(--brand-accent);
    display: grid; place-items: center;
    margin-bottom: 18px;
    font-size: 24px;
}
.svc-card.feature { grid-column: span 8; background: linear-gradient(120deg, var(--brand-primary), #1a4884); color: #fff; }
.svc-card.feature .svc-icon { background: rgba(255, 255, 255, .14); color: var(--brand-gold); }
.svc-card.feature h3, .svc-card.feature p { color: #fff; }
.svc-card.feature .arrow { color: var(--brand-gold); }
.svc-card h3 { margin: 0 0 8px; font-size: 19px; color: var(--brand-primary); font-weight: 700; }
.svc-card p { margin: 0 0 14px; font-size: 14.5px; color: var(--color-text-soft); }
.svc-card .arrow { color: var(--brand-accent); font-weight: 700; font-size: 14px; }

@media (max-width: 800px) {
    .svc-card, .svc-card.feature { grid-column: span 12; }
}

/* ====== Persona Tabs ====== */
.persona-section {
    background: linear-gradient(180deg, #fff 0%, var(--color-bg) 100%);
}
.persona-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 36px;
}
.persona-tab {
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--brand-primary);
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s ease;
}
.persona-tab:hover { background: var(--brand-sand); }
.persona-tab.active {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary);
    box-shadow: 0 6px 16px rgba(14, 39, 72, .25);
}

.persona-panel {
    display: none;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.persona-panel.active { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }

.persona-panel .pcontent h3 {
    font-size: 26px; margin: 8px 0 14px; color: var(--brand-primary);
}
.persona-panel .pcontent .tag {
    display: inline-block;
    background: var(--brand-sand);
    color: var(--brand-accent);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}
.persona-panel ul {
    list-style: none; padding: 0; margin: 18px 0;
}
.persona-panel ul li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 10px;
    color: var(--color-text-soft);
    font-size: 15px;
}
.persona-panel ul li::before {
    content: "✓"; position: absolute; left: 0; top: 0;
    width: 20px; height: 20px;
    background: var(--brand-mint);
    color: #fff;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 11px;
    font-weight: 800;
}
.persona-panel .pvisual {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--brand-sand), var(--brand-gold-soft));
    display: grid; place-items: center;
    font-size: 100px;
}

@media (max-width: 800px) {
    .persona-panel.active { grid-template-columns: 1fr; }
    .persona-panel .pvisual { aspect-ratio: 16/9; }
}

/* ====== Process / Flow ====== */
.flow {
    background: var(--brand-primary);
    color: #fff;
}
.flow .section-head h2, .flow .section-head { color: #fff; }
.flow .eyebrow { color: var(--brand-gold); }
.flow .section-head p { color: rgba(255,255,255,.78); }

.flow-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
}
.flow-step {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: 22px;
    text-align: center;
    transition: transform .2s;
}
.flow-step:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); }
.flow-step .step-num {
    display: inline-block;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--brand-gold);
    color: var(--brand-primary);
    line-height: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}
.flow-step h4 { margin: 0 0 8px; color: #fff; font-size: 16px; }
.flow-step p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.7); }

@media (max-width: 800px) {
    .flow-steps { grid-template-columns: repeat(2, 1fr); }
}

/* ====== Cases ====== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.case-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform .25s, box-shadow .25s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.case-thumb {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--brand-sand), #e6dbc7);
    position: relative;
    overflow: hidden;
}
.case-thumb .ba {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(11, 31, 51, .85);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
}
.case-thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-thumb .placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    color: var(--brand-primary);
    font-size: 48px; opacity: .25;
}

.case-body { padding: 18px 20px; }
.case-cat {
    color: var(--brand-accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.case-card h4 { margin: 6px 0 10px; color: var(--brand-primary); font-size: 17px; line-height: 1.4; }
.case-meta {
    display: flex; gap: 12px; margin-top: 12px;
    font-size: 12.5px; color: var(--color-text-mute);
    padding-top: 12px; border-top: 1px solid var(--color-line);
}
.case-meta span { display: inline-flex; align-items: center; gap: 4px; }

@media (max-width: 800px) {
    .cases-grid { grid-template-columns: 1fr; }
}

/* ====== Voice / Testimonials ====== */
.voice-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.voice-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
}
.voice-card::before {
    content: "“";
    position: absolute;
    top: 6px; left: 18px;
    font-family: var(--font-serif);
    font-size: 64px;
    color: var(--brand-gold);
    line-height: 1;
}
.voice-card p { font-size: 15px; color: var(--color-text-soft); margin: 16px 0 18px; padding-top: 14px;}
.voice-card .who {
    color: var(--brand-primary); font-size: 13px; font-weight: 700;
}
.voice-card .who small { color: var(--color-text-mute); font-weight: 500; margin-left: 6px; }

@media (max-width: 800px) { .voice-list { grid-template-columns: 1fr; } }

/* ====== FAQ ====== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow .2s;
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    font-weight: 700;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--brand-sand);
    color: var(--brand-accent);
    display: grid; place-items: center;
    transition: transform .2s;
    font-weight: 700;
}
.faq-item[open] summary::after { content: "−"; transform: rotate(0); background: var(--brand-primary); color: #fff; }
.faq-item .a {
    padding: 0 24px 22px;
    color: var(--color-text-soft);
    font-size: 14.5px;
    line-height: 1.8;
}

/* ====== CTA ====== */
.cta {
    background:
        radial-gradient(60% 80% at 80% 20%, rgba(244, 196, 48, .2), transparent 60%),
        linear-gradient(135deg, var(--brand-primary), #1a4884);
    color: #fff;
    text-align: center;
    padding: clamp(60px, 8vw, 90px) 0;
    margin: 0;
}
.cta h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin: 0 0 16px; font-weight: 800; }
.cta p { color: rgba(255,255,255,.82); max-width: 580px; margin: 0 auto 32px; font-size: 16px; }
.cta-actions {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ====== Footer ====== */
.site-footer {
    background: #06182C;
    color: rgba(255,255,255,.72);
    padding: 60px 0 30px;
    font-size: 14px;
}
.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}
.foot-grid h5 {
    color: #fff;
    font-size: 14px;
    margin: 0 0 16px;
    letter-spacing: .04em;
}
.foot-grid a { color: rgba(255,255,255,.72); display: block; padding: 4px 0; }
.foot-grid a:hover { color: #fff; opacity: 1; }
.foot-brand .brand-mark { background: linear-gradient(135deg, var(--brand-gold), var(--brand-accent)); }
.foot-brand p { color: rgba(255,255,255,.6); margin: 14px 0 0; font-size: 13.5px; }

.sns-icons { display: flex; gap: 10px; margin-top: 12px; }
.sns-icons a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: grid; place-items: center;
    padding: 0;
}
.sns-icons a:hover { background: var(--brand-accent); }
.sns-icons svg { width: 18px; height: 18px; fill: #fff; }

.foot-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 20px;
    text-align: center;
    /* .4 だと暗い地に対して 3.78 で、基準の4.5に届かない */
    color: rgba(255,255,255,.52);
    font-size: 12px;
}

@media (max-width: 800px) {
    .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ====== Pages: Cases List ====== */
.page-head {
    padding: 64px 0 32px;
    background: linear-gradient(180deg, #fff 0%, var(--color-bg) 100%);
    border-bottom: 1px solid var(--color-line);
}
.page-head h1 {
    font-size: clamp(28px, 4vw, 40px);
    margin: 8px 0 6px;
    color: var(--brand-primary);
    font-weight: 800;
}
.page-head .crumbs { color: #5F6874; font-size: 13px; }
/* 指で押せる高さ（24px以上）を確保する。文字は小さいままでよい。 */
.page-head .crumbs a { display: inline-block; padding: 5px 2px; }

/* Filters */
.filters {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 12px;
    margin-bottom: 32px;
    align-items: end;
}
.filters label { display: block; }
.filters label span { display: block; font-size: 12px; color: var(--color-text-mute); margin-bottom: 4px; }
.filters select, .filters input {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    font-size: 14px;
}
.filters button {
    background: var(--brand-primary);
    color: #fff;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    border: 0;
    cursor: pointer;
}

@media (max-width: 800px) {
    .filters { grid-template-columns: 1fr 1fr; }
    .filters button { grid-column: span 2; }
}

/* ====== Forms (Contact) ====== */
.form-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 48px;
    align-items: start;
}
.form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--brand-primary); margin-bottom: 6px; }
.field .req {
    display: inline-block;
    background: var(--brand-accent);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
}
.field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 0;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(14, 39, 72, .12);
}
.field .hint { font-size: 12px; color: var(--color-text-mute); margin-top: 4px; }
.field.err input, .field.err select, .field.err textarea { border-color: var(--brand-accent); background: #fff5f6; }
.field .errmsg { color: var(--brand-accent); font-size: 12px; margin-top: 4px; }

.form-aside {
    background: var(--brand-primary);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
}
.form-aside h3 { color: #fff; margin: 0 0 16px; font-size: 20px; }
.form-aside p { color: rgba(255,255,255,.78); font-size: 14px; margin-bottom: 18px; }
.form-aside .big-tel {
    display: block;
    color: var(--brand-gold) !important;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: .04em;
    margin: 8px 0;
}
.form-aside .big-tel:hover { opacity: 1; }
.form-aside ul { padding-left: 18px; color: rgba(255,255,255,.85); font-size: 13.5px; }
.form-aside li { margin-bottom: 4px; }

@media (max-width: 800px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px; } }

/* Sticky mobile call bar */
.mobile-call-bar {
    display: none;
    position: fixed; left: 0; right: 0; bottom: 0;
    /* 白文字を載せるので、旧アクセント #E63946（4.17）ではなくサイトの赤（5.64） */
    background: #C32B38; color: #fff;
    padding: 12px; text-align: center; font-weight: 700;
    box-shadow: 0 -6px 16px rgba(0,0,0,.15);
    z-index: 85;
}
@media (max-width: 700px) {
    .mobile-call-bar { display: block; }
}

.mobile-call-bar a { color: #fff; font-weight: 800; }

/* ====== Service Detail / generic ====== */
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}
.feature-list li {
    list-style: none;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    font-size: 14.5px;
    color: var(--color-text-soft);
}
.feature-list li strong { color: var(--brand-primary); display: block; margin-bottom: 4px; }

.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 14.5px;
}
.alert-success { background: #E8F8F3; color: #1B6E62; border-left: 4px solid var(--brand-mint); }
.alert-error   { background: #FCE9EB; color: #9A1B25; border-left: 4px solid var(--brand-accent); }

/* ====== Reveal animation ====== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
}
