*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.3;
}

/* 共通レイアウト */

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

section {
  padding: 64px 0;
}

@media (max-width: 768px) {
  section {
    padding: 48px 0;
  }
}

/* ヒーロー */

.hero {
  position: relative;
  min-height: 70vh;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/hero.png");
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.255), rgba(0, 0, 0, 0.255));
  z-index: -1;
}

.hero-inner {
  max-width: 720px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.8em;
}

.hero-subtitle {
  font-size: 1rem;
  margin-bottom: 2.5em;
}

.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  background-color: #ffffff;
  color: #222;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  background-color: #f5f5f5;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
}

/* 開催概要 */

.section-title {
  font-size: 1.8rem;
  margin-bottom: 1.5em;
  font-weight: 700;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.overview-item {
  background-color: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 20px 18px;
  text-align: left;
}

.overview-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #888;
  margin-bottom: 0.35em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.overview-heading {
  font-weight: 700;
  margin-bottom: 0.3em;
}

.overview-text {
  font-size: 0.9rem;
  color: #555;
}

@media (max-width: 900px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
}

/* このイベントで分かること */

.learn-section {
  position: relative;
  color: #fff;
  padding: 80px 0 56px;
  margin-top: 32px;
  overflow: hidden;
}

.learn-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/learn-bg.png"); /* ←ここを差し替え */
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  z-index: -2;
}

.learn-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
  z-index: -1;
}

.learn-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5em;
  /*text-align: center;*/
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.learn-item {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1em;
}

.learn-item strong {
  display: block;
  margin-bottom: 1em;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .learn-grid {
    grid-template-columns: 1fr;
  }
}

/* 当日の予定 */

.schedule-item {
  margin-bottom: 1.8em;
}

.schedule-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3em;
  font-weight: 600;
}

.schedule-label {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 0.25em;
}

.schedule-desc {
  font-size: 0.95rem;
  color: #444;
}

/* 参加のメリット */

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#benefits {
  position: relative;
  color: #fff;
  padding: 80px 0 56px;
  margin-top: 32px;
  overflow: hidden;
}
#benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/merit.png"); /* ←ここを差し替え */
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  z-index: -2;
}

#benefits::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
  z-index: -1;
}

.benefits-list li {
  margin-bottom: 0.6em;
  padding-left: 1.2em;
  position: relative;
  font-size: 0.95rem;
}

.benefits-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

/* アクセス */

.access-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 24px;
  align-items: flex-start;
}

.access-block div {
  margin-bottom: 2em;
}
.access-block h3 {
  font-size: 1rem;
  margin-bottom: 0.4em;
  font-weight: 600;
}

.access-block p {
  margin: 0 0 0.4em;
  font-size: 0.95rem;
}

.map {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
  .access-wrapper {
    grid-template-columns: 1fr;
  }
}

/* フッター（任意） */

footer {
  padding: 24px 16px 32px;
  font-size: 0.8rem;
  color: #777;
  text-align: center;
}

/* 画面に固定表示される申込みボタン */
.cta-fixed {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
}

/* スマホでは下部いっぱいに表示する例 */
@media (max-width: 768px) {
  .cta-fixed {
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
    display: block;
  }
}
