/* 基本設定 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Zen Maru Gothic', sans-serif;
    color: #5a544e; /* 柔らかいチャコールグレー */
    line-height: 1.8;
    background-color: #fdfdf9; /* ミルクホワイト */
}

/* ヘッダー */
header {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    color: #a3c1ad; /* 優しいミントグリーン */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: #7d756d;
    font-weight: bold;
    font-size: 0.9rem;
}

/* メインビジュアル */
.hero {
    height: 400px;
    background-color: #f0f4ef; /* 淡いグリーンホワイト */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 0 0 60px 60px;
}

.hero h2 {
    font-size: 2.5rem; /* 前回の記憶から、ヒーローテキストのサイズはここでお好みに調整できます！ */
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.hero h2 span {
    color: #a3c1ad;
    background: linear-gradient(transparent 70%, #fff 70%);
}

/* セクション共通 */
.section {
    padding: 80px 20px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    color: #8da496;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: #e9edc9; /* 柔らかい黄緑 */
    border-radius: 10px;
}

/* 背景バリエーション（ピンクを排除！） */
.bg-pink { background-color: #f7f9f2; border-radius: 40px; } /* 代わりに薄いリーフカラー */
.bg-blue { background-color: #f0f7f9; border-radius: 40px; } /* 淡い水色 */
.bg-yellow { background-color: #fff9ed; border-radius: 40px; } /* たまご色 */

/* MISSION と VISION の共通レイアウト */
.mission-container, .vision-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.mission-img, .vision-img {
    flex: 1;
    text-align: center;
}

.mission-text, .vision-text {
    flex: 1.2;
}

.mission-img img, .vision-img img {
    max-width: 100%;
    height: auto;
    border-radius: 40px; /* マシュマロのような角丸 */
    box-shadow: 0 15px 35px rgba(163, 193, 173, 0.15); /* 優しい影 */
    transition: all 0.3s ease; /* ホバー時のアニメーション */

    /* --- ここがポイント！ --- */
    opacity: 0.7; /* 0.0（完全透明）〜 1.0（完全不透明）の間で調整。0.7くらいが程よく薄くなります */
}

/* オプション：マウスを乗せたときに少し濃くする（ふんわり動く） */
.mission-img img:hover, .vision-img img:hover {
    opacity: 0.9; /* ホバー時は少し濃くする */
    transform: scale(1.02); /* ほんの少し大きくして「ぷるん」とさせる */
}

/* --- ここがポイント！ --- */
/* VISIONだけ、並び順を逆（右に写真、左にテキスト）にする */
.vision-container {
    flex-direction: row-reverse;
}

/* --- 事業内容（サークルデザイン） --- */
.card-container {
    display: flex;
    gap: 30px; /* サークル間の余白を少し広めに */
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.card {
    background: #fff;
    padding: 40px; /* パディングを調整 */
    border-radius: 50%; /* 正円にする */
    box-shadow: 0 10px 30px rgba(163, 193, 173, 0.1); /* シャドウもグリーン系に */
    width: 280px;  /* 幅と高さを同じにする */
    height: 280px; /* 幅と高さを同じにする */
    display: flex; /* 中身を中央寄せにするため */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box; /* パディングを含めたサイズ計算 */
    transition: transform 0.3s ease; /* ホバー時のアニメーション */
}

.card:hover {
    transform: translateY(-5px); /* ホバー時に少し浮く */
}

.card h4 {
    font-size: 1.3rem;
    color: #a3c1ad; /* ミントグリーン */
    margin-bottom: 15px;
    position: relative;
}

.card h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #e9edc9;
    border-radius: 2px;
}

.card p {
    font-size: 0.9rem;
    color: #7d756d;
    line-height: 1.6;
    margin: 0;
}

/* 料金プラン全体 */
.price-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: transparent; /* 枠を消して背景に馴染ませる */
}

.price-item {
    background: white; /* 中身は白でハッキリさせる */
    padding: 25px 40px;
    border-radius: 100px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05); /* 影を少しだけ濃く */
    transition: all 0.3s ease;
    border: 4px solid; /* 太めの線をつける */
}

/* 交互に少し左右にずらして「リズム」を出す */
/* 偶数番目（2, 4番目）：ミント色の縁取り */
.price-item:nth-child(even) {
    align-self: flex-end;
    border-color: #d8eadd; /* 濃いめのミントグリーン */
    border-bottom-right-radius: 20px;
}

/* 奇数番目（1, 3, 5番目）：たまご色の縁取り */
.price-item:nth-child(odd) {
    align-self: flex-start;
    border-color: #fff4cc; /* 濃いめのたまご色 */
    border-bottom-left-radius: 20px;
}

/* ホバーした時に線が少し太くなる演出 */
.price-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(163, 193, 173, 0.2);
}

/* Coming Soonはグレーの点線で「まだ内緒」感を出す */
.price-item.coming-soon {
    border-style: dashed;
    border-color: #eee;
    background-color: #fafafa;
    opacity: 0.8;
}

.price-item.coming-soon strong {
    font-size: 0.9rem;
    color: #999;
    letter-spacing: 0.1em;
}

/* 金額のフォントを少し目立たせる */
.price-item strong {
    font-size: 1.4rem;
    color: #8da496;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.price-list {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px; /* ふきだし同士の隙間を少し広めに */
    background: transparent;
}

.price-item.coming-soon .plan-name,
.price-item.coming-soon strong {
    color: #ccc;
}

/* テーブル */
.about-table {
    margin: 0 auto;
    border-collapse: collapse;
}

.about-table th, .about-table td {
    padding: 15px 30px;
    border-bottom: 1px solid #eee;
}

/* ボタン（ここもミント系に） */
/* お問い合わせセクションの調整 */
.bg-yellow {
    background-color: #fff9ed;
    border-radius: 60px; /* さらに丸くして「包み込む感じ」に */
    margin: 40px auto; /* 前後のセクションとの間に少しゆとりを */
}

/* ボタンをもっと「ぷるん」とさせる */
.btn {
    display: inline-block;
    padding: 18px 50px;
    background: #a3c1ad;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* 弾むような動き */
    font-weight: bold;
    margin-top: 20px;
    box-shadow: 0 8px 20px rgba(163, 193, 173, 0.3);
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    background: #8da496;
    box-shadow: 0 12px 25px rgba(163, 193, 173, 0.4);
}

/* フッター全体 */
.footer {
    background-color: #f0f4ef; /* 優しいミントホワイト系 */
    padding: 60px 20px 30px;
    position: relative;
    margin-top: 100px; /* 前のセクションとの間に余白を */
}

/* フッターの上の「もこもこ」デザイン */
.footer::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #f0f4ef;
    border-radius: 100% 100% 0 0; /* 大きなカーブで雲っぽく */
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: #8da496;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.footer-sub {
    font-size: 0.85rem;
    color: #a3c1ad;
    margin-bottom: 20px;
}

.footer-copy {
    font-size: 0.75rem;
    color: #999;
    margin: 0;
}

/* おまけ：フッターにマウスを乗せるとロゴが少しだけ揺れる */
.footer-logo:hover {
    display: inline-block;
    animation: fuwa 2s infinite ease-in-out;
}

/* --- ハンバーガーメニューのスタイル --- */

/* 通常時はボタンを隠す */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #a3c1ad; /* ミントグリーン */
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* スマホサイズ（768px以下）の設定 */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* ボタンを表示 */
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%; /* 最初は画面の外に隠す */
        width: 70%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        padding-top: 80px;
        transition: all 0.5s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.05);
    }

    nav.open {
        right: 0; /* メニューを表示 */
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    /* ボタンが「X」に変わるアニメーション */
    .hamburger.active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }
}

@keyframes fuwa {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* スマホで見るときは、どちらも「写真が上」に来るように縦並びにするのがオススメです */
@media (max-width: 768px) {
    .mission-container, .vision-container {
        flex-direction: column; /* 縦並びにする */
        text-align: center; /* テキストも中央寄せに */
        gap: 20px;
    }
}