@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --cream: #FDF6EE;
  --cream-dark: #F5EAD8;
  --terra: #E8654A;
  --terra-dark: #C94F38;
  --green: #4A7C6F;
  --green-light: #E8F2F0;
  --butter: #F9C784;
  --butter-light: #FEF3DC;
  --text: #2D2D2D;
  --text-muted: #7A7A7A;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

h1, h2, h3, h4 {
  font-family: 'Zen Maru Gothic', sans-serif;
  line-height: 1.4;
}

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

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

/* ── ナビゲーション ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,246,238,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(74,124,111,0.15);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.nav-logo {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo span { font-size: 22px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--terra);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--terra-dark) !important; color: var(--white) !important; }

/* ── 波線区切り ── */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg { display: block; width: 100%; }

/* ── セクション共通 ── */
.section {
  padding: 72px 24px;
}

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

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 20px;
}

.section-lead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 40px;
}

/* ── ボタン ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 14px 28px;
  border-radius: 28px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

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

.btn-primary:hover { background: var(--terra-dark); transform: translateY(-1px); }

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

.btn-secondary:hover { background: var(--green); color: var(--white); }

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

.btn-green:hover { background: #3a6258; transform: translateY(-1px); }

/* ── LINEフローティングボタン ── */
.line-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: #06C755;
  color: white;
  padding: 14px 22px;
  border-radius: 32px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0;
  box-shadow: 0 4px 20px rgba(6,199,85,0.35);
  transition: all 0.2s;
}

.line-float:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(6,199,85,0.45); }

/* ── カード ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,0.1); }



/* ── FAQアコーディオン共通 ── */
.faq-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-q::after {
  content: '＋';
  font-size: 18px;
  color: var(--green);
  flex-shrink: 0;
}

.faq-item.open .faq-q::after { content: '－'; }

.faq-a {
  display: none;
  padding: 14px 22px 18px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.9;
  border-top: 1px solid var(--cream-dark);
}

.faq-item.open .faq-a { display: block; }

/* ── フッター ── */
.site-footer {
  background: var(--green);
  color: rgba(255,255,255,0.85);
  padding: 48px 24px 32px;
  text-align: center;
}

.footer-logo {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ── レスポンシブ ── */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .nav-links { display: none; }
  .nav-inner { height: 56px; }
  .nav-logo { font-size: 16px; }
  .section { padding: 46px 18px; }
  .section-title { font-size: clamp(22px, 7vw, 28px); line-height: 1.45; margin-bottom: 16px; }
  .section-lead { font-size: 14px; line-height: 1.95; margin-bottom: 28px; }
  .btn { width: 100%; justify-content: center; padding: 13px 18px; font-size: 14px; }
  .faq-list { margin-top: 22px; }
  .faq-q { padding: 16px 18px; font-size: 14px; line-height: 1.65; }
  .faq-a { padding: 12px 18px 16px; font-size: 13px; line-height: 1.95; }
  .line-float { left: 18px; right: 18px; bottom: 16px; justify-content: center; padding: 12px 18px; border-radius: 26px; }
  .site-footer { padding-bottom: 78px; }
}

/* ── アニメーション ── */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; }
}

/* ── バッジ ── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.badge-coming {
  background: #f0f0f0;
  color: #999;
  border: 1px dashed #ccc;
}

.badge-new {
  background: var(--butter);
  color: #7A5500;
}

/* ── 共通JS ── */


/* ── ロゴ画像 ── */
.nav-logo-icon {
  width: auto;
  height: 38px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}
.footer-logo-img {
  height: 46px;
  width: auto;
  max-width: 120px;
  margin: 0 auto 10px;
  border-radius: 10px;
  object-fit: contain;
}

/* ── 写真共通 ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.photo-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-card--tall img {
  aspect-ratio: 3 / 4;
}
.photo-card__img--focus-top {
  object-position: center top;
}
@media (max-width: 640px) {
  .photo-card--tall img {
    aspect-ratio: 4 / 5;
  }
}

.photo-card p {
  padding: 14px 16px 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}
.photo-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  margin-top: 36px;
}
.photo-feature img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.photo-feature-body {
  padding: 28px;
}
.photo-feature-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
  line-height: 1.6;
}
.photo-feature-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.95;
}
.photo-points {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.photo-points li {
  font-size: 13px;
  color: var(--text);
  line-height: 1.75;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.photo-points li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.photo-caption-bar {
  max-width: 840px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.photo-caption-item {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}
.photo-caption-item strong {
  display: block;
  color: var(--text);
  margin-bottom: 2px;
}
@media (max-width: 640px) {
  .nav-logo-icon { width: auto; height: 30px; border-radius: 0; }
  .photo-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .photo-feature { grid-template-columns: 1fr; margin-top: 28px; }
  .photo-feature img { min-height: 220px; }
  .photo-feature-body { padding: 20px; }
  .photo-feature-title { font-size: 18px; }
  .photo-feature-text { font-size: 13px; line-height: 1.9; }
  .photo-caption-bar { padding: 16px; gap: 12px; }
}

.nav-logo-full {
  height: 30px;
  width: auto;
  max-width: 92px;
  display: block;
  object-fit: contain;
}
@media (max-width: 640px) {
  .nav-logo-full {
    height: 26px;
    width: auto;
    max-width: 80px;
  }
}


/* 全ページ共通：固定ナビ・ロゴ名・戻る導線 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}

.nav-inner {
  height: 52px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  text-decoration: none;
}

.nav-logo-icon {
  width: auto;
  height: 34px;
  border-radius: 0;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
}

.nav-logo-name {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-logo-full {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-back-link {
  display: block;
  max-width: 1120px;
  margin: 10px auto 0;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
}

.page-back-link:hover {
  color: var(--green);
}

@media (max-width: 640px) {
  .nav-inner {
    height: 50px;
  }
  .nav-logo-icon {
    width: auto;
    height: 30px;
  }
  .nav-logo-name {
    font-size: 14px;
  }
  .page-back-link {
    padding: 0 18px;
    margin-top: 8px;
  }
}


/* UX: 現在ページとキーボード操作の見やすさ */
.nav-links a[aria-current="page"] {
  color: var(--terra);
  font-weight: 700;
}
.nav-links a:focus-visible,
.btn:focus-visible,
.line-float:focus-visible {
  outline: 3px solid rgba(214, 138, 58, 0.45);
  outline-offset: 3px;
}


/* ヘッダー正式ロゴ：切り抜きアイコンではなく横ロゴで統一 */
.nav-logo {
  gap: 0;
}
.nav-logo-full {
  height: 30px !important;
  width: auto !important;
  max-width: 92px !important;
  display: block !important;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.nav-logo-icon,
.nav-logo-name {
  display: none !important;
}
@media (max-width: 640px) {
  .nav-logo-full {
    height: 26px !important;
    width: auto !important;
    max-width: 80px !important;
  }
}


/* ヘッダー正式表示：小さいアイコン + スマイルクッキング文字 */
.nav-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-width: 0;
  text-decoration: none;
}
.nav-logo-icon {
  display: block !important;
  width: auto !important;
  height: 34px !important;
  object-fit: contain !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.nav-logo-name {
  display: inline-block !important;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-logo-full {
  display: none !important;
}
@media (max-width: 640px) {
  .nav-logo-icon {
    width: auto !important;
    height: 30px !important;
  }
  .nav-logo-name {
    font-size: 14px;
  }
}


/* 全ページ共通：スクロールしてもヘッダー・バーガーメニューを固定 */
.site-nav {
  position: sticky !important;
  top: 0 !important;
  z-index: 3000 !important;
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}
.menu-toggle {
  display: none;
  border: none;
  background: var(--terra);
  color: var(--white);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.menu-toggle:focus-visible {
  outline: 3px solid rgba(214, 138, 58, 0.45);
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .site-nav {
    padding: 0 16px;
  }
  .nav-inner {
    position: relative;
  }
  .menu-toggle {
    display: inline-flex !important;
    flex-shrink: 0;
  }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    display: none !important;
    width: min(84vw, 310px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(74,124,111,0.14);
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 12px 34px rgba(0,0,0,0.14);
    z-index: 3100;
  }
  .nav-links.is-open {
    display: flex !important;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 14px;
    color: var(--text);
  }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    background: var(--cream);
    color: var(--terra);
  }
  .nav-links .nav-cta {
    margin-top: 6px;
    text-align: center;
    background: var(--terra);
    color: var(--white) !important;
  }
}


/* ヘッダー・フッター：透過クマアイコン + 文字で統一 */
.nav-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  text-decoration: none;
}
.nav-logo-icon {
  display: block !important;
  width: auto !important;
  height: 30px !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  background: transparent !important;
  box-shadow: none !important;
  flex-shrink: 0;
}
.nav-logo-name {
  display: inline-block !important;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-logo-full {
  display: none !important;
}
.footer-logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.footer-logo-img {
  width: auto !important;
  height: 84px !important;
  max-width: 140px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.footer-logo-name {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}
@media (max-width: 640px) {
  .nav-logo-icon {
    width: auto !important;
    height: 28px !important;
  }
  .nav-logo-name {
    font-size: 14px;
  }
  .footer-logo-img {
    width: 38px !important;
    height: 38px !important;
  }
  .footer-logo-name {
    font-size: 15px;
  }
}


/* 共通CTA：全ページの最終導線を統一 */
.final-cta {
  background: linear-gradient(135deg, var(--terra) 0%, #C8783A 100%);
  padding: 72px 24px;
  text-align: center;
}
.final-cta .section-label {
  color: rgba(255,255,255,0.82);
}
.final-cta-lead {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  margin: 0 auto 28px;
  line-height: 1.95;
  max-width: 720px;
}
.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn-white {
  background: var(--white);
  color: var(--terra);
}
.btn-white:hover {
  background: var(--cream);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
}
.final-cta-small {
  color: rgba(255,255,255,0.74);
  font-size: 12px;
  line-height: 1.8;
  margin-top: 16px;
}
.access-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.access-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.access-card-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
}
.access-card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
}
.access-map-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  max-width: 760px;
  margin: 32px auto 0;
  text-align: center;
}
@media (max-width: 640px) {
  .final-cta {
    padding: 58px 18px;
  }
  .final-cta-lead {
    font-size: 14px;
    line-height: 1.9;
  }
}


/* ── 日本語の読みやすい改行（全ページ共通） ── */
/* 見出し：行の長さを揃えて折る */
h1, h2, h3, .section-title, .hero-title, .empathy-title {
  text-wrap: balance;
}
/* 本文：最終行が一文字だけ残るような不格好な折りを防ぐ */
p, li, .section-lead, .final-cta-lead, .faq-a, .compare-note {
  text-wrap: pretty;
}
/* 文節単位の改行（対応ブラウザでは「テーマ／で開催」のような切れ方がなくなる） */
h1, h2, h3, p, li, .section-title, .section-lead, .final-cta-lead {
  word-break: auto-phrase;
}
