@media screen and (max-width: 767px) {
  .cmshtml {
    /* main-img-top */
    /* box-title */
    /* link01 */
    /* contents01 */
    /* contents02 */
    /* contents03 */
    /* contents04 */
    /* news */
  }
  .cmshtml .main-img-top .mainslider img {
    width: 100%;
    height: auto;
    min-height: 60vh;
  }
  .cmshtml .main-img-top h2 {
    font-size: 6vw;
    line-height: 1.5;
    padding-top: 30px;
  }
}

@media screen and (max-width: 767px) and (max-width: 500px) {
  .cmshtml .main-img-top h2 {
    font-size: 7vw;
  }
}

@media screen and (max-width: 767px) {
  .cmshtml .contents-top .box-title {
    margin-bottom: 40px;
  }
  .cmshtml .contents-top .box-title h2 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .cmshtml .contents-top .box-title h3 {
    font-size: 28px;
    letter-spacing: 0.2em;
  }
  .cmshtml .contents01 p, .cmshtml .contents01 .wc_textbox {
    line-height: 2.2;
  }
  .cmshtml .contents02 p, .cmshtml .contents02 .wc_textbox {
    font-size: 14px;
  }
  .cmshtml .contents-top h6 a {
    font-size: 16px;
    padding: 20px 0px;
    min-width: 280px;
  }
  .cmshtml .contents-top h6 a::after {
    right: 30px;
    background-size: auto 8px;
  }
  .cmshtml .contents-top h6 a:hover::after {
    right: 30px;
  }
  .cmshtml .contents01 {
    border-width: 20px;
  }
  .cmshtml .contents01::before {
    background-size: 200% auto;
    width: 100%;
    height: 50%;
  }
  .cmshtml .contents01 .box-inner {
    padding: 50px 0px 70px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    gap: 40px;
  }
  .cmshtml .contents01 .box-inner::before {
    background-size: 200% auto;
  }
  .cmshtml .contents01 .lay01 {
    width: 88%;
    max-width: 350px;
  }
  .cmshtml .contents01 .lay01::before {
    width: 100%;
    height: 350px;
    margin-right: -40px;
  }
  .cmshtml .contents01 .lay01 .box-img {
    width: 100%;
    max-width: 100%;
    height: 410px;
  }
  .cmshtml .contents01 .lay01 .box-img::before {
    width: 100%;
    height: 120px;
    margin-left: -8px;
    margin-bottom: -50px;
  }
  .cmshtml .contents01 .lay01 .box-img::after {
    width: 100%;
    height: 140px;
    margin-top: -50px;
    margin-right: -20px;
  }
  .cmshtml .contents01 .lay01 .box-img img {
    border-radius: 50%;
  }
  .cmshtml .contents01 .lay01 .box-img .box {
    position: absolute;
  }
  .cmshtml .contents01 .lay02 {
    width: 100%;
    max-width: 100%;
    position: static;
  }
  .cmshtml .contents01 .lay02 .box-detail {
    width: 88%;
    max-width: 88%;
    padding-left: 35px;
  }
  .cmshtml .contents01 .lay02 .box-detail::before {
    width: 30px;
    height: 320px;
    margin-left: -12px;
    margin-top: -50px;
  }
  .cmshtml .contents01 h2 {
    font-size: 27px;
    letter-spacing: 0.05em;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  .cmshtml .contents02::before {
    width: 100%;
    height: 200px;
  }
  .cmshtml .contents02 .box-inner-wrap::before {
    width: 100%;
    height: 200px;
  }
  .cmshtml .contents02 .box-inner {
    width: 88%;
    padding: 60px 0px 100px;
  }
  .cmshtml .contents02 .box-title::before {
    display: none;
  }
  .cmshtml .contents02 .lay01 {
    justify-content: center;
    gap: 40px 4%;
  }
  .cmshtml .contents02 .lay01 .box {
    width: 48%;
    max-width: 48%;
    margin-right: 0px;
    margin-bottom: 0px;
  }
}

@media screen and (max-width: 767px) and (max-width: 500px) {
  .cmshtml .contents02 .lay01 .box {
    width: 100%;
    max-width: 350px;
  }
}

@media screen and (max-width: 767px) {
  .cmshtml .contents02 .lay02 {
    padding-top: 60px;
    width: 100%;
    max-width: 500px;
  }
  .cmshtml .contents02 .lay02 img {
    border-radius: 12px;
  }
  .cmshtml .contents02 h4 {
    font-size: 17px;
    letter-spacing: 0.05em;
    padding: 25px 0px 20px;
  }
  .cmshtml .contents03 {
    padding: 60px 0px 60px;
    background-position: center top 80px;
    background-size: 110% auto;
  }
  .cmshtml .contents03 .box-inner {
    width: 88%;
  }
  .cmshtml .contents03 .box-detail {
    padding: 10px 30px;
  }
  .cmshtml .contents03 .box-link {
    padding-top: 40px;
  }
  .cmshtml .contents04 {
    background-size: auto 85%;
  }
  .cmshtml .contents04 .box-inner {
    width: 88%;
    padding: 70px 0px;
    gap: 20px 4%;
  }
  .cmshtml .contents04 .box-inner .box {
    width: 48%;
    max-width: 48%;
  }
  .cmshtml .contents04 .box-inner .box:not(:last-child) {
    margin-right: 0px;
  }
  .cmshtml .contents04 .box-inner .box::before {
    background-size: auto 50px;
    width: 100%;
  }
  .cmshtml .contents04 .box-inner .sns01::before {
    margin-left: -20px;
  }
  .cmshtml .contents04 .box-inner .sns02::before {
    margin-right: -20px;
  }
}

@media screen and (max-width: 767px) and (max-width: 600px) {
  .cmshtml .contents04 .box-inner .box {
    width: 90%;
    max-width: 380px;
  }
  .cmshtml .contents04 .box-inner .box::before {
    background-size: auto 60px;
  }
  .cmshtml .contents04 .box-inner .sns01::before {
    margin-left: -26px;
  }
  .cmshtml .contents04 .box-inner .sns02::before {
    margin-right: -26px;
  }
}

@media screen and (max-width: 767px) {
  .cmshtml .contents-top .rdplaneinfo .rdNewInfoList_ez-item, .cmshtml .contents-top .news_text .rdnewArticle .rdnewArticle-item {
    padding: 20px 5px;
  }
  .cmshtml .contents-top .rdNewInfoList_ez .rdNewInfoList_ez-item {
    padding: 20px 5px;
  }
  .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 .pc-view {
    display: none;
  }
  .cmshtml .sp-view {
    display: inline-block;
  }
}
