/* 基本設定 */
body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 0;
  color: #333333;
  background-color: #F5F5F5;
}

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

/* ヘッダー */
header {
  background-color: #FFFFFF;
  padding: 10px 0;
  border-bottom: 1px solid #EEEEEE;
}

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

.logo img {
  /* ロゴの高さ調整 */
  max-height: 70px;
  max-width: 100%
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333333;
  font-weight: bold;
}

/* ファーストビュー */
.hero {
  background-image: url('../images/main.png');
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  /* オーバーレイのために必要 */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(52, 152, 219, 0.6);
  /* メインカラーの半透明オーバーレイ */
  z-index: 1;
}

.hero h1,
.hero p,
.hero .btn-cta {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: 700;
  /* 太めのゴシック体 */
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.hero p .highlight {
  font-size: 1.3em;
  font-weight: 700;
  color: #FFD700;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
  margin-top: 10px;
}

.btn-cta {
  display: inline-block;
  background-color: #FFD700;
  color: #333333;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-cta:hover {
  background-color: #E0B800;
  /* ホバー時の色 */
  transform: translateY(-3px);
}

/* 各セクションの共通スタイル */
section {
  padding: 60px 0;
}

section:nth-of-type(even) {
  background-color: #FFFFFF;
}

section h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #3498DB;
  font-weight: 700;
  /* 太めのゴシック体 */
}

/* 魅力セクション */
.attraction-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.attraction-points .point {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 15px;
  /* 角を丸く */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  /* 影を強調 */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.attraction-points .point:hover {
  transform: translateY(-10px);
  /* ホバーで少し浮き上がる */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.attraction-points .point h3 {
  color: #3498DB;
  font-size: 1.6em;
  /* 少し大きく */
  margin-bottom: 15px;
  line-height: 1.4;
}

.attraction-points .point p {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.attraction-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.feature-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
  align-items: stretch;
}

.feature-item {
  width: calc(50% - 60px);
  text-align: center;
  background-color: #F9F9F9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.feature-item .feature-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 15px;
}

.feature-item p {
  margin-top: auto;
}

.cta-bottom {
  text-align: center;
  margin-top: 40px;
}

/* 体験できることセクション */
.experience {
  background-color: #F5F5F5;
}

.experience-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  align-items: stretch;
}

.experience-item {
  width: calc((100% - 250px) / 3);
  background-color: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.experience-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.experience-item h3 {
  color: #3498DB;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
}

.experience-item h4 {
  font-size: 1.2em;
  line-height: 1.6;
  color: #333333;
  margin-top: 20px;
  margin-top: auto;
}

.experience-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 10px;
}

.section-note {
  text-align: center;
  font-size: 0.9em;
  color: #555555;
  margin-top: 40px;
}

/* 当日の流れセクション */
.flow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.flow-steps .step {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  /* 3列表示 */
  flex: 1 1 calc(33% - 60px);
  /* min-width: 280px; */
  position: relative;
}

.flow-steps .step-number {
  background-color: #3498DB;
  color: #FFFFFF;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin: -55px auto 20px auto;
  /* 上に飛び出すように調整 */
  border: 5px solid #F5F5F5;
}

.flow-steps .step h3 {
  color: #333333;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.step-content-with-image {
  display: flex;
  flex-direction: column;
  /* デフォルトは縦並び */
  align-items: center;
  gap: 20px;
}

.step-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* 安心して参加できる理由セクション */
.safety-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.safety-points .point {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.safety-points .point h3 {
  color: #3498DB;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.safety-points .point .icon {
  font-size: 2em;
  display: block;
  margin-bottom: 10px;
}

/* イベント概要セクション */
.overview-details {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

.overview-details p {
  margin-bottom: 10px;
}

.overview-details strong {
  color: #3498DB;
}

/* 申し込みフォームセクション */
.application-form {
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  margin: 0 auto;
}

.application-form .form-group {
  margin-bottom: 20px;
}

.application-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.application-form input[type="text"],
.application-form input[type="email"],
.application-form input[type="tel"],
.application-form select,
.application-form textarea {
  width: calc(100% - 20px);
  padding: 10px;
  border: 1px solid #DDDDDD;
  border-radius: 5px;
  font-size: 1em;
}

.application-form textarea {
  resize: vertical;
}

.application-form .required {
  color: #E74C3C;
  margin-left: 5px;
}

.application-form button[type="submit"] {
  width: 100%;
  padding: 15px;
  background-color: #3498DB;
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.application-form button[type="submit"]:hover {
  background-color: #2980B9;
}

/* フッター */
footer {
  background-color: #333333;
  color: #FFFFFF;
  padding: 40px 0;
  text-align: center;
  font-size: 0.9em;
}

footer a {
  color: #FFD700;
  text-decoration: none;
}

.footer-info p {
  margin: 5px 0;
}

.sponsors {
  margin-top: 20px;
  /* 協賛・後援企業ロゴのスタイルは後で追加 */
}

.copyright {
  margin-top: 20px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  header .container {
    flex-direction: column;
  }

  nav ul {
    margin-top: 10px;
  }

  nav ul li {
    margin: 0 10px;
  }

  .hero h1 {
    font-size: 2.5em;
  }

  .hero p {
    font-size: 1em;
  }

  section h2 {
    font-size: 2em;
  }

  .attraction-points {
    grid-template-columns: 1fr;
  }

  .feature-item,
  .experience-item {
    width: 100%;
  }

  .flow-steps .step {
    flex: 1 1 calc(50% - 30px);
    /* 2列表示 */
  }

  .safety-points {
    grid-template-columns: 1fr;
  }

  .application-form {
    padding: 20px;
  }

  .step-content-with-image {
    flex-direction: column;
    /* スマートフォンでは縦並び */
  }
}

@media (min-width: 769px) {
  .step-content-with-image {
    flex-direction: row;
    /* PCでは横並び */
    text-align: left;
  }

  .step-content-with-image .step-image {
    flex-shrink: 0;
    width: 40%;
    /* 画像の幅 */
  }

  .step-content-with-image p {
    flex-grow: 1;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 15px;
  }

  .hero h1 {
    font-size: 2em;
  }

  .btn-cta {
    padding: 12px 25px;
    font-size: 0.9em;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 5px 0;
  }

  .flow-steps .step {
    flex: 1 1 100%;
    /* 1列表示 */
  }

  .safety-points {
    grid-template-columns: 1fr;
  }
}