@charset "UTF-8";

/* ----------
  共通部分
-------------*/
body {
  font-family: "Poppins", "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .05em;
  color: #333333;
}

a {
  text-decoration: none;
  color: #333333;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* PC・スマホ表示切り替え */
.pc-only {
  display: block;
}

.sp-only {
  display: none; /* PCではスマホ用を隠す */
}


/* ----------
  サイト全体設定
-------------*/
.section {
  padding: 90px 0;
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}

ul {
  list-style: none;
}


/* ----------
   フェードインアニメーション
------------- */
@keyframes blurIn {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 付与するクラス */
.blur-in {
  animation: blurIn 3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
/* ----------
  写真ギャラリーエリア
-------------*/
.photo-gallery {
  max-width: 900px; /* 写真全体の表示幅 */
  padding-top: 40px;
  padding-bottom: 40px;
}

/* グリッド共通の余白 */
.photo-grid {
  display: grid;
  gap: 20px; /* 写真同士の隙間 */
  margin-bottom: 20px; /* 段ごとの下余白 */
}

/* 2列レイアウト */
.grid-2col {
  grid-template-columns: repeat(2, 1fr);
}

/* 1列レイアウト */
.grid-1col {
  grid-template-columns: 1fr;
}

/* 各写真項目の設定 */
.photo-item {
  width: 100%;
  overflow: hidden;
}

.photo-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* おまけテキスト部分 */
.gallery-lead {
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  margin: 40px auto 10px;
  color: #333333;
  width: 100%;
}
.omake-section {
  margin-top: 300px;
}

/* ----------
  戻るボタン
-------------*/
.back-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 80px;
  margin-bottom: 60px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 180px;
  padding: 12px 0;
  background-color: #f8f8f8;
  color: #333333;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-arrow {
  font-size: 20px;
  line-height: 1;
}

.back-btn:hover {
  background-color: #dcdcdc;
  color: #ffffff;
}


/* ----------
  フッター
-------------*/
.footer {
  padding: 30px;
  background-color: #ffffff;
}

.copyright {
  font-size: 10px;
  text-align: center;
  color: #797979;
}


/* ----------
  レスポンシブ（768px以下）
-------------*/
@media screen and (max-width: 768px) {
  /* PC・スマホ表示切り替え */
  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  .section {
    padding: 50px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* 写真ギャラリーのスマホ調整 */
  .photo-gallery {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .photo-grid {
    gap: 12px;
    margin-bottom: 12px;
  }

  .grid-2col {
    grid-template-columns: repeat(2, 1fr);
  }

  .back-btn-container {
    margin-top: 50px;
    margin-bottom: 40px;
  }

  .gallery-lead {
    margin: 30px auto 12px;
    font-size: 10px;
  }
    .omake-section {
    margin-top: 120px;
  }
}