:root {
    --pet-ink: #24312f;
    --pet-muted: #66736e;
    --pet-green: #4b8f75;
    --pet-green-dark: #2d6653;
    --pet-mint: #dff3e8;
    --pet-cream: #fff8e9;
    --pet-sand: #f2e5cf;
    --pet-coral: #e99273;
    --pet-white: #fff;
    --pet-shadow: 0 24px 70px rgba(52, 75, 68, 0.14);
    --font-display: "M PLUS Rounded 1c", "Noto Sans JP", system-ui, sans-serif;
    --font-body: "Noto Sans JP", system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 7% 8%, rgba(233, 146, 115, 0.22), transparent 18rem),
        radial-gradient(circle at 88% 8%, rgba(75, 143, 117, 0.2), transparent 20rem),
        linear-gradient(180deg, #fffdf7 0%, #f4f8ec 42%, #fff8e9 100%);
    color: var(--pet-ink);
    font-family: var(--font-body);
    line-height: 1.75;
}

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

img {
    max-width: 100%;
}

.pet-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(75, 143, 117, 0.12);
    backdrop-filter: blur(18px);
}

.pet-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.pet-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.pet-nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
    color: var(--pet-muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.nav-cta {
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--pet-green);
    color: white;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    min-height: calc(100vh - 74px);
    padding: clamp(46px, 7vw, 96px) clamp(18px, 6vw, 92px) clamp(34px, 5vw, 72px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(75, 143, 117, 0.12);
    color: var(--pet-green-dark);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    line-height: 1.18;
}

h1 {
    margin-top: 18px;
    font-size: clamp(2.75rem, 7vw, 6.4rem);
    letter-spacing: 0.02em;
}

.lead {
    max-width: 42rem;
    margin-top: 24px;
    color: var(--pet-muted);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    font-weight: 500;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn.primary {
    background: var(--pet-green);
    color: white;
    box-shadow: 0 16px 30px rgba(75, 143, 117, 0.28);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.84);
    color: var(--pet-green-dark);
    border: 1px solid rgba(75, 143, 117, 0.18);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.trust-row span {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--pet-green-dark);
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(75, 143, 117, 0.1);
}

.hero-visual {
    position: relative;
    min-height: 560px;
}

.phone-card {
    position: absolute;
    inset: 0 0 auto auto;
    width: min(430px, 100%);
    min-height: 520px;
    padding: 30px;
    border: 12px solid #2d3a37;
    border-radius: 42px;
    background: linear-gradient(180deg, #f7fff9, #fffaf0);
    box-shadow: var(--pet-shadow);
}

.phone-card::before {
    content: "LINE相談";
    display: block;
    width: fit-content;
    margin: 0 auto 24px;
    padding: 6px 18px;
    border-radius: 999px;
    background: #e8f6ed;
    color: var(--pet-green-dark);
    font-weight: 800;
}

.chat-line {
    max-width: 88%;
    margin: 14px 0;
    padding: 13px 15px;
    border-radius: 18px;
    font-size: 0.94rem;
    font-weight: 700;
}

.chat-line.user {
    margin-left: auto;
    background: #d8f3d4;
}

.chat-line.nurse {
    background: white;
    box-shadow: 0 8px 20px rgba(52, 75, 68, 0.08);
}

.hero-pet {
    position: absolute;
    left: -34px;
    bottom: 0;
    width: min(270px, 48vw);
    filter: drop-shadow(0 18px 22px rgba(52, 75, 68, 0.16));
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 18px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--pet-shadow);
}

.metrics article {
    display: grid;
    gap: 8px;
    padding: 22px;
    border-right: 1px solid rgba(75, 143, 117, 0.14);
}

.metrics article:last-child {
    border-right: 0;
}

.metrics strong {
    color: var(--pet-coral);
    font-family: var(--font-display);
    font-size: 2.1rem;
}

.metrics span {
    font-weight: 800;
}

.section,
.split-section,
.price-section,
.final-cta {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.section {
    padding: clamp(70px, 9vw, 118px) 0;
}

.section-head {
    display: grid;
    gap: 18px;
    max-width: 760px;
    margin-bottom: 34px;
}

.section-head h2,
.split-copy h2,
.price-card h2,
.final-cta h2 {
    font-size: clamp(2rem, 4vw, 3.7rem);
}

.section-head p,
.split-copy p,
.price-card p,
.final-cta p {
    color: var(--pet-muted);
    font-size: 1.04rem;
}

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

.benefit-card {
    position: relative;
    overflow: hidden;
    min-height: 270px;
    padding: 30px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 48px rgba(52, 75, 68, 0.1);
}

.benefit-card::after {
    content: "";
    position: absolute;
    right: -32px;
    bottom: -32px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(75, 143, 117, 0.1);
}

.card-number {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: var(--pet-mint);
    color: var(--pet-green-dark);
    font-family: var(--font-display);
    font-weight: 800;
}

.benefit-card h3 {
    margin-top: 26px;
    font-size: 1.45rem;
}

.benefit-card p {
    margin-top: 12px;
    color: var(--pet-muted);
}

.split-section {
    display: grid;
    grid-template-columns: 0.86fr 1fr;
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding: 40px;
    border-radius: 38px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--pet-shadow);
}

.split-visual {
    display: grid;
    min-height: 420px;
    place-items: center;
    border-radius: 30px;
    background: linear-gradient(135deg, #e6f5df, #fff4dc);
}

.split-visual img {
    width: min(330px, 70%);
    filter: drop-shadow(0 18px 18px rgba(52, 75, 68, 0.13));
}

.split-copy {
    display: grid;
    gap: 20px;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 32px;
    font-weight: 700;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--pet-green);
    font-weight: 900;
}

.compact {
    padding-bottom: 40px;
}

.flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.flow article {
    padding: 26px;
    border-radius: 26px;
    background: var(--pet-white);
    box-shadow: 0 14px 34px rgba(52, 75, 68, 0.08);
}

.flow span {
    color: var(--pet-coral);
    font-family: var(--font-display);
    font-weight: 800;
}

.flow h3 {
    margin-top: 14px;
    font-size: 1.35rem;
}

.flow p {
    margin-top: 10px;
    color: var(--pet-muted);
}

.price-section {
    padding: 44px 0;
}

.price-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(28px, 5vw, 48px);
    border-radius: 34px;
    background: linear-gradient(135deg, var(--pet-green-dark), var(--pet-green));
    color: white;
    box-shadow: 0 22px 58px rgba(45, 102, 83, 0.25);
}

.price-card .eyebrow {
    background: rgba(255, 255, 255, 0.18);
    color: white;
}

.price-card p {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.82);
}

.price-card .btn.primary {
    flex: 0 0 auto;
    background: white;
    color: var(--pet-green-dark);
    box-shadow: none;
}

.faq-section {
    padding-top: 70px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

details {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 30px rgba(52, 75, 68, 0.07);
}

summary {
    cursor: pointer;
    padding: 22px 26px;
    font-weight: 800;
}

details p {
    padding: 0 26px 24px;
    color: var(--pet-muted);
}

.final-cta {
    display: grid;
    justify-items: center;
    gap: 18px;
    margin-bottom: 70px;
    padding: clamp(44px, 7vw, 72px);
    border-radius: 38px;
    background:
        radial-gradient(circle at 14% 24%, rgba(233, 146, 115, 0.24), transparent 14rem),
        rgba(255, 255, 255, 0.82);
    box-shadow: var(--pet-shadow);
    text-align: center;
}

.pet-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 28px clamp(18px, 4vw, 56px);
    color: var(--pet-muted);
    font-size: 0.9rem;
}

.pet-footer a {
    font-weight: 800;
}

@media (max-width: 980px) {
    .pet-nav {
        display: none;
    }

    .hero,
    .split-section {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-visual {
        min-height: 500px;
    }

    .metrics,
    .benefit-grid,
    .flow {
        grid-template-columns: 1fr;
    }

    .metrics article {
        border-right: 0;
        border-bottom: 1px solid rgba(75, 143, 117, 0.14);
    }

    .metrics article:last-child {
        border-bottom: 0;
    }

    .price-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .pet-header {
        position: static;
    }

    .hero {
        padding-top: 34px;
    }

    h1 {
        font-size: 2.75rem;
    }

    .phone-card {
        position: relative;
        min-height: 430px;
        padding: 22px;
        border-width: 9px;
        border-radius: 32px;
    }

    .hero-pet {
        left: auto;
        right: 0;
        width: 156px;
    }

    .split-section,
    .final-cta {
        padding: 24px;
        border-radius: 26px;
    }

    .split-visual {
        min-height: 260px;
    }

    .pet-footer {
        flex-direction: column;
    }
}
