/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* スムーススクロール用のオフセット */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic Medium', 'Meiryo', sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #f8f9fa;
  font-size: 14px;
}

/* ヘッダー */
.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 70px;
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.header__logo {
  text-decoration: none;
  color: white;
}

.header__logo img {
  height: 40px;
  width: auto;
  vertical-align: middle;
}

.header__nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.header__nav a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.header__nav a:hover {
  opacity: 0.8;
}

/* ハンバーガーメニューボタン（スマホで表示） */
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 101;
}

.hamburger-menu__line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: white;
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.hamburger-menu__line:nth-child(1) {
  top: 0;
}

.hamburger-menu__line:nth-child(2) {
  top: 10px;
}

.hamburger-menu__line:nth-child(3) {
  bottom: 0;
}

.hamburger-menu.is-open .hamburger-menu__line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger-menu.is-open .hamburger-menu__line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.is-open .hamburger-menu__line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}


/* ヒーローセクション（PC設定） */
.hero {
  background-image: url(../img/pc-illust.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 710px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 50% 50%;
}

.hero__left-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  position: relative;
  z-index: 10;
}

.hero__right-panel {
  /* レイアウト用の空要素 */
}

.hero__text-overlay {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn--primary {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid white;
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background: white;
  color: #333;
}

/* セクション共通スタイル */
.section__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section__title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
  position: relative;
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  margin: 1rem auto;
  border-radius: 2px;
}

/* 概要セクション */
.overview {
  padding: 4rem 1rem;
  background: white;
}

.event-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.info-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #e9ecef;
}

.info-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.info-card__title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.info-card__text {
  color: #666;
}

.exhibitors__content {
  text-align: center;
}

.exhibitors__text {
  font-size: 1.1rem;
  color: #666;
  max-width: 900px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

/* 出展者向けセクション */
.exhibitors {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.exhibitor-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid #667eea;
}

.benefit-item__title {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.benefit-item__text {
  color: #666;
  font-size: 0.9rem;
}

/* 来場者向けセクション */
.features {
  padding: 4rem 1rem;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.feature-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-card__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: white;
}

.feature-card__title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
}

.feature-card__text {
  color: #666;
  line-height: 1.8;
}

/* アクセス情報 */
.access {
  padding: 5rem 1rem;
  background: #f8f9fa;
}

.access-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.access-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.access-card__title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
  border-bottom: 2px solid #667eea;
  padding-bottom: 0.5rem;
}

.access-card__content {
  color: #666;
}

/* フッター */
.footer {
  background: #333;
  color: white;
  padding: 3rem 1rem 1rem;
  text-align: center;
}

.footer__content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer__contact {
  margin-bottom: 2rem;
}

.footer__contact-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer__contact-info {
  color: #ccc;
  line-height: 1.8;
}

.footer__contact-info a {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid #555;
  padding-top: 1rem;
  margin-top: 2rem;
  color: #999;
  font-size: 0.9rem;
}

/* レスポンシブ設定（スマホ表示） */
@media (max-width: 768px) {
  .section__title {
    font-size: 2rem;
  }

  /* ハンバーガーメニュー関連 */
  .header__nav {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s;
    z-index: 100;
  }

  .header__nav.is-open {
    transform: translateX(0);
  }

  .header__nav ul {
    flex-direction: column;
    gap: 2rem;
  }

  .header__nav a {
    font-size: 1.2rem;
  }

  .hamburger-menu {
    display: block;
  }

  /* ヒーローエリアのレイアウトを1カラムに戻す */
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: #75d2e8;
    /* 背景色を一番下に指定 */

    /* ▼▼▼【修正箇所】▼▼▼ */
    /* 複数の背景プロパティを個別に指定する形に修正 */
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
      url(../img/sp-Illust.png),
      url(../img/sp-sea.png);

    background-repeat: no-repeat, no-repeat, repeat;

    background-position: center bottom, center bottom, 0 0;

    background-size: 100% auto, 100% auto, auto;

    /* パララックス効果のため、attachmentのみ一番最後に単独で指定 */
    background-attachment: scroll, scroll, fixed;
    /* ▲▲▲【修正ここまで】▲▲▲ */
  }

  .hero__left-panel {
    padding: 1rem;
    width: 100%;
  }

  .hero__text-overlay {
    max-width: 90%;
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

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

/* アクセシビリティ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

a:focus,
button:focus {
  outline: 3px solid #667eea;
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===============================================
CTAボタン
=============================================== */
/* ボタンを中央に配置するためのラッパー */
.cta-container {
  text-align: center;
  margin: 2.5rem 0; /* ボタンの上下に適切な余白を設けます */
}

/* CTAボタンの特別スタイル */
.btn--cta {
  /* 少しだけ大きくして存在感をアップ */
  transform: scale(1.05);
  /* 影を少し濃くして立体感を強調 */
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
  /* ゆっくりと脈打つようなアニメーションを適用 */
  animation: pulse 2.5s infinite;
}

/* ホバー時（マウスを乗せた時）のスタイル */
.btn--cta:hover {
  /* さらにもう少し大きくして、クリックを促します */
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
  animation-play-state: paused; /* ホバー中はアニメーションを一時停止 */
}

/* 脈打つアニメーションの定義 */
@keyframes pulse {
  0% {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
  }
  100% {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
  }
}
/* ===============================================
CTAボタン（2カラム）
=============================================== */
.cta-container {
  display: flex; /* Flexboxを有効にして、中の要素を横並びにします */
  justify-content: center; /* 中央揃えにします */
  flex-wrap: wrap; /* スマホなど画面幅が狭い場合は自動で改行（縦並び）します */
  gap: 1.5rem; /* ボタンとボタンの間に隙間を空けます */
  margin: 2.5rem 0; /* 上下の余白 */
}
/* ===============================================
アウトラインボタン（明るい背景用）
=============================================== */
.btn--outline {
  background-color: transparent; /* 背景を透明に */
  border: 2px solid #667eea;   /* テーマカラーの紫で枠線を作成 */
  color: #667eea;             /* 文字色もテーマカラーに */
  backdrop-filter: none;       /* このボタンでは背景のぼかしを無効化 */
}

.btn--outline:hover {
  background-color: #667eea; /* マウスを乗せたら背景をテーマカラーで塗りつぶす */
  color: white;                /* 文字色を白に変更 */
  border-color: #667eea;      /* 枠線の色も統一 */
}

/* =======================================
   便利クラス (Utility Classes)
======================================= */
/* 太字 */
.text-bold {
  font-weight: 700 !important; /* !importantで強制的に太字にする */
}

/* 赤文字 */
.text-red {
  color: #D32F2F !important; /* !importantで強制的に赤文字にする */
}

/* ===============================================
   中止のお知らせモーダル
=============================================== */
.modal-overlay {
  position: fixed; /* 画面に固定 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75); /* 半透明の黒背景 */
  display: flex; /* 中の要素を中央揃えにするため */
  align-items: center;
  justify-content: center;
  z-index: 9999; /* サイトのどの要素よりも手前に表示 */
  opacity: 0; /* 初期状態は透明 */
  visibility: hidden; /* 初期状態は非表示で見えない、クリックもできない */
  transition: opacity 0.5s, visibility 0.5s; /* ふんわり表示するためのアニメーション設定 */
}

/* JavaScriptによってこのクラスが付くとモーダルが表示される */
.modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 10px;
  width: 90%; /* スマホなど画面が小さい時の幅 */
  max-width: 600px; /* PCなど画面が大きい時の最大幅 */
  text-align: left;
  line-height: 1.8;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  /* 表示時のアニメーション */
  transform: translateY(-20px);
  transition: transform 0.5s;
}

.modal-overlay.is-visible .modal-content {
    transform: translateY(0);
}


.modal-title {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #D32F2F; /* お知らせの重要度を伝えるため赤文字に設定 */
}

.modal-text {
  margin-bottom: 2rem;
  color: #333;
}

.modal-close-btn {
  display: block; /* ボタンをブロック要素にして中央揃えしやすくする */
  margin: 0 auto; /* 中央揃え */
  padding: 0.8rem 2.5rem;
  background-color: #555;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s;
}

.modal-close-btn:hover {
  background-color: #333;
}

/* スマートフォン表示用の調整 */
@media (max-width: 768px) {
  .modal-content {
    padding: 2rem 1.5rem;
  }
  .modal-title {
    font-size: 1.3rem;
  }
  .modal-text {
    font-size: 0.9rem;
  }
}