/* 誌面テンプレート。案ごとに分けて読むので、Next の CSS に入れず public に置く（計画 §9 の実測。next/dynamic では分かれない）。
   クラスは mg- で始める。部品は magazine/classes.ts の styles.x で書く。 */
.mg-root, .mg-hd, .mg-rl, .mg-ft, .mg-pageHead {
  --paper: #f5f3ee;
  --ink: #0e0e0e;
  --ai: #1d3fa8;
  --sub: #4c4b47;
}
/* 案 C：お店の色を入れた店だけ、藍を字とボタンの色に換える。空の店は藍のまま（decisions-pending の色の判断） */
.mg-root[data-site-tint], [data-site-tint] .mg-hd, [data-site-tint] .mg-rl, [data-site-tint] .mg-ft, [data-site-tint] .mg-pageHead {
  --ai: var(--color-accent);
}
.mg-root {
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/2 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif;
  overflow-x: clip;
}
.mg-root a { color: inherit; text-decoration: none; }
.mg-root ul { list-style: none; margin: 0; padding: 0; }
.mg-root i { font-style: normal; }
.mg-root video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.mg-ln { display: block; word-break: auto-phrase; }

/* 上の帯 */
.mg-hd { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--ink); font: 400 15px/2 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 32px; background: var(--paper); }
.mg-logo { display: block; font: 700 20px 'Bodoni Moda', 'Shippori Mincho B1', serif; }
.mg-logo img { display: block; height: 24px; width: auto; max-width: 270px; object-fit: contain; }
.mg-gn { display: flex; gap: 20px; font: 500 13px 'Oswald', sans-serif; letter-spacing: .12em; align-items: center; }
.mg-gn a { white-space: nowrap; }
.mg-ct { font: 500 12px 'Zen Kaku Gothic New', sans-serif; letter-spacing: 0; }
.mg-hd .mg-res { background: var(--ink); color: #fff; padding: 8px 14px; font-size: 12px; white-space: nowrap; }
.mg-rl { display: block; height: 1px; background: var(--ink); }

/* 表紙 */
.mg-hero { position: relative; height: clamp(560px, calc(100svh - 77px), 780px); overflow: hidden; }
.mg-heroPlain { height: auto; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.mg-heroPlain .mg-t1 { position: static; padding: 8px 28px 24px; }
.mg-heroPlain .mg-cap { position: static; max-width: none; }
.mg-im { position: relative; overflow: hidden; display: block; }
.mg-im img { object-fit: cover; }
.mg-hero > .mg-im { position: absolute; inset: 0; }
.mg-hero::before { content: ''; position: absolute; inset: 0 0 auto; height: 330px; background: linear-gradient(#f5f3eee8 60%, transparent); z-index: 1; pointer-events: none; }
.mg-t1 { position: absolute; left: 28px; right: 28px; top: 8px; margin: 0; font: 500 208px/1.02 'Bodoni Moda', 'Shippori Mincho B1', serif; color: var(--ink); z-index: 2; white-space: nowrap; letter-spacing: -.02em; }
.mg-t1Long { font-size: 64px; white-space: normal; line-height: 1.3; letter-spacing: 0; top: 28px; }
.mg-wd { display: inline-block; overflow: hidden; vertical-align: bottom; padding-block: .06em; white-space: nowrap; }
.mg-wd i { display: inline-block; }
.mg-cap { position: absolute; right: 0; bottom: 0; margin: 0; background: var(--ink); color: var(--paper); padding: 30px 38px; max-width: 560px; font-size: 15.5px; line-height: 2; z-index: 2; }

/* 動画の止めるボタン */
.mg-root .mg-vbt { position: absolute; right: 12px; bottom: 12px; z-index: 4; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid #ffffff8c; background: #000000b3; color: #fff; display: grid; place-items: center; cursor: pointer; }
.mg-root .mg-vbt:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mg-root .mg-vbtHero { right: auto; left: 16px; bottom: 16px; }

.mg-info { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.mg-info > * { padding: 30px 32px; }
.mg-info > *:first-child { border-right: 1px solid var(--ink); }
.mg-info h4 { margin: 0; font: 500 13px 'Oswald', 'Zen Kaku Gothic New', sans-serif; letter-spacing: .14em; color: var(--ai); }

/* 見開き */
.mg-spr { position: relative; overflow: clip; scroll-margin-top: 77px; }
.mg-big { margin: 0 0 -14px; font: italic 500 300px/1.28 'Bodoni Moda', 'Shippori Mincho B1', serif; white-space: nowrap; letter-spacing: -.02em; padding: 0 110px; }
.mg-bigEnd { text-align: right; }
.mg-no { display: inline-block; vertical-align: .95em; margin-right: .08em; font: 500 34px/1 'Oswald', sans-serif; font-style: normal; letter-spacing: .04em; color: var(--ai); }
.mg-ink .mg-no { color: #a9bcf5; }
[data-site-tint] .mg-ink .mg-no { color: var(--color-accent-soft); }
.mg-word { display: inline-block; text-transform: lowercase; }
.mg-word::first-letter { text-transform: uppercase; }
.mg-ink { background: var(--ink); color: var(--paper); }
.mg-pap { background: #fff; }
.mg-dots { position: absolute; width: 300px; height: 300px; background: radial-gradient(var(--ai) 1.6px, transparent 1.8px) 0 0/9px 9px; opacity: .55; pointer-events: none; }

/* STYLE の横送り。投稿は正方・縦長・動画のサムネイルが混ざるので、枠を先に決めて中で切り抜く */
.mg-slider { position: relative; }
.mg-slides { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-inline: 32px; scroll-padding-inline: 32px; }
.mg-slides::-webkit-scrollbar { display: none; }
.mg-slides:focus-visible { outline: 2px solid var(--ai); outline-offset: -2px; }
.mg-slides > li { flex: 0 0 min(46vw, 640px); scroll-snap-align: start; }
.mg-slides .mg-im { aspect-ratio: 1; width: 100%; --wc: #fff; }
.mg-sends { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 32px 40px; }
.mg-sendButtons { display: flex; gap: 6px; margin-left: auto; }
.mg-root .mg-igLink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 500 14px 'Oswald', sans-serif; letter-spacing: .14em; border-bottom: 1px solid var(--ink); }
.mg-sends button { width: 44px; height: 44px; display: grid; place-items: center; background: none; color: var(--ink); border: 1px solid var(--ink); cursor: pointer; }
.mg-sends button:disabled { color: #8d8b85; border-color: #c9c7c0; cursor: default; }

/* ABOUT */
.mg-ed { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
.mg-ed .mg-im { min-height: 640px; }
.mg-ed p, .mg-edMore p { align-self: center; margin: 0; padding: 60px 64px; font: 500 21px/2.25 'Zen Kaku Gothic New', sans-serif; }
.mg-edR { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

/* 窓の中で写真が動く */
.mg-im[data-pz] img { height: 120% !important; top: -10% !important; }

/* 写真の帯 */
.mg-tall { display: flex; gap: 6px; padding: 90px 0 110px; width: max-content; margin-left: -40px; }
.mg-tall .mg-im { flex: none; width: 300px; aspect-ratio: 3/4; }
.mg-tall .mg-im:nth-child(2n) { translate: 0 46px; }

/* 店舗情報 */
.mg-w { position: relative; padding: 90px 32px; }
.mg-ac { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
.mg-fr { aspect-ratio: 16/10; margin-bottom: 18px; --wc: var(--paper); }
.mg-park { margin: 0; }
.mg-park figcaption { font-weight: 700; margin-bottom: 6px; }
.mg-park .mg-im { aspect-ratio: 16/9; }
.mg-shop > li { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; border-top: 1px solid var(--ink); padding: 14px 0; font-size: 14.5px; }
.mg-shop b { font-weight: 700; }
.mg-shop span { overflow-wrap: anywhere; }
.mg-rowWide { grid-column: 1 / -1; }
.mg-root a.mg-mapLink { display: inline-block; padding-block: 2px; text-decoration: underline; text-underline-offset: 3px; }
.mg-vd { position: relative; overflow: hidden; background: var(--ink); }
.mg-pk { aspect-ratio: 21/9; margin-top: 46px; }
.mg-promo { aspect-ratio: 16/9; max-width: 960px; margin: 56px auto 0; }

/* MENU */
.mg-fv { position: relative; overflow: hidden; margin: 0 0 56px; --wc: #fff; }
.mg-fv .mg-vd { aspect-ratio: 21/9; }
.mg-svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 64px; }
.mg-svc article { padding: 22px 26px 26px; border-right: 1px solid var(--ink); }
.mg-svc article:first-child { padding-left: 0; }
.mg-svc article:last-child { border: 0; padding-right: 0; }
.mg-svc h3 { font: 500 34px/1.4 'Bodoni Moda', 'Shippori Mincho B1', serif; margin: 0 0 10px; }
.mg-svc p { margin: 0; font-size: 14.5px; line-height: 1.95; }
.mg-tb { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.mg-col { padding: 0 36px; border-right: 1px solid var(--ink); }
.mg-col:first-child { padding-left: 0; }
.mg-col:last-child { border: 0; padding-right: 0; }
.mg-mg { padding: 22px 0; }
.mg-mg h3 { margin: 0 0 8px; font: 500 30px/1.4 'Oswald', 'Zen Kaku Gothic New', sans-serif; letter-spacing: .05em; }
.mg-en { color: var(--ai); display: block; }
.mg-ja { display: block; font: 500 13px 'Zen Kaku Gothic New', sans-serif; letter-spacing: 0; }
.mg-mg li { border-top: 1px solid #bdbab2; }
.mg-mg li > a, .mg-mg li > div { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding: 11px 0; font-weight: 500; }
.mg-mg small { grid-column: 1 / -1; font-size: 13px; color: var(--sub); font-weight: 400; }
.mg-p { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--color-price, var(--color-accent)); } /* 値段はお店の差し色（price-color-2026-11-15.md） */
.mg-p i { margin-left: 10px; opacity: .6; }
.mg-tax { font-size: 13px; color: var(--sub); padding-top: 10px; margin: 0; }

/* BLOG */
.mg-blog { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.mg-blog > li { padding: 20px 22px; border-right: 1px solid var(--ink); display: flex; flex-direction: column; gap: 8px; }
.mg-blog > li:first-child { padding-left: 0; }
.mg-blog > li:last-child { border: 0; }
.mg-cat { font-size: 12px; font-weight: 700; }
.mg-root .mg-ttl { font-weight: 700; font-size: 17px; line-height: 1.6; }
.mg-blog time { font-size: 12px; color: var(--sub); }
.mg-root .mg-more { display: block; text-align: right; margin-top: 18px; font: 500 14px 'Oswald', sans-serif; letter-spacing: .14em; }

/* 予約の帯とフッター */
.mg-cta { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 6px; padding: 100px 20px; background: var(--ai); color: #fff; }
.mg-ctaA { font-weight: 500; font-size: 18px; text-align: center; }
.mg-ctaA span { display: inline-block; }
.mg-ctaT { font: 500 100px/1.1 'Bodoni Moda', 'Shippori Mincho B1', serif; }
.mg-ft { padding: 24px 32px; font: 400 12px/2 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif; color: #c9c7c0; background: var(--ink); }
.mg-ft p { margin: 0; }
.mg-ftn { display: flex; gap: 18px; flex-wrap: wrap; }
.mg-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--paper); border-top: 1px solid var(--ink); padding-bottom: env(safe-area-inset-bottom, 0px); }
.mg-bar a { flex: 1; text-align: center; padding: 14px 0; font-size: 15px; }
.mg-root .mg-bar a:last-child { background: var(--ink); color: #fff; }

/* 下のページの特大の語。トップの見開きの見出しと同じ組み */
.mg-pageHead { position: relative; overflow: clip; color: var(--ink); }
.mg-pageHead .mg-big { position: relative; z-index: 1; margin: 0; font-size: min(300px, 17.5vw); }
.mg-pageHead .mg-dots { right: 60px; top: 40px; width: 240px; height: 240px; }

/*
 * ホバー（CREATIVE §10-13 の 2）。誌面の語彙は「刷り」。藍の版が刷られる、黒い版が上がる、罫線が引かれる、網点が浮く。
 * 版は transform で動かす。入るときと抜けるときで向きを変え、戻るときも同じ方向へ抜ける。
 * 色を変えるのは字と地だけ。下のページには --ai が無いので --color-accent を使う（お店の色もここに入る）。
 */
.mg-hd .mg-res, [data-site-template='editorial'] [data-tp='primary'], .mg-sends button, .mg-blog > li,
[data-site-template='editorial'] [data-tp='day'], [data-site-template='editorial'] [data-tp='slot'], [data-site-template='editorial'] [data-tp='chip'] {
  position: relative;
  isolation: isolate;
}
.mg-hd .mg-res, [data-site-template='editorial'] [data-tp='primary'], .mg-sends button,
[data-site-template='editorial'] [data-tp='day'], [data-site-template='editorial'] [data-tp='slot'], [data-site-template='editorial'] [data-tp='chip'] {
  overflow: hidden;
}
/* 版 */
.mg-hd .mg-res::before, [data-site-template='editorial'] [data-tp='primary']::before, .mg-sends button::before, .mg-blog > li::before,
[data-site-template='editorial'] [data-tp='day']::before, [data-site-template='editorial'] [data-tp='slot']::before, [data-site-template='editorial'] [data-tp='chip']::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  transition: transform .5s cubic-bezier(.76, 0, .24, 1);
}
/* 主のボタンは藍の版が左から刷られ、右へ抜ける */
.mg-hd .mg-res::before { background: var(--ai); transform: scaleX(0); transform-origin: right; }
[data-site-template='editorial'] [data-tp='primary']::before { background: var(--color-accent); transform: scaleX(0); transform-origin: right; }
/* 従のボタン、暦の日、絞り込みは黒い版が下から上がり、上へ抜ける */
.mg-sends button::before { background: var(--ink); transform: scaleY(0); transform-origin: top; }
[data-site-template='editorial'] [data-tp='day']::before, [data-site-template='editorial'] [data-tp='chip']::before { background: var(--color-ink); transform: scaleY(0); transform-origin: top; }
/* 時間の枠は黒い版が左から */
[data-site-template='editorial'] [data-tp='slot']::before { background: var(--color-ink); transform: scaleX(0); transform-origin: right; }
/* お知らせの行は 1 段ぶんの黒い版。行の外の余白まで刷る */
.mg-blog > li::before { background: var(--ink); transform: scaleY(0); transform-origin: top; }
.mg-blog > li:first-child::before { left: -32px; }
.mg-blog > li time { transition: color .4s; }
.mg-blog > li { transition: color .4s; }
.mg-root .mg-ttl::after { content: ''; position: absolute; inset: 0; }
/* 字のリンクは罫線が左から引かれ、右へ抜ける */
.mg-gn a:not(.mg-res), .mg-ftn a, .mg-root .mg-more, .mg-ctaA[href] span:first-child { position: relative; display: inline-block; }
.mg-root .mg-more { display: block; width: fit-content; margin-left: auto; }
.mg-gn a:not(.mg-res)::after, .mg-ftn a::after, .mg-root .mg-more::after, .mg-ctaA[href] span:first-child::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s cubic-bezier(.76, 0, .24, 1);
}
.mg-gn a, .mg-logo, .mg-root .mg-igLink, .mg-root .mg-mapLink { transition: color .3s, border-color .3s, opacity .3s; }
.mg-sends button { transition: color .35s; }
/* 料金の行は藍の罫線が引かれ、行が少し送られる */
.mg-mg li { position: relative; }
.mg-mg li:has(> a)::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ai); transform: scaleX(0); transform-origin: right; transition: transform .5s cubic-bezier(.76, 0, .24, 1); }
.mg-mg li > a { transition: transform .45s cubic-bezier(.2, .7, .2, 1), color .3s; }
[data-site-template='editorial'] [data-tp='row']::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-accent); transform: scaleX(0); transform-origin: right; transition: transform .5s cubic-bezier(.76, 0, .24, 1); }
[data-site-template='editorial'] [data-tp='row'] { transition: color .3s; background: none !important; }
[data-site-template='editorial'] [data-tp='post'] { transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
[data-site-template='editorial'] [data-tp='post'] img { transition: scale .7s cubic-bezier(.2, .7, .2, 1); }
[data-site-template='editorial'] [data-tp='tab'] { transition: color .3s; }
[data-site-template='editorial'] [data-tp='primary'], [data-site-template='editorial'] [data-tp='day'], [data-site-template='editorial'] [data-tp='slot'], [data-site-template='editorial'] [data-tp='chip'] { transition: color .35s, border-color .35s; opacity: 1 !important; }
[data-site-template='editorial'] [data-tp='primary']:disabled { opacity: .6 !important; }
/* 写真は網点が浮き、中の写真が少し寄る。scale は連れて動く動き（transform）と重ならない */
.mg-slides .mg-im::before, .mg-tall .mg-im::before { content: ''; position: absolute; inset: 0; z-index: 2; background: radial-gradient(var(--ai) 1.6px, transparent 1.8px) 0 0/9px 9px; opacity: 0; pointer-events: none; transition: opacity .55s; }
.mg-slides .mg-im img, .mg-tall .mg-im img { transition: scale .7s cubic-bezier(.2, .7, .2, 1); }
/* よくある質問の印は、藍になって回る */
[data-site-template='editorial'] summary > span[aria-hidden] { transition: rotate .45s cubic-bezier(.2, .7, .2, 1), color .3s; }
.mg-root .mg-vbt { transition: background .3s, border-color .3s; }

@media (hover: hover) {
  .mg-hd .mg-res:hover::before, [data-site-template='editorial'] [data-tp='primary']:hover:not(:disabled)::before { transform: none; transform-origin: left; }
  .mg-sends button:hover:not(:disabled)::before { transform: none; transform-origin: bottom; }
  .mg-sends button:hover:not(:disabled) { color: #fff; }
  [data-site-template='editorial'] [data-tp='day']:not([aria-current], [data-off]):hover::before,
  [data-site-template='editorial'] [data-tp='chip']:not([aria-current]):hover::before { transform: none; transform-origin: bottom; }
  [data-site-template='editorial'] [data-tp='slot']:hover::before { transform: none; transform-origin: left; }
  [data-site-template='editorial'] [data-tp='day']:not([aria-current], [data-off]):hover,
  [data-site-template='editorial'] [data-tp='slot']:hover,
  [data-site-template='editorial'] [data-tp='chip']:not([aria-current]):hover { color: #fff; border-color: var(--color-ink); background-color: transparent; }
  .mg-blog > li:hover::before { transform: none; transform-origin: bottom; }
  .mg-blog > li:hover { color: var(--paper); }
  .mg-blog > li:hover time { color: #c9c7c0; }
  .mg-gn a:not(.mg-res):hover::after, .mg-ftn a:hover::after, .mg-root .mg-more:hover::after, .mg-ctaA[href]:hover span:first-child::after { transform: none; transform-origin: left; }
  .mg-gn a:not(.mg-res):hover, .mg-root .mg-more:hover, .mg-root .mg-igLink:hover, .mg-root .mg-mapLink:hover { color: var(--ai); border-color: var(--ai); }
  .mg-logo:hover { opacity: .55; }
  .mg-ftn a:hover { color: #fff; }
  .mg-mg li:has(> a):hover::before { transform: none; transform-origin: left; }
  .mg-mg li > a:hover { transform: translateX(8px); color: var(--ai); }
  [data-site-template='editorial'] [data-tp='row']:hover { color: var(--color-accent); }
  [data-site-template='editorial'] [data-tp='row']:hover::after { transform: none; transform-origin: left; }
  [data-site-template='editorial'] [data-tp='post']:hover { transform: translateX(6px); }
  [data-site-template='editorial'] [data-tp='post']:hover img { scale: 1.05; }
  [data-site-template='editorial'] [data-tp='tab']:not([aria-current]):hover { color: var(--color-accent); }
  .mg-slides .mg-im:hover::before, .mg-tall .mg-im:hover::before { opacity: .4; }
  .mg-slides .mg-im:hover img, .mg-tall .mg-im:hover img { scale: 1.05; }
  [data-site-template='editorial'] summary:hover > span[aria-hidden] { rotate: 90deg; color: var(--color-accent); }
  [data-site-template='editorial'] details[open] > summary:hover > span[aria-hidden] { rotate: 135deg; }
  .mg-root .mg-vbt:hover { background: var(--ai); border-color: var(--ai); }
}

/* 触る画面は押したときに同じ色へ。待たせない */
.mg-hd .mg-res:active::before, [data-site-template='editorial'] [data-tp='primary']:active:not(:disabled)::before,
.mg-sends button:active:not(:disabled)::before, [data-site-template='editorial'] [data-tp='slot']:active::before,
[data-site-template='editorial'] [data-tp='day']:not([aria-current], [data-off]):active::before,
[data-site-template='editorial'] [data-tp='chip']:not([aria-current]):active::before, .mg-blog > li:active::before { transform: none; transition-duration: .08s; }
.mg-sends button:active:not(:disabled), [data-site-template='editorial'] [data-tp='slot']:active,
[data-site-template='editorial'] [data-tp='day']:not([aria-current], [data-off]):active,
[data-site-template='editorial'] [data-tp='chip']:not([aria-current]):active { color: #fff; background-color: transparent; }
.mg-blog > li:active { color: var(--paper); }
.mg-blog > li:active time { color: #c9c7c0; }
.mg-mg li > a:active, .mg-gn a:not(.mg-res):active, .mg-root .mg-more:active, .mg-root .mg-igLink:active, .mg-root .mg-mapLink:active { color: var(--ai); }
[data-site-template='editorial'] [data-tp='row']:active, [data-site-template='editorial'] [data-tp='tab']:active { color: var(--color-accent); }
.mg-root .mg-bar a:active { background: var(--ai); color: #fff; }
.mg-root .mg-vbt:active { background: var(--ai); }

/* キーボードの焦点。黒い地では白、ほかは藍 */
[data-site-template='editorial'] :is(a, button, summary, input, select, textarea):focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.mg-ink :is(a, button):focus-visible, .mg-ft a:focus-visible, .mg-cta a:focus-visible, .mg-root .mg-vbt:focus-visible, .mg-hd .mg-res:focus-visible { outline-color: #fff; }
.mg-hd .mg-res:focus-visible { outline-color: var(--ai); }
.mg-root .mg-ttl:focus-visible { outline: 0; }
.mg-blog > li:has(.mg-ttl:focus-visible) { outline: 2px solid var(--ai); outline-offset: -2px; }

/* 動きを減らす設定。色はその場で替わり、版も写真も動かない */
@media (prefers-reduced-motion: reduce) {
  [data-site-template='editorial'] *, [data-site-template='editorial'] *::before, [data-site-template='editorial'] *::after { transition-duration: 0s !important; }
  .mg-mg li > a:hover, [data-site-template='editorial'] [data-tp='post']:hover { transform: none; }
  .mg-slides .mg-im:hover img, .mg-tall .mg-im:hover img, [data-site-template='editorial'] [data-tp='post']:hover img { scale: none; }
}

/* 動き。隠すのは JS が動いているときだけ。動きを減らす設定では何も隠さない */
@keyframes mg-up { from { transform: translateY(110%); } to { transform: none; } }
@keyframes mg-draw { from { transform: scaleX(0); } to { transform: none; } }
@keyframes mg-fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .mg-root[data-js] [data-r] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
  .mg-root[data-js] [data-r][data-on] { opacity: 1; transform: none; }
  /* お知らせの行は字の色も遅れて替える（黒い版より先に白くなると、一瞬読めない） */
  .mg-root[data-js] .mg-blog > li[data-r] { transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1), color .25s .2s; transition-delay: calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), .2s; }
  .mg-root[data-js] [data-wipe]::after { content: ''; position: absolute; inset: 0; z-index: 3; background: var(--wc, #fff); transform-origin: right; transition: transform 1.15s cubic-bezier(.76, 0, .24, 1); transition-delay: calc(var(--i, 0) * 90ms); }
  .mg-root[data-js] [data-wipe][data-on]::after { transform: scaleX(0); }
  .mg-root[data-js] [data-dr] { transform: scaleX(0); transform-origin: left; transition: transform 1.3s cubic-bezier(.2, .7, .2, 1); }
  .mg-root[data-js] [data-dr][data-on] { transform: none; }
  .mg-root[data-js] .mg-wd i { animation: mg-up 1.15s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 38ms + .15s); }
  .mg-root[data-js] .mg-cap { animation: mg-fadeup 1s .9s both; }
  /* 同じセッションの 2 回目からは、表紙の立ち上がりを短くする */
  .mg-root[data-js][data-seen] .mg-wd i { animation-duration: .55s; animation-delay: calc(var(--i) * 10ms); }
  .mg-root[data-js][data-seen] .mg-cap { animation-duration: .5s; animation-delay: .2s; }
  /* 下のページの入り。特大の語が下から、番号が遅れて、段の線が引かれる */
  .mg-pageHead .mg-word { animation: mg-fadeup .9s cubic-bezier(.2, .8, .2, 1) both; }
  .mg-pageHead .mg-no { animation: mg-fadeup .7s .25s cubic-bezier(.2, .8, .2, 1) both; }
  [data-site-template='editorial'] [data-tp='tab'][aria-current='page'] { position: relative; border-bottom-color: transparent; }
  [data-site-template='editorial'] [data-tp='tab'][aria-current='page']::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-ink); transform-origin: left; animation: mg-draw .8s cubic-bezier(.76, 0, .24, 1) both; }
}

@media (max-width: 1200px) {
  .mg-t1 { font-size: 14.6vw; }
  .mg-big { font-size: 220px; }
}
@media (max-width: 900px) {
  /* 上の帯が 1 行に入らないので、語の列を 2 行目に送る */
  .mg-hd { flex-wrap: wrap; row-gap: 4px; padding-block: 10px; }
  .mg-gn { order: 3; width: 100%; }
  .mg-spr { scroll-margin-top: 86px; }
}
@media (max-width: 1000px) {
  .mg-gn { gap: 12px; }
  .mg-svc { grid-template-columns: 1fr 1fr; }
  .mg-svc article, .mg-svc article:first-child, .mg-svc article:last-child { padding: 18px 18px 22px 0; border: 0; }
  .mg-big { font-size: 170px; padding: 0 60px; }
  .mg-pageHead .mg-dots { right: 24px; width: 170px; height: 170px; }
  .mg-ed .mg-im { min-height: 460px; }
  .mg-ed p, .mg-edMore p { padding: 40px 36px; font-size: 17px; }
  .mg-tall .mg-im { width: 220px; }
}
@media (max-width: 760px) {
  .mg-root { padding-bottom: 58px; }
  .mg-bar { display: flex; }
  .mg-hd .mg-res { display: none; }
  .mg-hd { flex-wrap: wrap; row-gap: 4px; padding: 10px 20px; }
  .mg-spr { scroll-margin-top: 68px; }
  .mg-gn { width: 100%; flex-wrap: wrap; gap: 6px 14px; }
  .mg-hero { height: auto; }
  .mg-hero > .mg-im { position: relative; height: 440px; inset: auto; }
  .mg-hero::before { height: 200px; }
  .mg-t1 { font-size: 14.6vw; left: 16px; right: 16px; top: 12px; }
  .mg-t1Long { font-size: 34px; }
  .mg-cap { position: relative; max-width: none; padding: 24px 20px; font-size: 15px; }
  .mg-root .mg-vbtHero { left: auto; right: 12px; bottom: 12px; }
  .mg-dots { width: 120px; height: 120px; right: -30px !important; opacity: .35; }
  .mg-info { grid-template-columns: 1fr; }
  .mg-info > * { padding: 20px; }
  .mg-info > *:first-child { border-right: 0; border-bottom: 1px solid var(--ink); }
  .mg-big { font-size: 104px; padding: 20px 34px 8px; margin-bottom: 0; }
  .mg-pageHead .mg-big { font-size: 23vw; padding-inline: 20px; }
  .mg-pageHead .mg-dots { right: -30px; top: 24px; width: 120px; height: 120px; }
  .mg-no { font-size: 20px; }
  .mg-slides { padding-inline: 20px; scroll-padding-inline: 20px; gap: 4px; }
  .mg-slides > li { flex-basis: 85vw; }
  .mg-sends { padding: 12px 20px 28px; }
  .mg-ed, .mg-edR { grid-template-columns: 1fr; }
  .mg-ed .mg-im { min-height: 0; aspect-ratio: 4/3; }
  .mg-ed p, .mg-edMore p { padding: 30px 20px 44px; font-size: 16px; line-height: 2.1; }
  .mg-edR p { order: 2; }
  .mg-tall { padding: 44px 0 80px; gap: 4px; }
  .mg-tall .mg-im { width: 150px; }
  .mg-tall .mg-im:nth-child(2n) { translate: 0 26px; }
  .mg-w { padding: 50px 20px; }
  .mg-ac, .mg-tb, .mg-svc { grid-template-columns: 1fr; gap: 26px; }
  .mg-ac { gap: 30px; }
  .mg-pk { aspect-ratio: 16/9; margin-top: 30px; }
  .mg-promo { margin-top: 36px; }
  .mg-fv { margin-bottom: 40px; }
  .mg-fv .mg-vd { aspect-ratio: 16/9; }
  .mg-svc { gap: 0; margin-bottom: 40px; }
  .mg-svc article, .mg-svc article:first-child, .mg-svc article:last-child { padding: 16px 0 20px; border: 0; border-bottom: 1px solid var(--ink); }
  .mg-svc h3 { font-size: 27px; }
  .mg-tb { gap: 0; }
  .mg-col, .mg-col:first-child, .mg-col:last-child { padding: 0; border: 0; }
  .mg-mg h3 { font-size: 25px; }
  .mg-blog { grid-template-columns: 1fr; grid-auto-flow: row; gap: 0; }
  .mg-blog > li, .mg-blog > li:first-child { border-right: 0; border-bottom: 1px solid #bdbab2; padding: 14px 0; }
  .mg-blog > li::before, .mg-blog > li:first-child::before { inset: 0 -20px; }
  .mg-cta { padding: 70px 20px; }
  .mg-ctaA { font-size: 15px; }
  .mg-ctaT { font-size: 44px; }
}

/* 誌面（components/site/magazine/）。トップは部品が自分で色を持つ。ここはブログや予約など下のページの分 */
[data-site-template='editorial'] {
  --color-ink: #0e0e0e;
  --color-ink-soft: #2e2d2a;
  --color-ink-muted: #4c4b47;
  --color-paper: #f5f3ee;
  --color-mist: #e9e6de;
  --color-line: #bdbab2;
  --font-display: 'Bodoni Moda', 'Shippori Mincho B1', serif;
  --font-body: 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif;
  font-family: var(--font-body);
}
/* 誌面の予約・お問い合わせ・ブログは、トップの Style や Menu の見開きと同じ白い地 */
/* body も白にする。本文が短くて画面が余ると、フッターの下に body の地が見えるため */
[data-site-template='editorial']:is([data-page='reserve'], [data-page='contact'], [data-page='blog']),
body:has([data-site-template='editorial']:is([data-page='reserve'], [data-page='contact'], [data-page='blog'])) {
  background: #fff;
}
/* 誌面に丸い角は無い。予約の手順の札、ボタン、入力欄も四角にする */
[data-site-template='editorial'] [class*='rounded'] {
  border-radius: 0;
}
[data-site-template='editorial'] [data-group-name] {
  font: 500 30px/1.4 'Oswald', 'Zen Kaku Gothic New', sans-serif;
  letter-spacing: 0.05em;
}
[data-site-template='editorial'] [data-group-name] [data-en] {
  display: block;
}
[data-site-template='editorial'] [data-group-name] [data-slash] {
  display: none;
}
[data-site-template='editorial'] [data-group-name] [data-en] + [data-slash] + [data-ja] {
  display: block;
  color: var(--color-ink);
  font: 500 13px/1.6 'Zen Kaku Gothic New', sans-serif;
  letter-spacing: 0;
}

/* お知らせの帯、店舗情報、駐車場、お支払い（Yosh さんの絵 30、33、34、35。部品は templates/site-facts.tsx） */
.mg-root { --sf-accent: var(--ai); --sf-notice-bg: #0e0e0ee8; --sf-notice-fg: #f5f3ee; }
.mg-hero { height: clamp(440px, calc(100svh - 88px - 150px), 780px); }
.mg-heroLow { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: flex-end; pointer-events: none; }
.mg-heroLow > * { pointer-events: auto; }
.mg-heroLow .sf-notice { flex: 1; min-width: 0; }
.mg-heroLow .mg-cap { position: static; flex: none; width: min(560px, 46%); margin-left: auto; padding: 24px 34px; font-size: 16px; line-height: 1.8; }
.mg-heroPlain .mg-heroLow { position: static; flex-wrap: wrap; }
.mg-heroPlain .mg-heroLow .sf-notice { flex: 1 0 100%; }
.mg-heroPlain .mg-heroLow .mg-cap { width: 100%; }
.mg-info > * { padding-block: 16px 20px; }
.mg-info h4 { font-size: 14px; }
.mg-info > :first-child .mg-ln { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mg-info > :first-child .mg-ln:last-child { font-size: 14px; font-weight: 400; }
.mg-shop > li { font-size: 16px; line-height: 1.7; }
.mg-shop > li:first-child { border-top: 0; }
.mg-shop > li[data-strong] span { font-weight: 600; font-variant-numeric: tabular-nums; }
.mg-root .mg-shop a { text-underline-offset: 3px; transition: color .25s; }
.mg-fr { aspect-ratio: 16/10; margin-bottom: 0; }
.mg-pkBlock { padding-top: 0; }
.mg-pkBlock .sf-pk-h, .mg-acBlock .sf-pk-h { font-size: 16px; }
.mg-pkBlock .sf-pk-photo { --wc: var(--paper); }
.mg-pkBlock .sf-pk-rows > li:first-child { border-top: 0; padding-top: 0; }
/* 帯は青の中に白の箱（絵 35） */
.mg-ctaMain { display: contents; }
.mg-ctaPay { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 0; padding: 10px; }
.mg-ctaPay .mg-ctaMain { display: grid; justify-items: center; align-content: center; gap: 6px; padding: 44px 16px; }
.mg-ctaPay .mg-ctaT { font-size: clamp(44px, 5.6vw, 84px); white-space: nowrap; }
@media (hover: hover) {
  .mg-root .mg-shop a:hover, .mg-root .sf-pk-open:hover { color: var(--ai); }
}
@media (max-width: 1000px) {
  .mg-ctaPay { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .mg-hero { height: auto; }
  .mg-hero > .mg-im { height: clamp(200px, calc(100svh - 484px), 440px); }
  .mg-heroLow { position: static; display: block; }
  .mg-heroLow .mg-cap { width: auto; margin: 0; padding: 14px 20px; font-size: 16px; line-height: 1.7; }
  .mg-info > * { padding: 12px 20px; }
  .mg-ctaPay .mg-ctaMain { padding: 32px 12px; }
  .mg-ctaPay .mg-ctaT { font-size: clamp(38px, 12vw, 64px); }
}
/* CREATIVE §10-14 に合わせる */
.mg-gn a, .mg-ct { font-size: 14px; }
.mg-hd .mg-res { min-height: 52px; display: inline-flex; align-items: center; padding: 8px 18px; font-size: 16px; font-weight: 600; }
.mg-ja { font-size: 14px; }
.mg-root .mg-bar a { font-size: 16px; font-weight: 600; min-height: 52px; }
.mg-ft, .mg-root .mg-ftn a { font-size: 14px; }
.mg-t1 { font-size: min(208px, 14.6vw); }
.mg-t1Long { font-size: 64px; }
.mg-svc p { font-size: 16px; font-weight: 400; line-height: 1.8; letter-spacing: .02em; }
.mg-mg li > a, .mg-mg li > div { font-size: 16px; font-weight: 500; }
.mg-mg .mg-p { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mg-mg small { font-size: 14px; font-weight: 400; color: #444; }
.mg-tax { font-size: 14px; color: #444; }
@media (max-width: 760px) { .mg-t1Long { font-size: 34px; } }
.mg-mg li > a, .mg-mg li > div { padding-block: 12px; }
.mg-cat, .mg-blog time { font-size: 14px; }
.mg-root .sf-pk-open { text-decoration: underline; }
/* 予約と投稿のページも §10-14 の大きさで */
[data-site-template='editorial'] { --text-xs: .875rem; --text-xs--line-height: 1.6; --text-sm: 1rem; --text-sm--line-height: 1.7; }
[data-site-template='editorial'] :is([class*='text-[11px]'], [class*='text-[12px]'], [class*='text-[13px]']) { font-size: 14px; }
[data-site-template='editorial'] [class*='text-[15px]'] { font-size: 16px; }
[data-site-template='editorial'] [data-tp='row'] .tabular-nums { font-size: 16px; font-weight: 600; }
@media (max-width: 760px) { .mg-hd .mg-res { display: none; } }
/*
 * 上の帯：ロゴと、2 段の語の列（2026-11-10 Yosh さんの絵 kamiya-header-frame100.png。幅 1710px の画面の 2 倍）。
 * 大きさは絵の CSS px × --u。1710px 以上で 1、狭い画面では幅に比例して縮める
 * （1366px で Windows のスクロールバーの 17px を引いても 1 行に入るように）。
 * 予約のボタンは今のまま（絵では 272×39 だが、変えない）。日本語は §10-14 の 14px より小さくしない（絵は 10px 前後）
 */
.mg-hd { --u: clamp(.75px, calc(100vw / 1710), 1px); min-height: calc(96 * var(--u)); padding: 0 calc(44 * var(--u)); }
.mg-hd .mg-logo, .mg-hd .mg-res { flex-shrink: 0; }
.mg-hd .mg-logo img { height: calc(60 * var(--u)); max-width: calc(300 * var(--u)); object-fit: contain; object-position: left center; }
/* 語の列はロゴのすぐ右から（2026-11-10 Yosh さん）。ロゴとの間は 56u（帯の gap 18px を含めて）。予約のボタンは右端 */
.mg-hd .mg-gn { gap: calc(34 * var(--u)); margin: 0 auto 0 max(0px, calc(56 * var(--u) - 18px)); letter-spacing: 0; }
/* 字は Yosh さんの指示で小さく（日本語 12px は誌面のヘッダーの日本語の段だけの例外、PdM が記録）。押せる高さは 44 以上 */
.mg-hd .mg-gn .mg-gi { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; gap: calc(7.8 * var(--u)); }
.mg-gja { font: 500 12px/1 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif; color: var(--ai); white-space: nowrap; }
.mg-gen { font: 900 max(15px, calc(16 * var(--u)))/1 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif; letter-spacing: .01em; white-space: nowrap; }
.mg-spr { scroll-margin-top: calc(96 * clamp(.75px, calc(100vw / 1710), 1px) + 8px); }
/*
 * 1319px 以下も 1 段（2026-11-15 Yosh さん「画面幅によってはヘッダーが崩れている」・PdM）。
 * 前は語の列を 2 行目に送っていて、帯が 125px になっていた。
 * 予約のボタンは「RESERVE / 予約」だけにする（電話の案内はページの中の電話の帯に残る）
 */
@media (max-width: 1319px) {
  .mg-hd .mg-resTel { display: none; }
}
/* 横長のロゴや長い店名のお店でも、帯からはみ出さないようにロゴの側を縮める */
@media (min-width: 761px) and (max-width: 1319px) {
  .mg-hd .mg-logo { flex-shrink: 1; min-width: 0; }
}
/* さらに狭い幅（761〜1023px）では、語の列の日本語の段を隠して英語だけにする（760px 以下と同じ書体）。間も詰める */
@media (min-width: 761px) and (max-width: 1023px) {
  /* 900px 以下で 2 段に送る古い規則（329 行目）も打ち消す */
  .mg-hd { flex-wrap: nowrap; gap: 14px; padding-inline: 20px; }
  .mg-hd .mg-gn { order: 0; width: auto; gap: 16px; margin-left: 4px; }
  .mg-hd .mg-logo img { max-width: 160px; }
  .mg-gja { display: none; }
  .mg-gen { font: 500 15px/1.6 'Oswald', sans-serif; letter-spacing: .06em; }
}
/* スマホは英語だけの 1 行（帯が上に貼りつくので、高くすると最初の写真が窮屈になる） */
@media (max-width: 760px) {
  /* 語の列は 2 行目（前は 1319px 以下の規則にあったもの。11/15 に 761px 以上を 1 段にしたので、ここへ移した） */
  .mg-hd { flex-wrap: wrap; min-height: 0; padding: 8px 20px; row-gap: 5px; }
  .mg-hd .mg-gn { order: 3; width: 100%; margin: 0; }
  /* ロゴは真ん中（2026-11-10 Yosh さん）。英語の語の列は下の行のまま */
  .mg-hd .mg-logo { margin-inline: auto; }
  .mg-hd .mg-logo img { height: 40px; max-width: 180px; object-position: center; }
  .mg-hd .mg-gn { justify-content: space-between; gap: 6px 10px; }
  .mg-hd .mg-gn .mg-gi { min-height: 0; }
  .mg-gja { display: none; }
  .mg-gen { font: 500 15px/1.6 'Oswald', sans-serif; letter-spacing: .06em; }
  .mg-spr { scroll-margin-top: 94px; }
}
/* 広い画面では、絵のとおり語の列をページの真ん中に置く（両側の幅が足りる 1500px から） */
/* 語の列をロゴの側に寄せたので、広い画面で真ん中に置く形（1500px から）は外した */

/* ヘッダー・お支払い方法・電話の帯・フッター（2026-11-10 Yosh さんの絵。header-yosh は幅 2000、payment-phone-footer-yosh は幅 1440 の等倍）
 * ロゴは縦組みの黒。絵では 76×59（帯 114 の中）なので、帯 120u の中で高さ 60u。予約のボタンは細く小さく（絵 317×46、字 14px） */
.mg-hd .mg-res { min-height: 46px; padding: 0 17px; font-size: 14px; font-weight: 400; letter-spacing: 0; }

/* お支払い方法。紺のグラデーションの面（角 60）に白い点、白いカード（幅 822）。カードの地は純白（法務 §8 の 2） */
.mg-pay { padding: 64px 48px 62px; background: #fff; }
.mg-payPanel { position: relative; overflow: hidden; isolation: isolate; display: grid; justify-items: center; max-width: 1600px; margin: 0 auto; padding: 56px 24px 58px; border-radius: 60px; color: #fff;
  background: linear-gradient(100deg, color-mix(in srgb, var(--ai) 46%, #000) 0%, var(--ai) 100%); }
.mg-payPanel::before, .mg-payPanel::after { content: ''; position: absolute; z-index: -1; width: 170px; pointer-events: none;
  background: radial-gradient(circle, #fff 2.6px, transparent 3.1px) 0 0 / 10px 10px; }
.mg-payPanel::before { top: 2px; right: -1px; height: 140px; }
.mg-payPanel::after { left: -1px; bottom: 0; height: 192px; }
.mg-payK { margin: 0; font: 400 25px/1.4 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif; letter-spacing: .04em; }
.mg-payH { margin: 17px 0 0; font: 700 29px/1.4 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif; letter-spacing: .06em; text-align: center; text-wrap: balance; }
.mg-payCard { width: min(822px, 100%); margin: 28px 0 0; padding: 11px 40px 12px 32px; border-radius: 28px; background: #fff; color: #1a1a1a; }
.mg-payRow { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; }
.mg-payRow dt { position: relative; align-self: stretch; display: flex; align-items: center; padding-right: 12px; font: 700 14px/1.5 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif; color: var(--ai); white-space: nowrap; }
.mg-payRow dt::after { content: ''; position: absolute; right: 0; top: 50%; width: 1px; height: 21px; margin-top: -10.5px; background: #e5e5e5; }
.mg-payRow dd { margin: 0; padding: 12px 0 12px 16px; }
.mg-payRow + .mg-payRow dd { border-top: 1px solid #e3e3e3; }
.mg-payLogos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; min-height: 50px; margin: 0; padding: 0; list-style: none; }
.mg-payLogos li { display: flex; align-items: center; }
.mg-payLg { position: relative; display: block; overflow: hidden; flex: none; }
.mg-payLg img { position: absolute; display: block; max-width: none; }
.mg-payWhole { display: block; width: 52px; height: 40px; object-fit: contain; }
.mg-payText { margin: 0; font-size: 15px; line-height: 1.7; }
.mg-payNote { margin: 11px 0 0; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .82); text-align: center; }

/* 電話の帯（絵 1440×296）。小さな案内と、大きな明朝の番号 */
.mg-cta { gap: 14px; padding: 86px 20px 88px; }
.mg-root .mg-ctaA { font-size: 14px; font-weight: 500; letter-spacing: .08em; }
.mg-ctaA span + span { margin-left: .1em; }
.mg-ctaT { font: 600 80px/1 'Bodoni Moda', 'Shippori Mincho B1', serif; letter-spacing: .01em; font-variant-numeric: lining-nums; }

/* フッター（絵 1440×368）。左に白いロゴと店名・住所、真ん中に電話・営業時間・定休日、右に語の列を 2 列 */
.mg-ft { padding: 0; font: 400 15px/1.65 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif; color: #fff; }
.mg-ft a { color: inherit; }
.mg-ftTop { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 72px; padding: 52px 40px 42px; }
.mg-ftBrand { display: inline-flex; align-items: center; gap: 18px; }
.mg-ftBrand img { display: block; height: 60px; width: auto; max-width: 160px; object-fit: contain; }
.mg-ftName { display: grid; gap: 2px; font-size: 20px; line-height: 1.35; letter-spacing: .01em; }
.mg-ftEst { font-size: 16px; letter-spacing: .17em; color: #bdbdbd; }
.mg-ftAddr { display: grid; margin-top: 30px; font-style: normal; line-height: 1.65; }
.mg-ftAddr a { justify-self: start; display: inline-flex; align-items: center; gap: 5px; text-decoration: underline; text-underline-offset: 3px; }
.mg-ft .mg-ic { flex: none; width: 1.07em; height: 1.07em; }
.mg-ftn a { display: inline-flex; align-items: center; gap: 6px; }
.mg-ftFacts { display: grid; align-content: start; gap: 14px; margin: -16px 0 0; }
.mg-ftFacts dd span + span { font-size: 14px; white-space: nowrap; }
.mg-ftFacts dt { font-size: 14px; line-height: 1.5; color: #a3a3a3; }
.mg-ftFacts dd { display: grid; margin: 4px 0 0; }
.mg-ftMenu { display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, auto); grid-template-columns: auto auto; align-content: start; column-gap: 48px; row-gap: 14px; margin-top: -16px; }
.mg-ftMenu a { display: grid; gap: 4px; }
.mg-ftMenu [lang='en'] { font-size: 14px; letter-spacing: .02em; }
.mg-ftJa { font-size: 14px; line-height: 1.5; color: #a3a3a3; }
.mg-ftBottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 90px; padding: 16px 40px; border-top: 1px solid #3e3e3e; color: #a3a3a3; }
.mg-ft .mg-ftn { gap: 24px; }
.mg-ftBottom p { margin: 0; }
/* Zen Kaku のかなは 1 字ずつ全角の幅で、英字の隣では字の間が空いて見える。palt は効かないので、日本語のリンクだけ詰める */
.mg-ftn .mg-ftJp { letter-spacing: -.08em; }
.mg-root .mg-ftn a, .mg-ftBottom { font-size: 15px; }
@media (hover: hover) {
  .mg-ftAddr a:hover, .mg-ftFacts a:hover, .mg-ftMenu a:hover [lang='en'] { color: #c9d4ff; }
}
@media (max-width: 1100px) {
  .mg-ftTop { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 40px; }
  .mg-ftFacts, .mg-ftMenu { margin-top: 0; }
  .mg-ftShop { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .mg-pay { padding: 40px 12px 44px; }
  .mg-payPanel { padding: 40px 14px 30px; border-radius: 32px; }
  /* 狭い幅では点が字にかかるので、右上だけ小さく残す */
  .mg-payPanel::before { width: 56px; height: 48px; }
  .mg-payPanel::after { display: none; }
  .mg-payK { font-size: 18px; }
  .mg-payH { margin-top: 10px; font-size: 20px; letter-spacing: .04em; }
  .mg-payCard { margin-top: 22px; padding: 6px 16px 8px; border-radius: 20px; }
  .mg-payRow { grid-template-columns: minmax(0, 1fr); }
  .mg-payRow dt { padding: 14px 0 0; }
  .mg-payRow dt::after { display: none; }
  .mg-payRow dd { padding: 8px 0 14px; }
  .mg-payRow + .mg-payRow dd { border-top: 0; }
  .mg-payRow + .mg-payRow { border-top: 1px solid #e3e3e3; }
  .mg-payLogos { min-height: 0; }
  .mg-cta { gap: 10px; padding: 52px 16px 56px; }
  .mg-root .mg-ctaA { font-size: 14px; letter-spacing: .04em; }
  .mg-ctaT { font-size: clamp(34px, 11vw, 64px); white-space: nowrap; }
  .mg-ftTop { grid-template-columns: minmax(0, 1fr); row-gap: 32px; padding: 40px 20px; }
  .mg-ftMenu { grid-template-columns: 1fr 1fr; }
  .mg-ftBrand img { height: 52px; }
  .mg-ftName { font-size: 18px; }
  .mg-ftEst { font-size: 14px; }
  .mg-ftAddr { margin-top: 22px; }
  .mg-ftBottom { display: grid; justify-content: start; padding: 22px 20px; }
}
