@charset "UTF-8";

.category-section{
width:100%;
min-width:360px;
max-width:1200px;
background-color:goldenrod;
margin:40px auto;
box-sizing:border-box;
}
.category-section__inner{
width:100%;
max-width:750px;
margin:0 auto;
padding:1rem;
box-sizing:border-box;
}
      .custom-area{
        margin-top:0 !important;
        margin-bottom:3.2rem !important;
      }

      .toggle-area{
        text-align:center;
        color:#fff;
      }
      
      .detail-area{
        display:grid;
        gap:1.6rem;
        grid-template-columns:repeat(1, 1fr);
        margin-bottom:5.6rem;
      }
      .detail-area h2,
      .review-area h2{
        color:#daa520;
        padding:1rem 2rem;
        margin:0 auto;
        background-color:#fff;
        font-size:2.4rem;
      }
      
      .detail-container{
        display:grid;
        gap:0;
        justify-content:center;
        grid-template-columns:1fr;
      }
      
      .detail-container *{
        font-size:1.8rem;
      }

    .category-section__inner .detail-container img{
        margin-top:0.8rem;
    }

    .category-section__inner .detail-container h3{
        margin-top:0.8rem;
    }
      
      .review-area{
        display:grid;
        gap:1.6rem;
        grid-template-columns:1fr;
      }
      
      .review-container{
        display:grid;
        gap:0;
        padding:1rem;
        grid-template-columns:2fr 5fr;
        align-items: center;
        background-color:#fff;
        color:#121212;
      }
      .review-box img{
        width:100%;
        display: block;
      }
      .review-box{
        padding:1rem;
      }
      .review-box p{
        text-align:left;
      }

@media screen and (min-width:768px){
      .custom-area{
        margin-top:2rem !important;
        margin-bottom:6.4rem !important;
      }
  
    .category-section__inner .detail-area h2, .review-area h2 {
        font-size: 2.8rem;
    }
    .category-section__inner .detail-container *{
        font-size: 2.4rem;
    }
      
      .review-container{
        grid-template-columns:1fr 4fr;
      }
}

  

/* ---------- 「商品特徴を見る」開閉 ---------- */

.more-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.toggle-container {
  position: relative;
  max-height: 300px;
  overflow: hidden;
  transition: max-height .55s ease;
}

.toggle-container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  background: linear-gradient(
    rgba(255, 255, 255, 0) 0%,
    #daa520 100%
  );
  pointer-events: none;
  transition: opacity .35s ease;
  z-index: 3;
}

.more-toggle:checked ~ .toggle-container {
  max-height: 4000px;
}

.more-toggle:checked ~ .toggle-container::after {
  opacity: 0;
}

.view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin:4rem auto 2.4rem;
  padding: 10px 20px;
  border-radius:5px;
  background: #fff;
  color: #daa520;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  cursor: pointer;
  user-select: none;
  transition: background .25s ease, color .25s ease;
}

.view-more-btn:hover {
  background: #966100;
  color: #fff;
}

.view-more-btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .3s ease;
}

.view-more-btn .close-toggle {
  display: none;
}

.more-toggle:checked ~ .view-more-btn .open-toggle {
  display: none;
}

.more-toggle:checked ~ .view-more-btn .close-toggle {
  display: inline;
}

.more-toggle:checked ~ .view-more-btn::after {
  transform: translateY(2px) rotate(225deg);
}

.more-toggle:focus-visible ~ .view-more-btn {
  outline: 2px solid #121212;
  outline-offset: 2px;
}