:root {
  --ic-design-w: 1661;
  --ic-design-h: 624;

  /* 再調整パレット：内容が主役・控えめな配色（信頼性ページ再調整指示書） */
  --inc-bg: #FBF9F5;
  --inc-surface: #FFFDFC;
  --inc-surface-warm: #F5ECE2;
  --inc-text: #45413D;
  --inc-heading: #443B35;
  --inc-text-soft: #706A64;
  --inc-coral: #C9845B;
  --inc-coral-soft: #D09A72;
  --inc-gold: #C8A461;
  --inc-gold-soft: #DDC9A6;
  --inc-aqua: #6FA7A1;
  --inc-aqua-soft: #EDF5F2;
  --inc-aqua-text: #426F6C;
  --inc-border: #E4D5BC;

  --ic-navy: var(--inc-heading);
  --ic-gold: var(--inc-gold);
  --ic-gold-line: var(--inc-gold-soft);
  --ic-dark: var(--inc-heading);
  --ic-white: #ffffff;
  --ic-serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --ic-sans: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #fff; color: var(--ic-navy); font-family: var(--ic-sans); }

.ic-hero-v8 {
  width: 100%;
  overflow: hidden;
  background: var(--inc-aqua-soft);
}

.ic-hero-stage-wrap {
  position: relative;
  width: 100%;
  height: 624px;
  overflow: hidden;
  background: var(--inc-aqua-soft);
}

.ic-hero-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 1661px;
  height: 624px;
  transform-origin: top left;
  overflow: hidden;
}

.ic-hero-bg {
  position: absolute;
  inset: 0;
  width: 1661px;
  height: 624px;
  object-fit: cover;
  object-position: left top;
  display: block;
  user-select: none;
  pointer-events: none;
}

.ic-brand-header {
  position: absolute;
  left: 35px;
  top: 30px;
  height: 70px;
  display: flex;
  align-items: flex-start;
  z-index: 3;
}

.ic-brand-logo {
  width: 190px;
  height: 51px;
  object-fit: contain;
  display: block;
  margin-top: 0;
}

.ic-header-divider {
  width: 1px;
  height: 60px;
  background: rgba(70, 60, 53, 0.55);
  margin: 0 27px 0 26px;
  box-shadow: 1px 0 2px rgba(70,60,53,.12);
}

.ic-guide-name {
  margin: -2px 0 0 0;
  padding: 0;
  color: var(--inc-text);
  font-family: var(--ic-sans);
  line-height: 1.23;
  white-space: nowrap;
}

.ic-guide-name span {
  display: block;
  font-size: 18px;
  font-weight: 800;
}

.ic-guide-name strong {
  display: block;
  font-size: 25px;
  font-weight: 800;
}

.ic-hero-copy {
  position: absolute;
  left: 57px;
  top: 150px;
  width: 900px;
  z-index: 2;
}

.ic-hero-title {
  margin: 0;
  padding: 0;
  font-family: var(--ic-serif);
  color: var(--ic-gold);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-shadow: 0 2px 2px rgba(255,255,255,.35);
}

.ic-hero-title span {
  display: block;
  white-space: nowrap;
  font-size: 40px;
}

.ic-hero-title span + span {
  margin-top: 12px;
}

.ic-hero-subtitle {
  margin: 24px 0 0 0;
  font-family: var(--ic-serif);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ic-navy);
  white-space: nowrap;
}

.ic-gold-rule {
  position: relative;
  width: 865px;
  height: 42px;
  margin: 8px 0 0 -12px;
}

.ic-gold-rule::before,
.ic-gold-rule::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 35px;
  height: 35px;
  border: 4px solid var(--ic-gold-line);
  border-radius: 50%;
  background: rgba(255,255,255,.32);
  box-shadow: 0 2px 5px rgba(0,0,0,.18);
}
.ic-gold-rule::before { left: 0; }
.ic-gold-rule::after { right: 0; }
.ic-gold-rule span {
  position: absolute;
  left: 43px;
  right: 43px;
  top: 27px;
  height: 4px;
  background: var(--ic-gold-line);
  box-shadow: 0 2px 4px rgba(0,0,0,.18);
}
.ic-gold-rule span::before,
.ic-gold-rule span::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ic-gold-line);
}
.ic-gold-rule span::before { left: 0; }
.ic-gold-rule span::after { right: 0; }

.ic-feature-badges {
  display: flex;
  gap: 24px;
  margin: 40px 0 0 0;
}

.ic-feature-badge {
  width: 450px;
  min-height: 61px;
  margin: 0;
  padding: 11px 18px 12px;
  border-radius: 10px;
  border: 4px solid var(--inc-gold);
  background: var(--inc-coral);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.3),
    inset 0 0 0 4px var(--inc-gold-soft),
    0 4px 6px rgba(80,60,40,.18);
  color: #ffffff;
  font-family: var(--ic-sans);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-align: center;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ic-hero-lead {
  margin: 54px 0 0 8px;
  color: var(--inc-text);
  font-family: var(--ic-sans);
  font-size: 16px;
  line-height: 1.48;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 1px rgba(255,255,255,.35);
}

/* 横スクロールナビ予約帯（今後ページ内ナビボタンを追加予定。stickyは今回OFF＝position: static） */
.ic-subnav-wrap {
  position: static;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--inc-border);
}
.ic-subnav-inner {
  max-width: 1661px;
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
}
.ic-subnav-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.ic-back-to-beginner {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid var(--ic-navy);
  border-radius: 999px;
  background: #fff;
  color: var(--ic-navy);
  font-family: var(--ic-sans);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.ic-back-to-beginner:hover {
  background: var(--ic-navy);
  color: #fff;
}

@media (max-width: 760px) {
  .ic-hero-v8 { min-height: 0; }

  .ic-subnav-inner {
    min-height: 64px;
    padding: 0 16px;
    gap: 10px;
  }
  .ic-back-to-beginner {
    min-height: 44px;
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* ===== ページ内ナビ（ヒーロー下の横スクロール帯） ===== */
.ic-subnav-scroll { gap: 10px; padding: 6px 2px; }
.ic-navbtn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #e0d3bb;
  border-radius: 999px;
  background: #fffdf9;
  color: #1f375d;
  font-family: var(--ic-sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.ic-navbtn i {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #b08c4b;
}
.ic-navbtn:hover { background: #0b2350; border-color: #0b2350; color: #fff; }
.ic-navbtn:hover i { color: #d7a53c; }
.ic-navbtn:focus-visible { outline: 2px solid #b08c4b; outline-offset: 2px; }
.ic-subnav-scroll::-webkit-scrollbar { height: 6px; }
.ic-subnav-scroll::-webkit-scrollbar-thumb { background: #e0d3bb; border-radius: 3px; }
.ic-subnav-scroll::-webkit-scrollbar-track { background: transparent; }

/* リンク先の頭が詰まらないように */
#incruises-company-trust, #incruises-benefits, #incruises-fee-safety,
#incruises-booking-flow, #incruises-assurance-guide, #incruises-rules-guide,
#incruises-join, #incruises-steps { scroll-margin-top: 12px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 760px) {
  .ic-subnav-inner { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 12px; }
  .ic-subnav-scroll { min-height: 0; padding: 2px 0 6px; }
  .ic-navbtn { padding: 9px 14px; font-size: 13.5px; }
  .ic-back-to-beginner { align-self: flex-start; }
}

/* ===== ページ内ナビを画面上部に固定（スクロールに追従） ===== */
.ic-subnav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(60,50,30,.07);
}
.ic-subnav-inner { min-height: 72px; }

/* 固定バーの下に見出しが隠れないように */
#incruises-company-trust, #incruises-benefits, #incruises-fee-safety,
#incruises-booking-flow, #incruises-assurance-guide, #incruises-rules-guide,
#incruises-join, #incruises-steps { scroll-margin-top: 84px; }

@media (max-width: 760px) {
  /* スマホは1行に収めて、画面を取りすぎないようにする */
  .ic-subnav-inner { flex-direction: row; align-items: center; gap: 8px;
    min-height: 56px; padding: 6px 10px; }
  .ic-subnav-scroll { padding: 2px 0; }
  .ic-back-to-beginner { align-self: center; padding: 7px 10px; font-size: 12px;
    min-height: 0; gap: 3px; }
  .ic-back-to-beginner .ic-back-long { display: none; }
  #incruises-company-trust, #incruises-benefits, #incruises-fee-safety,
  #incruises-booking-flow, #incruises-assurance-guide, #incruises-rules-guide,
  #incruises-join, #incruises-steps { scroll-margin-top: 66px; }
}

/* 2026-09-05 追加：目次バーの「料金プラン」（スマートフォンのみ。PCは項目数が変わらないよう非表示） */
@media (min-width: 769px){
  .ic-navbtn--fee{ display:none !important; }
}
@media (max-width: 768px){
  .ic-navbtn--fee{ border-color:#d9c39b; background:#fbf3e4; color:#6a4312; font-weight:600; }
  #membership-plan-title{ scroll-margin-top: 72px; }
}

/* 2026-09-05 追加：「はじめてクルーズへ戻る」をバーの左端へ（スマートフォンのみ。
   PC版は項目の並びが変わらないよう、これまでどおり右端のまま）。
   要素の並べ替えのみで、大きさ・色・文言は変更していない。 */
@media (max-width: 768px){
  .ic-subnav-inner{ flex-direction: row; }
  .ic-back-to-beginner{ order: -1; margin-right: 2px; }
  .ic-subnav-scroll{ order: 0; }
}
