
.legal-main{
  padding:34px 0 60px;
  background:#f4f7fb;
  color:#182033;
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic UI","Yu Gothic",Meiryo,sans-serif;
}
.legal-container{
  width:min(1100px,calc(100% - 30px));
  margin:0 auto;
}
.legal-hero{
  padding:34px;
  border-radius:18px;
  background:linear-gradient(135deg,#103d70,#176bb7);
  color:#fff;
  box-shadow:0 12px 30px rgba(16,61,112,.18);
}
.legal-hero small{
  display:inline-block;
  margin-bottom:8px;
  padding:6px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.15);
  color:#ffe7a3;
  font-weight:900;
}
.legal-hero h1{
  margin:0;
  font-size:36px;
  line-height:1.25;
}
.legal-hero p{
  margin:12px 0 0;
  max-width:820px;
  color:#eaf4ff;
  line-height:1.8;
  font-weight:600;
}
.legal-grid{
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  gap:22px;
  margin-top:22px;
  align-items:start;
}
.legal-nav{
  position:sticky;
  top:100px;
  padding:16px;
  border:1px solid #dce4ef;
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 20px rgba(20,45,80,.06);
}
.legal-nav strong{
  display:block;
  margin-bottom:10px;
  color:#17365d;
}
.legal-nav a{
  display:block;
  padding:10px 11px;
  border-radius:8px;
  color:#334155;
  text-decoration:none;
  font-weight:800;
}
.legal-nav a:hover,.legal-nav a.active{
  background:#edf5ff;
  color:#155eb5;
}
.legal-content{
  display:grid;
  gap:18px;
}
.legal-card{
  padding:24px;
  border:1px solid #dce4ef;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(20,45,80,.06);
}
.legal-card h2{
  margin:0 0 12px;
  color:#0d3e77;
  font-size:24px;
}
.legal-card h3{
  margin:22px 0 8px;
  color:#173f72;
  font-size:18px;
}
.legal-card p,.legal-card li{
  color:#3f4d61;
  line-height:1.85;
  font-weight:600;
}
.legal-card ul,.legal-card ol{
  padding-left:1.3em;
}
.policy-flow{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-top:14px;
}
.policy-flow div{
  padding:14px;
  border-radius:11px;
  background:#f2f7fd;
  text-align:center;
  color:#17365d;
  font-weight:900;
}
.trust-points{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:14px;
}
.trust-points article{
  padding:16px;
  border:1px solid #e0e7f0;
  border-radius:12px;
  background:#fafcff;
}
.trust-points strong{
  display:block;
  color:#155eb5;
  font-size:18px;
}
.trust-points span{
  display:block;
  margin-top:7px;
  color:#566579;
  line-height:1.65;
  font-size:14px;
  font-weight:600;
}
.legal-note{
  padding:14px 16px;
  border-left:5px solid #d39a00;
  background:#fff8e7;
  color:#65532d;
  line-height:1.75;
  font-weight:700;
}
.operator-table{
  width:100%;
  border-collapse:collapse;
}
.operator-table th,.operator-table td{
  padding:12px;
  border:1px solid #dfe6ef;
  text-align:left;
  vertical-align:top;
}
.operator-table th{
  width:190px;
  background:#eef5fc;
  color:#17365d;
}
.contact-box{
  padding:18px;
  border-radius:13px;
  background:#eef7ff;
}
.contact-box a{
  color:#155eb5;
  font-weight:900;
}
.site-footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px 18px;
  margin-bottom:10px;
}
.site-footer-links a{
  color:inherit;
  text-decoration:none;
  font-weight:700;
}
.site-footer-links a:hover{
  text-decoration:underline;
}
@media(max-width:850px){
  .legal-grid{grid-template-columns:1fr}
  .legal-nav{position:static}
  .policy-flow,.trust-points{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .legal-hero{padding:24px}
  .legal-hero h1{font-size:29px}
  .policy-flow,.trust-points{grid-template-columns:1fr}
  .operator-table th,.operator-table td{display:block;width:100%}
}
