/* ========== 基本リセット ========== */

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Serif JP', serif;
  background: #ffffff;
  color: #333;
  text-align: center;
}

body, html {
  overflow-x: hidden;
}

/* ========== PC時に文字サイズ変更と余白を変える ========== */
 
p {
  padding-left: 5%;
  padding-right: 5%;
  margin-top: 5%;
  margin-bottom: 5%;
  box-sizing: border-box;
  line-height: 2;
}




/* ========== PC時に文字サイズ変更と余白を変える ========== */


h1 {
  white-space: nowrap;
  font-size: 5vw; /* 画面幅に応じて自動調整 */
}



@media screen and (min-width: 768px) {
  h1, h2 {
    font-size: 40px;
    margin-top: 10%;
    margin-bottom: 5%;
    
  }
}



/* ========== 訴求画像を全画面に ========== */
.main-visual {
  position: relative;
  width: 100%;
}

.main-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ロゴ左上固定 */
.main-logo {
  position: absolute;
  top: 5%;
  left: 5px;
  z-index: 10;
  max-width: 180px;
  height: auto;
}

/* 共通：縦書きのキャッチコピー */
.catch-copy {
  position: absolute;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: 'Noto Serif JP', serif;
  font-weight: bold;
  font-size: 40px;
  color: #fffaf0; /* アイボリー系（白すぎない） */
  text-shadow:
    2px 2px 6px rgba(0, 0, 0, 0.4), /* 外側に濃い影 */
    0 0 4px rgba(0, 0, 0, 0.3);     /* ふんわり影 */
  line-height: 1.8;
  white-space: nowrap; /* ← 追加：折り返しなし */
}

/* 右上に配置 */
.catch-top {
  top: 10%;
  right: 2%;
  font-size: 20px;
}

/* 左下に配置 */
.catch-bottom {
  bottom: 5%;
  left: 2%;
  font-size: 20px;
}

/* PC時にフォント拡大 */
@media screen and (min-width: 768px) {
  .catch-top,
  .catch-bottom {
    font-size: 40px;
  }
}



.responsive-full {
  width: 100%; 
  max-width: 100%;
  height: auto;
  margin: 0;
  margin-bottom: 10%;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.responsive-full img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (min-width: 768px) {
  .responsive-full {
    width: 100vw;
    height: auto;
  }
  .responsive-full img {
    width: 100%;
    max-width: none;
    object-fit: cover; /* PCは画面いっぱいに表示 */
  }
}
/* ========== nav ========== */

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;   /* ← 画面サイズに応じて等間隔に配置 */
  gap: 0.5rem;
  padding: 0;
  margin: 0 auto;
  list-style: none;
  max-width: 1000px;               /* ← 画面端まで広がりすぎないように制限 */
}

.main-nav li {
  flex: 1 1 auto;                  /* ← 幅を自動で均等に伸ばす */
  text-align: center;
  min-width: 120px;               /* ← スマホでも極端に狭くならないように */
}

.main-nav li a {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  color: #fff;
  background: #c73e3a;
  border-radius: 2rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.main-nav li a:hover {
  background: #a6302d;
  transform: scale(1.1);
}

/* PC表示で折り返しさせたくないとき */
@media screen and (min-width: 768px) {
  .main-nav ul {
    flex-wrap: nowrap;
  }
}

@media screen and (max-width: 768px){
  .main-nav{
    display: none;
  }
}

/* スマホ用ナビ */
/* ハンバーガーアイコン */
/* スマホのみ表示 */
@media screen and (max-width: 767px) {
  .hamburger-icon {
    display: flex;
    position: fixed;
    top: 15px;
    right: 15px;
  }

  /* メニュー初期状態は非表示 */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    z-index: 1500;
    padding-top: 60px;
  }

  /* メニュー表示時 */
  .mobile-menu.open {
    right: 0;
  }

  .mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .mobile-menu li a {
    display: block;
    padding: 10px;
    font-size: 18px;
    text-decoration: none;
    color: #fff;
    background: #c73e3a;
    border-radius: 25px;
    margin: 0 20px;
  }

  .mobile-menu li a:hover {
    background: #a6302d;
  }

/* ハンバーガーメニューのアイコン */
#hamburger-icon {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 22px; /* 高さはバーの合計分 */
  cursor: pointer;
  z-index: 1001;
  display: block;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  background: transparent;
  border: none;
}

#hamburger-icon span {
  display: block;
  height: 4px;       /* バーの太さ */
  background-color: #c73e3a;
  border-radius: 2px;
  width: 100%;
}


/* クローズボタン */
#close-btn {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1100; /* ハンバーガーより上に */
  display: none; /* デフォルトは非表示 */
}

/* メニューを開いた時 */
#mobile-menu.open #hamburger-icon {
  display: none; /* メニュー表示中は非表示 */
}

#mobile-menu.open #close-btn {
  display: block; /* メニュー表示中はクローズ表示 */
}


  /* 既存のスクロールナビはスマホでは非表示 */
  .scroll-nav {
    display: none;
  }
}

@media (min-width: 769px) {
    .mobile-menu {
display: none;
  }
}

 /* 横幅統一 */
.main-nav li a {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  color: #fff;
  background: #c73e3a;
  border-radius: 2rem;
  transition: background 0.3s ease, transform 0.3s ease;
  min-width: 8em; /* ← 最大の文字数に合わせて調整（例：ランキング） */
  text-align: center;
}


/* ========== ヘッダー（全画面背景） ========== */
header {
  width: 100vw;
  margin: 0;
  padding: 0;
}

/* ========== ラッパー ========== */
.wrapper {
  max-width: 1980px;    /* PC用の最大幅 */
  width: 100%;          /* 幅は常に100% */
  margin: 0 auto;
  position: relative;
  text-align: center;
  box-sizing: border-box; /* パディング込みで幅を計算 */
}

/* スマホ用調整 */

@media (max-width: 767px) {
  .wrapper {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden; /* 横スクロール防止 */
  }
}



/* ========== タイトル縦書き ========== */
h1 {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 40px;
  font-weight: bold;
  line-height: 1.8;
  margin: 0 auto;
  padding: 1rem;
  margin: 10% auto;
}
.title{
  background: #f3f3f3;
  padding: 5% ;
  margin: 0;
}


/* ========== スライダー ========== */

.banner-track {
  display: block !important; /* slickがflexを使うので必要に応じて */
  margin-top: 1.5rem; /* お好みで調整 */
}

@media (min-width: 769px) {
  .banner-wrapper {
    max-width: 1200px;   /* バナーの横幅を制限 */
    margin: 0 auto;      /* 中央寄せ */
  }

  .banner-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain; /* はみ出さないように */
  }

.slick-track {
  display: flex !important;  /* slickがblock指定する場合のずれ防止 */
}

.slick-slide {
  margin: 0 !important;      /* スライド間の余白をリセット */
}

.slick-slide img {
  width: 100%;
  display: block;
}

}

@media screen and (max-width: 767px) {
  .banner-wrapper {
    width: 100vw;       /* 画面幅にフィット */
    margin-left: 0;     /* 中央寄せ */
  }

  .banner-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain; /* 画像全体が収まるように */
  }
}




/* ========== ドットナビゲーション ========== */
/* ドットナビゲーションを横並びに強制 */
.slick-dots {
  display: flex !important;
  flex-direction: row !important; /* 横方向に強制 */
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.slick-dots li {
  display: inline-block !important; /* 縦積み防止 */
}

.slick-dots li button {
  display: block;
}



/* ========== ホバー拡大 ========== */
.hover-zoom {
  transition: transform 0.4s ease;
}

.hover-zoom:hover {
  transform: scale(1.05);
}

/* ========== 商品カード例 ========== */
ul {
  display: flex;
  flex-wrap: wrap;
  gap: 30px; /* カード間の余白 */
  padding: 0;
  margin: 0 auto;
  list-style: none;
  max-width: 1200px;
  justify-content: center;
}

/* 商品カード */
ul li {
  flex: 1 1 calc(33.333% - 30px); /* 3列表示、gap分引く */
  max-width: 350px;               /* カードの最大幅を制限 */
  box-sizing: border-box;
}

.product-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  width: 100%; /* 親liに依存させる */
  overflow: hidden;
}

.product-image {
  width: 80%;
  display: block;
  margin: 2rem auto;
  border-radius: 12px;
}

.product-info {
  padding: 1rem;
  text-align: center;
}

.product-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

.product-price-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}


/* スマホ時の商品カードを1列中央寄せ */
@media screen and (max-width: 767px) {
  ul {
    flex-direction: column;
    align-items: center; /* 中央寄せ */
    gap: 1.5rem;
  }

  ul li {
    flex: none;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .product-card {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .card-row {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  .product-rank-card {
    flex: none;
    width: 100%;
    max-width: 350px;
    margin: 0 auto 1.5rem;
  }
}





/* タブ切り替えボタン */
/* タブボタン全体 */
.tab-buttons {
  display: flex;
  margin-bottom: 16px;
  gap: 4px;
}

/* 非アクティブタブ */
.tab-btn {
  position: relative;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-bottom: none;
  padding: 8px 20px;
  font-size: 14px;
  color: #999;
  cursor: pointer;
  outline: none;
  margin-bottom: -2px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  box-shadow: inset 0 -2px 3px #eee;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  z-index: 1;
}

.tab-btn:hover {
  background: #ececec;
  border-color: #ccc;
  color: #666;
}

/* アクティブタブ（選択中） */
.tab-btn.active {
  background: #fff;
  color: #333;
  font-weight: bold;
  border: 2px solid #bbb;       /* ← 枠線を少し濃く（2px、色も#bbbに） */
  border-bottom: 2px solid #fff; /* 下線は白にして消す */
  margin-bottom: 0;
  box-shadow: none;
  z-index: 2;
}



/* タブコンテンツ */
.tab-container {
  border: none; /* ボーダー削除 */
  padding: 16px;
  background: #fff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}



/* 商品カードは既存の .product-rank-card を使用 */


.free-shipping {
  background-color: #c00;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 0.2em 0.5em;
  border-radius: 4px;
}

.price {
  font-size: 18px;
  color: #c00;
}

.price strong {
  font-size: 22px;
}

/* ========== 商品はこちらボタン ========== */
.btn {
  display: inline-block;
  background-color: #c73e3a;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 10%;
}

.btn:hover {
  background-color: #992d2b;
}

/* ========== ランキング商品カード ========== */
.product-rank-card {
  width: 300px;
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  margin: 0 auto;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.product-rank-card:hover {
  transform: scale(1.25);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.rank {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.product-name {
  font-size: 20px;
  margin: 0.5rem 0 1rem;
}

.product-rank-card .product-image {
  width: 100%;
  margin: 0 auto;
}

.product-rank-card .product-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}


.product-description {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.price-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 16px;
}

/* ランキングカードの親コンテナ */
.card-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem; /* ← 2rem から 1rem に変更して幅を狭める */
  padding: 2rem;
  text-align: left;
}

.product-title {
  font-size: 20px;
  font-weight: bold;
}


/* 通常は自由な並び */
.card-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  text-align: left;
}

/* 順番指定用クラス（通常は影響なし） */
.rank-1 {
  order: 0;
}
.rank-2 {
  order: 0;
}
.rank-3 {
  order: 0;
}

/* レスポンシブ時に順番変更 */
@media screen and (max-width: 768px) {
  .rank-1 {
    order: 1; /* 1位を一番最初に */
  }
  .rank-2 {
    order: 2;
  }
  .rank-3 {
    order: 3;
  }
}
/* ランキングカードの親コンテナ */
.card-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  text-align: left;
  /* デフォルトは3列表示のために幅を調整 */
}

/* ランキングカード自体 */
.product-rank-card {
  flex: 1 1 calc((100% / 3) - 2rem); /* 3列幅 */
  max-width: 350px; /* 必要に応じて */
  box-sizing: border-box;
}

/* スマホは1列表示 */
@media screen and (max-width: 767px) {
  .card-row {
    flex-direction: column;
    padding: 1rem;
  }
  .product-rank-card {
    flex: none;
    max-width: 100%;
    width: 100%;
    margin-bottom: 1.5rem;
  }
}


/* ========== 背景 ========== */
#naire-ather, #nomikurabe{
  background: #f3f3f3;
}

#amazake, #ranking, #amazake, .naire-ather, #nomikurabe, .otsumami{
  padding-bottom: 10%;
}

/* 見出し装飾 */
h2 {
  font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'HGS明朝E', 'ＭＳ Ｐ明朝', serif;
  position: relative;
  padding: 1.5rem 2rem;
  z-index: 1;
  text-align: center;
  display: inline-block;
}

/* 横ラインを画面いっぱいに伸ばす */
h2::before,
h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw; /* ← 画面幅いっぱい */
  height: 4px;
  background-image: linear-gradient(135deg, #704308 0%, #ffce08 40%, #e1ce08 60%, #704308 100%);
  z-index: -1; /* h2の下にする */
}

h2::before {
  top: 0;
}

h2::after {
  bottom: 0;
}

/* 横からスライドイン */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px); /* ← 左から */
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.show {
  opacity: 1;
  transform: translateX(0);
}

/* 安心のギフトサービスについて */
.gift-info-container {
  max-width: 960px;
  margin: 3rem auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 1rem;
}

/* PC以上は横並び（2列）に */
@media screen and (min-width: 768px) {
  .gift-info-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gift-card {
  background: #f9f4e9;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  box-shadow:
    inset 3px 3px 6px rgba(199, 62, 58, 0.3),
    inset -3px -3px 6px rgba(255, 255, 255, 0.7);
  font-family: 'ヒラギノ明朝 Pro W3', serif;
}

.gift-card-title {
  margin: 0 0 0.8rem;
  font-size: 1.6rem;
  color: #c73e3a;
  font-weight: bold;
  border-bottom: 2px solid #c73e3a;
  padding-bottom: 0.3rem;
  letter-spacing: 0.05em;
}

.gift-card-text {
  margin: 0;
  font-size: 1.1rem;
  color: #4a4a4a;
  line-height: 1.6;
}

/* ========== footerデザイン ========== */

#footer {
  background-color: #f3f3f3;
  padding: 40px 20px;
  font-family: 'Noto Serif JP', serif;
  color: #333;
  text-align: center;
}

#footer .wrap {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* 均等配置 */
  flex-wrap: wrap;
  gap: 40px;
  padding-left: 0; /* PCは余白なし */
  width: 100%; /* 幅いっぱいに */
}

#footer .box {
  flex: 1 1 0;  /* 均等に広がる */
  min-width: 180px;
  text-align: left;
}

#footer h3 {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 2px solid #c73e3a;
  padding-bottom: 5px;
  color: #c73e3a;
}

#footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  /* ここはblockにして縦並び維持 */
  display: block;
}

#footer ul li {
  margin-bottom: 8px;
  display: block; /* 縦に並べる */
  padding-left: 20px;
}

#footer ul li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer ul li a:hover {
  color: #c73e3a;
}

#footer address a {
  color: #c73e3a;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  padding-left: 20px;
}

#footer .mail a {
  display: inline-block;
  margin-top: 10px;
  color: #c73e3a;
  text-decoration: underline;
  font-weight: 600;
  padding-left: 20px;
}

.back-top {
  margin: 30px 0 10px;
}

.back-top a {
  color: #c73e3a;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

/* スマホ用に左余白を追加 */
@media (max-width: 767px) {
  #footer .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-left: 10px; /* 左に余白 */
  }
  #footer .box {
    flex: none;
    width: 100%;
  }
}






/* ======= トップに戻るボタン (.back-to-top) ======= */
.back-to-top {
  position: fixed;
  bottom: 60px;
  right: 40px;
  font-size: 24px;
  z-index: 1000;
  background-color: #333;
  color: white;
  padding: 10px 15px;
  border-radius: 50%;
}

@media (max-width: 767px) {
  .back-to-top {
    display: none !important;
  }
}




/* ロゴ */
/* デフォルトはスマホ用 */
.logo img {
  width: 100px;
  height: auto;
}

/* PCだけ調整 */
@media screen and (min-width: 768px) {
  .logo {
    margin: 50px auto;
    max-width: 300px; 
  }
}

/* スマホ用（768px未満）のタイトル調整 */
@media screen and (max-width: 767px) {
  h1, h2 {
    font-size: 20px; /* 例：見やすいサイズに */
    margin-top: 5%;
    margin-bottom: 3%;
  }
}



.footer-logo-link img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


/*----Q&A---- */


.gift-wrapper {
  background: #f8f9fb;
  padding: 60px 0;
}

.gift-service {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.gift-service h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #0071bc;
  font-weight: bold;
  border-bottom: 3px solid #0071bc;
  display: inline-block;
  padding-bottom: 6px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.service-list li {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 20px;
  flex: 1 1 250px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.service-list li:hover {
  transform: translateY(-5px);
}

.service-list .icon {
  font-size: 1.6rem;
  color: #0071bc;
  flex-shrink: 0;
}



.gift-column {
  max-width: 900px;
  margin: 100px auto;
  padding: 30px;
  background: #f9f4e9;
  border-left: 5px solid #c73e3a;
  border-radius: 10px;
}

.gift-column h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #333;
}

.gift-column p {
  margin-bottom: 30px;
  color: #555;
}


.accordion-container h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.accordion {
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.accordion-body {
  text-align: left;
}

.accordion-header {
  width: 100%;
  background: #ffffff;
  color: #003366;
  text-align: left;
  padding: 15px 15px 15px 40px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: #ffffff;
}

.accordion-header .symbol {
  position: absolute;
  left: 15px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.accordion-body {
  padding: 15px;
  display: none;
  color: #444;
  background: #fff;
  border-top: 1px solid #ddd;
}


