:root {
  --ink: #3f3430;
  --muted: #756a64;
  --paper: #fffdf9;
  --cream: #fff6ec;
  --rose: #e96d8c;
  --rose-dark: #b94f68;
  --mint: #6a9c91;
  --sky: #eaf6f4;
  --line: #eadbd1;
  --gold: #d89b2b;
  --shadow: 0 22px 60px rgba(93, 63, 49, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic",
    "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.24em;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 8px 12px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(234, 219, 209, 0.82);
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--rose-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 44px;
  gap: 48px;
}

.hero-copy h1 {
  margin-bottom: 18px;
  font-size: 4rem;
  line-height: 1.05;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 26px;
  font-size: 1.25rem;
  color: var(--muted);
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--rose-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  border-color: var(--rose);
  background: var(--rose);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
}

.hero-visual {
  position: relative;
  min-height: 410px;
}

.hero-phone {
  width: 220px;
  margin-left: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-companion {
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 160px;
  filter: drop-shadow(0 18px 30px rgba(93, 63, 49, 0.14));
}

.section {
  padding: 72px 24px;
  background: var(--paper);
}

.section.quiet {
  background: var(--cream);
}

.section.tinted {
  background: var(--sky);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.intro-grid,
.trust-layout,
.support-grid,
.mail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.section h2,
.page-hero h1 {
  margin-bottom: 18px;
  font-size: 2.35rem;
  line-height: 1.22;
}

.section p,
.legal-content p,
.support-page p {
  color: var(--muted);
}

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

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

.feature-card,
.faq-list article,
.contact-box,
.link-list a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-card {
  padding: 24px;
}

.feature-card h3,
.faq-list h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.feature-card p,
.faq-list p {
  margin-bottom: 0;
}

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

.screen-shot {
  margin: 0;
}

.screen-shot img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.screen-shot figcaption {
  margin-top: 12px;
  font-weight: 800;
  text-align: center;
}

.link-list {
  display: grid;
  gap: 12px;
}

.link-list a {
  display: grid;
  gap: 4px;
  padding: 18px;
  text-decoration: none;
}

.link-list span {
  font-weight: 800;
}

.link-list small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 58px 24px 38px;
}

.page-hero p {
  color: var(--muted);
}

.legal-content {
  max-width: 920px;
  margin: 0 auto 72px;
  padding: 34px 24px 0;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-top: 36px;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.legal-content ul,
.check-list {
  padding-left: 1.3em;
  color: var(--muted);
}

.legal-content li + li,
.check-list li + li {
  margin-top: 8px;
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: 32px;
}

.support-hero img {
  width: 220px;
  justify-self: end;
}

.contact-box {
  padding: 22px;
}

.contact-box p {
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-box a {
  overflow-wrap: anywhere;
  color: var(--rose-dark);
  font-weight: 800;
}

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

.faq-list article {
  padding: 22px;
}

@media (max-width: 820px) {
  .hero,
  .intro-grid,
  .trust-layout,
  .support-grid,
  .mail-layout,
  .support-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 30px;
    padding-bottom: 34px;
    gap: 26px;
  }

  .hero-copy h1 {
    font-size: 2.7rem;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-phone {
    width: 150px;
    margin: 0 auto;
  }

  .hero-companion {
    width: 110px;
    left: 8px;
    bottom: 0;
  }

  .feature-grid,
  .screen-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .screen-grid {
    max-width: 360px;
    margin: 0 auto;
  }

  .section {
    padding: 54px 20px;
  }

  .section h2,
  .page-hero h1 {
    font-size: 1.9rem;
  }

  .site-footer {
    flex-direction: column;
  }

  .support-hero img {
    width: 160px;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .nav {
    padding: 12px 16px;
  }

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

  .nav-links {
    gap: 12px;
    font-size: 0.86rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .page-hero {
    padding-top: 42px;
  }
}
