:root {
  color-scheme: light;
  --background: #f4f5fb;
  --surface: #ffffff;
  --surface-soft: #eef2ff;
  --text: #18192f;
  --text-muted: #585b70;
  --primary: #242666;
  --primary-bright: #4b4fd7;
  --accent: #f59429;
  --border: #dfe1ed;
  --shadow: 0 24px 70px rgb(36 38 102 / 12%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic UI', 'Yu Gothic', Meiryo, sans-serif;
  font-feature-settings: 'palt';
  line-height: 1.7;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--primary);
  color: white;
  padding: 10px 16px;
}

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

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 8px 22px rgb(36 38 102 / 18%);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  margin-left: auto;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
}

.release-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgb(255 255 255 / 76%);
  color: var(--text-muted);
  padding: 7px 13px;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 36px;
  background:
    radial-gradient(circle at 82% 18%, rgb(255 255 255 / 22%) 0 11%, transparent 32%),
    linear-gradient(135deg, #23245c 0%, #343a9d 58%, #177dc5 100%);
  box-shadow: var(--shadow);
  color: white;
  padding: clamp(40px, 7vw, 82px);
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto -8% -54% 35%;
  z-index: -1;
  height: 390px;
  border-radius: 50%;
  background: rgb(245 148 41 / 16%);
  filter: blur(4px);
}

.eyebrow {
  margin: 0 0 14px;
  color: #ffd8a9;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.7rem);
  line-height: 1.17;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgb(255 255 255 / 84%);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.95;
}

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

.primary-cta,
.secondary-cta {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0 20px;
  font-weight: 800;
  text-decoration: none;
}

.primary-cta {
  background: var(--accent);
  color: #2d1b07;
  box-shadow: 0 12px 28px rgb(16 13 45 / 24%);
}

.secondary-cta {
  border: 1px solid rgb(255 255 255 / 28%);
  background: rgb(255 255 255 / 10%);
  color: white;
}

.secondary-cta:hover,
.secondary-cta:focus-visible {
  background: rgb(255 255 255 / 18%);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  gap: 20px;
  text-align: center;
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: min(310px, 78vw);
  border-radius: 29%;
  box-shadow: 0 32px 70px rgb(9 10 38 / 38%);
}

.hero-art p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgb(255 255 255 / 82%);
  font-size: 0.93rem;
  font-weight: 700;
}

.icon-halo {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: rgb(255 255 255 / 9%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 30px 0 92px;
}

.highlight-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  padding: 24px 26px;
}

.highlight-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.highlight-value {
  color: var(--primary) !important;
  font-size: 2.1rem !important;
  font-weight: 900 !important;
  line-height: 1.2;
}

.highlight-value span {
  margin-left: 4px;
  font-size: 0.9rem;
}

.section-block {
  padding: clamp(78px, 10vw, 128px) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-kicker,
.document-eyebrow {
  margin: 0 0 10px;
  color: var(--primary-bright);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.section-heading h2,
.trust-panel h2,
.privacy-panel h2,
.closing-cta h2 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child,
.trust-copy > p:last-child,
.privacy-panel p,
.closing-cta p {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 1rem;
}

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

.feature-card {
  min-height: 270px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  padding: 30px;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 34px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-bright);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.feature-card h3 {
  margin: 42px 0 12px;
  color: var(--primary);
  font-size: 1.3rem;
  line-height: 1.45;
}

.feature-card p,
.theme-card p,
.resource-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.theme-section {
  border-top: 1px solid var(--border);
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.theme-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgb(255 255 255 / 68%);
  padding: 22px 24px;
}

.theme-dot {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin-top: 7px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px color-mix(in srgb, currentColor 12%, transparent);
}

.theme-consumer {
  background: #007370;
  color: #007370;
}

.theme-work {
  background: #242666;
  color: #242666;
}

.theme-internet {
  background: #b23866;
  color: #b23866;
}

.theme-housing {
  background: #1a6ba8;
  color: #1a6ba8;
}

.theme-safety {
  background: #b8520a;
  color: #b8520a;
}

.theme-family {
  background: #705cc2;
  color: #705cc2;
}

.theme-card h3 {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 1.05rem;
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(38px, 7vw, 92px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 8%, rgb(78 191 255 / 22%), transparent 28%),
    linear-gradient(135deg, #202153, #303687);
  color: white;
  padding: clamp(40px, 7vw, 76px);
}

.trust-panel h2 {
  color: white;
}

.section-kicker-light {
  color: #ffca8b;
}

.trust-copy > p:last-child {
  color: rgb(255 255 255 / 77%);
}

.trust-list {
  display: grid;
  gap: 12px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 15px;
  background: rgb(255 255 255 / 7%);
  padding: 14px 16px;
  color: rgb(255 255 255 / 88%);
  font-size: 0.92rem;
  font-weight: 650;
}

.trust-list span {
  color: #ffd19c;
  font-weight: 900;
}

.privacy-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 56px;
  margin-top: 28px;
  border: 1px solid #d8dcf7;
  border-radius: 28px;
  background: linear-gradient(135deg, #fafaff, #eef2ff);
  padding: clamp(32px, 5vw, 54px);
}

.privacy-panel > div {
  max-width: 710px;
}

.privacy-panel h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  color: var(--primary);
  font-weight: 820;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.resource-card {
  display: block;
  min-height: 190px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  padding: 26px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.resource-card:hover,
.resource-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgb(36 38 102 / 10%);
}

.resource-card > span {
  color: var(--primary-bright);
  font-size: 0.76rem;
  font-weight: 820;
}

.resource-card h3 {
  margin: 20px 0 28px;
  color: var(--primary);
  font-size: 1.15rem;
}

.support-link-row {
  margin-top: 26px;
  text-align: right;
}

.closing-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 92px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 30px 34px;
}

.closing-cta img {
  border-radius: 24px;
  box-shadow: 0 12px 28px rgb(36 38 102 / 18%);
}

.closing-cta h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.closing-cta p {
  margin-top: 3px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding: 30px 0 40px;
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  color: var(--primary);
  font-weight: 850;
}

.footer-links {
  display: grid;
  gap: 5px;
}

.footer-links a,
.footer-meta a {
  color: var(--text-muted);
  text-underline-offset: 4px;
}

.footer-meta {
  text-align: right;
}

.site-header-compact {
  border-bottom: 1px solid var(--border);
}

.document-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 0 96px;
}

.document-hero {
  max-width: 760px;
  margin-bottom: 38px;
}

.document-hero h1 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.document-hero > p:last-child {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.document-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 22px 64px rgb(36 38 102 / 8%);
  padding: clamp(28px, 6vw, 64px);
}

.document-card section + section {
  margin-top: 48px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}

.document-card h2 {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  line-height: 1.5;
}

.document-card p,
.document-card li {
  color: #404358;
}

.document-card p {
  margin: 0.8em 0;
}

.document-card ul {
  padding-left: 1.4em;
}

.document-card li + li {
  margin-top: 7px;
}

.document-card a {
  color: #3137a6;
  text-underline-offset: 4px;
}

.document-updated {
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--primary) !important;
  padding: 14px 17px;
  font-size: 0.88rem;
  font-weight: 700;
}

.document-links {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  border-left: 3px solid #8086ea;
  padding-left: 16px;
}

.document-card address {
  border-radius: 14px;
  background: #f6f7fb;
  padding: 18px;
  font-style: normal;
}

.language-switch {
  margin-top: 48px !important;
  text-align: center;
}

.support-contact {
  border: 1px solid #d8dcf7;
  border-radius: 20px;
  background: linear-gradient(135deg, #fafaff, #eef2ff);
  padding: 26px;
}

.mail-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border-radius: 13px;
  background: var(--primary);
  color: white !important;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
}

.contact-hints {
  margin-bottom: 0;
  font-size: 0.9rem;
}

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

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 15px 17px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 800;
}

.faq-list details p {
  margin: 12px 0 0;
}

.support-resource-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.support-resource-list a {
  display: block;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  text-decoration: none;
}

.support-resource-list span {
  color: var(--primary-bright);
  font-size: 0.76rem;
  font-weight: 800;
}

.support-resource-list strong {
  display: block;
  margin: 3px 0;
  color: var(--primary);
}

.support-resource-list p {
  margin: 0;
  font-size: 0.9rem;
}

.notice-box {
  border-radius: 18px;
  background: #fff7ec;
  padding: 24px;
}

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

  .hero {
    grid-template-columns: 1fr;
    padding: 48px 30px;
  }

  .hero-art img {
    width: min(250px, 65vw);
  }

  .icon-halo {
    width: 310px;
    height: 310px;
  }

  .feature-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-card h3 {
    margin-top: 26px;
  }

  .trust-panel {
    grid-template-columns: 1fr;
  }

  .privacy-panel {
    align-items: flex-start;
    flex-direction: column;
    display: flex;
  }

  .closing-cta {
    grid-template-columns: auto 1fr;
  }

  .closing-cta .primary-cta {
    grid-column: 1 / -1;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .release-pill {
    display: none;
  }

  .hero {
    min-height: auto;
    border-radius: 26px;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .theme-grid {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding: 72px 0;
  }

  .closing-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .closing-cta img {
    margin: 0 auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .document-wrap {
    padding: 48px 0 72px;
  }

  .document-card {
    border-radius: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
