/* ==========================================================================
   えどいど コーポレートサイト 共通スタイル
   コンセプト：「晴れた日の、まちの広場」
   カラーはロゴ（icon_edoido.png）から抽出
   ========================================================================== */

:root {
  /* ロゴ由来のカラー */
  --sky: #9ecff0;        /* ロゴ外周の水色：背景・飾り */
  --sky-pale: #eaf4fb;   /* 水色をさらに淡く：セクション背景 */
  --lemon: #f6f350;      /* ロゴ中心の黄色：相談ボタン専用 */
  --lemon-pale: #fdfbd9; /* 黄色の淡色：チップ・帯 */
  --teal: #3e8b91;       /* ロゴ車体の青緑：見出し・リンク・信頼感 */
  --teal-deep: #35798a;
  --leaf: #2f6b3e;       /* ロゴの小松菜：アクセント少量 */
  --leaf-pale: #e3efe4;

  /* ベース */
  --ground: #f7fbfc;     /* ほんのり空色を含んだ白 */
  --white: #ffffff;
  --ink: #22424f;        /* 本文：柔らかい濃紺 */
  --ink-soft: #55707c;
  --line: #dce9ee;

  --shadow: 0 4px 18px rgba(62, 139, 145, 0.10);
  --shadow-hover: 0 10px 28px rgba(62, 139, 145, 0.16);
  --radius: 18px;
  --radius-lg: 26px;

  --font-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 76px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ground);
  line-height: 1.9;
  font-size: 15.5px;
}

img { max-width: 100%; display: block; }

a { color: var(--teal); }

h1, h2, h3 {
  font-family: var(--font-round);
  font-weight: 700;
  line-height: 1.5;
  margin-top: 0;
  text-wrap: balance;
}

.container {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
}

.brand img { width: 46px; height: 46px; }

.brand .brand-name {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
}

.brand .brand-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  font-size: 0.88rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  padding: 0.3rem 0.1rem;
  border-bottom: 2.5px solid transparent;
}

.site-nav a:hover { color: var(--teal); }

.site-nav a[aria-current="page"] {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.menu-btn {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   ボタン
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-round);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 2rem;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.btn-primary {
  background: var(--lemon);
  color: var(--ink);
  box-shadow: 0 3px 0 rgba(34, 66, 79, 0.18);
}

.btn-ghost {
  background: var(--white);
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.btn-sm { padding: 0.55rem 1.5rem; font-size: 0.9rem; }

/* ヘッダーの相談リンク：ナビと並列＋黄色マーカー下線 */
.site-nav .nav-consult {
  font-weight: 700;
  border-bottom: 3px solid var(--lemon);
  margin-left: 0.3rem;
}

.site-nav .nav-consult:hover { color: var(--teal); }

/* --------------------------------------------------------------------------
   セクション共通
   -------------------------------------------------------------------------- */
.section { padding: 4.5rem 0; }

.section-alt { background: var(--sky-pale); }

.section-label {
  display: inline-block;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  border-radius: 999px;
  padding: 0.15rem 1rem;
  margin: 0 0 1rem;
  letter-spacing: 0.06em;
}

h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-bottom: 1rem; }

h3 { font-size: 1.12rem; }

.lead { max-width: 40em; }

.note { color: var(--ink-soft); font-size: 0.86rem; }

.marker {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--lemon) 62%);
  padding: 0 0.1em;
}

/* --------------------------------------------------------------------------
   ヒーロー（TOP）
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(160deg, var(--sky-pale) 0%, var(--ground) 70%);
  padding: 3.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.hero .hero-lead { max-width: 34em; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* サブページのヒーロー */
.page-hero {
  background: linear-gradient(160deg, var(--sky-pale) 0%, var(--ground) 80%);
  padding: 3rem 0 2.5rem;
}

.page-hero h1 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin-bottom: 0.6rem; }

.page-hero .lead { color: var(--ink-soft); margin: 0; }

/* --------------------------------------------------------------------------
   カード
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.7rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

/* 3つの入口カード */
.entrance-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  padding: 0;
  overflow: hidden;
  border-top: 5px solid var(--sky);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.entrance-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.entrance-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.entrance-card .body { padding: 1.2rem 1.4rem 1.4rem; }

.entrance-card .aud {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.entrance-card h3 { color: var(--teal); margin: 0 0 0.4rem; font-size: 1.05rem; }

.entrance-card p { font-size: 0.92rem; margin: 0 0 0.8rem; }

.entrance-card .go {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal);
}

/* 写真つき事例カード */
.photo-card { padding: 0; overflow: hidden; }

.photo-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.photo-card .body { padding: 1.1rem 1.3rem 1.3rem; }

.photo-card h3 { margin-bottom: 0.3rem; font-size: 1.02rem; }

.photo-card p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   えどいどとは（TOP）
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.about-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ゆったり版（TOPのえどいどとは） */
.section-roomy { padding: 7rem 0; }

.section-roomy .about-grid { gap: 4rem; align-items: start; }

.section-roomy p { line-height: 2.15; margin-bottom: 1.5em; }

.section-roomy .about-motto { margin: 2rem 0; }

.section-roomy .fact-row { margin-top: 2rem; }

.photo-stack {
  position: relative;
  margin-bottom: 3.5rem;
}

.photo-stack .photo-sub {
  position: absolute;
  right: -0.8rem;
  bottom: -3rem;
  width: 58%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--ground);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .section-roomy { padding: 4.5rem 0; }
  .photo-stack .photo-sub { right: 0; }
}

.about-motto {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin: 1.2rem 0;
}

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.fact {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  font-size: 0.86rem;
  font-weight: 500;
}

.fact b { color: var(--teal); font-family: var(--font-round); }

/* --------------------------------------------------------------------------
   具体的な取り組み（地域とのつながり内）
   -------------------------------------------------------------------------- */
.initiative-heading {
  margin-top: 3.5rem;
  margin-bottom: 0;
  font-size: 1.25rem;
}

.initiative-list {
  display: grid;
  gap: 1.3rem;
  margin-top: 1.6rem;
}

.initiative {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.initiative img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.initiative .body { padding: 1.5rem 1.8rem 1.6rem; }

.initiative .sub {
  display: inline-block;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--teal);
  background: var(--sky-pale);
  border-radius: 999px;
  padding: 0.15rem 0.9rem;
  margin-bottom: 0.5rem;
}

.initiative h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

.initiative p { font-size: 0.94rem; margin: 0 0 0.9rem; max-width: none; }

.initiative .tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.initiative .tags span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--leaf);
  background: var(--leaf-pale);
  border-radius: 999px;
  padding: 0.1rem 0.8rem;
}

@media (max-width: 760px) {
  .initiative { grid-template-columns: 1fr; }

  .initiative img {
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
  }
}

/* --------------------------------------------------------------------------
   地域コラボ（小松菜）
   -------------------------------------------------------------------------- */
.section-komatsuna { background: var(--leaf-pale); }

.section-komatsuna .section-label {
  color: var(--leaf);
  border-color: var(--leaf);
}

.komatsuna-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.k-item {
  margin: 0;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.k-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.k-item .cap {
  padding: 0.6rem 0.9rem 0.8rem;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.5;
}

.k-item .cap small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.76rem;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}

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

/* 運営法人の紹介（えどいどとは内） */
.corp-note {
  margin-top: 1.8rem;
  background: var(--white);
  border-left: 5px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  padding: 1.1rem 1.5rem;
  font-size: 0.92rem;
}

.corp-note b {
  font-family: var(--font-round);
  color: var(--teal-deep);
  display: block;
  margin-bottom: 0.2rem;
}

/* --------------------------------------------------------------------------
   相談の流れ
   -------------------------------------------------------------------------- */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
  counter-reset: step;
}

.step {
  position: relative;
  margin-top: 1rem;
  padding-top: 2rem;
}

.step .step-num {
  position: absolute;
  top: -1rem;
  left: 1.3rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-round);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.step h3 { margin-bottom: 0.4rem; }

.step p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* 費用・予算について（相談の流れの下） */
.fee-block { margin-top: 4.5rem; }

.fee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  margin-top: 2rem;
}

.fee-card h3 { margin: 0 0 1rem; color: var(--teal-deep); }

.fee-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  display: grid;
  gap: 0.55rem;
}

.fee-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.5rem;
  font-size: 0.95rem;
}

.fee-list b {
  font-family: var(--font-round);
  color: var(--teal-deep);
  flex: none;
}

.fee-card .note { margin: 0; }

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

/* --------------------------------------------------------------------------
   キッチンカーカード
   -------------------------------------------------------------------------- */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.3rem;
}

.car-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.car-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.car-card .body {
  padding: 1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.genre-row { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.genre-chip {
  font-size: 0.74rem;
  font-weight: 700;
  color: #6b6200;
  background: var(--lemon-pale);
  border: 1px solid #ece99c;
  border-radius: 999px;
  padding: 0.05rem 0.7rem;
}

.car-name {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.role-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  background: var(--teal);
  border-radius: 999px;
  padding: 0.1rem 0.7rem;
  flex: none;
}

.car-menu { margin: 0; font-size: 0.88rem; }

.car-menu b { color: var(--teal-deep); }

.feature-row { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.feature-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--leaf);
  background: var(--leaf-pale);
  border-radius: 999px;
  padding: 0.05rem 0.7rem;
}

.car-card .links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.car-card .ig-link {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  text-decoration: none;
}

.car-card .ig-link:hover { background: var(--sky-pale); }

/* TOPのキッチンカーカルーセル */
.carousel {
  position: relative;
  margin-top: 2rem;
}

.cars-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3.9rem) / 4);
  column-gap: 1.3rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.3rem 0.2rem 0.8rem;
  scrollbar-width: none;
}

.cars-carousel::-webkit-scrollbar { display: none; }

.cars-carousel .car-card { scroll-snap-align: start; }

.car-nav {
  position: absolute;
  top: 40%;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--teal);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.car-nav svg { width: 20px; height: 20px; }

.car-nav:hover { background: var(--sky-pale); }

.car-nav.prev { left: -22px; }

.car-nav.next { right: -22px; }

@media (max-width: 900px) {
  .cars-carousel { grid-auto-columns: calc((100% - 1.3rem) / 2); }

  .car-nav.prev { left: -6px; }

  .car-nav.next { right: -6px; }
}

@media (max-width: 560px) {
  .cars-carousel { grid-auto-columns: 78%; }
}

/* ジャンル絞り込み */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.filter-chip {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--teal);
  background: var(--white);
  border: 1.5px solid var(--teal);
  border-radius: 999px;
  padding: 0.35rem 1.2rem;
  cursor: pointer;
}

.filter-chip.active {
  background: var(--teal);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   できること（サブページ）
   -------------------------------------------------------------------------- */
.usecase-list {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.usecase-list li {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.4rem;
  border-left: 5px solid var(--sky);
}

.usecase-list li b {
  font-family: var(--font-round);
  color: var(--teal-deep);
  display: block;
}

.usecase-list li span { font-size: 0.92rem; color: var(--ink-soft); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }

.check-list li { padding-left: 1.9em; position: relative; }

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0.3em;
  color: var(--leaf);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   相談セクション（全ページ共通CTA）
   -------------------------------------------------------------------------- */
.consult { padding: 4.5rem 0; }

.consult-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-top: 6px solid var(--lemon);
  padding: 2.8rem 2rem;
  text-align: center;
}

.consult-box h2 { margin-bottom: 0.6rem; }

.consult-box .lead { margin: 0 auto 1.6rem; color: var(--ink-soft); }

.consult-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.consult-sub {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.consult-sub a { color: var(--teal); font-weight: 500; }

/* --------------------------------------------------------------------------
   お問い合わせページ
   -------------------------------------------------------------------------- */
.contact-intro {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
}

.contact-intro .lead { margin-bottom: 0; }

.contact-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .contact-intro { grid-template-columns: 1fr; gap: 1.5rem; }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.contact-card {
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border-top: 5px solid var(--sky);
}

.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.contact-card .how {
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--teal);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.contact-card .value {
  font-weight: 700;
  font-size: 1rem;
  word-break: break-all;
}

.contact-card .hint { font-size: 0.84rem; color: var(--ink-soft); margin-top: 0.4rem; }

/* --------------------------------------------------------------------------
   トップへ戻るボタン
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 40;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal);
  border: 1.5px solid var(--teal);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.to-top:hover { background: var(--sky-pale); }

.to-top svg { width: 22px; height: 22px; }

@media (prefers-reduced-motion: reduce) {
  .to-top { transition: none; }
}

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--sky-pale);
  border-top: 1px solid var(--line);
  padding: 2.8rem 0 2rem;
  margin-top: 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand { display: flex; align-items: center; gap: 0.8rem; }

.footer-brand img { width: 60px; height: 60px; }

.footer-brand .name {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 1.15rem;
}

.footer-brand .copy { font-size: 0.82rem; color: var(--ink-soft); }

.footer-nav {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.footer-nav a { color: var(--ink); text-decoration: none; }

.footer-nav a:hover { color: var(--teal); }

.footer-meta {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.footer-meta a { color: var(--teal); }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }

  .hero-photo { order: -1; }

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

  .section { padding: 3.2rem 0; }
}

@media (max-width: 1180px) {
  .menu-btn { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.5rem 1.25rem 1rem;
  }

  .site-header.nav-open .site-nav { display: flex; }

  .site-nav a {
    padding: 0.8rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-consult {
    margin: 0.6rem 0 0;
    padding: 0.8rem;
    background: var(--lemon-pale);
    border-bottom: none;
    border-radius: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .entrance-card, .contact-card { transition: none; }
}

/* --------------------------------------------------------------------------
   サブページヒーローの写真
   画像は assets/img/heroes/<ページ名>.jpg（未配置の間は既存写真で代替表示）
   -------------------------------------------------------------------------- */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.page-hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* --------------------------------------------------------------------------
   「こんなお悩みありませんか？」ブロック
   -------------------------------------------------------------------------- */
.worry-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 1.3rem;
}

.worry-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.35rem;
}

/* 吹き出しのしっぽ */
.worry-list li::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 2.4rem;
  width: 15px;
  height: 15px;
  background: var(--white);
  border-radius: 0 0 4px 0;
  transform: rotate(45deg);
}

.worry-icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sky-pale);
  color: var(--teal-deep);
}

.worry-icon svg { width: 22px; height: 22px; }

.worry-list p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.8;
}

.worry-close {
  margin: 2.4rem 0 0;
  text-align: center;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 1.08rem;
}

@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .worry-list { grid-template-columns: 1fr; }
  .worry-close { text-align: left; }
}
