@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #faa048;
  --primary-light: #ffca9c;
  --primary-dark: #e08020;
  --text-dark: #333;
  --text-light: #666;
  --border-color: #e0e0e0;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --spacing-xs: 0.4rem;
  --spacing-sm: 0.8rem;
  --spacing-md: 1.6rem;
  --spacing-lg: 2.4rem;
  --spacing-xl: 3.2rem;
  --font-xs: 1.2rem;
  --font-13: 1.3rem;
  --font-sm: 1.4rem;
  --font-md: 1.6rem;
  --font-lg: 1.8rem;
  --font-xl: 2rem;
  --font-2xl: 2.4rem;
}

html {
  font-size: 62.5%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
}

.header-section {
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.header-section .header-navigation {
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 16px 32px;
}
.header-section .header-navigation.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
@media (max-width: 992px) {
  .header-section .header-navigation {
    padding: 16px 4px;
  }
}
.header-section .header-navigation .header-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-section .header-navigation .header-nav-container .logo-container {
  flex-shrink: 0;
}
.header-section .header-navigation .header-nav-container .logo-container a {
  display: inline-block;
  height: 100%;
  width: auto;
}
.header-section .header-navigation .header-nav-container .logo-container a img {
  height: 28px;
}
.header-section .header-navigation .header-nav-container .menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-dark);
}
.header-section .header-navigation .header-nav-container .menu-toggle svg {
  width: 24px;
  height: 24px;
}
@media (max-width: 992px) {
  .header-section .header-navigation .header-nav-container .menu-toggle {
    display: block;
  }
}
.header-section .header-navigation .header-nav-container .main-nav {
  display: flex;
  align-items: center;
}
.header-section .header-navigation .header-nav-container .main-nav .menu-header {
  display: none;
}
@media (max-width: 992px) {
  .header-section .header-navigation .header-nav-container .main-nav .menu-header {
    display: flex;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
    color: #374151;
    justify-content: space-between;
    align-items: center;
  }
}
.header-section .header-navigation .header-nav-container .main-nav .nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}
.header-section .header-navigation .header-nav-container .main-nav .nav-list .nav-item {
  margin: 0;
}
.header-section .header-navigation .header-nav-container .main-nav .nav-list .nav-item .nav-link {
  display: block;
  padding: 6px 12px;
  color: #0F766E;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  background-color: #F3F4F6;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.header-section .header-navigation .header-nav-container .main-nav .nav-list .nav-item .nav-link:hover {
  color: #0F766E;
  background-color: #e5e7eb;
}
@media (max-width: 1024px) {
  .header-section .header-navigation .header-nav-container .main-nav .nav-list .nav-item .nav-link {
    font-size: 13px;
    padding: 5px 10px;
  }
}
@media (max-width: 992px) {
  .header-section .header-navigation .header-nav-container .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
    display: block;
  }
  .header-section .header-navigation .header-nav-container .main-nav.active {
    right: 0;
  }
  .header-section .header-navigation .header-nav-container .main-nav .menu-header {
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
    color: #374151;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .header-section .header-navigation .header-nav-container .main-nav .menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #6b7280;
    transition: color 0.3s;
  }
  .header-section .header-navigation .header-nav-container .main-nav .menu-close:hover {
    color: #374151;
  }
  .header-section .header-navigation .header-nav-container .main-nav .menu-close svg {
    width: 24px;
    height: 24px;
  }
  .header-section .header-navigation .header-nav-container .main-nav .nav-list {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }
  .header-section .header-navigation .header-nav-container .main-nav .nav-list .nav-item {
    border-bottom: 1px solid #e5e7eb;
  }
  .header-section .header-navigation .header-nav-container .main-nav .nav-list .nav-item .nav-link {
    padding: 16px 24px;
    border-radius: 0;
    background: white;
    font-size: 15px;
  }
  .header-section .header-navigation .header-nav-container .main-nav .nav-list .nav-item .nav-link:hover {
    background: #f9fafb;
    padding-left: 32px;
  }
}
.header-section .header-navigation .menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
.header-section .header-navigation .menu-overlay.active {
  display: block;
}

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

/* 2カラムレイアウト（デスクトップ） */
.hero-and-tabs-container {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0 auto;
  margin-bottom: 24px;
}

@media (min-width: 1024px) {
  .hero-and-tabs-container {
    grid-template-columns: 1fr 1fr;
  }
  .right-column {
    position: sticky;
    top: 20px;
    align-self: start;
  }
}
.left-column {
  margin: 0 auto;
  width: 100%;
}

/* ヒーローカード */
.hero-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  margin-bottom: 24px;
  max-width: 400px;
}

.hero-image {
  width: 100%;
  aspect-ratio: 1/1;
  max-height: 300px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
  position: relative;
  max-width: 400px;
  position: relative;
  overflow: hidden;
}

.cg-slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cg-slider-image.active {
  opacity: 1;
  position: relative;
}

/* 矢印ボタン */
.cg-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cg-slider-arrow:hover {
  background: rgb(255, 255, 255);
  transform: translateY(-50%) scale(1.1);
}

.cg-slider-prev {
  left: 10px;
}

.cg-slider-next {
  right: 10px;
}

.cg-slider-arrow svg {
  color: var(--text-dark);
}

/* カウンター */
.cg-slider-counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  z-index: 10;
}

.hero-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.hero-content {
  padding: 24px;
}

.hero-content h1 {
  font-size: 25px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* アイコンと文字の間隔 */
  font-size: 12px; /* かなり小さめでOK */
  color: #888; /* 薄いグレーで主張させない */
  margin-bottom: 8px; /* タイトルとの余白 */
  font-family: monospace, sans-serif; /* 数字を等幅にしてスッキリ見せる（任意） */
}

.last-updated .update-icon {
  width: 12px;
  height: 12px;
  opacity: 0.7; /* アイコンも少し薄く */
}

/* スマホなど狭い画面での調整 */
@media (max-width: 768px) {
  .last-updated {
    font-size: 11px;
    margin-bottom: 4px;
  }
}
.quick-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.quick-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--bg-light);
  border-radius: 16px;
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 500;
}

.modal-flex {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.rating {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: var(--primary-light);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-right: 10px;
}

.hero-cta {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(250, 160, 72, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--text-dark);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.breadcrumb-container {
  max-width: 1280px;
  padding: 0 1.6rem;
}

.breadcrumb-card {
  background: white;
  border-radius: 0.8rem;
  padding: 1rem 1.6rem;
  margin-bottom: 1.6rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  list-style: none;
  flex-wrap: wrap;
  font-size: 1.3rem;
}
.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.breadcrumb-list a {
  color: #0F766E;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.breadcrumb-list a:hover {
  color: #047857;
}

.breadcrumb-arrow {
  width: 1.2rem;
  height: 1.2rem;
  color: #cbd5e0;
}

.breadcrumb-current {
  color: #718096;
  font-weight: 600;
}

/* タグカード（独立） */
.tags-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 24px;
}

.tags-card h3 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--text-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.camp-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.camp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 24px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s;
  cursor: pointer;
}

.camp-tag:hover {
  border-color: var(--primary-color);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(250, 160, 72, 0.2);
}

.tag-icon {
  font-size: 14px;
  display: flex;
  align-items: center;
}

.tag-badge {
  background: var(--primary-color);
  color: white;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}

/* タブカード */
.tabs-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
  overflow: hidden;
  width: 100%;
}

.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab {
  flex: 1;
  min-width: 100px;
  padding: 14px 16px;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 14px;
}

.tab:hover {
  color: var(--primary-color);
  background: var(--bg-light);
}

.tab.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background: var(--bg-light);
}

.tab-content {
  display: none;
  padding: 24px;
  animation: fadeIn 0.3s;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  table-layout: fixed;
}

.info-table tbody {
  width: 100%;
}

.info-table tr {
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

.info-table tr:last-child {
  border-bottom: none;
}

.tel-font {
  font-weight: 600;
  font-size: 18px;
  color: var(--primary-color);
  margin-right: 4px;
}

.info-table th {
  text-align: left;
  white-space: nowrap;
  padding: 14px 0;
  font-weight: 600;
  color: var(--text-dark);
  width: 160px;
  vertical-align: top;
  font-size: 14px;
}

.nowrap {
  /* white-space: nowrap; */
  font-size: 12px;
}

.info-table td {
  padding: 14px 0;
  color: var(--text-light);
  font-size: 14px;
  width: 100%;
}

.info-highlight th {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dogrun-highlight {
  color: #4CAF50;
  font-weight: 700;
  font-size: 15px;
}

.info-icon-inline {
  width: 18px;
  height: 18px;
  color: var(--primary-color);
}

.value-highlight {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
}

.value-note {
  font-size: 13px;
  color: var(--text-light);
  margin-left: 8px;
}

.value-note strong {
  font-size: 18px;
  margin-left: 1px;
}

/* 料金タブ */
.pricing-card {
  background: var(--white);
  border-radius: 12px;
  margin-top: 20px;
}

.pricing-tabs {
  margin-bottom: 20px;
}

.pricing-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 16px;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-tab {
  padding: 10px 12px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 12px 12px 0 0;
  min-width: 90px;
}

.pricing-tab:hover {
  color: var(--primary-color);
  background: var(--bg-light);
}

.pricing-tab-pet {
  color: #4CAF50;
}

.pricing-tab-pet:hover {
  color: #4CAF50;
  background: var(--bg-light);
}

.pricing-tab.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background: var(--bg-light);
}

.pricing-tab-pet.active {
  color: #4CAF50;
  border-bottom-color: #4CAF50;
  background: var(--bg-light);
}

.pricing-content {
  display: none;
  animation: fadeIn 0.3s;
}

.pricing-content.active {
  display: block;
}

.price-display {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  padding: 20px;
  text-align: center;
  background: var(--bg-light);
  border-radius: 8px;
}

.price-unit {
  font-size: 16px;
  color: var(--text-light);
  margin-left: 8px;
}

.pricing-notes {
  margin-top: 16px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

.pricing-notes-preview {
  display: inline;
}

.pricing-notes-full {
  display: none;
}

.pricing-notes.expanded .pricing-notes-preview {
  display: none;
}

.pricing-notes.expanded .pricing-notes-full {
  display: inline;
}

.pricing-notes-toggle {
  display: inline;
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
  transition: all 0.3s;
}

.pricing-notes-toggle:hover {
  color: var(--primary-dark);
}

.price-display-sub {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 12px 20px;
  text-align: center;
  margin-top: 8px;
}

.price-unit-sub {
  font-size: 13px;
  color: var(--text-light);
  margin-left: 4px;
}

.fishing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.fishing-section {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
  border-radius: 12px;
  padding: 20px;
  border-left: 4px solid #4CAF50;
  min-width: 0; /* これ追加 */
  overflow: hidden; /* これも追加 */
}

.fishing-section-nearby {
  background: linear-gradient(135deg, #e3f2fd 0%, #e8eaf6 100%);
  border-left-color: #2196F3;
}

.fishing-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fishing-section-nearby .fishing-section-title {
  color: #1565c0;
}

.fishing-species {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.fish-tag {
  background: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.fishing-access {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  color: #666;
}

.fishing-access-icon {
  width: 16px;
  height: 16px;
}

/* 温泉料金テーブル */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  font-size: var(--font-13);
}

.price-table thead {
  background: var(--primary-light);
}

.price-table th,
.price-table td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.price-table th {
  font-weight: 600;
  color: var(--text-dark);
}

.price-table tbody th {
  text-align: left;
  font-weight: 500;
}

.price-table tfoot td {
  padding: 16px;
  font-size: 13px;
  color: var(--text-light);
  text-align: left;
  background: var(--bg-light);
}

.site-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background-color: var(--background-light);
  border-radius: var(--radius-md);
}
@media (max-width: 768px) {
  .site-details {
    grid-template-columns: repeat(2, 1fr);
  }
}
.site-details .detail-item {
  text-align: center;
  padding: var(--spacing-xs);
}
.site-details .detail-item .detail-value {
  font-size: var(--font-md);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.1rem;
}
.site-details .detail-item .detail-label {
  font-size: var(--font-xs);
  color: var(--text-light);
  line-height: 1.3;
}

/* サイトプレビュー（小） */
.site-preview-mini {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--bg-light);
  border-radius: 8px;
  margin: 16px 0;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  width: 100%;
  box-sizing: border-box; /* padding分をwidthに含める */
  min-width: 0;
  overflow: hidden;
}

.site-preview-mini:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.preview-thumb {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}

.preview-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.preview-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-url {
  font-size: 12px;
  color: var(--text-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 周辺施設アコーディオン */
.nearby-accordion {
  margin-top: 20px;
}

.nearby-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-color);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
}

.nearby-accordion-header:hover {
  color: var(--primary-color);
}

.nearby-accordion-header .toggle-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.nearby-accordion.active .toggle-icon {
  transform: rotate(180deg);
}

.nearby-accordion-content {
  display: none;
  padding-top: 12px;
}

.nearby-accordion.active .nearby-accordion-content {
  display: block;
}

/* 距離表示（シンプル） */
.distance-info-simple {
  text-align: center;
  background: var(--bg-light);
  border-radius: 8px;
}

.distance-value-large {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.distance-label-simple {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

/* 関連リンク */
.related-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px;
  background: var(--bg-light);
  border-radius: 8px;
  margin-top: 20px;
}

/* 紹介文アコーディオン */
.intro-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dark);
}

.intro-text p {
  margin-bottom: 16px;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.intro-preview {
  display: block;
}

.intro-full {
  display: none; /* ← これが抜けてた */
}

.intro-text.expanded .intro-preview {
  display: none;
}

.intro-text.expanded .intro-full {
  display: block;
}

.intro-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 0;
  margin-top: 8px;
  transition: all 0.3s;
}

.intro-toggle:hover {
  color: var(--primary-dark);
}

.related-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s;
}

.related-link:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateX(4px);
}

/* 周辺施設カード */
.nearby-facilities-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 24px;
  margin-bottom: 24px;
  width: 100%;
}

.nearby-facilities-card > h2 {
  margin-bottom: 20px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nearby-list {
  list-style: none;
  padding: 0;
}

.nearby-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.nearby-item:last-child {
  border-bottom: none;
}

.nearby-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nearby-name-link {
  color: #1976d2;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  font-size: 15px;
}

.nearby-name-link:hover {
  color: #1565c0;
  text-decoration: underline;
}

.nearby-name {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 15px;
}

.nearby-distance {
  font-size: 13px;
  color: var(--text-light);
}

.nearby-map-btn {
  padding: 6px 16px;
  background: var(--primary-color);
  color: white;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.nearby-map-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.tabs-nav-mini {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
}

.tab-mini {
  flex: 1;
  min-width: 95px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 13px;
}

.tab-mini:hover {
  color: var(--primary-color);
  background: var(--bg-light);
}

.tab-mini.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background: var(--bg-light);
}

.tab-content-mini {
  display: none;
  animation: fadeIn 0.3s;
}

.tab-content-mini.active {
  display: block;
}

/* モーダル */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-nearby {
  background-color: var(--bg-light);
  margin: 0 auto;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-light);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--text-dark);
}

.modal-close svg {
  width: 24px;
  height: 24px;
}

.modal-body {
  padding: 0;
}

.modal-body iframe {
  width: 100%;
  height: 60vh;
  border: none;
}

/* マップを見るボタン */
.map-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.3s;
  padding: 10px 16px;
}

.map-view-btn-nearby {
  font-weight: 600;
  font-size: 16px;
}

.map-view-btn:hover {
  color: var(--primary-dark);
}

.map-view-btn .mini-icon {
  width: 16px;
  height: 16px;
}

/* 類似キャンプ場カード（横スクロール） */
.similar-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 24px;
  margin-bottom: 24px;
  width: 100%;
}

.similar-card h2 {
  margin-bottom: 20px;
  color: var(--text-dark);
}

.similar-scroll-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.similar-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.similar-scroll-container::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 4px;
}

.similar-scroll-container::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

.similar-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
  margin-top: 4px;
}

.similar-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.similar-image {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
}

.similar-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center 60%;
     object-position: center 60%;
}

.similar-info {
  padding: 14px;
}

.similar-info h3 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.similar-info p {
  font-size: 13px;
  color: var(--text-light);
  margin: 4px 0;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s;
  margin-bottom: 24px;
}

.view-all-link:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

/* 特集誘導（横スクロール） */
.feature-section {
  border-top: 2px solid var(--border-color);
  padding-top: 20px;
}

.feature-section h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.feature-scroll-container {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
}

.feature-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.feature-scroll-container::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 4px;
}

.feature-scroll-container::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

.feature-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s;
  margin-top: 2px;
}

.feature-card:hover {
  border-color: var(--primary-color);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 24px;
}

.feature-text {
  font-weight: 600;
  font-size: 14px;
}

/* ナビゲーションハブ（シンプル横並び） */
.navigation-hub {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 24px;
  margin-bottom: 24px;
  width: 100%;
}

.navigation-hub h2 {
  margin-bottom: 20px;
  color: var(--text-dark);
}

.nav-section {
  margin-bottom: 20px;
}

.nav-section:last-child {
  margin-bottom: 0;
}

.nav-section h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links-simple {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav-links-simple a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s;
}

.nav-links-simple a:hover {
  color: var(--primary-color);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .container {
    padding: 12px;
  }
  .hero-image {
    max-height: 300px;
    font-size: 32px;
  }
  .hero-image img {
    -o-object-fit: cover;
       object-fit: cover;
    /* object-position: center 60%; */
  }
  .hero-content {
    padding: 16px;
  }
  .hero-content h1 {
    font-size: 20px;
  }
  .btn {
    width: 100%;
  }
  .tags-card {
    padding: 16px;
  }
  .tab {
    font-size: 13px;
    padding: 12px 10px;
    min-width: 90px;
  }
  .tab-content {
    padding: 16px;
  }
  .info-table th {
    width: 90px; /* 固定幅を指定（スマホで読みやすい幅） */
    font-size: 13px;
    padding-right: 4px;
  }
  .info-table td {
    font-size: 13px;
  }
  .fishing-grid {
    grid-template-columns: 1fr;
  }
  .nearby-facilities-card,
  .similar-card,
  .navigation-hub {
    padding: 16px;
  }
  .similar-item {
    flex: 0 0 240px;
  }
  .feature-card {
    flex: 0 0 220px;
  }
  .related-links {
    flex-direction: column;
  }
  .related-link {
    width: 100%;
    justify-content: center;
  }
  .info-table .nowrap {
    /* white-space: nowrap; */
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .quick-tags {
    gap: 8px;
  }
  .quick-tag {
    font-size: 12px;
    padding: 5px 10px;
  }
  .rating {
    font-size: 14px;
    padding: 8px 14px;
  }
  .camp-tags {
    gap: 8px;
  }
  .camp-tag {
    font-size: 12px;
    padding: 8px 12px;
  }
  .info-table th {
    width: 100px; /* スマホでは160pxは広すぎるので狭める */
    font-size: 13px;
    padding: 14px 8px 14px 0;
  }
  .info-table td {
    padding: 14px 0;
  }
}
/* ============================
   追従検索ボタン
   ============================ */
.floating-search-btn {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(250, 160, 72, 0.4);
  transition: all 0.3s ease;
  z-index: 900;
}

.floating-search-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(250, 160, 72, 0.5);
}

.floating-search-btn svg {
  color: white;
  width: 24px;
  height: 24px;
}

/* モバイル調整 */
@media (max-width: 768px) {
  .floating-search-btn {
    top: 70px;
    right: 16px;
    width: 46px;
    height: 46px;
  }
  .floating-search-btn svg {
    width: 22px;
    height: 22px;
  }
}
/* ============================
   検索モーダル
   ============================ */
.search-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1100;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.search-modal-overlay.active {
  display: flex;
}

.search-modal-content {
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  animation: searchModalFadeIn 0.3s ease;
}

@keyframes searchModalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.search-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.search-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.search-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-light);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.search-modal-close:hover {
  color: var(--text-dark);
  background: var(--bg-light);
}

.search-modal-close svg {
  width: 24px;
  height: 24px;
}

.search-modal-body {
  padding: 24px;
}

/* 地方・都道府県の横並び */
.modal-select-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.modal-select-row .modal-form-group {
  flex: 1;
  margin-bottom: 0;
}

/* フォームグループ */
.modal-form-group {
  margin-bottom: 20px;
}

.modal-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.modal-select {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.3s;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
}

.modal-select:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* チェックボックス群 */
.modal-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.modal-checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.modal-checkbox-item:hover {
  border-color: var(--primary-color);
  background: var(--primary-light);
}

.modal-checkbox-item input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.modal-checkbox-item input[type=checkbox]:checked + .modal-checkbox-label {
  color: var(--primary-dark);
  font-weight: 600;
}

.modal-checkbox-label {
  font-size: 13px;
  color: var(--text-dark);
  white-space: nowrap;
}

/* 検索ボタン */
.modal-search-submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-search-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(250, 160, 72, 0.3);
}

/* モーダルオーバーレイ */
.site-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10001;
  /* フレックス設定（PC用） */
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  /* ★重要：iOSで背景ごとスクロールするのを防ぐ */
  touch-action: none;
}

.site-modal-overlay.active {
  display: flex;
}

/* モーダル本体（97.5% + 角丸） */
.site-modal {
  width: 97.5%;
  height: 92vh;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  position: relative;
}

/* CAMPETバナー */
.campet-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  position: relative;
  z-index: 50;
}

/* 戻るボタン（左側） */
.banner-back-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 2px;
  transition: all 0.2s;
  color: var(--text-light);
}

.banner-back-btn svg {
  width: 24px;
  height: 24px;
}

.banner-back-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-4px);
}

.banner-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1px;
}

.banner-text {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 600;
}

.banner-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--text-light);
}

.icon-btn svg {
  width: 24px;
  height: 24px;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* iframe */
/* iframe コンテナ */
#siteIframeContainer {
  flex: 1;
  width: 100%;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
  /* ローディング表示 */
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="20" cy="20" r="15" fill="none" stroke="%23ccc" stroke-width="3" stroke-dasharray="70" stroke-dashoffset="70"><animate attributeName="stroke-dashoffset" values="70;0" dur="2s" repeatCount="indefinite"/></circle></svg>');
  background-position: center center;
  background-repeat: no-repeat;
}

/* 生成される iframe */
#siteIframeContainer iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: white;
  display: block;
}

/* フローティング戻るボタン */
.floating-back-btn {
  position: absolute;
  bottom: 32px;
  right: 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-light);
  border: 4px solid white;
  border-color: var(--text-light);
  padding: 16px 28px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.floating-back-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.floating-back-btn:active {
  transform: translateY(-2px) scale(1.02);
}

/* 救済リンク（控えめなデザイン） */
.fallback-link {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: none; /* 下線なし（スッキリさせる） */
  margin-right: 12px; /* バツボタンとの距離 */
  white-space: nowrap; /* 折り返し禁止 */
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ホバー時やタップ時にだけハッキリ見せる */
.fallback-link:hover,
.fallback-link:active {
  color: var(--text-dark);
  text-decoration: underline; /* 押せるとわかるように下線 */
}

/* スマホで画面が狭い時の調整 */
@media (max-width: 370px) {
  .fallback-link {
    font-size: 10px;
    margin-right: 8px;
  }
  .banner-text {
    display: none; /* 狭すぎたら左の「戻る」文字を消してアイコンだけにする */
  }
}
/* スマホ対応 */
@media (max-width: 768px) {
  .site-modal {
    width: 100%;
    height: 92%;
    max-height: none;
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* ★Claude案：GPUレイヤーを独立させて描画を軽くする */
    transform: translateZ(0);
    will-change: transform;
  }
  .site-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    padding: 0;
    padding-top: env(safe-area-inset-top);
    align-items: flex-end;
    touch-action: none;
    overscroll-behavior: none;
    z-index: 10001; /* 念のため */
  }
  .campet-banner {
    flex-shrink: 0;
    padding: 12px 16px;
    position: relative;
    z-index: 50;
  }
  .site-modal-body {
    flex: 1;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    /* ★Claude案：ここにもGPU加速を入れておく */
    transform: translateZ(0);
  }
  .site-modal-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    /* ★Claude案 + 必須設定 */
    /* GPUを使って描画しろ！という命令 */
    transform: translateZ(0);
    /* iOSで慣性スクロールを有効にする */
    -webkit-overflow-scrolling: touch;
    /* 描画の優先度を上げる */
    will-change: scroll-position;
  }
  .banner-logo {
    font-size: 16px;
  }
  .banner-text {
    font-size: 12px;
  }
  .banner-back-btn {
    padding: 10px 16px; /* 押しやすく */
  }
  /* スマホでは下のボタンを消す */
  .floating-back-btn {
    display: none;
  }
}
/* ローディング状態 */
#siteIframe:not([src]) {
  background: #f5f5f5 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="20" cy="20" r="15" fill="none" stroke="%23ccc" stroke-width="3" stroke-dasharray="70" stroke-dashoffset="70"><animate attributeName="stroke-dashoffset" values="70;0" dur="2s" repeatCount="indefinite"/></circle></svg>') center center no-repeat;
}

/* モバイル調整 */
@media (max-width: 480px) {
  .search-modal-content {
    max-width: 100%;
    border-radius: 12px;
  }
  .search-modal-header {
    padding: 16px 20px;
  }
  .search-modal-title {
    font-size: 16px;
  }
  .search-modal-body {
    padding: 20px;
  }
  .modal-select-row {
    flex-direction: column;
    gap: 0;
  }
  .modal-select-row .modal-form-group {
    margin-bottom: 16px;
  }
  .modal-checkbox-item {
    padding: 8px 12px;
  }
  .modal-checkbox-label {
    font-size: 12px;
  }
}
.ad-fullbleed {
  width: 100%;
  background: var(--background-light);
  margin: 0 auto var(--spacing-md);
  height: auto;
  max-width: 1000px;
  min-width: 250px; /* 最小幅を設定 */
}
.ad-fullbleed .adsbygoogle {
  min-height: 60px;
}
@media (min-width: 1024px) {
  .ad-fullbleed .adsbygoogle {
    min-height: 90px;
  }
}

.ad_container {
  width: 100%;
  max-width: 1000px;
  min-width: 250px;
  height: auto;
  margin: 0 auto var(--spacing-md);
}
.ad_container .adsbygoogle {
  min-height: 100px;
}
@media (min-width: 768px) {
  .ad_container .adsbygoogle {
    min-height: 150px;
  }
}

.ad-multiplex-fullbleed {
  /* ページ末尾の帯。左右は画面いっぱい、中央寄せにしない */
  width: 100%;
  margin: clamp(16px, 3vw, 40px) 0 0;
  padding: clamp(8px, 1.5vw, 12px) 0;
  background: var(--background-light); /* うっすら帯にして離脱前に目を止める */
  /* CLS保険：Multiplex は高さ可変なので min-height を持たせる */
}
.ad-multiplex-fullbleed .adsbygoogle {
  display: block;
  min-height: 300px;
}
@media (min-width: 768px) {
  .ad-multiplex-fullbleed .adsbygoogle {
    min-height: 380px;
  }
}
@media (min-width: 1024px) {
  .ad-multiplex-fullbleed .adsbygoogle {
    min-height: 420px;
  }
}
@media (prefers-color-scheme: dark) {
  .ad-multiplex-fullbleed {
    background: color-mix(in srgb, var(--background) 92%, #fff 8%);
  }
}

.footer {
  padding-bottom: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}
.footer .ad_container {
  width: 100%;
  max-width: 1000px;
  min-width: 250px; /* 最小幅を設定 */
  height: auto;
  margin: 0 auto var(--spacing-md);
}
.footer .footer-content {
  height: 3rem;
  display: flex; /* 追加！ */
  justify-content: center; /* 横方向中央 */
  align-items: center; /* 縦方向中央 */
}
.footer .footer-content p {
  text-align: center; /* 一応あってもOK */
  font-size: var(--font-13);
  margin: 0; /* 念のためリセット */
}/*# sourceMappingURL=style_renewal.css.map */