﻿/* =============================================
   style.css — シニアハウスひこばえ × フマニ 1枚ペラLP
   ベース: design-s/design-e（深緑#1F4D3A × ゴールド#C9A74D）
   ============================================= */

/* -------- リセット & ベース -------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; scroll-behavior: smooth; overflow-x: hidden; }   /* rem基準サイズ */
body {
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.site-main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* 電話番号リンクはSP時のみ発信可能に（PC/タブレットではクリックしても発信されない） */
a[href^="tel:"] { pointer-events: none; cursor: default; }

/* -------- カラー変数 -------- */
:root {
  --bg:        #FFFFFF;
  --bg-sub:    #FAF8F2;   /* 生成り（交互背景） */
  --bg-fumani: #FBF1E4;         /* ヘルパーゾーン背景（オレンジの淡トーン） */
  --fumani-primary: #B95C28;    /* テラコッタ（ヘルパーゾーンの主色） */
  --fumani-accent:  #E09A55;    /* 淡オレンジ（ヘルパーゾーンのアクセント） */
  --primary:   #1F4D3A;   /* 深緑 */
  --secondary: #4A6B5C;
  --accent:    #C9A74D;   /* ゴールド */
  --text:      #1A2622;
  --text-sub:  #4C574F;   /* 高齢者向けに気持ち濃いめ */
  --border:    #DDE3DE;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 1rem;   /* 高齢者向け基本サイズ */
}

/* -------- コンテナ -------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

/* -------- スクロール余白（固定ヘッダー分） -------- */
section[id],
div[id] {
  scroll-margin-top: 72px;
}

/* =============================================
   ヘッダー
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 13px 0;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header.scrolled {
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: none;   /* ヘッダーはコンテンツ幅に縛らず画面幅いっぱいに */
  padding: 0 clamp(24px, 9.375vw - 72px, 48px);   /* 1280px→48px、1024pxで24pxに */
}

/* 鳳彰會ロゴ（公式webp） */
.logo { display: flex; align-items: center; transition: opacity 0.2s; }
.logo:hover { opacity: 0.7; }
.logo-img { height: 35px; width: auto; }
.logo-hosho {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  color: var(--primary);
}
.logo-hosho b {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.logo-ruby {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  opacity: 0.75;
}
.logo-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-top: 2px;
}

/* ナビ（PC） */
.nav-pc ul {
  display: flex;
  gap: clamp(15px, 16.4557vw - 199.089px, 28px);   /* 1380px→28px、1301pxで15pxに */
  align-items: center;
}
.nav-pc a {
  font-size: 0.9375rem;
  color: var(--text-sub);
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.nav-pc a:hover { opacity: 0.6; }
.nav-pc a.nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px clamp(12px, 4.6875vw - 36px, 24px);   /* 1280px→24px、1024pxで12pxに */
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  transition: background 0.2s;
}
.nav-pc a.nav-cta:hover { background: var(--secondary); opacity: 1; }

/* ハンバーガー */
.hamburger {
  display: none;
  width: 32px; height: 24px;
  position: relative;
  background: none; border: 0;
  cursor: pointer;
  z-index: 110;
  flex-shrink: 0;
  color: var(--primary);
  transition: opacity 0.2s;
}
.hamburger:hover { opacity: 0.6; }
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: currentColor;
  transition: all 0.3s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 22px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* 標準フォントサイズ拡大に伴い、PCナビ→ハンバーガーの切替を1300pxに（tb.cssの1024px基準とは別出し） */
@media (max-width: 1300px) {
  .nav-pc { display: none; }
  .hamburger { display: block; }
}

/* ドロワー */
.drawer {
  position: fixed;
  top: 0; right: 0;
  width: 80%; max-width: 360px;
  height: 100vh;
  background: var(--primary);
  color: #fff;
  padding: 80px 32px 32px;
  z-index: 105;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.drawer[hidden] { display: block; }
.drawer.open { transform: translateX(0); }
.drawer ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.drawer ul li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.drawer a {
  font-size: 1.125rem;
  color: #fff;
  display: block;
  padding: 16px 0;
  transition: opacity 0.2s;
}
.drawer a:hover { opacity: 0.6; }
.drawer-contact {
  margin-top: 40px;
  padding-top: 24px;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.7);
}
.drawer-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  background: none; border: none;
  font-size: 1.625rem;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.drawer-close:hover { opacity: 1; }

/* オーバーレイ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 102;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.overlay[hidden] { display: block; }
.overlay.open { opacity: 1; pointer-events: auto; }

/* =============================================
   フェードイン
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* =============================================
   共通セクションスタイル
   ============================================= */
.section-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: 20px;
}
/* 「万一」の前で改行させるためこの見出しのみCJKの任意改行を抑制 */
.about .section-title { word-break: keep-all; }
.section-desc {
  font-size: 1rem;
  color: var(--text-sub);
  max-width: 620px;
  line-height: 2;
}
.section-header { margin-bottom: 56px; }

/* 共通ボタン */
.btn-solid {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 15px 38px;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  transition: background 0.2s;
}
.btn-solid:hover { background: var(--secondary); }
.btn-border {
  display: inline-block;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 15px 38px;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  transition: all 0.2s;
}
.btn-border:hover { background: var(--primary); color: #fff; }

/* ヒーロー共通テキスト部品（案A/B共有） */
.hero-est-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-est-line { width: 40px; height: 1px; background: var(--accent); }
.hero-est-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
}
.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.875rem, 3.6vw, 3.1rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-sub);
  line-height: 2;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-contact-block {
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hero-tel-label {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--text-sub);
  margin-bottom: 6px;
}
.hero-instagram {
  display: inline-flex;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.hero-instagram:hover { opacity: 0.6; }
.hero-instagram img { width: 100%; height: auto; }
.hero-tel {
  /* font-family: 'Cormorant Garamond', serif; */
  font-family:'Noto Sans JP', sans-serif;
  font-size: 2.25rem;
  /* font-weight: 500; */
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 4px;
}
.hero-time { font-size: 0.8125rem; color: var(--text-sub); }

/* =============================================
   案B: hero-slide（design-e踏襲 + クロスフェード）
   ============================================= */
/* 左テキスト・右写真の2分割（左をゆったり55:45）
   margin-topはヘッダー実高（実測値）に一致させる */
.hero-slide {
  margin-top: 62px;
  display: grid;
  grid-template-columns: 11fr 9fr;
  align-items: stretch;
}
.hero-top {
  background: var(--bg);
  padding: 50px 0;
  display: flex;
  align-items: center;
  border-bottom: 3px solid var(--primary);
  position: relative;
}
.hero-top::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 120px; height: 3px;
  background: var(--accent);
}
/* 左端をヘッダーロゴ（.containerの左端）とピッタリ揃える */
.hero-slide .hero-top .container {
  max-width: none;
  margin: 0;
  padding-left: calc(max((100vw - 1280px) / 2, 0px) + 48px);
  padding-right: 72px;
}
.hero-top-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-slide .hero-text { flex: none; }
.hero-slide .hero-contact-block {
  text-align: left;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.hero-gold-line { display: none; }
/* クロスフェードスライドショー（Swiper） */
.hero-image {
  height: auto;
  min-height: 560px;
  overflow: hidden;
  position: relative;
}
.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}
.hero-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =============================================
   3. ひこばえとは #about（背景: 白）
   ============================================= */
.about {
  padding: 100px 0;
  background: var(--bg);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 56px;
}
.about-text p {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 2.1;
  margin-bottom: 20px;
}
.about-text p:last-child { margin-bottom: 0; }
.about-image img {
  width: 100%;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(31,77,58,0.14);
}
/* 特色ボックス */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.about-feature {
  background: var(--bg-sub);
  border-left: 4px solid var(--accent);
  padding: 32px 36px;
}
.about-feature-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.about-feature p {
  font-size: 0.9375rem;
  color: var(--text-sub);
  line-height: 2;
}

/* =============================================
   4. 施設概要 #overview（背景: 生成り）
   ============================================= */
.overview {
  padding: 100px 0;
  background: var(--bg-sub);
}

/* 会社概要テーブル（共通） */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table th {
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  color: var(--primary);
  width: 160px;
  padding: 18px 24px;
  vertical-align: top;
  font-weight: 600;
  text-align: left;
  background: rgba(31,77,58,0.04);
}
.company-table td {
  font-size: 1rem;
  padding: 18px 24px;
  line-height: 1.9;
  color: var(--text);
}

/* =============================================
   5. 独自のサービス #service（背景: 白）
   ============================================= */
.services {
  padding: 100px 0;
  background: var(--bg-sub);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-item {
  background: #fff;
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
/* 上ラインは深緑＋ゴールドの2色（overflow:hiddenでも切れないよう内側に描く） */
.service-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent) 0 72px, var(--primary) 72px 100%);
  z-index: 1;
}
.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(31,77,58,0.12);
}
/* カード上部の写真＋番号オーバーレイ（design-e事業内容の流儀） */
.service-item-photo {
  position: relative;
  height: 190px;
  overflow: hidden;
}
.service-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-item:hover .service-item-photo img { transform: scale(1.04); }
.service-num-overlay {
  position: absolute;
  right: 14px; bottom: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
  line-height: 1;
}
.service-item-body { padding: 24px 26px 28px; }
.service-item-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1875rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.service-item-text {
  font-size: 0.9375rem;
  color: var(--text-sub);
  line-height: 2;
}

/* =============================================
   6. グループ連携 .partners（背景: 深緑・白文字）
   ============================================= */
.partners {
  padding: 100px 0;
  background: var(--primary);
  position: relative;
}
.partners::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), transparent);
}
.partners .section-label { color: var(--accent); opacity: 0.9; }
.partners .section-title { color: #fff; }
.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.partner-card {
  background: #fff;
  padding: 40px 40px 44px;
  border-top: 3px solid var(--accent);
}
.partner-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.partner-text {
  font-size: 0.9375rem;
  color: var(--text-sub);
  line-height: 2.1;
}

/* =============================================
   7. 間取り #floorplan（背景: 生成り）
   ============================================= */
.floorplans {
  padding: 100px 0;
  background: var(--bg-sub);
}
.fp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.fp-tab {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: #fff;
  border: 1.5px solid var(--primary);
  border-radius: 999px;
  padding: 10px 26px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.fp-tab:hover { background: rgba(31,77,58,0.08); }
.fp-tab.is-active {
  background: var(--primary);
  color: #fff;
}
.fp-viewer { }
.fp-panel { display: none; }
.fp-panel.is-active { display: block; }
.fp-panel img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: 0 12px 32px rgba(31,77,58,0.1);
}
.fp-note {
  font-size: 0.9375rem;
  color: var(--text-sub);
  margin-top: 24px;
  text-align: center;
}

/* =============================================
   8. 利用料 #price（背景: 白）
   ============================================= */
.pricing {
  padding: 100px 0;
  background: var(--bg);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.price-item {
  background: var(--bg-sub);
  border-top: 3px solid var(--accent);
  padding: 28px 22px 30px;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.price-label {
  font-size: 0.9375rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.price-value {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 10px;
}
.price-note {
  font-size: 0.8125rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-top: auto;
}
/* 合計（ゴールド線囲み） */
.price-total {
  border: 2px solid var(--accent);
  padding: 28px 40px;
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.625rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.06em;
  background: #fff;
}
.price-note-extra {
  font-size: 0.9375rem;
  color: var(--text-sub);
  line-height: 1.9;
  margin-top: 24px;
}

/* =============================================
   9. 入居の流れ #flow（背景: 生成り）
   ============================================= */
.flow {
  padding: 100px 0;
  background: var(--bg-sub);
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  position: relative;
}
.flow-step {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  padding: 36px 30px;
  text-align: center;
  position: relative;
}
/* ステップ間の矢印（CSS） */
.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--accent);
}
.flow-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.75rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.flow-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.flow-note {
  font-size: 0.9375rem;
  color: var(--text-sub);
  margin-top: 28px;
  text-align: center;
  word-break: keep-all;
}

/* =============================================
   10. 眺望ギャラリー .gallery（背景: 白、余白控えめ）
   ============================================= */
.gallery {
  padding: 72px 0 100px;
  background: var(--bg);
}
/* クロップ3枚グリッド（比較用） */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* =============================================
   11. ヘルパーゾーン #fumani.fumani-zone（背景: #EEF4EF）
   ============================================= */
.fumani-zone {
  background: var(--bg-fumani);
}
/* ゾーン帯（テラコッタ地・白文字・淡オレンジ線） */
.zone-band {
  background: var(--fumani-primary);
  text-align: center;
  padding: 64px 24px;
  position: relative;
}
.zone-band::before,
.zone-band::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--fumani-accent), transparent);
}
.zone-band::before { top: 0; }
.zone-band::after { bottom: 0; }
.zone-band-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #F7D9B0;
  margin-bottom: 14px;
}
.zone-band-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.625rem, 3vw, 2.375rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.zone-band-sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}

/* 11-1 fumani-about */
.fumani-about { padding: 100px 0; }
.fumani-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.fumani-about-text p {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 2.1;
  margin-bottom: 20px;
}
.fumani-about-text p:last-child { margin-bottom: 0; }
.fumani-about-image img {
  width: 100%;
  border: 1px solid #EAD9C4;
  box-shadow: 0 16px 40px rgba(150,84,38,0.14);
}

/* 11-2 fumani-services */
.fumani-services { padding: 0 0 100px; }
.fumani-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
}
.fumani-service-card {
  background: #fff;
  border: 1px solid #EAD9C4;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
/* 上ラインはテラコッタ＋淡オレンジの2色（内側に描く） */
.fumani-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--fumani-accent) 0 72px, var(--fumani-primary) 72px 100%);
  z-index: 1;
}
/* 2カラムで幅が広いぶん写真は少し高めに */
.fumani-service-card .service-item-photo { height: 300px; }
.fumani-service-card:hover .service-item-photo img { transform: scale(1.04); }
.fumani-service-body { padding: 28px 36px 32px; }
.fumani-service-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fumani-primary);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.fumani-service-card p {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 2;
}
/* 申請の流れ */
.fumani-flow { }
.fumani-flow-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--fumani-primary);
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}
.fumani-flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px;
}
.fumani-flow-step {
  background: #fff;
  border: 1px solid #EAD9C4;
  border-top: 3px solid var(--fumani-primary);
  padding: 24px 18px;
  text-align: center;
  position: relative;
}
.fumani-flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -26px;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--fumani-accent);
}
.fumani-flow-step .flow-num {
  font-size: 2rem;
  margin-bottom: 10px;
}
.fumani-flow-step p {
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* 11-3 fumani-company */
.fumani-company { padding: 0 0 100px; }
.fumani-company-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.fumani-company-inner img {
  width: 100%;
  border: 1px solid #EAD9C4;
  box-shadow: 0 16px 40px rgba(150,84,38,0.14);
}

/* ヘルパーゾーン内は見出し・番号・表もオレンジ系に統一 */
.fumani-zone .section-label { color: var(--fumani-accent); }
.fumani-zone .section-title { color: var(--fumani-primary); }
.fumani-zone .flow-num { color: var(--fumani-accent); }
.fumani-zone .company-table th { color: var(--fumani-primary); }
.fumani-zone .company-table th,
.fumani-zone .company-table td { border-color: #EAD9C4; }

/* =============================================
   12. アクセス #access（背景: 白）
   ============================================= */
.access {
  padding: 100px 0;
  background: var(--bg);
}
.access-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.map-placeholder {
  min-height: 360px;
  height: 100%;
  background: #e5e9e6;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-placeholder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.access-info h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  letter-spacing: 0.04em;
}
.access-info h3:not(:first-child) { margin-top: 36px; }
.access-list li {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 2;
  padding-left: 18px;
  position: relative;
}
.access-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 15px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.access-info > p {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 2;
}

/* =============================================
   13. 見学予約・お問い合わせ #reserve（背景: 生成り）
   tyuo-taxiのコメントアウト応募フォームのレイアウトを流用
   ============================================= */
.reserve {
  padding: 100px 0;
  background: var(--bg-sub);
}
.reserve .section-desc {
  width: 100%;
  max-width: none;
}
.reserve-form {
  /* max-width: 720px; */
  /* max-width:950px; */
  margin: 40px auto 0;
  background: #fff;
  border-radius: 4px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 16px 40px rgba(31,77,58,0.1);
}
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-date-group {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-date-group[hidden] { display: none; }
.form-label { display: block; }
/* スクリーンリーダー専用（見た目には出さないが読み上げには使う） */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.form-label-text {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.form-label-req { color: var(--accent); }
.form-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 14px 16px;
  font-size: 0.9375rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease;
}
.form-input:focus { border-color: var(--accent); }
.form-input--select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%231F4D3A%22 stroke-width=%222%22><polyline points=%226 9 12 15 18 9%22/></svg>');
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-input--textarea {
  resize: vertical;
  line-height: 1.7;
}
.form-date-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.form-input--date { flex: 2; }
.form-input--hour,
.form-input--minute { flex: 1; }
/* CF7は各タグを<span class="wpcf7-form-control-wrap ○○">でラップして出力するため、
   実際にflexの子要素となるのはこのラップ要素側。フィールド名（your-date-1等）で判定して同じ比率を適用 */
.form-date-row > [class*="wpcf7-form-control-wrap"][class*="your-date-"] { flex: 2; }
.form-date-row > [class*="wpcf7-form-control-wrap"][class*="your-hour-"],
.form-date-row > [class*="wpcf7-form-control-wrap"][class*="your-minute-"] { flex: 1; }
.form-date-sep { color: var(--text-sub); font-size: 0.9375rem; }
.form-privacy {
  font-size: 0.75rem;
  line-height: 1.8;
  color: var(--text-sub);
  margin: 8px 0 4px;
}
.form-submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  padding: 18px;
  border-radius: 2px;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--secondary); }

/* =============================================
   14. フッター上CTA #contact.footer-cta（深緑背景）
   ============================================= */
.footer-cta {
  background: var(--primary);
  padding: 80px 0;
  text-align: center;
  position: relative;
}
.footer-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), transparent);
}
.footer-cta-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.375rem, 2.6vw, 2rem);
  color: #fff;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}
.footer-cta-tel {
  /* font-family: 'Cormorant Garamond', serif; */
  font-family:'Noto Sans JP', sans-serif;
  font-size: clamp(2.625rem, 5vw, 4.125rem);
  font-weight:500;
  color: var(--accent);
  display: inline-block;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin: 20px 0 8px;
}
.footer-cta-sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  word-break: keep-all;
}
.footer-cta-note {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-top: 24px;
  word-break: keep-all;
}
.footer-cta-note .tel-nowrap { white-space: nowrap; }

/* =============================================
   15. フッター .site-footer
   ============================================= */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.4);
  padding: 32px 0;
}
.footer-copy {
  font-size: 0.75rem;
  text-align: center;
}

/* =============================================
   16. 404ページ .notfound
   ============================================= */
.notfound {
  margin-top: 62px;   /* ヘッダー実高に合わせる（.hero-slideと同じ値） */
  padding: 120px 0;
  background: var(--bg);
  text-align: center;
}
.notfound-inner {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.notfound-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4.5rem, 10vw, 7.5rem);
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.notfound .section-label { margin-bottom: 8px; }
.notfound .section-title { margin-bottom: 16px; }
.notfound .section-desc {
  max-width: none;
  margin-bottom: 40px;
}
.notfound-btn { padding: 16px 48px; }

/*recaptcha*/
.grecaptcha-badge{
  z-index:1;
}



