/* ===================================================
   MACHI GUIDE — Main Stylesheet v2.0
   =================================================== */

/* ─── CSS VARIABLES ─── */
:root {
  --g900: #2c3e50;
  --g800: #34495e;
  --g700: #3d566e;
  --g600: #48687e;
  --g500: #527a8f;
  --g400: #6b9ab5;
  --g300: #8fbdd4;
  --g200: #bdd8e8;
  --g100: #dfeef5;
  --g50:  #f2f8fb;
  --sand: #faf9f7;
  --sand2: #f3f1ed;
  --cream: #fefefe;
  --ink: #1a1a2e;
  --sub: #555770;
  --white: #ffffff;
  --accent: #e8a838;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.14);
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --header-h: 68px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'DM Sans', 'Noto Sans JP', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
  overflow-x: hidden; width: 100%;
}
#site-footer { margin-top: auto; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ─── HEADER ─── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 300;
  background: rgba(58,123,213,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.15);
  transition: background .2s;
}
#site-header.scrolled { background: rgba(50,110,200,.98); }
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 24px; height: var(--header-h);
}
/* ロゴ：固定幅・縮まない */
.site-logo-link {
  display: flex; align-items: center; gap: 10px;
  flex: 0 0 auto;
}
/* 中央スペーサー：残り幅を全部使って言語ボタンを右端へ */
.header-spacer { flex: 1 1 0; }
/* カスタムロゴ画像の場合はサイズを制御 */
.site-logo-link .custom-logo-link img { height: 40px; width: auto; }
.logo-mark {
  width: 38px; height: 38px;
  border: 2px solid var(--g300); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
  overflow: hidden;
}
.logo-mark .custom-logo-link { display: flex; }
.logo-mark .custom-logo-link img { width: 100%; height: 100%; object-fit: cover; }
.logo-text-wrap { display: flex; flex-direction: column; }
.logo-site-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem; letter-spacing: .12em;
  color: var(--white); line-height: 1;
}
.logo-tagline {
  font-size: .62rem; font-weight: 300; letter-spacing: .2em;
  color: var(--g300); text-transform: uppercase;
}
/* ─── 言語切り替え：プルダウン方式 ─── */
/* Google翻訳が注入するUI要素を完全非表示 */
.goog-te-banner-frame, .goog-te-gadget, .goog-te-gadget-simple,
.goog-te-menu-frame, #goog-gt-tt, .goog-te-balloon-frame,
.goog-tooltip, .goog-tooltip-content, .skiptranslate,
#google_translate_element { display: none !important; }
body { top: 0 !important; }

.lang-switcher {
  position: relative;   /* ドロップダウンのabsolute基準点 */
  flex: 0 0 auto;
  margin-left: 12px;
}

/* トリガーボタン */
.lang-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 9px; border-radius: 7px;
  font-size: .75rem; font-weight: 600;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  cursor: pointer;
  transition: all .18s;
  font-family: inherit;
  line-height: 1;
  white-space: nowrap;
  max-width: 140px;   /* はみ出し防止 */
}
.lang-trigger:hover,
.lang-trigger.open {
  background: rgba(255,255,255,.14);
  color: var(--white);
  border-color: rgba(255,255,255,.28);
}
.lang-trigger .lang-arrow {
  font-size: .6rem; opacity: .6;
  transition: transform .18s; display: inline-block;
  flex-shrink: 0;
}
.lang-trigger.open .lang-arrow { transform: rotate(180deg); }

/* ドロップダウン：position:fixed でビューポート基準（画面外はみ出し防止） */
.lang-dropdown {
  display: none;
  position: fixed;      /* absoluteではなくfixed → スクロールに追従しビューポート基準 */
  min-width: 150px;
  width: max-content;
  max-width: calc(100vw - 16px); /* 画面幅を絶対に超えない */
  background: var(--g800);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,.55);
  overflow: hidden;
  z-index: 1000;
}
.lang-dropdown.open { display: block; }

.lang-option {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 9px 14px;
  font-size: .78rem; font-weight: 500;
  color: rgba(255,255,255,.65);
  background: none; border: none;
  cursor: pointer; font-family: inherit;
  text-align: left;
  transition: background .14s, color .14s;
  white-space: nowrap;
}
.lang-option:hover { background: rgba(255,255,255,.08); color: var(--white); }
.lang-option.active { background: var(--g600); color: var(--g200); font-weight: 700; }
.lang-option .lang-flag { font-size: .95rem; line-height: 1; flex-shrink: 0; }
.lang-option .lang-check { margin-left: auto; font-size: .75rem; opacity: .7; flex-shrink: 0; }

/* ─── HERO ─── */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(170deg, #3a7bd5 0%, #5b9bd5 35%, #6db3c4 70%, #7ec8b8 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
  position: relative; overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-bg-blob {
  position: absolute; width: 700px; height: 700px; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.3); border-radius: 40px;
  padding: 6px 18px; font-size: .78rem; font-weight: 500; letter-spacing: .14em;
  color: rgba(255,255,255,.9); text-transform: uppercase;
  margin-bottom: 28px; background: rgba(255,255,255,.1);
  position: relative;
}
.hero-tag::before { content: '◆'; font-size: .55em; }
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: .95; letter-spacing: .05em;
  color: var(--white); margin-bottom: 20px; position: relative;
}
.hero-title em { font-style: normal; color: var(--g300); }
.hero-title-img {
  max-width: 780px; width: 92%;
  margin: 0 auto 24px;
  position: relative; z-index: 1;
  animation: fadeUp .7s ease both .15s;
}
.hero-title-img img {
  width: 100%; height: auto; display: block;
}
.hero-subtitle {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,.75);
  max-width: 480px; margin: 0 auto 24px;
  font-weight: 300; letter-spacing: .02em; position: relative;
}
/* ─── お知らせ枠 ─── */
.hero-announce {
  width: 100%; max-width: 580px;
  margin: 0 auto 22px; padding: 14px 20px;
  border: 2px solid #c8a84b;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.88);
  color: var(--ink);
  font-size: .88rem; line-height: 1.7;
  text-align: center;
  position: relative; z-index: 1;
  animation: fadeUp .7s ease both .15s;
}
@media (max-width: 560px) {
  .hero-announce { padding: 10px 14px; font-size: .82rem; margin-bottom: 16px; }
}
/* 検索フォーム */
.search-wrap { width: 100%; max-width: 580px; margin-bottom: 22px; position: relative; }
.search-inner {
  display: flex;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 14px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.search-inner:focus-within {
  border-color: var(--g400);
  box-shadow: 0 0 0 3px rgba(82,122,143,.15);
}
.search-inner input[type="search"] {
  flex: 1; background: transparent; border: none; outline: none;
  padding: 16px 22px; font-size: .95rem; color: var(--ink); font-family: inherit;
  min-width: 0;
}
.search-inner input[type="search"]::placeholder { color: var(--g400); }
.search-inner button {
  background: var(--g500); color: white;
  padding: 12px 28px; font-size: .88rem; font-weight: 600;
  font-family: inherit; letter-spacing: .05em;
  margin: 6px; border-radius: 10px; flex-shrink: 0;
  transition: background .2s;
}
.search-inner button:hover { background: var(--g400); }
/* ヒーロー カテゴリーボタン */
.hero-cats {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  position: relative;
}
.hero-cat {
  padding: 8px 20px; border-radius: 40px; font-size: .82rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.04); transition: all .2s;
}
.hero-cat:hover, .hero-cat.active {
  background: var(--g600); border-color: var(--g400); color: var(--g200);
}
/* スロットゲーム */
.slot-wrap {
  width: 100%; max-width: 480px;
  margin: 0 auto 28px; padding: 20px 18px 22px;
  background: rgba(255,255,255,.88);
  border: 2px solid rgba(0,0,0,.06);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.5);
  position: relative; z-index: 1;
  animation: fadeUp .7s ease both .4s;
}
.slot-heading {
  text-align: center; font-size: .88rem; font-weight: 700;
  color: var(--ink); margin: 0 0 10px;
  letter-spacing: .08em; font-family: inherit;
}
.slot-stats {
  display: grid; gap: 5px; margin-bottom: 6px;
}
.slot-stats-all { grid-template-columns: repeat(3, 1fr); }
.slot-stats-daily { grid-template-columns: repeat(4, 1fr); margin-bottom: 14px; }
.slot-stat {
  background: var(--g50);
  border: 1px solid var(--g100);
  border-radius: 8px; padding: 6px 4px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.slot-stats-all .slot-stat {
  background: var(--g100);
  border-color: var(--g200);
}
.slot-stat-label {
  font-size: .5rem; font-weight: 700; letter-spacing: .08em;
  color: var(--g600);
  white-space: nowrap;
}
.slot-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem; letter-spacing: .05em;
  color: var(--g900); line-height: 1;
}
.slot-machine {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.slot-reels-row {
  display: flex; align-items: center; gap: 8px;
}
.slot-start-btn {
  padding: 10px 6px; width: 44px;
  border-radius: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  writing-mode: vertical-rl; text-orientation: upright;
  background: linear-gradient(135deg, #e04444, #b22222);
  color: #fff; border: 2px solid rgba(255,255,255,.2);
  box-shadow: 0 4px 14px rgba(224,68,68,.4), inset 0 1px 0 rgba(255,255,255,.25);
  cursor: pointer; transition: all .18s;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  line-height: 1.2;
}
.slot-start-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(224,68,68,.5);
}
.slot-start-btn:disabled { opacity: .4; cursor: not-allowed; }
.slot-reels {
  display: flex; gap: 10px;
  background: var(--g800);
  padding: 14px; border-radius: 14px;
  border: 2px solid var(--g700);
  box-shadow: inset 0 4px 12px rgba(0,0,0,.5);
}
.slot-reel-col {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.slot-reel {
  width: 90px; height: 100px;
  background: linear-gradient(180deg, #fffdf5, #e8e4d4);
  border: 2px solid var(--accent);
  border-radius: 10px;
  overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.15);
}
.reel-inner {
  font-size: 3.2rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}
.reel-inner img {
  width: 100%; height: 100%; object-fit: contain;
  border-radius: 4px; padding: 4px;
}
.slot-reel.spinning .reel-inner {
  animation: reelSpin .08s linear infinite;
}
@keyframes reelSpin {
  0%   { transform: translateY(-6px); }
  100% { transform: translateY(6px); }
}
.slot-stop-btn {
  padding: 4px 0; width: 100%;
  border-radius: 6px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  background: var(--g50);
  color: var(--g400);
  border: 1.5px solid var(--g200);
  cursor: not-allowed; transition: all .18s;
}
.slot-stop-btn.active {
  background: linear-gradient(135deg, var(--g500), var(--g600));
  color: #fff;
  border-color: var(--g400);
  box-shadow: 0 3px 10px rgba(0,0,0,.15);
  cursor: pointer;
  animation: stopPulse 1s ease-in-out infinite;
}
@keyframes stopPulse {
  0%,100% { box-shadow: 0 3px 10px rgba(42,122,95,.3); }
  50%     { box-shadow: 0 3px 16px rgba(42,122,95,.65); }
}
.slot-stop-btn.active:hover {
  transform: translateY(-1px);
}
.slot-stop-btn:disabled:not(.active) { opacity: .5; }
.slot-message {
  min-height: 20px; font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.7);
  text-align: center; transition: color .2s;
}
.slot-message.win  { color: #e04444; font-size: .92rem; }
.slot-message.lose { color: var(--g500); }
.slot-wrap.jackpot {
  animation: jackpotPulse 1.4s ease infinite;
}
@keyframes jackpotPulse {
  0%,100% { box-shadow: 0 10px 40px rgba(200,168,75,.4), inset 0 1px 0 rgba(255,255,255,.1); border-color: var(--accent); }
  50%     { box-shadow: 0 15px 60px rgba(200,168,75,.75), inset 0 1px 0 rgba(255,255,255,.2); border-color: #ffd966; }
}

/* ─── JACKPOT CELEBRATION OVERLAY ─── */
.jackpot-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.85);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .5s ease;
  overflow: hidden;
}
.jackpot-overlay.show { opacity: 1; }

/* 紙吹雪 */
.confetti-piece {
  position: absolute; top: -20px;
  opacity: .9;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* メインコンテンツ */
.jackpot-content {
  position: relative; z-index: 1;
  text-align: center;
  animation: jackpotZoomIn .6s cubic-bezier(.34,1.56,.64,1) both;
  max-width: 90vw;
}
@keyframes jackpotZoomIn {
  0%   { transform: scale(0.3); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* カスタム画像演出 */
.jackpot-custom-img {
  max-width: 80vw; max-height: 50vh;
  object-fit: contain; border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 10px 50px rgba(200,168,75,.5);
  animation: jackpotZoomIn .6s cubic-bezier(.34,1.56,.64,1) both,
             celebImgGlow 2s ease infinite;
}
@keyframes celebImgGlow {
  0%,100% { box-shadow: 0 10px 50px rgba(200,168,75,.4); }
  50%     { box-shadow: 0 15px 70px rgba(200,168,75,.8), 0 0 30px rgba(255,215,0,.3); }
}

/* カスタム動画演出 */
.jackpot-video {
  max-width: 85vw; max-height: 50vh;
  border-radius: 16px; margin-bottom: 16px;
  object-fit: contain;
  box-shadow: 0 10px 50px rgba(200,168,75,.5);
  animation: jackpotZoomIn .6s cubic-bezier(.34,1.56,.64,1) both;
}

.jackpot-emoji {
  font-size: 4rem; margin-bottom: 16px;
  display: flex; justify-content: center; gap: 10px;
  animation: emojiPop .8s ease both .3s;
}
.jackpot-emoji > span,
.jackpot-emoji > img {
  display: inline-block;
  animation: emojiBounce 1s ease infinite;
}
.jackpot-emoji > img {
  width: 72px; height: 72px; object-fit: contain;
  border-radius: 8px;
}
.jackpot-emoji > *:nth-child(2) { animation-delay: .15s; }
.jackpot-emoji > *:nth-child(3) { animation-delay: .3s; }
@keyframes emojiBounce {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-14px); }
}
@keyframes emojiPop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.jackpot-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 10vw, 5rem);
  letter-spacing: .08em;
  background: linear-gradient(135deg, #ffd700, #ff8c00, #ffd700, #fff68f, #ffd700);
  background-size: 300% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShine 2s linear infinite;
  margin-bottom: 12px;
  text-shadow: none;
  filter: drop-shadow(0 4px 20px rgba(255,215,0,.5));
}
@keyframes goldShine {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.jackpot-sub {
  font-size: 1.1rem; color: rgba(255,255,255,.85);
  font-weight: 600; margin-bottom: 20px;
}
.jackpot-countdown {
  font-size: .9rem; color: var(--accent);
  margin-bottom: 14px;
  animation: countBlink 1s ease infinite;
}
@keyframes countBlink {
  0%,100% { opacity: 1; }
  50%     { opacity: .5; }
}
.jackpot-go-btn {
  display: inline-block;
  padding: 14px 42px; border-radius: 40px;
  font-size: 1rem; font-weight: 700; letter-spacing: .06em;
  background: linear-gradient(135deg, var(--accent), #b89540);
  color: var(--g900); text-decoration: none;
  box-shadow: 0 6px 24px rgba(200,168,75,.5);
  transition: transform .2s, box-shadow .2s;
  animation: goBtnPulse 1.5s ease infinite;
}
.jackpot-go-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(200,168,75,.7);
}
@keyframes goBtnPulse {
  0%,100% { box-shadow: 0 6px 24px rgba(200,168,75,.4); }
  50%     { box-shadow: 0 8px 32px rgba(200,168,75,.7); }
}

@media (max-width: 560px) {
  .jackpot-emoji { font-size: 3rem; gap: 6px; }
  .jackpot-emoji > img { width: 56px; height: 56px; }
  .jackpot-go-btn { padding: 12px 32px; font-size: .9rem; }
  .jackpot-custom-img { max-width: 90vw; max-height: 40vh; border-radius: 12px; }
  .jackpot-video { max-width: 92vw; max-height: 40vh; border-radius: 12px; }
}
@media (max-width: 560px) {
  .slot-wrap { max-width: 96vw; padding: 16px 10px 18px; }
  .slot-reels-row { gap: 6px; }
  .slot-start-btn { width: 36px; font-size: .68rem; padding: 8px 4px; }
  .slot-reel { width: 72px; height: 82px; }
  .reel-inner { font-size: 2.6rem; }
  .slot-stop-btn { font-size: .6rem; padding: 3px 0; }
  .slot-stats { gap: 3px; }
  .slot-stat { padding: 5px 2px; border-radius: 6px; }
  .slot-stat-num { font-size: .92rem; }
  .slot-stat-label { font-size: .42rem; letter-spacing: .03em; }
}

/* ランダムボタン */
.random-wrap {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; margin-bottom: 48px; position: relative; z-index: 1;
  animation: fadeUp .7s ease both .5s;
}
.random-heading {
  font-size: .85rem; font-weight: 600; color: #fff;
  letter-spacing: .05em; margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.random-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 32px; border-radius: 40px;
  font-size: .92rem; font-weight: 700; letter-spacing: .05em;
  background: linear-gradient(135deg, var(--accent), #b89540);
  color: var(--g900); border: 2px solid transparent;
  box-shadow: 0 6px 20px rgba(200,168,75,.28), 0 0 0 1px rgba(200,168,75,.35);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer; text-decoration: none;
}
.random-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(200,168,75,.42), 0 0 0 1px rgba(200,168,75,.55);
}
.random-btn:active { transform: translateY(0); }

/* ─── Hero カスタムリンクボタン ─── */
.hero-custom-links {
  display: flex; justify-content: center; gap: 12px;
  margin-bottom: 36px; position: relative; z-index: 1;
  animation: fadeUp .7s ease both .55s;
  flex-wrap: wrap;
}
.hero-custom-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 28px; border-radius: 40px;
  font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  background: rgba(255,255,255,.85);
  color: var(--g800);
  border: 1.5px solid rgba(255,255,255,.9);
  text-decoration: none;
  transition: all .2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.hero-custom-btn:hover {
  background: #fff;
  color: var(--g900);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

/* スクロールヒント */
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.25); font-size: .7rem; letter-spacing: .15em;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.25), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity:.3; } 50% { opacity:.8; } }

/* ─── LAYOUT UTILITIES ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 36px; gap: 16px;
}
.sec-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--g500); margin-bottom: 10px;
}
.sec-label::before { content: ''; display: block; width: 20px; height: 1px; background: currentColor; }
.sec-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: .05em; line-height: 1.05; color: var(--g900); margin-bottom: 6px;
}
.sec-desc { font-size: .88rem; color: var(--sub); font-weight: 300; }
.view-all {
  font-size: .82rem; font-weight: 600; letter-spacing: .06em;
  color: var(--g500); border-bottom: 1px solid var(--g300); padding-bottom: 2px;
  white-space: nowrap; align-self: flex-end; transition: color .2s;
}
.view-all:hover { color: var(--g400); }
.no-results-msg {
  grid-column: 1/-1; text-align: center; padding: 64px 24px;
  font-size: .9rem; color: var(--sub);
}

/* ─── EVENT SECTION ─── */
.event-section { background: var(--sand); padding: 72px 0; overflow: hidden; }
.event-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}

/* イベントフィルター */
.event-filter {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.event-filter-btn {
  padding: 7px 18px; border-radius: 40px;
  font-size: .8rem; font-weight: 600; letter-spacing: .03em;
  background: var(--white); color: var(--sub);
  border: 1.5px solid var(--g200);
  cursor: pointer; transition: all .2s;
}
.event-filter-btn:hover {
  border-color: var(--g400); color: var(--g700);
}
.event-filter-btn.active {
  background: var(--g500); color: #fff;
  border-color: var(--g500);
}
.event-card.filter-hidden {
  display: none !important;
}
.event-card.ended-hidden {
  display: none !important;
}
.event-card {
  background: var(--white); border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.event-thumb {
  position: relative; width: 100%; display: block;
  aspect-ratio: 16 / 9; overflow: hidden;
}
.event-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.event-card:hover .event-thumb img { transform: scale(1.04); }
.event-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 12px; border-radius: 20px;
  font-size: .68rem; font-weight: 800; letter-spacing: .06em;
  color: #fff;
}
.event-badge-active { background: var(--g500); }
.event-badge-few { background: #e04444; }
.event-badge-ended { background: var(--g400); opacity: .7; }
.event-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.event-title {
  font-size: 1.15rem; font-weight: 700; color: var(--g900);
  margin-bottom: 10px; line-height: 1.4;
}
.event-title a { color: inherit; text-decoration: none; }
.event-title a:hover { color: var(--g500); }
.event-meta-list { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.event-meta-item {
  font-size: .78rem; color: var(--g500); line-height: 1.4;
}
.event-desc {
  font-size: .82rem; color: var(--sub); line-height: 1.7;
  margin-bottom: 16px; flex: 1;
}
.event-reserve-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; border-radius: 40px;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  background: linear-gradient(135deg, var(--g500), var(--g600));
  color: #fff; text-decoration: none;
  transition: all .2s;
}
.event-reserve-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(42,122,95,.35);
}
.event-btns {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto;
}
.event-detail-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; border-radius: 40px;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  background: var(--white);
  color: var(--g600);
  border: 2px solid var(--g400);
  text-decoration: none;
  transition: all .2s;
}
.event-detail-btn:hover {
  background: var(--g50);
  border-color: var(--g600);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42,122,95,.15);
}

@media (max-width: 700px) {
  .event-list { grid-template-columns: 1fr; }
  .event-body { padding: 16px 18px 20px; }
  .event-section { padding: 48px 0; }
}

/* イベント詳細ページ情報ボックス */
.event-info-box {
  background: var(--white); border-radius: var(--r-md);
  padding: 24px; margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
}
.event-info-heading {
  font-size: .95rem; font-weight: 700; color: var(--g800);
  padding-bottom: 10px; border-bottom: 1px solid var(--g100);
}
.event-info-row {
  display: flex; gap: 10px; align-items: baseline;
  font-size: .88rem; color: var(--g600); line-height: 1.6;
}
.event-info-icon { min-width: 24px; flex-shrink: 0; }
.event-info-label {
  min-width: 24px; flex-shrink: 0;
  font-weight: 700; color: var(--g700); font-size: .82rem;
}
.event-map-wrap {
  margin: 4px 0 8px; padding-left: 34px;
}
.event-map-wrap iframe {
  max-width: 100%; width: 100%;
}
@media (max-width: 560px) {
  .event-info-box { padding: 18px 16px; }
  .event-map-wrap { padding-left: 0; }
  .event-map-wrap iframe { height: 220px; }
}

/* イベント本文ブロックカード */
.event-content-blocks {
  margin-bottom: 32px;
}
.event-content-blocks > * {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 22px 26px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.event-content-blocks > figure {
  padding: 12px;
}
.event-content-blocks > figure img {
  width: 100%; height: auto; border-radius: var(--r-sm); cursor: zoom-in;
}
.event-content-blocks > *:last-child { margin-bottom: 0; }
.event-content-blocks p { font-size: .9rem; color: var(--sub); line-height: 1.9; }
.event-content-blocks h2 { font-size: 1.2rem; color: var(--g900); font-weight: 700; }
.event-content-blocks h3 { font-size: 1.05rem; color: var(--g800); font-weight: 700; }
.event-content-blocks a { color: var(--g500); text-decoration: underline; }
.event-content-blocks a:has(> img) { text-decoration: none; }
.event-content-blocks img { max-width: 100%; height: auto; cursor: zoom-in; }
.event-content-blocks ul, .event-content-blocks ol { padding-left: 1.5em; font-size: .9rem; color: var(--sub); line-height: 1.9; }
@media (max-width: 560px) {
  .event-content-blocks > * { padding: 16px 18px; }
  .event-content-blocks > figure { padding: 8px; }
}

/* イベントSNSリンクボタン */
.event-sns-wrap {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 32px;
}
.event-sns-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 40px;
  font-size: .85rem; font-weight: 700;
  background: var(--sns-color, #527a8f);
  color: #fff; text-decoration: none;
  transition: all .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.event-sns-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  filter: brightness(1.1);
}
.event-sns-icon { font-size: 1.1rem; }

@media (max-width: 560px) {
  .event-sns-wrap { gap: 8px; }
  .event-sns-btn { padding: 8px 16px; font-size: .78rem; }
}

/* ─── FEATURED SECTION ─── */
.featured-section { background: var(--white); padding: 80px 0; overflow: hidden; }

/* 均等グリッド */
.featured-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr; /* デフォルト1列 */
}
.feat-count-2 { grid-template-columns: repeat(2, 1fr); }
.feat-count-3 { grid-template-columns: repeat(3, 1fr); }
.feat-count-4 { grid-template-columns: repeat(2, 1fr); }
.feat-count-5 { grid-template-columns: repeat(3, 1fr); }
.feat-count-6 { grid-template-columns: repeat(3, 1fr); }
.feat-count-7 { grid-template-columns: repeat(3, 1fr); }
.feat-count-8 { grid-template-columns: repeat(3, 1fr); }
.feat-count-9 { grid-template-columns: repeat(3, 1fr); }
/* 5件：最後の2件を中央寄せ */
.feat-count-5 .feat-card:nth-child(4) { grid-column: 1 / 2; }
.feat-count-5 .feat-card:nth-child(5) { grid-column: 2 / 3; }
/* 7件：最後の1件を中央 */
.feat-count-7 .feat-card:nth-child(7) { grid-column: 2 / 3; }
/* 8件：最後の2件を中央 */
.feat-count-8 .feat-card:nth-child(7) { grid-column: 1 / 2; }
.feat-count-8 .feat-card:nth-child(8) { grid-column: 2 / 3; }

/* カード共通 */
.feat-card {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  min-height: 280px; display: flex; align-items: flex-end;
  background: var(--g800); transition: transform .3s, box-shadow .3s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat-card > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.feat-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; background: linear-gradient(135deg,#1a4a39,#0d2118);
}
.feat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,62,80,.88) 15%, transparent 60%);
}
.feat-body { position: relative; z-index: 1; padding: 24px; width: 100%; }
/* カテゴリーバッジ */
.feat-cat-badge {
  display: inline-block; padding: 4px 14px; border-radius: 40px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 12px;
}
.badge-food  { background: #e8733a; color: white; }
.badge-cafe  { background: var(--accent); color: var(--g900); }
.badge-play  { background: #7b5ea7; color: white; }
.badge-shop  { background: var(--g500); color: white; }
.badge-spot  { background: #3b6fa0; color: white; }
.badge-park  { background: #5a9e4b; color: white; }
.badge-event { background: #c05252; color: white; }
.badge-other { background: var(--g700); color: white; }
.feat-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem; letter-spacing: .05em;
  color: white; margin-bottom: 6px; line-height: 1.1;
}
.feat-desc { font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: 10px; font-weight: 300; line-height: 1.5; }
.feat-meta { display: flex; gap: 12px; font-size: .75rem; color: rgba(255,255,255,.5); flex-wrap: wrap; }
.feat-meta span { display: flex; align-items: center; gap: 4px; }
.badge-no-holiday { color: var(--g300) !important; font-weight: 600; }

/* 1件のみ：大きく表示 */
.feat-count-1 .feat-card { min-height: 420px; }
.feat-count-1 .feat-name { font-size: 2.2rem; }

/* ─── SHOP GRID ─── */
.shops-section { padding: 80px 0; background: var(--sand); overflow: hidden; }
.shop-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  padding: 7px 18px; border-radius: 40px; font-size: .82rem; font-weight: 500;
  border: 1.5px solid var(--sand2); background: var(--white); color: var(--sub);
  transition: all .2s; cursor: pointer; font-family: inherit; white-space: nowrap;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--g900); border-color: var(--g900); color: white;
}

/* グリッドは縦1列 */
.shop-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ════════════════════════════════════════
   カード — 横長レイアウト（食べログ風）
   左：サムネイル / 右：情報
   ════════════════════════════════════════ */
.shop-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(13,33,24,.08), 0 0 0 1px rgba(13,33,24,.05);
  transition: box-shadow .25s ease, transform .22s ease;
  /* ★ 横並び固定 */
  display: flex !important;
  flex-direction: row !important;
  position: relative;
  cursor: pointer;
  min-height: 200px;
}
.shop-card:hover {
  box-shadow: 0 10px 36px rgba(13,33,24,.15), 0 0 0 1px rgba(13,33,24,.08);
  transform: translateY(-3px);
}

/* カード全体クリック用の透明リンク */
.shop-card-link { position: absolute; inset: 0; z-index: 0; }

/* ════ 左カラム：サムネイル（固定幅220px） ════ */
.card-thumb {
  width: 220px !important;
  min-width: 220px !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  position: relative;
  background: linear-gradient(145deg, var(--g800), #0d2118);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  align-self: stretch;
  cursor: pointer; z-index: 1;
  text-decoration: none;
}
.card-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.shop-card:hover .card-thumb img { transform: scale(1.05); }
.card-thumb-overlay { display: none; }
.thumb-emoji {
  font-size: 3.2rem; position: relative; z-index: 1;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.4));
}

/* バッジ */
.card-cat {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 4px 11px; border-radius: 20px;
  font-size: .66rem; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.card-new {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  padding: 3px 9px; border-radius: 5px;
  font-size: .6rem; font-weight: 800; letter-spacing: .1em;
  background: var(--accent); color: var(--g900);
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(200,168,75,.4);
}

/* ════ 右カラム：情報エリア ════ */
.card-body {
  flex: 1 1 0%;
  min-width: 0;
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  position: relative; z-index: 1;
  border-left: 3px solid var(--g200);
  background: var(--white);
}

/* 店名 */
.card-name {
  font-size: 1.05rem; font-weight: 800; color: var(--g900);
  margin-bottom: 4px; line-height: 1.35; letter-spacing: .01em;
}
.card-name a {
  color: inherit; text-decoration: none;
  position: relative; z-index: 1;
}
.card-name a:hover { color: var(--g500); text-decoration: underline; }

/* 説明文 */
.card-excerpt {
  font-size: .81rem; color: var(--sub); line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* 営業情報ボックス */
.card-info {
  display: flex; flex-direction: row;
  gap: 16px; flex-wrap: wrap;
  padding: 7px 11px;
  background: var(--g50);
  border-radius: 8px;
  margin-bottom: 11px;
}
.info-row {
  display: flex; align-items: flex-start; gap: 5px;
  font-size: .78rem; color: var(--g700); font-weight: 500;
}
.info-icon { font-size: .8rem; flex-shrink: 0; }

/* ════ フッター：SNSアイコン ＋ リンクボタン ════ */
.card-meta-date {
  font-size: .72rem; color: var(--g400);
}
.shop-single-date {
  font-size: .82rem; color: var(--g400); margin-top: 6px; margin-bottom: 8px;
}
.card-foot {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--g50);
  position: relative; z-index: 1;
  flex-wrap: nowrap;
  margin-top: auto;
}

/* SNSアイコングループ */
.card-sns {
  display: flex; flex-direction: row;
  gap: 5px; align-items: center;
  flex-shrink: 0;
}
.sns-btn {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px; background: var(--g50); color: var(--g600);
  font-size: .82rem; text-decoration: none;
  transition: all .18s; flex-shrink: 0;
  position: relative; z-index: 1;
}
.sns-btn:hover { background: var(--g700); color: white; }

/* ボタングループ（右寄せ） */
.card-btns {
  display: flex;
  flex-direction: row !important;  /* 横並び強制 */
  gap: 6px;
  align-items: center;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.card-link-btn {
  display: inline-flex; align-items: center;
  padding: 6px 13px; border-radius: 20px;
  font-size: .74rem; font-weight: 700; letter-spacing: .02em;
  white-space: nowrap; transition: all .2s;
  position: relative; z-index: 1;
  text-decoration: none; line-height: 1;
}
.btn-official {
  background: var(--g50); color: var(--g700);
  border: 1.5px solid var(--g200);
}
.btn-official:hover { background: var(--g700); color: white; border-color: var(--g700); }
.btn-custom {
  background: #f0edf7; color: #5a3ea0;
  border: 1.5px solid #cfc3e8;
}
.btn-custom:hover { background: #7b5ea7; color: white; border-color: #7b5ea7; }
.btn-detail {
  background: var(--g900); color: white;
  border: 1.5px solid var(--g900);
  box-shadow: 0 2px 6px rgba(13,33,24,.2);
}
.btn-detail:hover { background: var(--g600); border-color: var(--g600); }

/* ── スマートフォンでも横長を維持、サムネイル幅を縮小 ── */
@media (max-width: 560px) {
  /* カードは横長のまま維持 */
  .shop-card {
    flex-direction: row !important;
    min-height: 160px;
  }
  /* サムネイル幅を140pxに縮小 */
  .card-thumb {
    width: 130px !important;
    min-width: 130px !important;
  }
  .thumb-emoji { font-size: 2.2rem; }
  /* 右カラムのパディング縮小 */
  .card-body { padding: 11px 12px 10px; }
  /* 店名サイズ縮小 */
  .card-name { font-size: .92rem; margin-bottom: 3px; }
  /* 説明文を1行に */
  .card-excerpt {
    font-size: .75rem; margin-bottom: 7px;
    -webkit-line-clamp: 1;
  }
  /* 営業情報を縦積みに */
  .card-info {
    flex-direction: column; gap: 3px;
    padding: 5px 8px; margin-bottom: 8px;
  }
  .info-row { font-size: .72rem; }
  /* フッター */
  .card-foot { gap: 5px; padding-top: 7px; flex-wrap: wrap; }
  .card-sns { gap: 3px; }
  .sns-btn { width: 24px; height: 24px; font-size: .72rem; }
  /* ボタン群：左から並べる */
  .card-btns {
    margin-left: 0;
    gap: 4px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .card-link-btn { padding: 4px 9px; font-size: .67rem; }
}

/* ─── エリア＋カテゴリー 2段フィルター ─── */
.filter-group {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 24px;
}
.filter-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.filter-row-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--g500);
  white-space: nowrap; min-width: 52px;
  display: flex; align-items: center; gap: 4px;
}
.filter-row-label::after {
  content: ''; flex: none;
  width: 1px; height: 14px; background: var(--g200);
  margin-left: 4px;
}
/* エリアフィルターボタン */
.area-btn {
  padding: 6px 16px; border-radius: 40px; font-size: .8rem; font-weight: 500;
  border: 1.5px solid var(--sand2); background: var(--white); color: var(--sub);
  transition: all .2s; cursor: pointer; font-family: inherit; white-space: nowrap;
}
.area-btn:hover, .area-btn.active {
  background: var(--accent); border-color: var(--accent); color: var(--g900);
  font-weight: 700;
}

/* エリアバッジ（カード内） */
.card-area {
  font-size: .7rem; font-weight: 600; color: var(--g500);
  display: flex; align-items: center; gap: 3px;
  margin-bottom: 4px;
}
.card-area::before { content: '📍'; font-size: .7rem; }

/* 子エリア：初期非表示、親選択時に表示 */
.area-children {
  display: none !important;
  flex-basis: 100%;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px 0 4px 60px;
}
.area-children.open {
  display: flex !important;
}
.area-child {
  font-size: .76rem !important;
  padding: 5px 14px !important;
  color: var(--g600) !important;
  border-color: var(--g200) !important;
  background: var(--g50) !important;
}
.area-child:hover, .area-child.active {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--g900) !important;
}
.area-parent.has-children::after {
  content: '▾'; margin-left: 4px; font-size: .65rem; opacity: .6;
}
.area-parent.has-children.expanded::after {
  content: '▴';
}
.filter-row-area {
  flex-wrap: wrap;
}

/* スマホでのフィルター折り返し */
@media (max-width: 560px) {
  .filter-row-label { min-width: 40px; font-size: .66rem; }
  .filter-group { gap: 8px; margin-bottom: 16px; }
  .filter-btn, .area-btn { padding: 5px 11px; font-size: .74rem; }
  .area-children { padding-left: 44px; }
}

/* ─── 趣味コーナー ─── */
.hobby-section { background: linear-gradient(180deg, #fff5e6 0%, #ffecd2 100%); padding: 72px 0; overflow: hidden; }
.hobby-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.hobby-card {
  background: var(--white); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.hobby-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hobby-thumb {
  display: block; width: 100%;
  aspect-ratio: 16 / 10; overflow: hidden;
}
.hobby-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.hobby-card:hover .hobby-thumb img { transform: scale(1.04); }
.hobby-body {
  padding: 20px 22px 24px; flex: 1;
  display: flex; flex-direction: column;
}
.hobby-title {
  font-size: 1.05rem; font-weight: 700; color: var(--g900);
  margin-bottom: 6px; line-height: 1.4;
}
.hobby-title a { color: inherit; text-decoration: none; }
.hobby-title a:hover { color: var(--g500); }
.hobby-date {
  font-size: .72rem; color: var(--g400);
  margin-bottom: 10px;
}
.hobby-excerpt {
  font-size: .82rem; color: var(--sub); line-height: 1.7;
  margin-bottom: 14px; flex: 1;
}
.hobby-links {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto;
}
.hobby-link-btn {
  display: inline-flex; align-items: center;
  padding: 6px 16px; border-radius: 30px;
  font-size: .75rem; font-weight: 600;
  background: var(--g50); color: var(--g600);
  border: 1px solid var(--g200);
  text-decoration: none; transition: all .2s;
}
.hobby-link-btn:hover {
  background: var(--g500); color: #fff;
  border-color: var(--g500);
}
.hobby-more-link {
  display: inline-flex; align-items: center;
  font-size: .8rem; font-weight: 600; color: var(--g500);
  text-decoration: none; margin-top: auto;
  transition: color .2s;
}
.hobby-more-link:hover { color: var(--g700); }

@media (max-width: 900px) {
  .hobby-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hobby-grid { grid-template-columns: 1fr; }
  .hobby-section { padding: 48px 0; }
  .hobby-card {
    flex-direction: row;
  }
  .hobby-thumb {
    width: 130px; min-width: 130px; aspect-ratio: 1 / 1;
    border-radius: var(--r-lg) 0 0 var(--r-lg);
  }
  .hobby-body { padding: 14px 16px; }
  .hobby-title { font-size: .92rem; }
  .hobby-excerpt { font-size: .76rem; margin-bottom: 8px; }
}

/* ─── ABOUT バンド ─── */
.about-band {
  background: var(--g800); padding: 72px 0; position: relative; overflow: hidden;
}
.about-band::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(108,191,163,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,191,163,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.about-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 1;
}
.about-text .sec-label { color: var(--g300); }
.about-text .sec-title { color: var(--white); margin-bottom: 16px; }
.about-text p { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.9; font-weight: 300; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-box {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(108,191,163,.15);
  border-radius: var(--r-md); padding: 24px;
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem; color: var(--g300); line-height: 1; letter-spacing: .05em;
}
.stat-unit { font-size: 1rem; color: var(--g400); }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.4); margin-top: 6px; letter-spacing: .08em; }

/* ─── FOOTER ─── */
#site-footer {
  background: var(--g50); padding: 60px 0 32px;
  border-top: 2px solid var(--g100);
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; margin-bottom: 48px; padding-bottom: 40px;
  border-bottom: 1px solid var(--g200);
  flex-wrap: wrap;
}
.footer-brand { max-width: 300px; }
#site-footer .logo-site-name { color: var(--g900); }
#site-footer .logo-tagline { color: var(--g500); }
.footer-brand-desc { font-size: .78rem; color: var(--sub); margin-top: 10px; font-weight: 300; line-height: 1.7; }
.footer-sns { display: flex; gap: 8px; margin-top: 16px; }
.footer-sns-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: var(--g200); border-radius: 8px;
  font-size: 1rem; transition: all .18s; color: var(--g700);
}
.footer-sns-btn:hover { background: var(--g500); color: #fff; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { min-width: 120px; }
.footer-col-title {
  font-size: .72rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--g600); margin-bottom: 14px;
}
.footer-col a,
.footer-col li a {
  display: block; font-size: .82rem; color: var(--sub);
  margin-bottom: 8px; transition: color .18s; list-style: none;
}
.footer-col a:hover,
.footer-col li a:hover { color: var(--g800); }
.footer-col ul, .footer-col li { list-style: none; margin: 0; padding: 0; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }

/* ─── お問い合わせフォーム ─── */
.footer-contact {
  padding: 48px 0 36px;
  max-width: 600px; margin: 0 auto;
}
.footer-contact-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem; letter-spacing: .08em;
  color: var(--g800); text-align: center; margin-bottom: 8px;
}
.footer-contact-desc {
  font-size: .82rem; color: var(--sub);
  text-align: center; margin-bottom: 24px; line-height: 1.6;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-field { display: flex; flex-direction: column; gap: 5px; }
.contact-field label {
  font-size: .75rem; font-weight: 600; color: var(--g700);
  letter-spacing: .06em;
}
.contact-field label .required { color: #e04444; }
.contact-field input,
.contact-field textarea {
  width: 100%; padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: 8px; color: var(--ink);
  font-size: .88rem; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--g500);
  box-shadow: 0 0 0 3px rgba(82,122,143,.12);
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: var(--g300); }
.contact-field textarea { resize: vertical; min-height: 100px; }
.contact-submit {
  align-self: center;
  padding: 12px 48px; border-radius: 40px;
  font-size: .9rem; font-weight: 700; letter-spacing: .06em;
  background: linear-gradient(135deg, var(--g500), var(--g600));
  color: #fff; border: none; cursor: pointer;
  transition: all .2s;
}
.contact-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42,122,95,.4);
}
.contact-submit:disabled { opacity: .5; cursor: wait; }
.contact-status {
  text-align: center; font-size: .85rem; font-weight: 600;
  min-height: 1.2em;
}
.contact-status.success { color: var(--g300); }
.contact-status.error { color: #e04444; }

@media (max-width: 560px) {
  .contact-row { grid-template-columns: 1fr; }
  .footer-contact { padding: 32px 0 24px; }
}
.footer-notice { font-size: .7rem; color: var(--sub); line-height: 1.8; max-width: 600px; }
.footer-copy { font-size: .75rem; color: var(--g400); letter-spacing: .05em; }

/* ─── SINGLE SHOP ─── */
.single-shop-wrap { padding: var(--header-h) 0 0; background: var(--cream); overflow-x: hidden; }
.single-shop-wrap .container { padding-top: 48px; padding-bottom: 80px; overflow: hidden; }
.shop-single-grid {
  display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start;
}
.shop-single-main { min-width: 0; overflow: hidden; }
.shop-single-sidebar { min-width: 0; overflow: hidden; }
.shop-hero-img {
  border-radius: var(--r-lg); overflow: hidden;
  height: 420px; background: var(--g800);
  display: flex; align-items: center; justify-content: center;
  font-size: 7rem; position: relative;
}
.shop-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop-single-cat { margin: 28px 0 14px; }
.shop-single-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: .05em; color: var(--g900); line-height: 1; margin-bottom: 20px;
}
.shop-single-excerpt { font-size: .9rem; color: var(--sub); line-height: 1.8; margin-bottom: 28px; }
.shop-content { font-size: .9rem; color: var(--sub); line-height: 1.9; overflow: hidden; word-break: break-word; }
.shop-content h2 { font-size: 1.3rem; color: var(--g900); margin: 28px 0 12px; font-family: 'Noto Sans JP', sans-serif; font-weight: 700; }
.shop-content p { margin-bottom: 14px; }
.shop-content a { color: var(--g500); text-decoration: underline; }
.shop-content a:has(> img) { text-decoration: none; }
.shop-content img { max-width: 100%; height: auto; border-radius: var(--r-sm); cursor: zoom-in; }
.shop-content iframe { max-width: 100%; }

/* ─── Lightbox ─── */
.machi-lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s ease;
  cursor: zoom-out; padding: 20px;
}
.machi-lightbox.show { opacity: 1; }
.machi-lightbox img {
  max-width: 95vw; max-height: 90vh;
  object-fit: contain; border-radius: 8px;
  box-shadow: 0 10px 60px rgba(0,0,0,.5);
  animation: lbZoomIn .3s ease both;
}
@keyframes lbZoomIn {
  0%   { transform: scale(.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.machi-lightbox-close {
  position: absolute; top: 16px; right: 20px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.15); border: none; border-radius: 50%;
  color: #fff; font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.machi-lightbox-close:hover { background: rgba(255,255,255,.3); }
/* サイドバー */
.shop-details-box {
  background: var(--g50); border-radius: var(--r-md); padding: 24px; margin-bottom: 20px;
}
.shop-details-heading {
  font-size: .72rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--g500); margin-bottom: 16px;
}
.detail-row {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid rgba(13,33,24,.06); font-size: .85rem;
  align-items: flex-start;
}
.detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.detail-label { font-weight: 600; color: var(--g700); min-width: 80px; flex-shrink: 0; }
.detail-val { color: var(--sub); white-space: pre-line; word-break: break-word; min-width: 0; }
.detail-val a { color: var(--g500); }
.shop-links { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.shop-link-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 10px;
  font-size: .83rem; font-weight: 600; transition: all .2s; white-space: nowrap;
}
.shop-link-url  { background: var(--g700); color: white; }
.shop-link-url:hover  { background: var(--g500); }
.shop-link-ig   { background: #e1306c; color: white; }
.shop-link-ig:hover   { opacity: .85; }
.shop-link-x    { background: #000; color: white; }
.shop-link-x:hover    { background: #333; }
.shop-link-line { background: #06c755; color: white; }
.shop-link-line:hover { opacity: .85; }
.shop-link-custom { background: #f0edf7; color: #5a3ea0; border: 1.5px solid #cfc3e8; }
.shop-link-custom:hover { background: #7b5ea7; color: white; border-color: #7b5ea7; }
.shop-map-embed { border-radius: var(--r-md); overflow: hidden; max-width: 100%; }
.shop-map-embed iframe { max-width: 100%; }

/* ─── ARCHIVE / TAXONOMY ─── */
.archive-wrap { padding-top: var(--header-h); background: var(--cream); overflow-x: hidden; }

/* ─── PAGINATION ─── */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 6px; border-radius: var(--r-sm);
  font-size: .85rem; font-weight: 600; color: var(--sub);
  background: var(--white); border: 1.5px solid var(--sand2); transition: all .2s;
}
.page-numbers.current, .page-numbers:hover {
  background: var(--g900); border-color: var(--g900); color: white;
}
.page-numbers.dots { background: transparent; border-color: transparent; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.hero-tag    { animation: fadeUp .7s ease both .05s; }
.hero-title  { animation: fadeUp .7s ease both .15s; }
.hero-subtitle { animation: fadeUp .7s ease both .25s; }
.search-wrap { animation: fadeUp .7s ease both .35s; }
.hero-cats   { animation: fadeUp .7s ease both .45s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .shop-single-grid { grid-template-columns: 1fr; }
  .shop-hero-img { height: 320px; }
}
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .feat-count-1 .feat-card { grid-column: 1 / -1; }
  .featured-grid .feat-card { min-height: 220px; }
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 32px; }
}
@media (max-width: 640px) {
  :root { --header-h: 56px; }
  .header-inner { padding: 0 16px; }
  .logo-tagline { display: none; }
  .logo-site-name { font-size: 1.1rem; }
  /* 言語プルダウン */
  .lang-trigger { padding: 5px 8px; gap: 3px; max-width: none; }
  .lang-trigger-name { display: none; }
  .lang-dropdown {
    right: 0; left: auto;
    max-width: calc(100vw - 16px);
    min-width: 148px;
  }
  /* 全体 */
  .container { padding: 0 16px; max-width: 100%; }
  .shop-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr !important; }
  .featured-grid .feat-card { min-height: 200px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .featured-section, .shops-section { padding: 48px 0; }
  .about-band { padding: 48px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-links { flex-direction: column; gap: 24px; }
  /* 詳細ページ モバイル */
  .shop-hero-img { height: 240px; border-radius: var(--r-md); }
  .shop-single-title { font-size: 1.6rem; word-break: break-word; }
  .shop-single-sidebar { width: 100%; }
  .shop-links { gap: 8px; }
  .shop-link-btn { padding: 8px 14px; font-size: .78rem; white-space: normal; text-align: center; }
  .shop-content img { max-width: 100%; height: auto; border-radius: var(--r-sm); }
  .shop-map-embed iframe { width: 100%; max-width: 100%; }
  .detail-row { flex-direction: column; gap: 4px; }
  .detail-label { min-width: 0; }
  .breadcrumb { font-size: .72rem; padding: 0; }
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  font-size: .78rem; color: var(--sub); margin-bottom: 20px;
  display: flex; align-items: center; gap: 0; flex-wrap: wrap;
}
.breadcrumb a { color: var(--g500); transition: color .2s; }
.breadcrumb a:hover { color: var(--g400); text-decoration: underline; }
.bc-sep { margin: 0 8px; color: var(--g300); font-size: .7rem; }
.page-wrap { background: var(--cream); }

/* ─── ACCESS COUNTER ─── */
.access-counter {
  width: 100%; max-width: 580px; margin: 0 auto 28px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--r-md);
  padding: 20px 24px; 
  text-align: center;
  position: relative; z-index: 1;
  animation: fadeUp .7s ease both .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.counter-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: .9rem; letter-spacing: .15em; color: var(--g600);
  margin-bottom: 14px;
}
.counter-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}
.counter-item {
  background: var(--g50); border-radius: 8px; padding: 10px 8px;
  border: 1px solid var(--g100);
  display: flex; flex-direction: column; gap: 2px;
}
.counter-item.counter-total {
  grid-column: 1 / -1;
  background: var(--g800);
  border-color: var(--g700);
}
.counter-label {
  font-size: .62rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--g500);
}
.counter-total .counter-label { color: rgba(255,255,255,.7); }
.counter-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem; letter-spacing: .05em; color: var(--g900);
  line-height: 1;
}
.counter-total .counter-num { color: #fff; font-size: 1.8rem; }
@media (max-width: 560px) {
  .access-counter { padding: 14px 12px; margin-bottom: 20px; }
  .counter-num { font-size: 1.3rem; }
  .counter-total .counter-num { font-size: 1.5rem; }
}

/* ─── キリ番・ゾロ目 演出 ─── */
.access-counter.kiriban-active {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(200,168,75,.3);
  animation: kiribanGlow 2s ease infinite;
  overflow: hidden; position: relative;
}
@keyframes kiribanGlow {
  0%,100% { box-shadow: 0 0 20px rgba(200,168,75,.25); border-color: rgba(200,168,75,.5); }
  50%     { box-shadow: 0 0 40px rgba(200,168,75,.55), 0 0 10px rgba(255,215,0,.2); border-color: rgba(255,215,0,.7); }
}
.counter-total.kiriban {
  background: linear-gradient(135deg, rgba(200,168,75,.25), rgba(42,122,95,.3));
  border-color: var(--accent);
  position: relative;
}
.counter-total.kiriban .counter-num {
  background: linear-gradient(135deg, #ffd700, #ff8c00, #ffd700, #fff68f);
  background-size: 300% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShine 2s linear infinite;
  font-size: 2.4rem;
  filter: drop-shadow(0 2px 8px rgba(255,215,0,.4));
}
.kiriban-badge {
  display: inline-block;
  padding: 3px 12px; border-radius: 20px;
  font-size: .7rem; font-weight: 800; letter-spacing: .08em;
  background: linear-gradient(135deg, var(--accent), #b89540);
  color: var(--g900);
  animation: kiribadgePop .6s cubic-bezier(.34,1.56,.64,1) both .3s;
  margin-top: 4px;
}
@keyframes kiribadgePop {
  0%   { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
/* 星パーティクル */
.kiriban-celebration {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.kiriban-star {
  position: absolute; top: -10px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: kiriStar linear infinite;
}
.kiriban-star:nth-child(odd) { background: #ffd700; width: 4px; height: 4px; }
.kiriban-star:nth-child(3n)  { background: #ff8c00; width: 5px; height: 5px; }
@keyframes kiriStar {
  0%   { transform: translateY(0) scale(0); opacity: 0; }
  10%  { opacity: 1; transform: scale(1); }
  100% { transform: translateY(200px) scale(0.3); opacity: 0; }
}
@media (max-width: 560px) {
  .counter-total.kiriban .counter-num { font-size: 1.8rem; }
  .kiriban-badge { font-size: .6rem; padding: 2px 10px; }
}

/* ─── ADSENSE 広告ユニット ─── */
.machi-ad-wrap {
  width: 100%;
  overflow: hidden;
  text-align: center;
  max-width: 100%;
}
.machi-ad-inner {
  max-width: 728px;
  margin: 0 auto;
}
.machi-ad-label {
  display: block;
  font-size: .65rem; color: var(--g400);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 8px;
}
.machi-ad-wrap ins.adsbygoogle {
  display: block !important;
  max-width: 100%;
}
/* ヒーロー下（イベントセクションの後） */
.machi-ad-hero_below {
  padding: 24px 16px;
  background: var(--white);
}
/* PICKUP後（ショップ一覧の前） */
.machi-ad-list_top {
  padding: 24px 16px;
  background: var(--sand);
}
/* お店一覧下 */
.machi-ad-list_middle {
  margin-top: 32px;
  padding: 20px;
  background: var(--sand);
  border: 1px solid var(--g100);
  border-radius: var(--r-md);
}
/* 詳細ページ本文下 */
.machi-ad-single_bottom {
  margin-top: 32px;
  padding: 20px;
  background: var(--sand);
  border: 1px solid var(--g100);
  border-radius: var(--r-md);
}
/* 詳細ページサイドバー */
.machi-ad-sidebar {
  margin: 20px 0;
  padding: 14px;
  background: var(--sand);
  border: 1px solid var(--g100);
  border-radius: var(--r-md);
}
.machi-ad-sidebar .machi-ad-inner { max-width: 100%; }

@media (max-width: 560px) {
  .machi-ad-hero_below,
  .machi-ad-list_top { padding: 16px 10px; }
  .machi-ad-list_middle { padding: 14px; margin-top: 24px; }
  .machi-ad-single_bottom { padding: 14px; margin-top: 24px; }
  .machi-ad-sidebar { padding: 10px; margin: 14px 0; }
}
