:root {
  color-scheme: light;
  --ink: #112743;
  --muted: #64758b;
  --blue: #155ff0;
  --blue-deep: #1247b7;
  --cyan: #38cce8;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --line: rgba(31, 95, 204, 0.12);
  --shadow-soft: 0 22px 60px rgba(45, 83, 131, 0.1);
  --shadow-lifted: 0 28px 72px rgba(38, 80, 138, 0.16);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: #f7faff;
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 51% 11%, rgba(255, 255, 255, 0.98) 0 17%, transparent 47%),
    linear-gradient(145deg, #ffffff 0%, #f2f8ff 54%, #f9fcff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ambient {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(14px);
}

.ambient--one {
  top: -21vw;
  right: -10vw;
  width: 52vw;
  height: 52vw;
  background: radial-gradient(circle, rgba(67, 203, 237, 0.17), transparent 67%);
}

.ambient--two {
  bottom: -27vw;
  left: -18vw;
  width: 57vw;
  height: 57vw;
  background: radial-gradient(circle, rgba(27, 104, 241, 0.13), transparent 68%);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: clamp(42px, 8vw, 112px) clamp(24px, 5vw, 64px) clamp(64px, 11vw, 140px);
}

.hero {
  display: grid;
  min-height: min(680px, calc(100svh - 120px));
  grid-template-columns: minmax(390px, 1.1fr) minmax(350px, 0.9fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}

.brand-mark {
  position: relative;
  width: min(100%, 630px);
  transform: rotate(-2deg);
}

.brand-mark::before {
  position: absolute;
  z-index: -1;
  inset: 14% 9% -7%;
  border-radius: 38%;
  background: linear-gradient(135deg, rgba(32, 102, 242, 0.22), rgba(57, 206, 232, 0.11));
  content: "";
  filter: blur(38px);
}

.brand-mark::after {
  position: absolute;
  top: 10%;
  right: 7%;
  width: clamp(40px, 6vw, 74px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.6);
  content: "";
  transform: translate(35%, -35%);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: clamp(30px, 5vw, 68px);
  box-shadow: var(--shadow-lifted);
}

.introduction { padding-right: clamp(0px, 2vw, 28px); }

.eyebrow {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1, h2, h3 { text-wrap: balance; }

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4.55vw, 4.5rem);
  font-weight: 680;
  letter-spacing: -0.075em;
  line-height: 1.2;
}

h1 span {
  color: transparent;
  background: linear-gradient(110deg, var(--blue-deep), #237cf2 47%, var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
}

.lead {
  margin: 29px 0 0;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.4vw, 1.08rem);
  letter-spacing: 0.055em;
  line-height: 2;
}

.studio-panel {
  position: relative;
  margin: 36px 0 0;
  padding: clamp(23px, 2.8vw, 31px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow-soft);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.studio-panel::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(var(--blue), var(--cyan));
  content: "";
}

.studio-panel:hover {
  border-color: rgba(21, 95, 240, 0.22);
  box-shadow: var(--shadow-lifted);
  transform: translateY(-4px);
}

.studio-panel__eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.studio-panel h2 {
  margin: 11px 0 0;
  font-size: clamp(1.18rem, 1.85vw, 1.5rem);
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1.48;
}

.studio-panel > p:not(.studio-panel__eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(0.78rem, 1vw, 0.86rem);
  letter-spacing: 0.035em;
  line-height: 1.9;
}

.studio-panel__link, .studio-introduction__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.65em;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-decoration: none;
}

.studio-panel__link { margin-top: 17px; }

.studio-panel__link span, .studio-introduction__link span {
  display: inline-grid;
  place-items: center;
  width: 1.7em;
  height: 1.7em;
  border-radius: 50%;
  background: rgba(21, 95, 240, 0.08);
  transition: transform 220ms ease, background 220ms ease;
}

.studio-panel__link:hover span, .studio-introduction__link:hover span {
  background: rgba(21, 95, 240, 0.14);
  transform: translateX(4px);
}

.studio-panel__link:focus-visible, .studio-introduction__link:focus-visible {
  border-radius: 5px;
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

.studio-introduction {
  position: relative;
  width: 100%;
  margin-top: clamp(76px, 12vw, 168px);
  padding: clamp(34px, 5.4vw, 68px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(28px, 3.6vw, 42px);
  background:
    radial-gradient(circle at 96% 1%, rgba(63, 204, 235, 0.17), transparent 27%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(246, 250, 255, 0.64));
  box-shadow: var(--shadow-soft);
}

.studio-introduction__heading { max-width: 690px; }

.studio-introduction h2 {
  margin: 0;
  font-size: clamp(1.95rem, 3.6vw, 3.35rem);
  font-weight: 680;
  letter-spacing: -0.07em;
  line-height: 1.3;
}

.studio-introduction__heading > p:last-child {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(0.86rem, 1.25vw, 1rem);
  letter-spacing: 0.045em;
  line-height: 2;
}

.studio-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: 0;
  list-style: none;
}

.studio-values li {
  min-height: 184px;
  padding: 24px;
  border: 1px solid rgba(21, 95, 240, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 10px 28px rgba(56, 93, 140, 0.035);
  transition: transform 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.studio-values li:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 38px rgba(56, 93, 140, 0.1);
  transform: translateY(-5px);
}

.studio-values__number {
  color: var(--cyan);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.studio-values h3 {
  margin: 25px 0 0;
  font-size: 1.04rem;
  font-weight: 680;
  letter-spacing: 0.035em;
}

.studio-values p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.035em;
  line-height: 1.85;
}

.studio-introduction__link { margin-top: clamp(30px, 4vw, 44px); }

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1200px, 100%);
  min-height: 88px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px clamp(24px, 5vw, 64px);
  color: #8190a3;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.site-footer p { margin: 0; }
.site-footer__x-link {
  color: inherit;
  font: inherit;
  text-decoration-color: rgba(129, 144, 163, 0.45);
  text-underline-offset: 0.28em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.site-footer__x-link:hover {
  color: var(--blue);
  text-decoration-color: currentColor;
}

.site-footer__x-link:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

.copyright { white-space: nowrap; }

.js-enhanced .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1), transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js-enhanced .brand-mark.reveal { transform: translateY(22px) rotate(-2deg) scale(0.985); }
.js-enhanced .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js-enhanced .brand-mark.reveal.is-visible { transform: rotate(-2deg) scale(1); }
.js-enhanced .introduction { transition-delay: 130ms; }

@media (max-width: 820px) {
  .page-shell { padding-top: 54px; padding-bottom: 72px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 52px; }
  .brand-mark { width: min(560px, 100%); justify-self: center; }
  .introduction { max-width: 620px; padding: 0 8px; justify-self: center; text-align: center; }
  .studio-panel { text-align: left; }
  .studio-introduction { margin-top: 88px; }
  .site-footer { min-height: 104px; flex-direction: column; justify-content: center; gap: 8px; padding-top: 18px; padding-bottom: 26px; text-align: center; }
}

@media (max-width: 560px) {
  .page-shell { padding: 30px 20px 54px; }
  .hero { gap: 42px; }
  .brand-mark { width: min(310px, 88vw); transform: rotate(-1deg); }
  .brand-mark::after { right: 5%; transform: translate(25%, -30%); }
  .brand-mark img { border-radius: 28px; }
  .js-enhanced .brand-mark.reveal { transform: translateY(22px) rotate(-1deg) scale(0.985); }
  .js-enhanced .brand-mark.reveal.is-visible { transform: rotate(-1deg) scale(1); }
  .eyebrow { margin-bottom: 15px; }
  h1 { font-size: clamp(1.95rem, 9.5vw, 2.65rem); }
  .lead { margin-top: 21px; font-size: 0.9rem; line-height: 1.95; }
  .studio-panel { margin-top: 26px; padding: 21px; border-radius: 20px; }
  .studio-panel > p:not(.studio-panel__eyebrow) { font-size: 0.78rem; }
  .studio-introduction { margin-top: 62px; padding: 30px 22px; border-radius: 27px; }
  .studio-values { grid-template-columns: 1fr; gap: 11px; margin-top: 32px; }
  .studio-values li { display: grid; min-height: 0; grid-template-columns: 38px 1fr; column-gap: 8px; padding: 19px; }
  .studio-values__number { grid-row: span 2; padding-top: 3px; }
  .studio-values h3 { margin: 0; }
  .studio-values p { margin-top: 5px; }
  .desktop-break { display: none; }
  .site-footer { padding-right: 18px; padding-left: 18px; font-size: 0.62rem; line-height: 1.65; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js-enhanced .reveal, .js-enhanced .brand-mark.reveal { opacity: 1; transform: none; }
}
