:root {
  --ink: #10293d;
  --deep: #0d3150;
  --blue: #174d73;
  --orange: #f47a20;
  --paper: #f7f9fa;
  --line: #ccd7de;
  --muted: #607481;
  --white: #ffffff;
  font-family: "BIZ UDPGothic", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background: #e9eef1;
}

* { box-sizing: border-box; }

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

body {
  background:
    linear-gradient(135deg, rgba(13,49,80,.06) 0 1px, transparent 1px 16px),
    #e9eef1;
}

button, a { font: inherit; }

.proposal-shell {
  width: 100%;
  min-height: 100vh;
  background: var(--paper);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  min-height: 88px;
  padding: 15px clamp(24px, 4vw, 68px);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto auto;
  align-items: center;
  gap: clamp(18px, 2.5vw, 38px);
  background: var(--white);
  border-top: 6px solid var(--deep);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}

.brand-mark {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  background: var(--deep);
}

.bolt {
  width: 17px;
  height: 26px;
  background: var(--orange);
  clip-path: polygon(54% 0, 8% 57%, 43% 57%, 31% 100%, 93% 39%, 58% 39%);
}

.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { font-size: 1.2rem; letter-spacing: .08em; line-height: 1.2; }
.brand-copy small { font-family: Arial, sans-serif; font-size: .68rem; letter-spacing: .17em; color: var(--muted); }

.service-area {
  margin: 0;
  padding-left: 16px;
  border-left: 1px solid var(--line);
  font-size: .84rem;
  font-weight: 700;
  white-space: nowrap;
}

nav { display: flex; gap: clamp(14px, 2vw, 30px); }
nav span { font-size: .82rem; font-weight: 700; white-space: nowrap; }

.sample-badge {
  color: var(--deep);
  background: #edf3f6;
  border: 1px solid #bfd0da;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: .76rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(390px, 42%) minmax(380px, 1fr) 148px;
  position: relative;
}

.hero-copy {
  padding: clamp(42px, 6vh, 76px) clamp(34px, 4.8vw, 76px) 34px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-copy::after {
  content: "";
  position: absolute;
  top: 0;
  right: -36px;
  width: 72px;
  height: 100%;
  background: var(--white);
  clip-path: polygon(0 0, 52% 0, 100% 100%, 0 100%);
}

.eyebrow {
  margin: 0 0 23px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-family: Arial, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .17em;
}

.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--orange); }

h1 {
  margin: 0;
  font-size: clamp(2.05rem, 3.25vw, 3.55rem);
  line-height: 1.32;
  letter-spacing: .018em;
  font-weight: 750;
}

h1 span,
h1 em { display: block; }

h1 em { color: var(--blue); font-style: normal; font-weight: 800; }

.lead {
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.9;
  font-weight: 600;
  color: #334d5e;
}

.work-list {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.work-list span {
  padding: 8px 11px;
  border-left: 4px solid var(--orange);
  background: #edf3f6;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.35;
}

.fact-row {
  margin-top: clamp(28px, 4.2vh, 46px);
  padding-top: 21px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: .86fr 1.35fr;
  gap: 20px;
}

.fact-row div { display: grid; gap: 6px; }
.fact-row small { color: var(--muted); font-size: .75rem; font-weight: 700; }
.fact-row strong { font-size: .92rem; line-height: 1.45; }

.visual-placeholder {
  min-width: 0;
  overflow: hidden;
  position: relative;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(13,49,80,.94), rgba(23,77,115,.72)),
    #315f7e;
}

.placeholder-grid {
  position: absolute;
  inset: 0;
  opacity: .48;
  background:
    linear-gradient(90deg, transparent 0 74%, rgba(255,255,255,.18) 74% 74.4%, transparent 74.4%),
    linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
}

.visual-placeholder::before {
  content: "";
  position: absolute;
  inset: clamp(42px, 8vh, 88px) clamp(42px, 5vw, 76px);
  border: 1px solid rgba(255,255,255,.38);
}

.visual-placeholder::after {
  content: "";
  position: absolute;
  width: clamp(180px, 20vw, 310px);
  height: clamp(180px, 20vw, 310px);
  right: -14%;
  bottom: -12%;
  border-radius: 50%;
  border: 52px solid rgba(244,122,32,.2);
}

.photo-label {
  position: absolute;
  left: clamp(34px, 4.2vw, 64px);
  bottom: clamp(38px, 7vh, 74px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 18px 23px 18px 18px;
  background: rgba(9,34,52,.78);
  border-left: 5px solid var(--orange);
  backdrop-filter: blur(5px);
}

.photo-index { font-family: Arial, sans-serif; font-size: 2rem; font-weight: 800; color: var(--orange); }
.photo-label p { margin: 0; display: grid; gap: 5px; }
.photo-label strong { font-size: 1rem; letter-spacing: .04em; }
.photo-label small { color: #dce7ed; font-size: .78rem; }

.visual-caption {
  margin: 0;
  position: absolute;
  top: 28px;
  right: 26px;
  font-family: Arial, sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
  opacity: .76;
}

.consult-rail {
  padding: 38px 22px 24px;
  background: var(--orange);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  position: relative;
  z-index: 3;
}

.consult-rail p { margin: 0; display: grid; gap: 9px; writing-mode: vertical-rl; text-orientation: upright; }
.consult-rail p span { font-size: .83rem; font-weight: 700; letter-spacing: .08em; }
.consult-rail p strong { font-size: 1.15rem; letter-spacing: .13em; }

.consult-rail button {
  width: 90px;
  height: 90px;
  border: 0;
  border-radius: 50%;
  padding: 14px;
  background: var(--white);
  color: var(--deep);
  display: grid;
  place-items: center;
  gap: 2px;
  cursor: default;
  opacity: 1;
}

.consult-rail button span { font-size: .76rem; line-height: 1.35; font-weight: 800; }
.consult-rail button b { font-size: 1.2rem; line-height: 1; color: var(--orange); }
.consult-rail small { font-size: .68rem; line-height: 1.45; color: #fff4ec; }

.hero-footer {
  min-height: 74px;
  padding: 14px clamp(24px, 4vw, 68px);
  background: var(--deep);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.hero-footer p { margin: 0; display: flex; align-items: center; gap: 22px; }
.hero-footer strong { font-size: 1rem; letter-spacing: .08em; }
.hero-footer span { font-size: .8rem; color: #bed0db; }
.trust-line { font-size: .92rem; font-weight: 700; letter-spacing: .12em; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 18px; padding-inline: 28px; }
  .service-area { display: none; }
  nav { gap: 16px; }
  .hero { grid-template-columns: minmax(350px, 44%) minmax(330px, 1fr) 126px; }
  .hero-copy { padding-inline: 32px; }
  h1 { font-size: clamp(1.9rem, 3.35vw, 2.7rem); }
  .fact-row { grid-template-columns: 1fr; gap: 12px; }
  .photo-label { left: 42px; padding-right: 18px; }
}

@media (max-width: 760px) {
  .proposal-shell { min-height: 100svh; overflow: visible; grid-template-rows: auto auto auto; }
  .site-header {
    min-height: 74px;
    padding: 10px 16px;
    grid-template-columns: 1fr auto;
    border-top-width: 5px;
  }
  .brand { gap: 10px; }
  .brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .brand-copy strong { font-size: 1rem; letter-spacing: .055em; }
  .brand-copy small { font-size: .75rem; letter-spacing: .06em; }
  nav { display: none; }
  .sample-badge { padding: 7px 9px; font-size: .75rem; }

  .hero { grid-template-columns: 1fr; grid-template-rows: auto 220px auto; }
  .hero-copy { padding: 30px 22px 26px; }
  .hero-copy::after { display: none; }
  .eyebrow { margin-bottom: 15px; font-size: .75rem; letter-spacing: .1em; }
  .eyebrow::before { width: 26px; }
  h1 { font-size: clamp(1.82rem, 8.3vw, 2.12rem); line-height: 1.38; letter-spacing: 0; }
  .lead { margin-top: 16px; font-size: 1rem; line-height: 1.78; }
  .pc-only { display: none; }
  .work-list { margin-top: 18px; gap: 7px; }
  .work-list span { font-size: .78rem; padding: 7px 9px; }
  .fact-row { margin-top: 20px; padding-top: 16px; grid-template-columns: 1fr 1.28fr; gap: 12px; }
  .fact-row small { font-size: .7rem; }
  .fact-row strong { font-size: .8rem; }

  .visual-placeholder { min-height: 220px; }
  .visual-placeholder::before { inset: 24px 22px; }
  .visual-placeholder::after { border-width: 34px; }
  .placeholder-grid { background-size: 48px 48px, 48px 48px, 48px 48px; }
  .photo-label { left: 22px; bottom: 25px; max-width: calc(100% - 66px); gap: 11px; padding: 12px 14px 12px 12px; }
  .photo-index { font-size: 1.5rem; }
  .photo-label strong { font-size: .85rem; }
  .photo-label small { font-size: .75rem; }
  .visual-caption { top: 16px; right: 12px; font-size: .75rem; }

  .consult-rail {
    min-height: 100px;
    padding: 16px 18px;
    flex-direction: row;
    text-align: left;
    gap: 12px;
  }
  .consult-rail p { writing-mode: horizontal-tb; gap: 4px; }
  .consult-rail p span { font-size: .75rem; }
  .consult-rail p strong { font-size: 1.05rem; letter-spacing: .05em; }
  .consult-rail button { width: 88px; height: 62px; border-radius: 999px; flex: 0 0 88px; padding: 8px 10px; }
  .consult-rail button span { font-size: .75rem; }
  .consult-rail button b { display: none; }
  .consult-rail small { max-width: 82px; font-size: .75rem; }

  .hero-footer { min-height: 60px; padding: 12px 18px; }
  .hero-footer p:first-child { display: none; }
  .trust-line { width: 100%; justify-content: center; font-size: .82rem; }
}

@media (max-width: 390px) {
  .site-header { padding-inline: 13px; }
  .brand-copy strong { font-size: .94rem; }
  .sample-badge { max-width: 86px; text-align: center; line-height: 1.2; }
  .hero-copy { padding-inline: 20px; }
  h1 { font-size: 1.88rem; }
  .fact-row { grid-template-columns: 1fr; }
  .consult-rail small { display: none; }
}

@media (max-height: 760px) and (min-width: 761px) {
  .site-header { min-height: 76px; padding-block: 10px; }
  .hero-copy { padding-top: 34px; padding-bottom: 24px; }
  .eyebrow { margin-bottom: 15px; }
  .lead { margin-top: 16px; }
  .work-list { margin-top: 18px; }
  .fact-row { margin-top: 21px; padding-top: 16px; }
  .hero-footer { min-height: 62px; }
}
