/* =========================================================
   ONE FIFTH CAFE 専用スキン（Figma「ONE FIFTH CAFE 様」の再現・2026-10-13）
   - header.php から全フロントページで読み込む（head の style.css / blocks.css / custom.css より後＝同じ詳細度なら勝つ）
   - 標準ブロックへの指定は body を前に付けて、ブロック個別 CSS（custom.css）より強くしてある
   - 寸法の正本：docs/figma/inventory/（PC 1440・SP 375）。SP のデザインは TOP だけ → 下層の SP は TOP の縮め方に合わせた
   - 切替：1100px 未満でヘッダーをハンバーガーに、768px 未満で SP のレイアウトに
   ========================================================= */

:root {
  --ofc-bg: #EADFCD;          /* 地（ロゴの色のベージュ） */
  --ofc-ink: #40372D;         /* 文字・線・フッター（ダークブラウン） */
  --ofc-sand: #D9C7B2;        /* 重ねの面・カテゴリー札 */
  --ofc-gray: #B2B2B2;
  --ofc-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ofc-ant: "Zen Kaku Gothic Antique", "Zen Kaku Gothic New", sans-serif;
  --ofc-en: "Montserrat", "Zen Kaku Gothic New", sans-serif;
  --ofc-head-h: 121px;        /* 固定ヘッダーの高さ（MV・ヒーローの上端） */
  --ofc-side: max(40px, calc((100% - 1280px) / 2));   /* 1440 で 80 */
  --ofc-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 10'%3E%3Cpath d='M0 5h15.6M11.6 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E");
  --ofc-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ofc-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12z' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
}
@media (max-width: 1099px) { :root { --ofc-head-h: 94px; } }
@media (max-width: 767px)  { :root { --ofc-side: 20px; } }

/* ---------- 土台 ---------- */
html { scroll-padding-top: calc(var(--ofc-head-h) + 10px); }
body {
  background: var(--ofc-bg) !important;
  color: var(--ofc-ink);
  font-family: var(--ofc-sans);
  font-weight: 400;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
body::before { display: none !important; }
body a { color: inherit; text-decoration: none; }
body img { max-width: 100%; }
.ofc-b, .ofc-b * , .ofc-footer, .ofc-footer * { box-sizing: border-box; }
/* 既定の余白を消す（:where で詳細度 0＝部品の指定がいつも勝つ） */
:where(.ofc-b, .ofc-footer) :where(figure, p, h2, h3, dl, dd, ul) { margin: 0; padding: 0; }
:where(.ofc-b) ul { list-style: none; }
.sp-br { display: none; }
@media (max-width: 767px) { .sp-br { display: inline; } .pc-br { display: none; } }

/* セクションの間隔（Figma の縦の gap 80）。中の地（テクスチャ）は間隔の外に出さない */
.ofc-b--gap { padding-top: 80px; }
.ofc-b--lead { padding-top: 60px; }
@media (max-width: 767px) { .ofc-b--gap { padding-top: 40px; } .ofc-b--lead { padding-top: 40px; } }

/* テクスチャ（Figma の画像の塗り＝cover） */
.ofc-tex-washi    { background: #fff url("/image/assets/ofc_tex_washi.webp") center / cover; }
.ofc-tex-concrete { background: var(--ofc-sand) url("/image/assets/ofc_tex_concrete.webp") center / cover; }
.ofc-tex-wood     { background: #e9d6b8 url("/image/assets/ofc_tex_wood.webp") center / cover; }

/* ---------- フェードアップ（申し送り：全体に） ----------
   ブロックの枠（custom_html の外枠）は動かさず、中の見出し・文章・写真ごとに。--d で少し遅らせる */
body .custom-html-wrapper.fade-up { opacity: 1 !important; transform: none !important; transition: none !important; }
body .fade-up { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; transition-delay: var(--d, 0s); }
body .fade-up.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { body .fade-up { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ---------- 部品：ボタン・矢印・電話アイコン ---------- */
.ofc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 200px; height: 41px; padding: 10px; border: 1px solid currentColor; border-radius: 140px;
  background: rgba(255, 255, 255, .05); color: var(--ofc-ink);
  font: 400 16px/19.2px var(--ofc-en); letter-spacing: 0; white-space: nowrap;
  transition: background-color .3s ease, color .3s ease;
}
.ofc-btn:hover { background: var(--ofc-ink); color: #fff; border-color: var(--ofc-ink); }
.ofc-btn--white { color: #fff; }
.ofc-btn--white:hover { background: #fff; color: var(--ofc-ink); border-color: #fff; }
.ofc-arrow, .ofc-ico-tel, .ofc-ico-pin { display: inline-block; flex: none; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ofc-arrow { --m: var(--ofc-arrow); width: 17px; height: 10px; margin-right: -2px; }
.ofc-ico-tel { --m: var(--ofc-tel); width: 15px; height: 15px; }
.ofc-ico-pin { --m: var(--ofc-pin); width: 18px; height: 18px; }
.ofc-btn--tel { gap: 11px; }
@media (max-width: 767px) {
  .ofc-btn { width: 160px; height: 38px; font-size: 13px; line-height: 15.6px; }
  .ofc-arrow { width: 12px; height: 8px; }
  .ofc-ico-tel { width: 13px; height: 13px; }
}

/* 見出し：英字＋下線（320 幅）。右寄せ・白・縦書きの型 */
.ofc-head {
  display: flex; align-items: center; width: 320px; max-width: 100%; height: 35px; padding: 0 0 5px; margin: 0;
  border-bottom: 1px solid currentColor; color: var(--ofc-ink);
  font: 400 24px/28.8px var(--ofc-en); letter-spacing: 0;
}
.ofc-head--white { color: #fff; }
.ofc-vhead {
  writing-mode: vertical-rl; flex: none; inline-size: 320px; block-size: 35px; padding-block-end: 5px; margin: 0;
  border-block-end: 1px solid var(--ofc-ink); color: var(--ofc-ink);
  font: 400 24px/28.8px var(--ofc-en); letter-spacing: 0; white-space: nowrap;
}
@media (max-width: 767px) {
  .ofc-vhead { writing-mode: horizontal-tb; inline-size: 320px; max-width: 100%; block-size: 25px; font-size: 16px; line-height: 19.2px; }
}

/* 見出し＋本文の列（ABOUT・MENU・Q&A・こだわり・看板メニュー共通） */
.ofc-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; flex: 0 1 480px; min-width: 0; padding-top: 120px; }
.ofc-copy__title { margin: 0; font: 400 32px/51.2px var(--ofc-sans); letter-spacing: 0; color: var(--ofc-ink); }
/* Figma は箱の幅ちょうどの行（全角30字＝480px）を折り返すが Chrome は収める → 右に 4px 空けて同じ改行に */
.ofc-copy__text { align-self: stretch; margin: 0; padding-right: 4px; font: 400 16px/32px var(--ofc-sans); letter-spacing: 0; }
.ofc-copy__price { margin: 0; font: 400 20px/38px var(--ofc-sans); }
.ofc-copy__price span { font-size: 24px; line-height: 0; }
@media (max-width: 767px) {
  .ofc-copy { flex: none; width: 100%; padding-top: 0; gap: 20px; }
  .ofc-copy__title { font-size: 20px; line-height: 32px; }
  .ofc-copy__text { font-size: 13px; line-height: 26px; }
  .ofc-copy__price { font-size: 16px; line-height: 26px; }
  .ofc-copy__price span { font-size: 20px; }
}

/* ---------- ヘッダー ---------- */
body .global-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; width: 100%; height: var(--ofc-head-h); min-height: 0;
  display: flex; align-items: flex-start; justify-content: flex-end; gap: 40px; padding: 40px 80px 0 40px;
  background: var(--ofc-bg); border: 0; backdrop-filter: none; box-shadow: none;
  transition: height .35s ease, padding .35s ease, box-shadow .35s ease;
}
body .global-header .header-logo {
  position: absolute; top: 20px; left: 40px; display: block; width: 162px; height: 199px; padding: 0; margin: 0;
  transition: width .35s ease, height .35s ease, top .35s ease;
}
body .global-header .header-logo img { display: block; width: 100% !important; height: 100% !important; max-height: none !important; object-fit: contain; }
body .global-header .desktop-nav { display: flex; align-items: flex-start; justify-content: flex-end; gap: 40px; margin: 0; }
body .global-header .desktop-nav a,
body .ofc-footer__nav a,
body .mobile-nav-overlay > a {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px;
  color: var(--ofc-ink); font: 400 16px/19.2px var(--ofc-en); letter-spacing: 0; white-space: nowrap;
}
body .global-header .desktop-nav a::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 0; height: 1px; background: currentColor; transition: width .3s ease, left .3s ease; }
body .global-header .desktop-nav a:hover::after, body .global-header .desktop-nav a.active::after { left: 0; width: 100%; }
.nav-en { display: block; font: 400 16px/19.2px var(--ofc-en); }
.nav-ja { display: block; font: 400 14px/16.8px var(--ofc-sans); }
body .global-header .header-btns { display: flex; gap: 10px; margin: 0; }
body .global-header .btn-header-tel {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px; width: 200px; height: 41px; padding: 10px;
  border: 1px solid var(--ofc-ink); border-radius: 140px; background: rgba(255, 255, 255, .05);
  color: var(--ofc-ink); font: 400 16px/19.2px var(--ofc-en); letter-spacing: 0; white-space: nowrap;
  transition: background-color .3s ease, color .3s ease;
}
body .global-header .btn-header-tel:hover { background: var(--ofc-ink); color: #fff; }
body .global-header .btn-header-tel i { display: inline-block; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--ofc-tel) center / contain no-repeat; mask: var(--ofc-tel) center / contain no-repeat; }
body .global-header .btn-header-tel i::before { content: none; }
body .global-header .btn-header-reserve { display: none !important; }
body .global-header .menu-trigger { display: none; }
/* ページの H1（右上に小さく・ユーザー指定 2026-10-13） */
body .global-header .header-page-eyebrow {
  position: absolute; top: 10px; right: 80px; left: auto; max-width: 640px; margin: 0;
  font: 400 11px/1.4 var(--ofc-sans); letter-spacing: .03em; color: var(--ofc-ink); opacity: .75;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* スクロールしたらヘッダーを詰め、ロゴを小さく（大きいロゴが本文に重ならないように） */
body.ofc-scrolled .global-header { height: 96px; padding-top: 28px; box-shadow: 0 2px 16px rgba(64, 55, 45, .08); }
body.ofc-scrolled .global-header .header-logo { top: 11px; width: 60px; height: 74px; }

@media (max-width: 1099px) {
  body .global-header, body.ofc-scrolled .global-header { height: 94px; padding: 10px 20px 0; gap: 10px; align-items: flex-start; box-shadow: none; }
  body.ofc-scrolled .global-header { box-shadow: 0 2px 12px rgba(64, 55, 45, .08); }
  body .global-header .header-logo, body.ofc-scrolled .global-header .header-logo { top: 10px; left: 20px; width: 60px; height: 74px; }
  body .global-header .desktop-nav { display: none; }
  body .global-header .header-btns { display: flex; }
  body .global-header .btn-header-tel { width: 40px; height: 40px; padding: 0; gap: 0; font-size: 0; }
  body .global-header .btn-header-tel i { width: 15px; height: 15px; }
  body .global-header .menu-trigger {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; padding: 0; margin: 0; border: 1px solid var(--ofc-ink); border-radius: 0; background: transparent; color: var(--ofc-ink); line-height: 1; cursor: pointer;
  }
  body .global-header .menu-trigger i { display: none; }
  /* 3 本線：真ん中の 1 本を中央に置き、上下を box-shadow で同じ 8px 間隔に（Figma：幅 20・太さ 3・間隔 8）。
     以前は ::before と ::after を別々に積んでいて、上の間隔 8px・下 5px と不ぞろいだった（2026-10-14 指摘） */
  body .global-header .menu-trigger::before {
    content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 3px; margin: -1.5px 0 0 -10px;
    background: currentColor; box-shadow: 0 -8px 0 currentColor, 0 8px 0 currentColor;
  }
  body .global-header .menu-trigger::after { content: none; }
  /* SP も H1 を右上に小さく（アイコンの下・ロゴの右） */
  body .global-header .header-page-eyebrow {
    position: absolute !important; top: 58px !important; right: 20px !important; left: 92px !important;
    width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; clip: auto !important; overflow: hidden !important; border: 0 !important;
    max-width: none; font-size: 10px; line-height: 1.35; text-align: right; white-space: normal;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  }
}
/* SP メニュー（開いた状態：Figma sp_menu） */
body .mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 40px; padding: 120px 20px 40px; background: var(--ofc-ink); overflow-y: auto;
}
body .mobile-nav-overlay > a { color: #fff; }
body .mobile-nav-overlay > .menu-trigger {
  position: absolute !important; top: 10px !important; right: 20px !important; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border: 1px solid #fff; border-radius: 0; background: transparent; color: #fff; cursor: pointer;
}
body .mobile-nav-overlay > .menu-trigger i { display: none; }
body .mobile-nav-overlay > .menu-trigger::before,
body .mobile-nav-overlay > .menu-trigger::after { content: ""; position: absolute; top: 50%; left: 50%; width: 19px; height: 3px; margin: -1.5px 0 0 -9.5px; background: currentColor; transform: rotate(45deg); }
body .mobile-nav-overlay > .menu-trigger::after { transform: rotate(-45deg); }
body .mobile-nav-overlay .mobile-reserve-btn { display: none !important; }

/* ---------- フッター（Figma の Frame 236） ---------- */
body .ofc-footer { background: var(--ofc-ink); color: #fff; padding: 60px; text-align: center; }
.ofc-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.ofc-footer__logo { display: block; width: 120px; height: 147px; }
.ofc-footer__logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ofc-footer__nav { display: flex; justify-content: center; gap: 40px; margin-top: 0; }
body .ofc-footer__nav a { color: #fff; }
body .ofc-footer__nav a:hover { opacity: .7; }
.ofc-footer__copy { margin: 80px 0 0; font: 400 12px/14.4px var(--ofc-sans); letter-spacing: 0; }
.ofc-footer__copy small { font-size: inherit; }
@media (max-width: 767px) {
  body .ofc-footer { padding: 60px 20px 60px; }
  .ofc-footer__inner { gap: 20px; }
  .ofc-footer__nav { display: none; }
  .ofc-footer__copy { margin-top: 40px; }
}
/* 標準フッター（店舗情報・地図・© 年号）は使わない＝フッターページに置かない。万一残っていても出さない */
body .footer-copy-text { display: none; }

/* SP 下部固定バー（指示書：TEL・ACCESS。Figma には無いので配色だけ合わせた） */
.ofc-spbar { display: none; }
@media (max-width: 767px) {
  .ofc-spbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; grid-template-columns: 1fr 1fr;
    height: 56px; padding-bottom: env(safe-area-inset-bottom); background: var(--ofc-ink); box-shadow: 0 -2px 10px rgba(0, 0, 0, .12);
  }
  .ofc-spbar a { display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font: 400 14px/1 var(--ofc-en); letter-spacing: .04em; }
  .ofc-spbar a + a { border-left: 1px solid rgba(255, 255, 255, .25); background: #57493a; }
  .ofc-spbar .ofc-ico-tel { width: 16px; height: 16px; }
  body { padding-bottom: 56px; }
}

/* =========================================================
   TOP
   ========================================================= */
/* MV：1200×640 を左 240 から（SP は 355×620 を左 20 から）。3 枚のクロスフェード */
.ofc-mv { padding-top: var(--ofc-head-h); }
.ofc-mv__frame { position: relative; margin-left: 240px; aspect-ratio: 1200 / 640; overflow: hidden; background: var(--ofc-sand); }
.ofc-mv__slide { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity 1.6s ease; }
.ofc-mv__slide.is-active { opacity: 1; }
.ofc-mv__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1099px) { .ofc-mv__frame { margin-left: 20px; } }
@media (max-width: 767px)  { .ofc-mv__frame { aspect-ratio: 355 / 620; } }

/* NEWS の枠（latest_news_bar を Figma の形に） */
body .ofc-newsbox { padding: 80px var(--ofc-side) 0; margin: 0; background: transparent; border: 0; }
body .ofc-newsbox__inner {
  display: grid; grid-template-columns: 139px minmax(0, 1fr) auto; align-items: center; column-gap: 40px; max-width: none; margin: 0; min-height: 249px; padding: 80px;
  border: 1px solid var(--ofc-ink); background: linear-gradient(76deg, #EADFCD 36%, #D9C7B2 100%); box-shadow: none; border-radius: 0;
}
.ofc-newsbox__head { display: flex; flex-direction: column; gap: 10px; white-space: nowrap; }
.ofc-newsbox__title { margin: 0; font: 400 45px/54px var(--ofc-en); letter-spacing: 0; color: var(--ofc-ink); }
.ofc-newsbox__sub { margin: 0; font: 400 18.75px/22.5px var(--ofc-sans); }
.ofc-newsbox__list { min-width: 0; margin-left: 217px !important; max-width: 560px; display: flex; flex-direction: column; gap: 25px; margin: 0; padding: 0; list-style: none; }
body .ofc-newsbox__link { display: flex; align-items: center; gap: 35px; padding: 0; border: 0; background: none; color: var(--ofc-ink); }
body .ofc-newsbox__link:hover .ofc-newsbox__ttl { text-decoration: underline; }
body .ofc-newsbox__date { flex: none; font: 400 16px/19.2px var(--ofc-sans); color: inherit; letter-spacing: 0; }
body .ofc-newsbox__ttl { min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 16px/19.2px var(--ofc-sans); color: inherit; letter-spacing: 0; }
.ofc-newsbox__item.is-empty { font-size: 16px; line-height: 19.2px; }
.ofc-newsbox__more { flex: none; }
@media (max-width: 1099px) { body .ofc-newsbox__inner { padding: 60px 48px; } .ofc-newsbox__list { margin-left: 40px !important; } }
@media (max-width: 767px) {
  body .ofc-newsbox { padding: 40px 20px 0; }
  body .ofc-newsbox__inner { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 30px; min-height: 0; padding: 40px 20px; background: linear-gradient(41deg, #EADFCD 36%, #D9C7B2 100%); }
  .ofc-newsbox__title { font-size: 24px; line-height: 28.8px; }
  .ofc-newsbox__sub { font-size: 14px; line-height: 16.8px; }
  .ofc-newsbox__head { gap: 10px; }
  .ofc-newsbox__list { gap: 20px; width: 100%; max-width: none; margin-left: 0 !important; }
  body .ofc-newsbox__link { gap: 9px; }
  body .ofc-newsbox__date, body .ofc-newsbox__ttl { font-size: 13px; line-height: 15.6px; }
}

/* 写真＋見出し・本文の横並び（ABOUT・Q&A・看板メニュー） */
.ofc-row { display: flex; justify-content: center; gap: 40px; }
.ofc-row__photo { flex: 0 1 640px; min-width: 0; aspect-ratio: 640 / 428; align-self: flex-start; overflow: hidden; }
.ofc-row__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .ofc-row { flex-direction: column; align-items: stretch; gap: 40px; }
  .ofc-row__photo { flex: none; width: 100%; aspect-ratio: 335 / 224; }
}

/* ABOUT（和紙の地・右に縦書き ABOUT・本文の後ろに 560×400 の面） */
.ofc-about { padding: 80px 20px; }
.ofc-about__body { position: relative; display: flex; gap: 40px; flex: 0 1 605px; min-width: 0; min-height: 599px; }
.ofc-about__body::before { content: ""; position: absolute; top: 60px; left: 44px; width: 560px; height: 400px; max-width: calc(100% - 44px); background: var(--ofc-sand); z-index: 0; }
.ofc-about__body .ofc-vhead { position: relative; z-index: 1; }
@media (max-width: 767px) {
  .ofc-about { padding: 40px 20px; }
  .ofc-about__body { flex-direction: column; gap: 40px; min-height: 460px; }
  .ofc-about__body::before { top: 60px; left: 60px; width: auto; right: 0; max-width: none; height: 400px; }
  .ofc-about__body .ofc-vhead { order: -1; }
}

/* TOP の MENU（コンクリート調の地・左に縦書き MENU・右に写真と面） */
.ofc-topmenu { padding: 80px 20px; }
.ofc-topmenu__row { display: flex; justify-content: center; gap: 40px; }
.ofc-topmenu__main { flex: 0 1 660px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.ofc-topmenu__copy { display: flex; gap: 40px; max-width: 555px; }
.ofc-topmenu__links { display: flex; gap: 20px; }
.ofc-photo-btn {
  position: relative; flex: 1 1 320px; min-width: 0; height: 160px; display: flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden;
  color: #fff !important; font: 400 16px/19.2px var(--ofc-en); letter-spacing: 0;
}
.ofc-photo-btn::before { content: ""; position: absolute; inset: 0; background: var(--img) center / cover; transition: transform .6s ease; }
.ofc-photo-btn::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); transition: background-color .3s ease; }
.ofc-photo-btn > * { position: relative; z-index: 1; }
.ofc-photo-btn:hover::before { transform: scale(1.06); }
.ofc-photo-btn:hover::after { background: rgba(0, 0, 0, .5); }
.ofc-topmenu__photo { position: relative; flex: 0 1 560px; min-width: 0; height: 540px; display: flex; justify-content: center; }
.ofc-topmenu__photo::before { content: ""; position: absolute; left: 0; right: 0; top: 140px; height: 400px; background: var(--ofc-sand); }
.ofc-topmenu__photo img { position: relative; display: block; width: 440px; max-width: 78.6%; height: 480px; object-fit: cover; }
@media (max-width: 1099px) { .ofc-topmenu__photo { height: auto; align-self: flex-start; } .ofc-topmenu__photo img { height: auto; aspect-ratio: 440 / 480; } .ofc-topmenu__photo::before { top: 25.9%; height: auto; bottom: -11%; } }
@media (max-width: 767px) {
  .ofc-topmenu { padding: 40px 20px; }
  .ofc-topmenu__row { flex-direction: column; gap: 40px; }
  .ofc-topmenu__main { flex: none; gap: 48px; }
  .ofc-topmenu__copy { flex-direction: column; gap: 40px; max-width: none; }
  .ofc-topmenu__copy .ofc-copy { gap: 40px; }
  .ofc-topmenu__links { gap: 15px; }
  .ofc-photo-btn { flex-basis: 160px; height: 80px; gap: 5px; font-size: 14px; line-height: 16.8px; }
  .ofc-photo-btn .ofc-arrow { width: 9px; height: 6px; }
  .ofc-topmenu__photo { flex: none; align-self: stretch; height: 323px; }
  .ofc-topmenu__photo::before { top: 84px; height: 239px; bottom: auto; }
  .ofc-topmenu__photo img { width: 263px; max-width: none; height: 287px; aspect-ratio: auto; }
}

/* 「料理も、コーヒーも」の帯（1280×396・写真に黒 60%） */
.ofc-band { position: relative; margin: 0 var(--ofc-side); padding: 80px 40px; background: var(--img) center / cover; color: #fff; text-align: center; }
.ofc-band::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.ofc-band__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 40px; max-width: 900px; margin: 0 auto; }
.ofc-band__title { margin: 0; font: 400 32px/51.2px var(--ofc-sans); color: #fff; letter-spacing: 0; }
.ofc-band__text { margin: 0; font: 400 16px/32px var(--ofc-sans); }
@media (max-width: 767px) {
  .ofc-band { margin: 0 20px; padding: 40px 30px; }
  .ofc-band__title { font-size: 20px; line-height: 32px; }
  .ofc-band__text { font-size: 13px; line-height: 26px; text-align: left; }
}

/* INSTAGRAM（instagram_feed：アカウントの埋め込み＝ユーザー指定 B） */
body .fc-instagram-embed-section { padding: 80px 20px 0 !important; margin: 0 !important; background: transparent !important; color: var(--ofc-ink) !important; }
body .fc-instagram-embed-section .fc-instagram-embed-inner { max-width: 760px !important; margin: 0 auto !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
body .fc-instagram-embed-section .fc-instagram-embed-heading { display: flex !important; flex-direction: column !important; align-items: flex-end !important; margin: 0 0 40px !important; padding: 0 !important; text-align: right !important; }
body .fc-instagram-embed-section .fc-instagram-embed-heading > * { margin: 0 !important; }
body .fc-instagram-embed-section .fc-instagram-embed-label { display: none !important; }
body .fc-instagram-embed-section .fc-instagram-embed-heading h2 {
  display: flex !important; align-items: center !important; justify-content: flex-end !important; width: 320px !important; max-width: 100% !important; height: 35px !important; padding: 0 0 5px !important; margin: 0 !important;
  border-bottom: 1px solid var(--ofc-ink) !important; color: var(--ofc-ink) !important; font: 400 24px/28.8px var(--ofc-en) !important; letter-spacing: 0 !important; text-transform: uppercase !important;
}
body .fc-instagram-embed-section .fc-instagram-embed-heading p { display: none !important; }
body :is(#ofc-x, .fc-instagram-embed-section) .fc-instagram-embed-card--legacy { max-width: 540px !important; margin: 0 auto !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
body .fc-instagram-embed-section .fc-instagram-embed-action { margin: 30px 0 0 !important; text-align: center !important; }
body .fc-instagram-embed-section .fc-instagram-embed-action a {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important; width: 200px !important; height: 41px !important; padding: 10px !important;
  border: 1px solid var(--ofc-ink) !important; border-radius: 140px !important; background: rgba(255, 255, 255, .05) !important; color: var(--ofc-ink) !important;
  font: 400 14px/1 var(--ofc-sans) !important; box-shadow: none !important;
}
body .fc-instagram-embed-section .fc-instagram-embed-action a:hover { background: var(--ofc-ink) !important; color: #fff !important; }
@media (max-width: 767px) {
  body .fc-instagram-embed-section { padding: 40px 20px 0 !important; }
  body .fc-instagram-embed-section .fc-instagram-embed-heading h2 { height: 25px !important; font-size: 16px !important; line-height: 19.2px !important; }
}

/* TOP の Q&A（木目の地・左に縦書き Q&A） */
.ofc-topqa { padding: 80px 20px; }
.ofc-topqa__body { display: flex; gap: 40px; flex: 0 1 555px; min-width: 0; }
@media (max-width: 767px) {
  .ofc-topqa { padding: 40px 20px; }
  .ofc-topqa__body { flex-direction: column; gap: 40px; }
  .ofc-topqa .ofc-vhead { block-size: 35px; font-size: 24px; line-height: 28.8px; }
  .ofc-topqa .ofc-copy { gap: 40px; }
  .ofc-topqa .ofc-copy__title { font-size: 32px; line-height: 51.2px; }
}

/* TOP の GALLERY（左右にはみ出して流れる帯） */
.ofc-topgallery { overflow: hidden; }
.ofc-topgallery__head { margin: 0 0 40px 81px; }
.ofc-topgallery__head a:hover { opacity: .7; }
.ofc-marquee { overflow: hidden; }
.ofc-marquee__track { display: flex; gap: 20px; width: max-content; margin: 0; padding: 0; list-style: none; margin-left: -49px; animation: ofc-marquee calc(var(--count, 12) * 5s) linear infinite; }
.ofc-marquee__track li { flex: none; width: 320px; height: 240px; }
.ofc-marquee__track img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ofc-marquee:hover .ofc-marquee__track { animation-play-state: paused; }
@keyframes ofc-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 10px)); } }
@media (prefers-reduced-motion: reduce) { .ofc-marquee { overflow-x: auto; } .ofc-marquee__track { animation: none; } }
@media (max-width: 767px) {
  .ofc-topgallery__head { margin: 0 0 40px 18px; }
  .ofc-marquee__track { margin-left: -22px; }
  .ofc-marquee__track li { width: 200px; height: 150px; }
}

/* TOP の ACCESS（和紙の地：表＋電話 ｜ 入口の写真 → 地図） */
.ofc-topaccess { display: flex; flex-direction: column; align-items: center; gap: 60px; padding: 80px var(--ofc-side); }
.ofc-topaccess__row { display: flex; align-items: center; gap: 60px; width: 100%; max-width: 1279px; }
.ofc-topaccess__info { flex: 0 1 580px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.ofc-topaccess__photo { flex: 0 1 639px; min-width: 0; aspect-ratio: 639 / 400; overflow: hidden; }
.ofc-topaccess__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ofc-map { width: 100%; max-width: 1280px; height: 400px; background: #e6e2da; }
.ofc-map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 767px) {
  .ofc-topaccess { gap: 60px; padding: 80px 20px; }
  .ofc-topaccess__row { flex-direction: column-reverse; align-items: stretch; gap: 40px; }
  .ofc-topaccess__info { flex: none; }
  .ofc-topaccess__photo { flex: none; width: 100%; aspect-ratio: 335 / 210; }
}

/* 店舗情報の表（下線の表・左の項目名は中央） */
.ofc-table { display: grid; grid-template-columns: 170px minmax(0, 1fr); column-gap: 10px; width: 100%; margin: 0; font: 400 16px/19.2px var(--ofc-ant); letter-spacing: 0; }
.ofc-table > div { display: contents; }
.ofc-table dt, .ofc-table dd { margin: 0; padding: 19.4px 20px; border-bottom: 1px solid var(--ofc-ink); }
.ofc-table dt { padding: 19.4px 10px; text-align: center; }
.ofc-table a { text-decoration: none; }
@media (max-width: 767px) {
  .ofc-table { grid-template-columns: 80px minmax(0, 1fr); font-size: 13px; line-height: 15.6px; }
  .ofc-table dt { padding: 19.7px 4px; }
  .ofc-table dd { padding: 19.7px 10px; }
}

/* =========================================================
   下層ページ：ヒーロー（hero_page を Figma の 1200×400 に）
   ========================================================= */
body .page-hero-wrapper {
  position: relative; display: flex; align-items: flex-end; justify-content: flex-start; width: auto; height: 400px; min-height: 0;
  margin: var(--ofc-head-h) 0 0 240px; padding: 0 40px 40px; background-size: cover; background-position: center; text-align: left; overflow: hidden;
}
body .page-hero-wrapper::after { content: none; }
body .page-hero-wrapper .ph-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .3); z-index: 0; }
body.ofc-page-concept .page-hero-wrapper .ph-overlay { background: rgba(0, 0, 0, .4); }
body .page-hero-wrapper .ph-container { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 5px; max-width: none; margin: 0; padding: 0; text-align: left; }
body .page-hero-wrapper .ph-title { margin: 0; font: 400 48px/57.6px var(--ofc-en); color: #fff; letter-spacing: 0; text-shadow: none; }
body .page-hero-wrapper .ph-desc { margin: 0; font: 400 32px/38.4px var(--ofc-sans); color: #fff; letter-spacing: 0; }
body .page-hero-wrapper::before { content: none !important; }
@media (max-width: 1099px) { body .page-hero-wrapper { margin-left: 20px; } }
@media (max-width: 767px) {
  body .page-hero-wrapper { height: 240px; padding: 0 20px 24px; }
  body .page-hero-wrapper .ph-title { font-size: 32px; line-height: 38.4px; }
  body .page-hero-wrapper .ph-desc { font-size: 18px; line-height: 24px; }
}

/* 導入の帯（CONCEPT・ACCESS：写真に黒 50%） */
.ofc-lead { position: relative; margin: 0 var(--ofc-side); padding: 80px 40px; background: var(--img) center / cover; color: #fff; }
.ofc-lead::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.ofc-lead__inner { position: relative; display: flex; flex-direction: column; gap: 40px; max-width: 714px; margin: 0 auto; }
.ofc-lead__titles { display: flex; flex-direction: column; gap: 20px; }
.ofc-lead__title { margin: 0; font: 400 32px/38.4px var(--ofc-sans); color: #fff; letter-spacing: 0; }
.ofc-lead__sub { margin: 0; font: 400 22px/26.4px var(--ofc-sans); white-space: nowrap; }
.ofc-lead__text { margin: 0; padding-right: 4px; font: 400 16px/32px var(--ofc-sans); }
.ofc-lead--access { padding: 120px 40px; text-align: center; }
.ofc-lead--access .ofc-lead__inner { max-width: 867px; align-items: center; }
@media (max-width: 767px) {
  .ofc-lead, .ofc-lead--access { margin: 0 20px; padding: 40px 20px; }
  .ofc-lead__inner { gap: 24px; }
  .ofc-lead__title { font-size: 20px; line-height: 32px; }
  .ofc-lead__sub { font-size: 15px; line-height: 24px; white-space: normal; }
  .ofc-lead__text { font-size: 13px; line-height: 26px; text-align: left; }
  .ofc-lead .ofc-head { height: 25px; font-size: 16px; line-height: 19.2px; }
}

/* CONCEPT：こだわり 01〜03（コンクリート調の地・見出しは右寄せ・写真と文章が交互） */
.ofc-commit { display: flex; flex-direction: column; align-items: flex-end; gap: 60px; padding: 80px 100px; }
.ofc-commit__title { margin: 0; font: 400 40px/64px var(--ofc-sans); letter-spacing: 0; text-align: right; }
.ofc-commit__list { display: flex; flex-direction: column; gap: 60px; width: 100%; max-width: 1235px; }
.ofc-commit__row { display: flex; gap: 40px; }
.ofc-commit__row.is-reverse { flex-direction: row-reverse; }
.ofc-commit__photo { flex: 0 1 640px; min-width: 0; aspect-ratio: 640 / 428; align-self: flex-start; overflow: hidden; }
.ofc-commit__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ofc-commit__body { display: flex; gap: 40px; flex: 0 1 555px; min-width: 0; }
.ofc-commit__body .ofc-copy { padding-top: 40px; }
@media (max-width: 1099px) { .ofc-commit { padding: 80px 40px; } }
@media (max-width: 767px) {
  .ofc-commit { align-items: stretch; gap: 40px; padding: 40px 20px; }
  .ofc-commit__title { font-size: 24px; line-height: 38px; text-align: left; }
  .ofc-commit__list { gap: 48px; }
  .ofc-commit__row, .ofc-commit__row.is-reverse { flex-direction: column; gap: 24px; }
  .ofc-commit__photo { flex: none; width: 100%; aspect-ratio: 335 / 224; }
  .ofc-commit__body { flex-direction: column; gap: 20px; }
  .ofc-commit__body .ofc-copy { padding-top: 0; }
}

/* CONCEPT：看板メニュー（和紙の地・ABOUT と同じ組み） */
.ofc-signature { display: flex; flex-direction: column; gap: 40px; padding: 80px calc(var(--ofc-side) - 5px) 80px var(--ofc-side); }  /* 行は 1285 幅（右に 5px はみ出す Figma どおり） */
.ofc-signature__title { margin: 0; font: 400 40px/64px var(--ofc-sans); letter-spacing: 0; }
.ofc-signature__list { display: flex; flex-direction: column; gap: 40px; }
.ofc-row--left { justify-content: flex-start; }
.ofc-signature .ofc-about__body { min-height: 460px; }
.ofc-signature .ofc-copy__title { white-space: nowrap; }
@media (max-width: 767px) {
  .ofc-signature { gap: 32px; padding: 40px 20px; }
  .ofc-signature__title { font-size: 24px; line-height: 38px; }
  .ofc-signature__list { gap: 56px; }
  .ofc-signature .ofc-about__body { min-height: 0; padding-bottom: 20px; }
  .ofc-signature .ofc-about__body::before { top: 60px; bottom: 0; height: auto; }
  .ofc-signature .ofc-copy { padding-right: 16px; }
  .ofc-signature .ofc-copy__title { white-space: normal; }
}

/* =========================================================
   MENU（menu_category_grid を Figma の表に。カテゴリーは DB＝管理画面で編集）
   ========================================================= */
.ofc-menuhead { padding: 60px var(--ofc-side) 0; }
.ofc-menuhead--food { padding-top: 80px; }
.ofc-menu-head { margin: 0; font: 400 40px/64px var(--ofc-en); letter-spacing: 0; color: var(--ofc-ink); }
body .menu-grid-section { padding: 40px var(--ofc-side) 0 !important; margin: 0; background: transparent; color: var(--ofc-ink); }
body .menu-grid-section .menu-section-header { display: none; }
body .menu-grid-section .menu-cat-container { max-width: none; margin: 0; padding: 0; }
body .menu-grid-section .menu-cat-block { margin: 0 0 40px; padding: 0; background: none; border: 0; }
body .menu-grid-section .menu-cat-block:last-child { margin-bottom: 0; }
body .menu-grid-section .menu-cat-header { margin: 0 0 20px; padding: 0; border: 0; }
body .menu-grid-section .menu-cat-name {
  display: flex; align-items: center; width: 320px; max-width: 100%; height: 35px; margin: 0; padding: 0 0 5px;
  border-bottom: 1px solid var(--ofc-ink); color: var(--ofc-ink); font: 400 24px/28.8px var(--ofc-en); letter-spacing: 0; white-space: nowrap;
}
body .menu-grid-section .menu-cat-desc { margin: 12px 0 0; color: var(--ofc-ink); font: 400 14px/1.8 var(--ofc-sans); }
body .menu-grid-section .menu-items-grid { display: block; margin: 0; padding: 0; }
body .menu-grid-section .menu-item-card,
body .menu-grid-section .menu-item-card.no-image {
  display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 0; margin: 0; padding: 0; min-height: 0;
  background: none; border: 0; border-radius: 0; box-shadow: none; color: var(--ofc-ink);
}
body .menu-grid-section .menu-item-card:hover { transform: none; box-shadow: none; }
body .menu-grid-section .menu-item-card .mi-img-box { display: none; }
body .menu-grid-section .menu-item-card .mi-info,
body .menu-grid-section .menu-item-card.no-image .mi-info { display: contents; }
body .menu-grid-section .mi-title,
body .menu-grid-section .menu-item-card.no-image .mi-title {
  grid-column: 1; grid-row: 1; align-self: end; margin: 0; padding: 20px 20px 0; color: var(--ofc-ink);
  font: 500 18px/29px var(--ofc-sans); letter-spacing: 0;
}
body .menu-grid-section .mi-text,
body .menu-grid-section .menu-item-card.no-image .mi-text {
  grid-column: 1; grid-row: 2; margin: 0; padding: 10px 20px 20px; color: var(--ofc-ink); font: 400 16px/26px var(--ofc-sans); letter-spacing: 0;
}
body .menu-grid-section .menu-item-card::before { content: ""; grid-column: 1; grid-row: 1 / span 2; border-bottom: 2px solid var(--ofc-ink); pointer-events: none; }
body .menu-grid-section .menu-item-card::after { content: ""; grid-column: 2; grid-row: 1 / span 2; border-bottom: 2px solid var(--ofc-sand); pointer-events: none; }
body .menu-grid-section .menu-item-card:not(:has(.mi-text)) .mi-title { grid-row: 1 / span 2; align-self: center; padding: 20px; }
body .menu-grid-section .mi-meta,
body .menu-grid-section .menu-item-card.no-image .mi-meta {
  grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; margin: 0; padding: 20px 10px; border: 0;
}
body .menu-grid-section .mi-price,
body .menu-grid-section .menu-item-card.no-image .mi-price { margin: 0; text-align: center; white-space: nowrap; }
body .menu-grid-section .price-in,
body .menu-grid-section .menu-item-card.no-image .price-in { color: var(--ofc-ink); font: 400 18px/21.6px var(--ofc-sans); letter-spacing: 0; }
body .menu-grid-section .mi-tax { display: none; }
/* 価格を出さない品（数量限定トーストセット）は 1 列で全幅の線（Figma） */
body .menu-grid-section .menu-item-card:not(:has(.mi-meta)) .mi-title,
body .menu-grid-section .menu-item-card:not(:has(.mi-meta)) .mi-text,
body .menu-grid-section .menu-item-card:not(:has(.mi-meta))::before { grid-column: 1 / -1; }
body .menu-grid-section .menu-item-card:not(:has(.mi-meta))::after { content: none; }
body .menu-grid-section .menu-empty-text { color: var(--ofc-ink); }
.ofc-takeout { margin: 0 var(--ofc-side); padding: 40px; border: 1px solid var(--ofc-ink); text-align: center; }
.ofc-takeout__title { margin: 0 0 12px; font: 500 20px/32px var(--ofc-sans); }
.ofc-takeout__text { margin: 0; font: 400 16px/28px var(--ofc-sans); }
.ofc-b--end { padding-bottom: 80px; }
@media (max-width: 767px) {
  .ofc-menuhead { padding: 40px 20px 0; }
  .ofc-menuhead--food { padding-top: 56px; }
  .ofc-menu-head { font-size: 32px; line-height: 48px; }
  body .menu-grid-section { padding-top: 24px !important; }
  body .menu-grid-section .menu-cat-name { height: 30px; font-size: 20px; line-height: 24px; }
  body .menu-grid-section .menu-item-card,
  body .menu-grid-section .menu-item-card.no-image { grid-template-columns: minmax(0, 1fr) 84px; min-height: 0; }
  body .menu-grid-section .mi-title, body .menu-grid-section .menu-item-card.no-image .mi-title { padding: 16px 10px 0 4px; font-size: 15px; line-height: 24px; }
  body .menu-grid-section .mi-text, body .menu-grid-section .menu-item-card.no-image .mi-text { padding: 6px 10px 16px 4px; font-size: 12px; line-height: 20px; }
  body .menu-grid-section .mi-meta, body .menu-grid-section .menu-item-card.no-image .mi-meta { padding: 16px 4px; }
  body .menu-grid-section .price-in, body .menu-grid-section .menu-item-card.no-image .price-in { font-size: 15px; line-height: 20px; }
  body .menu-grid-section .mi-price, body .menu-grid-section .menu-item-card.no-image .mi-price { white-space: normal; word-break: keep-all; overflow-wrap: anywhere; text-align: center; }
  .ofc-takeout { margin: 0 20px; padding: 24px 16px; }
  .ofc-takeout__title { font-size: 16px; line-height: 26px; }
  .ofc-takeout__text { font-size: 13px; line-height: 22px; }
  .ofc-b--end { padding-bottom: 56px; }
}

/* =========================================================
   GALLERY（image_grid：PC 4 列 300×240・SP 2 列）
   ========================================================= */
body .image-grid-section { padding: 60px var(--ofc-side) 80px; margin: 0; background: transparent; color: var(--ofc-ink); }
body .image-grid-section .image-grid-container { max-width: 1278px; margin: 0 auto; }
body .image-grid-section .image-grid-header { max-width: none; margin: 0 0 40px; text-align: left; }
body .image-grid-section .image-grid-title {
  display: flex; align-items: center; width: 320px; max-width: 100%; height: 35px; margin: 0; padding: 0 0 5px;
  border-bottom: 1px solid var(--ofc-ink); color: var(--ofc-ink); font: 400 24px/28.8px var(--ofc-en); letter-spacing: 0;
}
body .image-grid-section .image-grid-desc { margin: 16px 0 0; color: var(--ofc-ink); }
body .image-grid-section .image-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 26px; }
body .image-grid-section .image-grid-item { overflow: hidden; border-radius: 0; aspect-ratio: 300 / 240; }
body .image-grid-section .image-grid-item img,
body .image-grid-section .image-grid-shape-square .image-grid-item img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transition: transform .6s ease; }
body .image-grid-section .image-grid-item:hover img { transform: scale(1.04); }
@media (max-width: 767px) {
  body .image-grid-section { padding: 40px 20px 56px; }
  body .image-grid-section .image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
}

/* =========================================================
   NEWS（news_list_grid を Figma の 2 列カード＋サイドバーに）
   ========================================================= */
body .ofc-newslist { padding: 60px var(--ofc-side) 80px; margin: 0; background: transparent; color: var(--ofc-ink); }
body .ofc-newslist__header { margin: 0 0 40px; text-align: left; }
.ofc-newslist__wrap { display: flex; align-items: flex-start; gap: 80px; }
.ofc-newslist__main { flex: 0 1 840px; min-width: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 58px; padding-bottom: 0; }
.ofc-newslist__filter { align-self: stretch; margin: 0 0 -28px; font-size: 14px; line-height: 1.8; }
.ofc-newslist__filter a { text-decoration: underline; }
.ofc-newslist__empty { align-self: stretch; margin: 0; padding: 40px 0; font-size: 16px; }
body .ofc-newslist__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-self: stretch; width: 100%;
  padding-bottom: 58px; border-bottom: 3px solid var(--ofc-ink);
}
body .ofc-newscard { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
body .ofc-newscard:hover { transform: none; box-shadow: none; }
body .ofc-newscard__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 400 / 260; height: auto; overflow: hidden; background: var(--ofc-ink); border-radius: 0; }
body .ofc-newscard__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
body .ofc-newscard__img.is-noimg img { width: 30%; height: auto; object-fit: contain; }
body .ofc-newscard__img:hover img { transform: scale(1.04); }
body .ofc-newscard__img.is-noimg:hover img { transform: none; }
body .ofc-newscard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 0; }
.ofc-newscard__cat { display: inline-flex; align-items: center; justify-content: center; min-width: 135px; height: 42px; padding: 5px 40px; background: var(--ofc-sand); color: var(--ofc-ink); font: 400 20px/32px var(--ofc-sans); }
body .ofc-newscard__title { align-self: stretch; margin: 0; color: var(--ofc-ink); font: 400 20px/32px var(--ofc-sans); letter-spacing: 0; }
body .ofc-newscard__title a:hover { text-decoration: underline; }
.ofc-newscard__text { margin: 0; font: 400 16px/25.6px var(--ofc-sans); }
.ofc-newscard__text a { white-space: nowrap; }
.ofc-newscard__text a:hover { text-decoration: underline; }
body .ofc-newscard__date { display: block; align-self: stretch; margin: 0; color: var(--ofc-ink); font: 400 20px/32px var(--ofc-sans); letter-spacing: 0; }
/* ページ送り（1 2 … 14 ｜ NEXT） */
.ofc-pager { display: flex; align-items: center; gap: 160px; }
.ofc-pager__nums { display: flex; align-items: center; gap: 20px; }
.ofc-pager__num { display: inline-flex; align-items: center; justify-content: center; min-width: 50px; height: 60px; padding: 10px; background: var(--ofc-gray); color: var(--ofc-ink); font: 400 32px/38.4px var(--ofc-sans); }
.ofc-pager__num.is-current { background: var(--ofc-sand); }
a.ofc-pager__num:hover { background: var(--ofc-sand); }
.ofc-pager__dots { color: var(--ofc-sand); font: 400 32px/38.4px var(--ofc-sans); }
.ofc-pager__steps { display: flex; gap: 20px; }
.ofc-pager__step { display: inline-flex; align-items: center; justify-content: center; gap: 22px; width: 150px; height: 60px; padding: 0 20px; background: var(--ofc-sand); font: 400 32px/38.4px var(--ofc-sans); }
.ofc-pager__step.is-next::after, .ofc-pager__step.is-prev::before { content: ""; width: 8px; height: 13px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%, 0 82%, 72% 50%, 0 18%); }
.ofc-pager__step.is-prev::before { transform: scaleX(-1); }
/* サイドバー */
.ofc-newslist__side { flex: 0 0 360px; display: flex; flex-direction: column; gap: 40px; }
.ofc-search { position: relative; display: flex; height: 60px; background: #e2dccf; }
.ofc-search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ofc-search input { flex: 1; min-width: 0; height: 100%; padding: 0 56px 0 20px; border: 0; background: transparent; color: var(--ofc-ink); font: 400 16px/1 var(--ofc-sans); }
.ofc-search input::placeholder { color: #8a7f72; }
.ofc-search input:focus { outline: 2px solid var(--ofc-ink); outline-offset: -2px; }
.ofc-search button { position: absolute; top: 0; right: 0; width: 56px; height: 60px; border: 0; background: transparent; cursor: pointer; }
.ofc-search button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 15px; height: 15px; margin: -10px 0 0 -10px; border: 2px solid var(--ofc-ink); border-radius: 50%; }
.ofc-search button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 2px; margin: 5px 0 0 3px; background: var(--ofc-ink); transform: rotate(45deg); }
.ofc-side-box { display: flex; flex-direction: column; gap: 20px; }
.ofc-side-head { display: flex; align-items: baseline; gap: 21px; margin: 0; padding-bottom: 17px; border-bottom: 3px solid var(--ofc-ink); font: 400 32px/51.2px var(--ofc-sans); letter-spacing: 0; color: var(--ofc-ink); }
.ofc-side-head small { font-size: 20px; line-height: 32px; }
.ofc-side-cats { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; }
.ofc-side-cats li { padding-bottom: 18px; border-bottom: 2px dashed var(--ofc-ink); }
.ofc-side-cats a { display: flex; align-items: baseline; gap: 21px; font: 400 24px/38.4px var(--ofc-sans); }
.ofc-side-cats a small { font-size: 20px; line-height: 32px; }
.ofc-side-cats a:hover, .ofc-side-cats a[aria-current] { opacity: .7; }
.ofc-side-archive, .ofc-side-archive ul { margin: 0; padding: 0; list-style: none; }
.ofc-side-year { display: flex; align-items: center; gap: 9px; font: 400 20px/32px var(--ofc-sans); cursor: pointer; list-style: none; }
.ofc-side-year::-webkit-details-marker { display: none; }
.ofc-side-year::before { content: ""; width: 9px; height: 15px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%, 0 82%, 72% 50%, 0 18%); transition: transform .25s ease; }
details[open] > .ofc-side-year::before { transform: rotate(90deg); }
.ofc-side-archive details ul { display: flex; flex-direction: column; gap: 6px; padding: 10px 0 0 24px; }
.ofc-side-archive details a { font: 400 18px/28px var(--ofc-sans); }
.ofc-side-archive details a:hover, .ofc-side-archive details a[aria-current] { text-decoration: underline; }
@media (max-width: 1099px) {
  .ofc-newslist__wrap { gap: 40px; }
  .ofc-newslist__side { flex-basis: 280px; }
  .ofc-pager { gap: 40px; }
}
@media (max-width: 767px) {
  body .ofc-newslist { padding: 40px 20px 56px; }
  .ofc-newslist__wrap { flex-direction: column; gap: 56px; }
  .ofc-newslist__main { flex: none; width: 100%; gap: 40px; }
  body .ofc-newslist__grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .ofc-newscard__cat { min-width: 96px; height: 32px; padding: 4px 24px; font-size: 14px; line-height: 24px; }
  body .ofc-newscard__body { gap: 12px; }
  body .ofc-newscard__title { font-size: 17px; line-height: 28px; }
  .ofc-newscard__text { font-size: 13px; line-height: 22px; }
  body .ofc-newscard__date { font-size: 14px; line-height: 22px; }
  .ofc-pager { align-self: stretch; justify-content: space-between; gap: 12px; }
  .ofc-pager__nums { gap: 8px; }
  .ofc-pager__num { min-width: 38px; height: 44px; font-size: 20px; line-height: 24px; }
  .ofc-pager__dots { font-size: 20px; }
  .ofc-pager__step { width: auto; height: 44px; gap: 10px; padding: 0 14px; font-size: 18px; line-height: 24px; }
  .ofc-newslist__side { flex: none; width: 100%; gap: 32px; }
  .ofc-side-head { font-size: 24px; line-height: 38px; padding-bottom: 10px; }
  .ofc-side-head small { font-size: 14px; }
  .ofc-side-cats a { font-size: 18px; line-height: 28px; }
  .ofc-side-cats a small { font-size: 14px; line-height: 22px; }
  .ofc-side-year { font-size: 16px; }
}

/* お知らせ記事（news_article_body。Figma のデザインは無い → 一覧と同じ配色で） */
body .news-article-body-section { padding: 60px var(--ofc-side) 80px !important; margin: 0 !important; background: transparent !important; color: var(--ofc-ink) !important; }
body .news-article-body-section .nab-container { max-width: 840px !important; margin: 0 auto !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
body .news-article-body-section .nab-header { margin: 0 0 32px !important; padding: 0 0 24px !important; border-bottom: 3px solid var(--ofc-ink) !important; text-align: left !important; }
body .news-article-body-section .nab-meta { margin: 0 0 12px !important; color: var(--ofc-ink) !important; font: 400 18px/28px var(--ofc-sans) !important; }
body .news-article-body-section .nab-meta i { display: none !important; }
body .news-article-body-section .nab-date { color: var(--ofc-ink) !important; font: inherit !important; letter-spacing: 0 !important; }
body .news-article-body-section .nab-main-img-box, body .news-article-body-section .nab-main-img-box img { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
body .news-article-body-section .nab-title { margin: 0 !important; color: var(--ofc-ink) !important; font: 400 28px/44px var(--ofc-sans) !important; letter-spacing: 0 !important; }
body .news-article-body-section .nab-main-img-box { margin: 0 0 32px !important; border-radius: 0 !important; overflow: hidden !important; }
body .news-article-body-section .nab-main-img-box img { display: block !important; width: 100% !important; height: auto !important; }
body .news-article-body-section .nab-body-text { color: var(--ofc-ink) !important; font: 400 16px/32px var(--ofc-sans) !important; }
body .news-article-body-section .nab-footer-nav { margin: 56px 0 0 !important; text-align: center !important; }
body .news-article-body-section .btn-nab-back {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important; width: 240px !important; height: 41px !important; padding: 10px !important;
  border: 1px solid var(--ofc-ink) !important; border-radius: 140px !important; background: rgba(255, 255, 255, .05) !important; color: var(--ofc-ink) !important; font: 400 15px/1 var(--ofc-sans) !important;
}
body .news-article-body-section .btn-nab-back:hover { background: var(--ofc-ink) !important; color: #fff !important; }
@media (max-width: 767px) {
  body .news-article-body-section { padding: 40px 20px 56px !important; }
  body .news-article-body-section .nab-title { font-size: 20px !important; line-height: 32px !important; }
  body .news-article-body-section .nab-body-text { font-size: 14px !important; line-height: 28px !important; }
}

/* =========================================================
   ACCESS：店舗概要（木目の地・写真 480×620 ｜ 表 580）→ 地図 → Q&A
   ========================================================= */
.ofc-shop { display: flex; flex-direction: column; align-items: center; gap: 80px; padding: 80px 20px; }
.ofc-shop__row { display: flex; align-items: center; gap: 80px; width: 100%; max-width: 1140px; }
.ofc-shop__photo { flex: 0 1 480px; min-width: 0; aspect-ratio: 480 / 620; overflow: hidden; }
.ofc-shop__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ofc-shop__info { flex: 0 1 580px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.ofc-map--shop { max-width: 1140px; }
@media (max-width: 767px) {
  .ofc-shop { gap: 40px; padding: 40px 20px; }
  .ofc-shop__row { flex-direction: column; gap: 40px; }
  .ofc-shop__photo { flex: none; width: 100%; aspect-ratio: 335 / 432; }
  .ofc-shop__info { flex: none; width: 100%; }
}
/* Q&A（和紙の地・上下の線・開閉） */
.ofc-faq { display: flex; flex-direction: column; gap: 40px; padding: 80px 160px; }
/* Q&A の地は Figma どおり和紙のタイル敷き（TILE・倍率 0.7＝1400px）。cover だと開閉で高さが変わるたびに
   写真が拡大縮小し直され、背景が一緒に動いて見えた（2026-10-14 指摘）。左上を基準に固定の大きさで並べる */
.ofc-faq.ofc-tex-washi { background: #fff url("/image/assets/ofc_tex_washi.webp") 0 0 / 1400px auto repeat; }
.ofc-faq__list { display: flex; flex-direction: column; gap: 40px; }
.ofc-faq__item { border-top: 1px solid var(--ofc-ink); border-bottom: 1px solid var(--ofc-ink); }
.ofc-faq__q { display: flex; align-items: center; gap: 20px; padding: 28.8px 0; cursor: pointer; list-style: none; }
.ofc-faq__q::-webkit-details-marker { display: none; }
.ofc-faq__no { flex: none; font: 400 32px/38.4px var(--ofc-sans); letter-spacing: 0; }
.ofc-faq__qtext { flex: 1; min-width: 0; font: 400 18px/21.6px var(--ofc-sans); letter-spacing: 0; }
.ofc-faq__icon { position: relative; flex: none; width: 25px; height: 25px; }
.ofc-faq__icon::before, .ofc-faq__icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 25px; height: 2px; margin-top: -1px; background: var(--ofc-ink); transition: transform .3s ease; }
.ofc-faq__icon::after { transform: rotate(90deg); }
details[open] > .ofc-faq__q .ofc-faq__icon::after { transform: rotate(0deg); }
.ofc-faq__a { display: flex; align-items: center; gap: 20px; padding: 0 0 28.8px; }
.ofc-faq__a p { margin: 0; font: 400 16px/32px var(--ofc-sans); }
.ofc-faq__q:hover .ofc-faq__qtext { text-decoration: underline; }
@media (max-width: 1099px) { .ofc-faq { padding: 80px 40px; } }
@media (max-width: 767px) {
  .ofc-faq { gap: 32px; padding: 40px 20px; }
  .ofc-faq__list { gap: 20px; }
  .ofc-faq__q { gap: 12px; min-height: 0; padding: 18px 0; }
  .ofc-faq__no { min-width: 36px; font-size: 22px; line-height: 28px; }
  .ofc-faq__qtext { font-size: 14px; line-height: 22px; }
  .ofc-faq__icon, .ofc-faq__icon::before, .ofc-faq__icon::after { width: 16px; }
  .ofc-faq__icon { height: 16px; }
  .ofc-faq__a { align-items: flex-start; gap: 12px; padding: 0 0 18px; }
  .ofc-faq__a p { font-size: 13px; line-height: 24px; padding-top: 2px; }
}

/* =========================================================
   中間幅（768〜1439）：固定幅の部品が縮むように
   ========================================================= */
@media (max-width: 1279px) and (min-width: 768px) {
  .ofc-about__body::before { width: auto; right: 0; }
  .ofc-copy__title { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.6; }
  .ofc-topmenu__copy { max-width: none; }
  .ofc-newsbox__title { font-size: 36px; line-height: 44px; }
}
@media (max-width: 1023px) and (min-width: 768px) {
  .ofc-row, .ofc-commit__row, .ofc-commit__row.is-reverse, .ofc-topmenu__row, .ofc-topaccess__row, .ofc-shop__row { gap: 32px; }
  .ofc-vhead { font-size: 20px; inline-size: 260px; }
  .ofc-copy { padding-top: 60px; gap: 28px; }
  .ofc-copy__text { font-size: 15px; line-height: 28px; }
  .ofc-about__body { min-height: 0; padding-bottom: 40px; }
  .ofc-about__body::before { height: auto; bottom: 0; }
  .ofc-signature .ofc-copy__title { white-space: normal; }
  .ofc-footer__nav { gap: 28px; }
}

/* SP：横並び用の flex-basis（px）が縦並びで高さとして効かないように */
@media (max-width: 767px) {
  .ofc-about__body, .ofc-topqa__body, .ofc-commit__body, .ofc-topmenu__main, .ofc-topaccess__info,
  .ofc-shop__info, .ofc-newslist__main, .ofc-newslist__side { flex: none; }
}

/* 日本語の見出しを語の途中で折らない（読点・空白の位置で折る。入りきらない語だけ任意の位置）。STG の SP 実測で
   「ほっと落ち／着く」「日／常」と割れていた（2026-10-14） */
.ofc-lead__title, .ofc-lead__sub, .ofc-copy__title, .ofc-band__title, .ofc-commit__title, .ofc-signature__title,
.ofc-takeout__title, .ofc-newscard__title { word-break: keep-all; overflow-wrap: anywhere; }

/* SP のメニュー：品名が 1 字だけ次の行に落ちないよう、品名の文字を画面幅に合わせて少し縮める（最長 17 字が 360px 以上で 1 行）。
   価格欄は 84px＝「合計金額より」（13px×6）が 1 行に入り、ゼロ幅スペースの位置で「-100円」が次の行へ。2026-10-14 STG 実測で調整 */
@media (max-width: 767px) {
  body .menu-grid-section .menu-item-card,
  body .menu-grid-section .menu-item-card.no-image { grid-template-columns: minmax(0, 1fr) 84px; }
  body .menu-grid-section .mi-title, body .menu-grid-section .menu-item-card.no-image .mi-title {
    padding-right: 6px; font-size: clamp(12.5px, calc((100vw - 136px) / 17.2), 14px); line-height: 22px; word-break: keep-all; overflow-wrap: anywhere;
  }
  body .menu-grid-section .mi-text, body .menu-grid-section .menu-item-card.no-image .mi-text { padding-right: 6px; }
  body .menu-grid-section .mi-meta, body .menu-grid-section .menu-item-card.no-image .mi-meta { padding: 16px 2px; }
  body .menu-grid-section .price-in, body .menu-grid-section .menu-item-card.no-image .price-in { font-size: 13px; line-height: 20px; }
  body .menu-grid-section .mi-price, body .menu-grid-section .menu-item-card.no-image .mi-price { word-break: normal; overflow-wrap: anywhere; }
}
/* 360px 未満は見出しを一回り小さく（看板メニューの品名・導入のサブ見出しが 1 字だけ落ちないように） */
@media (max-width: 359px) {
  .ofc-copy__title { font-size: 18px; line-height: 30px; }
}
@media (max-width: 767px) {
  .ofc-lead__sub { font-size: 14px; line-height: 23px; }
}

/* ページ内リンクの飛び先（TOP の FOOD／DRINK → #food・#drink）は上下に動かさない（透明度の演出は残す）。
   動かすと着地位置が translateY(24px) の途中で決まり、表示後に 24px 上がって SP の固定ヘッダーの下に潜る（2026-10-14 STG 実測） */
body .ofc-menu-head.fade-up { transform: none; }
html { scroll-padding-top: calc(var(--ofc-head-h) + 16px); }

/* 1100〜1279px：ロゴ（右端 202）とナビの間が 6px まで詰まる（1100px で実測）→ ナビの間隔 40→28・右余白 80→40。
   1280px 以上は Figma どおり（2026-10-14 最終確認） */
@media (min-width: 1100px) and (max-width: 1279px) {
  body .global-header { padding-right: 40px; gap: 28px; }
  body .global-header .desktop-nav { gap: 28px; }
  body .global-header .header-page-eyebrow { right: 40px; }
}

/* タブレット（768〜1099px）の調整（2026-10-14 最終確認で STG を 768／1024 で撮影して発見） */
@media (min-width: 768px) and (max-width: 1099px) {
  /* NEWS 枠：横 3 列だと記事名が「ホ…」まで省略される → 見出し＋記事の 2 列、ボタンは記事の下 */
  body .ofc-newsbox__inner { grid-template-columns: 139px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 48px; row-gap: 24px; padding: 56px 48px; }
  .ofc-newsbox__head { grid-row: 1 / span 2; align-self: center; }
  .ofc-newsbox__list { margin-left: 0 !important; max-width: none; }
  .ofc-newsbox__more { grid-column: 2; justify-self: start; }
  /* お知らせ一覧のサイドバー見出し：1 字だけ次の行に落ちない大きさ */
  .ofc-side-head { gap: 12px; font-size: 26px; line-height: 40px; }
  .ofc-side-head small { font-size: 15px; white-space: nowrap; }
  .ofc-side-cats a { gap: 14px; font-size: 22px; }
  .ofc-side-cats a small { font-size: 16px; white-space: nowrap; }
  /* 導入の帯の本文：1 字だけ次の行に落ちない大きさ */
  .ofc-lead__text { font-size: 15px; line-height: 30px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  /* TOP の店舗表：2 列だと店名・住所が細かく折れる → 写真を上に、表は全幅 */
  .ofc-topaccess__row { flex-direction: column-reverse; align-items: stretch; gap: 40px; }
  .ofc-topaccess__info { flex: none; }
  .ofc-topaccess__photo { flex: none; width: 100%; }
}
