* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  background: #e6e5ef;
  color: #3e3a3a;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 1.6rem;
  line-height: 1.9;
}

a {
  color: inherit;
}

.inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* header */

.site-header {
  background: #ffffff;
  padding: 22px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
  font-size: 2.2rem;
  font-weight: bold;
  text-decoration: none;
  color: #3e3a3a;
}

/* privacy */

.policy-page {
  padding: 60px 0 80px;
}

.policy-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.policy-title {
  font-size: 3.2rem;
  margin-top: 0;
  margin-bottom: 40px;
  text-align: center;
  color: #3e3a3a;
}

.policy-section {
  margin-top: 45px;
}

.policy-section h2 {
  font-size: 2.2rem;
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 6px solid #3e3a3a;
}

.policy-section p {
  line-height: 2;
}

.policy-section ul {
  margin-top: 18px;
  padding-left: 20px;
}

.policy-section li {
  margin-bottom: 10px;
  line-height: 1.9;
}

.policy-contact {
  background: #f7f7fb;
  padding: 25px;
  border-radius: 10px;
  margin-top: 20px;
}

.policy-contact a {
  color: #3e3a3a;
  text-decoration: underline;
}

/* footer */

.site-footer {
  background: #3e3a3a;
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-nav a {
  color: #ffffff;
  text-decoration: none;
}

.footer-nav a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.footer-nav span {
  opacity: 0.5;
}

.copyright {
  font-size: 1.3rem;
  opacity: 0.8;
  margin: 0;
}

/* responsive */

@media (max-width: 768px) {

  .policy-box {
    padding: 30px 20px;
  }

  .policy-title {
    font-size: 2.5rem;
  }

  .policy-section h2 {
    font-size: 1.9rem;
  }

  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }

  .footer-nav span {
    display: none;
  }

}


/* law */

.law-page {
  padding: 60px 0 80px;
}

.law-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.law-title {
  font-size: 3.2rem;
  margin-top: 0;
  margin-bottom: 40px;
  text-align: center;
  color: #3e3a3a;
}

.law-table {
  margin-top: 35px;
  border: 1px solid #ced7dc;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.law-row {
  display: flex;
  border-bottom: 1px solid #ced7dc;
}

.law-row:last-child {
  border-bottom: none;
}

.law-head {
  width: 260px;
  background: #f7f7fb;
  padding: 20px;
  font-weight: bold;
  color: #3e3a3a;
  border-right: 1px solid #ced7dc;
  line-height: 1.8;
}

.law-body {
  flex: 1;
  padding: 20px;
  line-height: 1.9;
}

.law-body a {
  color: #3e3a3a;
  text-decoration: underline;
}

@media (max-width: 768px) {

  .law-box {
    padding: 30px 20px;
  }

  .law-title {
    font-size: 2.5rem;
  }

  .law-row {
    flex-direction: column;
  }

  .law-head {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ced7dc;
  }

}