@charset "UTF-8";

/* ============================================================
   バンガロー貨車＆ログ ─ B案「あそびにいこう」

   style.css（A案）のあとに読み込んで、色・書体・角の丸みを
   かぶせている。A案の組み方（見出し・カード・表）はそのまま使う。

   ・書体は丸ゴシック（Zen Maru Gothic）
   ・角は大きく丸める
   ・色は 生成り／空／若草／みかん の4色まで
   ・写真は丸や角丸で抜く

   色は白文字を載せても読める濃さにしてある（4.5:1 以上）。
   明るいみかん #f2942b は、文字を載せない飾りだけに使うこと。
   ============================================================ */

:root {
  --ink:        #33473f;
  --ink-soft:   #4d6055;
  --ink-mute:   #63776d;

  --forest:     #417f33;   /* 濃い面。白文字を載せる */
  --forest-dk:  #356e28;
  --moss:       #4e8b3d;
  --river:      #1f6f8f;   /* 空色。白文字を載せる／リンク色 */
  --river-lt:   #7cc4de;
  --wood:       #ad5c08;

  --accent:     #ad5c08;   /* 白文字を載せるみかん */
  --accent-dk:  #8f4b06;
  --accent-lt:  #f2942b;   /* 飾りだけ。文字を載せない */

  --cream:      #fff8ee;
  --sand:       #fdf1e0;
  --sand-dk:    #f6e4cc;
  --line:       #ecdfc9;
  --white:      #ffffff;

  --serif: "Zen Maru Gothic", "Hiragino Sans", sans-serif;
  --sans:  "Noto Sans JP", "Hiragino Sans", sans-serif;
  --latin: "Zen Maru Gothic", "Noto Sans JP", sans-serif;

  --radius: 20px;
  --shadow:    0 6px 20px rgba(60,50,35,.10);
  --shadow-lg: 0 16px 40px rgba(60,50,35,.17);
  --ease: cubic-bezier(.2,.8,.3,1);

  /* B案だけで使う色 */
  --sky-bg:  #e4f2f8;
  --leaf-bg: #eaf3e2;
}

body { font-size: 17px; line-height: 1.95; }
h1, h2, h3, h4 { font-weight: 900; letter-spacing: .01em; }

/* ---------- ヘッダー ---------- */
.site-head.is-stuck { background: rgba(255,248,238,.94); }
.brand-mark { border-radius: 50%; background: var(--accent-lt); }
.brand-jp { font-family: var(--serif); font-weight: 700; letter-spacing: .02em; }
.nav-desktop a { font-weight: 700; }
.btn-book-head {
  border-radius: 999px; background: var(--accent); color: #fff; border: 0;
  font-family: var(--serif); font-weight: 700; box-shadow: 0 3px 0 var(--accent-dk);
}
.btn-book-head:hover { background: var(--accent-dk); box-shadow: 0 4px 0 var(--accent-dk); }

/* ---------- ボタン ---------- */
.btn {
  border-radius: 999px; font-family: var(--serif); font-weight: 700;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.btn-primary { background: var(--accent); border-color: var(--accent); box-shadow: 0 4px 0 var(--accent-dk); }
.btn-primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 6px 0 var(--accent-dk); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--accent-dk); }
.btn-line { border-width: 2px; }

/* ---------- 見出し ---------- */
.sec-head h2, .intro-body h2, .page-hero h1 { font-family: var(--serif); }
/* A案の細い下線は消して、蛍光ペン風の線にする */
.sec-head h2::after { display: none !important; }
.sec-head h2 { position: relative; display: inline-block; z-index: 0; }
.sec-head h2::before {
  content: ""; position: absolute; left: -.18em; right: -.18em; bottom: .06em; height: .36em;
  background: rgba(242,148,43,.30); border-radius: 999px; z-index: -1;
}
.sec-head .en { display: none; }   /* 英字の小見出しは B案では出さない */

/* ---------- カード・囲み ---------- */
.notecard, .room-card, .season, .intro-media img, .ph-hero img { border-radius: var(--radius); }
.notecard { border: 0; box-shadow: var(--shadow); background: var(--white); }
.room-card { box-shadow: var(--shadow); }
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.room-more { font-family: var(--serif); font-weight: 700; }

.sec-sand { background: var(--sand); }
.sec-forest { background: var(--forest-dk); }

table.price { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.price thead th { font-family: var(--serif); font-weight: 700; }
table.price tbody tr:nth-child(odd) { background: rgba(255,255,255,.6); }

.deflist dt { font-family: var(--serif); font-weight: 700; }

/* 入力欄。まわりが丸いので、ここだけ角ばっていると浮く */
input[type="text"], input[type="tel"], input[type="email"], input[type="number"],
input[type="date"], input[type="search"], select, textarea {
  border-radius: 12px;
}
.field label, .book-side h3, .sum-head { font-family: var(--serif); font-weight: 700; }

/* ---------- フッター・下部バー ---------- */
.site-foot { background: var(--ink); }
.site-foot h3, .site-foot h4 { font-family: var(--serif); }
.mobile-bar .m-book { background: var(--accent); font-family: var(--serif); font-weight: 700; }
.mobile-bar .m-tel { font-family: var(--serif); font-weight: 700; }

/* ============================================================
   ここから下は、B案のトップページだけで使う部品
   ============================================================ */

.fwrap { width: min(100% - 2.4rem, 1100px); margin-inline: auto; }
.fwrap.narrow { max-width: 720px; }
.center { text-align: center; }

.fbtn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  padding: .85rem 1.6rem; border-radius: 999px; border: 3px solid transparent;
  font-family: var(--serif); font-weight: 700; font-size: 1rem; text-decoration: none;
  line-height: 1.4; min-height: 56px; cursor: pointer; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.fbtn small { font-size: .7rem; font-weight: 500; opacity: .9; }
.fbtn.sun   { background: var(--accent); color: #fff; box-shadow: 0 4px 0 var(--accent-dk); }
.fbtn.sun:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--accent-dk); background: var(--accent-dk); }
.fbtn.sun:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--accent-dk); }
.fbtn.line  { background: #fff; color: var(--river); border-color: var(--river); }
.fbtn.line:hover { background: var(--sky-bg); }
.fbtn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.fbtn.ghost:hover { background: rgba(255,255,255,.16); }
.fbtn.big { padding: 1.1rem 2.2rem; font-size: 1.1rem; min-height: 66px; }

/* ---------- トップのヒーロー ---------- */
.fhero { position: relative; padding: 0 0 clamp(2rem, 6vw, 4rem); }
.fhero-photo { position: relative; height: clamp(320px, 54vw, 580px); overflow: hidden; }
.fhero-photo img { width: 100%; height: 100%; object-fit: cover; }
.fhero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,40,35,.30), rgba(20,40,35,.05) 55%, rgba(255,248,238,.35));
}
.fhero-card {
  position: relative; z-index: 2;
  width: min(100% - 2.4rem, 780px); margin: -5.5rem auto 0;
  background: var(--white); border-radius: 28px; padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-lg); text-align: center;
}
.ftag {
  display: inline-block; background: var(--leaf-bg); color: var(--forest-dk);
  font-family: var(--serif); font-weight: 700; font-size: .82rem;
  padding: .25rem 1rem; border-radius: 999px; margin: 0;
}
.fhero-card h1 {
  font-family: var(--serif); font-size: clamp(1.9rem, 6.4vw, 3.1rem);
  margin: 1rem 0 1.1rem; line-height: 1.5;
}
.fhero-card h1 span { color: var(--river); }
.flead { font-size: clamp(.95rem, 2.4vw, 1.06rem); color: var(--ink-soft); margin: 0; }
.flead b { color: var(--ink); }
.fcta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }
.fnote { margin: 1.1rem 0 0; font-size: .72rem; color: #9aa79f; }

/* ---------- 波の区切り ---------- */
.wave { line-height: 0; }
.wave svg { width: 100%; height: clamp(40px, 5vw, 80px); display: block; }
.wave svg path { fill: var(--sand); }

/* ---------- セクション ---------- */
.fsec { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.fsec.cream { background: var(--sand); }
.fsec.sky   { background: var(--sky-bg); }
.fsec.leaf  { background: var(--leaf-bg); }
.fsec.last  { background: var(--forest); color: #fff; }

.fh2 { font-family: var(--serif); font-size: clamp(1.4rem, 4.4vw, 2.1rem); text-align: center; position: relative; z-index: 0; margin: 0; }
.fh2.left { text-align: left; }
.fh2.white { color: #fff; }
.fh2 .deco { position: relative; display: inline-block; }
.fh2 .deco::after {
  content: ""; position: absolute; left: -.2em; right: -.2em; bottom: .08em; height: .38em;
  background: rgba(242,148,43,.30); border-radius: 999px; z-index: -1;
}
.fh2.white .deco::after { background: rgba(255,255,255,.26); }
.fsub { text-align: center; color: var(--ink-soft); margin: .9rem 0 0; font-size: .95rem; }
.fsub.left { text-align: left; }
.fsub.white { color: rgba(255,255,255,.92); }
.fsub b { color: var(--ink); }
.fsub.white b { color: #fff; }

/* ---------- できることカード ---------- */
.fcards {
  list-style: none; margin: 2.4rem 0 0; padding: 0;
  display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.fcards li {
  background: var(--white); border-radius: var(--radius); padding: 1.4rem 1.2rem 1.6rem;
  text-align: center; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.fcards li:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.fcards .ph {
  display: block; width: 116px; height: 116px; margin: 0 auto .9rem;
  border-radius: 50%; overflow: hidden; border: 5px solid var(--sand);
}
.fcards .ph img { width: 100%; height: 100%; object-fit: cover; }
.fcards b { display: block; font-family: var(--serif); font-size: 1.08rem; margin-bottom: .35rem; }
.fcards span:last-child { display: block; font-size: .88rem; color: var(--ink-soft); line-height: 1.85; }

/* ---------- 2つ並び ---------- */
.fsplit { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
@media (min-width: 800px) { .fsplit { grid-template-columns: 1fr 1fr; } .fsplit.rev > :first-child { order: 2; } }
.fsplit .fbtn { margin-top: 1.4rem; }

.fbubbles { display: grid; gap: 1rem; }
.bub {
  position: relative; background: var(--white); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; font-size: .9rem; line-height: 2; box-shadow: var(--shadow); margin: 0;
}
.bub b { display: block; font-family: var(--serif); font-size: 1rem; margin-bottom: .3rem; }
.bub.have b { color: var(--forest-dk); }
.bub.need b { color: var(--accent); }
.bub::before {
  content: ""; position: absolute; left: 2.2rem; bottom: -12px;
  border: 12px solid transparent; border-top-color: var(--white); border-bottom: 0;
}
.bub:last-child::before { display: none; }

/* ---------- お部屋カード ---------- */
.frooms {
  list-style: none; margin: 2.4rem auto 0; padding: 0;
  display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
  max-width: 62rem;
}
.frooms a {
  display: block; background: var(--white); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; box-shadow: var(--shadow); height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.frooms a:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.frooms .ph { display: block; aspect-ratio: 4/3; overflow: hidden; }
.frooms .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.frooms a:hover .ph img { transform: scale(1.06); }
.frooms .badge {
  display: inline-block; margin: -1.1rem 0 0 1rem; position: relative;
  background: var(--river); color: #fff; font-family: var(--serif);
  font-size: .76rem; font-weight: 700; padding: .2rem .8rem; border-radius: 999px;
  box-shadow: var(--shadow);
}
.frooms .badge.tetsu { background: #6f5f4d; }
.frooms .badge.tatami{ background: var(--forest); }
.frooms b { display: block; font-family: var(--serif); font-size: 1.06rem; padding: .7rem 1.1rem 0; }
.frooms .meta { display: block; font-size: .82rem; color: var(--ink-soft); padding: 0 1.1rem; }
.frooms .yen {
  display: block; font-family: var(--serif); font-weight: 900;
  font-size: 1.5rem; color: var(--accent); padding: .3rem 1.1rem 1.2rem;
}
.frooms .yen small { font-size: .78rem; font-weight: 700; margin-left: .1rem; }

/* ---------- 一日の流れ ---------- */
.fsteps { list-style: none; margin: 2.4rem auto 0; padding: 0; max-width: 640px; }
.fsteps li { position: relative; padding: 0 0 1.6rem 6.2rem; min-height: 3.2rem; }
.fsteps li::before {
  content: ""; position: absolute; left: 4.6rem; top: .5rem; bottom: -.4rem; width: 3px;
  background: repeating-linear-gradient(to bottom, var(--forest) 0 5px, transparent 5px 11px);
  opacity: .5;
}
.fsteps li:last-child { padding-bottom: 0; }
.fsteps li:last-child::before { display: none; }
.fsteps b {
  position: absolute; left: 0; top: 0; width: 4rem; text-align: right;
  font-family: var(--serif); color: var(--forest-dk); font-size: .95rem;
}
.fsteps span { display: block; }

/* ---------- 家族 ---------- */
.fam-photo { background: var(--white); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); }
.fam-photo img { border-radius: 14px; width: 100%; }

/* ---------- よくある質問 ---------- */
.fqa { margin: 2.2rem 0 0; }
.fqa dt {
  position: relative; background: var(--white); border-radius: var(--radius) var(--radius) var(--radius) 4px;
  padding: .9rem 1.2rem .9rem 3.2rem; font-family: var(--serif); font-weight: 700;
  box-shadow: var(--shadow);
}
.fqa dt::before {
  content: "Q"; position: absolute; left: 1.1rem; top: .85rem;
  width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--river); color: #fff;
  display: grid; place-items: center; font-size: .84rem;
}
.fqa dd {
  margin: .6rem 0 1.6rem 1.6rem; padding: .2rem 0 0 1.6rem;
  border-left: 3px dotted rgba(31,111,143,.4); font-size: .92rem; color: var(--ink-soft);
}
.fqa dd b { color: var(--ink); }

/* ---------- 動き ---------- */
.js .fx { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .fx.in { opacity: 1; transform: none; }

@media (max-width: 520px) {
  .fhero-card { margin-top: -3.5rem; }
  .fcta .fbtn { width: 100%; }
  .fsteps li { padding-left: 5.4rem; }
  .fsteps b { width: 3.4rem; }
  .fsteps li::before { left: 3.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .js .fx { opacity: 1 !important; transform: none !important; }
}

/* いまネット予約を受けていない棟 */
.frooms a.soldout .ph img { filter: grayscale(.55); opacity: .82; }
.frooms .badge.closed { background: #6f6257; }
