
@media screen and (max-width: 560px) {
.wonder-header .wonder-header-inner .wonder-header-logo-wrapper .wonder-header-main .wonder-header-logo img {
           height: auto !important;
           width: 200px !important;
           margin: auto !important;
           max-height: unset !important;
}
.wonder-header.section-main-container {
    height: 65px !important;
}
.wonder-header-main {
    height: 30px !important;
}
}


[data-section-type=product] .wonder-scroll-container.enabled.scroll-bar-top ul {
    margin-bottom: 10px !important;
}
[data-section-type=product] .wonder-scroll-container.enabled.scroll-bar-top ul li.wonder-product-list-li:last-of-type {
    margin-right: 10px !important;
}


    [data-section-type=product] .wonder-scroll-container .wonder-img-scroll-container {
        width: 100% !important;
    }
    [data-section-type=product] .card-container .wonder-product-list-li .wonder-product-img img {
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
    }
    [data-section-type=product] .card-container .wonder-product-list-li .wonder-product-img {
        height: 200px !important;
    }
    @media screen and (min-width: 561px) {
      .wonder-header[data-composition-type=D] .wonder-header-inner .wonder-header-logo-wrapper .wonder-header-main .wonder-header-logo img {
        height: auto !important;
        width: 375px !important;
        max-width: 375px !important;
        object-fit: contain !important;
      }
      .wonder-cv .wonder-cv-wrapper .wonder-cv-inner-content-wrapper .wonder-cv-title {
        margin-top: -10px !important;
      }
      .wonder-cv-title img {
        width: 31% !important;
        height: auto !important;
      }
      [data-section-type="reason"] .title-container img {
        height: auto !important;
        width: 40% !important;
        position: relative;
        top: 25px !important;
      }
    }
    @media screen and (max-width: 560px) {
      [data-section-type="reason"] .title-container img {
        height: auto !important;
        width: 70% !important;
        top: 15px !important;
      }
      .wonder-cv-title img {
        height: auto !important;
        width: 80% !important;
        top: unset !important;
        right: unset !important;
      }
    }
    .wonder-profile-txt-ttl02 img {
      height: auto !important;
      width: 250px !important;
    }


  /* === カード画像 ホバー白フェード === */
  [data-card-type="result-2"] [data-hover-magnify="1"] {
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    position: relative;
  }
  [data-card-type="result-2"] [data-hover-magnify="1"] img {
    transition: opacity 0.3s ease;
  }
  [data-card-type="result-2"] [data-hover-magnify="1"]:hover img {
    opacity: 0.4;
  }
  .wonder-lightbox-body [data-hover-magnify="1"]:hover img {
    opacity: 1;
  }

  /* === lightboxモーダル === */
  .wonder-lightbox-body .gallery-swiper .gallery-slide {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    box-sizing: border-box;
  }
  .wonder-lightbox-body .gallery-swiper .gallery-img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    object-fit: contain !important;
    background: #000;
    image-rendering: auto;
    margin: 0 auto;
  }
  @media screen and (max-width: 560px) {
    .wonder-lightbox-body .gallery-swiper .gallery-img { max-height: 55vh; }
  }

  .wonder-result-main-element .wonder-img-block.extra-pair,
  .col-el .wonder-img-block.extra-pair,
  .wonder-img-block.extra-pair {
    display: none !important;
  }

  .wonder-lightbox-body .pair-swiper {
    position: relative;
    width: 100%;
    overflow: hidden !important;
    padding-bottom: 28px;
    box-sizing: border-box;
  }
  .wonder-lightbox-body .pair-swiper > .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100%;
    height: auto !important;
    box-sizing: content-box;
    transition-property: transform;
  }
  .wonder-lightbox-body .pair-swiper > .swiper-wrapper > .swiper-slide {
    flex-shrink: 0 !important;
    width: 100% !important;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 0 8px;
  }
  .wonder-lightbox-body .pair-swiper .pair-swiper-button-prev,
  .wonder-lightbox-body .pair-swiper .pair-swiper-button-next {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .wonder-lightbox-body .pair-swiper .pair-swiper-button-prev { left: 4px; }
  .wonder-lightbox-body .pair-swiper .pair-swiper-button-next { right: 4px; }
  .wonder-lightbox-body .pair-swiper .pair-swiper-button-prev:hover,
  .wonder-lightbox-body .pair-swiper .pair-swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.85);
  }
  .wonder-lightbox-body .pair-swiper .pair-swiper-button-prev::after,
  .wonder-lightbox-body .pair-swiper .pair-swiper-button-next::after {
    content: '' !important;
    display: block;
    width: 14px;
    height: 14px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    font-family: inherit !important;
    font-size: 0 !important;
  }
  .wonder-lightbox-body .pair-swiper .pair-swiper-button-prev::after {
    transform: rotate(-135deg);
    margin-left: 6px;
  }
  .wonder-lightbox-body .pair-swiper .pair-swiper-button-next::after {
    transform: rotate(45deg);
    margin-right: 6px;
  }
  .wonder-lightbox-body .pair-swiper .swiper-button-disabled {
    opacity: 0.4;
    pointer-events: none;
  }
  .wonder-lightbox-body .pair-swiper .pair-swiper-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    text-align: center;
  }
  .wonder-lightbox-body .pair-swiper .pair-swiper-pagination .swiper-pagination-bullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #666;
    opacity: 0.6;
    margin: 0 4px;
    cursor: pointer;
  }
  .wonder-lightbox-body .pair-swiper .pair-swiper-pagination .swiper-pagination-bullet-active {
    background: #f67009;
    opacity: 1;
  }
  .wonder-lightbox-body .wonder-img-block,
  .wonder-lightbox-body .wonder-img-block.extra-pair {
    display: flex !important;
  }

  .wonder-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
    pointer-events: none;
  }
  .wonder-lightbox-overlay.is-open {
    display: flex;
    pointer-events: auto;
  }
  .wonder-lightbox-inner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  }
  .wonder-lightbox-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .wonder-lightbox-close:hover { background: rgba(0, 0, 0, 0.85); }
  .wonder-lightbox-body {
    padding: 16px;
    max-height: 90vh;
    overflow: auto;
  }
  .wonder-lightbox-body .wonder-img-block {
    display: flex;
    gap: 12px;
    width: 100%;
  }
  .wonder-lightbox-body .wonder-img-left,
  .wonder-lightbox-body .wonder-img-right {
    flex: 1;
    min-width: 0;
    position: relative;
  }
  .wonder-lightbox-body div.sub-style-status.wonder-img-index,
  .wonder-lightbox-body div.sub-style-status.wonder-img-index-right {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: 50% !important;
    max-width: none !important;
    padding: 10px 12px !important;
    text-align: center !important;
    z-index: 10 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  .wonder-lightbox-body div.sub-style-status.wonder-img-index > div,
  .wonder-lightbox-body div.sub-style-status.wonder-img-index-right > div {
    width: 100% !important;
  }
  .wonder-lightbox-body .wonder-img-index:not([style*="background"]) {
    background-color: #3f3f3f;
  }
  .wonder-lightbox-body .wonder-result-triangle { display: block; }
  .wonder-lightbox-body .wonder-result-img-wrapper { position: relative; }
  .wonder-lightbox-body .wonder-img-scroll-container { width: 100%; }
  .wonder-lightbox-body .swiper-wrapper-img img,
  .wonder-lightbox-body .wonder-img-scroll-container img {
    width: 100%;
    height: auto;
    max-height: 55vh;
    object-fit: contain !important;
    background: #000;
    display: block;
  }
  .wonder-lightbox-body .swiper-button-prev-img,
  .wonder-lightbox-body .swiper-button-next-img,
  .wonder-lightbox-body .swiper-pagination-img {
    display: none !important;
  }
  .wonder-lightbox-body .swiper-button-prev,
  .wonder-lightbox-body .swiper-button-next {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    --swiper-navigation-size: 22px;
  }
  .wonder-lightbox-body .swiper-button-prev:hover,
  .wonder-lightbox-body .swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.8);
  }
  .wonder-lightbox-body .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
  }
  .wonder-lightbox-body .swiper-pagination-bullet-active { opacity: 1; }

  @media screen and (max-width: 560px) {
    .wonder-lightbox-overlay { padding: 8px 4px; }
    .wonder-lightbox-inner { max-height: 95vh; border-radius: 4px; }
    .wonder-lightbox-close {
      top: 4px;
      right: 4px;
      width: 32px;
      height: 32px;
      font-size: 20px;
    }
    .wonder-lightbox-body { padding: 4px; }
    .wonder-lightbox-body .wonder-img-block {
      flex-direction: column !important;
      gap: 6px;
    }
    .wonder-lightbox-body .wonder-img-left,
    .wonder-lightbox-body .wonder-img-right { width: 100%; }
    .wonder-lightbox-body .wonder-result-triangle { display: none !important; }
    .wonder-lightbox-body .swiper-wrapper-img img,
    .wonder-lightbox-body .wonder-img-scroll-container img {
      max-height: 38vh;
    }
    .wonder-lightbox-body div.sub-style-status.wonder-img-index,
    .wonder-lightbox-body div.sub-style-status.wonder-img-index-right {
      width: 45% !important;
      padding: 6px 8px !important;
    }
    .wonder-lightbox-body div.sub-style-status.wonder-img-index span,
    .wonder-lightbox-body div.sub-style-status.wonder-img-index-right span {
      font-size: 13px !important;
    }
    .wonder-lightbox-body .pair-swiper .pair-swiper-button-prev,
    .wonder-lightbox-body .pair-swiper .pair-swiper-button-next {
      width: 38px;
      height: 38px;
    }
    .wonder-lightbox-body .pair-swiper .pair-swiper-button-prev::after,
    .wonder-lightbox-body .pair-swiper .pair-swiper-button-next::after {
      width: 10px;
      height: 10px;
      border-top-width: 2px;
      border-right-width: 2px;
    }
    .wonder-lightbox-body .pair-swiper .pair-swiper-pagination .swiper-pagination-bullet {
      width: 6px;
      height: 6px;
      margin: 0 3px;
    }
  }
  

  #memo::placeholder {
    white-space: pre !important; /* pre-wrap ではなく pre にする */
  }
  #memo::-webkit-input-placeholder {
    white-space: pre !important;
  }


.wonder-comparison-01[data-composition-type=B] .table-01 .row-el:nth-child(2) .col-el:first-child img {
  width: 100% !important;
  height: auto !important;
}
