@charset "utf-8";

/* Swiper全体 */
.mySwiper {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  padding-bottom: 40px; /* ページネーション用の余白 */
  position: relative;
}

/* 各スライド */
.mySwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* スライド内画像 */
.mySwiper .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 8px;
  object-fit: contain; /* 縦横比を保持 */
}

/* ページネーションをスライドの下に配置 */
.mySwiper .swiper-pagination {
  position: static !important; /* スライド外に出す */
  margin-top: 10px;
  text-align: center;
}

/* ナビボタン */
.mySwiper .swiper-button-next,
.mySwiper .swiper-button-prev {
  color: #000;
}

.caption {
	text-align: center;
}
/* ボタンカード */
.button-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC: 3列 */
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 2rem;
}

/* スマホ（768px以下）のとき2列にする */
@media (max-width: 768px) {
  .button-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.card-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background-color: #f2f2f2;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s, transform 0.2s;
  text-align: center;
  font-weight: bold;
}

.card-button:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.card-button .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* セクション */
.section {
  margin-bottom: 1rem;
}

