:root {
  color-scheme: only light;
  --ink: #4d5c98;
  --pink: #ee91b9;
  --pink-bright: #f4a8c6;
  --paper: #f2effd;
  --pastel-page-bg:
    radial-gradient(circle at 14% 12%, rgba(246,181,207,.42) 0%, rgba(246,181,207,0) 34%),
    radial-gradient(circle at 82% 18%, rgba(157,205,241,.48) 0%, rgba(157,205,241,0) 44%),
    radial-gradient(circle at 42% 88%, rgba(196,183,231,.32) 0%, rgba(196,183,231,0) 44%),
    linear-gradient(112deg, #f3e7ef 0%, #eae9f7 48%, #dceef8 100%);
}
* { box-sizing: border-box; }
html {
  min-width: 320px;
  background: var(--pastel-page-bg);
  forced-color-adjust: none;
  color-adjust: exact;
  -webkit-color-adjust: exact;
  -webkit-text-size-adjust: 100%;
}
body {
  min-width: 320px;
  forced-color-adjust: none;
  color-adjust: exact;
  -webkit-color-adjust: exact;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--pastel-page-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.home-page, .hero { min-height: 100svh; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 35%) minmax(0, 1fr);
  isolation: isolate;
  overflow: hidden;
  background: var(--pastel-page-bg);
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(6rem, 13vh, 9.5rem) clamp(1.5rem, 5vw, 6rem) clamp(3.5rem, 8vh, 6rem);
}
.hero-title {
  margin: 0;
  color: transparent;
  background: linear-gradient(105deg, #ee90bd 0%, #b39bed 48%, #85a8ef 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(3.7rem, 7.1vw, 8rem);
  font-weight: 300;
  letter-spacing: .16em;
  line-height: .95;
}
.title-rule {
  width: clamp(2rem, 3.1vw, 3.5rem);
  height: 2px;
  margin: clamp(1.2rem, 2.5vh, 2rem) 0 clamp(1.7rem, 4vh, 3.2rem);
  background: linear-gradient(90deg, var(--pink-bright), rgba(244,168,198,0));
}
.hero-japanese {
  margin: 0;
  color: #596ba5;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.25rem, 2.05vw, 2.15rem);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.85;
}
.hero-english {
  margin: clamp(1.2rem, 2.1vh, 1.8rem) 0 0;
  color: #8591c2;
  font-size: clamp(.92rem, 1.2vw, 1.23rem);
  line-height: 1.75;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.6rem, 1.8vw, 2rem);
  width: min(100%, 36rem);
  margin-top: clamp(2.2rem, 5vh, 3.8rem);
}
.feature { min-width: 0; text-align: center; }
.feature-icon {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  margin: 0 auto .7rem;
  place-items: center;
  color: #9ba4eb;
}
.feature-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.feature h2 {
  margin: 0;
  color: #52629d;
  font-size: clamp(.7rem, .9vw, 1rem);
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.4;
  white-space: nowrap;
}
.hero-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: transparent;
  background-color: transparent;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  transform: none;
  transform-origin: center center;
}
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 50%) minmax(0, 50%); }
  .hero-copy {
    padding-right: clamp(1.5rem, 5vw, 4rem);
    padding-left: clamp(1.5rem, 5vw, 4rem);
  }
  .feature-list { gap: 1rem; }
}

@media (max-width: 800px) {
  .home-page, .hero { min-height: 100svh; height: auto; }
  .hero { display: block; overflow: hidden; }
  .hero-copy {
    width: 100%;
    min-height: 100svh;
    align-items: center;
    padding: max(7rem, calc(5.8rem + env(safe-area-inset-top))) 1.5rem 3.2rem;
    text-align: center;
  }
  .hero-japanese,
  .hero-english {
    text-align: center;
  }
  .hero-title { font-size: clamp(3.6rem, 15vw, 6rem); }
  .hero-japanese { font-size: clamp(1.18rem, 5vw, 1.65rem); }
  .hero-english { font-size: .94rem; }
  .feature-list {
    width: 100%;
    margin-top: clamp(2rem, 5vh, 3rem);
  }
  .hero-visual {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: none;
  }
  .hero-visual img {
    object-position: 90% center;
  }
}
@media (max-width: 520px) {
  .hero-copy {
    padding-right: 1.1rem;
    padding-left: 1.1rem;
  }
  .hero-japanese { letter-spacing: .04em; }
  .hero-english { font-size: .86rem; }
  .feature-list { gap: .35rem; }
  .feature-icon { width: 2.45rem; height: 2.45rem; }
  .feature h2 { font-size: .73rem; }
  .hero-visual img { object-position: 95% center; }
}
@media (max-width: 380px) {
  .hero-visual img { object-position: 100% center; }
}

/* Keep one authoritative light pastel surface for the landing page. */
html,
body,
.home-page {
  color-scheme: only light !important;
  background: var(--pastel-page-bg) !important;
  filter: none !important;
}
.hero {
  background: var(--pastel-page-bg) !important;
  filter: none !important;
}
.hero-copy {
  color: #4d5c98 !important;
  background: transparent !important;
  filter: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
.hero-title {
  color: transparent !important;
  background: linear-gradient(105deg, #ee90bd 0%, #b39bed 48%, #85a8ef 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
}
.hero-japanese { color: #596ba5 !important; }
.hero-english { color: #8591c2 !important; }
.feature h2 { color: #52629d !important; }
.hero-visual {
  background: transparent !important;
  filter: none !important;
  pointer-events: none;
}
.hero-visual img {
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
}
/* Mobile readability wash: soften the image behind live content without creating a block. */
@media (max-width: 800px) {
  .hero-copy {
    background: linear-gradient(
      90deg,
      rgba(248,239,247,.74) 0%,
      rgba(245,239,250,.56) 58%,
      rgba(241,237,249,.18) 100%
    ) !important;
  }
}
