

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.policy-page {
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px 60px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               Helvetica, Arial, sans-serif;
}

.policy-modal {
  position: relative;
  background: #ffffff;
  color: #1a1a1a;
  width: 100%;
  max-width: 720px;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.policy-close {
  position: sticky;
  top: 0;
  float: right;
  margin: 16px 16px 0 0;
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1rem;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 10;
}

.policy-close:hover {
  background: #f0f0f0;
  color: #1a1a1a;
}

.policy-header {
  padding: 32px 40px 24px;
  border-bottom: 1px solid #e5e5e5;
  clear: both;
}

.policy-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.policy-org {
  font-size: 0.82rem;
  color: #666;
  margin-bottom: 8px;
}

.policy-meta {
  font-size: 0.75rem;
  color: #999;
}

.policy-notice {
  margin: 0;
  padding: 14px 40px;
  background: #f5f5f5;
  border-bottom: 1px solid #e5e5e5;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.6;
}

.policy-notice strong {
  color: #1a1a1a;
}

.policy-body {
  padding: 0 40px 40px;
}

.policy-section {
  padding: 28px 0;
  border-bottom: 1px solid #ebebeb;
}

.policy-section.last {
  border-bottom: none;
  padding-bottom: 0;
}

.policy-section h2 {
  font-size: 0.7rem;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.policy-section p {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 10px;
}

.policy-section p:last-child { margin-bottom: 0; }

.policy-section strong {
  color: #1a1a1a;
  font-weight: 600;
}

.policy-section a {
  color: #1a1a1a;
  text-decoration: underline;
}

.policy-section a:hover { color: #555; }

.policy-address {
  font-size: 0.88rem;
  color: #444;
  background: #f9f9f9;
  border-left: 2px solid #ccc;
  padding: 10px 14px;
  margin: 10px 0;
  line-height: 1.7;
  border-radius: 0 4px 4px 0;
}

.policy-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.policy-list li {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.policy-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #999;
  font-size: 0.85rem;
}

.policy-list.check li::before {
  content: '✓';
  color: #1a1a1a;
  font-weight: 700;
}

.policy-list li a {
  color: #1a1a1a;
  text-decoration: underline;
}

.policy-contacts {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 12px 0;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
}

.policy-contact-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 16px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 0.88rem;
}

.policy-contact-item:last-child {
  border-bottom: none;
}

.policy-contact-item span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 52px;
  flex-shrink: 0;
}

.policy-contact-item a,
.policy-contact-item p {
  font-size: 0.88rem;
  color: #333;
  line-height: 1.5;
  margin: 0;
}

.policy-contact-item a {
  text-decoration: underline;
  color: #1a1a1a;
}

.policy-npc {
  font-size: 0.8rem;
  color: #888;
  margin-top: 14px;
  line-height: 1.6;
}

.policy-npc a {
  color: #555;
  text-decoration: underline;
}

@media (max-width: 600px) {
  body.policy-page {
    padding: 0;
    align-items: flex-start;
    background: #fff;
  }

  .policy-modal {
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
  }

  .policy-header,
  .policy-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .policy-notice {
    padding-left: 20px;
    padding-right: 20px;
  }

  .policy-header h1 {
    font-size: 1.2rem;
  }

  .policy-contact-item {
    flex-direction: column;
    gap: 4px;
  }
}