/*---------------------------------------------------------------------*/
/*                                                                     */
/*              エリアページ用 CSS  area.css                           */
/*              /area/[都道府県]/[市区町村].html で使用                */
/*                                                                     */
/*---------------------------------------------------------------------*/


/* ============================================================
   フェードアップアニメーション（main.jsの.showクラスに対応）
   ============================================================ */

.fadeUp {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fadeUp.show {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   ヒーローセクション
   ============================================================ */

.area-hero {
  position: relative;
  width: 95%;
  max-width: 1200px;
  margin: 40px auto 70px;
  background: #f7f8f5;
  border-radius: 16px;
  overflow: hidden;
  padding: 70px 60px;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.area-hero-monitor {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  width: 420px;
  opacity: 0.5;
  pointer-events: none;
}

.area-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.area-hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #555;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.area-hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #222;
  margin-bottom: 16px;
}

.area-hero-sub {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #444;
  margin-bottom: 24px;
}

.area-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.area-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #222;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px 14px;
  line-height: 1.5;
}

.area-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #222;
  background: #FFC422;
  text-decoration: none;
  border-radius: 999px;
  padding: 16px 32px;
  transition: background-color 0.3s ease;
}

.area-hero-cta:hover {
  background: #FFDB78;
}

.area-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #222;
  border-right: 2px solid #222;
  transform: rotate(45deg);
  flex-shrink: 0;
}


/* ============================================================
   セクション共通リード文
   ============================================================ */

.area-section-lead {
  font-size: 1rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #444;
  margin-bottom: 50px;
}


/* ============================================================
   アクセス・エリア紹介（3カラムカード）
   ============================================================ */

.area-access-section {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.area-access-card {
  background: #f7f8f5;
  border-radius: 12px;
  padding: 28px 24px;
}

.area-access-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 16px;
}

.area-access-card-title {
  font-weight: bold !important;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: #222;
  margin-bottom: 10px;
}

.area-access-card p {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #444;
}


/* ============================================================
   選ばれる理由（番号付き4カラム）
   ============================================================ */

.area-reason-section-wrap {
  background: #f0f4f2;
}

.area-reason-section {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 0;
  margin-bottom: 0 !important;
}

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

.area-reason-item {
  background: #fff;
  border-radius: 12px;
  padding: 28px 22px 24px;
}

.area-reason-num {
  font-family: "Alata", sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: #b8a9d9;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.area-reason-title {
  font-size: 1rem;
  font-weight: bold !important;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: #222;
  margin-bottom: 10px;
}

.area-reason-item p {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #555;
}


/* ============================================================
   サービスラインナップ（リンクカード）
   ============================================================ */

.area-service-section {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

.area-service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.area-service-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 22px 28px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.area-service-card:hover {
  background: #f7f8f5;
  border-color: #ccc;
}

.area-service-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
}

.area-service-body {
  flex: 1;
}

.area-service-title {
  font-size: 1rem;
  font-weight: bold !important;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: #222;
  margin-bottom: 4px;
}

.area-service-body p {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #555;
}

.area-service-arrow {
  font-size: 1.2rem;
  color: #999;
  flex-shrink: 0;
}


/* ============================================================
   よくある質問
   ============================================================ */

.area-faq-section {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

.area-faq-list {
  border-top: 1px solid #e0e0e0;
}

.area-faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 28px 0;
}

.area-faq-q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.area-q-mark {
  font-family: "Alata", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  background: #222;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0;
  line-height: 1;
}

.area-faq-q-text {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: #222;
}

.area-faq-a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.area-a-mark {
  font-family: "Alata", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #222;
  background: #FFC422;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0;
  line-height: 1;
}

.area-faq-a p {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #444;
}

.area-faq-a p a {
  color: #007F7F;
  text-decoration: underline;
}

.area-faq-a p a:hover {
  text-decoration: none;
}


/* ============================================================
   実績への導線
   ============================================================ */

.area-works-lead {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

.area-works-cta-wrap {
  margin-top: 10px;
}

.area-works-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #222;
  text-decoration: none;
  border: 2px solid #222;
  border-radius: 999px;
  padding: 14px 28px;
  transition: background-color 0.3s ease;
}

.area-works-cta:hover {
  background: #f0f4f2;
}


/* ============================================================
   対応エリア一覧（タグリスト）
   ============================================================ */

.area-map-section {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

.area-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #444;
  background: #f0f4f2;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  line-height: 1.5;
}

.area-tag:hover {
  background: #e0e8e4;
}

.area-tag-current {
  color: #fff;
  background: #222;
  border-color: #222;
  cursor: default;
}

.area-tag-current:hover {
  background: #222;
}


/* ============================================================
   スマホ対応 (max-width: 767px)
   ============================================================ */

@media (max-width: 767px) {

  .area-hero {
    width: 100%;
    border-radius: 0;
    margin: 0 0 50px;
    padding: 50px 5%;
    min-height: auto;
  }

  .area-hero-monitor {
    width: 200px;
    right: -30px;
    opacity: 0.3;
  }


  .area-hero-title {
    font-size: 2rem;
  }

  .area-hero-sub {
    font-size: 0.95rem;
  }

  .area-hero-badges {
    gap: 8px;
  }

  .area-badge {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  .area-hero-cta {
    font-size: 0.9rem;
    padding: 14px 24px;
    width: 100%;
    justify-content: center;
  }

  .area-section-lead {
    width: 90%;
    font-size: 0.9rem;
  }

  .area-access-section {
    width: 90%;
  }

  .area-access-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .area-reason-section {
    width: 90%;
    padding: 60px 0;
  }

  .area-reason-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .area-reason-item {
    padding: 20px 16px;
  }

  .area-reason-num {
    font-size: 1.8rem;
  }

  .area-service-section {
    width: 90%;
  }

  .area-service-card {
    padding: 16px 18px;
    gap: 14px;
  }

  .area-service-icon {
    font-size: 1.5rem;
    width: 36px;
  }

  .area-service-arrow {
    display: none;
  }

  .area-faq-section {
    width: 90%;
  }

  .area-faq-item {
    padding: 22px 0;
  }

  .area-faq-q-text {
    font-size: 0.95rem;
  }

  .area-works-lead {
    width: 90%;
  }

  .area-works-cta {
    width: 100%;
    justify-content: center;
  }

  .area-map-section {
    width: 90%;
  }

  .area-tag {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

}


/* ============================================================
   地域情報セクション（ホームページ事情）
   ============================================================ */

.area-local-section {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

.area-local-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.area-local-text p {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #444;
  margin-bottom: 1em;
}

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

.area-local-tags-wrap {
  background: #f7f8f5;
  border-radius: 12px;
  padding: 28px 24px;
}

.area-local-tags-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 16px;
}

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

.area-local-tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #444;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 6px 14px;
  line-height: 1.5;
}


/* スマホ対応 */
@media (max-width: 767px) {

  .area-local-section {
    width: 90%;
  }

  .area-local-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

}


/* ============================================================
   エリアタグ：都道府県ラベル・注意書き
   ============================================================ */

.area-tag-group-label {
  display: block;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #333333;
  margin-top: 20px;
  margin-bottom: 8px;
}

.area-tag-group-label:first-child {
  margin-top: 0;
}

.area-note {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: #cc0000;
  margin-top: 16px;
}


/* ============================================================
   都道府県インデックスページ：市区町村一覧グリッド
   ============================================================ */

.area-index-section {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.area-index-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f8f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 14px 8px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #333;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  line-height: 1.5;
}

.area-index-card:hover {
  background: #e8f0ec;
  border-color: #aac4b4;
  color: #222;
}

@media (max-width: 767px) {

  .area-index-section {
    width: 90%;
  }

  .area-index-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .area-index-card {
    font-size: 0.825rem;
    padding: 12px 6px;
  }

}


/* ============================================================
   都道府県ページ：画像＋テキストセクション
   ============================================================ */

.area-pref-section {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

.area-pref-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.area-pref-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

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

.area-pref-text p {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #444;
  margin-bottom: 1.2em;
}

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

@media (max-width: 767px) {

  .area-pref-section {
    width: 90%;
  }

  .area-pref-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

}


/* ============================================================
   地域情報セクション：縦並びレイアウト（業種タグ多い場合）
   ============================================================ */

.area-local-inner--stack {
  grid-template-columns: 1fr;
  gap: 24px;
}

.area-local-inner--stack .area-local-tags-wrap {
  background: none;
  padding: 0;
}
