/* ============================================================
   中村レディースクリニック 求人LP  スタイル
   ------------------------------------------------------------
   色を変えたいときは、下の「色の設定」の値を変更してください。
   ============================================================ */

/* ---------- 色・文字の設定 ---------- */
:root {
  --pink-50: #fdf5f6;     /* ごく淡いピンク */
  --pink-100: #f9e6e9;    /* 淡いピンク（メイン） */
  --pink-200: #f1cdd4;    /* 少し濃いピンク */
  --rose: #b0566b;        /* アクセント（ローズ） */
  --rose-dark: #94445a;   /* ボタンを押したとき */
  --ivory: #fffaf3;       /* 背景（アイボリー） */
  --beige: #f4ebe0;       /* ベージュ */
  --white: #ffffff;
  --text: #3e3a3b;        /* 文字（濃いグレー） */
  --text-sub: #6b6365;    /* 補足の文字 */
  --line: #eadcd6;        /* 線 */
  --error: #c0392b;       /* エラー表示 */
  --error-bg: #fdf0ee;

  --font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  --font-heading: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 6px 24px rgba(176, 86, 107, 0.08);
  --header-h: 64px;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--rose); }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  letter-spacing: 0.05em;
}

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

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  background: var(--rose);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
}
.skip-link:focus { top: 8px; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.container.narrow { max-width: 760px; }

.sp-only { display: inline; }
.pc-only { display: none; }
@media (min-width: 768px) {
  .sp-only { display: none; }
  .pc-only { display: inline; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 32px;
  border-radius: 999px;
  border: 2px solid var(--rose);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-primary { background: var(--rose); color: var(--white); }
.btn-primary:hover { background: var(--rose-dark); border-color: var(--rose-dark); }
.btn-outline { background: var(--white); color: var(--rose); }
.btn-outline:hover { background: var(--pink-50); }
.btn-large { min-height: 64px; font-size: 1.05rem; padding: 14px 40px; }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 243, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.header-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  line-height: 1.3;
}
.header-logo-sub { font-size: 0.7rem; color: var(--text-sub); letter-spacing: 0.1em; }
.header-logo-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; }
.header-nav { display: none; }

@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .header-nav { display: block; }
  .header-nav ul { display: flex; align-items: center; gap: 28px; list-style: none; }
  .header-nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; }
  .header-nav a:hover { color: var(--rose); }
  .header-nav .header-cta {
    display: inline-block;
    background: var(--rose);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 700;
  }
  .header-nav .header-cta:hover { background: var(--rose-dark); color: var(--white); }
  .header-logo-name { font-size: 1.2rem; }
}

/* ---------- ファーストビュー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--pink-100) 0%, var(--pink-50) 45%, var(--ivory) 100%);
  padding: 40px 0 56px;
  text-align: center;
}
.hero-inner { position: relative; z-index: 1; }
.hero-deco .deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.deco-1 { width: 280px; height: 280px; top: -90px; right: -80px; background: radial-gradient(circle, rgba(241, 205, 212, 0.9), rgba(241, 205, 212, 0)); }
.deco-2 { width: 220px; height: 220px; bottom: -70px; left: -70px; background: radial-gradient(circle, rgba(244, 235, 224, 1), rgba(244, 235, 224, 0)); }
.deco-3 { width: 120px; height: 120px; top: 38%; left: 8%; background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0)); }

.hero-badge {
  display: inline-block;
  background: var(--white);
  color: var(--rose);
  border: 1px solid var(--pink-200);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(1.6rem, 6.6vw, 2.9rem);
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-title .line { display: inline-block; }
.hero-title .line:first-child { display: block; }
.hero-lead {
  font-size: clamp(0.98rem, 3.6vw, 1.15rem);
  line-height: 2;
  color: var(--text);
  margin-bottom: 22px;
}
.hero-clinic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 26px;
}
.hero-clinic-area { font-size: 0.85rem; color: var(--text-sub); letter-spacing: 0.12em; }
.hero-clinic-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.2rem, 4.8vw, 1.6rem);
  color: var(--rose);
  letter-spacing: 0.1em;
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 340px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .hero { padding: 110px 0 120px; }
  .hero-badge { margin-bottom: 28px; }
  .hero-title, .hero-lead { margin-bottom: 30px; }
  .hero-clinic { margin-bottom: 36px; }
  .hero-buttons { flex-direction: row; max-width: none; justify-content: center; }
  .hero-buttons .btn { min-width: 240px; }
  .deco-1 { width: 480px; height: 480px; top: -160px; right: -120px; }
  .deco-2 { width: 380px; height: 380px; bottom: -140px; left: -100px; }
}

/* ---------- セクション共通 ---------- */
.section { padding: 72px 0; }
.section-white { background: var(--white); }
.section-ivory { background: var(--ivory); }
@media (min-width: 768px) {
  .section { padding: 104px 0; }
}

.section-head { text-align: center; margin-bottom: 40px; }
.section-en {
  font-family: var(--font-heading);
  color: var(--rose);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  margin-bottom: 4px;
}
.section-title {
  font-size: clamp(1.45rem, 5.4vw, 2rem);
  position: relative;
  padding-bottom: 18px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: var(--pink-200);
  transform: translateX(-50%);
}
.section-lead { margin-top: 20px; color: var(--text-sub); }
.num-em { color: var(--rose); font-size: 1.3em; margin: 0 0.05em; }

/* ---------- 私たちについて ---------- */
.about-text p { margin-bottom: 1.4em; }
.about-closing {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--rose);
  font-size: 1.05rem;
  text-align: center;
  padding-top: 8px;
}
@media (min-width: 768px) {
  .about-text { text-align: center; }
}

/* ---------- 6つの魅力 ---------- */
.merit-list {
  list-style: none;
  display: grid;
  gap: 18px;
}
.merit-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--pink-200);
}
.merit-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--pink-200);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.merit-title {
  font-size: 1.12rem;
  color: var(--text);
  margin-bottom: 10px;
}
.merit-card p { font-size: 0.95rem; color: var(--text-sub); }
@media (min-width: 640px) {
  .merit-list { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (min-width: 960px) {
  .merit-list { grid-template-columns: repeat(3, 1fr); gap: 26px; }
}

/* ---------- 仕事内容 ---------- */
.job-list { display: grid; gap: 20px; }
.job-card {
  background: var(--pink-50);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius);
  padding: 30px 24px;
}
.job-title {
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--pink-200);
}
.job-label {
  display: block;
  font-size: 0.75rem;
  color: var(--rose);
  letter-spacing: 0.15em;
  font-weight: 500;
}
.job-card p { font-size: 0.95rem; }
.note-list {
  list-style: none;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-sub);
}
@media (min-width: 960px) {
  .job-list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- 募集職種・勤務形態 ---------- */
.position-list { display: grid; gap: 18px; }
.position-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.position-title {
  background: var(--pink-100);
  color: var(--text);
  font-size: 1.25rem;
  text-align: center;
  padding: 16px;
}
.position-types {
  list-style: none;
  padding: 18px 24px 22px;
}
.position-types li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.position-types li:last-child { border-bottom: none; }
.position-types li::before {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
}
.salary-box {
  margin-top: 28px;
  background: var(--white);
  border: 2px solid var(--pink-100);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: center;
}
.salary-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--rose);
  border-bottom: 2px solid var(--pink-200);
  margin-bottom: 12px;
}
.salary-text { font-weight: 700; font-size: 1.05rem; }
.salary-sub { font-size: 0.88rem; color: var(--text-sub); margin-top: 8px; }
@media (min-width: 768px) {
  .position-list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- こんな方を歓迎します ---------- */
.check-list {
  list-style: none;
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.check-list li {
  position: relative;
  padding: 12px 0 12px 42px;
  border-bottom: 1px dashed var(--line);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pink-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23b0566b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.welcome-message {
  margin-top: 36px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.15rem, 4.6vw, 1.45rem);
  line-height: 1.9;
  color: var(--rose);
}
@media (min-width: 768px) {
  .check-list { padding: 30px 40px; }
}

/* ---------- 職場の雰囲気 ---------- */
.photo-grid {
  display: grid;
  gap: 18px;
}
.photo-item { margin: 0; }
.photo-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--beige);
}
.photo-item figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-sub);
  text-align: center;
}
@media (min-width: 640px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 22px; }
}
@media (min-width: 960px) {
  .photo-grid { gap: 36px 32px; }
}

/* ---------- 応募の流れ ---------- */
.flow-list {
  list-style: none;
  display: grid;
  gap: 32px;
}
.flow-step {
  position: relative;
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: center;
}
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 14px;
  height: 14px;
  border-right: 3px solid var(--pink-200);
  border-bottom: 3px solid var(--pink-200);
  transform: translateX(-50%) rotate(45deg);
}
.flow-num {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--rose);
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 12px;
}
.flow-num span { font-size: 0.8rem; letter-spacing: 0.15em; }
.flow-title { font-size: 1.1rem; margin-bottom: 8px; }
.flow-step p:last-child { font-size: 0.92rem; color: var(--text-sub); }
.flow-note {
  margin-top: 28px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-sub);
}
@media (min-width: 960px) {
  .flow-list { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .flow-step:not(:last-child)::after {
    left: auto;
    right: -22px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(-45deg);
  }
}

/* ---------- 見学歓迎 ---------- */
.section-visit {
  background: linear-gradient(170deg, var(--pink-100) 0%, var(--pink-50) 60%, var(--ivory) 100%);
}
.visit-box {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  padding: 44px 24px;
  text-align: center;
}
.visit-title {
  font-size: clamp(1.45rem, 5.6vw, 2rem);
  margin-bottom: 26px;
}
.visit-quotes {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--text);
  margin-bottom: 6px;
}
.visit-quotes p { margin-bottom: 0.3em; }
.visit-highlight {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.2rem, 5vw, 1.5rem);
  color: var(--rose);
  background: linear-gradient(transparent 62%, var(--pink-200) 62%);
  padding: 0 4px;
  margin: 18px 0 22px;
}
.visit-box .btn { margin-top: 20px; width: 100%; max-width: 380px; }
@media (min-width: 768px) {
  .visit-box { padding: 60px 56px; }
}

/* ---------- 応募・お問い合わせ ---------- */
.contact-methods {
  display: grid;
  gap: 18px;
  margin-bottom: 48px;
}
.contact-card {
  background: var(--pink-50);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}
.contact-card-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-icon { color: var(--rose); display: inline-flex; }
.contact-tel {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--rose);
  text-decoration: none;
  letter-spacing: 0.06em;
}
.contact-mail {
  display: inline-block;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--rose);
  word-break: break-all;
}
.contact-note { font-size: 0.85rem; color: var(--text-sub); margin-top: 6px; }
.contact-pending {
  color: var(--text-sub);
  background: var(--white);
  border-radius: 8px;
  padding: 10px;
  font-size: 0.92rem;
}
@media (min-width: 768px) {
  .contact-methods { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ---------- フォーム ---------- */
.form-wrap {
  background: var(--ivory);
  border-radius: 24px;
  padding: 36px 20px;
  max-width: 800px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .form-wrap { padding: 52px 56px; }
}
.form-heading {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 28px;
}
.test-banner {
  background: #fff8e1;
  border: 1px solid #f0d58c;
  color: #6b5200;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.field { margin: 0 0 26px; border: 0; padding: 0; min-width: 0; }
.field-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  padding: 0;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: 2px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.tag-required { background: var(--rose); color: var(--white); }
.tag-optional { background: var(--beige); color: var(--text-sub); }

.input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 16px; /* iPhoneで入力時に拡大されないように16px以上 */
  -webkit-appearance: none;
  appearance: none;
}
.input:focus { border-color: var(--rose); outline: 3px solid var(--pink-100); outline-offset: 0; }
.input::placeholder { color: #b0a6a8; }
textarea.input { resize: vertical; line-height: 1.7; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--rose);
  border-bottom: 2px solid var(--rose);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap .input { padding-right: 40px; }

.field-short .input-with-unit { display: flex; align-items: center; gap: 8px; max-width: 160px; }

.field-row { display: grid; gap: 0; }
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; gap: 20px; }
}

.choice-group { display: grid; gap: 10px; }
.choice-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.choice-card input {
  width: 22px;
  height: 22px;
  margin: 0;
  flex: 0 0 22px;
  accent-color: var(--rose);
}
.choice-card:has(input:checked) { border-color: var(--rose); background: var(--pink-50); font-weight: 700; }
.choice-card:has(input:focus-visible) { outline: 3px solid var(--rose); outline-offset: 2px; }

/* エラー表示 */
.field-error {
  display: flex;
  gap: 6px;
  color: var(--error);
  font-size: 0.9rem;
  font-weight: 700;
  margin: 8px 0 0;
}
.field-error::before { content: "！"; }
.is-invalid .input,
.is-invalid .choice-card { border-color: var(--error); background-color: var(--error-bg); }
.error-summary {
  background: var(--error-bg);
  border: 2px solid var(--error);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 26px;
}
.error-summary-title { color: var(--error); font-weight: 700; margin-bottom: 6px; }
.error-summary ul { padding-left: 1.2em; font-size: 0.92rem; }
.error-summary a { color: var(--error); }

/* 迷惑送信よけの欄は画面外へ */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 個人情報 */
.privacy { margin-bottom: 30px; }
.privacy-title { font-weight: 700; margin-bottom: 8px; }
.privacy-body {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  max-height: 180px;
  overflow-y: auto;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-sub);
  margin-bottom: 14px;
}
.privacy-body ol { padding-left: 1.3em; }
.privacy-body li { margin-bottom: 6px; }
.consent {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 16px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
}
.consent input { width: 22px; height: 22px; margin: 0; flex: 0 0 22px; accent-color: var(--rose); }
.privacy.is-invalid .consent { border-color: var(--error); background: var(--error-bg); }

.form-actions { text-align: center; margin-top: 8px; }
.form-actions .btn { width: 100%; max-width: 380px; }
.form-actions-split { display: flex; flex-direction: column-reverse; gap: 14px; align-items: center; }
@media (min-width: 640px) {
  .form-actions-split { flex-direction: row; justify-content: center; }
  .form-actions-split .btn { width: auto; min-width: 220px; }
}

/* 確認画面 */
.confirm-lead { text-align: center; margin-bottom: 22px; }
.confirm-list {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 6px 20px;
  margin: 0 0 28px;
}
.confirm-list div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.confirm-list div:last-child { border-bottom: none; }
.confirm-list dt { font-size: 0.85rem; color: var(--text-sub); font-weight: 700; }
.confirm-list dd { margin: 2px 0 0; white-space: pre-wrap; }
@media (min-width: 640px) {
  .confirm-list div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; }
  .confirm-list dd { margin: 0; }
}
.send-error {
  background: var(--error-bg);
  border: 2px solid var(--error);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.send-error strong { color: var(--error); display: block; margin-bottom: 6px; }

/* 送信完了 */
.result-view { text-align: center; padding: 20px 0; }
.result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--pink-100);
  color: var(--rose);
  margin-bottom: 16px;
}
.result-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; }
.result-message { margin-top: 10px; }

/* テスト結果 */
.test-result {
  background: var(--white);
  border: 2px dashed #e0c070;
  border-radius: var(--radius-sm);
  padding: 22px 20px;
}
.test-result-title { font-weight: 700; color: #6b5200; }
.test-mail { background: var(--ivory); border-radius: 10px; padding: 14px 16px; margin: 12px 0 18px; }
.test-mail-label { font-size: 0.8rem; color: var(--text-sub); font-weight: 700; margin: 10px 0 4px; }
.test-mail-label:first-child { margin-top: 0; }
.test-mail-subject { font-weight: 700; }
.test-mail-body {
  margin: 0;
  white-space: pre-wrap;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.8;
}
.test-complete-message { background: var(--pink-50); border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--beige);
  padding: 44px 0 40px;
  text-align: center;
  font-size: 0.9rem;
}
.footer-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; margin-bottom: 0; }
.footer-sub { color: var(--text-sub); font-size: 0.82rem; margin-bottom: 12px; }
.footer-address { margin-bottom: 6px; }
.footer-links { margin-bottom: 6px; }
.footer-copy { color: var(--text-sub); margin-top: 18px; }

/* ---------- スマホ用 固定ボタン ---------- */
.fixed-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 999px;
  background: var(--rose);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(148, 68, 90, 0.3);
  transition: opacity 0.25s, transform 0.25s;
}
.fixed-cta.is-hidden { opacity: 0; transform: translateY(120%); pointer-events: none; }
@media (max-width: 959px) {
  body { padding-bottom: 84px; }
}
@media (min-width: 960px) {
  .fixed-cta { display: none; }
}

/* ---------- 控えめな表示アニメーション ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .fixed-cta { transition: none; }
}
