/* =========================
   LOCUS MAP 一覧ページ
========================= */

.locus-page {
  max-width: 1320px;
  margin: 0 auto;
  background: #f7f4ea;
  color: #173b2b;
  padding-bottom: 80px;
  border-radius: 18px;
  overflow: hidden;
}

.locus-hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: 72px 56px 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.location-subtitle {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #5f7f3a;
  font-weight: 800;
  margin-bottom: 16px;
}

.locus-hero h1 {
  max-width: 620px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.35;
  margin: 0 0 20px;
  color: #173b2b;
}

.locus-hero p {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}

/* 検索フォーム */

.locus-search-box form {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr auto;
  gap: 12px;
  margin-top: 28px;
}

.locus-search-box select,
.locus-search-box input {
  width: 100%;
  height: 52px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 15px;
  background: #fff;
}

.locus-search-box button {
  height: 52px;
  border: none;
  border-radius: 10px;
  padding: 0 28px;
  background: #27583b;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.locus-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.locus-keywords span {
  background: #e3e6d8;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
}

/* ヒーロー地図部分 */

.locus-map-visual {
  position: relative;
  width: 540px;
  max-width: 100%;
  margin-left: auto;
}

.locus-hero-text {
  min-widht: 620px;
}

.locus-map-visual img {
  width: 100%;
  display: block;
}

.map-hotspot{
  position:absolute;

  display:flex;
  align-items:center;
  justify-content:center;

  width:140px;
  height:54px;

  background:#f1f6ea;
  color:#173b2b;

  text-decoration:none;

  border-radius:999px;

  font-size:15px;
  font-weight:700;

  box-shadow:
  0 8px 20px rgba(0,0,0,.12),
  inset 0 -4px 0 rgba(0,0,0,.05);

  transition:.25s;
}

.map-hotspot:hover{
  transform:translateY(-3px);
  background:#2f6b3f;
  color:#fff;
}

.map-hokkaido{
  top:10%;
  right:2%;
}

.map-kanto{
  top:42%;
  right:0%;
}

.map-chubu{
  top:36%;
  left:42%;
}

.map-kinki{
  top:60%;
  left:48%;
}

.map-chugoku{
  top:50%;
  left:15%;
}

.map-kyushu{
  bottom:12%;
  left:4%;
}

/* エリアボタン */

.locus-area-nav {
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 28px;
  background: rgba(255,255,255,0.75);
  border-radius: 18px;
}

.locus-area-nav h2 {
  font-size: 24px;
  margin: 0 0 18px;
}

.locus-area-buttons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.locus-area-buttons a {
  display: block;
  text-align: center;
  background: #fff;
  color: #173b2b;
  text-decoration: none;
  border-radius: 10px;
  padding: 16px 10px;
  font-weight: 700;
  box-shadow: 0 5px 16px rgba(0,0,0,0.06);
}

/* ロケ地カード */

.location-archive {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.archive-title {
  font-size: 30px;
  color: #173b2b;
  margin-bottom: 24px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.location-card {
  display: block;
  max-width: 420px;
  background: #fff;
  color: #111;
  text-decoration: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: 0.25s ease;
}

.location-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0,0,0,0.16);
}

.location-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #ddd;
  overflow: hidden;
}

.location-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: #2f6b3f;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
}

.location-body {
  padding: 18px;
}

.location-place {
  font-size: 13px;
  color: #555;
  margin: 0 0 8px;
}

.location-body h2 {
  font-size: 20px;
  line-height: 1.45;
  color: #173b2b;
  margin: 0 0 10px;
}

.location-meta {
  font-size: 14px;
  color: #555;
  margin: 6px 0;
}

.location-more {
  margin-top: 16px;
  color: #5f7f3a;
  font-size: 14px;
  font-weight: 700;
}

.no-image {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e5e5;
  color: #888;
}

/* =========================
   LOCUS MAP 詳細ページ
========================= */

.locus-single-page {
  background: #f7f4ea;
  padding: 28px 20px 80px;
  color: #1b3326;
}

.locus-breadcrumb {
  max-width: 1180px;
  margin: 0 auto 24px;
  font-size: 13px;
  color: #666;
}

.locus-single-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.locus-single-main,
.locus-single-side {
  min-width: 0;
}

.locus-single-hero {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.locus-area-label {
  display: inline-block;
  background: #0b3b22;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.locus-single-title-area h1 {
  font-size: 34px;
  line-height: 1.35;
  margin: 0 0 10px;
  color: #133d2a;
}

.locus-catch {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin: 0 0 14px;
}

.locus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 24px;
}

.locus-tags span {
  background: #edf0e7;
  color: #133d2a;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
}

/* Smart Slider */

.locus-slider-wrap {
  margin-top: 24px;
  border-radius: 16px;
  overflow: hidden;
  background: #eee;
}

.locus-slider-wrap .n2-section-smartslider {
  overflow: hidden;
}

.locus-main-photo {
  margin-top: 24px;
  border-radius: 16px;
  overflow: hidden;
  background: #eee;
}

.locus-main-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.locus-section {
  background: #fff;
  border-radius: 14px;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid #e6e2d8;
}

.locus-section h2 {
  font-size: 22px;
  color: #133d2a;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #edf0e7;
}

.locus-content {
  font-size: 15px;
  line-height: 2;
  color: #333;
}

.locus-table,
.locus-side-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.locus-table th,
.locus-table td,
.locus-side-table th,
.locus-side-table td {
  border: 1px solid #e5e0d6;
  padding: 13px 14px;
  font-size: 14px;
  line-height: 1.7;
  vertical-align: top;
}

.locus-table th,
.locus-side-table th {
  width: 34%;
  background: #faf9f5;
  color: #1b3326;
  font-weight: 700;
  text-align: left;
}

.locus-access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.locus-access-grid > div {
  background: #faf9f5;
  border: 1px solid #e5e0d6;
  border-radius: 12px;
  padding: 18px;
}

.locus-access-grid h3 {
  font-size: 16px;
  margin: 0 0 10px;
  color: #133d2a;
}

.locus-access-grid p {
  margin: 0;
  color: #444;
  line-height: 1.8;
}

.locus-address-box {
  margin-top: 18px;
  background: #faf9f5;
  border-radius: 12px;
  padding: 18px;
}

.locus-address-box p {
  margin: 8px 0 0;
}

.locus-map-box {
  margin-top: 24px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e0d6;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.locus-map-box iframe {
  width: 100%;
  height: 450px;
  display: block;
  border: none;
}

.locus-side-box {
  background: #fff;
  border: 1px solid #e5e0d6;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.04);
}

.locus-side-box h2 {
  background: #07391f;
  color: #fff;
  font-size: 18px;
  padding: 14px 18px;
  margin: 0;
}

.locus-side-table th,
.locus-side-table td {
  font-size: 13px;
}

.locus-side-table th {
  width: 38%;
}

.locus-side-table a {
  color: #1167b1;
  font-weight: 700;
}

.locus-contact-button {
  display: block;
  margin: 18px;
  background: #07391f;
  color: #fff !important;
  text-align: center;
  text-decoration: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
}

.locus-contact-button:hover {
  opacity: 0.86;
}

.locus-jissekisya-comment {
  padding: 18px;
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: #333;
  background: #faf9f5;
  border-left: 4px solid #0b3b22;
}

/* 関連ロケ地 */

.locus-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.locus-related-card {
  display: block;
  background: #fff;
  color: #111;
  text-decoration: none;
  border: 1px solid #e6e2d8;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.25s ease;
}

.locus-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.locus-related-thumb {
  aspect-ratio: 4 / 3;
  background: #eee;
}

.locus-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.locus-related-body {
  padding: 12px;
}

.locus-related-body h3 {
  font-size: 15px;
  line-height: 1.45;
  color: #133d2a;
  margin: 0 0 6px;
}

.locus-related-body p {
  font-size: 12px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Cocoon対策 */

.single-location .main {
  width: 100%;
}

.single-location .sidebar {
  display: none;
}

.single-location .content-in {
  display: block;
}

.single-location .article {
  width: 100%;
}

/* =========================
   レスポンシブ
========================= */

@media (max-width: 1024px) {
  .locus-hero {
    grid-template-columns: 1fr;
  }

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

  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .locus-map-visual {
    width: 480px;
  }
}

@media (max-width: 900px) {
  .locus-single-layout {
    grid-template-columns: 1fr;
  }

  .locus-single-title-area h1 {
    font-size: 28px;
  }

  .locus-access-grid {
    grid-template-columns: 1fr;
  }

  .locus-single-page {
    padding: 20px 14px 60px;
  }

  .locus-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .locus-search-box form {
    grid-template-columns: 1fr;
  }

  .locus-map-visual {
    width: 340px;
  }

  .locus-map-box iframe {
    height: 320px;
  }
}

@media (max-width: 640px) {
  .locus-hero {
    padding: 42px 18px 36px;
  }

  .locus-hero h1 {
    font-size: 32px;
  }

  .locus-area-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   エリア選択モーダル
========================= */

.locus-area-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.locus-area-modal.is-open {
  display: block;
}

.locus-area-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.locus-area-modal-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(920px, calc(100% - 32px));
  max-height: 82vh;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 5px solid #208c46;
  border-radius: 18px;
  overflow-y: auto;
  box-shadow: 12px 12px 0 rgba(32,140,70,0.35);
}

.locus-area-modal-close {
  position: sticky;
  bottom: 0;
  width: 100%;
  height: 64px;
  background: #208c46;
  color: #fff;
  border: none;
  font-size: 42px;
  font-weight: 700;
  cursor: pointer;
}

.locus-area-modal-content {
  display: none;
}

.locus-area-modal-content.is-active {
  display: block;
}

.locus-area-modal-content h2 {
  margin: 0;
  padding: 26px 24px;
  text-align: center;
  color: #208c46;
  font-size: 34px;
  border-bottom: 2px solid #208c46;
}

.prefecture-list {
  display: grid;
  grid-template-columns: 1fr;
}

.prefecture-item {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 98px;
  padding: 18px 28px;
  color: #208c46;
  text-decoration: none;
  border-bottom: 1px solid #208c46;
  transition: 0.2s ease;
}

.prefecture-item:hover {
  background: #fff000;
}

.prefecture-name {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

.prefecture-name span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: #666;
}

.prefecture-thumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  overflow: hidden;
}

.prefecture-thumbs img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #1b3326;
  background: #fff;
}

@media (max-width: 640px) {
  .locus-area-modal-panel {
    width: calc(100% - 20px);
    max-height: 86vh;
  }

  .locus-area-modal-content h2 {
    font-size: 26px;
  }

  .prefecture-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 20px;
  }

  .prefecture-name {
    font-size: 24px;
  }

  .prefecture-thumbs img {
    width: 48px;
    height: 48px;
  }
}

.area-view-link{
  display:block;
  text-align:center;
  background:#208c46;
  color:#fff !important;
  text-decoration:none;
  padding:18px;
  border-radius:12px;
  font-size:24px;
  font-weight:800;
  transition:.25s;
}

.area-view-link:hover{
  background:#166c34;
  transform:translateY(-2px);
}

.archive-count{
  color:#5f7f3a;
  font-size:0.75em;
  font-weight:700;
}

/* =========================
   TOPページ スマホ調整
========================= */

@media (max-width: 1024px) {

  .locus-hero-text {
    min-width: 0;
  }

  .locus-map-visual {
    width: 100%;
  }

}

@media (max-width: 768px) {

  .locus-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px;
  }

  .locus-map-visual {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .locus-search-box form {
    grid-template-columns: 1fr;
  }

}

/* 地図上のピル型ボタン */

.map-hotspot{
  position:absolute;
  display:flex;
  align-items:center;
  justify-content:center;
  width:140px;
  height:54px;
  background:#f1f6ea;
  color:#173b2b;
  border-radius:999px;
  text-decoration:none;
  font-size:15px;
  font-weight:700;
  box-shadow:0 8px 20px rgba(0,0,0,.12), inset 0 -4px 0 rgba(0,0,0,.05);
  transition:.25s;
}

.map-hotspot:hover{
  background:#2f6b3f;
  color:#fff;
  transform:translateY(-3px);
}

.map-hokkaido{ top:16%; right:3%; }
.map-kanto{ top:52%; right:8%; }
.map-chubu{ top:30%; left:38%; }
.map-kinki{ top:66%; left:42%; }
.map-chugoku{ top:52%; left:14%; }
.map-kyushu{ bottom:12%; left:3%; }