/* =================================================
   News Page - Mobile First Design
   ================================================= */

/* Fade-in Animation Classes */
.fade-in-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stagger-item.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   Hero Section (Animated) - Base (Mobile)
   ================================================ */
.hero-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(270deg, var(--color-accent-01), var(--color-warning), var(--color-accent-01));
  background-size: 400% 400%;
  animation: MoveGrad 8s ease infinite;
  overflow: hidden;
  padding: 100px 20px 80px;
}

/* 詳細ページのヒーローセクション（スマホで縦幅を小さく） */
.hero-section--detail {
  min-height: auto;
  padding: var(--spacing-3xl) 20px 40px;
}

@keyframes MoveGrad {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#news-hero-particles,
#news-detail-hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-section__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 184, 28, 0.1) 0%, rgba(255, 152, 0, 0.05) 100%);
  z-index: 2;
}

.hero-section__content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-section__label {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.3em;
  margin-bottom: 20px;
  display: block;
  font-family: var(--font-secondary);
}

.hero-section__title {
  margin-bottom: 25px;
  font-size: var(--font-size-2xl);
  font-weight: 900;
  color: var(--color-white);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-section__title-main {
  display: block;
  font-size: 40px;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 10px;
  line-height: 1.3;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-section__title-sub {
  display: block;
  font-size: var(--font-size-base);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.15em;
  font-family: var(--font-secondary);
}

.hero-section__description {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}


/* News Timeline Item (home.cssと同じスタイル) */
.news-timeline-item {
  position: relative;
  margin-bottom: 20px;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--color-accent-01);
}

.news-timeline-item:hover {
  background: rgba(255, 255, 255, 0.9);
  border-left-width: 6px;
  box-shadow: 0 10px 30px rgba(255, 184, 28, 0.15);
}

.news-timeline-item__date {
  font-size: var(--font-size-xs);
  color: var(--color-gray);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
  font-family: var(--font-secondary);
}

.news-timeline-item__category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-accent-01);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 12px;
}

.news-timeline-item__title {
  font-size: var(--font-size-base);
  font-weight: 900;
  color: var(--color-black);
  margin-bottom: 10px;
  line-height: 1.5;
}

.news-timeline-item__excerpt {
  font-size: var(--font-size-sm);
  color: var(--color-gray-dark);
  line-height: 1.7;
}


/* ================================================
   Article Hero Section (Blog Style with Image)
   ================================================ */
.article-hero {
  position: relative;
  width: 100%;
  min-height: 400px;
  background: var(--color-bg-lighter);
}

.article-hero__image-wrapper {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: var(--color-border);
}

.article-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero__no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-lightest);
  color: var(--color-gray);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  font-family: var(--font-secondary);
}

.article-hero__text-overlay {
  background: var(--color-white);
  padding: var(--spacing-lg) 24px;
}

.article-hero__category {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-accent-01);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.article-hero__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-black-pure);
  line-height: 1.5;
  margin-bottom: 16px;
}

.article-hero__description {
  font-size: var(--font-size-base);
  color: var(--color-black);
  line-height: 1.8;
  margin: 0;
}

/* ================================================
   Article Meta Information
   ================================================ */
.article-meta {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: var(--spacing-md);
}

.article-meta__container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.article-meta__date {
  font-size: var(--font-size-sm);
  color: var(--color-gray);
}

.article-meta__category {
  font-size: var(--font-size-sm);
  color: var(--color-black);
  background: var(--color-bg-lighter);
  padding: 4px 12px;
  border-radius: 3px;
}

/* ================================================
   News Detail Page - Breadcrumb
   ================================================ */
.breadcrumb {
  background: var(--color-bg-light);
  padding: var(--spacing-md);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb__container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--font-size-sm);
}

.breadcrumb__link {
  color: var(--color-gray-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb__link:hover {
  color: var(--color-accent-01);
}

.breadcrumb__separator {
  color: var(--color-gray);
  margin: 0 4px;
}

.breadcrumb__current {
  color: var(--color-black);
  font-weight: 600;
}

/* ================================================
   Article Section
   ================================================ */
.article-section {
  background: var(--color-white);
}

.article-section__container {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-2xl) 20px;
}

/* Article Header */
.article-header {
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--color-bg-lightest);
}

.article-header__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-header__date {
  font-size: var(--font-size-sm);
  color: var(--color-gray);
  font-weight: 600;
  font-family: var(--font-secondary);
}

.article-header__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-white);
  padding: 5px 12px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.article-header__category--press {
  background: var(--color-accent-01);
}

.article-header__category--notice {
  background: var(--color-accent-01);
}

.article-header__title {
  font-size: var(--font-size-2xl);
  font-weight: 900;
  color: var(--color-black-pure);
  line-height: 1.5;
}

/* Article Content */
.article-content {
  font-size: var(--font-size-base);
  line-height: 1.9;
  color: var(--color-black);
}

.article-intro {
  background: var(--color-bg-light);
  padding: var(--spacing-lg) 24px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.article-intro p {
  font-size: var(--font-size-base);
  color: var(--color-black);
  line-height: 1.9;
  margin: 0;
}

.article-section-block {
  margin-bottom: 40px;
}

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

.article-content__lead {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.9;
  color: var(--color-black-pure);
  padding: 25px;
  background: var(--color-bg-light);
  border-left: 4px solid var(--color-accent-01);
  border-radius: 4px;
}

.article-content__heading {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-black-pure);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent-01);
}

.article-content__text {
  margin-bottom: 20px;
  line-height: 1.9;
}

.article-content__text:last-child {
  margin-bottom: 0;
}

.article-content__list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0;
}

.article-content__list li {
  padding-left: 25px;
  margin-bottom: 12px;
  position: relative;
  line-height: 1.8;
}

.article-content__list li:last-child {
  margin-bottom: 0;
}

.article-content__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--color-accent-01);
  border-radius: 50%;
}

.article-content__contact {
  padding: 25px;
  background: var(--color-bg-light);
  border-radius: 8px;
}

/* Article Footer */
.article-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 2px solid var(--color-bg-lightest);
}

.article-footer__back {
  display: inline-flex;
  align-items: center;
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-accent-01);
  text-decoration: none;
  transition: all 0.3s ease;
}

.article-footer__back:hover {
  transform: translateX(-5px);
}

/* ================================================
   Related News Section
   ================================================ */
.related-news {
  background: var(--color-bg-light);
  padding: var(--spacing-2xl) 20px;
}

.related-news__container {
  max-width: 900px;
  margin: 0 auto;
}

.related-news__title {
  font-size: var(--font-size-2xl);
  font-weight: 900;
  color: var(--color-black-pure);
  margin-bottom: 30px;
  text-align: center;
}

.related-news__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.related-news-item {
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.related-news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.related-news-item__link {
  display: block;
  padding: var(--spacing-md);
  text-decoration: none;
  color: inherit;
}

.related-news-item__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.related-news-item__date {
  font-size: var(--font-size-xs);
  color: var(--color-gray);
  font-weight: 600;
  font-family: var(--font-secondary);
}

.related-news-item__category {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent-01);
}

.related-news-item__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-black-pure);
  line-height: 1.6;
}

/* ================================================
   CTA Section - Base (Mobile)
   ================================================ */
.cta-section {
  position: relative;
  padding: var(--spacing-3xl) 20px;
  background: var(--color-bg-lighter) url('../../images/cta-background.jpg') center center / cover no-repeat;
  text-align: center;
  overflow: hidden;
  min-height: 400px;
}

#cta-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.6;
}

.cta-section__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.55) 100%);
  z-index: 2;
}

.cta-section__container {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section__title {
  font-size: var(--font-size-2xl);
  font-weight: 900;
  color: var(--color-bg-dark);
  margin-bottom: 20px;
}

.cta-section__description {
  font-size: var(--font-size-base);
  color: var(--color-black);
  margin-bottom: 40px;
  line-height: 1.8;
}

.cta-section__buttons {
  margin-top: 40px;
}

.cta-section__btn {
  display: inline-block;
  padding: 18px 50px;
  background: var(--color-accent-01);
  color: var(--color-white);
  font-size: var(--font-size-base);
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-section__btn:hover {
  background: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 184, 28, 0.3);
}

/* ================================================
   Tablet (768px+)
   ================================================ */
@media (min-width: 768px) {
  /* Hero Section */
  .hero-section {
    padding: 150px 60px 80px;
  }

  .hero-section__title {
    font-size: var(--font-size-3xl);
  }

  .hero-section__title-main {
    font-size: 56px;
  }

  .hero-section__title-sub {
    font-size: var(--font-size-lg);
  }

  .hero-section__description {
    font-size: var(--font-size-lg);
  }


  /* Breadcrumb */
  .breadcrumb {
    padding: var(--spacing-md) 60px;
  }

  .breadcrumb__container {
    font-size: var(--font-size-sm);
  }

  /* Article Hero Section */
  .article-hero {
    display: flex;
    align-items: stretch;
    min-height: 500px;
  }

  .article-hero__image-wrapper {
    flex: 1;
    height: auto;
    min-height: 500px;
  }

  .article-hero__text-overlay {
    width: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .article-hero__title {
    font-size: var(--font-size-2xl);
  }

  .article-hero__description {
    font-size: var(--font-size-base);
  }

  /* Article Meta */
  .article-meta {
    padding: 24px 60px;
  }

  /* Article Intro */
  .article-intro {
    padding: var(--spacing-xl);
  }

  .article-intro p {
    font-size: var(--font-size-base);
  }

  /* Article Section */
  .article-section__container {
    padding: var(--spacing-3xl) 60px;
  }

  .article-header__title {
    font-size: var(--font-size-3xl);
  }

  .article-content__heading {
    font-size: 26px;
  }

  /* Related News */
  .related-news {
    padding: var(--spacing-3xl) 60px;
  }

  .related-news__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* CTA Section */
  .cta-section {
    padding: 100px 60px;
  }

  .cta-section__title {
    font-size: var(--font-size-3xl);
  }

  .cta-section__description {
    font-size: var(--font-size-lg);
  }
}

/* ================================================
   Desktop (1024px+)
   ================================================ */
@media (min-width: 1024px) {
  /* Hero Section */
  .hero-section__title {
    font-size: 42px;
  }

  .hero-section__title-main {
    font-size: 64px;
  }

  .hero-section__description {
    font-size: 19px;
  }

  /* Article Hero Section */
  .article-hero__text-overlay {
    width: 600px;
    padding: 50px;
  }

  .article-hero__title {
    font-size: var(--font-size-3xl);
  }

  .article-hero__description {
    font-size: 17px;
  }

  /* Article Header */
  .article-header__title {
    font-size: 42px;
  }

  .article-content {
    font-size: 17px;
  }

  .article-content__lead {
    font-size: var(--font-size-lg);
  }

  .article-content__heading {
    font-size: var(--font-size-2xl);
  }

  .cta-section__title {
    font-size: 40px;
  }
}

