:root {
  --blue: #4169e1;
  --deep: #2747b5;
  --ink: #111827;
  --paper: #f8faff;
  --line: #d7dff5;
  --muted: #5b6478;
  --green: #5f9f86;
  --mint: #dff3e8;
  --pink: #e990b5;
  --pink-soft: #fde8f0;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 300;
  line-height: 1.85;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.04em;
  line-break: strict;
  text-wrap: balance;
  word-break: auto-phrase;
}
.en,
.brand {
  font-family: "Work Sans", sans-serif;
}
.shell {
  width: min(100%, 1440px);
  margin: auto;
  padding-inline: clamp(24px, 5vw, 72px);
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.skip {
  position: fixed;
  z-index: 300;
  top: 10px;
  left: 10px;
  padding: 8px 14px;
  background: #fff;
  transform: translateY(-150%);
}
.skip:focus {
  transform: none;
}
header {
  position: fixed;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding-inline: clamp(24px, 5vw, 72px);
  border-bottom: 1px solid #d7dff5b8;
  background: linear-gradient(90deg, #fffffff2, #f1fbf6e8 55%, #fff3f8e2);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
}
.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
nav {
  display: flex;
  gap: clamp(12px, 1.35vw, 24px);
  font-size: 0.7rem;
}
nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
}
nav a[aria-current="page"] {
  color: var(--deep);
  font-weight: 600;
}
.contact {
  margin-left: 24px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
}
.hero {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  padding-top: 76px;
  background:
    radial-gradient(circle at 82% 24%, #e990b52e, transparent 25rem),
    radial-gradient(circle at 10% 82%, #5f9f862b, transparent 24rem),
    radial-gradient(circle at 58% 48%, #4169e124, transparent 30rem),
    linear-gradient(135deg, #fff, #f5f8ff 55%, #e8eeff);
}
.hero:before {
  position: absolute;
  inset: 76px 0 0;
  background-image:
    linear-gradient(#4169e10a 1px, transparent 1px),
    linear-gradient(90deg, #4169e10a 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 82%);
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  min-height: 494px;
  padding-block: 52px 70px;
}
.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-family: "Work Sans", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}
.hero h1 {
  max-width: 980px;
  margin: 0 0 34px;
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: 1.22;
}
.hero .lead {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
}
section.block {
  position: relative;
  overflow: hidden;
  padding-block: clamp(88px, 9vw, 140px);
  background: #fff;
}
.block.tint {
  background:
    radial-gradient(circle at 88% 14%, #fde8f0b3, transparent 22rem),
    radial-gradient(circle at 8% 84%, #dff3e8b8, transparent 24rem),
    linear-gradient(#fbfcff, #eef3ff);
}
.block.blue {
  background:
    radial-gradient(circle at 12% 18%, #6c8cf04d, transparent 26rem),
    radial-gradient(circle at 88% 80%, #e990b52e, transparent 25rem),
    linear-gradient(135deg, #10172d, #142150 52%, #2747b5);
  color: #fff;
}
.intro {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(42px, 8vw, 120px);
  align-items: start;
}
.intro h2 {
  font-size: clamp(2rem, 3.6vw, 3.5rem);
}
.copy {
  max-width: 720px;
  color: var(--muted);
}
.copy p {
  margin-bottom: 22px;
}
.blue .copy {
  color: #d5dcf2;
}
.photo-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 14px;
  margin-top: clamp(58px, 7vw, 96px);
}
.photo-grid > :first-child,
.photo-grid > :nth-child(3) {
  grid-row: 1/3;
}
.placeholder {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid #ffffffc7;
  border-radius: 14px;
  background: linear-gradient(145deg, #edf3ff, #cfddff);
  box-shadow: 0 22px 60px #2747b51f;
}
.placeholder:nth-child(3n + 2) {
  background: linear-gradient(145deg, #f2fbf6, #cce9de);
}
.placeholder:nth-child(3n) {
  background: linear-gradient(145deg, #fff5f9, #f4cadb);
}
.placeholder:before {
  position: absolute;
  right: -12%;
  bottom: -28%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid #4169e11f;
  border-radius: 50%;
  box-shadow:
    0 0 0 3rem #4169e108,
    0 0 0 7rem #4169e105;
  content: "";
}
.placeholder span {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  padding-top: 12px;
  border-top: 1px solid #2747b533;
  color: var(--deep);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
}
.statements {
  display: grid;
  margin-top: 72px;
  border-top: 1px solid #a9bfff4d;
}
.statements article {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid #a9bfff4d;
}
.statements span {
  color: #b8c8ff;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}
.statements h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
}
.way-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 64px 0 0;
  padding: 0;
  border-top: 1px solid #4169e12e;
  list-style: none;
}
.way-grid li {
  min-height: 240px;
  padding: 30px 24px;
  border-right: 1px solid #4169e12e;
  border-bottom: 1px solid #4169e12e;
  background: linear-gradient(145deg, #ffffffe0, #d3dfffdb);
}
.way-grid li:nth-child(3n) {
  background: linear-gradient(145deg, #e6eeffe6, #a9bfff);
}
.way-grid b {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}
.way-grid h3 {
  margin: 28px 0 12px;
}
.way-grid p {
  color: var(--muted);
}
.company-table {
  margin-top: 58px;
  border-top: 1px solid var(--line);
}
.company-table > div {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 34px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.company-table dt {
  color: var(--deep);
  font-weight: 400;
}
.company-table dd {
  margin: 0;
}
.company-table small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
}
.message-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1.2fr;
  gap: clamp(50px, 8vw, 120px);
}
.message-layout > .placeholder {
  min-height: 660px;
}
.message-photo {
  min-height: 660px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #ffffffc7;
  border-radius: 14px;
  background: #e8f2ff;
  box-shadow: 0 22px 60px #2747b524;
}
.message-photo img {
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: cover;
  object-position: center;
}
.message-copy {
  padding-top: 24px;
}
.placeholder-lines {
  display: grid;
  gap: 14px;
  margin-top: 48px;
}
.placeholder-lines span {
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.placeholder-lines span:nth-child(2n) {
  width: 82%;
}
.service-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid #cfe1d8e6;
  background: linear-gradient(145deg, #fbfdff, #f3fbf7 48%, #fff4f8);
  box-shadow: 0 30px 80px #2747b51f;
}
.service-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 80px);
}
.service-card .service-logo {
  width: min(100%, 420px);
  height: auto;
  margin-bottom: 28px;
  object-fit: contain;
  filter: none;
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.pillars article {
  min-height: 300px;
  padding: 34px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillars span {
  color: var(--blue);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
}
.pillars h3 {
  margin: 42px 0 18px;
}
.pillars p {
  color: var(--muted);
}
.empty {
  display: grid;
  place-items: center;
  min-height: 460px;
  padding: 60px 24px;
  border: 1px solid #4169e129;
  background:
    radial-gradient(circle, #4169e11a, transparent 36%), linear-gradient(145deg, #fff, #edf2ff);
  text-align: center;
}
.empty span {
  display: block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}
.empty p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}
.privacy {
  width: min(100%, 960px);
}
.notice {
  margin-bottom: 54px;
  padding: 24px 28px;
  border-left: 3px solid var(--blue);
  background: #eef3ff;
  color: var(--muted);
}
.privacy article {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}
.privacy h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}
.privacy p,
.privacy li {
  color: #3f4a60;
}
.cta {
  padding-block: 100px;
  background:
    radial-gradient(circle at 16% 18%, #5f9f8680, transparent 30%),
    radial-gradient(circle at 88% 84%, #e990b561, transparent 28%),
    linear-gradient(125deg, #101d4b, #2747b5 44%, #4169e1 74%, #19378f);
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.btn {
  display: inline-flex;
  justify-content: space-between;
  min-width: 164px;
  padding: 13px 20px;
  border-radius: 7px;
  background: #fff;
  color: var(--deep);
}
footer {
  padding-top: 70px;
  background:
    radial-gradient(circle at 7% 88%, #dff3e880, transparent 19rem),
    radial-gradient(circle at 92% 12%, #fde8f073, transparent 18rem), #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 70px;
  padding-bottom: 60px;
}
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-brand {
  font-size: 2.7rem;
  letter-spacing: 0.12em;
}
.footer-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
}
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.copyright {
  padding: 25px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
}
@media (max-width: 1023px) {
  header nav {
    display: none;
  }
  .intro,
  .message-layout,
  .service-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .way-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card img {
    height: 560px;
  }
  .footer-nav {
    padding-block: 30px;
    border-block: 1px solid var(--line);
  }
}
@media (max-width: 767px) {
  header {
    grid-template-columns: 1fr auto;
  }
  .contact {
    margin-left: 0;
  }
  .hero,
  .hero-inner {
    min-height: 510px;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.5rem);
  }
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 260px);
  }
  .photo-grid > :first-child,
  .photo-grid > :nth-child(3) {
    grid-row: auto;
  }
  .statements article {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .way-grid,
  .pillars {
    grid-template-columns: 1fr;
  }
  .company-table > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .service-card img {
    height: 430px;
  }
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 479px) {
  .photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 250px);
  }
  .brand {
    font-size: 1.35rem;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .contact {
    padding: 9px 12px;
    font-size: 0.75rem;
  }
}

.message-layout {
  display: block;
  width: min(100%, 900px);
  margin-inline: auto;
}
.message-copy {
  padding: 0;
}
.message-intro {
  position: relative;
  margin-bottom: clamp(48px, 7vw, 76px);
  padding-bottom: clamp(44px, 6vw, 68px);
  border-bottom: 1px solid var(--line);
}
.message-intro:after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: clamp(72px, 12vw, 128px);
  height: 3px;
  background: var(--blue);
  content: "";
}
.message-intro h2 {
  max-width: 17em;
  margin: 0;
  font-size: clamp(2.15rem, 4.4vw, 4.25rem);
  line-height: 1.42;
  text-wrap: balance;
}
.message-body {
  width: min(100%, 46rem);
  margin-left: auto;
  color: #3f4a60;
}
.message-body > p {
  margin-bottom: 1.7em;
  line-break: strict;
  text-wrap: pretty;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}
.message-philosophy {
  margin-block: 10px 34px;
  padding: 24px 28px;
  border-left: 3px solid var(--blue);
  background: #eef3ff;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.85;
}
.message-philosophy strong {
  font-weight: 600;
}
.message-rhythm {
  margin-block: 42px;
  padding-block: 32px;
  border-block: 1px solid var(--line);
  color: var(--ink);
}
.message-rhythm p {
  margin: 0;
  font-weight: 400;
  line-height: 2;
}
.message-closing {
  margin-top: 46px;
  color: var(--ink);
  font-size: clamp(1.18rem, 1.8vw, 1.48rem);
  font-weight: 600;
  line-height: 1.8;
}
.message-signature {
  display: grid;
  justify-items: end;
  gap: 6px;
  width: min(100%, 46rem);
  margin: 64px 0 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.message-signature span {
  color: var(--muted);
}
.message-signature__name {
  color: var(--ink);
  font-weight: 400;
  letter-spacing: 0.04em;
}
@media (max-width: 767px) {
  .message-intro h2 {
    font-size: clamp(2rem, 8.5vw, 3.2rem);
  }
  .message-body,
  .message-signature {
    margin-left: 0;
  }
}
@media (max-width: 479px) {
  .message-intro {
    margin-bottom: 40px;
    padding-bottom: 38px;
  }
}
