@media screen and (max-width: 767px) {
  .cmshtml {
    /* main-img-top */
    /* contents-top */
    /* contents01 */
    /* news */
    /* contents02 */
    /* contents03 */
    /* contents04 */
  }
  .cmshtml .main-img-top {
    background-size: auto 90px;
    padding-top: 75px;
  }
  .cmshtml .main-img-top .box-inner {
    width: 92%;
    max-width: 92%;
    justify-content: center;
    gap: 15px;
  }
  .cmshtml .box-mainslider {
    width: 100%;
    max-width: 100%;
  }
  .cmshtml .box-mainslider .mainslider {
    border-radius: 25px;
  }
  .cmshtml .box-mainslider .mainslider img {
    max-height: 300px;
  }
  .cmshtml .box-linkwrap {
    width: 100%;
    max-width: 100%;
  }
  .cmshtml .box-linkwrap .inner {
    justify-content: center;
    gap: 10px 2%;
  }
  .cmshtml .box-linkwrap .box {
    border-radius: 15px;
    width: 49%;
    max-width: 49%;
  }
  .cmshtml .box-linkwrap .box-img img {
    height: 30vw;
  }
  .cmshtml .main-img-top .box-title img {
    height: 50px;
    width: auto;
  }
}

@media screen and (max-width: 767px) and (min-width: 600px) {
  .cmshtml .main-img-top .box-title img {
    height: 70px;
    width: auto;
  }
}

@media screen and (max-width: 767px) {
  .cmshtml .contents-top {
    background-size: 300% auto;
  }
  .cmshtml .contents-top .box-link {
    padding-top: 40px;
  }
  .cmshtml .contents-top .box-link h6 {
    text-align: center;
  }
  .cmshtml .contents-top .box-link h6 a {
    font-size: 16px;
  }
  .cmshtml .contents01 {
    background-image: none;
    padding: 50px 0px 20px;
  }
  .cmshtml .contents01 .box-inner {
    width: 88%;
    justify-content: center;
    gap: 25px;
    padding-bottom: 70px;
  }
  .cmshtml .contents01 .box-title {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
  }
  .cmshtml .contents01 .lay02 {
    width: 100%;
    max-width: 100%;
  }
  .cmshtml .contents01 .lay03 {
    width: 100%;
    text-align: right;
    padding-right: 50px;
  }
  .cmshtml .contents-top .rdplaneinfo .rdNewInfoList_ez-item, .cmshtml .contents-top .news_text .rdnewArticle .rdnewArticle-item {
    padding: 15px 20px;
    border-radius: 10px;
  }
  .cmshtml .contents-top .rdNewInfoList_ez .rdNewInfoList_ez-item {
    padding: 15px 20px;
  }
  .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-ContDate::after, .cmshtml .contents-top .rdnewArticle .rdnewArticle-ContDate::after {
    display: none;
  }
  .cmshtml .contents01 h2 {
    font-size: 50px;
  }
  .cmshtml .contents01 h3 {
    font-size: 18px;
    padding-top: 0px;
  }
  .cmshtml .contents01 h6 a {
    font-size: 16px;
    border-width: 2px;
  }
  .cmshtml .contents01 h6 a::before {
    width: 40px;
    height: 40px;
    margin-top: -5px;
    margin-right: -50px;
  }
  .cmshtml .contents01 h6 a:hover::before {
    margin-right: -50px;
  }
  .cmshtml .contents02 {
    padding: 90px 0px 70px;
  }
  .cmshtml .contents02::before {
    background-size: 220% auto;
    width: 100%;
    margin-top: -80px;
  }
  .cmshtml .contents02 .box-inner {
    width: 88%;
    justify-content: center;
    gap: 50px 4%;
  }
  .cmshtml .contents02 .box-detail {
    width: 100%;
    max-width: 100%;
  }
  .cmshtml .contents02 .box-detail::before {
    bottom: 0px;
    height: 60px;
    margin-right: -10px;
    margin-bottom: -60px;
  }
  .cmshtml .contents02 .box-detail::after {
    height: 100px;
    margin-left: 0px;
    margin-bottom: -100px;
  }
  .cmshtml .contents02 .box-img {
    width: 100%;
    max-width: 400px;
  }
  .cmshtml .contents02 .box-img img {
    border-radius: 15px;
  }
  .cmshtml .contents02 .box-img02 .box:not(:last-child) {
    margin-bottom: 20px;
  }
  .cmshtml .contents02 h2, .cmshtml .contents03 h2 {
    font-size: 35px;
    letter-spacing: 0.25em;
    padding-top: 15px;
    width: 100%;
  }
  .cmshtml .contents02 h2::before, .cmshtml .contents03 h2::before {
    width: 100%;
    height: 50px;
    margin-left: -15px;
    margin-top: -25px;
  }
  .cmshtml .contents02 h3 {
    font-size: 5.2vw;
    padding: 30px 0px 20px;
  }
  .cmshtml .contents03 {
    margin-bottom: 30px;
  }
  .cmshtml .contents03 .box-inner {
    padding-top: 0px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    gap: 50px;
  }
  .cmshtml .contents03 .box-inner::after {
    top: 90%;
    width: 100%;
    height: 130px;
  }
  .cmshtml .contents03 .box-detail {
    width: 100%;
    position: static;
  }
  .cmshtml .contents03 .box-detail .inner-wrap {
    padding-top: 100px;
  }
  .cmshtml .contents03 .box-detail .inner-wrap::before {
    height: 250px;
  }
  .cmshtml .contents03 .box-detail .inner {
    width: 88%;
  }
  .cmshtml .contents03 .box-text {
    padding-top: 35px;
  }
  .cmshtml .contents03 .box-img {
    width: 100%;
    max-width: 400px;
  }
  .cmshtml .contents03 .box-img .inner {
    margin-right: -10%;
    height: 350px;
    min-height: 0px;
    width: 110%;
  }
  .cmshtml .contents03 .box-img .inner > div {
    position: absolute;
  }
  .cmshtml .contents03 .box-img02 {
    top: 70px;
  }
  .cmshtml .contents03 h3 {
    font-size: 4.8vw;
    line-height: 2.3;
    padding: 5px 25px;
    margin-left: -50%;
    padding-left: 50%;
  }
  .cmshtml .contents03 h4 {
    font-size: 4.8vw;
    padding: 0px 0px 25px;
  }
  .cmshtml .contents04 iframe {
    height: 200px;
  }
  .cmshtml .pc-view {
    display: none;
  }
  .cmshtml .sp-view {
    display: inline-block;
  }
}
