/* ============================================================
   架空企業の明示帯（site-v2/a/samples 用に追加・2026-09-04）
   文言と見た目は 8/26 版の見本（ふたば片付けサービス）の帯と同じ。
   撮影道具 work/shoot_phones.py はこのクラスだけ隠して撮る。
   ============================================================ */
.fictional-banner {
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
  line-height: 1.6;
}

.fictional-banner strong {
  color: #ffe1c2;
}

:root {
  --white: #ffffff;
  --bg-alt: #eaf3fb;
  --navy: #143c8c;
  --red: #d8000f;
  --orange: #f07e00;
  --green: #06c755;
  --gold: #c9a54c;
  --ink: #1a2430;
  --muted: #5a6673;
  --line: #d9e2ec;
  --radius: 6px;
  --container: min(1180px, calc(100% - 40px));
  --floating-space: calc(120px + env(safe-area-inset-bottom));
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;  /* 2026-09-04: hidden だとヘッダーの sticky が効かないため clip に */
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;  /* 2026-09-04: hidden だとヘッダーの sticky が効かないため clip に */
  background: var(--white);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  padding-bottom: var(--floating-space);
}

body,
button,
input,
textarea,
select {
  font-synthesis: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

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

section[id],
aside[id] {
  scroll-margin-top: 104px;
}

/* 2026-09-04 追加: 最初の画面の写真などは画面の右端まで広げる作りで、320 / 390 幅では
   中身が右へ数 px はみ出す（元の 8/30 版と同じ。html/body の overflow-x: hidden で隠れている）。
   そのはみ出しをページの横幅として数えないよう、main の外側で切る。見た目は変わらない。 */
main {
  overflow-x: clip;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(3.5rem, 6vw, 5.75rem) 0;
}

.rhythm-s2 {
  padding-top: 1.1rem;
}

.section--white {
  background: var(--white);
}

.section--alt {
  background: var(--bg-alt);
}

.rhythm-hero {
  min-height: 0;
  display: flex;
  align-items: center;
  padding-block: clamp(1.6rem, 3vh, 2.6rem);
}

.rhythm-s2 {
  min-height: 0;
  padding-bottom: 2.6rem;
}

.rhythm-s3 {
  min-height: 65svh;
}

.rhythm-s4 {
  min-height: 84svh;
}

.rhythm-s5 {
  min-height: 86svh;
}

.rhythm-s6 {
  min-height: 64svh;
}

.rhythm-s7 {
  min-height: 56svh;
}

.rhythm-s8 {
  min-height: 64svh;
}

.rhythm-s9 {
  min-height: 82svh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-text strong {
  font-size: 1.2rem;
  line-height: 1.1;
  color: var(--navy);
  font-weight: 900;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.header-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.header-nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.84rem;
}

.header-nav a:hover,
.secondary-link:hover {
  color: var(--navy);
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}

.contact-time {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.header-phone,
.phone-display,
.price-value,
.closing-phone,
.bar-phone-number {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.header-phone {
  font-size: clamp(1.5rem, 1.8vw, 1.9rem);
  line-height: 0.95;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 56px;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  transition: transform 0.28s ease, background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
.header-nav a:focus-visible,
.footer-links a:focus-visible,
.secondary-link:focus-visible,
.faq-question:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.btn--phone {
  background: var(--orange);
  color: var(--white);
}

.btn--line {
  background: var(--green);
  color: var(--white);
}

.section-label {
  display: none;
}

.section-label--light {
  color: #dbe6ff;
}

.section-head {
  max-width: 58rem;
  margin-bottom: 2rem;
}

.section-title {
  margin: 0 0 0.8rem;
  color: var(--navy);
  font-size: clamp(2rem, 3.6vw, 3.7rem);
  line-height: 1.15;
  font-weight: 900;
}

.section-intro {
  margin: 0;
  color: var(--muted);
}

.section-intro--compact {
  max-width: none;
}

.section-tail {
  margin: 1.4rem 0 0;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.secondary-link::after {
  content: "→";
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(1.5rem, 3vw, 2.6rem);
  align-items: center;
}

.hero-copy-top,
.hero-copy-bottom {
  position: relative;
  z-index: 2;
}

.hero-copy-top .reveal-inner,
.hero-copy-bottom .reveal-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  margin: 0 0 0.95rem;
  color: var(--navy);
  font-size: clamp(2.4rem, 4.4vw, 4.25rem);
  line-height: 0.98;
  font-weight: 900;
}

.hero-title-line {
  display: block;
  width: fit-content;
  padding-right: 0.08em;
}

.marker {
  text-decoration: underline;
  text-decoration-color: #ffe66a;
  text-decoration-thickness: 0.32em;
  text-underline-offset: -0.1em;
  text-decoration-skip-ink: none;
}

.hero-lead {
  margin: 0 0 0.5rem;
  max-width: 34rem;
  color: var(--navy);
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.hero-zero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.18rem 0.35rem;
  margin: 0 0 1.2rem;
  line-height: 1;
}

.hero-copy-top .hero-zero {
  margin-bottom: 0;
}

.hero-zero-label {
  color: var(--navy);
  font-size: clamp(2.15rem, 3.15vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.zero-copy {
  color: var(--ink);
}

.zero-display {
  font-family: "Oswald", sans-serif;
  font-size: clamp(4.3rem, 7vw, 5.8rem);
  line-height: 0.82;
  color: var(--red);
  font-weight: 700;
}

.hero-zero-period {
  color: var(--navy);
  font-size: clamp(2.25rem, 3.1vw, 2.95rem);
  font-weight: 900;
  line-height: 0.82;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border: none;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  line-height: 1.2;
}

.tag-accent {
  color: #ffe66a;
}

.hero-contact-lead {
  margin: 0 0 0.7rem;
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.5;
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.2rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.hero-phone-block {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.hero-phone-block small {
  display: block;
  margin: 0;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}

.phone-display {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(2.15rem, 3.1vw, 3.05rem);
  line-height: 0.95;
  white-space: nowrap;
}

.phone-display > span:last-child {
  display: block;
}

.phone-display-icon {
  width: clamp(1.9rem, 2.3vw, 2.5rem);
  height: clamp(1.9rem, 2.3vw, 2.5rem);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--navy);
}

.phone-display-icon svg {
  width: 100%;
  height: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-line-btn {
  min-height: 76px;
  padding: 0.8rem 1.25rem;
  gap: 0.85rem;
  border-radius: 10px;
}

.line-button-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
}

.line-button-icon svg {
  width: 24px;
  height: 24px;
}

.line-button-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
}

.line-button-copy small {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
}

.line-button-copy strong {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 900;
}

.hero-visual {
  align-self: stretch;
  position: relative;
}

.media-frame {
  height: 100%;
  overflow: hidden;
  background: var(--white);
}

.hero-visual .reveal-inner {
  position: relative;
  height: 100%;
}

.hero-visual .media-frame {
  margin-right: calc((100vw - min(1180px, 100vw - 40px)) / -2);
  border: none;
  border-radius: 0;
}

.hero-visual .placeholder {
  border-radius: 0;
  height: 100%;
}

.placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: #f4f7fa;
}

.placeholder--hero {
  min-height: 100%;
}

.placeholder--mini {
  min-height: 180px;
}

.placeholder--tall {
  min-height: 72svh;
}

.placeholder--city {
  min-height: 260px;
}

.ph {
  color: var(--muted);
  text-align: center;
  font-weight: 700;
  line-height: 1.6;
}

.price-strip {
  display: grid;
  gap: 1.2rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.badge-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-items: center;
}

.fact-badge {
  position: relative;
  width: min(100%, 148px);
  aspect-ratio: 1;
  border: 3px solid #b8923a;
  border-radius: 50%;
  background: linear-gradient(160deg, #e6c76a 0%, #d4af52 55%, #c39a3e 100%);
  color: var(--ink);
  display: grid;
  place-items: center;
  text-align: center;
}

.fact-badge::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid rgba(168, 132, 47, 0.9);
  border-radius: 50%;
  pointer-events: none;
}

.fact-badge .reveal-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.2rem;
  width: 100%;
  height: 100%;
  padding: 0.85rem;
}

.fact-badge-kicker {
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.fact-badge-value {
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.fact-badge-value--wide {
  font-size: clamp(1.2rem, 1.45vw, 1.45rem);
  letter-spacing: -0.05em;
}

.fact-badge-value--numeric {
  font-size: clamp(2.1rem, 2.7vw, 2.75rem);
  color: var(--ink);
}

.price-digest-grid,
.reason-list,
.plan-grid,
.item-grid {
  display: grid;
  gap: 1rem;
}

.price-digest-grid,
.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.digest-card {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.digest-card .reveal-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.digest-title {
  margin: 0;
  padding: 0.9rem 0.8rem;
  background: var(--navy);
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
}

.digest-media {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.75rem 0.4rem;
  overflow: hidden;
  background: var(--white);
}

.digest-card .price-value {
  margin: 0.15rem 0 0;
  padding: 0 0.8rem;
  font-size: clamp(2.15rem, 2.9vw, 3.15rem);
  line-height: 0.95;
  text-align: center;
}

.price-tax {
  margin: 0.2rem 0 1rem;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: center;
}

.trouble-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.trouble-card,
.reason-card,
.flow-step,
.item-card,
.panel-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.trouble-card {
  padding: 1.3rem 1.1rem;
}

.trouble-card .reveal-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.icon-card {
  width: 56px;
  height: 56px;
  color: var(--navy);
}

.trouble-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.45;
}

.trouble-card p {
  margin: 0;
  color: var(--muted);
}

.text-emphasis {
  color: var(--navy);
  font-weight: 900;
}

.reason-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.reason-list--photos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reason-card {
  overflow: hidden;
  border-color: #cfe0f1;
  border-radius: 12px;
  background: var(--white);
}

.reason-card .reveal-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.9rem 0.9rem 1.1rem;
}

.reason-media {
  margin-bottom: 0.95rem;
  overflow: hidden;
  border: 1px solid #e4edf7;
  border-radius: 10px;
  background: #f7fbff;
}

.reason-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 0;
  object-fit: cover;
}

.reason-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.55rem;
}

.reason-title-row {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.reason-no {
  display: inline-block;
  margin: 0;
  flex: 0 0 auto;
  color: var(--navy);
  font-family: "Oswald", sans-serif;
  font-size: 1.9rem;
  line-height: 1;
}

.reason-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 900;
}

.reason-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.reason-list--photos .reason-card:nth-child(1) .reason-photo {
  object-position: 50% 30%;
}

.reason-list--photos .reason-card:nth-child(2) .reason-photo {
  object-position: 50% 38%;
}

.reason-list--photos .reason-card:nth-child(3) .reason-photo {
  object-position: 42% 45%;
}

.reason-list--photos .reason-card:nth-child(4) .reason-photo {
  object-position: 52% 40%;
}

.plan-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #cfdaed;
  border-radius: 12px;
  background: var(--white);
}

.plan-card .reveal-inner {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.plan-head {
  padding: 0.85rem 1rem;
  background: var(--navy);
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
}

.plan-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.05rem;
  padding: 1.05rem 1rem 1rem;
}

.plan-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
}

.plan-media-frame {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  border: 1px solid #e5edf7;
  border-radius: 12px;
  background: #f8fbff;
}

.plan-media-frame--placeholder {
  color: #88a2d4;
  background: linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
}

.plan-media-icon {
  width: min(96px, 100%);
  height: 96px;
}

.plan-media-photo {
  display: block;
  width: 100%;
  max-width: 138px;
  height: 96px;
  object-fit: contain;
}

.plan-price-group {
  min-width: max-content;
  text-align: right;
}

.plan-card .price-value {
  margin: 0;
  padding: 0;
  font-size: clamp(2.3rem, 3.2vw, 3.6rem);
  line-height: 0.9;
}

.plan-card .price-tax {
  margin: 0.3rem 0 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: right;
}

.check-list {
  display: grid;
  gap: 0.72rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.55;
}

.check {
  color: #1fa34a;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
}

.plan-actions {
  margin-top: auto;
}

.plan-actions .btn {
  width: 100%;
}

.item-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.item-card {
  padding: 1.1rem 1rem;
  text-align: center;
}

.item-card .reveal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.item-icon {
  width: 48px;
  height: 48px;
  color: var(--navy);
}

.item-card strong {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
}

.flow-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.flow-step {
  padding: 1.35rem 1.15rem;
  border-radius: 12px;
  text-align: left;
}

.flow-step .reveal-inner {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  height: 100%;
}

.step-visual {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--navy);
}

.step-icon {
  width: 60px;
  height: 60px;
}

.flow-step-copy {
  min-width: 0;
}

.flow-step-label {
  margin: 0 0 0.25rem;
  color: var(--navy);
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}

.flow-step h3 {
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-size: 1.32rem;
  line-height: 1.3;
  font-weight: 900;
}

.flow-step-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.flow-arrow {
  width: 0;
  height: 0;
  justify-self: center;
  align-self: center;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 18px solid #93abdf;
}

.area-layout,
.faq-company-grid {
  display: grid;
  gap: 1.5rem 2rem;
}

.area-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.5fr) minmax(0, 0.95fr);
  gap: 1rem 1.6rem;
  align-items: stretch;
}

.faq-company-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.area-copy {
  padding: 0.4rem 0.2rem 0 0;
  border: 0;
  background: transparent;
}

.area-copy-label {
  display: block;
  margin: 0 0 0.55rem;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
}

.area-title {
  margin: 0 0 1rem;
  display: grid;
  justify-items: start;
  color: var(--navy);
  white-space: nowrap;
  font-size: clamp(2rem, 2.55vw, 2.6rem);
  line-height: 1.22;
  font-weight: 900;
}

.area-title span {
  display: block;
}

.area-copy-text {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.9;
}

.area-copy-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.6;
}

.map-card,
.area-photo-frame {
  height: 100%;
  border: 1px solid #d7e4f2;
  border-radius: 12px;
  background: var(--white);
}

.map-card {
  padding: 1rem;
}

.area-map {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}

.area-map .shape {
  fill: var(--bg-alt);
  stroke: var(--navy);
  stroke-width: 2;
}

.area-map .label-dot {
  fill: var(--navy);
}

.area-map text {
  fill: var(--navy);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.area-photo-frame {
  overflow: hidden;
  padding: 0;
}

.panel-card {
  padding: 1.2rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.faq-item h3 {
  margin: 0;
}

.faq-question {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 1rem 1.1rem;
  color: var(--navy);
  font-weight: 900;
  text-align: left;
}

.faq-question span:first-child {
  flex: 1;
}

.faq-icon {
  flex: 0 0 auto;
  color: var(--navy);
  font-family: "Oswald", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
}

.faq-answer {
  padding: 0 1.1rem 1rem;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.company-table tbody tr:first-child th,
.company-table tbody tr:first-child td {
  border-top: 0;
}

.company-table th {
  width: 7em;
  padding-right: 1rem;
  color: var(--navy);
  font-weight: 900;
}

.closing-section {
  padding-top: clamp(2.25rem, 4vw, 3rem);
  background: var(--white);
}

.closing-panel {
  min-height: 0;
  padding: 0 0 clamp(1.8rem, 4vw, 2.8rem);
  background: transparent;
}

.closing-inner {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
  text-align: center;
  color: var(--navy);
}

.closing-inner .reveal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
}

.closing-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.4rem, 2.45vw, 2rem);
  line-height: 1.55;
  font-weight: 900;
}

.closing-contact-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 1rem 2rem;
  align-items: center;
  justify-content: center;
}

.closing-phone-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.closing-phone-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.closing-phone-icon {
  width: clamp(2.2rem, 3vw, 2.9rem);
  height: clamp(2.2rem, 3vw, 2.9rem);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--navy);
}

.closing-phone-icon svg {
  width: 100%;
  height: 100%;
}

.closing-phone {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: clamp(3.8rem, 8.5vw, 6.6rem);
  line-height: 0.9;
}

.closing-hours {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.2;
}

.closing-button-stack {
  width: 100%;
  display: grid;
  gap: 0.8rem;
}

.closing-button-stack .btn {
  width: 100%;
}

.site-footer {
  padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom));
  background: var(--navy);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: flex-start;
}

.footer-meta p {
  margin: 0 0 0.35rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.15rem;
}

.footer-links a {
  color: #dbe6ff;
  font-weight: 700;
}

.floating-bar {
  position: fixed;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.floating-bar__inner {
  width: min(1180px, calc(100% - 24px));
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  justify-content: center;
  gap: 0.75rem;
  align-items: center;
  margin-inline: auto;
  padding: 0.55rem 0 calc(0.55rem + env(safe-area-inset-bottom));
}

.bar-phone {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.bar-phone svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.bar-phone span {
  min-width: 0;
}

.bar-phone small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.4;
}

.bar-phone-number {
  display: inline-block;
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  line-height: 0.95;
}

.floating-bar .btn {
  min-height: 48px;
  padding-inline: 1rem;
  white-space: normal;
}

/* スクロールで現れる動き（2026-09-04 変更）:
   最初から見えている状態にし、少しだけ位置をずらして戻す動きだけにした。
   JS が動かないときや、ページ全体を1枚に撮るときに中身が空白にならないようにするため。
   （視差効果を減らす設定の人には下の prefers-reduced-motion で止まる） */
.js .js-reveal .reveal-inner {
  opacity: 1;
  transform: translateY(10px);
  transition: transform 0.32s ease;
  transition-delay: var(--delay, 0s);
}

.js .js-reveal[data-reveal="scale"] .reveal-inner {
  transform: translateY(8px) scale(0.99);
}

.js .js-reveal.is-visible .reveal-inner {
  opacity: 1;
  transform: none;
}

@media (min-width: 1025px) {
  .hero {
    padding-block: 0;
  }

  .hero-grid {
    position: relative;
    grid-template-columns: 1fr;
    min-height: max(560px, calc(100svh - 250px));
    row-gap: 1.2rem;
    padding-block: clamp(1.8rem, 2.8vw, 3rem);
  }

  .hero-copy-top,
  .hero-copy-bottom {
    max-width: min(44%, 34rem);
    padding-block: 0.35rem;
  }

  .hero-visual {
    position: absolute;
    top: 0;
    right: calc((100vw - min(1180px, 100vw - 40px)) / -2);
    bottom: 0;
    width: min(64vw, 920px);
    z-index: 1;
  }

  .hero-visual .media-frame {
    height: 100%;
    margin-right: 0;
  }

  .hero-visual .reveal-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.98) 12%, rgba(255, 255, 255, 0.86) 22%, rgba(255, 255, 255, 0.5) 32%, rgba(255, 255, 255, 0) 40%);
    z-index: 1;
    pointer-events: none;
  }

  .price-strip {
    grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
    align-items: center;
  }

  .badge-list {
    align-content: center;
  }

  .reason-list--photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .reason-card--h {
    min-height: clamp(210px, 16.5vw, 240px);
  }

  .reason-card--h .reveal-inner {
    flex-direction: row;
    align-items: stretch;
    padding: 0;
  }

  .reason-card--h:nth-child(even) .reveal-inner {
    flex-direction: row-reverse;
  }

  .reason-card--h .reason-media {
    flex: 0 0 44%;
    width: 44%;
    margin-bottom: 0;
    border: 0;
    border-radius: 0;
  }

  .reason-card--h .reason-photo {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .reason-card--h .reason-body {
    flex: 0 0 56%;
    width: 56%;
    justify-content: center;
    padding: clamp(1.2rem, 1.4vw, 1.5rem);
  }
}

@media (max-width: 1024px) {
  .item-grid > article:last-child {
    grid-column: 2;
  }

  .area-photo {
    aspect-ratio: 16 / 10;
  }

  :root {
    --floating-space: calc(164px + env(safe-area-inset-bottom));
  }

  .header-row,
  .hero-grid,
  .reasons-layout,
  .area-layout,
  .faq-company-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 1rem;
  }

  .header-nav {
    display: none;
  }

  .header-contact {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .hero-visual {
    order: -1;
  }

  .placeholder--hero {
    min-height: 44svh;
  }

  .hero-visual .media-frame {
    height: 44svh;
  }

  .hero-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    align-items: start;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
  }

  .price-strip {
    grid-template-columns: 1fr;
  }

  .badge-list {
    max-width: 32rem;
    margin-inline: auto;
  }

  .price-digest-grid,
  .plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .reason-list--photos {
    grid-template-columns: 1fr;
  }

  .trouble-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trouble-grid article:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 0.5rem);
  }

  .item-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-track {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    transform: rotate(90deg);
    min-height: 34px;
  }

  .closing-contact-grid {
    grid-template-columns: 1fr;
  }

  .closing-button-stack {
    max-width: 360px;
    margin-inline: auto;
  }

  .floating-bar__inner {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  }

  .bar-phone {
    grid-column: 1 / -1;
    justify-content: center;
    padding-bottom: 0.2rem;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .reason-card--h {
    min-height: clamp(210px, 28vw, 240px);
  }

  .reason-card--h .reveal-inner {
    flex-direction: row;
    align-items: stretch;
    padding: 0;
  }

  .reason-card--h:nth-child(even) .reveal-inner {
    flex-direction: row-reverse;
  }

  .reason-card--h .reason-media {
    flex: 0 0 42%;
    width: 42%;
    margin-bottom: 0;
    border: 0;
    border-radius: 0;
  }

  .reason-card--h .reason-photo {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .reason-card--h .reason-body {
    flex: 0 0 58%;
    width: 58%;
    justify-content: center;
    padding: 1.2rem 1.25rem;
  }

  .plan-price-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
  }

  .plan-price-group,
  .plan-card .price-tax {
    text-align: center;
  }

  .digest-photo,
  .digest-photo--truck,
  .digest-photo--item {
    height: 120px;
  }
}

@media (max-width: 640px) {
  .item-grid > article:last-child {
    grid-column: auto;
  }

  :root {
    --container: min(1000px, calc(100% - 24px));
    --floating-space: calc(184px + env(safe-area-inset-bottom));
  }

  html {
    font-size: 16px;
  }

  .section {
    padding: 3.3rem 0;
  }

  .rhythm-hero {
    min-height: 0;
    align-items: flex-start;
  }

  .hero-grid {
    align-items: start;
    gap: 0.9rem;
  }

  .header-row {
    padding: 0.85rem 0;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .header-contact,
  .hero-actions,
  .closing-actions {
    width: 100%;
  }

  .header-actions {
    display: none;
  }

  .header-contact,
  .contact-meta {
    align-items: flex-start;
  }

  .hero-actions,
  .closing-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(1.9rem, 8.6vw, 3.2rem);
  }

  .hero-zero {
    gap: 0.15rem 0.28rem;
    margin-bottom: 1.1rem;
  }

  .hero-zero-label {
    font-size: clamp(1.95rem, 9.1vw, 2.45rem);
  }

  .zero-display {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .hero-zero-period {
    font-size: clamp(1.95rem, 9vw, 2.35rem);
  }

  .hero-contact-lead {
    margin-bottom: 0.65rem;
    font-size: 0.92rem;
  }

  .phone-display {
    gap: 0.45rem;
    font-size: clamp(1.65rem, 7vw, 2.1rem);
  }

  .phone-display-icon {
    width: 1.6rem;
    height: 1.6rem;
  }

  .hero-line-btn {
    min-height: 68px;
    padding: 0.75rem 0.95rem;
    gap: 0.65rem;
  }

  .line-button-icon {
    width: 40px;
    height: 40px;
  }

  .line-button-copy small {
    font-size: 0.7rem;
  }

  .line-button-copy strong {
    font-size: 0.92rem;
  }

  .closing-phone {
    font-size: clamp(2.3rem, 10.5vw, 3rem);
  }

  .price-digest-grid,
  .reason-list,
  .plan-grid,
  .trouble-grid {
    grid-template-columns: 1fr;
  }

  .item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .item-card {
    padding: 0.9rem 0.6rem;
  }

  .badge-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .fact-badge {
    width: min(104px, 27vw);
  }

  .fact-badge .reveal-inner {
    padding: 0.55rem;
  }

  .fact-badge-kicker {
    font-size: 0.74rem;
  }

  .fact-badge-value {
    font-size: 1.2rem;
  }

  .fact-badge-value--wide {
    font-size: 0.92rem;
  }

  .fact-badge-value--numeric {
    font-size: 1.6rem;
  }

  .trouble-grid article:last-child {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }

  .placeholder--hero {
    min-height: 215px;
  }

  .hero-visual {
    order: 0;
  }

  .hero-visual .media-frame {
    height: 215px;
  }

  .hero-photo {
    object-position: 62% 30%;
  }

  .reason-card--h .reveal-inner {
    flex-direction: column;
    height: auto;
    padding: 0.9rem 0.9rem 1.1rem;
  }

  .reason-card--h .reason-media {
    width: 100%;
    margin-bottom: 0.95rem;
    border: 1px solid #e4edf7;
    border-radius: 10px;
  }

  .reason-card--h .reason-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .reason-card--h .reason-body {
    width: 100%;
    padding: 0;
  }

  .placeholder--tall {
    min-height: 44svh;
  }

  .digest-media {
    min-height: 152px;
  }

  .digest-card .price-value {
    font-size: clamp(2rem, 11vw, 2.7rem);
  }

  .plan-price-row {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .floating-bar__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .floating-bar .btn--phone {
    font-size: 1.02rem;
  }

  .floating-bar .btn--line {
    font-size: 0.92rem;
  }

  .plan-price-group,
  .plan-card .price-tax {
    text-align: center;
  }

  .flow-step {
    text-align: left;
  }

  .flow-step .reveal-inner {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .step-visual {
    width: 56px;
    height: 56px;
  }

  .step-icon {
    width: 56px;
    height: 56px;
  }

  .flow-arrow {
    border-top-width: 14px;
    border-bottom-width: 14px;
    border-left-width: 16px;
  }

  .area-title {
    font-size: clamp(1.85rem, 8.2vw, 2.5rem);
  }

  .area-copy-text {
    font-size: 1rem;
    line-height: 1.8;
  }

  .area-photo {
    aspect-ratio: 16 / 10;
  }

  .faq-question {
    padding-inline: 1rem;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 0.55rem 0;
  }

  .company-table th {
    padding-bottom: 0;
  }

  .closing-inner {
    width: min(100% - 24px, 980px);
  }

  .closing-contact-grid {
    gap: 1rem;
  }

  .closing-phone-row {
    gap: 0.55rem;
  }

  .closing-phone-icon {
    width: 1.9rem;
    height: 1.9rem;
  }

  .closing-hours {
    width: min(100%, 21rem);
    padding-inline: 1rem;
    font-size: 0.88rem;
  }

  .closing-button-stack {
    max-width: 100%;
  }

  .floating-bar__inner {
    width: min(100% - 16px, 1180px);
    gap: 0.55rem;
  }

  .bar-phone {
    justify-content: flex-start;
  }

  .floating-bar .btn {
    min-height: 48px;
    padding-inline: 0.7rem;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .js-reveal .reveal-inner {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   FXテスト（pokkiri.jp風・控えめ版）— 本人テスト用 2026-08-29
   URL末尾に ?fx=off で無効化して比較できる。
   例外メモ: シマーのみ text-clip の光帯（面装飾のグラデ禁止の対象外として
   quality-log に記録）。グローは影を使わずリングの拡散で表現。
   ============================================================ */
@keyframes fxShimmer {
  0%, 62% { background-position: -140% 0; }
  100% { background-position: 240% 0; }
}
.fx .zero-display,
.fx .price-value,
.fx .closing-phone {
  padding: 0.16em 0.06em;
  margin: -0.16em -0.06em;
  background-image: linear-gradient(105deg, currentColor 44%, #f04a4a 50%, currentColor 56%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fxShimmer 5.5s ease-in-out infinite;
}
@keyframes fxRing {
  0% { transform: scale(1); opacity: 0.55; }
  70%, 100% { transform: scale(1.14); opacity: 0; }
}
.fx .floating-bar .btn--phone,
.fx .closing-actions .btn--phone,
.fx .closing-button-stack .btn--phone {
  position: relative;
}
.fx .floating-bar .btn--phone::after,
.fx .closing-actions .btn--phone::after,
.fx .closing-button-stack .btn--phone::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 2px solid var(--orange);
  border-radius: calc(var(--radius) + 3px);
  animation: fxRing 2.6s ease-out infinite;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .fx .zero-display,
  .fx .price-value,
  .fx .closing-phone {
    animation: none;
    background-image: none;
    -webkit-text-fill-color: currentColor;
  }
  .fx .floating-bar .btn--phone::after,
  .fx .closing-actions .btn--phone::after,
  .fx .closing-button-stack .btn--phone::after {
    animation: none;
    display: none;
  }
}

.nowrap {
  white-space: nowrap;
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}

img.reason-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.reason-card {
  overflow: hidden;
}

.trouble-card {
  text-align: center;
}

.trouble-card .reveal-inner {
  align-items: center;
}

.worry-illust {
  display: block;
  width: min(58%, 148px);
  height: auto;
  margin-inline: auto;
}

.digest-photo {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.digest-photo--truck {
  height: 132px;
  object-fit: cover;
  object-position: 30% center;
  transform: scale(1.28);
  transform-origin: center;
}

.digest-photo--truck-kei {
  object-position: 26% center;
}

.digest-photo--truck-15t {
  object-position: 36% center;
}

.digest-photo--item {
  height: 150px;
  object-fit: contain;
}

.item-photo {
  display: block;
  width: 100%;
  max-width: 170px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.area-photo {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 78% 42%;
}

.placeholder--digest {
  min-height: 150px;
}

.map-wrap {
  position: relative;
}

.area-map-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.map-label {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 0.28em 0.7em;
  background: var(--navy);
  color: var(--white);
  font-size: clamp(0.72rem, 1vw, 0.95rem);
  font-weight: 900;
  border-radius: 999px;
  white-space: nowrap;
}

/* プライバシーポリシー（2026-09-04 追加。会社概要の下） */
.privacy-note{ margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(20,60,140,.15); font-size: 13px; line-height: 1.75; }
.privacy-title{ font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.privacy-note h4{ font-size: 13.5px; font-weight: 700; margin: 14px 0 4px; }
.privacy-note p{ margin: 0; }

/* ---- 見本の修正 2026-09-10 ---- */
/* 既存の規則は変えず、ここで上書き・追加する。 */

/* (A) ヘッダー: 1025px 以上はナビを屋号・電話の下の段に置く。
   これまでは 3 列 grid の中央列にナビを押し込んでいて、ナビの幅（480〜540px）が
   中央列（351〜471px）より広いため、左の屋号の小文字と右の受付・電話に重なっていた。 */
@media (min-width: 1025px) {
  .header-row {
    grid-template-areas:
      "brand spacer contact"
      "nav nav nav";
    row-gap: 0.4rem;
    padding: 0.7rem 0 0.5rem;
  }

  .brand {
    grid-area: brand;
  }

  .header-contact {
    grid-area: contact;
  }

  .header-nav {
    grid-area: nav;
    border-top: 1px solid var(--line);
    padding-top: 0.4rem;
  }

  .header-nav ul {
    flex-wrap: wrap;
    white-space: normal;
    gap: 0.2rem 1.5rem;
  }
}

/* (A) ページ内リンクで飛んだとき、見出しが固定ヘッダーに隠れないようにする。
   ヘッダーの実測: 375〜640px = 141px / 641〜1024px = 155px / 1025px 以上 = 2段ヘッダーの実測 + 8px */
section[id],
aside[id],
.privacy-note[id] {
  scroll-margin-top: 150px;
}

@media (min-width: 641px) {
  section[id],
  aside[id],
  .privacy-note[id] {
    scroll-margin-top: 165px;
  }
}

@media (min-width: 1025px) {
  section[id],
  aside[id],
  .privacy-note[id] {
    scroll-margin-top: 128px;
  }
}

/* (A) 375px 以下の固定バー: 「今すぐ電話で見積り」が 2 行に折れないよう文字を少し小さくする */
@media (max-width: 375px) {
  .floating-bar .btn--phone {
    font-size: 0.84rem;
    padding-inline: 0.5rem;
  }
}

/* (C) 最上部の帯: 本体（制作プラン・相談）へ戻るリンク */
.fictional-banner__links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2em 1.2em;
  margin-left: 0.6em;
}

.fictional-banner__links a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.fictional-banner__links a:hover {
  color: #ffe1c2;
}

/* (C) 最初の画面のスタッフ写真の注記（写真の右下） */
.hero-photo-note {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  margin: 0;
  padding: 0.2em 0.7em;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  color: #0f1f3d;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 4px;
}

/* (E) 料金プランの条件 */
.plan-terms {
  max-width: 58rem;
  margin: 1.5rem 0 0;
  padding: 0 0 0 1.2em;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.plan-terms li {
  margin: 0.2em 0;
}

/* (E) 対応エリア: 地図の上に重ねていた地名を、画像の下の並びに変えた */
.area-names {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.6rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.area-names li {
  padding: 0.28em 0.95em;
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 900;
  border-radius: 999px;
  white-space: nowrap;
}

/* (C) 見本の案内（フッターの直前）。見本サイトの装飾に紛れないよう、
   マチリーチ側の落ち着いた調子（白地・細い枠・濃紺の文字・青 #0069E8）にする */
.demo-info {
  padding: clamp(2.2rem, 4vw, 3.5rem) 0;
  background: var(--white);
}

.demo-info__box {
  border: 1px solid #e1e6ef;
  border-radius: 8px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  color: #0f1f3d;
}

.demo-info__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0069e8;
}

.demo-info__title {
  margin: 0 0 0.7rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.4;
  font-weight: 700;
  color: #0f1f3d;
}

.demo-info__text {
  max-width: 46em;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.85;
  color: #0f1f3d;
}

.demo-info__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.demo-info__btn,
.demo-notice__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.6rem 1.3rem;
  border: 1px solid #0069e8;
  border-radius: 6px;
  background: var(--white);
  color: #0069e8;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}

.demo-info__btn--primary,
.demo-notice__btn--primary {
  background: #0069e8;
  color: var(--white);
}

.demo-info__btn:hover,
.demo-notice__btn:hover {
  background: #eaf3ff;
}

.demo-info__btn--primary:hover,
.demo-notice__btn--primary:hover {
  background: #0052b8;
  color: var(--white);
}

.demo-info__btn:focus-visible,
.demo-notice__btn:focus-visible {
  outline: 3px solid #0069e8;
  outline-offset: 2px;
}

/* (B) 架空の電話番号・LINE を押したときの案内（<dialog id="demo-notice">） */
.demo-notice {
  width: min(92vw, 520px);
  max-width: 92vw;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--white);
  color: #0f1f3d;
  box-shadow: 0 18px 50px rgba(15, 31, 61, 0.28);
}

.demo-notice::backdrop {
  background: rgba(15, 31, 61, 0.55);
}

.demo-notice__body {
  padding: clamp(1.4rem, 3vw, 2rem);
}

.demo-notice__title {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 700;
  color: #0f1f3d;
}

.demo-notice__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
}

.demo-notice__actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.3rem;
}
