/* ============================================================
   sitecraft-dog LP — スタイル
   ▼ レイアウト構造（PC）
     ・stage-bg     … 画面全体に固定される背景写真（動かない）
     ・side-panel   … 左の固定パネル（ロゴ＋ナビ＋資料案内）
     ・side-tagline … 右の固定タグライン
     ・center-col   … 中央の縦長カラム（ここだけがスクロールする）
   ・スマホ（≤900px）は全て解除され、通常の縦スクロール1枚構成に戻る
   ・色は :root の変数で一括管理
   ============================================================ */

:root {
  /* ▼▼ 色を変えたいときはここだけ編集 ▼▼ */
  --cream: #f4f0e6;          /* 中央カラムの背景（生成り） */
  --cream-dark: #eae4d5;     /* 背景（少し濃い生成り） */
  --ink: #2c2a26;            /* 文字（黒に近い茶） */
  --green: #1e3229;          /* 濃緑（ダークセクション背景） */
  --green-soft: #31473d;     /* 濃緑（少し明るい） */
  --beige: #cfc6b2;          /* 薄ベージュ（ボタン・罫線） */
  --accent: #e8683a;         /* アクセント（オレンジ系・CTAボタン） */
  --white: #ffffff;
  /* ▲▲ ここまで ▲▲ */

  --font-serif: "Zen Old Mincho", "Yu Mincho", serif;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --radius: 14px;
  --max-width: 1120px;
  --center-width: 560px;   /* 中央カラムの幅（PC） */
  --header-h: 58px;        /* スマホ用固定ヘッダーの高さ */
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: #9aa89e; /* 背景写真が読み込めるまでの下地（青灰×緑） */
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- 汎用 ---------- */
.section { padding: 96px 48px; }
.section--dark { background: var(--green); color: var(--cream); }
@media (max-width: 900px) { .section { padding: 64px 20px; } }

.section-en {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4.2vw, 38px);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 32px;
}

/* ボタン */
.btn {
  display: inline-block;
  min-width: 220px;
  padding: 14px 40px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn--primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24); }
.btn--ghost {
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn--small { min-width: 0; padding: 9px 22px; font-size: 13px; }

/* 無料バッジ */
.badge-free {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ============================================================
   ステージ（PCの3分割レイアウト）
   ============================================================ */

/* ---------- 固定背景 ---------- */
.stage-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("../img/bg.jpg") center / cover no-repeat;
}
.stage-bg::after {
  /* 写真の上に薄い影を敷いて、左右パネルの文字を読みやすくする */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 28, 24, 0.55) 0%, rgba(20, 28, 24, 0.15) 35%, rgba(20, 28, 24, 0.05) 50%, rgba(20, 28, 24, 0.15) 65%, rgba(20, 28, 24, 0.45) 100%);
}

/* ---------- 中央カラム（ここだけスクロール） ---------- */
.center-col {
  position: relative;
  z-index: 2;
  width: min(var(--center-width), 92vw);
  margin: 0 auto;
  min-height: 100svh;
  background: var(--cream);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.35);
}

/* ---------- 左パネル（固定） ---------- */
.side-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 3;
  /* 左の空き地 = (100vw - 中央幅) / 2。そこに収めて余白は内側で取る */
  width: max(240px, calc((100vw - var(--center-width)) / 2 - 24px));
  /* メニューを中央カラム寄りに置く: 左に大きな余白を取る */
  padding: 34px 28px 34px max(56px, calc((100vw - var(--center-width)) / 2 - 320px));
  display: flex;
  flex-direction: column;
  color: var(--cream);
  overflow: hidden;
}
.side-panel__logo { height: 30px; width: auto; }
.side-panel__logo-link { display: inline-block; line-height: 0; }
.side-panel__brand-sub {
  font-size: 12px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  opacity: 0.85;
  margin-top: 8px;
}

.side-nav { margin-top: clamp(24px, 6vh, 56px); }
.side-nav li { margin-bottom: 14px; }
.side-nav a {
  display: block;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0.92;
  transition: opacity 0.2s;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}
.side-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.side-nav__dash { opacity: 0.55; margin-right: 4px; }
.side-nav__ja { opacity: 0.75; margin-left: 6px; }

/* パネルが狭いとき（中央カラムに近い幅）は日本語ラベルを隠して1行を優先 */
@media (max-width: 1280px) {
  .side-nav__ja { display: none; }
  .side-nav a { font-size: 13px; }
}

/* 左パネルの資料案内ボックス（下に寄せる） */
.side-doc {
  margin-top: auto;
  width: 100%;
  max-width: 300px;
  background: rgba(24, 32, 28, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  text-align: center;
}
.side-doc__title {
  font-size: 13.5px;
  line-height: 1.8;
  font-weight: 700;
}
.side-doc__arrow { font-size: 12px; opacity: 0.8; margin: 6px 0 12px; }
.side-doc__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.side-doc__thumbs img {
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  background: var(--cream-dark);
  min-height: 44px;
}

/* 無料バッジ＋ラベル＋矢印の横長CTAボタン */
.doc-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  background: var(--accent);
  color: var(--white);
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.doc-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.doc-cta__free {
  flex: none;
  background: rgba(20, 16, 12, 0.85);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.doc-cta__label { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; }
.doc-cta__arrow { margin-left: auto; font-size: 16px; }

/* 左パネルが狭いときは資料ボックス内の余白を詰める */
@media (max-width: 1150px) {
  .side-doc { max-width: 260px; padding: 18px 14px 20px; }
  .doc-cta { padding: 6px 14px 6px 6px; }
  .doc-cta__label { font-size: 13px; }
}

/* ---------- 右タグライン（固定） ---------- */
.side-tagline {
  position: fixed;
  right: 40px;
  bottom: 64px;
  z-index: 3;
  text-align: right;
  color: var(--cream);
}
.side-tagline__en {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 28px);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}
.side-tagline__ja {
  font-size: 13px;
  letter-spacing: 0.12em;
  opacity: 0.9;
  margin-top: 4px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

/* ============================================================
   ヘッダー（スマホ表示でのみ出る。PCでは非表示）
   ============================================================ */
.site-header {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(30, 50, 41, 0.92);
  color: var(--cream);
}
.site-header__bar {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 20px;
}
.site-header__logo-img { height: 30px; width: auto; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 26px; }
.gnav a { font-size: 13.5px; letter-spacing: 0.04em; opacity: 0.9; transition: opacity 0.2s; }
.gnav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.site-header__right { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .site-header { display: block; }
  .gnav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: linear-gradient(180deg, var(--green) 0%, #15251d 100%);
    padding: 40px 28px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .gnav.is-open { transform: translateX(0); }
  .gnav ul { flex-direction: column; gap: 22px; }
  .gnav a { font-size: 16px; }
  .menu-toggle {
    display: block;
    border: 0;
    background: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
  }
  .menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--cream);
    transition: 0.3s;
  }
  .menu-toggle span:nth-child(1) { top: 0; }
  .menu-toggle span:nth-child(2) { top: 10px; }
  .menu-toggle span:nth-child(3) { top: 20px; }
  .menu-toggle.is-open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
}
.hero__slider, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22, 15, 9, 0.1) 40%, rgba(22, 15, 9, 0.62) 100%);
}
.hero__dots {
  position: absolute;
  right: 20px; bottom: 22px;
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero__dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: 0.25s;
}
.hero__dots button.is-active { background: var(--white); transform: scale(1.25); }

.hero__overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 96px 32px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero__en { font-size: 14px; letter-spacing: 0.22em; opacity: 0.85; }
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5.5vw, 44px);
  font-weight: 500;
  line-height: 1.45;
  margin: 10px 0 14px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero__sub { font-size: clamp(14px, 1.8vw, 16px); opacity: 0.95; }
.hero__cta {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- About ---------- */
.about { text-align: center; }
.about__emphasis { color: var(--accent); }
.about__body { max-width: 640px; margin: 0 auto; }
.about__lead {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 2.1;
  margin-bottom: 24px;
}
.about__text { font-size: 14px; opacity: 0.8; text-align: left; }

/* ---------- Lineup ---------- */
.lineup__lead { max-width: 640px; font-size: 14px; opacity: 0.8; margin-bottom: 48px; }
.lineup__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 600px) { .lineup__grid { grid-template-columns: 1fr; } }

.cabin-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease;
}
.cabin-card:hover { transform: translateY(-5px); }
.cabin-card__img { aspect-ratio: 3 / 4; overflow: hidden; }
.cabin-card__img img { width: 100%; height: 100%; object-fit: cover; }
.cabin-card__body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.cabin-card__name { font-family: var(--font-serif); font-size: 18px; font-weight: 600; }
.cabin-card__price-label { font-size: 11px; letter-spacing: 0.14em; opacity: 0.55; }
.cabin-card__price { font-family: var(--font-serif); font-size: 15px; }
.cabin-card__num { font-size: 34px; font-weight: 600; margin-right: 4px; }
.cabin-card__monthly { font-size: 12.5px; opacity: 0.7; }
.cabin-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.cabin-card__tags li {
  font-size: 11px;
  padding: 3px 10px;
  border: 1px solid var(--beige);
  border-radius: 999px;
}
.cabin-card__note { font-size: 10.5px; opacity: 0.5; line-height: 1.6; }
.cabin-card__status {
  margin-top: auto;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  border-radius: 999px;
  padding: 4px 14px;
}
.cabin-card__status--few { background: #b0542f; }
.cabin-card__status--soldout { background: #7d7a72; }
.lineup__more { text-align: center; margin-top: 48px; }

/* ---------- Features ---------- */
.features__lead { max-width: 640px; margin-bottom: 64px; font-size: 14.5px; opacity: 0.8; }
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 72px;
}
.feature-row__num {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-row__title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 16px;
}
.feature-row__desc { font-size: 14px; opacity: 0.8; }
.feature-row__img img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.14);
}
.feature-row__img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Voice ---------- */
.voice { text-align: center; }
.voice__slider { max-width: 760px; margin: 0 auto; overflow: hidden; }
.voice__track {
  display: flex;
  transition: transform 0.5s ease;
}
.voice-card {
  flex: 0 0 100%;
  padding: 12px 20px;
  box-sizing: border-box;
}
.voice-card__text {
  font-family: var(--font-serif);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 2.1;
  text-align: left;
  margin-bottom: 18px;
}
.voice-card__meta { font-size: 13px; opacity: 0.6; text-align: right; }
.voice__nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 28px; }
.voice__arrow {
  border: 1px solid currentColor;
  background: none;
  color: inherit;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.25s;
}
.voice__arrow:hover { background: rgba(255, 255, 255, 0.1); }
.voice__dots { display: flex; gap: 10px; }
.voice__dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(128, 120, 105, 0.4);
  cursor: pointer;
}
.voice__dots button.is-active { background: var(--accent); }

/* ---------- How To Stay ---------- */
.howto__lead { font-size: 14px; opacity: 0.8; margin-bottom: 56px; }
.stay-day { margin-bottom: 72px; }
.stay-day__label {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.14em;
  border-bottom: 1px solid var(--beige);
  padding-bottom: 6px;
  margin-bottom: 8px;
}
.stay-day__title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 24px);
  margin-bottom: 32px;
}
.stay-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.stay-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
}
.stay-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.stay-card__img img { width: 100%; height: 100%; object-fit: cover; }
.stay-card__body, .stay-card { padding-bottom: 20px; }
.stay-card__title {
  font-size: 16px;
  padding: 16px 20px 0;
  font-weight: 700;
}
.stay-card__sub { font-size: 13px; color: var(--accent); padding: 4px 20px 0; }
.stay-card__desc { font-size: 13.5px; opacity: 0.75; padding: 8px 20px 0; }

.howto__closing {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 56px;
}
.howto__closing-lead {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.8vw, 25px);
  line-height: 1.9;
  margin-bottom: 20px;
}
.howto__closing-text { font-size: 14px; opacity: 0.8; margin-bottom: 12px; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta__stat { display: inline-block; }
.cta__stat-label {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.6;
}
.cta__stat-number { font-family: var(--font-serif); }
.cta__stat-num {
  font-size: clamp(72px, 12vw, 110px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--accent);
}
.cta__stat-foot { font-size: 12px; opacity: 0.5; margin: 8px 0 48px; }
.cta__box {
  max-width: 720px;
  margin: 0 auto;
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 48px 28px;
}
.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2.4vw, 20px);
  line-height: 1.9;
  margin-bottom: 28px;
}
.cta__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--green);
  color: var(--cream);
  text-align: center;
  padding: 72px 24px 40px;
}
.site-footer__en { font-size: 13px; letter-spacing: 0.22em; opacity: 0.7; }
.site-footer__copy-line {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.5vw, 30px);
  margin: 8px 0 40px;
}
.site-footer__copyright { font-size: 12px; opacity: 0.55; }

/* ---------- 左パネルの資料サムネ（JPG直リン防止の退避用・実ファイルあり） ---------- */

/* ---------- スクロール出現アニメ ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- モーション低減設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide { transition: none; }
}

/* ============================================================
   スマホ（≤900px）: 固定レイアウトを全て解除して通常スクロールに戻す
   ============================================================ */
@media (max-width: 900px) {
  .stage-bg { display: none; }
  body { background: var(--cream); }

  .side-panel, .side-tagline { display: none; }

  .center-col {
    width: 100%;
    min-height: 0;
    box-shadow: none;
    padding-top: var(--header-h); /* 固定ヘッダー分の余白 */
  }

  /* 中に入るカード系は既存の見た目のまま（グリッドは上で1列に切替済み） */
  .hero { min-height: 480px; height: 78svh; }
}

/* ============================================================
   ポップアップ（PC・スマホ共通で最前面）
   ============================================================ */
.popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 16, 10, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.popup[hidden] { display: none; }
.popup__inner {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 48px 40px 40px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  animation: popup-in 0.4s ease;
}
@keyframes popup-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.popup__logo { width: 150px; margin: 0 auto 20px; }
.popup__title {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.popup__cta { margin: 20px 0 12px; }
.popup__note { font-size: 12px; opacity: 0.55; }
.popup__close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
