@charset "UTF-8";

/* ==================================================
   トップページ専用スタイル (style.css)
================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp-only {
  display: none;
}

/* 見出しスタイル */
.section-heading {
  margin-bottom: 40px;
}

.section-heading.text-center {
  text-align: center;
}

.section-en {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  letter-spacing: 0.2em;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-dark);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-gray);
  margin-top: 16px;
  line-height: 1.8;
}

/* 汎用ボタン */
.btn-wrap {
  margin-top: 32px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background-color: var(--primary-color);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 30px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(107, 200, 197, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(107, 200, 197, 0.45);
}

.btn-secondary {
  display: inline-block;
  padding: 14px 36px;
  background-color: #a0a0a0;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 30px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(160, 160, 160, 0.3);
  border: none;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: #888888;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(160, 160, 160, 0.45);
}

/* ==================================================
   1. メインビジュアル (Hero Section)
================================================== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: heroZoom 14s infinite alternate ease-in-out;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
  max-width: 900px;
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  color: #eef8f8;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #ffffff;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-down::after {
  content: "";
  width: 1px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.75);
  animation: scrollDown 2s infinite ease-in-out;
}

@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==================================================
   2. JWSAについて (About JWSA)
================================================== */
.top-about-section {
  padding: 110px 0;
  background-color: #ffffff;
}

.top-about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.top-about-body p {
  font-size: 1.05rem;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.9;
}

/* ==================================================
   3. 教育プログラム (Education Program)
================================================== */
.top-program-section {
  padding: 110px 0;
  background-color: var(--bg-light);
}

.program-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 50px;
}

.program-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.program-card-img {
  height: 260px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.program-card:hover .program-card-img {
  transform: scale(1.03);
}

.program-card-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-card-badge {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 8px;
}

.program-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.program-card-lead {
  font-size: 0.95rem;
  font-weight: bold;
  color: #4daea9;
  margin-bottom: 14px;
  line-height: 1.6;
}

.program-card-text {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

.program-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.95rem;
}

.program-card-link span {
  transition: var(--transition-smooth);
}

.program-card:hover .program-card-link span {
  transform: translateX(6px);
}

/* ==================================================
   4. 会員・認定校ネットワーク (Members)
================================================== */
.top-members-section {
  padding: 100px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
}

.top-members-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.top-members-body p {
  font-size: 1.05rem;
  color: var(--text-gray);
  line-height: 1.9;
}

/* ==================================================
   5. お知らせ (News)
================================================== */
.top-news-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.news-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.news-header {
  text-align: center;
  margin-bottom: 40px;
}

.news-list {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 10px 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.news-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.news-title {
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* ==================================================
   レスポンシブ (スマホ表示)
================================================== */
@media screen and (max-width: 768px) {
  .sp-only {
    display: inline;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.5;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .top-about-section,
  .top-program-section,
  .top-members-section,
  .top-news-section {
    padding: 70px 0;
  }

  .top-about-inner,
  .top-members-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .program-card-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .news-list {
    padding: 8px 20px;
  }

  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 0;
  }
}