/* ============================================================
   井元ブランド用スタイル（プロデュース実績・相談フォーム）
   ------------------------------------------------------------
   ryu07 の imoto-official テーマから移植。正本は
   Local Sites/wakachan/ryu07/theme/imoto-official/style.css
   このCSSは「完全独立テンプレート」からのみ読み込む。
   Cocoonのスタイルは読み込まれないので接頭辞は付けていない。
   ============================================================ */

/* ============================================================
   1. デザイントークン
   ============================================================ */
:root {
  --bg:          #FBF9F5;
  --bg-alt:      #F4EFE6;
  --bg-deep:     #221E19;
  --ink:         #1F1B16;
  --ink-soft:    #5C544A;
  --ink-faint:   #8A8074;
  --accent:      #C0632B;
  --accent-deep: #93441A;
  --accent-tint: #F3E4D7;
  --line:        #E6DCCC;

  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-sans:  system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
                "Yu Gothic", "Noto Sans JP", sans-serif;

  --wrap: 1080px;
  --wrap-narrow: 720px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(31,27,22,.04), 0 8px 24px rgba(31,27,22,.06);
}

/* ============================================================
   2. ベース
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-deep); text-underline-offset: .25em; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .01em;
  margin: 0;
}

p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .8em 1.4em;
}
.skip-link:focus { left: 0; }

/* ============================================================
   3. レイアウト部品
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(64px, 9vw, 112px); }
.section--alt  { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); color: #EFE9DF; }
.section--deep h2, .section--deep h3 { color: #fff; }

.section__label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.section--deep .section__label { color: #E0A87B; }

.section__title {
  font-size: clamp(24px, 3.4vw, 34px);
  margin: 0 0 20px;
}

.section__lead {
  max-width: 46em;
  color: var(--ink-soft);
  margin: 0 0 44px;
}
.section--deep .section__lead { color: #C3BAAC; }

/* ============================================================
   4. ボタン
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); color: #fff; }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); }

.btn--onDeep { background: #fff; color: var(--ink); }
.btn--onDeep:hover { background: var(--accent-tint); color: var(--ink); }

.btn__arrow { transition: transform .18s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ============================================================
   5. ヘッダー
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 245, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.site-logo span {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ink-faint);
  margin-top: 2px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0; padding: 0;
  list-style: none;
}
.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}
.site-nav a:hover { color: var(--accent-deep); }
.site-nav .is-cta a {
  padding: 9px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
}
.site-nav .is-cta a:hover { background: var(--accent-deep); }

/* モバイル：セクションリンクは畳み、CTAだけ残す。
   ページ内移動はフッターナビが担当する（ハンバーガーを持たない設計） */
@media (max-width: 860px) {
  .site-nav li:not(.is-cta) { display: none; }
  .site-nav ul { gap: 0; }
  .site-nav .is-cta a { padding: 8px 15px; font-size: 13px; }
  .site-logo { font-size: 16px; }
}

/* ============================================================
   6. ヒーロー
   ============================================================ */
.hero { padding-block: clamp(72px, 11vw, 132px) clamp(56px, 8vw, 96px); }

.hero__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--accent);
  margin: 0 0 22px;
}

.hero__title {
  font-size: clamp(32px, 6.2vw, 60px);
  line-height: 1.32;
  letter-spacing: .015em;
  margin: 0 0 28px;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--accent-tint) 62%);
}

.hero__lead {
  max-width: 34em;
  font-size: clamp(15px, 1.7vw, 17px);
  color: var(--ink-soft);
  margin: 0 0 38px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-faint);
}
.hero__meta b { color: var(--ink); font-weight: 700; }

/* ============================================================
   7. カード（サービス）
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.section--alt .card { background: var(--bg); }

.card__tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.card__title { font-size: 20px; margin: 0 0 12px; }

.card__body {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0 0 22px;
  flex-grow: 1;
}

.card__price {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
}
.card__price b {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .01em;
}
.card__price small { color: var(--ink-faint); font-size: 12.5px; }

/* ============================================================
   8. 相談ステップ
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  counter-reset: step;
  margin-bottom: 44px;
}
.step { position: relative; padding: 26px 22px 26px 0; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 10px;
}
.step h3 { font-size: 17px; margin: 0 0 8px; }
.step p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* 5ステップ用：4+1に割れないよう1段に収める */
.steps--five { grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); }

/* 濃色背景の上に置くステップ */
.steps--onDeep .step::before { color: #E0A87B; }
.steps--onDeep .step h3 { color: #fff; }
.steps--onDeep .step p { color: #C3BAAC; }

/* ============================================================
   8a. 補助オファー（無料説明会と有料相談を混同させないための枠）
   ============================================================ */
.aside-offer {
  max-width: 640px;
  margin-top: 44px;
  padding: 26px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink-faint);
  border-radius: var(--radius);
}
.section--alt .aside-offer { background: #fff; }

.aside-offer__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--ink-faint);
  margin: 0 0 8px;
}
.aside-offer__title { font-size: 19px; margin: 0 0 12px; }
.aside-offer__body { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ============================================================
   8b. Before / After 対比
   ============================================================ */
.ba {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.ba__col {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.ba__col--before { background: #F7F2EA; }
.ba__col--after  { border-color: var(--accent); box-shadow: var(--shadow); }

.ba__head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.ba__col--before .ba__head { color: var(--ink-faint); }
.ba__col--after  .ba__head { color: var(--accent); }

.ba ul { margin: 0; padding: 0; list-style: none; }
.ba li {
  font-size: 14px;
  line-height: 1.75;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.ba li:last-child { border-bottom: 0; padding-bottom: 0; }
.ba__col--before li { color: var(--ink-faint); }
.ba__col--before li b { color: var(--ink-soft); font-weight: 700; }
.ba__col--after  li { color: var(--ink); }

/* ============================================================
   8c. 意思決定リスト
   ============================================================ */
.decisions { margin: 0; padding: 0; list-style: none; counter-reset: dec; }

.decisions > li {
  position: relative;
  padding: 34px 0 34px 62px;
  border-top: 1px solid var(--line);
}
.decisions > li:last-child { border-bottom: 1px solid var(--line); }

.decisions > li::before {
  counter-increment: dec;
  content: counter(dec);
  position: absolute;
  left: 0; top: 34px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 16px;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
}

.decisions h3 { font-size: clamp(19px, 2.4vw, 23px); margin: 0 0 16px; }

.decisions p { font-size: 15px; margin: 0 0 14px; max-width: 48em; }
.decisions p:last-child { margin-bottom: 0; }

.decisions__trap { color: var(--ink-faint); }
.decisions__trap::before {
  content: "初期案 ";
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink-faint);
}
.decisions__act { color: var(--ink-soft); }
.decisions__act::before {
  content: "判断 ";
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
}
.decisions__note {
  padding: 18px 20px;
  background: var(--accent-tint);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink-soft);
}

@media (max-width: 600px) {
  .decisions > li { padding-left: 0; padding-top: 58px; }
  .decisions > li::before { top: 26px; }
}

/* ============================================================
   9. 実績（プロデュース枠）
   ============================================================ */
.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.slot {
  flex: 1 1 180px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  font-size: 14px;
}
.slot--filled { background: rgba(255,255,255,.05); color: #A9A093; }
.slot--open   { background: var(--accent); border-color: var(--accent); color: #fff; }
.slot b { display: block; font-family: var(--font-serif); font-size: 16px; margin-bottom: 4px; }
.slot--open b { color: #fff; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.work-card {
  display: block;
  padding: 34px 32px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: background-color .18s ease, border-color .18s ease;
}
.work-card:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.3); color: inherit; }
.work-card__meta { font-size: 12px; letter-spacing: .12em; color: #E0A87B; margin: 0 0 12px; }
.work-card__title { font-size: clamp(19px, 2.4vw, 24px); color: #fff; margin: 0 0 14px; }
.work-card__body { font-size: 14.5px; color: #C3BAAC; margin: 0 0 20px; }
.work-card__more { font-size: 14px; font-weight: 700; color: #E0A87B; }

/* ============================================================
   10. プロフィール
   ============================================================ */
.profile { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
@media (max-width: 780px) { .profile { grid-template-columns: 1fr; gap: 28px; } }

.profile__photo {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 62% 22%;
  border-radius: var(--radius);
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}

.profile__name { font-size: 26px; margin: 0 0 6px; }
.profile__roles { font-size: 13px; color: var(--ink-faint); margin: 0 0 24px; }
.profile__body { color: var(--ink-soft); }
.profile__body p { margin-bottom: 1.2em; }

.facts { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li {
  display: flex;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.facts dt, .facts .facts__k {
  flex: 0 0 8em;
  font-weight: 700;
  color: var(--ink);
}
.facts .facts__v { color: var(--ink-soft); }

/* 狭い画面では項目名が幅を食いすぎるので縦積みにする */
@media (max-width: 560px) {
  .facts li { flex-direction: column; gap: 4px; }
  .facts dt, .facts .facts__k { flex: none; font-size: 12.5px; }
}

/* ============================================================
   11. 記事・固定ページ本文
   ============================================================ */
.page-head { padding-block: clamp(56px, 7vw, 88px) 0; }
.page-head__title { font-size: clamp(27px, 4.4vw, 42px); margin: 0 0 16px; }
.page-head__lead { color: var(--ink-soft); max-width: 42em; margin: 0; }

.entry { padding-block: clamp(40px, 6vw, 64px) clamp(64px, 9vw, 104px); }
.entry__content { font-size: 16px; }
.entry__content > * + * { margin-top: 1.4em; }
.entry__content h2 {
  font-size: clamp(21px, 2.8vw, 27px);
  margin-top: 2.4em;
  padding-top: .9em;
  border-top: 1px solid var(--line);
}
.entry__content h3 { font-size: clamp(18px, 2.2vw, 21px); margin-top: 2em; }
.entry__content ul, .entry__content ol { padding-left: 1.4em; }
.entry__content li { margin-bottom: .5em; }
.entry__content blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--accent);
  color: var(--ink-soft);
}
.entry__content img { border-radius: var(--radius); }
.entry__content table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.entry__content th, .entry__content td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.entry__content th { background: var(--bg-alt); font-weight: 700; }

/* ============================================================
   11b. フォーム
   ============================================================ */
.form-wrap { max-width: 620px; }

.form__note {
  padding: 18px 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 32px;
}

.field { margin-bottom: 26px; }

.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.field .req {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: var(--accent);
  border-radius: 100px;
  vertical-align: 1px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 150px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.field__hint { font-size: 12.5px; color: var(--ink-faint); margin: 7px 0 0; }

/* ハニーポット：スクリーンリーダーにも読ませず、視覚的にも隠す */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form__msg { font-size: 14px; margin: 0 0 18px; min-height: 1px; }
.form__msg.is-error {
  padding: 13px 16px;
  color: #8A2216;
  background: #FBEBE8;
  border-radius: var(--radius);
}
.form__msg.is-done {
  padding: 18px 20px;
  color: var(--ink);
  background: var(--accent-tint);
  border-radius: var(--radius);
  font-weight: 700;
}

.form__privacy { font-size: 12.5px; color: var(--ink-faint); margin: 22px 0 0; }

#imoto-submit[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* CTAの遷移予告（外部サイトへ飛ぶことを事前に伝える） */
.cta-hint {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin: 14px 0 0;
}
.section--deep .cta-hint { color: #A9A093; }
.cta-band .cta-hint { margin-top: 16px; }

/* ============================================================
   12. CTA帯・フッター
   ============================================================ */
.cta-band { text-align: center; }
.cta-band__title { font-size: clamp(23px, 3.4vw, 32px); margin: 0 0 18px; }
.cta-band__lead { color: var(--ink-soft); max-width: 34em; margin: 0 auto 34px; }

.site-footer {
  padding-block: 52px 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 26px;
}
.site-footer__name { font-family: var(--font-serif); font-size: 16px; margin: 0 0 6px; }
.site-footer__tag { color: var(--ink-faint); margin: 0; font-size: 12.5px; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.site-footer nav a { color: var(--ink-soft); text-decoration: none; }
.site-footer nav a:hover { color: var(--accent-deep); }
.site-footer__copy {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-faint);
}

/* ============================================================
   13. 404
   ============================================================ */
.notfound { padding-block: clamp(90px, 14vw, 160px); text-align: center; }
.notfound__code { font-family: var(--font-serif); font-size: clamp(56px, 12vw, 104px); color: var(--accent-tint); line-height: 1; margin: 0 0 12px; }
.notfound__title { font-size: clamp(22px, 3.2vw, 30px); margin: 0 0 16px; }
.notfound__lead { color: var(--ink-soft); max-width: 32em; margin: 0 auto 34px; }

/* ============================================================
   14. モーション配慮
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
