:root {
    --color-navy: #1e3a5f;
    --color-navy-accent: #1e40af;
    --color-yellow: #f5d000;
    --color-yellow-bright: #ffe033;
    --header-h: 4.5rem;
    --shadow-card: 0 4px 14px rgba(30, 58, 95, 0.08);
    --shadow-card-hover: 0 12px 28px rgba(30, 58, 95, 0.12);
    /* セクション縦余白（SP でも詰めすぎない／PC で均一） */
    --layout-section-y: clamp(2.5rem, 5vw, 3.75rem);
    --layout-section-y-tight: clamp(2rem, 4vw, 2.75rem);
    --layout-stack-after-heading: clamp(1.75rem, 3.5vw, 2.5rem);
}
.layout-section {
    padding-top: var(--layout-section-y);
    padding-bottom: var(--layout-section-y);
}
.layout-section--tight {
    padding-top: var(--layout-section-y-tight);
    padding-bottom: var(--layout-section-y-tight);
}
/* お客様の声：イニシャル円（キャラクター SVG 不使用） */
.voice-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 9999px;
    box-shadow: 0 2px 12px rgba(30, 58, 95, 0.14);
    border: 2px solid rgba(255, 255, 255, 0.92);
}
.voice-avatar__letter {
    font-weight: 700;
    color: #fff;
    line-height: 1;
    font-family: 'Noto Sans JP', system-ui, sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.voice-avatar--sm {
    width: 3.5rem;
    height: 3.5rem;
}
.voice-avatar--sm .voice-avatar__letter {
    font-size: 1rem;
}
.voice-avatar--md {
    width: 4rem;
    height: 4rem;
}
.voice-avatar--md .voice-avatar__letter {
    font-size: 1.125rem;
}
.voice-avatar--lg {
    width: 5rem;
    height: 5rem;
}
.voice-avatar--lg .voice-avatar__letter {
    font-size: 1.35rem;
}
html.lenis, html.lenis body { height: auto; }
html {
    scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: reduce) {
    .lenis-smooth { scroll-behavior: auto !important; }
}
body {
    font-family: 'Noto Sans JP', system-ui, sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}
.bg-yellow-main { background-color: var(--color-yellow); }
.text-blue-main { color: var(--color-navy-accent); }
.bg-blue-main { background-color: var(--color-navy-accent); }
/* Tailwind の text-[var(--color-navy)] 等は tw-utilities に出ないため、実体クラスで統一 */
.text-navy {
    color: var(--color-navy);
}
.hover\:text-navy:hover {
    color: var(--color-navy);
}
/* ネイビー塗り＋白字（任意値 bg-[var(...)] 非対応の代替） */
.btn-navy-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: var(--color-navy-accent);
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
    line-height: 1.3;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.35);
    text-decoration: none;
    transition: filter 0.2s ease, transform 0.2s ease;
}
.btn-navy-pill:hover {
    filter: brightness(1.08);
}
.border-yellow-main { border-color: var(--color-yellow); }
.border-blue-main { border-color: var(--color-navy-accent); }
/* ※ .hidden は付けたまま。ナビ表示は #site-header の詳細度で上書き（Tailwind md と競合しない） */
@media (max-width: 1023.98px) {
    #mobile-menu:not(.hidden) { display: block; }
}
/* Hero */
.hero-overlay {
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.22) 42%, rgba(15, 23, 42, 0.58) 100%);
}
.hero-overlay-layer {
    z-index: 2;
}
.card-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}
.service-card {
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.service-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}
.btn-primary {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.btn-primary:focus-visible {
    outline: 2px solid var(--color-yellow-bright);
    outline-offset: 3px;
}
a:focus-visible {
    outline: 2px solid var(--color-navy-accent);
    outline-offset: 2px;
    border-radius: 4px;
}
.skip-to-main {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-to-main:focus {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 100000;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0.65rem 1.1rem;
    clip: auto;
    overflow: visible;
    white-space: normal;
    background: var(--color-navy-accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}
.footer-subnav a {
    text-decoration: none;
}
.w-8 { width: 2rem !important; }
.h-8 { height: 2rem !important; }
.w-9 { width: 2.25rem !important; }
.h-9 { height: 2.25rem !important; }
.concept-anim-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
}
.concept-anim-svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}
.concept-bolt {
    transform-origin: 48px 48px;
    animation: concept-bolt-glow 2.4s ease-in-out infinite;
}
@keyframes concept-bolt-glow {
    0%, 100% {
        opacity: 0.92;
        filter: drop-shadow(0 0 2px rgba(250, 204, 21, 0.3));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 14px rgba(253, 224, 71, 0.55));
    }
}
@media (prefers-reduced-motion: reduce) {
    .concept-bolt {
        animation: none;
        filter: none;
    }
}
.nav-link-underline {
    position: relative;
}
.nav-link-underline::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 2px;
    background: var(--color-yellow);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}
.nav-link-underline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
.left-1\/2 { left: 50%; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.h-0\.5 { height: 0.125rem; }
.gap-1\.5 { gap: 0.375rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.-top-3 { top: -0.75rem; }
.rounded-md { border-radius: 0.375rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.text-yellow-main { color: #facc15; }
/* ヘッダー：正方形ロゴの比率維持・SP はロゴをバランスよく中央 */
.header-bar {
    display: grid;
    grid-template-columns: minmax(2.75rem, 1fr) minmax(0, max-content) minmax(2.75rem, 1fr);
    align-items: center;
    column-gap: 0.5rem;
    width: 100%;
}
.header-bar__gutter {
    display: none;
}
@media (max-width: 1023.98px) {
    .header-bar__gutter {
        display: block;
        grid-column: 1;
    }
    #site-header .site-brand--header {
        grid-column: 2;
        justify-self: center;
    }
    #site-header .site-nav-toggle {
        grid-column: 3;
        justify-self: end;
    }
}
@media (min-width: 1024px) {
    .header-bar {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }
    .header-bar__gutter {
        display: none !important;
    }
}
/* マークのみロゴ＋ワードマーク（識別・アクセシビリティ） */
.site-brand--header {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    max-width: min(100%, 19rem);
    line-height: 1.2;
    border-radius: 0.75rem;
    transition: opacity 0.2s ease;
}
@media (min-width: 640px) {
    .site-brand--header {
        max-width: min(100%, 22rem);
        gap: 0.625rem;
    }
}
.site-brand--header:hover {
    opacity: 0.92;
}
.site-brand--header:focus-visible {
    outline: 2px solid var(--color-navy-accent);
    outline-offset: 3px;
}
/* 正方形マーク：やや大きめにしつつワードマークとバランス（img の width/height は 64 等の小値＋下記で描画を固定） */
.site-brand__logo {
    display: block;
    flex-shrink: 0;
    box-sizing: border-box;
    aspect-ratio: 1;
    width: auto;
    height: clamp(2.35rem, 7vw, 2.95rem);
    max-width: min(2.95rem, 26vw);
    max-height: 2.95rem;
    object-fit: contain;
}
@media (min-width: 768px) {
    .site-brand__logo {
        height: clamp(2.5rem, 3.4vw, 3.05rem);
        max-width: min(3.05rem, 22vw);
        max-height: 3.05rem;
    }
}
.site-brand__wordmark {
    display: block;
    min-width: 0;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--color-navy);
    text-align: left;
    line-height: 1.25;
}
@media (min-width: 480px) {
    .site-brand__wordmark {
        font-size: 0.75rem;
    }
}
@media (min-width: 768px) {
    .site-brand__wordmark {
        font-size: 0.8125rem;
        letter-spacing: -0.035em;
    }
}
/* フッター：ロゴをやや大きく、法人格は画像下に小さく */
.site-footer__brand {
    margin-bottom: 1.5rem;
    text-align: center;
}
.site-footer__brand-link {
    display: inline-block;
    line-height: 0;
    border-radius: 0.5rem;
    transition: opacity 0.2s ease;
}
.site-footer__brand-link:hover {
    opacity: 0.9;
}
.site-footer__logo {
    display: block;
    box-sizing: border-box;
    aspect-ratio: 1;
    height: clamp(3.25rem, 9vw, 4.25rem);
    width: auto;
    max-width: min(4.5rem, 40vw);
    max-height: 4.5rem;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}
.site-footer__legal-name {
    margin: 0.65rem 0 0;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #e2e8f0;
}

.site-header {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(30, 58, 95, 0.06), 0 8px 32px rgba(30, 58, 95, 0.06);
}
/* 768〜1023px は項目数が多く横ナビが崩れるため、デスクトップナビは 1024px 以上 */
#site-header .site-nav-desktop {
    display: none;
}
#site-header .site-nav-toggle {
    display: flex;
}
@media (min-width: 1024px) {
    #site-header .site-nav-desktop {
        display: flex;
    }
    #site-header .site-nav-toggle {
        display: none;
    }
    #site-header #mobile-menu {
        display: none !important;
    }
}
.nav-pill {
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 2px 12px rgba(30, 58, 95, 0.06);
}
.section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-navy-accent);
}
.section-kicker::before {
    content: '';
    width: 1.75rem;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-yellow), var(--color-yellow-bright));
}
.concept-band {
    background: linear-gradient(155deg, #fff9c4 0%, var(--color-yellow) 42%, #e6bb00 100%);
}
.feature-card-modern {
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
    box-shadow: 0 4px 24px rgba(30, 58, 95, 0.07);
}
.service-card-modern {
    border-radius: 1.125rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
    background: #fff;
}
.service-card-modern .service-img-wrap {
    position: relative;
}
.service-card-modern .service-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.25) 100%);
    opacity: 0.85;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.service-card-modern:hover .service-img-wrap::after {
    opacity: 0.55;
}
.flow-card-modern {
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.06);
}
.voice-card-modern {
    border: 1px solid rgba(226, 232, 240, 0.85);
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
}
.company-section-intro {
    margin-bottom: var(--layout-stack-after-heading);
}
@media (min-width: 768px) {
    .company-section-intro {
        margin-bottom: clamp(2rem, 3.5vw, 2.75rem);
    }
}

.company-table-modern {
    box-shadow: 0 8px 32px rgba(30, 58, 95, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

/*
 * 会社概要：テーブルではなく dl + grid。SP はブロック積み、PC は2列。
 * （Tailwind CDN の table 系プリフライトと競合しない）
 */
.company-info-list {
    margin: 0;
}
.company-info-row {
    margin: 0;
    border-bottom: 1px solid #f3f4f6;
}
.company-info-row:last-child {
    border-bottom: none;
}
.company-info-label {
    margin: 0;
    font-weight: 700;
}
.company-info-value {
    margin: 0;
    margin-inline-start: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 767.98px) {
    .company-table-modern {
        border-radius: 1rem;
    }
    .company-info-label {
        padding: 0.875rem 1rem 0.25rem;
        font-size: 0.75rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #64748b;
        background: #f8fafc;
        line-height: 1.4;
    }
    .company-info-value {
        padding: 0.35rem 1rem 1rem;
        font-size: 0.9375rem;
        line-height: 1.65;
        color: #334155;
    }
    .company-info-row:last-child .company-info-value {
        padding-bottom: 1.125rem;
    }
}

@media (min-width: 768px) {
    .company-info-row {
        display: grid;
        grid-template-columns: minmax(9.5rem, 32%) minmax(0, 1fr);
        align-items: stretch;
        border-bottom-color: #f3f4f6;
    }
    .company-info-label,
    .company-info-value {
        min-width: 0;
    }
    .company-info-label {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: normal;
        text-transform: none;
        color: var(--color-navy);
        background: #f9fafb;
        border-right: 1px solid #f3f4f6;
    }
    .company-info-value {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
        line-height: 1.625;
        color: #374151;
        background: #fff;
    }
}
@media (min-width: 1024px) {
    .company-info-row {
        grid-template-columns: minmax(11rem, 33.333%) minmax(0, 1fr);
    }
    .company-info-label,
    .company-info-value {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
.cta-band {
    position: relative;
    background: linear-gradient(135deg, #1e3a5f 0%, var(--color-navy-accent) 48%, #172554 100%);
}
/* 帯内の補助テキスト（text-blue-100 相当だとネイビー上で薄くなりがち） */
.cta-band-lead {
    color: rgba(255, 255, 255, 0.94);
    line-height: 1.65;
}
.cta-band .cta-band-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.12;
}
.cta-band-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}
.cta-band-inner .cta-band-tel-btn {
    align-self: center;
}
.cta-band-form-slot {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
@media (min-width: 1024px) {
    .cta-band-inner {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 2rem 2.5rem;
    }
    .cta-band-form-slot {
        flex: 0 1 auto;
        width: auto;
        max-width: none;
        align-items: center;
        justify-content: center;
    }
    .cta-band-inner .cta-band-tel-btn {
        align-self: center;
    }
}
.cta-band-inner--form-only {
    justify-content: center;
}
.cta-band-inner--form-only .cta-band-form-slot {
    max-width: 28rem;
    width: 100%;
}
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.rounded-xl { border-radius: 0.75rem; }
.shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gap-0\.5 { gap: 0.125rem; }
@media (min-width: 640px) {
    .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .sm\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
}
@media (min-width: 768px) {
    .md\:text-left { text-align: left; }
}
.gap-x-1 { column-gap: 0.25rem; }
.gap-y-1 { row-gap: 0.25rem; }
@media (min-width: 1024px) {
    .lg\:gap-3 { gap: 0.75rem; }
}
.gap-2 { gap: 0.5rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-gray-300 {
    color: #d1d5db;
}
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200\/70 { border-color: rgba(226, 232, 240, 0.7); }
.border-slate-200\/80 { border-color: rgba(226, 232, 240, 0.8); }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100\/90 { background-color: rgba(241, 245, 249, 0.9); }
.hover\:bg-slate-50:hover { background-color: #f8fafc; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 0.25rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mt-3 { margin-top: 0.75rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.gap-3 { gap: 0.75rem; }
.gap-5 { gap: 1.25rem; }
.max-w-xl { max-width: 36rem; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.border-t { border-top-width: 1px; }
/* ヒーロー：固定ヘッダー分を確保しつつ縦中央（Next と同一） */
#hero.hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: var(--header-h);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
#hero.hero-section .hero-inner {
    width: 100%;
}

/* ヒーロータグライン（1文字ずつのアニメ用） */
#hero-tagline {
    perspective: 500px;
}
#hero-tagline .hero-tagline-char {
    display: inline-block;
    transform-origin: 50% 80%;
}
@media (prefers-reduced-motion: reduce) {
    #hero-tagline .hero-tagline-char {
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }
}
/* ヒーロー装飾 SVG */
.hero-svg-deco {
    position: absolute;
    right: 4%;
    bottom: 12%;
    width: min(180px, 28vw);
    opacity: 0.45;
    z-index: 3;
    pointer-events: none;
}
.hero-svg-deco .deco-bolt {
    fill: none;
    stroke: var(--color-yellow-bright);
    stroke-width: 2;
    stroke-linecap: round;
    animation: hero-deco-pulse 4s ease-in-out infinite;
}
@keyframes hero-deco-pulse {
    0%, 100% { opacity: 0.45; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.04); }
}
@media (max-width: 767px) {
    .hero-svg-deco { width: min(120px, 32vw); bottom: 18%; right: 2%; opacity: 0.35; }
}
.hero-trust-line {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(219, 234, 254, 0.92);
    margin-bottom: 1rem;
}
.hero-cta-double {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
}
.hero-cta-double .hero-cta-mail,
.hero-cta-double .hero-cta-tel {
    width: 100%;
    max-width: 22rem;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .hero-cta-double {
        flex-direction: row;
        gap: 1rem;
    }
    .hero-cta-double .hero-cta-mail,
    .hero-cta-double .hero-cta-tel {
        width: auto;
        max-width: none;
    }
    .hero-cta-double .hero-cta-mail { order: 2; }
    .hero-cta-double .hero-cta-tel { order: 1; }
}
.hero-cta-double--form-only .hero-cta-mail {
    max-width: 24rem;
}
@media (min-width: 768px) {
    .hero-cta-double--form-only {
        flex-direction: column;
    }
    .hero-cta-double--form-only .hero-cta-mail {
        order: 0;
    }
}
/* メール CTA と同系のクリック領域。btn-primary の黒シャドウは使わない（ガラス調が汚く見えるため） */
.hero-cta-tel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.14);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hero-cta-tel-icon {
    width: 1.25rem;
    height: 1.25rem;
}
.hero-cta-tel:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
    transform: translateY(-1px);
}
.hero-cta-tel:focus-visible {
    outline: 2px solid var(--color-yellow-bright);
    outline-offset: 3px;
}
body.sticky-cv-on { padding-bottom: 4.35rem; }
@media (min-width: 768px) {
    body.sticky-cv-on { padding-bottom: 3.85rem; }
}
.cv-bridge-sub {
    font-size: 0.875rem;
    color: rgba(219, 234, 254, 0.88);
    line-height: 1.5;
}
/* 中間 CV ブリッジ */
.cv-bridge {
    background: linear-gradient(90deg, #1e3a5f 0%, var(--color-navy-accent) 50%, #1e3a5f 100%);
    color: #fff;
    padding: 1.75rem 0;
    border-top: 3px solid var(--color-yellow);
    border-bottom: 3px solid var(--color-yellow);
}
.cv-bridge-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1.25rem;
}
.cv-bridge-copy {
    text-align: center;
    width: 100%;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) {
    .cv-bridge-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.25rem 1.5rem;
    }
    .cv-bridge-copy {
        flex: 0 1 auto;
        min-width: 0;
        max-width: 42rem;
        text-align: center;
    }
    .cv-bridge-actions {
        flex: 0 0 auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
    }
    .cv-bridge .btn-cv-primary,
    .cv-bridge .btn-cv-secondary {
        white-space: nowrap;
    }
}
@media (max-width: 767.98px) {
    .cv-bridge-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
        gap: 0.75rem;
    }
    .cv-bridge-actions .btn-cv-primary,
    .cv-bridge-actions .btn-cv-secondary {
        width: 100%;
        box-sizing: border-box;
    }
}
.cv-bridge .btn-cv-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: var(--color-yellow);
    color: var(--color-navy);
    font-weight: 700;
    text-decoration: none;
    border-radius: 9999px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, filter 0.2s ease;
}
.cv-bridge .btn-cv-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}
.cv-bridge .btn-cv-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 9999px;
    transition: background 0.2s ease;
}
.cv-bridge .btn-cv-secondary:hover {
    background: rgba(255, 255, 255, 0.24);
}
.cv-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: var(--color-yellow);
    color: var(--color-navy);
    margin-bottom: 0.35rem;
}
/* スティッキー CV バー */
.sticky-cv-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
    padding: 0.65rem 1rem;
    transform: translateY(110%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.sticky-cv-bar.is-visible {
    transform: translateY(0);
}
.sticky-cv-bar .sticky-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 0.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem 1rem;
}
.sticky-cv-bar .sticky-copy {
    flex: 0 1 32rem;
    max-width: 100%;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.35;
}
.sticky-cv-bar .sticky-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.sticky-tel {
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    background: #fff;
    color: var(--color-navy-accent);
    border: 2px solid var(--color-navy-accent);
    border-radius: 9999px;
}
.sticky-mail {
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--color-navy-accent);
    color: #fff;
    border-radius: 9999px;
}
@media (min-width: 768px) {
    .sticky-cv-bar { padding: 0.5rem 1.25rem; }
    .sticky-cv-bar .sticky-copy { font-size: 0.9rem; }
}
.service-card-cta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}
.service-card-cta a {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-navy-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.service-card-cta a:hover {
    color: var(--color-yellow);
    text-decoration: underline;
}
.badge-free {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    background: var(--color-yellow);
    color: var(--color-navy);
    vertical-align: middle;
    margin-left: 0.35rem;
}

/* 問い合わせ CTA：アイコンは .aburayadenki-inline-icon の箱の中に描画（WP/プラグインの svg リセットで潰れない） */
.aburayadenki-inline-icon {
    box-sizing: border-box;
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    min-height: 1.5rem;
    max-width: none;
    max-height: none;
    flex: 0 0 1.5rem;
    align-items: center;
    justify-content: center;
    overflow: visible;
    line-height: 0;
    vertical-align: middle;
}
.aburayadenki-inline-icon > svg {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    overflow: visible;
}
.aburayadenki-cta-mail-navy {
    color: var(--color-navy);
}
/* メールアイコン：固定枠＋img（flex 内でも寸法が潰れないようラッパーで囲む） */
.aburayadenki-mail-icon-wrap {
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 0 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    min-height: 1.5rem;
    max-width: none;
    max-height: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    line-height: 0;
    vertical-align: middle;
}
.aburayadenki-mail-icon-wrap img.aburayadenki-mail-img-icon {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
    object-fit: contain;
    vertical-align: middle;
}

/* Contact Form 7（#contact 内のみ・従来の黄色 CTA ボタンと同一トーン。装飾アニメは #cta-mail を維持） */
#contact .aburayadenki-cf7-wrap .aburayadenki-cf7-embed.wpcf7 {
    margin: 0;
}
#contact .aburayadenki-cf7-embed .wpcf7-form {
    margin: 0;
    text-align: left;
}
#contact .aburayadenki-cf7-embed .wpcf7-form p {
    margin: 0 0 1rem;
}
#contact .aburayadenki-cf7-embed label {
    display: block;
    color: rgba(219, 234, 254, 0.95);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}
#contact .aburayadenki-cf7-embed input[type="text"],
#contact .aburayadenki-cf7-embed input[type="email"],
#contact .aburayadenki-cf7-embed input[type="tel"],
#contact .aburayadenki-cf7-embed input[type="url"],
#contact .aburayadenki-cf7-embed textarea,
#contact .aburayadenki-cf7-embed select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.65rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 400;
    color: var(--color-navy);
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
#contact .aburayadenki-cf7-embed textarea {
    min-height: 8rem;
    resize: vertical;
}
#contact .aburayadenki-cf7-embed input:focus,
#contact .aburayadenki-cf7-embed textarea:focus,
#contact .aburayadenki-cf7-embed select:focus {
    outline: 2px solid var(--color-yellow-bright);
    outline-offset: 2px;
    border-color: rgba(255, 255, 255, 0.6);
}
#contact .aburayadenki-cf7-embed .wpcf7-submit {
    width: 100%;
    cursor: pointer;
    border: none;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.4;
    padding: 1rem 2.5rem;
    margin-top: 0.25rem;
    background: var(--color-yellow);
    color: var(--color-navy);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, filter 0.2s ease;
}
@media (min-width: 768px) {
    #contact .aburayadenki-cf7-embed .wpcf7-submit {
        font-size: 1.25rem;
    }
}
#contact .aburayadenki-cf7-embed .wpcf7-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
#contact .aburayadenki-cf7-embed .wpcf7-not-valid-tip {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    color: #fecaca;
}
#contact .aburayadenki-cf7-embed .wpcf7-not-valid {
    border-color: #f87171 !important;
}
#contact .aburayadenki-cf7-embed .wpcf7-response-output {
    margin: 1rem 0 0;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-width: 1px;
}
#contact .aburayadenki-cf7-embed .wpcf7-mail-sent-ok {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.5);
    color: #bbf7d0;
}
#contact .aburayadenki-cf7-embed .wpcf7-validation-errors,
#contact .aburayadenki-cf7-embed .wpcf7-mail-sent-ng {
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.45);
    color: #fecaca;
}
#contact .aburayadenki-cf7-embed .ajax-loader,
#contact .aburayadenki-cf7-embed .wpcf7-spinner {
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* --- お問い合わせ固定ページ（Next app/contact 相当） */
/* 他下層（site-main--sub）と同じヘッダー下オフセット。余白の二重化は .contact-page-intro-inner で調整 */
.site-main--contact {
    padding-top: var(--header-h);
}
.site-main--news,
.site-main--news-single {
    padding-top: calc(var(--header-h) + 0.75rem);
}
.news-section-kicker.section-kicker {
    width: 100%;
    justify-content: center;
}
.news-single-body .alignwide,
.news-single-body .alignfull {
    margin-left: 0;
    margin-right: 0;
}
.contact-page-form-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 72%);
}
/* イントロ直下とのつなぎを詰め、セクション間の空白だまりを減らす */
.contact-page-form-section.layout-section {
    padding-top: clamp(1.5rem, 3.5vw, 2.5rem);
}
.contact-page-intro {
    position: relative;
    overflow: hidden;
    padding-bottom: 0.25rem;
    background-color: #f8fafc;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}
.contact-page-intro-inner {
    padding-top: clamp(1.5rem, 4vw, 2.75rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
@media (min-width: 768px) {
    .contact-page-intro-inner {
        padding-top: clamp(2.25rem, 4vw, 3rem);
        padding-bottom: clamp(3rem, 5vw, 4rem);
    }
}
.contact-page-intro-deco {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    pointer-events: none;
}
.contact-page-need-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) {
    .contact-page-need-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}
.contact-page-need-card {
    border-radius: 1.125rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow-card);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-page-need-card:hover {
    border-color: rgba(250, 204, 21, 0.65);
    box-shadow: var(--shadow-card-hover);
}
.contact-page-form-card {
    box-shadow: var(--shadow-card);
}
.contact-page-band-form-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.35rem;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.88);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.contact-page-band-form-link:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}
.contact-page-band-form-link:focus-visible {
    outline: 2px solid var(--color-yellow-bright);
    outline-offset: 3px;
}
.contact-page-need-title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.01em;
    color: var(--color-navy);
    transition: color 0.25s ease;
}
@media (min-width: 768px) {
    .contact-page-need-title {
        font-size: 1.0625rem;
    }
}
.contact-page-need-card.group:hover .contact-page-need-title {
    color: var(--color-navy-accent);
}
.contact-page-need-desc {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #374151;
}
.contact-page-band-copy {
    text-align: center;
    color: rgba(255, 255, 255, 0.93);
}
@media (min-width: 768px) {
    .contact-page-band-copy {
        text-align: left;
    }
}

/* アンカー遷移時に固定ヘッダーで見出しが隠れないようにする */
#inquiry-form {
    scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

/* Contact Form 7（白背景・お問い合わせページ内） */
#inquiry-form .aburayadenki-cf7-contact-page.wpcf7 {
    margin: 0;
}
#inquiry-form .aburayadenki-cf7-contact-page .wpcf7-form {
    margin: 0;
    text-align: left;
}
#inquiry-form .aburayadenki-cf7-contact-page .wpcf7-form p {
    margin: 0 0 1rem;
}
#inquiry-form .aburayadenki-cf7-contact-page label {
    display: block;
    color: var(--color-navy);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}
#inquiry-form .aburayadenki-cf7-contact-page input[type="text"],
#inquiry-form .aburayadenki-cf7-contact-page input[type="email"],
#inquiry-form .aburayadenki-cf7-contact-page input[type="tel"],
#inquiry-form .aburayadenki-cf7-contact-page textarea,
#inquiry-form .aburayadenki-cf7-contact-page select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: #1e293b;
    background: #fff;
}
#inquiry-form .aburayadenki-cf7-contact-page textarea {
    min-height: 8rem;
    resize: vertical;
}
#inquiry-form .aburayadenki-cf7-contact-page .wpcf7-submit {
    width: 100%;
    cursor: pointer;
    border: none;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    margin-top: 0.25rem;
    background: var(--color-yellow);
    color: var(--color-navy);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, filter 0.2s ease;
}
#inquiry-form .aburayadenki-cf7-contact-page .wpcf7-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}
#inquiry-form .aburayadenki-cf7-contact-page .wpcf7-not-valid-tip {
    font-size: 0.8rem;
    color: #b91c1c;
}
#inquiry-form .aburayadenki-cf7-contact-page .wpcf7-response-output {
    margin: 1rem 0 0;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ========== 下層ページ（リッチレイアウト / 水コネクト型の見出し・帯構成を参考） ========== */
.site-main--sub {
    padding-top: var(--header-h);
}
.subpage-hero--doc {
    background: linear-gradient(155deg, #0a1628 0%, #1e3a5f 42%, #0f172a 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.subpage-hero-doc-bg {
    position: absolute;
    inset: 0;
    opacity: 1;
    background-image:
        radial-gradient(circle at 12% 20%, rgba(253, 224, 71, 0.18) 0%, transparent 42%),
        radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.06) 0%, transparent 38%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, transparent 45%);
}
.subpage-hero-doc-deco {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}
.subpage-hero-doc-deco__svg {
    opacity: 0.14;
}
.subpage-hero-doc-deco__svg--2 {
    margin-top: -0.5rem;
    opacity: 0.1;
}
.subpage-hero-doc__inner {
    text-align: center;
}
.subpage-hero-doc__inner--left {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    max-width: 40rem;
}
.subpage-hero-doc__inner--left .subpage-hero-lead-mk {
    margin-left: 0;
    margin-right: 0;
}
.subpage-hero-label-en {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(253, 224, 71, 0.95);
    margin: 0 0 0.75rem;
}
.subpage-hero-label-en--on-light {
    color: var(--color-navy-accent);
    letter-spacing: 0.22em;
    margin-bottom: 0.5rem;
}
.subpage-hero-kicker-ja {
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(241, 245, 249, 0.94);
    margin: 0 0 0.5rem;
    letter-spacing: 0.06em;
}
.subpage-hero-title-mk {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}
.subpage-hero-lead-mk {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.98);
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}
.subpage-hero-lead-mk strong {
    color: #fff;
    font-weight: 700;
}
/* ヒーロー補足行（暗背景上で必ず読める） */
.subpage-hero-lead-muted {
    color: rgba(226, 232, 240, 0.95) !important;
}
/* ヒーローリード内に誤って付いた Tailwind の濃グレー（暗背景で潰れる）を補正 */
.subpage-hero-lead-mk .text-gray-600,
.subpage-hero-lead-mk .text-gray-700,
.subpage-hero-lead-mk .text-slate-600,
.subpage-hero-lead-mk .text-slate-700 {
    color: rgba(226, 232, 240, 0.96) !important;
}
.subpage-hero-lead-mk .text-gray-500,
.subpage-hero-lead-mk .text-slate-500 {
    color: rgba(203, 213, 225, 0.94) !important;
}
.subpage-section-intro {
    text-align: center;
}
.subpage-section-intro--left {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}
.subpage-section-intro__en {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--color-navy-accent);
    margin: 0 0 0.5rem;
}
.subpage-section-intro--left .subpage-section-intro__en {
    text-align: left;
}
.subpage-band--dark .subpage-section-intro__en {
    color: #fde047;
}
.subpage-section-intro__title {
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.35;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}
.subpage-band--dark .subpage-section-intro__title {
    color: #fff;
}
.subpage-section-intro__lead {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #64748b;
    max-width: 40rem;
    margin: 0 auto;
}
.subpage-section-intro--left .subpage-section-intro__lead {
    margin-left: 0;
}
.subpage-band--dark .subpage-section-intro__lead {
    color: rgba(241, 245, 249, 0.95);
}
.subpage-band--dark .subpage-section-intro__lead a {
    color: #fde68a;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.subpage-band--dark .subpage-section-intro__lead a:hover {
    color: #fff;
}
.subpage-mk-surface {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.subpage-mk-card {
    border-radius: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #fff;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.subpage-mk-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
}
.subpage-wave-wrap {
    line-height: 0;
    /* 直後のスレート系背景と同色にならないよう、波形は一段濃いスレートで区切りを視認可能に */
    color: #cbd5e1;
    margin-top: -1px;
}
.subpage-wave-wrap .subpage-svg {
    width: 100%;
    height: auto;
    display: block;
    max-height: 3rem;
}
@media (min-width: 768px) {
    .subpage-wave-wrap .subpage-svg {
        max-height: 3.5rem;
    }
}
.subpage-band {
    position: relative;
}
.subpage-band--dark {
    background: linear-gradient(165deg, #0f172a 0%, #1e3a5f 48%, #0f172a 100%);
    color: rgba(241, 245, 249, 0.96);
}
.subpage-band--dark .subpage-band__body {
    color: rgba(248, 250, 252, 0.97);
}
.subpage-band--dark .subpage-band__body--spaced {
    color: rgba(248, 250, 252, 0.96);
}
.subpage-band--dark .subpage-band__body--border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.subpage-band--dark .subpage-pill-list {
    color: rgba(248, 250, 252, 0.96);
}
.subpage-band--dark .section-kicker {
    color: #fde68a;
}
.subpage-quote-card {
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.subpage-pill-list li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.5rem;
    line-height: 1.65;
}
.subpage-pill-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 9999px;
    background: var(--color-yellow);
    box-shadow: 0 0 0 3px rgba(245, 208, 0, 0.25);
}
.subpage-icon-tile {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: #fff;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(226, 232, 240, 0.9);
}
.subpage-icon-tile .subpage-svg {
    width: 3.25rem;
    height: 3.25rem;
}
.subpage-svg--float {
    animation: subpage-svg-float 5s ease-in-out infinite;
}
@keyframes subpage-svg-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
    .subpage-svg--float {
        animation: none;
    }
}
.subpage-img-ring {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(226, 232, 240, 0.95);
}
.subpage-zigzag > div:nth-child(even) .subpage-zigzag-grid {
    direction: rtl;
}
.subpage-zigzag > div:nth-child(even) .subpage-zigzag-grid > * {
    direction: ltr;
}
.subpage-timeline {
    position: relative;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5rem;
}
@media (min-width: 768px) {
    .subpage-timeline {
        padding-left: 1.5rem;
        border-left: 3px solid rgba(245, 208, 0, 0.55);
    }
}
.subpage-timeline-step {
    position: relative;
    padding-bottom: 2.5rem;
}
@media (min-width: 768px) {
    .subpage-timeline-step::before {
        content: '';
        position: absolute;
        left: -1.5rem;
        top: 0.35rem;
        width: 0.85rem;
        height: 0.85rem;
        border-radius: 9999px;
        background: var(--color-yellow);
        border: 3px solid #fff;
        box-shadow: 0 0 0 2px rgba(245, 208, 0, 0.45);
        transform: translateX(-50%);
    }
    .subpage-timeline-step--phase-b::before {
        background: var(--color-navy-accent);
        box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.35);
    }
}
.subpage-voice-featured {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.06) 0%, rgba(250, 204, 21, 0.12) 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
}
.subpage-company-map-card {
    background: radial-gradient(circle at 30% 30%, rgba(250, 204, 21, 0.2) 0%, transparent 45%), #fff;
}

/* 会社概要：SP はアイコン＋見出しを縦積み（横並びだと本文が極端に狭くなる） */
.company-page-profile-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 640px) {
    .company-page-profile-head {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
    .company-page-profile-head__intro {
        flex: 1 1 0%;
    }
}
/* ヒーロー横並び時はデフォルトの下マージンを打ち消し、外側の gap に任せる */
.subpage-icon-tile.subpage-icon-tile--lead {
    margin-bottom: 0;
}
@media (max-width: 639.98px) {
    .subpage-icon-tile.subpage-icon-tile--lead {
        margin-left: auto;
        margin-right: auto;
    }
}
@media (min-width: 640px) {
    .subpage-icon-tile.subpage-icon-tile--lead {
        margin-left: 0;
        margin-right: 0;
    }
}
@media (max-width: 639.98px) {
    .company-page-profile-head .subpage-section-intro--left {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .company-page-profile-head .subpage-section-intro--left .subpage-section-intro__en,
    .company-page-profile-head .subpage-section-intro--left .subpage-section-intro__title {
        text-align: center;
    }
    .company-page-profile-head .subpage-section-intro--left .subpage-section-intro__lead {
        margin-left: auto;
        margin-right: auto;
    }
}

/* 下層：CTA チップ（ヒーロー内・中間ブロック用） */
.subpage-cta-chips__row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}
@media (min-width: 480px) {
    .subpage-cta-chips__row {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
}
.subpage-cta-chips__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 9999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    min-height: 3rem;
}
.subpage-cta-chips__btn--primary {
    background: linear-gradient(180deg, #fde047, #eab308);
    color: #0f172a;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    border: none;
}
.subpage-cta-chips__btn--primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}
.subpage-cta-chips__btn--secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.85);
}
.subpage-cta-chips__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}
.subpage-cta-chips__trust {
    margin: 1rem 0 0.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(254, 249, 195, 0.95);
}
.subpage-cta-chips--single .subpage-cta-chips__btn--primary {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}
.subpage-cta-chips__hours {
    margin: 0;
    font-size: 0.75rem;
    color: rgba(203, 213, 225, 0.88);
}

/* 下層：施工の流れ（番号ボード） */
.subpage-flow-board {
    display: grid;
    gap: 1rem;
}
@media (min-width: 640px) {
    .subpage-flow-board {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .subpage-flow-board {
        grid-template-columns: repeat(3, 1fr);
    }
}
.subpage-flow-board__cell {
    display: flex;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}
.subpage-flow-board__cell--b {
    border-color: rgba(30, 64, 175, 0.25);
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.subpage-flow-board__icon .subpage-svg {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}
.subpage-flow-board__step {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--color-navy-accent);
    margin: 0 0 0.25rem;
}
.subpage-flow-board__cell:not(.subpage-flow-board__cell--b) .subpage-flow-board__step {
    color: #b45309;
}
.subpage-flow-board__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 0.35rem;
    line-height: 1.3;
}
.subpage-flow-board__body {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #64748b;
}

/* 下層：お客様の声（引用のみ強調） */
.subpage-voice-card--flat {
    border-radius: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #fff;
    padding: 1.5rem 1.35rem;
    height: 100%;
}
.subpage-mid-cta-panel {
    border-radius: 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    padding: 2rem 1.5rem;
    text-align: center;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}
.subpage-mid-cta-panel .subpage-cta-chips__btn--primary {
    color: #0f172a;
}
.subpage-mid-cta-panel .subpage-cta-chips__btn--secondary {
    color: var(--color-navy);
    border-color: rgba(30, 58, 95, 0.35);
}
.subpage-mid-cta-panel .subpage-cta-chips__trust {
    color: var(--color-navy);
}
.subpage-mid-cta-panel .subpage-cta-chips__hours {
    color: #64748b;
}
