/* =============================================
   生成AI活用オンラインサロン LP (v2)
   横浜中小企業診断士会
   - 無料サロン + 生成AI Premiumオンラインサロン
============================================= */

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

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "メイリオ", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  background-color: #fff;
  width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: #233A73;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #1c45ab;
}

ul {
  list-style: none;
}

/* ----- Utility ----- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  color: #233A73;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #233A73;
  margin: 15px auto 0;
}

.title-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 12px;
  padding: 3px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
}

.title-badge.free {
  background-color: #2e7d32;
  color: #fff;
}

.bg-gray {
  background-color: #f5f5f5;
}

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

.text-primary {
  color: #233A73;
}

.highlight {
  color: #c9302c;
  font-weight: bold;
}

.sp-only {
  display: none;
}

/* ----- Header ----- */
.header {
  background-color: transparent;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background-color: #233A73;
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  color: #fff;
  font-size: 0.9rem;
}

.header-logo a {
  color: #fff;
}

.header-cta .btn-header {
  background-color: #fff;
  color: #233A73;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.header-cta .btn-header:hover {
  background-color: #e8e8e8;
  color: #233A73;
}

/* ----- Hero Section ----- */
.hero {
  background: linear-gradient(135deg, #233A73 0%, #3d5a9e 100%);
  color: #fff;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Cdefs%3E%3Cpattern id='grid' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 60 0 L 0 0 0 60' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)'/%3E%3C/svg%3E");
  background-size: 100px 100px;
  opacity: 0.5;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -50%;
  right: 0;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(61, 90, 158, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-skyline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("../image/hero-bg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

/* テキスト可読性確保：ヒーロー画像の上から濃紺の縦グラデーションを薄く重ね、中央の文字が映えるようにする */
.hero-skyline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(35, 58, 115, 0.25) 0%,
    rgba(35, 58, 115, 0.55) 45%,
    rgba(35, 58, 115, 0.35) 100%
  );
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-skyline {
    opacity: 0.5;
    background-position: 70% center;
  }
}

.hero-label {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.4;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-info-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 15px 25px;
  border-radius: 8px;
}

.hero-info-item .label {
  font-size: 0.8rem;
  opacity: 0.8;
  display: block;
  margin-bottom: 5px;
}

.hero-info-item .value {
  font-size: 1.3rem;
  font-weight: bold;
}

.hero-info-item .value.large {
  font-size: 1.8rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background-color: #c9302c;
  color: #fff;
  padding: 18px 50px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(201, 48, 44, 0.4);
}

.btn-primary:hover {
  background-color: #ac2925;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 48, 44, 0.5);
}

/* ヒーローからPremiumセクションへの導線ボタン */
.btn-premium-link {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.12);
  border: 2px solid #e3b94c;
  color: #fff;
  padding: 12px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.btn-premium-link:hover {
  background-color: rgba(227, 185, 76, 0.25);
  color: #fff;
  transform: translateY(-2px);
}

.btn-premium-sub {
  display: block;
  font-size: 0.8rem;
  font-weight: normal;
  opacity: 0.9;
}

/* ----- About Section ----- */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-lead {
  font-size: 1.3rem;
  font-weight: bold;
  color: #233A73;
  margin-bottom: 25px;
}

.about-text {
  margin-bottom: 20px;
  text-align: left;
}

/* ----- Features Section ----- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: #233A73;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  fill: #fff;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #233A73;
  margin-bottom: 15px;
}

.feature-text {
  font-size: 0.95rem;
  color: #666;
}

/* ----- Target Section ----- */
.target-list {
  max-width: 700px;
  margin: 0 auto;
}

.target-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.target-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background-color: #233A73;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.target-text {
  font-size: 1.05rem;
}

/* ----- Schedule Section ----- */
.schedule-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.schedule-table th,
.schedule-table td {
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.schedule-table th {
  text-align: center;
}

.schedule-table td {
  text-align: left;
}

.schedule-table th {
  background-color: #233A73;
  color: #fff;
  font-weight: bold;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table tr:hover td {
  background-color: #f9f9f9;
}

.schedule-date {
  font-weight: bold;
  color: #233A73;
  white-space: nowrap;
}

.schedule-subtitle {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #233A73;
  margin-bottom: 20px;
}

.schedule-subtitle.past {
  margin-top: 50px;
  color: #888;
}

.schedule-table-past {
  opacity: 0.75;
}

.schedule-table-past th {
  background-color: #6b7a8a;
}

.schedule-note {
  margin-top: 16px;
  padding: 12px 18px;
  background-color: #fff;
  border-left: 4px solid #233A73;
  border-radius: 4px;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: left;
}

.schedule-note strong {
  color: #233A73;
}

/* ----- Premium Section ----- */
.premium {
  background: linear-gradient(160deg, #16224a 0%, #233A73 55%, #2c4a8e 100%);
  color: #fff;
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.premium::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(227, 185, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.premium > .container {
  position: relative;
  z-index: 1;
}

.premium-label {
  display: inline-block;
  background-color: #e3b94c;
  color: #16224a;
  padding: 5px 22px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.premium-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.4;
}

.premium-lead {
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 50px;
  line-height: 2;
}

/* 次回開催のフィーチャーカード */
.premium-featured {
  background-color: #fff;
  color: #333;
  border-radius: 14px;
  padding: 50px 40px;
  max-width: 900px;
  margin: 0 auto 70px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border-top: 6px solid #e3b94c;
}

.premium-next {
  display: inline-block;
  background-color: #c9302c;
  color: #fff;
  padding: 4px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.premium-course-title {
  font-size: 1.7rem;
  font-weight: bold;
  color: #16224a;
  line-height: 1.5;
  margin-bottom: 8px;
}

.premium-course-sub {
  font-size: 1.05rem;
  color: #233A73;
  font-weight: bold;
  margin-bottom: 28px;
}

.premium-featured-info {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.premium-info-item {
  background-color: #f2f5fb;
  border: 1px solid #dbe3f1;
  padding: 12px 22px;
  border-radius: 8px;
  min-width: 140px;
}

.premium-info-item .label {
  display: block;
  font-size: 0.78rem;
  color: #667;
  margin-bottom: 4px;
}

.premium-info-item .value {
  font-size: 1.15rem;
  font-weight: bold;
  color: #16224a;
}

.premium-info-item .value small {
  font-size: 0.8rem;
  font-weight: normal;
}

.premium-course-text {
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
  color: #444;
}

.premium-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
  text-align: left;
}

.premium-point {
  background-color: #f7f9fd;
  border-radius: 10px;
  padding: 24px 20px;
}

.premium-point-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #233A73;
  color: #fff;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.premium-point h4 {
  font-size: 1.05rem;
  color: #16224a;
  margin-bottom: 8px;
}

.premium-point p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

/* 講師紹介（フィーチャーカード内） */
.premium-lecturer {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 620px;
  margin: 0 auto 36px;
  background-color: #f2f5fb;
  border-radius: 12px;
  padding: 20px 28px;
  text-align: left;
}

.premium-lecturer-image {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid #233A73;
  flex-shrink: 0;
}

.premium-lecturer-role {
  display: inline-block;
  background-color: #233A73;
  color: #fff;
  padding: 2px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-bottom: 6px;
}

.premium-lecturer-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #16224a;
  margin-bottom: 4px;
}

.premium-lecturer-name span {
  font-size: 0.85rem;
  font-weight: normal;
}

.premium-lecturer-bio {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.7;
}

/* Premium申し込みボタン */
.btn-premium {
  display: inline-block;
  background: linear-gradient(135deg, #d9a832 0%, #e3b94c 50%, #d9a832 100%);
  color: #16224a;
  padding: 18px 50px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(217, 168, 50, 0.45);
}

.btn-premium:hover {
  background: linear-gradient(135deg, #c79a2b 0%, #d9a832 50%, #c79a2b 100%);
  color: #16224a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 168, 50, 0.55);
}

/* 今後のラインナップ */
.premium-lineup-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 12px;
}

.premium-lineup-lead {
  opacity: 0.9;
  margin-bottom: 34px;
  font-size: 0.98rem;
}

.premium-lineup {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
  text-align: left;
}

.premium-lineup-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 28px 24px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.premium-lineup-card:hover {
  background-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.premium-lineup-date {
  font-size: 1.6rem;
  font-weight: bold;
  color: #e3b94c;
  margin-bottom: 10px;
  line-height: 1.3;
}

.premium-lineup-date span {
  font-size: 0.85rem;
  color: #fff;
  opacity: 0.85;
  font-weight: normal;
  margin-left: 6px;
}

.premium-lineup-name {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.5;
}

.premium-lineup-text {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.7;
}

.premium-lineup-note {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.8;
}

/* ----- Speakers Section ----- */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.speaker-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.speaker-image-wrapper {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #233A73;
  box-shadow: 0 4px 15px rgba(35, 58, 115, 0.2);
}

.speaker-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.speaker-info {
  padding: 0;
}

.speaker-role {
  display: inline-block;
  background-color: #233A73;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.speaker-name {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.speaker-name-kana {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 15px;
}

.speaker-bio {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
  text-align: left;
}

/* ----- Overview Section ----- */
.overview-box {
  max-width: 700px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.overview-item {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

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

.overview-label {
  width: 120px;
  flex-shrink: 0;
  font-weight: bold;
  color: #233A73;
}

.overview-value {
  flex: 1;
}

.overview-value.highlight {
  font-size: 1.3rem;
}

/* ----- CTA Section ----- */
.cta {
  background: linear-gradient(135deg, #233A73 0%, #3d5a9e 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.cta-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ----- Organization Section ----- */
.org-box {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.org-name {
  font-size: 1.3rem;
  font-weight: bold;
  color: #233A73;
  margin-bottom: 20px;
}

.org-text {
  text-align: left;
  margin-bottom: 20px;
}

.org-link {
  display: inline-block;
  margin-top: 10px;
}

/* ----- Footer ----- */
.footer {
  background-color: #233A73;
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.footer-contact {
  margin-bottom: 20px;
}

.footer-contact p {
  margin-bottom: 5px;
}

.footer-contact a {
  color: #fff;
}

.footer-contact a:hover {
  opacity: 0.8;
}

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

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }

  .hero {
    min-height: 100vh;
    padding: 60px 0;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 40px;
  }

  .title-badge {
    display: block;
    width: fit-content;
    margin: 10px auto 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .speakers-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 15px 10px;
    font-size: 0.9rem;
  }

  .overview-item {
    flex-direction: column;
    gap: 5px;
  }

  .overview-label {
    width: 100%;
  }

  .btn-primary {
    padding: 15px 35px;
    font-size: 1rem;
  }

  .cta-title {
    font-size: 1.4rem;
  }

  /* Premium responsive */
  .premium {
    padding: 60px 0;
  }

  .premium-title {
    font-size: 1.5rem;
  }

  .premium-featured {
    padding: 32px 20px;
  }

  .premium-course-title {
    font-size: 1.3rem;
  }

  .premium-featured-info {
    gap: 10px;
  }

  .premium-info-item {
    min-width: calc(50% - 10px);
    padding: 10px 14px;
  }

  .premium-points {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .premium-lecturer {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 20px;
  }

  .premium-lecturer .premium-lecturer-bio,
  .premium-lecturer .premium-lecturer-name {
    text-align: center;
  }

  .premium-lineup {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .btn-premium {
    padding: 15px 35px;
    font-size: 1rem;
  }
}
