:root {
  color-scheme: light;
  --ink: #18261f;
  --muted: #617169;
  --green: #23845b;
  --green-soft: #e9f7ef;
  --pink: #ed2f91;
  --pink-dark: #9b195c;
  --pink-soft: #fff0f7;
  --purple-soft: #f2edff;
  --line: rgba(24, 38, 31, .1);
  --surface: rgba(255, 255, 255, .88);
  --shadow: 0 24px 68px rgba(27, 62, 45, .1);
  --radius-xl: 34px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 4%, rgba(148, 222, 180, .42), transparent 30rem),
    radial-gradient(circle at 94% 20%, rgba(255, 179, 218, .36), transparent 32rem),
    linear-gradient(180deg, #f9fcfa 0%, #fff 48%, #fbfafc 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: -64px;
  left: 16px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(24, 38, 31, .07);
  background: rgba(249, 252, 250, .83);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.nav {
  width: min(100% - 36px, 1120px);
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: .015em;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px 10px 10px 4px;
  background: linear-gradient(135deg, #24865c, #91ddb2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 8px 20px rgba(35,132,91,.2);
}

.nav-cluster,
.nav-links,
.lang-switch {
  display: flex;
  align-items: center;
}

.nav-cluster { gap: 22px; }
.nav-links { gap: 18px; }
.lang-switch { gap: 4px; }

.nav-links a,
.lang-switch a {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover { color: var(--ink); }

.lang-switch a {
  padding: 6px 9px;
  border-radius: 999px;
}

.lang-switch a[aria-current="page"] {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 5px 18px rgba(28, 58, 44, .08);
}

.page-shell {
  width: min(100% - 36px, 1120px);
  margin: 0 auto;
}

.hero {
  min-height: 590px;
  padding: 76px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: center;
  gap: 58px;
}

.eyebrow,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.eyebrow {
  padding: 7px 12px;
  border: 1px solid rgba(35,132,91,.18);
  color: #216a4c;
  background: rgba(255,255,255,.72);
}

h1,
h2,
h3 { margin-top: 0; line-height: 1.18; letter-spacing: -.035em; }

h1 {
  margin-bottom: 20px;
  font-size: clamp(3.1rem, 7.5vw, 6.4rem);
  font-weight: 850;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 { margin-bottom: 9px; font-size: 1.32rem; }

.hero h1 { margin-top: 20px; }

.hero-copy {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.button.primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #237f58, #55b883);
  box-shadow: 0 12px 28px rgba(35,127,88,.22);
}

.button:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(29,65,47,.13); }

.hero-visual {
  position: relative;
  min-height: 450px;
  display: grid;
  place-items: center;
}

.hero-glow {
  position: absolute;
  inset: 8% 0 0 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,158,210,.55), rgba(217,194,255,.25) 44%, transparent 70%);
  filter: blur(8px);
}

.hero-icon {
  position: relative;
  width: min(100%, 410px);
  border-radius: 31%;
  box-shadow: 0 34px 90px rgba(53, 14, 45, .28), 0 3px 0 rgba(255,255,255,.7) inset;
  transform: rotate(2.5deg);
}

.floating-note {
  position: absolute;
  right: 0;
  bottom: 12%;
  max-width: 220px;
  padding: 14px 17px;
  border: 1px solid rgba(237,47,145,.17);
  border-radius: 18px;
  background: rgba(255,255,255,.89);
  box-shadow: 0 18px 42px rgba(85,28,73,.14);
}

.floating-note strong { display: block; font-size: .9rem; }
.floating-note span { color: var(--muted); font-size: .76rem; }

.section { padding: 54px 0; scroll-margin-top: 80px; }

.section-heading {
  max-width: 730px;
  margin-bottom: 28px;
}

.section-heading p { margin: 0; color: var(--muted); }

.studio-grid,
.apps-grid,
.policy-groups {
  display: grid;
  gap: 18px;
}

.studio-grid { grid-template-columns: repeat(3, 1fr); }

.feature,
.app-card,
.policy-group,
.contact-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature {
  padding: 25px;
  border-radius: var(--radius-lg);
}

.feature-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  border-radius: 13px;
  color: #20704f;
  background: var(--green-soft);
  font-size: .78rem;
  font-weight: 850;
}

.feature p,
.app-card p,
.policy-group > p { margin: 0; color: var(--muted); }

.apps-grid { grid-template-columns: 1.1fr .9fr; }

.app-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.app-card.omomeku {
  color: #fff;
  border: 0;
  background: linear-gradient(145deg, #1c0b19 0%, #3d0c2b 52%, #7a1652 100%);
  box-shadow: 0 28px 72px rgba(73,20,56,.22);
}

.app-card.omomeku::after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  right: -120px;
  bottom: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,75,169,.65), transparent 68%);
}

.app-card.omomeku p { color: rgba(255,255,255,.72); }

.app-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.app-logo {
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
  border-radius: 29px;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
}

.smady-mark {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  flex: 0 0 auto;
  border-radius: 27px;
  color: #fff;
  background: linear-gradient(145deg, #216f52, #83caa2);
  font-size: 2.4rem;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(38,114,81,.2);
}

.tag {
  padding: 6px 10px;
  margin-bottom: 18px;
  color: #2d6e53;
  background: var(--green-soft);
}

.omomeku .tag { color: #ffd7ec; background: rgba(255,255,255,.12); }

.app-name { margin-bottom: 5px; font-size: clamp(2rem, 4vw, 3rem); }
.app-tagline { margin-bottom: 17px !important; font-weight: 750; }
.omomeku .app-tagline { color: #ff8fc9; }

.app-points {
  position: relative;
  z-index: 1;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
}

.app-points li {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  font-size: .78rem;
  font-weight: 750;
}

.smady .app-points li { color: #376b55; background: #eef8f2; }

.policy-groups { grid-template-columns: repeat(2, 1fr); }

.policy-group {
  padding: 30px;
  border-radius: var(--radius-xl);
}

.policy-group.omomeku-policy {
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(255,240,247,.86));
}

.policy-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.policy-link {
  min-height: 86px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.84);
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}

.policy-link:hover { transform: translateY(-2px); border-color: rgba(35,132,91,.34); }
.omomeku-policy .policy-link:hover { border-color: rgba(237,47,145,.36); }
.policy-link small { color: var(--muted); font-size: .72rem; font-weight: 650; }

.contact-card {
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  border-radius: var(--radius-xl);
}

.contact-list { display: grid; gap: 12px; }
.contact-item { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.contact-item:last-child { padding-bottom: 0; border-bottom: 0; }
.contact-item b { display: block; color: var(--muted); font-size: .72rem; letter-spacing: .06em; }
.contact-item a { color: var(--green); overflow-wrap: anywhere; }

.footer {
  padding: 28px 0 max(34px, env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: .78rem;
  text-align: center;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 58px; gap: 28px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { min-height: 380px; }
  .hero-icon { width: min(82vw, 380px); }
  .floating-note { right: 5%; }
  .studio-grid,
  .apps-grid,
  .policy-groups { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav { width: min(100% - 24px, 1120px); min-height: 60px; }
  .page-shell { width: min(100% - 24px, 1120px); }
  .brand-mark { width: 26px; height: 26px; border-radius: 9px 9px 9px 4px; }
  .brand { font-size: .88rem; }
  .lang-switch a { padding: 5px 7px; font-size: .73rem; }
  .hero { padding: 44px 0 32px; }
  h1 { font-size: clamp(2.8rem, 16vw, 4.3rem); }
  .hero-visual { min-height: 330px; }
  .hero-icon { width: min(88vw, 330px); border-radius: 30%; }
  .floating-note { right: 0; bottom: 2%; }
  .section { padding: 38px 0; }
  .app-card,
  .policy-group,
  .contact-card { padding: 24px; border-radius: 26px; }
  .app-card { min-height: 360px; }
  .app-head { flex-direction: column-reverse; }
  .app-logo,
  .smady-mark { width: 82px; height: 82px; border-radius: 24px; }
  .policy-links { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button,
  .policy-link { transition: none; }
}
