:root {
    --primary: #8B5E4A;
    /* カワウソの茶色（ブランドカラー） */
    --primary-dark: #6D4636;
    --accent: #F2A0B5;
    /* マスコットのリボンのピンク */
    --accent-soft: #FBE3EA;
    --text-main: #3E2E27;
    --text-sub: #6B584C;
    --bg-cream: #FBF4EE;
    --bg-pink: #FDF1F4;
    --white: #FFFFFF;
    --line: #EADFD6;
    --gradient: linear-gradient(135deg, #A97C5C 0%, #F2A0B5 100%);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Hiragino Sans", "Yu Gothic", Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.8;
    background-color: var(--white);
}

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

/* Layout Utilities */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 252, 249, 0.92);
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 1px 2px rgba(62, 46, 39, 0.06);
}

.header-inner {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 36px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-sub);
    transition: color 0.2s;
}

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

@media (max-width: 768px) {
    .header-inner {
        padding: 0 16px;
    }

    .logo img {
        height: 28px;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }
}

/* Hero Section */
.hero {
    padding-top: 170px;
    padding-bottom: 110px;
    background: radial-gradient(circle at top right, var(--bg-pink) 0%, var(--bg-cream) 55%, #FFFFFF 100%);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hero-text {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-sub);
    margin-bottom: 40px;
    max-width: 540px;
}

.coming-soon {
    display: inline-block;
    padding: 14px 28px;
    background: var(--white);
    color: var(--primary-dark);
    font-weight: 700;
    border-radius: 12px;
    border: 2px dashed var(--primary);
    font-size: 1rem;
}

.coming-soon.dark {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: var(--accent);
}

.store-btn {
    height: 50px;
    transition: transform 0.2s;
}

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

.app-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* Android版の準備中注記（ストアバッジの隣に置く小さめチップ） */
.coming-soon.android-note {
    padding: 10px 18px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-mascot {
    position: absolute;
    width: 210px;
    bottom: -30px;
    left: 0;
    filter: drop-shadow(0 12px 20px rgba(62, 46, 39, 0.25));
}

/* Phone frame (real screenshots) */
.phone-frame {
    width: 300px;
    border-radius: 40px;
    border: 8px solid #4A362C;
    background: #4A362C;
    box-shadow: 0 25px 50px -12px rgba(62, 46, 39, 0.35);
    overflow: hidden;
}

.phone-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 32px;
}

/* Pains Section */
.pains {
    background: var(--white);
}

.sp-only {
    display: none;
}

.pc-only {
    display: inline;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.pain-card {
    background: var(--bg-pink);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    /* イラスト/見出し/説明の3行を横のカードと共有して高さを揃える */
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    align-items: start;
}

.pain-illust {
    margin-bottom: 12px;
}

.pain-illust img {
    width: min(220px, 90%);
    border-radius: 18px;
    box-shadow: 0 12px 28px -10px rgba(62, 46, 39, 0.25);
}

.pain-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 6px;
    /* 1行に収まったカードは行の高さの中で上下センター */
    align-self: center;
}


.pain-card p {
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Pivot band */
.pivot-band {
    background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg-pink) 100%);
    text-align: center;
    padding: 90px 0;
}

.pivot-lead {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 18px;
}

.pivot-band h2 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 22px;
}

.pivot-note {
    color: var(--text-sub);
    font-size: 1rem;
    line-height: 1.9;
}

/* Showcase (screenshot + copy alternating rows) */
.showcase {
    background: var(--bg-cream);
}

.showcase-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 90px;
}

.showcase-row:last-child {
    margin-bottom: 0;
}

.showcase-row.reverse {
    flex-direction: row-reverse;
}

.showcase-shot {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

.showcase-shot .phone-frame {
    width: 270px;
}

.showcase-text {
    flex: 1;
    max-width: 520px;
}

.showcase-label {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
    letter-spacing: 0.05em;
}

.showcase-text h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.4;
}

.showcase-text p {
    color: var(--text-sub);
    font-size: 1.05rem;
}

/* Features */
.features {
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.title-mascot {
    display: inline-block;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 10px 25px -8px rgba(62, 46, 39, 0.3);
    margin-bottom: 18px;
    overflow: hidden;
}

.title-mascot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 素材内でマスコットが右上寄りなので拡大しつつ中央へ寄せる */
    transform: scale(1.18) translate(-3%, 6%);
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-sub);
    font-size: 1.125rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    padding: 28px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(62, 46, 39, 0.12);
    border-color: var(--accent);
}

.feature-card.has-shot {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-shot {
    background: var(--bg-cream);
    padding: 24px 24px 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 260px;
    overflow: hidden;
}

.feature-shot img {
    width: 78%;
    height: auto;
    border-radius: 18px 18px 0 0;
    border: 5px solid #4A362C;
    border-bottom: none;
    display: block;
}

/* 着せ替えの枚は背景画像設定のブロックを見せる */
.feature-shot.shot-lower img {
    height: 236px;
    object-fit: cover;
    object-position: center -280px;
    border-radius: 18px;
}

.feature-card.has-shot h3 {
    margin: 20px 24px 10px;
}

.feature-card.has-shot p {
    margin: 0 24px 24px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Privacy band */
.privacy-band {
    background: var(--gradient);
    color: var(--white);
}

.privacy-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.privacy-text {
    flex: 1;
    max-width: 620px;
}

.privacy-band h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 1px 3px rgba(62, 46, 39, 0.25);
}

.privacy-band>.privacy-inner>.privacy-text>p {
    font-size: 1.125rem;
    margin-bottom: 28px;
    opacity: 0.95;
}

.privacy-list {
    list-style: none;
}

.privacy-list li {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.privacy-list li::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.privacy-mascot img {
    width: 280px;
    filter: drop-shadow(0 16px 28px rgba(62, 46, 39, 0.35));
    display: block;
}

/* Highlight Section */
.highlight {
    background: #3E2E27;
    color: var(--white);
    text-align: center;
    padding: 120px 0;
}

.highlight-mascot {
    margin-bottom: 32px;
}

.highlight-mascot img {
    width: 300px;
    max-width: 70%;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}

.highlight h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    /* 行末の句読点で左に寄って見えるため、全角1文字ぶん右へ寄せる */
    padding-left: 1em;
    background: linear-gradient(135deg, #E8B99B 0%, #F2A0B5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight p {
    color: #C9B8AD;
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: start;
    max-width: 760px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--line);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.recommended {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 40px -10px rgba(62, 46, 39, 0.12);
    z-index: 10;
}

.pricing-badge {
    position: absolute;
    top: 26px;
    right: -55px;
    width: 190px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 0;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 20px 0;
}

.price span {
    font-size: 0.875rem;
    color: var(--text-sub);
    font-weight: normal;
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-cream);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.pricing-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    flex-shrink: 0;
}

/* Footer */
footer {
    background: var(--bg-cream);
    padding: 60px 0 30px;
    border-top: 1px solid var(--line);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-sub);
    font-size: 0.875rem;
}

.copyright {
    text-align: center;
    color: #A08D80;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 56px;
        text-align: center;
    }

    .pains {
        padding-top: 64px;
    }

    .hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        margin: 0 auto 30px;
    }

    .app-buttons {
        justify-content: center;
    }

    /* モバイルはファーストビューに入るようフォンの右上へ */
    .hero-mascot {
        width: 130px;
        top: -34px;
        right: -28px;
        bottom: auto;
        left: auto;
    }

    .sp-only {
        display: inline;
    }

    .pc-only {
        display: none;
    }

    .section-title h2 {
        font-size: 1.35rem;
    }

    .pivot-band {
        padding: 70px 0;
    }

    .pivot-lead {
        font-size: 1rem;
    }

    .pivot-band h2 {
        font-size: 1.45rem;
    }

    .showcase-row,
    .showcase-row.reverse {
        flex-direction: column;
        gap: 28px;
        margin-bottom: 70px;
    }

    .showcase-text {
        order: 1;
        text-align: center;
    }

    .showcase-text h3 {
        font-size: 1.4rem;
    }

    /* モバイルは説明→画面の順にし、スクショは上部だけ見せる */
    .showcase-shot {
        order: 2;
    }

    .showcase-shot .phone-frame {
        width: 260px;
        height: 400px;
        border-bottom: none;
        border-radius: 36px 36px 0 0;
    }

    .showcase-shot .phone-frame img {
        border-radius: 28px 28px 0 0;
    }

    /* 着せ替えの枚：モバイルは描画高が低いぶんオフセットを浅く */
    .feature-shot.shot-lower img {
        object-position: center -215px;
    }

    /* 個人情報の枚は画面下側（🔒枠）を見せる */
    .showcase-shot .phone-frame.shot-lower {
        height: 380px;
    }

    .showcase-shot .phone-frame.shot-lower img {
        margin-top: -150px;
        border-radius: 0;
    }

    .privacy-inner {
        flex-direction: column;
        text-align: center;
    }

    .privacy-band h2 {
        font-size: 1.6rem;
    }

    .privacy-list {
        text-align: left;
        display: inline-block;
    }

    .privacy-mascot img {
        width: 210px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

/* Message Section */
.message {
    background: var(--bg-cream);
}

.message-content {
    max-width: 800px;
    margin: 0 auto;
}

.message-body {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-main);
}

.message-body p {
    margin-bottom: 24px;
}

.message-strong {
    background: linear-gradient(transparent 60%, var(--accent-soft) 60%);
    font-weight: 700;
}

/* Legal Pages Specific */
.legal-content {
    max-width: 760px;
}

.legal-content h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    padding-top: 120px;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-pink);
}

.legal-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 14px;
}

.legal-content p {
    margin-bottom: 20px;
    color: var(--text-sub);
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 24px;
    color: var(--text-sub);
}

.legal-content li {
    margin-bottom: 10px;
}
