/* Google FontsのInterを使う */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #e6f2ff 0%, #f9fff9 100%);
  color: #222;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;

  /* 横スクロール防止 */
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

/* コンテナ幅は固定 */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ヘッダー */
header {
  background: linear-gradient(90deg, #8fd3f4 0%, #84fab0 100%);
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.12);
  padding: 1.0rem 0; /* スマホで小さく */
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  margin: 0 0 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
  color: #004a4a;
  letter-spacing: 0.03em;
  user-select: none;
}

/* ナビゲーション */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 12px;
  background: rgba(255 255 255 / 0.85);
  color: #004a4a;
  text-decoration: none;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 -3px 0 #6fccb3;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.nav-links a:hover,
.nav-links a:focus {
  background: #60c0a0;
  color: #f2f9f9;
  box-shadow:
    0 6px 8px rgba(0, 0, 0, 0.15),
    inset 0 -3px 0 #4ba881;
  outline: none;
}

/* メインセクション */
main {
  padding: 4rem 0;
}

.section-light {
  background: #f7fff9;
  border-radius: 16px;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  box-shadow:
    0 10px 20px rgb(50 205 50 / 0.15),
    inset 0 0 0 2px #9be6a8;
  transition: box-shadow 0.3s ease;
}

.section-light:hover {
  box-shadow:
    0 20px 40px rgb(50 205 50 / 0.3),
    inset 0 0 0 2px #6fccb3;
}

.section-white {
  background: white;
  border-radius: 16px;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  box-shadow:
    0 10px 25px rgb(0 128 255 / 0.18);
  transition: box-shadow 0.3s ease;
}

.section-white:hover {
  box-shadow:
    0 20px 50px rgb(0 128 255 / 0.3);
}

h2 {
  color: #004a4a;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  border-left: 8px solid #60c0a0;
  padding-left: 1rem;
  user-select: none;
}

ul {
  list-style: disc inside;
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: #2a2a2a;
  line-height: 1.8;
  padding-left: 0;
}

ul li {
  margin-bottom: 1rem;
}

/* 写真ギャラリー */
.photo-gallery {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-left: 0;
  padding-right: 0;
}

.photo-gallery img {
  border-radius: 20px;
  max-width: 32%;
  box-shadow:
    0 8px 15px rgb(0 0 0 / 0.12);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.photo-gallery img:hover,
.photo-gallery img:focus {
  transform: scale(1.1);
  box-shadow:
    0 15px 25px rgb(0 0 0 / 0.22);
  outline: none;
}

/* お問い合わせボタン */
.contact-button {
  background: linear-gradient(135deg, #4bc29a, #1f8267);
  color: white;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  box-shadow:
    0 6px 12px rgb(33 150 83 / 0.6);
  cursor: pointer;
  user-select: none;
  display: inline-block;
  transition: background 0.35s ease;
  text-decoration: none;
  text-align: center;
}

.contact-button:hover,
.contact-button:focus {
  background: linear-gradient(135deg, #1f8267, #4bc29a);
  outline: none;
}

/* Instagramボタン */
.insta-button {
  display: inline-block;
  padding: 1rem 2.4rem;
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 30px;
  background: linear-gradient(45deg, #a7cdf0, #3284d3);
  color: white;
  box-shadow:
    0 5px 15px rgb(50 130 211 / 0.75);
  cursor: pointer;
  user-select: none;
  transition: background 0.35s ease;
  text-decoration: none;
  text-align: center;
}

.insta-button:hover,
.insta-button:focus {
  background: linear-gradient(45deg, #3284d3, #a7cdf0);
  outline: none;
}

/* フッター */
footer {
  background: linear-gradient(90deg, #8fd3f4 0%, #84fab0 100%);
  text-align: center;
  padding: 1.8rem 1rem;
  font-size: 1rem;
  color: #004a4a;
  font-weight: 600;
  user-select: none;
  box-shadow: inset 0 0 20px rgb(0 74 74 / 0.1);
}

/* レスポンシブ */
@media (max-width: 768px) {
  /* ヘッダーの高さを縮小 */
  header {
    padding: 1.0rem 0;
  }

  .photo-gallery img {
    max-width: 48%;
  }
  .nav-links {
    flex-direction: column;
    gap: 1.4rem;
  }
  .nav-links a {
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1.15rem;
    border-radius: 35px;
  }
}

/* スマホ用のはみ出し防止 */
@media (max-width: 480px) {
  /* 横スクロール禁止 */
  body,
  html {
    overflow-x: hidden;
  }

  /* ヘッダー高さをさらに縮小 */
  header {
    padding: 0.8rem 0;
  }

  .photo-gallery img {
    max-width: 100%;
  }
  .contact-button,
  .insta-button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-size: 1.3rem;
    border-radius: 50px;
    text-align: center;
  }
  .nav-links a {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .photo-gallery {
    padding-left: 0;
    padding-right: 0;
  }
}
