/*
 * pnote 公式サイト（apps/pnote-landing）の唯一のスタイルシート。
 * 色の値は apps/pnote-web/docs/design-direction.md の tokens。本文は prefers-color-scheme に従い、
 * ヘッダー・ヒーロー・ダウンロードの帯・フッターは常に暗い地。紫（--primary）は押すもの 1 種類と小さな印だけ。
 * 作り方の決まりは .claude/skills/landing/SKILL.md。
 */

/* ---------- tokens ---------- */

:root {
  color-scheme: light dark;

  --bg: #f4f3f6;
  --fg: #2e2c34;
  --card: #ffffff;
  --secondary: #ecebf0;
  --muted: #efeef2;
  --muted-fg: #6c6a76;
  --hover: #ecebf0;
  --border: #e3e2e8;
  --input: #dcdbe2;
  --ring: #2e2c34;
  --primary: #8352f4;
  --primary-hover: #7444ea;
  --primary-fg: #ffffff;
  --accent-line: #8352f4;
  --accent-fill: rgb(131 82 244 / 10%);

  --chrome: #18181b;
  --chrome-line: rgb(255 255 255 / 8%);
  --header-accent: #a68af9;
  --on-dark: #ffffff;
  --on-dark-muted: rgb(255 255 255 / 72%);
  --night: #0c0b0e;

  --bezel: #1b1a1f;
  --shadow-phone: 0 1px 0 rgb(255 255 255 / 6%) inset, 0 24px 48px -24px rgb(12 11 14 / 55%),
    0 10px 20px -12px rgb(12 11 14 / 35%);
  --shadow-panel: 0 18px 40px -24px rgb(12 11 14 / 35%);

  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo,
    system-ui, sans-serif;
  --gutter: 16px;
  --content: 1120px;
  --header-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151417;
    --fg: #dddbe4;
    --card: #1c1b1f;
    --secondary: #26252b;
    --muted: #222126;
    --muted-fg: #9b99a6;
    --hover: #26252b;
    --border: #302f36;
    --input: #3a3940;
    --ring: #dddbe4;
    --accent-line: #a68af9;
    --accent-fill: rgb(131 82 244 / 18%);
    --chrome: #0c0b0e;
    --shadow-panel: 0 18px 40px -24px rgb(0 0 0 / 60%);
  }
}

@media (min-width: 640px) {
  :root {
    --gutter: 24px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 32px;
  }
}

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  line-break: strict;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.01em;
  font-feature-settings: "palt" 1;
  word-break: auto-phrase;
  text-wrap: balance;
}

p,
ul,
ol,
dl {
  margin: 0;
}

p,
li,
dd {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease,
    text-decoration-color 150ms ease;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: 4px;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.wrap {
  width: min(var(--content), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--card);
  color: var(--fg);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip:focus-visible {
  transform: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  text-decoration: none;
}

.button-primary {
  background: var(--primary);
  color: var(--primary-fg);
}

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

.button-outline {
  border-color: var(--input);
  background: var(--card);
  color: var(--fg);
}

.button-outline:hover {
  background: var(--hover);
}

.on-dark .button-outline {
  border-color: rgb(255 255 255 / 34%);
  background: transparent;
  color: var(--on-dark);
}

.on-dark .button-outline:hover {
  background: rgb(255 255 255 / 9%);
}

/* ---------- dark surfaces ---------- */

.on-dark {
  --ring: #ffffff;
  color: var(--on-dark);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--chrome);
  border-bottom: 1px solid var(--chrome-line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: block;
  flex: none;
  border-radius: 6px;
}

/* ワードマークは描き直さず、画像の左の余白（67/355）だけ画面側で詰める */
.brand img {
  width: auto;
  height: 36px;
  margin-left: calc(36px * -67 / 355);
}

.nav-desktop {
  display: none;
  align-self: stretch;
  margin-left: 16px;
}

.nav-desktop ul {
  display: flex;
  height: 100%;
  padding: 0;
  list-style: none;
}

.nav-desktop a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  color: var(--on-dark-muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nav-desktop a:hover {
  color: var(--on-dark);
}

.nav-desktop a[aria-current="page"] {
  color: var(--on-dark);
  font-weight: 800;
}

.nav-desktop a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--header-accent);
}

.header-cta {
  min-height: 36px;
  margin-left: auto;
  padding: 0 14px;
  font-size: 14px;
}

.nav-mobile {
  flex: none;
}

.nav-mobile summary {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 8px;
  color: var(--on-dark);
  font-size: 14px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.nav-mobile summary::-webkit-details-marker {
  display: none;
}

.nav-mobile summary:hover,
.nav-mobile[open] summary {
  background: rgb(255 255 255 / 9%);
}

.nav-mobile-panel {
  position: absolute;
  top: var(--header-h);
  right: 0;
  left: 0;
  border-bottom: 1px solid var(--chrome-line);
  background: var(--chrome);
}

.nav-mobile-panel ul {
  width: min(var(--content), 100% - var(--gutter) * 2);
  margin-inline: auto;
  padding: 8px 0 16px;
  list-style: none;
}

.nav-mobile-panel a {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid var(--chrome-line);
  color: var(--on-dark);
  font-weight: 700;
  text-decoration: none;
}

.nav-mobile-panel a[aria-current="page"] {
  box-shadow: inset 2px 0 0 var(--header-accent);
  padding-left: 14px;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: block;
  }

  .nav-mobile {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 18px;
  }
}

/* ---------- phone and browser frames ---------- */

/* 端末の枠（CSS）。画面写真は 1260x2736 の比率のまま、枠の内側に収める */
.phone {
  --pw: 220px;
  position: relative;
  flex: none;
  width: var(--pw);
  padding: calc(var(--pw) * 0.03);
  border-radius: calc(var(--pw) * 0.16);
  background: var(--bezel);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 10%) inset, var(--shadow-phone);
}

.phone img {
  width: 100%;
  aspect-ratio: 1260 / 2736;
  border-radius: calc(var(--pw) * 0.13);
  background: #000000;
  object-fit: cover;
}

.browser {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow-panel);
}

.browser-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
  background: var(--muted);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--input);
}

.browser-url {
  justify-self: center;
  width: min(100%, 320px);
  padding: 2px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  color: var(--muted-fg);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-spacer {
  width: 42px;
}

.browser img {
  width: 100%;
  aspect-ratio: 1440 / 900;
  object-fit: cover;
}

/* 画面の一部（切り出した画面写真）の枠。端末の枠ではなく、角丸と細い線だけ */
.shot {
  --shot-line: rgb(12 11 14 / 16%);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--shot-line);
  border-radius: 16px;
  background: #151417;
  box-shadow: var(--shadow-phone);
}

.on-dark .shot {
  --shot-line: rgb(255 255 255 / 16%);
}

.shot img {
  width: 100%;
}

@media (prefers-color-scheme: dark) {
  .shot {
    --shot-line: rgb(255 255 255 / 14%);
  }
}

/* 切り出しを 2 枚並べる並べ方。中身を隠さないよう重ねず、左右にずらして段にする */
.parts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100%, 440px);
}

.parts .shot:first-child {
  width: 80%;
}

.parts .shot + .shot {
  align-self: flex-end;
  width: 76%;
}

.parts--tall .shot:first-child {
  width: 64%;
}

.parts--tall .shot + .shot {
  width: 84%;
}

.parts--row {
  flex-direction: row;
  align-items: flex-start;
  gap: 4%;
  width: min(100%, 520px);
}

.parts--row .shot:first-child,
.parts--row .shot + .shot {
  width: 48%;
}

.parts--row .shot + .shot {
  align-self: auto;
  margin-top: 12%;
}

.parts--single .shot {
  width: 80%;
  margin-inline: auto;
}

/* ---------- store badges ---------- */

/*
 * App Store（SVG、40 x 108.85）と Google Play（PNG 646x250、上下に 29px の透明の余白）を
 * 見える高さ --badge-h でそろえ、周りに高さの 1/4 の余白を取る。画像は変形しない。
 */
.store-badges {
  --badge-h: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: calc(var(--badge-h) / -4);
}

.store-badges--center {
  justify-content: center;
}

.badge {
  display: block;
  padding: calc(var(--badge-h) / 4);
  border-radius: 12px;
}

.badge img {
  width: auto;
  height: var(--badge-h);
}

.badge-google img {
  height: calc(var(--badge-h) * 250 / 192);
  margin-block: calc(var(--badge-h) * -29 / 192);
}

@media (min-width: 640px) {
  .store-badges {
    --badge-h: 48px;
  }
}

/* ---------- hero (top) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--night);
  background-image: url("/assets/img/bg-hero.webp");
  /* 電話幅・タブレット幅では、カード置き場の線が文字の後ろに来ないよう左寄りの平らな面を出す */
  background-position: 30% 0;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 960px) {
  .hero {
    background-position: 68% 0;
  }
}

.hero-inner {
  display: grid;
  gap: 40px;
  padding-block: 48px 56px;
}

.hero-title {
  font-size: clamp(2rem, 1.35rem + 2.9vw, 3.4rem);
  line-height: 1.28;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.hero-lead,
.section-lead,
.page-lead,
.feature-text {
  word-break: auto-phrase;
}

.hero-lead {
  max-width: 34em;
  margin-top: 20px;
  color: var(--on-dark-muted);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
}

.hero .store-badges {
  margin-top: 28px;
  margin-bottom: 0;
}

.hero-web {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 28px;
  color: var(--on-dark-muted);
  font-size: 14px;
}

.hero-stage {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero-stage .phone--front {
  --pw: 188px;
  z-index: 2;
}

.hero-stage .phone--right {
  --pw: 156px;
  z-index: 1;
  margin-top: 44px;
  margin-left: -44px;
}

.hero-stage .shot--hero {
  display: none;
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    padding-block: 72px 80px;
  }

  .hero-stage {
    position: relative;
    display: block;
    height: 560px;
    padding: 0;
  }

  .hero-stage .phone,
  .hero-stage .shot--hero {
    position: absolute;
    margin: 0;
  }

  .hero-stage .phone--front {
    --pw: 232px;
    top: 0;
    left: 10%;
    z-index: 2;
  }

  .hero-stage .phone--right {
    --pw: 200px;
    top: 64px;
    right: 0;
    z-index: 1;
  }

  .hero-stage .shot--hero {
    display: block;
    bottom: 28px;
    left: 0;
    z-index: 3;
    width: 260px;
    border-radius: 14px;
  }
}

@media (min-width: 1200px) {
  .hero-stage {
    height: 600px;
  }

  .hero-stage .phone--front {
    --pw: 252px;
  }

  .hero-stage .phone--right {
    --pw: 216px;
  }

  .hero-stage .shot--hero {
    width: 288px;
  }
}

/* ---------- sections ---------- */

.section {
  padding-block: 64px;
}

@media (min-width: 960px) {
  .section {
    padding-block: 96px;
  }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted-fg);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--primary);
}

.section-title {
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);
}

.section-lead {
  max-width: 40em;
  margin-top: 16px;
  color: var(--muted-fg);
}

.more-link {
  display: inline-block;
  margin-top: 24px;
  font-weight: 700;
}

/* ---------- features (top) ---------- */

.feature {
  display: grid;
  gap: 40px;
  padding-block: 64px;
  border-top: 1px solid var(--border);
}

.feature:first-child {
  border-top: 0;
}

.feature h2 {
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);
}

.feature-text {
  max-width: 36em;
  margin-top: 16px;
}

.ops {
  display: grid;
  gap: 10px;
  max-width: 36em;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.ops li {
  position: relative;
  padding-left: 20px;
  line-height: 1.7;
}

.ops li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--primary);
}

.feature-media {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}


@media (min-width: 960px) {
  .feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 72px;
    padding-block: 88px;
  }

  .feature--flip .feature-copy {
    order: 2;
  }
}

/* ---------- web version (top) ---------- */

.web-section {
  border-block: 1px solid var(--border);
  background: var(--card);
}

.web-grid {
  display: grid;
  gap: 40px;
}

.web-section .section-lead {
  color: var(--fg);
}

.web-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 28px;
}

.web-actions a:not(.button) {
  font-weight: 700;
}

@media (min-width: 960px) {
  .web-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 56px;
  }
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .faq-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 56px;
  }
}

.qa-list {
  border-top: 1px solid var(--border);
}

.qa {
  border-bottom: 1px solid var(--border);
}

.qa summary {
  position: relative;
  display: block;
  padding: 18px 40px 18px 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
  word-break: auto-phrase;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary::after {
  content: "+";
  position: absolute;
  top: 16px;
  right: 4px;
  width: 24px;
  color: var(--muted-fg);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.qa[open] summary::after {
  content: "−";
}

.qa summary:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.qa-body {
  padding-bottom: 20px;
  color: var(--fg);
}

.qa-body p + p {
  margin-top: 8px;
}

/* ---------- download band ---------- */

.band {
  background-color: var(--night);
  background-image: url("/assets/img/bg-band.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
}

.band-inner {
  padding-block: 72px;
}

.band .section-lead {
  margin-inline: auto;
  color: var(--on-dark-muted);
}

.band .store-badges {
  margin-top: 28px;
}

@media (min-width: 960px) {
  .band-inner {
    padding-block: 96px;
  }
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--chrome-line);
  background: var(--chrome);
  color: var(--on-dark-muted);
  font-size: 14px;
}

.footer-inner {
  display: grid;
  gap: 32px;
  padding-block: 48px 32px;
}

.footer-brand img {
  width: auto;
  height: 40px;
  margin-left: calc(40px * -67 / 355);
}

.footer-brand p {
  margin-top: 8px;
}

.footer-heading {
  margin-bottom: 8px;
  color: var(--on-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-links {
  display: grid;
  gap: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  padding-block: 4px;
  color: var(--on-dark-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--on-dark);
  text-decoration: underline;
}

.footer-notice {
  padding-block: 24px 40px;
  border-top: 1px solid var(--chrome-line);
  font-size: 12px;
  line-height: 1.8;
}

.footer-notice p + p {
  margin-top: 4px;
}

.footer-copy {
  margin-top: 16px;
  color: var(--on-dark);
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* ---------- document pages (guide / faq / about / 404) ---------- */

.page-head .wrap,
.doc,
.not-found {
  width: min(960px, 100% - var(--gutter) * 2);
}

.page-head {
  padding-block: 32px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  padding: 0;
  color: var(--muted-fg);
  font-size: 13px;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "›";
  margin: 0 8px;
  color: var(--muted-fg);
}

.breadcrumb a {
  color: var(--muted-fg);
}

.breadcrumb a:hover {
  color: var(--fg);
}

.page-title {
  margin-top: 16px;
  font-size: clamp(1.75rem, 1.35rem + 1.7vw, 2.5rem);
}

.page-lead {
  max-width: 42em;
  margin-top: 16px;
  color: var(--muted-fg);
  font-size: 17px;
}

.doc {
  padding-block: 8px 64px;
}

.doc-section {
  display: grid;
  gap: 24px;
  padding-block: 40px;
  border-bottom: 1px solid var(--border);
}

.doc-section:last-child {
  border-bottom: 0;
}

.doc-body {
  max-width: 42em;
}

.doc-body h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
}

.doc-body h3 {
  margin-top: 28px;
  font-size: 1.0625rem;
}

.doc-body p,
.doc-body ul,
.doc-body ol,
.doc-body dl {
  margin-top: 14px;
}

.doc-body ul {
  padding-left: 1.25em;
}

.doc-body ul li + li {
  margin-top: 6px;
}

.steps {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 40px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--accent-line);
  border-radius: 50%;
  background: var(--accent-fill);
  color: var(--fg);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.note {
  padding: 12px 16px;
  border-left: 2px solid var(--accent-line);
  background: var(--muted);
  color: var(--fg);
  font-size: 15px;
}

.doc-figure {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.doc-figure .phone {
  --pw: 176px;
}

.doc-figure .shot {
  width: 220px;
}

.doc-figure--web {
  display: block;
}

.doc-figure--wide {
  justify-content: flex-start;
  margin-top: 20px;
}

.doc-figure--wide .shot {
  width: min(100%, 440px);
}

@media (min-width: 900px) {
  .doc-section--figure {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 40px;
    align-items: start;
  }

  .doc-section--figure .doc-figure .phone {
    --pw: 220px;
  }

  .doc-section--figure .doc-figure .shot {
    width: 240px;
  }

  .doc-figure--web {
    max-width: 760px;
  }
}

.related {
  padding-block: 40px 0;
}

.related h2 {
  font-size: 1.25rem;
}

.link-list {
  display: grid;
  gap: 0;
  margin-top: 16px;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.link-list li {
  border-bottom: 1px solid var(--border);
}

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

.link-list a:hover {
  background: var(--hover);
}

.link-list strong {
  font-size: 17px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.link-list span {
  color: var(--muted-fg);
  font-size: 15px;
}

@media (min-width: 768px) {
  .link-list--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }
}

.tab-table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: 15px;
}

.tab-table th,
.tab-table td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.tab-table th {
  width: 6.5em;
  white-space: nowrap;
}

.faq-page .qa-item {
  padding-block: 28px;
  border-bottom: 1px solid var(--border);
}

.faq-page .qa-item h2 {
  font-size: 1.1875rem;
}

.faq-page .qa-item p {
  max-width: 42em;
  margin-top: 10px;
}

.faq-page .qa-item p + p {
  margin-top: 8px;
}

.info-list {
  display: grid;
  margin-top: 24px;
  border-top: 1px solid var(--border);
}

.info-list div {
  display: grid;
  gap: 4px;
  padding-block: 16px;
  border-bottom: 1px solid var(--border);
}

.info-list dt {
  color: var(--muted-fg);
  font-size: 14px;
  font-weight: 700;
}

@media (min-width: 640px) {
  .info-list div {
    grid-template-columns: 11em minmax(0, 1fr);
    gap: 16px;
  }
}

.not-found {
  padding-block: 72px 96px;
}

.not-found .link-list {
  max-width: 560px;
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* 「iOS 15 以上」のように、数字と語を行の途中で分けない */
.nowrap {
  white-space: nowrap;
}

/* 利用規約・プライバシーポリシー（Notion の本文をそのまま写した番号付きの箇条と入れ子の箇条） */
.legal ol {
  padding-left: 1.5em;
}

.legal ol li + li {
  margin-top: 6px;
}

.legal li > ul,
.legal li > ol {
  margin-top: 6px;
}
