/* ===== z-okada shell.css ===== */
/* 岡田泰税理士事務所 — Design System */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip !important; }
body { overflow-x: clip !important; } /* clip not hidden — preserves sticky */

:root {
    --primary: #1B4332;
    --accent: #2D6A4F;
    --soft: #95D5B2;
    --gold: #c5a059;
    --text: #111111;
    --text-sub: #4B5563;
    --border: #E5E7EB;
    --bg-light: #F7F9F7;
    --bg-white: #ffffff;
    --fs-h1: clamp(32px, 6vw, 60px);
    --fs-h2: clamp(26px, 4vw, 38px);
    --fs-h3: clamp(18px, 2.5vw, 22px);
    --fs-lead: clamp(18px, 2.5vw, 24px);
    --fs-body: 17px;
    --sp-section: 100px;
    --sp-heading: 50px;
    --max-w: 1200px;
    --max-w-narrow: 1100px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text);
    line-height: 2.1;
    font-size: var(--fs-body);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

/* --- Layout --- */
.shell { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; position: relative; }
.shell--narrow { max-width: var(--max-w-narrow); }
.el-section { padding: var(--sp-section) 0; }
.el-section.soft { background-color: var(--bg-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* --- Header --- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
    background-color: var(--bg-white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.site-header::before, .site-header::after { display: none; }
.header-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 30px;
    display: flex; align-items: center; justify-content: space-between;
    height: 90px;
}
.site-logo img { height: 60px; width: auto; }
.site-logo a { display: flex; align-items: center; }

/* Top bar */
.top-bar {
    background-color: var(--bg-light); border-bottom: 1px solid var(--border);
    font-size: 13px; padding: 4px 0; color: var(--text-sub);
}
.top-bar .shell { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { font-weight: 700; }
.top-bar-right a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 4px;
    background: linear-gradient(180deg, #e53935 0%, #b71c1c 100%);
    color: #fff; font-size: 14px; font-weight: 900; letter-spacing: 0.03em;
}
.top-bar-right a:hover { opacity: 0.9; color: #fff; }
.top-bar-sub { display: none; }

/* Navigation — E-LEAD style bordered */
.main-nav { display: flex; list-style: none; gap: 0; align-self: stretch; }
.main-nav li {
    position: relative;
    border-left: 1px solid var(--border);
    display: flex; align-items: center;
}
.main-nav li:last-child { border-right: 1px solid var(--border); }
.main-nav a {
    display: flex; align-items: center; justify-content: center;
    padding: 0 20px; height: 100%;
    font-weight: 500; font-size: 15px; color: var(--text);
    transition: color 0.3s, background-color 0.3s; white-space: nowrap;
}
.main-nav a:hover { color: var(--primary); background-color: rgba(27,67,50,0.03); }
.main-nav .active a { color: var(--primary); }
.main-nav .active a::after {
    content: ""; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background-color: var(--primary);
}
/* Sub nav */
.main-nav .sub-nav {
    display: none; position: absolute; top: 100%; left: 0;
    background-color: var(--bg-white); box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-width: 200px; border-radius: 0 0 4px 4px;
}
.main-nav li:hover .sub-nav { display: block; }
.main-nav .sub-nav a { line-height: 1.5; padding: 12px 20px; font-size: 13px; }
.main-nav .sub-nav a:hover { background-color: var(--bg-light); }

/* Astra default elements — completely suppress */
.ast-mobile-menu-buttons, .ast-button-wrap, .menu-toggle,
.ast-desktop-header-content, .ast-mobile-header-content,
.main-header-bar-wrap, .ast-above-header-wrap, .ast-below-header-wrap,
.ast-footer-overlay-wrap,
.ast-hfb-header .site-header { display: none !important; }
/* Force custom header to display (double selector for specificity) */
header.site-header.site-header { display: block !important; }

/* Mobile nav */
.mobile-menu-btn {
    display: none; background: none !important; border: none !important;
    cursor: pointer; padding: 8px; margin-left: auto;
    width: 44px; height: 44px; position: relative;
    flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    outline: none !important; box-shadow: none !important;
}
.mobile-menu-btn span {
    display: block !important; width: 24px; height: 2px; background-color: var(--text) !important;
    transition: 0.3s; border-radius: 1px;
}
.mobile-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.5); z-index: 999;
}
.mobile-nav {
    position: fixed; top: 0; right: -300px; width: 300px; height: 100%;
    background-color: var(--bg-white); z-index: 1001; transition: right 0.3s;
    overflow-y: auto; padding: 20px 0 30px;
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
    display: block; padding: 16px 30px; border-bottom: 1px solid var(--border);
    font-weight: 700; font-size: 15px; color: var(--text);
}
.mobile-nav a:hover { background-color: var(--bg-light); color: var(--primary); }
.mobile-nav-close-wrap {
    padding: 30px 30px 20px; margin-top: 10px; border-top: 1px solid var(--border);
}
.mobile-nav-close {
    width: 100%; padding: 14px; background-color: var(--bg-light) !important;
    border: 1px solid var(--border) !important; border-radius: 6px;
    font-size: 15px; font-weight: 700; color: var(--text); cursor: pointer;
    font-family: inherit; transition: 0.3s;
}
.mobile-nav-close:hover { background-color: var(--primary) !important; color: #fff; }

/* --- Hero --- */
.hero-viewport {
    position: relative; width: 100%; overflow: hidden;
    background-color: var(--primary); clip-path: polygon(0 0, 100% 0, 100% 92%, 0% 100%);
    z-index: 1;
}
.hero-viewport--full { height: 100vh; min-height: 650px; }
.hero-viewport--half { height: 55vh; min-height: 400px; }
.hero-bg-img {
    position: absolute; inset: 0; z-index: 1;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    animation: slowZoom 25s infinite alternate;
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(135deg, rgba(27,67,50,0.85) 0%, rgba(27,67,50,0.4) 100%);
}
.hero-content {
    position: relative; top: 48%; transform: translateY(-50%);
    text-align: center; color: #fff; padding: 0 20px; z-index: 10;
}
.hero-content h1 {
    color: #fff; margin: 0; font-size: var(--fs-h1); font-weight: 900;
    line-height: 1.2; text-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.hero-content h1 .accent { color: var(--soft); }
.hero-label {
    font-size: 14px; font-weight: 900; letter-spacing: 0.4em;
    color: var(--soft); margin-bottom: 25px; display: block; text-transform: uppercase;
}
.hero-bar { width: 80px; height: 5px; background-color: var(--soft); margin: 40px auto 0; border-radius: 10px; }
.ghost-text {
    position: absolute; bottom: 10%; right: 2%;
    font-size: clamp(80px, 15vw, 180px); color: #fff; opacity: 0.03;
    font-weight: 900; font-style: italic; pointer-events: none;
}

@keyframes slowZoom { from { transform: scale(1.05); } to { transform: scale(1.15); } }

/* --- Animations --- */
@keyframes revealUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transition: opacity 0.1s; }
.reveal.visible { animation: revealUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
/* Fallback: show content if JS hasn't fired yet (noscript / screenshot) */
.no-js .reveal { opacity: 1; }

/* --- Section Titles --- */
.section-title { text-align: center; margin-bottom: 60px; }
.section-label {
    font-weight: 900; font-size: 13px; letter-spacing: 0.3em;
    display: block; margin-bottom: 15px; text-transform: uppercase;
}
.section-label--gold { color: var(--gold); }
.section-label--green { color: var(--primary); }
h2 {
    font-size: var(--fs-h2); font-weight: 900; color: var(--primary);
    margin: 0; position: relative; display: inline-block;
}
h2::after {
    content: ""; position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 5px; background-color: var(--soft); border-radius: 10px;
}
h2.sec-title { display: block; text-align: center; margin-bottom: var(--sp-heading); }
h3 {
    font-size: var(--fs-h3); font-weight: 900; color: var(--primary);
    margin-bottom: 20px;
}

/* --- Cards --- */
.premium-msg-card {
    background-color: var(--bg-white); border-radius: 4px; padding: 100px 80px;
    margin: -120px auto 80px; box-shadow: 0 50px 120px rgba(27,67,50,0.15);
    position: relative; z-index: 50; border-top: 10px solid var(--primary); text-align: center;
}
.lead-quote {
    font-size: var(--fs-lead); font-weight: 900; color: var(--primary);
    margin-bottom: 40px; line-height: 1.6;
}
.ceo-signature {
    display: flex; align-items: center; justify-content: flex-end;
    margin-top: 50px; gap: 20px;
}
.ceo-signature p { font-weight: 900; font-size: 20px; border-bottom: 2px solid var(--soft); }

/* --- Feature Grid --- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 60px 0; }
.feature-item {
    background-color: var(--bg-light); padding: 60px 40px; border-radius: 8px;
    border: 1px solid var(--border); transition: all 0.3s ease; text-align: left;
}
.feature-item:hover { transform: translateY(-10px); border-color: var(--primary); }
.feature-num {
    font-size: 42px; font-weight: 900; color: var(--soft); opacity: 0.5;
    margin-bottom: 20px; font-style: italic; line-height: 1;
}
.feature-item h3 { border: none; padding: 0; }
.feature-item p { font-size: 15px; font-weight: 700; }

/* --- Table --- */
.modern-table-wrap {
    border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
    margin: 40px 0; box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}
.modern-table { width: 100%; border-collapse: collapse; background-color: #fff; }
.modern-table th {
    background-color: var(--primary); color: #fff; padding: 25px 30px;
    text-align: center; font-weight: 900; font-size: 18px;
}
.modern-table td {
    padding: 30px 40px; border-bottom: 1px solid var(--bg-light);
    font-size: 16px; color: var(--text); font-weight: 700; text-align: left;
}
.modern-table .side-header {
    background-color: var(--bg-light); font-weight: 900; color: var(--primary);
    width: 25%; border-right: 1px solid var(--border); text-align: center;
}

/* --- Outline table (company page) --- */
.outline-table-wrap {
    border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}
.outline-table { width: 100%; border-collapse: collapse; background-color: #fff; }
.outline-table td {
    padding: 25px 35px; border-bottom: 1px solid var(--bg-light);
    font-size: 16px; color: var(--text); font-weight: 700; text-align: left;
}
.outline-table .label-cell {
    background-color: var(--bg-light); font-weight: 900; color: var(--primary);
    width: 25%; border-right: 1px solid var(--border); text-align: center;
}

/* --- News List --- */
.news-list { max-width: 100%; }
.news-item {
    display: flex; align-items: center; gap: 20px;
    padding: 20px 0; border-bottom: 1px solid var(--border);
}
.news-date { font-size: 14px; font-weight: 700; color: var(--text-sub); min-width: 100px; }
.news-category {
    font-size: 10px; font-weight: 700; color: var(--primary);
    background-color: var(--bg-light); padding: 2px 8px; border-radius: 3px;
    white-space: nowrap; flex-shrink: 0;
}
.news-title { flex: 1; font-size: 15px; font-weight: 700; }
.news-title a { color: var(--text); }
.news-title a:hover { color: var(--primary); }
.news-arrow { font-size: 18px; color: var(--soft); }

/* --- Service blocks --- */
.service-detail-block {
    display: flex; align-items: flex-start; gap: 40px; text-align: left; margin-bottom: 60px;
}
.service-img {
    flex: 1; border-radius: 4px; overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.service-text { flex: 1.3; }
.service-text h3 {
    border-left: 6px solid var(--soft); padding-left: 15px;
}
.service-list { list-style: none; padding: 0; margin: 0; }
.service-list li {
    padding: 10px 0; border-bottom: 1px solid #f0f0f0;
    font-weight: 700; font-size: 15px; color: var(--text);
}

/* --- Target grid (guide page) --- */
.target-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 40px; }
.target-card {
    background-color: #fff; padding: 30px 25px; border-radius: 8px;
    border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.target-comment {
    font-size: 13px; font-weight: 700; color: var(--text-sub);
    margin-bottom: 20px; min-height: 3em; line-height: 1.5; text-align: left;
}
.target-btn {
    width: 100%; padding: 14px; border-radius: 4px; font-weight: 900;
    font-size: 16px; text-align: center; background-color: var(--primary); color: #fff;
}

/* --- Flow steps --- */
.flow-container { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 30px 0; }
.flow-item {
    background-color: #fff; border: 2px solid var(--primary); padding: 12px 30px;
    border-radius: 4px; font-weight: 900; color: var(--primary); width: 280px; text-align: center; font-size: 15px;
}
.flow-item--active { background-color: var(--primary); color: #fff; }
.flow-arrow {
    width: 0; height: 0;
    border-left: 10px solid transparent; border-right: 10px solid transparent;
    border-top: 12px solid var(--soft);
}

/* --- Content grid (keywords) --- */
.content-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: left;
    background-color: #fff; padding: 40px; border: 1px solid var(--border); border-radius: 8px;
}
.content-item {
    font-size: 13px; font-weight: 700; color: var(--text-sub);
    border-bottom: 1px solid #f3f4f6; padding: 6px 0;
}

/* --- CTA --- */
.cta-block {
    background-color: var(--primary); border-radius: 8px; overflow: hidden;
    position: relative; display: flex; align-items: center; min-height: 400px;
    box-shadow: 0 20px 50px rgba(0,43,26,0.2); padding: 60px;
}
.cta-block::after {
    content: "OKADA"; position: absolute; bottom: -30px; right: -20px;
    font-size: 180px; font-weight: 900; color: rgba(255,255,255,0.03);
    font-style: italic; pointer-events: none; line-height: 1; z-index: 1;
}
.cta-inner { display: flex; align-items: center; gap: 50px; position: relative; z-index: 5; width: 100%; }
.cta-photo {
    flex: 0 0 260px; text-align: center;
}
.cta-photo img {
    width: 240px; height: 240px; object-fit: cover; border-radius: 50%;
    border: 6px solid rgba(149,213,178,0.2); box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.cta-body { flex: 1; }
.cta-label {
    color: var(--soft); font-size: 13px; font-weight: 900;
    letter-spacing: 0.3em; text-transform: uppercase; display: block; margin-bottom: 15px;
}
.cta-headline {
    color: #fff; font-size: clamp(22px, 3.5vw, 32px); font-weight: 900;
    line-height: 1.4; margin: 0 0 25px;
}
.cta-description {
    color: rgba(255,255,255,0.9); font-size: 17px; line-height: 1.8;
    margin-bottom: 40px; font-weight: 500;
}
.cta-btn {
    display: inline-block; background-color: #fff; color: var(--primary);
    padding: 18px 45px; border-radius: 4px; font-weight: 900; font-size: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.cta-btn:hover {
    transform: translateY(-3px); background-color: var(--soft); color: var(--primary);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* --- Terms page --- */
.terms-card {
    background-color: #fff; border-radius: 8px; padding: 60px 50px;
    margin-top: -60px; position: relative; z-index: 10;
    box-shadow: 0 30px 80px rgba(27,67,50,0.1); border-top: 8px solid var(--primary);
}
.terms-intro { margin-bottom: 50px; padding-bottom: 40px; border-bottom: 2px solid var(--bg-light); }
.terms-article { margin-bottom: 40px; }
.terms-article h3 {
    border-left: 5px solid var(--soft); padding-left: 15px; margin-bottom: 15px;
}
.office-info-block {
    background-color: var(--primary); color: #fff; border-radius: 8px; padding: 40px 50px;
    margin-top: 60px;
}
.office-info-block a { color: var(--soft); }

/* --- Form --- */
.form-card {
    background-color: #fff; border-radius: 8px; padding: 60px 50px;
    box-shadow: 0 30px 80px rgba(27,67,50,0.1); border-top: 8px solid var(--primary);
    margin: 60px auto; max-width: 900px;
}
.form-group { margin-bottom: 25px; }
.form-label {
    display: block; font-weight: 900; font-size: 15px; color: var(--primary);
    margin-bottom: 8px;
}
.form-label .required {
    display: inline-block; background-color: #e53935; color: #fff;
    font-size: 11px; padding: 2px 8px; border-radius: 3px; margin-left: 8px;
}
.form-input, .form-textarea, .form-select {
    width: 100%; padding: 14px 18px; border: 2px solid var(--border); border-radius: 6px;
    font-size: 16px; font-family: inherit; transition: border-color 0.3s; background-color: #fff;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,67,50,0.1);
}
.form-textarea { min-height: 180px; resize: vertical; }
.form-submit {
    display: block; width: 100%; max-width: 400px; margin: 40px auto 0;
    padding: 18px; background-color: var(--primary); color: #fff;
    border: none; border-radius: 6px; font-size: 18px; font-weight: 900;
    cursor: pointer; transition: 0.3s;
}
.form-submit:hover { background-color: var(--accent); transform: translateY(-2px); }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 15px; }
.checkbox-group label {
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 14px; cursor: pointer;
}

/* --- Access / Map --- */
.map-container { border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); margin: 40px 0; }
.map-container iframe { width: 100%; height: 400px; border: none; }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 40px 0; }
.access-block h3 { font-size: 18px; margin-bottom: 15px; }
.access-block p { font-weight: 700; color: var(--text-sub); line-height: 2; }

/* --- Blog list (news page) --- */
.blog-list { display: flex; flex-direction: column; gap: 30px; }
.blog-item {
    display: flex; gap: 30px; background-color: #fff;
    border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
    transition: box-shadow 0.3s;
}
.blog-item:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.blog-thumb { flex: 0 0 40%; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { flex: 1; padding: 30px; }
.blog-meta { font-size: 13px; color: var(--text-sub); margin-bottom: 10px; }
.blog-body h3 { margin-bottom: 15px; }
.blog-body h3 a { color: var(--text); }
.blog-body h3 a:hover { color: var(--primary); }
.blog-excerpt { font-size: 14px; color: var(--text-sub); line-height: 1.8; }
.read-more {
    display: inline-block; margin-top: 15px; font-weight: 900;
    font-size: 14px; color: var(--primary);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--bg-white); color: var(--text);
    border-top: 1px solid var(--border);
}
.footer-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 50px 20px;
    display: flex; align-items: flex-start; gap: 50px;
}
/* Left: brand */
.footer-col--brand { flex: 0 0 280px; }
.footer-logo-wrap {
    margin-bottom: 20px;
}
.footer-logo-wrap img { height: 60px; width: auto; }
.footer-desc { font-size: 13px; font-weight: 500; color: var(--text-sub); line-height: 1.8; }
/* Center: info */
.footer-col--info { flex: 1; }
.footer-office-name { font-size: 16px; font-weight: 900; margin-bottom: 15px; }
.footer-table { font-size: 13px; border-collapse: collapse; width: 100%; border: none !important; }
.footer-table tr { border: none !important; background: none !important; }
.footer-table th, .footer-table td { border: none !important; background: none !important; }
.footer-table th {
    text-align: left; padding: 6px 20px 6px 0; font-weight: 700;
    color: var(--text-sub); white-space: nowrap; vertical-align: top; width: 80px;
}
.footer-table td { padding: 6px 0; color: var(--text); }
.footer-table a { color: var(--primary); text-decoration: underline; }
/* Right: nav 2-col */
.footer-col--nav { flex: 0 0 320px; }
.footer-nav-grid { display: flex; gap: 20px; }
.footer-nav-col { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.footer-nav-col a {
    display: flex; align-items: center; gap: 8px;
    color: var(--text); font-size: 14px; font-weight: 700; text-decoration: none;
}
.footer-nav-col a:hover { color: var(--primary); }
.footer-arrow { color: var(--text-sub); font-size: 16px; flex-shrink: 0; }
.footer-bottom {
    text-align: center; padding: 20px 20px;
    border-top: 1px solid var(--border); font-size: 12px; color: var(--text-sub);
}

/* --- Mid visual (company page) --- */
.mid-visual {
    position: relative; border-radius: 8px; overflow: hidden;
    min-height: 350px; display: flex; align-items: center; justify-content: center;
    margin: 60px 0;
}
.mid-visual-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
}
.mid-visual-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(27,67,50,0.85) 0%, rgba(27,67,50,0.6) 100%);
}
.mid-visual-text {
    position: relative; z-index: 5; text-align: center; color: #fff; padding: 60px 30px;
}
.mid-visual-text p {
    font-size: clamp(18px, 3vw, 26px); font-weight: 900; line-height: 1.8;
}

/* --- Privacy policy (form page) --- */
.privacy-card {
    background-color: var(--bg-light); border-radius: 8px; padding: 50px;
    margin: 60px auto; max-width: 900px; border: 1px solid var(--border);
}
.privacy-card h3 { margin-bottom: 15px; }
.privacy-item { margin-bottom: 30px; }
.privacy-item h4 {
    font-size: 16px; font-weight: 900; color: var(--primary); margin-bottom: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    :root { --sp-section: 60px; --sp-heading: 30px; }
    .hero-viewport--full { height: 85vh; clip-path: polygon(0 0, 100% 0, 100% 96%, 0% 100%); }
    .hero-viewport--half { height: 50vh; clip-path: polygon(0 0, 100% 0, 100% 96%, 0% 100%); }
    .premium-msg-card { padding: 60px 24px; margin-top: -80px; text-align: left; }
    .feature-grid { grid-template-columns: 1fr; }
    .target-grid { grid-template-columns: 1fr; }
    .service-detail-block { flex-direction: column; gap: 30px; }
    .content-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-block { padding: 40px 20px; text-align: center; }
    .cta-inner { flex-direction: column; gap: 30px; }
    .cta-photo { flex: 0 0 auto; }
    .cta-photo img { width: 180px; height: 180px; }
    .cta-headline br { display: none; }
    .cta-description { font-size: 15px; margin-bottom: 30px; }
    .cta-btn { width: 100%; padding: 16px 20px; display: block; text-align: center; }
    .modern-table thead { display: none; }
    .modern-table tr { display: block; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
    .modern-table td { display: block; width: 100%; padding: 20px; border: none; }
    .modern-table .side-header { background-color: var(--primary); color: #fff; text-align: left; }
    .outline-table .label-cell { background-color: var(--primary); color: #fff; text-align: left; }
    .terms-card { padding: 40px 20px; }
    .form-card { padding: 40px 20px; }
    .access-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 30px; }
    .footer-col--brand { flex: 0 0 auto; }
    .footer-col--nav { flex: 0 0 auto; width: 100%; }
    .footer-nav-grid { gap: 10px; }
    .blog-item { flex-direction: column; }
    .blog-thumb { flex: 0 0 auto; height: 200px; }
    .mid-visual { min-height: 250px; }
    /* Mobile: hide top-bar, show hamburger */
    .top-bar { display: none !important; }
    .main-nav { display: none !important; }
    .mobile-menu-btn { display: flex !important; }
}
@media (max-width: 480px) {
    .content-grid { grid-template-columns: 1fr; }
    .flow-item { width: 100%; }
}
