/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --bg: #f8f7f4;
  --bg-2: #f0ede8;
  --bg-card: #ffffff;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.20);
  --text: #1a1814;
  --text-muted: #6b6560;
  --text-dim: #aaa49e;
  --accent: #EE2130;
  --accent-2: #d4a853;
  --green: #2a8a52;
  --font-display: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  --font-body: 'Barlow', 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --font-mono: 'Barlow', 'Playfair Display', serif;
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── LAYOUT ─────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.section-padded { padding: 96px 0; }

/* ─── NAV ────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(248, 247, 244, 0.88);
  backdrop-filter: blur(20px);
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  letter-spacing: -0.02em;
}
.nav-logo-icon { color: var(--accent); font-size: 12px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-link {
  font-size: 14px; color: var(--text-muted);
  transition: color var(--transition);
}
.nav-link:hover { color: var(--text); }
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #000;
  font-size: 10px; font-weight: 700;
  padding: 1px 5px; border-radius: 3px; margin-left: 4px;
}
.nav-link-dash { letter-spacing: 0.05em; }
.nav-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-muted); font-family: var(--font-mono);
}

/* ─── HEADER ─────────────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 0.32s ease, transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
}
header.is-visible,
header.nav-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
header .logo {
  display: flex; align-items: center;
  text-decoration: none;
}

header nav {
  display: flex; align-items: center; gap: 24px;
}
header nav a {
  font-size: 14px; color: var(--text-muted);
  transition: color var(--transition);
  text-decoration: none;
}
header nav a:hover { color: var(--text); }
header nav a.nav-cta {
  background: var(--text); color: var(--bg);
  font-size: 13px; font-weight: 600;
  padding: 8px 16px; border-radius: var(--radius);
  transition: background var(--transition);
}
header nav a.nav-cta:hover { background: #3a3530; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.72);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.menu-toggle:hover {
  background: #fff;
  border-color: var(--border-hover);
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.28s ease, opacity 0.2s ease;
}
@media (max-width: 768px) {
  header {
    padding: 10px 20px;
    overflow: visible;
  }
  .menu-toggle {
    display: inline-flex;
  }
  header nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #f8f7f4;
    box-shadow: 0 18px 44px rgba(26,24,20,0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.24s ease, transform 0.28s ease, visibility 0s linear 0.28s;
  }
  header nav a {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    transform: translateY(-4px);
    opacity: 0;
    transition: color var(--transition), background var(--transition), opacity 0.22s ease, transform 0.24s ease;
  }
  header nav a:hover {
    background: rgba(26,24,20,0.06);
  }
  header nav a.nav-cta {
    justify-content: center;
    text-align: center;
    margin-top: 4px;
    padding: 12px 14px;
  }
  header.nav-open nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }
  header.nav-open nav a {
    opacity: 1;
    transform: translateY(0);
  }
  header.nav-open nav a:nth-child(2) { transition-delay: 0.03s; }
  header.nav-open nav a:nth-child(3) { transition-delay: 0.06s; }
  header.nav-open nav a:nth-child(4) { transition-delay: 0.09s; }
  header.nav-open nav a:nth-child(5) { transition-delay: 0.12s; }
  header.nav-open nav a:nth-child(6) { transition-delay: 0.15s; }
  header.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  header.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  header.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ─── STATUS DOT ──────────────────────────────────────── */
.status-dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--green); }
  50% { opacity: 0.5; box-shadow: 0 0 14px var(--green); }
}

/* ─── HERO ───────────────────────────────────────────── */
/* ─── COLLAB LOGO DESIGN (No logo2.png) ───────────────────── */
.collab-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

/* 左右それぞれのロゴが独立して美しくホバーアニメーションするよう調整 */
.collab-logo-link-left,
.collab-logo-link-right {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--transition);
}

.collab-logo-link-left:hover,
.collab-logo-link-right:hover {
  transform: translateY(-1.5px);
}

.collab-logo-left {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.collab-logo-right {
  height: 24px;
  width: auto;
  object-fit: contain;
}

/* ヘッダーの明るい背景に適合する「極細グレー」の×マークカラー調整 */
header .collab-logo-x-vertical::before,
header .collab-logo-x-vertical::after {
  background-color: rgba(26, 24, 20, 1);
}

/* ヘッダーロゴ調整 */
.logo.collab-logo {
  display: flex;
}

/* ─── HERO RE-DESIGN (Waterfall is alive!) ─────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* 左が広め、右が狭め（ウォーターフォール） */
  align-items: center;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fffcf0 0%, #fff7d9 100%);
  gap: 20px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 25% 55%, rgba(184,130,42,0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  margin: 0 0 0 40px;
  padding: 80px 20px 80px 40px;
  max-width: 900px; /* 地図の拡大と統計の貫通に合わせて最大幅を少し広げる */
  position: relative;
  z-index: 2;
}

/* 左側の中での2カラム横並び分割 */
.hero-content-split {
  display: flex;
  align-items: center;
  gap: 33px;
  width: 100%;
}

.hero-content-map {
  flex: 0 0 46%; /* 地図に46%を割り当て（大きく表示！） */
  max-width: 46%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatMap 6s ease-in-out infinite;
}

.hero-gatamap-img {
  width: 100%;
  height: auto;
  max-width: 400px; /* 最大幅を320pxから400pxに大きく */
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(184, 130, 42, 0.15));
}

.hero-content-text {
  flex: 1; /* テキストに残り（54%）を割り当て */
}

@keyframes floatMap {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-section-label {
  display: none;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #EE2130;
  font-weight: 600;
  margin-bottom: 24px;
  opacity: 0; animation: fade-up 0.7s 0.1s ease forwards;
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #EE2130;
}
.hero__heading {
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px); /* 左カラム内での二分割に合わせ最適化 */
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 20px;
  opacity: 0; animation: fade-up 0.8s 0.2s ease forwards;
}
.hero__brand-logo {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
  opacity: 0; animation: fade-up 0.8s 0.1s ease forwards;
}
.hero__brand-logo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, transparent 60%);
  z-index: -1;
  border-radius: 50%;
}
.hero__brand-logo img {
  max-width: 100%;
  width: 320px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}
.hero__line {
  display: block;
}
.hero__line em {
  color: #EE2130;
  font-style: normal;
}
.hero__desc-box {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px; /* 統計が下に移動したため余白を調整 */
  opacity: 0; animation: fade-up 0.8s 0.4s ease forwards;
}
.hero__desc-box::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #EE2130, rgba(238, 33, 48, 0.2));
  border-radius: 2px;
}
.hero__sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}
.hero__stats {
  display: flex;
  gap: 32px;
  opacity: 0; animation: fade-up 0.8s 0.5s ease forwards;
}

/* 統計情報の横貫通・区切り点線・gap付き配置 */
.hero-stats-bottom {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 60px; /* gapで横を貫通して配置 */
  margin-top: 36px;
  padding-top: 24px;
  background-image: linear-gradient(90deg, #b2d5de 0 25%, #ddcfb3 25% 50%, #b3ddb4 50% 75%, #ddbab3 75%);
  background-repeat: no-repeat;
  background-size: 100% 0.3rem;
  background-position: top; /* 上部にポップなラインを配置 */
  width: 100%;
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fade-up 0.8s 0.5s ease forwards;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}
.hero__stat-num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat-label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
}

/* ─── COMMAND BOX ─────────────────────────────────────── */
.hero-command {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px; font-family: var(--font-mono); font-size: 13px;
  transition: border-color var(--transition);
}
.hero-command:hover { border-color: var(--border-hover); }
.cmd-prefix { color: var(--text-dim); }
.cmd-text { color: var(--text); }
.cmd-copy {
  display: flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-family: var(--font-mono); font-size: 12px;
  padding: 2px 6px; border-radius: 3px;
  transition: color var(--transition), background var(--transition);
}
.cmd-copy:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.cmd-copy.copied { color: var(--green); }

/* ─── PARALLAX BACKGROUND ──────────────────────────────── */
.parallax-bg {
  position: fixed;
  top: -30px; /* 移動ループ用の余白 */
  left: 0;
  width: 100vw;
  height: calc(100vh + 60px); /* 画面サイズ + ループ用の余白 */
  background-image: radial-gradient(#d3cbbd 2px, transparent 2px);
  background-size: 30px 30px;
  background-position: 0 0;
  z-index: -1; /* コンテンツの裏側へ */
  pointer-events: none; /* クリックなどを透過 */
  opacity: 0.5; /* 柄の濃さを調整 */
  will-change: transform;
}

/* ─── DECORATIVE IMAGES (PARALLAX) ─────────────────────── */
.deco-img {
  position: fixed;
  z-index: -1; /* 背景とコンテンツの間に配置 */
  pointer-events: none;
  opacity: 0; /* JSでフェードインさせる */
  top: 100vh; /* 画面のすぐ下を基準位置とする */
  /*border-radius: 50%;*/
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
  will-change: transform, opacity;
  transition: opacity 1.2s ease !important; /* 不透明度のみアニメーション */
}

/* スマホの時は誤タップ防止と可読性優先のため、サイドデコ画像を非表示に */
@media (max-width: 768px) {
  .deco-img {
    display: none !important;
  }
}

/* 左側配置（お蕎麦・おにぎり・稲穂）を少し小さく上品に */
.deco-1 { left: -10px; height: 160px; object-fit: cover; }
.deco-2 { left: -10px; height: 140px; object-fit: cover; }
.deco-4 { left: -10px; height: 130px; object-fit: cover; }

/* 右側配置（ラーメン・トキ）を少し小さく上品に */
.deco-3 { right: -10px; height: 170px; object-fit: cover; }
.deco-5 { right: -10px; height: 150px; object-fit: cover; }
.deco-6 { right: -10px; height: 180px; object-fit: cover; }

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--text); color: var(--bg);
  font-size: 14px; font-weight: 600;
  padding: 10px 20px; border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: #3a3530; transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px; font-weight: 500;
  padding: 10px 20px; border-radius: var(--radius);
  transition: border-color var(--transition), color var(--transition);
}
.btn-ghost:hover { border-color: var(--border-hover); color: var(--text); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px; padding: 10px 18px; border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-secondary:hover { border-color: var(--border-hover); color: var(--text); }
.btn-note {
  font-size: 11px; color: var(--text-dim);
  padding: 1px 6px; background: rgba(255,255,255,0.04);
  border-radius: 3px;
}

/* ─── HERO WATERFALL ─────────────────────────────────── */
.hero-waterfall {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 0 0 4px;
  /*background: var(--bg);*/
  /* Fade edges: top and bottom */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 80%, transparent 100%);
}

/* Each vertical column */
.wf-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
  width: 260px;
  /* animation set inline per column */
}

/* Individual card in the waterfall */
.wf-card {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
  position: relative;
}

/* Tall card */
.wf-card-tall  { height: 320px; }
/* Short card */
.wf-card-short { height: 210px; }
/* Square card */
.wf-card-sq    { height: 260px; }

/* Colour fills standing in for images */
.wf-card-fill {
  position: absolute; inset: 0;
  opacity: 0.85;
  transform: scale(1.18); /* 黒帯（レターボックス）を隠すために画像を拡大 */
}

/* Subtle label overlay */
.wf-card-label {
  position: absolute;
  bottom: 10px; left: 10px; right: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(0,0,0,0.55);
  background: rgba(255,255,255,0.6);
  padding: 4px 7px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Scroll-down keyframe — JS sets duration + delay per column */
@keyframes wf-scroll-down {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* ─── MARQUEE (legacy strip — kept for lower sections if needed) ─ */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 18px 0;
  background: var(--bg-2);
}
.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex; gap: 12px;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 12px; font-family: var(--font-mono);
  color: var(--text-muted); white-space: nowrap;
  transition: border-color var(--transition), color var(--transition);
}
.marquee-item:hover { border-color: var(--border-hover); color: var(--text); }
.marquee-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── SECTION HEADERS ─────────────────────────────────── */
.section-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.section-num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim); letter-spacing: 0.05em;
}
.section-eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--text-muted); }
.section-desc {
  font-size: 16px; color: var(--text-muted); max-width: 520px;
  line-height: 1.7; margin-bottom: 40px;
}

/* ─── ECOSYSTEM ───────────────────────────────────────── */
.ecosystem { background: var(--bg-2); }
.ecosystem-ctas { display: flex; gap: 12px; margin-bottom: 56px; }
.agents-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.agent-item {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: var(--bg-card);
  font-size: 14px; font-weight: 500;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  cursor: default;
}
.agent-item:hover { background: rgba(255,255,255,0.03); }
.agent-num {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-dim);
}
.agent-icon {
  width: 22px; height: 22px; border-radius: 5px;
  flex-shrink: 0;
}
.agent-codex  { background: #1a1a1a; border: 1px solid #333; }
.agent-claude { background: #D2701A; }
.agent-cursor { background: #1a1a1a; border: 1px solid #444; }
.agent-opencode { background: #111827; border: 1px solid #374151; }
.agent-gemini { background: linear-gradient(135deg, #4285f4, #34a853); }
.agent-aistudio { background: linear-gradient(135deg, #4285f4, #673ab7); }
.agent-v0 { background: #000; border: 1px solid #444; }
.agent-lovable { background: #ff6b6b; }

/* ─── SLOGAN ──────────────────────────────────────────── */
.slogan-section {
  padding: 120px 0;
  overflow: hidden;
}
.slogan-line {
  display: flex; align-items: center; gap: 24px;
  line-height: 1;
}
.slogan-word {
  font-family: var(--font-display);
  font-size: clamp(56px, 11vw, 130px);
  letter-spacing: -0.04em;
  color: var(--text);
  display: inline-block;
}
.slogan-word-italic { font-style: italic; color: var(--text-muted); }
.slogan-img-inline {
  width: clamp(100px, 12vw, 180px);
  aspect-ratio: 3/2; border-radius: 80px;
  display: inline-block; flex-shrink: 0;
  overflow: hidden;
}
.slogan-img-nature {
  background: linear-gradient(135deg, #5a9a4a 0%, #8ec87a 50%, #c8e6c9 100%);
}
.slogan-img-tech {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #93c5fd 100%);
}

/* ─── SKILLS GRID ─────────────────────────────────────── */
.skills-section { background: var(--bg); }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  margin-top: 16px;
}
.skill-card {
  background: var(--bg-card);
  padding: 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  cursor: pointer; display: flex; flex-direction: column; gap: 12px;
}
.skill-card:hover { background: rgba(255,255,255,0.03); }
.skill-card-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; margin-bottom: 4px;
}
.skill-card-name {
  font-size: 15px; font-weight: 600; color: var(--text);
  font-family: var(--font-mono);
}
.skill-card-type {
  font-size: 11px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.08em;
  font-family: var(--font-mono);
}
.skill-card-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.6;
}
.skill-card-arrow {
  margin-top: auto; font-size: 12px; color: var(--text-dim);
  transition: color var(--transition), transform var(--transition);
  display: inline-block;
}
.skill-card:hover .skill-card-arrow { color: var(--accent); transform: translate(2px, -2px); }

/* ─── BETA SECTION ────────────────────────────────────── */
.beta-section { background: var(--bg-2); }
.beta-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.beta-visual { display: flex; justify-content: center; }
.beta-lock-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  text-align: center;
  width: 100%; max-width: 340px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}
.lock-icon { font-size: 48px; margin-bottom: 12px; }
.lock-label { font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.lock-input-mock {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px; color: var(--text-dim);
  text-align: left;
}

/* ─── FAQ ─────────────────────────────────────────────── */
.faq-layout {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 48px; margin-bottom: 64px;
}
.faq-stone-img {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #e8e4dc 0%, #d8d0c4 40%, #c8c0b4 100%);
  border: 1px solid var(--border);
  position: sticky; top: 100px;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; cursor: pointer;
  font-size: 16px; font-weight: 500;
  transition: color var(--transition);
  user-select: none;
}
.faq-question:hover { color: var(--accent); }
.faq-num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim); margin-right: 16px; flex-shrink: 0;
}
.faq-chevron {
  font-size: 18px; color: var(--text-dim);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(45deg); color: var(--accent); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  font-size: 15px; color: var(--text-muted); line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 22px; }
.faq-footer {
  text-align: center; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.faq-footer p { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.faq-footer-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 20px !important; }

/* ─── SUPPORT ─────────────────────────────────────────── */
.support-section { background: var(--bg); overflow: hidden; }
.support-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.support-img-placeholder {
  aspect-ratio: 4/3; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eeeae4 0%, #e0dbd2 50%, #d4cec6 100%);
  border: 1px solid var(--border);
}

/* ─── FOOTER ──────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: var(--bg-2);
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  text-align: center;
}
.footer-brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
}
.footer-links {
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
}
.footer-links a {
  font-size: 14px; color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--text-dim); }

/* ─── ANIMATIONS ─────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    display: flex;
    flex-direction: column; /* 全体を上から下に縦並びにする */
    padding: 40px 24px 40px;
    gap: 30px;
    min-height: auto;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
    padding: 0;
    max-width: 100%;
    width: 100%;
    flex: none;
  }
  /* 地図とテキストのレイアウト変更 */
  .hero-content-split {
    flex-direction: column;
    gap: 24px;
  }
  .hero-content-map {
    max-width: 100%;
    width: 100%;
    flex: none;
    order: 2; /* モバイルでは地図をコンテンツ内の下側に配置 */
  }
  .hero-gatamap-img {
    max-width: 240px;
  }
  .hero-content-text {
    flex: none;
    order: 1; /* モバイルではテキストをコンテンツ内の上側に配置 */
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__brand-logo.collab-logo {
    justify-content: center;
    margin: 0 auto 20px;
  }
  .hero__heading {
    align-items: center;
    font-size: clamp(24px, 6vw, 36px);
  }
  .hero__desc-box {
    padding-left: 0;
    margin-bottom: 24px;
  }
  .hero__desc-box::before {
    display: none;
  }
  .hero__stats {
    justify-content: center;
    gap: 20px;
  }
  .hero-stats-bottom {
    justify-content: center;
    gap: 36px;
    margin-top: 28px;
    padding-top: 20px;
  }
  .hero-waterfall {
    order: 3; /* ウォーターフォールはヒーロー全体の最下部に配置 */
    display: flex;
    width: 100%;
    height: 120px;
    margin: 10px 0;
    padding: 0;
    gap: 0;
    align-items: center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-composite: source-over;
    mask-composite: add;
  }
  .wf-col {
    flex-direction: row;
    width: max-content;
    height: auto;
    gap: 16px;
  }
  .wf-col-mobile {
    will-change: transform;
  }
  .wf-card {
    width: 160px;
  }
  .wf-card-tall,
  .wf-card-short,
  .wf-card-sq {
    height: 100px;
  }
}
@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .nav-status { display: none; }
  .section-padded { padding: 64px 0; }
  .container { padding: 0 20px; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-stone-img { display: none; }
  .beta-inner, .support-inner { grid-template-columns: 1fr; gap: 40px; }
  .beta-visual { display: none; }
  .slogan-word { font-size: clamp(40px, 14vw, 80px); }
}

/* ===== MIGRATED SAMPLE CONTENT ===== */
:root {
  --sky: #5BB8D4;
  --sky-light: #A8DCF0;
  --sky-pale: #FFFFFF;
  --orange: #F4732A;
  --orange-light: #FAB68A;
  --red: #E03C2E;
  --cream: #FDF8F0;
  --warm-white: #FFFCF7;
  --dark: #1A1A1A;
  --mid: #4A4A4A;
  --soft: #8A8A8A;
  --card-bg: #FFFFFF;
  --yellow-accent: #F7C948;
  --green-soft: #7BC4A0;
}
#search, #stores, #area, #genre-section, #food, #service { scroll-margin-top: 88px; }
/* ===== SEARCH SECTION ===== */
.search-section {
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.search-bar {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  padding: 24px 32px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid var(--border);
}

.search-input-wrap {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.search-input-wrap input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px 12px 44px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  outline: none;
  transition: all 0.2s;
  background: var(--cream);
}

.search-input-wrap input:focus {
  border-color: var(--sky);
  background: white;
  box-shadow: 0 0 0 3px rgba(91,184,212,0.15);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--soft);
  font-size: 16px;
}

.search-select {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: var(--mid);
  background: var(--cream);
  outline: none;
  cursor: pointer;
  min-width: 140px;
  transition: all 0.2s;
}

.search-select:focus {
  border-color: var(--sky);
  background: white;
}



.btn-search {
  background: var(--sky);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-search:hover {
  background: var(--orange);
  transform: translateY(-1px);
}

/* ===== GENRE FILTER ===== */
.genre-section {
  padding: 0 40px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.genre-scroll {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none; /* Firefoxスクロールバー非表示 */
  cursor: grab;
  user-select: none;
  /* translateY(-2px) で上ボーダーが切れないよう上下 padding を確保 */
  padding: 6px 4px 10px;
}

.genre-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari用スクロールバー非表示 */
}

.genre-scroll.active {
  cursor: grabbing;
}

.genre-track {
  display: flex;
  width: max-content;
}

.genre-track .genre-chip {
  margin-right: 10px; /* gapの代わり。これで完璧に2等分可能に */
}

.genre-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  min-width: 70px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mid);
  font-family: inherit;
  text-align: center;
  appearance: none;
}

.genre-chip:hover, .genre-chip.active {
  border-color: var(--sky);
  background: var(--sky-pale);
  color: var(--sky);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(91,184,212,0.25);
}

.genre-chip .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.genre-chip .icon-svg {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

/* ===== SECTION HEADER ===== */
.section-header {
  padding: 60px 40px 32px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-bar {
  width: 4px;
  height: 32px;
  background: linear-gradient(to bottom, var(--sky), var(--orange));
  border-radius: 4px;
}

.section-title {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--dark);
}

.section-sub {
  font-size: 14px;
  color: var(--soft);
  margin-top: 2px;
}

.section-count {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: var(--soft);
}

.section-count strong {
  font-size: 24px;
  color: var(--accent);
  font-weight: 900;
}

/* ===== STORE GRID ===== */
.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.store-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0;
  position: relative;
}

.store-card.visible {
  animation: fadeSlideUp 0.6s ease both;
}

.store-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  border-color: var(--sky-light);
}

.store-card-img {
  width: 100%;
  height: 200px;
  background: var(--sky-pale);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-card-img-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--sky-pale) 0%, var(--sky-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  position: relative;
  pointer-events: none;
}

.store-card-img-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(255,255,255,0.5));
  pointer-events: none;
}

.store-card-num {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 28px;
  height: 28px;
  background: var(--sky);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
}



.store-card-body {
  padding: 14px 16px 16px;
}

.store-card-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.tag {
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.tag-area {
  background: var(--sky-pale);
  color: var(--sky);
}

.tag-genre {
  background: #FFF0E8;
  color: var(--accent);
}

.store-card-name {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.4;
}

.store-card-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-card-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store-card-address {
  font-size: 13px;
  color: var(--soft);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-card-arrow {
  width: 24px;
  height: 24px;
  background: var(--sky-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--sky);
  flex-shrink: 0;
  margin-left: 8px;
  transition: all 0.2s;
}

.store-card:hover .store-card-arrow {
  background: var(--sky);
  color: white;
}

/* ===== AREA MAP SECTION ===== */
.area-section {
  background: var(--cream);
  padding: 80px 40px;
}

.area-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.area-header {
  text-align: center;
  margin-bottom: 48px;
}

.area-header .section-title { font-size: 32px; }

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.area-card {
  background: white;
  padding: 28px 32px;
  position: relative;
  cursor: pointer;
  border: none;
  
  /* CSS Grid を活用して HTML を変更せずにアイコンとタイトルを横並びにする */
  display: grid;
  grid-template-areas:
    "icon name"
    "detail detail"
    "count count";
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
  row-gap: 8px;
}

.area-card:hover {
  transform: translateY(0px);
}

/* 左側の角括弧 [ */
.area-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 14px;
  border-top: 3px solid var(--sky);
  border-bottom: 3px solid var(--sky);
  border-left: 3px solid var(--sky);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

/* 右側の角括弧 ] */
.area-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 14px;
  border-top: 3px solid var(--sky);
  border-bottom: 3px solid var(--sky);
  border-right: 3px solid var(--sky);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* ホバー時に括弧がフワッと外側に広がるインタラクション */
.area-card:hover::before {
  left: 0px;
  border-color: #3AA0C4;
}

.area-card:hover::after {
  right: 0px;
  border-color: #3AA0C4;
}

.area-card-icon {
  grid-area: icon;
  font-size: 28px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.area-card-name {
  grid-area: name;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0;
}

.area-card-detail {
  grid-area: detail;
  font-size: 14px;
  color: var(--soft);
  line-height: 1.8;
  margin-top: 4px;
}

.area-card-count {
  grid-area: count;
  display: inline-block;
  justify-self: start;
  margin-top: 8px;
  background: var(--sky-pale);
  color: var(--sky);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 14px;
  font-weight: 700;
}

/* ===== FEATURE SECTION ===== */
.feature-section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.feature-card-large {
  background: linear-gradient(135deg, var(--sky) 0%, #3AA0C4 100%);
  border-radius: 16px;
  padding: 36px 32px 32px 32px;
  color: white;
  position: relative;
  border: 3px solid var(--sky);
  margin-top: 15px;
}

.feature-card-large .f-title {
  position: absolute;
  display: inline-block;
  top: -20px;
  left: 20px;
  padding: 10px 9px;
  line-height: 1;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 800;
  background: #FFF;
  color: var(--sky);
  border-radius: 12px;
  border: 3px solid var(--sky);
  transform: rotate(-2deg);
}

.feature-card-large .f-desc {
  font-size: 18px;
  line-height: 1.9;
  opacity: 0.9;
  position: relative;
}

.feature-cards-small {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card-small {
  background: white;
  border-radius: 12px;
  padding: 28px 20px 20px 20px;
  border: 3px solid var(--sky);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.2s;
  position: relative;
  margin-top: 15px;
}

.feature-card-small > div:not(.f-title) {
  flex: 1;
  width: 100%;
}

.feature-card-small:hover {
  border-color: #3AA0C4;
  box-shadow: 0 4px 16px rgba(149,204,255,0.25);
}

.feature-card-small:hover .f-title {
  color: #FFF;
}

.feature-card-small .f-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 4px;
}

.feature-card-small .f-title {
  position: absolute;
  display: inline-block;
  top: -20px;
  left: 20px;
  padding: 10px 9px;
  line-height: 1;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #FFF;
  background: var(--sky);
  border-radius: 12px;
  transition: color 0.2s;
  border: 3px solid var(--sky);
  transform: rotate(-2deg);
}

.feature-card-small .f-desc {
  font-size: 18px;
  color: var(--soft);
  line-height: 1.7;
}

/* ===== FOOD SPECIALTIES ===== */
.food-section {
  background: #FDD23E;
  padding: 80px 40px;
  overflow: hidden;
}

.food-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.food-title {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: white;
  text-align: center;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  padding: 0.4rem 0;
}

.food-title::before {
  position: absolute;
  left: -5px;
  bottom: 8px;
  width: 105%;
  height: 15px;
  transform: skew(-45deg);
  background-image: repeating-linear-gradient(90deg, transparent 0 5px, #2ebadd 5px 10px);
  content: '';
  z-index: -1;
}

.food-subtitle {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 48px;
  letter-spacing: 0.1em;
}

/* ── food marquee ── */
.food-marquee-wrap {
  overflow: hidden;
  /* ホバーで translateY(-8px) scale(1.1) した分だけ上を開けてクリップされないようにする */
  padding-top: 20px;
  margin-top: -20px;
  /* 両端をフェードアウト */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.food-scroll {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.food-scroll:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.food-item {
  flex-shrink: 0;
  width: 150px;
  text-align: center;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: white;
}

.food-item-icon {
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  margin: 0 auto 12px;
  border: 4px solid rgba(255,255,255,1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.food-item:hover .food-item-icon {
  background: var(--sky);
  border-color: var(--sky);
  transform: translateY(-8px) scale(1.1);
}

.food-item-name {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: white;
}

/* ===== SERVICE INFO ===== */
.service-section {
  padding: 80px 40px;
  background: var(--sky-pale);
}

.service-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.service-title {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.9;
  margin-bottom: 40px;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 32px 28px;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.service-card.orange-border { border-color: var(--orange); }
.service-card.sky-border { border-color: var(--sky); }

.service-card-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: white;
  margin: 0 auto 16px;
}

.service-card-num.orange { background: var(--accent); }
.service-card-num.sky { background: var(--sky); }

.service-card-title {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.service-card-desc {
  font-size: 14px;
  color: var(--soft);
  line-height: 1.8;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: fixed;
  background: white;
  z-index: 2001;
  transition: all 0.3s ease, visibility 0.3s;
  overflow-y: auto;
  pointer-events: none;
  visibility: hidden;
}

.modal.active {
  pointer-events: auto;
  visibility: visible;
}

/* PC: 中央モーダル */
@media (min-width: 769px) {
  .modal {
    width: 640px;
    max-width: calc(100% - 40px);
    max-height: 85vh;
    top: 50%;
    left: 50%;
    border-radius: 24px;
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  }
  
  .modal.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  
  .modal-header {
    border-radius: 24px 24px 0 0;
  }

  /* モーダルのスクロールバーを細く・角丸にして余白を設ける */
  .modal::-webkit-scrollbar {
    width: 8px;
  }
  .modal::-webkit-scrollbar-track {
    background: transparent;
    margin: 16px 0; /* 角丸にかぶらないよう上下にマージンを設定 */
  }
  .modal::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 4px;
  }
  .modal::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.25);
  }
}

/* スマホ: 右スライド全面 */
@media (max-width: 768px) {
  .modal {
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    transform: translateX(100%);
  }
  
  .modal.active {
    transform: translateX(0);
  }
}

.modal-header {
  position: sticky;
  top: 0;
  background: white;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--cream);
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--orange);
  color: white;
}

.modal-num-badge {
  background: var(--sky);
  color: white;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.modal-body {
  padding: 24px;
}

.modal-hero {
  width: 100%;
  height: 370px;
  background: linear-gradient(135deg, var(--sky-pale), var(--sky-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.modal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(255,255,255,0.4));
}

.modal-name {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.modal-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.modal-benefit-box {
  background: linear-gradient(135deg, #FFF0E8, #FDE8D8);
  border: 1.5px solid var(--orange-light);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center; /* 中央揃えに変更 */
  gap: 16px; /* ギャップを広げる */
}

.modal-benefit-icon {
  font-size: 42px; /* アイコンをさらに大きく */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce-icon 2s infinite ease-in-out; /* アニメーションを追加 */
  transform-origin: bottom center; /* 下部を軸に動かす */
}

/* かわいらしい「ぽよん」とするアニメーション */
@keyframes bounce-icon {
  0%, 100% {
    transform: scale(1, 1) translateY(0);
  }
  10% {
    transform: scale(1.1, 0.9) translateY(0);
  }
  30% {
    transform: scale(0.9, 1.1) translateY(-10px);
  }
  50% {
    transform: scale(1.05, 0.95) translateY(0);
  }
  65% {
    transform: scale(0.98, 1.02) translateY(-3px);
  }
  80% {
    transform: scale(1, 1) translateY(0);
  }
}

.modal-benefit-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.5;
  flex: 1; /* 余ったスペースを占有 */
  display: flex;
  flex-direction: column;
  gap: 12px; /* テキストとボタンの隙間 */
}

/* クーポンボタンのおしゃれなデザイン */
.app_coupon {
  appearance: none;
  border: none;
  background: linear-gradient(135deg, var(--orange), #EE2130);
  color: white;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px; /* 上下の余白を少し増やす */
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
  transition: all 0.2s ease;
  display: flex; /* inline-flexからflexに変更 */
  align-items: center;
  justify-content: center;
  width: 100%; /* 横幅をmaxにする */
  text-align: center;
}

.app_coupon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.35);
  background: linear-gradient(135deg, #FF6B00, #FF7B25);
}

.app_coupon:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
}

/* 使用済みボタンのスタイル */
.app_coupon.used_app_coupon,
.app_coupon:disabled {
  background: #E0E0E0;
  color: #999;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
  pointer-events: none;
}

.modal-desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--mid);
  margin-bottom: 20px;
}

.modal-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal-info-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.modal-info-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--soft);
  background: var(--cream);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.modal-info-value {
  font-size: 14px;
  color: var(--dark);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg);
  padding: 60px 40px 32px;
  color: var(--dark);
}

.footer-inner {
  max-width: 1120px; /* メインコンテンツの最大コンテナ幅と同じ1120pxに統一 */
  width: 100%; /* 横幅いっぱいに確実に広げる */
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  width: 100%; /* ボーダー線を限界の1120pxまで確実に広げる */
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1A1A1A; /* 透明度無しの真っ白な実線ボーダー */
}

.footer-brand .logo-jp { color: white; }

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 12px;
  color: rgba(255,255,255,0.5);
}

.footer-col-title {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  text-align: left;
  padding-bottom: 8px;
  background: linear-gradient(90deg, var(--accent) 0% 100%);
  background-repeat: no-repeat;
  background-size: 40px 2px;
  background-position: left bottom;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  text-align: left;
}

.footer-links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 14px;
  transition: color 0.2s;
  cursor: pointer;
}

.footer-links a:hover { color: var(--sky-light); }

/* フッターのブランドロゴ調整（縦に配置し、白ロゴと極細クロスで構成） */
.footer-brand .logo.collab-logo.footer-collab-logo-vertical {
  display: flex;
  flex-direction: column; /* 縦に配置する */
  align-items: center; /* 中央揃え */
  gap: 16px;
  width: fit-content;
  margin: 0 auto 24px 0; /* 縦に並ぶので左寄せの美しさを際立たせる */
}

/* 縦配置に合わせてロゴサイズを美しく1.5倍に微調整 */
.footer-collab-logo-vertical .collab-logo-left {
  height: 80px; /* 42pxの1.5倍に拡大 */
  width: auto;
  opacity: 1.0; /* 白ロゴ画像なので完全に不透明にして美しく発色 */
  border: 5px solid #FFF;
}

.footer-collab-logo-vertical .collab-logo-right {
  height: 51px; /* 34pxの1.5倍に拡大 */
  width: auto;
  opacity: 0.9;
}

/* テキストではなく、CSS擬似要素で描く「もっと大きく細い」極細の×マーク */
.collab-logo-x-vertical {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  user-select: none;
}

.collab-logo-x-vertical::before,
.collab-logo-x-vertical::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px; /* 1.5倍に合わせた美しい線の太さ */
  background-color: rgba(0, 0, 0, 1); /* 不透明な白 */
  border-radius: 2px;
}

.collab-logo-x-vertical::before {
  transform: translateY(-50%) rotate(45deg);
}

.collab-logo-x-vertical::after {
  transform: translateY(-50%) rotate(-45deg);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(0,0,0,0.3);
}

.kenshin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  color: rgba(0,0,0,0.6);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */


@media (max-width: 900px) {
  .store-grid { grid-template-columns: repeat(2, 1fr); padding: 0 20px 40px; }
  .area-grid, .feature-grid, .service-cards, .footer-top { grid-template-columns: 1fr; }
  .search-section, .genre-section, .section-header { padding-left: 20px; padding-right: 20px; }
  .area-section, .food-section, .service-section, .feature-section { padding: 60px 20px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .modal-info { grid-template-columns: 1fr; }
  .footer-brand .logo.collab-logo.footer-collab-logo-vertical { margin: 0 auto 24px auto; }
}
@media (max-width: 768px) {
  header nav { display: flex; }
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .store-card-img {
    height: 108px;
  }
  .store-card-body {
    padding: 12px;
  }
  .genre-chip .icon-svg {
    width: 70px;
    height: 70px;
    max-width: none;
  }
  .genre-chip {
    min-width: 110px;
  }
  .store-card-name {
    font-size: 15px;
  }
  .store-card-desc {
    font-size: 11px;
    -webkit-line-clamp: 3;
  }
  .store-card-footer {
    padding: 9px 12px;
  }
  .search-bar { padding: 18px; border-radius: 16px; }
  .search-input-wrap, .search-select, .btn-search { width: 100%; min-width: 100%; }
  .section-header { align-items: flex-start; flex-direction: column; gap: 12px; }
}

/* ===== ADVERTISEMENT SLOTS ===== */
.ad-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 40px auto;
  padding: 0 20px;
  max-width: 1345px;
}
.ad-slot {
  background-color: #f5f5f5;
  border: 1px dashed #ccc;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.02);
  overflow: hidden;
}
.ad-slot a {
  display: block;
  width: 100%;
  height: 100%;
}
.ad-slot img {
  display: block;
  width: 100%;
  height: auto;
}
.ad-leaderboard {
  width: 728px;
  height: 90px;
}
.ad-rect {
  width: 100%;
  max-width: 336px;
  aspect-ratio: 336 / 280;
  height: auto;
}

/* スマホビュー対応 */
@media (max-width: 768px) {
  .ad-container {
    margin: 32px auto;
    gap: 16px;
  }
  .ad-leaderboard {
    width: 100%;
    max-width: 320px;
    height: auto;
    min-height: 50px;
  }
}

/* ===== SHARE BUTTONS ===== */
.modal-share-wrap {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
}
.modal-share-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--soft);
  margin-bottom: 12px;
}
.modal-share-icons {
  display: flex;
  gap: 16px;
}
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px; /* LINEや他SNSと統一して角丸にする */
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.share-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.share-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  vertical-align: middle;
}
.share-btn.x {
  background-color: #000000;
}
.share-btn.x img {
  padding: 10px;
  box-sizing: border-box;
}
.share-btn.line {
  background: transparent;
  box-shadow: none;
}
.share-btn.ig {
  background: transparent;
  box-shadow: none;
}

/* ─── MAP SLIDER PROMO TEXTS ─────────────────────────────── */
.map-slider-promo-top {
  text-align: center;
  margin-top: 10px; /* 内包されるためマージンを小さく調整 */
  margin-bottom: 25px;
  padding: 0 20px;
}

.map-slider-promo-top .promo-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  background-color: var(--bg-2);
  padding: 10px 24px;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
}

.map-slider-promo-top .promo-badge {
  background-color: #EE2130; /* 朱鷺色・新潟の温かみのある朱赤 */
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(238, 33, 48, 0.2);
}

.map-slider-promo-top .promo-main-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.03em;
}

.map-slider-promo-top .promo-sub-text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(184, 130, 42, 0.08);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px dashed rgba(184, 130, 42, 0.3);
  letter-spacing: 0.02em;
}

.map-slider-promo-bottom {
  text-align: center;
  margin-top: 25px;
  margin-bottom: 10px; /* 内包されるためマージンを小さく調整 */
  padding: 0 20px;
}

.map-slider-promo-bottom .promo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: transparent;
  border: none;
  padding: 10px 20px;
  border-radius: 0;
  box-shadow: none;
}

.map-slider-promo-bottom .promo-icon {
  font-size: 20px;
  display: inline-block;
  animation: promoBounce 2s infinite ease-in-out;
}

.map-slider-promo-bottom .promo-message {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.map-slider-promo-bottom .promo-message .highlight {
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
  background: linear-gradient(transparent 65%, rgba(184, 130, 42, 0.15) 65%);
}

@keyframes promoBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .map-slider-promo-top {
    margin-top: 5px; /* スマホ内包マージン調整 */
    margin-bottom: 20px;
  }
  .map-slider-promo-top .promo-container {
    flex-direction: column;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 16px;
    width: 100%;
    max-width: 450px;
  }
  .map-slider-promo-top .promo-main-text {
    font-size: 14px;
    line-height: 1.4;
  }
  .map-slider-promo-top .promo-sub-text {
    font-size: 12px;
  }
  .map-slider-promo-bottom {
    margin-top: 20px;
    margin-bottom: 5px; /* スマホ内包マージン調整 */
  }
  .map-slider-promo-bottom .promo-box {
    padding: 12px 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
  }
  .map-slider-promo-bottom .promo-message {
    font-size: 13px;
    line-height: 1.5;
  }
  .map-slider-promo-bottom .promo-message .highlight {
    font-size: 14px;
  }
}

/* ─── MAP SLIDER SECTION ───────────────────────────────────── */
.map-slider-section {
  width: 100%;
  overflow: hidden;
  padding: 40px 0; /* paddingを上下に広げる */
  background-color: #ffffff;
  
  /* 上下両方に hero-stats-bottom と同様の4色グラデーションラインを配置 */
  background-image: 
    linear-gradient(90deg, #b2d5de 0 25%, #ddcfb3 25% 50%, #b3ddb4 50% 75%, #ddbab3 75%),
    linear-gradient(90deg, #b2d5de 0 25%, #ddcfb3 25% 50%, #b3ddb4 50% 75%, #ddbab3 75%);
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 0.3rem, 100% 0.3rem; /* 厚み 0.3rem */
  background-position: top, bottom; /* 1枚目を上部、2枚目を下部に配置 */
}

.map-slider-inner {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  /* 影やホバー時の跳ね上がりが上下に切れないように、十分な表示領域をパディングで確保 */
  padding: 15px 0;
  margin-top: -15px;
  margin-bottom: -15px;
}

.map-slider-inner::-webkit-scrollbar {
  display: none;
}

.map-slider-inner.active {
  cursor: grabbing;
}

.map-slider-track {
  display: flex;
  width: max-content;
}

.map-slider-item {
  flex: 0 0 12vw;
  min-width: 100px;
  max-width: 180px;
  padding: 0 10px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-slider-item:hover {
  transform: translateY(-5px);
}

.map-slider-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border:10px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: block;
}

@keyframes mapScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .map-slider-item {
    flex: 0 0 50vw;
    max-width: none;
    min-width: 180px;
  }
}

.map-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 0px 8px;
  font-size: 24px;
  font-weight: bold;
  background-color: var(--primary);
  color: #EE2130;
  border-radius: 12px;
  vertical-align: middle;
}

/* ─── UTILITIES ────────────────────────────────────────── */
@media (max-width: 768px) {
  .mobile-only {
    display: inline;
  }
}
@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero__brand-logo img {
    width: 240px; /* モバイルでは少し小さめに */
    margin: 0 auto;
  }
  .hero__brand-logo {
    display: block;
    text-align: center;
    margin-bottom: 20px;
  }
  .hero__brand-logo::after {
    width: 120%;
    height: 120%;
  }
}

/* ─── FEATURE CARD SHARECYCLE (HORIZONTAL) ─────────────────── */
.feature-card-sharecycle {
  display: block; /* 既存のflexをblockにして、内部のsplit-containerで制御 */
  padding-top: 36px !important; /* 絶対配置のタイトルバッジとコンテンツの干渉を防ぐ */
}

.feature-card-sharecycle .f-split-container {
  display: flex;
  gap: 20px;
  align-items: center; /* 垂直方向中央揃え */
  justify-content: space-between;
}

.feature-card-sharecycle .f-image-part {
  flex: 0 0 40%; /* 高さとテキストが完璧に揃う40%の比率 */
  max-width: 40%;
}

.feature-card-sharecycle .f-image-part img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: block;
  transition: transform var(--transition);
}

.feature-card-sharecycle .f-image-part img:hover {
  transform: scale(1.02);
}

.feature-card-sharecycle .f-text-part {
  flex: 1; /* 残りの幅をテキストに割り当て */
}

.feature-card-sharecycle .f-desc {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .feature-card-sharecycle {
    padding-top: 32px !important;
  }
  .feature-card-sharecycle .f-split-container {
    flex-direction: column; /* スマホでは縦並びに戻す */
    align-items: stretch;
    gap: 16px;
  }
  .feature-card-sharecycle .f-image-part {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* =================================================================
   Modern Area Tab Map Interface Styles
   ================================================================= */
.area-tab-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow);
  margin-top: 20px;
}

.area-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 16px;
  flex-wrap: wrap;
}

.area-tab-btn {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 12px 28px;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--soft);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.area-tab-btn:hover {
  border-color: var(--sky);
  color: var(--sky);
}

.area-tab-btn.active {
  background: var(--sky);
  border-color: var(--sky);
  color: white;
  box-shadow: var(--shadow-sm);
}

.area-tab-content-wrap {
  min-height: 480px;
  position: relative;
}

.area-tab-content {
  display: none;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: stretch;
  animation: fadeInAreaTab 0.4s ease forwards;
}

.area-tab-content.active {
  display: grid;
}

.area-tab-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 20px 10px;
}

.area-tab-title {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 16px;
  position: relative;
}

.area-tab-text {
  font-size: 15px;
  color: var(--soft);
  line-height: 1.8;
  margin-bottom: 24px;
}

.area-search-btn {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
}

.area-tab-map {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg);
  min-height: 400px;
}

.area-tab-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@keyframes fadeInAreaTab {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 991px) {
  .area-tab-content {
    grid-template-columns: 1fr;
  }
  .area-tab-info {
    align-items: center;
    text-align: center;
    padding: 10px 0;
  }
  .area-tab-map {
    min-height: 350px;
  }
}
@media (max-width: 575px) {
  .area-tab-container {
    padding: 16px;
  }
  .area-tab-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  .area-tab-map {
    min-height: 280px;
  }
}

