/* ============================================
   A案（青バージョン）ブラッシュアップ版
   ============================================ */

/* 背景 */
body {
    background: #edf1f6;
    font-family: "Noto Sans JP", "Inter", sans-serif;
    color: #333;
    line-height: 1.8;
}

/* ============================================
   NAVBAR
=============================================== */
.navbar-custom {
    background: rgba(0, 60, 120, 0.25);
    backdrop-filter: blur(14px);
    transition: background 0.35s ease;
    padding-top: 6px;
    padding-bottom: 6px;
}

.navbar-custom.scrolled {
    background: rgba(0, 60, 120, 0.92);
}

/* 言語ボタン */
.lang-btn.active {
    background: #0070c8;
    border-color: #005da6;
    color: #fff;
}

/* ============================================
   HERO（カードと完全一体化）
=============================================== 

/* ============================================
   HERO（高級ホテル系 / カードと完全一体化）
=============================================== */

/* カード本体（画像と一体化） */
.hero-card {
    max-width: 900px;
    margin: 0 auto 45px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

/* HERO背景コンテナ */
.hero-header {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center center;
    border-radius: 22px 22px 0 0;
    overflow: hidden;

    /* 高級サイトの黄金比 */
    aspect-ratio: 16/7;
    min-height: 420px;
}

/* ダークオーバーレイ（上薄く→下濃く） */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.10),
        rgba(0,0,0,0.55) 75%
    );
    z-index: 2;
}

/* タイトル共通（下寄せ配置） */
.hero-title {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    z-index: 5;
    color: #fff;
}

/* 多言語タイトル 共通スタイル */
.hero-title h1 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    padding: 0 20px; /* 長文対応（中国語など） */
    text-shadow: 0 4px 14px rgba(0,0,0,0.55);
}

/* 万一の画像タグ使用にも対応（保険） */
.hero-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px 22px 0 0;
    object-fit: cover;
}



/* ============================================
   PAGE CONTAINER
=============================================== */
.page-container {
    max-width: 880px;
    margin: 40px auto 80px;
    background: #fff;
    padding: 48px 42px;
    border-radius: 22px;
    box-shadow: 0 12px 42px rgba(0, 50, 110, 0.18);
}

/* 見出し（ブランド青バー） */
h2 {
    font-weight: 700;
    font-size: 1.9rem;
    border-left: 6px solid #0078d4;  /* すこし鮮やかに */
    padding-left: 14px;
    margin-top: 42px;
    margin-bottom: 28px;
    color: #1d2735;
}

/* 小見出し */
h4 {
    font-weight: 600;
    margin-top: 26px;
    margin-bottom: 12px;
}

/* テーブル */
table.table {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0,40,90,0.1);
}

table.table th {
    background: #e8f4ff;
    font-weight: 600;
    color: #003a70;
}

.calendar-table td {
    padding-top: 6px;
    height: 60px;
}

/* ===== スマホカレンダー最適化 ===== */
@media (max-width: 576px) {

  /* テーブルを縮めて親幅100%に収める */
  .calendar-table {
      width: 100% !important;
      table-layout: fixed !important;
  }

  /* 見出し (Sun〜Sat) をスマホ最適化 */
  .calendar-table th {
      padding: 4px 0 !important;
      font-size: 0.70rem !important;
      white-space: nowrap;
  }

  /* 日付セル */
  .calendar-table td {
      padding: 6px 0 !important; 
      font-size: 0.85rem !important;
      height: 32px !important;   /* 高さ固定 */
      line-height: 1.1;
  }

  /* 全セルが横幅均等になるように強制 */
  .calendar-table th,
  .calendar-table td {
      width: 14.28% !important;  /* 7列で100%になる */
      max-width: 14.28% !important;
      text-align: center;
  }

}

/* ============================================
   PC の横幅調整
=============================================== */
@media (min-width: 992px) {
    .container {
        max-width: 880px;
    }
}


/* PC：テーブル表示、スマホ：カード表示 */
@media (max-width: 768px) {
    .pricing-table-wrapper { display: none; }
}
@media (min-width: 769px) {
    .pricing-card-wrapper { display: none; }
}

/* ===== スマホ用カード ===== */
.price-card {
    background: #ffffff;
    padding: 20px 22px;
    margin-bottom: 18px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-left: 5px solid #2a73d9;
}

.price-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.price-card p {
    margin: 4px 0;
    font-size: 1rem;
    line-height: 1.5;
}

.price-card strong {
    color: #245db8;
}

/* ===== スマホの左右パディングを縮める ===== */
@media (max-width: 576px) {
.page-container {
    margin: 20px auto 80px;
    padding: 24px 22px;

}

}

/* ===========================
   Language Buttons
=========================== */

.lang-btn {
    border-radius: 14px;
    padding: 4px 12px;
    font-size: 0.85rem;
    margin-left: 4px;
    border: 1px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(4px);
}

/* アクティブ言語 */
.lang-btn.active {
    background: #1f6fb2 !important;
    border-color: #1f6fb2 !important;
    color: #fff !important;
}

/* ホバー */
.lang-btn:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* ===========================
   Mobile
=========================== */

@media (max-width: 576px) {

  .navbar-custom .container-fluid {
      flex-direction: column;
      align-items: flex-start;
      padding-top: 6px;
      padding-bottom: 6px;
  }

  /* 言語ボタンを横に綺麗に並べる */
  .navbar-custom .d-flex {
      margin-top: 2px;
      gap: 3px; /* ボタン間の余白 */
  }

  .lang-btn {
      padding: 2px 10px;
      font-size: 0.5rem;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.8);
  }
}

/* ===========================
   Language Buttons Right Align
=========================== */

/* 右側に押し出す */
.navbar-custom .d-flex {
    margin-left: auto;   /* これだけで右寄せになる */
    gap: 6px;
}

/* PC時（そのままでOK） */
@media (min-width: 577px) {
    .navbar-custom .container-fluid {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* スマホ時（縦並びをやめて右に寄せる） */
@media (max-width: 576px) {

    .navbar-custom .container-fluid {
        flex-direction: row; /* columnにならないよう固定 */
        align-items: center;
    }

    .navbar-custom .d-flex {
        margin-left: auto;   /* 右へ */
        margin-top: 0;
        display: flex;
        flex-wrap: nowrap;
        gap: 4px;
    }

    .lang-btn {
        padding: 4px 10px;
        font-size: 0.5rem;
        border-radius: 6px;
    }
}


/* =========================
   Guide Photo Masonry
========================= */
.guide-photo-masonry {
    column-count: 2;
    column-gap: 1rem;
}

@media (min-width: 768px) {
    .guide-photo-masonry {
        column-count: 3;
    }
}

@media (min-width: 1200px) {
    .guide-photo-masonry {
        column-count: 4;
    }
}

.guide-photo-item {
    break-inside: avoid;
    margin-bottom: 1rem;
}

.guide-photo-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
/* =============================
   Back to Top Button
============================= */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #3b7ddd;           /* トミーガイドの青 */
    color: #fff;
    font-size: 22px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

