:root {
  --ink: #172738;
  --ink-deep: #0d1c2b;
  --paper: #f3f0e8;
  --paper-warm: #eae4d8;
  --concrete: #b7b5ad;
  --line: rgba(23, 39, 56, 0.2);
  --rust: #a34f35;
  --white: #fffdf8;
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
}

body {
  min-width: 320px;
  font-family: var(--sans);
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
}

.proposal-note {
  position: fixed;
  z-index: 20;
  right: 16px;
  bottom: 4px;
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(13, 28, 43, 0.86);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

.proposal-note span + span {
  padding-left: 9px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

.site-header {
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(205px, 0.55fr);
  align-items: center;
  gap: 30px;
  padding: 13px clamp(24px, 3.5vw, 58px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-style: italic;
  line-height: 1;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.brand-copy small,
.header-place small,
.area-copy small {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.header-scope {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.header-scope i {
  display: block;
  width: 4px;
  height: 4px;
  background: var(--rust);
  transform: rotate(45deg);
}

.header-place {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.header-place strong {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero {
  min-height: calc(100svh - 88px);
  display: grid;
  grid-template-columns: minmax(455px, 46%) minmax(0, 54%);
}

.copy-panel {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), var(--line) calc(100% - 1px)),
    var(--paper);
}

.copy-panel::before {
  content: "";
  position: absolute;
  left: clamp(24px, 3.5vw, 58px);
  top: 0;
  width: 1px;
  height: 42px;
  background: var(--rust);
}

.copy-inner {
  width: 100%;
  padding: clamp(38px, 5.2vh, 72px) clamp(34px, 5.3vw, 82px) clamp(34px, 4.8vh, 66px) clamp(34px, 6.2vw, 100px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(19px, 2.6vh, 30px);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.eyebrow::after {
  content: "";
  order: 2;
  width: 42px;
  height: 1px;
  background: var(--rust);
}

.eyebrow b {
  order: 3;
  color: var(--rust);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(37px, 4.15vw, 66px);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.28;
}

h1 span {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

h1 .accent-line {
  position: relative;
  margin-top: 0.04em;
  color: var(--ink-deep);
}

h1 .accent-line::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.08em;
  right: -0.09em;
  bottom: 0.12em;
  height: 0.18em;
  background: rgba(163, 79, 53, 0.22);
}

.lead {
  margin: clamp(22px, 3.2vh, 36px) 0 0;
  color: #44515d;
  font-size: clamp(13px, 1.18vw, 16px);
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1.9;
}

.service-strip {
  display: grid;
  grid-template-columns: 1fr 1.16fr;
  gap: 0;
  margin-top: clamp(24px, 4.1vh, 48px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 17px 12px 17px 0;
}

.service-item + .service-item {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.service-no {
  color: var(--rust);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-style: italic;
}

.service-item div {
  min-width: 0;
}

.service-item strong,
.service-item small {
  display: block;
}

.service-item strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.service-item small {
  margin-top: 4px;
  color: #606a72;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
}

.copy-footer {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 0.9fr);
  gap: 22px;
  align-items: end;
  margin-top: clamp(22px, 3.5vh, 38px);
}

.area-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.area-copy strong {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.065em;
}

.sample-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
  gap: 18px;
  padding: 0 20px;
  background: var(--ink-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  white-space: nowrap;
  cursor: not-allowed;
  user-select: none;
}

.sample-cta .arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 15px;
}

.visual-panel {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3.6vw, 58px) clamp(24px, 3.8vw, 62px) clamp(24px, 3.7vw, 60px) clamp(22px, 2.7vw, 44px);
  overflow: hidden;
  background: var(--ink-deep);
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.photo-placeholder {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 45%),
    linear-gradient(160deg, #aeb1ad 0 45%, #777f80 45% 100%);
}

.draft-grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 36px 36px;
}

.building-shape {
  position: absolute;
  inset: 11% 7% 17% 16%;
  opacity: 0.9;
}

.building-shape span {
  position: absolute;
  display: block;
}

.roof {
  left: 2%;
  top: 6%;
  width: 84%;
  height: 18%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 0;
  transform: skewX(-19deg);
}

.wall {
  border: 2px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.07);
}

.wall-a {
  left: 0;
  top: 24%;
  width: 58%;
  height: 64%;
}

.wall-b {
  left: 58%;
  top: 35%;
  width: 32%;
  height: 53%;
}

.line {
  height: 2px;
  background: rgba(255, 255, 255, 0.52);
}

.line-a {
  left: 6%;
  top: 42%;
  width: 40%;
}

.line-b {
  left: 6%;
  top: 57%;
  width: 40%;
}

.line-c {
  left: 64%;
  top: 57%;
  width: 20%;
}

.photo-label {
  position: absolute;
  left: 24px;
  top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  max-width: calc(100% - 48px);
  padding: 15px 17px;
  background: rgba(13, 28, 43, 0.78);
  color: #fff;
  backdrop-filter: blur(7px);
}

.photo-label span,
.trust-card span {
  color: #e8b5a5;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.photo-label strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.photo-label small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
}

.trust-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(62%, 360px);
  padding: clamp(22px, 3vw, 38px);
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.trust-card strong {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.75vw, 27px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.045em;
}

.trust-card p {
  margin: 13px 0 0;
  color: #505b64;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.75;
}

.vertical-sign {
  position: absolute;
  left: 0;
  bottom: clamp(24px, 3.7vw, 60px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 11px;
  background: var(--rust);
  color: #fff;
  writing-mode: vertical-rl;
}

.vertical-sign strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.vertical-sign span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-scope {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(430px, 49%) minmax(0, 51%);
  }

  .copy-inner {
    padding-right: 42px;
    padding-left: 48px;
  }

  h1 {
    font-size: clamp(39px, 4.3vw, 53px);
  }

  .copy-footer {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .sample-cta {
    max-width: 320px;
  }

  .trust-card {
    width: 72%;
  }
}

@media (max-width: 820px) {
  .proposal-note {
    right: 9px;
    bottom: 9px;
    max-width: calc(100% - 18px);
  }

  .site-header {
    min-height: 72px;
    grid-template-columns: 1fr;
    padding: 10px 18px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 25px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .header-place {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 72px);
    display: flex;
    flex-direction: column;
  }

  .copy-panel {
    display: block;
    background: var(--paper);
  }

  .copy-panel::before {
    left: 18px;
    height: 25px;
  }

  .copy-inner {
    padding: 27px 18px 25px;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 8px;
  }

  .eyebrow::after {
    width: 28px;
  }

  h1 {
    font-size: clamp(34px, 10.6vw, 44px);
    letter-spacing: 0.02em;
    line-height: 1.24;
  }

  .lead {
    margin-top: 15px;
    font-size: 12.5px;
    letter-spacing: 0.025em;
    line-height: 1.75;
  }

  .service-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 19px;
  }

  .service-item {
    grid-template-columns: 27px 1fr;
    gap: 7px;
    padding: 12px 7px 12px 0;
  }

  .service-item + .service-item {
    padding-left: 10px;
  }

  .service-no {
    font-size: 18px;
  }

  .service-item strong {
    font-size: 13px;
    letter-spacing: 0.04em;
  }

  .service-item small {
    font-size: 8.5px;
  }

  .copy-footer {
    grid-template-columns: minmax(0, 0.9fr) minmax(182px, 1.1fr);
    gap: 12px;
    align-items: center;
    margin-top: 18px;
  }

  .area-copy {
    gap: 5px;
  }

  .area-copy strong {
    font-size: 11px;
    line-height: 1.45;
  }

  .sample-cta {
    min-height: 50px;
    padding: 0 12px;
    font-size: 11px;
    letter-spacing: 0.025em;
  }

  .sample-cta .arrow {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  .visual-panel {
    min-height: 290px;
    flex: 1 0 290px;
    padding: 16px 16px 22px 29px;
  }

  .photo-placeholder {
    min-height: 252px;
  }

  .photo-label {
    left: 14px;
    top: 14px;
    gap: 3px;
    padding: 10px 12px;
  }

  .photo-label strong {
    font-size: 12px;
  }

  .photo-label small {
    font-size: 8px;
  }

  .trust-card {
    width: 68%;
    padding: 17px;
  }

  .trust-card strong {
    margin-top: 7px;
    font-size: 15px;
  }

  .trust-card p {
    display: none;
  }

  .vertical-sign {
    bottom: 22px;
    padding: 10px 8px;
  }

  .vertical-sign strong {
    font-size: 16px;
  }
}

@media (max-width: 370px) {
  h1 {
    font-size: 33px;
  }

  .service-item small {
    display: none;
  }

  .copy-footer {
    grid-template-columns: 1fr;
  }

  .area-copy {
    display: none;
  }

  .sample-cta {
    max-width: none;
  }
}

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