:root {
  color-scheme: light;
  --navy: #101e35;
  --navy-2: #182c49;
  --ink: #172131;
  --muted: #667184;
  --line: #d8dfe7;
  --paper: #f8fafc;
  --blueprint: #e9eef3;
  --accent: #f6b52c;
  --white: #fff;
  font-family: "BIZ UDPGothic", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-width: 320px; min-height: 100%; }

body {
  background: #eef1f4;
  color: var(--ink);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; }
button:disabled { opacity: 1; color: inherit; }

.proposal-bar {
  min-height: 28px;
  padding: 6px clamp(16px, 3vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: var(--accent);
  color: #1a2431;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.site-shell {
  width: min(100%, 1600px);
  min-height: calc(100svh - 28px);
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto minmax(430px, 1fr) auto;
  background: var(--white);
  overflow: hidden;
}

.site-header {
  min-height: 86px;
  padding: 16px clamp(24px, 4.2vw, 68px);
  display: grid;
  grid-template-columns: minmax(290px, auto) 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.98);
}

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

.brand-symbol {
  width: 46px;
  height: 46px;
  padding: 8px;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  background: var(--navy);
}

.brand-symbol i { display: block; background: var(--accent); }
.brand-symbol i:nth-child(1) { height: 42%; }
.brand-symbol i:nth-child(2) { height: 75%; }
.brand-symbol i:nth-child(3) { height: 100%; }

.brand-text { min-width: 0; display: grid; gap: 4px; }
.brand-text strong { font-size: clamp(16px, 1.55vw, 22px); line-height: 1.2; letter-spacing: .035em; }
.brand-text small,
.header-scope,
.eyebrow,
.copy-guide,
.coverage-label,
.photo-index,
.photo-note span,
.focus-en,
.band-heading > span,
.band-cta small {
  font-family: "Arial Narrow", "Roboto Condensed", "DIN Condensed", Arial, sans-serif;
  font-stretch: condensed;
}
.brand-text small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .18em; }

.header-scope {
  justify-self: center;
  color: #697487;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  white-space: nowrap;
}
.header-scope span { margin: 0 8px; color: #b9c1cc; }

.header-cta {
  min-width: 202px;
  min-height: 50px;
  padding: 0 18px 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  border: 0;
  background: var(--navy);
  color: var(--white) !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .045em;
  cursor: default;
}
.header-cta span:last-child { color: var(--accent); font-size: 19px; }

.hero {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(430px, .84fr) minmax(520px, 1.16fr);
  background: var(--paper);
}

.copy-panel {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: clamp(34px, 5.2vh, 70px) clamp(32px, 5.6vw, 88px) clamp(32px, 4.2vh, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(90deg, transparent 0 97%, rgba(16,30,53,.05) 97% 97.3%, transparent 97.3%),
    var(--paper);
}

.copy-guide {
  position: absolute;
  top: 30px;
  left: clamp(32px, 5.6vw, 88px);
  right: clamp(22px, 3vw, 48px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  color: #8a95a5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
}
.copy-guide i { height: 1px; background: #cbd2dc; }

.eyebrow {
  margin: 0 0 21px;
  color: #526176;
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 700;
  letter-spacing: .19em;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(43px, 4.7vw, 72px);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -.045em;
}
h1 span { display: block; white-space: nowrap; }
h1 span:last-child { position: relative; }
h1 span:last-child::after {
  content: "";
  position: absolute;
  left: .02em;
  bottom: .06em;
  width: 4.2em;
  height: .13em;
  background: var(--accent);
  z-index: -1;
}

.lead {
  margin: 24px 0 0;
  color: #46536a;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: .035em;
}

.coverage {
  margin-top: clamp(26px, 4vh, 44px);
  padding-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 18px;
  border-top: 1px solid #cad2dc;
}
.coverage-label { color: #778398; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.coverage strong { color: var(--navy); font-size: clamp(15px, 1.35vw, 19px); line-height: 1.4; letter-spacing: .06em; }

.visual-panel { position: relative; min-width: 0; padding: 0 0 0 18px; overflow: hidden; background: var(--paper); }
.visual-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 88px;
  height: 100%;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 2;
}

.photo-placeholder {
  position: relative;
  height: 100%;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(15,35,59,.03) 0 58%, rgba(246,181,44,.13) 58% 59%, transparent 59%),
    linear-gradient(115deg, #dde4e9 0%, #edf1f4 45%, #c8d1d8 100%);
}

.technical-grid {
  position: absolute;
  inset: 0;
  opacity: .66;
  background-image:
    linear-gradient(rgba(16,30,53,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,30,53,.09) 1px, transparent 1px),
    linear-gradient(90deg, transparent 0 14%, rgba(16,30,53,.22) 14% 14.25%, transparent 14.25% 68%, rgba(16,30,53,.12) 68% 68.2%, transparent 68.2%),
    linear-gradient(0deg, transparent 0 27%, rgba(16,30,53,.16) 27% 27.3%, transparent 27.3% 74%, rgba(16,30,53,.13) 74% 74.3%, transparent 74.3%);
  background-size: 46px 46px, 46px 46px, 100% 100%, 100% 100%;
}

.photo-index {
  position: absolute;
  top: clamp(28px, 4vw, 58px);
  right: clamp(30px, 5vw, 74px);
  display: grid;
  justify-items: end;
  color: rgba(16,30,53,.74);
}
.photo-index span { font-size: 11px; font-weight: 700; letter-spacing: .24em; }
.photo-index b { font-size: clamp(70px, 8vw, 126px); font-weight: 400; line-height: .9; letter-spacing: -.08em; }

.photo-note {
  position: absolute;
  right: clamp(26px, 4.2vw, 66px);
  bottom: clamp(28px, 4vw, 56px);
  width: min(360px, calc(100% - 52px));
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
}
.photo-note span { display: block; margin-bottom: 8px; color: #6c788a; font-size: 10px; font-weight: 700; letter-spacing: .19em; }
.photo-note strong { display: block; color: var(--navy); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.5; letter-spacing: .035em; }
.photo-note small { display: block; margin-top: 6px; color: #657084; font-size: 12px; line-height: 1.5; }

.focus-card {
  position: absolute;
  left: clamp(42px, 5vw, 78px);
  top: 50%;
  width: min(290px, 42%);
  padding: 22px 24px 20px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(16,30,53,.92);
  color: var(--white);
  box-shadow: 0 20px 45px rgba(16,30,53,.16);
}
.focus-en { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.focus-card p { margin: 14px 0 18px; font-size: clamp(17px, 1.55vw, 22px); font-weight: 600; line-height: 1.65; letter-spacing: .04em; }
.focus-card small { color: #c6cfda; font-size: 11px; }

.service-band {
  min-height: 152px;
  display: grid;
  grid-template-columns: minmax(225px, .82fr) minmax(520px, 2.3fr) minmax(260px, 1fr);
  align-items: stretch;
  background: var(--navy);
  color: var(--white);
}

.band-heading {
  padding: 24px clamp(24px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,.13);
}
.band-heading > span { margin-bottom: 10px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .22em; }
.band-heading strong { font-size: clamp(15px, 1.3vw, 18px); font-weight: 600; line-height: 1.55; letter-spacing: .045em; }

.service-list {
  margin: 0;
  padding: 0 clamp(18px, 2.4vw, 38px);
  display: grid;
  grid-template-columns: 1.35fr 1.15fr .8fr;
  list-style: none;
}
.service-list li {
  min-width: 0;
  padding: 24px clamp(12px, 1.6vw, 26px);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  border-right: 1px solid rgba(255,255,255,.13);
}
.service-list li:last-child { border-right: 0; }
.service-list span { color: var(--accent); font-family: "Arial Narrow", Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.service-list p { margin: 0; font-size: clamp(13px, 1.1vw, 16px); font-weight: 600; line-height: 1.7; letter-spacing: .03em; }

.band-cta {
  padding: 22px clamp(24px, 3vw, 46px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border: 0;
  background: var(--accent);
  color: #172235 !important;
  cursor: default;
}
.band-cta small { margin-bottom: 10px; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.band-cta span { padding-right: 34px; font-size: clamp(14px, 1.15vw, 17px); font-weight: 700; line-height: 1.5; letter-spacing: .025em; }
.band-cta b { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 25px; font-weight: 400; }

@media (max-width: 1120px) and (min-width: 721px) {
  .site-shell { grid-template-rows: auto minmax(440px, 1fr) auto; }
  .site-header { grid-template-columns: minmax(270px, auto) 1fr auto; padding-inline: 28px; }
  .header-scope { font-size: 9px; letter-spacing: .1em; }
  .header-cta { min-width: 174px; padding-inline: 16px; font-size: 13px; }
  .hero { grid-template-columns: minmax(420px, .92fr) minmax(480px, 1.08fr); }
  .copy-panel { padding-inline: 46px 36px; }
  .copy-guide { left: 46px; }
  h1 { font-size: clamp(42px, 5.1vw, 58px); }
  .focus-card { left: 46px; width: 250px; }
  .service-band { grid-template-columns: 205px minmax(500px, 1fr) 250px; }
  .band-heading { padding-inline: 28px; }
  .service-list { padding-inline: 14px; }
  .service-list li { padding-inline: 12px; gap: 9px; }
  .band-cta { padding-inline: 24px; }
}

@media (max-width: 720px) {
  .proposal-bar { min-height: 30px; padding: 7px 14px; font-size: 10px; letter-spacing: .045em; }
  .proposal-bar span:last-child { text-align: right; }

  .site-shell { min-height: calc(100svh - 30px); display: block; overflow: visible; }
  .site-header {
    min-height: 72px;
    padding: 12px 16px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .brand { gap: 10px; }
  .brand-symbol { width: 38px; height: 38px; padding: 7px; }
  .brand-text strong { font-size: 15px; letter-spacing: .01em; }
  .brand-text small { font-size: 8px; letter-spacing: .13em; }
  .header-scope { display: none; }
  .header-cta {
    min-width: 0;
    min-height: 38px;
    padding: 0 12px;
    gap: 8px;
    font-size: 11px;
  }
  .header-cta span:first-child { display: none; }
  .header-cta::before { content: "相談"; }

  .hero { display: block; }
  .copy-panel {
    min-height: 288px;
    padding: 42px 22px 26px;
    justify-content: flex-start;
    background: var(--paper);
  }
  .copy-guide { top: 18px; left: 22px; right: 22px; font-size: 8px; gap: 8px; }
  .eyebrow { margin-bottom: 12px; font-size: 10px; letter-spacing: .135em; }
  h1 { font-size: clamp(34px, 10.5vw, 42px); line-height: 1.25; letter-spacing: -.045em; }
  h1 span { white-space: normal; }
  .lead { margin-top: 14px; font-size: 15px; line-height: 1.75; letter-spacing: .015em; }
  .pc-only { display: none; }
  .coverage { margin-top: 15px; padding-top: 11px; gap: 12px; }
  .coverage-label { font-size: 8px; }
  .coverage strong { font-size: 14px; letter-spacing: .025em; }

  .visual-panel { height: 218px; padding: 0; overflow: hidden; }
  .visual-panel::before { display: none; }
  .photo-placeholder { min-height: 218px; }
  .technical-grid { background-size: 34px 34px, 34px 34px, 100% 100%, 100% 100%; }
  .photo-index { top: 18px; right: 20px; }
  .photo-index span { font-size: 8px; }
  .photo-index b { font-size: 58px; }
  .photo-note {
    right: 16px;
    bottom: 14px;
    width: min(230px, calc(100% - 32px));
    padding: 12px 14px;
  }
  .photo-note span { margin-bottom: 4px; font-size: 8px; }
  .photo-note strong { font-size: 13px; line-height: 1.4; }
  .photo-note small { margin-top: 3px; font-size: 10px; }
  .focus-card {
    left: 16px;
    top: 18px;
    width: 165px;
    padding: 13px 14px 12px;
    transform: none;
  }
  .focus-en { font-size: 8px; }
  .focus-card p { margin: 7px 0 9px; font-size: 14px; line-height: 1.5; }
  .focus-card small { display: none; }

  .service-band { min-height: 0; display: block; }
  .band-heading {
    padding: 13px 18px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.13);
  }
  .band-heading > span { margin: 0; font-size: 8px; }
  .band-heading strong { font-size: 13px; line-height: 1.45; }
  .band-heading strong br { display: none; }
  .service-list { padding: 0; grid-template-columns: repeat(3, 1fr); }
  .service-list li {
    min-height: 76px;
    padding: 10px 9px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 5px;
  }
  .service-list span { font-size: 9px; }
  .service-list p { font-size: 11px; line-height: 1.55; letter-spacing: 0; }
  .band-cta {
    width: 100%;
    min-height: 62px;
    padding: 10px 58px 10px 18px;
  }
  .band-cta small { margin-bottom: 3px; font-size: 7px; }
  .band-cta span { padding: 0; font-size: 14px; }
  .band-cta b { right: 20px; font-size: 22px; }
}

@media (max-width: 360px) {
  .brand-text strong { font-size: 13px; }
  .brand-text small { letter-spacing: .08em; }
  .copy-panel { padding-inline: 18px; }
  .copy-guide { left: 18px; right: 18px; }
  h1 { font-size: 33px; }
  .coverage { gap: 8px; }
  .coverage strong { font-size: 13px; }
  .service-list p { font-size: 10px; }
}

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