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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Noto Sans JP",
        sans-serif;

    color: #263238;

    background: #ffffff;

    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}


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

.header {
    background: #ffffff;

    border-bottom: 1px solid #e5e7eb;

    position: sticky;

    top: 0;

    z-index: 100;
}

.header-inner {
    height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

/* =========================
   Compass Pocket ブランド
========================= */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
}

.brand-logo {
    width: 46px;
    height: 46px;

    object-fit: contain;

    border-radius: 12px;
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.2;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;

    color: #1b5e20;
}

.app-name {
    margin-top: 3px;

    font-size: 12px;
    font-weight: 600;

    color: #78909c;
}

nav {
    display: flex;

    gap: 28px;
}

nav a {
    text-decoration: none;

    color: #37474f;

    font-size: 14px;

    font-weight: 600;
}

nav a:hover {
    color: #2e7d32;
}


/* =========================
   メインビジュアル
========================= */

.hero {

    background:
        linear-gradient(
            135deg,
            #f1f8e9,
            #e8f5e9
        );

    padding: 100px 0;
}

.hero-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;
}

.hero-text {

    flex: 1;
}

.brand-label {
    display: inline-block;

    padding: 5px 12px;

    margin-bottom: 12px;

    background: #ffffff;

    border-radius: 20px;

    color: #2e7d32;

    font-size: 12px;
    font-weight: 700;
}

.sub-title {

    color: #388e3c;

    font-weight: 700;

    margin-bottom: 10px;
}

.hero h1 {

    font-size: 48px;

    line-height: 1.35;

    margin:

        0
        0
        24px;

    color: #1b5e20;
}

.hero-description {

    font-size: 18px;

    max-width: 600px;

    margin-bottom: 32px;

    color: #455a64;
}


/* =========================
   ボタン
========================= */

.button {

    display: inline-block;

    padding:

        14px
        28px;

    background: #43a047;

    color: #ffffff;

    text-decoration: none;

    border-radius: 30px;

    font-weight: 700;

    transition: 0.2s;
}

.button:hover {

    background: #2e7d32;

    transform: translateY(-2px);
}


/* =========================
   ヒーローカード
========================= */

.hero-card {

    width: 320px;

    background: #ffffff;

    padding: 40px;

    border-radius: 24px;

    text-align: center;

    box-shadow:

        0
        10px
        30px
        rgba(0, 0, 0, 0.08);
}

.food-icon {

    font-size: 72px;
}

.hero-card h2 {

    color: #2e7d32;

    margin-bottom: 12px;
}


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

.section {

    padding: 90px 0;
}

.section-light {

    background: #fafafa;
}

.section-title {

    text-align: center;

    font-size: 32px;

    color: #1b5e20;

    margin:

        0
        0
        24px;
}

.section-description {

    max-width: 760px;

    margin: 0 auto;

    text-align: center;

    font-size: 17px;

    color: #546e7a;
}


/* =========================
   機能カード
========================= */

.feature-grid {

    display: grid;

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

    gap: 28px;

    margin-top: 50px;
}

.feature-card {

    background: #ffffff;

    padding: 36px;

    border-radius: 18px;

    box-shadow:

        0
        6px
        20px
        rgba(0, 0, 0, 0.06);

    text-align: center;
}

.feature-icon {

    font-size: 48px;

    margin-bottom: 15px;
}

.feature-card h3 {

    color: #2e7d32;
}


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

.food-grid {

    display: grid;

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

    gap: 28px;

    margin-top: 50px;
}

.food-box {

    border: 1px solid #e0e0e0;

    border-radius: 18px;

    padding: 38px;

    text-align: center;

    background: #ffffff;
}

.food-large-icon {

    font-size: 60px;
}

.food-box h3 {

    color: #2e7d32;

    font-size: 22px;
}


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

.footer {

    background: #1b5e20;

    color: #ffffff;

    text-align: center;

    padding: 50px 0;
}

.footer-logo {

    font-size: 24px;

    font-weight: 700;

    margin-bottom: 10px;
}

.copyright {

    font-size: 13px;

    opacity: 0.8;

    margin-top: 25px;
}

/* =========================
   アプリスクリーンショット
========================= */

.screenshot-grid {

    display: grid;

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

    gap: 36px;

    margin-top: 50px;
}

.screenshot-item {

    text-align: center;
}

.screenshot-item img {

    width: 100%;

    max-width: 260px;

    border-radius: 24px;

    box-shadow:
        0
        12px
        30px
        rgba(0, 0, 0, 0.15);
}

.screenshot-item h3 {

    margin-top: 24px;

    color: #2e7d32;
}


/* =========================
   スマホ対応
========================= */

@media (max-width: 768px) {

    .header-inner {

        height: auto;

        padding: 18px 0;

        flex-direction: column;

        gap: 12px;
    }

    nav {

        gap: 15px;

        flex-wrap: wrap;

        justify-content: center;
    }

    .hero {

        padding: 60px 0;
    }

    .hero-inner {

        flex-direction: column;
    }

    .hero h1 {

        font-size: 34px;
    }

    .hero-card {

        width: 100%;
    }

    .feature-grid {

        grid-template-columns: 1fr;
    }

    .food-grid {

        grid-template-columns: 1fr;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
    }
}
