/* ============================================================
   CSS 変数・リセット
   カラーテーマ：ミモザイエロー × ゴールデンロッド × オフホワイト
============================================================ */
:root {
  /* --- 背景色 --- */
  --c-bg:       #FDFAF0;   /* オフホワイト生成り */
  --c-bg-warm:  #FBF5DC;   /* クリーム */
  --c-bg-soft:  #FFFEF8;   /* 最も明るい */

  /* --- アクセントカラー --- */
  --c-primary:      #D4A017;  /* ゴールデンロッド */
  --c-primary-deep: #B8860B;  /* 深いゴールド */
  --c-primary-soft: #F5E28A;  /* ミモザイエロー */
  --c-primary-pale: #FBF4C8;  /* 薄黄 */

  /* --- サブカラー --- */
  --c-green:      #8BAF6A;  /* やさしい葉緑 */
  --c-green-soft: #DFF0CC;
  --c-warm:       #E8956D;  /* テラコッタ（温かみ） */
  --c-warm-soft:  #FAE0D2;

  /* --- テキスト --- */
  --c-ink:      #3B3020;  /* やわらかい墨 */
  --c-ink-soft: #6B5D40;
  --c-ink-mute: #9A8E72;

  /* --- ライン --- */
  --c-line:     #EDE3C8;
  --c-paper:    #FFFFFF;

  /* --- フォント --- */
  --f-round:   'Zen Old Mincho', serif;
  --f-gothic:  'Zen Old Mincho', serif;
  --f-hand:    'Caveat', cursive;
  --f-serif:   'Zen Old Mincho', serif;
  --f-japanese: 'Zen Old Mincho', serif;

  /* --- レイアウト --- */
  --w-max:  1200px;
  --r-sm:   10px;
  --r-md:   18px;
  --r-lg:   28px;
  --r-xl:   40px;
}

/* リセット */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--f-japanese);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.85;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

:lang(en), :lang(en) * {
  font-family: var(--f-hand) !important;
}

/* 背景テクスチャ（固定グラデーション） */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle at 10% 15%, rgba(212, 160, 23, 0.08) 0, transparent 45%),
    radial-gradient(circle at 88% 75%, rgba(139, 175, 106, 0.07) 0, transparent 45%),
    radial-gradient(circle at 55% 50%, rgba(245, 226, 138, 0.05) 0, transparent 60%);
}

main, header, footer { position: relative; z-index: 3; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.75; }
ul { list-style: none; }

/* 共通コンテナ */
.container {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   スクロールアニメーション
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   共通見出しスタイル
============================================================ */
.section-label {
  display: inline-block;
  font-family: var(--f-hand);
  font-size: 1rem;
  color: var(--c-primary);
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}
.section-label.centered { display: block; text-align: center; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.section-title .mark {
  background: linear-gradient(transparent 60%, var(--c-primary-soft) 60%);
  padding: 0 0.1em;
}
.section-title.centered { text-align: center; }

.section-intro {
  color: var(--c-ink-soft);
  max-width: 600px;
  font-size: 1.0rem;
  line-height: 2;
}
.section-intro.centered {
  text-align: center;
  margin: 0 auto;
}

/* ============================================================
   CTAボタン（共通）
============================================================ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.4rem;
  background: var(--c-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 99px;
  letter-spacing: 0.1em;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(212, 160, 23, 0.35);
  cursor: pointer;
  border: none;
}
.btn-cta:hover {
  background: var(--c-primary-deep);
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(212, 160, 23, 0.45);
}
.btn-cta i { font-size: 1.1rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: transparent;
  color: var(--c-primary-deep);
  font-weight: 700;
  border: 2px solid var(--c-primary);
  border-radius: 99px;
  letter-spacing: 0.08em;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.btn-outline:hover {
  background: var(--c-primary-pale);
  opacity: 1;
  transform: translateY(-2px);
}

/* ============================================================
   ヘッダー
============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 0.5rem 2rem;  /* ロゴ拡大に合わせて上下余白を縮小 */
  background: rgba(253, 250, 240, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  transition: all 0.3s;
}
#header.scrolled {
  box-shadow: 0 4px 20px rgba(212, 160, 23, 0.12);
}

.nav-inner {
  max-width: var(--w-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ロゴ */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-round);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--c-ink);
}
.logo .logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px; height: 38px;
  padding: 0 0.85rem;
  background: linear-gradient(135deg, var(--c-primary-soft), var(--c-primary));
  border-radius: 99px;
  font-family: var(--f-hand);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--c-paper);
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.3);
  flex-shrink: 0;
}
.logo .logo-en {
  font-family: var(--f-hand);
  font-size: 1.05rem;
  color: var(--c-primary-deep);
  letter-spacing: 0.1em;
}

/* ロゴ画像 */
#header .logo-image {
  display: block;
  height: 104px;   /* 元の1.3倍 */
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* スマホ用 */
@media (max-width: 639px) {
  #header .logo-image {
    height: 78px;   /* 元の1.3倍 */
  }
}

/* グローバルナビ */
nav ul {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.87rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
nav a {
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
}
nav a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -2px;
  width: 0; height: 2px;
  background: var(--c-primary);
  transition: all 0.3s;
  transform: translateX(-50%);
  border-radius: 2px;
}
nav a:hover { opacity: 1; }
nav a:hover::after { width: 70%; }

.nav-cta {
  padding: 0.55rem 1.3rem;
  background: var(--c-primary);
  color: white;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 99px;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.3);
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--c-primary-deep);
  opacity: 1;
  transform: translateY(-2px);
}

/* ハンバーガーメニュー（モバイル）
   3本線を ::before / background-image / ::after のみで描画。
   HTML の <button> は空要素。装飾用 span は一切不要。
   ┌ ::before   ：上線
   │ background  ：中線（background-image で描画）
   └ ::after    ：下線
   active 時は中線を消し、上下線を × に回転する。 */
.menu-toggle {
  display: none;           /* デスクトップでは非表示 */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  /* 中線を background-image で描画 */
  background-image: linear-gradient(var(--c-ink), var(--c-ink));
  background-size: 24px 2px;
  background-repeat: no-repeat;
  background-position: center center;
  transition: background-image 0.3s;
}

/* 上線・下線の共通スタイル */
.menu-toggle::before,
.menu-toggle::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.3s ease, top 0.3s ease;
}

/* 上線の初期位置 */
.menu-toggle::before { top: 11px; }

/* 下線の初期位置 */
.menu-toggle::after  { top: 27px; }

/* active 時：中線を非表示にし、上下線を × に回転 */
.menu-toggle.active {
  background-image: none;  /* 中線を消す */
}
.menu-toggle.active::before {
  top: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}
.menu-toggle.active::after {
  top: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

/* ============================================================
   BtoC / BtoB 切り替えタブ（ヒーロー内）
============================================================ */
.audience-tabs {
  display: inline-flex;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--c-line);
  border-radius: 99px;
  padding: 4px;
  gap: 4px;
  backdrop-filter: blur(8px);
  margin-bottom: 2rem;
}
.tab-btn {
  padding: 0.5rem 1.6rem;
  border-radius: 99px;
  border: none;
  background: transparent;
  font-family: var(--f-round);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--c-ink-soft);
}
.tab-btn.active {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.3);
}

/* BtoB セクション非表示制御
   ・btob-only：デフォルト非表示、BtoBモード時に表示
   ・btoc-only：デフォルト表示、BtoBモード時に非表示
   ※ セクション要素は revert で元のdisplayを継承させる */
.btob-only { display: none; }
.btoc-only { /* デフォルトは表示のままにする（display継承） */ }

body.mode-btob .btob-only {
  /* セクション要素のデフォルト display に戻す */
  display: revert;
}
body.mode-btob .btoc-only { display: none; }

/* ============================================================
   ヒーロー（ファーストビュー）
============================================================ */
.hero {
  min-height: 100vh;
  padding: 9rem 2rem 6rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* hero.png を背景画像として使用。オーバーレイで文字を読みやすく */
  background:
    linear-gradient(160deg, rgba(59, 48, 32, 0.52) 0%, rgba(59, 48, 32, 0.38) 100%),
    url('images/hero.png') center center / cover no-repeat;
}

/* 背景装飾ブロブ */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.hero-blob-1 {
  width: 500px; height: 500px;
  background: rgba(245, 226, 138, 0.28);
  top: -100px; right: -150px;
  animation: floatBlob 10s ease-in-out infinite;
}
.hero-blob-2 {
  width: 350px; height: 350px;
  background: rgba(139, 175, 106, 0.2);
  bottom: -80px; left: -80px;
  animation: floatBlob 14s ease-in-out infinite reverse;
}
@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.05); }
}

/* 背景テキスト装飾 */
.hero-bg-text {
  position: absolute;
  top: 50%; right: -2%;
  transform: translateY(-50%);
  font-family: var(--f-hand);
  font-size: clamp(8rem, 18vw, 20rem);
  font-weight: 700;
  color: rgba(212, 160, 23, 0.05);
  letter-spacing: -0.02em;
  user-select: none;
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}

.hero-inner {
  max-width: var(--w-max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* タグライン：写真背景上でも見えるようにクリーム色に変更 */
.hero-tagline {
  font-family: var(--f-japanese);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--c-primary-soft); /* ミモザイエロー：背景写真上で映える */
  letter-spacing: 0.15em;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}

/* メインキャッチコピー：写真背景上で読みやすいよう白に */
.hero-catch {
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-catch .accent {
  position: relative;
  color: var(--c-primary-soft); /* ミモザイエロー */
  display: inline-block;
}
.hero-catch .accent::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0.05em;
  width: 100%; height: 0.3em;
  background: rgba(212, 160, 23, 0.4);
  z-index: -1;
  border-radius: 4px;
}

/* サブキャッチ */
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--c-ink-soft);
  margin-bottom: 2.5rem;
  line-height: 2;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

/* CTAエリア */
.hero-cta-area {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

/* スクロールダウン矢印 */
.scroll-down {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--c-ink-mute);
  font-family: var(--f-hand);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-down::after {
  content: '';
  display: block;
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--c-primary), transparent);
  margin-top: 0.5rem;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   想い（代表メッセージ）セクション
============================================================ */
.section-omoi {
  padding: 6rem 0;
  background: var(--c-bg-soft);
}
.omoi-inner {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  /* 左：テキスト / 右：画像1枚（固定幅） */
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
}
.omoi-text { max-width: 580px; }
.omoi-text .section-label { margin-bottom: 0.4rem; }
.omoi-text .lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.9;
  margin-bottom: 1.4rem;
  color: var(--c-ink);
}
.omoi-text p {
  color: var(--c-ink-soft);
  line-height: 2.1;
  margin-bottom: 1rem;
}
.omoi-concept {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1.2rem 2rem;
  background: var(--c-primary-pale);
  border-left: 4px solid var(--c-primary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--c-primary-deep);
  line-height: 1.8;
}

/* 代表写真エリア */
.omoi-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}
.omoi-photo-frame {
  width: 220px; height: 260px;
  background: linear-gradient(135deg, var(--c-primary-pale), var(--c-bg-warm));
  border-radius: var(--r-xl) var(--r-xl) 60% 60%;
  border: 3px solid var(--c-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow: 0 12px 40px rgba(212, 160, 23, 0.15);
  overflow: hidden;
}
.omoi-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.omoi-photo-name {
  font-size: 0.88rem;
  color: var(--c-ink-mute);
  text-align: center;
  line-height: 1.6;
}
.omoi-photo-name strong {
  display: block;
  color: var(--c-ink);
  font-size: 1rem;
}

/* ============================================================
   サービスセクション（料理・掃除・相談）
============================================================ */
.section-service {
  padding: 6rem 0;
  background: var(--c-bg-warm);
}
.service-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* 新概念バッジ */
.new-concept-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: var(--c-primary);
  color: #fff;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

/* サービスカード */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--c-paper);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--c-line);
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-primary-soft), var(--c-primary));
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(212, 160, 23, 0.15);
  border-color: var(--c-primary-soft);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--c-primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.2rem;
  transition: transform 0.3s;
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(-5deg); }

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
  color: var(--c-ink);
}
.section-service .service-card h4 {
  padding-inline: 1.8rem;
  margin: 0 0 1rem;
  color: var(--c-primary-deep);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.75;
  text-align: left;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--c-ink-soft);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}
.section-service .service-card p { text-align: left; }
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}
.service-tag {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  background: var(--c-primary-pale);
  color: var(--c-primary-deep);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* サービスセクション CTAエリア：中央寄せ・2ボタン横並び */
.service-cta-area {
  display: flex;
  flex-direction: row;          /* PCは横並び */
  align-items: center;
  justify-content: center;      /* 中央寄せ */
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  padding: 0 1rem;
}

/* ============================================================
   実績・信頼セクション
============================================================ */
.section-results {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--c-primary-deep), #8B6914);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-results::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}
.result-item { padding: 1.5rem; }
.result-num {
  font-family: var(--f-hand);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--c-primary-soft);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.result-label {
  font-size: 0.9rem;
  opacity: 0.88;
  letter-spacing: 0.05em;
}

/* ============================================================
   お客様の声
============================================================ */
.section-voices {
  padding: 6rem 0;
  background: var(--c-bg);
}
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.voice-card {
  background: var(--c-paper);
  border-radius: var(--r-lg);
  padding: 2rem;
  border: 1px solid var(--c-line);
  position: relative;
  transition: transform 0.3s;
}
.voice-card:hover { transform: translateY(-4px); }
.voice-quote {
  font-family: var(--f-serif);
  font-size: 4rem;
  color: var(--c-primary-soft);
  line-height: 0.8;
  margin-bottom: 0.5rem;
}
.voice-stars {
  color: var(--c-primary);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}
.voice-title {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
  color: var(--c-ink);
}
.voice-card p {
  font-size: 0.9rem;
  color: var(--c-ink-soft);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}
.voice-persona {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-line);
}
.voice-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--c-primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.voice-info strong {
  display: block;
  font-size: 0.85rem;
  color: var(--c-ink);
}
.voice-info small {
  font-size: 0.78rem;
  color: var(--c-ink-mute);
}

/* ============================================================
   ブログセクション（note）
   アイキャッチ画像なし：タイトルのみシンプル表示
============================================================ */
.section-blog {
  padding: 6rem 0;
  background: var(--c-bg-warm);
}
.blog-head {
  display: flex;
  justify-content: center; /* 中央揃え */
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

/* Blog見出しエリア：中央揃え */
.blog-head-text {
  text-align: center;
}

/* noteサブセクション：上余白 */
.note-blog-section {
  margin-top: 3.5rem;
}

/* 「日々のこと・つぶやき（note）」見出し */
.note-blog-title {
  font-size: 1rem;
  color: var(--c-ink-mute);
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ブログセクション説明文 */
.blog-lead {
  font-size: 0.95rem;
  color: var(--c-ink-soft);
  line-height: 1.9;
  text-align: center;
  margin-bottom: 2rem;       /* グリッドとの余白 */
  margin-top: 0.5rem;
}

/* ブログカードグリッド：2件・中央揃え */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-bottom: 1.5rem;
  max-width: 820px;    /* 2列が適度な幅に収まるよう制限 */
  margin-inline: auto; /* 中央揃え */
}

/* カード本体：thumb なしのテキスト主体カード */
.blog-card {
  display: block;
  background: var(--c-paper);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-line);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  /* 左にアクセントラインを追加 */
  border-left: 4px solid var(--c-primary-soft);
  position: relative;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(212, 160, 23, 0.13);
  border-left-color: var(--c-primary);
  opacity: 1;
}

/* カード内のコンテンツエリア */
.blog-body {
  padding: 1.6rem 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* メタ情報（バッジ＋日付） */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.blog-source-badge {
  display: inline-block;
  padding: 0.15rem 0.7rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.blog-source-badge.note {
  background: #c8e0f0;
  color: #1a4f72;
}
.blog-date {
  font-size: 0.78rem;
  color: var(--c-ink-mute);
  font-family: var(--f-hand);
}

/* タイトル */
.blog-title {
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--c-ink);
  /* 3行以上は省略 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 「続きを読む」ラベル：ホバー時に色が変わる装飾 */
.blog-link-label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--c-primary-deep);
  font-family: var(--f-hand);
  letter-spacing: 0.05em;
  margin-top: 0.4rem;
  opacity: 0.7;
  transition: opacity 0.2s, gap 0.2s;
}
.blog-card:hover .blog-link-label {
  opacity: 1;
  gap: 0.5rem;
}

/* 「noteを読む」ボタンエリア：中央揃え */
.blog-more {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;   /* カードグリッドとの余白 */
}

/* ============================================================
   FAQ
============================================================ */
.section-faq {
  padding: 6rem 0;
  background: var(--c-bg);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.faq-item {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item[open] {
  border-color: var(--c-primary-soft);
  box-shadow: 0 4px 16px rgba(212, 160, 23, 0.1);
}
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 0.95rem;
  gap: 0.8rem;
  transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--c-primary-pale); }
.faq-q {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
}
.faq-toggle {
  margin-left: auto;
  color: var(--c-primary);
  font-size: 1.2rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  padding: 0 1.5rem 1.4rem 4rem;
  color: var(--c-ink-soft);
  font-size: 0.92rem;
  line-height: 2;
}

/* ============================================================
   行政向けセクション（BtoB）
============================================================ */
.section-btob {
  padding: 6rem 0;
  background: linear-gradient(135deg, #F0F6E8, #E8F4F0);
}
.btob-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.btob-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 2rem 0;
}
.btob-chip {
  padding: 0.5rem 1.4rem;
  background: var(--c-paper);
  border: 1px solid var(--c-green);
  color: var(--c-green);
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 700;
}

/* 資格バッジ（社会福祉士保有など） */
.qualification-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.2rem;
  margin: 1rem;
  background: linear-gradient(135deg, var(--c-green-soft), #c8e6b0);
  color: #3a6b1f;
  border: 1.5px solid var(--c-green);
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: 0 2px 8px rgba(139, 175, 106, 0.25);
}
.qualification-badge i {
  font-size: 0.9rem;
  color: #5a8f3a;
}

/* btob-chip：スマホでは1行1つ */
@media (max-width: 768px) {
  .btob-chips {
    flex-direction: column;
    align-items: center;
  }
  .btob-chip {
    width: 70%;
    text-align: center;
  }
}

/* ============================================================
   お問い合わせ（CTA）
============================================================ */
.section-contact {
  padding: 7rem 0;
  background: var(--c-bg-warm);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(245, 226, 138, 0.4), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 175, 106, 0.2), transparent 50%);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 680px; /* コンテンツ幅を絞って読みやすく */
}

/* detail.html誘導ブロック（上部） */
.contact-detail-lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 2rem 2.5rem;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  margin: 2rem auto;
  max-width: 540px;
}
.contact-detail-lead-text {
  font-size: 0.92rem;
  color: var(--c-ink-soft);
  line-height: 1.9;
}
.contact-detail-lead-text strong {
  color: var(--c-ink);
}

/* 区切り線 */
.contact-divider {
  border: none;
  border-top: 1px solid var(--c-line);
  margin: 2.5rem auto;
  max-width: 320px;
}

/* LINE相談の説明文 */
.contact-desc {
  font-size: 1.05rem;
  color: var(--c-ink-soft);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 2;
}

/* CTAボタン群 */
.contact-btns {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.1rem 2.6rem;
  background: #06C755;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 99px;
  letter-spacing: 0.1em;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.3);
}
.btn-line:hover {
  opacity: 1;
  background: #05b44c;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(6, 199, 85, 0.4);
}
.contact-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--c-ink-mute);
  line-height: 1.8;
}

/* ============================================================
   フッター
============================================================ */
footer {
  background: var(--c-ink);
  color: rgba(255,255,255,0.75);
  padding: 3rem 2rem 2rem;
}
.footer-inner {
  max-width: var(--w-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-end;  /* 右カラムなので右寄せ */
  gap: 0.6rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
}
/* フッターのロゴ画像はヘッダーより小さく */
.footer-logo .logo-image {
  height: 60px;   /* ヘッダー120px の半分 */
}
@media (max-width: 639px) {
  .footer-logo .logo-image {
    height: 45px;  /* スマホ：ヘッダー90px の半分 */
  }
}
.footer-logo .mark {
  min-width: 68px; height: 32px;
  padding: 0 0.75rem;
  border-radius: 99px;
  background: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-hand);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: #fff;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
  margin-bottom: 0.8rem;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--c-primary-soft); opacity: 1; }
footer small { color: rgba(255,255,255,0.45); font-size: 0.78rem; }

/* SNSリンク */
.footer-sns {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  flex-direction: column;
}
.footer-sns-title {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sns-links {
  display: flex;
  gap: 0.6rem;
}
.sns-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.12);
}
.sns-link:hover {
  background: rgba(255,255,255,0.15);
  opacity: 1;
  color: #fff;
}

/* ----- 悩みセクション ----- */
.worries {
  background: var(--c-bg-soft);
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.worries-head {
  text-align: center;
  margin-bottom: 4rem;
}
.worries-head .section-intro { margin: 0 auto; }

.worry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.3rem;
  margin-bottom: 3.5rem;
}
.worry-card {
  background: white;
  padding: 2.2rem 1.8rem;
  border-radius: var(--r-lg);
  position: relative;
  transition: all 0.4s;
  box-shadow: 0 4px 20px rgba(63, 55, 43, 0.04);
}
.worry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(212, 160, 23, 0.18);
}

.worry-icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.2rem;
}
.worry-card:nth-child(1) .worry-icon { background: var(--c-primary-paper); }
.worry-card:nth-child(2) .worry-icon { background: var(--c-green-soft); }
.worry-card:nth-child(3) .worry-icon { background: var(--c-yellow-soft); }
.worry-card:nth-child(4) .worry-icon { background: var(--c-pink-soft); }

.worry-card h3 {
  font-family: var(--f-round);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
  line-height: 1.6;
  color: var(--c-ink);
}
.worry-card p {
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--c-ink-soft);
}

.worry-bridge {
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, var(--c-primary-paper), var(--c-yellow-soft));
  border-radius: var(--r-lg);
  font-family: var(--f-round);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.9;
  color: var(--c-ink);
  position: relative;
}
.worry-bridge::before {
  content: '';
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 20px solid var(--c-primary-paper);
}
.worry-bridge .brush {
  color: var(--c-primary-deep);
  position: relative;
}

/* ----- 私たちについて ----- */
.about {
  padding-top: 7rem;
  padding-bottom: 7rem;
  position: relative;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4.5rem;
  align-items: center;
}
.about-visual {
  position: relative;
  aspect-ratio: 1/1.15;
}
.about-visual .card {
  position: absolute;
  background: white;
  border-radius: var(--r-md);
  padding: 1.5rem;
  box-shadow: 0 15px 35px -10px rgba(63, 55, 43, 0.15);
}
.about-visual .card-1 {
  top: 0; left: 0;
  width: 65%; height: 60%;
  transform: rotate(-4deg);
  z-index: 2;
  background: linear-gradient(135deg, white, var(--c-bg-peach));
}
.about-visual .card-2 {
  bottom: 0; right: 0;
  width: 65%; height: 60%;
  transform: rotate(4deg);
  z-index: 1;
  background: linear-gradient(135deg, white, var(--c-bg-mint));
}
.about-visual .tape {
  position: absolute;
  width: 80px; height: 26px;
  background: rgba(242, 193, 78, 0.6);
  top: -10px; left: 30%;
  transform: rotate(-5deg);
  z-index: 3;
}
.about-visual .card-2 .tape {
  background: rgba(242, 164, 164, 0.6);
  top: -10px; left: auto; right: 30%;
  transform: rotate(5deg);
}

.illust-kitchen, .illust-harvest {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-content .seal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  background: var(--c-green-soft);
  color: var(--c-green-deep);
  border-radius: 99px;
  margin-bottom: 1.5rem;
}
.about-content .seal::before {
  content: '\f3c5';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.about-content p {
  font-size: 0.98rem;
  line-height: 2.1;
  margin-bottom: 1.3rem;
  color: var(--c-ink-soft);
}
.about-content p strong {
  color: var(--c-ink);
  font-weight: 700;
  background: linear-gradient(180deg, transparent 60%, var(--c-yellow-soft) 60%);
  padding: 0 0.1em;
}

.about-signature {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px dashed var(--c-line);
  font-family: var(--f-round);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-ink);
}
.about-signature small {
  display: block;
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--c-ink-mute);
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
}

/* ----- サービス ----- */
.services {
  background: linear-gradient(180deg, var(--c-bg-soft), var(--c-bg));
  padding-top: 7rem;
  padding-bottom: 7rem;
  position: relative;
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  top: 15%; right: 5%;
  width: 160px; height: 160px;
  background: var(--c-yellow-soft);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.services::after {
  content: '';
  position: absolute;
  bottom: 10%; left: 3%;
  width: 180px; height: 180px;
  background: var(--c-pink-soft);
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
}

.services-head {
  text-align: center;
  margin-bottom: 4rem;
}
.services-head .section-label { justify-content: center; }
.services-head .section-label::after {
  content: '';
  width: 30px; height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
}
.services-head .section-intro { margin: 0 auto; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.service-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem 2rem;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(63, 55, 43, 0.05);
}
.service-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  opacity: 0.3;
}
.service-card:nth-child(1)::before { background: var(--c-primary-soft); }
.service-card:nth-child(2)::before { background: var(--c-green-soft); }
.service-card:nth-child(3)::before { background: var(--c-pink-soft); }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(212, 160, 23, 0.15);
}

.service-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-primary);
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.service-card:nth-child(1) .service-icon { background: var(--c-primary-paper); }
.service-card:nth-child(2) .service-icon { background: var(--c-green-soft); }
.service-card:nth-child(3) .service-icon { background: var(--c-pink-soft); }

.service-card h3 {
  font-family: var(--f-round);
  font-weight: 900;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  color: var(--c-ink);
  position: relative;
  z-index: 1;
}
.service-card > p {
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--c-ink-soft);
  margin-bottom: 1.3rem;
  position: relative;
  z-index: 1;
}
.service-card ul {
  list-style: none;
  font-size: 0.87rem;
  border-top: 2px dashed var(--c-line);
  padding-top: 1.3rem;
  position: relative;
  z-index: 1;
}
.service-card ul li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.7rem;
  line-height: 1.75;
  color: var(--c-ink-soft);
}
.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  width: 18px; height: 18px;
  background: var(--c-green);
  color: white;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 3px;
}

/* ----- 選ばれる理由 ----- */
.reasons {
  padding-top: 7rem;
  padding-bottom: 7rem;
}
.reasons-head {
  text-align: center;
  margin-bottom: 4rem;
}
.reasons-head .section-label { justify-content: center; }
.reasons-head .section-label::after {
  content: '';
  width: 30px; height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
}

.reason-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.reason-item {
  background: white;
  border-radius: var(--r-lg);
  padding: 2rem 2rem 2rem 2rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: start;
  transition: all 0.4s;
  box-shadow: 0 4px 20px rgba(63, 55, 43, 0.04);
}
.reason-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(212, 160, 23, 0.12);
}
.reason-num {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-yellow));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.reason-num .n {
  font-family: var(--f-round);
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1;
}
.reason-num small {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-top: 0.2rem;
  opacity: 0.9;
}

.reason-item h3 {
  font-family: var(--f-round);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 0.7rem;
  color: var(--c-ink);
}
.reason-item p {
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--c-ink-soft);
}

/* ----- 子育て特別セクション ----- */
.family {
  background: linear-gradient(135deg, var(--c-bg-peach), var(--c-bg-cream) 70%, var(--c-bg-mint));
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}
.family::before {
  content: '\f1ae';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 5%; right: 5%;
  font-size: 10rem;
  opacity: 0.05;
  transform: rotate(-10deg);
}
.family-inner {
  position: relative;
  z-index: 1;
  max-width: var(--w-max);
  margin: 0 auto;
}
.family-head {
  text-align: center;
  margin-bottom: 3.5rem;
}
.family-head .section-label { justify-content: center; }
.family-head .section-label::after {
  content: '';
  width: 30px; height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
}

.family-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.family-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 2rem 1.8rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(63, 55, 43, 0.06);
  transition: transform 0.3s;
}
.family-card:hover { transform: scale(1.03); }
.family-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: wobble 4s ease-in-out infinite;
}
.family-card:nth-child(2) .family-emoji { animation-delay: 0.5s; }
.family-card:nth-child(3) .family-emoji { animation-delay: 1s; }
@keyframes wobble {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}
.family-card h4 {
  font-family: var(--f-round);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--c-primary-deep);
  margin-bottom: 0.8rem;
}
.family-card p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--c-ink-soft);
}

.family-balloon {
  background: white;
  border-radius: var(--r-lg);
  padding: 2rem 2.5rem;
  text-align: center;
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(63, 55, 43, 0.06);
}
.family-balloon::before,
.family-balloon::after {
  content: '';
  position: absolute;
  bottom: -20px;
  width: 0; height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid white;
}
.family-balloon::before { left: 30%; }
.family-balloon::after { right: 30%; }
.family-balloon p {
  font-family: var(--f-round);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.9;
  color: var(--c-ink);
}
.family-balloon p .p { color: var(--c-primary-deep); }
.family-balloon p .g { color: var(--c-green-deep); }

/* ----- メニュー例 ----- */
.menu-section {
  background: var(--c-bg);
  padding-top: 7rem;
  padding-bottom: 7rem;
}
.menu-head {
  margin-bottom: 3.5rem;
  text-align: center;
}
.menu-head .section-label { justify-content: center; }
.menu-head .section-label::after {
  content: '';
  width: 30px; height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
}
.menu-head .section-intro { margin: 0 auto 1rem; }
.menu-head .menu-note {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--c-ink-soft);
  padding: 0.5rem 1.2rem;
  background: var(--c-primary-paper);
  border-radius: 99px;
  margin-top: 0.5rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.menu-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 0 0 1.3rem 0;
  transition: all 0.4s;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(63, 55, 43, 0.05);
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(212, 160, 23, 0.15);
}
.menu-card .cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: white;
  background: var(--c-primary);
  padding: 0.22rem 0.7rem;
  border-radius: 99px;
  margin: 1rem 1rem 0.6rem 1rem;
  letter-spacing: 0.05em;
}
.menu-card .cat.side { background: var(--c-green); }
.menu-card .cat.rice { background: var(--c-yellow); color: var(--c-ink); }
.menu-card h4 {
  font-family: var(--f-round);
  font-weight: 900;
  font-size: 1rem;
  margin: 0 1rem 0.6rem;
  line-height: 1.5;
  color: var(--c-ink);
}
.menu-card p {
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--c-ink-soft);
  margin: 0 1rem;
}
.menu-visual {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.mv-1 { background: linear-gradient(135deg, #FFE1C5, #FFB98A); }
.mv-2 { background: linear-gradient(135deg, #DEEDCE, #A5C988); }
.mv-3 { background: linear-gradient(135deg, #FFF4D4, #F3D27A); }
.mv-4 { background: linear-gradient(135deg, #FCDCDC, #F5A2A2); }
.mv-5 { background: linear-gradient(135deg, #FFEDCE, #F5C76D); }
.mv-6 { background: linear-gradient(135deg, #E4F0D2, #B8D490); }
.mv-7 { background: linear-gradient(135deg, #FFD5C0, #EE9A76); }
.mv-8 { background: linear-gradient(135deg, #F0E2C5, #D4B878); }

/* ----- 料金プラン ----- */
.pricing {
  padding-top: 7rem;
  padding-bottom: 7rem;
  background: var(--c-bg-soft);
}
.pricing-head {
  text-align: center;
  margin-bottom: 4rem;
}
.pricing-head .section-label { justify-content: center; }
.pricing-head .section-label::after {
  content: '';
  width: 30px; height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.price-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.4s;
  border: 3px solid transparent;
  box-shadow: 0 4px 20px rgba(63, 55, 43, 0.05);
}
.price-card.featured {
  background: linear-gradient(180deg, var(--c-primary-paper), white);
  border-color: var(--c-primary);
  transform: scale(1.04);
  z-index: 2;
  box-shadow: 0 20px 40px rgba(212, 160, 23, 0.2);
}
.price-card.featured::before {
  content: '★ 人気No.1 ★';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-primary);
  color: white;
  padding: 0.4rem 1.6rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 6px 15px rgba(212, 160, 23, 0.4);
}
.price-card:hover:not(.featured) {
  transform: translateY(-6px);
  border-color: var(--c-primary-soft);
  box-shadow: 0 15px 30px rgba(212, 160, 23, 0.15);
}

.price-cat {
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--c-primary);
  margin-bottom: 0.5rem;
}

.price-name {
  font-family: var(--f-round);
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  color: var(--c-ink);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px dashed var(--c-line);
}

.price-amount .yen {
  font-family: var(--f-round);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-ink);
}
.price-amount .amount {
  font-family: var(--f-round);
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 900;
  color: var(--c-ink);
}
.price-amount .unit {
  font-size: 0.85rem;
  color: var(--c-ink-mute);
  margin-left: 0.3rem;
}

.price-card ul {
  list-style: none;
  margin-bottom: 2rem;
}
.price-card ul li {
  padding: 0.6rem 0;
  font-size: 0.88rem;
  line-height: 1.7;
  padding-left: 1.8rem;
  position: relative;
  color: var(--c-ink-soft);
}
.price-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0.65rem;
  width: 18px; height: 18px;
  background: var(--c-green);
  color: white;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.price-card .btn {
  width: 100%;
  justify-content: center;
}

.price-note {
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--c-ink-mute);
  text-align: center;
  line-height: 1.8;
}

/* ----- 流れ ----- */
.flow {
  background: linear-gradient(135deg, var(--c-bg-mint), var(--c-bg-cream));
  padding-top: 7rem;
  padding-bottom: 7rem;
  position: relative;
  overflow: hidden;
}
.flow::before {
  content: '';
  position: absolute;
  top: -50px; left: -50px;
  width: 200px; height: 200px;
  background: var(--c-primary-soft);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
}
.flow-head {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}
.flow-head .section-label { justify-content: center; }
.flow-head .section-label::after {
  content: '';
  width: 30px; height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.flow-step {
  background: white;
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(63, 55, 43, 0.06);
}
.flow-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: var(--c-primary);
  font-weight: 900;
  z-index: 2;
}
.flow-step .num {
  width: 60px; height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-yellow));
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--f-round);
  font-weight: 900;
}
.flow-step .num .lbl {
  font-family: var(--f-hand);
  font-size: 0.65rem;
  font-weight: 700;
  opacity: 0.85;
  line-height: 1;
}
.flow-step .num .n {
  font-size: 1.4rem;
  line-height: 1;
}
.flow-step h4 {
  font-family: var(--f-round);
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: var(--c-ink);
}
.flow-step p {
  font-size: 0.85rem;
  line-height: 1.85;
  color: var(--c-ink-soft);
}

/* ----- お客様の声 ----- */
.voices {
  padding-top: 7rem;
  padding-bottom: 7rem;
}
.voices-head { margin-bottom: 4rem; text-align: center; }
.voices-head .section-label { justify-content: center; }
.voices-head .section-label::after {
  content: '';
  width: 30px; height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.voice-card {
  background: white;
  padding: 2.2rem 1.8rem;
  border-radius: var(--r-lg);
  position: relative;
  transition: transform 0.3s;
  box-shadow: 0 4px 20px rgba(63, 55, 43, 0.05);
}
.voice-card:hover { transform: translateY(-4px); }

.voice-card .quote-mark {
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-family: var(--f-round);
  font-size: 3.5rem;
  color: var(--c-primary);
  opacity: 0.15;
  line-height: 1;
  font-weight: 900;
}
.voice-stars {
  color: var(--c-yellow);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.15em;
}

.voice-card .voice-title {
  font-family: var(--f-round);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--c-primary-deep);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.voice-card p {
  font-size: 0.9rem;
  line-height: 1.95;
  color: var(--c-ink-soft);
  margin-bottom: 1.5rem;
}
.voice-card .persona {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1.2rem;
  border-top: 2px dashed var(--c-line);
}
.voice-card .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.voice-card .avatar.a { background: var(--c-primary-paper); }
.voice-card .avatar.b { background: var(--c-green-soft); }
.voice-card .avatar.c { background: var(--c-pink-soft); }

.voice-card .persona-info { font-size: 0.8rem; line-height: 1.5; }
.voice-card .persona-info strong {
  display: block;
  font-family: var(--f-round);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--c-ink);
  margin-bottom: 0.15rem;
}
.voice-card .persona-info small {
  color: var(--c-ink-mute);
  font-size: 0.75rem;
}

/* ----- エリア ----- */
.area {
  background: var(--c-bg-soft);
  padding-top: 7rem;
  padding-bottom: 7rem;
}
.area-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}
.area-list {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.2rem;
}
.area-list li {
  list-style: none;
  padding: 0.6rem 0;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--c-ink);
  font-weight: 500;
}
.area-list li::before {
  content: '\f2e7';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.95rem;
}
.area-map {
  aspect-ratio: 1.1/1;
  background: white;
  border-radius: var(--r-lg);
  position: relative;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(63, 55, 43, 0.08);
}


/* ============================================================
   Requested integration overrides
============================================================ */
:root {
  --c-bg: #FFFCF3;
  --c-bg-warm: #FFF8E7;
  --c-bg-soft: #FFFDF7;
  --c-bg-peach: #FFF8EA;
  --c-bg-mint: #F8FAF3;
  --c-bg-cream: #FFF7DF;
  --c-paper: #FFFFFF;
  --c-primary: #C89615;
  --c-primary-deep: #9F7410;
  --c-primary-soft: #F1D775;
  --c-primary-pale: #FBF1BD;
  --c-primary-paper: #FFF8E2;
  --c-yellow: #E8C840;
  --c-yellow-soft: #FBF0BC;
  --c-green: #7F9E68;
  --c-green-deep: #5E784C;
  --c-green-soft: #EDF3E5;
  --c-pink: #D8A082;
  --c-pink-soft: #F8E9DF;
  --c-ink: #302C25;
  --c-ink-soft: #625B4D;
  --c-ink-mute: #978E7B;
  --c-line: #E9E1D0;
  --c-line-soft: #F2ECDC;
}

body { background: var(--c-bg); }
body::before {
  background-image:
    radial-gradient(circle at 12% 16%, rgba(200, 150, 21, 0.035) 0, transparent 44%),
    radial-gradient(circle at 88% 76%, rgba(127, 158, 104, 0.028) 0, transparent 45%);
}

#header {
  min-height: 120px;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  background: rgba(255, 252, 243, 0.92);
  border-bottom: 1px solid rgba(233, 225, 208, 0.7);
}
.nav-inner { width: 100%; gap: 2rem; }
#global-nav { margin-left: auto; }
#global-nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.3rem;
  min-height: 92px;
}
#global-nav li {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1;
}
#global-nav a,
#global-nav .nav-cta {
  display: block;
  padding: 0.35rem 0.12rem;
  background: transparent;
  box-shadow: none;
  color: var(--c-ink-soft);
  border-radius: 0;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
#global-nav a::after {
  left: -4px;
  top: 0;
  bottom: auto;
  width: 2px;
  height: 0;
  transform: none;
}
#global-nav a:hover::after { width: 2px; height: 100%; }
#global-nav .nav-cta:hover { background: transparent; color: var(--c-primary-deep); transform: none; }

.hero {
  min-height: 100vh;
  padding: 120px 2rem 5rem;
  background:
    linear-gradient(90deg, rgba(48, 44, 37, 0.45), rgba(48, 44, 37, 0.14) 54%, rgba(255, 252, 243, 0.06)),
    url('images/hero.JPG') center / cover no-repeat;
  color: #fff;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(to bottom, transparent, var(--c-bg));
  pointer-events: none;
}
.hero-blob,
.hero-bg-text,
.hero-sub,
.hero-cta-area { display: none; }
.hero-inner { width: min(100%, var(--w-max)); }
.hero .audience-tabs {
  display: inline-flex;
  position: relative;
  z-index: 2;
  margin-bottom: 1.6rem;
  background: rgba(255,255,255,0.78);
  border-color: rgba(255,255,255,0.62);
}
.hero .tab-btn { color: var(--c-ink-soft); }
.hero .tab-btn.active { background: var(--c-primary); color: #fff; }
.hero-simple { max-width: 760px; position: relative; z-index: 2; }
.hero-tagline { color: rgba(255,255,255,0.88); text-shadow: 0 2px 14px rgba(0,0,0,0.25); }
.hero-catch { color: #fff; text-shadow: 0 3px 24px rgba(0,0,0,0.35); margin-bottom: 0; }
.hero-catch .accent { color: #fff; }
.hero-catch .accent::after { background: rgba(241, 215, 117, 0.38); }
.scroll-down { color: rgba(255,255,255,0.8); z-index: 2; }

.profile-before-footer {
  max-width: var(--w-max);
  margin: -0.2rem auto 2.5rem;
  padding: 1.35rem clamp(1.4rem, 4vw, 3rem);
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.94), rgba(251,244,200,0.86) 58%, rgba(223,240,204,0.76)),
    var(--c-paper);
  border: 1px solid rgba(212, 160, 23, 0.24);
  border-radius: var(--r-lg);
  box-shadow: 0 22px 54px rgba(63, 55, 43, 0.12);
}
.profile-before-footer::before {
  content: 'Profile';
  position: absolute;
  right: clamp(1rem, 4vw, 3.4rem);
  top: 50%;
  transform: translateY(-50%) rotate(-4deg);
  font-family: var(--f-hand);
  font-size: clamp(4.6rem, 11vw, 9rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(212, 160, 23, 0.1);
  pointer-events: none;
  z-index: -1;
}
.profile-before-footer::after {
  content: none;  /* 「家事と暮らしの相談役」ラベルを削除 */
}
.profile-before-footer .omoi-photo-frame {
  width: 116px;
  height: 136px;
  font-size: 1.8rem;
  border-radius: 28px;
  border: 4px solid rgba(255,255,255,0.82);
  box-shadow: 0 14px 34px rgba(48, 44, 37, 0.18);
}
.profile-before-footer .omoi-photo-name {
  flex: 1;
  text-align: left;
  font-size: 0.9rem;
  color: var(--c-ink-soft);
}
.profile-before-footer .omoi-photo-name strong {
  display: inline-block;
  margin-bottom: 0.18rem;
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  color: var(--c-ink);
  line-height: 1.35;
}
.profile-before-footer .omoi-photo-name small {
  display: inline-block;
  margin-top: 0.18rem;
  padding: 0.15rem 0.72rem;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 999px;
  color: var(--c-primary-deep);
  font-size: 0.76rem;
  font-weight: 700;
}

.section-omoi { background: var(--c-bg); }
.omoi-inner {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
}
.omoi-text { max-width: 660px; }
.omoi-link { margin-top: 1.8rem; }
/* 想いセクション：1枚画像＋装飾フレーム */
.omoi-collage {
  position: relative;
  /* 1枚になったので min-height は画像の aspect-ratio に任せる */
  flex-shrink: 0;
  width: 380px;
}

/* 装飾：画像の後ろにゴールドのフレームをずらして表示 */
.omoi-collage::before {
  content: '';
  position: absolute;
  inset: -12px -12px 12px 12px; /* 右上にずれた背景フレーム */
  border: 2px solid var(--c-primary-soft);
  border-radius: var(--r-lg);
  z-index: 0;
}

/* 装飾：右下に薄い影ブロック */
.omoi-collage::after {
  content: '';
  position: absolute;
  inset: 12px -12px -12px 12px;
  background: var(--c-primary-pale);
  border-radius: var(--r-lg);
  z-index: 0;
}

.omoi-collage-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  box-shadow: 0 22px 46px rgba(48, 44, 37, 0.14);
}

.omoi-collage-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 1枚フレーム */
.omoi-collage-frame.is-single {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
}
.service-card { padding: 0 0 2rem; }
.service-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-line);
}
.service-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-icon {
  width: 46px;
  height: 46px;
  font-size: 1rem;
  margin: -23px auto 1rem;
  position: relative;
  z-index: 2;
  border: 4px solid var(--c-paper);
}
.service-card h3,
.service-card h4,
.service-card p,
.service-card .service-tags { padding-inline: 1.8rem; }
.service-card p { padding-inline: 2rem; }

.worry-icon,
.family-emoji { font-size: 1.05rem; color: var(--c-primary-deep); }
.reason-item h3 i,
.worry-bridge i,
.family-balloon i { color: var(--c-primary-deep); font-size: 0.9em; }
.section-title .primary { color: var(--c-primary-deep); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.3s;
}
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-ghost { background: var(--c-paper); color: var(--c-primary-deep); border-color: var(--c-line); }
.btn:hover { opacity: 1; transform: translateY(-2px); }

footer { writing-mode: horizontal-tb; background: #302C25; }
.footer-inner { grid-template-columns: 1fr 1.15fr; }
.footer-brand-links { margin-top: 1rem; }
.footer-brand-links .footer-links {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;  /* 右カラムに合わせて右揃え */
  gap: 0.6rem 1rem;
}
.footer-right-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;  /* 左カラムに移動したため左揃え */
  gap: 0.6rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.84rem;
}
.footer-right-links a,
.footer-brand-links a { color: rgba(255,255,255,0.72); }
.footer-copy { text-align: left; display: block; }  /* 左カラムに移動したため左揃え */
footer nav ul,
footer nav ul li { writing-mode: horizontal-tb; }

.blog-thumb i, .voice-avatar i { color: var(--c-primary-deep); font-size: 1.35rem; }

.service-photo::after {
  content: attr(data-label);
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  color: var(--c-ink-mute);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.service-photo { position: relative; }
.service-photo img:not([hidden]) + * { display: none; }
.service-photo:has(img:not([hidden]))::after { content: none; }
@media (max-width: 980px) {
  #header { min-height: 86px; padding-inline: 1.25rem; }
  #global-nav ul { display: none; }
  #global-nav ul.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 86px; left: 0; right: 0;
    background: rgba(255, 252, 243, 0.98);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--c-line);
  }
  #global-nav ul.open li { writing-mode: horizontal-tb; width: 100%; border-bottom: 1px solid var(--c-line-soft); }
  #global-nav ul.open a { padding: 1rem 0; }
  .menu-toggle { display: flex; }
  .hero { padding-top: 86px; min-height: 82vh; }
  .omoi-inner { grid-template-columns: 1fr; }
  /* 1枚画像：縦積みで画像を先に表示 */
  .omoi-collage { width: 100%; order: -1; margin-bottom: 2rem; }
  .price-grid, .flow-steps, .family-grid { grid-template-columns: 1fr; }
  .reason-item { grid-template-columns: 72px 1fr; }
  .area-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-right-links, .footer-copy { justify-content: flex-start; text-align: left; }
}

@media (max-width: 560px) {
  .hero { padding-inline: 1.25rem; }
  .hero-catch { font-size: clamp(2rem, 12vw, 3.4rem); }
  /* 1枚画像：560px以下でも変更なし（幅100%で収まる） */
  .service-card h3,
  .service-card h4,
  .service-card p,
  .service-card .service-tags { padding-inline: 1.2rem; }
}
/* ============================================================
   レスポンシブ（スマートフォン）
============================================================ */
@media (max-width: 768px) {
  nav ul { display: none; }
  nav ul.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(253, 250, 240, 0.97);
    backdrop-filter: blur(16px);
    padding: 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--c-line);
    z-index: 99;
  }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  .omoi-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .omoi-photo { display: none; } /* SP では非表示 or 別レイアウト */
  .profile-before-footer {
    display: flex;
    margin: 0 1.25rem 1.8rem;
    padding: 1rem;
    gap: 0.95rem;
    border-radius: 18px;
  }
  .profile-before-footer::before {
    right: 0.5rem;
    top: auto;
    bottom: -0.2rem;
    transform: rotate(-5deg);
    font-size: 4.6rem;
  }
  .profile-before-footer::after {
    content: none;  /* スマホでも非表示 */
  }
  .profile-before-footer .omoi-photo-frame {
    width: 82px;
    height: 96px;
    border-width: 3px;
    border-radius: 20px;
  }
  .profile-before-footer .omoi-photo-name {
    padding-right: 4.8rem;
    font-size: 0.78rem;
    line-height: 1.55;
  }
  .profile-before-footer .omoi-photo-name strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.12rem;
  }
  .profile-before-footer .omoi-photo-name small {
    font-size: 0.68rem;
    padding: 0.08rem 0.5rem;
  }

  .service-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .voices-grid { grid-template-columns: 1fr; }

  /* ブログ：SP横スクロール */
  /* blog-grid：スマホは縦1列・横スクロールなし */
  .blog-grid {
    grid-template-columns: 1fr;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
    max-width: 100%;
    margin-inline: auto;
  }
  .blog-card { scroll-snap-align: none; }
  /* blog-card-fallback：スマホで全幅表示 */
  .blog-card-fallback { grid-column: 1 / -1; }

  .footer-inner { grid-template-columns: 1fr; }

  .contact-btns { flex-direction: column; align-items: center; }

  .hero-bg-text { display: none; }
  .hero { padding: 8rem 1.5rem 5rem; }
  .blog-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
/* 1枚画像用：980px以下でomoi-innerを縦積みに */
@media (max-width: 980px) {
  .omoi-inner {
    grid-template-columns: 1fr;
  }
  .omoi-collage {
    width: 100%;
    max-width: 420px;
    margin: 0 auto 2rem;
    order: -1;
  }
  .reason-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .reason-item {
    grid-template-columns: 64px 1fr;
    gap: 1rem;
  }
}
/* 活動実績カードセクション */
.activity-results {
  padding: 6rem 2rem 5.5rem;
  background: var(--c-bg-soft);
}
.activity-results .container {
  max-width: var(--w-max);
}
.activity-results-title {
  text-align: center;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 3rem;
  color: var(--c-ink);
}
.activity-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: start;
}
.activity-card {
  text-align: center;
  min-width: 0;
}
.activity-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 1.35rem;
  background: var(--c-paper);
  overflow: hidden;
  position: relative;
}
.activity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.activity-image::after {
  content: attr(data-label);
  position: absolute;
  inset: 50% 1rem auto;
  transform: translateY(-50%);
  color: var(--c-ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-align: center;
}
.activity-image:has(img:not([hidden]))::after { content: none; }
.activity-card h3 {
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 0.65rem;
  color: var(--c-ink);
}
.activity-card p {
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--c-ink-soft);
  margin: 0 auto 1.1rem;
  max-width: 22em;
}
.activity-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 32px;
  padding: 0.45rem 1.2rem;
  background: #4B4037;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.25s, transform 0.25s;
}
.activity-more:hover {
  background: var(--c-primary-deep);
  opacity: 1;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .activity-results-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 520px;
    margin: 0 auto;
  }
  .activity-image {
    aspect-ratio: 4 / 3;
    margin-bottom: 1rem;
  }
  .activity-card p {
    max-width: 32em;
  }
}

@media (max-width: 560px) {
  .activity-results {
    padding: 4.5rem 1.25rem;
  }
  .activity-results-title {
    margin-bottom: 2.2rem;
  }
}
/* Activity results visual polish */
.activity-results {
  padding: 6.5rem 2rem;
  background:
    radial-gradient(circle at 10% 8%, rgba(200, 150, 21, 0.05), transparent 34%),
    linear-gradient(180deg, var(--c-bg-soft), var(--c-bg));
  overflow: hidden;
}
.activity-results-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 3.5rem;
}
.activity-results-title::before {
  content: 'Works';
  display: block;
  font-family: var(--f-hand);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}
.activity-results-title span {
  background: linear-gradient(transparent 60%, var(--c-primary-soft) 60%);
  padding: 0 0.08em;
}
.activity-results-grid {
  gap: 1.5rem;
}
.activity-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 0 0 2rem;
  box-shadow: 0 4px 20px rgba(63, 55, 43, 0.04);
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(200, 150, 21, 0.13);
  border-color: var(--c-primary-soft);
}
.activity-image {
  aspect-ratio: 4 / 3;
  margin-bottom: 1.45rem;
  background:
    linear-gradient(135deg, rgba(251, 241, 189, 0.55), rgba(255,255,255,0.7)),
    var(--c-bg-soft);
  border-bottom: 1px solid var(--c-line);
}
.activity-image::after {
  padding: 0.35rem 0.7rem;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 252, 243, 0.88);
  border-radius: 999px;
  color: var(--c-ink-mute);
  font-size: 0.78rem;
  white-space: nowrap;
}
.activity-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.7rem;
  padding: 0 1.6rem;
}
.activity-card h3::after {
  content: '';
  display: block;
  width: 34px;
  height: 2px;
  background: var(--c-primary-soft);
  border-radius: 999px;
  margin: 0.65rem auto 0;
}
.activity-card p {
  font-size: 0.9rem;
  line-height: 1.9;
  padding: 0 1.7rem;
  margin-bottom: 1.35rem;
}
.activity-more {
  min-width: 92px;
  min-height: 38px;
  border-radius: 999px;
  background: var(--c-primary);
  box-shadow: 0 6px 18px rgba(200, 150, 21, 0.22);
}
.activity-more:hover {
  background: var(--c-primary-deep);
  box-shadow: 0 10px 24px rgba(200, 150, 21, 0.28);
}

@media (max-width: 900px) {
  .activity-results-grid {
    gap: 1.5rem;
    max-width: 620px;
  }
  .activity-card {
    display: grid;
    grid-template-columns: minmax(160px, 0.85fr) 1fr;
    text-align: left;
    padding: 0;
    align-items: stretch;
  }
  .activity-image {
    margin: 0;
    height: 100%;
    min-height: 220px;
    border-bottom: none;
    border-right: 1px solid var(--c-line);
  }
  .activity-card h3,
  .activity-card p,
  .activity-card .activity-more {
    grid-column: 2;
  }
  .activity-card h3 {
    padding: 1.6rem 1.5rem 0;
    margin-bottom: 0.45rem;
  }
  .activity-card h3::after {
    margin-left: 0;
  }
  .activity-card p {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
  }
  .activity-more {
    margin: 0 1.5rem 1.5rem;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .activity-card {
    display: block;
    text-align: center;
    padding-bottom: 2rem;
  }
  .activity-image {
    min-height: 0;
    border-right: none;
    border-bottom: 1px solid var(--c-line);
    margin-bottom: 1.3rem;
  }
  .activity-card h3 {
    padding: 0 1.4rem;
  }
  .activity-card h3::after {
    margin-left: auto;
  }
  .activity-card p {
    padding: 0 1.4rem;
  }
  .activity-more {
    margin: 0;
  }
}

/* Responsive text wrapping polish */
.hero-catch,
.hero-tagline,
.section-title,
.section-intro,
.worry-card h3,
.worry-bridge,
.omoi-text .lead,
.family-card h3,
.family-balloon,
.service-card h3,
.service-card h4,
.reason-item h3,
.price-name,
.flow-step h4,
.voice-title,
.activity-results-title,
.activity-card h3,
.contact-desc {
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: keep-all;
}

.section-label,
.new-concept-badge,
.service-card-tag,
.price-cat,
.flow-step .num,
.blog-source-badge,
.activity-more,
.btn,
.btn-cta,
.btn-line,
.btn-outline,
.tab-btn,
.nav-cta,
.contact-note,
.profile-before-footer::after {
  white-space: nowrap;
}

.btn,
.btn-cta,
.btn-line,
.btn-outline,
.tab-btn {
  min-width: max-content;
}

@media (max-width: 980px) {
  .logo {
    gap: 0.45rem;
    font-size: 1.05rem;
  }
  .logo .logo-mark {
    min-width: 68px;
    height: 34px;
    padding-inline: 0.7rem;
    font-size: 0.95rem;
  }
  .logo .logo-en {
    display: none;
  }
  .section-title {
    font-size: clamp(1.45rem, 4.8vw, 2rem);
  }
  .hero-tagline {
    font-size: clamp(0.92rem, 2.7vw, 1.1rem);
    letter-spacing: 0.08em;
  }
  .hero-catch {
    font-size: clamp(2rem, 7.5vw, 3.4rem);
  }
  .worry-card h3,
  .service-card h3,
  .service-card h4,
  .reason-item h3,
  .price-name,
  .flow-step h4,
  .voice-title,
  .activity-card h3 {
    line-height: 1.65;
  }
}

@media (max-width: 768px) {
  /* 左右余白を広げる（1.25rem → 1.6rem） */
  .container,
  .omoi-inner {
    padding-inline: 1.6rem;
  }
  .audience-tabs {
    width: 100%;
  }
  .tab-btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 0.75rem;
    font-size: 0.8rem;
  }
  /* ボタンは縦並びエリア内でのみ幅100%（個別で制御するため共通はリセット） */
  .btn,
  .btn-cta,
  .btn-line,
  .btn-outline {
    min-width: 0;
    box-sizing: border-box;
  }
  .contact-note {
    white-space: normal;
    word-break: keep-all;
  }
  .footer-right-links a,
  .footer-brand-links a {
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .section-title {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
    line-height: 1.55;
  }
  .section-label {
    font-size: 0.92rem;
    letter-spacing: 0.08em;
  }
  .hero-catch {
    font-size: clamp(1.9rem, 10.5vw, 2.7rem);
    line-height: 1.38;
  }
  .hero-tagline {
    max-width: 18em;
  }
  .worry-bridge,
  .family-balloon {
    font-size: 1.05rem;
  }
  .profile-before-footer .omoi-photo-name {
    flex: 1 1 calc(100% - 98px);
    padding-right: 0;
  }
  .profile-before-footer::after {
    position: static;
    align-self: flex-start;
    order: 3;
    margin-left: auto;
  }
  .profile-before-footer {
    flex-wrap: wrap;
  }
  .footer-right-links {
    gap: 0.55rem 0.85rem;
  }
}


/* ============================================================
   スマホレスポンシブ 修正パッチ
   - .omoi-collage-frame img のはみ出し対策
   - 文章・コンテナの横スクロール対策
   - word-break / min-width 調整
============================================================ */

/* --- 横スクロール防止の根本対策 --- */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* --- コンテナ・セクション共通の幅制限 --- */
.container,
.omoi-inner,
.family-inner,
.btob-inner,
.contact-inner,
.footer-inner {
  /* padding-inline はすでに各ブレークポイントで設定済み。
     min-width: 0 で flex/grid 子要素の溢れを防ぐ */
  min-width: 0;
  box-sizing: border-box;
}

/* --- omoi コラージュ（1枚版）：はみ出し対策 --- */
.omoi-collage-frame {
  overflow: hidden;
  min-width: 0;
}

/* 1枚フレームは幅制限のみ */
.omoi-collage-frame.is-single {
  max-width: 100%;
}

.omoi-collage-frame img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
}

/* --- 768px 以下：omoi を縦積みに変更 --- */
@media (max-width: 768px) {
  /* omoi セクション：テキスト幅の制限 */
  .omoi-text {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  /* 1枚画像：高さを半分（aspect-ratio を 3/4 → 3/2）、下寄り60%表示 */
  .omoi-collage-frame.is-single {
    aspect-ratio: 3 / 2;       /* 元の 3/4 の縦半分 */
  }
  .omoi-collage-frame.is-single img {
    object-position: center 60%;  /* 上から60%・左右センター */
  }

  /* 1枚画像：フル幅で縦積み */
  .omoi-collage {
    width: 100%;
    min-height: auto;
    margin-bottom: 1.5rem;
  }

  .omoi-collage::before,
  .omoi-collage::after {
    /* スマホでは装飾フレームを小さく調整 */
    inset: -8px -8px 8px 8px;
  }

  .omoi-collage::after {
    inset: 8px -8px -8px 8px;
  }

  .omoi-collage-frame {
    position: relative;
    width: 100%;
    max-width: 100%;
  }
}

/* --- ボタン：min-width: max-content がスマホで溢れる問題 --- */
@media (max-width: 768px) {
  /* 全ボタンの min-width を解除 */
  .btn,
  .btn-cta,
  .btn-line,
  .btn-outline,
  .tab-btn {
    min-width: 0;
    /* white-space: nowrap は維持しつつ、ボタン自体が画面に収まるよう */
    max-width: 100%;
    box-sizing: border-box;
  }

  /* CTAボタンエリア：縦並びで幅 100% */
  .contact-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .contact-btns .btn-line,
  .contact-btns .btn-cta {
    width: 100%;
    justify-content: center;
  }

  /* サービスCTAエリア：スマホでも縦並び・幅100% */
  .service-cta-area {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }
  .service-cta-area .btn-outline,
  .service-cta-area .btn-cta {
    width: 100%;
    justify-content: center;
  }

  /* コンタクト detail-lead：スマホで余白縮小 */
  .contact-detail-lead {
    padding: 1.5rem 1.25rem;
  }

  /* hero CTA エリア */
  .hero-cta-area {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
}

/* --- word-break: keep-all の過剰適用を補正 --- */
/* 見出し・本文はスマホでも折り返せるよう word-break を緩和 */
@media (max-width: 768px) {
  .section-title,
  .section-intro,
  .worry-card h3,
  .worry-bridge,
  .omoi-text .lead,
  .family-card h3,
  .family-balloon,
  .service-card h3,
  .service-card h4,
  .reason-item h3,
  .price-name,
  .flow-step h4,
  .voice-title,
  .activity-results-title,
  .activity-card h3,
  .contact-desc,
  /* 一般的な本文 p タグも対象 */
  p {
    word-break: break-word;      /* 長い単語・URLが溢れたときだけ折る */
    overflow-wrap: break-word;
    /* keep-all は維持したままだと英数字の長い文字列で溢れるため上書き */
  }

  /* ナビゲーション・バッジ等は nowrap のまま維持 */
  .section-label,
  .new-concept-badge,
  .blog-source-badge,
  .nav-cta,
  .tab-btn {
    white-space: nowrap;
  }
}

/* --- family セクション padding の横溢れ対策 --- */
@media (max-width: 768px) {
  .family {
    padding-inline: 1.25rem;
  }
  .family-inner {
    width: 100%;
    box-sizing: border-box;
  }
}

/* --- flow-steps の arrow 記号がはみ出さないよう --- */
@media (max-width: 768px) {
  .flow-steps {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  /* 横向き矢印を非表示、縦向き矢印に代替 */
  .flow-step:not(:last-child)::after {
    content: '↓';
    right: auto;
    left: 50%;
    top: auto;
    bottom: -1.1rem;
    transform: translateX(-50%);
    font-size: 1.4rem;
  }
}

/* --- results-grid（数値）：スマホで 2列 → 可読性確保 --- */
@media (max-width: 480px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- price-grid：スマホで1列 --- */
@media (max-width: 768px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
  /* featured カードの scale をリセット */
  .price-card.featured {
    transform: none;
  }
}

/* --- area-inner：スマホで縦並び --- */
@media (max-width: 768px) {
  .area-inner {
    grid-template-columns: 1fr;
  }
}

/* --- 全セクションの padding-inline をスマホで増加（左右余白を広げる） --- */
@media (max-width: 768px) {
  .section-omoi .omoi-inner,
  .section-service .container,
  .section-blog .container,
  .section-faq .container,
  .section-contact .container,
  .section-results .container,
  .section-btob .btob-inner,
  .activity-results .container,
  .reasons .container,
  .worries .container,
  .pricing .container,
  .flow .container,
  .area .container {
    padding-inline: 1.6rem;  /* 1.25rem → 1.6rem に増加 */
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
}

/* --- 375px以下の極小端末：さらに余白を確保 --- */
@media (max-width: 375px) {
  .section-omoi .omoi-inner,
  .section-service .container,
  .section-blog .container,
  .section-contact .container,
  .section-btob .btob-inner,
  .activity-results .container {
    padding-inline: 1.25rem;
  }
}

/* ============================================================
   スマホ改行・テキスト調整パッチ
============================================================ */

/* --- service-card h4：スマホで途中改行が発生するため文字サイズ調整 --- */
@media (max-width: 768px) {
  .section-service .service-card h4 {
    font-size: 0.88rem;    /* 0.98rem → 0.88rem */
    padding-inline: 1.2rem;
    overflow-wrap: break-word;
    word-break: auto-phrase;
  }
}

/* --- contact-detail-lead-text：スマホで不自然な改行を防ぐ --- */
@media (max-width: 768px) {
  .contact-detail-lead-text {
    font-size: 0.85rem;
    text-align: center;
    overflow-wrap: break-word;
    word-break: auto-phrase;
  }
  /* ボックス幅をスマホ全幅に広げて折り返しを自然にする */
  .contact-detail-lead {
    max-width: 100%;
    padding: 1.5rem 1.25rem;
  }
}

/* --- section-title.centered（まずは、気軽にご相談ください 等）--- */
@media (max-width: 560px) {
  .section-title.centered {
    font-size: clamp(1.3rem, 6.5vw, 1.7rem);
  }
}

/* --- noteフォールバック表示に余白を付与 --- */
.blog-card-fallback {
  padding: 2rem 2rem;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-primary-soft);
  border-radius: var(--r-md);
  color: var(--c-ink-mute);
  font-size: 0.92rem;
  line-height: 2;
  text-align: center;
  /* grid の2列分を占有して中央に配置 */
  grid-column: 1 / -1;
}
.blog-card-fallback p {
  margin-bottom: 0.8rem;
}
.blog-card-fallback a {
  color: var(--c-primary-deep);
  text-decoration: underline;
  font-weight: 700;
}


/* ============================================================
   活動実績セクション 上書きスタイル（index.php）
   旧：カード3枚グリッド
   新：円形画像＋タイトルのみ、PC4列横並び・スマホ縦並び
============================================================ */

/* ---- セクション背景・余白のリセット＆再定義 ---- */
.activity-results {
  padding: 6rem 2rem 5.5rem;
  background:
    radial-gradient(circle at 10% 8%, rgba(200, 150, 21, 0.05), transparent 34%),
    linear-gradient(180deg, var(--c-bg-soft), var(--c-bg));
  overflow: hidden;
}

/* ---- 見出しエリア ---- */
.activity-results-head {
  margin-bottom: 3.5rem;
  text-align: center;
}

/* 既存の .activity-results-title をリセット */
.activity-results-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  color: var(--c-ink);
}

/* ::before の "Works" テキストは残す */
.activity-results-title::before {
  content: 'Works';
  display: block;
  font-family: var(--f-hand);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}

.activity-results-lead {
  margin-top: 0.5rem;
}

/* ---- タイムラインリスト：PC 4列横並び ---- */
.activity-timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;                     /* 各アイテム間のギャップはなし（横線で繋ぐ） */
  align-items: start;
  position: relative;
  margin-bottom: 3.5rem;
}

/* PC：アイテム間を繋ぐ横線（::after で描画） */
.activity-tl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 0.5rem;
}

/* 横線：最後のアイテム以外に右方向へ伸ばす */
.activity-tl-item:not(:last-child)::after {
  content: '';
  position: absolute;
  /* 円の中心（円直径の半分 = 80px）に合わせる */
  top: 80px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: linear-gradient(to right, var(--c-primary-soft), var(--c-line));
  z-index: 0;
}

/* ---- 円形画像のラッパー ---- */
.activity-tl-node {
  position: relative;
  z-index: 1;               /* 横線より前面 */
  margin-bottom: 1.2rem;
}

/* ---- 円形 figure ---- */
.activity-tl-figure {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--c-paper);
  box-shadow:
    0 0 0 3px var(--c-primary-soft),
    0 8px 24px rgba(212, 160, 23, 0.18);
  background: var(--c-bg-warm);
  transition: box-shadow 0.35s, transform 0.35s;
  margin: 0 auto;
}

.activity-tl-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.activity-tl-item:hover .activity-tl-figure {
  box-shadow:
    0 0 0 3px var(--c-primary),
    0 12px 32px rgba(212, 160, 23, 0.28);
  transform: translateY(-4px);
}

.activity-tl-item:hover .activity-tl-figure img {
  transform: scale(1.06);
}

/* ---- タイトル ---- */
.activity-tl-title {
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-ink);
  letter-spacing: 0.03em;
}

/* ---- works.html へのリンクボタン ---- */
.activity-results-more {
  display: flex;
  justify-content: center;
}

.activity-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--c-ink);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: opacity 0.3s;
  position: relative;
}

/* テキスト下の下線アニメーション */
.activity-more-link-text {
  position: relative;
  padding-bottom: 0.3rem;
}

.activity-more-link-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--c-primary), var(--c-primary-soft));
  border-radius: 2px;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.35s ease;
}

/* アイコン：丸で囲んだ矢印 */
.activity-more-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-size: 0.82rem;
  margin-left: 0.9rem;
  transition: background 0.3s, transform 0.3s;
  flex-shrink: 0;
}

.activity-more-link:hover {
  opacity: 1;
}

.activity-more-link:hover .activity-more-link-text::after {
  transform: scaleX(0.4);
  transform-origin: left;
}

.activity-more-link:hover .activity-more-link-icon {
  background: var(--c-primary-deep);
  transform: translateX(4px);
}

/* ============================================================
   活動実績レスポンシブ（スマホ：縦並び）
============================================================ */
@media (max-width: 768px) {

  /* タイムラインを縦並びに */
  .activity-timeline {
    grid-template-columns: 1fr;
    gap: 2.8rem;
    max-width: 320px;
    margin-inline: auto;
    margin-bottom: 3rem;
  }

  /* 縦線：::after を左中央寄りに変更 */
  .activity-tl-item:not(:last-child)::after {
    top: auto;
    bottom: -1.6rem;
    left: 50%;
    right: auto;
    width: 2px;
    height: 1.6rem;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, var(--c-primary-soft), var(--c-line));
  }

  /* 円をやや小さく */
  .activity-tl-figure {
    width: 130px;
    height: 130px;
  }

  /* 横線の top を合わせる（円の半径分） */
  .activity-tl-item:not(:last-child)::after {
    top: auto;
  }
}

@media (max-width: 560px) {
  .activity-results {
    padding: 4.5rem 1.25rem 4.5rem;
  }
}
