.cmshtml #page-top {
  display: block;
  position: fixed;
  bottom: 50px;
  right: 20px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  background: #fff;
  z-index: 999;
}

.cmshtml #page-top:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: url("../img/pagetop.png") no-repeat center;
  background-size: contain;
  transition: all 0.3s;
}

.cmshtml #page-top:hover:before {
  opacity: 0.8;
}

.cmshtml .load-fade {
  opacity: 0;
  transition: all 2s;
  overflow: hidden;
}

.cmshtml .load-fade.done {
  opacity: 1;
}

.cmshtml .to-lr {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1s;
}

.cmshtml .to-rl {
  opacity: 0;
  transform: translateX(40px);
  transition: all 1s;
}

.cmshtml .to-lr.scrollin, .cmshtml .to-rl.scrollin {
  opacity: 1;
  transform: translate(0);
}

.cmshtml .fadeLeft {
  animation-name: fadeLeftAnime;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeLeftAnime {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cmshtml .fadeLeftTrigger {
  opacity: 0;
}

.cmshtml .fadeRight {
  animation-name: fadeRightAnime;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeRightAnime {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cmshtml .fadeRightTrigger {
  opacity: 0;
}

.cmshtml .zoom-img {
  background: #000;
  overflow: hidden;
  padding: 0 !important;
}

.cmshtml .zoom-img img {
  opacity: 0.6;
  transition: all 0.3s;
  width: 100%;
  height: auto;
  max-width: none;
}

.cmshtml .zoom-img:hover img {
  transform: scale(1.1);
  opacity: 1;
}

@media screen and (max-width: 680px) {
  .cmshtml .wrap_sp2div, .cmshtml .wrap_sp4div {
    display: flex;
    flex-flow: wrap;
  }
  .cmshtml .wrap_sp2div > div {
    width: 50% !important;
    flex: unset;
  }
  .cmshtml .wrap_sp4div > div {
    width: 25% !important;
    flex: unset;
  }
}












/*=================================
add css 2023/08/21 start
=================================*/
.cmshtml .img_blackMask {
  position: relative;
}
.cmshtml .img_blackMask > div {
  background: #000;
}
.cmshtml .img_blackMask > div img {
  max-width: none;
  width: 100%;
  height: auto;
}
.cmshtml .img_blackMask img {
  opacity: 0.5;
  transition: all 0.3s;
}
.cmshtml .img_blackMask:hover > div img, .cmshtml .img_blackMask > div:hover img {
  opacity: 0.9;
}
#editView .cmshtml .img_blackMask img, #editView .cmshtml .img_blackMask > div:hover img {
  opacity: 1;
}
.cmshtml .top_company {
  margin-top: 120px;
}
.cmshtml .img_blackMask .tp_txt {
  color: #FFF;
  position: absolute;
  margin: auto;
  pointer-events: none;
  font-size: 24px;
  left: 0;
  top: 0;
  background: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
@media screen and (min-width: 1101px) {
  .cmshtml .bnr_2column > div {
    width: 50% !important;
  }
  .cmshtml .bnr_3column > div {
    width: 33.33333333% !important;
  }
  .cmshtml .bnr_4column > div {
    width: 25% !important;
  }
  .cmshtml .bnr_5column > div {
    width: 20% !important;
  }
  .cmshtml .bnr_2column_mgn > div {
    width: calc(50% - 20px) !important;
    margin: 0 10px 20px !important;
  }
  .cmshtml .bnr_3column_mgn > div {
    width: calc(33.33333333% - 20px) !important;
    margin: 0 10px 20px !important;
  }
  .cmshtml .bnr_4column_mgn > div {
    width: calc(25% - 20px) !important;
    margin: 0 10px 20px !important;
  }
  .cmshtml .bnr_4column .tu_txt, .cmshtml .bnr_4column_mgn .tu_txt {
    font-size: 18px;
  }
  .cmshtml .bnr_5column_mgn > div {
    width: calc(20% - 20px) !important;
    margin: 0 10px 20px !important;
  }
  .cmshtml .bnr_5column .tu_txt, .cmshtml .bnr_4column_mgn .tu_txt {
    font-size: 16px;
  }
  .cmshtml .top_company {
    justify-content: flex-start !important;
    max-width: 1614px;
  }
  .cmshtml .top_company > div {
    width: calc(33.333333% - 60px) !important;
    margin: 0 30px 60px !important;
  }
  .cmshtml .top_company img {
    max-width: none;
    width: 100%;
  }
  .cmshtml .bnr_2column, .cmshtml .bnr_3column, .cmshtml .bnr_4column, .cmshtml .bnr_5column, .cmshtml .bnr_2column_mgn, .cmshtml .bnr_3column_mgn, .cmshtml .bnr_4column_mgn, .cmshtml .bnr_5column_mgn {
    justify-content: flex-start !important;
  }
}
@media screen and (max-width: 680px) {
  .cmshtml .top_company {
    margin-top: 60px;
  }
}
#editView .cmshtml .img_blackMask .tp_txt {
  color: #FFF;
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  display: block;
  pointer-events: auto;
}
/*=================================
add css 2023/08/21 end
=================================*/


/*=================================
add css 2023/10/02 start
=================================*/
.cmshtml .catalogdetail_tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding-left: 10px;
    padding-right: 10px;
}
.cmshtml .catalogdetail_tags > div {
padding: 0!important;

}
.cmshtml .catalogdetail_tags .tagmark {
  margin: 0 5px 5px 0!important;
  display: block;
  padding: 2px 5px!important;
  border: 1px solid #ddd;
  border-radius: 2px;
  background-color: #F5F7F8;
  font-size: 14px;
  color: #666;
  text-decoration: none;
}


#editView .catalogdetail_tags {
    padding: 20px;
}
#editView .cmshtml .tagmark {
  margin: 0!important;
  display: block;
  padding: 20px!important;
}






@media screen and (max-width: 680px) {
  .wrap_sp2div,
  .wrap_sp4div {
    display: flex;
    flex-flow: wrap;
  }
.wrap_sp2div img,
    .wrap_sp4div img {
        text-align: center;
    }
  .wrap_sp2div > div {
    width: 50% !important;
    flex: unset;
  }
  .wrap_sp4div > div {
    width: 25% !important;
    flex: unset;
  }
}
#editView .cmshtml .wrap_sp2div, #editView .cmshtml .wrap_sp4div {
  position: relative;
  border: 1px solid #f00;
}
#editView .cmshtml .wrap_sp2div:before, #editView .cmshtml .wrap_sp4div:before {
  display: block;
  text-align: center;
  padding: 10px;
  color: #f00;
  position: relative;
  width: 100%;
  white-space: break-spaces;
}
#editView .cmshtml .wrap_sp2div:before {
  content: "追加ブロッククラス「wrap_sp2div」が付与されています。スマホ時は横2列に並びます。";
}
#editView .cmshtml .wrap_sp4div:before {
  content: "追加ブロッククラス「wrap_sp4div」が付与されています。スマホ時は横4列に並びます。";
}
/*=================================
add css 2023/10/02 end
=================================*/




/*=============
メイン
=============*/
.cmshtml .galleryBlock {
  padding: 20px;
  background-color: #f3f3f3;
}
.cmshtml .galleryBlock > div:first-child {
  width: 600px;
}
.cmshtml .galleryBlock > div:nth-child(2) {
  width: calc(100% - 600px);
}
.cmshtml .slide_box {
  max-height: 655px;
  position: relative;
}
.cmshtml .main_img {
  width: auto;
  height: auto;
  opacity: 0;
  z-index: 1;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  display: none;
}
.cmshtml .main_img.active {
  opacity: 1;
  z-index: 2;
  display: block;
}
.cmshtml .galleryBlock .box.left .img {
  text-align: center;
  vertical-align: middle;
  width: 600px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #fff;
}
.cmshtml .box.left .img img {
  max-width: 600px;
  max-height: 600px;
  width: auto;
  height: auto;
}
.cmshtml .galleryBlock .box.left .caption {
  font-size: 14px;
  color: #666;
  text-align: center;
  padding: 15px;
}
/*=============
メイン矢印
=============*/
.cmshtml .galleryBlock .box.left .arrow {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  z-index: 10;
  margin-top: -20px;
}
.cmshtml .galleryBlock .box.left .arrow.prev {
  left: 0;
}
.cmshtml .galleryBlock .box.left .arrow img {
  height: 40px;
  width: 40px;
}
.cmshtml .galleryBlock .box.left .arrow.next {
  right: 0;
}
/*=============
サムネイル
=============*/
.cmshtml .galleryBlock .box.right {
  margin-left: auto;
  padding-left: 10px;
  display: flex;
  flex-direction: column;
}
.cmshtml .thumbs_box {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-flow: row wrap;
}
.cmshtml .thumbs_box > div {
  width: calc(33.33333% - 10px);
  margin: 0 5px 10px;
}
.cmshtml .thumbs_li {
  width: 140px;
  height: 140px;
  text-align: center;
  background-color: #999999;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cmshtml .galleryBlock .box.left .img a,
.cmshtml .thumbs_li a,
.cmshtml .galleryBlock .box.left .img span,
.cmshtml .thumbs_li span {
  width: 100%;
  height: 100%;
    display: contents;
}
.cmshtml .thumbs_li img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
.cmshtml .thumbs_li.on:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid #003399;
}
.cmshtml .thumbs_li.off {
  display: none;
}
/*=============
サムネイル矢印
=============*/
.cmshtml .thumbArrows {
  text-align: center;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.cmshtml .thumbArrows .arrow {
  display: block;
  width: 120px;
}
.cmshtml .thumbArrows .arrow .center {
  width: 110px;
  line-height: 40px;
}
.cmshtml .thumbArrows .arrow a {
  display: block;
  padding: 9px 0 7px;
  background-color: #cccccc;
  text-align: center;
}
@media screen and (max-width: 1100px) {
  .cmshtml .galleryBlock {
    display: block;
    min-height: 1px !important;
  }
  .cmshtml .slide_box {
    max-width: 640px;
    margin: 0 auto;
  }
  .cmshtml .galleryBlock .box.left .img {
    width: 640px;
    height: 600px;
  }
  .cmshtml .slide_box {
    width: auto;
    max-height: none;
  }
  .cmshtml .galleryBlock .box.right {
    width: auto;
    margin: auto;
    padding: 0;
    display: block;
  }
  .cmshtml .thumbArrows {
    display: none;
  }
  .cmshtml .thumbs_box {
    width: 100%;
    overflow: auto;
    flex-flow: nowrap;
  }
  .cmshtml .thumbs_box > div {
    width: 100px;
    height: 100px;
    flex: none;
  }
  .cmshtml .thumbs_li.off {
    display: flex;
  }
}
@media screen and (max-width: 720px) {
.cmshtml .galleryBlock > div:first-child {
  width: auto;
}
  .cmshtml .galleryBlock .box.left .img {
    width: auto;
    height: auto;
  }
  .cmshtml .thumbs_box > div {
    width: 55px;
    height: 55px;
    flex: none;
  }
  .cmshtml .box.left .img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
  }
}
/*=============
wc
=============*/
#editView .cmshtml .galleryBlock, #editView .cmshtml .box, #editView .cmshtml .main_img, #editView .cmshtml .arrows, #editView .cmshtml .thumbs_box, #editView .cmshtml .thumbArrows {
  padding: 1rem 0.25rem 0.25rem;
}
#editView .cmshtml .img, #editView .cmshtml .thumbs_li {
  padding: 20px;
}

#editView .cmshtml .thumbs_li * {
  width: 100%;
  height: 100%;
}
#editView .cmshtml .thumbs_li * img {
  width: auto;
  height: auto;
}
#editView .cmshtml .slide_box {
  max-height: none;
  display: flex;
  flex-flow: row wrap;
}
#editView .cmshtml .slide_box > div {
  width: calc(33.333% - 10px);
  margin: 0 5px 10px;
}
#editView .cmshtml .main_img {
  display: block;
  opacity: 1;
}
#editView .cmshtml .galleryBlock .box.left .img {
  width: auto;
  height: auto;
  display: block;
}
#editView .cmshtml .box.left .img img {
  width: 100%;
  height: auto;
}
#editView .cmshtml .galleryBlock .box.left .arrow {
  position: relative;
  margin: 0;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
}