/* =====================
   リセット & 基本設定
   ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

body {
  font-family: 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
  background-color: #fff;
  color: #3b1f02;
  font-size: 16px;
  line-height: 1.6;
}

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

/* =====================
   ヘッダー
   ===================== */
.header {
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
  border-bottom: 1px solid #e8e0cc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 24px;
}

.logo-text {
  font-size: 22px;
  font-weight: bold;
  color: #3b1f02;
  letter-spacing: 0.05em;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 18px;
  color: #3b1f02;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* =====================
   ヒーローセクション
   ===================== */
.hero {
  padding: 0 24px 60px;
}

.top-image {
  width: 100%;
}

.top-image-inner {
  margin: 0 auto;
  padding: 56px 24px;
  aspect-ratio: 1698 / 926;
  background: url('/api/asset/index_hero.png?v=3') center / contain no-repeat;
}

.top-image-text {
  max-width: 50%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top-image-badge {
  display: inline-block;
  padding: 8px 24px;
  border: 1.5px solid #95b36c;
  border-radius: 999px;
  color: #6ea450;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}

.top-image-title {
  font-size: 65px;
  font-weight: 500;
  line-height: 1.2;
  color: #2b1e00;
  margin: 0 0 500px;
}

.top-image-name {
  font-size: inherit;
  font-weight: 410;
}

.top-image-line {
  display: block;
  white-space: nowrap;
}

.top-image-realvoice {
  color: #87b270;
  font-weight: 500;
}

.top-image-rivet {
  color: #6ea450;
}

.top-image-sub {
  font-size: 20px;
  font-weight: 500;
  color: #3b2e17;
  margin: 0;
  line-height: 1.8;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 16px 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.top-image-catch {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 400;
  color: #ef73ef;
  margin: 48px 0 20px;
}

.top-image-catch span {
  border-bottom: 2px solid #ef73ef;
  padding-bottom: 6px;
}

.top-image-catch-icon {
  width: 1.4em;
  height: 1.4em;
}

/* トップ見出しが下から順に浮かび上がるモーション */
@keyframes topImageRise {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.top-image-catch,
.top-image-title,
.top-image-sub {
  opacity: 0;
  animation: topImageRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.top-image-catch,
.top-image-sub {
  animation-delay: 0.2s;
}

.top-image-title {
  animation-delay: 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  .top-image-catch,
  .top-image-title,
  .top-image-sub {
    opacity: 1;
    animation: none;
  }
}

/* =====================
   ドコスルとは トップイメージ
   ===================== */
.about-hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  background: url('/api/asset/about_hero.png') center / 100% 100% no-repeat;
}

.about-hero--usage {
  width: 100%;
  max-width: 1200px;
  background: url('/api/asset/usage_hero.png') center / 100% 100% no-repeat;
}

.about-hero--reviews {
  width: 100%;
  max-width: 1200px;
  background: url('/api/asset/reviews_hero.png') center / 100% 100% no-repeat;
}

.about-hero--area {
  width: 100%;
  max-width: 1200px;
  background: url('/api/asset/area_hero.png') center / 100% 100% no-repeat;
}

.about-hero--company {
  background: url('/api/asset/company_hero.png') center/contain no-repeat;
  background-color: #f8f5ed;
}

.about-hero--usage .about-hero-text {
  max-width: 100%;
  margin-left: 0;
  text-align: center;
  padding-right: 500px;
}

.about-hero--usage .about-hero-lead-box {
  margin-left: 0;
  text-align: center;
  padding-right: 500px;
  margin-top: 0;
}

.about-hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 60px 80px;
  aspect-ratio: 1440 / 417.25;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.about-hero--company .about-hero-inner {
  aspect-ratio: 1756 / 895;
}

.about-hero .breadcrumb {
  margin-left: -36px;
}

.about-hero-text {
  max-width: 100%;
  margin-left: 0;
  text-align: center;
  padding-right: 500px;
}

.about-hero-badge {
  display: inline-block;
  padding: 8px 24px;
  border: 2px solid #95b36c;
  border-radius: 999px;
  color: #6ea450;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-hero-title {
  font-size: 52px;
  font-weight: 500;
  line-height: 1.1;
  color: #3b2e17;
  margin: 0 0 22px;
}

.about-hero-em {
  color: #6ea450;
}

.about-hero-lead-box {
  margin-left: 0;
  text-align: center;
  padding-right: 500px;
  margin-top: 0;
}

.about-hero-lead {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
  color: #4a4130;
  margin: 0;
}

@media (max-width: 900px) {
  .about-hero-inner {
    aspect-ratio: auto;
    min-height: 360px;
    padding: 24px;
  }

  .about-hero .breadcrumb {
    margin-left: 0;
  }

  .about-hero-text {
    max-width: 100%;
    margin-top: 24px;
  }

  .about-hero-title {
    font-size: 48px;
  }

  .about-hero-badge {
    font-size: 16px;
  }

  .about-hero-lead {
    font-size: 16px;
  }
}

/* =====================
   利用規約ページ
   ===================== */
.terms-hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  background: url('/api/asset/terms_hero.png') center/cover no-repeat;
}

.terms-hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 60px 56px;
  box-sizing: border-box;
  text-align: center;
}

.terms-hero .breadcrumb {
  margin-left: -36px;
  justify-content: flex-start;
}

.terms-hero-title {
  font-size: 46px;
  font-weight: 500;
  color: #3b2e17;
  margin: 32px 0 20px;
}

.terms-hero-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.terms-hero-icon img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.terms-hero-dates {
  text-align: right;
  font-size: 14px;
  color: #6b5f4b;
  line-height: 1.8;
}

.terms-hero-dates p {
  margin: 0;
}

/* はじめに */
.terms-intro {
  border: 1px solid #cfe3b8;
  border-radius: 14px;
  padding: 28px 32px;
  background-color: #fff;
  text-align: center;
}

.terms-intro-text {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: #4a4130;
}

/* 目次 */
.terms-toc-title {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: #3b2e17;
  text-align: center;
  width: 100%;
  margin: 0 0 24px;
}

.terms-toc-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background-color: #7db05f;
  border-radius: 2px;
  margin: 10px auto 0;
}

.terms-toc {
  border: 1px solid #ead9b8;
  border-radius: 16px;
  background-color: #fbfaf6;
  padding: 20px 32px;
}

.terms-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(8, auto);
  grid-auto-flow: column;
  column-gap: 48px;
}

.terms-toc-list li {
  border-bottom: 1px dashed #d9cbb0;
}

.terms-toc-list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 4px;
  color: #4a4130;
  transition: color 0.2s;
}

.terms-toc-list a:hover {
  color: #4a8a2e;
}

.terms-toc-num {
  flex-shrink: 0;
  color: #6ea450;
  font-weight: 700;
}

/* 本文 */
.terms-body {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.terms-article {
  scroll-margin-top: 96px;
}

.terms-article-title {
  font-size: 22px;
  font-weight: 700;
  color: #3b2e17;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #7db05f;
}

.terms-clause-list {
  margin: 0;
  padding-left: 1.6em;
}

.terms-clause-list li {
  font-size: 15px;
  line-height: 1.9;
  color: #4a4130;
  margin-bottom: 10px;
}

.terms-clause-list li:last-child {
  margin-bottom: 0;
}

/* 単一項目（番号なし） */
.terms-clause-single {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #4a4130;
}

/* 禁止事項などのリード文 */
.terms-clause-lead {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.9;
  color: #4a4130;
}

/* (1)(2)... 形式のサブリスト */
.terms-sub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: terms-sub;
}

.terms-sub-list li {
  counter-increment: terms-sub;
  position: relative;
  padding-left: 2.6em;
  font-size: 15px;
  line-height: 1.9;
  color: #4a4130;
  margin-bottom: 8px;
}

.terms-sub-list li:last-child {
  margin-bottom: 0;
}

.terms-sub-list li::before {
  content: "(" counter(terms-sub) ")";
  position: absolute;
  left: 0;
  color: #4a4130;
}

/* ネストした小項目（・ 中点） */
.terms-sub-list .terms-sub-list {
  counter-reset: none;
  margin-top: 8px;
  margin-bottom: 4px;
  margin-left: 2.6em;
}

.terms-sub-list .terms-sub-list li {
  counter-increment: none;
  padding-left: 1.3em;
  margin-bottom: 6px;
}

.terms-sub-list .terms-sub-list li::before {
  content: "・";
}

/* 附則 */
.terms-appendix {
  margin-top: 12px;
}

.terms-appendix-head {
  font-size: 15px;
  color: #4a4130;
  margin: 0 0 6px;
}

.terms-appendix-text {
  font-size: 15px;
  line-height: 1.9;
  color: #4a4130;
  margin: 0;
}

.terms-appendix-info {
  margin-top: 24px;
}

/* お問い合わせバナー */
.terms-contact {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 40px;
  border: 1px solid #a9d18e;
  border-radius: 16px;
  background-color: #f6f6f2;
  overflow: hidden;
}

.terms-contact-body {
  flex-shrink: 0;
}

.terms-contact-title {
  font-size: 24px;
  font-weight: 700;
  color: #6ea450;
  margin: 0 0 14px;
}

.terms-contact-text {
  font-size: 15px;
  line-height: 1.8;
  color: #4a4130;
  margin: 0;
}

.terms-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-left: auto;
  padding: 16px 36px;
  border-radius: 10px;
  background-color: #6ea450;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.terms-contact-btn:hover {
  background-color: #5c9040;
}

.terms-contact-btn img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.terms-contact-img {
  flex-shrink: 0;
  width: 130px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .terms-contact {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .terms-contact-btn {
    margin-left: 0;
    width: 100%;
  }

  .terms-contact-img {
    align-self: center;
  }
}

@media (max-width: 900px) {
  .terms-hero-inner {
    padding: 24px;
  }

  .terms-hero .breadcrumb {
    margin-left: 0;
  }

  .terms-hero-title {
    font-size: 36px;
  }

  .terms-toc-list {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-flow: row;
    column-gap: 0;
  }
}

/* 会社概要ページ */
.about-hero--company .about-hero-text,
.about-hero--company .about-hero-lead-box {
  text-align: left;
}

.about-hero--company .about-hero-badge {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  transform: translateX(-70px);
}

@media (max-width: 900px) {
  .about-hero--company .about-hero-badge {
    transform: translateX(-12px);
  }
}

.company-table-wrap {
  border: 1px solid #e2d8c4;
  border-radius: 12px;
  overflow: hidden;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  text-align: left;
  vertical-align: middle;
  padding: 16px 24px;
  border-bottom: 1px solid #e2d8c4;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-table th {
  width: 210px;
  background-color: #fffdf8;
  color: #5a8a3a;
  border-right: 1px solid #e2d8c4;
}

.company-th-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.company-th-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #6ea450;
}

.company-table td {
  color: #3b2e17;
}

.company-logo {
  height: 28px;
  width: auto;
  display: block;
}

.company-link,
.company-value-accent {
  color: #6ea450;
}

.company-link:hover {
  text-decoration: underline;
}

.company-section-lead {
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
  color: #4a4130;
  margin: 0 0 32px;
}

@media (max-width: 720px) {
  .company-table th {
    width: 140px;
    padding: 14px 12px;
  }

  .company-table td {
    padding: 14px 12px;
  }
}

/* =====================
   都道府県ページ
   ===================== */
.pref-hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  background: url('/api/asset/pref_hero.png') center/cover no-repeat;
  border-radius: 20px;
  overflow: hidden;
}

.pref-breadcrumb {
  max-width: 1200px;
  margin: 20px auto 16px;
  padding: 0 24px;
  box-sizing: border-box;
}

.pref-hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 60px 56px;
  box-sizing: border-box;
}

.pref-hero .breadcrumb {
  margin-left: -36px;
}

.pref-hero-body {
  max-width: 60%;
}

.pref-hero-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.3;
  color: #3b2e17;
  margin: 12px 0 18px;
}

.pref-hero-em {
  color: #6ea450;
}

.pref-hero-lead {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: #4a4130;
  margin: 0 0 28px;
}

.pref-stats {
  display: flex;
  gap: 20px;
}

.pref-stat-card {
  flex: 1;
  min-width: 0;
  max-width: 165px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #e3d9c4;
  border-radius: 12px;
  padding: 10px;
  text-align: right;
}

.pref-stat-label {
  font-size: 13px;
  color: #6b5f4b;
  margin: 0 0 8px;
  text-align: right;
}

.pref-stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pref-stat-icon-box {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 30px;
}

.pref-stat-icon {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.pref-stat-count {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pref-stat-num {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  color: #5a8a3a;
}

.pref-stat-unit {
  font-size: 12px;
  color: #6b5f4b;
  margin: 2px 0 0;
}

/* レイアウト（本体＋サイドPR） */
.pref-layout {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.pref-main {
  flex: 1;
  min-width: 0;
  border: 1px solid #ead9b8;
  border-radius: 16px;
  background-color: #fbfaf6;
  padding: 24px 28px 28px;
}

.pref-side {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 市区町村名で検索 */
.pref-search-box {
  margin-bottom: 24px;
}

.pref-search-title {
  font-size: 17px;
  font-weight: 700;
  color: #3b2e17;
  margin: 0 0 12px;
}

.pref-search-row {
  position: relative;
  max-width: 420px;
}

.pref-search-input {
  width: 100%;
  padding: 12px 44px 12px 16px;
  border: 1px solid #cce5c1;
  border-radius: 10px;
  font-size: 15px;
  background-color: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.pref-search-input:focus {
  border-color: #87b270;
}

.pref-search-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: #6ea450;
  display: inline-flex;
}

/* PRバナー（本体内・画像バナー） */
.pref-pr-banner {
  display: block;
  margin-bottom: 28px;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pref-pr-banner:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.pref-pr-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

/* PR未設定時に枠だけ確保する空プレースホルダー */
.pref-pr-banner-placeholder {
  margin-bottom: 28px;
  min-height: 90px;
  border: 1px dashed #ddcba6;
  border-radius: 12px;
  background-color: #faf6ee;
}

/* 市区町村一覧のページネーション */
.pref-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 8px;
}

.pref-pagination .page-btn,
.pref-pagination .page-nav-btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #6b5d47;
  background-color: #fff;
  border: 1px solid #e0d6c4;
  border-radius: 10px;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.pref-pagination .page-btn:hover:not(.is-active),
.pref-pagination .page-nav-btn:hover:not(.is-disabled) {
  border-color: #a9d18e;
  color: #4a8a2e;
}

.pref-pagination .page-btn.is-active {
  color: #fff;
  background-color: #6ea450;
  border-color: #6ea450;
  cursor: default;
}

.pref-pagination .page-nav-btn.is-disabled {
  color: #c3b9a8;
  cursor: not-allowed;
  opacity: 0.6;
}

/* 市区町村一覧 */
.pref-city-list-title {
  font-size: 17px;
  font-weight: 700;
  color: #3b2e17;
  margin: 0 0 16px;
}

/* 政令指定都市の区での絞り込み（複数選択可） */
.ward-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.ward-filter-label {
  font-size: 13px;
  font-weight: 700;
  color: #6b5d47;
}

.ward-filter-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ward-btn {
  font-family: inherit;
  font-size: 13px;
  color: #6b5d47;
  background-color: #fff;
  border: 1px solid #d9ccb5;
  border-radius: 8px;
  padding: 7px 14px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.ward-btn:hover {
  border-color: #a9d18e;
  color: #4a8a2e;
}

.ward-btn.is-active {
  color: #fff;
  background-color: #4a8a2e;
  border-color: #4a8a2e;
}

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

.pref-city-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #ead9b8;
  border-radius: 12px;
  background-color: #fff;
  padding: 14px 12px;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.pref-city-card:hover {
  border-color: #cfe3b8;
  box-shadow: 0 6px 18px rgba(122, 168, 90, 0.15);
  transform: translateY(-2px);
}

.pref-city-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.pref-city-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.pref-city-textbox {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pref-city-name {
  font-size: 16px;
  font-weight: 700;
  color: #3b2e17;
  line-height: 1.3;
  white-space: nowrap;
}

.pref-city-count {
  font-size: 10px;
  color: #6ea450;
  margin: 0;
  line-height: 1.5;
  white-space: nowrap;
}

.pref-city-count strong {
  font-size: 11px;
  font-weight: 700;
}

.pref-city-btn {
  display: block;
  margin-top: auto;
  text-align: center;
  border: 1px solid #a9d18e;
  border-radius: 8px;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 700;
  color: #4a8a2e;
  transition: background-color 0.15s, color 0.15s;
}

.pref-city-card:hover .pref-city-btn {
  background-color: #6ea450;
  color: #fff;
  border-color: #6ea450;
}

/* 掲載数0・口コミ0のカードはグレー表示 */
.pref-city-card--empty {
  background-color: #f2f2f2;
  border-color: #dcdcdc;
}

.pref-city-card--empty:hover {
  border-color: #dcdcdc;
  box-shadow: none;
  transform: none;
}

.pref-city-card--empty .pref-city-name,
.pref-city-card--empty .pref-city-count,
.pref-city-card--empty .pref-city-count strong {
  color: #9e9e9e;
}

.pref-city-card--empty .pref-city-icon {
  filter: grayscale(1);
  opacity: 0.55;
}

.pref-city-card--empty .pref-city-btn {
  border-color: #cfcfcf;
  color: #9e9e9e;
}

.pref-city-card--empty:hover .pref-city-btn {
  background-color: #bdbdbd;
  color: #fff;
  border-color: #bdbdbd;
}

.pref-city-empty {
  font-size: 14px;
  color: #8a7c66;
  text-align: center;
  padding: 32px 0;
}

.pref-review-empty {
  grid-column: 1 / -1;
  font-size: 14px;
  color: #8a7c66;
  text-align: center;
  padding: 32px 0;
  margin: 0;
}

.pref-side .side-pr-card .pr-badge {
  display: inline-block;
}

/* ドコスルの口コミについて */
.pref-about-box {
  border: 1px solid #ead9b8;
  border-radius: 16px;
  background-color: #fff;
  padding: 32px 36px 36px;
}

.pref-about-title {
  font-size: 26px;
  font-weight: 700;
  color: #3b2e17;
  margin: 0 0 16px;
}

.pref-about-em {
  color: #6ea450;
}

.pref-about-text {
  font-size: 15px;
  line-height: 1.9;
  color: #6b5f4b;
  margin: 0 0 28px;
}

.pref-about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pref-about-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 12px;
}

.pref-about-feature--green {
  background-color: #f7faf5;
  border: 1px solid #cfe3b8;
}

.pref-about-feature--cream {
  background-color: #fdf9ef;
  border: 1px solid #ead9b8;
}

.pref-about-feature--blue {
  background-color: #f4fafe;
  border: 1px solid #cfe3b8;
}

.pref-about-feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.pref-about-feature-text {
  font-size: 17px;
  font-weight: 700;
  color: #3b2e17;
}

.pref-about-btn {
  display: block;
  width: fit-content;
  margin: 32px auto 0;
  padding: 10px 80px;
  border: 2px solid #6ea450;
  border-radius: 10px;
  color: #6ea450;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.2s, color 0.2s;
}

.pref-about-btn:hover {
  background-color: #6ea450;
  color: #fff;
}

@media (max-width: 900px) {
  .pref-about-box {
    padding: 24px 20px 28px;
  }

  .pref-about-title {
    font-size: 21px;
  }

  .pref-about-features {
    grid-template-columns: 1fr;
  }

  .pref-about-btn {
    width: 100%;
    padding: 14px 0;
  }
}

@media (max-width: 1080px) {
  .pref-city-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .pref-hero-body {
    max-width: 100%;
  }

  .pref-hero .breadcrumb {
    margin-left: 0;
  }

  .pref-hero-inner {
    padding: 24px;
  }

  .pref-hero-title {
    font-size: 30px;
  }

  .pref-layout {
    flex-direction: column;
  }

  .pref-side {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .pref-side .side-pr-card {
    flex: 1;
    min-width: 240px;
  }

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

@media (max-width: 560px) {
  .pref-stats {
    flex-wrap: wrap;
  }

  .pref-city-grid {
    grid-template-columns: 1fr;
  }
}

/* イントロ */
.about-intro {
  width: 100%;
  padding: 64px 24px 24px;
}

.about-intro-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.about-intro-image {
  flex-shrink: 0;
  width: 340px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-intro-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.about-intro-body {
  flex: 1;
}

.about-intro-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  color: #3b2e17;
  margin: 0 0 20px;
}

.about-intro-em {
  color: #6ea450;
}

.about-intro-text {
  font-size: 16px;
  line-height: 1.9;
  color: #6b5f4b;
  margin: 0;
}

/* わかること／特徴 セクション */
.about-section {
  width: 100%;
  padding: 24px;
}

.about-section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* 都道府県ページの一覧セクションはヘッダー幅まで広く使う */
.about-section--wide .about-section-inner {
  max-width: 1200px;
}

.about-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 26px;
  font-weight: 700;
  color: #3b2e17;
  margin: 0 0 12px;
}

.about-clover {
  width: 20px;
  height: 20px;
  object-fit: contain;
  color: #6ea450;
  flex-shrink: 0;
}

.about-card-grid {
  display: grid;
  gap: 24px;
}

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

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

.about-card-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.about-card {
  background-color: #fbfaf6;
  border: 1px solid #ead9b8;
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
}

/* アイコンと見出しを横並びにするカード */
.about-card--row {
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.about-card--row .about-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  min-height: 78px;
}

.about-card--row .about-card-icon {
  margin: 0;
  flex-shrink: 0;
}

.about-card--row .about-card-title {
  margin: 0;
}

.about-card-textbox {
  flex: 1;
  display: flex;
}

.about-card-textbox .about-card-text {
  margin: 0;
}

.about-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}

.about-card-grid--4 .about-card-icon {
  width: 42px;
  height: 42px;
}

.about-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.about-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.about-card-icon--green {
  color: #6ea450;
}

.about-card-icon--pink {
  color: #e58aa5;
}

.about-card-icon--blue {
  color: #7fb0dd;
}

.about-card-icon--yellow {
  color: #e0a92e;
}

.about-card-title {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #3b2e17;
  margin: 0 0 14px;
}

.about-card-text {
  font-size: 14px;
  line-height: 1.9;
  color: #6b5f4b;
  margin: 0;
}

@media (max-width: 900px) {
  .about-intro-inner {
    flex-direction: column;
    text-align: center;
  }

  .about-intro-image {
    width: 100%;
    max-width: 340px;
  }

  .about-card-grid--3,
  .about-card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 560px) {
  .about-card-grid--3,
  .about-card-grid--4,
  .about-card-grid--5 {
    grid-template-columns: 1fr;
  }
}

/* 口コミ集めステップカード */
.about-card--step {
  position: relative;
}

/* 使い方ステップ（項目リスト付き） */

.about-card--steplist {
  text-align: center;
}

.about-card--steplist .about-step-head {
  justify-content: center;
}

.about-step-list {
  list-style: none;
  width: fit-content;
  margin: 18px auto 0;
  padding: 18px 0 0;
  border-top: 1px dashed #d9cbb0;
}

.about-step-list-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 9px 4px;
}

.about-step-list-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.about-step-list-item span {
  font-size: 15px;
  font-weight: 400;
  color: #3b2e17;
}

/* こんな見方がおすすめ */
.about-card--view {
  padding: 32px 24px;
}

.about-view-title {
  font-size: 21px;
  font-weight: 400;
  color: #3b2e17;
  margin: 0 0 18px;
}

.about-view-em {
  color: #6ea450;
}

.about-view-image {
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-view-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.about-view-image--lg {
  height: 100px;
}

/* ステップの流れ（カード間に矢印） */
.about-flow {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.about-flow .about-card {
  flex: 1;
}

.about-flow-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-flow-arrow img {
  width: 28px;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .about-flow {
    flex-direction: column;
    align-items: stretch;
  }

  .about-flow-arrow {
    transform: rotate(90deg);
  }
}

/* メッセージバナー */
.review-message {
  width: 100%;
  max-width: 700px;
  margin: 48px auto 0;
  background: #fcf8ed;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-message-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
}

.review-message-title {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.5;
  color: #3b2e17;
  margin: 0 0 28px;
}

.review-message-em {
  color: #6ea450;
}

.review-message-lead {
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  color: #4a4130;
  margin: 0;
}

@media (max-width: 900px) {
  .review-message-inner {
    padding: 48px 24px;
  }

  .review-message-title {
    font-size: 26px;
  }

  .review-message-lead {
    font-size: 15px;
  }
}


/* 口コミとして掲載する内容（丸型トピック） */
.review-topics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
}

.review-topic {
  text-align: center;
}

.review-topic-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: #eef1e6;
  overflow: hidden;
  margin: 0 auto 12px;
}

.review-topic-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-topic-label {
  font-size: 14px;
  line-height: 1.6;
  color: #3b2e17;
  margin: 0;
}

/* 口コミを見る前に、知って欲しいこと */
.review-note {
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid transparent;
}

.review-note-icon {
  height: 96px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-note-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.review-note-title {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #3b2e17;
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed #cbb98f;
  min-height: 60px;
}

.review-note--white {
  background-color: #ffffff;
}
.review-note--white .review-note-title {
  border-bottom-color: #c0c0c0;
}

.review-note--green {
  background-color: #f5f9f3;
  border-color: #b6cf97;
}
.review-note--green .review-note-title {
  border-bottom-color: #b6cf97;
}

.review-note--pink {
  background-color: #fdf4f3;
  border-color: #f4d4dc;
}
.review-note--pink .review-note-title {
  border-bottom-color: #eeb3c1;
}

.review-note--blue {
  background-color: #f3f7f9;
  border-color: #d5e3f1;
}
.review-note--blue .review-note-title {
  border-bottom-color: #b3cde6;
}

.review-note--yellow {
  background-color: #fdf9ea;
  border-color: #f1e4bd;
}
.review-note--yellow .review-note-title {
  border-bottom-color: #e6cf8c;
}

/* 掲載エリア カード */
.area-card {
  display: block;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.area-card:hover {
  border-color: #cfe3b8;
  box-shadow: 0 6px 18px rgba(122, 168, 90, 0.15);
  transform: translateY(-2px);
}

.area-card-count {
  font-size: 15px;
  color: #6ea450;
  margin: 0 0 12px;
}

.area-card-count strong {
  font-size: 22px;
  font-weight: 700;
}

.area-total {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding: 18px 24px;
  border-radius: 12px;
  background-color: #eef4e3;
}

.area-total-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  object-fit: contain;
}

.area-total-text {
  font-size: 17px;
  font-weight: 700;
  color: #5a8a3a;
  margin: 0;
}

.area-total-text strong {
  font-size: 22px;
  color: #4a8a2e;
}

/* 掲載エリア 説明バナー */
.area-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px;
  border: 1px solid #ead9b8;
  border-radius: 14px;
  background-color: #fbfaf6;
}

.area-note-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  object-fit: contain;
}

.area-note-text {
  font-size: 17px;
  font-weight: 700;
  color: #3b2e17;
  margin: 0;
}

/* 現在の掲載エリア（地図カード） */
.area-map-card {
  border: 1px solid #ead9b8;
  border-radius: 16px;
  background-color: #fbfaf6;
  padding: 24px 28px 28px;
}

.area-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #3b2e17;
  margin: 0 0 12px;
}

.area-card-head-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  object-fit: contain;
}

.area-map-body {
  position: relative;
}

.area-map-image {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.area-map-image img {
  display: block;
  width: 100%;
  height: auto;
}

.area-map-image svg {
  display: block;
  width: 100%;
  height: auto;
}

/* 凡例 */
.area-legend {
  position: absolute;
  top: 50px;
  left: 12%;
  z-index: 1;
}

.area-legend-box {
  padding: 16px 20px;
  border: 1px solid #e3d9c4;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.9);
}

.area-legend-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.area-legend-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #3b2e17;
}

.area-legend-swatch {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
}

.area-legend-swatch--green {
  background-color: #7db05f;
}

.area-legend-swatch--pink {
  background-color: #ea8fa6;
}

.area-legend-swatch--blue {
  background-color: #94c7e7;
}

.area-legend-swatch--gray {
  background-color: #ddd;
}

.area-legend-note {
  margin: 14px 0 0;
  font-size: 11px;
  color: #a99b82;
}

/* 対応地域のホバー（神奈川 JP14） */
/* 都道府県ごとの掲載ステータスの色（凡例と同色。管理画面の「各都道府県の掲載ステータス」で設定） */
#area-map-container svg .area-status--published,
#area-map-container svg .area-status--published * { fill: #7db05f !important; }
#area-map-container svg .area-status--preparing,
#area-map-container svg .area-status--preparing * { fill: #ea8fa6 !important; }
#area-map-container svg .area-status--planned,
#area-map-container svg .area-status--planned * { fill: #94c7e7 !important; }
#area-map-container svg .area-status--none,
#area-map-container svg .area-status--none * { fill: #ddd !important; }

#area-map-container svg #JP14 {
  cursor: pointer;
  transition: fill 0.15s ease;
}

#area-map-container svg #JP14:hover,
#area-map-container svg #JP14:hover * {
  fill: #4f8a34 !important;
}

@media (max-width: 720px) {
  .area-legend {
    position: static;
    padding: 0 0 12px;
  }
}

/* 新着地域 */
.area-section-title {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 700;
  color: #3b2e17;
  margin: 0 0 20px;
}

/* 市区町村一覧（prefecture.html）の見出しのみ左寄せ */
.about-section--wide .area-section-title {
  text-align: left;
  justify-content: flex-start;
}

.area-section-icon {
  width: 1.4em;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.area-new-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.area-new-card {
  border: 1px solid #ead9b8;
  border-radius: 14px;
  background-color: #fbfaf6;
  padding: 22px 22px 24px;
}

.area-new-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #d9cbb0;
}

.area-new-map {
  flex: 1;
  min-width: 0;
  width: auto;
  height: 52px;
  object-fit: contain;
}

.area-new-info {
  flex: 1;
  min-width: 0;
}

.area-new-pref {
  font-size: 16px;
  font-weight: 700;
  color: #3b2e17;
  margin: 0 0 8px;
}

.area-new-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #6ea450;
  border: 1px solid #a9d18e;
  border-radius: 20px;
  padding: 3px 12px;
  background-color: #def9c5;
}

.area-new-cities {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.area-new-cities li {
  font-size: 15px;
  color: #3b2e17;
}

.area-new-cities a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.area-new-cities a:hover {
  color: #4a8a2e;
  text-decoration: underline;
}

/* 掲載リクエストバナー */
.area-request {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid #ead9b8;
  border-radius: 16px;
  background-color: #fbfaf6;
}

.area-request-img {
  flex-shrink: 0;
  width: 200px;
  height: auto;
  object-fit: contain;
}

.area-request-body {
  flex: 1;
  min-width: 0;
}

.area-request-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: #3b2e17;
  margin: 0 0 12px;
}

.area-request-leaf {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.area-request-text {
  font-size: 15px;
  line-height: 1.9;
  color: #6b5f4b;
  margin: 0;
}

.area-request-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.area-request-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
}

.area-request-btn svg,
.area-request-btn img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.area-request-btn--fill {
  background-color: #6ea450;
  border: 2px solid #6ea450;
  color: #fff;
}

.area-request-btn--fill:hover {
  background-color: #5c9040;
  border-color: #5c9040;
}

.area-request-btn--outline {
  background-color: #fff;
  border: 2px solid #6ea450;
  color: #6ea450;
}

.area-request-btn--outline:hover {
  background-color: #f3f9ec;
}

@media (max-width: 900px) {
  .area-request {
    flex-direction: column;
    text-align: center;
  }

  .area-request-title {
    justify-content: center;
  }

  .area-request-btn {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .area-new-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .area-new-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .review-topics {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 16px;
  }
}

@media (max-width: 560px) {
  .review-topics {
    grid-template-columns: repeat(2, 1fr);
  }
}


.about-step-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.about-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #6ea450;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.about-step-title {
  font-size: 17px;
  font-weight: 400;
  color: #3b2e17;
  margin: 0;
  white-space: nowrap;
}

.about-step-icon {
  width: 102px;
  height: 102px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-step-icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.about-step-icon--lg img {
  width: 122px;
  height: 122px;
}

/* 緑バナー */
.about-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 12px;
  background-color: #eef4e3;
}

.about-banner-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  object-fit: contain;
}

.about-banner-text {
  font-size: 17px;
  font-weight: 700;
  color: #5a8a3a;
  margin: 0;
}

/* おすすめカード */
.about-card--recommend {
  text-align: left;
  padding: 28px 12px;
}

.about-recommend-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.about-recommend-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
}

.about-recommend-title {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #3b2e17;
  margin: 0;
}

.about-card--recommend .about-card-text {
  text-align: center;
}

/* CTA */
.about-cta {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.about-cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 24px 24px 24px;
  background: url('/api/asset/background2.svg') center / 100% 100% no-repeat;
  text-align: center;
}

.about-cta-title {
  font-size: 24px;
  font-weight: 400;
  color: #3b2e17;
  margin: 20px 0 0 20px;
}

.about-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 12px;
  margin-bottom: 12px;
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  padding: 0 28px;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 400;
  justify-content: center;
}

.about-cta-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.about-cta-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.about-cta-btn--outline {
  background-color: #fff;
  border: 2px solid #6ea450;
  color: #6ea450;
}

.about-cta-btn--fill {
  background-color: #6ea450;
  color: #fff;
}

.about-cta-arrow {
  margin-left: 6px;
  font-weight: 700;
}

@media (max-width: 560px) {
  .about-cta-btn {
    min-width: 0;
    width: 100%;
  }
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0 24px 0;
  display: flex;
  align-items: stretch;
}

.hero-left {
  flex: 1;
  min-width: 0;
  position: relative;
  background-color: #fdf6ea;
  border: 1px solid #ead9b8;
  border-radius: 20px;
}

.area-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #95b36c;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 24px;
}

.badge-sub {
  font-size: 11px;
  background-color: rgba(255,255,255,0.25);
  padding: 2px 8px;
  border-radius: 10px;
}

.hero-copy {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.8;
  color: #3b1f02;
}

.hero-map {
  width: 100%;
  height: auto;
  display: block;
}

#japan-map-container {
  position: absolute;
  inset: 0;
  padding: 16px 0 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#japan-map-container svg {
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: block;
}

/* 掲載中の都道府県の色（管理画面の「各都道府県の掲載ステータス」で「掲載中」にしたもの）。
   ホバーすると濃い緑になり、クリックで都道府県ページへ移動できる */
#japan-map-container svg .area-status--published,
#japan-map-container svg .area-status--published * {
  fill: #c1ddb0 !important;
  cursor: pointer;
  transition: fill 0.15s;
}

#japan-map-container svg .area-status--published:hover,
#japan-map-container svg .area-status--published:hover * {
  fill: #a8c97a !important;
}

/* 対応地域のホバー（神奈川 JP14） */
#japan-map-container svg #JP14 {
  cursor: pointer;
}

#japan-map-container svg #JP14 path,
#japan-map-container svg #JP14 polygon {
  transition: fill 0.15s;
}

#japan-map-container svg #JP14:hover path,
#japan-map-container svg #JP14:hover polygon {
  fill: #a8c97a !important;
}

.hero-center {
  flex: 1.15;
  min-width: 0;
  max-width: 100%;
  margin-left: 20px;
  border-radius: 20px;
  position: relative;
}

.hero-right {
  flex: 1.1;
  min-width: 0;
  margin-left: 20px;
  display: flex;
}

/* =====================
   PRカード
   ===================== */
.pr-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #fdf6ea;
  border: 1px solid #ead9b8;
  border-radius: 20px;
  padding: 14px 14px;
}

#pr-item-list {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pr-card-title {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: #3b1f02;
  margin-bottom: 12px;
}

.pr-badge {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background-color: #95b36c;
  padding: 2px 11px;
  border-radius: 12px;
  letter-spacing: 0.05em;
}

.pr-item {
  position: relative;
  overflow: hidden;
  flex: 1;
  background-color: #fff;
  border: 1px solid #eee4d0;
  border-radius: 12px;
  padding: 12px 12px;
}

.pr-item > * {
  position: relative;
  z-index: 1;
}

.pr-item + .pr-item {
  margin-top: 10px;
}

.pr-item--image {
  padding: 0;
  flex: 0 0 auto;
  line-height: 0;
  display: block;
}

.pr-item--image img {
  width: 100%;
  height: auto;
  display: block;
}

.pr-item-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: #3b1f02;
  margin-bottom: 8px;
}

.pr-item-body {
  display: flex;
  align-items: flex-start;
  margin-right: 45px;
  gap: 10px;
}

.pr-item-desc {
  flex: 1;
  font-size: 10px;
  line-height: 1.6;
  color: #6b5b45;
}

.pr-item-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.01;
}

.pr-item-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 5px;
  font-size: 10px;
  font-weight: 500;
  color: #3b1f02;
  border: 1px solid #c9b78f;
  border-radius: 10px;
  transition: background-color 0.2s;
}

.pr-item-btn:hover {
  background-color: #f4ecd8;
}

/* =====================
   PRバナー（横長）
   ===================== */
.pr-banner {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 180px;
  background-color: #fdf6ea;
  border: 1px solid #ead9b8;
  border-radius: 20px;
  text-decoration: none;
  color: #3b1f02;
}

.pr-banner-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42%;
  background-image: var(--pr-banner-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%);
  mask-image: linear-gradient(to right, transparent 0, #000 18%);
}

.pr-banner-body {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 24px 28px;
}

.pr-banner-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.pr-banner-label {
  font-size: 15px;
  font-weight: 700;
  color: #3b1f02;
}

.pr-banner-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  color: #3b1f02;
  margin: 0 0 12px;
  white-space: nowrap;
}

.pr-banner-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #6b5b45;
  margin: 0;
}

.pr-banner-btn {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 60px;
  bottom: 0;
  width: fit-content;
  height: fit-content;
  margin: auto;
  text-align: center;
  border: 1.5px solid #6ea450;
  background-color: #fff;
  color: #6ea450;
  border-radius: 6px;
  padding: 7px 28px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.pr-banner:hover .pr-banner-btn {
  background-color: #6ea450;
  color: #fff;
}


/* =====================
   検索カード
   ===================== */
.search-card {
  background-color: #eaf4e2;
  border-radius: 20px;
  padding: 15px 24px 22px;
  border: 0.5px solid #6ea450;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.search-card-title {
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  color: #2b1e00;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-title-icon {
  width: 1.5em;
  height: 1.5em;
  flex-shrink: 0;
  vertical-align: middle;
}

.search-card-title .search-title-icon {
  width: 1.25em;
  height: 1.25em;
}

.search-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  border: 2px solid #e8e0cc;
  border-radius: 8px;
  background: #f5f0e8;
  color: #888;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.tab-active {
  background-color: #f4b821;
  border-color: #f4b821;
  color: #fff;
}

.search-section {
  margin-bottom: 16px;
  margin-left: 10px;
  margin-right: 10px;
}

.search-desc {
  font-size: 15px;
  color: #555;
  margin-bottom: 16px;
  line-height: 1.7;
}

.search-input {
  width: 100%;
  padding: 8px 16px;
  border: 2px solid #cce5c1;
  border-radius: 10px;
  font-size: 15px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: #87b270;
}

.search-btn {
  width: 100%;
  padding: 10px 18px;
  background-color: #4a8a2e;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.2s;
}

.search-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.search-btn:hover {
  background-color: #3a6e24;
}

.search-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.selected-school-card {
  position: absolute;
  bottom: calc(100% + -130px);
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  max-width: 80vw;
  background-color: #fff;
  border: 1px solid #cce5c1;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.14);
  z-index: 60;
}

.selected-school-card[hidden] {
  display: none;
}

.selected-school-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.selected-school-info {
  flex: 1;
  min-width: 0;
}

.selected-school-photo {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e3e3e3;
}

.selected-school-name {
  font-size: 17px;
  font-weight: 700;
  color: #2b1e00;
  margin: 0 0 4px;
}

.selected-school-address {
  font-size: 13px;
  color: #777;
  margin: 0 0 8px;
}

.selected-school-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.selected-school-stars {
  color: #f0b400;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.selected-school-score {
  font-size: 15px;
  font-weight: 700;
  color: #8b5b00;
}

.selected-school-review {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.selected-school-card .search-btn {
  margin-top: 12px;
  padding: 8px 14px;
  font-size: 13px;
}

.search-result {
  margin-top: 10px;
  min-height: 1.5em;
  font-size: 14px;
  line-height: 1.5;
  color: #2f6b1f;
}

.search-input-wrap {
  position: relative;
}

.suggest-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  width: 100%;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #cce5c1;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  z-index: 200;
  overflow: hidden;
}

.suggest-dropdown.is-open {
  display: block;
}

.suggest-dropdown-header {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #5f6f55;
  background-color: #f7fbf3;
  border-bottom: 1px solid #edf5e8;
}

.suggest-item {
  border-bottom: 1px solid #edf5e8;
}

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

.suggest-item-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.suggest-item.is-expanded .suggest-item-main {
  border-bottom: 1px solid #edf5e8;
}

.suggest-item.is-selected {
  background-color: #eef8e6;
}

.suggest-item.is-selected .suggest-item-link {
  font-weight: 700;
  color: #2f6b1f;
}

.suggest-rating {
  flex-shrink: 0;
  color: #f0b400;
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.suggest-rating-score {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: #8b5b00;
}

.suggest-review-btn {
  flex-shrink: 0;
  padding: 4px 10px;
  border: 1px solid #c3dcb4;
  border-radius: 999px;
  background-color: #fffdf4;
  color: #8b5b00;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.12s, border-color 0.12s;
}

.suggest-review-btn:hover {
  background-color: #fef3d0;
  border-color: #e6c97a;
}

.suggest-item-link {
  display: block;
  flex: 1;
  padding: 10px 16px;
  color: #2b1e00;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.12s;
}

.suggest-item-link:hover {
  background-color: #f0f8ea;
}

/* 学校情報が未登録の候補（選択不可） */
.suggest-item-name {
  display: block;
  flex: 1;
  padding: 10px 16px;
  color: #8a8270;
  font-size: 14px;
}

.suggest-preparing-badge {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background-color: #f1efe8;
  color: #6b6350;
  font-size: 12px;
  white-space: nowrap;
}

.suggest-detail-btn {
  margin-right: 10px;
  padding: 4px 10px;
  border: 1px solid #c3dcb4;
  border-radius: 999px;
  background-color: #f8fcf5;
  color: #477032;
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
}

.suggest-detail-btn:hover {
  background-color: #eaf5e2;
}

.suggest-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.suggest-item-detail {
  padding: 8px 16px 10px;
  font-size: 12px;
  color: #53634a;
  background-color: #f8fcf5;
  border-top: 1px solid #edf5e8;
  transition: background-color 0.12s;
  text-align: left;
}

.suggest-item-detail:hover {
  background-color: #eef8e6;
}

.suggest-item-detail[hidden] {
  display: none !important;
}

.suggest-item.is-expanded .suggest-item-detail {
  display: block;
}

.suggest-item--error {
  padding: 10px 16px;
  font-size: 13px;
  color: #b03a3a;
}

.suggest-item--loading {
  padding: 10px 16px;
  font-size: 13px;
  color: #666;
}

.divider {
  display: none;
}

.search-sub-box {
  background-color: #fff;
  border-radius: 12px;
  padding: 16px;
}

.search-section-sub {
  margin-bottom: 16px;
}

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

.search-sub-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #3b1f02;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-sub-title .search-title-icon {
  width: 2em;
  height: 2em;
}

.search-row-inline {
  display: flex;
  gap: 8px;
  position: relative;
}

.search-section-sub:first-child .search-row-inline {
  margin-left: calc(2em + 8px);
}

.search-section-sub .search-row-inline {
  margin-left: calc(2em + 8px);
}

.search-section-sub:last-child .search-row-inline {
  margin-left: calc(2em + 8px);
}

.search-input-sm {
  flex: 1;
  padding: 6px 14px;
  border: 1px solid #cce5c1;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}

.search-input-sm::placeholder {
  color: #aaa;
}

.search-btn-sm {
  width: 72px;
  padding: 10px 0;
  background-color: #e3f3d6;
  color: #2f6b1f;
  border: 1px solid #b9dbab;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn-sm:hover {
  background-color: #d8edc8;
}

.search-btn-sm svg {
  width: 18px;
  height: 18px;
}

.search-select {
  flex: 1;
  padding: 6px 14px;
  border: 1px solid #cce5c1;
  border-radius: 8px;
  font-size: 14px;
  background-color: #fff;
  outline: none;
  cursor: pointer;
}

.search-select:has(option[value=""]:checked) {
  color: #aaa;
}

/* 学校名・エリア検索の結果リスト */
.subsearch-results {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  width: 100%;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #cce5c1;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  z-index: 200;
  max-height: 260px;
  overflow-y: auto;
}

.subsearch-results.is-open {
  display: block;
}

.subsearch-item {
  border-bottom: 1px solid #edf5e8;
}

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

.subsearch-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  text-decoration: none;
  color: #333;
}

.subsearch-link:hover {
  background-color: #eef8e6;
}

.subsearch-name {
  font-weight: 600;
  font-size: 14px;
}

.subsearch-meta {
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
}

.subsearch-empty {
  padding: 10px 16px;
  color: #6b7280;
  font-size: 13px;
}

.subsearch-row {
  cursor: default;
}

.subsearch-texts {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.subsearch-select-btn {
  flex-shrink: 0;
  border: 1px solid #6ea450;
  background-color: #6ea450;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.subsearch-select-btn:hover {
  background-color: #5c9040;
  border-color: #5c9040;
}

/* =====================
   セクション共通
   ===================== */
.section {
  padding: 0 24px 64px;
}

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

.section-title {
  font-size: 24px;
  font-weight: bold;
  color: #3b1f02;
  margin-bottom: 15px;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-icon {
  height: 1.1em;
  width: auto;
  flex-shrink: 0;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

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

.section-link-row {
  text-align: right;
  margin-top: 32px;
}

.section-link {
  font-size: 15px;
  font-weight: bold;
  color: #6ea450;
  transition: color 0.2s;
}

.section-link:hover {
  color: #5e8e44;
  text-decoration: underline;
}

/* =====================
   口コミセクション
   ===================== */
.reviews-section {
  background-color: #fff;
  padding: 24px;
}

.reviews-section .section-title-row {
  margin-bottom: 10px;
}

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

.review-card {
  background-color: transparent;
  border: 1px solid #e8d8c0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.review-card:hover {
  background-color: #fef6e4;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-school-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.school-name {
  font-size: 18px;
  font-weight: bold;
  color: #3b1f02;
}

.school-location {
  font-size: 13px;
  color: #888;
}

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

.stars {
  color: #f4b821;
  font-size: 18px;
}

.star-rating {
  position: relative;
  display: inline-block;
  font-size: 18px;
  line-height: 1;
}

.star-base {
  color: #ddd;
  letter-spacing: 2px;
}

.star-fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f4b821;
  letter-spacing: 2px;
}

.score {
  font-size: 20px;
  font-weight: bold;
  color: #3b1f02;
}

.review-text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  color: #444;
  min-height: calc(1.7em * 2);
}

.review-details {
  display: flex;
  gap: 16px;
}

.review-col {
  flex: 1;
  background-color: #fef0f2;
  border: 1px solid #f0d0d8;
  border-radius: 10px;
  padding: 10px 12px;
}

.review-label {
  font-size: 14px;
  font-weight: bold;
  padding: 2px 10px;
  border-radius: 10px;
  display: block;
  margin-bottom: 6px;
  text-align: left;
}

.review-label.good {
  color: #d04070;
}

.review-label.concern {
  color: #2a70b0;
}

.review-detail-text {
  font-size: 12px;
  font-weight: 700;
  color: #555;
  line-height: 1.6;
}

/* ピックアップ口コミカード（title + ドコスル編集部まとめ） */
.review-card-headinfo { flex: 1; min-width: 0; }
.review-loc-icon { width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; }
.review-pickup-title { font-size: 18px; font-weight: 700; line-height: 1.6; color: #3b1f02; margin: 2px 0; }
.review-pickup-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.review-pickup-summary { border: 1px solid #eb9fed; background-color: #f4dff3; border-radius: 12px; padding: 14px 16px; }
.review-pickup-summary-head { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: #eb9fed; margin: 0 0 6px; }
.review-pickup-summary-icon { width: 18px; height: 18px; }
.review-pickup-summary-text { font-size: 14px; font-weight: 500; line-height: 1.8; color: #555; margin: 0; }

.card-link {
  display: block;
  text-align: center;
  border: 1.5px solid #6ea450;
  color: #6ea450;
  border-radius: 10px;
  padding: 7px 0;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  transition: background 0.15s, color 0.15s;
}

.card-link:hover {
  background: #6ea450;
  color: #fff;
}

/* =====================
   ロゴ
   ===================== */
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

/* =====================
   注目の小学校
   ===================== */
.schools-section {
  background-color: transparent;
}

.map-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

.map-img {
  width: 100%;
  height: auto;
  display: block;
}

.map-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* 注目の小学校 カード */
.school-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.school-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  transition: background-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.school-card:hover {
  background-color: #f5faef;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.school-card-img-wrap {
  padding: 10px 10px 0;
}

.school-card-img-inner {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #dde8d0;
}

.school-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.school-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.school-card-name {
  font-size: 16px;
  font-weight: 700;
  color: #2b1e00;
  margin: 0;
  text-align: center;
}

.school-card-location {
  font-size: 13px;
  color: #888;
  margin: 0;
  text-align: center;
}

.school-card-reviews {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  color: #6ea450;
  margin: 4px 0 8px;
}

.school-card-btn {
  display: block;
  text-align: center;
  border: 1.5px solid #6ea450;
  color: #6ea450;
  border-radius: 6px;
  padding: 7px 0;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.school-card-btn:hover {
  background: #6ea450;
  color: #fff;
}

@media (max-width: 900px) {
  .school-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====================
   ドコスルとは
   ===================== */
.about-section {
  background-color: transparent;
}

.about-section .section-inner {
  background-color: #fef6e4;
  border-radius: 20px;
  padding: 24px;
}

.about-section .section-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.about-section .section-title-icon {
  height: 20px;
  width: auto;
}

.about-logo {
  height: 1.8em;
  width: auto;
  vertical-align: middle;
}

.feature-grid {
  display: flex;
  align-items: flex-start;
}

.feature-card {
  flex: 1;
  padding: 8px 40px;
  text-align: center;
}

.feature-card + .feature-card {
  border-left: 1px solid #c8bda8;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.feature-title {
  font-size: 15px;
  font-weight: bold;
  color: #6ea450;
  margin-bottom: 12px;
}

.feature-text {
  font-size: 12px;
  color: #555;
  line-height: 1.8;
  text-align: left;
}

/* =====================
   お問い合わせ 確認・完了
   ===================== */
.contact-confirm-value {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #3b2e17;
  white-space: pre-wrap;
  word-break: break-word;
}

.contact-confirm-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.contact-edit-btn,
.contact-send-btn {
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 48px;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s;
}

.contact-edit-btn {
  background-color: #fff;
  border: 1px solid #a9d18e;
  color: #4a8a2e;
}

.contact-edit-btn:hover {
  background-color: #f3f9ec;
}

.contact-send-btn {
  background-color: #6ea450;
  border: none;
  color: #fff;
}

.contact-send-btn:hover {
  background-color: #5c8f41;
  transform: translateY(-1px);
}

.contact-send-btn:disabled,
.contact-edit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-confirm-error {
  margin: 16px 0 0;
  color: #c0392b;
  font-size: 14px;
  text-align: center;
}

.contact-complete {
  border: 1px solid #cfe3b8;
  border-radius: 16px;
  background-color: #fff;
  padding: 48px 36px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(122, 168, 90, 0.12);
}

.contact-complete-title {
  font-size: 26px;
  font-weight: 700;
  color: #4a8a2e;
  margin: 0 0 16px;
}

.contact-complete-text {
  font-size: 15px;
  line-height: 1.9;
  color: #4a4130;
  margin: 0 0 28px;
}

.contact-complete-btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 10px;
  background-color: #6ea450;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.2s;
}

.contact-complete-btn:hover {
  background-color: #5c9040;
}

/* =====================
   トップ「ドコスルとは」
   ===================== */
.home-about-card {
  display: flex;
  gap: 20px;
  align-items: center;
  border: 1px solid #ead9b8;
  border-radius: 24px;
  background-color: #fffdf8;
  padding: 32px;
}

.home-about-image {
  flex: 0 0 50%;
  max-width: 50%;
}

.home-about-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.home-about-body {
  flex: 1;
  min-width: 0;
}

.home-about-title {
  font-size: 34px;
  font-weight: 500;
  color: #3b2e17;
  margin: 0 0 5px;
}

.home-about-sub {
  font-size: 22px;
  font-weight: 500;
  color: #6ea450;
  margin: 0 0 5px;
}

.home-about-text {
  font-size: 15px;
  line-height: 1.9;
  color: #4a4130;
  max-width: 560px;
  margin: 0 0 12px;
}

.home-about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 24px;
}

.home-about-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  border: 1px solid #e3d9c4;
  border-radius: 12px;
  padding: 10px;
  background-color: #fff;
}

.home-about-feature-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.home-about-feature span {
  font-size: 14px;
  font-weight: 700;
  color: #3b2e17;
  line-height: 1.4;
}

.home-about-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 10px 40px;
  border-radius: 10px;
  background-color: #6ea450;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.2s;
}

.home-about-btn:hover {
  background-color: #5c9040;
}

@media (max-width: 900px) {
  .home-about-card {
    flex-direction: column;
    align-items: stretch;
  }

  .home-about-image {
    flex: none;
    max-width: 100%;
  }

  .home-about-features {
    grid-template-columns: 1fr;
  }

  .home-about-btn {
    width: 100%;
  }
}

/* =====================
   フッター
   ===================== */
.footer {
  background-color: #fdf6ea;
  border-top: 1px solid #e8e0cc;
  color: #3b1f02;
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 65px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.footer-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 13px;
  color: #7a6a55;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #3b1f02;
}

.footer-nav span {
  color: #bbb;
}

.footer-copy {
  font-size: 11px;
  text-align: center;
}

/* =====================
   レスポンシブ
   ===================== */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
  }

  .hero-center {
    max-width: none;
  }

  .hero-right {
    width: 100%;
  }

  .card-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .nav ul {
    gap: 16px;
  }
}

/* =====================
   学校詳細ページ
   ===================== */
.detail-main {
  background-color: transparent;
  padding: 24px 0 60px;
}

.detail-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  background-color: #fbfaf6;
}

/* パンくず */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #7a6a55;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #4a8a2e;
}

.breadcrumb-home {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4a8a2e;
  font-weight: 700;
}

.breadcrumb-home-icon {
  width: 15px;
  height: 15px;
}

.breadcrumb-sep {
  color: #c3b9a8;
}

.breadcrumb-current {
  color: #4a8a2e;
  font-weight: 700;
}

/* レイアウト */
.detail-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.detail-content {
  flex: 1;
  min-width: 0;
}

.detail-side {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 学校概要 */
.school-hero {
  display: flex;
  gap: 28px;
  background-color: #fdf6ea;
  border: 1px solid #ead9b8;
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 24px;
}

.school-hero-photo {
  flex-shrink: 0;
  width: 330px;
}

.school-hero-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.school-hero-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* 周辺環境のポイント（学校概要右側／周辺環境タブ選択時のみ表示） */
.school-hero-side {
  display: none;
  flex-shrink: 0;
  width: 360px;
  background-color: #fdeef2;
  border: 1px solid #f4d3dd;
  border-radius: 14px;
  padding: 18px;
}

.detail-layout.is-surroundings .school-hero-side {
  display: block;
}

.detail-layout.is-surroundings .detail-side {
  display: none;
}

.surroundings-head {
  font-size: 16px;
  font-weight: 700;
  color: #3b2e17;
  text-align: center;
  margin: 0 0 14px;
}

.surroundings-point-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.surroundings-point {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 14px;
  border-radius: 12px;
  background-color: #fff;
  border: 1px solid #e2d8c4;
}

.surroundings-point-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.surroundings-point-body {
  min-width: 0;
}

.surroundings-point-title {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 700;
  color: #3b2e17;
}

.surroundings-point-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #7a6f5c;
}

.surroundings-note {
  margin: 12px 0 0;
  font-size: 11px;
  color: #a99b82;
  text-align: center;
}

/* ===== 周辺環境タブ本体（おすすめPR＋保護者の声） ===== */
.surroundings-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* 周辺環境タブ冒頭の紹介セクション */
.surroundings-intro {
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding: 28px;
  border: 1px solid #ead9b8;
  border-radius: 16px;
  background-color: #fdf9f0;
}

.surroundings-intro-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.surroundings-intro-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: #3b2e17;
  margin: 0 0 16px;
}

.surroundings-intro-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.surroundings-intro-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #6b5f4b;
}

@media (max-width: 800px) {
  .surroundings-intro {
    flex-direction: column;
  }
}

.surroundings-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #3b2e17;
  margin: 0 0 16px;
}

.surroundings-section-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.surroundings-pr-note,
.surroundings-voice-note {
  font-size: 12px;
  font-weight: 400;
  color: #a99b82;
}

.surroundings-pr-note {
  padding: 3px 10px;
  border-radius: 12px;
  background-color: #f2ede2;
}

/* おすすめPRカードのグリッド */
.surroundings-recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
  border-radius: 16px;
  background-color: #faf7ee;
}

.surroundings-recommend-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #eee4d0;
  border-radius: 12px;
  overflow: hidden;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.surroundings-recommend-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.surroundings-recommend-card--image img {
  width: 100%;
  height: auto;
  display: block;
}

.surroundings-recommend-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background-color: #6ea450;
  padding: 2px 11px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.surroundings-recommend-image {
  display: block;
  width: 100%;
  height: 130px;
  background-color: #f2ede2;
}

.surroundings-recommend-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.surroundings-recommend-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 16px 16px;
}

.surroundings-recommend-title {
  font-size: 16px;
  font-weight: 700;
  color: #2b1e00;
  margin-bottom: 8px;
}

.surroundings-recommend-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #7a6f5c;
  margin-bottom: 14px;
}

.surroundings-recommend-btn {
  margin-top: auto;
  padding: 4px 48px;
  font-size: 13px;
  font-weight: 700;
  color: #4a8a2e;
  text-align: center;
  border: 1px solid #cfe3b8;
  border-radius: 8px;
}

/* 保護者の声カード */
.surroundings-voice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.surroundings-voice-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background-color: #fff;
  border: 1px solid #e2d8c4;
}

.surroundings-voice-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.surroundings-voice-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #5a5040;
}

@media (max-width: 900px) {
  .surroundings-recommend-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

.school-hero-name {
  font-size: 32px;
  font-weight: 700;
  color: #2b1e00;
  margin-bottom: 12px;
}

.school-hero-address {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: #6b5d47;
  margin-bottom: 14px;
}

.school-hero-address-icon {
  width: 16px;
  height: 16px;
}

.school-hero-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-count-badge {
  font-size: 14px;
  font-weight: 700;
  color: #4a8a2e;
  border: 1px solid #a9d18e;
  border-radius: 8px;
  padding: 5px 12px;
}

.school-hero-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 0;
  padding-bottom: 18px;
}

.school-hero-tags {
  display: flex;
  gap: 10px;
}

.school-tag {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 16px;
}

.tag-public {
  color: #4a8a2e;
  background-color: #e4f1d8;
}

.tag-private {
  color: #d97706;
  background-color: #fceccb;
}

.tag-coed {
  color: #b458c7;
  background-color: #f6e3fa;
}

.tag-boys {
  color: #2f7dd1;
  background-color: #dcecfb;
}

.tag-girls {
  color: #e0568c;
  background-color: #fbe0ec;
}

/* タブ */
.detail-tabs {
  display: flex;
  gap: 4px;
  border: 1px solid #e8ddc9;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 20px;
}

.detail-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 7px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 700;
  color: #8a7c66;
  border-radius: 8px;
  transition: color 0.2s, background-color 0.2s;
}

.detail-tab:hover {
  color: #4a8a2e;
}

.detail-tab.is-active {
  color: #4a8a2e;
  background-color: #eef6e6;
}

.detail-tab-icon {
  width: 17px;
  height: 17px;
}

/* 通常はグレー、ホバー・選択時はグリーンのアイコンを表示 */
.detail-tab-icon-green {
  display: none;
}

.detail-tab:hover .detail-tab-icon-gray,
.detail-tab.is-active .detail-tab-icon-gray {
  display: none;
}

.detail-tab:hover .detail-tab-icon-green,
.detail-tab.is-active .detail-tab-icon-green {
  display: inline-block;
}

/* タブパネル */
.tab-panel[hidden] {
  display: none;
}

.tab-panel-placeholder {
  font-size: 15px;
  color: #8a7c66;
  text-align: center;
  padding: 60px 0;
}

/* 学区・通学エリア */
.district-panel {
  background-color: #fff;
  border: 1px solid #e8ddc9;
  border-radius: 14px;
  padding: 24px 26px;
}

.district-title {
  font-size: 22px;
  font-weight: 700;
  color: #2b1e00;
  margin-bottom: 10px;
}

.district-note {
  font-size: 13px;
  line-height: 1.7;
  color: #8a7c66;
}

.district-divider {
  border: none;
  border-top: 1px solid #ece3d3;
  margin: 16px 0;
}

.district-map {
  width: 100%;
  height: 440px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #eef0ea;
  display: flex;
  align-items: center;
  justify-content: center;
}

.district-map-msg {
  font-size: 14px;
  color: #8a7c66;
}

/* 住所が学区内か確認するチェッカー */
.district-check {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid #e6ddca;
  border-radius: 12px;
  background-color: #faf7f0;
}

.district-check-title {
  font-size: 18px;
  font-weight: 700;
  color: #3b2e17;
  margin: 0 0 6px;
}

.district-check-desc {
  font-size: 14px;
  color: #7a6f5c;
  margin: 0 0 16px;
}

.district-check-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.district-check-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #d8cdb6;
  border-radius: 8px;
  font-size: 15px;
  background-color: #fff;
  outline: none;
}

.district-check-input::placeholder {
  color: #b0a68f;
}

.district-check-input:focus {
  border-color: #8bbf6f;
}

.district-check-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  background-color: #82ac63;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.district-check-btn:hover {
  background-color: #74a054;
}

.district-check-result {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.district-check-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.district-check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: block;
}

.district-check-text {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #2b2b2b;
}

.district-check-note {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 400;
  color: #6b6656;
}

.district-check-note::before {
  content: '\203b ';
}

.district-check-result.is-inside {
  background-color: #e6f1da;
  border: 1px solid #cbe6b9;
}

.district-check-result.is-outside {
  background-color: #f9e4e8;
  border: 1px solid #f3ccd4;
}

.district-check-result.is-info {
  background-color: #f1f4f8;
  color: #5b6675;
  border: 1px solid #dbe2ec;
  font-weight: 600;
}

.district-check-result.is-warn {
  background-color: #fdf4e6;
  color: #a5701f;
  border: 1px solid #f0dcbb;
  font-weight: 600;
}

/* ========================== */
/* 通学エリア情報（commuteInfo） */
/* ========================== */
.commute-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.commute-section {
  padding: 24px;
  border: 1px solid #ece3d3;
  border-radius: 14px;
  background-color: #faf7ee;
}

.commute-heading {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: #3b2e17;
}

/* 主な通学区域 */
.commute-area-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.commute-area-chip {
  padding: 12px 20px;
  border: 1px solid #e2d8c4;
  border-radius: 10px;
  background-color: #fff;
  font-size: 15px;
  color: #3b2e17;
  text-align: center;
}

.commute-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: #8a7c66;
}

.commute-note::before {
  content: '\203b ';
}

/* 通学の目安 */
.commute-guide-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.commute-guide-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e2d8c4;
  border-radius: 10px;
  background-color: #fff;
}

.commute-guide-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.commute-guide-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.commute-guide-label {
  font-size: 12px;
  color: #8a7c66;
}

.commute-guide-value {
  font-size: 16px;
  font-weight: 700;
  color: #2b2b2b;
}

/* 口コミから見える通学路の声 */
.commute-voice-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.commute-voice-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 12px;
}

.commute-voice-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.commute-voice-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #3b2e17;
}

.commute-voice-card.is-pink {
  background-color: #fbe9ee;
}

.commute-voice-card.is-blue {
  background-color: #e6f0f8;
}

.commute-voice-card.is-yellow {
  background-color: #fbf4dd;
}

.commute-voice-card.is-gray {
  background-color: #f1f2ee;
}

@media (max-width: 720px) {
  .commute-area-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .commute-voice-list {
    grid-template-columns: 1fr;
  }
}

/* ========================== */
/* 学校情報タブ（schoolInfo）    */
/* ========================== */
.school-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-section {
  padding: 24px;
  border: 1px solid #ece3d3;
  border-radius: 14px;
  background-color: #faf7ee;
}

.info-heading {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: #3b2e17;
}

/* 学校の特徴 */
.info-feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.info-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 24px 16px;
  border: 1px solid #e2d8c4;
  border-radius: 12px;
  background-color: #fff;
}

.info-feature-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.info-feature-icon img {
  width: 48px;
  height: 48px;
}

.info-feature-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #3b2e17;
}

.info-feature-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #7a6f5c;
}

/* 基本データ */
.info-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.info-data-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e2d8c4;
  border-radius: 8px;
  overflow: hidden;
}

.info-data-row {
  display: flex;
  align-items: stretch;
  background-color: #fff;
}

.info-data-row + .info-data-row {
  border-top: 1px solid #e2d8c4;
}

.info-data-label {
  flex-shrink: 0;
  width: 110px;
  padding: 12px 16px;
  background-color: #f4efe3;
  font-size: 14px;
  font-weight: 700;
  color: #3b2e17;
  display: flex;
  align-items: center;
}

.info-data-value {
  flex: 1;
  padding: 12px 16px;
  font-size: 14px;
  color: #4a4133;
  display: flex;
  align-items: center;
  word-break: break-all;
}

.info-data-link {
  color: #4a8a2e;
  font-weight: 700;
  text-decoration: underline;
}

.info-data-link:hover {
  color: #3a6e24;
}

/* 入学前に気になるポイント */
.info-point-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.info-point-card {
  padding: 18px;
  border-radius: 12px;
  background-color: #fff;
  border: 1px solid #e2d8c4;
}

.info-point-card.is-green {
  background-color: #f1f8ec;
  border-color: #d8ecc7;
}

.info-point-card.is-pink {
  background-color: #fdeef2;
  border-color: #f4d3dd;
}

.info-point-card.is-gray {
  background-color: #f5f5f1;
  border-color: #e3e2da;
}

.info-point-card.is-blue {
  background-color: #eef4fa;
  border-color: #d5e4f1;
}

.info-point-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.info-point-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.info-point-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #3b2e17;
}

.info-point-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #6b6151;
}

/* 口コミから見える傾向（横並びの表） */
.info-trend-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #d8ccb2;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  table-layout: fixed;
}

.info-trend-table th,
.info-trend-table td {
  padding: 10px 12px;
  text-align: center;
  vertical-align: middle;
  border-right: 1px solid #ece6d8;
}

.info-trend-table th:last-child,
.info-trend-table td:last-child {
  border-right: none;
}

.info-trend-meter,
.info-trend-value {
  padding-top: 4px;
  padding-bottom: 4px;
}

.info-trend-th {
  font-size: 14px;
  font-weight: 700;
  color: #3b2e17;
  padding-top: 16px;
}

.info-trend-stars {
  position: relative;
  display: inline-block;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}

.info-trend-stars-bg {
  color: #d8d2c4;
}

.info-trend-stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f2b134;
}

.info-trend-score {
  font-size: 18px;
  font-weight: 700;
  padding-top: 0px;
  padding-bottom: 0px;
  color: #3b2e17;
}

.info-trend-score small {
  font-size: 12px;
  font-weight: 400;
  color: #8a7c66;
}

.info-trend-bar {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background-color: #ece6d8;
  overflow: hidden;
}

.info-trend-bar-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  background-color: #8bbf6f;
}

.info-trend-percent {
  font-size: 16px;
  font-weight: 700;
  color: #3b2e17;
}

.info-trend-text {
  font-size: 12px;
  line-height: 1.6;
  color: #7a6f5c;
  padding-top: 2px;
  padding-bottom: 16px;
}

@media (max-width: 900px) {
  .info-feature-list,
  .info-point-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-data-grid {
    grid-template-columns: 1fr;
  }

  .info-trend-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .info-trend-table th,
  .info-trend-table td {
    min-width: 120px;
  }
}

/* インラインPRバナー（pr4.svg） */
.pr-inline-banner {
  display: block;
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pr-inline-banner[hidden] {
  display: none;
}

.pr-inline-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.pr-inline-banner:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

/* 学校情報タブ内はflex gapで間隔がつくため上マージンを無効化 */
.school-info .pr-inline-banner {
  margin-top: 0;
}

/* 口コミ詳細内のバナー下に余白を追加（次セクションとの間隔） */
.review-detail-body .pr-inline-banner {
  margin-bottom: 20px;
}

/* PR広告バナー（横長） */
.info-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  border: 1px solid #f2d3dd;
  border-radius: 16px;
  background-color: #fdf6f8;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.info-banner:hover {
  box-shadow: 0 6px 18px rgba(214, 118, 150, 0.18);
  transform: translateY(-1px);
}

.info-banner-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 2px 10px;
  border-radius: 8px;
  background-color: #e78aa6;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.info-banner-image {
  flex-shrink: 0;
  width: 200px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
}

.info-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.info-banner-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.info-banner-title {
  font-size: 22px;
  font-weight: 700;
  color: #2b2b2b;
}

.info-banner-desc {
  font-size: 15px;
  color: #6b6151;
}

.info-banner-features {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 4px;
}

.info-banner-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #8a7c66;
}

.info-banner-feature-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.info-banner-aside {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.info-banner-btn {
  padding: 12px 28px;
  border-radius: 24px;
  background-color: #e0759a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.info-banner-company {
  font-size: 12px;
  color: #8a7c66;
}

@media (max-width: 900px) {
  .info-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding-top: 36px;
  }

  .info-banner-image {
    width: 100%;
    height: 160px;
  }

  .info-banner-features {
    justify-content: center;
  }

  .info-banner-aside {
    flex-direction: row;
    justify-content: center;
  }
}

.map-school-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #2b1e00;
  padding: 2px 4px;
}

.map-school-label-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* InfoWindow（学区マップの吹き出し）調整 */
#district-map .gm-style-iw-c {
  display: flex !important;
  align-items: center !important;
  padding: 4px 6px !important;
  max-width: none !important;
}

#district-map .gm-style-iw-d {
  overflow: hidden !important;
  max-width: none !important;
}

#district-map .map-school-label {
  white-space: nowrap;
}

/* 閉じるボタン（❌）を非表示にする */
#district-map .gm-ui-hover-effect {
  display: none !important;
}

/* 口コミ絞り込み */
.review-filter {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.review-sort-select {
  font-family: inherit;
  font-size: 14px;
  color: #3b1f02;
  background-color: #fff;
  border: 1px solid #d9ccb5;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}

.review-grade-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.grade-btn {
  font-family: inherit;
  font-size: 13px;
  color: #6b5d47;
  background-color: #fff;
  border: 1px solid #d9ccb5;
  border-radius: 8px;
  padding: 7px 14px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.grade-btn:hover {
  border-color: #a9d18e;
  color: #4a8a2e;
}

.grade-btn.is-active {
  color: #fff;
  background-color: #4a8a2e;
  border-color: #4a8a2e;
}

/* 口コミ一覧・詳細の外枠 */
#review-list-view,
#review-detail-view {
  background-color: #faf6ec;
  border: 1px solid #e8ddc9;
  border-radius: 16px;
  padding: 24px;
}

/* 口コミ一覧 */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-item {
  display: flex;
  gap: 20px;
  background-color: #fff;
  border: 1px solid #e8ddc9;
  border-radius: 14px;
  padding: 22px 24px;
}

.review-item-side {
  flex-shrink: 0;
  width: 92px;
  text-align: center;
  padding-right: 20px;
  border-right: 1px solid #e8ddc9;
}

.review-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #f2ede2;
}

.review-reviewer {
  font-size: 12px;
  color: #6b5d47;
  margin-top: 8px;
  line-height: 1.5;
}

.review-item-body {
  flex: 1;
  min-width: 0;
}

.review-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.review-item-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-item-rating .score {
  font-size: 16px;
}

.review-date {
  font-size: 13px;
  color: #9a8d78;
}

.review-item-title {
  font-size: 18px;
  font-weight: 700;
  color: #2b1e00;
  margin-bottom: 10px;
}

.review-item-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.review-item-title-link:hover {
  color: #4a8a2e;
}

.review-item-text {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 14px;
}

.review-item-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.review-item-tag {
  font-size: 12px;
  color: #4a8a2e;
  border: 1px solid #a9d18e;
  border-radius: 14px;
  padding: 4px 12px;
}

/* 口コミの展開（タイトルリンクで詳細ページへ遷移） */
.review-item-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: #4a8a2e;
}

.review-item-toggle-icon {
  font-size: 14px;
}

/* ===== 口コミ詳細ページ（1件表示） ===== */
.review-page-section {
  margin-bottom: 24px;
}

.review-page-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #4a8a2e;
  margin-bottom: 14px;
}

.review-page-head-icon {
  width: 20px;
  height: 20px;
}

.review-point-card {
  background-color: #fff;
  border: 1px solid #e8ddc9;
  border-radius: 14px;
  padding: 22px 24px;
}

.review-point-card .review-page-head {
  margin-bottom: 18px;
}

.review-point-inner {
  display: flex;
  gap: 20px;
}

.review-point-side {
  flex-shrink: 0;
  width: 150px;
  text-align: center;
}

.review-point-side .review-reviewer {
  white-space: nowrap;
}

.review-point-side .review-reviewer br {
  display: none;
}

.review-point-date {
  font-size: 12px;
  color: #9a8d78;
  margin-top: 4px;
  line-height: 1.5;
}

.review-point-body {
  flex: 1;
  min-width: 0;
}

.review-point-title {
  font-size: 24px;
  font-weight: 700;
  color: #2b1e00;
  line-height: 1.5;
  margin-bottom: 12px;
}

.review-point-body .review-item-rating {
  margin-bottom: 14px;
}

.review-point-card > .review-detail-summary {
  margin-top: 20px;
  margin-bottom: 0;
}

.review-detail-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #ece3d0;
}

.review-detail-section .review-page-head {
  color: #2b1e00;
}

.review-detail-summary-icon {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
}

/* 詳細ページ下部のアクションボタン */
.review-page-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 8px;
}

/* 本来のボタンが見えないときだけ画面下部に浮かせるアクションバー */
.review-actions-float {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px calc(12px + env(safe-area-inset-bottom, 0px));
  background-color: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e8ddc9;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.review-actions-float[hidden] {
  display: none;
}

.review-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.review-action-icon {
  width: 20px;
  height: 20px;
}

.review-action-back {
  color: #4a8a2e;
  background-color: #fff;
  border: 1px solid #a9d18e;
}

.review-action-back:hover {
  background-color: #f3f9ec;
}

.review-action-info {
  color: #fff;
  background-color: #6ea450;
  border: 1px solid #6ea450;
}

.review-action-info:hover {
  background-color: #5f9243;
  box-shadow: 0 4px 14px rgba(122, 168, 90, 0.25);
}

/* この学校の他の口コミ（横並び3件） */
.review-others {
  margin-top: 32px;
}

.review-others-head {
  font-size: 18px;
  font-weight: 700;
  color: #2b1e00;
  margin-bottom: 16px;
}

.review-others-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-other-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  background-color: #fff;
  border: 1px solid #e8ddc9;
  border-radius: 14px;
  padding: 20px 16px;
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.review-other-card:hover {
  border-color: #cfe3b8;
  box-shadow: 0 4px 14px rgba(122, 168, 90, 0.12);
}

.review-other-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #f2ede2;
}

.review-other-body {
  width: 100%;
}

.review-other-card .review-item-rating {
  justify-content: center;
  margin-bottom: 8px;
}

.review-other-title {
  font-size: 14px;
  font-weight: 700;
  color: #2b1e00;
  line-height: 1.5;
  margin-bottom: 10px;
}

.review-other-reviewer {
  font-size: 12px;
  color: #9a8d78;
}

@media (max-width: 640px) {
  .review-page-actions {
    grid-template-columns: 1fr;
  }

  .review-actions-float {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .review-others-list {
    grid-template-columns: 1fr;
  }
}

.review-detail {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #e0d6c2;
}

.review-detail-summary {
  border: 1px solid #cfe3b8;
  background-color: #f3f9ec;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
}

.review-detail-summary-head {
  font-size: 16px;
  font-weight: 700;
  color: #4a8a2e;
  margin-bottom: 8px;
}

.review-detail-summary-text {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

.review-detail-body-head {
  font-size: 14px;
  font-weight: 700;
  color: #4a8a2e;
  margin-bottom: 12px;
}

.review-detail-block {
  background-color: #faf7ee;
  border: 1px solid #ece3d0;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.review-detail-block:last-child {
  margin-bottom: 0;
}

.review-detail-block-title {
  font-size: 16px;
  font-weight: 700;
  color: #2b1e00;
  margin-bottom: 8px;
  padding-left: 10px;
  border-left: 4px solid #4a8a2e;
}

.review-detail-block-text {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

.review-empty {
  font-size: 14px;
  color: #8a7c66;
  text-align: center;
  padding: 40px 0;
}

/* 口コミページネーション */
.review-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.page-btn,
.page-nav-btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #6b5d47;
  background-color: #fff;
  border: 1px solid #e0d6c4;
  border-radius: 10px;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.page-btn:hover,
.page-nav-btn:hover {
  border-color: #a9d18e;
  color: #4a8a2e;
}

.page-btn.is-active {
  color: #fff;
  background-color: #6ea450;
  border-color: #6ea450;
  cursor: default;
}

.page-nav-btn.is-disabled {
  color: #c3b9a8;
  cursor: not-allowed;
  opacity: 0.6;
}

.page-nav-btn.is-disabled:hover {
  border-color: #e0d6c4;
  color: #c3b9a8;
}

.page-ellipsis {
  min-width: 24px;
  text-align: center;
  color: #b0a48e;
  font-weight: 700;
}

/* サイドPR（学校詳細・都道府県・市区町村・口コミ一覧）：最大5枠（260×100）をスクロールに追従して常時表示
   高さ = 100×5 + 隙間×4。隙間は画面の高さに応じて10〜28pxで広がる
   （上端92px＋バナー500px＋下部の浮遊バー約76px＋余白を除いた残りを4等分）。上端は固定ヘッダー(80px)の下 */
@media (min-width: 901px) {
  .detail-side,
  .pref-side {
    position: sticky;
    top: 92px;
    gap: clamp(10px, calc((100vh - 676px) / 4), 28px);
  }

  .detail-side .side-pr-card,
  .pref-side .side-pr-card {
    height: 100px;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
  }

  .detail-side .side-pr-card:nth-child(n + 6),
  .pref-side .side-pr-card:nth-child(n + 6) {
    display: none;
  }

  .detail-side .side-pr-card--image img,
  .pref-side .side-pr-card--image img {
    height: 100%;
    object-fit: cover;
  }
}

/* サイドPRカード */
.side-pr-card {
  display: block;
  background-color: #fdf6ea;
  border: 1px solid #ead9b8;
  border-radius: 16px;
  padding: 20px;
  transition: box-shadow 0.2s;
}

.side-pr-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.side-pr-card--image {
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.side-pr-card--placeholder {
  min-height: 200px;
  background-color: #faf6ee;
  border: 1px dashed #ddcba6;
  box-shadow: none;
  cursor: default;
}

.side-pr-card--placeholder:hover {
  box-shadow: none;
}

.side-pr-card--image img {
  width: 100%;
  height: auto;
  display: block;
}

.side-pr-title {
  font-size: 22px;
  font-weight: 700;
  color: #2b1e00;
  line-height: 1.4;
  margin: 12px 0 10px;
}

.side-pr-desc {
  font-size: 13px;
  line-height: 1.8;
  color: #6b5d47;
  margin-bottom: 16px;
}

.side-pr-btn {
  display: block;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background-color: #6ea450;
  border-radius: 8px;
  padding: 12px;
  transition: background-color 0.2s;
}

.side-pr-btn:hover {
  background-color: #5c8f42;
}

.side-pr-btn-pink {
  background-color: #ec6ea9;
}

.side-pr-btn-pink:hover {
  background-color: #e05294;
}

.pr-badge-pink {
  background-color: #ec6ea9;
}

.pr-service-row {
  display: flex;
  gap: 16px;
  align-items: stretch;
  padding: 20px 10px;
  border: 1px solid #e8ddc9;
  border-radius: 16px;
}

.pr-service-item {
  flex: 1;
  min-width: 0;
  display: block;
}

.pr-service-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* PR未設定時に枠だけ確保する空プレースホルダー */
.pr-service-placeholder {
  min-height: 90px;
  border: 1px dashed #ddcba6;
  border-radius: 12px;
  background-color: #faf6ee;
}

@media (max-width: 900px) {
  .pr-service-row {
    flex-wrap: wrap;
  }

  .pr-service-item {
    flex: 1 1 calc(50% - 8px);
  }
}

.side-pr-company {
  font-size: 12px;
  color: #9a8d78;
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .detail-layout {
    flex-direction: column;
  }

  .detail-side {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .detail-side .side-pr-card {
    flex: 1;
    min-width: 240px;
  }

  .school-hero {
    flex-direction: column;
  }

  .school-hero-photo {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .review-item {
    flex-direction: column;
    gap: 12px;
  }

  .review-item-side {
    width: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
  }

  .review-reviewer {
    margin-top: 0;
  }
}

/* =====================
   お問い合わせ（contact.html）
   ===================== */
.contact-hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  background: url('/api/asset/terms_hero.png') center/cover no-repeat;
  border-radius: 20px;
  overflow: hidden;
}

.contact-hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 60px 56px;
  box-sizing: border-box;
  text-align: center;
}

.contact-hero .breadcrumb {
  margin-left: -36px;
  justify-content: flex-start;
}

.contact-hero-title {
  font-size: 46px;
  font-weight: 500;
  color: #3b2e17;
  margin: 32px 0 20px;
}

.contact-hero-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.contact-hero-icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.contact-hero-sub {
  font-size: 16px;
  color: #6b5f4b;
  margin: 0;
}

.contact-lead {
  text-align: center;
  font-size: 16px;
  line-height: 2;
  color: #4a4130;
  margin: 0;
}

/* 必須・任意バッジ */
.required-badge,
.optional-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.required-badge {
  color: #e06a6a;
  border: 1px solid #f2b8b3;
}

.optional-badge {
  color: #6b5f4b;
  border: 1px solid #ddd4c2;
}

/* フォーム本体 */
.contact-form {
  border: 1px solid #cfe3b8;
  border-radius: 16px;
  background-color: #fff;
  padding: 32px 36px 40px;
  box-shadow: 0 8px 24px rgba(122, 168, 90, 0.12);
}

.contact-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 8px;
}

.contact-form-note {
  font-size: 15px;
  font-weight: 700;
  color: #3b2e17;
  margin: 0;
}

.contact-form-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b5f4b;
  margin: 0;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  background-image: repeating-linear-gradient(to right, #7db05f 0 6px, transparent 6px 14px);
  background-position: bottom;
  background-size: 100% 1px;
  background-repeat: no-repeat;
}

.contact-row--top {
  align-items: flex-start;
  background-image: none;
}

.contact-label {
  flex: 0 0 220px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #3b2e17;
}

.contact-label-note {
  flex: 0 0 100%;
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 400;
  color: #999;
  text-align: left;
}

.contact-row--top .contact-label {
  padding-top: 10px;
}

.contact-field {
  flex: 1;
  min-width: 0;
}

.contact-input,
.contact-textarea,
.contact-select {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 15px;
  color: #3b2e17;
  border: 1px solid #d9cbb0;
  border-radius: 10px;
  padding: 12px 14px;
  background-color: #fdfcf8;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-textarea {
  resize: vertical;
  line-height: 1.7;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: #b3a892;
}

.contact-input:focus,
.contact-textarea:focus,
.contact-select:focus {
  outline: none;
  border-color: #a9d18e;
  box-shadow: 0 0 0 3px rgba(122, 168, 90, 0.15);
}

.contact-select-wrap {
  position: relative;
}

.contact-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.contact-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #8a7c66;
  border-bottom: 2px solid #8a7c66;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.contact-agree {
  display: flex;
  justify-content: center;
  padding: 24px 0 4px;
}

.contact-agree-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #3b2e17;
  cursor: pointer;
}

.contact-agree-label input {
  width: 18px;
  height: 18px;
  accent-color: #6ea450;
  cursor: pointer;
}

.contact-agree-label a {
  color: #4a8a2e;
  text-decoration: underline;
}

.contact-submit {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background-color: #6ea450;
  border: none;
  border-radius: 999px;
  padding: 16px 56px;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s;
}

.contact-submit-btn:hover {
  background-color: #5c8f41;
  transform: translateY(-1px);
}

.contact-submit-arrow {
  font-size: 15px;
}

@media (max-width: 720px) {
  .contact-hero-inner {
    padding: 24px;
  }

  .contact-hero .breadcrumb {
    margin-left: 0;
  }

  .contact-hero-title {
    font-size: 34px;
  }

  .contact-form {
    padding: 24px 18px 28px;
  }

  .contact-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .contact-label {
    flex: none;
  }

  .contact-row--top .contact-label {
    padding-top: 0;
  }

  .contact-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
}

/* =====================
   都道府県の口コミ一覧ページ
   ===================== */
.breadcrumb-link {
  color: #4a8a2e;
  font-weight: 700;
}

.breadcrumb-link:hover {
  text-decoration: underline;
}

.rv-list-head {
  margin-bottom: 24px;
}

.rv-list-title {
  font-size: 30px;
  font-weight: 700;
  color: #3b1f02;
  margin-bottom: 12px;
}

.rv-list-em {
  color: #4a8a2e;
}

.rv-list-lead {
  font-size: 15px;
  color: #6b5d47;
  line-height: 1.8;
}

/* 絞り込みバー */
.rv-filter-bar {
  background-color: #fbf7ec;
  border: 1px solid #e8e0cc;
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 24px;
}

.rv-filter-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.rv-filter-field {
  flex: 1;
  min-width: 180px;
}

.rv-filter-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #6b5d47;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.rv-filter-control {
  position: relative;
}

.rv-filter-select,
.rv-filter-input {
  width: 100%;
  border: 1px solid #d8cba6;
  border-radius: 9px;
  padding: 11px 14px;
  background-color: #fff;
  color: #3b1f02;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  box-sizing: border-box;
}

.rv-filter-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a6a4f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
  cursor: pointer;
}

.rv-filter-input {
  padding-right: 40px;
}

.rv-filter-select:focus,
.rv-filter-input:focus {
  border-color: #f4b821;
}

/* シンプル絞り込みバー（市区町村口コミ一覧）: ラベルの枠・背景をなくし、入力欄を右に余白を残す */
.rv-filter-bar--simple .rv-filter-label {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
}

.rv-filter-bar--simple .rv-filter-field {
  flex: 0 1 250px;
}

.rv-filter-search-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: #a9976f;
  pointer-events: none;
  display: flex;
}

.rv-filter-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.rv-filter-clear {
  background: none;
  border: none;
  color: #4a8a2e;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.rv-filter-clear:hover {
  text-decoration: underline;
}

.rv-count {
  font-size: 14px;
  color: #6b5d47;
}

.rv-count strong {
  color: #3b1f02;
  font-size: 17px;
}

/* 口コミ一覧 */
.rv-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rv-item {
  color: inherit;
  position: relative;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.rv-item:hover {
  border-color: #cfe3b8;
  box-shadow: 0 4px 14px rgba(122, 168, 90, 0.12);
}

/* 「この口コミを見る」ボタン（右中央に浮かせる） */
.rv-item-action {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
}

.rv-item-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 10px 20px;
  border-radius: 8px;
  background-color: #fff;
  border: 1px solid #6ba13a;
  color: #4a8a2e;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.rv-item-btn:hover {
  background-color: #6ba13a;
  color: #fff;
}

.rv-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.rv-item-school {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  min-width: 0;
}

.rv-school-name {
  font-size: 16px;
  font-weight: 700;
  color: #2b1e00;
}

.rv-school-city {
  font-size: 13px;
  color: #6b5d47;
}

.rv-item .review-item-title {
  font-size: 17px;
  margin-bottom: 8px;
  padding-right: 160px;
}

.rv-item .review-item-text {
  margin-bottom: 0;
  padding-right: 160px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rv-item .review-item-rating {
  margin-bottom: 10px;
  padding-right: 160px;
}

/* 一覧内PRバナー */
.rv-pr-banner {
  display: block;
}

.rv-pr-banner img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.rv-pr-banner--pagination {
  margin-top: 24px;
}

/* display:block より hidden 属性を優先（PR未設定時に枠や壊れた画像を出さない） */
.rv-pr-banner[hidden],
.rv-pr-banner img[hidden] {
  display: none;
}

.rv-pr-banner--placeholder {
  min-height: 90px;
  border: 1px dashed #ddcba6;
  border-radius: 12px;
  background-color: #faf6ee;
  cursor: default;
}

.rv-empty {
  text-align: center;
  color: #9a8d78;
  padding: 40px 0;
}

@media (max-width: 768px) {
  .rv-list-title {
    font-size: 24px;
  }

  .rv-filter-fields {
    flex-direction: column;
    gap: 14px;
  }

  .rv-filter-field {
    width: 100%;
  }

  .rv-item {
    flex-direction: column;
    gap: 14px;
  }

  .rv-item .review-item-side {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    padding-right: 0;
    padding-bottom: 14px;
    border-right: none;
    border-bottom: 1px solid #e8ddc9;
  }

  .rv-item .review-reviewer {
    margin-top: 0;
  }

  .rv-item .review-item-rating,
  .rv-item .review-item-title,
  .rv-item .review-item-text {
    padding-right: 0;
  }

  .rv-item-action {
    position: static;
    transform: none;
    width: 100%;
  }

  .rv-item-btn {
    width: 100%;
  }
}

/* 市区町村選択パネル */
.rv-city-trigger {
  text-align: left;
  cursor: pointer;
}

.rv-city-trigger.is-open {
  border-color: #f4b821;
}

.rv-city-field {
  position: relative;
}

.rv-city-panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  width: 760px;
  max-width: calc(100vw - 48px);
  margin-top: 8px;
  background-color: #fffdf8;
  border: 1px solid #e8e0cc;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(59, 31, 2, 0.16);
}

.rv-city-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid #ece3cf;
}

.rv-city-panel-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #4a8a2e;
}

.rv-city-panel-icon {
  width: 22px;
  height: 22px;
}

.rv-city-panel-close {
  background: none;
  border: none;
  color: #4a8a2e;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.rv-city-panel-close:hover {
  text-decoration: underline;
}

.rv-city-panel-body {
  padding: 4px 22px;
  max-height: min(60vh, 520px);
  overflow-y: auto;
}

.rv-region-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #f0e9d8;
}

.rv-region-row:last-child {
  border-bottom: none;
}

.rv-region-name {
  flex-shrink: 0;
  width: 110px;
  padding-top: 7px;
  font-size: 15px;
  font-weight: 700;
  color: #6ba13a;
}

.rv-region-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rv-region-chip {
  border: 1px solid #d8cba6;
  border-radius: 9px;
  background-color: #fff;
  color: #3b1f02;
  font-size: 14px;
  padding: 9px 18px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.rv-region-chip:hover {
  border-color: #a9d18e;
  background-color: #f4f9ee;
}

.rv-region-chip.is-active {
  border-color: #6ba13a;
  background-color: #6ba13a;
  color: #fff;
}

@media (max-width: 768px) {
  .rv-region-row {
    flex-direction: column;
    gap: 10px;
  }

  .rv-region-name {
    width: auto;
    padding-top: 0;
  }

  .rv-city-panel-body {
    padding: 4px 16px;
  }

  .rv-city-panel-head {
    padding: 14px 16px;
  }
}

/* 承認メールのプレビュー（未公開データの確認）表示中の帯 */
.preview-ribbon {
  position: relative;
  z-index: 300;
  padding: 10px 16px;
  background-color: #d0342c;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}
