/* ===========================
   穂積園 ウェブサイト スタイル
   =========================== */

/* リセット & 基本設定 */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* カラーパレット（フライヤーから抽出） */
    --color-pink: #f5a4b4;
    --color-pink-light: #fbd9df;
    --color-pink-pale: #fdeef1;
    --color-mint: #8dd4ce;
    --color-mint-light: #c6e9e6;
    --color-mint-pale: #e8f6f4;
    --color-yellow: #e8d76c;
    --color-yellow-light: #f3e9a8;
    --color-yellow-pale: #fbf6d9;
    --color-peach: #f5b89c;
    --color-peach-light: #fbd9c8;
    --color-text: #5a4a45;
    --color-text-light: #8a7a75;
    --color-bg: #fffbf7;
    --color-white: #ffffff;
    --color-border: #f0e8e0;

    /* フォント */
    --font-jp: 'M PLUS Rounded 1c', 'Kosugi Maru', 'Hiragino Maru Gothic ProN', 'メイリオ', sans-serif;

    /* レイアウト */
    --container-width: 1100px;
    --container-padding: 24px;
    --section-padding: 96px;
    --section-padding-sp: 64px;

    /* シャドウ */
    --shadow-sm: 0 2px 8px rgba(90, 74, 69, 0.06);
    --shadow-md: 0 6px 20px rgba(90, 74, 69, 0.08);
    --shadow-lg: 0 12px 32px rgba(90, 74, 69, 0.12);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-jp);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover {
    opacity: 0.75;
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

/* ユーティリティ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.sp-only {
    display: none;
}

/* ===========================
   ヘッダー
   =========================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 251, 247, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 16px var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.header-logo a {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.logo-corp,
.logo-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-pink);
    letter-spacing: 0.02em;
}

.logo-service {
    font-size: 0.7rem;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
}

.nav-list {
    display: flex;
    gap: 28px;
}

.nav-list a {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-text);
    position: relative;
    padding: 4px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-pink);
    transition: width 0.3s ease;
}

.nav-list a:hover {
    opacity: 1;
    color: var(--color-pink);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 110;
}

.nav-toggle span {
    display: block;
    position: absolute;
    left: 10px;
    width: 24px;
    height: 2px;
    background-color: var(--color-pink);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }

.nav-toggle.is-open span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* ===========================
   ヒーローセクション
   =========================== */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, var(--color-pink-pale) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, var(--color-mint-pale) 0%, transparent 40%),
        radial-gradient(circle at 90% 85%, var(--color-yellow-pale) 0%, transparent 40%),
        var(--color-bg);
    padding: 120px var(--container-padding) 120px;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: var(--color-pink-light);
    border-radius: 50%;
    opacity: 0.6;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 8%;
    width: 120px;
    height: 120px;
    background: var(--color-mint-light);
    border-radius: 50%;
    opacity: 0.5;
    z-index: 0;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    z-index: 0;
}

.deco-strawberry {
    top: 30%;
    left: 8%;
    width: 60px;
    height: 60px;
    background: var(--color-pink);
}

.deco-banana {
    top: 20%;
    right: 12%;
    width: 70px;
    height: 70px;
    background: var(--color-yellow);
}

.deco-cherry {
    bottom: 25%;
    left: 12%;
    width: 50px;
    height: 50px;
    background: var(--color-peach);
}

.deco-grape {
    bottom: 10%;
    right: 20%;
    width: 90px;
    height: 90px;
    background: var(--color-mint);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-sub {
    font-size: 0.9rem;
    color: var(--color-text-light);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    color: var(--color-pink);
    margin-bottom: 0;
    letter-spacing: 0.1em;
    text-shadow: 3px 3px 0 var(--color-pink-pale);
}

.hero-recruit-badge {
    display: block;
    margin: 24px auto 40px;
    line-height: 1.05;
    letter-spacing: 0.08em;
    transform: rotate(-2deg);
}

.hero-recruit-badge-line {
    display: block;
    color: var(--color-pink);
    font-weight: 800;
    font-size: clamp(2.6rem, 8vw, 5rem);
    text-shadow:
        2px 2px 0 #ffffff,
        4px 4px 0 var(--color-pink-light),
        6px 6px 0 var(--color-pink),
        9px 9px 0 rgba(217, 131, 151, 0.4);
    padding: 4px 0;
}

.hero-recruit-badge-line:nth-child(2) {
    margin-left: 0.4em;
}

@media (max-width: 720px) {
    .hero-recruit-badge {
        margin: 17px auto 28px;
    }
    .hero-recruit-badge-line {
        text-shadow:
            1px 1px 0 #ffffff,
            2px 2px 0 var(--color-pink-light),
            4px 4px 0 var(--color-pink),
            6px 6px 0 rgba(217, 131, 151, 0.4);
    }
}

.hero-catch {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-desc {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===========================
   ボタン
   =========================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-md);
}

.btn:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background-color: var(--color-pink);
    color: var(--color-white);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-pink);
    border: 2px solid var(--color-pink);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

/* ===========================
   セクション共通
   =========================== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-sub {
    font-size: 0.85rem;
    color: var(--color-pink);
    letter-spacing: 0.3em;
    margin-bottom: 8px;
    font-weight: 700;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--color-text);
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-pink), var(--color-mint));
    border-radius: 2px;
}

/* ===========================
   穂積園について
   =========================== */
.about {
    background-color: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-lead {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-pink);
    margin-bottom: 24px;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 16px;
}

.about-image-placeholder {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--color-mint-pale), var(--color-pink-pale));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.about-image {
    text-align: center;
}

.about-image-photo {
    width: 50%;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    object-fit: cover;
    aspect-ratio: 4 / 5;
    display: inline-block;
}

@media (max-width: 960px) {
    .about-image-photo {
        width: 50%;
        max-width: 240px;
        aspect-ratio: 4 / 5;
    }
}

/* ===========================
   特徴
   =========================== */
.features {
    background-color: var(--color-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: var(--color-white);
    border-radius: 24px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0.3;
}

.feature-card-yellow::before { background: var(--color-yellow); }
.feature-card-pink::before { background: var(--color-pink); }
.feature-card-mint::before { background: var(--color-mint); }
.feature-card-peach::before { background: var(--color-peach); }

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--color-text);
    position: relative;
    z-index: 1;
}

.feature-card-yellow .feature-title { color: #c9b04a; }
.feature-card-pink .feature-title { color: var(--color-pink); }
.feature-card-mint .feature-title { color: #5cb5ad; }
.feature-card-peach .feature-title { color: #d98c6a; }

.feature-text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.feature-text-left {
    text-align: left;
}

/* ===========================
   活動内容
   =========================== */
.activities {
    background-color: var(--color-white);
}

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

.activity-card {
    background-color: var(--color-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.activity-image {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--color-yellow-pale), var(--color-peach-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-weight: 700;
}

.activity-card:nth-child(2) .activity-image {
    background: linear-gradient(135deg, var(--color-pink-pale), var(--color-yellow-pale));
}

.activity-card:nth-child(3) .activity-image {
    background: linear-gradient(135deg, var(--color-mint-pale), var(--color-pink-pale));
}

.activity-image-photo {
    padding: 0;
    background: none !important;
}

.activity-image-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.activity-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-text);
    padding: 20px 24px 8px;
}

.activity-text {
    padding: 0 24px 24px;
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===========================
   利用者募集
   =========================== */
.recruit {
    background:
        radial-gradient(circle at 20% 30%, var(--color-pink-pale) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--color-mint-pale) 0%, transparent 50%),
        var(--color-bg);
}

.recruit-box {
    max-width: 880px;
    margin: 0 auto;
    background-color: var(--color-white);
    border-radius: 32px;
    padding: 64px 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.recruit-badge {
    display: inline-block;
    background-color: var(--color-pink);
    color: var(--color-white);
    font-weight: 800;
    padding: 8px 24px;
    border-radius: 999px;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.recruit-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 16px;
}

.recruit-text {
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.recruit-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.recruit-point {
    padding: 24px 16px;
    border-radius: 16px;
    background-color: var(--color-bg);
}

.recruit-point:nth-child(1) { background-color: var(--color-yellow-pale); }
.recruit-point:nth-child(2) { background-color: var(--color-pink-pale); }
.recruit-point:nth-child(3) { background-color: var(--color-mint-pale); }

.point-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.recruit-point:nth-child(1) .point-label { color: #c9b04a; }
.recruit-point:nth-child(2) .point-label { color: var(--color-pink); }
.recruit-point:nth-child(3) .point-label { color: #5cb5ad; }

.point-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ===========================
   アクセス
   =========================== */
.access {
    background-color: var(--color-white);
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.access-list {
    background-color: var(--color-bg);
    border-radius: 24px;
    padding: 32px;
}

.access-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--color-border);
}

.access-item:last-child {
    border-bottom: none;
}

.access-item dt {
    font-weight: 700;
    color: var(--color-pink);
    font-size: 0.9rem;
}

.access-item dd {
    color: var(--color-text);
}

.access-item a {
    color: var(--color-text);
    border-bottom: 1px solid var(--color-mint);
}

.access-map {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

.access-map iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* ===========================
   お問い合わせ
   =========================== */
.contact {
    background-color: var(--color-bg);
}

.contact-lead {
    text-align: center;
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 48px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-card {
    display: block;
    background-color: var(--color-white);
    border-radius: 24px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    opacity: 1;
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.contact-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-pink);
    margin-bottom: 8px;
    line-height: 1.4;
    word-break: break-all;
}

.contact-note {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ===========================
   フッター
   =========================== */
.footer {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 48px 0 24px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo-sub {
    font-size: 0.75rem;
    opacity: 0.7;
}

.footer-logo-main {
    font-size: 1.05rem;
    font-weight: 800;
}

.footer-info {
    text-align: right;
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.8;
}

.footer-copyright {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ===========================
   レスポンシブ（タブレット）
   =========================== */
@media (max-width: 960px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .access-content {
        grid-template-columns: 1fr;
    }

    .access-map {
        min-height: 320px;
    }
}

/* ===========================
   レスポンシブ（スマートフォン）
   =========================== */
@media (max-width: 720px) {
    :root {
        --section-padding: var(--section-padding-sp);
    }

    .sp-only {
        display: inline;
    }

    /* ヘッダー */
    .header-inner {
        padding: 12px var(--container-padding);
    }

    .logo-corp,
    .logo-name {
        font-size: 0.95rem;
    }

    .logo-service {
        font-size: 0.65rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-bg);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav.is-open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .nav-list a {
        font-size: 1.1rem;
    }

    /* ヒーロー */
    .hero {
        padding: 64px var(--container-padding) 80px;
    }

    .hero-title {
        margin-bottom: 16px;
    }

    .hero-catch {
        margin-bottom: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn {
        width: 100%;
    }

    /* セクション */
    .section-header {
        margin-bottom: 40px;
    }

    /* 特徴 */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    /* 活動内容 */
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 利用者募集 */
    .recruit-box {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .recruit-points {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* アクセス */
    .access-list {
        padding: 24px 20px;
    }

    .access-item {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 12px 0;
    }

    .access-map {
        min-height: 280px;
    }

    /* お問い合わせ */
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-card {
        padding: 32px 24px;
    }

    /* フッター */
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-info {
        text-align: left;
    }

    /* 装飾を小さく */
    .deco-strawberry,
    .deco-banana,
    .deco-cherry,
    .deco-grape {
        transform: scale(0.6);
    }
}

/* ===========================
   アニメーション
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-inner > * {
    animation: fadeInUp 0.8s ease both;
}

.hero-sub { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-recruit-badge { animation-delay: 0.3s; }
.hero-catch { animation-delay: 0.4s; }
.hero-desc { animation-delay: 0.5s; }
.hero-buttons { animation-delay: 0.6s; }

/* ===========================
   アクセシビリティ
   =========================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
