.c-pageTitle{
  display: none;
}
.c-postTitle{
  display: none;
}
.p-articleMetas{
  display: none;
}
.swell-thumb-gallery .mainSwiper img{
  width: 100%;
  height: auto;
  display: block;
}
.swell-thumb-gallery .thumbSwiper{
  margin-top: 12px;
}
.swell-thumb-gallery .thumbSwiper .swiper-slide{
  width: 80px;
  opacity: .5;
  cursor: pointer;
}
.swell-thumb-gallery .thumbSwiper .swiper-slide-thumb-active{
  opacity: 1;
}
.swell-thumb-gallery .thumbSwiper img{
  width: 100%;
  height: 60px;
  object-fit: cover;
  display: block;
}
.swell-thumb-gallery .swiper-slide img{
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.product-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 1rem;
}
.product-tags .tag{
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid #777777;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: #444;
}

/* =========================
   Parameter
========================= */
#parameter-container-pc,
#parameter-container-sp{
  display: flex;
  flex-direction: column;
  margin-bottom: 6rem;
}
.parameter-item{
  width: 100%;
  margin-bottom: 2rem;
}
.parameter-bar{
  position: relative;
  width: 100%;
  height: 20px;
}
.parameter-bar::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #d9d9d9;
  transform: translateY(-50%);
}
.parameter-bar::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#d9d9d9, #d9d9d9) 0% 50% / 6px 6px no-repeat,
    linear-gradient(#d9d9d9, #d9d9d9) 25% 50% / 6px 6px no-repeat,
    linear-gradient(#d9d9d9, #d9d9d9) 50% 50% / 6px 6px no-repeat,
    linear-gradient(#d9d9d9, #d9d9d9) 75% 50% / 6px 6px no-repeat,
    linear-gradient(#d9d9d9, #d9d9d9) 100% 50% / 6px 6px no-repeat;
}
.parameter-dot{
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: #222;
  transform: translate(-50%, -50%);
}
.parameter-edge-texts{
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 13px;
  color: #333;
}
@media screen and (min-width: 768px){
  #parameter-container-pc{
    width: 50%;
    margin-right: auto;
  }
}

/* =========================
   Article
========================= */
#after_article{
  display: none;
}
.p-articleFoot{
  display: none;
}

/* =========================
   Layout
========================= */
.content-wrapper{
  margin-top: 2rem;
}
.content-caram-wrapper{
  width: 90vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.share-btn{
  text-align: left;
}
.share-btn .swell-block-button__link{
  margin-left: 0;
  margin-right: auto;
}
.content-caram-wrapper .swell-block-columns__inner{
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
}
.content-caram-wrapper .swell-block-column:first-child{
  flex: 0 0 50%;
  max-width: 50%;
}
.content-caram-wrapper .swell-block-column:last-child{
  flex: 0 0 50%;
  max-width: 50%;
}
/* =========================
   Related Products
========================= */
.rn-related {
  margin-top: 80px;
  padding: 0 40px 100px;
  padding-top: 56px;
}

.rn-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.rn-related__card {
  display: block;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(16px);
  animation: rn-cardIn .5s ease forwards;
}
.rn-related__card:hover { opacity: 0.75; }
.rn-related__card:nth-child(1) { animation-delay: .05s }
.rn-related__card:nth-child(2) { animation-delay: .10s }
.rn-related__card:nth-child(3) { animation-delay: .15s }
.rn-related__card:nth-child(4) { animation-delay: .20s }
.rn-related__card:nth-child(5) { animation-delay: .25s }
.rn-related__card:nth-child(6) { animation-delay: .30s }
.rn-related__card:nth-child(7) { animation-delay: .35s }
.rn-related__card:nth-child(8) { animation-delay: .40s }

.rn-related__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #efefec;
}
.rn-related__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.rn-related__card:hover .rn-related__img { transform: scale(1.03); }

.rn-related__body { padding: 12px 0 0 0; }
.rn-related__cat {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #aaaaaa;
  margin-bottom: 6px;
}
.rn-related__title-en {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.rn-related__title-ja {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #6b6b6b;
  line-height: 1.5;
}

@media (max-width: 1100px) { .rn-related__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) {
  .rn-related { padding: 40px 16px 60px; }
  .rn-related__grid { grid-template-columns: repeat(2, 1fr); gap: 20px 8px; }
}
@media (max-width: 480px) {
  .rn-related { padding: 32px 12px 48px; }
  .rn-related__grid { grid-template-columns: repeat(2, 1fr); gap: 20px 6px; }
}
/* =========================
   フェードイン
========================= */
.content-caram-wrapper,
.wp-block-group.alignwide.sp_only {
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
}

/* transformはcontent-caram-wrapperが既にtranslateX(-50%)を使っているので
   sp_onlyのみtranslateYを適用 */
.content-caram-wrapper {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.content-caram-wrapper.is-loaded {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.wp-block-group.alignwide.sp_only {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.wp-block-group.alignwide.sp_only.is-loaded {
  opacity: 1;
  transform: translateY(0);
}