@charset "UTF-8";

/*
Theme Name: Anchor Burger REPUBREW Child v4
Theme URI: https://www.repubrew.com/anchor-burger/
Description: ANCHOR BURGER NUMAZU 専用の Twenty Twenty-Five 子テーマ
Author: Creage Office
Template: twentytwentyfive
Version: 1.8.11
Text Domain: anchor-burger
*/

/* =========================================================
   1. デザイントークン
   01home.psd から抽出した実測値
   ========================================================= */
:root {
  /* Color */
  --c-red:       #e0002a;  /* メインアクセント（見出し・ロゴ） */
  --c-orange:    #f39800;  /* サブアクセント */
  --c-blue:      #005982;  /* サブアクセント（静岡名産・海の宝石） */
  --c-green:     #007130;  /* サブアクセント（見出し小） */
  --c-black:     #000000;
  --c-white:     #ffffff;
  --c-gray-text: #535353;  /* キャプション */
  --c-gray-bg:   #eeeeee;  /* プレースホルダー背景・ヒーロー背面文字 */
  --c-cream:     #f5f0d6;  /* カード・パネル背景 */

  --c-bg:        var(--c-white);
  --c-text:      var(--c-black);
  --c-text-sub:  var(--c-gray-text);
  --c-line:      #dddddd;
  --c-accent:    var(--c-red);
  --c-accent-dk: #b30022;

  /* Typography
     ※ ラグランパンチ(RaglanPunchStd-UB)と新ゴ(ShinGoPro)は要ライセンス。
       装飾見出しは画像化、本文はNoto Sans JPで代替する方針。 */
  --ff-base:   "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif;
  --ff-disp:   "Bebas Neue", "Arial Narrow", sans-serif;  /* 欧文見出し = BebasKai代替 */
  --ff-mincho: "Shippori Mincho", "Hiragino Mincho ProN", serif; /* ヒーロー見出し */

  /* Font size（PC実測 → clamp化。SPデザイン確定後に下限値を調整） */
  --fs-xs:   0.75rem;   /* 12px */
  --fs-sm:   clamp(0.875rem, 0.83rem + 0.2vw, 1.0625rem);  /* 14 → 17px キャプション */
  --fs-base: 1rem;
  --fs-lg:   clamp(1.125rem, 1rem + 0.55vw, 1.5rem);       /* 18 → 24px */
  --fs-xl:   clamp(1.5rem, 1.05rem + 2vw, 3rem);           /* 24 → 48px 小見出し */
  --fs-2xl:  clamp(2rem, 1.15rem + 3.8vw, 4.5rem);         /* 32 → 72px セクション見出し */
  --fs-3xl:  clamp(2.5rem, 0.9rem + 7.1vw, 9.375rem);      /* 40 → 150px ヒーロー */

  --lh-tight: 1.05;
  --lh-base:  1.8;

  /* Spacing */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-6: 3rem;
  --sp-8: 4rem;
  --sp-12: 6rem;

  /* Layout（PSD: canvas 1400px / container 1200px / inner 1000px） */
  --container: 1200px;
  --container-inner: 1000px;
  --container-narrow: 720px;
  --gutter: 1.25rem;
  --header-h: 60px;

  --radius: 0px;   /* デザインは角丸なし */
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 768px) {
  :root {
    --gutter: 2.5rem;
    --header-h: 108px;   /* PSD実測 */
  }
}

/* =========================================================
   2. リセット / ベース
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--ff-base);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
}
body.is-locked { overflow: hidden; }

h1, h2, h3, p, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--c-red); outline-offset: 3px; }

/* 視覚的に隠すがスクリーンリーダーと検索エンジンには残す */
.vh {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 1rem; top: 1rem; z-index: 100;
  padding: 0.5rem 1rem; background: var(--c-white);
}

/* =========================================================
   3. レイアウト
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sp-6); }
.section--tight { padding-block: var(--sp-4); }

@media (min-width: 768px) {
  .section { padding-block: var(--sp-8); }
}

/* デザインが1400px幅の全面ビジュアルで構成されているためのバンド */
.band {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
}
.band__img { width: 100%; }
.footer-shop-band { max-width: 1200px; }
.footer-shop-band--access { margin-bottom: var(--sp-8); }

.band--hero { padding-top: var(--header-h); }

/* 固定ページのブロックエディターから差し替えられる全面画像 */
.editable-page .wp-block-image.band {
  margin-block: 0;
  margin-inline: auto;
}
.editable-page .wp-block-image.band img { width: 100%; }
.editable-page--home > .wp-block-image.band:not(.band--hero) {
  margin-top: clamp(2rem, 5vw, 4.5rem);
  padding-inline: clamp(1.25rem, 3.5vw, 3rem);
}
@media (max-width: 599px) {
  .editable-page--home > .wp-block-image.band:not(.band--hero) {
    width: 100%;
    padding-inline: 0;
  }
  .editable-page--home > .wp-block-image.band:has(img[src*="s03-grandopen.webp"]) {
    width: 95%;
  }
  .editable-page--home .section--tight .wp-block-image:has(img[src*="s11-republew.webp"]) {
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
  }
  .footer-shop-band {
    width: 90%;
  }
  .footer-shop-band--access { margin-bottom: var(--sp-6); }
}
.editable-page .wp-block-image.panel__media,
.editable-page .wp-block-image.diagram { margin-inline: 0; }
.editable-page .wp-block-image.panel__media img,
.editable-page .wp-block-image.diagram img { width: 100%; }
.editable-page .panel > p + p { margin-top: 1.25em; }
.editable-page .wp-block-image.award__img {
  width: min(100%, 250px);
  margin: var(--sp-3) auto 0;
}
.editable-page .wp-block-columns.cols2 { display: grid; }

/* =========================================================
   4. ヘッダー
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: #ffffff;
  color: #000000;
  box-shadow: -12px 0 32px rgba(0, 0, 0, 0.16);
  transition: box-shadow 0.3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 1px 12px rgba(0, 0, 0, 0.12); }

.header__inner {
  height: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header__mark {
  width: clamp(40px, 5vw, 70px);
  height: auto;
}
.header__type {
  font-family: var(--ff-disp);
  font-size: clamp(1.125rem, 0.7rem + 1.8vw, 2.0625rem); /* 18 → 33px */
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}
.header__type b { color: var(--c-red); font-weight: 400; }

/* --- ハンバーガー（魚アイコン） --- */
.hamburger {
  position: relative;
  z-index: 70;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.hamburger__icon {
  width: clamp(32px, 3.6vw, 51px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
/* 魚アイコンは×に変形できないため、フェードで差し替える */
.hamburger__close {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}
.hamburger__close::before,
.hamburger__close::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 30px; height: 3px;
  background: var(--c-black);
}
.hamburger__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.hamburger__close::after  { transform: translate(-50%, -50%) rotate(-45deg); }

.hamburger[aria-expanded="true"] .hamburger__icon { opacity: 0; transform: scale(0.8); }
.hamburger[aria-expanded="true"] .hamburger__close { opacity: 1; }

/* =========================================================
   5. ナビゲーション（ドロワー）
   ※ リンク構成が確定したら要調整
   ========================================================= */
.nav {
  position: fixed;
  top: 0; right: 0;
  z-index: 60;
  width: min(84vw, 360px);
  height: 100dvh;
  padding: calc(var(--header-h) + var(--sp-3)) var(--sp-4) var(--sp-6);
  background: #ffffff;
  color: #000000;
  box-shadow: -12px 0 32px rgba(0, 0, 0, 0.16);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav.is-open { transform: translateX(0); }

.nav__list { display: flex; flex-direction: column; }
.nav__link {
  display: block;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #000000;
}
.nav__link:hover { color: var(--c-red); }

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.drawer-overlay.is-open { opacity: 1; }

/* =========================================================
   6. おすすめメニュー
   ========================================================= */
/* 装飾見出し（ラグランパンチ）は画像で実装。
   img に width/height を持たせつつ、幅は原寸を上限に可変させる。 */
.heading-img {
  margin: 0 auto var(--sp-4);
  text-align: center;
}
.heading-img img {
  width: auto;
  max-width: min(100%, 384px);
  height: auto;
  margin-inline: auto;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3) var(--sp-2);
}
@media (min-width: 768px) {
  .menu-grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); }
}

.menu-item,
.menu-item__link { display: block; text-align: center; }
.menu-item__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.menu-item__link:hover .menu-item__img { transform: scale(1.06); }

.menu-item__name {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--fs-sm);
  color: var(--c-gray-text);
}

/* =========================================================
   7. プレースホルダー（内容確定後に差し替え）
   ========================================================= */
.placeholder,
.map-placeholder,
.share {
  background: var(--c-gray-bg);
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--sp-3);
}
.placeholder { min-height: 237px; margin-top: var(--sp-3); font-weight: 700; }

.map-placeholder {
  min-height: 300px;
  font-family: var(--ff-disp);
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.3125rem);
  letter-spacing: 0.06em;
}
@media (min-width: 768px) {
  .map-placeholder { min-height: 604px; }
}

.share { min-height: 109px; margin-top: var(--sp-3); }
.share__label { font-size: var(--fs-sm); }

/* =========================================================
   8. 店舗情報
   ========================================================= */
.shop-info {
  margin-top: var(--sp-3);
  padding: var(--sp-4);
  background: var(--c-gray-bg);
  font-size: var(--fs-sm);
}
.shop-info__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 var(--sp-3);
  padding-block: 0.25rem;
}
@media (min-width: 600px) {
  .shop-info__row { grid-template-columns: 7em 1fr; }
}
.shop-info__row dt { font-weight: 700; }
.shop-info a { text-decoration: underline; }
.shop-info a:hover { color: var(--c-red); }

/* =========================================================
   9. フッター
   ========================================================= */
.footer {
  background: var(--c-black);
  color: var(--c-white);
  padding-block: clamp(3.5rem, 7vw, 6rem) 2.75rem;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer__logo {
  width: clamp(190px, 23vw, 290px);
  transition: opacity 0.25s var(--ease);
}
.footer__logo:hover { opacity: 0.78; }
.footer__logo img { width: 100%; }
.footer__brand {
  font-family: var(--ff-disp);
  margin: 0.2rem 0 clamp(2rem, 4vw, 3.25rem);
  max-width: 100%;
  font-size: clamp(2.1rem, 1.1rem + 3.8vw, 4rem);
  line-height: 1;
  color: var(--c-red);
  letter-spacing: 0.02em;
}
.footer__copy { font-size: 0.8rem; color: var(--c-white); }

/* =========================================================
   10. モーションの配慮
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   11. 下層ページ共通
   ========================================================= */
.container--inner { max-width: var(--container-inner); }

/* --- ページヒーロー（下層の見出し帯） --- */
.page-hero {
  margin-top: var(--header-h);
  height: clamp(180px, 25vw, 353px);
  background-color: var(--c-black);
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
}
.page-hero__inner {
  width: 100%;
  max-width: var(--container-inner);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
}
.page-hero__title {
  font-family: var(--ff-disp);
  font-size: clamp(1.75rem, 1.1rem + 2.8vw, 2.75rem);
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--c-white);
}

.page-hero--menu    { background-image: url("assets/img/hero-menu.webp"); }
.page-hero--beer    { background-image: url("assets/img/hero-beer.webp"); }
.page-hero--access  { background-image: url("assets/img/hero-access.webp"); }
.page-hero--inquiry { background-image: url("assets/img/hero-inquiry.webp"); }
.page-hero--concept,
.page-hero--news,
.page-hero--column  { background-image: url("assets/img/page-hero.webp"); }

/* --- 見出し --- */
.sec-title {
  font-size: clamp(1.25rem, 0.95rem + 1.3vw, 1.75rem); /* 20 → 28px */
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: var(--sp-2);
}
.sec-title--center { text-align: center; margin-bottom: var(--sp-4); }

.sub-title {
  font-size: clamp(1.125rem, 0.95rem + 0.8vw, 1.5rem); /* 18 → 24px */
  font-weight: 700;
  margin: var(--sp-6) 0 var(--sp-2);
}
.sub-title--line { margin-top: 0; padding-bottom: 0.75rem; border-bottom: 4px solid var(--c-black); }
.editable-page--access h2:not(.sec-title) {
  font-size: clamp(1.25rem, 0.95rem + 1.3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: var(--sp-2);
}
.editable-page--access .sub-title--line { border-bottom: 1px solid var(--c-line); }
.editable-page--access .sec-title--center + .sub-title { margin-top: 0; }

/* --- アクセス写真付き道案内 --- */
.access-guide {
  width: min(var(--w-880), calc(100% - 40px));
  margin-inline: auto;
  padding-block: var(--sp-3) var(--sp-12);
}
.guide__title {
  margin-bottom: var(--sp-3);
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
}
.guide__lead { font-size: var(--fs-sm); }
.guide__lead a,
.guide-note__links a { color: var(--c-red); text-decoration: underline; }
.guide-steps {
  margin: var(--sp-6) 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--c-line);
}
.guide-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: var(--sp-3);
  padding-block: var(--sp-6);
  border-top: 1px solid var(--c-line);
}
.guide-step__num {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--c-white);
  background: var(--c-red);
  font-family: var(--ff-disp);
  font-size: 1.75rem;
  line-height: 1;
}
.guide-step__title {
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.4rem);
  font-weight: 700;
  line-height: 1.5;
}
.guide-step__figure { margin: var(--sp-3) 0; }
.guide-step__figure img { width: 100%; }
.guide-step__text { font-size: var(--fs-sm); }
.guide-note {
  margin-top: var(--sp-6);
  padding: var(--sp-4);
  background: var(--c-cream);
}
.guide-note__links { margin-top: var(--sp-2); font-weight: 700; }

.sec-lead { font-size: var(--fs-sm); margin-bottom: var(--sp-3); }
.sec-lead--top { margin-bottom: var(--sp-2); }

/* --- 本文 --- */
.prose { font-size: var(--fs-sm); }
.prose > * + * { margin-top: 1.25em; }
.list { list-style: none; }
.list li { position: relative; padding-left: 1em; }
.list li::before { content: "・"; position: absolute; left: 0; }

.cols2 { display: grid; gap: var(--sp-4); margin-top: var(--sp-4); }
@media (min-width: 768px) {
  .cols2 { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
}

.diagram { width: 100%; }

/* --- ボタン（黒） --- */
.btn--dark { background: var(--c-black); color: var(--c-white); min-width: min(100%, 440px); }
.btn--dark:hover { background: var(--c-gray-text); }
.taplist-button { min-width: min(100%, 300px); }
.btn.taplist-button--mobile { display: inline-flex; }
.btn.taplist-button--desktop { display: none; }
@media (min-width: 768px) {
  .btn.taplist-button--mobile { display: none; }
  .btn.taplist-button--desktop { display: inline-flex; }
}

/* =========================================================
   12. メニュー一覧
   繰り返し要素。項目が増減してもレイアウトは崩れない。
   ========================================================= */
.menu-cat { padding-block: var(--sp-4) var(--sp-6); }
.editable-page--menu .menu-cat:first-of-type { padding-top: 90px; }
.menu-cat__title {
  font-size: clamp(1.25rem, 0.95rem + 1.3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--sp-3);
}
.menu-cat__subtitle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: max-content;
  margin-bottom: 0.45rem;
  color: var(--c-red);
  font-family: var(--ff-base);
  font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
/*
  line-height: 1.4;
*/
}
.menu-cat__subtitle::before,
.menu-cat__subtitle::after {
/*
  content: "";
*/
  flex: 0 0 18px;
  height: 1px;
  background: currentColor;
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;   /* PSD実測 */
}
@media (max-width: 599px) {
  .menu-list { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

.menu-card {
  display: flex;
  flex-direction: column;
  padding: 25px;
  background: var(--c-cream);
  border-radius: 8px;   /* PSD実測 */
  text-align: center;
}
.menu-card__media {
  aspect-ratio: 320 / 220;
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-2);
}
.menu-card__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.menu-card:hover .menu-card__media img { transform: scale(1.05); }

.menu-card__name {
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .menu-card__pc-break { display: none; }
}
.menu-card__price {
  margin-top: 0.4em;
  font-size: var(--fs-sm);
}

/* =========================================================
   13. クラフトビールページ
   ========================================================= */
.panel {
  background: var(--c-cream);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3.75rem) clamp(1.25rem, 0.5rem + 3vw, 6.25rem);
}
.panel__title {
  font-size: clamp(1.125rem, 0.9rem + 1.1vw, 1.75rem);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.panel__media { width: 100%; margin-bottom: var(--sp-3); }

.award { margin-top: var(--sp-6); }
.award__title {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: var(--sp-2);
}
.award__body { display: grid; gap: var(--sp-3); }
@media (min-width: 768px) {
  .award__body { grid-template-columns: 1fr 250px; gap: var(--sp-4); align-items: start; }
}
.award__img { width: 100%; }

/* =========================================================
   14. お問い合わせページ
   ========================================================= */
.slider-placeholder {
  background: var(--c-gray-bg);
  min-height: 284px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--sp-3);
  font-size: var(--fs-lg);
}
.form-block {
  background: var(--c-gray-bg);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3.75rem) clamp(1.25rem, 0.5rem + 3vw, 5rem);
}

.form__field { margin-bottom: var(--sp-3); }
.form__label {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-bottom: var(--sp-1);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.form__req {
  padding: 2px 6px;
  background: var(--c-red);
  color: var(--c-white);
  font-size: 10px;
  font-weight: 700;
}
.form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--c-line);
  background: var(--c-white);
  font: inherit;
  font-size: var(--fs-base);  /* iOSの自動ズーム防止 */
}
.form__input:focus { border-color: var(--c-red); }
.form__input--area { resize: vertical; min-height: 10rem; }
.thanks-block {
  padding: clamp(2rem, 1rem + 4vw, 5rem) clamp(1.25rem, 0.5rem + 3vw, 4rem);
  background: var(--c-gray-bg);
  text-align: center;
}
.thanks-block > * + * { margin-top: var(--sp-3); }

/* =========================================================
   15. ページトップへ戻るボタン
   ========================================================= */
.to-top {
  position: fixed;
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  z-index: 40;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c-black);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top::before {
  content: "";
  position: absolute;
  top: 55%; left: 50%;
  width: 10px; height: 10px;
  border-top: 2px solid var(--c-white);
  border-right: 2px solid var(--c-white);
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* 現在地表示 */
.nav__link.is-current { color: var(--c-red); }

/* =========================================================
   16. WordPress / スライダー拡張
   ========================================================= */
.anchor-slider { position: relative; }
.anchor-slider__viewport { overflow: hidden; }
.anchor-slider__track {
  display: flex;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}
.anchor-slider__track.is-jumping { transition: none; }
.anchor-slider__slide {
  flex: 0 0 50%;
  min-width: 0;
  padding-inline: 0.5rem;
}
.anchor-slider__controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: var(--sp-3);
}
.anchor-slider__button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-black);
  border-radius: 50%;
  background: var(--c-white);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.anchor-slider__button::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.anchor-slider__button--prev::before { transform: rotate(-135deg); margin-left: 4px; }
.anchor-slider__button--next::before { transform: rotate(45deg); margin-right: 4px; }
.anchor-slider__button:hover { background: var(--c-black); color: var(--c-white); }
.anchor-slider__button[hidden] { display: none; }

/* TOPのおすすめメニューだけ、矢印をスライダー左右へ配置 */
.editable-page--home .anchor-slider { padding-inline: 48px; }
.editable-page--home .anchor-slider__controls {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  pointer-events: none;
}
.editable-page--home .anchor-slider__button {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  pointer-events: auto;
}
.editable-page--home .anchor-slider__button--prev { left: 0; }
.editable-page--home .anchor-slider__button--next { right: 0; }
@media (min-width: 768px) {
  .editable-page--home .anchor-slider { padding-inline: 60px; }
}
@media (min-width: 768px) {
  .anchor-slider__slide { flex-basis: 25%; }
}

.news-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--c-cream);
}
.news-card__image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-card__placeholder { width: 100%; aspect-ratio: 16 / 10; background: #ded8ba; }
.news-card__body { display: grid; gap: 0.45rem; padding: 1rem; }
.news-card__date { font-size: var(--fs-xs); color: var(--c-gray-text); }
.news-card__title { font-size: var(--fs-sm); line-height: 1.6; }
.news-card:hover .news-card__title { color: var(--c-red); }

.empty-message {
  padding: var(--sp-4);
  background: var(--c-gray-bg);
  text-align: center;
}
.menu-card__media--empty { background: rgba(255, 255, 255, 0.55); }
.menu-card__media--empty::before { content: "NO IMAGE"; font-family: var(--ff-disp); color: #aaa; }

.content-area { padding-top: var(--header-h); }
.article { max-width: var(--container-inner); margin-inline: auto; padding: var(--sp-6) var(--gutter); }
.article__header { margin-bottom: var(--sp-4); }
.article__title { font-size: var(--fs-xl); line-height: 1.4; }
.article__date { margin-top: 0.5rem; color: var(--c-gray-text); font-size: var(--fs-sm); }
.article__thumb { width: 100%; margin-bottom: var(--sp-4); }
.entry-content { font-size: var(--fs-base); }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content a { color: var(--c-red); text-decoration: underline; }
.entry-content ul { list-style: disc; padding-left: 1.5em; }
.entry-content ol { padding-left: 1.5em; }

.notice { margin-bottom: var(--sp-3); padding: 0.9rem 1rem; background: #e8f6ec; border-left: 4px solid var(--c-green); }
.notice--error { background: #fff0f0; border-left-color: var(--c-red); }
.form__hp { position: absolute; left: -9999px; }
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

@media (min-width: 600px) {
  .form .btn--block {
    display: flex;
    width: min(100%, 360px);
    margin-inline: auto;
  }
}

.footer-nav {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.6rem;
  font-size: 0.8rem;
  font-weight: 700;
}
.footer-nav__list--sub { font-size: 0.75rem; }
.footer-nav a:hover { color: var(--c-red); }
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.social-links a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.social-links a:hover { color: var(--c-red); transform: translateY(-2px); }
.share-links {
  margin-top: 0;
  text-align: center;
}
.share-section { padding-block: var(--sp-2) var(--sp-6); }
.share-links::before {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: 0 auto 1rem;
  background: var(--c-red);
}
.share-links__label {
  margin-bottom: 0.8rem;
  font-family: var(--ff-disp);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.14em;
}
.share-links--no-title::before { margin-bottom: 0.65rem; }
.share-links__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.35rem, 3vw, 2.25rem);
}
.share-links__list a {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-red);
  background: transparent;
  font-size: 1.65rem;
  line-height: 1;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.share-links__list a:hover,
.share-links__list a:focus-visible {
  color: var(--c-black);
  transform: translateY(-3px);
}
.map-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-gray-bg); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 599px) {
  .menu-card { padding: 0.75rem; }
  .menu-card__media { aspect-ratio: 1 / 1; }
  .header__type { white-space: normal; }
}

/* =========================================================
   17. コンセプト / ニュース / コラム
   ========================================================= */
:root {
  --w-880: 880px;
  --w-740: 740px;
}

.page-body,
.concept {
  width: min(var(--w-880), calc(100% - 40px));
  margin-inline: auto;
  padding-block: 90px 64px;
}

/* 固定ページの先頭コンテンツは NEWS / COLUMN と同じ90pxの間隔に統一。 */
.editable-page:not(.editable-page--home) > .section:first-of-type { padding-top: 90px; }

.page-after-content {
  margin-top: 72px;
  font-size: var(--fs-base);
}
.page-after-content > * + * { margin-top: 1.4em; }

/* --- コンセプト --- */
.concept-sec + .concept-sec { margin-top: 60px; }
.concept-sec--lead { margin-bottom: 70px; }

.concept-catch,
.concept-head {
  margin: 0 0 32px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #000;
}
.concept-subhead {
  margin: 40px 0 16px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #000;
}
.concept-text {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.667;
  letter-spacing: 0.02em;
  color: #313131;
}
.concept-text + .concept-text { margin-top: 1.667em; }
.concept-text strong { font-weight: 700; color: #000; }
.concept-note { margin: 24px 0 0; font-size: 16px; line-height: 1.75; color: #6b6b6b; }

.editable-page .wp-block-image.concept-figure {
  margin: 0 0 48px;
}
.editable-page .wp-block-image.concept-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 880 / 422;
  object-fit: cover;
}

.concept-box { margin-top: 56px; background-color: #f5f0d6; }
.concept-box__inner {
  width: min(var(--w-740), 100%);
  margin-inline: auto;
  padding-block: 56px 60px;
}
.concept-box__title {
  margin: 0 0 32px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.concept-course + .concept-course { margin-top: 40px; }
.concept-course__title {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.concept-course--closing { margin-top: 48px; }

.concept-faq { margin: 0; }
.concept-faq__q {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.concept-faq__a {
  margin: 0;
  font-size: 18px;
  line-height: 1.667;
  letter-spacing: 0.02em;
  color: #313131;
}
.concept-faq__a + .concept-faq__q { margin-top: 40px; }
.concept-faq__a a { color: var(--c-red); text-decoration: underline; }

.concept-info { margin: 0; }
.concept-info__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0 24px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.concept-info__row:first-child { padding-top: 0; }
.concept-info__row:last-child { padding-bottom: 0; border-bottom: 0; }
.concept-info__label,
.concept-info__value {
  margin: 0;
  font-size: 18px;
  line-height: 1.667;
  letter-spacing: 0.02em;
}
.concept-info__label { font-weight: 700; color: #000; }
.concept-info__value { color: #313131; }
.concept-info__value a { color: var(--c-red); text-decoration: underline; word-break: break-all; }

/* --- 記事一覧 --- */
.post-archive__title {
  margin: 0 0 32px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.post-list { margin: 0; padding: 0; list-style: none; }
.post-list__item { border-bottom: 1px solid #ededed; }
.post-list__link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 1em;
  padding: 33px 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #000;
  transition: opacity 0.2s ease;
}
.post-list__link:hover,
.post-list__link:focus-visible { opacity: 0.6; }
.post-list__date { flex-shrink: 0; font-variant-numeric: tabular-nums; }

.post-pager { margin-top: 56px; }
.post-pager .page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.post-pager a.page-numbers,
.post-pager span.page-numbers {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #000;
  font-size: 14px;
  font-weight: 700;
}
.post-pager span.current,
.post-pager a.page-numbers:hover { background: #000; color: #fff; }
.post-pager .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* --- 記事詳細 --- */
.page-body--article { padding-top: 90px; }
.post-detail__header { width: 100%; max-width: none; margin-bottom: 32px; }
.post-detail__date {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #6b6b6b;
  font-variant-numeric: tabular-nums;
}
.post-detail__title {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.post-detail__terms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.post-term {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid #d8d8d8;
  font-size: 13px;
  line-height: 1.4;
  color: #535353;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.post-term--category { border-color: #000; color: #000; }
.post-term:hover { border-color: var(--c-red); color: var(--c-red); }

.post-detail__figure { margin: 0 0 54px; }
.post-detail__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.post-detail__body { width: 100%; max-width: none; font-size: 18px; line-height: 1.667; letter-spacing: 0.02em; color: #313131; }
.post-detail__body > * { max-width: none; margin-block: 0; }
.post-detail__body > * + * { margin-top: 1.667em; }
.post-detail__body h2 {
  margin-top: 60px;
  margin-bottom: 24px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.5;
  color: #000;
}
.post-detail__body h3 {
  margin-top: 52px;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  color: #000;
}
.post-detail__body h2:first-child,
.post-detail__body h3:first-child { margin-top: 0; }
.post-detail__body a { color: var(--c-red); text-decoration: underline; }
.post-detail__body strong { font-weight: 700; color: #000; }
.post-detail__body img { display: block; width: 100%; height: auto; }
.post-detail__body ul { padding-left: 1.5em; list-style: disc; }
.post-detail__body ol { padding-left: 1.5em; }
.post-detail__body li + li { margin-top: 0.5em; }
.post-detail__body blockquote { padding: 20px 24px; border-left: 4px solid #ededed; background: #fafafa; }

/* 通常のテーブル：コンセプトの表をベースにした白背景・下線のみのデザイン。 */
.entry-content .wp-block-table,
.post-detail__body .wp-block-table,
.editable-page .wp-block-table,
.page-after-content .wp-block-table {
  width: min(100%, var(--w-880));
  margin-block: var(--sp-3);
  margin-inline: auto;
  overflow-x: auto;
}
.entry-content .wp-block-table table,
.post-detail__body .wp-block-table table,
.editable-page .wp-block-table table,
.page-after-content .wp-block-table table,
.entry-content > table,
.post-detail__body > table,
.editable-page > table,
.page-after-content > table {
  width: 100%;
  max-width: var(--w-880);
  margin: 0;
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
  background: transparent;
  table-layout: auto;
  font-size: inherit;
  line-height: inherit;
}
.entry-content > table,
.post-detail__body > table,
.editable-page > table,
.page-after-content > table {
  margin-block: var(--sp-3);
  margin-inline: auto;
}
.entry-content .wp-block-table tr,
.post-detail__body .wp-block-table tr,
.editable-page .wp-block-table tr,
.page-after-content .wp-block-table tr,
.entry-content > table tr,
.post-detail__body > table tr,
.editable-page > table tr,
.page-after-content > table tr {
  background: transparent;
}
.entry-content .wp-block-table :is(th, td),
.post-detail__body .wp-block-table :is(th, td),
.editable-page .wp-block-table :is(th, td),
.page-after-content .wp-block-table :is(th, td),
.entry-content > table > tbody > tr > :is(th, td),
.post-detail__body > table > tbody > tr > :is(th, td),
.editable-page > table > tbody > tr > :is(th, td),
.page-after-content > table > tbody > tr > :is(th, td) {
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  text-align: left;
  vertical-align: top;
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
}
.entry-content .wp-block-table :is(th, td) + :is(th, td),
.post-detail__body .wp-block-table :is(th, td) + :is(th, td),
.editable-page .wp-block-table :is(th, td) + :is(th, td),
.page-after-content .wp-block-table :is(th, td) + :is(th, td),
.entry-content > table :is(th, td) + :is(th, td),
.post-detail__body > table :is(th, td) + :is(th, td),
.editable-page > table :is(th, td) + :is(th, td),
.page-after-content > table :is(th, td) + :is(th, td) {
  padding-left: 24px;
}
.entry-content .wp-block-table th,
.post-detail__body .wp-block-table th,
.editable-page .wp-block-table th,
.page-after-content .wp-block-table th,
.entry-content > table th,
.post-detail__body > table th,
.editable-page > table th,
.page-after-content > table th {
  font-weight: 700;
  color: #000;
}
.entry-content .wp-block-table a,
.post-detail__body .wp-block-table a,
.editable-page .wp-block-table a,
.page-after-content .wp-block-table a,
.entry-content > table a,
.post-detail__body > table a,
.editable-page > table a,
.page-after-content > table a {
  color: var(--c-red);
  text-decoration: underline;
}

/* iPhoneを含め、長音「ー」などを行頭へ送らない標準的な日本語改行。 */
main :is(h1, h2, h3, h4, h5, h6, p, li, dt, dd) {
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: wrap;
}

.post-detail__back { margin-top: 80px; text-align: center; }
.post-detail__back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 60px;
  padding: 14px 32px;
  border: 2px solid #000;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.post-detail__back-link:hover,
.post-detail__back-link:focus-visible { background: #000; color: #fff; }

@media (max-width: 768px) {
  .page-hero { height: 200px; }
  .page-hero__title { font-size: 32px; }
  .page-body,
  .concept { width: calc(100% - 40px); padding-block: 48px 40px; }
  .editable-page:not(.editable-page--home) > .section:first-of-type,
  .editable-page--menu .menu-cat:first-of-type { padding-top: 48px; }
  .page-body--article { padding-top: 48px; }
  .concept-sec + .concept-sec { margin-top: 48px; }
  .concept-catch,
  .concept-head,
  .concept-box__title { margin-bottom: 24px; font-size: 22px; }
  .concept-subhead,
  .concept-course__title,
  .concept-faq__q { font-size: 18px; }
  .concept-text,
  .concept-faq__a,
  .concept-info__label,
  .concept-info__value { font-size: 15px; line-height: 1.8; }
  main p { letter-spacing: 0; }
  .concept-text br { display: none; }
  .editable-page .wp-block-image.concept-figure { margin-bottom: 32px; }
  .concept-box { margin-top: 40px; }
  .concept-box__inner { width: calc(100% - 40px); padding-block: 32px 36px; }
  .access-guide { padding-block: var(--sp-2) var(--sp-8); }
  .guide-steps { margin-top: var(--sp-4); }
  .guide-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-block: var(--sp-4);
  }
  .guide-step__num { width: 40px; height: 40px; font-size: 1.45rem; }
  .guide-step__body { width: 100%; min-width: 0; }
  .guide-step__figure { margin-block: var(--sp-2); }
  .guide-note { margin-top: var(--sp-4); padding: var(--sp-3); }
  .guide-note__links { font-size: 13px; line-height: 1.7; }
  .concept-info__row { grid-template-columns: 1fr; gap: 4px; }
  .entry-content .wp-block-table :is(th, td),
  .post-detail__body .wp-block-table :is(th, td),
  .editable-page .wp-block-table :is(th, td),
  .page-after-content .wp-block-table :is(th, td),
  .entry-content > table :is(th, td),
  .post-detail__body > table :is(th, td),
  .editable-page > table :is(th, td),
  .page-after-content > table :is(th, td) {
    padding-block: 12px;
    font-size: 15px;
    line-height: 1.7;
  }
  .entry-content .wp-block-table :is(th, td) + :is(th, td),
  .post-detail__body .wp-block-table :is(th, td) + :is(th, td),
  .editable-page .wp-block-table :is(th, td) + :is(th, td),
  .page-after-content .wp-block-table :is(th, td) + :is(th, td),
  .entry-content > table :is(th, td) + :is(th, td),
  .post-detail__body > table :is(th, td) + :is(th, td),
  .editable-page > table :is(th, td) + :is(th, td),
  .page-after-content > table :is(th, td) + :is(th, td) {
    padding-left: 14px;
  }
  .post-archive__title { margin-bottom: 24px; font-size: 22px; }
  .post-list__link { display: block; padding: 20px 0; font-size: 16px; }
  .post-list__date { display: block; margin-bottom: 4px; font-size: 14px; color: #6b6b6b; }
  .post-detail__header { margin-bottom: 24px; }
  .post-detail__date { font-size: 14px; }
  .post-detail__title { font-size: 22px; }
  .post-detail__figure { margin-bottom: 32px; }
  .post-detail__body { font-size: 15px; line-height: 1.8; }
  .post-detail__body h2 { margin-top: 40px; margin-bottom: 16px; font-size: 20px; }
  .post-detail__body h3 { margin-top: 32px; margin-bottom: 12px; font-size: 17px; }
  .post-detail__back { margin-top: 48px; }
  .post-detail__back-link { width: 100%; min-width: 0; min-height: 56px; padding: 12px 24px; }
}

