:root {
    --green: #2f6f4e;
    --green-dark: #214f39;
    --green-soft: #eaf4ee;
    --pink: #e8b2b4;
    --cream: #fffaf1;
    --text: #333;
    --muted: #66706a;
    --white: #fff;
    --border: #d9e0dc;
    --shadow: 0 10px 30px rgba(0, 0, 0, .09);
    --radius: 18px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(180deg, #f4fbf6, #fff 35%, #fff8f8);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Yu Gothic", "Meiryo", sans-serif;
    line-height: 1.8
}

img {
    max-width: 100%;
    height: auto
}

a {
    color: inherit
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px)
}

.header-inner {
    width: min(1100px, calc(100% - 32px));
    min-height: 64px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.logo {
    text-decoration: none;
    font-weight: 800;
    color: var(--green-dark)
}

.logo small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.2
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 24px;
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    transition: .2s
}

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

.btn-primary {
    background: var(--green);
    color: #fff;
    box-shadow: 0 8px 22px rgba(47, 111, 78, .25)
}

.btn-light {
    background: #fff;
    color: var(--green-dark)
}

.hero {
    padding: 64px 16px 72px;
    background: linear-gradient(135deg, rgba(33, 79, 57, .97), rgba(47, 111, 78, .86));
    color: #fff
}

.hero-inner {
    width: min(1100px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 44px;
    align-items: center
}

.badge {
    display: inline-block;
    padding: 7px 15px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-weight: 700
}

.hero h1 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.25;
    margin: 18px 0 0
}

.hero h1 span {
    display: block;
    font-size: .55em;
    letter-spacing: .1em
}

.catch {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 700
}

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

.flyer {
    padding: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .13);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .25)
}

.flyer img {
    display: block;
    border-radius: 12px;
    background: #fff
}

.notice {
    width: min(900px, calc(100% - 32px));
    margin: -28px auto 0;
    position: relative;
    z-index: 4;
    padding: 22px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    text-align: center
}

.notice strong {
    display: block;
    color: var(--green-dark);
    font-size: 19px
}

.section {
    padding: 68px 16px
}

.section.alt {
    background: rgba(234, 244, 238, .55)
}

.container {
    width: min(1050px, 100%);
    margin: auto
}

.heading {
    text-align: center;
    margin-bottom: 36px
}

.heading .en {
    display: block;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em
}

.heading h2 {
    margin: 7px 0 0;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(28px, 4vw, 42px);
    color: var(--green-dark)
}

.heading p {
    max-width: 720px;
    margin: 10px auto 0;
    color: var(--muted)
}

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

.card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 7px 22px rgba(0, 0, 0, .055)
}

.card h3 {
    margin: 8px 0;
    color: var(--green-dark)
}

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

.step {
    text-align: center;
    padding: 28px 22px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow)
}

.step-no {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-weight: 800
}

.cta {
    padding: 40px 26px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow)
}

.footer {
    padding: 38px 16px;
    background: #24372d;
    color: #fff;
    text-align: center
}

.footer p {
    margin: 5px 0
}

.fixed-apply {
    display: none
}

@media(max-width:820px) {
    .hero-inner {
        grid-template-columns: 1fr
    }

    .hero-copy {
        text-align: center
    }

    .actions {
        justify-content: center
    }

    .grid,
    .steps {
        grid-template-columns: 1fr
    }
}

@media(max-width:600px) {
    body {
        padding-bottom: 78px
    }

    .hero {
        padding: 38px 16px 54px
    }

    .actions {
        flex-direction: column
    }

    .btn {
        width: 100%
    }

    .section {
        padding: 52px 16px
    }

    .fixed-apply {
        position: fixed;
        z-index: 100;
        left: 12px;
        right: 12px;
        bottom: 12px;
        display: flex;
        min-height: 56px;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: var(--green);
        color: #fff;
        text-decoration: none;
        font-weight: 800;
        box-shadow: 0 8px 25px rgba(0, 0, 0, .3)
    }
}

/* ==========================================
   ヒーロー内の3ボタン
========================================== */

.hero-buttons {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);

    gap: 12px;

    width: 100%;
    margin-top: 36px;
}

.hero-buttons .btn {
    width: 100%;
    min-width: 0;
    min-height: 54px;

    padding: 12px 12px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}


/* 写真を応募する */

.hero-buttons .btn-primary {
    color: var(--green-dark);
    background: #ffffff;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.12);
}

.hero-buttons .btn-primary:hover {
    background: #f2f5f3;
}


/* 募集要項を見る */

.hero-buttons .btn-white {
    color: var(--green-dark);
    background: #ffffff;
}

.hero-buttons .btn-white:hover {
    background: #f2f5f3;
}


/* 現在の応募作品を見る */

.hero-buttons .btn-outline {
    color: #ffffff;
    background: transparent;

    border: 2px solid #ffffff;
}

.hero-buttons .btn-outline:hover {
    color: var(--green-dark);
    background: #ffffff;
}



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

@media (max-width: 1000px) {

    .hero-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    /* 3つ目のボタンを横いっぱいに */
    .hero-buttons .btn-outline {
        grid-column: 1 / -1;
    }

    /* ボタンをセルいっぱいに広げる */
    .hero-buttons .btn {
        width: 100%;
        min-width: 0;
    }
}


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

@media (max-width: 600px) {

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* ==========================================
   Ver1.63 応募方法 5ステップ
========================================== */

.steps-five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.steps-five .step {
    padding: 26px 18px;
}

.steps-five .step h3 {
    margin: 8px 0 10px;
    color: var(--green-dark);
    font-size: 1rem;
}

.steps-five .step p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.apply-note {
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-left: 5px solid var(--green);
    border-radius: 12px;
    background: var(--green-soft);
}

.apply-note strong {
    color: var(--green-dark);
}

.apply-note p {
    margin: 5px 0 0;
    color: var(--muted);
}

@media (max-width: 1100px) {
    .steps-five {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .steps-five {
        grid-template-columns: 1fr;
    }
}