@charset "UTF-8";
@media (min-width: 1400px) {

}

@media (max-width: 1399px) {

  .scroll-to-top {
    width: 100px;
    right: 20px;
    bottom: 20px;
  }

}

@media (min-width: 1200px) {

}

@media (max-width: 1199px) {
  .home_kv {
    min-height: 600px;
  }
  .home_kv img {
    width: 500px;
  }
  .home_kv_text {
    margin-top: -80px;
  }
  .home_catch {
    font-size: 100px;
  }
  .home_kv h1 {
    font-size: 50px;
  }

  .gmap iframe {
    height: 450px;
  }


  .scroll-to-top {
    width: 80px;
  }

  /*======================
    contact
  ======================*/

  .contact_form input.form_m, .contact_form textarea.form_m, .contact_form select.form_m {
    width: 270px;
  }

}

@media (min-width: 992px) {

}

@media (max-width: 991px) {
  #header {
    height: 100px;
    padding: 40px 20px 0;
  }
  #header.scrolled {
      height: 80px;
      padding: 20px 20px 0;
  }
	#header .logo {
    font-size: 28px;
	}
  #menu-mainmenu a, #menu-mainmenu .nav_contact {
    margin: 0 .5em;
  }
  #menu-mainmenu .nav_contact a {
    width: 120px;
  }
  .foot_logo {
    font-size: 40px;
  }
  .foot_logo + p {
    font-size: 20px;
  }
  .foot_contact {
    font-size: 36px;
  }
  .foot_tel, .foot_mail {
    background-size: 40px;
    padding-left: 50px;
  }
  main {
    padding-top: 100px;
  }
  .triangle-top:before {
    top: 100px;
  }
  .home_kv {
    min-height: 500px;
    height: calc(80vh - 100px);
  }
  .triangle-top:before, .triangle-bottom:after {
    width: 160px;
    height: 160px;
  }
  .home_kv_text {
    margin-top: -60px;
  }
  .home_catch {
    font-size: 76px;
  }
  .home_kv h1 {
    font-size: 40px;
  }
  .home_kv img {
    width: 440px;
  }
  .home_cont h2 {
    font-size: 70px;
  }
  .home_cont h2 + p {
    font-size: 20px;
  }
  .home_text {
    font-size: 16px;
  }
  section {
    padding-top: 80px;
  }
  .page_about h2 {
      font-size: 80px;
  }
  .about_catch {
    font-size: 15px;
  }
  .company_prof dt, .company_prof dd {
    font-size: 16px;
  }
  .service_ttl {
    font-size: 28px;
  }
  .page_service h2, .page_works h2 {
    font-size: 34px;
  }
  .contact_catch .foot_tel {
    font-size: 76px;
    background-size: 76px;
    padding-left: 98px;
  }
  /*======================
    contact
  ======================*/
  .contact_form th, .contact_form td {
    display: block;
    width: 100%;
    padding: 0.8em 0;
  }
  .contact_form input[type=radio], .contact_form input[type=checkbox] {
    margin: 0.5em 0;
  }
  .contact_form th {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 0;
  }
  .page_thanks p {
    font-size: 16px;
  }
}

/* max-width:991px */

@media (min-width: 768px) {
  .sp {
    display: none !important;
  }

  a[href^="tel:"] {
    pointer-events: none;
  }


}

@media (max-width: 767px) {
  .pc {
    display: none !important;
  }

  main {
    padding-top: 75px;
  }
  .triangle-top:before {
    top: 75px;
  }

  .home_kv {
    min-height: 0;
    height: 360px;
  }
  .home_kv_text {
    margin-top: -40px;
  }
  .home_catch {
    font-size: 54px;
  }
  .home_kv h1 {
    font-size: 30px;
  }
  .home_kv img {
    width: 320px;
  }
  .triangle-top:before, .triangle-bottom:after {
    width: 120px;
    height: 120px;
  }
  .home_cont h2 {
    font-size: 48px;
  }
  .home_cont h2 + p {
    font-size: 16px;
  }
  .content_link {
    width: 260px;
    font-size: 24px;
  }
  .content_link > span span {
    padding-right: 60px;
  }
  .content_link > span span:before {
    width: 48px;
  }
  .content_link.content_link--jp {
    font-size: 20px;
  }




  .scroll-to-top {
    right: 15px;
    bottom: 15px;
  }
  #header .logo {
    font-size: 24px;
	}

  #header, #header.scrolled {
    height: 75px;
    padding: 22px 20px;
  }
  #head_nav, #head_nav #head_nav_list {
    width: 100%;
  }
  #head_nav {
    position: fixed;
    z-index: 999;
    top: 75px;
    right: -100%;
    height: 100vh;
    background: linear-gradient(to right, #4C4C4C, #303030);
    transition: all 0.6s;
  }

  #head_nav #head_nav_list {
    z-index: 999;
    position: fixed;
    top: 80px;
    height: calc(100vh - 80px);
    padding-bottom: 40px;
  }
  #head_nav ul {
    display: block;
    padding: 0 10px;
  }
  #head_nav li ul {
    padding-left: 2em;
  }
  #head_nav li a {
    display: block;
    color: #fff;
    line-height: 2;
    padding: 0 60px;
    margin-top: 1.2em;
    font-size: 18px;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.08em;
  }

  #menu-mainmenu .nav_contact a {
    margin: 1.2em auto 0;
    width: 140px;
    display: inline-block;
  }
  #head_nav.panelactive {
    right: 0;
  }

  #head_nav.panelactive #head_nav_list {
    overflow: auto;
  }

  .head_nav_btn {
    display: block;
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 20px;
    width: 30px;
    height: 75px;
    cursor: pointer;
  }

  .head_nav_btn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 0;
    height: 3px;
    width: 30px;
    background-color: #fff;
  }

  .head_nav_btn span:nth-of-type(1) {
    top: 26px;
  }

  .head_nav_btn span:nth-of-type(2) {
    top: 36px;
  }

  .head_nav_btn span:nth-of-type(3) {
    top: 46px;
  }

  .head_nav_btn.active span:nth-of-type(1) {
    top: 36px;
    transform: rotate(-45deg);
  }

  .head_nav_btn.active span:nth-of-type(2) {
    opacity: 0;
  }

  .head_nav_btn.active span:nth-of-type(3) {
    top: 36px;
    transform: rotate(45deg);
  }
  .img_over > div {
    width: 100%;
  }
  .img_over .img_over_left, .img_over .img_over_right {
    flex: auto;
    margin: 1em 0 0;
  }
  .img_over img {
    max-width: none;
    max-height: none;
  }


  .scroll-to-top {
    width: 50px;
  }


  footer {
  }
  .foot_logo {
    font-size: 30px;
  }
  .foot_logo + p {
    font-size: 16px;
  }
  .foot_contact {
    font-size: 24px;
  }
  .foot_tel, .foot_mail {
    background-size: 30px;
    padding-left: 40px;
  }
  .page_ttl h1 {
    font-size: 56px;
    margin-right: 20px;
  }
  .page_about h2 {
    font-size: 60px;
  }
  .company_prof > div {
    display: block;
    margin-bottom: 4px;
  }
  .company_prof dt, .company_prof dd {
    width: 100%;
    padding: 0;
  }
  .company_prof dt span, .company_prof dd span {
    padding: .6em 1em;
  }
  .company_prof dt span {
    font-weight: bold;
    border-right: 0;
    padding-bottom: 0;
  }
  .company_prof dd span {
    padding-top: .4em;
  }
  .gmap iframe {
    height: 300px;
  }
  .contact_catch p {
    font-size: 18px;
  }
  .contact_catch .foot_tel {
    font-size: 60px;
    background-size: 59px;
    padding-left: 76px;
  }
  .contact_form th {
    font-size: 16px;
  }
  .page_thanks h2 {
    font-size: 20px;
  }
  .page_thanks p {
    line-height: 2;
  }
}

/* max-width: 767px */

@media (min-width: 576px) {

}

@media (max-width: 575px) {
  section {
    padding-top: 60px;
  }
  .foot_logo {
    font-size: 28px;
  }
  .foot_logo + p {
    font-size: 16px;
  }
  .foot_contact {
    font-size: 20px;
  }
  .foot_tel, .foot_mail {
    background-size: 26px;
    padding-left: 36px;
  }
  .home_kv_text {
    margin-top: -30px;
  }
  .home_catch {
    font-size: 40px;
  }
  .home_kv h1 {
    font-size: 24px;
  }
  .home_kv img {
    width: 240px;
  }
  .home_kv {
    height: 280px;
  }
  .triangle-top:before, .triangle-bottom:after {
    width: 100px;
    height: 100px;
  }
  .home_cont h2 {
    font-size: 36px;
  }
  .home_cont h2 + p {
    font-size: 14px;
  }

  .content_link {
    font-size: 22px;
  }
  .content_link > span span {
    padding-right: 52px;
  }
  .content_link > span span:before {
    width: 40px;
  }
  .content_link.content_link--jp {
    font-size: 18px;
  }
  .page_ttl h1 {
    font-size: 36px;
  }
  .page_about h2 {
    font-size: 38px;
  }
  .page_about h3 {
    font-size: 36px;
  }
  .page_service h2, .page_works h2 {
      font-size: 30px;
  }
  .contact_catch p {
    font-size: 16px;
  }
  .contact_catch .foot_tel {
    font-size: 32px;
    background-size: 30px;
    padding-left: 40px;
  }
  .contact_form h2 {
    font-size: 18px;
  }
}
