/* =========================
   ベース
========================= */
body {
    margin: 0;
    font-family: "Hiragino Sans", sans-serif;
    background: #f7f7f7;
    color: #333;

    padding-top: 70px;
}

h1, h2, h3, h4 {
    margin: 0 0 10px;
}

section {
    box-sizing: border-box;
}

/* =========================
   共通ヘッダー（固定表示）
========================= */
.header {
    background: #2f5d3a;
    color: white;
    padding: 15px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}

/* 左側：ロゴ＋SNS */
.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0; /* つぶれ防止 */
}

/* 右側：nav + ハンバーガー */
.nav-area {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0; /* つぶれ防止 */
}

nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
}

nav a:hover {
    text-decoration: underline;
}

.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* SNSアイコン */
.sns-icon img,
.sns-footer img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* =========================
   共通フッター
========================= */
footer {
    background: #2f5d3a;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 0.85rem;
}

/* =========================
   セクションタイトル（淡色背景）
========================= */
.page-header {
    background: #eef5ef;
    padding: 35px 20px;
    text-align: center;
    border-bottom: 1px solid #d8e4d8;
}

.page-header h2 {
    margin: 0;
    font-size: 1.6rem;
    color: #2f5d3a;
}

/* =========================
   トップ：ヒーロー
========================= */
.hero {
    position: relative;
    width: 100%;
    height: 55vh;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.45);
    padding: 20px 30px;
    border-radius: 10px;
    color: white;
    text-align: center;
    z-index: 2;
}

/* =========================
   トップ：選ばれる理由（影付きカード）
========================= */
.reasons {
    padding: 40px 20px;
    text-align: center;
}

.reasons h2 {
    font-size: 1.6rem;
}

.reason-box {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.reason {
    background: white;
    padding: 20px;
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    text-align: center;
}

.reason img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

/* =========================
   ▼ 影付きカード（共通化）
========================= */
.card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    text-align: center;
}

.card img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 10px;
}

/* =========================
   トップ：矢羽根リンク
========================= */
.arrow-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 30px 20px;
}

.arrow-box {
    background: #2f5d3a;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    padding-right: 40px;
}

.arrow-box::after {
    content: "▶";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* =========================
   トップ：CTAボタン
========================= */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 30px 20px 40px;
}

.cta-btn {
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    font-size: 1rem;
}

.cta-btn.reserve {
    background: #2f5d3a;
}

.cta-btn.tel {
    background: #6bb7c5;
}

/* =========================
   トップ：予約状況カレンダー
========================= */
.calendar-section {
    padding: 40px 20px;
    text-align: center;
    background: #ffffff;
}

.calendar-table {
    margin: 20px auto;
    border-collapse: collapse;
    width: 90%;
    max-width: 800px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.calendar-table td {
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 0.9rem;
}

/* ▼ 月切り替えUI ▼ */
.month-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.month-switcher button {
    background: #2f5d3a;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
}

.month-switcher button:hover {
    opacity: 0.85;
}

#current-month-label {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2f5d3a;
}

/* ▼ 1か月カレンダー（独自） ▼ */
.month-calendar {
    width: 95%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.month-calendar th,
.month-calendar td {
    border: 1px solid #ddd;
    text-align: center;
    padding: 0;
}

.month-calendar th {
    background: #eef5ef;
    padding: 10px;
    font-weight: bold;
    color: #2f5d3a;
}

.label-col {
    width: 90px;
    background: #f5f5f5;
    font-weight: bold;
}

/* ▼ 日付セル（縦3分割） ▼ */
.day-cell {
    height: 70px;
    display: flex;
    flex-direction: column;
}

.day-cell div {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
}

.day-cell div:last-child {
    border-bottom: none;
}

/* ▼ スマホ最適化 ▼ */
@media screen and (max-width: 768px) {

    .calendar-section {
        overflow-x: auto;
        padding-bottom: 20px;
    }

    .month-calendar {
        min-width: 700px; /* 横スクロール */
    }

    .day-cell {
        height: 55px;
    }

    .day-cell div {
        font-size: 0.8rem;
    }

    .label-col {
        width: 70px;
        font-size: 0.8rem;
    }
}



/* =========================
   アクセス
========================= */
.access {
    padding: 40px 20px 60px;
    background: #ffffff;
    text-align: center;
}

.map-embed {
    max-width: 800px;
    margin: 25px auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* =========================
   お知らせ
========================= */
.news {
    padding: 40px 20px 60px;
    background: #ffffff;
}

.news ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.news li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

/* =========================
   施設紹介：サイト案内（影付きカード）
========================= */
.site-vertical {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 25px;
}

.site-item.card img {
    max-height: 520px;
}

/* =========================
   施設紹介：設備案内（影付きカード）
========================= */
.equipment-section {
    padding: 40px 20px 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.equipment-item.card img {
    max-height: 220px;
}

/* =========================
   施設紹介：近くのスポット（影付きカード）
========================= */
.spot-section {
    padding: 40px 20px 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.spot-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.spot-card {
    width: 280px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.spot-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

/* =========================
   料金ページ：表デザイン
========================= */
.price-section {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    table-layout: fixed;
}

.price-table th,
.price-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
}

.price-table th:first-child,
.price-table td:first-child {
    width: 30%;
}

.price-table th {
    background: #f0f5f0;
    text-align: left;
    font-weight: bold;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #555;
}

/* =========================
   料金シミュレーション（影付きカード）
========================= */
.simulation-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

.simulation-card {
    width: 100%;
    max-width: 600px;
    min-height: 150px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* =========================
   FAQ・規約ページ
========================= */
.faq-section,
.privacy-policy-section,
.rules-section {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 25px;
}

.rules-box,
.privacy-policy-box {
    padding: 20px;
}

.rules-scroll,
.privacy-policy-scroll {
    max-height: 300px;
    overflow-y: auto;
    text-align: left;
    padding-right: 10px;
    line-height: 1.6;
}

/* =========================
   スマホ対応
========================= */
@media screen and (max-width: 768px) {

    nav {
        display: none;
        position: absolute;
        top: 55px;
        right: 0;
        background: #2f5d3a;
        flex-direction: column;
        width: 70%;
        padding: 10px 15px;
    }

    .hamburger {
        display: block;
    }

    .reason {
        width: 90%;
        max-width: 350px;
    }

    .reason img {
        width: 120px;
        height: 120px;
    }

    .spot-card {
        width: 100%;
        min-height: auto;
    }

    .spot-card img {
        height: 200px;
    }

    .simulation-card {
        width: 100%;
    }

    .map-embed iframe {
        height: 260px;
    }

    .price-table,
    .price-table tr,
    .price-table th,
    .price-table td {
        display: block;
        width: 100%;
    }

    .price-table th:first-child,
    .price-table td:first-child {
        width: 100%;
    }

    .price-table th {
        border-bottom: none;
    }

    .simulation-card {
        max-width: 100%;
        border-radius: 10px;
    }
}
