:root {
  --ink: #101820;
  --navy: #10243d;
  --paper: #f5f3ed;
  --white: #fff;
  --line: #d8dde2;
  --yellow: #ffc900;
  --green: #23725d;
  --muted: #5d6872;
  --shell: min(1180px, calc(100% - 40px));
  --narrow: min(800px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.shell-narrow { width: var(--narrow); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.draft-banner {
  padding: 7px 20px;
  color: #241c00;
  background: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-align: center;
}
.site-header { color: var(--white); background: #0c1117; }
.header-inner {
  width: var(--shell);
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; font-weight: 800; }
.site-header .brand,
.site-header .brand:visited { color: #fff; text-decoration: none; }
.brand strong {
  padding: 7px 13px;
  color: #0c1117;
  background: var(--yellow);
  font-family: Arial, sans-serif;
  font-size: 21px;
  line-height: 1.2;
}
.brand span { letter-spacing: .08em; }
.header-label { color: #b8c2cd; font-size: 13px; letter-spacing: .12em; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 18px;
  color: var(--muted);
  font-size: 12px;
}
.breadcrumb a { color: inherit; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--green); }

.hero {
  display: grid;
  grid-template-columns: minmax(430px, .95fr) minmax(0, 1.05fr);
  background: var(--white);
  border: 1px solid var(--line);
}
.hero-media {
  position: relative;
  min-height: 660px;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  background: #e7e5df;
}
.hero-media img {
  width: 100%;
  height: 660px;
  object-fit: contain;
  object-position: center;
}
.hero-photo-label {
  position: absolute;
  left: 28px;
  bottom: 28px;
  padding: 7px 14px;
  color: var(--white);
  background: rgba(16, 36, 61, .94);
  font-size: 12px;
  font-weight: 800;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 82px);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}
.hero-kicker { margin: 0 0 14px; font-weight: 800; letter-spacing: .08em; }
.hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.28;
}
.hero h1::before {
  content: "";
  display: block;
  width: 62px;
  height: 8px;
  margin-bottom: 22px;
  background: var(--yellow);
}
.hero-lead { margin: 28px 0 0; color: #3e4a55; }
.customer-name {
  margin: 34px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  font-weight: 800;
}

.facts { display: grid; grid-template-columns: repeat(4, 1fr); color: var(--white); background: var(--navy); }
.fact { min-height: 126px; padding: 24px; border-right: 1px solid rgba(255,255,255,.18); }
.fact:last-child { border-right: 0; }
.fact dt { margin-bottom: 8px; color: #aebbc8; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.fact dd { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.65; }

.section { padding-block: clamp(72px, 9vw, 122px); }
.section-intro { text-align: center; }
.section-intro h2,
.section-heading h2,
.closing-card h2 {
  margin: 0;
  font-size: clamp(29px, 4vw, 45px);
  line-height: 1.4;
}
.prose { margin-top: 30px; color: #3e4a55; text-align: left; }
.prose p + p { margin-top: 1.3em; }
.section-heading { max-width: 830px; margin-bottom: 42px; }
.section-heading > p:last-child { margin: 18px 0 0; color: var(--muted); }
.section-heading.light .eyebrow { color: var(--yellow); }
.section-heading.light h2 { color: var(--white); }

.service-flow-section { background: #edf0ed; }
.service-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-flow-card { min-height: 210px; padding: 26px 24px; background: var(--white); }
.service-flow-card span { color: var(--green); font-family: Arial, sans-serif; font-size: 13px; font-weight: 800; }
.service-flow-card h3 { margin: 12px 0 9px; font-size: 20px; line-height: 1.45; }
.service-flow-card p { margin: 0; color: var(--muted); font-size: 13px; }
.service-flow-note { margin: 20px 0 0; padding: 18px 20px; background: #fff7d1; border-left: 5px solid var(--yellow); font-size: 13px; font-weight: 700; }

.scope-strip { padding-block: 78px; color: var(--white); background: var(--navy); }
.scope-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.22); }
.scope-card { padding: 28px 24px 10px 0; }
.scope-card + .scope-card { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.22); }
.scope-card span { color: var(--yellow); font-family: Arial, sans-serif; font-weight: 800; }
.scope-card h3 { margin: 10px 0 5px; font-size: 23px; }
.scope-card p { margin: 0; color: #c6d0db; font-size: 13px; }

.condition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.planning-section { padding-top: 24px; }
.planning-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.planning-grid .photo-button img { height: 420px; object-fit: contain; background: #f3f1ea; }
.planning-info-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  border-top: 8px solid var(--yellow);
  box-shadow: 0 8px 26px rgba(16, 24, 32, .1);
}
.planning-info-head { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.2); }
.planning-info-eyebrow,
.planning-info-label { margin: 0; font-family: Arial, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.planning-info-eyebrow { color: var(--yellow); }
.planning-info-head h3 { margin: 8px 0 0; font-size: 27px; line-height: 1.35; }
.planning-info-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.planning-info-item { padding: 18px; background: rgba(255,255,255,.08); }
.planning-info-item:first-child { border-top: 4px solid #b9deec; }
.planning-info-item:last-child { border-top: 4px solid #b9dfcf; }
.planning-info-item h3 { margin: 10px 0 8px; color: var(--white); font-size: 20px; line-height: 1.4; }
.planning-info-item p:last-child { margin: 0; color: #d2dbe3; font-size: 13px; line-height: 1.75; }
.planning-info-note { margin: auto 0 0; padding-top: 18px; color: var(--yellow); font-weight: 800; }
.condition-card { padding: 28px; background: var(--white); border-top: 6px solid var(--yellow); box-shadow: 0 8px 26px rgba(16, 24, 32, .07); }
.condition-card h3 { margin: 0 0 10px; font-size: 21px; }
.condition-card p { margin: 0; color: var(--muted); font-size: 14px; }

.comparison-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: stretch; }
#before-after { padding-block: 28px 36px; }
.comparison-grid::after {
  content: "→";
  position: absolute;
  z-index: 3;
  top: 61%;
  left: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border: 5px solid var(--paper);
  border-radius: 50%;
  font-size: 25px;
  font-weight: 800;
  transform: translate(-50%, -50%);
}
.comparison-item { position: relative; margin: 0; background: var(--white); border: 1px solid var(--line); }
.comparison-label {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  margin: 0;
  padding: 4px 8px;
  color: var(--white);
  background: var(--navy);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
}
.photo { margin: 0; }
.photo-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: #e7e5df;
  cursor: zoom-in;
}
.photo-button img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: center;
  transition: opacity .2s ease;
}
.photo-button:hover img { opacity: .92; }
.photo-button:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; }
.photo figcaption { padding: 12px 15px 15px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.comparison-item .photo-button img { height: auto; aspect-ratio: auto; }

.process-section { padding: 36px 0 clamp(74px, 9vw, 124px); background: var(--white); border-top: 1px solid var(--line); }
.process-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 64px;
}
.process-nav a {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
}
.process-nav a:hover { border-color: var(--green); }
.process-nav b { color: var(--green); font-family: Arial, sans-serif; font-size: 19px; }
.process-nav span { font-size: 12px; font-weight: 800; line-height: 1.45; }
.timeline { position: relative; display: grid; gap: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  top: 36px;
  bottom: 36px;
  left: 35px;
  width: 3px;
  background: #cad5d0;
}
.process-step {
  position: relative;
  margin-left: 82px;
  padding: clamp(26px, 4vw, 48px);
  background: var(--paper);
  border: 1px solid var(--line);
  scroll-margin-top: 20px;
}
.step-marker {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: -82px;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border: 7px solid var(--white);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
}
.process-copy { max-width: 800px; margin-bottom: 28px; }
.step-phase {
  margin: 0 0 9px;
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}
.process-copy h3 { margin: 0; font-size: clamp(24px, 3vw, 36px); line-height: 1.4; }
.step-period { margin: 10px 0 12px !important; color: var(--muted) !important; font-size: 12px; font-weight: 800; }
.process-copy p:last-child { margin: 0; color: #44515c; }
.process-copy .process-note {
  margin: 18px 0 0 !important;
  padding: 18px 20px;
  color: #3f3924;
  background: #fff7d1;
  border-left: 5px solid var(--yellow);
  font-size: 13px;
  font-weight: 700;
}
.process-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.process-gallery.count-1 { grid-template-columns: minmax(0, 760px); }
.process-gallery.count-0 { display: block; }
.process-gallery.count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.process-gallery.count-4,
.process-gallery.count-5,
.process-gallery.count-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.process-gallery.count-1 .photo-button img { height: min(70vh, 700px); }
.no-photo { margin: 0; padding: 22px; color: var(--muted); background: var(--white); border: 1px dashed #aeb8c2; font-size: 13px; }

.closing-section { color: var(--white); background: var(--navy); }
.closing-card { text-align: center; }
.closing-card .eyebrow { color: var(--yellow); }
.closing-card > p:not(.eyebrow) { margin: 26px 0 0; color: #ccd4dc; }
.case-cta-section { padding: clamp(56px, 8vw, 96px) 0; background: #e9efe9; }
.case-cta-card { padding: clamp(30px, 5vw, 52px); background: var(--white); border: 1px solid #cfd9d2; text-align: center; }
.case-cta-card h2 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.4; }
.case-cta-card p { margin: 18px auto 0; max-width: 650px; color: var(--muted); }
.case-cta-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin: 28px auto 0;
}
.case-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 0;
  padding: 14px 26px;
  color: var(--white);
  background: var(--green);
  border: 2px solid var(--green);
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
}
.case-cta-button:hover { color: var(--green); background: var(--white); }
.case-cta-button:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; }
.pending-cta { margin-top: 34px; padding: 18px 20px; color: #251d00; background: var(--yellow); font-size: 14px; font-weight: 800; }
.related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.related-list li { display: flex; justify-content: space-between; gap: 16px; padding: 24px; background: var(--white); border: 1px solid var(--line); font-weight: 800; }
.related-list small { color: var(--muted); }
.draft-notes { margin-bottom: 90px; padding: 18px 22px; background: #fff7d1; border: 1px solid #e3cf64; font-size: 13px; }
.draft-notes summary { cursor: pointer; font-weight: 800; }
.draft-notes ul { margin-bottom: 0; }
.site-footer { padding-block: 40px; color: #aeb8c2; background: #0c1117; font-size: 12px; }
.site-footer .shell { display: flex; justify-content: space-between; gap: 24px; }
.site-footer p { margin: 0; }

.lightbox {
  width: min(1180px, calc(100% - 32px));
  max-height: 94vh;
  padding: 44px 18px 18px;
  background: #090d12;
  border: 0;
}
.lightbox::backdrop { background: rgba(5, 9, 13, .88); }
.lightbox img { width: 100%; max-height: calc(94vh - 66px); object-fit: contain; }
.lightbox-close { position: absolute; top: 6px; right: 10px; width: 38px; height: 38px; color: var(--white); background: transparent; border: 1px solid #78828d; cursor: pointer; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: auto; }
  .hero-media img { height: min(74vh, 720px); }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .service-flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .condition-grid { grid-template-columns: 1fr; }
  .scope-card:nth-child(3) { border-left: 0; }
  .process-nav { grid-template-columns: 1fr 1fr; }
  .process-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 24px, 1180px); --narrow: min(100% - 24px, 800px); }
  .draft-banner { padding-inline: 12px; font-size: 10px; }
  .header-inner { min-height: 66px; }
  .header-label { display: none; }
  .brand span { display: inline; font-size: 14px; }
  .breadcrumb { gap: 5px; font-size: 10px; }
  .hero-media { padding: 10px; }
  .hero-media img { height: 520px; }
  .hero-copy { padding: 34px 24px 42px; }
  .hero h1 { font-size: 34px; }
  .facts, .scope-grid, .planning-grid, .comparison-grid, .process-nav, .process-gallery,
  .service-flow-grid,
  .process-gallery.count-2, .process-gallery.count-4, .process-gallery.count-5,
  .process-gallery.count-6 { grid-template-columns: 1fr; }
  .fact { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .scope-card, .scope-card + .scope-card { padding: 22px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .comparison-item .photo-button img { height: auto; }
  .planning-info-card { min-height: 420px; padding: 24px; }
  .planning-info-items { grid-template-columns: 1fr; }
  .comparison-grid { gap: 54px; }
  .comparison-grid::after {
    content: "↓";
    top: 59%;
  }
  .section { padding-block: 68px; }
  .section-heading h2, .section-intro h2, .closing-card h2 { font-size: 29px; }
  .timeline::before { left: 23px; }
  .process-step { margin-left: 54px; padding: 24px 16px; }
  .step-marker { top: 20px; left: -56px; width: 50px; height: 50px; border-width: 5px; font-size: 15px; }
  .process-copy { margin-bottom: 20px; }
  .process-gallery .photo-button img { height: 240px; }
  .process-gallery.count-1 .photo-button img { height: 520px; }
  .related-list { grid-template-columns: 1fr; }
  .site-footer .shell { display: block; }
  .site-footer p + p { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* 2026-08-22: 東伸トップとつながる紙面調の施工事例デザイン */
:root {
  --ink: #11161c;
  --navy: #152638;
  --paper: #f3efe6;
  --white: #fffefa;
  --line: #d6d0c4;
  --yellow: #f4c400;
  --green: #416c5f;
  --muted: #646b70;
}

body {
  background:
    linear-gradient(90deg, rgba(17, 22, 28, .024) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--paper);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Yu Gothic", system-ui, sans-serif;
  line-height: 1.9;
}

.site-header {
  border-bottom: 5px solid var(--yellow);
  background: #11161c;
}

.header-inner { min-height: 74px; }
.brand strong { border-radius: 4px; }
.header-label,
.breadcrumb,
.hero-photo-label,
.hero-kicker,
.eyebrow,
.fact,
.scope-card,
.process-nav,
.step-marker,
.step-phase,
.step-period,
.photo figcaption,
.case-cta-button,
.site-footer {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
}

.breadcrumb { border-bottom: 1px solid #cbc5b9; }

.hero {
  border: 0;
  border-left: 12px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  background: var(--white);
}

.hero-media {
  padding: 0;
  background:
    linear-gradient(135deg, #17202a, #263746);
}

.hero-media img {
  padding: 20px;
  background: transparent;
}

.hero-photo-label {
  left: 20px;
  bottom: 20px;
  border-radius: 2px;
  background: rgba(17, 22, 28, .92);
}

.hero-copy {
  position: relative;
  background:
    linear-gradient(90deg, rgba(17, 22, 28, .025) 1px, transparent 1px) 0 0 / 28px 28px,
    #fffefa;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 30px;
  width: min(58%, 340px);
  height: 2px;
  background: var(--yellow);
}

.hero-kicker {
  display: inline;
  width: fit-content;
  background: linear-gradient(transparent 66%, rgba(244, 196, 0, .38) 66%);
  letter-spacing: .04em;
}

.hero h1 {
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.34;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.hero h1::before {
  width: 86px;
  height: 5px;
  margin-bottom: 24px;
}

.hero-lead {
  padding: 18px 20px;
  border-left: 6px solid var(--yellow);
  background: rgba(243, 239, 230, .82);
}

.customer-name { border-top-color: #bdb7ab; }

.facts {
  border-bottom: 7px solid var(--yellow);
  background: #11161c;
}

.fact { min-height: 120px; }

.section-intro h2,
.section-heading h2,
.closing-card h2,
.case-cta-card h2 {
  display: inline;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  line-height: 1.55;
  letter-spacing: -.02em;
  text-wrap: balance;
  background: linear-gradient(transparent 72%, rgba(244, 196, 0, .38) 72%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.section-heading.light h2,
.closing-card h2 {
  background-image: linear-gradient(transparent 72%, rgba(244, 196, 0, .72) 72%);
}

.scope-strip {
  border-block: 1px solid #31465a;
  background: #152638;
}

.scope-card span { color: var(--yellow); }

.condition-card,
.planning-info-card,
.detail-card,
.facility-card {
  border-radius: 0;
  box-shadow: none;
}

.condition-card {
  border: 1px solid var(--line);
  border-top: 7px solid var(--yellow);
  background: rgba(255, 254, 250, .94);
}

.planning-info-card { background: #152638; }

.comparison-grid { gap: 30px; }
.comparison-grid::after {
  border-radius: 2px;
  border-width: 3px;
  background: #11161c;
}

.comparison-item,
.photo {
  border-radius: 0;
  box-shadow: none;
}

.comparison-item,
.photo-button,
.photo figcaption {
  background: #fffefa;
}

.photo-button { border: 1px solid #cbc5b9; }
.photo figcaption { border: 1px solid #cbc5b9; border-top: 0; }

.process-section {
  background:
    linear-gradient(90deg, rgba(17, 22, 28, .025) 1px, transparent 1px) 0 0 / 32px 32px,
    #f3efe6;
}

.process-nav { gap: 2px; }
.process-nav a {
  border-radius: 0;
  border-color: #cbc5b9;
  background: #fffefa;
}
.process-nav a:hover { border-color: var(--yellow); }
.process-nav b { color: #7a5d00; }

.timeline::before {
  width: 2px;
  background: #aaa48f;
}

.process-step {
  border: 1px solid #cbc5b9;
  border-top: 6px solid var(--yellow);
  background: rgba(255, 254, 250, .96);
  box-shadow: none;
}

.process-step:nth-child(even) { background: #e8eeeb; }

.step-marker {
  border-radius: 4px;
  border-color: #f3efe6;
  background: #416c5f;
}

.step-phase { color: #416c5f; }

.process-copy h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  line-height: 1.5;
}

.process-copy .process-note {
  border-left-width: 7px;
  background: #fff5c5;
}

.closing-section {
  border-top: 8px solid var(--yellow);
  background: #152638;
}

.case-cta-section {
  position: relative;
  overflow: hidden;
  background: #f4e8cf;
}
.case-cta-section::before,
.case-cta-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  width: 100%;
  height: 18px;
  background: linear-gradient(90deg,
    #17263a 0 13%, #f4e8cf 13% 14%,
    #a97845 14% 29%, #f4e8cf 29% 30%,
    #c99a2e 30% 51%, #f4e8cf 51% 52%,
    #17263a 52% 69%, #f4e8cf 69% 70%,
    #a8563e 70% 78%, #f4e8cf 78% 79%,
    #a97845 79% 100%);
}
.case-cta-section::before { top: 0; }
.case-cta-section::after {
  bottom: 0;
  transform: scaleX(-1);
}
.case-cta-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(23, 38, 58, .14);
  border-top: 8px solid var(--yellow);
  background: #fffaf0;
  color: #17263a;
  box-shadow: 0 14px 34px rgba(23, 38, 58, .10);
}
.case-cta-mascot {
  display: block;
  width: clamp(96px, 12vw, 138px);
  height: auto;
  margin: 0 auto 14px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(23, 38, 58, .14));
}
.case-cta-card p { color: #34465c; }
.case-cta-card h2 {
  background-image: linear-gradient(transparent 72%, rgba(201, 154, 46, .42) 72%);
}
.case-cta-button {
  border-radius: 2px;
  border-color: var(--yellow);
  background: var(--yellow);
  color: #11161c;
}
.case-cta-button:hover {
  border-color: #fff;
  background: #fff;
  color: #11161c;
}
.case-cta-button--secondary {
  border-color: #17263a;
  background: #fff;
  color: #17263a;
}
.case-cta-button--secondary:hover {
  border-color: #17263a;
  background: #17263a;
  color: #fff;
}

.site-footer { border-top: 6px solid var(--yellow); }

@media (max-width: 960px) {
  .hero { border-left-width: 8px; }
  .hero-media img { padding: 14px; }
}

@media (max-width: 640px) {
  .case-cta-actions { grid-template-columns: 1fr; }
  .site-header { border-bottom-width: 4px; }
  .hero { border-left-width: 6px; }
  .hero-media img { padding: 8px; }
  .hero-copy { padding: 34px 22px 46px; }
  .hero h1 { font-size: 32px; line-height: 1.45; letter-spacing: -.04em; }
  .hero-lead { padding: 14px 15px; }
  .section-heading h2,
  .section-intro h2,
  .closing-card h2,
  .case-cta-card h2 { font-size: 29px; }
  .process-step { padding: 22px 14px; }
  .comparison-grid::after { border-radius: 2px; }
}

/* Dark content surfaces are replaced with Toshin's lighter material palette. */
.facts {
  color: #17263a;
  background: #dcecf0;
  border-block: 1px solid #c9d8dc;
  border-bottom: 7px solid #c99a2e;
}
.fact { border-color: rgba(23, 38, 58, .15); }
.fact dt { color: #5c6c76; }
.scope-strip {
  color: #17263a;
  background: #f4e8cf;
  border-block-color: #d8c9ad;
}
.scope-grid { border-top-color: rgba(23, 38, 58, .18); }
.scope-card + .scope-card { border-left-color: rgba(23, 38, 58, .18); }
.scope-card p { color: #4d5b67; }
.planning-info-card {
  color: #17263a;
  background: #dcecf0;
  border-left: 7px solid #c99a2e;
}
.planning-info-head { border-bottom-color: rgba(23, 38, 58, .18); }
.planning-info-eyebrow,
.planning-info-note { color: #8a5f00; }
.planning-info-item { background: #fffaf0; }
.planning-info-item h3 { color: #17263a; }
.planning-info-item p:last-child { color: #4d5b67; }
.facility-section {
  color: #17263a;
  background: #dcecf0;
}
.facility-gallery { background: #a97845; }
.closing-section {
  position: relative;
  overflow: hidden;
  color: #17263a;
  background: #f4e8cf;
  border-top: 8px solid #c99a2e;
  border-bottom: 18px solid transparent;
  border-image: linear-gradient(90deg, #c99a2e 0 28%, #a97845 28% 54%, #dcecf0 54% 76%, #a8563e 76% 100%) 1;
}
.closing-card {
  padding: clamp(30px, 5vw, 54px);
  border-left: 8px solid #c99a2e;
  background: rgba(255, 250, 240, .94);
  box-shadow: 0 14px 34px rgba(23, 38, 58, .09);
}
.closing-card h2,
.section-heading.light h2 { color: #17263a; }
.closing-card > p:not(.eyebrow),
.closing-card > p.closing-lead { color: #34465c; }
@media (max-width: 640px) {
  .fact,
  .scope-card,
  .scope-card + .scope-card { border-color: rgba(23, 38, 58, .16); }
  .closing-card { padding: 28px 20px; border-left-width: 6px; }
}

/* 施工内容と相談先を先に示す。施工写真は変更しない。 */
.hero.shell { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero .hero-copy { grid-column: 1; grid-row: 1; }
.hero .hero-media { grid-column: 2; grid-row: 1; min-height: 0; padding: 12px; background: #f7f7f3; }
.hero .hero-media img { display: block; width: 100%; height: auto; max-height: 440px; padding: 0; object-fit: contain; }
.hero-photo-label { color: #17263a; background: #fff8db; }
.photo figcaption, .facility-card .facility-gallery figcaption { color: #17263a; font-size: 15px; font-weight: 800; line-height: 1.75; }
.case-early-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 20px; }
.case-early-actions a, .case-cta-actions > a:not(.case-cta-button) { color: #17263a; font-weight: 800; text-underline-offset: 4px; }
.case-summary { display: grid; gap: 16px; margin-top: 28px; margin-bottom: 28px; padding: 24px; background: #fff; border: 1px solid #e5dccb; }
.case-summary div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; }
.case-summary dt { font-weight: 800; }
.case-summary dd { margin: 0; line-height: 1.8; }
@media (max-width: 960px) {
  .hero.shell { grid-template-columns: minmax(0, 1fr); }
  .hero .hero-copy { grid-column: 1; grid-row: 1; padding: 24px; }
  .hero .hero-media { grid-column: 1; grid-row: 2; }
  .hero .hero-media img { height: auto; max-height: 360px; padding: 0; }
  .case-summary div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
