/* ============================================
   Support pages — shared styles
   (based on the corporate site design: assets/css/style.css)
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #FFD700;
  --primary-light: #FFE44D;
  --accent-color: #1A1A1A;
  --text-color: #1A1A1A;
  --text-light: #4A4A4A;
  --background-light: #FFFDF7;
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

body {
  font-family: "LINE Seed JP", "Noto Sans JP", sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background-color: #f8f9fa;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Site header (brand bar)
   ============================================ */
.site-header {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 10;
}

.site-header .nav-row {
  display: flex;
  align-items: center;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  height: 32px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-en {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-color);
  line-height: 1.2;
}

.brand-en small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-left: 4px;
}

.brand-jp {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  background: var(--accent-color);
  color: #ffffff;
  padding: 70px 0 110px;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-eyebrow {
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

/* ============================================
   Content card
   ============================================ */
main.container {
  position: relative;
  z-index: 5;
  margin-top: -50px;
  padding-bottom: 20px;
}

.card {
  background: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.section {
  margin-bottom: 40px;
}

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

.section h2 {
  font-size: 1.35rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  position: relative;
}

.section h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--primary-color);
}

.section p {
  color: var(--text-light);
  margin-bottom: 14px;
}

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

.section ul {
  margin: 14px 0;
  padding-left: 22px;
}

.section li {
  color: var(--text-light);
  margin-bottom: 8px;
}

.doc-meta {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ============================================
   Contact
   ============================================ */
.contact-info {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-item {
  flex: 1;
  min-width: 200px;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* ============================================
   FAQ
   ============================================ */
.faq-item {
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #ffffff;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--background-light);
}

.faq-question h3 {
  font-size: 1rem;
  font-weight: 700;
}

.faq-question span {
  color: var(--primary-color);
  font-size: 0.8rem;
}

.faq-answer {
  display: none;
  padding: 16px 18px;
  background: var(--background-light);
  border-top: 1px solid #f0f0f0;
}

.faq-answer p {
  color: var(--text-light);
  margin: 0;
}

/* ============================================
   Policy links (pill buttons)
   ============================================ */
.policy-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.policy-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border: 2px solid var(--accent-color);
  border-radius: 25px;
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.policy-links a:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.15);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--accent-color);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 28px 20px;
  margin-top: 40px;
  font-size: 0.9rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 600px) {
  .hero {
    padding: 50px 0 90px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .card {
    padding: 24px 20px;
  }

  .contact-info {
    flex-direction: column;
    gap: 15px;
  }

  .policy-links {
    flex-direction: column;
  }

  .policy-links a {
    justify-content: center;
  }
}
