/* ===== フォント読み込み ===== */
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500;700;900&family=Noto+Sans+JP:wght@400;500;700&family=Cormorant+Garamond:ital,wght@1,500;1,600&display=swap');

/* ===== 古い貼り付けが残っていた場合の保険(カードを強制表示) ===== */
.cruise-top .reveal { opacity: 1; }

/* ===== Cocoon打ち消し(このページにだけ効きます) ===== */

/* ページタイトル・投稿日/更新日・パンくず・SNSシェア等を非表示 */
.article-header, .entry-title, .date-tags, .post-date, .post-update,
.breadcrumb, .sns-share, .sns-follow, .author-box, .related-entries,
.pager-post-navi, #comment-area { display: none !important; }

/* 本文エリアの余白・幅制限・枠線をリセット */
#main, .main { padding: 0 !important; margin: 0 !important; border: none !important; box-shadow: none !important; background: transparent !important; }
.article { margin: 0 !important; padding: 0 !important; }
#content, #content-in { margin: 0 !important; padding: 0 !important; max-width: none !important; width: 100% !important; }
.entry-content { margin: 0 !important; }
body { background: #fff !important; overflow-x: hidden; }

/* サイドバーを隠す */
.sidebar, #sidebar { display: none !important; }

/* Cocoon自体のヘッダー・フッターも消したい場合は囲みを外す */
/*
#header, #header-container, .header-container, #navi { display: none !important; }
#footer, .footer { display: none !important; }
*/

/* 全幅表示 */
.cruise-top.wp-full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ===== ページ本体のCSS ===== */
/* =========================================================
   ベリッシマ クルーズ日記 トップページ
   配色: 深海ネイビー / 海霧ブルー / 真鍮ゴールド / 砂浜クリーム
   ========================================================= */

:root {
  --ink:    #16384f;   /* 深海ネイビー: 本文・見出し */
  --ink-soft: #4c6878; /* 薄めの本文 */
  --sea:    #bf9a4a;   /* 真鍮ゴールド: アクセント */
  --mist:   #eaf4f6;   /* 海霧: 薄い背景 */
  --sand:   #fbf8f1;   /* 砂浜クリーム: セクション背景 */
  --foam:   #ffffff;   /* 白波: カード */
  --coral:  #e08a6d;   /* 夕凪コーラル: 補助アクセント */
  --line:   #dce8ec;

  --font-display: "Zen Maru Gothic", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-en: "Cormorant Garamond", serif;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(22, 56, 79, .08);
  --shadow-hover: 0 16px 40px rgba(22, 56, 79, .14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--foam);
  line-height: 1.85;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* WordPressのブロック内に貼った場合もここで基本スタイルを担保 */
.cruise-top {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--foam);
  line-height: 1.85;
  font-size: 17px;
}
.cruise-top a { text-decoration: none; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.pc-only { display: none; }
@media (min-width: 760px) { .pc-only { display: inline; } }


/* ===== テーマの見出し装飾を打ち消す(Cocoonのh2背景色など) ===== */
.cruise-top h1, .cruise-top h2, .cruise-top h3, .cruise-top h4 {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.cruise-top .hero-title { margin-bottom: 18px !important; }
.cruise-top .section-title { margin-bottom: 12px !important; }
.cruise-top .first-card h3 { margin-bottom: 8px !important; }
.cruise-top .cat-card h3 { margin-bottom: 6px !important; }
.cruise-top .footer-brand { margin-bottom: 16px !important; }

/* ===== ヘッダー ===== */
.cruise-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--foam);
  flex-shrink: 0;
}
.brand-text { font-size: 17px; line-height: 1.2; }
.brand-text small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--sea);
  letter-spacing: .12em;
}

.cruise-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.5vw, 26px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.cruise-nav a {
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .25s, color .25s;
}
.cruise-nav a:hover { color: var(--sea); border-bottom-color: var(--sea); }
.cruise-nav .nav-qa {
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--foam);
  border-bottom: none;
}
.cruise-nav .nav-qa:hover { background: var(--sea); color: var(--foam); }

@media (max-width: 640px) {
  .cruise-nav a:not(.nav-qa) { display: none; }
}

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  background: linear-gradient(165deg, #f3fafc 0%, #ddeef4 55%, #cfe6ee 100%);
  padding: clamp(36px, 7vw, 80px) clamp(16px, 4vw, 40px) 90px;
  overflow: hidden;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 0.92fr 1.08fr; gap: 48px; }
}

.hero-eyebrow {
  font-family: var(--font-en);
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--sea);
  letter-spacing: .14em;
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.45;
  letter-spacing: .02em;
  margin-bottom: 18px;
}
.hero-title-accent {
  background: linear-gradient(transparent 62%, rgba(191, 154, 74, .35) 62%);
  padding: 0 2px;
}

.hero-lead {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.8vw, 17px);
  margin-bottom: 22px;
}
.hero-lead strong { color: var(--ink); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-primary { background: var(--ink); color: var(--foam); }
.btn-primary:hover { background: var(--sea); }
.btn-ghost { background: var(--foam); color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { border-color: var(--sea); color: var(--sea); }

/* --- 航路マップ --- */
.hero-map {
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(22, 56, 79, .18);
  animation: map-in 1s ease both .15s;
}
@keyframes map-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

#routeMap { width: 100%; height: auto; border-radius: 28px; }

.route-line { animation: dash-flow 1.6s linear infinite; }
@keyframes dash-flow { to { stroke-dashoffset: -13; } }

.port-dot { fill: var(--ink); stroke: var(--foam); stroke-width: 2.5; }
.port-pulse {
  fill: none;
  stroke: var(--coral);
  stroke-width: 2;
  opacity: 0;
  animation: pulse 3s ease-out infinite;
}
.port:nth-child(2) .port-pulse { animation-delay: .5s; }
.port:nth-child(3) .port-pulse { animation-delay: 1s; }
.port:nth-child(4) .port-pulse { animation-delay: 1.5s; }
.port:nth-child(5) .port-pulse { animation-delay: 2s; }
.port:nth-child(6) .port-pulse { animation-delay: 2.5s; }
@keyframes pulse {
  0%   { opacity: .9; transform: scale(.6); }
  70%  { opacity: 0;  transform: scale(2.4); }
  100% { opacity: 0;  transform: scale(2.4); }
}
.port text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  fill: var(--ink);
  paint-order: stroke;
  stroke: rgba(255, 255, 255, .85);
  stroke-width: 4;
}
.port .port-date { font-size: 13px; fill: var(--ink-soft); font-weight: 500; }

.ship-bob { animation: bob 2.6s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-3px) rotate(1.5deg); }
}
.ship-smoke { opacity: .8; animation: smoke 2s ease-in-out infinite; }
@keyframes smoke {
  0%, 100% { opacity: .25; }
  50%      { opacity: .85; }
}

.waves path { animation: wave-drift 5s ease-in-out infinite; }
.waves path:nth-child(2) { animation-delay: 1s; }
.waves path:nth-child(3) { animation-delay: 2s; }
.waves path:nth-child(4) { animation-delay: 3s; }
.waves path:nth-child(5) { animation-delay: 4s; }
@keyframes wave-drift {
  0%, 100% { transform: translateX(0); opacity: .55; }
  50%      { transform: translateX(8px); opacity: .25; }
}

.map-caption text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  fill: var(--ink-soft);
}

.compass-n {
  font-family: var(--font-en);
  font-size: 20px;
  fill: #8aa9b6;
}

.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 56px; }

/* ===== 共通セクション ===== */
.section {
  padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 40px);
  max-width: 1180px;
  margin: 0 auto;
}

.section-head { text-align: center; margin-bottom: clamp(32px, 5vw, 52px); }

.section-eyebrow {
  font-family: var(--font-en);
  font-size: 19px;
  color: var(--sea);
  letter-spacing: .16em;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: .03em;
  margin-bottom: 12px;
}

.section-lead { color: var(--ink-soft); font-size: 16px; }

/* ふわっと表示(ページ読み込み時にCSSだけで実行。JSに依存しないので必ず表示される) */
@keyframes cruise-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.reveal { animation: cruise-fade-up .8s ease both; }
.reveal:nth-child(2) { animation-delay: .08s; }
.reveal:nth-child(3) { animation-delay: .16s; }
.reveal:nth-child(4) { animation-delay: .24s; }

/* ===== はじめての方へ ===== */
.first {
  background: var(--sand);
  max-width: none;
}
.first .section-head, .first-grid { max-width: 1180px; margin-left: auto; margin-right: auto; }
.first .section-head { margin-bottom: clamp(32px, 5vw, 52px); }

.first-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.first-card {
  background: var(--foam);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.first-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.first-emoji { font-size: 34px; line-height: 1; display: block; margin-bottom: 14px; }
.first-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 8px;
}
.first-card p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 14px; }

.card-more {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--sea);
}
.card-more::after { content: " →"; transition: margin-left .25s; }
.first-card:hover .card-more::after { margin-left: 4px; }

/* ===== カテゴリー ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.cat-card {
  position: relative;
  background: var(--foam);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--sea);
}

.cat-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}
.cat-card h3::after {
  content: "→";
  margin-left: 8px;
  color: var(--sea);
  display: inline-block;
  transition: transform .25s;
}
.cat-card:hover h3::after { transform: translateX(4px); }
.cat-card p { font-size: 15px; color: var(--ink-soft); margin-bottom: 4px; }

/* ===== 航海日記 ===== */
.diary { background: var(--mist); max-width: none; }
.diary .section-head, .diary-line { max-width: 920px; margin-left: auto; margin-right: auto; }

.diary-line {
  list-style: none;
  position: relative;
  padding-left: 28px;
}
.diary-line::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--sea) 0 6px, transparent 6px 13px);
}

.diary-item { position: relative; margin-bottom: 14px; }
.diary-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 26px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--foam);
  border: 3px solid var(--sea);
}

.diary-item a {
  display: grid;
  grid-template-columns: 80px 84px 1fr;
  align-items: center;
  gap: 14px;
  background: var(--foam);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.diary-item a:hover { transform: translateX(6px); box-shadow: var(--shadow-hover); }

.diary-day {
  font-family: var(--font-en);
  font-size: 21px;
  color: var(--sea);
  letter-spacing: .04em;
  white-space: nowrap;
}
.diary-date {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.diary-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17.5px;
}

@media (max-width: 600px) {
  .diary-item a {
    grid-template-columns: auto 1fr;
    grid-template-areas: "day date" "title title";
    row-gap: 6px;
  }
  .diary-day { grid-area: day; }
  .diary-date { grid-area: date; }
  .diary-item h3 { grid-area: title; }
}

/* ===== このブログについて ===== */
.about-box {
  background: linear-gradient(150deg, var(--ink) 0%, #21506f 100%);
  color: var(--foam);
  border-radius: 26px;
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.about-box .section-eyebrow { color: #e3c887; }
.about-box .section-title { color: var(--foam); }
.about-box p {
  font-size: 16.5px;
  color: #d4e2ea;
  text-align: left;
  margin-bottom: 28px;
}
.about-box .btn-primary { background: var(--sea); }
.about-box .btn-primary:hover { background: var(--coral); }

/* ===== フッター ===== */
.cruise-footer {
  background: var(--ink);
  color: #bcd0db;
  text-align: center;
  padding: 44px 20px 36px;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  color: var(--foam);
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 0;
}
.footer-nav a:hover { color: #e3c887; }

/* ===== アクセシビリティ ===== */
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
/* ===== ここからページ本体のCSS ===== */
/* =========================================================
   ベリッシマ クルーズ日記 トップページ
   配色: 深海ネイビー / 海霧ブルー / 真鍮ゴールド / 砂浜クリーム
   ========================================================= */

:root {
  --ink:    #16384f;   /* 深海ネイビー: 本文・見出し */
  --ink-soft: #4c6878; /* 薄めの本文 */
  --sea:    #bf9a4a;   /* 真鍮ゴールド: アクセント */
  --mist:   #eaf4f6;   /* 海霧: 薄い背景 */
  --sand:   #fbf8f1;   /* 砂浜クリーム: セクション背景 */
  --foam:   #ffffff;   /* 白波: カード */
  --coral:  #e08a6d;   /* 夕凪コーラル: 補助アクセント */
  --line:   #dce8ec;

  --font-display: "Zen Maru Gothic", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-en: "Cormorant Garamond", serif;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(22, 56, 79, .08);
  --shadow-hover: 0 16px 40px rgba(22, 56, 79, .14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--foam);
  line-height: 1.85;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* WordPressのブロック内に貼った場合もここで基本スタイルを担保 */
.cruise-top {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--foam);
  line-height: 1.85;
  font-size: 17px;
}
.cruise-top a { text-decoration: none; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.pc-only { display: none; }
@media (min-width: 760px) { .pc-only { display: inline; } }


/* ===== テーマの見出し装飾を打ち消す(Cocoonのh2背景色など) ===== */
.cruise-top h1, .cruise-top h2, .cruise-top h3, .cruise-top h4 {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.cruise-top .hero-title { margin-bottom: 18px !important; }
.cruise-top .section-title { margin-bottom: 12px !important; }
.cruise-top .first-card h3 { margin-bottom: 8px !important; }
.cruise-top .cat-card h3 { margin-bottom: 6px !important; }
.cruise-top .footer-brand { margin-bottom: 16px !important; }


/* ===== 旅の基本情報カード ===== */
.tripinfo { padding-bottom: 0; }
.trip-card {
  display: grid;
  grid-template-columns: 130px 1fr 130px;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  background: var(--foam);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 40px);
}
.trip-chara {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.chara { width: 110px; height: 110px; }
.chara-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--mist);
  border-radius: 999px;
  padding: 2px 16px;
}
.trip-table { margin: 0; }
.trip-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.trip-row:last-child { border-bottom: none; }
.trip-row dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--sea);
}
.trip-row dd { margin: 0; font-size: 15.5px; }
.trip-link {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--sea);
  border-bottom: 1.5px solid currentColor;
}
.trip-link:hover { color: var(--coral); }

@media (max-width: 760px) {
  .trip-card {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "h w" "table table";
  }
  .trip-card .trip-chara:first-child { grid-area: h; justify-self: end; padding-right: 8px; }
  .trip-card .trip-chara:last-of-type { grid-area: w; justify-self: start; padding-left: 8px; }
  .trip-table { grid-area: table; }
  .chara { width: 96px; height: 96px; }
  .trip-row { grid-template-columns: 84px 1fr; }
}

/* Aboutセクションのキャラ */
.about-charas {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}
.chara-sm { width: 92px; height: 92px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }

/* ===== ヘッダー ===== */
.cruise-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--foam);
  flex-shrink: 0;
}
.brand-text { font-size: 17px; line-height: 1.2; }
.brand-text small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--sea);
  letter-spacing: .12em;
}

.cruise-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.5vw, 26px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.cruise-nav a {
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .25s, color .25s;
}
.cruise-nav a:hover { color: var(--sea); border-bottom-color: var(--sea); }
.cruise-nav .nav-qa {
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--foam);
  border-bottom: none;
}
.cruise-nav .nav-qa:hover { background: var(--sea); color: var(--foam); }

@media (max-width: 640px) {
  .cruise-nav a:not(.nav-qa) { display: none; }
}

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  background: linear-gradient(165deg, #f3fafc 0%, #ddeef4 55%, #cfe6ee 100%);
  padding: clamp(36px, 7vw, 80px) clamp(16px, 4vw, 40px);
  overflow: hidden;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 0.92fr 1.08fr; gap: 48px; }
}

.hero-eyebrow {
  font-family: var(--font-en);
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--sea);
  letter-spacing: .14em;
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.45;
  letter-spacing: .02em;
  margin-bottom: 18px;
}
.hero-title-accent {
  background: linear-gradient(transparent 62%, rgba(191, 154, 74, .35) 62%);
  padding: 0 2px;
}

.hero-lead {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.8vw, 17px);
  margin-bottom: 22px;
}
.hero-lead strong { color: var(--ink); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-primary { background: var(--ink); color: var(--foam); }
.btn-primary:hover { background: var(--sea); }
.btn-ghost { background: var(--foam); color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { border-color: var(--sea); color: var(--sea); }

/* --- 航路マップ --- */
.hero-map {
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(22, 56, 79, .18);
  animation: map-in 1s ease both .15s;
}
@keyframes map-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

#routeMap { width: 100%; height: auto; border-radius: 28px; }

.route-line { animation: dash-flow 1.6s linear infinite; }
@keyframes dash-flow { to { stroke-dashoffset: -13; } }

.port-dot { fill: var(--ink); stroke: var(--foam); stroke-width: 2.5; }
.port-pulse {
  fill: none;
  stroke: var(--coral);
  stroke-width: 2;
  opacity: 0;
  animation: pulse 3s ease-out infinite;
}
.port:nth-child(2) .port-pulse { animation-delay: .5s; }
.port:nth-child(3) .port-pulse { animation-delay: 1s; }
.port:nth-child(4) .port-pulse { animation-delay: 1.5s; }
.port:nth-child(5) .port-pulse { animation-delay: 2s; }
.port:nth-child(6) .port-pulse { animation-delay: 2.5s; }
@keyframes pulse {
  0%   { opacity: .9; transform: scale(.6); }
  70%  { opacity: 0;  transform: scale(2.4); }
  100% { opacity: 0;  transform: scale(2.4); }
}
.port text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  fill: var(--ink);
  paint-order: stroke;
  stroke: rgba(255, 255, 255, .85);
  stroke-width: 4;
}
.port .port-date { font-size: 13px; fill: var(--ink-soft); font-weight: 500; }

.ship-bob { animation: bob 2.6s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-3px) rotate(1.5deg); }
}
.ship-smoke { opacity: .8; animation: smoke 2s ease-in-out infinite; }
@keyframes smoke {
  0%, 100% { opacity: .25; }
  50%      { opacity: .85; }
}

.waves path { animation: wave-drift 5s ease-in-out infinite; }
.waves path:nth-child(2) { animation-delay: 1s; }
.waves path:nth-child(3) { animation-delay: 2s; }
.waves path:nth-child(4) { animation-delay: 3s; }
.waves path:nth-child(5) { animation-delay: 4s; }
@keyframes wave-drift {
  0%, 100% { transform: translateX(0); opacity: .55; }
  50%      { transform: translateX(8px); opacity: .25; }
}

.map-caption text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  fill: var(--ink-soft);
}

.compass-n {
  font-family: var(--font-en);
  font-size: 20px;
  fill: #8aa9b6;
}


/* ===== フォトスライダー(横幅いっぱい・上下密着) ===== */
.gallery {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}
.photo-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--mist);
}
@media (max-width: 640px) {
  .photo-slider { aspect-ratio: 4 / 3; }
}
.photo-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  /* JSが動かない環境でも、CSSアニメーションだけで自動切り替えされる */
  animation: cruise-slide-fade 25s linear infinite;
}
.photo-slide:first-child { opacity: 1; } /* アニメーションも無効な場合は1枚目を表示 */
.photo-slide:nth-child(1) { animation-delay: 0s; }
.photo-slide:nth-child(2) { animation-delay: 5s; }
.photo-slide:nth-child(3) { animation-delay: 10s; }
.photo-slide:nth-child(4) { animation-delay: 15s; }
.photo-slide:nth-child(5) { animation-delay: 20s; }
/* 6枚目以降はJS制御時のみ表示(CSSのみのフォールバックは先頭5枚をループ) */
.photo-slide:nth-child(n+6) { animation: none; opacity: 0; }
@keyframes cruise-slide-fade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; }
  100% { opacity: 0; }
}

/* JSが動いたらCSS自動再生を止め、JS制御(自動+手動)に切り替える */
.js-slider .photo-slide {
  animation: none;
  opacity: 0;
  transition: opacity .8s ease;
}
.js-slider .photo-slide.is-active { opacity: 1; }

/* 前後ボタン(JSが動いたときだけ表示) */
.slider-arrow { display: none; }
.js-slider .slider-arrow {
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background .25s, transform .25s;
}
.js-slider .slider-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.slider-prev { left: clamp(10px, 2vw, 24px); }
.slider-next { right: clamp(10px, 2vw, 24px); }
.js-slider .slider-arrow:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

/* ドット(JSが動いたときだけ表示) */
.slider-dots { display: none; }
.js-slider .slider-dots {
  display: flex;
  gap: 10px;
  position: absolute;
  left: 50%;
  bottom: clamp(12px, 2vw, 20px);
  transform: translateX(-50%);
  z-index: 2;
}
.slider-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.slider-dot:hover { background: rgba(255, 255, 255, .85); }
.slider-dot.is-active { background: var(--sea); transform: scale(1.25); }
.slider-dot:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
@media (max-width: 480px) {
  .js-slider .slider-dots { gap: 7px; }
  .slider-dot { width: 9px; height: 9px; }
}

/* ===== 共通セクション ===== */
.section {
  padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 40px);
  max-width: 1180px;
  margin: 0 auto;
}

.section-head { text-align: center; margin-bottom: clamp(32px, 5vw, 52px); }

.section-eyebrow {
  font-family: var(--font-en);
  font-size: 19px;
  color: var(--sea);
  letter-spacing: .16em;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: .03em;
  margin-bottom: 12px;
}

.section-lead { color: var(--ink-soft); font-size: 16px; }

/* ふわっと表示(ページ読み込み時にCSSだけで実行。JSに依存しないので必ず表示される) */
@keyframes cruise-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.reveal { animation: cruise-fade-up .8s ease both; }
.reveal:nth-child(2) { animation-delay: .08s; }
.reveal:nth-child(3) { animation-delay: .16s; }
.reveal:nth-child(4) { animation-delay: .24s; }

/* ===== はじめての方へ ===== */
.first {
  background: var(--sand);
  max-width: none;
}
.first .section-head, .first-grid { max-width: 1180px; margin-left: auto; margin-right: auto; }
.first .section-head { margin-bottom: clamp(32px, 5vw, 52px); }

.first-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.first-card {
  background: var(--foam);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.first-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.first-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 8px;
}
.first-card p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 14px; }

.card-more {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--sea);
}
.card-more::after { content: " →"; transition: margin-left .25s; }
.first-card:hover .card-more::after { margin-left: 4px; }

/* ===== カテゴリー ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.cat-card {
  position: relative;
  background: var(--foam);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--sea);
}

.cat-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}
.cat-card h3::after {
  content: "→";
  margin-left: 8px;
  color: var(--sea);
  display: inline-block;
  transition: transform .25s;
}
.cat-card:hover h3::after { transform: translateX(4px); }
.cat-card p { font-size: 15px; color: var(--ink-soft); margin-bottom: 4px; }

/* ===== 航海日記 ===== */
.diary { background: var(--mist); max-width: none; }
.diary .section-head, .diary-line { max-width: 920px; margin-left: auto; margin-right: auto; }

.diary-line {
  list-style: none;
  position: relative;
  padding-left: 28px;
}
.diary-line::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--sea) 0 6px, transparent 6px 13px);
}

.diary-item { position: relative; margin-bottom: 14px; }
.diary-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 26px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--foam);
  border: 3px solid var(--sea);
}

.diary-item a {
  display: grid;
  grid-template-columns: 80px 84px 1fr;
  align-items: center;
  gap: 14px;
  background: var(--foam);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.diary-item a:hover { transform: translateX(6px); box-shadow: var(--shadow-hover); }

.diary-day {
  font-family: var(--font-en);
  font-size: 21px;
  color: var(--sea);
  letter-spacing: .04em;
  white-space: nowrap;
}
.diary-date {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.diary-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17.5px;
}

@media (max-width: 600px) {
  .diary-item a {
    grid-template-columns: auto 1fr;
    grid-template-areas: "day date" "title title";
    row-gap: 6px;
  }
  .diary-day { grid-area: day; }
  .diary-date { grid-area: date; }
  .diary-item h3 { grid-area: title; }
}

/* ===== このブログについて ===== */
.about-box {
  background: linear-gradient(150deg, var(--ink) 0%, #21506f 100%);
  color: var(--foam);
  border-radius: 26px;
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.about-box .section-eyebrow { color: #e3c887; }
.about-box .section-title { color: var(--foam); }
.about-box p {
  font-size: 16.5px;
  color: #d4e2ea;
  text-align: left;
  margin-bottom: 28px;
}
.about-box .btn-primary { background: var(--sea); }
.about-box .btn-primary:hover { background: var(--coral); }

/* ===== フッター ===== */
.cruise-footer {
  background: var(--ink);
  color: #bcd0db;
  text-align: center;
  padding: 44px 20px 36px;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  color: var(--foam);
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 0;
}
.footer-nav a:hover { color: #e3c887; }

/* ===== アクセシビリティ ===== */
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
/* =========================================================
   見せ方の整理: カード+影+英字見出しの定型をやめ、罫線中心にする
   (上のブロックより後ろに置いて上書きする)
   ========================================================= */
.section-head { text-align: left; margin-bottom: clamp(24px, 4vw, 40px); }
.first .section-head, .diary .section-head { max-width: 920px; }
.section-eyebrow { display: none; }
.about-box .section-eyebrow { display: none; }
.section-title { padding-bottom: 14px !important; border-bottom: 1px solid var(--line) !important; }
.section-lead { margin-top: 14px; }

/* はじめての方へ: 番号付きの罫線リスト */
.first { background: transparent; }
.first-grid {
  display: block;
  max-width: 920px;
  counter-reset: first;
}
.first-card {
  counter-increment: first;
  display: grid;
  grid-template-columns: 3.2rem 1fr auto;
  grid-template-areas: "num title more" "num text more";
  column-gap: 12px;
  align-items: baseline;
  background: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--line);
  padding: 22px 4px;
  transition: background .2s;
}
.first-card::before {
  content: counter(first, decimal-leading-zero);
  grid-area: num;
  font-family: var(--font-en);
  font-size: 26px;
  color: var(--sea);
}
.first-card:hover { transform: none; box-shadow: none; background: var(--sand); }
.first-card h3 { grid-area: title; margin-bottom: 4px !important; }
.first-card p { grid-area: text; margin-bottom: 0; }
.first-card .card-more { grid-area: more; align-self: center; }
@media (max-width: 640px) {
  .first-card {
    grid-template-columns: 2.6rem 1fr;
    grid-template-areas: "num title" "num text" "num more";
  }
  .first-card .card-more { margin-top: 6px; }
}

/* カテゴリー: 枠を外し、上罫線だけの一覧にする */
.cat-grid { column-gap: 40px; row-gap: 0; }
.cat-card {
  background: none;
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 20px 4px 22px;
}
.cat-card:hover { transform: none; box-shadow: none; border-color: var(--sea); }
.cat-card:hover h3 { color: var(--sea); }
.cat-card h3::after { display: none; }

/* 航海日記: 点線のタイムラインとカードをやめ、罫線区切りの行にする */
.diary { background: transparent; }
.diary-line { padding-left: 0; }
.diary-line::before, .diary-item::before { display: none; }
.diary-item { margin-bottom: 0; }
.diary-item a {
  background: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--line);
  padding: 16px 4px;
  transition: background .2s;
}
.diary-item a:hover { transform: none; box-shadow: none; background: var(--sand); }
.diary-item:first-child a { border-top: 1px solid var(--line); }

/* 旅の基本情報 */
.trip-card {
  background: none;
  border: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

/* About・ボタン */
.about-box {
  background: var(--ink);
  border-radius: 0;
  text-align: left;
}
.about-charas { justify-content: flex-start; }
.btn:hover { transform: none; box-shadow: none; }

/* ===== PC幅の文字サイズ ===== */
@media (min-width: 900px) {
  body { font-size: 19px; }
  .cruise-top { font-size: 19px; }
  .cruise-nav { font-size: 17px; }
  .btn { font-size: 17px; }
  .section-eyebrow { font-size: 21.5px; }
  .section-lead { font-size: 18px; }
  .first-emoji { font-size: 38px; }
  .first-card h3 { font-size: 21.5px; }
  .first-card p { font-size: 17.5px; }
  .card-more { font-size: 15.5px; }
  .cat-card h3 { font-size: 20px; }
  .cat-card p { font-size: 17px; }
  .diary-day { font-size: 23.5px; }
  .diary-date { font-size: 15.5px; }
  .diary-item h3 { font-size: 19.5px; }
  .about-box p { font-size: 18.5px; }
  .footer-brand { font-size: 20px; }
  .footer-nav { font-size: 15.5px; }
  .chara-label { font-size: 15.5px; }
  .trip-row dt { font-size: 15.5px; }
  .trip-row dd { font-size: 17.5px; }
  .first-card::before { font-size: 29px; }
  .section-title { font-size: clamp(28px, 3.4vw, 38px); }
  .hero-lead { font-size: 19px; }
  .brand-text { font-size: 19px; }
  .brand-text small { font-size: 12.5px; }
}
/* ===== /PC幅の文字サイズ ===== */

/* ===== 詳しいガイド(一覧表) ===== */
.guide-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(22, 56, 79, .08);
  font-size: 15px;
  line-height: 1.7;
}
.guide-table thead th {
  background: var(--sea, #16384f);
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 12px 20px;
  font-size: 13px;
  letter-spacing: .08em;
}
.guide-table tbody tr + tr { border-top: 1px solid rgba(22, 56, 79, .1); }
.guide-table tbody tr:nth-child(even) { background: rgba(22, 56, 79, .03); }
.guide-table tbody th, .guide-table tbody td { padding: 16px 20px; vertical-align: top; text-align: left; }
.guide-table tbody th { width: 34%; white-space: nowrap; font-weight: 700; }
.guide-table tbody th a { color: var(--sea, #16384f); text-decoration: none; }
.guide-table tbody th a::after { content: " ›"; color: var(--gold, #bf9a4a); }
.guide-table tbody th a:hover { text-decoration: underline; }
.guide-table td { color: #4a5a66; }
@media (max-width: 640px) {
  .guide-table thead { display: none; }
  .guide-table tbody tr { display: block; padding: 14px 16px; }
  .guide-table tbody th, .guide-table tbody td { display: block; padding: 0; width: auto; white-space: normal; }
  .guide-table tbody td { margin-top: 4px; font-size: 14px; }
}

/* ===== 航路マップ：終日航海日のマーカー ===== */
.seaday { opacity: 0; transition: opacity .6s ease; }
.seaday.is-placed { opacity: 1; }
.seaday-dot { fill: #ffffff; stroke: #bf9a4a; stroke-width: 2; stroke-dasharray: 3 2; }
.seaday-wave { fill: none; stroke: #4f8fa6; stroke-width: 1.6; stroke-linecap: round; }
.seaday text { font-size: 17px; font-weight: 700; fill: #4f8fa6; font-family: "Zen Maru Gothic", sans-serif; paint-order: stroke; stroke: rgba(234, 244, 246, .85); stroke-width: 4px; }
.seaday .port-date { font-size: 13px; fill: var(--ink-soft); font-weight: 500; }
