/* 基本のスタイル */

html{
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Noto Serif JP', serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  width: 100%;
  overflow-x: hidden
}

.fathersday-header {
  background-color: #003366;
  color: white;
  padding: 40px 0;
  text-align: center;
  margin-bottom: 0;
  object-fit: cover;
}

.fathersday-header h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin: 0 0 0.5em 0;  /* 下に余白を追加 */
  line-height: 1.2;
}

.fathersday-header p {
  font-size: clamp(0.5rem, 2vw, 1.5rem);
}

/* バナー */
.fathersday-banner img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

/* ナビゲーション */
nav.fathersday-nav {
  background-color: #003366;
  padding: 10px 0;
  text-align: center;
}

nav.fathersday-nav a {
  color: white;
  text-decoration: none;
  padding: 10px 5px;
  margin: 0 10px;
  font-size: 1rem;
}

nav.fathersday-nav a:hover {
  background-color: #00509e;
}

/* 特集セクション */
.fathersday-intro {
  padding: 40px 0;
  text-align: center;
  background-color: #e9f2f8;
}

.fathersday-intro h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.fathersday-intro p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.fathersday-intro h2 {
  font-size: 1.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1em;
}

.fathersday-intro h2 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeLetter 0.6s ease-out forwards;
}

/* 文字ごとにアニメーションのディレイをずらす */
.fathersday-intro h2 span:nth-child(1) { animation-delay: 0.05s; }
.fathersday-intro h2 span:nth-child(2) { animation-delay: 0.10s; }
.fathersday-intro h2 span:nth-child(3) { animation-delay: 0.15s; }
.fathersday-intro h2 span:nth-child(4) { animation-delay: 0.20s; }
.fathersday-intro h2 span:nth-child(5) { animation-delay: 0.25s; }
.fathersday-intro h2 span:nth-child(6) { animation-delay: 0.30s; }
.fathersday-intro h2 span:nth-child(7) { animation-delay: 0.35s; }
.fathersday-intro h2 span:nth-child(8) { animation-delay: 0.40s; }
.fathersday-intro h2 span:nth-child(9) { animation-delay: 0.45s; }
.fathersday-intro h2 span:nth-child(10) { animation-delay: 0.50s; }
.fathersday-intro h2 span:nth-child(11) { animation-delay: 0.55s; }
.fathersday-intro h2 span:nth-child(12) { animation-delay: 0.60s; }
.fathersday-intro h2 span:nth-child(13) { animation-delay: 0.65s; }
.fathersday-intro h2 span:nth-child(14) { animation-delay: 0.70s; }
.fathersday-intro h2 span:nth-child(15) { animation-delay: 0.75s; }

@keyframes fadeLetter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* 商品リスト */
#giftset {
  padding: 40px 0; /* デフォルト：PC向け */
  background-color: #e9f2f8;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  object-fit: cover;
}

/* スマホ用に上下余白を減らす */
@media (max-width: 768px) {
  #giftset {
    padding: 20px 0; /* 上下20px・左右少し広め */
    ocject-fit: cover;
  }
}

#giftset h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

#giftset p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

#giftset ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  text-align: center;
}

#giftset li {
  margin: 0;
  padding: 0;
}


.fathersday-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
  width: 100%;
  max-width: 1200px; /* 任意の最大幅 */
  margin: 0 auto;
}

.fathersday-product-link {
  display: flex;
  align-items: center;
  text-align: left;
  text-decoration: none;
  background-color: #003366;
  color: #ffffff;
  padding: 1rem;
  border-radius: 12px;
  width: 32%; /* PCで3列 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}


/* タブレットサイズ：2列 */
@media (max-width: 1024px) {
  .fathersday-product-link {
    width: 48%;
  }
}

/* スマホサイズ：1列 */
@media (max-width: 768px) {
  .fathersday-product-link {
    width: 100%;
  }
}

.fathersday-product-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: #cccccc;
  color: #003366;
}

.fathersday-product-link img {
  width: 120px !important;
  height: auto;
  border-radius: 8px;
  margin-right: 15px;
}

.fathersday-product-link p {
   font-size: clamp(1rem, 2vw, 1.6rem);
  font-weight: bold;
  margin: 0;
  text-align: left;
}

/* === レスポンシブ対応 === */
@media (max-width: 768px) {
  .fathersday-product-link {
    width: 100%; /* 1列 */
  }
}


/* 商品詳細 */
.fathersday-detail {
  background-color: #f4f7fa;
  padding: 40px 0;
  border-top: 3px solid #1e3a5f;
  width: 100%;
}

.fathersday-detail-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.fathersday-title {
  font-size: 2rem;
  color: #1e3a5f;
  margin-bottom: 20px;
  text-align: center;
  font-family: "游明朝", "Yu Mincho", serif;
}

.fathersday-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.fathersday-image {
  flex: 1 1 300px;
  text-align: center;
}

.fathersday-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.fathersday-text {
  flex: 1 1 400px;
}

.fathersday-text ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.fathersday-text p {
  margin-bottom: 20px;
  font-size: 1.2rem;
  line-height: 1.6;
}

.buy-button {
  display: inline-block;
  background-color: #1e3a5f;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.buy-button:hover {
  background-color: #163151;
}

/* SP対応 */
@media screen and (max-width: 768px) {
  .fathersday-content {
    flex-direction: column;
  }

  .fathersday-title {
    font-size: 1.6rem;
  }

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

/* アニメーション効果 */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.buy-button {
  display: inline-block;
  padding: 12px 24px;
  color: white;
  background-color: #003366; /* 深い青 */
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.buy-button:hover {
  background-color: #ffffff;/* 少し濃く */
  color: #003366;
  transform: translateY(-2px); /* 少し浮かせる */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


.review-box {
  background-color: #f8f8f8;
  border-left: 5px solid #2c3e50;
  padding: 16px;
  margin: 24px 0;
  font-style: italic;
  border-radius: 8px;
}

.review-title {
  font-weight: bold;
  margin-bottom: 8px;
  color: #2c3e50;
}

.review-author {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #555;
}



.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.slider-wrapper {
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.slider-item {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 5px 0;
  text-align: center;
}

.slider-item img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ====== PC: 5枚横並び ====== */
@media screen and (min-width: 768px) {
  .slider-button {
    display: none;
  }

  .slider-track {
    transform: none !important;
    justify-content: center;
  }

  .slider-item {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* ====== SP: スライダー表示（1枚ずつ） ====== */
@media screen and (max-width: 767px) {
  .slider-button {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
  }

  .slider-button.prev {
    left: 10px;
  }

  .slider-button.next {
    right: 10px;
  }

  .slider-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* スマホ時、画像サイズを少し小さく */
@media screen and (max-width: 767px) {
  .slider-item img {
    width: 90%; /* 100%から90%に縮小 */
    margin: 0 auto;
  }

  .slider-indicators {
    text-align: center;
    margin-top: 10px;
  }

  .slider-indicators .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    transition: background-color 0.3s;
  }

  .slider-indicators .dot.active {
    background-color: #333;
  }
}
