/* =============================================================
   3New SRL — page.css  (サブページ共通スタイル)
   ============================================================= */

/* ----- Page hero ----- */
.page-hero {
  background: var(--navy);
  padding: 52px 0 48px;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
}
.breadcrumb a:hover { color: rgba(255,255,255,0.85); }

.page-title {
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  max-width: 760px;
}

.page-lead {
  margin-top: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  line-height: 1.8;
}

/* ----- Page body ----- */
.page-body {
  padding: 64px 0 88px;
}

/* ----- Prose ----- */
.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--navy);
  margin-top: 52px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-pale);
  line-height: 1.4;
}
.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 600;
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 8px;
}

.prose p {
  margin-bottom: 16px;
  line-height: 1.85;
  color: var(--text-body);
}

.prose ul, .prose ol {
  margin-bottom: 16px;
  padding-left: 1.4em;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li {
  margin-bottom: 6px;
  line-height: 1.8;
  color: var(--text-body);
}

.prose strong { font-weight: 600; color: var(--text-dark); }

.prose a:not([class*="btn"]) { color: var(--blue); text-decoration: underline; }
.prose a:not([class*="btn"]):hover { color: var(--navy); }

.prose hr {
  border: none;
  border-top: 1px solid var(--gray-light);
  margin: 40px 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
}
.prose th, .prose td {
  padding: 10px 14px;
  border: 1px solid var(--gray-light);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--gray-pale);
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

/* ----- Step list ----- */
.step-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.step-list li {
  counter-increment: step;
  padding: 14px 16px 14px 56px;
  position: relative;
  background: var(--gray-pale);
  border-radius: var(--radius);
  margin-bottom: 10px;
  line-height: 1.75;
  color: var(--text-body);
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 26px;
  height: 26px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----- FAQ ----- */
.faq-item {
  margin-bottom: 16px;
  padding: 20px 24px;
  background: var(--gray-pale);
  border-radius: var(--radius);
}
.faq-q {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 15px;
}
.faq-a {
  color: var(--text-body);
  line-height: 1.8;
  margin: 0;
  font-size: 14px;
}

/* ----- CTA box ----- */
.page-cta-box {
  margin-top: 52px;
  padding: 32px 36px;
  background: var(--blue-pale);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--blue);
}
.page-cta-box h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  border: none;
  padding: 0;
  margin-top: 0;
}
.page-cta-box p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.75;
}

/* ----- Disclaimer box ----- */
.disclaimer-box {
  margin-top: 40px;
  padding: 16px 20px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
}
.disclaimer-box a { color: var(--blue); text-decoration: underline; }

/* ----- Newsletter section ----- */
.newsletter-section {
  background: var(--blue-pale);
  padding: 56px 0;
}
.newsletter-inner {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-inner h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.newsletter-inner p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.8;
}
.newsletter-placeholder {
  padding: 24px;
  background: var(--white);
  border: 2px dashed var(--gray-mid);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.75;
}
.newsletter-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ----- Service cards on services page ----- */
.services-lead {
  margin-bottom: 48px;
  max-width: 680px;
}
.services-lead p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 12px;
}

/* ----- About table ----- */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
}
.company-table th, .company-table td {
  padding: 12px 16px;
  border: 1px solid var(--gray-light);
  vertical-align: top;
  line-height: 1.75;
}
.company-table th {
  background: var(--gray-pale);
  font-weight: 600;
  color: var(--navy);
  width: 28%;
  white-space: nowrap;
}

/* ----- Contact page ----- */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form-box {
  background: var(--gray-pale);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.contact-form-box h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-pale);
}
.contact-note-box {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 20px;
  line-height: 1.75;
}
.gdpr-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.65;
}
.gdpr-check input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}
.gdpr-check a { color: var(--blue); text-decoration: underline; }
.required-badge {
  font-size: 11px;
  background: var(--navy);
  color: #fff;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}
.optional-badge {
  font-size: 11px;
  background: var(--gray-mid);
  color: var(--text-dark);
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ----- Responsive ----- */
@media (max-width: 720px) {
  .page-hero { padding: 40px 0 36px; }
  .page-body { padding: 48px 0 64px; }
  .page-cta-box { padding: 24px 20px; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 32px; }
  .prose table { font-size: 13px; }
  .prose th, .prose td { padding: 8px 10px; }
  .company-table th { width: auto; white-space: normal; }
}
