@charset "UTF-8";
/* =========================================================
   Mother.N 個別鑑定（メール鑑定）
   ヘッダー・フッター・背景は /common/common.css で管理
   ========================================================= */

:root {
  --kt-text: #5b4a3a;
  --kt-heading: #4a3a2c;
  --kt-sub: #7a6858;
  --kt-accent: #d9a85b;      /* ひし形・線・番号 */
  --kt-soft: #fdf1d8;        /* 主役カードの地 */
  --kt-soft2: #fff8ea;       /* 入力欄の地 */
  --kt-border: #efdcb4;
  --kt-button: #ecc277;      /* ボタン（文字は濃い色） */
  --kt-button-hover: #e3b260;
  --kt-white: #fff;
  --kt-required: #c97b63;
}

.kantei-main {
  color: var(--kt-text);
  font-family: "Kosugi Maru", sans-serif;
  line-height: 1.95;
  letter-spacing: 0.04em;
}

.kantei-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 16px 72px;
}

.kantei-page h1,
.kantei-page h2,
.kantei-page h3 {
  font-family: "Zen Antique Soft", serif;
  color: var(--kt-heading);
  font-weight: 400;
  margin: 0;
}

.kantei-page p { margin: 0 0 1em; }
.kantei-page p:last-child { margin-bottom: 0; }

.sp-only { display: none; }

/* ---------- タイトル ---------- */
.kantei-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 8px 12px;
  text-align: center;
  margin-bottom: 20px;
}
.kantei-heading__art { width: 170px; height: auto; }
.kantei-heading__art.is-flip { transform: scaleX(-1); }
.kantei-heading__art--left { justify-self: end; }
.kantei-heading__art--right { justify-self: start; }
.kantei-heading__text { padding-bottom: 14px; }

.kantei-heading h1 {
  font-size: 36px;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.kantei-label {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--kt-sub);
  margin: 0 0 6px !important;
}
.kantei-label::before,
.kantei-label::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 10px;
  background: var(--kt-accent);
  transform: rotate(45deg);
  vertical-align: 2px;
}

.kantei-subtitle {
  grid-column: 1 / -1;
  font-size: 16px;
}

/* ---------- パンくず ---------- */
.kantei-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 13px;
  margin-bottom: 24px;
}
.kantei-breadcrumb a {
  color: var(--kt-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.kantei-breadcrumb a:hover { color: var(--kt-accent); }

/* ---------- セクション（カード） ---------- */
.kantei-section {
  background: var(--kt-white);
  border: 1px solid var(--kt-border);
  border-radius: 18px;
  padding: 36px 40px;
  margin-bottom: 28px;
}

.kantei-section > h2 {
  position: relative;
  font-size: 24px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  padding-left: 22px;
  margin-bottom: 20px;
}
.kantei-section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  background: var(--kt-accent);
  transform: rotate(45deg);
}

/* 主役のカード */
.kantei-intro,
.kantei-form-section {
  background: var(--kt-soft);
  border-color: var(--kt-soft);
}

/* ---------- お悩み（吹き出し） ---------- */
.kantei-worries {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.kantei-worries li {
  position: relative;
  background: var(--kt-white);
  border-radius: 999px;
  padding: 12px 24px 12px 46px;
  font-size: 16px;
}
.kantei-worries li::before {
  content: "“";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-46%);
  font-family: "Libre Baskerville", serif;
  font-size: 30px;
  line-height: 1;
  color: var(--kt-accent);
}

/* ---------- ボタン ---------- */
.kantei-action {
  text-align: center;
  margin-top: 28px;
}
.kantei-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 280px;
  min-height: 52px;
  padding: 12px 40px;
  border: 0;
  border-radius: 999px;
  background: var(--kt-button);
  color: var(--kt-heading);
  font-family: inherit;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.kantei-button:hover { background: var(--kt-button-hover); }
.kantei-button:focus-visible { outline: 2px solid var(--kt-heading); outline-offset: 3px; }
.kantei-button:disabled {
  background: #e9e1d4;
  color: #9a8c7e;
  cursor: not-allowed;
}

/* ---------- 相談できること ---------- */
.kantei-card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.kantei-card {
  background: var(--kt-soft2);
  border-radius: 14px;
  padding: 20px 22px;
}
.kantei-card h3 {
  font-size: 18px;
  line-height: 1.5;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--kt-accent);
}
.kantei-card p { font-size: 14px; }

.kantei-note {
  font-size: 14px;
  color: var(--kt-sub);
}

/* ---------- 鑑定結果でお伝えすること ---------- */
.kantei-result-list {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}
.kantei-result-item {
  border-left: 3px solid var(--kt-accent);
  padding: 4px 0 4px 18px;
}
.kantei-result-item h3 {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 4px;
}
.kantei-result-item p { font-size: 15px; }

/* ---------- 鑑定サンプル ---------- */
.kantei-sample-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 22px 0 18px;
}
.kantei-sample-thumb {
  display: block;
  color: var(--kt-text);
  text-decoration: none;
  text-align: center;
  font-size: 13px;
}
.kantei-sample-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--kt-border);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(91, 74, 58, 0.12);
  margin-bottom: 8px;
  transition: transform 0.2s;
}
.kantei-sample-thumb:hover img { transform: translateY(-3px); }

/* サンプルのページ（/kantei/sample/） */
.kantei-sample-heading {
  text-align: center;
  margin-bottom: 20px;
}
.kantei-sample-heading h1 {
  font-size: 34px;
  letter-spacing: 0.12em;
  line-height: 1.4;
}
.kantei-sample-page { padding-bottom: 24px; }
.kantei-sample-page + .mn-report + .kantei-sample-page { padding-top: 32px; padding-bottom: 72px; }
.kantei-sample-points {
  margin: 0;
  padding-left: 1.3em;
  font-size: 15px;
}
.kantei-sample-points li + li { margin-top: 6px; }
.kantei-sample-points strong { color: var(--kt-heading); }

/* ---------- 受付中・準備中の表示（冒頭） ---------- */
.kantei-status {
  margin: 24px 0 0;
  padding: 16px 20px;
  background: var(--kt-white);
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.8;
}
.kantei-status p { margin: 0 0 6px !important; }
.kantei-status p:last-child { margin-bottom: 0 !important; }
.kantei-status__now,
.kantei-status__soon { display: flex; align-items: baseline; gap: 10px; }
.kantei-status__now { color: var(--kt-heading); font-weight: bold; }
.kantei-status__soon { color: var(--kt-sub); }
.kantei-status__tag {
  display: inline-block;
  min-width: 4.5em;
  flex: none;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--kt-button);
  color: var(--kt-heading);
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.08em;
  vertical-align: 1px;
}
.kantei-status__tag.is-soon { background: #e9e1d4; color: var(--kt-sub); }
.kantei-status__note {
  padding-top: 8px;
  border-top: 1px dashed var(--kt-border);
  font-size: 13px;
  color: var(--kt-sub);
}

/* ---------- お知らせの枠（現在承っている鑑定など） ---------- */
.kantei-notice {
  margin: 0 0 22px;
  padding: 14px 18px;
  background: var(--kt-soft);
  border-left: 3px solid var(--kt-accent);
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  line-height: 1.85;
}
.kantei-notice p { margin: 0 0 6px !important; }
.kantei-notice p:last-child { margin-bottom: 0 !important; }
.kantei-notice strong { color: var(--kt-heading); }

/* ---------- 鑑定メニュー・料金 ---------- */
.kantei-menu {
  background: var(--kt-soft2);
  border-radius: 14px;
  padding: 28px 30px;
  margin-bottom: 20px;
}
.kantei-menu-head {
  text-align: center;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px dashed var(--kt-accent);
}
.kantei-menu-label {
  display: inline-block;
  margin: 0 0 6px !important;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--kt-white);
  border: 1px solid var(--kt-border);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--kt-sub);
}
.kantei-menu-head h3 {
  font-size: 24px;
  letter-spacing: 0.1em;
  line-height: 1.5;
}
.kantei-menu-price {
  margin: 8px 0 0 !important;
  color: var(--kt-heading);
  font-size: 16px;
}
.kantei-menu-price__num {
  font-family: "Libre Baskerville", serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: 2px;
}
.kantei-menu-price__tax { font-size: 14px; }
.kantei-menu-price__base {
  font-size: 13px;
  color: var(--kt-sub);
  margin: 0 !important;
}
.kantei-menu-subhead {
  font-family: "Zen Antique Soft", serif;
  font-weight: 400;
  font-size: 17px;
  color: var(--kt-heading);
  margin: 20px 0 10px;
}
.kantei-chapters {
  list-style: none;
  counter-reset: chapter;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}
.kantei-chapters li {
  counter-increment: chapter;
  position: relative;
  padding: 2px 0 2px 38px;
  line-height: 1.6;
}
.kantei-chapters li::before {
  content: counter(chapter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 3px;
  font-family: "Libre Baskerville", serif;
  font-size: 14px;
  color: var(--kt-accent);
}
.kantei-chapters b {
  display: block;
  font-weight: normal;
  font-size: 15px;
  color: var(--kt-heading);
}
.kantei-chapters span {
  display: block;
  font-size: 12px;
  color: var(--kt-sub);
}
.kantei-menu-info {
  margin: 0;
  border-top: 1px dashed var(--kt-accent);
}
.kantei-menu-info > div {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--kt-border);
  font-size: 14px;
}
.kantei-menu-info dt { font-weight: bold; color: var(--kt-heading); }
.kantei-menu-info dd { margin: 0; }

/* ---------- 申し込みの流れ ---------- */
.kantei-steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
}
.kantei-step {
  counter-increment: step;
  position: relative;
  padding: 0 0 28px 68px;
}
.kantei-step:last-child { padding-bottom: 0; }
.kantei-step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--kt-soft);
  border: 1px solid var(--kt-accent);
  font-family: "Libre Baskerville", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--kt-heading);
  display: grid;
  place-items: center;
}
.kantei-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: 6px;
  border-left: 1px dashed var(--kt-accent);
}
.kantei-step h3 {
  font-size: 18px;
  line-height: 1.5;
  padding-top: 9px;
  margin-bottom: 6px;
}

/* ---------- 鑑定者について ---------- */
.kantei-profile-body p { font-size: 15px; }
.kantei-profile-name {
  font-family: "Zen Antique Soft", serif;
  font-size: 19px !important;
  color: var(--kt-heading);
  letter-spacing: 0.08em;
}
.kantei-profile-closing {
  margin-top: 24px !important;
  padding: 18px 20px;
  background: var(--kt-soft);
  border-radius: 12px;
  text-align: center;
  font-family: "Zen Antique Soft", serif;
  font-size: 16px !important;
  color: var(--kt-heading);
  line-height: 1.9;
}

/* ---------- 締めのメッセージ ---------- */
.kantei-message {
  text-align: center;
  background: transparent;
  border: 0;
  padding: 24px 16px;
}
.kantei-message > h2 { padding-left: 0; }
.kantei-message > h2::before { display: none; }
.kantei-message > h2::after {
  content: "";
  display: block;
  width: 40px;
  margin: 14px auto 0;
  border-top: 1px dashed var(--kt-accent);
}

/* ---------- フォーム ---------- */
.kantei-form {
  background: var(--kt-white);
  border-radius: 14px;
  padding: 28px 28px 32px;
  margin-top: 20px;
}
.kantei-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.kantei-form-field { margin-bottom: 22px; }
.kantei-form-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  margin-bottom: 6px;
}
.kantei-required {
  display: inline-block;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--kt-required);
  color: #fff;
  font-size: 11px;
  font-weight: normal;
  line-height: 1.8;
  letter-spacing: 0.06em;
}
.kantei-form input,
.kantei-form select,
.kantei-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid var(--kt-border);
  border-radius: 10px;
  background: var(--kt-soft2);
  color: var(--kt-text);
  font-family: inherit;
  font-size: 16px; /* スマホで拡大されないよう16px以上 */
  line-height: 1.6;
}
.kantei-form textarea { resize: vertical; min-height: 200px; }
.kantei-form input:focus,
.kantei-form select:focus,
.kantei-form textarea:focus {
  outline: none;
  border-color: var(--kt-accent);
  background: var(--kt-white);
  box-shadow: 0 0 0 3px rgba(217, 168, 91, 0.25);
}
.kantei-form select { height: 52px; padding-top: 0; padding-bottom: 0; line-height: normal; }
.kantei-optional {
  display: inline-block;
  padding: 0 8px;
  border-radius: 6px;
  background: #e9e1d4;
  color: var(--kt-sub);
  font-size: 11px;
  font-weight: normal;
  line-height: 1.8;
  letter-spacing: 0.06em;
}
.kantei-form input::placeholder { color: #b8a998; }
.kantei-form-row + .kantei-form-help--row { margin: -16px 0 22px !important; }
.kantei-form-notice {
  margin: -6px 0 26px;
  padding: 14px 18px;
  background: var(--kt-soft);
  border-left: 3px solid var(--kt-accent);
  border-radius: 0 10px 10px 0;
  font-size: 13px;
  line-height: 1.8;
}
.kantei-form-notice p { margin: 0 0 6px !important; }
.kantei-form-notice p:last-child { margin-bottom: 0 !important; }
.kantei-form-notice strong { color: var(--kt-heading); }
.kantei-form-help {
  font-size: 13px;
  color: var(--kt-sub);
  margin: 6px 0 0 !important;
  line-height: 1.7;
}
.kantei-form-field label + .kantei-form-help { margin: 0 0 8px !important; }
.kantei-form-action { text-align: center; margin-top: 10px; }

/* ---------- 下のリンク ---------- */
.kantei-policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-size: 13px;
  margin-bottom: 12px;
}
.kantei-policy-links a,
.kantei-back a {
  color: var(--kt-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.kantei-back { text-align: center; font-size: 14px; }

/* ---------- TOPへ戻る ---------- */
.kantei-totop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--kt-button);
  color: var(--kt-heading);
  display: grid;
  place-items: center;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(91, 74, 58, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 50;
}
.kantei-totop.is-show { opacity: 1; visibility: visible; }

/* ---------- 準備中の枠（KANTEI_DRAFT のときだけ表示） ---------- */
.is-draft .kantei-slot {
  border: 2px dashed var(--kt-border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: var(--kt-sub);
  font-size: 14px;
}
.is-draft .kantei-slot::before {
  content: "準備中：" attr(data-slot);
}
.is-draft .kantei-form-policy-slot { margin-bottom: 22px; }


/* ---------- 申し込みフォームの追加部分 ---------- */
/* ロボットよけの欄（人には見えない） */
.kantei-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.kantei-form-closed {
  margin: 16px 0 0 !important;
  padding: 12px 16px;
  background: var(--kt-white);
  border: 2px dashed var(--kt-border);
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
  color: var(--kt-sub);
}
.kantei-form[aria-disabled="true"] { opacity: 0.75; }

.kantei-form-policy {
  margin: 6px 0 22px;
  padding: 16px 18px;
  background: var(--kt-soft2);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.8;
}
.kantei-form-policy p { margin: 0 0 8px !important; }
.kantei-form-policy a { color: var(--kt-heading); text-decoration: underline; text-underline-offset: 3px; }
.kantei-agree {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 0 !important;
  font-size: 15px;
  cursor: pointer;
}
.kantei-form .kantei-agree input {
  width: 20px;
  height: 20px;
  flex: none;
  margin: 4px 0 0;
  accent-color: var(--kt-accent);
}
.kantei-form-action .kantei-form-help { text-align: center; }

/* 料金の下の条件 */
.kantei-terms { margin-top: 4px; border-top: 0; }
.kantei-terms a { color: var(--kt-heading); text-decoration: underline; text-underline-offset: 3px; }

/* 【未定】の印（common/business.php が空のところ） */
.mn-todo {
  background: #fff1a8;
  color: #8a5a00;
  border-radius: 4px;
  padding: 0 4px;
  font-weight: bold;
}

/* 送信後のページ */
.kantei-result-page { margin-top: 8px; }
.kantei-errors {
  margin: 0 0 8px;
  padding: 14px 18px 14px 36px;
  background: #fdf0ec;
  border-left: 3px solid var(--kt-required);
  border-radius: 0 10px 10px 0;
  font-size: 14px;
}
.kantei-errors li + li { margin-top: 4px; }

/* ---------- スマホ ---------- */
@media (max-width: 640px) {
  .sp-only { display: inline; }

  .kantei-heading { gap: 6px; }
  .kantei-heading__art { width: 84px; }
  .kantei-heading h1 { font-size: 26px; letter-spacing: 0.08em; }
  .kantei-label { font-size: 10px; letter-spacing: 0.04em; white-space: nowrap; }
  .kantei-label::before,
  .kantei-label::after { margin: 0 5px; width: 5px; height: 5px; }
  .kantei-subtitle { font-size: 13px; letter-spacing: 0.02em; }

  .kantei-section { padding: 26px 20px; border-radius: 14px; }
  .kantei-section > h2 { font-size: 20px; }

  .kantei-worries li { border-radius: 14px; padding: 10px 12px 10px 34px; font-size: 14px; letter-spacing: 0.02em; }
  .kantei-worries li::before { left: 12px; }

  .kantei-card-list { grid-template-columns: 1fr; }
  .kantei-sample-preview { gap: 10px; }
  .kantei-menu { padding: 22px 16px; }
  .kantei-status { padding: 14px 14px; font-size: 14px; }
  .kantei-menu-head h3 { font-size: 21px; }
  .kantei-chapters { grid-template-columns: 1fr; }
  .kantei-menu-info > div { grid-template-columns: 1fr; gap: 2px; }
  .kantei-sample-heading h1 { font-size: 26px; }
  .kantei-sample-points { font-size: 14px; }
  .kantei-profile-name { font-size: 17px !important; }
  .kantei-profile-closing { font-size: 15px !important; padding: 16px 14px; }
  .kantei-step { padding-left: 58px; }

  .kantei-form { padding: 22px 16px 26px; }
  .kantei-form-row { grid-template-columns: 1fr; }

  .kantei-button { min-width: 0; width: 100%; box-sizing: border-box; padding: 12px 20px; }
}

/* ---------- よくある質問 ---------- */
.kantei-faq .kantei-faq-group {
  font-size: 16px;
  font-weight: bold;
  color: var(--kt-heading);
  margin: 32px 0 4px;
  padding-left: 10px;
  border-left: 3px solid var(--kt-accent);
}
.kantei-faq .kantei-faq-group:first-child { margin-top: 0; }
.kantei-faq-item { border-bottom: 1px dashed var(--kt-border); }
.kantei-faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 14px 32px 14px 0;
  color: var(--kt-heading);
  font-weight: bold;
}
.kantei-faq-item summary::-webkit-details-marker { display: none; }
.kantei-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 12px;
  color: var(--kt-accent);
  font-size: 20px;
  line-height: 1.2;
}
.kantei-faq-item[open] summary::after { content: "−"; }
.kantei-faq-item summary:focus-visible { outline: 2px solid var(--kt-heading); outline-offset: 2px; }
.kantei-faq-q { color: var(--kt-accent); margin-right: 6px; }
.kantei-faq-a { padding: 0 0 16px; }
.kantei-faq-a p { margin: 0 0 0.6em; }
.kantei-faq-a p:last-child { margin-bottom: 0; }

/* reCAPTCHA：右下のマークは消し、送信ボタンの下に文で表示（Google が認めている形） */
.grecaptcha-badge { visibility: hidden; }
.kantei-recaptcha-note { font-size: 12px; }
.kantei-recaptcha-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
