/* Clean, modern, accessible styling for privacy policy & legal documents */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Header Banner */
.page-header {
  background-color: #1e6c93;
  background-image: linear-gradient(135deg, #1e6c93 0%, #0f3e56 100%);
  color: #ffffff;
  padding: 56px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  max-width: 860px;
  margin: 0 auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.header-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.header-back-link:hover {
  color: #ffffff;
  transform: translateX(-2px);
}

.page-title {
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 8px;
}

.page-subtitle {
  font-size: 1.05rem;
  color: #cbd5e1;
  font-weight: 300;
}

/* Content Container Card */
.content-wrapper {
  max-width: 860px;
  margin: -24px auto 64px;
  padding: 0 20px;
}

.policy-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  border: 1px solid #e2e8f0;
}

.lang-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.lang-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
}

.lang-tag {
  display: inline-block;
  background-color: #e0f2fe;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lang-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}

/* Notice / Intro Callout Box */
.intro-box {
  background-color: #f1f5f9;
  border-left: 4px solid #1e6c93;
  padding: 18px 20px;
  border-radius: 0 8px 8px 0;
  color: #334155;
  font-size: 1rem;
  line-height: 1.65;
}

/* Content Sections */
.policy-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e6c93;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.policy-section p {
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
}

/* Bullet List */
.policy-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0;
}

.policy-list li {
  position: relative;
  padding-left: 24px;
  color: #334155;
  line-height: 1.65;
}

.policy-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 0;
  color: #1e6c93;
  font-size: 1.25rem;
  line-height: 1.5;
}

/* Highlighted badges/cards for key terms */
.highlight-pill {
  display: inline-block;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95em;
  color: #0f172a;
}

/* Contact Box */
.contact-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-card a {
  color: #0284c7;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.15s ease;
}

.contact-card a:hover {
  color: #0369a1;
  border-bottom-color: #0369a1;
}

/* Divider between English and Japanese */
.lang-divider {
  position: relative;
  text-align: center;
  margin: 56px 0;
}

.lang-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #e2e8f0;
}

.lang-divider-badge {
  position: relative;
  background-color: #ffffff;
  padding: 4px 18px;
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
}

/* Footer */
.page-footer {
  border-top: 1px solid #e2e8f0;
  background-color: #ffffff;
  padding: 36px 24px;
  color: #64748b;
  font-size: 0.875rem;
}

.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #0f172a;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .page-header {
    padding: 40px 20px 48px;
  }
  .page-title {
    font-size: 1.75rem;
  }
  .content-wrapper {
    margin-top: -20px;
    padding: 0 16px;
  }
  .policy-card {
    padding: 28px 20px;
    border-radius: 12px;
  }
  .lang-header h2 {
    font-size: 1.3rem;
  }
  .policy-section h3 {
    font-size: 1.15rem;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
