/* =========================================
   基本設定
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        "Yu Gothic",
        Meiryo,
        sans-serif;

    color: #263238;

    background-color: #f8fbfa;

    line-height: 1.8;
}


/* =========================================
   共通コンテナ
========================================= */

.container {
    width: min(
        1100px,
        calc(100% - 40px)
    );

    margin-left: auto;
    margin-right: auto;
}


/* =========================================
   ヘッダー
========================================= */

.site-header {
    background-color: rgba(
        255,
        255,
        255,
        0.95
    );

    border-bottom: 1px solid #e7eeeb;

    padding: 16px 0;
}

.brand {
    font-size: 18px;

    font-weight: 600;

    letter-spacing: 0.03em;

    color: #315b50;

    text-decoration: none;
}


/* =========================================
   ヒーロー
========================================= */

.hero {
    min-height: 520px;

    display: flex;

    align-items: center;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            #edf8f4 0%,
            #f8fbfa 100%
        );
}

.hero-content {
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-icon {
    margin: 0 0 12px;

    font-size: 42px;

    color: #4d8073;
}

.hero h1 {
    margin: 0;

    font-size: clamp(
        34px,
        7vw,
        58px
    );

    line-height: 1.25;

    font-weight: 600;

    letter-spacing: 0.01em;

    color: #294f46;
}

.hero-copy {
    margin-top: 30px;
    margin-bottom: 0;

    font-size: clamp(
        22px,
        4vw,
        30px
    );

    font-weight: 500;

    line-height: 1.6;
}

.hero-description {
    max-width: 620px;

    margin: 22px auto 0;

    color: #60706b;

    font-size: 16px;
}

.store-area {
    margin-top: 38px;
}

.coming-soon {
    display: inline-block;

    padding: 11px 22px;

    border: 1px solid #b8cbc5;

    border-radius: 30px;

    color: #55736b;

    background-color: rgba(
        255,
        255,
        255,
        0.65
    );

    font-size: 14px;

    letter-spacing: 0.04em;
}


/* =========================================
   共通セクション
========================================= */

section {
    padding-top: 90px;
    padding-bottom: 90px;
}

section h2 {
    margin-top: 0;
    margin-bottom: 34px;

    text-align: center;

    font-size: 28px;

    font-weight: 600;

    color: #315b50;
}


/* =========================================
   About
========================================= */

.about {
    background-color: #ffffff;
}

.about p {
    max-width: 720px;

    margin: 0 auto;

    text-align: center;

    color: #596965;

    font-size: 16px;
}


/* =========================================
   カテゴリー
========================================= */

.categories {
    background-color: #f5faf8;
}

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap: 20px;
}

.category-card {
    padding: 32px 22px;

    text-align: center;

    background-color: #ffffff;

    border: 1px solid #e5eeeb;

    border-radius: 18px;

    box-shadow:
        0 8px 28px
        rgba(
            55,
            89,
            80,
            0.05
        );
}

.category-icon {
    margin-bottom: 14px;

    font-size: 34px;
}

.category-card h3 {
    margin-top: 0;
    margin-bottom: 12px;

    color: #365e54;

    font-size: 19px;
}

.category-card p {
    margin: 0;

    color: #6b7975;

    font-size: 14px;
}


/* =========================================
   Information
========================================= */

.information {
    background-color: #ffffff;
}

.information-links {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 16px 34px;
}

.information-links a,
.disabled-link {
    font-size: 14px;

    color: #55736b;

    text-decoration: none;
}

.information-links a:hover {
    text-decoration: underline;
}

.disabled-link {
    opacity: 0.65;
}


/* =========================================
   法的ページ
========================================= */

.legal-page {
    padding-top: 70px;
    padding-bottom: 90px;

    background-color: #ffffff;
}

.legal-container {
    max-width: 820px;
}

.legal-page h1 {
    margin-top: 0;
    margin-bottom: 10px;

    color: #294f46;

    font-size: 34px;

    font-weight: 600;

    line-height: 1.4;
}

.legal-updated {
    margin-top: 0;
    margin-bottom: 45px;

    color: #82908c;

    font-size: 14px;
}

.legal-page h2 {
    margin-top: 52px;
    margin-bottom: 18px;

    text-align: left;

    color: #315b50;

    font-size: 21px;

    font-weight: 600;

    line-height: 1.5;
}

.legal-page p {
    margin-top: 0;
    margin-bottom: 18px;

    color: #52625e;

    font-size: 16px;

    line-height: 1.9;
}

.legal-page ul {
    margin-top: 10px;
    margin-bottom: 20px;

    padding-left: 1.5em;

    color: #52625e;
}

.legal-page li {
    margin-bottom: 9px;

    line-height: 1.8;
}

.legal-back {
    margin-top: 65px;

    padding-top: 25px;

    border-top: 1px solid #e5eeeb;
}

.legal-back a {
    color: #416f63;

    text-decoration: none;

    font-weight: 500;
}

.legal-back a:hover {
    text-decoration: underline;
}


/* =========================================
   フッター
========================================= */

.site-footer {
    padding: 28px 0;

    text-align: center;

    background-color: #294f46;

    color: rgba(
        255,
        255,
        255,
        0.8
    );
}

.site-footer p {
    margin: 0;

    font-size: 13px;
}


/* =========================================
   PCでは不要な改行
========================================= */

.mobile-break {
    display: none;
}


/* =========================================
   タブレット
========================================= */

@media (
    max-width: 850px
) {

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


/* =========================================
   スマートフォン
========================================= */

@media (
    max-width: 600px
) {

    .container {
        width: min(
            100% - 32px,
            1100px
        );
    }

    .site-header {
        padding-top: 13px;
        padding-bottom: 13px;
    }

    .brand {
        font-size: 16px;
    }

    .hero {
        min-height: 480px;
    }

    .hero-content {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-description {
        font-size: 15px;
    }

    .mobile-break {
        display: block;
    }

    section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    section h2 {
        margin-bottom: 28px;

        font-size: 23px;
    }

    .category-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .category-card {
        padding: 26px 20px;
    }

    .information-links {
        flex-direction: column;

        align-items: center;

        gap: 12px;
    }


    /* =====================================
       法的ページ
       スマートフォン
    ===================================== */

    .legal-page {
        padding-top: 45px;
        padding-bottom: 65px;
    }

    .legal-page h1 {
        font-size: 28px;
    }

    .legal-updated {
        margin-bottom: 35px;
    }

    .legal-page h2 {
        margin-top: 42px;

        font-size: 19px;
    }

    .legal-page p {
        font-size: 15px;
    }
}
