@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&display=swap");

:root {
  --pp-accent: #1e40af;
  --pp-accent-light: #3b82f6;
  --pp-warm: #b91c1c;
  --pp-dark: #0f172a;
  --pp-surface: #f8fafc;
  --pp-border: #e2e8f0;
  --pp-text: #1e293b;
  --pp-text-muted: #64748b;
  --font-display-en: 'Bebas Neue', 'Impact', sans-serif;
  --font-body-en: 'DM Sans', 'Inter', sans-serif;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drawLine {
  from {
    width: 0;
  }
  to {
    width: clamp(60px, 8vw, 100px);
  }
}

/* ============================================
   Hero Section
   ============================================ */
.pp-hero {
  position: relative;
  background: linear-gradient(135deg, var(--pp-dark) 0%, #1a2744 100%);
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}

.pp-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pp-hero__bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(30, 64, 175, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(185, 28, 28, 0.08) 0%, transparent 50%);
}

.pp-hero__pattern {
  position: absolute;
  top: 10%;
  right: 8%;
  width: clamp(120px, 20vw, 280px);
  height: clamp(120px, 20vw, 280px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.pp-hero__pattern::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.pp-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.pp-hero__label {
  display: inline-block;
  font-family: var(--font-body-en);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--pp-accent-light);
  margin-bottom: clamp(12px, 2vw, 20px);
  animation: fadeSlideUp 0.8s ease-out 0.1s both;
}

.pp-hero__sub-en {
  font-family: var(--font-display-en);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.25);
  margin: 0 0 clamp(8px, 1.5vw, 16px);
  animation: fadeSlideUp 0.8s ease-out 0.2s both;
}

.pp-hero__title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.08em;
  margin: 0 0 clamp(20px, 3vw, 32px);
  animation: fadeSlideUp 0.8s ease-out 0.3s both;
}

.pp-hero__title::after {
  content: "";
  display: block;
  width: clamp(60px, 8vw, 100px);
  height: 3px;
  margin: clamp(16px, 2vw, 24px) auto 0;
  background: linear-gradient(90deg, var(--pp-accent-light), var(--pp-warm));
  border-radius: 2px;
  animation: drawLine 0.6s ease-out 0.5s both;
}

.pp-hero__lead {
  font-size: clamp(14px, 1.8vw, 17px);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  max-width: 640px;
  margin: 0 auto;
  animation: fadeSlideUp 0.8s ease-out 0.5s both;
}

/* ============================================
   Policy Content
   ============================================ */
.pp-content {
  background: var(--pp-surface);
  padding: clamp(60px, 8vw, 100px) 0;
}

.pp-content__inner {
  max-width: 900px;
  margin: 0 auto;
}

/* ============================================
   Policy Sections
   ============================================ */
.pp-section {
  background: #fff;
  border-radius: 16px;
  padding: clamp(32px, 4vw, 48px);
  margin-bottom: clamp(24px, 3vw, 32px);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.06);
  animation: fadeSlideUp 0.6s ease-out both;
}

.pp-section:nth-child(1) { animation-delay: 0.1s; }
.pp-section:nth-child(2) { animation-delay: 0.15s; }
.pp-section:nth-child(3) { animation-delay: 0.2s; }
.pp-section:nth-child(4) { animation-delay: 0.25s; }
.pp-section:nth-child(5) { animation-delay: 0.3s; }
.pp-section:nth-child(6) { animation-delay: 0.35s; }
.pp-section:nth-child(7) { animation-delay: 0.4s; }
.pp-section:nth-child(8) { animation-delay: 0.45s; }
.pp-section:nth-child(9) { animation-delay: 0.5s; }

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

.pp-section--contact {
  background: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 100%);
  border: 1px solid var(--pp-border);
}

/* Section Header */
.pp-section__head {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2.5vw, 24px);
  margin-bottom: clamp(20px, 3vw, 28px);
  padding-bottom: clamp(16px, 2vw, 24px);
  border-bottom: 1px solid var(--pp-border);
}

.pp-section__number {
  flex-shrink: 0;
  font-family: var(--font-display-en);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--pp-accent);
  letter-spacing: 0.02em;
}

.pp-section__titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}

.pp-section__sub-en {
  font-family: var(--font-body-en);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--pp-accent);
}

.pp-section__title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--pp-text);
  letter-spacing: 0.04em;
  margin: 0;
}

/* Section Body */
.pp-section__body {
  font-size: clamp(14px, 1.6vw, 15px);
  line-height: 2;
  color: var(--pp-text);
}

.pp-section__body p {
  margin: 0 0 1.5em;
}

.pp-section__body p:last-child {
  margin-bottom: 0;
}

/* List Style */
.pp-list {
  list-style: none;
  margin: 1.5em 0;
  padding: 0;
}

.pp-list li {
  position: relative;
  padding-left: 1.75em;
  margin-bottom: 0.75em;
}

.pp-list li:last-child {
  margin-bottom: 0;
}

.pp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--pp-accent) 0%, var(--pp-accent-light) 100%);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* ============================================
   Contact Card
   ============================================ */
.pp-contact-card {
  margin-top: clamp(20px, 3vw, 28px);
  padding: clamp(24px, 3vw, 32px);
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--pp-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pp-contact-card__company {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--pp-text);
  margin: 0 0 clamp(12px, 1.5vw, 16px);
  letter-spacing: 0.02em;
}

.pp-contact-card__address {
  font-style: normal;
  font-size: clamp(14px, 1.5vw, 15px);
  color: var(--pp-text-muted);
  margin-bottom: clamp(16px, 2vw, 20px);
  line-height: 1.6;
}

.pp-contact-card__tel,
.pp-contact-card__fax {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(14px, 1.5vw, 15px);
  color: var(--pp-text);
  margin: 0 0 8px;
}

.pp-contact-card__tel:last-child,
.pp-contact-card__fax:last-child {
  margin-bottom: 0;
}

.pp-contact-card__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 4px 10px;
  background: var(--pp-surface);
  border: 1px solid var(--pp-border);
  border-radius: 4px;
  font-family: var(--font-body-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--pp-text-muted);
  letter-spacing: 0.05em;
}

.pp-contact-card__tel a {
  color: var(--pp-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.pp-contact-card__tel a:hover {
  color: var(--pp-accent-light);
}

/* ============================================
   Footer
   ============================================ */
.pp-footer {
  max-width: 900px;
  margin: clamp(40px, 5vw, 60px) auto 0;
  padding: clamp(32px, 4vw, 48px);
  background: linear-gradient(135deg, var(--pp-dark) 0%, #1a2744 100%);
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pp-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 60% 40% at 10% 20%, rgba(30, 64, 175, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 90% 80%, rgba(185, 28, 28, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.pp-footer__date {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 20px);
  margin: 0 0 clamp(12px, 1.5vw, 16px);
}

.pp-footer__label {
  font-family: var(--font-body-en);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--pp-accent-light);
}

.pp-footer__date time {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.08em;
}

.pp-footer__company {
  position: relative;
  z-index: 1;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.06em;
  margin: 0;
}

/* ============================================
   Responsive
   ============================================ */
@media screen and (max-width: 768px) {
  .pp-hero__pattern {
    top: 5%;
    right: -5%;
  }

  .pp-section {
    padding: clamp(24px, 5vw, 32px);
    border-radius: 12px;
  }

  .pp-section__head {
    flex-direction: column;
    gap: 12px;
  }

  .pp-section__number {
    font-size: 2rem;
  }

  .pp-section__titles {
    padding-top: 0;
  }

  .pp-contact-card {
    padding: 20px;
  }

  .pp-contact-card__tel,
  .pp-contact-card__fax {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .pp-footer {
    border-radius: 12px;
  }

  .pp-footer__date {
    flex-direction: column;
    gap: 8px;
  }

  .u-hide-sp {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .pp-section {
    padding: 20px;
  }

  .pp-section__body {
    font-size: 14px;
    line-height: 1.9;
  }

  .pp-list li {
    padding-left: 1.5em;
  }

  .pp-list li::before {
    width: 6px;
    height: 6px;
    top: 0.65em;
  }
}
