/* ============================================================
   起きたフリ禁止 — プライバシーポリシー
   アプリの Dawn / Canvas / Ink をWeb向けに再構成。
   装飾より可読性を優先し、色・余白・角丸はトークンへ集約する。
   ============================================================ */

:root {
  /* AppTheme: dawn / sunrise / ink / canvas */
  --accent: #C3382A;       /* white on accent ≈ 5.5:1 */
  --accent-deep: #8C201B;
  --accent-soft: #FCEBE7;
  --sunrise: #FFC348;
  --night: #111B2A;
  --night-soft: #29213A;

  --bg: #F9F5ED;
  --surface: #FFFEFA;
  --surface-2: #F6F1E8;
  --separator: rgba(19, 30, 46, 0.12);

  --text: #131E2E;         /* on surface ≈ 16.2:1 / on bg ≈ 15.1:1 */
  --text-2: #4F5661;       /* on surface ≈ 7.2:1 / on bg ≈ 6.7:1 */
  --text-3: #686F79;       /* on surface ≈ 5.0:1 / on bg ≈ 4.7:1 */
  --on-accent: #FFFFFF;    /* on accent ≈ 5.5:1 */
  --on-dark: #F2F5FA;      /* on night ≈ 15.6:1 */
  --on-dark-2: #C6CCD6;    /* on night ≈ 10.1:1 */

  --shadow-1: 0 2px 12px rgba(19, 30, 46, 0.06), 0 1px 3px rgba(19, 30, 46, 0.04);
  --shadow-2: 0 24px 70px rgba(19, 30, 46, 0.14), 0 8px 24px rgba(19, 30, 46, 0.08);

  --r-chip: 12px;
  --r-card: 20px;
  --r-card-lg: 28px;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  --sans-ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
             -apple-system, BlinkMacSystemFont, "SF Pro Text", "Yu Gothic", sans-serif;
  --sans-en: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --maxw: 760px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans-ja);
  font-size: 17px;
  font-feature-settings: "palt" 1;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body {
  font-family: var(--sans-en);
  font-feature-settings: normal;
}

a {
  color: var(--accent-deep);
  text-decoration-color: rgba(140, 32, 27, 0.36);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease, background-color 160ms ease;
}

a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

:focus-visible {
  border-radius: 6px;
  outline: 3px solid var(--sunrise);
  outline-offset: 4px;
}

.hero {
  background:
    radial-gradient(62% 130% at 88% -10%, rgba(195, 56, 42, 0.48), transparent 70%),
    radial-gradient(48% 100% at 3% 0%, rgba(255, 195, 72, 0.12), transparent 76%),
    linear-gradient(145deg, var(--night) 0%, var(--night-soft) 100%);
  color: var(--on-dark);
  overflow: hidden;
  padding: var(--s-6) var(--s-5) var(--s-8);
  position: relative;
}

.hero::after {
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.52), transparent 64%);
  opacity: 0.16;
  pointer-events: none;
  position: absolute;
}

.hero__inner {
  margin: 0 auto;
  max-width: var(--maxw);
  position: relative;
  z-index: 1;
}

.lang-switch {
  display: flex;
  font-size: 14px;
  font-weight: 650;
  gap: var(--s-2);
  justify-content: flex-end;
  margin-bottom: var(--s-7);
}

.lang-switch a {
  border-radius: 999px;
  color: var(--on-dark-2);
  padding: 6px 12px;
  text-decoration: none;
}

.lang-switch a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-dark);
}

.lang-switch a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.hero__layout {
  align-items: center;
  display: grid;
  gap: var(--s-6);
  grid-template-columns: minmax(0, 1fr) 168px;
}

.hero__copy {
  min-width: 0;
}

.eyebrow {
  align-items: center;
  color: #FFFFFF;
  display: inline-flex;
  font-size: 15px;
  font-weight: 650;
  gap: 10px;
  letter-spacing: 0.04em;
  margin-bottom: var(--s-4);
}

.eyebrow__mark {
  background: var(--sunrise);
  border-radius: 50% 50% 44% 44%;
  box-shadow: 0 0 24px rgba(255, 195, 72, 0.42);
  display: inline-block;
  height: 11px;
  width: 11px;
}

.hero h1 {
  color: #FFFFFF;
  font-size: clamp(40px, 7vw, 54px);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.mobile-break {
  display: none;
}

.hero .sub {
  color: var(--on-dark-2);
  font-size: 17px;
  font-weight: 500;
  margin-top: var(--s-4);
  max-width: 510px;
}

.hero .meta {
  color: var(--on-dark-2);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-5);
}

.route-mark {
  aspect-ratio: 1;
  position: relative;
  transform: rotate(-4deg);
  width: 168px;
}

.route-mark__sun {
  background: var(--sunrise);
  border: 9px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 0 44px rgba(255, 195, 72, 0.34);
  height: 70px;
  left: 49px;
  position: absolute;
  top: 7px;
  width: 70px;
}

.route-mark__line {
  border: 4px solid rgba(255, 255, 255, 0.78);
  border-bottom-color: transparent;
  border-radius: 60% 70% 0 0;
  height: 64px;
  left: 34px;
  position: absolute;
  top: 80px;
  transform: rotate(8deg);
  width: 102px;
}

.route-mark__point {
  background: var(--accent);
  border: 6px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.28);
  height: 34px;
  position: absolute;
  width: 34px;
}

.route-mark__point--first {
  bottom: 5px;
  left: 20px;
}

.route-mark__point--second {
  bottom: 12px;
  right: 9px;
}

.container {
  margin: 0 auto;
  max-width: var(--maxw);
  padding: var(--s-7) var(--s-5) var(--s-9);
}

.content-card {
  background: var(--surface);
  border: 1px solid rgba(19, 30, 46, 0.04);
  border-radius: var(--r-card-lg);
  box-shadow: var(--shadow-1);
  padding: var(--s-7) clamp(var(--s-5), 5vw, var(--s-7));
}

.intro {
  border-bottom: 1px solid var(--separator);
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.95;
  padding-bottom: var(--s-6);
}

.section {
  padding-top: var(--s-7);
}

.section h2 {
  align-items: baseline;
  color: var(--text);
  display: flex;
  font-size: 21px;
  font-weight: 720;
  gap: var(--s-3);
  letter-spacing: -0.015em;
  line-height: 1.42;
  margin-bottom: var(--s-4);
}

.section-number {
  align-items: center;
  background: var(--accent-soft);
  border-radius: var(--r-chip);
  color: var(--accent-deep);
  display: inline-flex;
  flex: none;
  font-feature-settings: "tnum" 1;
  font-size: 14px;
  font-weight: 750;
  height: 31px;
  justify-content: center;
  min-width: 31px;
  padding: 0 9px;
  transform: translateY(-1px);
}

.section h3 {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  margin: var(--s-5) 0 var(--s-2);
}

.section p {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: var(--s-3);
}

.section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: var(--s-2) 0 var(--s-4);
}

.section li {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.82;
  padding-left: var(--s-5);
  position: relative;
}

.section li::before {
  background: var(--accent);
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 4px;
  position: absolute;
  top: 0.76em;
  width: 6px;
}

.section li strong {
  color: var(--text);
  font-weight: 680;
}

.note {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-chip);
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.82;
  margin: var(--s-4) 0 var(--s-2);
  padding: var(--s-4) var(--s-5);
}

.contact-card {
  background: var(--surface-2);
  border: 1px solid var(--separator);
  border-radius: var(--r-card);
  margin-top: var(--s-6);
  padding: var(--s-6);
}

.contact-card h2 {
  margin-bottom: var(--s-5);
}

.contact-row {
  display: flex;
  font-size: 15px;
  gap: var(--s-4);
  padding: var(--s-3) 0;
}

.contact-row + .contact-row {
  border-top: 1px solid var(--separator);
}

.contact-label {
  color: var(--text-3);
  flex: none;
  font-weight: 650;
  width: 92px;
}

.contact-value {
  color: var(--text);
  line-height: 1.72;
}

.footer {
  margin: 0 auto;
  max-width: var(--maxw);
  padding: var(--s-7) var(--s-5) var(--s-8);
  text-align: center;
}

.footer .back {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 680;
  gap: var(--s-2);
}

.footer .links {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: var(--s-3) var(--s-5);
  justify-content: center;
  margin-top: var(--s-5);
}

.footer .copy {
  color: var(--text-3);
  font-size: 13px;
  margin-top: var(--s-5);
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .hero {
    padding: var(--s-5) var(--s-4) var(--s-7);
  }

  .lang-switch {
    margin-bottom: var(--s-6);
  }

  .hero__layout {
    gap: var(--s-4);
    grid-template-columns: minmax(0, 1fr) 96px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .mobile-break {
    display: initial;
  }

  .hero .sub {
    font-size: 15px;
  }

  .route-mark {
    transform: rotate(-4deg) scale(0.72);
    transform-origin: center right;
    width: 132px;
  }

  .container {
    padding: var(--s-6) var(--s-4) var(--s-8);
  }

  .content-card {
    border-radius: var(--r-card);
    padding: var(--s-6) var(--s-4);
  }

  .section {
    padding-top: var(--s-6);
  }

  .section h2 {
    align-items: flex-start;
    font-size: 19px;
  }

  .contact-card {
    padding: var(--s-5) var(--s-4);
  }

  .contact-row {
    flex-direction: column;
    gap: var(--s-1);
  }

  .contact-label {
    width: auto;
  }
}

@media (max-width: 390px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }

  .route-mark {
    display: none;
  }
}

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

  a {
    transition: none;
  }
}

@media print {
  :root {
    --bg: #FFFFFF;
  }

  .hero {
    background: #FFFFFF;
    color: #000000;
    padding-bottom: var(--s-5);
  }

  .hero::after,
  .route-mark,
  .lang-switch,
  .footer {
    display: none;
  }

  .eyebrow,
  .hero h1,
  .hero .sub,
  .hero .meta {
    color: #000000;
  }

  .container {
    max-width: none;
    padding: 0;
  }

  .content-card {
    border: 0;
    box-shadow: none;
  }
}
