@charset "UTF-8";
/* ==========================================================================
   YouRairo 法務ページ（プライバシーポリシー・特定商取引法に基づく表記）v6
   - トップページ v5「CHAPTER CITY」（css/v5-theme.css）と同じ見た目の言語で作り直したもの。
     暖かいオフホワイトの地、濃色2pxの輪郭の白い角丸カード、同じ影・角丸・フォント・文字色。
   - 旧版の COOL／CUTE のテーマ（[data-theme]）は廃止。テーマ切替・localStorage は使わない。
   - グラデーションは使わない。文章は白いカードの上に置き、1行の長さを読みやすい幅に抑える。
   ========================================================================== */

:root {
  --ink: #202F3A;
  --ink-2: #46586A;
  --cream: #FFFDF6;
  --white: #FFFFFF;
  --pale-sky: #E6F3FB;
  --pale-yellow: #FFF3C4;
  --yellow: #FFE66B;
  --pink: #F8AFD2;
  --blue: #1E6AE0;
  --line: rgba(32, 47, 58, .16);
  --r: 24px;
  --r-s: 16px;
  --shadow: 0 10px 28px rgba(32, 47, 58, .11);
  --font-ja: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --font-en: "Cairo", "Noto Sans JP", sans-serif;
  color-scheme: light;
}
@media (min-width: 768px) {
  :root { --r: 38px; --r-s: 22px; --shadow: 0 16px 40px rgba(32, 47, 58, .12); }
}

/* --- 基本 -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-ja); font-weight: 500; font-size: 15.5px; line-height: 1.95; letter-spacing: .02em;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 3px var(--white); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--white); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* --- ヘッダー（トップページと同じ白い角丸のバー）------------------------------------ */
.legal-header { position: sticky; top: 0; z-index: 50; padding: 6px 8px; }
.legal-header-inner {
  display: flex; align-items: center; gap: 12px;
  max-width: 1120px; min-height: 52px; margin: 0 auto; padding: 0 8px 0 14px;
  background: var(--white); border: 2px solid var(--ink); border-radius: 999px;
}
.legal-logo { display: flex; align-items: center; min-height: 44px; flex: none; border-radius: 10px; }
.legal-logo img { width: 52px; }
.legal-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.legal-nav a {
  display: block; padding: 8px 10px; border: 2px solid transparent; border-radius: 999px;
  color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.5; text-decoration: none; white-space: nowrap;
}
.legal-nav a:hover { background: var(--pale-sky); }
.legal-nav a[aria-current] { background: var(--yellow); border-color: var(--ink); }
@media (min-width: 768px) {
  .legal-header { padding: 10px 16px; }
  .legal-header-inner { min-height: 64px; padding: 0 10px 0 22px; gap: 24px; }
  .legal-logo img { width: 60px; }
  .legal-nav { gap: 4px; }
  .legal-nav a { padding: 10px 14px; font-size: 14px; }
}

/* --- 本文の枠（読みやすい行長：本文はおよそ40〜45字で折り返す）---------------------- */
.legal-wrap { max-width: 860px; margin: 0 auto; padding: 28px 16px 72px; }
@media (min-width: 768px) { .legal-wrap { padding: 48px 40px 104px; } }

/* 見出しカード（トップページの章見出しカードと同じ形） */
.legal-heading {
  margin-bottom: 24px; padding: 26px 22px 24px; text-align: center;
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow);
}
.eyebrow { font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .24em; line-height: 1.4; color: var(--ink); }
.eyebrow::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--pink); border: 2px solid var(--ink); vertical-align: 1px; }
.legal-heading h1 { margin: 12px 0 6px; font-size: clamp(25px, 4vw, 38px); font-weight: 900; line-height: 1.45; letter-spacing: .03em; }
.legal-heading > p { margin: 0 0 14px; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.doc-version { display: inline-block; padding: 2px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--pale-yellow); font-size: 12.5px; font-weight: 700; line-height: 1.7; }
.legal-meta { margin: 0 0 14px; color: var(--ink-2); font-size: 13px; font-weight: 700; text-align: center; }
@media (min-width: 768px) { .legal-heading { padding: 36px 48px 34px; margin-bottom: 32px; } }

.legal-content p { margin: 0 0 14px; }
.legal-warning { margin: 24px 0 32px; padding: 16px 20px; background: var(--pale-yellow); border: 2px solid var(--ink); border-radius: var(--r-s); font-size: 14px; }
.legal-warning strong { display: block; margin-bottom: 3px; }
.preview-top { padding: 8px 18px; text-align: center; background: var(--ink); color: var(--white); font-size: 12px; line-height: 1.65; }

/* 白い角丸カード（本文） */
.legal-card, .sheet {
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 6px 20px;
}
@media (min-width: 768px) { .legal-card, .sheet { padding: 14px 48px; } }

/* プライバシーポリシーの各項 */
.policy-section { padding: 22px 0; border-bottom: 2px dashed var(--line); }
.policy-section:last-child { border-bottom: 0; }
.policy-section h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; font-size: 18px; font-weight: 900; line-height: 1.5; letter-spacing: .03em; }
.policy-section h2 .number {
  flex: none; display: inline-grid; place-items: center; min-width: 40px; height: 28px; padding: 0 8px; transform: translateY(-2px);
  border: 2px solid var(--ink); border-radius: 999px; background: var(--yellow);
  font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .06em; line-height: 1; color: var(--ink);
}
.policy-section p { color: var(--ink); }
.policy-section p:last-child { margin-bottom: 0; }
.details { margin-bottom: 12px; }
@media (min-width: 768px) {
  .policy-section { padding: 28px 0; }
  .policy-section h2 { font-size: 20px; gap: 14px; }
}

/* 特定商取引法：受付経路のカード・注記・表 */
.legal-channel {
  margin-bottom: 22px; padding: 20px 20px 8px;
  background: var(--pale-sky); border: 2px solid var(--ink); border-radius: var(--r-s);
}
.legal-channel h2 { margin: 0 0 10px; font-size: 18px; font-weight: 900; line-height: 1.5; }
.legal-channel p { font-size: 14.5px; }
.legal-content .intro { margin: 20px 4px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.legal-content table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.legal-content th, .legal-content td { padding: 18px 12px; vertical-align: top; border-bottom: 2px dashed var(--line); font-size: 14.5px; line-height: 1.9; }
.legal-content tr:last-child > th, .legal-content tr:last-child > td { border-bottom: 0; }
.legal-content th { width: 30%; padding-left: 0; color: var(--ink); font-weight: 800; }
.legal-content td { padding-right: 0; color: var(--ink); }
.legal-content td p { margin: 0 0 12px; }
.legal-content td p:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .legal-channel { padding: 26px 32px 14px; } }

/* 下の注記（小さな白いカード） */
.legal-bottom-note {
  margin-top: 24px; padding: 16px 20px;
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-s);
  color: var(--ink-2); font-size: 13.5px; font-weight: 600;
}

/* --- フッター（トップページと同じ白い角丸のリンク）----------------------------------- */
.legal-footer { padding: 8px 16px 40px; text-align: center; font-size: 13px; }
.legal-footer > div { max-width: 860px; margin: 0 auto; }
.legal-footer a {
  display: inline-flex; align-items: center; min-height: 44px; margin: 4px 2px; padding: 6px 16px;
  background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: background-color .16s ease, transform .16s ease;
}
.legal-footer a:hover { background: var(--yellow); }
.legal-footer a:active { transform: translateY(1px); }
.legal-footer p { margin: 18px 0 0; color: var(--ink-2); font-weight: 600; }
@media (hover: hover) { .legal-footer a:hover { transform: translateY(-2px); } }

/* --- スマホ：表は「見出し → 内容」の縦並び -------------------------------------------- */
@media (max-width: 720px) {
  .legal-nav a { padding: 7px 8px; font-size: 12.5px; }
  .policy-section h2 { font-size: 17px; gap: 10px; }
  .legal-content table, .legal-content tbody, .legal-content tr, .legal-content th, .legal-content td { display: block; width: 100%; }
  .legal-content tr { padding: 16px 0; border-bottom: 2px dashed var(--line); }
  .legal-content tr:last-child { border-bottom: 0; }
  .legal-content th { padding: 0 0 6px; border: 0; font-size: 14px; }
  .legal-content th::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--pink); border: 2px solid var(--ink); vertical-align: 1px; }
  .legal-content td { padding: 0; border: 0; font-size: 14px; }
  .legal-footer a { padding: 6px 14px; }
}
@media (max-width: 360px) {
  .legal-header-inner { padding-left: 10px; gap: 6px; }
  .legal-logo img { width: 44px; }
  .legal-nav a { padding: 7px 6px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .legal-footer a { transition: none; transform: none !important; }
}
