/* ==========================================================================
   AMAMI NATURE CLUB - 高級感のある洗練された別室デザイン（前半）
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
}

body {
    background: linear-gradient(135deg, #0b0f19 0%, #111827 100%);
    color: #f1f3f5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 380px;
    padding: 28px 24px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* ロゴエリア */
.brand-header {
    text-align: center;
    margin-top: 15px;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}
.brand-header:active {
    transform: scale(0.98);
    opacity: 0.8;
}
.brand-logo {
    font-size: 26px;
    font-weight: 200;
    letter-spacing: 0.18em;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 10px;
    margin-bottom: 8px;
}
.brand-sub {
    font-size: 10px;
    letter-spacing: 0.12em;
    color: #64748b;
    text-transform: uppercase;
}

/* 5つのガラス風ボタン */
.main-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: auto 0;
}
.nav-btn {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    cursor: pointer;
}
.nav-btn:active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transform: scale(0.98);
}

.brand-footer {
    font-size: 10px;
    letter-spacing: 0.08em;
    color: #334155;
    margin-bottom: 5px;
}
/* ==========================================================================
   AMAMI NATURE CLUB - 高級感のある洗練された別室デザイン（後半）
   ========================================================================== */

/* 飛び出すモーダルの設定 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 7, 15, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    padding: 20px;
    backdrop-filter: blur(5px);
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-card {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    width: 100%;
    max-width: 340px;
    padding: 26px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-card {
    transform: translateY(0);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
    margin-bottom: 18px;
}
.modal-header h2 {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: #ffffff;
}
.close-x {
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
}
.profile-item {
    margin-bottom: 16px;
}
.profile-item .label {
    display: block;
    font-size: 10px;
    color: #38bdf8;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.profile-item .name {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
}
.profile-item .en {
    font-size: 12px;
    font-weight: 300;
    color: #94a3b8;
    margin-left: 6px;
}
.profile-item .text {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.6;
}
.modal-close-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background-color: #ffffff;
    color: #0f172a;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
.modal-close-btn:active {
    background-color: #e2e8f0;
    transform: scale(0.98);
}
/* ==========================================================================
   NATURE GALLERY 追加スタイル (スマホ縦スクロール・2列グリッド設計)
   ========================================================================== */

/* 写真を並べるスクロールエリア：上下のヘッダーとボタンに挟まれた空間 */
.gallery-scroll-area {
    width: 100%;
    flex: 1;
    overflow-y: auto; /* ここだけ縦にスルする動く */
    margin: 15px 0;
    padding-right: 4px; /* スクロールバー用の余裕 */
}

/* スクロールバーの見た目をスタイリッシュに消す（または細くする） */
.gallery-scroll-area::-webkit-scrollbar {
    width: 4px;
}
.gallery-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

/* 2列で写真をカチッと並べる設定 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 1:1の均等2列 */
    gap: 12px; /* 写真同士のすき間 */
    padding-bottom: 10px;
}

/* 写真を包むカード（ここもほんのりガラス風） */
.photo-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 画像そのものの設定（横幅いっぱいに広げて綺麗にフィット） */
.photo-card img {
    width: 100%;
    height: 110px; /* スマホ画面でちょうどいい高さ */
    object-fit: cover; /* 縦横比を崩さずトリミング */
    display: block;
}

/* 写真の下につく、おしゃれな文字 */
.photo-caption {
    font-size: 11px;
    color: #cbd5e1;
    padding: 6px 4px;
    text-align: center;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 文字が長すぎたら自動で「...」にするプロの技 */
}

/* 戻るボタンのラッピング（一番下で固定するため） */
.back-home-wrap {
    width: 100%;
    padding-top: 5px;
}
.back-home-btn {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    font-size: 14px;
    padding: 12px;
}
/* ==========================================================================
   TOUR & PRICE 追加スタイル (スマホ縦スクロール・洗練された料金表)
   ========================================================================== */

/* 料金表のスクロールエリア */
.guide-scroll-area {
    width: 100%;
    flex: 1;
    overflow-y: auto; /* ここだけ縦にスルする動く */
    margin: 15px 0;
    padding-right: 4px;
}
.guide-scroll-area::-webkit-scrollbar {
    width: 4px;
}
.guide-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

/* プランを縦に並べる */
.plan-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 10px;
}

/* 料金カード本体（すりガラス＋グラデーションの高級感） */
.price-card, .price-card特注 {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px 16px 16px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Web制作プランだけ特別に少し枠線を輝かせるプロの技 */
.price-card特注 {
    border-color: rgba(56, 189, 248, 0.3);
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.02) 0%, rgba(0, 0, 0, 0) 100%);
}

/* バッジ（人気No.1など） */
.card-badge, .card-badge-tech {
    position: absolute;
    top: -10px;
    left: 16px;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}
.card-badge {
    background-color: #ef4444; /* 情熱の赤 */
    color: #ffffff;
}
.card-badge-tech {
    background-color: #38bdf8; /* シアンブルー */
    color: #0f172a;
}

/* プラン名 */
.plan-name {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 6px;
}

/* 価格 */
.plan-price {
    font-size: 20px;
    font-weight: bold;
    color: #38bdf8; /* 数字を際立たせる */
    margin-bottom: 8px;
}
.plan-price .tax {
    font-size: 11px;
    font-weight: normal;
    color: #94a3b8;
}

/* 説明文 */
.plan-desc {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.5;
}
/* 連絡先（お問い合わせカード）の追加スタイル */
.contact-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.2); /* プロっぽい点線の枠線 */
    border-radius: 14px;
    padding: 20px 16px;
    margin-top: 10px;
    text-align: center;
}
.contact-title {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}
.contact-desc {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 16px;
}
/* 1タップで動くリンクボタン */
.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 8px;
    color: #38bdf8;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s;
}
.contact-link:active {
    background: rgba(56, 189, 248, 0.2);
    transform: scale(0.98);
}
.contact-link:last-child {
    margin-bottom: 0;
}
