/*
Theme Name:  OKINAWAtravel（ばんしるー邸）
Theme URI:   https://okinawatravel.jp/
Description: 沖縄県名護市の一棟貸し宿「ばんしるー邸」公式WordPressテーマ。琉球伝統×上質旅館トーンのデザイン。モデルコース記事で北部観光の直接予約導線を作る。
Author:      株式会社TOKU徳
Version:     1.0.0
License:     Private
Text Domain: okinawatravel
*/

/* =========================================================
   OKINAWAtravel — ばんしるー邸 公式サイト（トップページ）
   Design: 琉球伝統×上質旅館トーン（生成り・炭黒・瓦テラコッタ・深緑・金）
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  color: #1c2421;
  background: #faf9f6;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .02em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: transparent; }

:root {
  --clay:        #B85A3C;
  --clay-deep:   #96442c;
  --clay-soft:   #f3e2da;
  --pink:        #D47F74;
  --pink-deep:   #b8615a;
  --green:       #3F5E4D;
  --green-deep:  #2c4638;
  --green-soft:  #e7ede9;
  --gold:        #C5A880;
  --gold-line:   rgba(197,168,128,.35);
  --bg:          #FAF9F6;
  --bg-deep:     #f1ead9;
  --ink:         #1C2421;
  --ink-soft:    #788282;
  --line:        #06C755;
  --line-deep:   #04A845;
  --max-width:   1180px;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

.container { width: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: 20px; }

/* ---- Nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(250,249,246,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 68px;
}
.site-header-brand { font-size: 1.15rem; font-weight: 700; color: var(--ink); letter-spacing: .18em; }
.site-header-brand span { color: var(--clay); font-family: var(--sans); font-weight: 600; letter-spacing: .05em; }
.site-header-nav { display: flex; align-items: center; gap: 10px; }
.site-header-nav a {
  font-family: var(--sans); font-size: .72rem; font-weight: 600; padding: 8px 18px; border-radius: 3px;
  border: 1px solid rgba(28,36,33,.22); color: var(--ink); text-transform: uppercase; letter-spacing: .12em;
  white-space: nowrap; transition: all .25s;
}
.site-header-nav a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.site-header-nav .nav-line { background: var(--line); border-color: var(--line-deep); color: #fff; }
.site-header-nav .nav-line:hover { background: var(--line-deep); }
@media (max-width: 560px) {
  .site-header-nav a:not(.nav-line) { display: none; }
}

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 86vh; display: flex; align-items: flex-end;
  padding: 40px 20px 56px; overflow: hidden; background: var(--ink);
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,36,33,.25) 0%, rgba(28,36,33,.72) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; color: #fff; }
.hero-tag {
  display: inline-block; font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.4);
  border-radius: 3px; padding: 6px 16px; margin-bottom: 20px;
}
.hero-title { font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.7; margin-bottom: 18px; letter-spacing: .06em; }
.hero-sub { font-size: .96rem; opacity: .88; margin-bottom: 30px; max-width: 520px; line-height: 2; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-weight: 600; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .14em;
  padding: 15px 30px; border-radius: 3px; transition: all .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 8px 20px rgba(212,127,116,.35); }
.btn-primary:hover { background: var(--ink); }
.btn-line { background: var(--line); color: #fff; box-shadow: 0 8px 20px rgba(6,199,85,.3); }
.btn-outline { border: 1px solid #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-outline:hover { background: #fff; color: var(--ink); }

/* ---- Section shared ---- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-deep); }
.section-badge {
  display: inline-block; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--pink); margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 700; color: var(--ink); margin-bottom: 22px; line-height: 1.7;
  letter-spacing: .05em; position: relative; padding-bottom: 22px;
}
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 1px; background: var(--gold); }
.section-lead { color: var(--ink-soft); font-size: .92rem; max-width: 620px; margin-bottom: 44px; line-height: 2; }

/* ---- Promises ---- */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promise-card {
  background: #fff; border-radius: 6px; padding: 36px 26px; text-align: center;
  border: 1px solid var(--gold-line);
}
.promise-icon { font-size: 2rem; margin-bottom: 16px; }
.promise-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; letter-spacing: .04em; }
.promise-card p { font-size: .85rem; color: var(--ink-soft); line-height: 1.9; }
@media (max-width: 780px) { .promise-grid { grid-template-columns: 1fr; } }

/* ---- Course cards ---- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.course-card {
  display: block; background: #fff; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--gold-line); transition: transform .25s, box-shadow .25s;
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 20px 36px rgba(28,36,33,.1); }
.course-card-img { height: 175px; background-size: cover; background-position: center; position: relative; }
.course-card-days {
  position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-family: var(--sans);
  font-size: .68rem; font-weight: 600; letter-spacing: .08em; padding: 5px 13px; border-radius: 2px;
}
.course-card-body { padding: 20px 22px 26px; }
.course-card-body h3 { font-size: .96rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; line-height: 1.7; }
.course-card-body p { font-size: .8rem; color: var(--ink-soft); line-height: 1.8; }
@media (max-width: 780px) { .course-grid { grid-template-columns: 1fr; } }

.section-more { text-align: center; margin-top: 44px; }
.link-more { font-family: var(--sans); font-size: .78rem; letter-spacing: .1em; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--clay); padding-bottom: 3px; }

/* ---- Experience list ---- */
.exp-list { display: grid; gap: 16px; }
.exp-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start;
  background: #fff; border-radius: 6px; padding: 22px 26px; border: 1px solid var(--gold-line);
}
.exp-item-icon {
  width: 60px; height: 60px; border-radius: 50%; background: var(--green-soft);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.exp-item h3 { font-size: .96rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: .03em; }
.exp-item p { font-size: .84rem; color: var(--ink-soft); line-height: 1.85; }

/* ---- Stay info ---- */
.stay-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.stay-img { border-radius: 6px; overflow: hidden; height: 380px; background-size: cover; background-position: center; border: 1px solid var(--gold-line); }
.stay-info dl { display: grid; grid-template-columns: 90px 1fr; gap: 16px 18px; font-size: .86rem; }
.stay-info dt { font-weight: 700; color: var(--clay); }
.stay-info dd { color: var(--ink-soft); line-height: 1.8; }
@media (max-width: 860px) { .stay-wrap { grid-template-columns: 1fr; } .stay-img { height: 260px; } }

/* ---- LINE CTA ---- */
.line-cta {
  background: var(--green); border-radius: 6px; padding: 56px 34px; text-align: center; color: #fff;
  border: 1px solid rgba(255,255,255,.08);
}
.line-cta h2 { font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-weight: 700; margin-bottom: 16px; color: var(--gold); letter-spacing: .05em; }
.line-cta p { opacity: .82; margin-bottom: 28px; font-size: .88rem; line-height: 1.9; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 52px 20px 30px; text-align: center; }
.site-footer-brand { color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; letter-spacing: .1em; }
.footer-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin: 20px 0; font-family: var(--sans); font-size: .74rem; letter-spacing: .04em; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-family: var(--sans); font-size: .7rem; opacity: .55; letter-spacing: .04em; }

/* ---- Sticky booking bar (mobile) ---- */
.sticky-book {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: #fff; border-top: 1px solid var(--gold-line);
  display: none; padding: 10px 16px; box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  gap: 10px;
}
.sticky-book a { flex: 1; text-align: center; padding: 12px; border-radius: 3px; font-family: var(--sans); font-weight: 600; font-size: .8rem; letter-spacing: .06em; }
@media (max-width: 640px) { .sticky-book { display: flex; } body { padding-bottom: 64px; } }

/* ===== 記事ページ用スタイル（courses/article.css を統合） ===== */
/* =========================================================
   OKINAWAtravel — モデルコース記事ページ
   Design: 琉球伝統×上質旅館トーン（生成り・炭黒・瓦テラコッタ・深緑・金）
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  color: #1c2421;
  background: #faf9f6;
  line-height: 1.95;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .02em;
}

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

:root {
  --clay:        #B85A3C;
  --clay-deep:   #96442c;
  --clay-soft:   #f3e2da;
  --pink:        #D47F74;
  --pink-deep:   #b8615a;
  --green:       #3F5E4D;
  --green-deep:  #2c4638;
  --green-soft:  #e7ede9;
  --gold:        #C5A880;
  --gold-line:   rgba(197,168,128,.35);
  --bg:          #FAF9F6;
  --bg-deep:     #f1ead9;
  --ink:         #1C2421;
  --ink-soft:    #788282;
  --line:        #06C755;
  --line-deep:   #04A845;
  --max:         820px;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

/* ---- Nav ---- */
.site-nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(250,249,246,0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 64px;
}
.site-nav-brand { font-size: 1.05rem; font-weight: 700; color: var(--ink); letter-spacing: .16em; }
.site-nav-brand span { color: var(--clay); font-family: var(--sans); font-weight: 600; letter-spacing: .05em; }
.site-nav-back { font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .06em; color: var(--ink); }

/* ---- Hero ---- */
.article-hero { position: relative; height: 300px; display: flex; align-items: flex-end; padding: 30px 20px; overflow: hidden; background: var(--ink); }
.article-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.article-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,36,33,.15) 0%, rgba(28,36,33,.78) 100%); }
.article-hero-inner { position: relative; z-index: 2; color: #fff; max-width: var(--max); margin: 0 auto; width: 100%; }
.article-hero-tag {
  display: inline-block; font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; background: var(--pink);
  padding: 5px 15px; border-radius: 2px; margin-bottom: 14px;
}
.article-hero-title { font-size: clamp(1.25rem, 3.4vw, 1.9rem); font-weight: 700; line-height: 1.8; letter-spacing: .04em; }
.article-hero-sub { font-size: .84rem; opacity: .86; margin-top: 10px; }

/* ---- Body ---- */
.article-wrap { max-width: var(--max); margin: 0 auto; padding: 44px 20px 84px; }
.article-lead { background: #fff; border-left: 3px solid var(--clay); border-radius: 0 6px 6px 0; padding: 24px 26px; margin-bottom: 36px; font-size: .9rem; border-top: 1px solid var(--gold-line); border-right: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); }
.article-lead ul { padding-left: 1.1em; list-style: disc; margin-top: 10px; color: var(--ink-soft); }

.article-section { margin-bottom: 48px; }
.section-badge {
  display: inline-block; font-family: var(--sans); font-size: .66rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--pink); margin-bottom: 14px;
}
.article-h2 { font-size: 1.35rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: .04em; }
.article-h2-sub { font-size: .8rem; color: var(--ink-soft); margin-bottom: 20px; }

.day-timeline { display: grid; gap: 16px; }
.day-item {
  display: grid; grid-template-columns: 84px 1fr; gap: 20px; background: #fff;
  border-radius: 6px; padding: 20px 22px; border: 1px solid var(--gold-line);
}
.day-item-time { font-family: var(--sans); font-size: .76rem; font-weight: 700; color: var(--pink); letter-spacing: .04em; }
.day-item h3 { font-size: .96rem; font-weight: 700; margin-bottom: 8px; letter-spacing: .02em; }
.day-item p { font-size: .84rem; color: var(--ink-soft); line-height: 1.85; }
.day-item .meta { font-family: var(--sans); font-size: .72rem; color: var(--clay); margin-top: 8px; letter-spacing: .02em; }

.stay-block {
  background: #fff; border: 1px solid var(--clay); border-radius: 6px; padding: 24px 26px; margin: 10px 0;
}
.stay-block-tag { font-family: var(--sans); font-size: .68rem; font-weight: 700; color: var(--clay); letter-spacing: .12em; margin-bottom: 8px; text-transform: uppercase; }
.stay-block h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; letter-spacing: .03em; }
.stay-block p { font-size: .85rem; color: var(--ink-soft); margin-bottom: 5px; line-height: 1.85; }

.info-box { background: #fff; border-radius: 6px; padding: 22px 24px; border: 1px solid var(--gold-line); margin-top: 16px; }
.info-box-title { font-family: var(--sans); font-size: .76rem; font-weight: 700; color: var(--clay); margin-bottom: 12px; letter-spacing: .06em; }
.info-box table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.info-box td { padding: 8px 4px; border-bottom: 1px solid var(--gold-line); }
.info-box td:first-child { font-weight: 700; color: var(--ink-soft); width: 40%; font-family: var(--sans); font-size: .74rem; }

.article-body { font-size: .92rem; color: var(--ink); line-height: 1.95; }
.article-body strong { color: var(--clay-deep); }

/* ---- Lodging partial (共通パーツ) ---- */
.lodging-partial {
  background: var(--green); color: #fff; border-radius: 6px; padding: 36px 30px; margin: 52px 0;
}
.lodging-partial-tag { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); display: inline-block; margin-bottom: 16px; }
.lodging-partial h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; letter-spacing: .04em; }
.lodging-partial p { font-size: .87rem; opacity: .88; margin-bottom: 20px; line-height: 1.9; }
.lodging-partial-features { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.lodging-partial-features span { font-family: var(--sans); font-size: .72rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 2px; padding: 6px 14px; }
.lodging-partial-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 13px 26px; border-radius: 3px; transition: all .2s; }
.btn-white { background: #fff; color: var(--green-deep); }
.btn-white:hover { background: var(--gold); }
.btn-line { background: var(--line); color: #fff; }

/* ---- Related ---- */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { background: #fff; border-radius: 6px; padding: 18px 20px; border: 1px solid var(--gold-line); font-size: .84rem; font-weight: 700; transition: border-color .2s; }
.related-card:hover { border-color: var(--clay); }
@media (max-width: 780px) { .related-grid { grid-template-columns: 1fr; } }

/* ---- LINE CTA ---- */
.line-cta-inline {
  background: var(--clay); color: #fff; border-radius: 6px; padding: 30px 28px; text-align: center; margin: 44px 0;
}
.line-cta-inline h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; letter-spacing: .03em; }
.line-cta-inline p { font-size: .84rem; opacity: .9; margin-bottom: 18px; line-height: 1.85; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 44px 20px 26px; text-align: center; font-family: var(--sans); font-size: .74rem; letter-spacing: .02em; }
.site-footer a { color: rgba(255,255,255,.85); }
