/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 背景（グリーン＋全面背景画像） */
body {
  background-color: #FAF1B6;
  background-image: url("../img/bg-img.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  /* スクロールしても背景は固定 */

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  font-family: 'Noto Sans JP', sans-serif;
  position: relative;
  z-index: 1;
}

/* 背景ロゴ（右スペース中央に固定） */
.bg-logo {
  position: fixed;
  top: 40%;
  left: 50%;
  width: calc((100vw - 500px) / 2);
  height: 100vh;
  transform: translate(250px, -50%);
  background-image: url("../img/bg-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

/* h1を非表示にするためのCSS (必要に応じてstyle.cssに移してください) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* LP用のセクションタイトルを目立たせるためのスタイル例 */
.lp-section-title {
  font-size: 1.5rem;
  /* サイズは適宜調整 */
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  /* 画像の代わりに使用する場合は、見た目をCSSで整えてください */
}

/* ロゴ表示領域が元の50%以下になるウィンドウ幅で非表示 */
@media screen and (max-width: 1000px) {
  .bg-logo {
    display: none;
  }
}

/* 中央コンテンツ */
.wrapper {
  width: 100%;
  max-width: 500px;
  background-color: white;
  position: relative;
  z-index: 1;
  top: 0;
  margin-bottom: 0;
  /* === 修正点: これを追加することで横スクロールを抑制します === */
  overflow-x: hidden;
  /* ======================================================= */
}

/* スマホ時の固定ボタンの底上げ */
@media screen and (max-width: 500px) {
  .wrapper {
    margin-bottom: 0;
  }
}

/* メインビジュアル画像 */
.mobile-container img {
  width: 100%;
  display: block;
}

.section-title {
  padding: 60px 24px 0;
  font-size: clamp(26px, 6.933vw, 34.67px);
  /* 375px-500pxの幅で可変 */
  color: #006934;
  letter-spacing: 0.05em;
  /* トラッキング50 */
  text-align: center;
  font-weight: 500;
  /* 中太に設定 */
  font-feature-settings: "palt";
  /* 日本語カーニング */
}

.catchphrase {
  padding: 20px 24px 40px;
  font-size: clamp(16px, 4.267vw, 21.33px);
  /* 375px-500pxの幅で可変 */
  line-height: 45px;
  color: #444;
  text-align: center;
}

.underline {
  text-decoration: underline;
  text-decoration-color: #006934;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

/* 固定ボタン */
.fixed-button {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 58px;
  background-color: #d13c52;
  color: #fff;
  font-size: 16px;
  text-align: center;
  line-height: 58px;
  border-radius: 0;
  z-index: 1000;
  text-decoration: none;
  font-weight: bold;
  /* 書体をボールドに */
}

.fixed-button .button-small-text {
  font-size: 0.8em;
  /* 親要素のフォントサイズに対して80%の大きさ */
}

/* 横スライドカード：覗き見効果あり */
.card-slider {
  display: flex;
  gap: 32px;
  /* カード間隔 */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 16px;
  /* 左右余白16px */
  -webkit-overflow-scrolling: touch;
  scroll-padding-left: 16px;
  /* スナップ位置を16px起点に */
}

.card-slider::-webkit-scrollbar {
  display: none;
}

.card {
  flex: 0 0 85%;
  /* 85%にして「次のカードが少し見える」 */
  scroll-snap-align: start;
}

.card img {
  width: 100%;
  display: block;
}

/* PC表示時のボタンサイズ調整 */
@media screen and (min-width: 501px) {
  .fixed-button {
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 80px;
    line-height: 80px;
    font-size: 22px;
  }
}

.price {
  font-size: clamp(20px, calc(6.4vw - 4px), 28px);
  /* スマホ(375px)で20px、PC(500px以上)で最大28pxに可変 */
  color: #444;
  margin-top: 8px;
  margin-bottom: 40px;
  margin-left: 1.4rem;
  line-height: 1.5;
}

.price .price-unit {
  font-size: 90%;
  /* 親要素(price)の90%のサイズ */
  font-weight: normal;
  margin-left: 2px;
}

.price .price-note {
  font-size: 60%;
  /* 親要素(price)の60%のサイズ */
  font-weight: normal;
  margin-left: 2px;
}

.cta-container {
  text-align: center;
  margin-bottom: 40px;
}

/* CTAボタン */
.cta-button {
  display: block;
  width: 90%;
  max-width: 400px;
  margin: 0 auto;
  /* 上マージンを0にし、priceのmargin-bottomを活かす */
  padding: 18px 20px;
  background-color: #d13c52;
  color: #fff;
  font-size: clamp(18px, 6px + 3.2vw, 22px);
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 9999px;
  /* Pill shape */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.cta-note {
  font-size: clamp(16px, 10px + 1.6vw, 18px);
  color: #444;
  margin-top: 8px;
}

/* 注意事項全体の設定 */
.notice-text {
  border: 2px solid #d13c52;
  /* 赤色の2px実線ボーダーを追加 */

  /* 上下左右のパディング */
  padding: 20px 25px;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 20px;
  margin-right: 20px;
  border-radius: 8px;
  /* 角を少し丸くする */

  /* テキストの共通設定 */
  color: #d13c52;
  /* 注意を引く色 */
  font-size: 1rem;
  line-height: 1.6;
}

/* 「ご注意ください」のタイトル */
.notice-text .notice-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 30px;
  /* タイトルと本文の間に余白 */
  text-align: center;
  /* タイトルは中央揃え */
}

/* 本文（既に当店でご購入頂... の部分） */
.notice-text p {
  text-align: left;
  /* 左揃えに設定 */
  margin-bottom: 5px;
  /* 各行の間にわずかな余白 */
}

/* pタグの間の余白を調整 */
.notice-text p:first-of-type {
  /* 「既に当店で〜」の行 */
  margin-bottom: 5px;
}

.notice-text p:last-of-type {
  /* 「万が一、ご購〜」の行 */
  margin-bottom: 0;
}

/* よくある質問部分 */
.faq-section {
  padding: 30px 25px;
  background-color: #eeeeee;
}

.faq-title {
  text-align: center;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 1.38rem;
  color: #444;
}

.faq-item {
  border-top: 1px solid #444;
}

.faq-item:last-of-type {
  border-bottom: 1px solid #444;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.13rem;
  text-align: left;
  color: #444;
}

.faq-icon {
  border: 1px solid #ccc;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #888;
  flex-shrink: 0;
  margin-left: 15px;
}

.faq-answer {
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  max-height: 500px;
  /* Set a large enough max-height for open state*/
  padding: 0 15px 20px;
  color: #444;
  font-size: 1.1rem;
  line-height: 1.8;
}

.faq-answer p {
  margin: 0;
}

/* 回答の折りたたまれた状態 */
.faq-answer.collapsed {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* フッター部分 */
.footer {
  background-color: #030134;
  color: #fff;
  text-align: left;
}

.footer-main {
  padding: 25px 30px;
}

.seller-title {
  font-size: 1rem;
  margin: 0 0 15px 0;
}

.logo-subtext {
  font-size: 0.9rem;
  margin: 0;
}

.logo-maintext {
  font-size: 1.8rem;
  margin: 5px 0 20px 0;
  font-weight: 500;
  letter-spacing: 2px;
}

.store-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 4px;
}

.contact-info {
  font-size: 1rem;
  line-height: 1.6;
}

.contact-info p {
  margin: 5px 0;
}

.store-name {
  font-weight: 700;
}

.reception-time {
  font-size: 0.8rem;
}

.footer-sub {
  background-color: var(--dark-blue-secondary);
  padding: 15px;
  display: flex;
  /* justify-content: center; */
  gap: 25px;
  border-top: 1px solid;
}

.footer-sub a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.88rem;
}

.copyright {
  background-color: #fff;
  padding: 12px;
}

.copyright p {
  margin: 0;
  font-size: 0.75rem;
  color: #000;
  text-align: center;
}

/* スクロールアニメーション */
.scroll-animation {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.from-left {
  transform: translateX(-50px);
}

.from-right {
  transform: translateX(50px);
}

.scroll-animation.is-visible {
  opacity: 1;
  transform: translateX(0);
}


/* マージン・パディング */
.mb5 {
  margin-bottom: 5px;
}

.mb10 {
  margin-bottom: 10px;
}

.mb20 {
  margin-bottom: 20px;
}

.mb30 {
  margin-bottom: 30px;
}

.mb40 {
  margin-bottom: 40px;
}

.mb50 {
  margin-bottom: 50px;
}

.mb60 {
  margin-bottom: 60px;
}

.mb70 {
  margin-bottom: 70px;
}

.mb80 {
  margin-bottom: 80px;
}

.mb90 {
  margin-bottom: 90px;
}

.mb100 {
  margin-bottom: 100px;
}

.mt5 {
  margin-top: 5px;
}

.mt10 {
  margin-top: 10px;
}

.mt20 {
  margin-top: 20px;
}

.mt30 {
  margin-top: 30px;
}

.mt40 {
  margin-top: 40px;
}

.mt50 {
  margin-top: 50px;
}

.mt60 {
  margin-top: 60px;
}

.mt70 {
  margin-top: 70px;
}

.mt80 {
  margin-top: 80px;
}

.mt90 {
  margin-top: 90px;
}

.mt100 {
  margin-top: 100px;
}

.mr5 {
  margin-right: 5px;
}

.mr10 {
  margin-right: 10px;
}

.mr20 {
  margin-right: 20px;
}

.mr30 {
  margin-right: 30px;
}

.mr40 {
  margin-right: 40px;
}

.mr50 {
  margin-right: 50px;
}

.mr60 {
  margin-right: 60px;
}

.mr70 {
  margin-right: 70px;
}

.mr80 {
  margin-right: 80px;
}

.mr90 {
  margin-right: 90px;
}

.mr100 {
  margin-right: 100px;
}

.ml5 {
  margin-left: 5px;
}

.ml10 {
  margin-left: 10px;
}

.ml20 {
  margin-left: 20px;
}

.ml30 {
  margin-left: 30px;
}

.ml40 {
  margin-left: 40px;
}

.ml50 {
  margin-left: 50px;
}

.ml60 {
  margin-left: 60px;
}

.ml70 {
  margin-left: 70px;
}

.ml80 {
  margin-left: 80px;
}

.ml90 {
  margin-left: 90px;
}

.ml100 {
  margin-left: 100px;
}

.pb5 {
  padding-bottom: 5px;
}

.pb10 {
  padding-bottom: 10px;
}

.pb20 {
  padding-bottom: 20px;
}

.pb30 {
  padding-bottom: 30px;
}

.pb40 {
  padding-bottom: 40px;
}

.pb50 {
  padding-bottom: 50px;
}

.pb60 {
  padding-bottom: 60px;
}

.pb70 {
  padding-bottom: 70px;
}

.pb80 {
  padding-bottom: 80px;
}

.pb90 {
  padding-bottom: 90px;
}

.pb100 {
  padding-bottom: 100px;
}

.pt5 {
  padding-top: 5px;
}

.pt10 {
  padding-top: 10px;
}

.pt20 {
  padding-top: 20px;
}

.pt30 {
  padding-top: 30px;
}

.pt40 {
  padding-top: 40px;
}

.pt50 {
  padding-top: 50px;
}

.pt60 {
  padding-top: 60px;
}

.pt70 {
  padding-top: 70px;
}

.pt80 {
  padding-top: 80px;
}

.pt90 {
  padding-top: 90px;
}

.pt100 {
  padding-top: 100px;
}

.pr5 {
  padding-right: 5px;
}

.pr10 {
  padding-right: 10px;
}

.pr20 {
  padding-right: 20px;
}

.pr30 {
  padding-right: 30px;
}

.pr40 {
  padding-right: 40px;
}

.pr50 {
  padding-right: 50px;
}

.pr60 {
  padding-right: 60px;
}

.pr70 {
  padding-right: 70px;
}

.pr80 {
  padding-right: 80px;
}

.pr90 {
  padding-right: 90px;
}

.pr100 {
  padding-right: 100px;
}

.pl5 {
  padding-left: 5px;
}

.pl10 {
  padding-left: 10px;
}

.pl20 {
  padding-left: 20px;
}

.pl30 {
  padding-left: 30px;
}

.pl40 {
  padding-left: 40px;
}

.pl50 {
  padding-left: 50px;
}

.pl60 {
  padding-left: 60px;
}

.pl70 {
  padding-left: 70px;
}

.pl80 {
  padding-left: 80px;
}

.pl90 {
  padding-left: 90px;
}

.pl100 {
  padding-left: 100px;
}

/* 会社情報フッター */
.footer {
  width: 100%;
  max-width: 500px;
  background-color: #ffffff;
  padding: 0 0 30px 0;
  margin-top: 0;
  text-align: center;
}

.footer-content {
  max-width: 500px;
  margin: 0 auto;
}

.footer-content p {
  margin: 4px 0;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.3;
}

.footer-content .company-name {
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 12px;
}

.footer-content .company-address {
  font-size: 1.2rem;
}

.footer-content .company-tel {
  font-size: 1.2rem;
  font-weight: 500;
}

.footer-content .company-url a {
  color: #006934;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-content .company-url a:hover {
  opacity: 0.7;
  text-decoration: underline;
}