:root {
  --navy: #263f60;
  --navy-2: #34617f;
  --ink: #18202b;
  --muted: #657080;
  --line: #d9dee6;
  --paper: #ffffff;
  --soft: #f4f1ea;
  --soft-2: #eef3f6;
  --orange: #e07a1f;
  --orange-dark: #b95e12;
  --red: #c8423b;
  --green: #317a5d;
  --shadow: 0 18px 44px rgba(27, 42, 65, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", Meiryo, system-ui, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.85;
  background: var(--paper);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body *,
body *::before,
body *::after {
  max-width: 100%;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(224, 122, 31, 0.38);
  outline-offset: 3px;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(27, 42, 65, 0.1);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  min-height: 70px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 224px;
}

.brand-logo {
  display: block;
  width: 270px;
  height: auto;
}

.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  position: relative;
  touch-action: manipulation;
  user-select: none;
}

.nav-toggle-icon {
  display: grid;
  place-items: center;
  width: 1.25em;
  height: 1.25em;
}

.nav-toggle-icon::before {
  content: "\2630";
  display: block;
  font-size: 1.35em;
  line-height: 1;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  content: "\00d7";
  font-size: 1.7em;
  transform: translateY(-0.04em);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #263447;
}

.site-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--orange-dark);
  border-bottom-color: var(--orange);
}

.mobile-nav-panel {
  display: none;
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1.3;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-secondary {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.btn-outline {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.btn-emergency {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.btn-small {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 0.86rem;
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: #fff;
  background: #7eb9d8;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 62, 92, 0.5) 0%, rgba(24, 82, 122, 0.3) 42%, rgba(126, 185, 216, 0.06) 100%),
    linear-gradient(0deg, rgba(12, 32, 52, 0.5) 0%, rgba(12, 62, 98, 0.12) 48%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  min-height: 650px;
  margin: 0 auto;
  padding: 74px 20px 70px;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: inherit;
  line-height: 1.24;
  letter-spacing: 0;
}

h1 {
  font-size: 2.55rem;
  font-weight: 900;
}

.hero h1 {
  margin-bottom: 22px;
  font-size: 3.1rem;
}

.hero-lead {
  max-width: 650px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.93);
  font-size: 1.05rem;
  font-weight: 700;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.consult-bar {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 78px;
  margin-top: 30px;
  padding: 18px 22px 18px 26px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(90deg, var(--navy), var(--navy-2));
  border-left: 7px solid var(--orange);
  box-shadow: 0 18px 42px rgba(27, 42, 65, 0.16);
}

.consult-bar span {
  color: #f8c59e;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.consult-bar strong {
  display: block;
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1.35;
}

.consult-bar em {
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.consult-bar em::after {
  content: " ->";
  color: var(--orange);
}

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

.section-blue .consult-bar,
.roof-dark-scene .consult-bar {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.2);
}

.section-blue .consult-bar em,
.roof-dark-scene .consult-bar em {
  color: rgba(27, 42, 65, 0.76);
}

.word-mark {
  display: inline-block;
  color: var(--orange);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.12em;
  font-weight: 900;
  transform: rotate(-1.5deg);
  animation: wordLift 4.2s ease-in-out infinite;
}

.word-split {
  display: inline-block;
}

.word-ink {
  position: relative;
  display: inline-block;
  color: var(--navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 900;
}

.word-ink::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.42em;
  background: rgba(224, 122, 31, 0.2);
  z-index: -1;
  transform-origin: left center;
  animation: underlineGrow 3.8s ease-in-out infinite;
}

.word-alert {
  display: inline-block;
  color: var(--red);
  font-weight: 900;
}

.word-orange {
  display: inline-block;
  color: var(--orange-dark);
  font-weight: 900;
  white-space: nowrap;
}

@keyframes wordLift {
  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
  }
  50% {
    transform: translateY(-3px) rotate(-1.5deg);
  }
}

@keyframes underlineGrow {
  0%,
  100% {
    transform: scaleX(0.72);
  }
  50% {
    transform: scaleX(1);
  }
}

.section {
  padding: 88px 20px;
}

.section-tight {
  padding: 58px 20px;
}

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

.section-blue {
  color: #fff;
  background: var(--navy);
}

.container {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 38px;
}

.section-head h2,
.plain-head h2 {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--navy);
}

.section-blue .section-head h2,
.section-blue .plain-head h2 {
  color: #fff;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.section-blue .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.plain-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.plain-head p {
  color: var(--muted);
}

.emergency-strip {
  margin-top: -42px;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.emergency-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 8px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 14px;
  align-items: center;
}

.emergency-title {
  color: var(--red);
  font-weight: 900;
  line-height: 1.45;
}

.emergency-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.reason-grid,
.service-grid,
.works-grid,
.column-grid,
.voice-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.reason-item,
.service-card,
.work-card,
.column-card,
.voice-card,
.stat-card,
.price-note,
.faq-item,
.info-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.reason-item {
  padding: 24px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reason-number {
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
}

.reason-item h3,
.service-card h3,
.work-card h3,
.column-card h3,
.faq-item h3 {
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--navy);
}

.reason-item p,
.service-card p,
.column-card p,
.voice-card p,
.faq-item p,
.info-box p {
  margin: 12px 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
}

.process {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process strong {
  color: var(--navy);
  font-weight: 900;
}

.process b {
  color: var(--orange-dark);
  font-size: 1.05rem;
}

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

.check-list li {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.check-list strong {
  color: var(--red);
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #101a29;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-caption {
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.78);
  background: #101a29;
  font-size: 0.9rem;
}

.roof-risk-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(224, 122, 31, 0.16), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #eef5f8 58%, #ffffff 100%);
}

.roof-risk-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(110deg, rgba(38, 63, 96, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.2));
  background-size: 42px 42px, auto;
  pointer-events: none;
}

.roof-risk-section > * {
  position: relative;
  z-index: 1;
}

.risk-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.roof-life-heading {
  max-width: 900px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2.7rem, 5.2vw, 5.15rem);
  line-height: 1.08;
  text-wrap: balance;
}

.word-danger-xl {
  position: relative;
  display: inline-block;
  color: #d42f2f;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.08em;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 7px 0 rgba(224, 122, 31, 0.12);
}

.word-danger-xl::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.05em;
  z-index: -1;
  height: 0.28em;
  background: linear-gradient(90deg, rgba(224, 122, 31, 0.86), rgba(212, 47, 47, 0.92));
  transform: skewX(-10deg);
  animation: dangerUnderline 3.2s ease-in-out infinite;
}

.risk-urgency {
  padding: 20px 0 8px;
  border-top: 3px solid var(--navy);
  border-bottom: 1px solid rgba(38, 63, 96, 0.22);
}

.risk-urgency-title {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.35;
}

.risk-urgency-title span {
  display: inline-block;
  margin-right: 0.45em;
  padding: 0.1em 0.42em 0.16em;
  color: #fff;
  background: #d42f2f;
  transform: rotate(-2deg);
}

.risk-urgency ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.risk-urgency li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: #243344;
  font-weight: 800;
  line-height: 1.55;
}

.risk-sign-text {
  display: inline-flex;
  min-width: 0;
  flex-wrap: wrap;
  column-gap: 0.7em;
  row-gap: 0.08em;
  background: linear-gradient(transparent 66%, rgba(224, 122, 31, 0.18) 66%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.risk-sign-text > span {
  display: inline-block;
  white-space: nowrap;
  line-height: 1.55;
}

.risk-urgency strong {
  display: grid;
  place-items: center;
  min-height: 34px;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.risk-urgency li:nth-child(1) strong {
  background: #d42f2f;
}

.risk-urgency li:nth-child(2) strong {
  background: var(--orange);
}

.roof-risk-board {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #132840;
  box-shadow: 0 24px 54px rgba(38, 63, 96, 0.22);
}

.roof-risk-board img {
  width: 100%;
  aspect-ratio: 16 / 7.2;
  object-fit: cover;
}

.roof-risk-board figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  color: #fff;
  background: linear-gradient(90deg, rgba(15, 30, 48, 0.88), rgba(15, 30, 48, 0.32));
}

.roof-risk-board figcaption span {
  flex: 0 0 auto;
  padding: 0.22em 0.7em 0.28em;
  background: #d42f2f;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.2;
  transform: rotate(-2deg);
}

.roof-risk-board figcaption strong {
  min-width: 0;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.35;
}

.roof-risk-stack {
  display: none;
}

@keyframes dangerUnderline {
  0%,
  100% {
    transform: scaleX(0.78) skewX(-10deg);
  }
  50% {
    transform: scaleX(1) skewX(-10deg);
  }
}

.works-grid {
  grid-template-columns: repeat(4, 1fr);
}

.work-card {
  overflow: hidden;
}

.work-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.work-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-photo-gallery {
  margin: 48px 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.work-photo-gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.work-photo-gallery-head h2 {
  margin: 0;
}

.work-photo-gallery-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.work-photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.work-photo-gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft-2);
}

.work-photo-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-photo-gallery-item figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  margin: 0;
  padding: 5px 9px;
  color: #fff;
  background: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.work-photo-gallery-item .work-photo-stage.is-before {
  background: #587087;
}

.work-photo-gallery-item .work-photo-stage.is-process {
  background: var(--orange);
}

.work-photo-gallery-item .work-photo-stage.is-after {
  background: #1f846f;
}

.work-comment-block {
  position: relative;
  margin: 48px 0;
  padding: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 6px solid var(--orange);
  background:
    linear-gradient(135deg, rgba(224, 122, 31, 0.1), transparent 38%),
    linear-gradient(180deg, #fff 0%, #f6fafc 100%);
}

.work-comment-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(27, 42, 65, 0.14);
}

.work-comment-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  font-weight: 900;
}

.work-comment-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: #fff;
  background: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.work-comment-main {
  margin: 0;
  color: #1f3149;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.95;
}

.work-material-highlight {
  color: var(--orange-dark);
  font-weight: 900;
  background: linear-gradient(transparent 62%, rgba(224, 122, 31, 0.22) 62%);
}

.work-comment-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 0;
}

.work-comment-meta div {
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.work-comment-meta dt {
  margin-bottom: 8px;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.work-comment-meta dd {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
}

.material-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.material-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  color: var(--navy);
  background: var(--soft-2);
  border-left: 3px solid var(--orange);
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
}

.work-body {
  padding: 18px;
}

.meta-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.tag,
.meta {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--soft-2);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.meta-orange {
  color: #fff;
  background: var(--orange);
}

.price-big {
  margin: 12px 0 10px;
  color: var(--orange-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.05;
}

.price-big span {
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--muted);
}

.price-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.price-table th,
.price-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table th {
  width: 34%;
  color: var(--navy);
  background: var(--soft-2);
  font-weight: 900;
}

.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: 0;
}

.price-note {
  padding: 24px;
}

.sns-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
}

.sns-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.sns-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.warning-band {
  border-top: 1px solid rgba(200, 66, 59, 0.35);
  border-bottom: 1px solid rgba(200, 66, 59, 0.35);
  background: #fff7f5;
}

.warning-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.comparison-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.comparison-box.danger {
  border-color: rgba(200, 66, 59, 0.45);
}

.comparison-box.safe {
  border-color: rgba(49, 122, 93, 0.45);
}

.area-box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
}

.map-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(27, 42, 65, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(27, 42, 65, 0.06) 1px, transparent 1px),
    #f7f9fb;
  background-size: 36px 36px;
  font-weight: 900;
  text-align: center;
}

.voice-grid,
.column-grid {
  grid-template-columns: repeat(3, 1fr);
}

.voice-card,
.column-card,
.service-card,
.stat-card,
.info-box {
  padding: 22px;
}

.column-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.column-card time {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.page-hero {
  padding: 74px 20px 58px;
  color: #fff;
  background: var(--navy);
  overflow-x: hidden;
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: end;
}

.breadcrumbs {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.86rem;
}

.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero p {
  max-width: 780px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.page-hero-aside {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}

.page-hero-aside strong {
  display: block;
  margin-bottom: 6px;
  color: var(--orange);
  font-size: 1.35rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
  gap: 34px;
  align-items: start;
}

.content-main > * + * {
  margin-top: 34px;
}

.article-body {
  max-width: 860px;
}

.article-body h2 {
  margin: 52px 0 14px;
  color: var(--navy);
  font-size: 1.65rem;
  font-weight: 900;
}

.article-body h3 {
  margin: 34px 0 10px;
  color: var(--navy);
  font-size: 1.2rem;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body ul,
.article-body ol {
  padding-left: 1.4em;
}

.side-cta {
  position: sticky;
  top: 94px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.side-cta h2,
.side-cta h3 {
  color: var(--navy);
  font-size: 1.1rem;
}

.side-cta p {
  color: var(--muted);
}

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

.detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding: 16px;
  border-left: 4px solid var(--orange);
  background: var(--soft-2);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.flow {
  counter-reset: flow;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow li {
  counter-increment: flow;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.flow li::before {
  content: counter(flow, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy);
  font-weight: 900;
}

.required,
.optional {
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 900;
}

.required {
  color: #fff;
  background: var(--red);
}

.optional {
  color: var(--navy);
  background: var(--soft-2);
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #bdc7d3;
  border-radius: 6px;
  background: #fff;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.field-error {
  min-height: 1.3em;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 800;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-result {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--soft-2);
  color: var(--navy);
  font-weight: 800;
}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #203956;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(18, 31, 48, 0.86) 0%, rgba(28, 52, 78, 0.74) 54%, rgba(28, 52, 78, 0.34) 100%),
    url("../img/generated-roof-material-stage.webp") right center / cover;
  opacity: 0.94;
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-main {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 56px 20px 30px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 32px;
}

.footer-main h2,
.footer-main h3 {
  color: #fff;
}

.footer-main p,
.footer-main li {
  color: rgba(255, 255, 255, 0.74);
}

.footer-main ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.footer-main a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  font-size: 0.86rem;
}

.mobile-cta {
  display: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
}

.skip-link:focus {
  top: 12px;
}

@media (min-width: 980px) {
  h1 {
    font-size: 3.25rem;
  }

  .hero h1 {
    font-size: 4.55rem;
  }
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 12px;
    font-size: 0.82rem;
  }

  .header-actions .btn-outline {
    display: none;
  }

  .reason-grid,
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: 76px;
  }

  .header-inner {
    min-height: 64px;
    padding: 0 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 168px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    display: none;
    padding: 18px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 8px;
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 4px;
    border-bottom: 1px solid var(--line);
  }

  .header-actions {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(12, 31, 50, 0.74) 0%, rgba(24, 72, 108, 0.48) 58%, rgba(126, 185, 216, 0.14) 100%);
  }

  .hero-media img {
    object-position: 64% center;
  }

  .hero-inner {
    min-height: 620px;
    padding: 82px 18px 42px;
    align-items: flex-end;
  }

  h1,
  .hero h1 {
    font-size: 2.36rem;
    text-align: center;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-lead {
    text-align: center;
    font-size: 0.98rem;
  }

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

  .consult-bar {
    min-height: 0;
    padding: 18px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .consult-bar span,
  .consult-bar em {
    white-space: normal;
  }

  .consult-bar strong {
    font-size: 1.08rem;
  }

  .hero-actions .btn,
  .section-actions .btn {
    width: 100%;
  }

  .section {
    padding: 64px 18px;
  }

  .section-tight {
    padding: 42px 18px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 26px;
    text-align: center;
  }

  .section-head h2,
  .plain-head h2 {
    font-size: 1.82rem;
  }

  .plain-head {
    text-align: center;
  }

  .plain-head p,
  .section-lead {
    text-align: left;
  }

  .emergency-strip {
    margin-top: 0;
    padding: 0;
  }

  .emergency-inner {
    grid-template-columns: 1fr;
    border-radius: 0;
    border-left: 0;
    border-top: 6px solid var(--red);
    box-shadow: none;
  }

  .emergency-buttons {
    grid-template-columns: 1fr;
  }

  .reason-grid,
  .service-grid,
  .works-grid,
  .column-grid,
  .voice-grid,
  .stats-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .reason-item {
    min-height: auto;
  }

  .split,
  .price-strip,
  .sns-grid,
  .warning-layout,
  .comparison,
  .area-box,
  .page-hero .container,
  .content-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .process li {
    grid-template-columns: 72px 1fr;
  }

  .media-frame img {
    aspect-ratio: 16 / 8;
  }

  .page-hero {
    padding: 50px 18px 42px;
  }

  .page-hero-aside {
    display: none;
  }

  .side-cta {
    position: static;
  }

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

  .price-table th,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table th {
    border-bottom: 0;
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(27, 42, 65, 0.15);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
  }

  .mobile-cta .btn {
    min-height: 52px;
    padding: 10px;
  }
}

@media (max-width: 420px) {
  .hero h1,
  h1 {
    font-size: 2.08rem;
  }

  .hero {
    min-height: 590px;
  }

  .hero-inner {
    min-height: 590px;
  }

  .btn {
    padding-left: 12px;
    padding-right: 12px;
  }

  .work-body,
  .reason-item,
  .service-card,
  .voice-card,
  .column-card,
  .price-note,
  .info-box {
    padding: 18px;
  }
}

/* 2026-08-29 launch refinement: real-photo hero rotation and public-ready content. */
.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroSlideFade 24s ease-in-out infinite;
  will-change: opacity, transform;
}

.hero-slide:nth-child(1) {
  animation-name: heroSlideFadeFirst;
}

.hero-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-slide:nth-child(3) {
  animation-delay: 12s;
}

.hero-slide:nth-child(4) {
  animation-delay: 18s;
}

@keyframes heroSlideFadeFirst {
  0%, 20% {
    opacity: 1;
    transform: scale(1);
  }
  29%, 96% {
    opacity: 0;
    transform: scale(1.025);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroSlideFade {
  0% {
    opacity: 0;
    transform: scale(1.025);
  }
  4%, 20% {
    opacity: 1;
    transform: scale(1);
  }
  29%, 100% {
    opacity: 0;
    transform: scale(1.025);
  }
}

.about-message {
  max-width: 980px;
}

.about-message-inner {
  padding: clamp(28px, 5vw, 64px);
  border-left: 7px solid var(--orange);
  background: linear-gradient(90deg, rgba(244, 248, 251, 0.98), rgba(255, 255, 255, 0.82));
}

.about-message-inner > h2,
.about-message-inner > p {
  max-width: 42em;
  margin-inline: auto;
}

.about-message-inner .detail-list {
  max-width: 42em;
  margin-inline: auto;
}

.footer-main-simple {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
  text-align: center;
}

.contact-call-section {
  padding-top: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(32px, 5vw, 72px);
}

.contact-call-panel {
  min-height: 260px;
  padding: clamp(30px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  border-left: 8px solid var(--orange);
  color: #fff;
  background: linear-gradient(105deg, #1d3856 0%, #294f73 72%, #356787 100%);
}

.contact-call-label {
  display: inline-block;
  margin-bottom: 14px;
  color: #ffd2ad;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.contact-call-panel h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.35;
}

.contact-call-panel p {
  max-width: 46em;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.contact-call-button {
  min-width: 180px;
  min-height: 58px;
  justify-content: center;
  font-size: 1.05rem;
}

@media (min-width: 861px) {
  .works-page-section .works-grid {
    gap: 28px;
    border-top: 0;
  }

  .works-page-section .work-card {
    padding: 32px 18px 42px;
    border-top: 3px solid var(--orange);
    border-bottom: 1px solid var(--line);
  }

  .works-page-section .work-card:nth-child(even) .work-photos {
    grid-column: 2;
    grid-row: 2;
  }

  .works-page-section .work-card:nth-child(even) .work-body {
    grid-column: 1;
    grid-row: 2;
  }

  .works-page-section .work-body {
    text-align: center;
  }

  .works-page-section .work-body h3 {
    margin-inline: auto;
  }

  .works-page-section .meta-row {
    justify-content: center;
  }

  .works-page-section .price-big {
    color: var(--orange-dark);
    font-size: clamp(2.7rem, 4vw, 4.2rem);
  }
}

@media (max-width: 860px) {
  .works-page-section .works-grid {
    gap: 18px;
    border: 0;
  }

  .works-page-section .work-card {
    min-height: 148px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--orange);
    background: rgba(255, 255, 255, 0.92);
  }

  .works-page-section .work-card .work-body,
  .works-page-section .work-card:nth-child(even) .work-body {
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .works-page-section .work-body h3 {
    margin: 0;
    font-size: clamp(0.92rem, 4vw, 1.06rem);
  }

  .works-page-section .price-big {
    margin-top: 10px;
    font-size: clamp(1.7rem, 7vw, 2rem);
  }

  .works-page-section .work-photos img:last-child {
    min-height: 148px;
  }

  .contact-call-panel {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .contact-call-panel h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .contact-call-button {
    width: min(100%, 280px);
    margin-inline: auto;
  }

  .about-message-inner {
    padding: 26px 20px 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    display: none;
    animation: none;
  }

  .hero-slide:first-child {
    display: block;
    opacity: 1;
    transform: none;
  }
}

/* Editorial redesign pass: fewer boxes, stronger words, more photographic rhythm. */
:root {
  --radius: 2px;
}

.lead-hit,
.caption-hit {
  display: inline;
  color: #fff;
  background: linear-gradient(transparent 52%, rgba(224, 122, 31, 0.92) 52%);
  font-weight: 900;
}

.section:not(.section-blue) .lead-hit {
  color: var(--navy);
}

.word-scream {
  display: inline-block;
  color: var(--orange);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.25em;
  font-weight: 900;
  line-height: 0.9;
  transform: rotate(-2deg);
  text-shadow: 0.04em 0.04em 0 rgba(27, 42, 65, 0.14);
  animation: wordPulse 3.2s ease-in-out infinite;
}

.word-cut {
  display: inline-block;
  padding: 0 0.1em;
  color: var(--navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.18em;
  font-weight: 900;
  background: linear-gradient(transparent 57%, rgba(224, 122, 31, 0.26) 57%);
}

.quote-mark {
  display: inline-block;
  margin-right: 0.18em;
  color: var(--orange-dark);
  font-size: 1.45em;
  font-weight: 900;
  line-height: 1;
}

.service-title-word {
  display: inline-block;
  color: var(--navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.14em;
  font-weight: 900;
}

@keyframes wordPulse {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg) scale(1);
  }
  50% {
    transform: translateY(-3px) rotate(-2deg) scale(1.03);
  }
}

.hero h1 {
  max-width: 820px;
  margin-inline: auto;
  font-size: 4.4rem;
  line-height: 0.98;
}

.hero .hero-copy {
  width: 100%;
  max-width: 1000px;
}

.hero .hero-actions {
  justify-content: center;
}

.hero-lead {
  font-size: 1.12rem;
  line-height: 1.9;
}

.hero-brand-lockup {
  position: relative;
  display: grid;
  width: min(1000px, 94vw);
  justify-items: stretch;
  gap: 0;
  margin: 0 auto 18px;
  color: #fff;
  text-align: center;
  isolation: isolate;
}

.hero-brand-lockup::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(880px, 92vw);
  height: 118%;
  background: radial-gradient(ellipse at center, rgba(8, 18, 32, 0.42), rgba(8, 18, 32, 0) 70%);
  filter: blur(14px);
  transform: translate(-50%, -50%);
}

.hero-brand-visual {
  position: relative;
  display: grid;
  min-height: 150px;
  place-items: center;
}

.hero-brand-mark,
.hero-brand-name {
  display: block;
  flex: 0 0 auto;
  background: linear-gradient(90deg, #eef9ff 0%, #b9e2f8 48%, #7faed1 100%);
  background-size: 100% 100%;
  filter:
    drop-shadow(0 2px 0 rgba(0, 0, 0, 0.2))
    drop-shadow(0 0 22px rgba(0, 0, 0, 0.35))
    drop-shadow(0 24px 46px rgba(0, 0, 0, 0.5));
  pointer-events: none;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.hero-brand-mark {
  position: absolute;
  left: 0;
  width: 150px;
  aspect-ratio: 1254 / 821;
  -webkit-mask-image: url("../brand/adopted-roman-v1/otsuka-roof-roman-hero-mark-white-v1.png");
  mask-image: url("../brand/adopted-roman-v1/otsuka-roof-roman-hero-mark-white-v1.png");
}

.hero-brand-name {
  width: min(650px, 68vw);
  aspect-ratio: 2400 / 242;
  margin-inline: auto;
  -webkit-mask-image: url("../brand/adopted-roman-v1/otsuka-roof-roman-hero-wordmark-white-v1.png");
  mask-image: url("../brand/adopted-roman-v1/otsuka-roof-roman-hero-wordmark-white-v1.png");
}

.hero-brand-tagline {
  display: block;
  width: min(650px, 68vw);
  margin-inline: auto;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
}

.photo-ribbon {
  display: grid;
  grid-template-columns: 0.72fr 1.12fr 1fr;
  gap: 0;
  background: #101a29;
}

.photo-ribbon img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

.photo-ribbon img:nth-child(1) {
  height: 520px;
  margin-top: -90px;
  z-index: 1;
}

.reason-grid,
.service-grid,
.works-grid,
.column-grid,
.voice-grid,
.stats-grid {
  gap: 0;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--line);
}

.reason-item,
.service-card,
.work-card,
.column-card,
.voice-card,
.stat-card,
.price-note,
.faq-item,
.info-box {
  border-radius: 0;
  box-shadow: none;
}

.reason-item,
.service-card,
.column-card,
.voice-card,
.stat-card {
  position: relative;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.reason-item {
  min-height: 245px;
  padding: 28px 26px 26px;
  border-right: 1px solid var(--line);
}

.reason-item:nth-child(4n) {
  border-right: 0;
}

.reason-number {
  color: rgba(27, 42, 65, 0.16);
  font-size: 5.2rem;
}

.reason-item h3 {
  margin-top: 16px;
  font-size: 1.34rem;
}

.process {
  border-top: 2px solid var(--navy);
}

.process li,
.check-list li,
.flow li {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.check-list {
  border-top: 2px solid var(--navy);
}

.media-frame,
.sns-card {
  border-radius: 0;
  border: 0;
}

.media-frame img {
  aspect-ratio: 16 / 9;
}

.media-cut {
  position: relative;
}

.media-cut::before {
  content: "CHECK";
  position: absolute;
  left: -12px;
  top: 18px;
  z-index: 2;
  padding: 4px 10px;
  color: #fff;
  background: var(--orange);
  font-weight: 900;
  transform: rotate(-4deg);
}

.works-grid {
  grid-template-columns: 1fr;
  border-top-color: var(--orange);
}

.work-card {
  display: grid;
  grid-template-columns: 118px minmax(360px, 0.92fr) minmax(0, 1fr);
  gap: 0;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.work-kicker {
  padding: 20px 14px;
  border-right: 1px solid var(--line);
  color: var(--navy);
  font-weight: 900;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.work-kicker span {
  color: var(--orange-dark);
}

.work-kicker b {
  margin-top: 12px;
}

.work-photos {
  min-height: 260px;
}

.work-photos img {
  aspect-ratio: auto;
  height: 100%;
  min-height: 260px;
}

.work-body {
  padding: 30px 32px;
}

.work-body h3 {
  font-size: 1.85rem;
}

.meta,
.tag {
  border-radius: 0;
}

.price-big {
  font-size: 3.3rem;
}

.price-strip {
  align-items: start;
}

.price-note,
.info-box,
.faq-item {
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  background: #fff;
}

.price-table {
  border-radius: 0;
}

.price-table th,
.price-table td {
  border-color: #cbd3dc;
}

.sns-grid {
  grid-template-columns: minmax(320px, 0.55fr) minmax(0, 1fr);
}

.sns-card img {
  aspect-ratio: 4 / 5;
}

.warning-band {
  background:
    linear-gradient(90deg, rgba(200, 66, 59, 0.09) 0, rgba(200, 66, 59, 0) 36%),
    #fff;
}

.comparison {
  border-top: 2px solid var(--red);
}

.comparison-box {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.area-editorial {
  border-top: 2px solid var(--navy);
  padding-top: 26px;
}

.area-kicker {
  margin: 0 0 10px;
  color: var(--orange-dark);
  font-weight: 900;
}

.area-lead {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 900;
}

.area-photo-stack {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: end;
  gap: 0;
}

.area-photo-stack img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.map-placeholder {
  min-height: 300px;
  border-radius: 0;
  border: 0;
  border-left: 6px solid var(--orange);
}

.voice-wall-section {
  background:
    linear-gradient(90deg, rgba(27, 42, 65, 0.05) 1px, transparent 1px),
    var(--soft);
  background-size: 72px 72px;
}

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

.voice-card {
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}

.voice-card:last-child {
  border-right: 0;
}

.voice-card p {
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.75;
}

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

.column-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 0.9fr) minmax(0, 1.1fr) 120px;
  gap: 22px;
  align-items: center;
  padding: 18px 0;
}

.column-card h3 {
  font-size: 1.35rem;
}

.column-card p {
  margin: 0;
}

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

.service-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 0.62fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
}

.service-card p {
  margin: 0;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(38, 63, 96, 0.72), rgba(38, 63, 96, 0.38)),
    url("../img/generated-roof-air-stage.webp") center / cover,
    var(--navy);
}

.page-hero h1 {
  font-size: 4.8rem;
  line-height: 1.16;
}

@media (max-width: 1100px) {
  .work-card {
    grid-template-columns: 88px minmax(280px, 0.9fr) minmax(0, 1fr);
  }

  .photo-ribbon img {
    height: 340px;
  }

  .photo-ribbon img:nth-child(1) {
    height: 410px;
  }
}

@media (max-width: 860px) {
  .word-scream {
    font-size: 1.12em;
    transform: none;
    animation: none;
  }

  .lead-hit {
    display: inline;
  }

  .hero,
  .hero-inner {
    min-height: 560px;
  }

  .hero-inner {
    padding-top: 58px;
    padding-bottom: 24px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 2.5rem;
    overflow-wrap: anywhere;
    text-align: left;
  }

  .hero-brand-lockup {
    width: min(360px, 92vw);
    margin-bottom: 18px;
    transform: translateY(-34px);
  }

  .hero-brand-lockup::before {
    width: 96vw;
    height: 128%;
  }

  .hero-brand-visual {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .hero-brand-mark {
    position: static;
    width: clamp(50px, 14vw, 60px);
  }

  .hero-brand-name {
    width: min(310px, 78vw);
    margin-inline: auto;
  }

  .hero-brand-tagline {
    width: min(310px, 78vw);
  }

  .hero-brand-tagline {
    margin-top: 2px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .hero-lead {
    margin-bottom: 18px;
    font-size: 0.94rem;
    line-height: 1.72;
    text-align: left;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions .btn {
    min-height: 48px;
  }

  .photo-ribbon {
    grid-template-columns: 1fr;
  }

  .photo-ribbon img,
  .photo-ribbon img:nth-child(1) {
    height: 185px;
    margin-top: 0;
  }

  .reason-grid,
  .service-grid,
  .works-grid,
  .column-grid,
  .voice-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .reason-item,
  .reason-item:nth-child(4n),
  .voice-card,
  .voice-card:last-child {
    border-right: 0;
  }

  .reason-item {
    min-height: auto;
    padding: 22px 0;
  }

  .work-card {
    grid-template-columns: 1fr;
  }

  .work-kicker {
    display: flex;
    justify-content: space-between;
    writing-mode: horizontal-tb;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .work-photos img {
    min-height: 180px;
  }

  .work-body {
    padding: 22px 0 28px;
  }

  .area-photo-stack,
  .column-card,
  .service-card,
  .sns-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .area-photo-stack img {
    height: 220px;
  }

  .map-placeholder {
    min-height: 220px;
  }

  .voice-card,
  .column-card,
  .service-card {
    padding-left: 0;
    padding-right: 0;
  }

  .media-frame img {
    aspect-ratio: 16 / 8;
  }
}

/* Strong text system pass: intentional line breaks, no orphan particles. */
.title-line,
.hero-line {
  display: block;
  width: 100%;
  white-space: nowrap;
  text-wrap: nowrap;
}

.title-line + .title-line {
  margin-top: 0.08em;
}

.hero-copy {
  margin-inline: auto;
  text-align: center;
}

.hero h1,
.page-hero h1,
.page-hero p {
  text-align: center;
}

.hero-lead {
  margin-inline: auto;
}

.word-impact,
.word-brush,
.word-box,
.word-outline,
.word-draw,
.word-danger,
.word-label,
.word-line {
  display: inline-block;
  white-space: nowrap;
  line-height: 1.05;
}

.word-impact {
  color: var(--orange);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.22em;
  font-weight: 900;
  transform: translateY(0.04em) rotate(-1deg);
  animation: wordPulse 3.1s ease-in-out infinite;
}

.word-brush {
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.16em;
  font-weight: 900;
  background: var(--navy);
  box-shadow: 0.16em 0.16em 0 var(--orange);
  padding: 0.02em 0.16em 0.08em;
  transform: rotate(-1.4deg);
}

.section-blue .word-brush,
.hero .word-brush,
.page-hero .word-brush {
  background: #fff;
  color: var(--navy);
}

.hero .word-brush {
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 1em;
  letter-spacing: 0;
  transform: none;
}

.word-box {
  padding: 0.02em 0.16em 0.08em;
  color: #fff;
  background: var(--orange);
  font-weight: 900;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.word-outline {
  color: transparent;
  -webkit-text-stroke: 1.3px currentColor;
  -webkit-text-stroke-color: var(--navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.18em;
  font-weight: 900;
  text-shadow: none;
}

.page-hero .word-outline,
.section-blue .word-outline,
.hero .word-outline {
  -webkit-text-stroke-color: #fff;
}

.word-draw {
  color: var(--navy);
  font-family: "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 1.1em;
  font-weight: 900;
  background:
    linear-gradient(transparent 56%, rgba(224, 122, 31, 0.4) 56%),
    linear-gradient(90deg, rgba(224, 122, 31, 0.22), rgba(27, 42, 65, 0));
  padding-inline: 0.08em;
}

.page-hero .word-draw,
.section-blue .word-draw,
.hero .word-draw {
  color: #fff;
  background: linear-gradient(transparent 58%, rgba(224, 122, 31, 0.8) 58%);
}

.word-danger {
  color: var(--red);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.14em;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 0.18em;
  text-decoration-color: rgba(200, 66, 59, 0.26);
  text-underline-offset: -0.04em;
}

.word-label {
  padding: 0.12em 0.35em;
  color: #fff;
  background: var(--navy);
  font-size: 0.72em;
  vertical-align: middle;
}

.word-line {
  color: var(--navy);
  font-weight: 900;
  background: linear-gradient(transparent 64%, rgba(224, 122, 31, 0.24) 64%);
}

.page-hero .word-line,
.hero .word-line,
.section-blue .word-line {
  color: #fff;
}

.page-hero .container {
  justify-items: center;
}

.page-hero .breadcrumbs {
  text-align: center;
}

.page-hero .word-brush {
  padding-bottom: 0.12em;
  box-shadow: 0.11em 0.11em 0 var(--orange);
}

.page-hero .word-impact {
  animation: none;
  transform: none;
}

.page-hero-aside {
  text-align: left;
}

.factor-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--line);
}

.factor-board article {
  padding: 26px 22px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0)),
    transparent;
}

.factor-board article:last-child {
  border-right: 0;
}

.factor-board span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--orange-dark);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.factor-board h3 {
  color: var(--navy);
  font-size: 1.14rem;
}

.factor-board p {
  color: var(--muted);
}

.asbestos-note h2 {
  font-size: 2.7rem;
}

.knowledge-list {
  border-top: 2px solid var(--navy);
}

.knowledge-article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 26px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.article-index {
  color: rgba(27, 42, 65, 0.2);
  font-family: Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.knowledge-article time {
  color: var(--muted);
  font-weight: 800;
}

.knowledge-article h2 {
  margin: 8px 0 18px;
  color: var(--navy);
  font-size: 2.7rem;
  line-height: 1.15;
}

.knowledge-article h2 .word-brush,
.knowledge-article h2 .word-outline,
.knowledge-article h2 .word-danger {
  display: inline;
  white-space: normal;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.article-lead {
  max-width: 780px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
}

.knowledge-article section {
  margin-top: 28px;
}

.knowledge-article h3 {
  color: var(--navy);
  font-size: 1.18rem;
}

.compact-flow {
  margin-top: 24px;
}

.roof-texture-section,
.roof-air-section,
.roof-material-section,
.roof-dark-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.roof-texture-section::before,
.roof-air-section::before,
.roof-material-section::before,
.roof-dark-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  pointer-events: none;
}

.roof-texture-section > *,
.roof-air-section > *,
.roof-material-section > *,
.roof-dark-scene > * {
  position: relative;
  z-index: 1;
}

.roof-texture-section::before {
  background-image:
    linear-gradient(180deg, rgba(248, 247, 242, 0.9), rgba(244, 241, 234, 0.86)),
    url("../img/generated-roof-texture-stage.webp");
  opacity: 0.9;
}

.roof-air-section::before {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 249, 252, 0.84)),
    url("../img/generated-roof-air-stage.webp");
  opacity: 0.96;
}

.roof-material-section::before {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(246, 249, 250, 0.86)),
    url("../img/generated-roof-material-stage.webp");
  opacity: 0.98;
}

.roof-dark-scene {
  background: var(--navy);
}

.roof-dark-scene::before {
  background-image:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.22), rgba(38, 63, 96, 0.46) 78%),
    linear-gradient(90deg, rgba(31, 58, 88, 0.58), rgba(31, 58, 88, 0.28)),
    url("../img/generated-roof-air-stage.webp");
  opacity: 1;
}

.scroll-reveal {
  --reveal-x: 0px;
  --reveal-y: 28px;
  --reveal-scale: 1;
  opacity: 0.001;
  filter: blur(8px);
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale));
  transition:
    opacity 760ms ease,
    filter 760ms ease,
    transform 900ms cubic-bezier(0.18, 0.82, 0.22, 1);
  transition-delay: calc(var(--reveal-order, 0) * 72ms);
  will-change: opacity, filter, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal-title {
  --reveal-y: 42px;
}

.reveal-left {
  --reveal-x: -34px;
  --reveal-y: 0px;
}

.reveal-right {
  --reveal-x: 34px;
  --reveal-y: 0px;
}

.reveal-pop {
  --reveal-y: 18px;
  --reveal-scale: 0.96;
}

.reveal-mark {
  --reveal-y: 12px;
  --reveal-scale: 0.92;
  transition-duration: 680ms, 680ms, 780ms;
}

.hero .scroll-reveal {
  transition-duration: 820ms, 820ms, 980ms;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

.knowledge-thumb {
  float: right;
  width: min(42%, 430px);
  margin: 6px 0 22px 30px;
  border-top: 2px solid var(--navy);
  background: rgba(255, 255, 255, 0.48);
}

.knowledge-thumb img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  object-position: center;
}

.knowledge-thumb figcaption {
  margin: 0;
  padding: 12px 0 0;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.65;
}

@media (max-width: 860px) {
  .reveal-left,
  .reveal-right {
    --reveal-x: 0px;
    --reveal-y: 24px;
  }

  .scroll-reveal {
    filter: none;
    transition:
      opacity 420ms ease,
      transform 520ms cubic-bezier(0.18, 0.82, 0.22, 1);
    transition-delay: calc(var(--reveal-order, 0) * 34ms);
  }

  .reveal-title {
    --reveal-y: 24px;
  }

  .title-line,
  .hero-line {
    white-space: normal;
    text-wrap: balance;
    word-break: keep-all;
    line-break: strict;
  }

  .hero-copy,
  .hero h1,
  .hero-lead,
  .page-hero h1,
  .page-hero p,
  .section-head,
  .plain-head {
    text-align: center;
  }

  .page-hero .container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero h1 {
    font-size: 2.46rem;
  }

  .section-head h2,
  .plain-head h2,
  .area-editorial h2,
  .knowledge-article h2,
  .work-body h3,
  .column-card h3,
  .voice-card h3,
  .stat-card h3,
  .factor-board h3,
  .comparison-box h3,
  .consult-bar strong {
    text-wrap: balance;
    word-break: keep-all;
    line-break: strict;
    overflow-wrap: normal;
  }

  .knowledge-thumb img {
    max-height: 260px;
  }

  .knowledge-thumb {
    float: none;
    width: 100%;
    margin: 20px 0 4px;
  }

  .word-impact,
  .word-brush,
  .word-box,
  .word-outline,
  .word-draw,
  .word-danger {
    white-space: normal;
  }

  .word-brush {
    box-shadow: 0.1em 0.1em 0 var(--orange);
  }

  .factor-board,
  .knowledge-article {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .knowledge-article > *,
  .knowledge-article h2,
  .knowledge-thumb {
    max-width: 100%;
    min-width: 0;
  }

  .knowledge-article h2 .word-brush,
  .knowledge-article h2 .word-outline,
  .knowledge-article h2 .word-danger {
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .factor-board article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .factor-board article:last-child {
    border-bottom: 0;
  }

  .article-index {
    font-size: 2.2rem;
  }
}

@media (max-width: 420px) {
  .hero-inner {
    padding-top: 48px;
    padding-bottom: 18px;
  }

  .hero-brand-lockup {
    width: min(344px, 92vw);
    margin-bottom: 18px;
    transform: translateY(-30px);
  }

  .hero-brand-visual {
    min-height: 94px;
  }

  .hero-brand-mark {
    width: clamp(50px, 14vw, 58px);
  }

  .hero-brand-name {
    width: min(286px, 79vw);
  }

  .hero-brand-tagline {
    width: min(286px, 79vw);
  }

  .hero-brand-tagline {
    margin-top: 2px;
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: 2.08rem;
  }

  .hero-lead {
    margin-bottom: 14px;
    font-size: 0.9rem;
    line-height: 1.62;
  }

  .hero-actions .btn {
    min-height: 46px;
  }
}

/* Smartphone top-page refinement. Keep copy intact, but compress the path to contact. */
.header-mobile-tools {
  display: contents;
}

.header-instagram {
  display: none;
}

.work-card {
  color: inherit;
  text-decoration: none;
}

.work-more {
  width: fit-content;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--navy);
}

.news-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 0 0 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: inherit;
  text-decoration: none;
}

.news-card:nth-child(3n) {
  border-right: 0;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.news-date {
  padding: 0 18px;
  color: var(--orange-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.news-card h3 {
  padding: 0 18px;
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.48;
}

.cta-title > span {
  display: inline;
}

.company-profile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--navy);
  background: rgba(255, 255, 255, 0.72);
}

.company-profile dl {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-profile dl:nth-child(2n) {
  border-right: 0;
}

.company-profile dt {
  color: var(--orange-dark);
  font-weight: 900;
}

.company-profile dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.price-table .price-name {
  display: inline-block;
  color: var(--navy);
  font-size: 1.04rem;
}

.price-table .price-from {
  display: block;
  margin-bottom: 4px;
  color: var(--orange-dark);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.2;
}

.price-table td span {
  color: var(--muted);
}

.price-row-kawara th { border-left: 6px solid #d46a16; }
.price-row-reuse th { border-left: 6px solid #317a5d; }
.price-row-cover th { border-left: 6px solid #34617f; }
.price-row-leak th { border-left: 6px solid #c8423b; }
.price-row-banking th { border-left: 6px solid #7a5a30; }

.no-push-note {
  position: relative;
  overflow: hidden;
}

.no-push-mark {
  width: fit-content;
  height: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 8px 14px 8px 8px;
  border: 2px solid var(--red);
  border-radius: 6px;
  color: var(--red);
  background: #fff4f2;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  box-shadow: 3px 3px 0 rgba(200, 66, 59, 0.12);
  transform: none;
}

.no-push-mark span {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  min-height: 46px;
  color: #fff;
  background: var(--red);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.no-push-mark strong {
  color: var(--red);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.factor-board img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 18px;
}

.factor-board article {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 0;
  background: #102236;
}

.factor-board article > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.factor-board article::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(12, 27, 45, 0.84) 0%, rgba(12, 27, 45, 0.48) 44%, rgba(12, 27, 45, 0.06) 100%);
}

.factor-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 22px 18px 20px;
  color: #fff;
}

.factor-copy span {
  margin: 0 0 10px;
  color: #fff;
  background: var(--orange);
  padding: 0.08em 0.34em 0.16em;
  font-size: 2rem;
  transform: rotate(-2deg);
}

.factor-copy h3 {
  color: #fff;
  font-size: 1.14rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.32);
}

.factor-copy p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.65;
}

.asbestos-copy h2 > span {
  display: inline;
}

.asbestos-copy h2 > span:nth-child(2) {
  white-space: nowrap;
}

.asbestos-copy h2 .word-danger {
  display: inline-block;
}

.safety-list li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.safety-list strong {
  display: grid;
  place-items: center;
  min-height: 42px;
  color: #fff;
  background: var(--navy);
}

.safety-list li:nth-child(2) strong {
  background: var(--orange);
}

.safety-list li:nth-child(3) strong {
  background: var(--red);
}

.knowledge-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--navy);
}

.knowledge-card {
  position: relative;
  min-width: 0;
  min-height: 440px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #102236;
  color: #fff;
  text-align: left;
}

.knowledge-card:nth-child(3n) {
  border-right: 0;
}

.knowledge-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.knowledge-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(13, 27, 44, 0.9) 0%, rgba(13, 27, 44, 0.58) 52%, rgba(13, 27, 44, 0.08) 100%);
}

.knowledge-card:hover img {
  transform: scale(1.04);
}

.knowledge-card .article-index,
.knowledge-card-body {
  position: relative;
  z-index: 1;
}

.knowledge-card .article-index {
  position: absolute;
  top: 18px;
  left: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.knowledge-card-body {
  display: grid;
  gap: 10px;
  padding: 24px 20px;
}

.knowledge-card time {
  color: #f7bf92;
  font-size: 0.82rem;
  font-weight: 900;
}

.knowledge-card-title {
  display: grid;
  gap: 0.06em;
  color: #fff;
  font-size: clamp(1.42rem, 2.1vw, 1.9rem);
  font-weight: 900;
  line-height: 1.16;
}

.knowledge-card-title .title-line {
  width: auto;
  white-space: normal;
}

.knowledge-card-lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.65;
}

.knowledge-card-more {
  width: fit-content;
  margin-top: 4px;
  padding: 7px 10px;
  color: #fff;
  background: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
}

.knowledge-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
}

.knowledge-modal[hidden] {
  display: none;
}

.knowledge-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 27, 44, 0.62);
  backdrop-filter: blur(8px);
}

.knowledge-modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(84dvh, 820px);
  overflow: auto;
  padding: 34px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(12, 27, 45, 0.32);
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: -10px -10px 10px 16px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.knowledge-modal-panel time {
  color: var(--orange-dark);
  font-weight: 900;
}

.knowledge-modal-panel h2 {
  display: grid;
  gap: 0.06em;
  margin: 10px 0 16px;
  color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.14;
}

.knowledge-modal-panel .title-line {
  width: auto;
  white-space: normal;
}

.knowledge-modal-panel section {
  margin-top: 28px;
}

.knowledge-modal-panel h3 {
  color: var(--navy);
  font-size: 1.2rem;
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 64px;
    padding: 0 12px;
    gap: 8px;
  }

  .brand-logo {
    width: 168px;
  }

  .header-mobile-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .header-instagram {
    width: 46px;
    min-width: 46px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: radial-gradient(circle at 31% 108%, #ffd86a 0 18%, transparent 19%), linear-gradient(35deg, #f9ce6f 0%, #f48141 24%, #e34075 51%, #ae3cb4 76%, #5d64ce 100%);
    box-shadow: 0 8px 18px rgba(165, 47, 139, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .header-instagram:hover,
  .header-instagram:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(165, 47, 139, 0.3);
  }

  .instagram-icon {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.1;
  }

  .instagram-icon .instagram-dot {
    fill: #fff;
    stroke: none;
  }

  .nav-toggle {
    min-width: 52px;
    min-height: 52px;
    border: 2px solid rgba(38, 63, 96, 0.26);
    background: #fff;
    color: var(--navy);
    font-size: 1.28rem;
    box-shadow: 0 10px 24px rgba(38, 63, 96, 0.12);
  }

  .site-nav {
    inset: 64px 0 auto 0;
    padding: 12px 18px 22px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 250, 0.98)),
      #fff;
  }

  .site-nav.is-open {
    gap: 0;
  }

  .site-nav a {
    min-height: 54px;
    padding: 14px 4px;
    color: var(--navy);
    font-size: 1.02rem;
    font-weight: 900;
  }

  .emergency-strip {
    display: none;
  }

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

  .reason-item,
  .reason-item:nth-child(4n) {
    min-height: 164px;
    padding: 14px 10px 16px;
    border-right: 1px solid var(--line);
  }

  .reason-item:nth-child(2n) {
    border-right: 0;
  }

  .reason-number {
    font-size: 2.8rem;
  }

  .reason-item h3 {
    margin-top: 8px;
    font-size: 0.98rem;
    line-height: 1.38;
  }

  .reason-item p {
    margin-top: 8px;
    font-size: 0.78rem;
    line-height: 1.6;
  }

  .photo-ribbon {
    display: none;
  }

  .life-roof-section::before {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(244, 249, 252, 0.93) 62%, rgba(244, 249, 252, 0.98)),
      url("../img/photo-roof-team-wide.webp");
    background-position: center top;
    opacity: 1;
  }

  .life-roof-section .split {
    gap: 22px;
  }

  .life-roof-section .media-frame {
    margin-top: 8px !important;
  }

  .life-roof-section .media-frame img {
    max-height: 190px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

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

  .work-card {
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: stretch;
    min-width: 0;
    overflow: hidden;
  }

  .works-page-section .work-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) 108px;
  }

  .works-page-section .work-card:nth-child(even) .work-photos {
    grid-column: 2;
    grid-row: 1;
  }

  .works-page-section .work-card:nth-child(even) .work-body {
    grid-column: 1;
    grid-row: 1;
    padding: 12px 12px 14px 0;
  }

  .work-kicker {
    display: none;
  }

  .work-photos {
    grid-column: 1;
    display: block;
    min-height: 0;
    height: 100%;
  }

  .work-photos img:first-child {
    display: none;
  }

  .work-photos img:last-child {
    width: 100%;
    height: 100%;
    min-height: 124px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
  }

  .work-body {
    grid-column: 2;
    min-width: 0;
    padding: 12px 0 14px 12px;
  }

  .work-body h3 {
    margin-top: 0;
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.44;
  }

  .work-body .meta-row {
    display: none;
  }

  .price-big {
    margin: 8px 0 0;
    color: var(--orange-dark);
    font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 1.56rem;
    font-weight: 900;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
  }

  .price-big span,
  .work-more {
    display: none;
  }

  .sns-grid {
    gap: 18px;
  }

  .sns-card img {
    max-height: 220px;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    border-top: 0;
  }

  .news-card,
  .news-card:nth-child(3n) {
    gap: 7px;
    padding-bottom: 10px;
    border-right: 0;
    border-top: 2px solid var(--navy);
    background: rgba(255, 255, 255, 0.72);
  }

  .news-card img {
    height: 92px;
    aspect-ratio: auto;
  }

  .news-date {
    padding: 0 8px;
    font-size: 0.68rem;
  }

  .news-card h3 {
    padding: 0 8px;
    font-size: 0.86rem;
    line-height: 1.45;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 160px;
  }

  .header-instagram {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 11px;
  }

  .nav-toggle {
    min-width: 48px;
    min-height: 48px;
  }

  .reason-item,
  .reason-item:nth-child(4n) {
    min-height: 156px;
  }

  .work-card {
    grid-template-columns: 102px minmax(0, 1fr);
  }

  .price-big {
    font-size: 1.42rem;
  }
}

/* Mobile page safety pass: no clipped heroes, no oversized emphasis on real devices. */
@media (max-width: 860px) {
  .page-hero {
    padding: 38px 18px 42px;
    overflow: hidden;
  }

  .page-hero .container {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .breadcrumbs {
    margin-bottom: 14px;
    font-size: 0.78rem;
    line-height: 1.6;
    white-space: normal;
  }

  .page-hero h1 {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    font-size: clamp(2.05rem, 10.5vw, 3rem);
    line-height: 1.22;
    text-align: center;
    word-break: keep-all;
    line-break: strict;
    overflow-wrap: normal;
  }

  .page-hero .title-line {
    display: block;
    max-width: 100%;
    white-space: normal;
    text-wrap: balance;
    word-break: keep-all;
    line-break: strict;
    overflow-wrap: normal;
  }

  .page-hero h1 .word-impact,
  .page-hero h1 .word-brush,
  .page-hero h1 .word-box,
  .page-hero h1 .word-outline,
  .page-hero h1 .word-draw,
  .page-hero h1 .word-danger,
  .page-hero h1 .word-orange,
  .page-hero h1 .word-label,
  .page-hero h1 .word-line {
    max-width: 100%;
    display: inline;
    white-space: normal;
    font-size: 1em;
    transform: none;
    animation: none;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }

  .page-hero h1 .word-brush {
    padding: 0.01em 0.12em 0.08em;
    box-shadow: 0.08em 0.08em 0 var(--orange);
  }

  .page-hero h1 .word-box {
    padding: 0.01em 0.14em 0.07em;
  }

  .page-hero p {
    max-width: 100%;
    margin-top: 14px;
    font-size: 0.92rem;
    line-height: 1.7;
    text-align: center;
    text-wrap: balance;
    word-break: keep-all;
    line-break: strict;
  }

  .section-head h2,
  .plain-head h2,
  .asbestos-note h2,
  .knowledge-article h2 {
    max-width: 100%;
    font-size: clamp(1.56rem, 7.6vw, 2.05rem);
    line-height: 1.32;
    overflow: visible;
  }

  .section-head h2 .word-impact,
  .section-head h2 .word-brush,
  .section-head h2 .word-box,
  .section-head h2 .word-outline,
  .section-head h2 .word-draw,
  .section-head h2 .word-danger,
  .section-head h2 .word-orange,
  .plain-head h2 .word-impact,
  .plain-head h2 .word-brush,
  .plain-head h2 .word-box,
  .plain-head h2 .word-outline,
  .plain-head h2 .word-draw,
  .plain-head h2 .word-danger,
  .plain-head h2 .word-orange {
    display: inline;
    white-space: normal;
    font-size: 1em;
    transform: none;
    animation: none;
  }

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

  .stat-card {
    padding: 20px 0;
  }

  .site-footer {
    background: #223e5d;
  }

  .site-footer::before {
    background:
      linear-gradient(180deg, rgba(24, 38, 58, 0.86) 0%, rgba(24, 48, 73, 0.74) 62%, rgba(24, 48, 73, 0.48) 100%),
      url("../img/generated-roof-material-stage.webp") center bottom / cover;
    opacity: 1;
  }

  .footer-main {
    padding: 38px 18px 24px;
    gap: 18px;
  }

  .footer-main h2 {
    font-size: 1.48rem;
  }

  .footer-main p,
  .footer-main li {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .footer-main br {
    display: none;
  }

  .company-profile {
    grid-template-columns: 1fr;
  }

  .company-profile dl,
  .company-profile dl:nth-child(2n) {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 10px;
    padding: 15px 0;
    border-right: 0;
  }

  .company-profile dt,
  .company-profile dd {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .price-table th,
  .price-table td {
    padding: 14px 12px;
  }

  .price-table .price-from {
    font-size: 1.28rem;
  }

  .no-push-note {
    padding-top: 20px;
  }

  .no-push-mark {
    width: fit-content;
    max-width: 100%;
    min-height: 48px;
    height: auto;
    margin: 0 0 16px;
    padding: 6px 10px;
    transform: none;
  }

  .factor-board {
    gap: 14px;
    border: 0;
  }

  .factor-board article,
  .factor-board article:last-child {
    min-height: 250px;
    padding: 0;
    border: 0;
    border-top: 2px solid var(--navy);
    background: #102236;
  }

  .factor-board article > img {
    height: 100%;
    margin-bottom: 0;
  }

  .factor-copy {
    padding: 18px 14px 16px;
  }

  .factor-board .factor-copy span {
    margin: 0 0 8px;
    font-size: 1.65rem;
  }

  .factor-board .factor-copy h3,
  .factor-board .factor-copy p {
    margin-left: 0;
    margin-right: 0;
  }

  .factor-copy p {
    font-size: 0.78rem;
    line-height: 1.55;
  }

  .asbestos-copy {
    text-align: center;
  }

  .asbestos-copy h2 {
    display: grid;
    gap: 0.08em;
    justify-items: center;
    text-align: center;
  }

  .asbestos-copy h2 > span {
    display: block;
  }

  .asbestos-copy h2 > span:nth-child(2) {
    white-space: nowrap;
  }

  .asbestos-copy h2 .word-danger {
    display: inline-block;
    white-space: nowrap;
  }

  .cta-title {
    display: grid;
    gap: 0.08em;
    justify-items: center;
    text-align: center;
  }

  .cta-title > span {
    display: block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .cta-title .word-box {
    display: inline-block;
    white-space: nowrap;
  }

  .knowledge-card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    border-top: 0;
  }

  .knowledge-card,
  .knowledge-card:nth-child(3n) {
    min-height: 245px;
    border: 0;
    border-top: 3px solid var(--navy);
  }

  .knowledge-card-body {
    padding: 20px 18px;
  }

  .knowledge-card-title {
    font-size: clamp(1.55rem, 7.2vw, 2.05rem);
  }

  .knowledge-card-lead {
    display: none;
  }

  .knowledge-modal {
    align-items: end;
    padding: 0;
  }

  .knowledge-modal-panel {
    width: 100%;
    max-height: calc(100dvh - 76px);
    padding: 22px 18px 92px;
  }

  .knowledge-modal-panel h2 {
    font-size: clamp(1.65rem, 7.2vw, 2.2rem);
  }

  .knowledge-modal-panel .knowledge-thumb {
    float: none;
    width: 100%;
    margin: 18px 0 20px;
  }

  .safety-list li {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .page-hero {
    padding: 34px 16px 38px;
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 9.7vw, 2.36rem);
  }

  .page-hero p {
    font-size: 0.88rem;
  }

  .section-head h2,
  .plain-head h2,
  .asbestos-note h2,
  .knowledge-article h2 {
    font-size: clamp(1.46rem, 7vw, 1.86rem);
  }

  .cta-title {
    font-size: clamp(1.72rem, 8.2vw, 2.05rem);
  }
}

@media (max-width: 860px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  main,
  section,
  header,
  footer,
  .container,
  .header-inner,
  .footer-main {
    max-width: 100%;
    overflow-x: clip;
  }

  img,
  video,
  canvas,
  svg {
    max-width: 100%;
  }

  h1,
  h2,
  h3,
  p,
  li,
  dd,
  a,
  strong,
  span {
    overflow-wrap: anywhere;
  }

  .title-line,
  .hero-line,
  .word-impact,
  .word-brush,
  .word-box,
  .word-outline,
  .word-draw,
  .word-danger,
  .word-label,
  .word-line {
    max-width: 100%;
  }

  .cta-title .cta-line {
    overflow-wrap: normal;
  }
}

@media (max-width: 860px) {
  body {
    padding-top: 64px;
  }

  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100%;
    overflow: visible !important;
  }

  .site-nav-desktop {
    display: none !important;
  }

  .header-mobile-tools,
  .nav-toggle {
    position: relative;
    z-index: 92;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 52px;
    padding: 0;
    font-size: 1.28rem;
  }

  .mobile-nav-panel {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 64px !important;
    width: 100vw;
    z-index: 79;
    max-width: 100vw;
    max-height: calc(100dvh - 64px);
    display: none !important;
    gap: 0;
    padding: 12px 18px 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-bottom: 1px solid var(--line);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 250, 0.98)),
      #fff;
    box-shadow: 0 20px 46px rgba(38, 63, 96, 0.16);
  }

  body.menu-open .mobile-nav-panel,
  .mobile-nav-panel.is-open {
    display: grid !important;
  }

  .mobile-nav-panel a {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--navy);
    font-size: 1.02rem;
    font-weight: 900;
  }

  .mobile-nav-panel a[aria-current="page"] {
    color: var(--orange-dark);
    border-bottom-color: var(--orange);
  }

  .roof-risk-section {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .risk-intro {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 24px;
    text-align: center;
  }

  .roof-life-heading {
    display: grid;
    justify-items: center;
    gap: 0.08em;
    margin-inline: auto;
    font-size: clamp(2rem, 8.1vw, 2.8rem);
    line-height: 1.18;
    text-align: center;
  }

  .word-danger-xl {
    display: inline-block;
    max-width: 100%;
    color: #d42f2f;
    font-size: 1.1em;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .risk-urgency {
    width: min(100%, 520px);
    margin-inline: auto;
    padding: 18px 0 4px;
    text-align: left;
  }

  .risk-urgency-title {
    text-align: center;
  }

  .risk-urgency li {
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    font-size: clamp(0.72rem, 3vw, 0.9rem);
    line-height: 1.45;
  }

  .risk-urgency strong {
    min-height: 32px;
  }

  .risk-sign-text {
    display: inline-flex;
    flex-wrap: nowrap;
    column-gap: 0;
    max-width: 100%;
    overflow: visible;
    white-space: nowrap;
  }

  .risk-sign-text > span {
    line-height: 1.45;
  }

  .roof-risk-board {
    display: none;
  }

  .roof-risk-stack {
    display: grid;
    gap: 14px;
    width: min(100%, 560px);
    margin: 24px auto 0;
    padding: 0;
    list-style: none;
  }

  .roof-risk-stack li {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.78);
    border-top: 3px solid var(--navy);
    box-shadow: 0 16px 34px rgba(38, 63, 96, 0.12);
  }

  .roof-risk-stack .risk-mid {
    border-top-color: var(--orange);
  }

  .roof-risk-stack .risk-high,
  .roof-risk-stack .risk-critical {
    border-top-color: #d42f2f;
  }

  .roof-risk-stack img {
    width: 116px;
    height: 100%;
    min-height: 142px;
    object-fit: cover;
  }

  .roof-risk-stack div {
    min-width: 0;
    padding: 14px 14px 14px 15px;
    text-align: left;
  }

  .roof-risk-stack span {
    display: inline-block;
    margin-bottom: 4px;
    color: var(--orange-dark);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.08em;
    overflow-wrap: normal;
  }

  .roof-risk-stack .risk-high span,
  .roof-risk-stack .risk-critical span {
    color: #d42f2f;
  }

  .roof-risk-stack h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.22rem;
    font-weight: 900;
    line-height: 1.2;
  }

  .roof-risk-stack .risk-high h3,
  .roof-risk-stack .risk-critical h3 {
    color: #d42f2f;
  }

  .roof-risk-stack p {
    margin: 8px 0 0;
    color: #263447;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.58;
  }
}

@media (max-width: 420px) {
  .roof-life-heading {
    font-size: clamp(1.86rem, 7.7vw, 2.35rem);
  }

  .roof-risk-stack li {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .roof-risk-stack img {
    width: 96px;
    min-height: 134px;
  }

  .roof-risk-stack div {
    padding: 12px 12px 12px 13px;
  }

  .roof-risk-stack h3 {
    font-size: 1.1rem;
  }

  .roof-risk-stack p {
    font-size: 0.76rem;
    line-height: 1.52;
  }
}

/* PC施工事例: 縦書き・極端な縦長写真をやめ、写真と内容を横に読み切れる構成にする。 */
@media (min-width: 861px) {
  .works-page-section .container,
  .work-detail-section .container {
    width: min(100%, 1320px);
  }

  .works-page-section .work-card,
  .work-detail-section .content-main .work-card {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    column-gap: clamp(24px, 3vw, 46px);
    row-gap: 14px;
    align-items: center;
    min-height: 0;
    padding: 32px 0 38px;
  }

  .works-page-section .work-kicker,
  .work-detail-section .content-main .work-kicker {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0;
    border: 0;
    color: var(--navy);
    font-size: 0.92rem;
    writing-mode: horizontal-tb;
  }

  .works-page-section .work-kicker span,
  .work-detail-section .content-main .work-kicker span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 10px;
    color: #fff;
    background: var(--orange-dark);
  }

  .works-page-section .work-kicker b,
  .work-detail-section .content-main .work-kicker b {
    margin: 0;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
  }

  .works-page-section .work-kicker b::before,
  .work-detail-section .content-main .work-kicker b::before {
    content: "工期 ";
    color: var(--muted);
    font-size: 0.82rem;
  }

  .works-page-section .work-photos,
  .work-detail-section .content-main .work-card .work-photos {
    align-self: start;
    min-height: 0;
    height: clamp(270px, 23vw, 360px);
  }

  .works-page-section .work-photos img,
  .work-detail-section .content-main .work-card .work-photos img {
    min-height: 0;
    height: 100%;
    object-fit: cover;
  }

  .works-page-section .work-body,
  .work-detail-section .content-main .work-card .work-body {
    min-width: 0;
    padding: 4px 0;
  }

  .works-page-section .work-body h3,
  .work-detail-section .content-main .work-card .work-body h3 {
    max-width: 17em;
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.5rem, 2vw, 2.05rem);
    line-height: 1.32;
    letter-spacing: 0.01em;
    text-wrap: balance;
    word-break: normal;
    overflow-wrap: normal;
  }

  .works-page-section .meta-row,
  .work-detail-section .content-main .work-card .meta-row {
    margin: 0 0 14px;
  }

  .works-page-section .price-big,
  .work-detail-section .content-main .work-card .price-big {
    margin: 18px 0 16px;
    font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", Meiryo, sans-serif;
    font-size: clamp(2.35rem, 3.5vw, 3.6rem);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.04em;
    white-space: nowrap;
  }

  .works-page-section .price-big span,
  .work-detail-section .content-main .work-card .price-big span {
    display: inline-block;
    margin-left: 10px;
    font-size: 0.88rem;
    letter-spacing: 0;
    vertical-align: middle;
    white-space: nowrap;
  }

  .works-page-section .work-more,
  .work-detail-section .content-main .work-card .work-more {
    min-width: 116px;
    text-align: center;
  }

  .work-detail-section .content-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    gap: clamp(32px, 4vw, 52px);
  }

  .work-detail-section .content-main > .work-photos {
    min-height: 0;
  }

  .work-detail-section .content-main > .work-photos img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .work-detail-section .side-cta {
    padding: 26px;
    border-radius: 0;
    border-left: 5px solid var(--orange);
  }

  .work-detail-section .side-cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (min-width: 861px) and (max-width: 1199px) {
  .work-detail-section .content-grid {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 280px);
    gap: 24px;
  }

  .work-detail-section .side-cta {
    position: sticky;
    top: 94px;
    align-self: start;
  }
}

/* PC版の相談カードは、写真・費用を読み進める間も右側で追従させる。 */
@media (min-width: 861px) {
  .work-detail-section .side-cta {
    position: sticky;
    top: 94px;
    align-self: start;
    z-index: 2;
  }
}

@media (max-width: 640px) {
  .work-photo-gallery {
    margin: 38px 0;
    padding-top: 24px;
  }

  .work-photo-gallery-head {
    display: block;
    margin-bottom: 14px;
  }

  .work-photo-gallery-head p {
    margin-top: 7px;
    font-size: 0.84rem;
  }

  .work-photo-gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .work-photo-gallery-item figcaption {
    top: 10px;
    left: 10px;
  }

  .work-comment-block {
    margin: 38px 0;
    padding: 22px 18px;
  }

  .work-comment-head {
    display: block;
    margin-bottom: 14px;
    padding-bottom: 14px;
  }

  .work-comment-head h2 {
    margin-top: 10px;
  }

  .work-comment-main {
    font-size: 0.96rem;
    line-height: 1.9;
  }

  .work-comment-meta {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }
}

/* Japanese typography stability pass: preserve meaningful phrases at every breakpoint. */
html,
body {
  line-break: strict;
}

body {
  overflow-wrap: break-word;
}

.heading-phrase,
.work-title-unit,
.work-title-transition,
.phrase-unit,
.duration-value,
.contact-phone,
.contact-hours,
.contact-postal,
.contact-address-main,
.contact-address-detail {
  white-space: nowrap;
}

.work-title-unit,
.work-title-transition,
.phrase-unit,
.duration-value,
.contact-phone,
.contact-hours,
.contact-postal,
.contact-address-main,
.contact-address-detail {
  display: inline-block;
}

.work-title-part,
.lead-phrase-part {
  display: inline;
}

.price-big .price-amount {
  display: inline-block;
  color: inherit;
  font: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}

.price-big .price-note {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", Meiryo, sans-serif;
  font-size: clamp(0.78rem, 1.15vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.45;
  white-space: normal;
}

.work-card .price-note {
  display: none;
}

/* The PC work-card rules style every price-big span as a small metadata
   value. The amount is the visual anchor and must retain the parent price
   size; only the duration stays compact. */
.works-page-section .price-big .price-amount,
.work-detail-section .content-main .work-card .price-big .price-amount {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.price-big .price-duration {
  display: inline-block;
  margin-left: 0.55em;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: middle;
  white-space: nowrap;
}

.price-table .price-name,
.price-table .price-from {
  white-space: nowrap;
}

.header-inner > *,
.footer-main > *,
.content-grid > *,
.price-strip > *,
.work-card > *,
.company-profile > * {
  min-width: 0;
}

@supports (text-wrap: balance) {
  h1,
  h2,
  h3,
  .work-body h3,
  .btn,
  .meta,
  .tag,
  .breadcrumbs,
  .consult-bar strong,
  .consult-bar em {
    text-wrap: balance;
  }
}

@supports (text-wrap: pretty) {
  p,
  li,
  figcaption,
  td,
  .section-lead,
  .media-caption {
    text-wrap: pretty;
  }
}

@media (max-width: 860px) {
  h1,
  h2,
  h3,
  .work-body h3,
  .btn,
  .meta,
  .tag,
  .breadcrumbs,
  .consult-bar strong,
  .consult-bar em,
  .price-table th,
  .price-table .price-name,
  .price-table .price-from {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .heading-phrase {
    display: inline-block;
    white-space: nowrap;
  }

  /* Keep the arrow and repair method together even inside the mobile hero's
     decorative word styles, which otherwise reset inline spans. */
  .page-hero h1 .work-title-transition {
    display: inline-block;
    white-space: nowrap;
  }

  .work-card .price-duration {
    display: none;
  }

  .work-detail-section .price-big .price-duration,
  .info-box .price-big .contact-phone {
    display: inline-block;
  }

  .mobile-cta .btn {
    min-width: 0;
    padding-inline: 7px;
    font-size: clamp(0.88rem, 4vw, 1rem);
    line-height: 1.2;
    white-space: nowrap;
  }

  .header-mobile-tools {
    flex: 0 0 auto;
  }
}

@supports (word-break: auto-phrase) {
  @media (max-width: 860px) {
    h1,
    h2,
    h3,
    .work-body h3,
    .btn,
    .meta,
    .tag,
    .breadcrumbs,
    .consult-bar strong,
    .consult-bar em,
    .price-table th,
    .price-table .price-name,
    .price-table .price-from {
      word-break: auto-phrase;
    }
  }
}

/* 施工後の安心：保険の対象条件を誤認させず、要点を一面で伝える */
.insurance-assurance-section {
  padding-block: clamp(42px, 5vw, 76px);
  background: #fff;
}

.insurance-assurance {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid #d5dde5;
  border-left: 8px solid var(--orange);
  background: #fff;
}

.insurance-assurance-mark {
  display: grid;
  place-content: center;
  width: 150px;
  height: 150px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  color: var(--navy);
  text-align: center;
}

.insurance-assurance-mark span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.insurance-assurance-mark strong {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: 0.08em;
}

.insurance-assurance-copy {
  min-width: 0;
}

.insurance-assurance-kicker {
  margin: 0 0 7px;
  color: var(--orange-dark);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.insurance-assurance h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.25;
}

.insurance-assurance-copy > p:not(.insurance-assurance-kicker):not(.insurance-assurance-note) {
  max-width: 850px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.9;
}

.insurance-assurance-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0 0;
  padding: 0;
  border: 1px solid #d9e0e6;
  background: #d9e0e6;
  list-style: none;
}

.insurance-assurance-points li {
  min-width: 0;
  padding: 16px 18px;
  background: #f7f9fa;
}

.insurance-assurance-points strong,
.insurance-assurance-points span {
  display: block;
}

.insurance-assurance-points strong {
  margin-bottom: 5px;
  color: var(--orange-dark);
  font-size: 0.82rem;
}

.insurance-assurance-points span {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.55;
}

.insurance-assurance-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .insurance-assurance-section {
    padding-block: 30px;
  }

  .insurance-assurance {
    grid-template-columns: 68px minmax(0, 1fr);
    align-items: start;
    gap: 15px;
    padding: 22px 18px;
    border-left-width: 5px;
  }

  .insurance-assurance-mark {
    width: 68px;
    height: 68px;
  }

  .insurance-assurance-mark span {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .insurance-assurance-mark strong {
    font-size: 1.15rem;
  }

  .insurance-assurance-copy {
    display: contents;
  }

  .insurance-assurance-kicker {
    grid-column: 2;
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .insurance-assurance h2 {
    grid-column: 2;
    margin-bottom: 12px;
    font-size: clamp(1.35rem, 6vw, 1.8rem);
  }

  .insurance-assurance-copy > p:not(.insurance-assurance-kicker):not(.insurance-assurance-note),
  .insurance-assurance-points,
  .insurance-assurance-note {
    grid-column: 1 / -1;
  }

  .insurance-assurance-points {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .insurance-assurance-points li {
    padding: 12px 14px;
  }
}

/* 職人直営の説明に添える施工後補償。独立訴求より一段抑え、安心材料として見せる */
.insurance-assurance--compact {
  grid-column: 1 / -1;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  margin-top: 0;
  padding: clamp(20px, 3vw, 30px);
  border: 0;
  border-top: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  background: #fbfcfd;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", Meiryo, system-ui, sans-serif;
}

.insurance-assurance--compact .insurance-assurance-mark {
  width: 92px;
  height: 92px;
  border-width: 1px;
}

.insurance-assurance--compact .insurance-assurance-mark span {
  font-size: 0.66rem;
}

.insurance-assurance--compact .insurance-assurance-mark strong {
  font-size: 1.35rem;
}

.insurance-assurance--compact h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.35;
}

.insurance-assurance--compact .insurance-assurance-copy > p:not(.insurance-assurance-kicker):not(.insurance-assurance-note) {
  max-width: 900px;
  font-size: 0.96rem;
  line-height: 1.8;
}

.insurance-assurance--compact .insurance-assurance-points {
  margin-top: 16px;
}

.insurance-assurance--compact .insurance-assurance-points li {
  padding: 11px 14px;
}

.insurance-assurance--compact .insurance-assurance-points span {
  font-size: 0.84rem;
}

@media (max-width: 860px) {
  .insurance-assurance--compact {
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 8px;
    row-gap: 2px;
    margin-top: 0;
    padding: 14px 10px 12px;
    border-left-width: 4px;
    background: rgba(255, 255, 255, 0.56);
  }

  .insurance-assurance--compact .insurance-assurance-mark {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    width: 58px;
    height: 58px;
    transform: translateY(2px);
  }

  .insurance-assurance--compact .insurance-assurance-mark span {
    font-size: 0.52rem;
  }

  .insurance-assurance--compact .insurance-assurance-mark strong {
    font-size: 1rem;
  }

  .insurance-assurance--compact h3 {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    margin: 0;
    font-size: clamp(1rem, 4.5vw, 1.2rem);
    line-height: 1.35;
    transform: translateY(2px);
  }

  .insurance-assurance--compact .insurance-assurance-copy > p:not(.insurance-assurance-kicker):not(.insurance-assurance-note),
  .insurance-assurance--compact .insurance-assurance-points,
  .insurance-assurance--compact .insurance-assurance-note {
    grid-column: 1 / -1;
  }

  .insurance-assurance--compact .insurance-assurance-points {
    display: none;
  }

  .insurance-assurance--compact .insurance-assurance-kicker {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 2px;
    font-size: 0.66rem;
    transform: translateY(2px);
  }

  .insurance-assurance--compact .insurance-assurance-copy > p:not(.insurance-assurance-kicker):not(.insurance-assurance-note) {
    grid-row: 3;
    margin-top: 2px;
    font-size: 0.78rem;
    line-height: 1.58;
  }

  .insurance-assurance--compact .insurance-assurance-note {
    grid-row: 4;
    margin-top: 7px;
    font-size: 0.62rem;
    line-height: 1.45;
  }
}

.knowledge-home-title {
  margin: 0;
}

.knowledge-home-label {
  display: inline-block;
  padding: 0.18em 0.52em 0.24em;
  border-left: 6px solid var(--orange);
  background: #eef2f5;
  color: var(--navy);
  white-space: nowrap;
}

@media (max-width: 520px) {
  .knowledge-home-title {
    font-size: clamp(1.42rem, 7vw, 1.8rem);
    line-height: 1.25;
  }

  .knowledge-home-label {
    border-left-width: 4px;
  }
}

/* 現場のリアル：実施工写真を使った不揃いのフォトコラージュ */
.sns-photo-card {
  overflow: visible;
  border: 0;
  background: transparent;
}

.sns-photo-collage {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(7, minmax(46px, 1fr));
  gap: 9px;
  min-height: 430px;
  padding: 9px;
  background: rgba(14, 31, 52, 0.46);
  transform: rotate(-1deg);
}

.sns-photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
  background: #d9e0e7;
}

.sns-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.02);
}

.sns-photo--worker {
  grid-column: 1 / 5;
  grid-row: 1 / 5;
  transform: translateY(4px);
}

.sns-photo--wide {
  grid-column: 5 / 7;
  grid-row: 1 / 4;
  transform: translate(4px, -5px) rotate(2deg);
}

.sns-photo--detail {
  grid-column: 5 / 7;
  grid-row: 4 / 8;
  transform: translate(1px, 3px) rotate(-2deg);
}

.sns-photo--after {
  grid-column: 1 / 3;
  grid-row: 5 / 8;
  transform: translate(-3px, 1px) rotate(1.5deg);
}

.sns-photo--install {
  grid-column: 3 / 5;
  grid-row: 5 / 8;
  transform: translate(2px, 6px) rotate(-1deg);
}

.sns-instagram-link {
  display: inline-block;
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.sns-instagram-link:hover,
.sns-instagram-link:focus-visible {
  color: #ffd3a0;
}

@media (max-width: 860px) {
  .sns-photo-collage {
    grid-template-rows: repeat(7, minmax(34px, 1fr));
    min-height: 360px;
    gap: 7px;
    padding: 7px;
  }

  .sns-photo {
    border-width: 2px;
  }

  .sns-photo--worker {
    transform: translateY(2px);
  }

  .sns-photo--wide {
    transform: translate(2px, -3px) rotate(2deg);
  }

  .sns-photo--detail {
    transform: translate(1px, 2px) rotate(-2deg);
  }

  .sns-photo--after {
    transform: translate(-2px, 1px) rotate(1.5deg);
  }

  .sns-photo--install {
    transform: translate(1px, 3px) rotate(-1deg);
  }
}

/* 押し売りなし：価格表と並ぶ安心材料として、約束をカード化 */
.no-push-note {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid #d6dee7;
  border-left: 6px solid var(--orange);
  background:
    linear-gradient(135deg, rgba(255, 248, 239, 0.96), rgba(255, 255, 255, 0.98) 62%),
    #fff;
  box-shadow: 0 18px 34px rgba(27, 42, 65, 0.08);
}

.no-push-note::after {
  content: "";
  position: absolute;
  right: -68px;
  top: -74px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(200, 66, 59, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(200, 66, 59, 0.045), 0 0 0 36px rgba(200, 66, 59, 0.035);
  pointer-events: none;
}

.no-push-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.no-push-seal {
  display: inline-grid;
  flex: 0 0 68px;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 4px solid var(--red);
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(200, 66, 59, 0.12);
  line-height: 1;
  transform: rotate(-6deg);
}

.no-push-seal b {
  font-size: 1.24rem;
  letter-spacing: 0.04em;
}

.no-push-seal small {
  margin-top: -9px;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

.no-push-kicker {
  margin: 0 0 5px;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.no-push-top h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.no-push-top h3 span {
  display: inline-block;
  color: var(--red);
}

.no-push-banner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 24px 0 4px;
  padding: 13px 15px;
  border-top: 1px solid rgba(200, 66, 59, 0.3);
  border-bottom: 1px solid rgba(200, 66, 59, 0.3);
  color: var(--muted);
}

.no-push-banner span {
  font-size: 0.8rem;
  font-weight: 900;
  white-space: nowrap;
}

.no-push-banner strong {
  color: var(--red);
  font-size: 1.05rem;
  font-weight: 900;
}

.no-push-points {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 15px 0 0;
  padding: 0;
  border-top: 1px solid #d6dee7;
  list-style: none;
}

.no-push-points li {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 13px 12px 4px 0;
  border-right: 1px solid #d6dee7;
}

.no-push-points li + li {
  padding-left: 12px;
}

.no-push-points li:last-child {
  border-right: 0;
}

.no-push-points li > span {
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.no-push-points b {
  color: var(--navy);
  font-size: 0.88rem;
  line-height: 1.35;
}

.no-push-points small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.no-push-fineprint {
  position: relative;
  z-index: 1;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .no-push-note {
    padding: 23px 18px 22px;
    border-left-width: 5px;
  }

  .no-push-seal {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
  }

  .no-push-top {
    gap: 13px;
  }

  .no-push-top h3 {
    font-size: clamp(1.32rem, 6.2vw, 1.62rem);
  }

  .no-push-banner {
    display: block;
    margin-top: 20px;
  }

  .no-push-banner span,
  .no-push-banner strong {
    display: block;
  }

  .no-push-banner strong {
    margin-top: 3px;
  }

  .no-push-points {
    grid-template-columns: 1fr;
  }

  .no-push-points li,
  .no-push-points li + li {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 9px;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid #d6dee7;
  }

  .no-push-points li > span {
    grid-row: 1 / span 2;
    padding-top: 2px;
  }

  .no-push-points li:last-child {
    border-bottom: 0;
  }

  .no-push-fineprint {
    margin-top: 12px;
    font-size: 0.76rem;
  }
}

/* Keep long work names readable on narrow screens while preserving compact units. */
.page-hero h1 .work-title-line,
.page-hero h1 .work-title-unit {
  white-space: normal;
  text-wrap: balance;
}

.page-hero h1 .work-title-part {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .page-hero h1 .work-title-transition {
    white-space: normal;
  }
}

/* Work detail hero: keep area names modest so they don't collide with the title. */
.page-hero h1 .word-label {
  padding: 0;
  color: var(--orange);
  background: transparent;
  font-size: 0.42em;
  line-height: 1.25;
  letter-spacing: 0.04em;
  vertical-align: baseline;
}

@media (max-width: 860px) {
  .page-hero h1 .word-label {
    display: block;
    margin-bottom: 0.08em;
    color: var(--orange);
    background: transparent;
    font-size: clamp(0.86rem, 4vw, 1.05rem);
    line-height: 1.35;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
}

/* Only the first before/after pair on detail pages is compact on phones. */
@media (max-width: 640px) {
  .work-detail-section .content-main > .work-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .work-detail-section .content-main > .work-photos img:first-child {
    display: block;
  }

  .work-detail-section .content-main > .work-photos img:last-child {
    aspect-ratio: 4 / 3;
  }

  .work-detail-section .content-main > .work-photos img {
    width: 100%;
    height: auto;
    max-height: 160px;
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
}
/* WordPress問い合わせフォームの迷惑送信対策。視覚・操作の対象外に置く。 */
.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
