@charset "UTF-8";

.js-merged-feature .content_wrapper {
    max-width: unset !important;
}

.js-merged-feature .content_wrapper .wrapper_item {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 20px !important;
    flex-direction: row;
}

.js-merged-feature .inner_item_txt {
    max-width: 55% !important;
}

.js-merged-feature .inner_item_img,
.js-merged-feature .inner_item_txt {
  flex: 1 1 320px !important;
  min-width: 280px !important;
}

.js-merged-feature .inner_item_img {
  position: relative !important;
  z-index: 1 !important;
  height: 300px !important;    
  min-height: 0 !important;
  max-width: 40%;
}

.js-merged-feature .inner_item_img {
    position: relative !important;
    z-index: 1 !important;
    height: 320px !important;
    min-height: 0 !important;
    max-width: 40% !important;
}

.js-merged-feature .inner_item_img a {
  display: block !important;
  position: absolute !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25) !important;
}

.js-merged-feature .inner_item_img a img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}


.js-merged-feature .inner_item_img a:nth-of-type(1) {
  top: 0 !important;
  left: 0 !important;
  width: 65% !important;
  height: 65% !important;
  z-index: 1 !important;
}


.js-merged-feature .inner_item_img a:nth-of-type(2) {
  bottom: 0 !important;
  right: 0 !important;
  width: 65% !important;
  height: 65% !important;
  z-index: 2 !important;
}

@media (min-width: 769px) {
  .js-merged-feature .inner_item_txt { order: 1 !important; }
  .js-merged-feature .inner_item_img { order: 2 !important; }
}

@media (max-width: 768px) {
  .js-merged-feature .content_wrapper .wrapper_item {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
  }
  .js-merged-feature .inner_item_img {
    order: -1 !important;
    width: 100% !important;
    max-width: 320px !important;
    height: 240px !important;
    margin: 0 auto 10px !important;
  }
  .js-merged-feature .inner_item_txt {
    order: 1 !important;
    width: 100% !important;
  }
  .js-merged-feature .heading.block_header_2 { text-align: center !important; }
  .js-merged-feature .contents_btn01 { display: flex !important; justify-content: center !important; }
}











.js-merged-feature .inner_item_img {
  position: relative !important;
  z-index: 1 !important;
  height: 320px !important;   /* container tall enough for both */
  min-height: 0 !important;
}

.js-merged-feature .inner_item_img a {
  display: block !important;
  position: absolute !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25) !important;
  height: auto !important;   /* let aspect-ratio drive height, not stretch */
}

.js-merged-feature .inner_item_img a img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* image 1: wide landscape rectangle, top-left, behind */
.js-merged-feature .inner_item_img a:nth-of-type(1) {
  top: 0 !important;
  left: 0 !important;
  width: 60% !important;
  aspect-ratio: 4 / 3 !important;   /* landscape */
  z-index: 1 !important;
}

/* image 2 (moved one): taller portrait rectangle, bottom-right, in front */
.js-merged-feature .inner_item_img a:nth-of-type(2) {
  bottom: 0 !important;
  right: 0 !important;
  width: 55% !important;
  aspect-ratio: 3 / 4 !important;   /* portrait */
  z-index: 2 !important;
}