/* 規約のページ（とこっちゃおのホームページと同じ見た目）。style.css の後に読む */
body.tok{
  --tk-cream:#FFF9EC; --tk-paper:#FFFDF7; --tk-navy:#13214A;
  --tk-green:#2EA86A; --tk-lime:#9BE84A; --tk-pink:#FF7DBA; --tk-yellow:#FFE53D; --tk-sky:#45C3F2; --tk-purple:#C59BF0; --tk-coral:#FF6B6B;
  --tk-shadow:#F7B6D2; --tk-line:3px solid var(--tk-navy);
  --ink:#13214A; --ink-2:#2C3A63; --ink-3:#56618A; --line:#13214A; --accent:#13214A; --accent-deep:#13214A;
  --font:"Zen Maru Gothic","Hiragino Maru Gothic ProN","Hiragino Sans",sans-serif;
  color-scheme:light;
  margin:0; padding:0; color:var(--tk-navy); font-family:var(--font); font-weight:500;
  background-color:var(--tk-cream);
  background-image:linear-gradient(rgba(19,33,74,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(19,33,74,.06) 1px,transparent 1px);
  background-size:40px 40px;
  word-break:auto-phrase;
}
body.tok a{color:var(--tk-navy)}

/* 上の帯 */
.tk-head{position:sticky; top:12px; z-index:10; padding:0 16px; margin-top:14px}
.tk-bar{max-width:860px; margin:0 auto; display:flex; align-items:center; gap:14px; background:var(--tk-paper); border:var(--tk-line); border-radius:999px; padding:8px 10px 8px 20px; box-shadow:4px 4px 0 var(--tk-navy)}
.tk-bar img{display:block; height:34px; width:auto}
.tk-products{margin-left:auto; display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end}
.tk-products span{font-size:12px; font-weight:700; border:2px solid var(--tk-navy); border-radius:999px; padding:1px 10px; white-space:nowrap}
.tk-products span:nth-child(1){background:#FFF4B8}
.tk-products span:nth-child(2){background:#FFE0EE}
.tk-products span:nth-child(3){background:#EEE3FC}

/* 飾り（80年代の柄） */
.tk-deco{position:fixed; inset:0; pointer-events:none; z-index:0; overflow:hidden}
.tk-deco svg{position:absolute}

/* 本文の紙 */
body.tok .box{position:relative; z-index:1; max-width:860px; margin:40px auto 0; background:var(--tk-paper); border:var(--tk-line); border-radius:40px 40px 40px 0; box-shadow:8px 8px 0 var(--tk-shadow); padding:48px clamp(20px,5vw,56px) 40px}
body.tok .legal h1{display:table; font-family:var(--font); font-size:clamp(26px,4vw,36px); font-weight:900; line-height:1.4; margin:0 0 22px; background:linear-gradient(transparent 62%,var(--tk-yellow) 62%)}
body.tok .legal h2{display:flex; align-items:center; gap:10px; font-size:18px; font-weight:900; margin:38px 0 12px; padding:0; border:0}
body.tok .legal h2::before{content:""; flex:none; width:18px; height:18px; border:2.5px solid var(--tk-navy); background:var(--tk-pink); border-radius:50% 50% 50% 0}
body.tok .legal h2:nth-of-type(6n+2)::before{background:var(--tk-sky); border-radius:50%}
body.tok .legal h2:nth-of-type(6n+3)::before{background:var(--tk-yellow); border-radius:4px}
body.tok .legal h2:nth-of-type(6n+4)::before{background:var(--tk-lime); border-radius:0 50% 0 50%}
body.tok .legal h2:nth-of-type(6n+5)::before{background:var(--tk-purple); border-radius:50% 50% 0 50%}
body.tok .legal h2:nth-of-type(6n+6)::before{background:var(--tk-coral)}
body.tok .legal p, body.tok .legal li{font-size:15px; color:var(--ink-2); line-height:1.95}
body.tok .legal ul, body.tok .legal ol{padding-left:1.4em}
body.tok .legal li::marker{color:var(--tk-green); font-weight:900}
body.tok .legal .sub{margin-top:34px; padding-top:18px; border-top:2.5px dashed var(--tk-navy); font-size:13px; color:var(--ink-3)}

/* 特商法の表 */
body.tok .tbl{border:var(--tk-line); border-radius:22px; overflow:hidden; box-shadow:4px 4px 0 var(--tk-navy)}
body.tok table{font-size:14px; min-width:0}
body.tok th, body.tok td{border-bottom:2px dashed rgba(19,33,74,.25); padding:14px 16px; line-height:1.8}
body.tok tr:last-child th, body.tok tr:last-child td{border-bottom:0}
body.tok th{background:#FFF4B8; color:var(--tk-navy); font-size:13.5px; font-weight:900; width:32%}
body.tok td{color:var(--ink-2)}

/* 下の帯 */
.tk-foot{position:relative; z-index:1; margin-top:80px; background:var(--tk-navy); color:#fff; border-radius:44px 44px 0 0; padding:56px 16px 40px}
.tk-foot-in{max-width:860px; margin:0 auto; display:flex; flex-wrap:wrap; gap:22px 32px; align-items:center; justify-content:space-between}
.tk-foot img{height:40px; width:auto; background:var(--tk-paper); padding:6px 14px; border-radius:999px}
.tk-links{display:flex; flex-wrap:wrap; gap:6px 22px; font-size:14px; font-weight:700}
body.tok .tk-links a{color:#fff; text-decoration:none; opacity:.85}
body.tok .tk-links a:hover, body.tok .tk-links a[aria-current]{opacity:1; text-decoration:underline; text-underline-offset:4px}
.tk-mail{display:inline-flex; align-items:center; gap:12px; background:var(--tk-paper); color:var(--tk-navy) !important; text-decoration:none; font-weight:700; border:3px solid #fff; border-radius:999px; padding:8px 8px 8px 20px; box-shadow:4px 4px 0 var(--tk-pink); transition:transform .2s}
.tk-mail i{font-style:normal; width:28px; height:28px; border-radius:50%; background:var(--tk-lime); border:2px solid var(--tk-navy); display:grid; place-items:center; font-weight:900}
.tk-mail:hover{transform:translate(-2px,-2px)}
.tk-copy{width:100%; text-align:center; font-family:"Poppins",sans-serif; font-size:12px; opacity:.7; margin-top:10px}

@media (max-width:640px){
  .tk-head{top:8px; padding:0 12px}
  .tk-bar{padding:6px 8px 6px 14px; gap:8px}
  .tk-bar img{height:26px}
  .tk-products span{font-size:10.5px; padding:0 7px}
  body.tok .box{margin:24px 12px 0; border-radius:28px 28px 28px 0; box-shadow:6px 6px 0 var(--tk-shadow); padding:34px 18px 28px}
  body.tok .legal p, body.tok .legal li{font-size:14.5px}
  body.tok th, body.tok td{display:block; width:100%; padding:10px 14px}
  body.tok th{border-bottom:0}
  .tk-deco .tk-hide-sp{display:none}
  .tk-foot{border-radius:32px 32px 0 0; padding:44px 16px 32px}
}
@media (prefers-reduced-motion:reduce){ .tk-mail{transition:none} }
