/* 基本設定 */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: #333333;
  background-color: #f8f6f1;
  line-height: 1.8;
}

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

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

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


/* ヘッダー */
.header {
  background-color: #ffffff;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: bold;
  color: #244f56;
}

.nav-list {
  display: flex;
  gap: 8px;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  color: #555555;
  transition: 0.3s;
}

.nav-list a:hover {
  color: #244f56;
  background-color: #f0ede7;
}

/* メインビジュアル */
.hero {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.hero img {
  height: 680px;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  left: 8%;
  bottom: 70px;
  max-width: 560px;
  padding: 42px;
  background-color: rgba(255, 255, 255, 0.92);
}

.hero-subtitle {
  margin: 0 0 12px;
  color: #b85d44;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.2em;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 52px;
  line-height: 1.4;
  color: #9b4b42;
}

.hero-description {
  margin: 24px 0 28px;
}

.button {
  display: inline-block;
  padding: 12px 28px;
  color: #ffffff;
  background-color: #244f56;
  font-size: 14px;
  transition: 0.3s;
}

.button:hover {
  background-color: #b85d44;
  transform: translateY(-3px);
}


/* 共通 */
.section-subtitle {
  margin: 0 0 10px;
  color: #b85d44;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.2em;
}

h2 {
  margin: 0;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 38px;
  line-height: 1.5;
  color: #244f56;
}


/* イタリアについて */
.about {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 30px;
  text-align: center;
}

.about-text {
  max-width: 680px;
  margin: 32px auto 0;
}


/* おすすめの旅先 */
.destination {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px 120px;
}

.section-heading {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.section-heading>p {
  margin: 0;
  font-size: 14px;
}

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

.card {
  background-color: #ffffff;
}

.card img {
  height: 250px;
  object-fit: cover;
}

.card-text {
  position: relative;
  padding: 36px 28px 28px;
}

.card-number {
  position: absolute;
  top: 10px;
  left: 20px;
  margin: 0;
  font-size: 64px;
  line-height: 1;
  font-weight: bold;
  color: rgba(36, 79, 86, 0.08);
}

.card h3 {
  position: relative;
  margin: 0;
  font-family: Georgia, serif;
  font-size: 32px;
  color: #244f56;
}

.card-title {
  margin: 0;
  font-weight: bold;
}

.card-text>p:last-child {
  margin-bottom: 0;
  font-size: 14px;
}


/* フッター */
.footer {
  padding: 60px 30px;
  text-align: center;
  color: #ffffff;
  background-color: #244f56;
}

.footer-logo {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 24px;
}

.copyright {
  margin: 10px 0 0;
  font-size: 11px;
}


/* スマートフォン */
@media (max-width: 768px) {

  .nav-list {
    display: none;
  }

  .hero img {
    height: 600px;
  }

  .hero-text {
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 28px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .about {
    padding: 80px 24px;
  }

  h2 {
    font-size: 30px;
  }

  .destination {
    padding: 0 24px 80px;
  }

  .section-heading {
    display: block;
  }

  .section-heading>p {
    margin-top: 20px;
  }

  .card-list {
    grid-template-columns: 1fr;
  }

  .card img {
    height: 280px;
  }
}