@charset "UTF-8";
/* ==========================================================================
   古平・余市ウィンドファーム事業 特設サイト
   style.css
   --------------------------------------------------------------------------
   1. 変数（カラー・書体・余白）
   2. リセット / ベース
   3. 共通パーツ（container / section-title / btn / link-more / arrow）
   4. ヒーロー + 重要なお知らせ
   5. 知りたいことから探す
   6. 事業について / 地域との共生
   7. お知らせ / よくあるご質問
   8. さらに詳しく知りたい方へ / お問い合わせ
   9. レスポンシブ
   ========================================================================== */

/* ==========================================================================
   1. 変数
   ========================================================================== */
:root {
  /* テキスト */
  --c-navy: #0f3f6b; /* 見出し（濃紺） */
  --c-text: #444b54; /* 本文 */
  --c-text-sub: #79838d; /* 補足・日付 */

  /* アクセント */
  --c-blue: #1f6fb2;
  --c-blue-dark: #17578c;
  --c-blue-pale: #eaf3fa;
  --c-blue-line: #d5e5f2;

  --c-green: #2e9d6e;
  --c-green-pale: #ebf6f0;
  --c-green-line: #d3e9dc;

  --c-orange: #e8863a;
  --c-orange-dark: #d5762c;
  --c-orange-pale: #fdf3e9;
  --c-orange-line: #f4dcc2;

  --c-purple: #7c63be;
  --c-purple-pale: #f1eef9;
  --c-purple-line: #dfd8f0;

  --c-red: #d4453c;

  /* 面 */
  --c-bg: #ffffff;
  --c-bg-tint: #f5f9fc;
  --c-border: #e3eaf0;
  --c-shadow: 0 2px 10px rgba(15, 63, 107, 0.06);
  --c-shadow-card: 0 3px 14px rgba(15, 63, 107, 0.08);

  /* 書体 */
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Yu Gothic Medium", "游ゴシック Medium", "YuGothic", "Meiryo", sans-serif;

  /* レイアウト */
  --w-container: 1160px;
  --pad-side: 24px;
  --radius: 10px;
  --radius-lg: 14px;
}

/* ==========================================================================
   2. リセット / ベース
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-text);
  background: var(--c-bg);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol,
li,
figure {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

time {
  font-variant-numeric: tabular-nums;
}

/* キーボード操作時のフォーカス */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   3. 共通パーツ
   ========================================================================== */
/* --- パンくず（全ページ共通） --- */
.breadcrumb {
  padding: 11px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--c-text-sub);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb li:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  border-top: 1.2px solid #a9b5c0;
  border-right: 1.2px solid #a9b5c0;
  transform: rotate(45deg);
}
.breadcrumb a {
  color: var(--c-blue);
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb li[aria-current] {
  font-weight: 700;
  color: var(--c-navy);
}

@media (max-width: 640px) {
  .breadcrumb {
    padding-top: 8px;
    font-size: 11.5px;
  }
}

.ilblk {
  display: inline-block;
}

br.br-340 {
  display: none;
}
br.br-350 {
  display: none;
}
br.br-390 {
  display: none;
}
br.br-430 {
  display: none;
}
br.br-500 {
  display: none;
}
br.br-640 {
  display: none;
}

.fy-container {
  width: 100%;
  max-width: var(--w-container);
  margin-inline: auto;
  padding-inline: var(--pad-side);
}

/* --- セクション見出し（中央・下に短い罫） --- */
.section-title {
  margin-bottom: 23px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-navy);
  text-align: center;
  letter-spacing: 0.04em;
}
.section-title::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin: 8px auto 0;
  background: var(--c-navy);
}

/* --- 矢印（→） --- */
.arrow {
  position: relative;
  flex: none;
  width: 16px;
  height: 10px;
}
.arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.4px;
  background: currentColor;
  transform: translateY(-50%);
}
.arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1.4px solid currentColor;
  border-right: 1.4px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* --- 山括弧（＞） --- */
.chevron {
  flex: none;
  width: 7px;
  height: 7px;
  border-top: 1.4px solid currentColor;
  border-right: 1.4px solid currentColor;
  transform: rotate(45deg);
}

/* --- 「一覧を見る」等のテキストリンク --- */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-navy);
  white-space: nowrap;
}
.link-more:hover {
  color: var(--c-blue);
}

/* --- ボタン --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 46px;
  padding: 5px 26px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
}

.btn--outline-blue {
  color: var(--c-blue-dark);
  background: #fff;
  border: 1px solid var(--c-blue);
}
.btn--outline-blue:hover {
  color: #fff;
  background: var(--c-blue);
}
/* PNGアイコンはcolorが効かないため、hover時はフィルターで白にする */
.btn--outline-blue:hover .news-list__icon {
  filter: brightness(0) invert(1);
}

.btn--outline-orange {
  color: var(--c-orange-dark);
  background: #fff;
  border: 1px solid var(--c-orange);
}
.btn--outline-orange:hover {
  color: #fff;
  background: var(--c-orange);
}

.btn--fill-orange {
  color: #fff;
  background: var(--c-orange);
  border: 1px solid var(--c-orange);
  box-shadow: 0 2px 6px rgba(232, 134, 58, 0.28);
}
.btn--fill-orange:hover {
  background: var(--c-orange-dark);
}

/* ==========================================================================
   4. ヒーロー + 重要なお知らせ
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  max-width: var(--w-container);
  margin: 14px auto 0; /* パンくずとの間隔 */
  padding: 0 var(--pad-side) 22px; /* 下パディング＝お知らせ帯の重なり分 */
}

.hero__media {
  position: relative;
  height: 430px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

/* 左側を明るく落とす（斜めの境界はグラデーションの角度で表現） */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(104deg, rgba(238, 247, 252, 0.94) 0%, rgba(238, 247, 252, 0.88) 30%, rgba(238, 247, 252, 0.62) 44%, rgba(238, 247, 252, 0.04) 54%, rgba(238, 247, 252, 0) 62%);
}

.hero__inner {
  position: absolute;
  top: 0;
  right: var(--pad-side);
  bottom: 44px;
  left: var(--pad-side);
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 0 0 0 52px;
}

.hero__body {
  width: 95%;
}

.hero__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-navy);
  letter-spacing: 0.04em;
}

.hero__lead {
  margin-top: 11px;
  font-size: 16px;
  line-height: 2;
  color: #2e4a63;
}

.hero__action {
  margin-top: 15px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding: 5px 22px;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  background: var(--c-navy);
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.btn-hero:hover {
  background: var(--c-blue-dark);
}

/* --- 重要なお知らせ帯 --- */
.alert-bar {
  position: absolute;
  right: 0;
  bottom: -30px;
  left: 0;
  z-index: 4;
  width: 100%;
  padding-inline: 46px;
}
.alert-bar__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 8px 26px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(15, 63, 107, 0.1);
}

.alert-bar__label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-red);
  white-space: nowrap;
}

.alert-bar__label img {
  width: 30px;
}

.alert-bar__list {
  flex: 1 1 auto;
  min-width: 0;
  border-left: 1px solid var(--c-border);
  padding-left: 26px;
}
.alert-bar__list li {
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.alert-bar__list li + li {
  margin-top: 3px;
}
.alert-bar__list time {
  flex: none;
  font-size: 13.5px;
  color: var(--c-text-sub);
}
.alert-bar__list a,
.alert-bar__list span {
  font-size: 14.5px;
  color: var(--c-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.alert-bar__list p {
  font-size: 14.5px;
  color: var(--c-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.alert-bar__list a:hover {
  color: var(--c-blue);
  text-decoration: underline;
}

.alert-bar__more {
  flex: none;
}

/* ==========================================================================
   5. 知りたいことから探す
   ========================================================================== */
.explore {
  padding: 48px 0 33px;
  background: var(--c-bg);
}

.explore__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.nav-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 15px 16px 13px;
  border: 1px solid var(--c-blue-line);
  border-radius: var(--radius);
  background: var(--c-blue-pale);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--c-shadow-card);
}

.nav-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  margin-bottom: 7px;
}

.nav-card__icon img {
  width: 58px;
}

.nav-card__question {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: calc(1.55em * 2); /* 2行分の高さを確保し、1行の場合は上下中央に配置 */
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--c-navy);
  letter-spacing: 0.01em;
}

.nav-card__label {
  margin-top: 7px;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: var(--c-text-sub);
}

.nav-card__arrow {
  display: block;
  width: 26px;
  height: 26px;
  margin-top: auto;
  padding-top: 0;
  border-radius: 50%;
  background: var(--c-blue);
}
.nav-card__arrow::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin: 10px auto 0;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
  transform: rotate(45deg);
}

/* 色バリエーション */
.nav-card--green {
  background: var(--c-green-pale);
  border-color: var(--c-green-line);
}
.nav-card--green .nav-card__arrow {
  background: var(--c-green);
}

.nav-card--orange {
  background: var(--c-orange-pale);
  border-color: var(--c-orange-line);
}
.nav-card--orange .nav-card__arrow {
  background: var(--c-orange);
}

.nav-card--purple {
  background: var(--c-purple-pale);
  border-color: var(--c-purple-line);
}
.nav-card--purple .nav-card__arrow {
  background: var(--c-purple);
}

/* ==========================================================================
   6. 事業について / 地域との共生
   ========================================================================== */
.summary {
  padding-bottom: 7px;
}

.summary__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* --- パネル共通 --- */
.panel {
  position: relative;
  padding: 17px 34px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
}

.panel--business {
  background: var(--c-blue-pale);
  border-color: var(--c-blue-line);
}
.panel--community {
  background: var(--c-orange-pale);
  border-color: var(--c-orange-line);
}

.panel__deco {
  position: absolute;
  top: 10px;
  right: -34px;
  width: 205px;
  opacity: 0.42;
  pointer-events: none;
}

.panel__title {
  position: relative;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-navy);
  letter-spacing: 0.02em;
}

.panel__text {
  position: relative;
  margin-top: 7px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--c-text);
}

.panel__action {
  margin-top: 13px;
  text-align: center;
}
.panel__action .btn {
  min-width: 240px;
}

/* --- 数値ボックス --- */
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 13px;
}
.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 上揃えにして、3つのアイコン・紺色文字の位置を揃える */
  justify-content: flex-start;
  min-height: 128px;
  padding: 9px 8px;
  background: #fff;
  border-radius: var(--radius);
  text-align: center;
}
.stats__item img {
  width: 44px;
  margin-bottom: 3px;
}
.stats__text {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stats__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  color: var(--c-navy);
  line-height: 1.15;
}
.stats__value em {
  font-size: 31px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.01em;
}
.stats__prefix {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-text-sub);
}
.stats__unit {
  font-size: 13px;
  font-weight: 700;
}
.stats__value--text {
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 0;
  /* 「最大」＋数値の行と同じ高さにして、アイコン・ラベルの位置を揃える */
  min-height: calc(12px * 1.4 + 31px * 1.15);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

.stats__label {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--c-text-sub);
}

/* --- 3ステップ（聴く → 伝える → 検討する） --- */
.flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.index-flow {
  margin-top: 35px;
}
.flow__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  text-align: center;
}
/* 項目間の矢印 */
.flow__item + .flow__item {
  position: relative;
}
.flow__item + .flow__item::before {
  content: "";
  position: absolute;
  top: 30px;
  left: -14px;
  width: 12px;
  height: 1.4px;
  background: #b7c4cf;
}
.flow__item + .flow__item::after {
  content: "";
  position: absolute;
  top: 28px;
  left: -6px;
  width: 5px;
  height: 5px;
  border-top: 1.4px solid #b7c4cf;
  border-right: 1.4px solid #b7c4cf;
  transform: rotate(45deg);
}

.flow__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--c-blue-pale);
}
.flow__icon img {
  width: 44px;
}
.flow__icon--orange {
  background: #fbe4cf;
}

.flow__label {
  margin-top: 5px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--c-text);
}

/* ==========================================================================
   7. お知らせ / よくあるご質問
   ========================================================================== */
.updates {
  padding: 13px 0;
}

.updates__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel--news,
.panel--faq {
  background: var(--c-bg-tint);
  border-color: var(--c-blue-line);
  padding: 14px 30px 13px;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 4px;
}

.panel__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--c-navy);
  letter-spacing: 0.02em;
}
.panel__heading img {
  width: 36px;
}
.panel__heading--plain {
  display: block;
}

.panel__head-link {
  flex: none;
}

/* --- お知らせ一覧 --- */
.news-list li {
  border-top: 1px solid var(--c-border);
}

.news-list a,
.news-list .news-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 2px;
  color: var(--c-text);
}
.news-list a:hover {
  color: var(--c-blue);
}
.news-list a:hover .news-list__title {
  text-decoration: underline;
}

.news-list time {
  flex: none;
  font-size: 13.5px;
  color: var(--c-text-sub);
}

.tag {
  flex: none;
  padding: 2px 10px;
  border-radius: 3px;
  background: #dce9f3;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-blue-dark);
  line-height: 1.6;
  white-space: nowrap;
  min-width: 103px;
  text-align: center;
}

.news-list__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  line-height: 1.6;
}

.news-list .arrow {
  color: var(--c-blue);
}

/* PDF・別タブアイコンをタイトル文字の直後に並べる */
.news-list__icon {
  display: inline-block;
  margin-left: 4px;
  vertical-align: -2px;
}
/* 別タブで開く行は矢印の代わりに外部リンクアイコンを右端に置く */
.news-list__ext {
  flex: none;
}
/* SP用：タイトル文字の後ろに付ける外部リンクアイコン（PCでは非表示） */
.news-list__ext-sp {
  display: none;
}

/* --- FAQ アコーディオン --- */
.faq-list__item {
  border-top: 1px solid var(--c-border);
}

.faq-list__q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 7px 4px;
  text-align: left;
}
.faq-list__q:hover {
  color: var(--c-blue);
}

.faq-list__mark {
  flex: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-blue);
  line-height: 1.7;
}

.faq-list__text {
  flex: 1 1 auto;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--c-text);
}

/* ＋ / − のマーク */
.faq-list__toggle {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 3px;
}
.faq-list__toggle::before,
.faq-list__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.6px;
  background: var(--c-blue);
  transform: translateY(-50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.faq-list__toggle::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-list__q[aria-expanded="true"] .faq-list__toggle::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

.faq-list__a {
  padding: 0 4px 9px 30px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-text);
}
.faq-list__a[hidden] {
  display: none;
}

/* ==========================================================================
   8. さらに詳しく知りたい方へ / お問い合わせ
   ========================================================================== */
.more {
  padding: 13px 0 45px;
}

.more__grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
  align-items: start;
}

.panel--more {
  background: var(--c-bg-tint);
  border-color: var(--c-blue-line);
  padding: 14px 30px 15px;
}
.panel--more .panel__heading {
  margin-bottom: 10px;
}

.link-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.link-card {
  display: flex;
  flex-direction: column;
  padding: 11px 22px 10px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--c-shadow);
}
.link-card__icon {
  width: 44px;
  margin-bottom: 6px;
}

.link-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-green);
}

.link-card__text {
  margin-top: 5px;
  flex: 1 1 auto;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--c-text-sub);
}

.link-card__link {
  margin-top: 8px;
}
.link-card__link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-card__link a:hover {
  text-decoration: none;
}

/* --- お問い合わせ --- */
.panel--contact {
  background: var(--c-orange-pale);
  border-color: var(--c-orange-line);
  padding: 15px 32px 16px;
}
.panel--contact .panel__text {
  margin-top: 6px;
  font-size: 13.5px;
  color: #6e6257;
}
.panel--contact .panel__action {
  margin-top: 11px;
}
.panel--contact .btn {
  min-width: 240px;
}

/* TOPよくある質問 */
.qa-more {
  color: var(--c-blue);
  text-decoration: underline;
}
/* ==========================================================================
   9. レスポンシブ
   ========================================================================== */

/* --- タブレット横 --- */
@media (max-width: 1080px) {
  .explore__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
  }
  .explore__list li {
    width: 186px;
  }
  .panel__deco {
    display: none;
  }
}

/* --- 2カラム → 1カラム --- */
@media (max-width: 1050px) {
  .summary__grid,
  .updates__grid,
  .more__grid {
    grid-template-columns: 1fr;
  }

  .more__grid {
    align-items: stretch;
  }

  .index-flow {
    margin-top: 12px;
  }
}

/* --- タブレット縦 --- */
@media (max-width: 900px) {
  .hero {
    padding-bottom: 0;
  }
  .hero__media {
    height: 340px;
  }
  .hero__inner {
    bottom: 0;
    padding-left: 30px;
  }
  .hero__body {
    position: absolute;
    top: 6px;
    z-index: 1;
  }
  .hero__title {
    font-size: 37px;
  }

  .alert-bar {
    position: static;
    margin-top: 20px;
    padding-inline: 14px;
  }
  .alert-bar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
  }
  .alert-bar__list {
    padding-left: 0;
    border-left: 0;
  }
  .alert-bar__more {
    text-align: right;
  }
}

/* --- スマートフォン --- */
@media (max-width: 640px) {
  :root {
    --pad-side: 18px;
    --radius-lg: 12px;
  }

  body {
    font-size: 15px;
  }

  br.br-640 {
    display: block;
  }

  /* ヒーロー：画像の上に文字を乗せず、上下に分ける */
  .hero {
    margin-top: 8px;
    padding: 0 0 3px;
  }
  .hero__media {
    height: 354px;
    border-radius: 0;
  }
  .hero__media::before {
    z-index: 0;
  }
  .hero__media::after {
    display: none;
  }
  .hero__inner {
    position: static;
    display: block;
    padding: 13px var(--pad-side) 0;
  }
  .hero__body {
    top: 55px;
    max-width: none;
    padding-right: 18px;
  }
  .hero__title {
    font-size: 30px;
    letter-spacing: 0.02em;
  }
  .hero__lead {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.95;
  }
  .hero__action {
    margin-top: 11px;
  }
  .btn-hero {
    justify-content: space-between;
    width: 100%;
  }

  .alert-bar {
    margin-top: 13px;
    padding-inline: var(--pad-side);
  }
  .alert-bar__inner {
    padding: 8px 18px;
  }
  .alert-bar__list li {
    flex-direction: column;
    gap: 2px;
  }
  .alert-bar__list li + li {
    margin-top: 6px;
    padding-top: 3px;
    border-top: 1px solid var(--c-border);
  }
  .alert-bar__list a,
  .alert-bar__list span {
    white-space: normal;
    line-height: 1.7;
  }

  /* 探すカード：2列 */
  .explore {
    padding: 24px 0 20px;
  }
  .section-title {
    margin-bottom: 16px;
    font-size: 23px;
  }
  .explore__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .explore__list li {
    width: 166px;
  }
  .nav-card {
    padding: 12px 12px 11px;
  }
  .nav-card__question {
    font-size: 16px;
  }

  /* パネル */
  .panel {
    padding: 13px 20px 12px;
  }
  .panel--news,
  .panel--faq,
  .panel--more {
    padding: 12px 20px 11px;
  }
  .panel--contact {
    padding: 12px 20px 13px;
  }

  .panel__title {
    font-size: 19px;
  }
  .panel__text br {
    display: none;
  }

  /* 数値ボックス：1列 */
  .stats {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: 347px;
    margin-inline: auto;
  }
  .stats__item {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    min-height: 0;
    padding: 7px 18px;
    text-align: left;
  }
  .stats__item img {
    margin-bottom: 0;
  }
  .stats__text {
    flex-direction: row;
    justify-content: space-between;
    gap: 13px;
  }
  .stats__label {
    margin-top: 0;
  }
  .stats__value--text {
    min-height: 0;
  }

  /* お知らせ */
  .panel__head {
    align-items: flex-end;
    padding-bottom: 3px;
  }
  .panel__heading {
    font-size: 17.5px;
  }

  .news-list a,
  .news-list .news-list__item {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 7px 0;
  }
  .news-list__title {
    flex: 1 1 100%;
    order: 3;
  }
  .news-list .arrow {
    display: none;
  }
  /* SPでは外部リンクアイコンをタイトル文字の後ろに出す */
  .news-list__ext {
    display: none;
  }
  .news-list__ext-sp {
    display: inline-block;
  }

  /* さらに詳しく */
  .more {
    padding: 10px 0 30px;
  }
  .link-cards {
    grid-template-columns: 1fr;
  }
  .link-card__title br {
    display: none;
  }
  .panel--contact .btn {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 500px) {
  br.br-500 {
    display: block;
  }
}

@media (max-width: 530px) {
  .hero__title {
    font-size: 27px;
  }
  .btn-hero {
    font-size: 13.5px;
  }
}

@media (max-width: 471px) {
  .hero__body {
    top: 45px;
  }
}

@media (max-width: 430px) {
  br.br-430 {
    display: block;
  }

  .explore__list li {
    width: calc((100% - 12px) / 2);
    max-width: 166px;
  }

  .stats__item {
    flex-direction: column;
    gap: 7px;
  }

  /* 3ステップ：矢印を縦向きに */
  .flow {
    flex-direction: column;
    gap: 22px;
    margin-top: 12px;
  }
  .flow__item {
    width: 100%;
  }
  .flow__item + .flow__item::before {
    top: -16px;
    left: 50%;
    width: 1.4px;
    height: 12px;
    transform: translateX(-50%);
  }
  .flow__item + .flow__item::after {
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }
}

@media (max-width: 390px) {
  br.br-390 {
    display: block;
  }

  .hero__title {
    font-size: 26px;
  }
  .btn-hero {
    font-size: 12.5px;
  }
  .hero__lead {
    margin-top: 8px;
    font-size: 14px;
  }
}

@media (max-width: 375px) {
  .stats__item:nth-child(2) .stats__text {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 360px) {
  .hero__body {
    top: 25px;
  }
}

@media (max-width: 350px) {
  br.br-350 {
    display: block;
  }
}

@media (max-width: 340px) {
  br.br-340 {
    display: block;
  }
}

/* ==========================================================================
   トップ：事業について／地域との関わりについて の2パネル
   - 左右のボタン位置を揃える
   - 右パネルのアイコン・ラベルを拡大
   ========================================================================== */

/* ボタンをパネル下端に揃える（2枚は同じ高さに伸びるため位置が一致する） */
.summary__grid .panel {
  display: flex;
  flex-direction: column;
}
.summary__grid .panel__action {
  margin-top: auto;
  padding-top: 13px;
}

/* 右パネル：アイコンを大きく */
.flow__icon {
  width: 88px;
  height: 88px;
}
.flow__icon img {
  width: 54px;
}
.flow__label {
  margin-top: 8px;
  font-size: 15px;
}

/* アイコンが大きくなった分、項目間の矢印の高さを合わせる */
.flow__item + .flow__item::before {
  top: 37px;
}
.flow__item + .flow__item::after {
  top: 35px;
}

@media (max-width: 900px) {
  /* 1カラムになるため矢印は縦向きのまま（既存指定を維持） */
  /* .flow__item + .flow__item::before { top: -16px; } */
  /* .flow__item + .flow__item::after  { top: -10px; } */
}

/* ==========================================================================
   スマートフォン表示の最適化
   ========================================================================== */
@media (max-width: 640px) {
  /* ヒーロー：斜めのグラデーションだと文字の後半が写真に重なって
     読みにくいため、全面に薄い膜をかけて可読性を確保する */
  .hero__media::before {
    background: linear-gradient(180deg, rgba(238, 247, 252, 0.94) 0%, rgba(238, 247, 252, 0.9) 52%, rgba(238, 247, 252, 0.72) 78%, rgba(238, 247, 252, 0.5) 100%);
  }
  .hero__title,
  .hero__lead {
    text-shadow: 0 0 6px #fff, 0 0 10px rgba(255, 255, 255, 0.9);
  }
  /* ボタンの文字が途中で折り返さないように */
  .btn-hero {
    gap: 10px;
    padding-inline: 16px;
    line-height: 1.5;
  }
  .btn-hero .chevron {
    flex: none;
  }
}

/* 狭い端末（320px〜）ではみ出さないよう微調整 */
@media (max-width: 360px) {
  .hero__title {
    font-size: 24px;
  }
  .hero__lead {
    font-size: 13.5px;
  }
  .btn-hero {
    font-size: 12px;
    padding-inline: 12px;
  }
}

/* 狭い端末でヒーローの本文がはみ出さないようにする */
@media (max-width: 640px) {
  .hero__body {
    width: auto;
    padding-right: 16px;
  }
}

/* ==========================================================================
   共通パーツとの調整
   共通CSS（responsive_base.css）に a[target="_blank"] { background: none }
   という指定があり、別タブで開くボタンの背景色が消えるため打ち消す。
   セレクタの詳細度を共通側より高くしている。
   ========================================================================== */
a.btn[target="_blank"].btn--fill-orange {
  background: var(--c-orange);
}
a.btn[target="_blank"].btn--fill-green {
  background: #1f7a52;
}
a.btn[target="_blank"].btn--fill-blue {
  background: var(--c-blue);
}
a.btn[target="_blank"].btn--outline-blue,
a.btn[target="_blank"].btn--outline-orange,
a.btn[target="_blank"].btn--outline-green {
  background: #fff;
}
a.btn[target="_blank"].btn--fill-orange:hover {
  background: var(--c-orange-dark);
}
a.btn[target="_blank"].btn--fill-green:hover {
  background: #196242;
}
a.btn[target="_blank"].btn--outline-blue:hover {
  background: var(--c-blue);
}
a.btn[target="_blank"].btn--outline-orange:hover {
  background: var(--c-orange);
}
a.btn[target="_blank"].btn--outline-green:hover {
  background: var(--c-green);
}

/* 自前の外部リンクアイコンがある箇所に、共通JSがアイコンを重ねないようにする
   （共通JS側は .noicon が付いた要素を対象外にする仕様） */
