/* 色と文字（2026-10-17 に決めたもの。色は白黒、ロゴだけあんず色） */
:root {
  --ink: #111111;
  --text: #1a1a1a;
  --text-sub: #666666;
  --tint: #ffffff; /* 背景は白（前はクリーム色 #faf6f0、その前は灰色 #f4f4f4） */
  --line: #e5e5e5;
  --apricot: #f2a259; /* ロゴだけに使う */
  --white: #fff;
  --jp: "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Sans", sans-serif;
  --en: "Outfit", "Zen Kaku Gothic New", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--jp);
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  word-break: auto-phrase; /* 日本語を、言葉の切れ目で改行する */
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: min(1040px, 100% - 48px); margin: 0 auto; }
.container--narrow { width: min(760px, 100% - 48px); }
.center { text-align: center; margin-top: 40px; }
.note { font-size: 13px; color: var(--text-sub); margin-top: 16px; }
.pc-only { display: inline; }

/* 小さな英語の見出し */
.en {
  font-family: var(--en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
/* 小さな英語の見出しの前の、小さなあんずの印（あんず色の実＋黒い葉っぱ） */
:root {
  --apricot-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 8.2C8.4 6.6 4.2 9.2 4.7 14.2 5.2 19 9.1 21 12 20.6c3.1.4 6.9-1.6 7.3-6.4.5-5-3.7-7.6-7.3-6z' fill='%23f2a259'/%3E%3Cpath d='M12.6 7.6c1.2-2.6 4-3.8 6.4-3.2-1.2 2.4-3.6 3.6-6.4 3.2z' fill='%23111'/%3E%3C/svg%3E");
  --apricot-mark-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 8.2C8.4 6.6 4.2 9.2 4.7 14.2 5.2 19 9.1 21 12 20.6c3.1.4 6.9-1.6 7.3-6.4.5-5-3.7-7.6-7.3-6z' fill='%23f2a259'/%3E%3Cpath d='M12.6 7.6c1.2-2.6 4-3.8 6.4-3.2-1.2 2.4-3.6 3.6-6.4 3.2z' fill='%23fff'/%3E%3C/svg%3E");
}
.en::before {
  content: "";
  display: inline-block;
  width: 14px; height: 14px;
  background: var(--apricot-mark) center / contain no-repeat;
  margin-right: 7px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

/* 区切りの背景に、大きくうすい英語 */
.section { position: relative; overflow: hidden; }
.section[data-bg]::before {
  content: attr(data-bg);
  position: absolute;
  top: 28px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--en);
  font-weight: 600;
  font-size: clamp(72px, 13vw, 180px);
  line-height: 1;
  letter-spacing: .02em;
  color: rgba(242,162,89,.16); /* うすいあんず色（前は黒 rgba(0,0,0,.045)） */
  white-space: nowrap;
  pointer-events: none;
}
.section > .container { position: relative; }

/* ボタン（四角い形） */
.btn {
  display: inline-block;
  min-width: 200px;
  text-align: center;
  background: var(--ink);
  border: 1.5px solid var(--ink);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 36px;
  border-radius: 6px; /* 角を少しだけ丸く（前は 0） */
  transition: opacity .2s;
}
.btn:hover { opacity: .85; }
.btn--small { font-size: 13px; padding: 8px 18px; min-width: 0; }
.btn--large { font-size: 17px; padding: 18px 56px; min-width: 280px; }
.btn--outline {
  background: transparent;
  color: var(--ink);
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.more::before {
  content: "";
  width: 13px; height: 13px;
  background: var(--apricot-mark) center / contain no-repeat;
}

/* いちばん上の帯 */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  width: min(1160px, 100% - 40px);
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-family: var(--en);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: .02em;
  color: var(--apricot);
}
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--text-sub); }
.nav a:hover { color: var(--ink); }

/* 1 いちばん上 */
.hero { background: var(--tint); }
.hero__inner {
  width: min(1040px, 100% - 48px);
  margin: 0 auto;
  padding: 88px 0 96px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero__text { flex: 1; }
.hero__title {
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.5;
  color: var(--ink);
  margin: 12px 0 20px;
}
.hero__lead { color: var(--text-sub); }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
/* いちばん上の値段（1行で書く） */
.price-line { margin-top: 18px; font-size: 14px; color: var(--text); }
.price-line b { font-family: var(--en); font-weight: 600; font-size: 24px; margin-right: 8px; }
.hero__visual { flex: 0 0 min(500px, 46%); }

/* ノートパソコンとスマホ */
.devices { position: relative; width: 100%; padding: 0 0 6% 0; }
.laptop { width: 86%; margin-left: 5%; }
.laptop__screen {
  background: #121417;
  border-radius: 14px 14px 0 0;
  padding: 3% 3% 3.5%;
}
.laptop__view {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 3px;
  background: #000;
}
.laptop__track { display: flex; height: 100%; }
.laptop__track img { flex: none; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.laptop__base {
  position: relative;
  height: 14px;
  margin: 0 -6%;
  background: linear-gradient(#ededed, #cfcfcf);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 30px rgba(0,0,0,.16);
}
.laptop__base::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 16%; height: 5px;
  transform: translateX(-50%);
  background: #bdbdbd;
  border-radius: 0 0 6px 6px;
}
.phone {
  position: absolute;
  right: 0; bottom: 0;
  width: 25%;
  padding: 1%;
  border-radius: 20px;
  background: #121417;
  box-shadow: 0 16px 30px rgba(0,0,0,.25);
}
.phone__screen {
  position: relative;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}
/* スマホの上のカメラの印 */
.phone__screen::after {
  content: "";
  position: absolute;
  top: 3.5%; left: 50%;
  width: 30%; height: 3.4%;
  transform: translateX(-50%);
  background: #0b0b0b;
  border-radius: 999px;
  z-index: 2;
}
.phone__screen img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity .9s ease;
}
.phone__screen img.is-active { opacity: 1; }

/* 区切り */
.section { padding: 104px 0; }
.section--tint { background: var(--tint); }
/* 背景が白なので、区切りの間と札のまわりに細い線を引く */
.hero, .section { border-bottom: 1px solid var(--line); }
.reason, .types li, .flow li, .discount, .parts li { border: 1px solid var(--line); }
.section__title {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.5;
  color: var(--ink);
  margin: 8px 0 24px;
}
.section__lead { color: var(--text-sub); margin-bottom: 40px; max-width: 46em; /* 1行が長くなりすぎないように */ }
.section__lead:last-child { margin-bottom: 0; }

/* 2 こんなお店へ */
.checklist { display: grid; gap: 14px; margin-top: 8px; }
.checklist li {
  position: relative;
  padding: 18px 22px 18px 56px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 22px; top: 50%;
  width: 18px; height: 10px;
  border-left: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: translateY(-70%) rotate(-45deg);
}

/* 3 安さの理由 */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.reason {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 30px;
  text-align: center;
}
/* 番号を、両側の線ではさむ（—— 01 ——） */
.reason__num {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--en);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .08em;
  color: var(--ink);
  line-height: 1;
}
.reason__num::before,
.reason__num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ink);
}
.reason__title { font-size: 18px; color: var(--ink); margin: 16px 0 8px; line-height: 1.6; }
.reason p:last-child { text-align: left; }
.reason p:last-child { color: var(--text-sub); font-size: 15px; }

/* 4 料金 */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.plan {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
}
.plan__name { font-size: 20px; font-weight: 700; color: var(--ink); }
.plan__desc { color: var(--text-sub); font-size: 15px; margin: 8px 0 20px; }
.plan__price {
  margin-top: auto;
  font-family: var(--en);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.2;
  color: var(--ink);
}
.plan__price span, .plan__price small { font-family: var(--jp); font-weight: 700; font-size: 16px; }
.plan__price small { color: var(--text-sub); margin: 0 6px; }
.parts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.parts li {
  background: var(--tint);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 14px;
  white-space: nowrap;
}
.parts b { color: var(--ink); margin-right: 6px; }

.discount {
  margin-top: 20px;
  border-radius: 16px;
  padding: 32px 30px;
  background: var(--tint);
}
.discount__title { font-weight: 700; font-size: 18px; color: var(--ink); margin-bottom: 14px; }
.discount__title b { color: var(--ink); font-size: 22px; border-bottom: 3px solid var(--ink); }
.discount__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.discount__list b { font-family: var(--en); font-weight: 600; color: var(--ink); white-space: nowrap; }

.monthly {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.monthly__label { font-weight: 700; color: var(--ink); white-space: nowrap; }
.monthly__price { font-family: var(--en); font-weight: 600; font-size: 40px; line-height: 1; color: var(--ink); }
.monthly__price span { font-family: var(--jp); font-size: 16px; font-weight: 700; }
.monthly__desc { color: var(--text-sub); font-size: 14px; }

/* そのほかの料金（小さな表） */
.others {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 30px 14px;
}
.others__title { font-weight: 700; font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.others__list > div {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.others__list > div:last-child { border-bottom: none; }
.others__list dt { font-weight: 700; color: var(--ink); }
.others__list dd { color: var(--text-sub); }

/* 5 見本 */
.types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.types li {
  background: var(--white);
  border-radius: 12px;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}
.types small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 4px;
}
/* タイプの札の小さなイラスト（動かさない。マウスをのせたときだけ少しゆれる） */
.type-icon { display: block; width: 56px; height: 56px; margin-bottom: 6px; }
.types li:hover .type-icon { animation: wiggle .6s ease-in-out; }
@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-6deg); }
  75% { transform: rotate(6deg); }
}

/* 6 実績 */
.work { display: flex; align-items: center; gap: 48px; }
.work__image { flex: 1.3; }
.work__image img { border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.work__text { flex: 1; }
.work__tag { font-size: 13px; color: var(--text-sub); }
.work__title { font-family: var(--en); font-weight: 500; font-size: 28px; color: var(--ink); margin: 4px 0 12px; }
.work__text p:not(.work__tag):not(.work__parts-label) { color: var(--text-sub); font-size: 15px; margin-bottom: 20px; }
/* 実績で使ったパーツ（小さな札） */
.work__parts-label { font-size: 12px; font-weight: 700; color: var(--text-sub); margin-bottom: 8px; }
.work__parts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.work__parts li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 13px;
  white-space: nowrap;
}

/* 7 制作の流れ */
.flow { display: grid; gap: 12px; counter-reset: step; }
.flow li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 210px 1fr;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: 12px;
  padding: 16px 22px;
}
.flow li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--en);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
}
.flow b { color: var(--ink); }
.flow span { color: var(--text-sub); font-size: 15px; }

/* 8 よくある質問 */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-weight: 700;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--en);
  font-size: 24px;
  color: var(--ink);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--text-sub); }

/* 9 運営者の紹介 */
.about-wrap { display: flex; align-items: center; gap: 40px; }
.about { flex: 1; color: var(--text); }

/* イラスト（区切りごとの大きな絵。ゆっくりふわふわ浮く） */
.illust { flex: none; width: 180px; height: auto; }
.illust--float { animation: float 3.6s ease-in-out infinite; }
/* 区切りの見出しの右側に置く絵 */
.section__illust { position: absolute; top: -36px; right: 0; width: 150px; }
/* 申し込みの黒い帯の封筒 */
.cta__illust { display: block; width: 120px; margin: 0 auto 8px; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* 10 申し込み */
.cta {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 96px 0;
}
.cta .en { color: rgba(255,255,255,.6); }
.cta .en::before { background-image: var(--apricot-mark-light); }
.cta .btn { background: var(--white); border-color: var(--white); color: var(--ink); }
.cta__title { font-size: clamp(24px, 3vw, 32px); margin: 8px 0 12px; }
.cta__lead { color: rgba(255,255,255,.8); margin-bottom: 32px; }
.cta__sub { margin-top: 20px; font-size: 14px; color: rgba(255,255,255,.75); }
.cta__sub a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* いちばん下 */
.footer { border-top: 1px solid var(--line); }
.footer__inner {
  width: min(1160px, 100% - 40px);
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  align-items: center;
  gap: 32px;
}
.footer .logo { font-size: 20px; }
.footer__nav { display: flex; gap: 24px; font-size: 13px; color: var(--text-sub); }
.copyright { margin-left: auto; font-family: var(--en); font-size: 12px; color: var(--text-sub); }

/* ふわっと出てくる動き（控えめ） */
.js .fade { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .fade.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .fade { opacity: 1; transform: none; transition: none; }
  .illust--float, .types li:hover .type-icon { animation: none; }
}

/* スマホ */
@media (max-width: 768px) {
  body { font-size: 15px; }
  .pc-only { display: none; }
  .nav { display: none; }
  .about-wrap { flex-direction: column-reverse; align-items: center; gap: 24px; }
  .illust { width: 140px; }
  .section__illust { position: static; display: block; width: 96px; margin: -24px 0 4px auto; }
  .cta__illust { width: 96px; }
  .type-icon { width: 48px; height: 48px; }
  .header__inner { justify-content: space-between; height: 60px; }
  .logo { font-size: 23px; }

  .hero__inner { flex-direction: column; padding: 56px 0 64px; gap: 48px; text-align: center; }
  .hero__buttons { justify-content: center; }
  .price-line b { display: block; margin-right: 0; }
  .hero__title { font-size: 26px; }
  .reason__title { font-size: 17px; }
  .hero__visual { flex: none; width: 100%; max-width: 400px; margin: 0 auto; }
  .laptop__screen { border-radius: 10px 10px 0 0; }
  .laptop__base { height: 10px; border-radius: 0 0 10px 10px; }
  .phone { border-radius: 13px; }
  .phone__screen { border-radius: 10px; }

  .section { padding: 72px 0; }
  .reasons, .plans { grid-template-columns: 1fr; }
  .reason, .plan, .discount { padding: 26px 22px; }
  .discount__list li { flex-direction: column; gap: 2px; }
  .monthly { flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px; }
  .others { padding: 22px 22px 10px; }
  .others__list > div { grid-template-columns: 1fr; gap: 2px; font-size: 14px; }
  .types { grid-template-columns: repeat(2, 1fr); }

  .work { flex-direction: column; gap: 24px; align-items: stretch; }

  .flow li { grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 16px 18px; }
  .flow li::before { grid-row: span 2; font-size: 20px; }

  .cta { padding: 72px 0; }
  .btn--large { padding: 16px 48px; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .copyright { margin-left: 0; }
}

/* ===== 利用規約・個人情報の扱いのページ ===== */
.doc { padding: 56px 0 104px; }
.doc__title { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.5; color: var(--ink); margin: 8px 0 12px; }
.doc__lead { color: var(--text-sub); }
.toc { margin: 36px 0 8px; border: 1px solid var(--line); border-radius: 16px; padding: 20px 26px; }
.toc__title { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.toc ol { list-style: decimal; padding-left: 1.4em; font-size: 15px; }
.toc li { padding: 3px 0; }
.toc a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.toc a:hover { text-decoration-color: var(--ink); }
.doc__section { padding-top: 48px; }
.doc__body { margin-top: 36px; border-top: 1.5px solid var(--ink); }
.doc__section h2 { font-size: 22px; line-height: 1.5; color: var(--ink); padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1.5px solid var(--ink); }
.doc .qa { padding: 20px 0; border-bottom: 1px solid var(--line); }
.doc .qa:last-child { border-bottom: none; }
.qa h3 { font-size: 17px; line-height: 1.6; color: var(--ink); margin-bottom: 8px; }
.qa h3::before { content: "Q."; font-family: var(--en); font-weight: 600; margin-right: 8px; }
.doc p + p { margin-top: 10px; }
.doc b { color: var(--ink); }
.doc ul { margin-top: 8px; }
.doc ul + p { margin-top: 10px; }
.doc ul li { position: relative; padding-left: 1.1em; margin-top: 6px; }
.doc ul li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.doc-table { width: 100%; border-collapse: collapse; margin: 12px 0 4px; font-size: 15px; }
.doc-table th, .doc-table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.doc-table th { background: #f6f6f6; font-size: 14px; color: var(--ink); }
.doc-table--plan td:first-child { width: 34%; }
.doc-table .num { width: 7em; font-family: var(--en); font-weight: 600; color: var(--ink); white-space: nowrap; }
.doc-steps { counter-reset: docstep; margin: 16px 0 8px; display: grid; gap: 10px; }
.doc-steps li {
  counter-increment: docstep;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px 14px 60px;
  font-size: 15px;
  color: var(--text-sub);
}
.doc-steps li::before {
  content: counter(docstep, decimal-leading-zero);
  position: absolute;
  left: 18px; top: 13px;
  font-family: var(--en);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
}
.doc-steps b { display: block; color: var(--ink); margin-bottom: 2px; }
.doc__foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc__foot a, .qa a { text-decoration: underline; text-underline-offset: 3px; }
.doc__date { font-size: 14px; color: var(--text-sub); }

@media (max-width: 768px) {
  .doc { padding: 40px 0 72px; }
  .toc { padding: 16px 18px; }
  .doc__section h2 { font-size: 19px; }
  .qa h3 { font-size: 16px; }
  .doc-table { font-size: 14px; }
  .doc-table th, .doc-table td { padding: 8px 10px; }
  .doc-table--plan td:first-child { width: auto; }
  .doc-steps li { padding: 12px 14px 12px 50px; }
  .doc-steps li::before { left: 14px; font-size: 16px; }
}

/* ===== 申し込みのページ（料金シミュレーター＋申し込みフォーム） ===== */
[hidden] { display: none !important; }
button.btn { font-family: inherit; cursor: pointer; }
.header__back { margin-left: auto; font-size: 14px; color: var(--text-sub); }
.header__back:hover { color: var(--ink); }

.apply { padding: 56px 0 120px; }
.apply__title {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.5;
  color: var(--ink);
  margin: 8px 0 6px;
}
.apply__lead { color: var(--text-sub); }

/* 進み具合 */
.progress { margin: 36px 0 44px; }
.progress__label { display: flex; align-items: baseline; gap: 14px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.progress__num { font-family: var(--en); font-weight: 600; font-size: 13px; letter-spacing: .1em; color: var(--text-sub); }
.progress__num b { font-weight: 600; color: var(--ink); }
.progress__bar { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.progress__bar li { height: 4px; border-radius: 2px; background: var(--line); }
.progress__bar li.is-done { background: var(--ink); }

/* ステップ */
.step__title { font-size: 22px; line-height: 1.5; color: var(--ink); }
.step__lead { color: var(--text-sub); font-size: 15px; margin: 4px 0 36px; }
.step__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.step__nav [data-next] { margin-left: auto; }

/* 料金シミュレーター：左に質問、右に金額 */
.sim { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.sim__summary { position: sticky; top: 92px; }

/* 質問 */
.q { border: none; margin: 0 0 52px; padding: 0; min-width: 0; }
.q__title { display: block; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.6; margin-bottom: 6px; padding: 0; }
.q__num {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  margin-right: 10px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-family: var(--en);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  vertical-align: 2px;
}
.tag {
  display: inline-block;
  margin-left: 10px;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.8;
  vertical-align: 3px;
}
.tag--req { background: var(--ink); color: var(--white); }
.tag--opt { border: 1px solid var(--line); color: var(--text-sub); font-weight: 500; }
.q__help { font-size: 14px; color: var(--text-sub); margin-bottom: 16px; }
.q__error { font-size: 14px; font-weight: 700; color: #c4352b; margin-top: 10px; }

/* 選ぶ札（ラジオボタンは見えなくして、札そのものを押す。キーボードでも選べる） */
.choice-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.type-choice, .plan-choice {
  position: relative;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.type-choice {
  display: block;
  border-radius: 12px;
  padding: 14px 14px 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}
.type-choice img { width: 44px; height: 44px; margin-bottom: 4px; }
.type-choice small { display: block; font-weight: 400; font-size: 12px; color: var(--text-sub); margin-top: 2px; }
.type-choice:hover, .plan-choice:hover { border-color: #b5b5b5; }
.type-choice.is-checked, .plan-choice.is-checked { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
/* 選んだ札の右上の、黒い丸のチェック */
.type-choice.is-checked::after, .plan-choice.is-checked::after {
  content: "";
  position: absolute;
  top: 10px; right: 10px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.type-choice:has(.choice-input:focus-visible), .plan-choice:has(.choice-input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

.plan-choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.plan-choice { display: flex; flex-direction: column; border-radius: 16px; padding: 22px 24px; }
.plan-choice__name { font-size: 18px; font-weight: 700; color: var(--ink); }
.plan-choice__desc { font-size: 14px; color: var(--text-sub); margin: 4px 0 14px; }
.plan-choice__price { margin-top: auto; font-family: var(--en); font-weight: 600; font-size: 28px; line-height: 1.2; color: var(--ink); }
.plan-choice__price span, .plan-choice__price small { font-family: var(--jp); font-weight: 700; font-size: 14px; }
.plan-choice__price small { color: var(--text-sub); margin: 0 5px; }

/* パーツ */
.parts-box { border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px 10px; }
.parts-box + .parts-box { margin-top: 16px; }
.parts-box__title { font-weight: 700; color: var(--ink); line-height: 1.6; }
.parts-box__title .tag { vertical-align: 1px; }
.parts-box__help { font-size: 13px; color: var(--text-sub); margin: 2px 0 10px; }
.parts-group__title { font-size: 13px; font-weight: 700; color: var(--ink); margin: 18px 0 2px; }
.parts-group__title span { font-family: var(--en); font-weight: 500; color: var(--text-sub); margin-left: 8px; }
.part-list { border-top: 1px solid var(--line); }
.part { border-bottom: 1px solid var(--line); }
.part-list .part:last-child { border-bottom: none; }
.part__row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; cursor: pointer; }
.part__row input, .check-item input, .lang-choices input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--ink); cursor: pointer; }
.part__name { display: block; font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.6; }
.part__desc { display: block; font-size: 13px; color: var(--text-sub); line-height: 1.7; }
.part__price { font-family: var(--en); font-weight: 500; font-size: 14px; color: var(--ink); white-space: nowrap; text-align: right; margin-top: 1px; }
.part__price small { display: block; font-family: var(--jp); font-size: 11px; color: var(--text-sub); }
.part.is-fixed .part__row, .part.is-fixed input { cursor: default; }
.part.is-off .part__name { color: var(--text-sub); text-decoration: line-through; }
.part--lang .part__row { cursor: default; }
.lang-choices { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 0 0 14px 32px; font-size: 14px; }
.lang-choices label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.lang-choices input { margin-top: 0; }
.free-note { margin: 4px 0 14px; padding: 12px 14px; border-radius: 8px; background: #f6f6f6; font-size: 13px; }

/* 割引のチェック */
.check-list { display: grid; gap: 10px; }
.check-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  cursor: pointer;
}
.check-item small { display: block; font-size: 12px; color: var(--text-sub); margin-top: 2px; }
.check-item b { font-family: var(--en); font-weight: 600; color: var(--ink); white-space: nowrap; }

/* 書く欄 */
.textarea {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 16px; /* 16px より小さいと、iPhone で入力するときに画面が拡大される */
  color: var(--text);
  background: var(--white);
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  padding: 12px 14px;
  resize: vertical;
}
.textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }

/* 金額の目安 */
.summary { border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.summary__title { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.summary__empty { font-size: 14px; color: var(--text-sub); }
.summary__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; }
.summary__rows dt { color: var(--text-sub); }
.summary__rows dd { font-family: var(--en); font-weight: 500; white-space: nowrap; }
.summary__rows .is-sub { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1.5px solid var(--ink);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.summary__total { flex-wrap: wrap; }
.summary__total > span:first-child { white-space: nowrap; }
.summary__total > span:last-child { margin-left: auto; } /* 入りきらないときは、金額だけ次の行の右に */
.summary__total b { font-family: var(--en); font-weight: 600; font-size: 32px; line-height: 1.1; margin-right: 2px; }
.summary__msg { font-size: 13px; font-weight: 700; color: var(--ink); margin-top: 10px; }

/* STEP 2 から：ふつうの質問（1列で、幅を広げすぎない） */
.step--form { max-width: 720px; }
.field { margin-bottom: 36px; }
.field__label { display: block; font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.6; margin-bottom: 4px; }
.field__label .tag { vertical-align: 1px; }
.field__help { font-size: 13px; color: var(--text-sub); margin-bottom: 10px; }
.field__label + .input, .field__label + .options, .field__label + .field__row, .field__label + .field__sub { margin-top: 8px; }
.field__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field__sub { display: block; font-size: 13px; color: var(--text-sub); }
.field__sub + .field__sub { margin-top: 12px; }
.field__row .field__sub + .field__sub { margin-top: 0; }
.field__sub .input { margin-top: 4px; }
.field__error { font-size: 13px; font-weight: 700; color: #c4352b; margin-top: 8px; }

.input {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 16px; /* 16px より小さいと、iPhone で入力するときに画面が拡大される */
  color: var(--text);
  background: var(--white);
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  padding: 11px 14px;
}
.input--short { max-width: 360px; }
.input::placeholder { color: #a8a8a8; }
.input:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.has-error .input { border-color: #c4352b; }

/* 選ぶ質問（丸いボタンの札） */
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.option:hover { border-color: #b5b5b5; }
.option input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.option.is-checked { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.option.is-disabled { opacity: .45; cursor: not-allowed; }
.option.is-disabled input { cursor: not-allowed; }
.has-error .option { border-color: #e3a9a4; }
.options--wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.options--compact { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
/* 「その他」を選んだときの記入欄（すぐ上の質問にくっつけて出す） */
.field--follow { margin-top: -22px; }
/* 同意事項：読んでいただくページへのリンク */
.doc-links { border: 1px solid var(--line); border-radius: 12px; padding: 6px 20px; margin-bottom: 20px; }
.doc-links li + li { border-top: 1px solid var(--line); }
.doc-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.doc-links a::before {
  content: "";
  flex: none;
  width: 13px; height: 13px;
  background: var(--apricot-mark) center / contain no-repeat;
}
.doc-links a::after { content: "↗"; margin-left: auto; font-family: var(--en); color: var(--text-sub); }
.doc-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.check-item--agree { font-weight: 700; color: var(--ink); }
.check-item--agree .tag { vertical-align: 1px; }
.has-error .check-item { border-color: #e3a9a4; }

/* 入力内容の確認 */
.confirm-block { border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px 8px; }
.confirm-block + .confirm-block { margin-top: 16px; }
.confirm-block__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.confirm-block__title { font-weight: 700; color: var(--ink); }
.confirm-block__edit {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 4px 14px;
  cursor: pointer;
}
.confirm-block__edit:hover { background: var(--ink); color: var(--white); }
.confirm-list > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.confirm-list > div:last-child { border-bottom: none; }
.confirm-list dt { color: var(--text-sub); font-size: 14px; }
.confirm-list dd { color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.confirm-list__none { color: #a8a8a8; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; white-space: normal; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; font-size: 13px; }
.confirm-price { margin: 4px 0 16px; padding: 16px 18px; border-radius: 12px; background: #f6f6f6; }
.contract-note {
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

/* いたずら対策の見えない欄 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* 送信できなかったときのお知らせ */
.send-error { margin-top: 16px; font-size: 14px; font-weight: 700; color: #c4352b; }
.send-error a { text-decoration: underline; text-underline-offset: 3px; }

/* 送ったあとの画面 */
.done { max-width: 720px; margin: 0 auto; padding: 24px 0 40px; text-align: center; }
.done__illust { display: block; width: 140px; margin: 0 auto 12px; }
.done__title { font-size: clamp(22px, 3vw, 28px); line-height: 1.5; color: var(--ink); margin: 8px 0 20px; }
.done__receipt { display: inline-flex; align-items: center; gap: 12px; margin: -4px 0 24px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.done__receipt b { font-family: var(--en); font-size: 16px; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.done__text { margin-bottom: 10px; }
.done__text b { color: var(--ink); }
.done__mail { max-width: 560px; margin: 24px auto 0; padding: 16px 20px; border: 1.5px solid var(--ink); border-radius: 10px; text-align: left; font-size: 14px; line-height: 1.8; }
.done__mail-title { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.done__mail b { color: var(--ink); word-break: break-all; }
.done .note { margin-top: 20px; }
.done .note a { text-decoration: underline; text-underline-offset: 3px; }
.done__buttons { margin-top: 36px; }

/* 選んだ答えによって出すお知らせ */
.info-note { margin: -20px 0 36px; padding: 14px 16px; border-radius: 8px; background: #f6f6f6; font-size: 14px; line-height: 1.8; }

/* スマホの下の金額の帯（パソコンでは出さない） */
.sumbar { display: none; }

@media (max-width: 768px) {
  .apply { padding: 40px 0 120px; }
  .progress { margin: 28px 0 36px; }
  .step__title { font-size: 20px; }
  .sim { grid-template-columns: 1fr; gap: 0; }
  .sim__summary { position: static; }
  .q { margin-bottom: 44px; }
  .q__title { font-size: 17px; }
  .type-choices { grid-template-columns: repeat(2, 1fr); }
  .plan-choices { grid-template-columns: 1fr; }
  .parts-box { padding: 18px 16px 6px; }
  .part__row { gap: 10px; }
  .lang-choices { padding-left: 30px; }
  .check-item { padding: 14px; font-size: 14px; }
  .step__nav .btn { min-width: 0; flex: 1; padding-left: 12px; padding-right: 12px; }
  .field__row { grid-template-columns: 1fr; }
  .field__row .field__sub + .field__sub { margin-top: 0; }
  .options, .options--wide { grid-template-columns: 1fr; }
  .confirm-block { padding: 16px 16px 4px; }
  .confirm-list > div { grid-template-columns: 1fr; gap: 2px; font-size: 14px; }
  .confirm-list dt { font-size: 12px; }
  .done { text-align: left; }
  .done__illust { margin-left: 0; width: 110px; }
  .options--compact { grid-template-columns: repeat(2, 1fr); }

  .sumbar {
    display: flex;
    align-items: center;
    gap: 12px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 20;
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
    background: var(--ink);
    color: var(--white);
    font-size: 13px;
  }
  .sumbar__price { margin-left: auto; font-weight: 700; }
  .sumbar__price b { font-family: var(--en); font-weight: 600; font-size: 22px; margin-right: 2px; }
  .sumbar__link { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; color: rgba(255,255,255,.8); }
}

/* ===== お客様専用ページ（文章と写真をお送りいただくページ） ===== */
.fpage { max-width: 760px; }
.fpage__intro { margin: 28px 0 32px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; line-height: 1.9; }
.fpage__intro li { position: relative; padding-left: 16px; }
.fpage__intro li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }

/* 目次 */
.ftoc { margin-bottom: 56px; }
.ftoc__title { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.ftoc__list { border-top: 1px solid var(--line); }
.ftoc__list li { border-bottom: 1px solid var(--line); }
.ftoc__list a { display: flex; align-items: center; gap: 12px; padding: 11px 2px; font-size: 15px; color: var(--ink); }
.ftoc__list a:hover > span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.ftoc__state { margin-left: auto; flex: none; padding: 1px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.8; }
.ftoc__state.is-done { background: var(--ink); color: var(--white); }
.ftoc__state.is-partial { border: 1px solid var(--ink); color: var(--ink); }
.ftoc__state.is-empty { border: 1px solid #e3a9a4; color: #c4352b; }
.ftoc__state.is-optional { border: 1px solid var(--line); color: var(--text-sub); font-weight: 500; }

/* 区切り（お店について・パーツごと・写真） */
.fsec { padding: 44px 0 8px; border-top: 1.5px solid var(--ink); scroll-margin-top: 80px; }
.fsec__head { margin-bottom: 28px; }
.fsec__kind { font-size: 12px; font-weight: 700; color: var(--text-sub); letter-spacing: .08em; }
.fsec__title { font-size: 22px; line-height: 1.5; color: var(--ink); }
.fsec__lead { color: var(--text-sub); font-size: 14px; margin: -16px 0 28px; }
.fsec .free-note { margin: -16px 0 36px; font-size: 13px; line-height: 1.8; }
.field__value { margin-top: 6px; padding: 10px 14px; border-radius: 8px; background: #f6f6f6; font-size: 15px; }
/* 写真：お願いしたい写真の一覧 */
.photo-plan { margin-bottom: 36px; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px 6px; }
.photo-plan__title { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.photo-plan li { display: grid; grid-template-columns: 9em minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.photo-plan__name { font-weight: 700; color: var(--ink); }
.photo-plan__desc { color: var(--text-sub); font-size: 13px; }
.photo-plan__count { font-size: 13px; white-space: nowrap; text-align: right; }
/* 写真を選ぶボタンと、選んだ写真 */
.photo-up { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.photo-up__btn { position: relative; cursor: pointer; }
.photo-up__btn:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.photo-up__count { font-size: 14px; color: var(--text-sub); }
.photo-up__count b { font-family: var(--en); font-size: 18px; font-weight: 600; color: var(--ink); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 16px 0 36px; }
.photo-card { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 12px; }
.photo-card__img { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #f3f3f3; margin-bottom: 10px; }
.photo-card__img img { width: 100%; height: 100%; object-fit: cover; }
.photo-card .field__sub + .field__sub { margin-top: 8px; }
.select { appearance: none; padding-right: 34px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5l3.5 3.5 3.5-3.5' fill='none' stroke='%23111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 12px no-repeat; cursor: pointer; }
.photo-card__del { position: absolute; top: 16px; right: 16px; padding: 3px 10px; border: none; border-radius: 999px; background: rgba(17,17,17,.75); color: var(--white); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.photo-card__del:hover { background: var(--ink); }

.photo-card__img span { display: grid; place-items: center; height: 100%; font-size: 12px; color: var(--text-sub); }
.photo-card__status { min-height: 1.6em; margin: -4px 0 6px; font-size: 12px; font-weight: 700; color: var(--text-sub); }
.photo-card__status.is-done { color: var(--ink); }
.photo-card__status.is-done::before { content: "✓ "; }
.photo-card__status.is-error { color: #c4352b; }
.photo-card__status button { margin-left: 8px; padding: 0; border: none; background: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* 自動保存の状態（上の帯の右） */
.save-status { margin-left: auto; font-size: 12px; color: var(--text-sub); text-align: right; line-height: 1.5; }
.save-status.is-ok::before { content: "✓ "; color: var(--ink); }
.save-status.is-error { color: #c4352b; font-weight: 700; }
/* 「そろいました」を押したあとのお知らせ */
.fpage__done { margin: 24px 0 0; padding: 14px 18px; border: 1.5px solid var(--ink); border-radius: 10px; font-size: 14px; line-height: 1.8; }
.fpage__done b { display: block; color: var(--ink); }
/* 必須の質問が空いているときの確認 */
.finish-check { margin-top: 20px; padding: 18px 20px; border: 1.5px solid #c4352b; border-radius: 12px; font-size: 14px; line-height: 1.8; }
.finish-check ul { margin: 6px 0 10px; padding-left: 0; }
.finish-check li { position: relative; padding-left: 14px; }
.finish-check li::before { content: "・"; position: absolute; left: 0; }
.finish-check__buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.finish-msg { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--ink); }
.finish-msg.is-error { color: #c4352b; }

.fsec--finish { margin-top: 24px; padding-bottom: 0; }

/* ===== お見積もりの承諾のページ ===== */
.est-loading { color: var(--text-sub); margin-top: 24px; }
.est-error { margin-top: 24px; }
.est-error a { text-decoration: underline; text-underline-offset: 3px; }
.est { margin-top: 32px; padding: 28px 30px; border: 1px solid var(--line); border-radius: 16px; }
.est__meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 20px; font-size: 13px; color: var(--text-sub); }
.est__meta div { display: flex; gap: 8px; }
.est__meta dd { color: var(--ink); font-family: var(--en); }
.est__to { display: inline-block; margin-top: 18px; padding: 0 36px 2px 0; border-bottom: 1.5px solid var(--ink); font-size: 20px; font-weight: 700; color: var(--ink); }
.est__amount { margin-top: 18px; font-weight: 700; color: var(--ink); }
.est__amount b { font-family: var(--en); font-size: 32px; margin-left: 14px; }
.est__small { font-size: 13px; color: var(--text-sub); }
.est__table { width: 100%; border-collapse: collapse; margin: 20px 0 22px; font-size: 14px; }
.est__table th { background: var(--ink); color: var(--white); text-align: left; font-size: 13px; padding: 8px 12px; }
.est__table td { border-bottom: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.est__table .num { text-align: right; white-space: nowrap; font-family: var(--en); }
.est__table tfoot td { border-top: 1.5px solid var(--ink); border-bottom: none; font-weight: 700; font-size: 16px; color: var(--ink); }
.est__sub { display: block; font-size: 12px; color: var(--text-sub); margin-top: 2px; }
.est__notes { font-size: 13px; line-height: 1.8; }
.est__notes-title { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.est__notes li { position: relative; padding-left: 14px; }
.est__notes li::before { content: "・"; position: absolute; left: 0; }
.est-approve { margin-top: 32px; }
.est-approve .check-item a { text-decoration: underline; text-underline-offset: 3px; }
.est-approve .contract-note { margin-top: 18px; }
.est-approve__btn { margin-top: 20px; }
.est-question { margin-top: 28px; font-size: 13px; color: var(--text-sub); }
[data-expired] { margin-top: 28px; }
.fsec--finish .fsec__title { margin-bottom: 8px; }
.fsec--finish .fsec__lead { margin: 0 0 24px; }

@media (max-width: 768px) {
  .fpage__intro { padding: 16px 16px; }
  .fsec { padding-top: 36px; }
  .fsec__title { font-size: 20px; }
  .fsec--finish .btn { width: 100%; }
  .photo-plan { padding: 14px 16px 4px; }
  .photo-plan li { grid-template-columns: minmax(0, 1fr) auto; }
  .photo-plan__desc { grid-column: 1 / -1; grid-row: 2; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .photo-card { padding: 8px 8px 10px; }
  .photo-card__del { top: 12px; right: 12px; }
  .save-status { max-width: 62%; font-size: 11px; }
  .finish-check { padding: 16px; }
  .finish-check__buttons .btn { flex: 1; min-width: 0; }
  .est { padding: 20px 16px; }
  .est__meta { justify-content: flex-start; }
  .est__to { font-size: 18px; }
  .est__amount b { font-size: 28px; }
  .est__table th, .est__table td { padding-left: 8px; padding-right: 8px; }
  .est-approve__btn .btn { width: 100%; }
}


/* ==== ご感想のページ（kansou.html） ==== */
.kansou { margin-top: 32px; }
.kansou__other { margin-top: 12px; }
.kansou__other .input { max-width: 420px; }
.kansou .fpage__done { margin-bottom: 4px; }
