/* ============================================================
   おそとのフードマーケット CBCハウジング名駅北 LP
   参考トンマナ: 生成り × ゴールドの細罫 × 明朝体 × 広めの字間

   2026-09 納品 LP (assets/css/style.css) を WordPress テーマに組み込んだもの。
   single-ofm-cbc-meieki.php / header-ofm-lp.php / footer-ofm-lp.php から読み込む。
   共通の style.css / Bootstrap とは併用しない前提 (セレクタが衝突する)。
   ============================================================ */
:root {
  --gold: #d1ad80;
  --gold-dark: #a57a43;
  --gray-light: #f3f3f3;
  --cream: #f1ede1;
  --cream-light: #f7f4ed;
  --ink: #111;
  --ink-soft: #444;
  --gray: #777;
  --white: #fff;
  --line: #06c755;
  --line-dark: #05a847;
  --yellow: #fffff0;
  --orange: #ff6633;
  --orange-dark: #eb6407;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --en: "Cormorant Garamond", "Noto Serif JP", serif;
  --ls: .1em;
  --container: 1120px;
  --fixed-cta-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 2;
  letter-spacing: var(--ls);
  font-size: 15px;
  padding-bottom: var(--fixed-cta-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration: none; transition: opacity .3s; }
a:hover { opacity: .7; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, p, dl, dd, figure { margin: 0; }
h1, h2, h3, h4, h5 { font-weight: 500; line-height: 1.7; }
button { font-family: inherit; letter-spacing: inherit; cursor: pointer; }
.en { font-family: var(--en); letter-spacing: .15em; }
.sp { display: none; }
.pc { display: inline; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }

/* 見出しラベル（英字） */
.sec-label {
  text-align: center;
  color: var(--orange-dark);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .3em;
  margin-bottom: 14px;
}
.sec-label::after {
  content: "";
  display: block;
  width: 1px; height: 28px;
  background: var(--orange-dark);
  margin: 10px auto 0;
}

/* 背景 */
.bg-white{
  background: white;
}

/* スペース余白 */
.py-2{
  padding: 1rem !important;
}

/* ボタン */
.btn {
  display: inline-block;
  min-width: 260px;
  padding: 14px 44px 14px 32px;
  border-radius: 999px;
  border: 1px solid var(--orange-dark);
  color: var(--orange-dark);
  background: var(--white);
  font-size: 14px;
  letter-spacing: var(--ls);
  text-align: center;
  position: relative;
  transition: color .6s, background .6s;
  line-height: 1.6;
}
/* .btn::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
} */
.btn:hover { color: var(--white); background: var(--orange-dark); opacity: 1; }
.btn--sm { min-width: 0; padding: 7px 30px 7px 18px; font-size: 12px; }
.btn--sm::after { right: 14px; width: 5px; height: 5px; }
.btn--line {
  background: var(--line);
  border-color: var(--line);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  padding: 18px 52px 18px 40px;
  box-shadow: 0 8px 24px rgba(6, 199, 85, .25);
}
.btn--line:hover { background: var(--line-dark); border-color: var(--line-dark); }
.line-ico { width: 24px; height: 24px; vertical-align: -6px; margin-right: 8px; }

/* ---------- ヘッダー ---------- */
.header { position: relative; z-index: 20; background: var(--white); }
.header__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid var(--orange-dark);
}
.header__logo img { width: 150px; }
.header__catch {
  display: flex; flex-direction: column; align-items: center;
  font-size: 12px; line-height: 1.6; letter-spacing: .15em; color: var(--ink-soft);
}
.header__catch .en { font-size: 15px; color: var(--orange-dark); }
.header__menu { display: none; }
.gnav { border-bottom: 1px solid var(--orange-dark); }
.gnav ul { display: flex; justify-content: center; flex-wrap: wrap; }
.gnav a {
  display: block; padding: 12px 18px;
  font-size: 13px; color: var(--ink); letter-spacing: .12em;
  position: relative;
}
.gnav a::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 8px;
  height: 1px; background: var(--orange-dark);
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.gnav a:hover { opacity: 1; }
.gnav a:hover::after { transform: scaleX(1); }

/* ---------- ヒーロー ---------- */
.hero { position: relative; overflow: hidden; }
.hero__img img { width: 100%; height: clamp(420px, 70vh, 720px); object-fit: cover; }
.hero__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,.55), rgba(17,17,17,.05) 55%);
}
.hero__text {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 24px 56px;
  text-align: center; color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.hero__sub { font-size: 15px; letter-spacing: .2em; line-height: 1.8; margin-bottom: 14px; }
.hero__title {
  font-weight: 300; letter-spacing: .15em; line-height: 1.4;
  text-align: center;
  background: var(--yellow); }
.hero__addr { margin-top: 10px; font-size: 13px; letter-spacing: .12em; }
.hero__addr a { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.hero__date {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 24px; padding: 10px 26px;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(17,17,17,.3);
  backdrop-filter: blur(3px);
  font-size: 14px; letter-spacing: .15em;
}
.hero__date .en { font-size: 16px; text-transform: uppercase; color: var(--orange-dark); }

/* ---------- コンセプト ---------- */
.concept { text-align: center; padding: 96px 24px 104px; }
.concept__title { font-size: clamp(22px, 2.8vw, 30px); letter-spacing: .15em; line-height: 1.9; margin-bottom: 32px; }
.concept__lead { max-width: 680px; margin: 0 auto 44px; font-size: 15px; line-height: 2.4; }

/* ---------- 次回開催 ---------- */
.next {
  background: var(--yellow);
  border-top: 1px solid var(--orange-dark);
  padding: 88px 0 100px;
}
.next__title { text-align: center; font-size: clamp(20px, 2.6vw, 28px); letter-spacing: .12em; }
.next__title strong { font-weight: 600; color: var(--orange); }
.next__time { text-align: center; font-size: clamp(18px, 2.2vw, 22px); margin-top: 6px; }
.next__sub { text-align: center; font-size: 14px; color: var(--ink-soft); margin-top: 12px; }

.tabs {
  display: flex; justify-content: center; gap: 12px;
  margin: 44px auto 0;
  flex-wrap: wrap;
}
.tab {
  min-width: 200px; padding: 14px 20px;
  background: var(--white);
  border: 1px solid var(--orange-dark);
  border-radius: 999px;
  color: var(--orange-dark);
  font-size: 14px; letter-spacing: .12em;
  transition: background .5s, color .5s;
  line-height: 1.6;
}
.tab:hover { background: var(--cream); }
.tab.is-active { background: var(--orange-dark); color: var(--white); }

.panel { margin-top: 56px; }
.panel__title { text-align: center; font-size: clamp(17px, 2vw, 21px); color: var(--orange-dark); letter-spacing: .12em; border-bottom: 1px solid var(--orange-dark);}
.panel__lead { text-align: center; font-size: 14px; margin-top: 6px; }
.panel__empty { text-align: center; color: var(--gray); padding: 40px 0; }

/* 出店者グリッド */
.shops {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
  margin-top: 44px;
}
.shop__card {
  display: block; width: 100%; height: 100%;
  padding: 0; border: 1px solid var(--gray-light); background: var(--white);
  text-align: left; color: var(--ink);
  transition: box-shadow .4s, transform .4s;
}
.shop__card:hover { box-shadow: 0 12px 32px rgba(165,122,67,.18); transform: translateY(-3px); }
.shop__food { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--orange-dark); }
.shop__food img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.shop__card:hover .shop__food img { transform: scale(1.04); }
.shop__body { padding: 16px 16px 18px; }
.shop__name { font-size: 16px; line-height: 1.5; letter-spacing: .08em; }
.shop__cat { font-size: 12.5px; color: var(--gold-dark); margin-top: 4px; line-height: 1.6; }
.shop__maker { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.shop__maker img { height: 60px; object-fit: cover; border-radius: 0%; border: 0px solid var(--orange-dark); flex: none; }

/* 体験コーナー */
.ws-list { margin-top: 44px; }
.ws {
  display: grid; grid-template-columns: 300px 1fr; gap: 36px;
  padding: 44px 0; border-bottom: 1px solid var(--orange-dark);
}
.ws:last-child { border-bottom: 1px solid var(--orange-dark); }
.ws__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ws__title { font-size: 18px; color: var(--orange-dark); letter-spacing: .1em; margin-bottom: 16px; line-height: 1.7; }
.ws__text p { font-size: 14.5px; line-height: 2.1; margin-bottom: 14px; }
.ws__text p:last-child { margin-bottom: 0; }
.ws__text p:has(> img:only-child) { display: inline-block; width: calc(50% - 8px); vertical-align: top; margin-right: 8px; } /* inline-block 間の空白分を見込んで 2 枚横並びにする */
.ws__text p:has(> img:only-child) + p:has(> img:only-child) { margin-right: 0; }
.ws__text img { width: 100%; }
.ws--noimg { grid-template-columns: 1fr; }
.ws__label { font-size: 12.5px; color: var(--orange-dark); letter-spacing: .2em; margin-bottom: 6px; line-height: 1.6; }

/* ---------- LINE セクション ---------- */
.line-sec {
  padding: 96px 0;
  background: var(--white);
  border-top: 0px solid var(--orange-dark);
  text-align: center;
}
.line-sec__title { font-size: clamp(22px, 3vw, 32px); letter-spacing: .15em; line-height: 1.8; }
.line-sec__lead { margin: 24px auto 40px; font-size: 14.5px; line-height: 2.3; }
.line-cta {
  background: var(--yellow);
  border: 1px solid var(--orange-dark);
  padding: 40px 24px 32px;
  position: relative;
}
.line-cta::before {
  content: ""; position: absolute; inset: 6px;
  border: 1px solid var(--orange-dark); pointer-events: none; opacity: .6;
}
.line-cta__label { font-size: 13px; color: var(--orange-dark); letter-spacing: .3em; }
.line-cta__offer { font-size: clamp(20px, 2.6vw, 26px); font-weight: 500; letter-spacing: .12em; line-height: 1.7; margin: 8px 0 24px; }
.line-cta__note { margin-top: 18px; font-size: 12.5px; color: var(--gray); font-family: var(--sans); letter-spacing: .05em; }

/* ---------- アクセス ---------- */
.access { padding: 96px 0 110px; background: var(--yellow); border-top: 1px solid var(--orange-dark); }
.access__title { text-align: center; font-size: clamp(22px, 2.8vw, 28px); letter-spacing: .15em; margin-bottom: 44px; }
.access__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.access__info h4 { font-size: 20px; letter-spacing: .12em; margin-bottom: 8px; }
.access__info > p { font-size: 14.5px; }
.access__info dl { margin-top: 20px; border-top: 1px solid var(--orange-dark); }
.access__info dl > div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-light); font-size: 14px; }
.access__info dt { color: var(--orange-dark); }
.access__note { margin-top: 18px; font-size: 12.5px; color: var(--gray); line-height: 1.9; }
.access__map iframe { display: block; border: 1px solid var(--orange-dark); }

/* ---------- フッター ---------- */
.footer { background: var(--white); }
.footer__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 36px 8%;
  border-top: 0px solid var(--orange-dark); border-bottom: 0px solid var(--orange-dark);
}
.footer__logo img { width: 160px; }
.sns { display: flex; gap: 22px; }
.sns a { color: var(--ink); }
.sns svg { width: 26px; height: 26px; }
.footer__bottom { text-align: center; padding: 26px 24px 30px; }
.footer__links { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; font-size: 12.5px; }
.footer__links a { color: var(--ink-soft); }
.footer__copy { margin-top: 12px; font-size: 12px; color: var(--gray); letter-spacing: .12em; }

/* ---------- 固定 LINE CTA ---------- */
.fixed-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; justify-content: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid #ff6633;
  transform: translateY(0);
  transition: transform .4s;
}
.fixed-cta.is-hidden { transform: translateY(110%); }
.fixed-cta__btn {
  display: flex; align-items: center; gap: 14px;
  width: 100%; max-width: 560px;
  padding: 10px 22px 10px 16px;
  border-radius: 999px;
  background: var(--line);
  color: var(--white);
  font-family: var(--sans);
  box-shadow: 0 8px 24px rgba(6,199,85,.35);
  transition: background .3s, transform .3s;
}
.fixed-cta__btn:hover { background: var(--line-dark); opacity: 1; transform: translateY(-2px); }
.fixed-cta__ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--line); display: grid; place-items: center; }
.fixed-cta__ico svg { width: 28px; height: 28px; }
.fixed-cta__text { display: flex; flex-direction: column; line-height: 1.35; letter-spacing: .04em; }
.fixed-cta__text small { font-size: 11.5px; opacity: .95; }
.fixed-cta__text strong { font-size: 16px; font-weight: 700; }
.fixed-cta__btn::after {
  content: ""; margin-left: auto;
  width: 8px; height: 8px;
  border-top: 2px solid var(--white); border-right: 2px solid var(--white);
  transform: rotate(45deg);
}

/* ---------- モーダル ---------- */
.modal {
  border: none; padding: 0; margin: auto;
  width: min(92vw, 820px); max-height: 90vh;
  background: transparent;
  overflow: visible;
}
.modal::backdrop { background: rgba(17,17,17,.7); }
.modal__inner {
  background: var(--white);
  border: 1px solid var(--orange-dark);
  max-height: 90vh; overflow-y: auto;
  padding: 44px 40px 32px;
  position: relative;
}
.modal__close {
  position: sticky; top: 0; float: right; z-index: 2;
  width: 40px; height: 40px; margin: -30px -26px 0 0;
  border: 1px solid var(--orange-dark); border-radius: 50%;
  background: var(--white); color: var(--orange-dark);
  font-size: 22px; line-height: 1;
}
.modal__head { text-align: center; padding-bottom: 24px; border-bottom: 1px solid var(--orange-dark); }
.modal__name { font-size: 24px; letter-spacing: .12em; }
.modal__area { font-size: 13px; color: var(--gray); }
.modal__cat { font-size: 14px; color: var(--orange-dark); margin-top: 2px; }
.modal__catch { font-size: 15px; margin-top: 14px; line-height: 1.9; }
.modal__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.modal__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.modal__body { padding-top: 28px; }
.points { background: var(--yellow); border: 0px solid var(--orange-dark); padding: 22px 28px 18px; margin-bottom: 30px; }
.points__title { text-align: center; font-size: 16px; color: var(--orange-dark); letter-spacing: .15em; margin-bottom: 10px; }
.points li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.9; margin: 8px 0; }
.points li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 1px; background: var(--orange-dark); }
.story p { font-size: 14.5px; line-height: 2.1; margin-bottom: 16px; }
.story img { margin: 8px auto; max-height: 420px; object-fit: contain; }
.info { margin-top: 26px; border-top: 1px solid var(--orange-dark); }
.info__row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--orange-dark); font-size: 13.5px; } /* 「オンラインショップ」が折り返さない幅 */
.info dt { color: var(--orange-dark); }
.info dd p { margin: 0; }
.info a { word-break: break-all; }
.info small { font-size: 12px; }
.covid19 { margin: 0 0 26px; padding: 16px 20px; border: 1px solid var(--orange-dark); background: var(--yellow); font-size: 13.5px; line-height: 1.9; }
.covid19 h5 { font-size: 14px; color: var(--orange-dark); margin-bottom: 6px; }
.modal__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  .shops { grid-template-columns: repeat(2, 1fr); margin-top: 20px;}
  .shop__body {padding: 10px 8px;}
  .shop__maker img{height:60px}
  .btn--sm{padding: 7px 5px;border-radius: 1px;}
  .ws{grid-template-columns: inherit; gap: 20px 10px; padding-top: 30px;}
  .ws-list{margin-top: 0;}
  .header__catch { display: none; }
  .access__grid{grid-template-columns: inherit;}
}
@media (max-width: 767px) {
  body { font-size: 14px; }
  .sp { display: inline; }
  .pc { display: none; }
  .container { padding: 10px 18px; }

  .header__row { padding: 14px 18px; }
  .header__logo img { width: 120px; }
  .header__menu {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 40px; height: 40px; padding: 0 8px;
    background: none; border: 1px solid var(--orange-dark);
  }
  .header__menu span { display: block; height: 1px; background: var(--ink); transition: transform .3s, opacity .3s; }
  .header__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .header__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .gnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); }
  .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; }
  .gnav a { padding: 13px 24px; border-bottom: 1px solid var(--cream); }
  .gnav a::after { display: none; }

  .hero__img img { height: 64vh; }
  .hero__title {font-size: 24px;
  .hero__text { padding-bottom: 36px; }
  .hero__sub { font-size: 13px; }
  .hero__date { font-size: 13px; padding: 8px 18px; gap: 10px; }

  .concept { padding: 64px 18px 72px; }
  .concept__lead { line-height: 2.2; text-align: left; }
  .btn { min-width: 0; width: 100%; max-width: 360px; }

  .next { padding: 64px 0 72px; }
  .tabs { gap: 8px; }
  .tab { flex: 1; min-width: 0; padding: 10px 6px; font-size: 12.5px; line-height: 1.5; border-radius: 12px; }
  .shops { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; margin-top: 32px; }
  .shop__body { padding: 12px 12px 14px; }
  .shop__name { font-size: 14px; }
  .shop__cat { font-size: 11.5px; }
  .shop__maker { flex-direction: column; align-items: flex-start; gap: 8px; }
  .shop__maker .btn--sm { width: 100%; max-width: none; }

  .ws { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .ws__title { font-size: 16px; }

  .line-sec { padding: 64px 0; }
  .line-cta { padding: 30px 16px 26px; }

  .access { padding: 64px 0 80px; }
  .access__grid { grid-template-columns: 1fr; gap: 28px; }

  .footer__row { flex-direction: column; gap: 20px; padding: 30px 18px; }

  .modal { width: 96vw; }
  .modal__inner { padding: 36px 20px 24px; }
  .modal__close { margin: -24px -8px 0 0; width: 36px; height: 36px; }
  .modal__name { font-size: 20px; }
  .modal__photos { grid-template-columns: 1fr 1fr; gap: 8px; }
  .points { padding: 18px 16px 14px; }
  .info__row { grid-template-columns: 1fr; gap: 2px; }

  :root { --fixed-cta-h: 78px; }
  .fixed-cta__btn { padding: 8px 16px 8px 10px; }
  .fixed-cta__text strong { font-size: 15px; }
}
