/* 基本リセット */
* {
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  margin: 0;
  padding: 0;
  background: hsl(110, 61%, 88%);
  color: #444;
  line-height: 1.8;
}

/* ヘッダー */
header {
  text-align: center;
  padding: 30px 15px;
  background: linear-gradient(180deg, #f4e9a7, #fff3c2);
  border-bottom: 4px solid #ffd34d;
}

h1 {
  color: #ff9f1c;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.6rem;
  }
}

/* ナビ */
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

nav a {
  text-decoration: none;
}

/* ボタン */
.cute-btn {
  display: inline-block;
  padding: 10px 18px;
  background: #ffe066;
  color: #4a7ebb;
  font-weight: bold;
  border-radius: 25px;
  border: 2px solid #ffd34d;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: 0.2s;
}

.cute-btn:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* セクション */
section {
  background: #fff;
  margin: 20px auto;
  padding: 20px;
  max-width: 900px;
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  border-left: 8px solid #ffe066;
}

/* 見出し */
h2 {
  color: #ff9f1c;
  border-bottom: 2px dashed #ffd34d;
  padding-bottom: 5px;
}

h3 {
  color: #4a7ebb;
  margin-top: 20px;
}

/* アイコン */
h3::before {
  content: "📘 ";
}

/* Swiper（修正ポイント） */
.swiper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* ★ここが重要：上切れ防止 */
}

/* 画像 */
img {
  max-width: 100%;
  height: auto;
}

/* aboutレイアウト */
.about {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.about-text {
  text-align: left;
}

/* PCのみ横並び */
@media (min-width: 768px) {
  .about {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .about-text {
    flex: 1;
  }

  .about-img {
    flex: 1;
  }
}

/* ロゴ */
.logo img {
  max-width: 300px;
  width: 100%;
  height: auto;
}