/* ==========================================================
   はじめてクルーズ - style.css
   50代〜シニア層向け：文字は大きめ・行間広め・落ち着いた配色
   ========================================================== */

:root{
  /* ベースカラー */
  --color-ivory: #FAF7F2;
  --color-greige: #E9E3DA;
  --color-rose: #E7CCD3;
  --color-blue-gray: #5D6D7E;
  --color-navy: #27374D;

  /* アクセントカラー */
  --color-gold: #C9A86A;
  --color-sage: #A9B8A3;
  --color-coral: #F08A5D;
  --color-incruises: #FF8A00;

  --color-white: #FFFFFF;
  --color-text: var(--color-navy);

  --font-serif: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
  --font-sans: "Noto Sans JP", "游ゴシック", "Yu Gothic", system-ui, -apple-system, sans-serif;

  --max-width: 1120px;
  --radius-s: 6px;
  --radius-m: 10px;
  --shadow-card: 0 6px 24px rgba(39, 55, 77, 0.08);
}

*, *::before, *::after{ box-sizing: border-box; }

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  background: #fefcfa;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3{
  font-family: var(--font-serif);
  color: var(--color-navy);
  line-height: 1.5;
  margin: 0 0 0.6em;
  font-weight: 600;
}

h1{ font-size: clamp(34px, 5.2vw, 56px); }
h2{ font-size: clamp(27px, 3.6vw, 38px); text-align: center; }
h3{ font-size: clamp(22px, 2.6vw, 28px); }

p{ margin: 0 0 1em; }

a{ color: inherit; }

img{ max-width: 100%; display: block; }

ul{ list-style: none; margin: 0; padding: 0; }

.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.pc-only{ display: inline; }

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-navy);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
}
.skip-link:focus{ left: 8px; top: 8px; }

/* ---------- ボタン共通 ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 32px;
  border-radius: var(--radius-s);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn:focus-visible{ outline: 3px solid var(--color-gold); outline-offset: 3px; }

/* メインボタン：通常＝ブルーグレー／ホバー＝シャンパンゴールド */
.btn-primary{
  background: var(--color-blue-gray);
  color: #fff;
  box-shadow: 0 8px 20px rgba(93, 109, 126, 0.3);
}
.btn-primary:hover{ background: var(--color-gold); color: var(--color-navy); }

.btn-block{ width: 100%; }

/* サブボタン：通常＝白地にネイビー枠／ホバー＝くすみローズ */
.btn-outline{
  background: #fff;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn-outline:hover{ background: var(--color-rose); color: var(--color-navy); }

.btn-incruises{
  background: var(--color-incruises);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 138, 0, 0.28);
}
.btn-incruises:hover{ background: #e67a00; }

.btn-line{
  background: var(--color-coral);
  color: #fff;
  font-size: 20px;
  padding: 18px 40px;
  box-shadow: 0 10px 26px rgba(240, 138, 93, 0.35);
}
.btn-line:hover{ background: #e0794c; }

/* ---------- セクション共通 ---------- */
.section{ padding: 88px 0; }

/* 背景色はセクションごとに明示的に指定する（縞模様の自動判定は使わない） */
.section-cards{ background: var(--color-greige); }
.section-total-cost{ background: var(--color-greige); }
.section-destinations{ background: var(--color-greige); }

.eyebrow{
  text-align: center;
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 15px;
  margin-bottom: 12px;
}

.section-lead{
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  color: var(--color-blue-gray);
  font-size: 18px;
}

.section-cta{
  text-align: center;
  margin-top: 44px;
}

/* ---------- ファーストビュー（完成デザイン画像をそのまま表示） ---------- */
.hero{
  line-height: 0;
}

.hero-image{
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- ヒーロー下：左縦メニュー＋右メインコンテンツ ---------- */
/* ヒーロー直下の横並びナビバー */
.top-nav-bar{
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 24px;
  background: #fff;
  border-bottom: 1px solid var(--color-greige);
}
.top-nav-bar a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  text-decoration: none;
  color: var(--color-navy);
  font-size: 18px;
  font-weight: 500;
  border-radius: var(--radius-s);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.top-nav-bar a:hover{ background: var(--color-greige); }
.top-nav-bar a.is-active{
  background: var(--color-greige);
  color: var(--color-navy);
  font-weight: 700;
}

/* inCruisesガイド：他項目と少しだけ区別（強いCTAにはしない） */
.top-nav-bar__incruises{
  position: relative;
  margin-left: 14px;
  background: var(--color-ivory);
  border: 1px solid var(--color-gold);
}
.top-nav-bar__incruises::before{
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--color-greige);
}
.top-nav-bar__incruises:hover{ background: var(--color-white); }
.top-nav-bar__incruises.is-active{
  background: var(--color-greige);
  border-color: var(--color-gold);
}

/* ナビ対象セクション：固定ナビに見出しが隠れないための余白 */
#ship-category,
#room-selection,
#travel-total,
#booking-method,
#short-cruise-examples,
#incruises-intro{
  scroll-margin-top: 84px;
}

/* ---------- カードグリッド（4つの導線） ---------- */
.grid-4{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.info-card{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: var(--radius-m);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(39, 55, 77, 0.14);
}

/* 画像Aの色分け構成を、画像Bのトーンに合わせて上品な淡色で再現 */
.info-card--blue{ background: #EEF4F8; }
.info-card--green{ background: #EEF3EE; }
.info-card--orange{ background: #F8F0E9; }
.info-card--purple{ background: #F2EEF6; }

.info-card--blue h3{ color: #2F5D8A; }
.info-card--green h3{ color: #486A57; }
.info-card--orange h3{ color: #B55F32; }
.info-card--purple h3{ color: #64527A; }

.info-card-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.65);
}
.info-card-icon svg{ width: 30px; height: 30px; }

.info-card-icon--blue{ color: #2F5D8A; }
.info-card-icon--green{ color: #486A57; }
.info-card-icon--orange{ color: #B55F32; }
.info-card-icon--purple{ color: #64527A; }

.info-card p{ color: var(--color-blue-gray); font-size: 16px; flex-grow: 1; }

.info-card .btn{ margin-top: 12px; }

/* 4大カードのボタン：カードごとの色味、ホバーは共通でシャンパンゴールド */
.btn-card-blue{ background: #4F78A8; color: #fff; }
.btn-card-green{ background: #6F8F7B; color: #fff; }
.btn-card-orange{ background: #D77A4A; color: #fff; }
.btn-card-purple{ background: #7B6496; color: #fff; }

.btn-card-blue:hover,
.btn-card-green:hover,
.btn-card-orange:hover,
.btn-card-purple:hover{
  background: var(--color-gold);
  color: var(--color-navy);
}

/* ---------- もっと詳しく知りたい方へ（5小カード） ---------- */
.section-more{ background: #fff; }

.more-heading{ margin-bottom: 40px; }

.mini-card-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.mini-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius-m);
  padding: 24px 18px 26px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mini-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(39, 55, 77, 0.14);
}

.mini-card-media{
  width: 100%;
  height: 96px;
  border-radius: var(--radius-s);
  overflow: hidden;
}
.mini-card-media-room{ background: linear-gradient(135deg, #E9DFE0, #A6949A); }
.mini-card-media-beach{ background: linear-gradient(135deg, #BFE0E0, #4E93A0); }
.mini-card-media-line{ background: linear-gradient(135deg, #C9A86A, #27374D); }

.mini-card-media-logo{
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF4E8;
}
.incruises-logo-mini{
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-incruises);
}
.incruises-logo-mini b{ font-weight: 700; }

.mini-card-media-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  background: var(--color-ivory);
  color: var(--color-blue-gray);
}
.mini-card-media-icon svg{ width: 28px; height: 28px; }

.mini-card-title{
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 17px;
  color: var(--color-navy);
}

.mini-card-desc{
  display: block;
  font-size: 14px;
  color: var(--color-blue-gray);
  margin-top: 6px;
  line-height: 1.6;
}

.mini-card-arrow{
  color: var(--color-gold);
  font-weight: 700;
  font-size: 18px;
}

/* ---------- フロー図（予算〜行けるクルーズを探す） ---------- */
.flow-list{
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}

.flow-step{
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 40px;
}

.flow-step::before{
  content: "";
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: var(--color-gold);
  opacity: 0.5;
}
.flow-step:last-child::before{ display: none; }

.flow-num{
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  z-index: 1;
}

.flow-step-final .flow-num{ background: var(--color-coral); }

.flow-text h3{ margin-bottom: 6px; }
.flow-text p{ color: var(--color-blue-gray); margin: 0; font-size: 16px; }

/* ---------- 本当の旅行総額 ---------- */
.cost-card{
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  padding: 40px 36px;
}

.cost-list li{
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 18px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--color-greige);
}
.cost-list li:first-child{ font-weight: 700; font-size: 20px; border-bottom: 1px dashed var(--color-greige); }

.cost-op{
  color: var(--color-gold);
  font-weight: 700;
  width: 1.2em;
}

.cost-total{
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 3px solid var(--color-navy);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-navy);
}
.cost-total .cost-op{ color: var(--color-navy); }

.cost-note{
  text-align: center;
  color: var(--color-blue-gray);
  font-size: 15px;
  max-width: 560px;
  margin: 24px auto 0;
}

/* ---------- 予約方法比較 ---------- */
.grid-5{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.booking-card{
  background: #fff;
  border: 1px solid var(--color-greige);
  border-radius: var(--radius-m);
  padding: 26px 20px;
  text-align: center;
}
.booking-card h3{ font-size: 19px; margin-bottom: 10px; }
.booking-card p{ font-size: 15px; color: var(--color-blue-gray); margin: 0; }

/* ---------- 世界のクルーズ ---------- */
.region-card{
  background: #fff;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}
.region-card:hover{ transform: translateY(-4px); }

.region-photo{
  height: 160px;
  background: linear-gradient(135deg, var(--color-blue-gray), var(--color-navy));
}
.region-photo-1{ background: linear-gradient(135deg, #A9B8A3, #5D6D7E); }
.region-photo-2{ background: linear-gradient(135deg, #6E93B4, #27374D); }
.region-photo-3{ background: linear-gradient(135deg, #9FC0D8, #5D6D7E); }
.region-photo-4{ background: linear-gradient(135deg, #C9D6DD, #5D6D7E); }
.region-photo-5{ background: linear-gradient(135deg, #7FB3C7, #27374D); }
.region-photo-6{ background: linear-gradient(135deg, #C9A86A, #5D6D7E); }
.region-photo-7{ background: linear-gradient(135deg, #E7CCD3, #5D6D7E); }
.region-photo-8{ background: linear-gradient(135deg, #27374D, #C9A86A); }

.region-card h3{ font-size: 19px; margin: 20px 20px 6px; }
.region-card p{ font-size: 15px; color: var(--color-blue-gray); margin: 0 20px 22px; }

/* ---------- inCruises ---------- */
.section-incruises{ background: #fff; }

.incruises-box{
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(255,138,0,0.25);
  border-radius: var(--radius-m);
  padding: 48px 36px;
  box-shadow: var(--shadow-card);
}

.eyebrow-incruises{ color: var(--color-incruises); }

.incruises-partner-note{
  font-size: 14px;
  color: var(--color-blue-gray);
  margin-bottom: 28px;
}

/* ---------- 無料相談 ---------- */
.section-consult{
  background: var(--color-navy);
  color: #fff;
  text-align: center;
}
.section-consult h2{ color: #fff; }
.section-consult .section-lead{ color: #DCE3EA; }

/* ---------- フッター ---------- */
.site-footer{
  background: var(--color-navy);
  color: #E9E3DA;
  padding: 56px 0 32px;
}

.footer-inner{ text-align: center; }

.footer-logo{
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.footer-tagline{ font-size: 14px; color: #B9C2CC; margin-bottom: 32px; }

.footer-nav ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-bottom: 28px;
}
.footer-nav a{
  text-decoration: none;
  color: #E9E3DA;
  font-size: 15px;
}
.footer-nav a:hover{ color: var(--color-gold); }

.footer-incruises-note{
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 13px;
  line-height: 1.8;
  color: #9AA6B1;
}

.footer-copyright{
  font-size: 13px;
  color: #8A96A2;
  margin: 0;
}

/* ==========================================================
   ②〜⑧ 共通コンポーネント（HajimeteCruise_02-08_Common_Spec_FINAL.md 準拠）
   ========================================================== */

/* セクション見出し（H2）：全セクション共通。番号は表示しない */
.content-section-title{
  font-size: 42px; /* PC 40〜44px */
  margin: 0 0 14px;
}

/* タイトル下：細いシャンパンゴールドのライン＋中央に極小の菱形 */
.content-section-divider{
  position: relative;
  display: block;
  width: 64px;
  height: 2px;
  background: var(--color-gold);
  margin: 0 auto 28px;
}
.content-section-divider::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* 導入文 */
.content-section-intro{
  max-width: 1080px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--color-navy);
  font-size: 20.5px; /* PC 20〜21px */
  line-height: 1.85;
}
.content-section-intro p{ margin: 0 0 0.9em; }
.content-section-intro p:last-child{ margin-bottom: 0; }

/* ---------- ②船のカテゴリー（完成版パッケージ組み込み） ---------- */
/* 出典: 船のカテゴリー_完成版.pptx / 付属index.html・styles.css。固定行高グリッドで3カードの各項目を横一線に揃える設計を踏襲 */
.ship-category-section .container{
  max-width: 1364px;
}

.category-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.category-card{
  --category-accent: #1049a8;
  --category-soft: #f4f7ff;
  display: grid;
  /* 完成版パッケージ指定の固定行高。3カードとも同じ行構成のため各項目が横一線に揃う */
  grid-template-rows:
    216px  /* 完成画像：カテゴリー帯＋船＋背景（無加工） */
    48px   /* 船名 */
    40px   /* 良いところ 見出し */
    166px  /* 良いところ 本文 */
    40px   /* 知っておきたいこと 見出し */
    148px  /* 知っておきたいこと 本文 */
    40px   /* 向いている人 見出し */
    84px   /* 向いている人 本文 */
    74px;  /* 乗船人数／期間／価格 帯 */
  min-width: 0;
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(39, 55, 77, 0.12);
}
.category-card--casual{ --category-accent: #1049a8; --category-soft: #f4f7ff; }
.category-card--premium{ --category-accent: #2f6d25; --category-soft: #f3f8ef; }
.category-card--luxury{ --category-accent: #67116e; --category-soft: #fbf2fc; }

.category-visual{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill; /* 完成画像（帯＋船＋背景）を無加工のまま表示。切り抜きは行わない */
}

.category-ship-name{
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.category-card--premium .category-ship-name{ color: #1f4f1d; }
.category-card--luxury .category-ship-name{ color: #57115d; }

.content-block{ display: contents; }
.content-block h4{
  margin: 0;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--category-accent);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}
.content-block .mark{
  width: 28px;
  flex: 0 0 28px;
  text-align: center;
}
.content-block ul{
  margin: 0;
  padding: 2px 20px 0 42px;
  font-family: var(--font-sans);
  font-size: 13.4px;
  line-height: 1.5;
  color: var(--color-blue-gray);
  overflow: hidden;
}
.content-block li{ margin: 0 0 2px; }
.fit-block p{
  margin: 0;
  padding: 2px 22px 0 42px;
  font-family: var(--font-sans);
  font-size: 13.4px;
  line-height: 1.55;
  color: var(--color-blue-gray);
  overflow: hidden;
}

.category-stats{
  display: grid;
  grid-template-columns: 1fr 1fr 1.12fr;
  background: var(--category-soft);
  border-top: 1px solid #dfdfdf;
}
.category-stats > div{
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 4px 6px;
  border-right: 1px solid #d6d6d6;
  color: var(--category-accent);
}
.category-stats > div:last-child{ border-right: 0; }
.category-stats strong{
  font-family: var(--font-sans);
  font-size: 13.4px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.category-stats span{
  font-family: var(--font-sans);
  color: var(--color-navy);
  font-size: 15px;
  line-height: 1.1;
  font-weight: 700;
  white-space: nowrap;
}
.category-card--premium .category-stats span{ color: #2f5f29; }
.category-card--luxury .category-stats span{ color: #59115f; }

.category-summary{
  max-width: 860px;
  margin: 56px auto 0;
  text-align: center;
  background: var(--color-greige);
  border: 1px solid #DCD4C6;
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-m);
  padding: 40px 44px;
}
.category-summary h3{
  font-size: 26px;
  margin: 0 0 16px;
}
.category-summary p{
  font-size: 18.5px;
  color: var(--color-blue-gray);
  line-height: 1.85;
}

/* 料金注記など、控えめな補足テキスト */
.content-section-note{
  max-width: 860px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 16px; /* 注記 16〜17px */
  color: var(--color-blue-gray);
  line-height: 1.7;
}

/* ---------- ②船のカテゴリー（完成デザイン画像をそのまま表示） ---------- */
.section-image-block{
  padding-top: 36px; /* ナビバーとの間隔を詰める */
}

.section-full-image{
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- フェードインアニメーション ---------- */
.fade-in{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.is-visible{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .fade-in{ opacity: 1; transform: none; transition: none; }
  html{ scroll-behavior: auto; }
}

/* ==========================================================
   レスポンシブ（タブレット）
   ========================================================== */
@media (max-width: 1024px){
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .grid-5{ grid-template-columns: repeat(2, 1fr); }
  .mini-card-grid{ grid-template-columns: repeat(3, 1fr); }

  /* ナビバー：iPad幅では折り返さず横スクロールで収める */
  .top-nav-bar{
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 8px 20px;
  }
  .top-nav-bar a{
    padding: 10px 16px;
    white-space: nowrap;
    font-size: 17px;
  }
}

/* ==========================================================
   レスポンシブ（スマートフォン）
   ========================================================== */
@media (max-width: 860px){
  .pc-only{ display: none; }

  body{ font-size: 17px; }

  .section{ padding: 64px 0; }

  /* ファーストビュー：写真を上下2段に積み替える */
  .hero{
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
    max-height: none;
  }
  .hero-main-photo{ min-height: 380px; }
  .hero-title-block{ top: 24px; left: 6%; }
  .hero-side-photos{
    grid-template-rows: none;
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-side-photo{ min-height: 130px; }
  .hero-side-photo span{ font-size: 13px; padding: 10px 8px; }

  /* ナビバー：ボタンが増えても横スクロールで収める */
  .top-nav-bar{
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 8px 16px;
  }
  .top-nav-bar a{
    padding: 10px 14px;
    white-space: nowrap;
    font-size: 16px;
  }

  .grid-4, .grid-5{ grid-template-columns: 1fr; }

  .mini-card-grid{ grid-template-columns: 1fr; }
  .mini-card{ flex-direction: row; text-align: left; padding: 16px; }
  .mini-card-media{ width: 64px; height: 64px; flex-shrink: 0; }
  .mini-card-media-icon{ width: 52px; height: 52px; flex-shrink: 0; }
  .mini-card-text{ flex-grow: 1; }
  .mini-card-arrow{ flex-shrink: 0; }
  .incruises-logo-mini{ font-size: 12px; letter-spacing: -0.02em; }

  .cost-card{ padding: 32px 24px; }

  .btn-line{ width: 100%; }

  /* ②〜⑧ 共通コンポーネント：スマホ文字サイズ */
  .content-section-title{ font-size: 30px; } /* スマホ 28〜32px */
  .content-section-intro{ font-size: 18.5px; } /* スマホ 18〜19px */

  /* 完成版パッケージの指定：スマホでも3カードの完成デザインを維持し、1カラム化はしない（横スクロール） */
  .category-grid{
    grid-template-columns: repeat(3, 430px);
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }
  .category-card{ scroll-snap-align: start; }
  .category-summary{ padding: 30px 26px; }
  .category-summary h3{ font-size: 22px; }
  .category-summary p{ font-size: 17px; }
}

/* スワイプ位置ドット（スマホ専用コンポーネント）：PCでは非表示 */
.sp-dots{ display:none; }

/* セクション見出しの接続語：PC版ではボックスを作らず、
   タグで囲む前とまったく同じ組版になるようにする */
.sp-hide{ display: contents; }

/* スマホ用の追従CTA（スマホ専用コンポーネント）：PCでは非表示 */
.sp-sticky-cta{ display:none; }

/* ==========================================================
   スマートフォン基礎UI（2026-08-28 追加）
   ・スマホ専用（max-width:768px）。PC版のデザイン／レイアウトには影響しない
   ・対象は「全体の基礎表示」「TOPヒーロー」「横スクロールナビ」のみ
   ・各セクションの中身（カード構成・情報量）は次工程で個別に調整する
   ========================================================== */
@media (max-width: 768px){

  /* ---- 1. 全体の基礎設定 ---- */
  body{
    font-size: 17px;                  /* シニア配慮：本文は17px未満にしない */
    -webkit-text-size-adjust: 100%;   /* 端末側の文字自動縮小・自動拡大を無効化 */
    text-size-adjust: 100%;
  }

  /* ---- 2. TOPヒーロー：正式画像 images/hero-official.jpg をそのまま使用 ---- */
  /*        差し替え・トリミング変更・再デザインは行わず、幅のみ画面に追従させる */
  .hero{ width: 100%; }
  .hero-image{
    width: 100%;
    max-width: 100%;
    height: auto;          /* 縦横比を維持 */
  }

  /* ---- 3. ヒーロー直下の横ナビ：横スワイプ式（ハンバーガー化しない） ---- */
  .top-nav-bar{
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    min-height: 72px;
    padding: 8px 14px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;  /* iOSの慣性スクロール */
    overscroll-behavior-x: contain;     /* ページ側へのスクロール波及を防ぐ */
    scroll-padding-inline: 14px;
    scrollbar-width: thin;
  }
  .top-nav-bar::-webkit-scrollbar{ height: 4px; }
  .top-nav-bar::-webkit-scrollbar-track{ background: transparent; }
  .top-nav-bar::-webkit-scrollbar-thumb{
    background: var(--color-greige);
    border-radius: 2px;
  }

  .top-nav-bar a{
    flex: 0 0 auto;        /* 縮ませない＝文字が詰まらない */
    white-space: nowrap;   /* 1行表示を維持（不自然な2行折返しを防ぐ） */
    font-size: 17px;       /* シニア配慮：16px→17px */
    min-height: 48px;      /* 指で押しやすい高さ */
    padding: 11px 16px;
  }

  /* 最後の項目が画面端に張り付かないようにする（スクロール終端の余白） */
  .top-nav-bar a:last-child{ margin-right: 10px; }

  /* inCruisesガイド：現状の「少しだけ認識しやすい」役割をそのまま維持 */
  .top-nav-bar__incruises{ margin-left: 12px; }

  /* ---- 5. セクション見出しの接続語：スマホでは省略 ----
       （HTMLからは削除せず、PC版では従来どおり表示される） */
  .sp-hide{ display: none; }

  /* ---- 6. 予約方法比較を読み終えたあとに現れる追従CTA ---- */
  .sp-sticky-cta{
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 8px 12px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #e6dcc6;
    box-shadow: 0 -2px 8px rgba(40, 35, 30, 0.07);
    transform: translateY(130%);
    transition: transform 0.28s ease;
  }
  .sp-sticky-cta.is-shown{ transform: translateY(0); }
  .sp-sticky-cta a{
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 7px 12px;
    border: 1px solid #ddc79a;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
  }
  .sp-sticky-cta img{ width: 62px; height: auto; display: block; flex: 0 0 auto; }
  .sp-sticky-cta strong{
    flex: 1 1 auto;
    color: #c4693c;
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
  }
  .sp-sticky-cta .arrow{ flex: 0 0 auto; color: #c4693c; font-size: 26px; line-height: 1; }
  /* 追従CTAが出ている間だけ、最後のセクションの下に余白を足す */
  body.has-sp-cta #incruises-intro{ padding-bottom: 104px; }

  /* ---- 7. 横スワイプの位置表示（● ○ ○）：非常に控えめに ---- */
  .sp-dots{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0;
    flex: 0 0 auto;
  }
  .sp-dots span{
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cfd8e3;
  }
  .sp-dots span.is-current{ background: var(--color-blue-gray); }

}

/* ============================================================
   2026-09-05 追加：ヒーロー直下の横ナビで「inCruisesガイド」を右端に固定する。
   スマートフォン（768px以下）は横スワイプ式のため、いちばん右にあるこの項目が
   画面外へ流れてしまう。position:sticky で右端に留め、他の項目はその下を流れる。
   PC版は横スクロールしないため対象外（レイアウトは従来どおり）。
   HTMLの構造・文言・大きさ・色は変更していない。
   ============================================================ */
@media (max-width: 768px){
  .top-nav-bar{ position: sticky; top: 0; }
  .top-nav-bar__incruises{
    position: sticky;
    right: 0;
    z-index: 2;
    /* 下を流れる項目が透けないよう、左右に白い余白を作る */
    box-shadow: -14px 0 0 0 #fff, 20px 0 0 0 #fff;
  }
  /* 固定中は左の区切り線が浮いて見えるため、影で境目を表現する */
  .top-nav-bar__incruises::before{ display: none; }
  /* 最後の項目の右余白は、固定表示では不要 */
  .top-nav-bar a:last-child{ margin-right: 0; }
}

/* =========================================================
   2026-09-06 追加：画面に表示しない見出し（.a11y-h1）
   トップの主見出しは写真の中に描かれていて文字として存在しないため、
   検索エンジンと読み上げソフト向けに同じ内容の h1 をテキストで置く。
   display:none だと読み上げソフトからも消えてしまうので、
   1px の見えない領域に押し出す標準的な書き方を使う。
   見た目には一切影響しない。
   ========================================================= */
.a11y-h1{
  position:absolute !important;
  width:1px; height:1px;
  margin:-1px; padding:0; border:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  white-space:nowrap;
}

/* 2026-09-06：TOPページのフッターには運営者プロフィールを置かない方針にしたため、
   .oper 系の定義はここから削除した（専用ページ側の incruises-outro.css にのみ残っている）。 */
