/* TOPIK I完全問題集 LP — サブページ (利用規約 / プライバシーポリシー / サポート) 共通スタイル */
:root {
  --primary: #C81E52;
  --primary-dark: #8A1F3D;
  --primary-soft: #FBE4EC;
  --bg: #FFF5F7;
  --surface: #FDECEF;
  --text-main: #1F2933;
  --text-sub: #64748B;
  --border: #F3CBD4;
  --white: #FFFFFF;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background: var(--bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 820px; margin: 0 auto; padding: 0 20px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 245, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  max-width: 1080px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; color: var(--primary-dark); }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.header-back {
  font-size: 13px; font-weight: 700; color: var(--text-sub);
}

main { padding: 56px 0 88px; }
.page-title { font-size: clamp(26px, 4vw, 36px); font-weight: 900; line-height: 1.4; }
.page-meta { margin-top: 10px; font-size: 13px; color: var(--text-sub); font-weight: 600; }
.page-lead { margin-top: 18px; font-size: 14.5px; color: var(--text-sub); }

article { margin-top: 36px; }
article h2 {
  font-size: 18px; font-weight: 900; color: var(--primary-dark);
  margin-top: 40px; padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
article h3 { font-size: 15px; font-weight: 800; margin-top: 22px; }
article p { margin-top: 12px; font-size: 14.5px; }
article ol, article ul { margin-top: 12px; padding-left: 24px; font-size: 14.5px; display: grid; gap: 6px; }
article .note { font-size: 13px; color: var(--text-sub); margin-top: 8px; }

.info-card {
  margin-top: 16px;
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 22px; font-size: 14.5px;
}
.info-card dl { display: grid; grid-template-columns: 9em 1fr; gap: 8px 12px; }
.info-card dt { font-weight: 800; color: var(--text-sub); }
.info-card dd { font-weight: 600; }
@media (max-width: 560px) { .info-card dl { grid-template-columns: 1fr; gap: 2px; } .info-card dd { margin-bottom: 10px; } }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 4px; font-weight: 800; font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--primary); font-size: 22px; font-weight: 700; flex: none;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 4px 20px; color: var(--text-sub); font-size: 14px; }

.site-footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 36px 0; font-size: 12.5px; color: var(--text-sub);
}
.site-footer .container {
  max-width: 1080px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center;
}
.footer-links { display: flex; gap: 20px; font-weight: 600; }
.footer-links a { color: inherit; }
.footer-links a:hover { color: var(--primary); text-decoration: none; }
