@charset "UTF-8";

:root {
  --paper: #e4f1ec;
  --paper-deep: #c5ddd4;
  --card: #f7fbf9;
  --ink: #14343c;
  --ink-soft: #3c5c63;
  --rule: rgba(20, 52, 60, .12);
  --accent: #0c6f8c;
  --accent-deep: #0a5870;
  --error: #c4452d;
  --line-green: #06c755;

  --f-head: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-body: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-mono: "JetBrains Mono", monospace;

  --wrap: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-font-smoothing: antialiased;
}

/* 紙の繊維感 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .22 0 0 0 0 .36 0 0 0 0 .34 0 0 0 .45 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.mono { font-family: var(--f-mono); letter-spacing: .08em; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.sp-only { display: none; }

/* ---------- ボタン ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .95em 1.8em;
  border: 2px solid var(--ink);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.3;
  cursor: pointer;
  background: var(--card);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.btn--shu { background: #c4452d; color: #fff; }
.btn--shu:hover { background: #9e3320; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); }
.btn--ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--accent); }
.btn--ink:hover { box-shadow: 6px 6px 0 var(--accent); }
.btn--line { background: var(--line-green); color: #fff; }
.btn--wide { width: 100%; font-size: 1.1rem; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(228, 241, 236, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  border-bottom-color: rgba(30, 42, 56, .18);
  box-shadow: 0 6px 18px -14px rgba(30, 42, 56, .6);
}
.site-header__inner {
  max-width: var(--wrap);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.brand__mark { width: 38px; height: 38px; color: var(--ink); }
.brand__text {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.2;
}
.brand__text small {
  display: block;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: .7rem;
  color: var(--ink-soft);
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.global-nav a {
  position: relative;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  padding: .3em 0;
}
.global-nav a:not(.global-nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.global-nav a:hover::after,
.global-nav a.is-current::after { transform: scaleX(1); }
.global-nav__cta {
  padding: .55em 1.1em !important;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background-color .2s, color .2s;
}
.global-nav__cta:hover { background: var(--accent); border-color: var(--accent); }

/* 電話番号（PCは番号表示、スマホはアイコンボタン） */
.header-tel {
  order: 3;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: 1.6rem;
  text-decoration: none;
  color: var(--ink);
}
.header-tel__icon {
  width: 34px; height: 34px;
  padding: 7px;
  flex: none;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
}
.header-tel__text { display: flex; flex-direction: column; line-height: 1.25; }
.header-tel__num { font-size: 1.05rem; font-weight: 700; letter-spacing: .04em; }
.header-tel__text small { font-size: .68rem; line-height: 1.3; color: var(--ink-soft); white-space: nowrap; }
.header-tel:hover .header-tel__num { color: var(--accent); }
.header-tel:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* メニュー内の電話ブロック（PCではヘッダーに出ているので非表示） */
.nav-tel { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 2px solid var(--ink);
  background: var(--card);
  cursor: pointer;
  position: relative;
}
.nav-toggle span:not(.visually-hidden) {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ヒーロー ---------- */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-areas:
    "copy visual"
    "facts facts";
  gap: 40px 56px;
  align-items: center;
}
.hero > *,
.area__grid > *,
.price__layout > *,
.company__layout > *,
.contact__layout > * { min-width: 0; }
.hero__copy { grid-area: copy; }
.hero__eyebrow {
  display: inline-block;
  margin: 0 0 1.2rem;
  padding: .2em .8em;
  border: 1px solid var(--ink);
  font-size: .85rem;
  background: var(--card);
}
.hero__title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.7vw, 3.3rem);
  line-height: 1.35;
  letter-spacing: .02em;
}
.hero__title .line { display: block; white-space: nowrap; }
.hero__title em {
  font-style: normal;
  position: relative;
  color: var(--accent);
  white-space: nowrap;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: -.05em; right: -.05em; bottom: .05em;
  height: .28em;
  background: rgba(12, 111, 140, .22);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  animation: marker 1s .9s var(--ease) forwards;
}
.hero__lead {
  margin: 1rem 0 .6rem;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}
.hero__text { margin: 0 0 2rem; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__tel { margin: 22px 0 0; font-weight: 700; line-height: 1.6; }
.hero__tel a { font-size: 1.15rem; color: var(--accent-deep); text-decoration: none; border-bottom: 2px solid currentColor; }
.hero__tel a:hover { color: var(--accent); }
.hero__tel small { font-size: .8rem; font-weight: 400; color: var(--ink-soft); }

.hero__visual {
  grid-area: visual;
  position: relative;
  margin: 0;
}
.hero__visual img {
  width: 100%;
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--paper-deep), 10px 10px 0 2px var(--ink);
  transform: rotate(1.2deg);
}
.hero__stamp {
  position: absolute;
  left: -34px;
  bottom: -30px;
  width: 150px;
  height: 150px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--accent);
  background: rgba(244, 250, 247, .92);
  box-shadow: inset 0 0 0 5px rgba(244, 250, 247, .92), inset 0 0 0 6px var(--accent);
  font-family: var(--f-head);
  transform: rotate(-12deg) scale(1.6);
  opacity: 0;
  animation: stamp .45s 1.3s cubic-bezier(.3, 1.6, .5, 1) forwards;
}
.hero__stamp-sub { font-size: .72rem; font-weight: 600; }
.hero__stamp-main { font-size: 1.25rem; font-weight: 800; line-height: 1.25; }

.hero__facts {
  grid-area: facts;
  display: flex;
  flex-wrap: wrap;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.hero__facts li {
  flex: 1 1 220px;
  padding: 14px 18px;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: .8em;
}
.hero__facts li + li { border-left: 1px dashed rgba(30, 42, 56, .4); }
.hero__facts .mono { font-size: .72rem; color: var(--accent); }

/* ---------- セクション共通 ---------- */
.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 96px 24px;
}
.section__head { margin-bottom: 44px; max-width: 720px; }
.section__num {
  margin: 0 0 .4rem;
  font-size: .78rem;
  color: var(--accent);
}
.section__title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.4;
}
.section__desc { margin: 1rem 0 0; color: var(--ink-soft); }

/* スクロール出現 */
.reveal {
  opacity: 0;
  transform: translateY(28px) rotate(-.6deg);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- お悩み（チェック票） ---------- */
.trouble { display: grid; grid-template-columns: 1fr; }
.ticket {
  position: relative;
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}
.ticket::before {
  /* 綴じ穴 */
  content: "";
  position: absolute;
  top: 58px; bottom: 80px; left: 18px;
  width: 10px;
  background: radial-gradient(circle, var(--paper) 4px, transparent 5px) 0 0 / 10px 34px repeat-y;
}
.ticket__header {
  display: flex;
  justify-content: space-between;
  padding: 12px 24px 12px 48px;
  border-bottom: 2px solid var(--ink);
  font-size: .8rem;
  background: var(--ink);
  color: var(--paper);
}
.ticket__no { color: #e9a08f; }
.checklist {
  margin: 0;
  padding: 8px 24px 8px 48px;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
}
.checklist li { border-bottom: 1px dashed rgba(30, 42, 56, .3); }
.checklist li:last-child { border-bottom: 0; }
.checklist__other { grid-column: 1 / -1; }
.check {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 4px;
  border: 0;
  background: none;
  text-align: left;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.6;
  cursor: pointer;
  transition: color .2s;
}
.check:hover { color: var(--accent-deep); }
.check:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.check__box {
  flex: none;
  width: 28px; height: 28px;
  border: 2px solid var(--ink);
  background: #fff;
  display: grid;
  place-items: center;
  transition: transform .2s var(--ease);
}
.check:active .check__box { transform: scale(.88); }
.check__box svg { width: 26px; height: 26px; overflow: visible; }
.check__box path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 26;
  stroke-dashoffset: 26;
  transition: stroke-dashoffset .35s var(--ease);
}
.check[aria-pressed="true"] .check__box path { stroke-dashoffset: 0; }
.check[aria-pressed="true"] { color: var(--ink); }

.ticket__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px 22px 48px;
  border-top: 2px solid var(--ink);
  background:
    repeating-linear-gradient(-45deg, transparent 0 8px, rgba(30, 42, 56, .04) 8px 9px);
}
.ticket__result { margin: 0; display: flex; align-items: baseline; gap: .4em; font-weight: 700; }
.ticket__count {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--accent);
  display: inline-block;
  min-width: 1.2ch;
}
.ticket__count.is-bump { animation: bump .35s var(--ease); }

.note {
  margin-top: 36px;
  padding: 20px 24px 20px 64px;
  position: relative;
  border-left: 4px solid var(--error);
  background: #fbe8e3;
}
.note::before {
  content: "!";
  position: absolute;
  left: 20px; top: 20px;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--error);
  color: #fff;
  font-family: var(--f-mono);
  font-weight: 700;
}
.note p { margin: 0; }
.note__title { font-weight: 700; margin-bottom: .3rem !important; }

/* ---------- 対応エリア・OS ---------- */
.area__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.area__map {
  margin: 0;
  background: var(--card);
  border: 2px solid var(--ink);
  padding: 16px;
}
.area__frame {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ink);
}
.area__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 1rem;
  margin-top: 10px;
  font-size: .85rem;
  color: var(--ink-soft);
}
.area__caption a { color: var(--accent); font-weight: 700; }

.area__h {
  margin: 0 0 .5rem;
  font-family: var(--f-head);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.area__h::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
.area__body p { margin: 0 0 .6rem; }
.area__body .area__h:not(:first-child) { margin-top: 2rem; }

.os-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 2px solid var(--ink);
}
.os-table th,
.os-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(30, 42, 56, .2);
  text-align: left;
}
.os-table th { font-weight: 700; width: 58%; }
.os-table tr:last-child > * { border-bottom: 0; }
.mark {
  display: inline-grid;
  place-items: center;
  width: 1.7em; height: 1.7em;
  margin-right: .5em;
  font-weight: 700;
}
.mark--ok { color: var(--accent); }
.mark--ask { color: var(--ink-soft); }

.promise {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--accent);
}
.promise__stamp {
  flex: none;
  margin: 0;
  width: 96px; height: 96px;
  display: grid;
  place-items: center;
  border: 3px double var(--accent);
  border-radius: 50%;
  color: #7ec8dc;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.5rem;
  transform: rotate(-10deg);
}
.promise__title {
  margin: 0 0 .3rem;
  font-family: var(--f-head);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
}
.promise p { margin: 0; opacity: .85; }

/* ---------- 料金 ---------- */
.price__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.receipt {
  position: relative;
  padding: 36px 36px 32px;
  background: #fffdf7;
  border: 1px solid rgba(30, 42, 56, .25);
  box-shadow: 0 18px 30px -24px rgba(30, 42, 56, .7);
}
.receipt::before,
.receipt::after {
  /* レシートのギザギザ */
  content: "";
  position: absolute;
  left: -1px; right: -1px;
  height: 10px;
  background:
    linear-gradient(135deg, var(--paper) 50%, transparent 50%) 0 0 / 14px 10px,
    linear-gradient(-135deg, var(--paper) 50%, transparent 50%) 0 0 / 14px 10px;
}
.receipt::before { top: -1px; }
.receipt::after { bottom: -1px; transform: scaleY(-1); }
.receipt__head {
  margin: 0 0 1.2rem;
  text-align: center;
  font-size: .85rem;
  color: var(--ink-soft);
}
.receipt__list { margin: 0; }
.receipt__list div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 0;
}
.receipt__list dt { font-weight: 700; }
.receipt__list dd {
  margin: 0 0 0 auto;
  font-family: var(--f-mono);
  font-weight: 700;
  white-space: nowrap;
  order: 2;
}
.receipt__list div::before {
  content: "";
  order: 1;
  flex: 1;
  border-bottom: 2px dotted rgba(30, 42, 56, .35);
  transform: translateY(-4px);
}
.receipt__list div:first-child dd { color: var(--accent); }
.receipt__foot {
  margin: 1.4rem 0 0;
  padding-top: 1rem;
  border-top: 1px dashed rgba(30, 42, 56, .4);
  font-size: .85rem;
  color: var(--ink-soft);
}

.price__photo { margin: 0; }
.price__photo img { border: 2px solid var(--ink); }
.price__photo figcaption {
  margin-top: -28px;
  margin-left: 24px;
  position: relative;
  padding: 18px 20px;
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--accent);
}
.price__photo figcaption strong {
  display: block;
  font-family: var(--f-head);
  font-size: 1.3rem;
  color: var(--accent);
}

/* ---------- 会社概要 ---------- */
.company__layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.company-table th,
.company-table td {
  padding: 16px 12px;
  border-bottom: 1px solid rgba(30, 42, 56, .2);
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 8em;
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink-soft);
}
.company-table a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.company__photo { margin: 0; }
.company__photo img {
  border: 2px solid var(--ink);
  transform: rotate(-1.2deg);
  box-shadow: 8px 8px 0 var(--paper-deep), 8px 8px 0 2px var(--ink);
}

/* ---------- お問い合わせ ---------- */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 40px;
  align-items: start;
}
.line-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 28px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-top: 10px solid var(--line-green);
}
.line-card__lead {
  margin: 0 0 .8rem;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.5;
}
.line-card__text { margin: 0 0 1.4rem; font-size: .92rem; color: var(--ink-soft); }
.btn-line-add {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .8em 1.4em;
  border-radius: 999px;
  background: var(--line-green);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: filter .2s, transform .2s var(--ease);
}
.btn-line-add svg { width: 26px; height: 26px; }
.btn-line-add:hover { filter: brightness(1.08); transform: translateY(-2px); }
.line-card__id { margin: .9rem 0 0; font-size: .85rem; color: var(--ink-soft); }

.mail-form {
  padding: 36px;
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}
.field { margin-bottom: 22px; }
.field label {
  display: flex;
  align-items: center;
  gap: .6em;
  margin-bottom: 6px;
  font-weight: 700;
}
.req {
  padding: 0 .5em;
  font-size: .72rem;
  line-height: 1.7;
  color: #fff;
  background: var(--accent);
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 2px solid rgba(30, 42, 56, .45);
  border-radius: 0;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 10em; }
.field input::placeholder,
.field textarea::placeholder { color: #9aa0a8; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 4px 4px 0 rgba(12, 111, 140, .35);
}
.field.is-error input,
.field.is-error textarea { border-color: var(--error); background: #fff6f4; }
.field__msg {
  margin: 6px 0 0;
  font-size: .85rem;
  font-weight: 700;
  color: var(--error);
}
.agree__note { margin: 30px 0 12px; font-size: .9rem; color: var(--ink-soft); }
.agree__note a,
.agree a { color: var(--accent-deep); text-underline-offset: 3px; }
.field--agree { margin-bottom: 10px; }
.field .agree {
  margin: 0;
  cursor: pointer;
  line-height: 1.6;
}
.field .agree input {
  flex: none;
  width: 22px; height: 22px;
  margin: 0;
  padding: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.field .agree input:focus { box-shadow: none; }
.field .agree input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.field.is-error .agree input { outline: 2px solid var(--error); outline-offset: 2px; }

/* 機械的な送信の見分け用の欄。画面外に置いて人には見せない */
.mail-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.mail-form__submit { margin-top: 30px; }
.mail-form__note { margin: 0 0 14px; font-size: .88rem; color: var(--ink-soft); }
.mail-form__error { margin: 12px 0 0; min-height: 1.4em; color: var(--error); font-weight: 700; }

.btn__spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.is-sending .btn__spinner { display: inline-block; }
.is-sending button[type="submit"] { pointer-events: none; opacity: .8; }
.mail-form button[type="submit"]:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- プライバシーポリシー・利用規約 ---------- */
.policy__list { display: grid; gap: 20px; }
.policy-doc {
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--paper-deep), 6px 6px 0 2px var(--ink);
}
.policy-doc__summary {
  display: flex;
  align-items: baseline;
  gap: .9em;
  padding: 18px 56px 18px 24px;
  position: relative;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.2rem;
  list-style: none;
  cursor: pointer;
}
.policy-doc__summary::-webkit-details-marker { display: none; }
.policy-doc__summary .mono { font-family: var(--f-mono); font-size: .72rem; color: var(--accent); }
.policy-doc__summary::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  width: 28px; height: 28px;
  margin-top: -14px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  font-family: var(--f-mono);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform .25s var(--ease);
}
.policy-doc[open] .policy-doc__summary::after { transform: rotate(45deg); }
.policy-doc__summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.policy-doc__body {
  max-height: 24rem;
  overflow-y: auto;
  padding: 4px 24px 24px;
  border-top: 2px solid var(--ink);
  font-size: .92rem;
  line-height: 1.85;
  overscroll-behavior: contain;
}
.policy-doc__body:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.policy-doc__body h3 {
  margin: 1.6rem 0 .4rem;
  font-size: 1rem;
  color: var(--accent-deep);
}
.policy-doc__body p { margin: 0 0 .6rem; }
.policy-doc__body ul { margin: 0 0 .6rem; padding-left: 1.4em; }
.policy-doc__body a { color: var(--accent-deep); text-underline-offset: 3px; }
.policy-doc__date { margin-top: 1.6rem !important; text-align: right; color: var(--ink-soft); }

/* ---------- 完了ダイアログ ---------- */
.done-dialog {
  width: min(92vw, 460px);
  padding: 44px 32px 32px;
  border: 2px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  text-align: center;
  box-shadow: 10px 10px 0 var(--ink);
}
.done-dialog::backdrop { background: rgba(30, 42, 56, .55); backdrop-filter: blur(2px); }
.done-dialog[open] { animation: sheet-in .45s var(--ease); }
.done-dialog__stamp {
  width: 92px; height: 92px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border: 3px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.6rem;
  opacity: 0;
  transform: rotate(-14deg) scale(1.8);
}
.done-dialog[open] .done-dialog__stamp { animation: stamp .4s .3s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.done-dialog__title { margin: 0 0 .8rem; font-family: var(--f-head); font-size: 1.4rem; }
.done-dialog p { margin: 0 0 .8rem; }
.done-dialog__email { word-break: break-all; }
.done-dialog__small { font-size: .82rem; color: var(--ink-soft); }
.done-dialog form { margin-top: 1.4rem; }

/* ---------- フッター ---------- */
.site-footer {
  margin-top: 40px;
  padding: 48px 24px 40px;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  font-size: .88rem;
}
.site-footer p { margin: 0 0 .3rem; }
.site-footer__name { font-family: var(--f-head); font-weight: 800; font-size: 1.15rem; }
.site-footer__links { display: flex; justify-content: center; gap: 1.6em; margin-top: .9rem !important; }
.site-footer__links a { text-underline-offset: 3px; }
.site-footer__copy { margin-top: 1.2rem !important; font-size: .75rem; opacity: .6; }

/* ---------- アニメーション ---------- */
@keyframes stamp {
  0% { opacity: 0; transform: rotate(-12deg) scale(1.6); }
  70% { opacity: 1; transform: rotate(-12deg) scale(.94); }
  100% { opacity: 1; transform: rotate(-12deg) scale(1); }
}
@keyframes marker { to { transform: scaleX(1); } }
@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.4) rotate(-6deg); }
  100% { transform: scale(1); }
}
@keyframes sheet-in {
  from { transform: translateY(24px) rotate(-1.5deg); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- レスポンシブ ---------- */
@media (min-width: 1081px) {
  .global-nav { margin-left: auto; }
}

/* ヘッダーは電話番号の分だけ早めにハンバーガーへ切り替える */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .global-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .global-nav li { border-bottom: 1px dashed rgba(30, 42, 56, .3); }
  .global-nav li:last-child { border-bottom: 0; padding-top: 14px; }
  .global-nav a { display: block; padding: 14px 0; }
  .global-nav__cta { text-align: center; }

  .nav-tel {
    display: block;
    margin: 0 24px 24px;
    padding: 14px 16px;
    border: 2px solid var(--ink);
    background: var(--card);
    text-align: center;
  }
  .global-nav .nav-tel__call {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    color: var(--accent-deep);
  }
  .global-nav .nav-tel__call::after { display: none; }
  .nav-tel__label { font-size: .8rem; color: var(--ink-soft); }
  .nav-tel__num { font-size: 1.4rem; line-height: 1.3; }
  .nav-tel__hours { margin: 6px 0 0; font-size: .8rem; line-height: 1.6; color: var(--ink-soft); }

  .header-tel { order: 0; margin-left: auto; margin-right: 14px; }
  .header-tel__text small { display: none; }
}

@media (max-width: 900px) {
  .pc-only { display: none; }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "visual" "facts";
    padding-top: 40px;
  }
  .hero__title { font-size: min(7.6vw, 3.2rem); }
  .hero__stamp { left: auto; right: -6px; bottom: -36px; width: 124px; height: 124px; }
  .hero__stamp-main { font-size: 1.05rem; }

  .checklist { grid-template-columns: 1fr; }

  .area__grid,
  .price__layout,
  .company__layout,
  .contact__layout { grid-template-columns: 1fr; }
  .line-card { position: static; }
}

@media (max-width: 600px) {
  .sp-only { display: inline; }
  body { font-size: 15px; }
  .section { padding: 72px 18px; }
  .hero { padding-left: 18px; padding-right: 18px; }
  .hero__facts li + li { border-left: 0; border-top: 1px dashed rgba(30, 42, 56, .4); }
  .brand__text { font-size: 1rem; }
  .site-header__inner { padding: 0 16px; }
  .brand__mark { width: 32px; height: 32px; }
  .header-tel { margin-right: 8px; }
  .header-tel__text { display: none; }
  .header-tel__icon { width: 44px; height: 44px; padding: 10px; border: 2px solid var(--ink); border-radius: 0; }

  .ticket::before { display: none; }
  .ticket__header,
  .checklist,
  .ticket__footer { padding-left: 18px; padding-right: 18px; }
  .ticket__footer .btn { width: 100%; }

  .promise { flex-direction: column; text-align: center; padding: 28px 22px; }
  .receipt { padding: 32px 20px 28px; }
  .receipt__list div { flex-wrap: wrap; }
  .mail-form { padding: 24px 18px; }
  .policy-doc__summary { padding: 16px 52px 16px 18px; font-size: 1.05rem; }
  .policy-doc__body { max-height: 60vh; padding: 4px 18px 20px; }
  .company-table th { width: 6em; }
}
