/* =======================================================
   小田原観光サービス スタイルシート
   おしゃれで洗練された雰囲気。紺色 × 金のアクセント。
   初心者の方へ: 色や文字サイズは下の「:root」でまとめて変えられます。
   ======================================================= */

/* 日本語を文節の切れ目で改行する。Chrome以外では無視されるだけなので安全 */
body { word-break: auto-phrase; }

/* ---- よく使う値をまとめて定義（ここを変えると全体に反映される）---- */
:root {
  --navy: #1b2a4a;        /* 基調の紺色 */
  --navy-deep: #131f38;   /* さらに濃い紺 */
  --gold: #b8925a;        /* アクセントの金色 */
  --gold-soft: #c9a878;
  --line-green: #06c755;  /* LINEの色 */
  --ink: #2a2f38;         /* 本文の文字色 */
  --ink-soft: #5b6472;    /* 補足文の文字色 */
  --paper: #ffffff;       /* 背景（白）*/
  --paper-alt: #f6f3ee;   /* 交互に使う薄いベージュ背景 */
  --border: #e6e1d8;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(27, 42, 74, 0.10);
  --max-width: 1120px;
}

/* ---- 基本設定 ---- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

/* 中央寄せの共通コンテナ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 820px; }

/* アイコンの共通サイズ */
.icon { width: 24px; height: 24px; }
.icon-sm { width: 18px; height: 18px; }

/* =======================================================
   ヘッダー
   ======================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
/* 少しスクロールすると影を付ける（JSでクラスを付与）*/
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(27, 42, 74, 0.08);
  border-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  display: inline-flex;
  color: var(--gold);
}
.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
}

/* ナビゲーション */
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 0.95rem; font-weight: 500; color: var(--navy); transition: color 0.2s; }
.nav a:hover { color: var(--gold); }
.nav-cta { color: #fff !important; }

/* スマホ用メニューボタン（普段は隠す）*/
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  cursor: pointer;
  padding: 6px;
}

/* =======================================================
   ボタン
   ======================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 34px; font-size: 1.02rem; }

.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); box-shadow: var(--shadow); }

.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { box-shadow: 0 10px 24px rgba(6, 199, 85, 0.28); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* =======================================================
   セクション共通
   ======================================================= */
.section { padding: 96px 0; }
.section-alt { background: var(--paper-alt); }

.section-eyebrow {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}
.section-title {
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}
.section-desc {
  margin: 0 auto 48px;
  max-width: 680px;
  color: var(--ink-soft);
}

/* =======================================================
   ヒーロー
   ======================================================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 縦長でも間延びしないよう全面を覆う */
  object-position: center;
}
/* 写真の上に紺色の半透明をかけ、文字を読みやすくする */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(19, 31, 56, 0.82) 0%, rgba(19, 31, 56, 0.45) 60%, rgba(19, 31, 56, 0.25) 100%);
}
.hero-content {
  position: relative;
  color: #fff;
  padding-top: 72px;
  padding-bottom: 40px;
}
.hero-eyebrow {
  margin: 0 0 16px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold-soft);
}
.hero-title {
  margin: 0 0 22px;
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.hero-lead {
  margin: 0 0 34px;
  max-width: 560px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* =======================================================
   カードのグリッド
   ======================================================= */
.card-grid { display: grid; gap: 28px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }

/* お悩みカード */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(184, 146, 90, 0.12);
  color: var(--gold);
}
.card h3 { margin: 0 0 10px; font-size: 1.12rem; color: var(--navy); }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* 写真カード */
.photo-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.photo-card-img { overflow: hidden; }
.photo-card-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s;
}
.photo-card-img.wide img { height: 300px; }
/* 料理が下側に写っている写真は、切り抜きの中心を下げて主役を見せる */
.photo-card-img img.focus-lower { object-position: center bottom; }
.photo-card:hover .photo-card-img img { transform: scale(1.06); }
.photo-card-body { padding: 22px 24px 26px; }
.photo-card-body h3 { margin: 0 0 8px; font-size: 1.12rem; color: var(--navy); }
.photo-card-body p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* =======================================================
   モデルコース
   ======================================================= */
.course-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 760px;
  margin-inline: auto;
}
.course-step {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: start;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px dashed var(--border);
}
.course-step:last-child { border-bottom: none; }
.course-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}
.course-icon { display: inline-flex; color: var(--gold); padding-top: 10px; }
.course-body h3 { margin: 6px 0 8px; font-size: 1.15rem; color: var(--navy); }
.course-body p { margin: 0; color: var(--ink-soft); }

/* =======================================================
   FAQ（開閉式）
   ======================================================= */
.faq-list { margin: 0 0 64px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  font-family: inherit;
}
.faq-chevron { flex-shrink: 0; color: var(--gold); transition: transform 0.3s; }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p { margin: 0; padding: 0 22px 22px; color: var(--ink-soft); }

/* =======================================================
   最終CTA
   ======================================================= */
.cta-box {
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  border-radius: 22px;
  padding: 56px 32px;
  box-shadow: var(--shadow);
}
.cta-title { margin: 0 0 16px; font-size: clamp(1.4rem, 3.5vw, 1.9rem); color: #fff; }
.cta-lead { margin: 0 auto 30px; max-width: 560px; color: rgba(255,255,255,0.88); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-box .btn-outline { color: #fff; border-color: rgba(255,255,255,0.7); }
.cta-box .btn-outline:hover { background: #fff; color: var(--navy); }

/* =======================================================
   フッター
   ======================================================= */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.85); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.footer-brand { max-width: 480px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { margin: 12px 0 0; font-size: 0.92rem; color: rgba(255,255,255,0.7); }
.footer-social { display: flex; gap: 14px; align-items: center; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  transition: background 0.2s, color 0.2s;
}
.social-link:hover { background: var(--gold); border-color: var(--gold); }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 20px 0;
}
.footer-copy p { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* =======================================================
   レスポンシブ（スマートフォン・タブレット対応）
   ======================================================= */

/* タブレット */
@media (max-width: 900px) {
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
}

/* スマートフォン */
@media (max-width: 680px) {
  .section { padding: 64px 0; }

  /* ナビをたたんで、メニューボタンを表示 */
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav.open { max-height: 400px; }
  .nav a { padding: 16px 24px; border-top: 1px solid var(--border); }
  .nav-cta { margin: 12px 24px 18px; border-radius: 999px; text-align: center; }

  .hero { min-height: 82vh; }
  .hero-actions .btn { flex: 1 1 auto; }

  .cols-3, .cols-2 { grid-template-columns: 1fr; }

  .course-step { grid-template-columns: auto 1fr; }
  .course-icon { display: none; } /* スマホでは番号だけ見せて省スペース */

  .footer-inner { flex-direction: column; }
}

/* 動きを減らす設定の人には、アニメーションを控える */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
