@charset "UTF-8";
/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 背景スクロールを禁止 */
body {
  height: 100vh;
  overflow: hidden;
  font-family: sans-serif;
  background-color: #111;
}

/*  背景固定*/
.bg-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("img/puerh-oolong-tea-background.webp");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

/* 左・中・右の全体*/
.layout-container {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* 真上にくっつける */
  width: 100vw;
  height: 100vh;
}

/* 左（ロゴ） */
.left-branding {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100vh;
  padding-right: 40px;
}

/* 中央　*/
.center-wrapper {
  width: 100%;
  max-width: 420px;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 0;
}

.scroll-container {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero img {
  width: 100%;
}

/* 右 */
.right-sidebar {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100vh;
  padding-left: 40px;
}
.right-sidebar .floating-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 16px;
  width: 220px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.right-sidebar .card-title {
  font-size: 14px;
  font-weight: bold;
  margin-top: 10px;
}
.right-sidebar .card-sub {
  font-size: 11px;
  color: #666;
  margin-bottom: 15px;
}
.right-sidebar .card-btn {
  display: block;
  background: #e85a5a;
  color: #fff;
  text-decoration: none;
  padding: 10px;
  width: 100%;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.right-sidebar .card-btn:hover {
  background: #d44848;
}

/* 商品詳細画像 */
.detail-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ボタン */
.btn-container {
  width: 227px;
  margin-top: -162px;
  margin-left: 155px;
  padding: 10px 0 15px 0px;
}
.btn-container .cta-btn {
  display: inline-block;
  width: 90%;
  max-width: 280px;
  transition: opacity 0.3s ease;
}
.btn-container .cta-btn:hover {
  opacity: 0.85;
}
.btn-container img {
  width: 100%;
}

.question-section {
  text-align: center;
  width: 100%;
  line-height: 0;
  margin-top: 86px;
}
.question-section img {
  width: 100%;
}

/*FAQ*/
.faq {
  background-color: #f3f6ea;
  border-radius: 24px 24px 0px 0px;
  padding: 40px 20px;
  max-width: 680px;
  margin: -40px auto 0 auto;
  position: relative;
  z-index: 2;
}

/* 見出し部分 */
.faq h2 {
  text-align: center;
  color: #3b6b55;
  font-size: 28px;
  margin-bottom: 30px;
}

.faq h2 span {
  display: block;
  font-size: 14px;
  margin-top: 5px;
}

/* 質問リストを包むエリア */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px; /* カード同士の間隔 */
}

/* 個別の白い質問カード */
.faq-item {
  background: #ffffff;
  border-radius: 12px; /* 白いカードの角丸 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

/* 質問エリア全体（ボタン） */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center; /* 上下中央揃え */
  justify-content: space-between; /* 左側にテキスト、右側に矢印を配置 */
  gap: 10px; /* テキストと矢印の間隔 */
  padding: 19px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  color: #3b6b55;
  box-sizing: border-box;
}

/* ★ここが一番重要：テキスト部分が残り幅をすべて占有するようにする */
.faq-text {
  flex: 1;
  min-width: 0; /* テキストが長いはみ出しを防ぐため */
}

/* 矢印アイコンが縮まないように固定し、位置を綺麗に保つ */
.arrow-icon {
  width: 28px;
  height: 28px;
  background-color: #a8b3af;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0; /* 矢印の形やサイズが潰れるのを防ぐ */
  transition: transform 0.3s ease;
}

.arrow-icon::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(135deg); /* 下向き */
}

/* 開いたときの矢印回転 */
.faq-item.is-open .arrow-icon {
  transform: rotate(180deg);
}

/* 回答エリア */
.faq-answer {
  padding: 0 20px 20px 45px;
  border-top: 1px dashed #e2e8e0;
  display: none; /* 初期状態は非表示 */
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.7;
  color: #333333;
  margin-top: 15px;
}

/*メディアクエリ*/
@media screen and (max-width: 768px) {
  aside.left-branding {
    display: none;
  }
  aside.right-sidebar {
    display: none;
  }
  /* モバイル：アドレスバー表示時の高さ（svh）で固定＝最下部がバーに被らない */
  body {
    height: 100svh;
  }
  .layout-container {
    height: 100svh;
  }
  .center-wrapper {
    height: 100svh;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}
@media screen and (max-width: 380px) {
  .btn-container {
    width: 189px;
    margin-top: -142px;
    margin-left: 130px;
    padding: 10px 0 15px 0px;
  }
}
