
.container {
  margin: 0;
  line-height: 1.7;
}

.container img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
display: block;
margin: 0 auto;
}

.container a {
  color: #881e21;
  text-decoration: none;
}
.container a:hover {
  opacity: 0.8;
}

/* ヘッダー */
.header {
  width: 95%;
  max-width: 960px;
  margin: 0 auto;
}

.header__title {
  margin: 16px 0;
}

.mokuji {
  list-style: none;
  padding: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.mokuji li {
  margin-bottom: 8px;
}
.mokuji a::before {
  content: '▶';
  margin-right: 8px;
}


/* セクション共通 */
.section {
  padding: 30px 0;
}
.section:nth-child(even) {
    background-color: #faefeb;
}

.section__title {
  font-family: 'Sawarabi Mincho', 'Yu Mincho', serif;
  font-size: 2rem !important;
  text-align: center;
  margin-bottom: 24px;
border-top: none !important;
}

.section__content {
  width: 95%;
  max-width: 800px;
  margin: 0 auto;
}

/* レビューセクション */
.review {
    margin-bottom: 2rem;
}

.review__item {
    text-align: center;
    margin-bottom: 1rem;
}
.review__item img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.chat {
  margin-bottom: 1rem;
}

.chat__bubble {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  position: relative;
}
.chat__bubble::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -10px;
    border: 10px solid transparent;
    border-right-color: #fff;
}
.chat__author {
    text-align: right;
    font-style: italic;
    font-size: 0.9rem;
}
.highlight {
    background: linear-gradient(transparent 60%, #ffc107 60%);
}

/* アコーディオン (Q&A) */
.accordion__item {
  margin-bottom: 8px;
}

.accordion__title {
  width: 100%;
  background: #fff;
  border: none;
  padding: 16px;
  font-size: 1rem;
  font-weight: bold;
  text-align: left;
  cursor: pointer;
  position: relative;
}

.accordion__title::after {
  content: '+';
  position: absolute;
  right: 16px;
  font-size: 1.5rem;
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #fff;
  padding: 0 16px;
}

/* 商品一覧 */
.product-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.product-filters fieldset {
  /* border: 1px solid #ccc;
  border-radius: 8px; */
}

.product-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.product-card {
  border: 1px solid #ccc;
  text-align: center;
}
.product-card a {
  display: block;
  padding: 8px;
    flex-flow: column;
  color: var(--text-color);
}
.product-card h3 {
  font-size: 1rem;
  margin: 8px 0;
}
.product-card p {
  font-size: 0.9rem;
  display: none; /* スマホでは非表示 */
}
.product-card span {
  background: #666;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
  margin-top: 8px;
}

/* CTAバナー */
.cta-banner {
  padding: 24px 0;
  text-align: center;
}

.cta-banner__link {
  display: inline-block;
  background: #881e21;
  color: #fff !important;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  width: 90%;
  max-width: 600px;
  box-sizing: border-box;
}
.cta-banner__link:hover {
    background-color: #bb7b7d;
    color: var(--main-color) !important;
}

/* フッター */
.footer {
    text-align: center;
    padding-bottom: 24px;
}


/* PC表示 (769px以上) */
@media (min-width: 769px) {
  .section__title {
    font-size: 2rem;
  }
  
  .media-grid {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .review {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  
  .review__item {
      flex: 0 0 180px; /* 画像の幅を固定 */
  }

  .chat__bubble::before {
      left: -15px;
      border-width: 8px;
  }

  .product-list {
    grid-template-columns: 1fr 1fr; /* PCでは2列 */
  }

  .product-card a {
    display: flex;
    text-align: left;
    gap: 16px;
  }

  .product-card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
  }
  .product-card p {
    display: block; /* PCでは説明文を表示 */
  }
}

/* アコーディオン (Q&A) */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}
.accordion__item {
  border-bottom: 1px solid #ddd;
}
.accordion__item:first-child {
  border-top: 1px solid #ddd;
}

.accordion__title {
  width: 100%;
  background: none;
  border: none;
  padding: 16px;
  font-size: 1rem;
  font-weight: bold;
  text-align: left;
  cursor: pointer;
  position: relative;
  color: var(--text-color);
}

.accordion__title::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 16px;
  font-size: 1.5rem;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

/* 開いているときのボタンのスタイル */
.accordion__title[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(45deg);
}

.accordion__content {
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  max-height: 0;
}
.accordion__content > p {
    padding: 0 16px 16px;
    margin: 0;
}
.accordion__content > a {
    padding: 0 16px 16px;
    display: block;
}

/* 回答内の商品ギャラリー */
.product-gallery {
    display: flex;
    gap: 16px;
    padding: 0 16px 16px;
    justify-content: center;
}
.product-gallery a {
    text-align: center;
    color: var(--text-color);
    font-size: 0.9rem;
}
.product-gallery img {
    max-width: 150px;
}