/* ソロエリストの法務・サポートページ共通スタイル。
   配色はアプリの AppTheme に合わせてある(accent は #E8663C)。 */
:root{
  --accent:#E8663C;
  --bg:#FAF7F2;
  --surface:#FFFFFF;
  --ink:#2B2A28;
  --ink-secondary:#8A867E;
  --tint:#FBEAE2;
  --hairline:#E3DED5;
  --shadow:0 2px 20px rgba(43,42,40,.06);
}
@media (prefers-color-scheme: dark){
  :root{
    --accent:#F0794E;
    --bg:#1C1B19;
    --surface:#2A2826;
    --ink:#EDEAE4;
    --ink-secondary:#9C9890;
    --tint:#3A2A22;
    --hairline:#3D3B37;
    --shadow:0 2px 24px rgba(0,0,0,.35);
  }
}
*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
  line-height:1.85;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.wrap{
  max-width:720px;
  margin:0 auto;
  padding:clamp(24px,5vw,56px) clamp(20px,5vw,40px) 72px;
}
header.hero{
  margin-bottom:36px;
}
.badge{
  display:inline-block;
  font-size:.8rem;
  font-weight:700;
  letter-spacing:.04em;
  color:var(--accent);
  background:var(--tint);
  padding:6px 14px;
  border-radius:999px;
  margin-bottom:18px;
}
h1{
  font-size:clamp(1.7rem,5vw,2.3rem);
  font-weight:800;
  letter-spacing:.01em;
  margin:0 0 8px;
  line-height:1.3;
}
.updated{
  color:var(--ink-secondary);
  font-size:.9rem;
  margin:0;
}
.tagline{
  color:var(--ink-secondary);
  margin:10px 0 0;
}
.card{
  background:var(--surface);
  border:1px solid var(--hairline);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:clamp(22px,4vw,34px) clamp(20px,4vw,36px);
  margin-top:28px;
}
h2{
  font-size:1.2rem;
  font-weight:800;
  margin:0 0 14px;
  display:flex;
  align-items:center;
  gap:10px;
}
h2::before{
  content:"";
  width:8px;height:8px;
  border-radius:50%;
  background:var(--accent);
  flex:0 0 auto;
}
h3{
  font-size:1rem;
  font-weight:700;
  margin:22px 0 8px;
}
h3:first-of-type{margin-top:0;}
p{margin:0 0 12px;}
p:last-child{margin-bottom:0;}
ul{
  margin:0;
  padding-left:0;
  list-style:none;
}
li{
  position:relative;
  padding-left:26px;
  margin-bottom:10px;
}
li:last-child{margin-bottom:0;}
li::before{
  content:"";
  position:absolute;
  left:4px;top:.72em;
  width:9px;height:9px;
  border-radius:50%;
  border:2px solid var(--accent);
}
a{
  color:var(--accent);
  font-weight:600;
  text-decoration:none;
  border-bottom:1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  word-break:break-all;
}
a:hover{border-bottom-color:var(--accent);}
.lead{
  font-size:1.05rem;
  color:var(--ink);
}
.highlight{
  background:var(--tint);
  border-radius:14px;
  padding:16px 18px;
  margin-top:6px;
  font-weight:700;
}
/* 「〜しないでください」のような強めの注意書き */
.caution{
  border-left:4px solid var(--accent);
  background:var(--tint);
  border-radius:0 12px 12px 0;
  padding:14px 18px;
  margin-top:16px;
}
/* 特定商取引法に基づく表記の表。狭い画面でははみ出させずに横スクロールさせる */
.table-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
table{
  width:100%;
  border-collapse:collapse;
  margin-top:4px;
  font-size:.95rem;
}
th,td{
  border:1px solid var(--hairline);
  padding:12px 14px;
  text-align:left;
  vertical-align:top;
}
th{
  background:var(--tint);
  white-space:nowrap;
  width:32%;
  font-weight:700;
}
/* スマホ幅では2列だと値の列が潰れるので、項目名を上に積む */
@media (max-width:520px){
  table,tbody,tr,th,td{display:block;width:100%;}
  tr{
    border:1px solid var(--hairline);
    border-radius:12px;
    overflow:hidden;
    margin-bottom:10px;
  }
  tr:last-child{margin-bottom:0;}
  th,td{border:none;}
  th{white-space:normal;}
  td{padding-top:8px;}
}
/* ページ間の行き来 */
.pagenav{
  margin-top:36px;
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  justify-content:center;
}
.pagenav a{
  font-size:.92rem;
}
footer{
  margin-top:28px;
  text-align:center;
  color:var(--ink-secondary);
  font-size:.85rem;
  line-height:1.7;
}
footer .app{
  font-weight:700;
  color:var(--ink);
}
