/* SCT・セキュリティポリシー・利用規約の共通スタイル */

body:has(.legal-screen) {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #F7F8FA;
  margin: 0;
  padding: 0;
}

body:has(.legal-screen) .container {
  padding: 0;
  margin: 0;
  max-width: none;
}

body:has(.legal-screen) .navbar {
  display: none !important;
}

.legal-screen {
  width: 100%;
  min-height: 100vh;
  background-color: #F7F8FA;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.legal-content {
  flex: 1;
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  padding: 50px 40px;
  box-sizing: border-box;
  background-color: #FFFFFF;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legal-content .page-title {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #FB191D;
}

.legal-intro {
  font-size: 14px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 40px;
}

.legal-section {
  margin-bottom: 35px;
}

.legal-section h2 {
  font-size: 16px;
  font-weight: 600;
  color: #FB191D;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #EAEAEA;
}

.legal-section p {
  font-size: 14px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 15px;
}

.legal-section ul {
  margin: 15px 0;
  padding-left: 30px;
}

.legal-section li {
  font-size: 14px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 10px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
}

.legal-table tr {
  border-bottom: 1px solid #EAEAEA;
}

.legal-table th {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  text-align: left;
  padding: 16px 12px 6px;
  background-color: #F7F8FA;
  display: block;
  width: 100%;
}

.legal-table td {
  font-size: 14px;
  line-height: 1.8;
  color: #333333;
  padding: 6px 12px 16px;
  display: block;
  width: 100%;
}

.effective-date {
  margin-top: 50px;
}

.effective-date p {
  margin: 0;
  font-size: 14px;
  color: #333333;
}

.effective-date strong {
  color: #000000;
}

.legal-footer {
  background-color: #F1F1F1;
  text-align: center;
  padding: 48px 20px;
}

.legal-footer .footer-logo {
  height: 40px;
  width: auto;
  margin: 0 auto 24px;
  display: block;
}

.legal-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.legal-footer .footer-links a {
  font-size: 13px;
  color: #A2A2A2;
  text-decoration: none;
  white-space: nowrap;
}

.legal-footer .footer-links a:hover {
  text-decoration: underline;
}

.legal-footer .footer-copyright {
  font-size: 12px;
  color: #A2A2A2;
}

@media (max-width: 768px) {
  .legal-content {
    width: calc(100% - 40px);
    margin: 20px;
    padding: 30px 20px;
  }

  .legal-content .page-title {
    font-size: 16px;
  }

  .legal-section h2 {
    font-size: 15px;
  }
}
