:root {
  color-scheme: light;
  --navy: #082c4f;
  --navy-deep: #061f38;
  --blue: #2b82bd;
  --blue-soft: #eaf4fa;
  --ice: #f3f8fb;
  --white: #ffffff;
  --ink: #102a3f;
  --muted: #52697a;
  --line: #bdd2df;
  --font-ja: "Yu Gothic UI", "Yu Gothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-en: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--ice); }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(8, 44, 79, .045) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--ice);
  font-family: var(--font-ja);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  width: min(100% - 64px, 1320px);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid rgba(8, 44, 79, .16);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px 4px 12px 4px;
  color: var(--white);
  background: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.08em;
}

.brand-mark span { color: #8bc5e6; font-size: .72em; }

.brand-copy { display: flex; flex-direction: column; gap: 1px; }
.brand-copy strong { font-size: 1.16rem; font-weight: 700; letter-spacing: .07em; }
.brand-copy small { color: var(--muted); font-family: var(--font-en); font-size: .63rem; font-weight: 700; letter-spacing: .16em; }

.header-meta { display: flex; align-items: center; gap: 20px; }
.area-label { color: var(--muted); font-size: .84rem; font-weight: 600; letter-spacing: .05em; }
.proposal-chip {
  padding: 9px 14px 8px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, .6);
  font-family: var(--font-en);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.hero {
  width: min(100% - 64px, 1320px);
  min-height: calc(100svh - 78px);
  margin: 0 auto;
  padding: 26px 0 30px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-rows: minmax(300px, 1fr) auto;
  column-gap: 17px;
  align-items: stretch;
}

.hero-rail {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #6c8495;
  font-family: var(--font-en);
  font-size: .59rem;
  font-weight: 700;
  letter-spacing: .19em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-rail i { width: 1px; height: 30px; background: #98adbb; }

.visual-panel {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 28px 28px 9px 9px;
  background:
    linear-gradient(130deg, rgba(255,255,255,.84), rgba(226,239,247,.84)),
    var(--blue-soft);
  box-shadow: 0 18px 55px rgba(6, 31, 56, .10);
}

.visual-grid {
  position: absolute;
  inset: 0;
  opacity: .55;
  background:
    linear-gradient(90deg, rgba(8,44,79,.08) 1px, transparent 1px) 0 0 / 86px 86px,
    linear-gradient(rgba(8,44,79,.08) 1px, transparent 1px) 0 0 / 86px 86px;
}

.photo-placeholder {
  position: absolute;
  inset: 34px 36px 92px;
  overflow: hidden;
  border: 1px dashed #6b9abb;
  border-radius: 20px;
  background:
    linear-gradient(120deg, rgba(255,255,255,.42), rgba(255,255,255,.08)),
    repeating-linear-gradient(118deg, rgba(43,130,189,.055) 0 12px, transparent 12px 25px);
}

.photo-index {
  position: absolute;
  top: 22px;
  left: 24px;
  color: rgba(8,44,79,.56);
  font-family: var(--font-en);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.photo-label {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(78%, 410px);
  padding: 18px 24px;
  transform: translate(-50%, -50%);
  text-align: center;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(4px);
}

.photo-label p { margin: 0 0 5px; color: var(--navy); font-size: 1.04rem; font-weight: 700; letter-spacing: .08em; }
.photo-label small { color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .04em; }

.focus-brackets,
.focus-brackets::before,
.focus-brackets::after {
  position: absolute;
  width: 17px;
  height: 17px;
  border-color: var(--blue);
}
.focus-brackets { inset: 8px auto auto 8px; border-top: 2px solid; border-left: 2px solid; }
.focus-brackets::before { content: ""; top: -2px; left: calc(min(78vw, 410px) - 36px); border-top: 2px solid; border-right: 2px solid; }
.focus-brackets::after { content: ""; top: 47px; left: 0; border-bottom: 2px solid; border-left: 2px solid; }

.joint-line { position: absolute; width: 55%; height: 10px; border-top: 2px solid rgba(43,130,189,.3); border-bottom: 1px solid rgba(43,130,189,.15); transform: rotate(-16deg); }
.joint-line-one { right: -5%; top: 26%; }
.joint-line-two { left: -8%; bottom: 17%; transform: rotate(12deg); }

.quality-tag {
  position: absolute;
  top: 56px;
  right: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 72px auto;
  align-items: stretch;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 32px rgba(6,31,56,.18);
}
.quality-tag span {
  display: grid;
  place-items: center;
  padding: 12px 8px;
  color: var(--navy);
  background: #bfe1f3;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.quality-tag strong { padding: 12px 24px 13px; font-size: .92rem; line-height: 1.55; letter-spacing: .07em; }

.copy-panel {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(370px, 1.25fr) minmax(270px, .8fr) minmax(250px, .68fr);
  align-items: stretch;
  min-height: 230px;
  overflow: hidden;
  border-radius: 9px 9px 28px 28px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 22px 48px rgba(6,31,56,.18);
}

.copy-main { padding: 26px 38px 27px; }
.eyebrow { margin: 0 0 13px; color: #8bc5e6; font-family: var(--font-en); font-size: .69rem; font-weight: 700; letter-spacing: .17em; }
.eyebrow span { display: inline-block; padding-bottom: 8px; border-bottom: 1px solid rgba(139,197,230,.62); }
h1 { margin: 0; font-size: clamp(2.05rem, 3.25vw, 3.28rem); font-weight: 600; line-height: 1.24; letter-spacing: .025em; }
h1 em { color: #dceef8; font-style: normal; }
.lead { margin: 14px 0 0; color: #dbe8f1; font-size: .92rem; font-weight: 600; line-height: 1.85; letter-spacing: .035em; }

.service-block {
  padding: 28px 30px;
  border-left: 1px solid rgba(255,255,255,.16);
  border-right: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.035);
}
.service-kicker { margin: 0 0 15px; color: #8bc5e6; font-family: var(--font-en); font-size: .69rem; font-weight: 700; letter-spacing: .18em; }
.service-block ul { margin: 0; padding: 0; list-style: none; }
.service-block li { display: flex; align-items: center; gap: 13px; min-height: 43px; border-bottom: 1px solid rgba(255,255,255,.15); font-size: .91rem; font-weight: 600; letter-spacing: .045em; }
.service-block li:last-child { border-bottom: 0; }
.service-block li span { color: #81bfe1; font-family: var(--font-en); font-size: .67rem; font-weight: 700; letter-spacing: .09em; }

.cta-block { display: flex; flex-direction: column; justify-content: center; padding: 27px 28px; }
.cta-note { margin: 0 0 13px; color: #c7dce9; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-align: center; }
.sample-cta {
  width: 100%;
  min-height: 67px;
  padding: 0 17px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-radius: 12px;
  color: var(--navy-deep);
  background: var(--white);
  font: 700 .93rem/1.3 var(--font-ja);
  letter-spacing: .035em;
  opacity: 1;
  cursor: not-allowed;
}
.cta-arrow { display: grid; place-items: center; flex: 0 0 auto; width: 33px; height: 33px; border-radius: 50%; color: var(--white); background: var(--blue); font-family: var(--font-en); font-size: 1.15rem; }
.cta-block small { display: block; margin-top: 10px; color: #9eb9ca; font-size: .68rem; font-weight: 600; line-height: 1.5; text-align: center; }

.sample-ribbon {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 6px 12px 5px;
  color: var(--white);
  background: rgba(43,130,189,.94);
  font-family: var(--font-en);
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.mobile-only { display: none; }

@media (max-width: 1100px) {
  .site-header,
  .hero { width: min(100% - 36px, 1030px); }
  .site-header { min-height: 72px; }
  .hero { min-height: calc(100svh - 72px); padding-top: 20px; grid-template-columns: 25px minmax(0, 1fr); column-gap: 12px; }
  .visual-panel { min-height: 285px; }
  .photo-placeholder { inset: 27px 28px 76px; }
  .quality-tag { top: 43px; }
  .copy-panel { grid-template-columns: 1.18fr .8fr .72fr; min-height: 215px; }
  .copy-main { padding: 23px 28px 24px; }
  h1 { font-size: clamp(2rem, 3.7vw, 2.55rem); }
  .lead { margin-top: 10px; font-size: .84rem; line-height: 1.7; }
  .service-block { padding: 25px 22px; }
  .service-block li { gap: 9px; font-size: .82rem; }
  .cta-block { padding: 24px 20px; }
  .sample-cta { padding-inline: 15px; font-size: .84rem; }
}

@media (max-width: 760px) {
  body { background-size: 44px 44px; }
  .site-header { width: calc(100% - 28px); min-height: 65px; gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 39px; height: 39px; border-radius: 10px 3px 10px 3px; font-size: 20px; }
  .brand-copy strong { font-size: 1rem; }
  .brand-copy small { font-size: .48rem; letter-spacing: .11em; }
  .header-meta { gap: 0; }
  .area-label { display: none; }
  .proposal-chip { padding: 7px 9px 6px; font-size: .55rem; letter-spacing: .1em; }

  .hero {
    width: calc(100% - 28px);
    min-height: calc(100svh - 65px);
    padding: 14px 0 22px;
    display: flex;
    flex-direction: column;
  }
  .hero-rail { display: none; }
  .visual-panel { min-height: clamp(220px, 32svh, 276px); border-radius: 22px 22px 7px 7px; }
  .photo-placeholder { inset: 17px 16px 42px; border-radius: 14px; }
  .photo-index { top: 14px; left: 15px; }
  .photo-label { width: calc(100% - 46px); padding: 14px 16px; }
  .photo-label p { margin-bottom: 4px; font-size: .9rem; }
  .photo-label small { font-size: .7rem; }
  .focus-brackets::before { left: calc(100vw - 112px); }
  .focus-brackets::after { top: 41px; }
  .quality-tag { top: auto; right: 16px; bottom: 16px; grid-template-columns: 57px auto; }
  .quality-tag span { padding: 8px 5px; font-size: .61rem; }
  .quality-tag strong { padding: 8px 13px 9px; font-size: .73rem; line-height: 1.45; }

  .copy-panel {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 7px 7px 22px 22px;
  }
  .copy-main { padding: 21px 22px 18px; }
  .eyebrow { margin-bottom: 10px; font-size: .6rem; }
  .eyebrow span { padding-bottom: 6px; }
  h1 { font-size: clamp(1.88rem, 9.2vw, 2.28rem); line-height: 1.23; letter-spacing: .015em; }
  .lead { margin-top: 10px; font-size: .82rem; line-height: 1.7; }
  .mobile-only { display: initial; }

  .service-block {
    padding: 14px 22px 13px;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.15);
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
  .service-kicker { margin-bottom: 8px; font-size: .59rem; }
  .service-block ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .service-block li { min-height: 44px; padding: 6px 5px; display: grid; grid-template-columns: 1fr; gap: 2px; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; font-size: .71rem; line-height: 1.35; text-align: center; }
  .service-block li:last-child { border: 1px solid rgba(255,255,255,.14); }
  .service-block li span { font-size: .57rem; }

  .cta-block { padding: 15px 22px 19px; }
  .cta-note { margin-bottom: 9px; font-size: .72rem; }
  .sample-cta { min-height: 58px; padding-left: 18px; font-size: .87rem; }
  .cta-arrow { width: 31px; height: 31px; font-size: 1.05rem; }
  .cta-block small { margin-top: 7px; font-size: .62rem; }
  .sample-ribbon { position: static; width: 100%; text-align: center; }
}

@media (max-width: 370px) {
  .proposal-chip { display: none; }
  .hero, .site-header { width: calc(100% - 20px); }
  .copy-main, .service-block, .cta-block { padding-inline: 17px; }
  h1 { font-size: 1.85rem; }
  .lead { font-size: .78rem; }
}

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