/* ==========================================================
   SOLAEMY 共通スタイル
   デザイン見本：lp_top / lp_plan / lp_contact（2026-07 そえちゃん支給）
   世界観：クリーム地 × セリフ体 × オレンジCTA × セージグリーンの帯
========================================================== */
:root {
  --bg:          #F6F2EA;   /* ベース背景（クリーム） */
  --bg-warm:     #F2ECDF;   /* ひとつ濃い背景 */
  --card:        #FCFAF5;   /* カード背景 */
  --text:        #5C5243;   /* 本文（茶グレー） */
  --heading:     #6E5C45;   /* 見出しブラウン */
  --brown:       #9C7A4F;   /* ロゴ・アクセント茶 */
  --orange:      #E58A4E;   /* CTAオレンジ */
  --orange-deep: #D97B3E;
  --orange-pale: #FBEFE3;
  --sage:        #A5B499;   /* セージグリーン帯 */
  --sage-deep:   #71805F;
  --line:        #E5DCCB;   /* 罫線 */

  --font-en:     'Cormorant Garamond', serif;
  --font-script: 'Great Vibes', cursive;
  --font-serif:  'Noto Serif JP', '游明朝', 'Yu Mincho', serif;
  --font-sans:   'Noto Sans JP', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 2.1;
  letter-spacing: 0.06em;
  font-size: 15px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.inner { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 242, 234, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(229, 220, 203, 0.6);
}
.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: auto; }
.brand-name {
  font-family: var(--font-en);
  font-size: 20px; letter-spacing: 0.34em; color: var(--brown);
}
.brand-tag {
  display: block; font-family: var(--font-en);
  font-size: 9.5px; letter-spacing: 0.14em; color: var(--brown);
  opacity: 0.75; margin-top: -2px;
}
.gnav { display: flex; align-items: center; gap: 30px; }
.gnav a {
  font-size: 13px; letter-spacing: 0.12em; color: var(--heading);
  transition: opacity .25s;
}
.gnav a:hover { opacity: 0.6; }
.gnav .nav-cta {
  background: var(--orange); color: #fff;
  padding: 10px 22px; border-radius: 999px;
  font-size: 12.5px; box-shadow: 0 4px 14px rgba(229, 138, 78, 0.35);
}
.gnav .nav-cta:hover { opacity: 0.9; }
.nav-toggle { display: none; }

/* ---------- ボタン ---------- */
.cta-btn {
  display: inline-block;
  background: var(--orange); color: #fff;
  padding: 16px 46px; border-radius: 999px;
  font-size: 14.5px; letter-spacing: 0.14em;
  box-shadow: 0 6px 20px rgba(229, 138, 78, 0.35);
  transition: transform .25s, opacity .25s;
}
.cta-btn:hover { transform: translateY(-2px); opacity: 0.92; }
.cta-btn .arrow { margin-left: 10px; font-family: var(--font-en); }
.cta-btn.ghost {
  background: transparent; color: var(--orange-deep);
  border: 1px solid var(--orange);
  box-shadow: none;
}
.cta-btn.on-green {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.85); box-shadow: none;
}
.cta-btn.on-green:hover { background: rgba(255,255,255,0.12); }

/* ---------- 見出し ---------- */
.sec-label {
  text-align: center;
  font-family: var(--font-en);
  font-size: 13px; letter-spacing: 0.42em;
  color: var(--brown); text-transform: uppercase;
}
.sec-heading {
  text-align: center;
  font-size: clamp(21px, 3vw, 27px);
  font-weight: 500; color: var(--heading);
  letter-spacing: 0.14em; line-height: 1.9;
  margin-top: 8px;
}
.heading-bar {
  width: 44px; height: 1.5px; background: var(--orange);
  margin: 26px auto 0;
}

/* ---------- ヒーロー ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero.jpg') center 30% / cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(246, 242, 234, 0.94) 0%,
    rgba(246, 242, 234, 0.80) 30%,
    rgba(246, 242, 234, 0.10) 62%,
    rgba(246, 242, 234, 0.02) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1160px; margin: 0 auto;
  padding: clamp(70px, 11vw, 150px) 28px clamp(120px, 15vw, 190px);
}
.hero-catch {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 500; color: var(--heading);
  letter-spacing: 0.18em; line-height: 2;
}
.hero-catch-bar { width: 58px; height: 2px; background: var(--orange); margin: 34px 0; }
.hero-sub {
  max-width: 430px; font-size: 14.5px; line-height: 2.3;
}
.hero-cta { margin-top: 44px; }
.hero-wave {
  position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 2;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: clamp(40px, 7vw, 90px); display: block; }

/* ---------- 植物の線画（飾り） ---------- */
.deco-leaf {
  position: absolute; pointer-events: none;
  color: #B4A88C; opacity: 0.5;
}

/* ---------- セクション共通 ---------- */
section { position: relative; }
.sec-pad { padding: clamp(70px, 9vw, 110px) 0; }
/* 中盤（STORY〜VOICE）は間延び防止で上下をひと回りタイトに */
#story, #service, #why, #profile, #voice {
  padding: clamp(54px, 7vw, 84px) 0;
}

/* ---------- 理念（Find your better.） ---------- */
.philosophy-flex {
  display: flex; align-items: center; gap: clamp(30px, 5vw, 70px);
}
.philosophy-script {
  flex: 0 0 auto;
  font-family: var(--font-script);
  font-size: clamp(30px, 4vw, 42px);
  color: #B9AC8D; line-height: 1.4;
  padding-right: clamp(24px, 4vw, 56px);
  border-right: 1px solid var(--line);
}
.philosophy-body h2 {
  font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 500; color: var(--heading);
  letter-spacing: 0.14em; margin-bottom: 26px;
}
.philosophy-body p { font-size: 14.5px; }

/* ---------- サービス3カード ---------- */
.service-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; margin-top: clamp(34px, 4.5vw, 46px);
}
.service-card {
  background: var(--card); border-radius: 12px;
  padding: 40px 30px 40px;
  box-shadow: 0 2px 18px rgba(140, 120, 90, 0.07);
}
/* サービス写真（ヒーローと同じ落ち着いたトーンの写真） */
.service-photo {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 26px;
}
.service-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.service-card:hover .service-photo img { transform: scale(1.04); }
.service-num {
  font-family: var(--font-en); font-style: italic;
  font-size: 17px; color: var(--orange); letter-spacing: 0.1em;
}
.service-num-en {
  font-size: 12px; letter-spacing: 0.24em;
  color: var(--brown); opacity: 0.75;
  margin-left: 6px; text-transform: uppercase;
}
.service-card h3 {
  font-size: 17.5px; font-weight: 500; color: var(--heading);
  letter-spacing: 0.12em; margin: 4px 0 0;
}
.service-card .card-bar { width: 30px; height: 1.5px; background: var(--orange); margin: 18px 0 20px; }
.service-card p { font-size: 13.5px; line-height: 2.2; }

/* ---------- ストーリー：経験のミニタイムライン ----------
   キメの一文＝章タイトル。テキストと写真を交互に並べ、
   章番号を点線の軌跡でつなぐ（全文を保ったまま視覚的に軽くする） */
.story-chapters {
  max-width: 1000px;
  margin: clamp(34px, 4.5vw, 46px) auto 0;
}
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  column-gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}
.chapter--rev .ch-text { order: 2; }
.chapter--rev .ch-photos { order: 1; }

/* 章タイトル：✦マーカーの円＋キメの一文 */
.ch-title {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  font-size: clamp(16.5px, 2vw, 19px);
  font-weight: 500; color: var(--heading);
  letter-spacing: 0.12em; line-height: 1.9;
  margin: 0 0 14px;
}
.ch-num {
  color: var(--orange);
  font-size: 16px;
  line-height: 1;
  flex: 0 0 auto;
}
.nowrap { white-space: nowrap; }
.ch-text > p { font-size: 14px; line-height: 2.15; }
.ch-text > p + p { margin-top: 1.1em; }

.ch-photos {
  display: flex; flex-wrap: wrap;
  gap: 14px;
  justify-content: center; align-items: flex-start;
}
.ch-photos .snap { width: clamp(150px, 16vw, 200px); }
.ch-photos .snap:nth-child(2) { margin-top: 30px; }
.ch-photos .snap:nth-child(3) { margin-top: -6px; }

/* 章と章をつなぐ旅の軌跡（点線） */
.ch-connector {
  width: 0;
  height: clamp(36px, 5vw, 56px);
  margin: 10px auto;
  border-left: 1.5px dashed rgba(166, 144, 108, 0.5);
}

/* ---------- ポラロイド風スナップ（本人撮影） ---------- */
.snap {
  background: #fff;
  padding: 8px 8px 10px;
  border-radius: 3px;
  box-shadow: 0 4px 20px rgba(140, 120, 90, 0.16);
  transform: rotate(-1.6deg);
  transition: transform .35s ease, box-shadow .35s ease;
}
.snap:nth-child(even) { transform: rotate(1.4deg); }
.snap:hover {
  transform: rotate(0) scale(1.03);
  box-shadow: 0 10px 30px rgba(140, 120, 90, 0.24);
  z-index: 1;
}
.snap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.snap figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--heading);
  line-height: 1.6;
}
.snaps-note {
  text-align: center;
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--brown);
}

/* スマホ：章は縦積み（テキスト→写真の順）、写真は2枚並び */
@media (max-width: 760px) {
  .chapter { display: block; }
  .ch-photos { margin-top: 22px; }
  .ch-photos .snap {
    width: 42%;
    max-width: 190px;
  }
  .ch-connector { height: 40px; margin: 16px auto; }
}

/* 3つの理由：カードなし・旅の軌跡（曲線の点線）でつなぐ軽い3カラム */
.why-band { margin: 0; }
.value-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; margin-top: clamp(40px, 5vw, 52px);
  position: relative;
}
.journey-path {
  position: absolute;
  top: -16px; left: 0;
  width: 100%; height: 104px;
  color: rgba(166, 144, 108, 0.55);
  pointer-events: none;
}
.value-card {
  background: none; border-radius: 0; padding: 0 6px;
  box-shadow: none;
  position: relative;
}
.value-icon {
  width: 44px; height: 44px;
  color: #A6906C;
  margin-bottom: 16px;
  display: block;
  position: relative; z-index: 1;
  background: var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 0 10px var(--bg); /* 軌跡をアイコンの周りだけ隠す */
}
.value-card .num {
  font-family: var(--font-en); font-style: italic;
  color: var(--orange); font-size: 16px;
}
.value-card h3 {
  font-size: 16px; font-weight: 500; color: var(--heading);
  margin: 2px 0 14px; letter-spacing: 0.1em;
}
.value-card p { font-size: 13px; line-height: 2.1; }

.profile-flex {
  display: flex; align-items: flex-start; gap: clamp(30px, 4vw, 56px);
  margin-top: clamp(32px, 4vw, 42px);
}
/* 左列：写真＋「伴走人」の説明枠を縦に */
.profile-side {
  flex: 0 0 260px;
  display: flex; flex-direction: column; gap: 22px;
  margin-top: 6px; /* 肩書き・名前ブロックと視線の高さを揃える */
}
.profile-img img {
  border-radius: 50%; aspect-ratio: 1 / 1; object-fit: cover;
  box-shadow: 0 8px 30px rgba(140, 120, 90, 0.18);
}
.profile-text { flex: 1; }
.profile-role {
  font-size: 12.5px; letter-spacing: 0.22em; color: var(--brown);
}
.profile-name {
  font-size: 24px; font-weight: 500; color: var(--heading);
  letter-spacing: 0.16em; margin: 6px 0 4px;
}
.profile-name-en {
  font-family: var(--font-en); font-size: 13px;
  letter-spacing: 0.26em; color: var(--brown); opacity: 0.8;
}
.profile-text .profile-body { margin-top: 24px; font-size: 14px; }
.profile-text .profile-body p + p { margin-top: 1.2em; }
.profile-note {
  margin-top: 22px; padding: 18px 22px;
  background: var(--orange-pale); border-radius: 4px;
  font-size: 13px; line-height: 2.1;
}

/* ---------- EMY（インタラクティブな相棒紹介・さわると表情が変わる） ---------- */
.emy-intro {
  margin-top: clamp(40px, 5vw, 56px);
  background: rgba(252, 250, 245, 0.75);
  border: 1px solid rgba(229, 220, 203, 0.7);
  border-radius: 16px;
  padding: clamp(26px, 3.5vw, 38px) clamp(20px, 4vw, 48px) clamp(30px, 4vw, 42px);
  text-align: center;
}
.emy-title {
  font-size: 16px; font-weight: 500;
  color: var(--heading); letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.emy-stage {
  position: relative;
  width: clamp(150px, 36vw, 184px);
  height: clamp(150px, 36vw, 184px);
  margin: 12px auto 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.emy-glow {
  position: absolute; inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 44%,
    rgba(246,241,230,0.95) 0%,
    rgba(234,219,194,0.60) 44%,
    rgba(165,180,153,0.20) 72%,
    rgba(165,180,153,0) 100%);
  z-index: 0;
  transition: transform .5s ease;
}
.emy-char {
  position: relative; z-index: 1;
  width: 90%; height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(140,120,90,0.20));
  animation: emy-bob 4.6s ease-in-out infinite;
  user-select: none; -webkit-user-drag: none;
}
@keyframes emy-bob {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50%      { transform: translateY(-9px) rotate(0.6deg); }
}
.emy-char.pop { animation: emy-pop .5s ease; }
@keyframes emy-pop {
  0%   { transform: scale(0.86) rotate(-4deg); opacity: .4; }
  55%  { transform: scale(1.07) rotate(2deg);  opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}
.emy-stage:hover .emy-glow,
.emy-stage:focus-visible .emy-glow { transform: scale(1.06); }
.emy-stage:focus-visible { box-shadow: 0 0 0 3px rgba(229,138,78,0.28); border-radius: 50%; }

.emy-hint {
  position: absolute; bottom: -4px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px; letter-spacing: 0.06em; color: var(--brown);
  background: rgba(252,250,245,0.92);
  border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 15px;
  z-index: 2; pointer-events: none;
  box-shadow: 0 3px 10px rgba(140,120,90,0.10);
  transition: opacity .5s ease;
}
.emy-hint-star { color: var(--orange); margin-left: 5px; }

.emy-spark {
  position: absolute; z-index: 3; pointer-events: none;
  color: var(--orange);
  animation: emy-spark-fly .72s ease-out forwards;
}
@keyframes emy-spark-fly {
  0%   { opacity: 0; transform: translate(0,0) scale(.4); }
  25%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.1); }
}

.emy-copy {
  max-width: 440px; margin: 32px auto 0;
  font-size: 14px;
}
.emy-copy p + p { margin-top: 1.1em; }
.emy-copy .emy-philosophy {
  font-size: 17.5px; color: var(--heading);
  letter-spacing: 0.1em; margin: 0.4em 0 0;
}
.emy-copy .emy-philosophy-en {
  font-family: var(--font-en); font-style: italic;
  font-size: 14px; letter-spacing: 0.22em;
  color: var(--brown); margin-top: 6px;
}

/* PCではEMYを左・テキストを右の横並びに */
@media (min-width: 761px) {
  .emy-intro {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: clamp(36px, 4.5vw, 60px);
    align-items: center;
    max-width: 800px;
    margin-left: auto; margin-right: auto;
  }
  .emy-intro > .sec-label {
    grid-column: 1 / -1;
    margin-bottom: 22px;
  }
  .emy-stage { margin: 0; }
  .emy-copy {
    margin: 0; max-width: 500px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .emy-char, .emy-char.pop { animation: none; }
  .emy-spark { display: none; }
}

/* ---------- お客様の声 ---------- */
.voice-cards {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 26px; margin-top: clamp(34px, 4.5vw, 46px);
  max-width: 860px; margin-left: auto; margin-right: auto;
}
.voice-card {
  background: var(--card); border-radius: 4px; padding: 34px 30px;
  box-shadow: 0 2px 18px rgba(140, 120, 90, 0.07);
  font-size: 14px;
}
.voice-card .voice-tag {
  display: block; margin-top: 16px;
  font-size: 11px; color: #A2957F;
}

/* ---------- グリーンの帯CTA ---------- */
.green-band {
  background: var(--sage); color: #fff;
  padding: clamp(56px, 8vw, 84px) 0;
  position: relative; overflow: hidden;
}
.green-band .band-inner {
  max-width: 900px; margin: 0 auto; padding: 0 24px;
  text-align: center; position: relative; z-index: 1;
}
.band-script {
  font-family: var(--font-script);
  font-size: clamp(26px, 3.4vw, 36px);
  color: rgba(255, 255, 255, 0.85); line-height: 1.4;
  margin-bottom: 18px;
}
.band-copy { font-size: clamp(16px, 2.2vw, 20px); letter-spacing: 0.16em; line-height: 2.1; }
.band-sub { font-size: 13.5px; margin-top: 10px; opacity: 0.92; }
.green-band .cta-btn { margin-top: 34px; }
.green-band .deco-leaf { color: rgba(255, 255, 255, 0.55); opacity: 1; }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--bg); padding: clamp(50px, 7vw, 70px) 0 34px;
  border-top: 1px solid rgba(229, 220, 203, 0.7);
}
.footer-grid {
  max-width: 1040px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 36px; align-items: start;
}
.footer-brand img { width: 54px; }
.footer-brand .brand-name { font-size: 18px; }
.footer-brand p { font-size: 12px; line-height: 2.1; margin-top: 14px; }
.footer-col h4 {
  font-family: var(--font-en); font-weight: 500;
  font-size: 12.5px; letter-spacing: 0.3em;
  color: var(--brown); margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 12.5px; line-height: 2.5;
  color: var(--text); transition: opacity .25s;
}
.footer-col a:hover { opacity: 0.6; }
.footer-col .soon { opacity: 0.45; pointer-events: none; }
.copyright {
  text-align: center; margin-top: 44px;
  font-family: var(--font-en);
  font-size: 12px; letter-spacing: 0.14em; color: #A2957F;
}

/* ---------- 下層ページ共通（プラン・お問合せ） ---------- */
.page-hero { text-align: center; padding: clamp(56px, 8vw, 84px) 24px 0; position: relative; }
.page-hero .sec-label { font-size: 14px; }
.page-title {
  font-size: clamp(28px, 4vw, 36px); font-weight: 500;
  color: var(--heading); letter-spacing: 0.3em; margin-top: 10px;
}
.page-lead {
  max-width: 640px; margin: 34px auto 0;
  font-size: 14px; text-align: center;
}

/* ---------- プランページ ---------- */
.entry-cards {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 26px; max-width: 860px; margin: clamp(44px, 6vw, 60px) auto 0;
}
.entry-card {
  background: var(--card); border-radius: 6px; padding: 38px 34px;
  box-shadow: 0 2px 18px rgba(140, 120, 90, 0.07);
  text-align: center; position: relative;
}
.entry-card.featured { border: 1.5px solid var(--orange); }
.entry-badge {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff;
  font-size: 11.5px; letter-spacing: 0.14em;
  padding: 6px 20px; border-radius: 999px; white-space: nowrap;
}
.entry-card h3 { font-size: 17px; font-weight: 500; color: var(--heading); letter-spacing: 0.1em; }
.entry-card .plan-price { margin: 14px 0 6px; }
.entry-card .plan-desc { font-size: 13px; line-height: 2.1; margin-top: 10px; }

.plan-price { color: var(--orange-deep); font-family: var(--font-en); }
.plan-price .yen { font-size: 20px; margin-right: 2px; }
.plan-price .amount { font-size: 34px; letter-spacing: 0.04em; }
.plan-price .unit {
  font-family: var(--font-serif); font-size: 12.5px;
  color: var(--text); margin-left: 8px;
}

.plan-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; margin-top: clamp(48px, 6vw, 68px);
  align-items: stretch;
}
.plan-card {
  background: var(--card); border-radius: 6px;
  padding: 46px 30px 40px; text-align: center;
  box-shadow: 0 2px 18px rgba(140, 120, 90, 0.07);
  position: relative; display: flex; flex-direction: column;
}
.plan-card.featured {
  border: 1.5px solid var(--orange);
  box-shadow: 0 10px 34px rgba(190, 140, 90, 0.16);
}
.plan-icon {
  width: 72px; height: 72px; border-radius: 50%;
  border: 1px solid var(--line); background: #F6F1E6;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; color: var(--brown);
}
.plan-phase {
  font-size: 11px; letter-spacing: 0.2em; color: var(--brown);
}
.plan-card h3 {
  font-size: 18.5px; font-weight: 500; color: var(--heading);
  letter-spacing: 0.1em; margin-top: 4px;
}
.plan-card .plan-price { margin: 16px 0 4px; }
.plan-card .price-bar { width: 34px; height: 1.5px; background: var(--orange); margin: 20px auto; }
.plan-card .plan-target { font-size: 13px; line-height: 2.1; min-height: 3.6em; }
.plan-features {
  text-align: left; margin: 22px auto 0; max-width: 250px;
  flex: 1;
}
.plan-features li {
  font-size: 13px; line-height: 1.9; padding: 7px 0 7px 26px;
  position: relative;
}
.plan-features li::before {
  content: '✓';
  position: absolute; left: 0; top: 7px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--sage); color: #fff;
  font-size: 10.5px; line-height: 17px; text-align: center;
}
.plan-card .cta-btn { margin-top: 30px; padding: 13px 0; width: 100%; font-size: 13px; }

.pack-band {
  max-width: 860px; margin: 44px auto 0;
  background: var(--orange-pale); border: 1px dashed var(--orange);
  border-radius: 6px; padding: 28px 34px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.pack-band .pack-name { font-size: 15.5px; color: var(--heading); letter-spacing: 0.1em; }
.pack-band .pack-desc { font-size: 12.5px; margin-top: 4px; }
.pack-band .plan-price .amount { font-size: 28px; }
.pack-band .pack-otoku {
  background: var(--orange); color: #fff; border-radius: 999px;
  font-size: 11.5px; padding: 4px 14px; margin-left: 12px;
  letter-spacing: 0.1em; vertical-align: middle;
  font-family: var(--font-serif);
}

.assurance-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; max-width: 1000px; margin: clamp(50px, 7vw, 70px) auto 0;
  background: var(--card); border-radius: 6px;
  box-shadow: 0 2px 18px rgba(140, 120, 90, 0.07);
  padding: 36px 10px;
}
.assurance-item {
  padding: 6px 26px; display: flex; gap: 16px; align-items: flex-start;
}
.assurance-item + .assurance-item { border-left: 1px solid var(--line); }
.assurance-icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%;
  background: #F6F1E6; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--brown);
}
.assurance-item h4 { font-size: 13.5px; font-weight: 500; color: var(--heading); letter-spacing: 0.08em; }
.assurance-item p { font-size: 12px; line-height: 1.9; margin-top: 6px; }

.plan-note {
  max-width: 860px; margin: 30px auto 0;
  font-size: 12px; color: #8D8170; line-height: 2;
  text-align: center;
}

/* ---------- お問合せページ ---------- */
.contact-card {
  max-width: 760px; margin: clamp(44px, 6vw, 60px) auto 0;
  background: var(--card); border-radius: 8px;
  box-shadow: 0 2px 22px rgba(140, 120, 90, 0.08);
  padding: clamp(36px, 6vw, 60px);
}
.form-group + .form-group { margin-top: 30px; }
.form-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--heading); letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.req {
  background: var(--orange-pale); color: var(--orange-deep);
  font-size: 10.5px; letter-spacing: 0.1em;
  border-radius: 3px; padding: 2px 8px;
}
.form-control {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 4px;
  background: #fff; color: var(--text);
  font-family: var(--font-serif); font-size: 14px;
  letter-spacing: 0.04em;
}
.form-control:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(229, 138, 78, 0.12);
}
.form-control::placeholder { color: #B9AE9B; }
textarea.form-control { min-height: 170px; resize: vertical; line-height: 1.9; }
select.form-control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brown) 50%), linear-gradient(135deg, var(--brown) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.privacy-note {
  font-size: 12px; text-align: center; line-height: 2.1;
  margin-top: 30px; color: #8D8170;
}
.privacy-note a { color: var(--orange-deep); text-decoration: underline; }
.form-submit { text-align: center; margin-top: 30px; }
.form-submit .cta-btn { border: none; cursor: pointer; font-family: var(--font-serif); }

/* ---------- フェードイン ----------
   JSが動く環境（html.js）でのみ初期非表示にする。
   JSが読み込めない・動かない環境では最初から全部表示＝真っ白事故を防ぐ */
html.js .fade-in { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
html.js .fade-in.is-visible { opacity: 1; transform: none; }

/* ---------- FAQページ ---------- */
.faq-list {
  max-width: 760px;
  margin: clamp(40px, 6vw, 56px) auto 0;
}
.faq-item {
  background: var(--card); border-radius: 8px;
  box-shadow: 0 2px 18px rgba(140, 120, 90, 0.07);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  display: flex; align-items: baseline; gap: 14px;
  font-size: 14.5px; color: var(--heading); letter-spacing: 0.06em;
  list-style: none;
  transition: background .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: #F6F1E6; }
.faq-item summary .q-mark {
  font-family: var(--font-en); font-style: italic;
  color: var(--orange); font-size: 17px; flex: 0 0 auto;
}
.faq-item summary .q-toggle {
  margin-left: auto; color: var(--brown);
  font-family: var(--font-en); font-size: 16px;
  transition: transform .3s; flex: 0 0 auto;
}
.faq-item[open] summary .q-toggle { transform: rotate(45deg); }
.faq-item .faq-a {
  padding: 4px 24px 22px 55px;
  font-size: 13.5px; line-height: 2.1;
}

/* ---------- 法務ページ（特商法・プライバシーポリシー） ---------- */
.legal-wrap {
  max-width: 800px;
  margin: clamp(40px, 6vw, 56px) auto 0;
  padding: 0 24px;
}
.legal-table {
  width: 100%; border-collapse: collapse;
  background: var(--card);
  box-shadow: 0 2px 18px rgba(140, 120, 90, 0.07);
}
.legal-table th, .legal-table td {
  border: 1px solid var(--line);
  padding: 16px 20px;
  font-size: 13px; line-height: 2;
  text-align: left; vertical-align: top;
}
.legal-table th {
  width: 32%;
  background: #F6F1E6;
  color: var(--heading); font-weight: 500;
  letter-spacing: 0.06em;
}
.legal-body { font-size: 13.5px; }
.legal-body h2 {
  font-size: 15.5px; font-weight: 500; color: var(--heading);
  letter-spacing: 0.1em;
  margin: 36px 0 12px;
  padding-left: 14px;
  border-left: 2px solid var(--orange);
}
.legal-body p, .legal-body li { line-height: 2.1; }
.legal-body ul { padding-left: 1.4em; }
.legal-body ul li { list-style: disc; }
.legal-date { margin-top: 36px; font-size: 12px; color: #8D8170; text-align: right; }

/* 未確定箇所のマーカー（公開前に必ず置き換える） */
.todo-mark {
  background: var(--orange-pale);
  color: var(--orange-deep);
  border-radius: 3px;
  padding: 1px 8px;
  font-size: 12px;
}

@media (max-width: 640px) {
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table tr + tr th { border-top: none; }
  .legal-table td { border-top: none; }
}

/* ---------- 日本語の改行・余白の調整 ----------
   文節の途中（「コ/ーチング」「正/論」等）で折り返さない。
   word-break: auto-phrase はChrome系のみ対応・他ブラウザは従来どおり */
body { word-break: auto-phrase; }
/* 見出しは行長のバランスを取り、本文は不自然な一文字残り等を防ぐ */
.hero-catch, .sec-heading, .page-title, .band-copy,
.philosophy-body h2, .service-card h3, .value-card h3,
.plan-card h3, .entry-card h3, .emy-philosophy {
  text-wrap: balance;
}
p { text-wrap: pretty; }

/* スマホではPC向けの改行（br）を解除して自然に流す */
@media (max-width: 760px) {
  .page-lead br,
  .privacy-note br,
  .band-sub br { display: none; }
}

/* アンカーリンクが固定ヘッダーに隠れないように */
[id] { scroll-margin-top: 96px; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .value-cards, .plan-cards { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  /* サービス3枚はスマホでは横スワイプのカルーセルに（次のカードが少し覗く） */
  .service-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 4px 24px 14px;
    margin-left: -24px; margin-right: -24px;
    scrollbar-width: none;
  }
  .service-cards::-webkit-scrollbar { display: none; }
  .service-card {
    flex: 0 0 78vw;
    max-width: 340px;
    scroll-snap-align: center;
  }
  .scroll-dots {
    display: flex; justify-content: center; gap: 8px;
    margin-top: 4px;
  }
  .scroll-dots span {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--line);
    transition: background .25s, transform .25s;
  }
  .scroll-dots span.active {
    background: var(--orange);
    transform: scale(1.25);
  }
  /* スマホ：軌跡は上から下へ続く縦の点線に。本文は線の右側へ */
  .value-cards { gap: 36px; }
  .journey-path { display: none; }
  .value-cards::before {
    content: '';
    position: absolute;
    top: 26px; bottom: 26px; left: 21px;
    border-left: 1.5px dashed rgba(166, 144, 108, 0.45);
  }
  .value-card { padding: 0 0 0 62px; }
  .value-icon { position: absolute; left: 0; top: 0; margin: 0; }
  .plan-cards { gap: 40px; }
  .assurance-row { grid-template-columns: 1fr; gap: 18px; padding: 28px 22px; }
  .assurance-item + .assurance-item { border-left: none; border-top: 1px solid var(--line); padding-top: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* ---------- 予約ページ（プラン選択） ---------- */
.plan-select {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 26px;
}
.plan-option {
  position: relative; display: block;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 18px 18px 16px; cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.plan-option:hover { border-color: var(--orange-pale); }
.plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.plan-option .opt-tag {
  display: inline-block; font-size: 10px; color: #fff;
  background: var(--sage); border-radius: 999px;
  padding: 1px 10px; margin-bottom: 8px; letter-spacing: 0.08em;
}
.plan-option .opt-name {
  display: block; font-size: 13.5px; color: var(--heading);
  letter-spacing: 0.06em; line-height: 1.7;
}
.plan-option .opt-price {
  display: block; margin-top: 6px;
  font-family: var(--font-en); font-size: 15px; color: var(--orange-deep);
}
.plan-option .opt-price .opt-unit {
  font-family: var(--font-serif); font-size: 11px; color: var(--text);
}
.plan-option:has(input:checked) {
  border-color: var(--orange); background: var(--orange-pale);
  box-shadow: 0 0 0 2px rgba(229, 138, 78, 0.22);
}
.plan-select-link {
  margin-top: 16px; font-size: 12.5px; text-align: right;
}
.plan-select-link a { color: var(--orange-deep); text-decoration: underline; }
.reserve-note {
  margin-top: 26px; padding: 16px 20px;
  background: var(--orange-pale); border-radius: 4px;
  font-size: 12.5px; line-height: 2;
}

@media (max-width: 760px) {
  .plan-select { grid-template-columns: 1fr 1fr; }
  body { font-size: 14px; }
  .gnav { display: none; }
  .nav-toggle {
    display: block; background: none; border: none;
    font-size: 24px; color: var(--brown); cursor: pointer; line-height: 1;
  }
  .gnav.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); padding: 22px 28px 28px; gap: 18px;
    border-bottom: 1px solid var(--line);
  }
  .hero-bg { background-position: 72% 30%; }
  .hero-bg::after {
    background: linear-gradient(180deg,
      rgba(246, 242, 234, 0.94) 0%,
      rgba(246, 242, 234, 0.86) 55%,
      rgba(246, 242, 234, 0.55) 100%);
  }
  .philosophy-flex { flex-direction: column; align-items: flex-start; }
  .philosophy-script { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 18px; }
  /* スマホ：写真→本文→伴走人枠（セクション最下・EMYの上）の順に */
  .profile-flex { flex-direction: column; }
  .profile-side { display: contents; }
  .profile-img { max-width: 240px; margin: 0 auto; order: 1; }
  .profile-text { order: 2; margin-top: 26px; }
  .profile-note { order: 3; margin-top: 26px; }
  .voice-cards, .entry-cards { grid-template-columns: 1fr; }
  .pack-band { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
