* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #fff;
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* =========================
   レイアウト
========================= */

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}

.bg-gray {
  background-color: #f5f5f5;
}

/* =========================
   ヘッダー
========================= */

.header {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
  position: sticky;
  top: 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
}

.nav-list {
  display: flex;
  gap: 24px;
}

.nav-list a {
  font-weight: bold;
}

/* =========================
   HERO
========================= */

.hero {
  height: 600px;

  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center;

  position: relative;
}

.hero-overlay {
  width: 100%;
  height: 100%;

  background-color: rgba(0,0,0,0.4);

  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  text-align: center;
  color: white;
}

.hero-content h2 {
  font-size: 52px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* =========================
   カードUI
========================= */

.card-wrapper {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;

  box-shadow: 0 4px 10px rgba(0,0,0,0.1);

  flex: 1;
  min-width: 280px;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

/* =========================
   モデルコース
========================= */

.course {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.course-item {
  padding: 24px;
  border-left: 6px solid #0077cc;
  background-color: #f9f9f9;
}

.course-item h3 {
  margin-bottom: 10px;
}

/* =========================
   フッター
========================= */

.footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 30px 0;
}

/* =========================
   ホバー
========================= */

.card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}

.nav-list a:hover {
  opacity: 0.7;
}

.btn:hover {
  transform: scale(1.05);
}

/* =========================
   2層目CSS
========================= */

.sub-header {
  background-color: #0077cc;
  color: white;

  padding: 80px 20px;

  text-align: center;
}

.spot-detail {
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
}

.spot-detail img {
  border-radius: 16px;
  margin-bottom: 24px;
}

.spot-detail h2 {
  margin-bottom: 20px;
  font-size: 36px;
}

.spot-detail p {
  line-height: 1.8;
  font-size: 18px;
}


/* =========================
   レスポンシブ
========================= */

@media (max-width: 768px) {

  .header-inner {
    flex-direction: column;
    gap: 16px;
  }

  .nav-list {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    height: 350px;
    padding: 0 20px;
  }

  .hero-content h2 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .card-wrapper {
    flex-direction: column;
  }

}

/* =========================
   ボタン
========================= */

.btn {
  display: inline-block;

  background-color: #0077cc;
  color: white;

  padding: 14px 32px;

  border-radius: 999px;

  font-weight: bold;

  margin-top: 20px;
}

.btn:hover {
  opacity: 0.8;
}

.btn-center {
  text-align: center;
  margin-top: 40px;
}