/*
Theme Name: Japan Events Guide
Theme URI: https://japan-events-guide.com
Description: Japan travel events guide — inspired by japan-guide.com, v2 with Japanese traditional colours.
Version: 2.0
Author: Japan Events Guide
*/

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Japanese Traditional Colour Palette ─────────────────────────────────── */
:root {
  /* 日本の伝統色 */
  --ai:        #1E3A5C;   /* 藍  indigo navy  — header/nav */
  --shu:       #BE3A2E;   /* 朱  vermilion    — primary accent */
  --shu-dark:  #8C2920;   /* 朱暗 */
  --kin:       #C9A227;   /* 金  gold         — highlights */
  --asagi:     #00A3AF;   /* 浅葱 pale teal   — cool accent */
  --kinari:    #F8F4EE;   /* 生成り ecru      — warm white bg */
  --sumi:      #1A1A2E;   /* 墨  ink black    — text */
  --bengara:   #9B4043;   /* 弁柄 red ochre   — region: Kanto */
  --edo:       #624B8A;   /* 江戸紫 Edo purple — region: Kansai */
  --tokiwa:    #1B6B3A;   /* 常磐 evergreen    — region: Tohoku */
  --ruri:      #2A4B8D;   /* 瑠璃 lapis       — region: Hokkaido */

  /* Semantic aliases */
  --bg:        var(--kinari);
  --bg-gray:   #F2EDE7;
  --white:     #FFFFFF;
  --text:      #1A1A2E;
  --text-mid:  #4A3F35;
  --text-dim:  #7A6E64;
  --border:    #DDD5C8;
  --nav-bg:    var(--ai);
  --accent:    var(--shu);
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
}

html { font-size: 16px; }
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  background: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 62px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--white);
}
.logo-mark {
  background: var(--shu);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .08em;
  padding: 5px 8px;
  border-radius: 5px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-top  { font-size: .78rem; font-weight: 700; color: #fff; }
.logo-bottom { font-size: .68rem; color: rgba(255,255,255,.65); letter-spacing: .04em; }

.site-nav {
  display: flex;
  gap: 4px;
  flex: 1;
  align-items: center;
}
.site-nav a {
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.site-nav a:hover { background: rgba(255,255,255,.12); color: #fff; }

.header-search {
  display: flex;
  gap: 0;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}
.header-search input {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-right: none;
  color: #fff;
  font-size: .82rem;
  padding: 6px 12px;
  width: 180px;
  outline: none;
}
.header-search input::placeholder { color: rgba(255,255,255,.5); }
.header-search button {
  background: var(--shu);
  border: none;
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 14px;
  cursor: pointer;
  transition: background .15s;
}
.header-search button:hover { background: var(--shu-dark); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(145deg, var(--ai) 0%, #0D2035 100%);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; max-width: 680px; }
.hero-eyebrow {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kin);
  font-weight: 700;
  margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-title span { color: var(--shu); }
.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 28px;
  max-width: 540px;
}

/* Search bar */
.hero-search {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  max-width: 540px;
  margin-bottom: 22px;
}
.hero-search input {
  flex: 1;
  border: none;
  padding: 14px 18px;
  font-size: 1rem;
  outline: none;
  background: #fff;
  color: var(--text);
}
.hero-search input::placeholder { color: #999; }
.hero-search button {
  background: var(--shu);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 24px;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.hero-search button:hover { background: var(--shu-dark); }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.tag-label { color: rgba(255,255,255,.55); font-size: .8rem; }
.hero-tags a {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  padding: 4px 12px;
  border-radius: 50px;
  transition: background .15s;
}
.hero-tags a:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section { padding: 56px 0; }
.section-gray { background: var(--bg-gray); }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sumi);
  letter-spacing: -.02em;
}
.section-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--shu);
  margin-top: 6px;
  border-radius: 2px;
}
.section-more {
  font-size: .84rem;
  color: var(--shu);
  font-weight: 600;
}
.section-more:hover { text-decoration: underline; }

/* ── Featured Grid (1+3) ─────────────────────────────────────────────────── */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
}
.feat-main { grid-column: 1; }
.feat-main-inner {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  height: 100%;
  transition: transform .2s, box-shadow .2s;
}
.feat-main-inner:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.feat-main-band {
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 22px;
  position: relative;
}
.feat-region-badge {
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  width: fit-content;
  margin-bottom: 8px;
}
.feat-main-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.feat-main-body { background: #fff; padding: 18px 22px; }
.feat-main-body p { color: var(--text-mid); font-size: .9rem; line-height: 1.5; margin-bottom: 10px; }

.feat-sub-list { display: flex; flex-direction: column; gap: 16px; }
.feat-sub-inner {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  height: 100%;
  transition: transform .2s;
}
.feat-sub-inner:hover { transform: translateX(3px); }
.feat-sub-band {
  width: 6px;
  flex-shrink: 0;
}
.feat-sub-body { background: #fff; padding: 14px 16px; flex: 1; }
.feat-sub-region {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
  margin-bottom: 6px;
}
.feat-sub-body h3 { font-size: .9rem; font-weight: 700; line-height: 1.35; color: var(--text); }

.feat-date { font-size: .75rem; color: var(--text-dim); margin-top: 6px; display: block; }

/* ── Filter Bar ───────────────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.filter-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: .08em;
  text-transform: uppercase;
  align-self: center;
  margin-right: 4px;
}
.filter-btn {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  background: var(--bg-gray);
  color: var(--text-mid);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--shu);
  color: #fff;
  border-color: var(--shu);
}
.filter-sep { width: 1px; background: var(--border); align-self: stretch; margin: 0 4px; }

/* ── Japan Map ────────────────────────────────────────────────────────────── */
.section-map { padding: 56px 0; }
.map-wrap {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.map-info {
  flex: 1;
  min-width: 0;
}
.map-info h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sumi);
  margin-bottom: 8px;
}
.map-info h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--shu);
  margin-top: 6px;
  border-radius: 2px;
}
.map-info p {
  color: var(--text-mid);
  font-size: .9rem;
  margin-bottom: 20px;
  margin-top: 12px;
}
.map-region-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.map-region-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  color: var(--text);
}
.map-region-item:hover {
  border-color: var(--shu);
  box-shadow: 0 2px 8px rgba(190,58,46,.15);
  transform: translateX(3px);
}
.map-region-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.map-region-name { font-size: .85rem; font-weight: 700; }
.map-region-jp { font-size: .72rem; color: var(--text-dim); display: block; }

/* SVG Map Container */
.japan-svg-wrap {
  width: 340px;
  flex-shrink: 0;
  position: relative;
}
.japan-svg-wrap svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.15));
}
.map-region-path {
  cursor: pointer;
  transition: filter .15s, opacity .15s;
}
.map-region-path:hover { filter: brightness(1.15); opacity: .9; }
.map-label {
  font-size: 9px;
  fill: white;
  font-family: var(--sans);
  font-weight: 700;
  pointer-events: none;
}
.map-label-en { font-size: 7px; fill: rgba(255,255,255,0.8); }

/* ── Region Grid ─────────────────────────────────────────────────────────── */
.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.region-card {
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.region-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.region-bar { width: 5px; height: 100%; min-height: 64px; flex-shrink: 0; }
.region-body { padding: 12px 14px; flex: 1; }
.region-name { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.region-sub  { font-size: .75rem; color: var(--text-dim); }
.region-arrow { color: var(--shu); font-size: .9rem; padding-right: 14px; font-weight: 700; }

/* ── Interest Grid ───────────────────────────────────────────────────────── */
.interest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.interest-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  text-align: center;
  transition: all .18s;
}
.interest-card:hover {
  border-color: var(--shu);
  background: #FDF4F3;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(190,58,46,.12);
}
.interest-icon { font-size: 1.9rem; }
.interest-label { font-size: .82rem; font-weight: 700; color: var(--text-mid); }

/* ── Events Grid ─────────────────────────────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.event-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.event-card-link { display: block; height: 100%; }
.event-card-band {
  height: 90px;
  display: flex;
  align-items: flex-end;
  padding: 10px 14px;
}
.event-region {
  background: rgba(0,0,0,.3);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
}
.event-card-body { padding: 14px 16px; }
.event-title {
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-excerpt {
  font-size: .8rem;
  color: var(--text-dim);
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.event-date { font-size: .73rem; color: var(--text-dim); }
.event-read { font-size: .75rem; color: var(--shu); font-weight: 700; }

/* ── Event featured image ────────────────────────────────────────────────── */
.event-card-img {
  height: 160px;
  overflow: hidden;
  background: var(--bg-gray);
}
.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.event-card:hover .event-card-img img { transform: scale(1.05); }

/* ── Pagination ───────────────────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 0;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  transition: all .15s;
}
.pagination a:hover { background: var(--shu); color: #fff; border-color: var(--shu); }
.pagination .current { background: var(--shu); color: #fff; border-color: var(--shu); }

/* ── No Results ───────────────────────────────────────────────────────────── */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
}
.no-results a { color: var(--shu); }
.result-count { font-size: .82rem; color: var(--text-dim); }

/* ── Article / Single ─────────────────────────────────────────────────────── */
.article-hero {
  padding: 52px 0 44px;
  position: relative;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.article-breadcrumb {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 14px;
  display: flex;
  gap: 6px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.article-breadcrumb a { color: rgba(255,255,255,.8); }
.article-breadcrumb a:hover { color: #fff; }
.article-headline {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  max-width: 720px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}
.article-meta-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.article-region-pill {
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
}
.article-date { font-size: .78rem; color: rgba(255,255,255,.7); }

/* Featured image in article hero */
.article-hero-img {
  width: 100%;
  max-height: 340px;
  overflow: hidden;
  border-radius: 8px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}
.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-hero-img figcaption {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: .68rem;
  color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.35);
  padding: 2px 6px;
  border-radius: 3px;
}

/* Article layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 36px;
  padding-top: 40px;
  padding-bottom: 60px;
  align-items: start;
}
.article-main {}
.article-body {
  background: var(--white);
  border-radius: 10px;
  padding: 36px 40px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.article-body h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--sumi);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg-gray);
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 20px 0 8px;
}
.article-body p { margin-bottom: 16px; color: var(--text-mid); font-size: .97rem; line-height: 1.75; }
.article-body ul, .article-body ol { margin: 0 0 16px 20px; }
.article-body li { margin-bottom: 6px; color: var(--text-mid); font-size: .95rem; }
.article-body strong { color: var(--text); }
.article-body a { color: var(--shu); text-decoration: underline; }

/* Article footer */
.article-footer-cta {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--ai) 0%, #0D2035 100%);
  color: rgba(255,255,255,.85);
  padding: 20px 24px;
  border-radius: 8px;
  font-size: .9rem;
}
.article-footer-cta strong { color: #fff; }

.article-nav {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.btn-back, .btn-next {
  padding: 9px 18px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  transition: all .15s;
  border: 1px solid var(--border);
}
.btn-back { background: var(--white); color: var(--text-mid); }
.btn-back:hover { background: var(--bg-gray); }
.btn-next { background: var(--shu); color: #fff; border-color: var(--shu); }
.btn-next:hover { background: var(--shu-dark); }

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.article-sidebar { position: sticky; top: 82px; }
.sidebar-box {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.sidebar-title {
  font-size: .88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-dim);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-gray);
}
.quick-facts { font-size: .85rem; }
.quick-facts dt { font-weight: 700; color: var(--text-mid); margin-top: 10px; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.quick-facts dt:first-child { margin-top: 0; }
.quick-facts dd { color: var(--text); margin-top: 2px; }

.sidebar-links { list-style: none; }
.sidebar-links li { border-bottom: 1px solid var(--bg-gray); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  font-size: .85rem;
  color: var(--text-mid);
  transition: color .15s;
}
.sidebar-links a:hover { color: var(--shu); }

.related-list { list-style: none; }
.related-list li { border-bottom: 1px solid var(--bg-gray); }
.related-list li:last-child { border-bottom: none; }
.related-list a {
  display: block;
  padding: 8px 0;
  font-size: .82rem;
  color: var(--text-mid);
  line-height: 1.4;
  transition: color .15s;
}
.related-list a:hover { color: var(--shu); }

/* Resource links */
.resource-links { list-style: none; }
.resource-links li { margin-bottom: 8px; }
.resource-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--shu);
  font-weight: 600;
  word-break: break-all;
}
.resource-links a::before { content: '↗'; flex-shrink: 0; font-size: .9rem; }
.resource-links a:hover { text-decoration: underline; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  background: #0D1B2E;
  color: rgba(255,255,255,.7);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.footer-logo span { color: var(--shu); }
.footer-desc { font-size: .82rem; line-height: 1.6; color: rgba(255,255,255,.5); }
.footer-col h4 {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--kin);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: .83rem; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  text-align: center;
}

/* ── FAQ Section ──────────────────────────────────────────────────────────── */
.faq-section { margin-top: 8px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-gray);
  padding: 14px 18px;
  margin: 0;
  cursor: pointer;
}
.faq-a {
  padding: 12px 18px;
  color: var(--text-mid);
  font-size: .92rem;
  margin: 0;
  line-height: 1.65;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: 1fr; }
  .feat-sub-list { flex-direction: row; flex-wrap: wrap; }
  .feat-sub { flex: 1 1 200px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .map-wrap { flex-direction: column; }
  .japan-svg-wrap { width: 100%; max-width: 340px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .interest-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 620px) {
  .site-nav { display: none; }
  .header-search input { width: 130px; }
  .events-grid { grid-template-columns: 1fr; }
  .region-grid { grid-template-columns: 1fr 1fr; }
  .interest-grid { grid-template-columns: repeat(4, 1fr); }
  .article-body { padding: 24px 20px; }
  .map-region-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
