/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  background-color: #fafafa;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

a {
  color: #1a5c8a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===== Layout ===== */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: #f0f2f5;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #1a3a5c;
  color: #1a3a5c;
}

/* ===== Hero ===== */
.hero {
  background-color: #fff;
  color: #1a3a5c;
  text-align: center;
  padding: 5rem 1.5rem 3.5rem;
  border-top: 4px solid #1a3a5c;
}

.hero-band {
  background: linear-gradient(135deg, #1a3a5c 0%, #2a5a8c 100%);
  color: #fff;
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.hero h1 {
  margin: 0;
  line-height: 1;
}

.hero-logo {
  max-width: 320px;
  height: auto;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hero-period {
  font-size: 1.125rem;
  letter-spacing: 0.15em;
  color: #888;
  margin-bottom: 0;
}

.hero-band-period {
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.hero-message {
  font-size: 1.25rem;
  line-height: 2;
}

/* ===== Notice Section ===== */
#notice p {
  margin-bottom: 1rem;
}

#notice p:last-child {
  margin-bottom: 0;
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background-color: #1a3a5c;
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #1a3a5c;
}

.timeline-item:last-child::before {
  background-color: #8b4513;
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 0.25rem;
}

.timeline-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #222;
}

.timeline-content p {
  font-size: 0.95rem;
  color: #555;
}

/* ===== Thanks Section ===== */
.thanks-message p {
  margin-bottom: 1.25rem;
}

/* ===== Future / SABERA Section ===== */
.future-body p {
  margin-bottom: 1.25rem;
}

.thanks-closing {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #ddd;
  text-align: center;
}

.sabera-overview {
  margin-top: 2rem;
  padding: 2rem;
  background-color: #f0f2f5;
  border-radius: 6px;
}

.sabera-overview h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 0.75rem;
}

.sabera-tagline {
  font-style: italic;
  color: #555;
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-left: 3px solid #1a3a5c;
}

.sabera-overview > p {
  margin-bottom: 1.25rem;
}

.sabera-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.sabera-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.sabera-links {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
}

.sabera-links h4 {
  margin-bottom: 0.5rem;
}

.sabera-links ul {
  list-style: none;
  padding: 0;
}

.sabera-links li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  word-break: break-all;
}

.sabera-links a {
  color: #1a5c8a;
}

.thanks-signature {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a3a5c;
  margin-top: 2rem;
}

.thanks-company {
  font-size: 0.95rem;
  color: #666;
}

/* ===== FAQ Section ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #222;
  transition: background-color 0.2s;
}

.faq-item summary:hover {
  background-color: #f8f9fa;
}

.faq-item summary::before {
  content: "Q.";
  font-weight: 700;
  color: #1a3a5c;
  flex-shrink: 0;
}

.faq-item summary::after {
  content: "";
  margin-left: auto;
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 0.75rem 1.25rem 1rem 3rem;
  color: #444;
}

.faq-answer p {
  margin-bottom: 0.5rem;
}

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

/* ===== Contact Section ===== */
.section-contact {
  text-align: center;
}

.section-contact p {
  margin-bottom: 1rem;
}

.contact-link a {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: #1a3a5c;
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s;
}

.contact-link a:hover {
  background-color: #2a5a8c;
  text-decoration: none;
}

/* ===== Footer ===== */
.footer {
  background-color: #1a3a5c;
  color: #ccd6e0;
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
}

.footer-company {
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #a0b8d0;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copyright {
  opacity: 0.7;
  font-size: 0.8rem;
}

/* ===== Responsive ===== */
@media (min-width: 768px) {
  .hero {
    padding: 6rem 2rem 4rem;
  }

  .hero-logo {
    max-width: 380px;
  }

  .hero-period {
    font-size: 1.25rem;
  }

  .hero-band {
    padding: 3rem 2rem;
  }

  .hero-message {
    font-size: 1.5rem;
  }

  .section {
    padding: 5rem 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .timeline {
    padding-left: 3rem;
  }

  .timeline-item {
    padding-left: 2rem;
  }

  .timeline-item::before {
    left: -2.75rem;
  }
}

/* ===== Print ===== */
@media print {
  .hero {
    border-top: none;
    padding: 2rem 0;
  }

  .hero-band {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .section,
  .section-alt {
    background: none;
    padding: 1.5rem 0;
  }

  .faq-item {
    border: 1px solid #ccc;
  }

  .faq-item[open] summary,
  .faq-item summary {
    background: none;
  }

  .contact-link a {
    background: none;
    color: #000;
    padding: 0;
    border: none;
  }

  .contact-link a::after {
    content: " (" attr(href) ")";
    font-size: 0.85rem;
  }

  .footer {
    background: none;
    color: #333;
  }

  .footer-links a {
    color: #333;
  }

  a {
    color: #000;
  }
}
