@media screen and (min-width: 1001px) {
  .cmshtml .sp_only {
    display: none;
  }
}

@media screen and (max-width: 1000px) {
  .cmshtml .pc_only {
    display: none;
  }
}

@media screen and (max-width: 1600px) {
  .cmshtml #header {
    align-items: center;
  }
  .cmshtml .logo {
    max-width: 250px;
  }
}

@media screen and (max-width: 1500px) and (min-width: 1001px) {
  .cmshtml .h_li, .cmshtml .h_li a {
    font-size: 14px;
  }
  .cmshtml .h_li a, .cmshtml .selectlang_btn {
    display: block;
    padding: 26px 10px;
  }
  .cmshtml .drop_li a {
    padding: 10px 20px;
  }
  .cmshtml .sec_top_impress .textbox .topcatch {
    font-size: 22px;
  }
  .cmshtml #footer .inwrap > * {
    width: 28%;
  }
}

@media screen and (max-width: 1000px) {

.cmshtml .rdanchor a {
    display: block;
    padding-top: 50px;
    margin-top: -50px;
}


  .cmshtml #header {
    border-bottom: 1px solid #313131;
    position: fixed;
    min-height: 47px;
  }
  .cmshtml .logo {
    max-width: 200px;
  }
  .cmshtml .globalmenu {
    height: calc(100% - 47px);
    overflow: auto;
  }
  .cmshtml .drawer--right .drawer-nav {
    right: -100%;
  }
  .cmshtml .drawer--right.drawer-open .drawer-hamburger {
    right: 0;
  }
  .cmshtml .selectlang_inner {
    position: relative;
    width: 100%;
  }
  .cmshtml .drawer-nav {
    top: 47px;
    width: 100%;
    background: #f3f3f3;
    overflow: auto;
  }
  .cmshtml #navigation {
    display: block;
  }
  .cmshtml .h_li {
    text-align: left;
    border-bottom: 1px solid #ccc;
  }
  .cmshtml .h_li a, .cmshtml .selectlang_btn {
    padding: 10px 20px 10px 40px;
  }
  .cmshtml .h_li, .cmshtml .h_li a {
    font-size: 14px;
    font-weight: 600;
  }
  .cmshtml .h_li a::before {
    position: absolute;
    top: 18px;
    left: 15px;
    border-top: 1px solid #313131;
    border-right: 1px solid #313131;
    width: 5px;
    height: 5px;
    content: "";
    transform: rotate(45deg);
  }
  .cmshtml .h_li02 a::before,
.cmshtml .h_li03 a::before {
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
  }
  .cmshtml .li_txt {
    pointer-events: none;
  }
  .cmshtml .nav_drop {
    position: relative;
    box-shadow: none;
    min-width: 1px;
  }
  .cmshtml .nav_drop > *:not(:last-child) {
    border-bottom: 1px dashed #ccc;
  }
  .cmshtml .drop_li,
.cmshtml .drop_li a {
    font-size: 12px;
  }
  .cmshtml .drop_li a {
    padding: 10px 5px 10px 40px;
  }
  .cmshtml .drop_li a::before {
    top: 17px;
  }
  .cmshtml .sec_top_impress {
    flex-flow: column-reverse;
    max-width: 680px;
    margin: 30px auto 80px;
  }
  .cmshtml .sec_top_impress > div:first-child,
.cmshtml .sec_top_impress > div:nth-child(2) {
    width: 100%;
    margin: 0 auto;
  }
  .cmshtml .sec_seo {
    padding: 0 2%;
  }
  .cmshtml .sec_facinfo > div {
    width: calc(50% - 40px);
    margin: 0 auto 20px;
  }
  .cmshtml .sec_facinfo .sec_tit {
    font-size: 16px;
  }
  .cmshtml .sec_about {
    padding: 0 2%;
  }
  .cmshtml .sec_info {
    max-width: 98%;
  }
  .cmshtml #page-top {
    bottom: 20px;
    right: 20px;
  }
  .cmshtml #footer {
    padding: 60px 0 30px;
  }
  .cmshtml #footer .inwrap {
    width: 100%;
    padding: 0 2%;
  }
  .cmshtml #footer .inwrap > * {
    width: 45%;
  }
  .cmshtml #footer .inwrap > *:first-child {
    width: 100%;
    margin-bottom: 30px;
  }
  .cmshtml .f_about {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #a59e9d;
  }
}

@media screen and (max-width: 800px) {
  .cmshtml .top_catch_txt {
    background-color: rgba(0, 0, 0, 0.25);
    text-align: center;
    left: 0;
    width: 100%;
    padding: 10px;
    top: 40%;
  }
  .cmshtml .top_catch_txt .tpcatch {
    background: none;
    font-size: 28px;
    padding: 0;
  }
  .cmshtml .top_catch_txt2 .tpcatch {
    font-size: 28px;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
  }
  .cmshtml .sec_info {
    width: 100%;
    max-width: 600px;
    padding: 0 2%;
  }
  .cmshtml .fli_child {
    padding-left: 20px;
  }
}

@media screen and (max-width: 680px) {
  .cmshtml .top_catch_txt .tpcatch {
    font-size: 18px;
  }
  .cmshtml .top_catch_txt2 .tpcatch {
    font-size: 18px;
  }
  .cmshtml .sec_top_impress .textbox .topcatch {
    font-size: 16px;
  }
  .cmshtml .sec_top_impress .textbox .txt,
.cmshtml .txt,
.cmshtml p {
    font-size: 14px;
  }
  .cmshtml .sec_top_impress .imgbox {
    box-shadow: none;
  }
  .cmshtml .sec_facinfo {
    padding: 0 2%;
  }
  .cmshtml .sec_facinfo > div {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .cmshtml .sec_recruit .sec_tit {
    max-width: 130px;
    padding-top: 80px;
  }
  .cmshtml .news_div {
    display: block;
  }
  .cmshtml .sec_rec {
    padding-bottom: 0;
  }
  .cmshtml #footer .inwrap > * {
    width: 100%;
    margin: auto;
  }
  .cmshtml .f_li {
    margin-top: 15px;
    font-size: 16px;
  }
  .cmshtml .fli_child {
    margin-right: 20px;
    display: inline-block;
    margin-top: 5px;
    font-size: 14px;
  }
  .cmshtml .link_btn a {
    padding: 10px 35px;
    font-size: 14px !important;
  }
  .cmshtml .sec_rec {
    padding-bottom: 0;
  }
  .cmshtml .sec_tit {
    font-size: 22px;
  }
  .cmshtml .subpage_contents .page_link {
    justify-content: flex-start;
    margin-bottom: 0 !important;
  }
  .cmshtml .subpage_contents .page_link > div {
    width: calc(50% - 20px);
  }
  .cmshtml .page_link .p_link a {
    display: block;
  }
  .cmshtml .p_link, .cmshtml .page_link .p_link a {
    font-size: 12px;
  }
  .cmshtml .module_blogwrapper {
    display: block;
  }
  .cmshtml #contents .module_blog {
    padding: 0;
  }
  .cmshtml .module_side {
    width: 100%;
    max-width: 100%;
    margin: 30px auto 0 !important;
  }
  .cmshtml .pt_txt {
    font-size: 16px;
  }
  .cmshtml .link_btn02 a {
    line-height: 1.3;
  }
  .cmshtml .bt_line > div {
    padding: 10px;
  }
  .cmshtml .bt_line > div:first-child {
    padding-right: 10px;
    width: 40%;
  }
  .cmshtml .bt_line > div:nth-child(2) {
    width: 60%;
  }
  .cmshtml .bt_line {
    display: block;
  }
  .cmshtml .bt_line > div:first-child {
    border-bottom: 1px solid #10253f !important;
  }
  .cmshtml .bt_line > div:first-child,
.cmshtml .bt_line > div:nth-child(2) {
    padding: 10px;
    width: 100%;
  }
  .cmshtml .qa_q:before,
.cmshtml .qa_a:before {
    font-size: 16px;
    height: 30px;
    width: 30px;
  }
  .cmshtml .qa_q > div, .cmshtml .qa_a > div {
    padding: 10px;
    max-width: calc(100% - 30px);
  }
  .cmshtml .qa_q, .cmshtml .qa_a {
    font-size: 14px;
  }
  .cmshtml #footer .add_tel {
    font-size: 13px;
  }
  .cmshtml .news_div .date,
.cmshtml .news_div .textbox {
    font-size: 14px;
  }
}

@media screen and (max-width: 680px) {
  .cmshtml .subpage_contents h2 {
    font-size: 22px !important;
    padding: 12px 0;
  }
  .cmshtml .subpage_contents h3 {
    font-size: 18px !important;
    padding-bottom: 10px;
  }
  .cmshtml .subpage_contents h3:after, .cmshtml .subpage_contents h4:before {
    height: 2px;
  }
  .cmshtml .subpage_contents h4 {
    font-size: 18px !important;
    padding-top: 10px;
  }
  .cmshtml .subpage_contents h5 {
    font-size: 16px !important;
  }
  .cmshtml .subpage_contents h6 {
    font-size: 16px !important;
    line-height: 1;
    padding: 8px 16px;
  }
  .cmshtml .ico_title .textbox {
    font-size: 18px;
  }
  .cmshtml .ico_title > div:first-child {
    max-width: 30px;
  }
}