@media screen and (max-width: 767px) {
  .cmshtml {
    /* contents-top */
    /* box-item */
    /* layout-box01 */
    /* contents01 */
    /* contents02 */
    /* contents03 */
    /* news */
    /* contents04 */
    /* contents05 */
    /* contents06 */
    /* contents08 */
  }
  .cmshtml .contents-top {
    padding: 70px 0px 40px;
  }
  .cmshtml .contents-top-inner > div:not(:last-child) {
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 767px) and (max-width: 600px) {
  .cmshtml .contents-top .box-title h2 {
    font-size: 7.5vw;
  }
  .cmshtml .contents-top .box-title h2::first-letter {
    font-size: 9.5vw;
  }
  .cmshtml .contents-top .box-title h3 {
    font-size: 4.5vw;
  }
}

@media screen and (max-width: 767px) {
  .cmshtml .box-item .box-img {
    border-radius: 15px;
    text-align: center;
  }
  .cmshtml .box-item .box-img::after {
    right: 10px;
    bottom: 10px;
    height: 30px;
  }
  .cmshtml .box-item .box-detail {
    padding: 0px 15px 15px;
  }
  .cmshtml .layout-box01, .cmshtml .layout-box02, .cmshtml .layout-box03, .cmshtml .layout-box04, .cmshtml .contents04 .lay02 {
    justify-content: center;
    gap: 15px 2%;
  }
}

@media screen and (max-width: 767px) and (max-width: 600px) {
  .cmshtml .contents01, .cmshtml .contents04, .cmshtml .contents05 {
    width: 100%;
    max-width: 100%;
  }
  .cmshtml .contents02, .cmshtml .contents03, .cmshtml .contents06 {
    width: 100%;
    max-width: 100%;
  }
  .cmshtml .contents07, .cmshtml .contents08 {
    width: calc((100% / 2) - 1%);
    max-width: calc((100% / 2) - 1%);
  }
  .cmshtml .layout-box03 .box-item, .cmshtml .contents04 .lay02 .box-item {
    width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .cmshtml .layout-box05 {
    text-align: center;
  }
  .cmshtml .layout-box05 p, .cmshtml .layout-box05 .wc_textbox {
    font-size: 14px;
  }
}

@media screen and (max-width: 767px) and (max-width: 600px) {
  .cmshtml .contents01::after {
    right: 10px;
    bottom: 15px;
    width: 38vw;
  }
  .cmshtml .contents01 .box-text h2 {
    font-size: 5vw;
    line-height: 1.2;
  }
  .cmshtml .contents01 .box-img img {
    min-height: 250px;
  }
}

@media screen and (max-width: 767px) {
  .cmshtml .contents01 .box-text h2::before {
    margin-top: -80px;
    height: 80px;
  }
  .cmshtml .contents02::before {
    right: 10px;
    height: 110px;
    margin-top: -15px;
  }
  .cmshtml .contents03 {
    border-radius: 20px;
    padding: 20px;
  }
  .cmshtml .contents03::before {
    right: 20px;
    top: 15px;
    height: 60px;
  }
  .cmshtml .contents03 h2 {
    position: relative;
    margin-bottom: 15px;
  }
  .cmshtml .contents03 h2 img {
    height: 30px;
  }
}

@media screen and (max-width: 767px) and (max-width: 600px) {
  .cmshtml .contents03 h2 img {
    height: 40px;
  }
}

@media screen and (max-width: 767px) {
  .cmshtml .contents03 h6 img {
    height: 30px;
  }
  .cmshtml .contents-top .rdNewInfoList_ez, .cmshtml .news_text .rdnewArticle {
    height: 290px;
  }
  .cmshtml .contents-top .news_img .rdnewArticle .rdnewArticle-item {
    width: 48%;
    max-width: 48%;
    margin-right: 0px;
    padding: 0px;
  }
  .cmshtml .contents-top .rdplaneinfo .rdNewInfoList_ez-item, .cmshtml .contents-top .news_text .rdnewArticle .rdnewArticle-item {
    padding: 15px;
  }
  .cmshtml .contents-top .rdNewInfoList_ez .rdNewInfoList_ez-item {
    padding: 15px;
  }
  .cmshtml .contents-top .news_img .rdnewArticle .rdnewArticle-thumbnail {
    border-radius: 20px;
    text-align: center;
  }
  .cmshtml .contents-top .news_img .rdnewArticle .rdnewArticle-item img {
    width: 100%;
    max-width: 400px;
  }
  .cmshtml .contents-top .news_img .rdnewArticle {
    gap: 25px 4%;
  }
  .cmshtml .contents04 .box-img img {
    height: auto;
    min-height: 250px;
  }
  .cmshtml .contents04 .lay02 .box-img img {
    min-height: 0px;
  }
}

@media screen and (max-width: 767px) and (max-width: 600px) {
  .cmshtml .contents05 .box-img img {
    height: auto;
    min-height: 250px;
  }

.cmshtml .contents05 .box-img .rdslide img.rdimg {
	min-height: 250px;
}

}

@media screen and (max-width: 767px) {
  .cmshtml .contents06 .box-img img {
    height: auto;
    max-height: 250px;
    object-position: center;
  }
}

@media screen and (max-width: 767px) and (max-width: 600px) {
  .cmshtml .contents08 .box-title2 h3 {
    font-size: 4vw;
    padding: 3px 10px 5px;
    border-radius: 5px;
  }
  .cmshtml .contents08 .box-title2 .box002:last-child {
    margin-top: -5px;
  }
  .cmshtml .contents08 .box-title2 p, .cmshtml .contents08 .box-title2 .wc_textbox {
    font-size: 2.2vw;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 767px) {
  .cmshtml .pc-view {
    display: none;
  }
  .cmshtml .sp-view {
    display: inline-block;
  }
}