@media screen and (max-width: 767px) {
  .cmshtml {
    /* main-img-top */
    /* contents-top */
    /* contents01 */
    /* news */
    /* contents02 */
    /* contents03 */
  }
  .cmshtml .main-img-top {
    height: auto;
    padding-top: 0px;
  }
  .cmshtml .main-img-top::before {
    background-image: url("../../img/top/back01-sp.png");
    height: 65%;
    background-position: center;
    background-size: auto 80%;
  }
  .cmshtml .box-mainslider {
    width: 92%;
    max-width: 400px;
    height: 400px;
    background-size: 100% auto;
  }
}

@media screen and (max-width: 767px) and (max-width: 400px) {
  .cmshtml .box-mainslider {
    height: 92vw;
  }
}

@media screen and (max-width: 767px) {
  .cmshtml .box-mainslider::after {
    top: 30px;
    right: 0px;
    height: 160px;
    margin-right: 0px;
  }
  .cmshtml .box-mainslider .mainslider {
    width: 65%;
    max-width: 65%;
  }
  .cmshtml .main-img-top .box-text {
    position: static;
    width: 100%;
    max-width: 100%;
    display: block;
    border-radius: 0px;
    padding: 30px 25px;
  }
  .cmshtml .main-img-top .box-text .inner {
    width: 100%;
    max-width: 100%;
  }
  .cmshtml .main-img-top .box-text .inner::before {
    width: 200px;
    height: 120px;
    margin-right: -20px;
    margin-top: -120px;
  }
  .cmshtml .main-img-top p, .cmshtml .main-img-top .wc_textbox {
    font-size: 14px;
  }
  .cmshtml .contents-top {
    padding-top: 50px;
    padding-bottom: 60px;
  }
  .cmshtml .contents-top .box-title {
    margin-bottom: 40px;
  }
  .cmshtml .contents-top .box-title h2, .cmshtml .contents-top .box-title h3 {
    letter-spacing: 0.1em;
  }
  .cmshtml .contents-top .box-title h2 {
    font-size: 17px;
    margin-bottom: 10px;
    padding-left: 35px;
  }
  .cmshtml .contents-top .box-title h2::before {
    top: 0px;
    height: 22px;
  }
  .cmshtml .contents-top .box-title h3 {
    font-size: 28px;
  }
  .cmshtml .contents-top .contents02 .box-title h3 {
    font-size: 32px;
    letter-spacing: 0.15em;
    border-width: 2px;
    padding-bottom: 3px;
  }
  .cmshtml .contents-top .box-title h3::after {
    height: 2px;
    margin-top: 18px;
  }
  .cmshtml .contents01::after {
    top: 20px;
    right: 20px;
    width: 100%;
    height: 160px;
    margin-top: 0px;
    margin-right: -50px;
  }
  .cmshtml .contents01 .box-inner-wrap {
    padding: 110px 0px;
  }
  .cmshtml .contents01 .box-inner-wrap::after {
    bottom: 30px;
    width: 100%;
    height: 150px;
    margin-bottom: 0px;
    margin-left: -30px;
  }
  .cmshtml .contents01 .box-inner {
    width: 92%;
    max-width: 92%;
    border-radius: 40px;
    padding: 50px 0px 30px;
  }
  .cmshtml .contents01 .box-inner::before {
    width: 100%;
    height: 130px;
    margin-bottom: -70px;
    margin-right: -20px;
  }
  .cmshtml .contents01 .box-inner::after {
    left: 15px;
    width: 100%;
    height: 90px;
    margin-top: -30px;
  }
  .cmshtml .contents01 .box-title {
    width: 88%;
    max-width: 88%;
  }
  .cmshtml .contents01 .box-title::before {
    display: none;
  }
  .cmshtml .contents01 .box-title::after {
    display: none;
  }
  .cmshtml .box-detail-wrap {
    width: 88%;
    padding-top: 0px;
    gap: 30px 6%;
    justify-content: center;
  }
  .cmshtml .box-detail-wrap .box {
    border-radius: 25px;
    width: 100%;
    max-width: 400px;
    margin-bottom: 0px;
    margin-right: 0%;
  }
  .cmshtml .contents01 .box-detail {
    padding: 0px 20px 20px;
    margin-top: -20px;
  }
  .cmshtml .contents01 .box-detail::before {
    height: 60px;
    margin-top: -24px;
  }
  .cmshtml .contents01 .box-detail h4 {
    letter-spacing: 0.05em;
  }
  .cmshtml .contents01 .box-detail .lay01 h4 {
    font-size: 16px;
    margin-bottom: 5px;
  }
  .cmshtml .contents01 .box-detail .lay02 h4 {
    font-size: 26px;
  }
  .cmshtml .contents01 .box-info {
    padding: 20px 0px;
  }
  .cmshtml .contents01 .box-info h5, .cmshtml .contents01 .box-info h6 {
    padding-left: 25px;
  }
  .cmshtml .contents01 .box-info h5::after, .cmshtml .contents01 .box-info h6::after {
    height: 20px;
  }
  .cmshtml .contents01 .box-info h5::after {
    margin-top: -2px;
  }
  .cmshtml .contents01 .box-info h6::after {
    top: 8px;
  }
  .cmshtml .contents01 .box-info h6::before {
    font-size: 16px;
  }
  .cmshtml .contents01 .box-info h5 {
    font-size: 15px;
  }
  .cmshtml .contents01 .box-info h6, .cmshtml .contents01 .box-info h6 a {
    font-size: 26px;
  }
  .cmshtml .news_text {
    padding: 5px 15px;
  }
  .cmshtml .contents-top .news_img .rdnewArticle .rdnewArticle-item {
    width: 48%;
    max-width: 48%;
    margin-right: 0px;
    padding: 0px;
  }
  .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 .contents-top .rdNewInfoList_ez-ContDate, .cmshtml .contents-top .rdnewArticle .rdnewArticle-ContDate {
    width: 100%;
    max-width: 100%;
    border-right-style: none;
  }
  .cmshtml .contents-top .rdNewInfoList_ez-ContTitle, .cmshtml .contents-top .news_text .rdnewArticle .rdnewArticle-ContTitle {
    padding-left: 0px;
  }
  .cmshtml .contents-top .rdNewInfoList_ez-ContTitle a, .cmshtml .contents-top .rdnewArticle .rdnewArticle-ContTitle a {
    font-size: 14px;
  }
  .cmshtml .contents-top .news_img .rdnewArticle .rdnewArticle-ContTitle a {
    font-size: 14px;
  }
  .cmshtml .contents-top .rdNewInfoList_ez-ContDate, .cmshtml .contents-top .rdnewArticle .rdnewArticle-ContDate {
    font-size: 14px;
  }
  .cmshtml .contents-top .news_img .rdnewArticle .rdnewArticle-ContDate {
    font-size: 14px;
  }
  .cmshtml .contents02 {
    padding-top: 50px;
  }
  .cmshtml .contents02::before {
    left: 0px;
    height: 120px;
    margin-top: 0px;
  }
  .cmshtml .contents02 .box-inner {
    width: 88%;
    max-width: 88%;
    justify-content: center;
    gap: 50px;
    padding-bottom: 150px;
  }
  .cmshtml .contents02 .box-inner::before {
    right: 0px;
    top: 240px;
    width: 250px;
    height: 200px;
    margin-right: -20px;
  }
  .cmshtml .contents02 .box-inner::after {
    bottom: 0px;
    width: 100%;
    height: 160px;
    background-position: center bottom;
    margin-left: 0px;
  }
  .cmshtml .contents02 .box-img {
    width: 92%;
    max-width: 400px;
    position: relative;
  }
  .cmshtml .contents02 .box-img .inner {
    position: relative;
  }
  .cmshtml .contents02 .box-img .inner::before {
    width: 400px;
    height: 400px;
    margin-right: -15px;
    margin-bottom: 0px;
    background-size: 100% auto;
  }
  .cmshtml .contents02 .box-img .inner::after {
    width: 450px;
    height: 430px;
    margin-right: -20px;
    margin-top: -10px;
    background-size: 100% auto;
  }
}

@media screen and (max-width: 767px) and (max-width: 450px) {
  .cmshtml .contents02 .box-img .inner::before {
    width: 80vw;
    height: 75vw;
  }
  .cmshtml .contents02 .box-img .inner::after {
    width: 94vw;
    height: 90vw;
  }
}

@media screen and (max-width: 767px) {
  .cmshtml .contents02 .box-img .clip01 {
    width: 100%;
    max-width: 100%;
  }
  .cmshtml .contents02 .box-detail {
    width: 100%;
    max-width: 100%;
    padding-top: 0px;
  }
  .cmshtml .contents03 .box-title {
    width: 88%;
    max-width: 88%;
  }
  .cmshtml .contents03 .box-title::before {
    top: 65px;
    height: 50px;
    margin-left: -20px;
  }
  .cmshtml .contents03 .box-title::after {
    right: 0px;
    top: 60px;
    width: 200px;
    height: 50px;
    margin-right: -20px;
  }
  .cmshtml .contents03 .box-column {
    width: 88%;
    max-width: 88%;
    padding-top: 0px;
  }
  .cmshtml .pc-view {
    display: none;
  }
  .cmshtml .sp-view {
    display: inline-block;
  }
}