/* =========================================================
  Power Spot Japan - Global Styles
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans JP", Arial, sans-serif;
  color: #2b241d;
  background: #fbf7ef;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* =========================================================
  Header / Navigation
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eadfce;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

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

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #f5b642, #e46b2c);
  border-radius: 16px;
  font-size: 22px;
}

.logo-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.logo-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: #8a7560;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
  color: #5f5144;
}

.nav a:hover {
  color: #c96b1f;
}

/* Language Menu */

.lang-menu {
  position: relative;
}

.lang-menu summary {
  list-style: none;
  cursor: pointer;
  color: #2b2723;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.lang-menu summary::-webkit-details-marker {
  display: none;
}

.lang-menu summary::after {
  content: "▼";
  margin-left: 6px;
  font-size: 10px;
  color: #f28a1a;
}

.lang-dropdown {
  position: absolute;
  top: 28px;
  right: 0;
  min-width: 150px;
  padding: 10px;
  background: #fff;
  border: 1px solid #eadfce;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(43, 39, 35, 0.12);
  z-index: 2000;
}

.lang-dropdown button {
  width: 100%;
  display: block;
  border: none;
  background: transparent;
  color: #2b2723;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.lang-dropdown button:hover {
  background: #fbf7ee;
  color: #f28a1a;
}

/* =========================================================
  Hero
========================================================= */

.hero {
  padding: 88px 0;
  background:
    radial-gradient(circle at top left, rgba(245, 182, 66, 0.35), transparent 35%),
    radial-gradient(circle at bottom right, rgba(124, 184, 141, 0.25), transparent 35%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.label {
  margin: 0 0 12px;
  color: #c96b1f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero-description {
  max-width: 640px;
  margin: 24px 0 0;
  color: #6d5c4d;
  font-size: 17px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #7a4b1f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.hero-actions,
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  font-size: 16px;
  transition: 0.2s ease;
}

.hero-btn-primary {
  background: #f28a1a;
  color: #fff;
  box-shadow: 0 14px 30px rgba(242, 138, 26, 0.22);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(242, 138, 26, 0.28);
}

.hero-btn-secondary {
  background: #fff;
  color: #2b2723;
  border: 1px solid #eadfce;
}

.hero-btn-secondary:hover {
  transform: translateY(-2px);
  border-color: #f28a1a;
}

.hero-card {
  padding: 34px;
  background: #fff;
  border: 1px solid #eadfce;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(74, 49, 22, 0.12);
}

.card-label {
  margin: 0 0 14px;
  color: #c96b1f;
  font-size: 13px;
  font-weight: 800;
}

.hero-card h2 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.35;
}

.hero-card p {
  color: #6d5c4d;
}

/* =========================================================
  Buttons
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn.primary {
  background: #e98b2a;
  color: #fff;
  box-shadow: 0 10px 24px rgba(233, 139, 42, 0.25);
}

.btn.primary:hover {
  background: #cf7317;
  transform: translateY(-2px);
}

.btn.secondary {
  background: #fff;
  color: #3b3027;
  border: 1px solid #eadfce;
}

.btn.secondary:hover {
  background: #fff7e8;
}

/* =========================================================
  Sections
========================================================= */

.section {
  padding: 78px 0;
}

.section.light,
.feature-link-section {
  background: #fffaf1;
}

.section.dark {
  background: #241d18;
  color: #fff;
}

.section.dark .section-title,
.section.dark p {
  color: #fff;
}

.section-title {
  margin: 0 0 28px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.section-lead {
  max-width: 760px;
  margin: 0;
  color: #6d5c4d;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 18px;
}

/* =========================================================
  Category / Area Cards
========================================================= */

.categories {
  grid-template-columns: repeat(4, 1fr);
}

.areas {
  grid-template-columns: repeat(3, 1fr);
}

.category-card,
.area-card {
  display: block;
  padding: 24px;
  background: #fff;
  border: 1px solid #eadfce;
  border-radius: 24px;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(74, 49, 22, 0.05);
  transition: 0.2s ease;
}

.category-card:hover,
.area-card:hover {
  transform: translateY(-4px);
  background: #fff4df;
  border-color: #e7b76d;
}

/* =========================================================
  Guide Cards
========================================================= */

.guide-card {
  display: flex;
  align-items: center;
  min-height: 92px;
  padding: 24px 28px;
  border: 1px solid #eadfce;
  border-radius: 24px;
  background: #fff;
  color: #2b2723;
  text-decoration: none;
  font-weight: 900;
  font-size: 20px;
  transition: 0.2s ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  border-color: #f28a1a;
  box-shadow: 0 16px 36px rgba(43, 39, 35, 0.08);
  color: #f28a1a;
}

/* =========================================================
  Latest Articles / Article Cards
========================================================= */

.notice {
  display: inline-block;
  margin: 0 0 24px;
  padding: 10px 14px;
  background: #fff3dc;
  color: #8c5a14;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

.articles,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.article-card {
  display: block;
  overflow: hidden;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  color: inherit;
  text-decoration: none;
  border: 1px solid #eadfce;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: 0.2s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 138, 26, 0.45);
  box-shadow: 0 18px 40px rgba(74, 49, 22, 0.10);
}

.article-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.5;
}

.article-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #5f574f;
}

.article-region {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #b56a2a;
  letter-spacing: 0.08em;
}

.article-image {
  height: 180px;
  margin: -22px -22px 18px;
}

.placeholder {
  background:
    linear-gradient(135deg, rgba(233, 139, 42, 0.25), rgba(125, 184, 141, 0.25)),
    url("https://images.unsplash.com/photo-1545569341-9eb8b30979d9?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
}

.article-body {
  padding: 24px;
}

.article-category {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 10px;
  background: #fff0d7;
  color: #b86512;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.article-body h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.45;
}

.article-body p {
  color: #6d5c4d;
  font-size: 14px;
}

.article-body a {
  display: inline-block;
  margin-top: 12px;
  color: #c96b1f;
  font-weight: 800;
}

/* =========================================================
  Special Feature Link on TOP
========================================================= */

.feature-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

@media (max-width: 1080px) {
  .feature-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .feature-link-grid {
    grid-template-columns: 1fr;
  }
}

.feature-link-card {
  display: block;
  padding: 32px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid #eadfce;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(43, 39, 35, 0.06);
  transition: 0.2s ease;
}

.feature-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(43, 39, 35, 0.10);
  border-color: rgba(242, 138, 26, 0.45);
}

.feature-link-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: #f28a1a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.feature-link-card h3 {
  margin: 0 0 14px;
  color: #0b3a78;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.42;
  font-weight: 900;
}

.feature-link-card p {
  margin: 0 0 18px;
  max-width: 820px;
  color: #5f574f;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 650;
}

.feature-link-more {
  color: #c96b1f;
  font-weight: 900;
  letter-spacing: 0.04em;
}

/* =========================================================
  MAP Fallback
========================================================= */

.map-fallback-list {
  margin-top: 28px;
}

.map-fallback-note {
  margin-bottom: 18px;
  color: #6f665d;
  font-size: 14px;
  line-height: 1.8;
}

.map-spot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.map-spot-card {
  display: block;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(120, 86, 54, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.map-spot-card span {
  display: block;
  margin-bottom: 8px;
  color: #b56a2a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.map-spot-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 1.5;
}

.map-spot-card small {
  display: block;
  color: #6f665d;
  font-size: 13px;
  line-height: 1.6;
}

/* =========================================================
  Affiliate / Rakuten Links
========================================================= */

main a[href*="rakuten"],
main a[href*="travel.rakuten"] {
  color: #f28a1a;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

main a[href*="rakuten"]:hover,
main a[href*="travel.rakuten"]:hover {
  color: #c96a0a;
}

/* =========================================================
  Advertisement / Contact
========================================================= */

.ad-box {
  margin-top: 34px;
  padding: 28px;
  text-align: center;
  background: #f4ead9;
  border: 1px dashed #c9a46f;
  border-radius: 24px;
  color: #7a5a31;
}

.ad-box p {
  margin: 0;
  font-weight: 800;
}

.ad-box span {
  font-size: 13px;
}

.advertise-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

.advertise-inner p {
  max-width: 680px;
  color: #e8dfd2;
}

.contact-box {
  padding: 42px;
  background: #fff;
  border: 1px solid #eadfce;
  border-radius: 32px;
  text-align: center;
  box-shadow: 0 18px 48px rgba(74, 49, 22, 0.08);
}

.mail-link {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 22px;
  background: #241d18;
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
}

/* =========================================================
  Footer
========================================================= */

.site-footer {
  padding: 28px 0;
  border-top: 1px solid #eadfce;
  color: #7d6b59;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

/* =========================================================
  Article Detail / microCMS Image Control
========================================================= */

.article-content img {
  display: block !important;
  width: 100% !important;
  max-width: 560px !important;
  max-height: 340px !important;
  height: auto !important;
  object-fit: cover !important;
  margin: 28px auto !important;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(74, 49, 22, 0.10);
}

.article-content figure {
  max-width: 560px;
  margin: 32px auto;
}

.article-content figure img {
  width: 100% !important;
  max-width: 560px !important;
  max-height: 340px !important;
  object-fit: cover !important;
}

.article-content figcaption {
  margin-top: 10px;
  color: #8a7560;
  font-size: 13px;
  text-align: center;
}

/* 記事詳細ページ内の画像サイズを強制制御 */
#article-detail img,
.article-content img {
  display: block !important;
  width: auto !important;
  max-width: 560px !important;
  max-height: 340px !important;
  height: auto !important;
  object-fit: cover !important;
  margin: 28px auto !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 28px rgba(74, 49, 22, 0.10) !important;
}

/* microCMSのfigure内画像にも適用 */
#article-detail figure,
.article-content figure {
  max-width: 560px !important;
  margin: 32px auto !important;
}

#article-detail figure img,
.article-content figure img {
  width: 100% !important;
  max-width: 560px !important;
  max-height: 340px !important;
  object-fit: cover !important;
}

/* =========================================================
  Responsive
========================================================= */

@media (max-width: 900px) {
  .lang-dropdown {
    left: 0;
    right: auto;
  }

  .map-spot-grid,
  .article-grid,
  .articles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 58px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-card {
    padding: 26px;
  }

  .categories,
  .areas {
    grid-template-columns: 1fr 1fr;
  }

  .advertise-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero-badge {
    font-size: 13px;
    padding: 7px 14px;
    margin-bottom: 12px;
  }

  .feature-link-card {
    padding: 24px;
    border-radius: 24px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

  .logo-title {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-actions,
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-btn,
  .btn {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .categories,
  .areas {
    grid-template-columns: 1fr;
  }

  .category-card,
  .area-card {
    padding: 20px;
  }

  .contact-box {
    padding: 28px 20px;
  }

  .mail-link {
    width: 100%;
    font-size: 14px;
  }

  .article-content img,
  #article-detail img {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 220px !important;
    margin: 22px auto !important;
    border-radius: 16px !important;
    object-fit: cover !important;
  }

  .article-content figure,
  #article-detail figure {
    max-width: 100% !important;
    margin: 26px auto !important;
  }

  .article-content figure img,
  #article-detail figure img {
    max-height: 220px !important;
  }
}

/* =========================================================
  TOP Page - MAP First View
========================================================= */

.map-first-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 46px;
  background:
    radial-gradient(circle at top left, rgba(245, 182, 66, 0.34), transparent 36%),
    radial-gradient(circle at bottom right, rgba(124, 184, 141, 0.22), transparent 38%),
    linear-gradient(135deg, #fff9ed 0%, #f7efe1 48%, #efe0ca 100%);
  border-bottom: 1px solid rgba(121, 89, 46, 0.12);
}

.map-first-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.25fr);
  gap: 34px;
  align-items: start;
}

.map-first-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.map-first-copy h1 {
  margin: 0;
  color: #2d2116;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 12px 0 16px;
}

.map-hero-badge,
.map-status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.74);
  color: #7b5426;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(168, 122, 46, 0.20);
  box-shadow: 0 10px 28px rgba(105, 72, 30, 0.08);
}

.map-first-description {
  margin-top: 18px;
  color: #5f5143;
  font-size: 16px;
  line-height: 1.95;
}

.quick-search-panel {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(120, 91, 49, 0.14);
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(94, 65, 31, 0.08);
  backdrop-filter: blur(8px);
}

.quick-search-title {
  margin: 0 0 12px;
  color: #3f2f20;
  font-size: 14px;
  font-weight: 900;
}

.quick-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.top-filter,
.quick-area-link {
  appearance: none;
  border: 1px solid rgba(132, 92, 40, 0.16);
  border-radius: 999px;
  padding: 9px 12px;
  background: #fffaf1;
  color: #5c4225;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.top-filter:hover,
.quick-area-link:hover,
.top-filter.is-active {
  transform: translateY(-1px);
  background: #2f241a;
  color: #fff;
  box-shadow: 0 10px 22px rgba(64, 43, 20, 0.18);
}

.quick-area-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(121, 89, 46, 0.12);
}

.top-map-shell {
  grid-column: 2;
  grid-row: 1 / span 2;
  overflow: hidden;
  min-height: 560px;
  border: 1px solid rgba(93, 61, 30, 0.18);
  border-radius: 30px;
  background: #fffaf2;
  box-shadow: 0 28px 70px rgba(73, 49, 24, 0.22);
}

.top-map-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(116, 82, 39, 0.12);
}

.top-map-title {
  margin: 0;
  color: #302316;
  font-size: 16px;
  font-weight: 900;
}

.top-map-sub {
  margin: 4px 0 0;
  color: #76634f;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.map-open-link {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 10px 14px;
  background: #2f241a;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(50, 36, 22, 0.22);
}

#topMap {
  width: 100%;
  height: 470px;
  background: #eadcc8;
}

.top-map-fallback-note {
  display: none;
  padding: 14px 18px;
  color: #6f5b46;
  font-size: 13px;
  line-height: 1.7;
  background: #fff8ec;
  border-top: 1px solid rgba(116, 82, 39, 0.12);
}

.top-map-popup h3 {
  margin: 0 0 6px;
  color: #2f241a;
  font-size: 15px;
  line-height: 1.45;
}

.top-map-popup p {
  margin: 0 0 8px;
  color: #6a5744;
  font-size: 12px;
  line-height: 1.55;
}

.top-map-popup a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 10px;
  background: #f28a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.section-head-row .section-title {
  margin-bottom: 0;
}

.articles-page-link {
  flex: 0 0 auto;
  color: #6d4b1f;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.article-card p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 960px) {
  .map-first-inner {
    grid-template-columns: 1fr;
  }

  .map-first-copy {
    grid-column: auto;
    grid-row: auto;
    order: 1;
  }

  .top-map-shell {
    grid-column: auto;
    grid-row: auto;
    order: 2;
    min-height: 460px;
    border-radius: 24px;
  }

  .quick-search-panel {
    grid-column: auto;
    grid-row: auto;
    order: 3;
    margin-top: 0;
  }

  #topMap {
    height: 390px;
  }
}

@media (max-width: 640px) {
  .map-first-hero {
    padding: 34px 0 38px;
  }

  .map-first-copy h1 {
    font-size: 36px;
  }

  .map-first-description {
    font-size: 15px;
  }

  .top-map-head {
    display: block;
  }

  .map-open-link {
    display: inline-flex;
    margin-top: 12px;
  }

  #topMap {
    height: 320px;
  }

  .quick-search-panel {
    padding: 15px;
  }

  .section-head-row {
    display: block;
  }

  .articles-page-link {
    display: inline-block;
    margin-top: 10px;
  }
}

/* TOP最新記事カードのスマホ表示調整 */
@media (max-width: 640px) {
  .article-card {
    padding: 20px;
    border-radius: 20px;
  }

  .article-card h3 {
    font-size: 17px;
    line-height: 1.55;
  }

  .article-card p {
    font-size: 13px;
    line-height: 1.75;
    -webkit-line-clamp: 3;
  }

  #articles .section-lead {
    font-size: 14px;
    line-height: 1.8;
  }
}

/* =========================================================
  TOP Page - MAP First View / Category + Region Filter
========================================================= */

.map-first-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 46px;
  background:
    radial-gradient(circle at top left, rgba(245, 182, 66, 0.34), transparent 36%),
    radial-gradient(circle at bottom right, rgba(124, 184, 141, 0.22), transparent 38%),
    linear-gradient(135deg, #fff9ed 0%, #f7efe1 48%, #efe0ca 100%);
  border-bottom: 1px solid rgba(121, 89, 46, 0.12);
}

.map-first-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.25fr);
  gap: 34px;
  align-items: start;
}

.map-first-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.map-first-copy h1 {
  margin: 0;
  color: #2d2116;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 12px 0 16px;
}

.map-hero-badge,
.map-status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.74);
  color: #7b5426;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(168, 122, 46, 0.20);
  box-shadow: 0 10px 28px rgba(105, 72, 30, 0.08);
}

.map-first-description {
  margin-top: 18px;
  color: #5f5143;
  font-size: 16px;
  line-height: 1.95;
}

.quick-search-panel {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(120, 91, 49, 0.14);
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(94, 65, 31, 0.08);
  backdrop-filter: blur(8px);
}

.quick-search-title {
  margin: 0 0 12px;
  color: #3f2f20;
  font-size: 14px;
  font-weight: 900;
}

.quick-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.top-filter,
.top-region-filter,
.quick-area-link {
  appearance: none;
  border: 1px solid rgba(132, 92, 40, 0.16);
  border-radius: 999px;
  padding: 9px 12px;
  background: #fffaf1;
  color: #5c4225;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.top-filter:hover,
.top-region-filter:hover,
.quick-area-link:hover,
.top-filter.is-active,
.top-region-filter.is-active {
  transform: translateY(-1px);
  background: #2f241a;
  color: #fff;
  box-shadow: 0 10px 22px rgba(64, 43, 20, 0.18);
}

.quick-area-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(121, 89, 46, 0.12);
}

.top-map-shell {
  grid-column: 2;
  grid-row: 1 / span 2;
  overflow: hidden;
  min-height: 560px;
  border: 1px solid rgba(93, 61, 30, 0.18);
  border-radius: 30px;
  background: #fffaf2;
  box-shadow: 0 28px 70px rgba(73, 49, 24, 0.22);
}

.top-map-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(116, 82, 39, 0.12);
}

.top-map-title {
  margin: 0;
  color: #302316;
  font-size: 16px;
  font-weight: 900;
}

.top-map-sub {
  margin: 4px 0 0;
  color: #76634f;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.map-open-link {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 10px 14px;
  background: #2f241a;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(50, 36, 22, 0.22);
}

#topMap {
  width: 100%;
  height: 470px;
  background: #eadcc8;
}

.top-map-fallback-note {
  display: none;
  padding: 14px 18px;
  color: #6f5b46;
  font-size: 13px;
  line-height: 1.7;
  background: #fff8ec;
  border-top: 1px solid rgba(116, 82, 39, 0.12);
}

.top-map-popup h3 {
  margin: 0 0 6px;
  color: #2f241a;
  font-size: 15px;
  line-height: 1.45;
}

.top-map-popup p {
  margin: 0 0 8px;
  color: #6a5744;
  font-size: 12px;
  line-height: 1.55;
}

.top-map-popup a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 7px 10px;
  background: #f28a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.section-head-row .section-title {
  margin-bottom: 0;
}

.articles-page-link {
  flex: 0 0 auto;
  color: #6d4b1f;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.article-card p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 960px) {
  .map-first-inner {
    grid-template-columns: 1fr;
  }

  .map-first-copy {
    grid-column: auto;
    grid-row: auto;
    order: 1;
  }

  .top-map-shell {
    grid-column: auto;
    grid-row: auto;
    order: 2;
    min-height: 460px;
    border-radius: 24px;
  }

  .quick-search-panel {
    grid-column: auto;
    grid-row: auto;
    order: 3;
    margin-top: 0;
  }

  #topMap {
    height: 390px;
  }
}

@media (max-width: 640px) {
  .map-first-hero {
    padding: 34px 0 38px;
  }

  .map-first-copy h1 {
    font-size: 36px;
  }

  .map-first-description {
    font-size: 15px;
  }

  .top-map-head {
    display: block;
  }

  .map-open-link {
    display: inline-flex;
    margin-top: 12px;
  }

  #topMap {
    height: 320px;
  }

  .quick-search-panel {
    padding: 15px;
  }

  .section-head-row {
    display: block;
  }

  .articles-page-link {
    display: inline-block;
    margin-top: 10px;
  }

  .article-card {
    padding: 20px;
    border-radius: 20px;
  }

  .article-card h3 {
    font-size: 17px;
    line-height: 1.55;
  }

  .article-card p {
    font-size: 13px;
    line-height: 1.75;
    -webkit-line-clamp: 3;
  }

  #articles .section-lead {
    font-size: 14px;
    line-height: 1.8;
  }
}
