:root {
  color-scheme: light;
  --navy: #09245c;
  --blue: #1458c7;
  --sky: #dff3fb;
  --ice: #f2f8fb;
  --ink: #0f2140;
  --muted: #5f718b;
  --line: #cbdde8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  height: 100%;
  overflow: hidden;
  background: var(--ice);
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}

body {
  min-height: 100svh;
}

button {
  font: inherit;
}

.sample-bar {
  height: 24px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #dbe9ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-header {
  height: 78px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(250px, 0.7fr);
  align-items: stretch;
  background: var(--white);
  border-bottom: 1px solid #e5edf2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-left: clamp(24px, 4vw, 64px);
}

.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 16%;
  background: var(--blue);
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  letter-spacing: 0.06em;
}

.brand-copy small {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.header-facts {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 36px;
  color: #314968;
  font-size: 14px;
  font-weight: 700;
}

.header-facts span + span {
  position: relative;
}

.header-facts span + span::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  width: 1px;
  height: 18px;
  background: var(--line);
  transform: translateY(-50%);
}

.header-contact {
  border: 0;
  padding: 0 34px;
  display: grid;
  align-content: center;
  justify-content: center;
  gap: 3px;
  background: var(--blue);
  color: var(--white);
  cursor: not-allowed;
  opacity: 1;
}

.header-contact span {
  font-size: 16px;
  font-weight: 800;
}

.header-contact small {
  color: #dce9ff;
  font-size: 11px;
}

.hero {
  position: relative;
  height: calc(100svh - 102px);
  padding: clamp(18px, 2.2vw, 34px) clamp(20px, 4vw, 64px) 30px;
}

.photo-stage {
  position: relative;
  height: min(63vh, 520px);
  min-height: 360px;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(120deg, rgba(8, 36, 92, 0.95) 0%, rgba(20, 88, 199, 0.84) 45%, rgba(197, 231, 243, 0.82) 100%),
    #7faac7;
  box-shadow: 0 24px 70px rgba(18, 53, 87, 0.16);
}

.photo-stage::before,
.photo-stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.photo-stage::before {
  width: 480px;
  height: 480px;
  right: -90px;
  top: -170px;
}

.photo-stage::after {
  width: 260px;
  height: 260px;
  right: 150px;
  top: -70px;
}

.photo-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.44) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.44) 1px, transparent 1px);
  background-size: 72px 72px;
}

.photo-placeholder {
  position: absolute;
  inset: 0 0 80px auto;
  width: 46%;
  display: grid;
  place-content: center;
  justify-items: center;
  color: var(--white);
  text-align: center;
}

.placeholder-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  font-size: 30px;
  font-weight: 200;
}

.photo-placeholder p {
  margin: 0 0 5px;
  color: #d9edff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.photo-placeholder strong {
  font-size: clamp(17px, 1.5vw, 22px);
  letter-spacing: 0.04em;
}

.visual-note {
  position: absolute;
  right: 32px;
  bottom: 25px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.message-card {
  position: absolute;
  left: clamp(44px, 7vw, 108px);
  top: clamp(112px, 16vh, 164px);
  width: min(600px, 52vw);
  padding: clamp(28px, 3vw, 46px) clamp(30px, 3.8vw, 58px) 30px;
  border-radius: 28px 28px 72px 28px;
  background: rgba(246, 252, 255, 0.97);
  box-shadow: 0 24px 70px rgba(0, 31, 80, 0.24);
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: 0.015em;
}

h1 .subline {
  font-size: 0.73em;
  white-space: nowrap;
}

h1 .subline b {
  font-weight: inherit;
}

.lead {
  max-width: 490px;
  margin: 18px 0 17px;
  color: #334b69;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 18px;
}

.service-list span {
  position: relative;
  padding-left: 14px;
  color: #213b62;
  font-size: 13px;
  font-weight: 800;
}

.service-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #37a5d9;
}

.primary-cta {
  width: min(100%, 390px);
  min-height: 62px;
  border: 0;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: var(--navy);
  color: var(--white);
  cursor: not-allowed;
  opacity: 1;
  box-shadow: 0 13px 28px rgba(9, 36, 92, 0.2);
}

.primary-cta span:first-child {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cta-arrow {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 18px;
}

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

  .header-facts {
    display: none;
  }

  .header-contact {
    min-width: 230px;
  }

  .message-card {
    width: min(650px, 68vw);
  }
}

@media (max-width: 640px) {
  .sample-bar {
    height: 22px;
    padding: 0 10px;
    font-size: 10px;
    letter-spacing: 0.03em;
  }

  .site-header {
    height: 62px;
    grid-template-columns: 1fr auto;
  }

  .brand {
    gap: 9px;
    padding-left: 16px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

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

  .brand-copy small {
    font-size: 8px;
  }

  .header-contact {
    min-width: 105px;
    padding: 0 10px;
  }

  .header-contact span {
    font-size: 12px;
  }

  .header-contact small {
    display: none;
  }

  .hero {
    height: calc(100svh - 84px);
    padding: 12px 12px 14px;
  }

  .photo-stage {
    height: calc(100% - 324px);
    min-height: 0;
    border-radius: 20px;
    box-shadow: 0 15px 32px rgba(18, 53, 87, 0.15);
  }

  .photo-stage::before {
    width: 250px;
    height: 250px;
    right: -100px;
    top: -90px;
  }

  .photo-stage::after {
    display: none;
  }

  .photo-grid {
    background-size: 46px 46px;
  }

  .photo-placeholder {
    inset: 0;
    width: 100%;
    padding: 22px 20px 68px;
  }

  .placeholder-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 9px;
    font-size: 23px;
  }

  .photo-placeholder p {
    font-size: 11px;
  }

  .photo-placeholder strong {
    font-size: 16px;
  }

  .visual-note {
    right: 17px;
    bottom: 18px;
    font-size: 8px;
    letter-spacing: 0.13em;
  }

  .message-card {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 20px);
    margin: -50px auto 0;
    padding: 22px 22px 20px;
    border-radius: 20px 20px 42px 20px;
    box-shadow: 0 15px 38px rgba(0, 31, 80, 0.2);
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 12px;
    letter-spacing: 0.07em;
  }

  h1 {
    font-size: clamp(31px, 9.7vw, 39px);
    line-height: 1.16;
  }

  h1 .subline {
    font-size: 0.68em;
    white-space: normal;
  }

  h1 .subline b {
    display: block;
    white-space: nowrap;
  }

  .lead {
    margin: 12px 0;
    font-size: 14px;
    line-height: 1.58;
  }

  .service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin-bottom: 13px;
  }

  .service-list span {
    padding-left: 12px;
    font-size: 11px;
  }

  .service-list span::before {
    width: 5px;
    height: 5px;
  }

  .primary-cta {
    min-height: 56px;
    padding: 0 17px;
  }

  .primary-cta span:first-child {
    font-size: 14px;
  }

  .cta-arrow {
    width: 28px;
    height: 28px;
  }
}

@media (max-height: 720px) and (min-width: 641px) {
  .hero {
    padding-top: 16px;
  }

  .photo-stage {
    height: calc(100svh - 138px);
    min-height: 0;
  }

  .message-card {
    top: 72px;
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .lead {
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .service-list {
    margin-bottom: 13px;
  }
}

@media (max-height: 700px) and (max-width: 640px) {
  .photo-placeholder {
    padding-bottom: 52px;
  }

  .message-card {
    margin-top: -42px;
    padding-top: 18px;
    padding-bottom: 16px;
  }

  .lead {
    line-height: 1.48;
  }
}
