:root {
    --theme: #78e02c;
    --theme-dark: #397f0f;
    --theme-deep: #17390a;
    --theme-light: #f4fbea;
    --theme-soft: #e9f8d9;
    --theme-accent: #a4f165;
    --theme-hover: #58bd1a;
    --theme-border: rgba(57, 127, 15, .25);
    --header-bg: #24540e;
    --header-bg-2: #173d08;
    --text-main: #20301b;
    --text-muted: #5c6c56;
    --on-theme: #102506;
    --on-header: #f8fff3;
    --on-dark: #f4ffe9;
    --white: #ffffff;
    --shadow-soft: 0 18px 48px rgba(40, 93, 14, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html,
body {
    margin: 0;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    background: var(--theme-light);
    color: var(--text-main);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

a { color: var(--theme-dark); }

img { max-width: 100%; }

button,
a { -webkit-tap-highlight-color: transparent; }

button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--theme-accent);
    outline-offset: 3px;
}

.container,
.section-inner,
.header-inner,
.footer-inner,
.hero-inner {
    width: min(1280px, calc(100% - 80px));
    margin-left: auto;
    margin-right: auto;
}

.section { position: relative; }

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg-2) 100%);
    color: var(--on-header);
    box-shadow: 0 8px 28px rgba(20, 56, 6, .28);
    border-bottom: 1px solid rgba(164, 241, 101, .22);
    overflow: visible;
}

.header-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    overflow: visible;
}

.site-logo,
.drawer-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: visible;
}

.site-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 178px;
    max-height: 68px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(10px, 1.3vw, 20px);
}

.main-nav a {
    position: relative;
    color: var(--on-header);
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
    padding: 29px 0 25px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 17px;
    height: 3px;
    border-radius: 999px;
    background: var(--theme-accent);
    transition: left .2s ease, right .2s ease;
}

.main-nav a.active,
.main-nav a:hover { color: var(--theme-accent); }
.main-nav a.active::after,
.main-nav a:hover::after { left: 0; right: 0; }

.header-actions { justify-self: end; }

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 22px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme) 48%, var(--theme-dark) 100%);
    color: var(--on-theme);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(15, 45, 4, .25);
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, filter .2s ease;
}

.main-btn:hover { transform: translateY(-2px); filter: saturate(1.12); }

.mobile-menu-toggle { display: none; }

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform .28s ease;
    z-index: 10001;
    background: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg-2) 100%);
    color: var(--on-header);
    box-shadow: 16px 0 42px rgba(15, 45, 4, .34);
    padding: 20px;
    overflow-y: auto;
}

.mobile-drawer.is-open { transform: translateX(0); }

.drawer-overlay {
    position: fixed;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 10000;
    background: rgba(18, 43, 8, .58);
    transition: opacity .28s ease, visibility .28s ease;
}

.drawer-overlay.is-open { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(164, 241, 101, .25);
}

.drawer-logo img,
.footer-logo img {
    width: auto;
    height: auto;
    max-width: 165px;
    max-height: 62px;
    object-fit: contain;
}

.drawer-close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: var(--on-header);
    font-size: 28px;
    cursor: pointer;
}

.drawer-nav { display: grid; gap: 6px; padding: 20px 0; }
.drawer-nav a {
    color: var(--on-header);
    text-decoration: none;
    font-weight: 700;
    padding: 12px 14px;
    border-radius: 12px;
}
.drawer-nav a.active,
.drawer-nav a:hover { background: rgba(164, 241, 101, .16); color: var(--theme-accent); }

.hero-section {
    padding: 46px 0 34px;
    background:
        radial-gradient(circle at 12% 18%, rgba(120, 224, 44, .18) 0%, transparent 32%),
        linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%);
}

.hero-inner {
    min-height: 500px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
    align-items: center;
    gap: 48px;
}

.hero-badge,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    border-radius: 999px;
    padding: 8px 14px;
    background: var(--theme-soft);
    color: var(--theme-dark);
    border: 1px solid var(--theme-border);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hero-content h1,
.topic-hero-copy h1 {
    font-size: clamp(40px, 4vw, 58px);
    line-height: 1.08;
    letter-spacing: -.035em;
    margin: 18px 0 22px;
    color: var(--theme-dark);
}

.hero-content > p,
.topic-hero-copy > p {
    max-width: 760px;
    font-size: 17px;
    line-height: 1.68;
    margin: 0 0 18px;
    color: var(--text-main);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.hero-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 9px 14px;
    background: var(--white);
    color: var(--theme-dark);
    border: 1px solid var(--theme-border);
    font-size: 14px;
    font-weight: 800;
}

.hero-visual,
.topic-hero-visual,
.app-visual,
.media-box,
.card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-media-box,
.page-media-box {
    width: 100%;
    max-width: 540px;
    min-height: 300px;
    max-height: 420px;
    padding: 34px;
    border-radius: 32px;
    background: linear-gradient(150deg, var(--white) 0%, var(--theme-soft) 100%);
    border: 1px solid var(--theme-border);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-media-box img,
.page-media-box img,
.media-box img,
.app-visual img,
.card-media img {
    display: block;
    max-width: 100%;
    max-height: 340px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 1;
}

.info-section { padding: 34px 0 46px; background: var(--white); }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.info-card,
.detail-card,
.category-card,
.service-card,
.zone-card,
.faq-item,
.visual-card {
    position: relative;
    background: var(--white);
    color: var(--text-main);
    border: 1px solid var(--theme-border);
    box-shadow: var(--shadow-soft);
    border-radius: 24px;
    min-height: auto;
    height: auto;
    padding: 26px;
}

.info-card::before,
.detail-card::before,
.category-card::before,
.service-card::before {
    content: "";
    display: block;
    width: 52px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--theme), var(--theme-accent));
    margin-bottom: 16px;
}

.info-card span,
.card-number { color: var(--theme-dark); font-weight: 900; }
.info-card h2,
.detail-card h3,
.category-card h3,
.service-card h3 { color: var(--theme-dark); margin: 10px 0; line-height: 1.3; }
.info-card p,
.detail-card p,
.category-card p,
.service-card p { color: var(--text-muted); margin: 0; }

.category-section { padding: 22px 0 60px; background: var(--white); }
.category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.category-pills a,
.related-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 17px;
    border-radius: 999px;
    background: var(--white);
    color: var(--theme-dark);
    border: 1px solid var(--theme-border);
    text-decoration: none;
    font-weight: 800;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.category-pills a:hover,
.related-links a:hover {
    background: linear-gradient(180deg, var(--theme-accent), var(--theme));
    color: var(--on-theme);
    transform: translateY(-2px);
}

.content-section { padding: 76px 0; background: var(--white); }
.soft-section { padding: 76px 0; background: var(--theme-soft); }
.section-heading { max-width: 780px; margin-bottom: 32px; }
.section-heading.wide-heading { max-width: 900px; }
.section-heading h2 {
    color: var(--theme-dark);
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.16;
    letter-spacing: -.025em;
    margin: 14px 0;
}
.section-heading p { color: var(--text-muted); font-size: 18px; margin: 0; }

.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.category-card { display: flex; flex-direction: column; }
.category-card p { flex: 1; }
.text-link { display: inline-flex; margin-top: 18px; color: var(--theme-dark); font-weight: 900; text-decoration: none; }
.text-link:hover { color: var(--theme-hover); }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.split-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
    gap: 54px;
    align-items: center;
}
.split-feature.reverse .feature-copy { order: 2; }
.split-feature.reverse .feature-media { order: 1; }
.feature-copy h2 { color: var(--theme-dark); font-size: clamp(30px, 3vw, 44px); line-height: 1.18; margin: 14px 0 18px; }
.feature-copy p { color: var(--text-muted); font-size: 17px; }
.feature-copy ul { padding-left: 20px; }
.feature-copy li { margin-bottom: 10px; }
.feature-media {
    min-height: 340px;
    padding: 30px;
    background: linear-gradient(145deg, var(--white), var(--theme-soft));
    border: 1px solid var(--theme-border);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.feature-media img { max-width: 100%; max-height: 300px; width: auto; height: auto; object-fit: contain; }

.wall-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.zone-card h3 { color: var(--theme-dark); font-size: 25px; margin: 0 0 12px; }
.zone-card p { color: var(--text-muted); }

.review-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.review-card,
.review-list blockquote {
    margin: 0;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--theme-border);
    border-left: 5px solid var(--theme);
    border-radius: 20px;
    color: var(--text-main);
    box-shadow: var(--shadow-soft);
}

.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 0; overflow: visible; }
.faq-item summary { cursor: pointer; padding: 20px 24px; color: var(--theme-dark); font-weight: 900; list-style-position: inside; }
.faq-item p { margin: 0; padding: 0 24px 22px; color: var(--text-muted); }

.notice-section { padding: 64px 0 76px; background: var(--theme-light); }
.responsible-notice {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 34px;
    background: linear-gradient(135deg, var(--theme-deep), var(--theme-dark));
    color: var(--on-dark);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}
.responsible-notice .section-kicker { background: rgba(255,255,255,.1); color: var(--theme-accent); border-color: rgba(255,255,255,.16); }
.responsible-notice h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.2; margin: 14px 0; color: var(--on-dark); }
.responsible-notice p { color: rgba(244,255,233,.86); margin: 8px 0; }
.notice-mark {
    width: 108px;
    height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--theme-accent);
    color: var(--theme-deep);
    font-size: 32px;
    font-weight: 900;
}

.related-panel { margin-top: 28px; }
.related-panel h3 { color: var(--theme-dark); font-size: 24px; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }

.topic-hero-section {
    padding: 52px 0;
    background:
        radial-gradient(circle at 86% 16%, rgba(120, 224, 44, .2) 0%, transparent 32%),
        linear-gradient(180deg, var(--theme-light), var(--white));
}
.topic-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: 54px;
    align-items: center;
}
.topic-hero-copy h1 { font-size: clamp(40px, 4vw, 58px); }
.topic-hero-copy > p { font-size: 17px; }
.page-media-box { max-width: 500px; min-height: 340px; }

.fact-panel {
    width: 100%;
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(145deg, var(--theme-deep), var(--theme-dark));
    box-shadow: var(--shadow-soft);
    color: var(--on-dark);
}
.fact-row { padding: 18px 8px; border-bottom: 1px solid rgba(255,255,255,.14); }
.fact-row:last-child { border-bottom: 0; }
.fact-row strong { display: block; color: var(--theme-accent); margin-bottom: 4px; }
.fact-row span { color: rgba(244,255,233,.84); }

.prose-layout { display: grid; grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr); gap: 64px; align-items: start; }
.prose-columns { columns: 2; column-gap: 36px; }
.prose-columns p { break-inside: avoid; margin: 0 0 20px; color: var(--text-muted); }

.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.detail-card h3 { font-size: 21px; }

.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    counter-reset: step;
}
.step-list li {
    position: relative;
    counter-increment: step;
    min-height: 180px;
    padding: 26px 26px 26px 84px;
    border: 1px solid var(--theme-border);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}
.step-list li::before {
    content: counter(step);
    position: absolute;
    top: 26px;
    left: 24px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--theme-accent), var(--theme));
    color: var(--on-theme);
    font-weight: 900;
}
.step-list h3 { color: var(--theme-dark); margin: 0 0 8px; }
.step-list p { color: var(--text-muted); margin: 0; }

.experience-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 42px; align-items: start; }
.review-list { display: grid; gap: 16px; }
.faq-summary h3 { color: var(--theme-dark); font-size: 26px; margin: 0 0 18px; }
.faq-summary .faq-item { margin-bottom: 12px; }

.footer {
    padding: 66px 0 26px;
    background: linear-gradient(180deg, var(--theme-dark) 0%, var(--theme-deep) 100%);
    color: var(--on-dark);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 46px; }
.footer h2 { color: var(--theme-accent); font-size: 18px; margin: 0 0 16px; }
.footer a { display: block; color: var(--on-dark); text-decoration: none; margin: 8px 0; }
.footer a:hover { color: var(--theme-accent); }
.footer-brand p { color: rgba(244,255,233,.78); }
.footer-logo { margin-bottom: 14px; }
.footer-notice { margin-top: 42px; padding: 24px; border: 1px solid rgba(164,241,101,.22); border-radius: 20px; background: rgba(255,255,255,.05); }
.footer-notice strong { color: var(--theme-accent); }
.footer-notice p { color: rgba(244,255,233,.76); margin: 8px 0 0; }
.copyright { margin: 24px 0 0; color: rgba(244,255,233,.6); font-size: 14px; text-align: center; }

@media (min-width: 1440px) {
    .container,
    .section-inner,
    .header-inner,
    .footer-inner,
    .hero-inner { width: min(1360px, calc(100% - 120px)); }
    .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr); gap: 72px; }
    .hero-media-box { max-width: 560px; }
}

@media (max-width: 1180px) {
    .header-inner { grid-template-columns: 115px minmax(0, 1fr) auto; gap: 12px; }
    .main-nav { gap: 5px; }
    .main-nav a { font-size: 11.5px; }
    .site-logo img { max-width: 115px; }
    .header-actions .main-btn { padding: 10px 13px; font-size: 12px; }
    .hero-inner { grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr); gap: 36px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
    .header-inner {
        width: min(100% - 28px, 1280px);
        min-height: 68px;
        grid-template-columns: 48px minmax(0, 1fr) auto;
        gap: 10px;
    }
    .mobile-menu-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        padding: 10px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        border: 1px solid rgba(255,255,255,.24);
        border-radius: 12px;
        background: rgba(255,255,255,.1);
        cursor: pointer;
    }
    .mobile-menu-toggle span { display: block; height: 2px; border-radius: 999px; background: var(--on-header); }
    .main-nav { display: none; }
    .site-logo { justify-self: center; }
    .site-logo img { max-width: min(150px, 42vw); max-height: 56px; }
    .header-actions { justify-self: end; }
    .header-actions .main-btn { padding: 10px 16px; }
    .hero-section { padding: 48px 0 36px; }
    .hero-inner,
    .topic-hero { grid-template-columns: 1fr; gap: 32px; min-height: auto; }
    .hero-content h1,
    .topic-hero-copy h1 { font-size: clamp(34px, 7vw, 50px); }
    .hero-media-box,
    .page-media-box { max-width: 100%; min-height: 280px; padding: 24px; }
    .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-grid { grid-template-columns: 1fr; }
    .split-feature,
    .split-feature.reverse { grid-template-columns: 1fr; gap: 30px; }
    .split-feature.reverse .feature-copy,
    .split-feature.reverse .feature-media { order: initial; }
    .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .prose-layout { grid-template-columns: 1fr; gap: 22px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .container,
    .section-inner,
    .header-inner,
    .footer-inner,
    .hero-inner { width: min(calc(100% - 32px), 1280px); }
    .header-inner { width: min(calc(100% - 24px), 1280px); }
    .header-actions .main-btn { padding: 9px 13px; font-size: 12px; min-height: 40px; }
    .site-logo img { max-width: min(126px, 35vw); max-height: 50px; }
    .hero-section { padding: 38px 0 30px; }
    .hero-content h1,
    .topic-hero-copy h1 { font-size: clamp(29px, 8vw, 38px); }
    .hero-content > p,
    .topic-hero-copy > p { font-size: 16px; }
    .hero-media-box,
    .page-media-box { min-height: 190px; border-radius: 24px; }
    .hero-media-box img,
    .page-media-box img { max-height: 210px; }
    .hero-tags span { padding: 8px 11px; font-size: 12px; }
    .info-grid,
    .category-grid,
    .detail-grid,
    .wall-grid,
    .review-grid,
    .step-list,
    .experience-layout,
    .footer-grid { grid-template-columns: 1fr; }
    .content-section,
    .soft-section { padding: 56px 0; }
    .topic-hero-section { padding: 44px 0; }
    .prose-columns { columns: 1; }
    .step-list li { min-height: auto; padding-left: 76px; }
    .responsible-notice { grid-template-columns: 1fr; padding: 26px; }
    .notice-mark { width: 78px; height: 78px; font-size: 25px; }
    .feature-media { min-height: 260px; }
    .footer { padding-top: 50px; }
}

@media (max-width: 390px) {
    .header-inner { width: min(calc(100% - 18px), 1280px); grid-template-columns: 42px minmax(0, 1fr) auto; gap: 6px; }
    .mobile-menu-toggle { width: 40px; height: 40px; padding: 9px; }
    .site-logo img { max-width: min(108px, 31vw); max-height: 44px; }
    .header-actions .main-btn { padding: 8px 10px; font-size: 11px; }
    .info-card,
    .detail-card,
    .category-card,
    .service-card,
    .zone-card { padding: 22px; }
}
