/* 心浄術ヒーリング LP。styles.css のトークン準拠。 */

/* ── LP専用ヘッダー（追従・セクションアンカー） ── */
.sj-head {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0.7rem var(--pad-x);
  background: oklch(0.966 0.009 84 / 0.9);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--line);
  font-family: var(--jp);
}
.sj-head__brand { display: flex; flex-direction: column; line-height: 1.25; text-decoration: none; flex-shrink: 0; }
.sj-head__mark { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.1em; color: var(--sumi-deep); }
.sj-head__tag { font-size: 0.6rem; letter-spacing: 0.16em; color: var(--ink-3); }
.sj-head__nav { display: flex; gap: clamp(0.7rem, 1.6vw, 1.6rem); align-items: center; }
.sj-head__nav a { font-size: 0.82rem; letter-spacing: 0.03em; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color 0.25s var(--ease); }
.sj-head__nav a:hover { color: var(--clay); }
.sj-head__cta {
  flex-shrink: 0; padding: 0.62rem 1.4rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em;
  color: #fff; background: var(--clay); border-radius: 999px; text-decoration: none; white-space: nowrap;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}
.sj-head__cta:hover { background: oklch(0.56 0.055 58); transform: translateY(-1px); }
/* 追従ナビ分、アンカー位置を下げる */
.sj [id] { scroll-margin-top: 5rem; }
@media (max-width: 1080px) { .sj-head__nav { display: none; } }
@media (max-width: 520px) { .sj-head__tag { display: none; } .sj-head__cta { padding: 0.55rem 1rem; font-size: 0.76rem; } }

.sj { font-family: var(--jp); color: var(--sumi); }
.sj-wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.sj-sec { padding-block: clamp(3.5rem, 8vh, 6.5rem); }

.sj-title {
  text-align: center;
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  font-weight: 600; letter-spacing: 0.06em; color: var(--sumi-deep);
  margin-bottom: clamp(2rem, 5vh, 3.4rem);
}
.sj-title--left { text-align: left; margin-bottom: 1.6rem; }

/* ボタン */
.sj-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  padding: 0.95rem 2.2rem; font-family: var(--jp); font-size: 1rem; font-weight: 600;
  letter-spacing: 0.08em; text-decoration: none; border-radius: 999px;
  transition: transform 0.2s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.sj-btn .arw { transition: transform 0.25s var(--ease); }
.sj-btn:hover .arw { transform: translateX(4px); }
.sj-btn--primary { background: var(--clay); color: #fff; box-shadow: 0 10px 24px -12px var(--clay); }
.sj-btn--primary:hover { transform: translateY(-2px); background: oklch(0.56 0.055 58); }
.sj-btn--line { background: #F7F4EF; color: #2B2B2B; border: 1px solid var(--line-2); }
.sj-btn--line:hover { background: #fff; border-color: var(--ink-3); }

/* ── HERO（全面背景＋文字オーバーレイ） ── */
.sj-hero { position: relative; min-height: clamp(30rem, 70vh, 46rem); display: flex; align-items: center; overflow: hidden; }
.sj-hero__bg { position: absolute; inset: 0; z-index: 0; }
.sj-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 80% center; display: block; }
.sj-hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, #F7F4EF 0%, rgba(247,244,239,0.9) 32%, rgba(247,244,239,0.4) 54%, rgba(247,244,239,0) 74%); }
.sj-hero__inner { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; margin-inline: auto; padding: clamp(2.5rem, 6vh, 4.5rem) var(--pad-x); }
.sj-hero__body { max-width: 33rem; }
.sj-hero__title { font-size: clamp(1.9rem, 5vw, 3.15rem); font-weight: 700; line-height: 1.42; letter-spacing: 0.03em; color: #2B2B2B; }
.sj-hero__nowrap { white-space: nowrap; }
.sj-hero__sub { margin-top: 1.5rem; font-size: clamp(1rem, 1.7vw, 1.16rem); font-weight: 600; line-height: 1.9; color: var(--clay); }
.sj-hero__lead { margin-top: 1.1rem; font-size: clamp(0.94rem, 1.4vw, 1.02rem); line-height: 2; color: var(--ink-2); }
.sj-hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ── 悩み ── */
.sj-worries { background: var(--paper); }
.sj-worries__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.6rem); max-width: 62rem; margin-inline: auto; }
.sj-worries__col { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.sj-worries__col li { display: flex; align-items: flex-start; gap: 0.7em; font-size: 0.98rem; line-height: 1.6; color: var(--sumi); }
.sj-check { flex: 0 0 auto; width: 1.3em; height: 1.3em; color: var(--clay); margin-top: 0.1em; }
.sj-check svg { width: 100%; height: 100%; }

/* ── バーストラウマ / インナーチャイルド ── */
.sj-terms { background: var(--paper-2); }
.sj-terms__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); max-width: 72rem; margin-inline: auto; }
.sj-term { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: clamp(1.6rem, 3.5vw, 2.4rem); }
.sj-term__ttl { text-align: center; font-size: 1.2rem; font-weight: 600; color: #2B2B2B; letter-spacing: 0.05em; }
.sj-term__row { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 1.6rem); margin-top: 1.3rem; }
.sj-term__icon { flex: 0 0 auto; width: clamp(5.5rem, 14vw, 8rem); }
.sj-term__icon img { width: 100%; height: auto; display: block; }
.sj-term__row p { flex: 1; font-size: 0.95rem; line-height: 1.95; color: var(--ink-2); }

/* ── 影響（ダーク背景・明るい文字） ── */
.sj-impact {
  position: relative; overflow: hidden; text-align: center;
  padding-block: clamp(3.6rem, 9vh, 5.8rem);
  background-color: #14110e;
  background-image: url('assets/sj-impact-bg.jpg');
  background-size: cover;
  background-position: center top;
}
.sj-impact::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,14,0.55) 0%, rgba(20,17,14,0.3) 42%, rgba(20,17,14,0.62) 100%);
  pointer-events: none;
}
.sj-impact .sj-wrap { position: relative; z-index: 1; }
.sj-impact__text { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 600; line-height: 1.95; letter-spacing: 0.04em; color: #F7F4EF; }
.sj-impact__tags { margin-top: 2.2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(0.7rem, 2vw, 1.4rem); }
.sj-tag {
  flex: 0 0 auto;
  width: clamp(4.8rem, 9.5vw, 6.6rem); aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: clamp(0.76rem, 1.4vw, 0.92rem); letter-spacing: 0.03em; line-height: 1.4;
  color: #F7F4EF; border: 1px solid rgba(247, 244, 239, 0.5);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.sj-tag:hover { background: rgba(247, 244, 239, 0.08); border-color: rgba(247, 244, 239, 0.8); }

/* ── 心浄術とは（TOP心浄術セクション準拠：画像フルブリード＋パネル） ── */
.sj-about {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  min-height: clamp(380px, 50vw, 560px);
  background: linear-gradient(90deg, #F1EDE4 0%, #F7F4EF 100%);
}
.sj-about__media { position: relative; overflow: hidden; }
.sj-about__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sj-about__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, #F7F4EF 100%); }
.sj-about__panel { display: flex; align-items: center; padding: clamp(2.5rem, 6vw, 6rem) var(--pad-x) clamp(2.5rem, 6vw, 6rem) clamp(1.5rem, 4vw, 4rem); }
.sj-about__inner { max-width: 30rem; }
.sj-about__en { display: block; font-family: var(--la); text-transform: uppercase; letter-spacing: 0.26em; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; color: #2B2B2B; }
.sj-about__ttl { font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 600; letter-spacing: 0.2em; color: #2B2B2B; margin-top: 0.5rem; }
.sj-about__rule { display: block; width: 3rem; height: 1px; background: var(--gold); margin: 1.6rem 0; }
.sj-about__lead { color: var(--ink-2); line-height: 2.15; font-size: clamp(0.92rem, 1.3vw, 1.02rem); letter-spacing: 0.05em; margin-top: 1.2rem; }
.sj-about__lead:first-of-type { margin-top: 0; }

/* ── 変化 ── */
.sj-changes { background: var(--paper); }
.sj-changes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.9rem, 1.8vw, 1.3rem); }
.sj-change { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: clamp(1.4rem, 2.3vw, 1.8rem); }
.sj-change__head { display: flex; align-items: center; gap: 0.7em; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.sj-change__icon { width: 3.2rem; height: 3.2rem; flex-shrink: 0; }
.sj-change__icon img { width: 100%; height: 100%; object-fit: contain; }
.sj-change__head h3 { font-size: 1.1rem; font-weight: 600; color: var(--sumi-deep); letter-spacing: 0.04em; }
.sj-change ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.sj-change li { position: relative; padding-left: 1.1em; font-size: 0.94rem; line-height: 1.7; color: var(--ink-2); }
.sj-change li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 0.4em; height: 0.4em; border-radius: 50%; background: var(--clay); }

/* ── 流れ ── */
.sj-flow { background: var(--paper-2); }
.sj-flow__grid { display: flex; align-items: flex-start; justify-content: center; gap: 0.4rem; flex-wrap: wrap; }
.sj-step { flex: 1 1 0; min-width: 8rem; max-width: 11rem; text-align: center; }
.sj-step__icon { width: 5.6rem; height: 5.6rem; margin: 0 auto 1rem; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; background: #fff; }
.sj-step__icon img { width: 58%; height: 58%; object-fit: contain; }
.sj-step__no { font-family: var(--mono); font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 400; letter-spacing: 0.12em; color: var(--ink-2); }
.sj-step__ttl { font-size: 1rem; font-weight: 600; color: var(--sumi-deep); margin-top: 0.2rem; }
.sj-step__desc { font-size: 0.82rem; line-height: 1.7; color: var(--ink-3); margin-top: 0.5rem; }
.sj-flow__arrow { align-self: center; margin-top: 1.5rem; color: var(--ink-faint); font-size: 1.1rem; }

/* ── 料金 ── */
.sj-price { background: var(--paper); }
.sj-price__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.sj-plan { background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 12px; padding: clamp(1.6rem, 3vw, 2.2rem); display: flex; flex-direction: column; }
.sj-plan__name { text-align: center; font-size: 1.2rem; font-weight: 600; color: var(--clay); letter-spacing: 0.06em; padding-bottom: 1rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.sj-plan__desc { font-size: 0.9rem; line-height: 1.95; color: var(--ink-2); flex: 1; }
.sj-plan__price { margin-top: 1.6rem; text-align: center; color: var(--sumi-deep); }
.sj-plan__time { display: inline-block; margin-right: 0.6em; font-size: 0.86rem; color: var(--ink-3); }
.sj-plan__price strong { font-size: clamp(1.4rem, 2.6vw, 1.7rem); font-weight: 700; letter-spacing: 0.02em; }
.sj-plan__tax { font-size: 0.78rem; color: var(--ink-3); margin-left: 0.2em; }

/* ── お客様の声 ── */
.sj-voice { background: var(--paper-warm); }
.sj-voice__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.sj-voice__card { background: var(--paper); border-radius: 12px; padding: clamp(1.5rem, 3vw, 2.2rem); text-align: center; }
.sj-voice__avatar { display: inline-flex; width: 3rem; height: 3rem; margin-bottom: 1rem; border-radius: 50%; background: var(--paper-3); color: var(--ink-3); padding: 0.55rem; }
.sj-voice__avatar svg { width: 100%; height: 100%; }
.sj-voice__text { font-size: 0.94rem; line-height: 1.9; color: var(--sumi); text-align: left; }
.sj-voice__who { margin-top: 1rem; font-size: 0.82rem; letter-spacing: 0.08em; color: var(--ink-3); }
.sj-voice__note { margin-top: 1.8rem; text-align: center; font-size: 0.78rem; color: var(--ink-faint); }

/* ── CTA（画像背景＋左上に文字） ── */
.sj-cta { position: relative; overflow: hidden; min-height: clamp(28rem, 52vh, 40rem); display: flex; align-items: flex-start; }
.sj-cta__bg { position: absolute; inset: 0; z-index: 0; }
.sj-cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 22%; display: block; }
/* 若干トーンダウン＆左（文字側）を明るく */
.sj-cta::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(103deg, rgba(247,244,239,0.72) 0%, rgba(247,244,239,0.42) 34%, rgba(247,244,239,0.12) 56%, rgba(247,244,239,0) 74%);
}
.sj-cta__inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin-inline: auto; padding: clamp(2.6rem, 7vh, 4.5rem) var(--pad-x); }
.sj-cta__body { max-width: 30rem; }
.sj-cta__text { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 700; line-height: 1.7; letter-spacing: 0.02em; color: #2B2B2B; }
.sj-cta__btns { margin-top: clamp(1.6rem, 4vh, 2.4rem); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: flex-start; align-items: center; }

/* ── レスポンシブ ── */
@media (max-width: 880px) {
  .sj-about { grid-template-columns: 1fr; }
  .sj-about__media { aspect-ratio: 16/10; }
  .sj-about__media::after { background: linear-gradient(180deg, transparent 55%, #F7F4EF 100%); }
  .sj-about__panel { padding: clamp(2.5rem, 8vw, 4rem) var(--pad-x); }
  .sj-worries__grid { grid-template-columns: 1fr 1fr; }
  .sj-changes__grid, .sj-price__grid, .sj-voice__grid { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .sj-flow__grid { gap: 1.2rem; }
  .sj-flow__arrow { display: none; }
  .sj-step { max-width: none; flex-basis: 40%; }
}
@media (max-width: 700px) {
  .sj-hero { min-height: clamp(26rem, 62vh, 34rem); }
  .sj-hero__bg img { object-position: 70% center; }
  .sj-hero::after { background: linear-gradient(180deg, rgba(247,244,239,0.5) 0%, rgba(247,244,239,0.92) 100%); }
  .sj-hero__body { max-width: none; }

  /* CTA：モバイルは重ねず「画像を上・文字とボタンを下」に積む */
  .sj-cta { display: block; min-height: 0; }
  .sj-cta__bg { position: static; }
  .sj-cta__bg img { height: auto; aspect-ratio: 16/9; object-position: center; }
  .sj-cta::after { display: none; }
  .sj-cta__inner { max-width: none; background: #F7F4EF; padding: clamp(2rem, 7vw, 2.8rem) var(--pad-x); }
  .sj-cta__body { max-width: none; text-align: center; }
  .sj-cta__btns { justify-content: center; }
  .sj-cta .sj-btn { width: 100%; max-width: 20rem; padding: 0.85rem 1.2rem; letter-spacing: 0.03em; white-space: nowrap; }
}
@media (max-width: 560px) {
  .sj-worries__grid, .sj-terms__grid { grid-template-columns: 1fr; }
  .sj-hero__sub br, .sj-hero__lead br, .sj-impact__text br { display: none; }
  .sj-hero__title { font-size: clamp(1.55rem, 7vw, 2rem); }
}
