@charset "utf-8";
/* ==========================================================================
   株式会社サンビック  サイト共通スタイル（2026 リニューアル）
   コンセプト：白基調 × アーケードゲームセンターの明るく賑やかな雰囲気
   PC / スマホの切り替えは 768px
   ========================================================================== */

:root {
  /* ブランド（ロゴの緑） */
  --green: #2fb24c;
  --green-dark: #1d8a36;
  /* アーケードのアクセント */
  --yellow: #ffcc1f;
  --yellow-dark: #e0a800;
  --red: #ff4b5c;
  --red-dark: #d62c3f;
  --blue: #2b9bff;
  --blue-dark: #1673d1;
  --pink: #ff6fb7;
  --purple: #8a5cf6;

  --ink: #20232e;
  --text: #3a3d48;
  --muted: #7a7e8c;
  --line: #ececf2;
  --bg: #ffffff;
  --bg-soft: #f7f8fc;

  --radius: 20px;
  --shadow: 0 10px 30px rgba(32, 35, 46, .08);
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-round: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  --font-pixel: "Press Start 2P", monospace;
}

/* リセット・基本
---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, div, p, h1, h2, h3, ul, ol, li, table, th, td, figure, figcaption { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; border: 0; vertical-align: bottom; }
button { font: inherit; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-base); font-size: 15px; line-height: 1.8;
  overflow-x: hidden;
}
a { color: var(--blue-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }

.inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* 電光掲示板風テロップ
---------------------------------------------------------------------- */
.ticker {
  overflow: hidden; white-space: nowrap;
  background: var(--ink); color: var(--yellow);
  font-family: var(--font-round); font-weight: 800; font-size: 13px; letter-spacing: .08em;
  border-bottom: 4px solid transparent;
  border-image: repeating-linear-gradient(90deg, var(--red) 0 40px, var(--yellow) 40px 80px, var(--green) 80px 120px, var(--blue) 120px 160px, var(--pink) 160px 200px) 4;
}
.ticker_track { display: inline-flex; padding: 7px 0; animation: ticker 40s linear infinite; }
.ticker_track span { padding: 0 2em; }
.ticker_track span::before { content: "★"; margin-right: 1em; color: var(--pink); }
.ticker_track span:nth-child(3n+2)::before { color: var(--green); }
.ticker_track span:nth-child(3n)::before { color: var(--blue); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ヘッダー
---------------------------------------------------------------------- */
#header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
}
#header .inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
#header .logo { line-height: 0; }
#header .logo img { width: 170px; }

/* メニュー：アーケードボタン風 */
#navi { margin-left: auto; }
#navi ul { display: flex; gap: 12px; }
#navi a {
  --c: var(--green); --cd: var(--green-dark);
  display: block; padding: 8px 20px 7px; border-radius: 999px;
  font-family: var(--font-round); font-weight: 800; font-size: 15px; letter-spacing: .08em;
  color: var(--ink); background: #fff;
  border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line);
  transition: transform .12s, box-shadow .12s, background .2s, color .2s, border-color .2s;
}
#navi li:nth-child(2) a { --c: var(--blue); --cd: var(--blue-dark); }
#navi li:nth-child(3) a { --c: var(--red); --cd: var(--red-dark); }
#navi a:hover,
#navi li.current a { color: #fff; background: var(--c); border-color: var(--c); box-shadow: 0 4px 0 var(--cd); }
#navi a:active { transform: translateY(4px); box-shadow: 0 0 0 var(--cd); }

/* 電話ボタン */
.tel_btn {
  display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center;
  padding: 7px 18px 7px 8px; border-radius: 999px;
  background: var(--yellow); color: var(--ink);
  box-shadow: 0 4px 0 var(--yellow-dark);
  transition: transform .12s, box-shadow .12s;
}
.tel_btn:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 6px 0 var(--yellow-dark); }
.tel_btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--yellow-dark); }
.tel_icon {
  grid-row: span 2; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; background: #fff;
}
.tel_icon svg { width: 20px; height: 20px; fill: var(--red); }
.tel_num { font-family: var(--font-round); font-weight: 800; font-size: 21px; line-height: 1.1; letter-spacing: .02em; }
.tel_time { font-size: 11px; line-height: 1.3; }

/* ヒーロー
---------------------------------------------------------------------- */
.hero {
  position: relative; padding: 48px 0 72px; overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 204, 31, .25) 0 120px, transparent 121px),
    radial-gradient(circle at 95% 85%, rgba(43, 155, 255, .16) 0 160px, transparent 161px),
    radial-gradient(rgba(32, 35, 46, .07) 1.5px, transparent 1.5px) 0 0 / 22px 22px,
    #fff;
}
.hero .inner { position: relative; }

/* ゲーム筐体風のフレーム＋電飾 */
.hero_frame {
  position: relative; padding: 16px; border-radius: 32px;
  background: linear-gradient(135deg, var(--red), var(--pink) 45%, var(--purple));
  box-shadow: 0 20px 50px rgba(255, 75, 92, .28);
}
.hero_frame::before {
  content: ""; position: absolute; inset: 5px; border-radius: 27px; pointer-events: none;
  border: 5px dotted #fff3a8;
  animation: bulbs 1s steps(1) infinite;
}
@keyframes bulbs { 50% { border-color: #fff; } }
.hero_frame img {
  display: block; width: 100%; aspect-ratio: 900 / 302; object-fit: cover;
  border-radius: 18px; background: #eee;
}

.hero_copy {
  position: relative; z-index: 2;
  max-width: 560px; margin: -56px 0 0 40px; padding: 26px 32px 28px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero_copy .kicker {
  display: inline-block; margin-bottom: 10px; padding: 4px 12px 3px; border-radius: 6px;
  font-family: var(--font-pixel); font-size: 10px; letter-spacing: .1em; color: #fff; background: var(--ink);
}
.hero_copy h1 {
  font-family: var(--font-round); font-weight: 800; font-size: 32px; line-height: 1.4; color: var(--ink);
}
.hero_copy h1 em { font-style: normal; color: var(--green); }
.hero_copy h1 em:nth-of-type(2) { color: var(--red); }
.hero_copy p { margin-top: 10px; color: var(--muted); font-size: 14px; }

/* 創業バッジ（スターバースト） */
.badge {
  position: absolute; right: 44px; bottom: -40px; z-index: 3;
  display: grid; place-items: center; width: 136px; height: 136px;
  text-align: center; color: var(--ink);
}
.badge::before {
  content: ""; position: absolute; inset: 0; background: var(--yellow);
  clip-path: polygon(50% 0%, 59% 13%, 75% 7%, 77% 23%, 93% 25%, 87% 41%, 100% 50%, 87% 59%, 93% 75%, 77% 77%, 75% 93%, 59% 87%, 50% 100%, 41% 87%, 25% 93%, 23% 77%, 7% 75%, 13% 59%, 0% 50%, 13% 41%, 7% 25%, 23% 23%, 25% 7%, 41% 13%);
  animation: spin 18s linear infinite;
  filter: drop-shadow(0 6px 0 var(--yellow-dark));
}
.badge span { position: relative; font-family: var(--font-round); font-weight: 800; line-height: 1.15; }
.badge small { display: block; font-family: var(--font-pixel); font-size: 9px; letter-spacing: .05em; }
.badge strong { display: block; font-size: 30px; }
.badge b { font-size: 13px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* セクション共通
---------------------------------------------------------------------- */
.section { padding: 80px 0; }
.section.soft { background: var(--bg-soft); }
.sec_head { margin-bottom: 36px; text-align: center; }
.sec_head .en {
  display: inline-block; font-family: var(--font-pixel); font-size: 12px; letter-spacing: .12em;
  color: var(--green);
}
.sec_head .en::before,
.sec_head .en::after { content: "◆"; margin: 0 10px; font-size: 10px; color: var(--yellow); }
.sec_head h2 {
  margin-top: 8px; font-family: var(--font-round); font-weight: 800; font-size: 30px;
  letter-spacing: .08em; color: var(--ink);
}
/* 見出し下のカラフルなドット */
.sec_head h2::after {
  content: ""; display: block; width: 76px; height: 10px; margin: 14px auto 0;
  background:
    radial-gradient(circle, var(--red) 4px, transparent 4.5px) 0 0 / 19px 10px no-repeat,
    radial-gradient(circle, var(--yellow) 4px, transparent 4.5px) 19px 0 / 19px 10px no-repeat,
    radial-gradient(circle, var(--green) 4px, transparent 4.5px) 38px 0 / 19px 10px no-repeat,
    radial-gradient(circle, var(--blue) 4px, transparent 4.5px) 57px 0 / 19px 10px no-repeat;
}

/* 事業内容カード */
.service_list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service_list li {
  --c: var(--green);
  position: relative; padding: 34px 28px 30px; border-radius: var(--radius);
  background: #fff; border: 2px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service_list li:nth-child(2) { --c: var(--blue); }
.service_list li:nth-child(3) { --c: var(--red); }
.service_list li:hover { transform: translateY(-6px); border-color: var(--c); box-shadow: 0 8px 0 var(--c); }
.service_list .num {
  display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px;
  border-radius: 16px; background: var(--c); color: #fff;
  font-family: var(--font-pixel); font-size: 15px;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .15);
}
.service_list h3 { font-family: var(--font-round); font-weight: 800; font-size: 20px; color: var(--ink); line-height: 1.5; }
.service_list p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* 店舗カード */
.shop_cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.shop_cards a {
  --c: var(--green);
  display: block; height: 100%; overflow: hidden; border-radius: var(--radius);
  background: #fff; color: var(--text); box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.shop_cards li:nth-child(2) a { --c: var(--blue); }
.shop_cards li:nth-child(3) a { --c: var(--pink); }
.shop_cards li:nth-child(4) a { --c: var(--yellow-dark); }
.shop_cards a:hover { color: var(--text); transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 16px 34px rgba(32, 35, 46, .14); }
.shop_cards figure { position: relative; overflow: hidden; }
.shop_cards img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.shop_cards a:hover img { transform: scale(1.06); }
.shop_cards .pref {
  position: absolute; left: 12px; top: 12px; padding: 2px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #fff; background: var(--c);
}
.shop_cards .body { padding: 16px 18px 20px; }
.shop_cards .name { font-family: var(--font-round); font-weight: 800; font-size: 17px; color: var(--ink); line-height: 1.4; }
.shop_cards .name small { display: block; font-size: 11px; color: var(--c); letter-spacing: .1em; }
.shop_cards .meta { margin-top: 6px; font-size: 12px; color: var(--muted); }
.shop_cards .go { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--c); }
.shop_cards .go::after { content: " ▶"; font-size: 10px; }

/* 会社概要 */
.company_box {
  max-width: 860px; margin: 0 auto; padding: 16px 40px; border-radius: var(--radius);
  background: #fff; border: 2px solid var(--line);
}
.Ctable { width: 100%; border-collapse: collapse; }
.Ctable th,
.Ctable td { padding: 18px 8px; text-align: left; vertical-align: top; border-bottom: 2px dashed var(--line); }
.Ctable tr:last-child th,
.Ctable tr:last-child td { border-bottom: 0; }
.Ctable th { width: 9em; white-space: nowrap; font-family: var(--font-round); font-weight: 800; color: var(--ink); }
.Ctable th::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--green); vertical-align: middle; }
.Ctable tr:nth-child(4n+2) th::before { background: var(--yellow); }
.Ctable tr:nth-child(4n+3) th::before { background: var(--red); }
.Ctable tr:nth-child(4n) th::before { background: var(--blue); }

/* ボタン */
.btn_area { margin-top: 36px; text-align: center; }
.btn {
  --c: var(--green); --cd: var(--green-dark);
  display: inline-block; min-width: 260px; padding: 14px 32px 13px; border-radius: 999px;
  font-family: var(--font-round); font-weight: 800; font-size: 16px; letter-spacing: .08em;
  color: #fff; background: var(--c); box-shadow: 0 6px 0 var(--cd);
  transition: transform .12s, box-shadow .12s;
}
.btn::after { content: " ▶"; font-size: 11px; }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 0 var(--cd); }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--cd); }

/* フッター
---------------------------------------------------------------------- */
#footer {
  position: relative; padding: 56px 0 28px; color: #fff; text-align: center;
  background:
    radial-gradient(rgba(255, 255, 255, .12) 2px, transparent 2px) 0 0 / 24px 24px,
    var(--green);
}
/* 上端のギザギザ（チケット風） */
#footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
  background: radial-gradient(circle at 12px 0, transparent 12px, var(--green) 12.5px) 0 0 / 24px 14px repeat-x;
}
#footer .f_logo { font-family: var(--font-round); font-weight: 800; font-size: 22px; letter-spacing: .12em; }
#footer .f_addr { margin-top: 6px; font-size: 13px; opacity: .9; }
#footer .f_addr a { color: #fff; }
#footer ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin: 24px 0 20px; }
#footer ul a { color: #fff; font-weight: 700; }
#footer ul a:hover { color: var(--yellow); }
#footer .copy { font-size: 11px; opacity: .8; }

/* アクセシビリティ：動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ======================================================================
   タブレット
   ====================================================================== */
@media screen and (max-width: 1000px) {
  .shop_cards { grid-template-columns: repeat(2, 1fr); }
  .tel_time { display: none; }
}

/* ======================================================================
   スマートフォン（767px以下）
   ====================================================================== */
@media screen and (max-width: 767px) {
  body { font-size: 15px; }
  .inner { padding: 0 16px; }

  #header .inner { flex-wrap: wrap; gap: 8px 12px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  #header .logo img { width: 120px; }
  .tel_btn { margin-left: auto; padding: 5px 14px 5px 5px; column-gap: 6px; }
  .tel_icon { width: 32px; height: 32px; }
  .tel_icon svg { width: 16px; height: 16px; }
  .tel_num { font-size: 16px; }
  #navi { order: 3; width: 100%; margin: 0; }
  #navi ul { gap: 8px; }
  #navi li { flex: 1 1 0; }
  #navi a { padding: 6px 0 5px; text-align: center; font-size: 14px; letter-spacing: .02em; }

  .hero { padding: 44px 0 64px; }
  .hero_frame { padding: 10px; border-radius: 22px; }
  .hero_frame::before { inset: 3px; border-width: 4px; border-radius: 19px; }
  .hero_frame img { aspect-ratio: 4 / 3; border-radius: 14px; }
  .hero_copy { margin: -36px 10px 0; padding: 20px 20px 22px; }
  .hero_copy h1 { font-size: 23px; }
  .badge { right: 6px; bottom: auto; top: -36px; width: 96px; height: 96px; }
  .badge strong { font-size: 21px; }
  .badge b { font-size: 11px; }
  .badge small { font-size: 7px; }

  .section { padding: 56px 0; }
  .sec_head { margin-bottom: 26px; }
  .sec_head h2 { font-size: 24px; }
  .service_list { grid-template-columns: 1fr; gap: 14px; }
  .service_list li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 20px; }
  .service_list .num { grid-row: span 2; width: 46px; height: 46px; margin: 0; font-size: 12px; }
  .service_list h3 { font-size: 17px; }
  .service_list p { margin-top: 2px; }
  .shop_cards { gap: 12px; }
  .shop_cards .body { padding: 12px 12px 14px; }
  .shop_cards .name { font-size: 14px; }
  .shop_cards .meta { display: none; }
  .shop_cards .pref { left: 8px; top: 8px; padding: 1px 8px; font-size: 10px; }

  .company_box { padding: 4px 18px; }
  .Ctable th,
  .Ctable td { display: block; width: 100%; padding: 0; border: 0; }
  .Ctable th { padding-top: 16px; }
  .Ctable td { padding: 4px 0 16px 18px; border-bottom: 2px dashed var(--line); }
  .btn { min-width: 0; width: 100%; }
}

/* ==========================================================================
   下層ページ
   ========================================================================== */

/* ページタイトル */
.page_head {
  position: relative; padding: 56px 0 60px; text-align: center; overflow: hidden;
  background:
    radial-gradient(circle at 6% 30%, rgba(255, 204, 31, .28) 0 90px, transparent 91px),
    radial-gradient(circle at 94% 80%, rgba(255, 111, 183, .18) 0 120px, transparent 121px),
    radial-gradient(rgba(32, 35, 46, .07) 1.5px, transparent 1.5px) 0 0 / 22px 22px,
    #fff;
}
.page_head .en { display: inline-block; font-family: var(--font-pixel); font-size: 12px; letter-spacing: .12em; color: var(--green); }
.page_head .en::before,
.page_head .en::after { content: "◆"; margin: 0 10px; font-size: 10px; color: var(--yellow); }
.page_head h1 {
  margin-top: 10px; font-family: var(--font-round); font-weight: 800; font-size: 36px;
  letter-spacing: .08em; line-height: 1.4; color: var(--ink);
}
.page_head h1::after {
  content: ""; display: block; width: 76px; height: 10px; margin: 16px auto 0;
  background:
    radial-gradient(circle, var(--red) 4px, transparent 4.5px) 0 0 / 19px 10px no-repeat,
    radial-gradient(circle, var(--yellow) 4px, transparent 4.5px) 19px 0 / 19px 10px no-repeat,
    radial-gradient(circle, var(--green) 4px, transparent 4.5px) 38px 0 / 19px 10px no-repeat,
    radial-gradient(circle, var(--blue) 4px, transparent 4.5px) 57px 0 / 19px 10px no-repeat;
}

/* パンくず */
.bread_crumb { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); font-size: 12px; }
.bread_crumb ol { display: flex; flex-wrap: wrap; padding: 10px 0; }
.bread_crumb li + li::before { content: "▶"; margin: 0 10px; font-size: 8px; color: var(--muted); vertical-align: 1px; }
.bread_crumb a { color: var(--text); }
.bread_crumb a:hover { color: var(--red); }
.bread_crumb [aria-current] { color: var(--muted); }

/* 沿革（タイムライン） */
.history { position: relative; max-width: 860px; margin: 0 auto; }
.history::before {
  content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 4px; border-radius: 2px;
  background: repeating-linear-gradient(var(--line) 0 8px, transparent 8px 14px);
}
.history li {
  --c: var(--green);
  position: relative; display: grid; grid-template-columns: 9em 1fr; align-items: center; gap: 4px 20px;
  padding: 0 0 14px 36px;
}
.history li:nth-child(4n+2) { --c: var(--yellow); }
.history li:nth-child(4n+3) { --c: var(--red); }
.history li:nth-child(4n) { --c: var(--blue); }
.history li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 5px solid var(--c);
}
.history time { font-family: var(--font-round); font-weight: 800; color: var(--ink); }
.history p { padding: 9px 18px; border-radius: 14px; background: #fff; border: 2px solid var(--line); line-height: 1.6; }

/* 店舗一覧 */
.shop_list { display: grid; gap: 28px; }
.shop_item {
  --c: var(--green); --cd: var(--green-dark);
  display: grid; grid-template-columns: 360px 1fr; overflow: hidden;
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
}
.shop_item:nth-child(2) { --c: var(--blue); --cd: var(--blue-dark); }
.shop_item:nth-child(3) { --c: var(--pink); --cd: #d94b94; }
.shop_item:nth-child(4) { --c: var(--yellow-dark); --cd: #b88a00; }
.shop_item .photo { position: relative; display: block; overflow: hidden; }
.shop_item .photo img { display: block; width: 100%; height: 100%; min-height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.shop_item .photo:hover img { transform: scale(1.06); }
.shop_item .pref {
  position: absolute; left: 14px; top: 14px; padding: 2px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #fff; background: var(--c);
}
.shop_item .body { padding: 26px 32px 28px; }
.shop_item h2 { font-family: var(--font-round); font-weight: 800; font-size: 24px; color: var(--ink); line-height: 1.4; }
.shop_item h2 small { display: block; margin-bottom: 4px; font-family: var(--font-pixel); font-size: 10px; letter-spacing: .1em; color: var(--c); }
.shop_item .btn { --c: inherit; --cd: inherit; margin-top: 16px; min-width: 220px; padding: 11px 26px 10px; font-size: 15px; }

/* 店舗データ */
.shop_data { margin: 12px 0 0; }
.shop_data div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 8px 0; border-bottom: 2px dashed var(--line); }
.shop_data div:last-child { border-bottom: 0; }
.shop_data dt { font-weight: 700; color: var(--ink); font-size: 14px; }
.shop_data dt::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--c, var(--green)); vertical-align: middle; }
.shop_data dd { margin: 0; font-size: 14px; }
.shop_data .tel { font-family: var(--font-round); font-weight: 800; font-size: 18px; }

/* 店舗詳細 */
.shop_detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.gallery_main { position: relative; margin: 0; padding: 12px; border-radius: 26px; background: linear-gradient(135deg, var(--blue), var(--purple)); }
.gallery_main::before {
  content: ""; position: absolute; inset: 4px; border-radius: 22px; pointer-events: none;
  border: 4px dotted #d6ecff; animation: bulbs 1s steps(1) infinite;
}
.gallery_main img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; background: #eee; }
.gallery_main figcaption {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); white-space: nowrap;
  padding: 6px 20px; border-radius: 999px; background: var(--yellow); color: var(--ink);
  font-family: var(--font-round); font-weight: 800; font-size: 14px; box-shadow: 0 4px 0 var(--yellow-dark);
}
.gallery_thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; margin-top: 34px; }
.gallery_thumbs button {
  display: block; width: 100%; padding: 0; overflow: hidden; border-radius: 12px; cursor: pointer;
  border: 3px solid transparent; background: #fff; box-shadow: 0 3px 0 var(--line);
  transition: transform .15s, border-color .15s;
}
.gallery_thumbs button:hover { transform: translateY(-3px); }
.gallery_thumbs button[aria-current="true"] { border-color: var(--red); }
.gallery_thumbs img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.shop_info { padding: 28px 30px; border-radius: var(--radius); background: #fff; border: 2px solid var(--line); }
.shop_info .label {
  display: inline-block; padding: 3px 12px 2px; border-radius: 6px; background: var(--ink); color: #fff;
  font-family: var(--font-pixel); font-size: 10px; letter-spacing: .1em;
}
.shop_info h2 { margin-top: 8px; font-family: var(--font-round); font-weight: 800; font-size: 22px; color: var(--ink); }
.map { margin-top: 18px; overflow: hidden; border-radius: 16px; border: 2px solid var(--line); line-height: 0; }
.map iframe { display: block; width: 100%; height: 280px; }

/* ブログへのリンク */
.blog_banner {
  display: flex; align-items: center; gap: 20px; max-width: 760px; margin: 0 auto; padding: 24px 30px;
  border-radius: var(--radius); color: var(--ink);
  background:
    radial-gradient(rgba(255, 255, 255, .45) 2px, transparent 2px) 0 0 / 18px 18px,
    linear-gradient(120deg, #fff2a8, #ffd6ec);
  box-shadow: 0 6px 0 #f2c3dc;
  transition: transform .15s, box-shadow .15s;
}
.blog_banner:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 9px 0 #f2c3dc; }
.blog_banner .icon {
  flex: 0 0 56px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--red); color: #fff; font-family: var(--font-pixel); font-size: 11px;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .15);
}
.blog_banner strong { display: block; font-family: var(--font-round); font-weight: 800; font-size: 19px; }
.blog_banner small { font-size: 13px; color: var(--text); }
.blog_banner .arrow { margin-left: auto; font-size: 20px; color: var(--red); }

.btn.back::after { content: none; }
.btn.back::before { content: "◀ "; font-size: 11px; }

/* 404 */
.notfound { text-align: center; }
.notfound .code {
  font-family: var(--font-pixel); font-size: 56px; line-height: 1.2; color: var(--red);
  text-shadow: 4px 4px 0 var(--yellow), 8px 8px 0 var(--blue);
}
.notfound .over { margin-top: 14px; font-family: var(--font-pixel); font-size: 14px; color: var(--ink); letter-spacing: .1em; animation: blink 1.2s steps(1) infinite; }
.notfound .msg { margin-top: 24px; }
@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media screen and (max-width: 900px) {
  .shop_item { grid-template-columns: 1fr; }
  .shop_detail { grid-template-columns: 1fr; gap: 32px; }
}

@media screen and (max-width: 767px) {
  .page_head { padding: 36px 0 40px; }
  .page_head h1 { font-size: 26px; }
  .history li { grid-template-columns: 1fr; padding-left: 32px; }
  .history li::before { top: 3px; }
  .shop_item .body { padding: 20px 18px 22px; }
  .shop_item h2 { font-size: 20px; }
  .shop_data div { grid-template-columns: 1fr; gap: 0; }
  .shop_item .btn { width: 100%; min-width: 0; }
  .shop_info { padding: 20px 18px; }
  .gallery_main { padding: 8px; border-radius: 20px; }
  .gallery_main::before { border-radius: 17px; inset: 3px; }
  .gallery_main figcaption { font-size: 12px; }
  .gallery_thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .blog_banner { padding: 18px; gap: 14px; }
  .blog_banner .icon { flex-basis: 46px; width: 46px; height: 46px; font-size: 9px; }
  .blog_banner strong { font-size: 16px; }
  .notfound .code { font-size: 40px; }
}
