:root {
  --ink: #151719;
  --muted: #5c6670;
  --line: #d8dee4;
  --paper: #f7f4ee;
  --paper-strong: #efe9df;
  --panel: #ffffff;
  --deep: #101820;
  --teal: #0f7c80;
  --teal-dark: #0b5f64;
  --teal-soft: #dff0ed;
  --mint: #cfe9e3;
  --rose: #f4dadd;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  line-height: 1.75;
  text-rendering: geometricPrecision;
}

body.policy-page {
  background: #f3f5f5;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

::selection {
  background: rgba(15, 124, 128, 0.22);
}

:focus-visible {
  outline: 3px solid rgba(15, 124, 128, 0.48);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--deep);
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 17, 22, 0.82);
  color: var(--white);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--white);
  color: var(--deep);
  font-weight: 700;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.app-hero {
  position: relative;
  overflow: hidden;
  padding: 146px 0 84px;
  background:
    radial-gradient(circle at 90% 18%, rgba(244, 218, 221, 0.9), transparent 32%),
    radial-gradient(circle at 12% 88%, rgba(207, 233, 227, 0.92), transparent 34%),
    var(--paper);
}

.app-hero::after {
  position: absolute;
  right: -130px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(15, 124, 128, 0.14);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 76px;
}

.hero-app-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-app-label img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.14);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: #45565a;
  font-size: 19px;
}

.hero-links,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(15, 124, 128, 0.2);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  border-color: #aab9b9;
  background: rgba(255, 255, 255, 0.62);
  color: var(--deep);
}

.hero-phone {
  position: relative;
  margin: 0;
}

.hero-phone::before {
  position: absolute;
  inset: 7% -7% -5% 8%;
  z-index: -1;
  border-radius: 42px;
  background: rgba(15, 124, 128, 0.13);
  content: "";
  transform: rotate(5deg);
}

.hero-phone img,
.screen-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.section {
  padding: 88px 0;
}

.section.band {
  border-block: 1px solid var(--line);
  background: var(--paper-strong);
}

.section.white {
  background: var(--panel);
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.kicker,
.eyebrow {
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.4;
}

.lead {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.feature-number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 11px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 800;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.screen-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(180px, 0.65fr);
  align-items: center;
  gap: 30px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.screen-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.42fr);
}

.screen-card img {
  border-radius: 20px;
}

.screen-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.use-card {
  padding: 30px;
  border-left: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.7);
}

.use-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.use-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.info-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: center;
  gap: 40px;
  padding: 40px;
  border-radius: 18px;
  background: var(--deep);
  color: var(--white);
}

.info-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.info-panel .button-secondary {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.page-hero {
  padding: 132px 0 58px;
  background:
    radial-gradient(circle at 90% 20%, rgba(207, 233, 227, 0.8), transparent 34%),
    var(--paper-strong);
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
}

.page-hero .hero-copy {
  margin-bottom: 0;
}

.content-wrap {
  padding: 56px 0 88px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.faq-item h2 {
  margin-bottom: 8px;
  font-size: 20px;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-panel {
  margin-top: 42px;
  padding: 34px;
  border-radius: 16px;
  background: var(--deep);
  color: var(--white);
}

.contact-panel h2 {
  font-size: 28px;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.policy-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 46px 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 16px 44px rgba(17, 24, 39, 0.07);
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.policy-section + .policy-section {
  margin-top: 34px;
}

.policy-section h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.policy-section h3 {
  margin-top: 22px;
  font-size: 18px;
}

.policy-section ul,
.policy-section ol {
  padding-left: 1.35em;
}

.policy-section li + li {
  margin-top: 6px;
}

.policy-callout {
  margin: 18px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--teal);
  background: var(--teal-soft);
}

.contact-box {
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(15, 124, 128, 0.26);
  border-radius: 8px;
  background: rgba(15, 124, 128, 0.07);
}

.contact-box a,
.policy-card a {
  color: var(--teal-dark);
  font-weight: 700;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #0c1116;
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer a:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-grid {
    gap: 18px;
  }

  .screen-card {
    grid-template-columns: 1fr;
  }

  .screen-card-wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav,
  .container,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    min-height: 60px;
    gap: 12px;
  }

  .nav-cta {
    min-height: 36px;
    padding: 0 11px;
    font-size: 13px;
  }

  .app-hero {
    padding: 102px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-phone {
    width: min(84%, 340px);
    margin: 0 auto;
  }

  h1 {
    font-size: 40px;
  }

  .hero-copy,
  .lead {
    font-size: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  h2 {
    font-size: 31px;
  }

  .feature-grid,
  .screen-grid,
  .use-grid,
  .info-panel {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .use-card {
    padding: 24px;
  }

  .screen-card {
    padding: 22px;
  }

  .screen-card img {
    width: min(84%, 340px);
    margin: 0 auto;
  }

  .info-panel,
  .contact-panel {
    padding: 28px 24px;
  }

  .page-hero {
    padding: 104px 0 44px;
  }

  .content-wrap {
    padding: 36px 0 64px;
  }

  .policy-card {
    padding: 28px 22px;
    border-radius: 12px;
  }

  .policy-section h2 {
    font-size: 21px;
  }

  .footer-inner {
    min-height: 122px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: 34px;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
