/* --- 全体の横幅を制限して中央に寄せる --- */
.container {
    max-width: 1100px;
    /* お好みの幅で調整（1000px〜1200pxが一般的） */
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    /* スマホで見た時に文字が端に張り付かないように */
    padding-left: 20px;
}

/* --- ヒーローセクション (メインビジュアル) --- */
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 60px;
    overflow: hidden;
    background-color: #fafcc5;
    /* 保険用の背景色 */
}

/* ヒーローセクションの中の文字だけ中央に寄せる場合 */
.hero-section .container {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* ぼかし背景専用の層 */
.hero-section::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    z-index: 1;
    /* 30%の白を重ねつつ画像を敷く */
    background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    filter: blur(5px);
    /* 芝生を消すために少し強めにしました */
    transform: scale(1.1);
}

/* 霧のようなグラデーションの層 */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.8) 100%);
    z-index: 2;
}

/* 文字コンテンツ */
.hero-content {
    position: relative;
    z-index: 3;
    /* 一番手前に出す */
    max-width: 800px;
    padding: 0 20px;
}

.catchphrase {
    color: #5B744C;
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    /* 芝生を完全にシャットアウトする最強のフチ取り */
    text-shadow:
            2px 2px 0 #fff,
            -2px 2px 0 #fff,
            2px -2px 0 #fff,
            -2px -2px 0 #fff,
            0 0 20px rgba(255, 255, 255, 1),
            0 0 30px rgba(255, 255, 255, 1);
}

.sub-text {
    color: #4A443F;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
    letter-spacing: 0.1em;
    text-shadow:
        1.5px 1.5px 0 #fff,
        -1.5px 1.5px 0 #fff,
        1.5px -1.5px 0 #fff,
        -1.5px -1.5px 0 #fff,
        0 0 10px rgba(255, 255, 255, 1);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .hero-section {
        height: 450px;
    }

    .catchphrase {
        font-size: 1.8rem;
    }

    .sub-text {
        font-size: 1rem;
    }
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: #5B744C;
    /* ロゴの濃い緑 */
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* タイトルの前後に葉っぱのような記号を入れる */
.section-title::before,
.section-title::after {
    content: "🌿";
    /* 絵文字やアイコン画像 */
    font-size: 1.2rem;
    opacity: 0.6;
}

/* --- コンセプト --- */
.concept-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    line-height: 2;
}

/* --- 料金表 --- */
/* セクション全体の背景（少しクリーム色にすると優しくなります） */
.price-section {
    background-color: #fdfdfb;
    padding: 60px 0;
}

/* テーブル全体の調整 */
.price-table {
    width: 100%;
    max-width: 600px;
    /* 広がりすぎないように制限 */
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0 10px;
    /* 行と行の間に隙間を作る */
}

.price-table tr {
    background-color: #ffffff;
    /* 行の背景を白に */
    box-shadow: 0 2px 8px rgba(91, 116, 76, 0.05);
    /* ほんの少し影を付けて浮かせる */
    border-radius: 10px;
}

.price-table th,
.price-table td {
    padding: 20px;
    border: none;
}

/* 左側の項目名 */
.price-table th {
    color: #5B744C;
    font-weight: bold;
    text-align: left;
    border-radius: 10px 0 0 10px;
    /* 左側だけ丸く */
    width: 60%;
}

/* 右側の金額 */
.price-table td {
    color: #333;
    font-weight: bold;
    text-align: right;
    border-radius: 0 10px 10px 0;
    /* 右側だけ丸く */
    font-size: 1.2rem;
}

/* オプションエリア全体の器 */
.common-options-container {
    margin-top: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    /* 背景を白にして浮かせる */
    padding: 20px;
    border-radius: 15px;
}

/* オプションの見出し（左側にグリーンの線） */
.options-title {
    color: #5B744C;
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-left: 4px solid #B2C2A2;
    padding-left: 12px;
    font-weight: bold;
    text-align: left;
}

/* 導入文 */
.options-lead {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    text-align: left;
}

/* オプション用のテーブル（以前作成したものを共通化） */
.option-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fdfdfb;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

.option-item {
    border-bottom: 1px solid #eee;
}

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

.option-name {
    padding: 15px;
    color: #5B744C;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: left;
}

.option-price {
    padding: 15px;
    text-align: right;
    font-weight: bold;
    font-size: 0.95rem;
    color: #333;
}

/* 下部の注釈（※） */
.options-note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 12px;
    text-align: left;
    line-height: 1.5;
}
/* 項目名の下の注意書き（専門保育士...） */
.option-staff-note {
    display: block;
    /* 確実に改行させる */
    font-size: 0.75rem;
    /* 小さめにして補足感を出す */
    color: #888;
    /* 柔らかいグレー */
    font-weight: normal;
    /* 太字を解除 */
    margin-top: 4px;
    /* 項目名との隙間 */
    line-height: 1.4;
}

/* スマホでの微調整 */
@media (max-width: 768px) {
    .option-staff-note {
        font-size: 0.7rem;
        /* スマホではさらに少し小さくして収まりを良く */
    }
}

/* 金額欄の補足テキスト（2行目） */
.option-sub-price {
    display: block;
    /* 改行を確実にするため */
    font-size: 0.8rem;
    /* メインより少し小さく */
    color: #666;
    /* 少し薄めのグレーで補足感を出す */
    font-weight: normal;
    /* 太字を解除してスッキリさせる */
    margin-top: 4px;
    /* 1行目との間にわずかな隙間を作る */
}

/* スマホでの調整：右寄せを維持 */
.option-price {
    line-height: 1.4;
    /* 行間を整えて、2行になっても綺麗に見せる */
    vertical-align: middle;
    /* 左側の項目名と高さを合わせる */
}

/* スマホ対応 */
@media (max-width: 768px) {
    .common-options-container {
        margin-top: 30px;
        padding: 15px;
    }

    .option-name,
    .option-price {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
}

/* スマホ対応：文字サイズを少し調整 */
@media (max-width: 768px) {

    .price-table th,
    .price-table td {
        padding: 15px;
        font-size: 1rem;
    }
}

/* --- サービスセクション --- */
.services-section {
    background-color: #fff;
    /* 背景を白にして清潔感を */
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
    align-items: stretch;
}
/* カード全体の設定 */
.service-card {
    flex: 1;
    /* 幅を均等にする */
    min-width: 280px;
    /* スマホ等でこれ以上小さくなったら折り返す */
    
    
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    
    /* ★カード内の構成を整える設定 */
    display: flex;
    flex-direction: column;
    /* 中身を縦に並べる */
    align-items: center;
    /* ★追加：カード内の要素を横方向の中央に揃える */
    text-align: center;
}

/* カード内のテキスト（説明文） */
.service-card p {
    flex-grow: 1;
    /* ★これが重要：余ったスペースを全部使って「詳しく見る」を下に押し出す */
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ホバー時に少し浮き上がらせる（以前のコードを活かす） */
.service-card:hover {
    transform: translateY(-10px);
    border-color: #B2C2A2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* 詳しく見るボタン風のデザイン */
.service-btn {
    display: inline-block;
    align-self: center;
        /* ボタンは中央に */
    margin-top: auto;
    /* 説明文が短くてもボタンの位置を下に揃える */
    padding: 8px 24px;
    background-color: #f9fbf8;
    color: #5B744C;
    border: 1px solid #B2C2A2;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s;
}

.service-card:hover .service-btn {
    background-color: #5B744C;
    color: #fff;
}


.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h4 {
    color: #5B744C;
    font-size: 1.25rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    text-align: left;
    /* 説明文は左寄せが読みやすい */
}

/* スマホ表示の時は縦に並べる */
@media (max-width: 768px) {
    .services-grid {
        flex-direction: column;
    }

    .service-card {
        margin-bottom: 20px;
    }
}

/* --- スタッフ紹介（グリッドレイアウト） --- */
/* --- プロフィール全体（修正：横並びを逆に） --- */
.profile-card {
    display: flex;
    /* ★右側に画像、左側にテキストを配置 */
    flex-direction: row-reverse;
    align-items: flex-start;
    /* ★上揃えにすることで、テキストが長くても画像が浮きません */
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    /* 少し幅を広げてゆとりを持たせました */
    margin: 0 auto;
}

/* --- テキストエリア（左側） --- */
.profile-content {
    flex: 1;
    /* 残りの幅をすべて使う */
    min-width: 0;
    /* フレックスアイテムの崩れ防止 */
}

/* --- 画像エリア（右側固定） --- */
.profile-image {
    flex: 0 0 300px;
    /* ★幅を300pxから動かさない設定 */
    height: 300px;
    /* 正方形を維持 */
    border-radius: 50%;
    border: 6px solid #B2C2A2;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

    /* ★追加：スクロールしても画像がついてくるように（お好みで） */
    position: sticky;
    top: 20px;
}

.staff-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* プロフィールヘッダー（ラベルと役職） */
.profile-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

/* 「助産師」ラベル */
.staff-label {
    background-color: #5B744C;
    /* ロゴの緑 */
    color: #fff;
    font-size: 1.2rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

/* テキスト部分（修正：margin-right を margin-left に） */
.profile-role {
    font-size: 1.2rem;
    color: #5B744C;
    font-weight: bold;
    margin: 0;
}

/* 各セクション（ごあいさつ、学歴など）の塊 */
.profile-section {
    margin-top: 20px;
}

/* 小見出し（ごあいさつ、学歴...） */
.section-sub-title {
    font-size: 0.95rem;
    color: #5B744C;
    border-left: 3px solid #B2C2A2;
    padding-left: 8px;
    margin-bottom: 8px;
    font-weight: bold;
}

.profile-section p,
.profile-list {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #5A544E;
    margin: 0;
    padding: 0;
    list-style: none;
}

.profile-list li {
    margin-bottom: 5px;
}

.profile-name {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.profile-name span {
    font-size: 1rem;
    color: #888;
    margin-left: 10px;
}

.profile-text {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ごあいさつ文の調整 */
.profile-text p {
    margin-bottom: 1.5em;
    /* 段落ごとの隙間 */
    word-break: break-all;
}

.profile-qualifications {
    font-size: 0.9rem;
    color: #666;
    list-style: none;
    padding: 0;
}

/* --- スタッフ紹介 スマホ対応 --- */
@media (max-width: 768px) {
    .profile-card {
    /* ★スマホでは[画像]→[テキスト]の縦並びに戻す */
        flex-direction: column;
        align-items: center;
        /* 中央揃え */
        gap: 20px;
        padding: 20px;
    }

    .profile-image {
        flex: 0 0 200px;
         /* スマホでは少し小さく */
        width: 200px;
        height: 200px;
        position: static;
         /* 追従を解除 */
    }

    .profile-content {
        text-align: left;
        /* テキストは左寄せが見やすい */
    }

    .profile-header {
        justify-content: center;
        /* 肩書きラベルなどは中央 */
    }

    .profile-name {
        text-align: center;
        font-size: 1.5rem;
    }

    .profile-name span {
        display: block;
        /* カナを名前の下に改行させる */
        margin-left: 0;
        margin-top: 5px;
    }

    .profile-qualifications {
        display: inline-block;
        /* 資格リストを中央に寄せるための調整 */
        text-align: left;
        /* リスト内の文字は左寄せ */
        margin-top: 15px;
    }
}

/* 経歴リスト全体のスタイル */
.career-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.career-list li {
    display: flex;
    /* 横並びにする */
    margin-bottom: 12px;
    /* 項目ごとの隙間 */
    line-height: 1.6;
}

/* 年号の部分 */
.career-date {
    flex: 0 0 70px;
    /* 幅を70pxに固定（年号＋αが入る幅） */
    font-weight: bold;
    color: #5B744C;
    /* 統一感のある緑に */
}

/* 内容の部分 */
.career-content {
    flex: 1;
    /* 残りの幅をすべて使う */
    word-break: break-all;
    /* 長い単語があっても折返させる */
}

/* スマホ対応（画面が狭いときは年号を上にしても良いですが、
   この構成ならそのままの方が読みやすいです） */
@media (max-width: 480px) {
    .career-date {
        flex: 0 0 60px;
        /* スマホでは少し幅を詰める */
        font-size: 0.85rem;
    }

    .career-content {
        font-size: 0.85rem;
    }
}


/* --- お問い合わせセクション全体 --- */
.contact-section {
    background-color: #fdfaf5;
    /* 優しいベージュ */
}

/* お問い合わせタイトル（ロゴの緑） */
.section-title {
    color: #5B744C;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* --- 電話とボタンの並び（アクションエリア） --- */
/* --- お問い合わせアクションエリア全体の修正 --- */
.contact-action-area {
    background: #fff;
    padding: 60px 20px;
    border-radius: 40px;
    box-shadow: 0 10px 40px rgba(91, 116, 76, 0.05);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    /* 中央寄せ */
}

/* 電話番号のリンク色をロゴの緑に固定 */
.tel-number a {
    font-size: 3.2rem;
    color: #5B744C !important;
    /* 青色にならないよう強制 */
    text-decoration: none !important;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s ease;
}

.tel-number a:hover {
    transform: scale(1.05);
}

/* 電話受付時間のコンテナ */
.tel-time-container {
    margin: 20px 0 40px;
    /* 上下に余白を作ってボタンと離す */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* 「電話受付」バッジ */
.tel-time-badge {
    background-color: #5B744C;
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 16px;
    border-radius: 50px;
    font-weight: bold;
}

/* 受付時間の文字 */
.tel-note {
    color: #5B744C !important;
    font-size: 1.1rem !important;
    /* 少し大きく強調 */
    font-weight: bold;
    margin: 0;
}

/* メールフォームはこちらボタン */
.btn-mail-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #B2C2A2;
    /* ロゴの若葉色 */
    color: #fff !important;
    padding: 20px 60px;
    border-radius: 100px;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(178, 194, 162, 0.3);
    cursor: pointer;
    border: none;
}

.btn-mail-open:hover {
    background-color: #5B744C;
    /* ホバーで濃い緑に */
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(91, 116, 76, 0.2);
}

/* スマホ対応の調整 */
@media (max-width: 768px) {
    .contact-action-area {
        padding: 40px 20px;
        border-radius: 30px;
    }

    .tel-side {
        border-right: none;
        border-bottom: 1px solid #f0eee9;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .tel-number a {
        font-size: 2rem;
    }

    .contact-card {
        padding: 40px 20px;
    }
}

