/* ===== Shared styles for HippoCheck sub-pages (legal / company) ===== */
:root {
  --bg: #fafaf7;
  --surface: #f1f1ec;
  --text: #0a0a0a;
  --text-2: #3a3a3a;
  --text-muted: #8a8a8a;
  --divider: #e2e2dc;
  --accent: #1e6dff;
  --accent-deep: #1557d6;
  --accent-soft: rgba(30,109,255,0.10);
  --lime: #a3e635;
  --lime-deep: #65a30d;
  --navy: #0c1c3d;
  --radius: 18px;
  --font: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'Inter', 'Noto Sans JP', sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: 'palt' 1; scroll-behavior: smooth; }
body { font-family: var(--font); font-weight: 500; line-height: 1.9; color: var(--text); background: var(--bg); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.l-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250,250,247,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
}
.l-header-inner {
  width: min(880px, 100% - 40px); margin-inline: auto; height: 66px;
  display: flex; align-items: center; justify-content: space-between;
}
.l-header-inner img { height: 38px; width: auto; }
.l-back {
  font-size: 13px; font-weight: 800; color: var(--text-2);
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border: 1.5px solid var(--divider); border-radius: 999px; background: #fff;
}
.l-back:hover { border-color: var(--text); text-decoration: none; color: var(--text); }

.l-wrap { width: min(880px, 100% - 40px); margin: 0 auto; padding: clamp(36px, 7vw, 72px) 0 90px; }

.l-eyebrow { font-family: var(--font-en); font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.l-title { font-size: clamp(26px, 5vw, 38px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.35; margin-top: 10px; }
.l-updated { font-size: 12.5px; color: var(--text-muted); margin-top: 14px; font-family: var(--font-en); }

.l-draft {
  margin-top: 26px; display: flex; gap: 14px; align-items: flex-start;
  background: #fff7ed; border: 1.5px solid #fed7aa; border-radius: var(--radius);
  padding: 16px 20px; font-size: 13px; line-height: 1.8; color: #9a3412;
}
.l-draft .ic { flex-shrink: 0; font-size: 18px; line-height: 1.5; }
.l-draft b { font-weight: 800; }

.l-lead { font-size: 15px; color: var(--text-2); margin-top: 28px; }

.l-sec { margin-top: 40px; }
.l-sec h2 {
  font-size: 19px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.5;
  padding-bottom: 12px; border-bottom: 2px solid var(--text); margin-bottom: 18px;
  display: flex; align-items: baseline; gap: 12px;
}
.l-sec h2 .n { font-family: var(--font-en); font-size: 15px; font-weight: 900; color: var(--accent); }
.l-sec h3 { font-size: 15.5px; font-weight: 800; margin-top: 22px; }
.l-sec p { font-size: 14.5px; color: var(--text-2); margin-top: 12px; }
.l-sec ul, .l-sec ol { margin: 14px 0 0; padding-left: 0; }
.l-sec li { font-size: 14.5px; color: var(--text-2); line-height: 1.85; padding-left: 26px; position: relative; margin-bottom: 8px; }
.l-sec ul > li::before { content: ''; position: absolute; left: 6px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--lime-deep); }
.l-sec ol { counter-reset: li; }
.l-sec ol > li { counter-increment: li; }
.l-sec ol > li::before { content: counter(li); position: absolute; left: 0; top: 0; font-family: var(--font-en); font-weight: 800; font-size: 12.5px; color: var(--accent); }
.l-sec strong { font-weight: 800; color: var(--text); }

/* Definition table (company overview / 特商法) */
.l-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.l-table th, .l-table td { text-align: left; vertical-align: top; padding: 16px 8px; border-bottom: 1px solid var(--divider); font-size: 14px; }
.l-table th { width: 34%; font-weight: 800; color: var(--text); }
.l-table td { color: var(--text-2); font-weight: 500; }
.l-table .ph { color: var(--text-muted); font-style: normal; background: var(--surface); padding: 2px 8px; border-radius: 6px; font-size: 12.5px; }

.l-contact-box {
  margin-top: 22px; background: #fff; border: 1px solid var(--divider); border-radius: var(--radius);
  padding: 22px 24px; font-size: 14px; color: var(--text-2);
}
.l-contact-box .ttl { font-weight: 800; color: var(--text); font-size: 14.5px; margin-bottom: 6px; }

.l-footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 30px 0; }
.l-footer-inner { width: min(880px, 100% - 40px); margin-inline: auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; }
.l-footer a { color: rgba(255,255,255,0.78); font-weight: 700; }
.l-footer .en { font-family: var(--font-en); letter-spacing: 0.06em; }
.l-footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 560px) {
  .l-table th, .l-table td { display: block; width: 100%; padding: 6px 0; border: none; }
  .l-table th { padding-top: 16px; }
  .l-table tr { display: block; border-bottom: 1px solid var(--divider); padding-bottom: 12px; }
}
