:root {
    --primary: #5f8f55;
    --primary-dark: #315337;
    --primary-soft: #edf5e9;
    --accent: #b99a50;
    --ink: #1f2d24;
    --muted: #657267;
    --line: #dfe8dd;
    --surface: #ffffff;
    --surface-soft: #f7faf5;
    --shadow: 0 18px 45px rgba(38, 70, 43, 0.1);
    --radius: 8px;
    --container: 1120px;
    --header: 76px;
    --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font);
    line-height: 1.8;
    background: var(--surface);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--primary);
}

.container {
    width: min(92%, var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(223, 232, 221, 0.9);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0;
    color: var(--primary-dark);
}

.brand small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 700;
}

.site-nav a small {
    display: block;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.2;
}

.site-nav a:hover,
.site-nav a.is-current {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
}

.nav-cta small {
    color: rgba(255, 255, 255, 0.82) !important;
}

.hamburger {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    min-height: calc(100vh - var(--header));
    display: grid;
    align-items: center;
    padding: 72px 0;
    background:
        linear-gradient(90deg, rgba(247, 250, 245, 0.98) 0%, rgba(247, 250, 245, 0.86) 48%, rgba(247, 250, 245, 0.25) 100%),
        url("../assets/hero.png") center right / cover no-repeat;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
    gap: 48px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    margin: 0;
    font-size: clamp(2.35rem, 5vw, 4.8rem);
    line-height: 1.18;
    letter-spacing: 0;
}

.hero-lead {
    max-width: 690px;
    margin: 26px 0 0;
    color: #415044;
    font-size: clamp(1rem, 2vw, 1.18rem);
    font-weight: 500;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-actions.compact {
    margin-top: 22px;
}

.hero-actions.compact .btn {
    min-height: 44px;
    padding: 10px 18px;
}

.hero-panel {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
}

.hero-panel img {
    width: min(260px, 80%);
    margin: 0 auto 20px;
    border-radius: var(--radius);
}

.hero-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.section {
    padding: 82px 0;
}

.section-soft {
    background: var(--surface-soft);
}

.section-head {
    max-width: 760px;
    margin-bottom: 36px;
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.section-head h2,
.section-title {
    margin: 0 0 14px;
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: 1.35;
    letter-spacing: 0;
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

.grid {
    display: grid;
    gap: 24px;
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 45, 36, 0.06);
}

.card h3 {
    margin: 0 0 12px;
    font-size: 1.22rem;
    line-height: 1.45;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.card-link {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.card-link .link-more {
    margin-top: auto;
    color: var(--primary-dark);
    font-weight: 800;
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-card-main {
    border-color: rgba(95, 143, 85, 0.45);
    background: linear-gradient(180deg, #fff, #f4faf1);
    box-shadow: 0 18px 44px rgba(95, 143, 85, 0.14);
}

.product-card-trial {
    background: #fff;
}

.product-lineup {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 24px;
    align-items: stretch;
}

.price-main {
    margin: 22px 0 0;
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
}

.price-main span {
    margin-left: 4px;
    font-size: 0.45em;
    color: var(--muted);
}

.price-regular {
    margin: 18px 0 0;
    color: var(--muted);
    font-weight: 700;
}

.price-regular s {
    color: #8a6c37;
    text-decoration-thickness: 2px;
}

.product-card .hero-actions {
    margin-top: auto;
    padding-top: 22px;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.1fr);
    gap: 42px;
    align-items: center;
}

.product-photo {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fff, var(--primary-soft));
    max-width: 520px;
    margin: 0 auto;
}

.product-photo img {
    max-height: 390px;
    width: auto;
    margin: 0 auto;
    border-radius: var(--radius);
}

.feature-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.feature-list li {
    padding: 16px 18px;
    border-left: 4px solid var(--primary);
    background: var(--surface-soft);
    color: var(--muted);
}

.ingredient-card {
    position: relative;
    overflow: hidden;
}

.ingredient-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    min-height: 42px;
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 6px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 800;
}

.expert-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.expert-photo {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.expert-photo img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border-radius: var(--radius);
}

.profile-list {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.profile-list p {
    margin: 0;
    padding: 14px 16px;
    border-left: 4px solid var(--primary);
    background: var(--surface-soft);
    color: var(--muted);
}

.profile-list strong {
    color: var(--primary-dark);
}

.brochure-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 245, 233, 0.78));
}

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

.brochure-card {
    min-height: 260px;
    padding: 30px;
    border: 1px solid rgba(95, 143, 85, 0.28);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.brochure-card span {
    display: inline-flex;
    margin-bottom: 28px;
    color: var(--accent);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.brochure-card h3 {
    margin: 0 0 14px;
    font-size: 1.35rem;
    line-height: 1.45;
}

.brochure-card p {
    margin: 0;
    color: var(--muted);
}

.quality-strip {
    display: grid;
    grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
    gap: 28px;
    margin-top: 28px;
    padding: 28px;
    border: 1px solid rgba(95, 143, 85, 0.28);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 12px 30px rgba(31, 45, 36, 0.06);
}

.quality-strip h3 {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.45;
}

.quality-strip p {
    margin: 0;
    color: var(--muted);
}

.expert-note {
    margin-top: 24px;
    padding: 24px;
    border-left: 5px solid var(--primary);
    border-radius: var(--radius);
    background: var(--surface-soft);
}

.expert-note h3 {
    margin: 0 0 10px;
    font-size: 1.14rem;
}

.expert-note p {
    margin: 0;
    color: var(--muted);
}

.service-card {
    min-height: 300px;
}

.service-primary {
    border-color: rgba(95, 143, 85, 0.4);
}

.coming-soon-card {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 245, 0.96));
}

.status-pill {
    display: inline-flex;
    margin-top: 24px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-top: 1px solid var(--line);
}

.info-table th,
.info-table td {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.info-table th {
    width: 30%;
    color: var(--primary-dark);
    font-weight: 800;
}

.notice-list {
    display: grid;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.notice-list li {
    display: grid;
    grid-template-columns: 120px 112px 1fr;
    gap: 16px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 6px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(95, 143, 85, 0.25);
}

.btn-primary:hover {
    color: #fff;
    background: var(--primary-dark);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary-dark);
    background: #fff;
}

.page-hero {
    padding: 68px 0 52px;
    background: linear-gradient(135deg, var(--primary-soft), #fff);
    border-bottom: 1px solid var(--line);
}

.page-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.cta-band {
    padding: 54px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.cta-band p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.84);
}

.cta-band .btn-outline {
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
    background: transparent;
}

.legal-text h2,
.legal-text h3 {
    margin-top: 34px;
    margin-bottom: 10px;
    line-height: 1.45;
}

.legal-text p,
.legal-text li {
    color: var(--muted);
}

.legal-text ul {
    padding-left: 1.4em;
}

.contact-box {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.contact-box dl {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 12px 18px;
    margin: 0;
}

.contact-box dt {
    color: var(--primary-dark);
    font-weight: 800;
}

.contact-box dd {
    margin: 0;
    color: var(--muted);
}

.site-footer {
    padding-top: 58px;
    background: #142018;
    color: rgba(255, 255, 255, 0.76);
}

.site-footer .brand {
    color: #fff;
}

.site-footer .brand small,
.site-footer .small-note {
    color: rgba(255, 255, 255, 0.62);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 42px;
    padding-bottom: 46px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.footer-nav a {
    display: block;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.94rem;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.86rem;
}

.small-note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .header-inner {
        width: 92%;
        max-width: none;
    }

    .brand {
        min-width: 0;
        max-width: calc(100vw - 92px);
    }

    .hamburger {
        display: block;
        flex: 0 0 auto;
        margin-left: auto;
    }

    .site-nav {
        position: fixed;
        inset: var(--header) 0 auto 0;
        display: none;
        height: calc(100vh - var(--header));
        padding: 24px;
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid var(--line);
        overflow-y: auto;
    }

    .site-nav.active {
        display: block;
    }

    .site-nav ul {
        display: grid;
        gap: 8px;
    }

    .site-nav a {
        padding: 15px 12px;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        font-size: 1.05rem;
    }

    .hero {
        min-height: auto;
        padding: 58px 0;
        background:
            linear-gradient(180deg, rgba(247, 250, 245, 0.98), rgba(247, 250, 245, 0.92)),
            url("../assets/hero.png") center / cover no-repeat;
    }

    .hero-grid,
    .product-layout,
    .product-lineup,
    .expert-layout,
    .brochure-grid,
    .quality-strip,
    .grid.two,
    .grid.three,
    .footer-grid {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .hero-panel {
        max-width: 460px;
        width: 100%;
    }

    .product-photo {
        max-width: 440px;
    }

    .notice-list li {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 560px) {
    :root {
        --header: 68px;
    }

    .brand {
        font-size: 0.95rem;
    }

    .brand small {
        font-size: 0.64rem;
    }

    .section {
        padding: 58px 0;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.15rem;
        overflow-wrap: anywhere;
    }

    .hero-lead,
    .section-head p,
    .card p,
    .page-hero p,
    .feature-list li,
    .info-table td {
        overflow-wrap: anywhere;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .product-photo {
        padding: 18px;
    }

    .product-photo img {
        max-height: 330px;
    }

    .card,
    .contact-box {
        padding: 22px;
    }

    .cta-band {
        padding: 30px 22px;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
        padding: 14px 0;
    }

    .info-table th {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .contact-box dl {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        grid-template-columns: 1fr;
    }
}
