@media (min-width:320px) and (max-width: 560px) {
    h1 {
      font-size: 24px;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    h1 {
      font-size: 24px;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    h2 {
      font-size: 20px;
    }
    #nav{display:none;}
  }

   @media (min-width:320px) and (max-width: 560px) {
    p {
      font-size: 16px;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .pc {
      display: none !important;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .sp {
      display: block !important;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .util-btn a {
      width: 320px;
    }
  }

  @media (min-width:561px) and (max-width: 1279px) {
    .util-btn a {
      width: 320px;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    header#header div.header_name {
      font-size: 20px;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    header#header .nav {
      display: none;
    }
  }

  @media (min-width:561px) and (max-width: 1279px) {
    header#header .nav {
      display: none;
    }
  }

  @media (min-width:561px) and (max-width: 1279px) {
    header#header nav ul li.has-child dt {
      height: 25vh;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    #top {
      background: url(https://kinyutorihiki.com/files/kinyutorihiki/mv_2_sp.png) no-repeat center center/cover;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    #top .mv_container {
      padding: 80% 0 70%;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .image {
      background-size: cover;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .src1 {
      background-image: url(https://kinyutorihiki.com/files/kinyutorihiki/mv_1_sp.png);
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .src2 {
      background-image: url(https://kinyutorihiki.com/files/kinyutorihiki/mv_2_sp.png);
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .src3 {
      background-image: url(https://kinyutorihiki.com/files/kinyutorihiki/mv_3_sp.png);
    }
  }

  @media (min-width:561px) and (max-width: 1279px) {
    #top .mv .mv_head span {
      font-size: 10px;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    #top .mv .mv_head span {
      font-size: 10px;
    }
  }

  @media (min-width:561px) and (max-width: 1279px) {
    #top .mv .mv_head p {
      font-size: 16px;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    #top .mv .mv_head p {
      font-size: 16px;
      line-height: 1.6;
      padding: 5% 0 0;
    }
  }

  @media (min-width:561px) and (max-width: 1279px) {
    #top .mv nav ul {
      font-size: 16px;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    #top .mv nav ul {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column;
      text-align: center;
      line-height: 2.4;
      padding: 15% 0 0;
      font-size: 16px;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    #top .mv nav ul li a::after {
      color: #fff;
      top: 0;
      content: "▼";
      position: absolute;
      right: 80px;
    }
  }

  @media (min-width:561px) and (max-width: 1279px) {
    #top .mv nav ul li:after {
      right: -25px;
    }
  }
   @media (min-width:320px) and (max-width: 560px) {
    #top .mv nav ul li:after {
      content: "";
      display: none;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .about_list1{
      display: block;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    .about_list1{
      display: block;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .about_list1 li {
      width: 100%;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    .about_list1 li {
      width: 100%;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .about_list1 li:first-of-type::before, .about_list1 li:nth-of-type(2)::before, .about_list1 li:last-of-type::before{
      -webkit-transform: scale(0.2);
              transform: scale(0.2);
      bottom: -80%;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    .about_list1 li:first-of-type::before, .about_list1 li:nth-of-type(2)::before, .about_list1 li:last-of-type::before{
      -webkit-transform: scale(0.4);
              transform: scale(0.4);
      bottom: -40%;
      left: 60%;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .about_list2 li:first-of-type::before, .about_list2 li:last-of-type::before {
      -webkit-transform: scale(0.25);
              transform: scale(0.25);
      right: -30%;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .about_list1 li h3, .about_list2 li h3 {
      font-size: 18px;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .about_lead_box {
      width: 100%;
      margin-left: 0;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    .about_lead_box {
      width: 80%;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .about_lead_box::before {
      content: "";
      display: none;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    .about_lead_box::before {
      content: "";
      display: none;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    #support .support_container {
      display: block;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    #support .support_container {
      display: block;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    #support .support_box {
      width: 100%;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    #support .support_box {
      width: 100%;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    #support .support_img img {
      display: none;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    #support .support_img img {
      display: none;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .note_wrap {
      padding: 0 2%;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .btn_wrap {
      display: block;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    .btn_wrap {
      display: block;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .voice_box {
      width: 100%;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    .voice_box {
      width: 100%;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .voice_box::before {
      display: none;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    .voice_box::before {
      display: none;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .sns_content {
      height: 60vh;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    .sns_content {
      height: 70vh;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    #sns .wrapper {
      display: block;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    #sns .wrapper {
      display: block;
    }
  }
   @media (min-width:320px) and (max-width: 560px) {
    .sns_box {
      width: 100%;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    .sns_box {
      width: 100%;
    }
  }
  
   @media (min-width:320px) and (max-width: 560px) {
    .sns_01:before {
      display: none;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    .sns_01:before {
      -webkit-transform: scale(0.4, 0.4);
              transform: scale(0.4, 0.4);
      top: -40%;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .sns_02:before {
      display: none;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    .sns_02:before {
      -webkit-transform: scale(0.5, 0.5);
              transform: scale(0.5, 0.5);
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .sns_03:before {
      display: none;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    .sns_03:before {
      -webkit-transform: scale(0.4, 0.4);
              transform: scale(0.4, 0.4);
      right: -40%;
    }
  }
  
   @media (min-width:320px) and (max-width: 560px) {
    #sns .img_bg_03 .wrapper {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: reverse;
          -ms-flex-direction: column-reverse;
              flex-direction: column-reverse;
    }
  }
  @media (min-width:561px) and (max-width: 1279px) {
    #sns .img_bg_03 .wrapper {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: reverse;
          -ms-flex-direction: column-reverse;
              flex-direction: column-reverse;
    }
  }
   @media (min-width:320px) and (max-width: 560px) {
    .parallax::before {
      content: "";
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      -webkit-transform: translate3d(0, 0, -1px);
      transform: translate3d(0, 0, -1px);
      width: 100%;
      min-height: 100%;
      background-size: cover;
      z-index: -1;
    }
    .img_bg_02 {
      background: url(http://kinyutorihiki.com/files/kinyutorihiki/bg3.png) no-repeat center center/cover;
    }
    .img_bg_03 {
      background: url(http://kinyutorihiki.com/files/kinyutorihiki/bg5.png) no-repeat center center/cover;
    }
    .img_bg_04 {
      background: url(http://kinyutorihiki.com/files/kinyutorihiki/bg4.png) no-repeat center center/cover;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    #office dl dt {
      padding: 5% 0 3% 10%;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    #office dl dd {
      padding: 5% 0 3% 2%;
    }
  }

  @media(max-width: 560px) {
    #info ul{display: block;
  }
  }

   @media (min-width:320px) and (max-width: 560px) {
    #info ul li{width: 100%;
  }}

   @media (min-width:320px) and (max-width: 560px) {
    .footer_container {
      display: block;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .footer_left .sns_list li a img {
      width: auto;
      height: 64px;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .footer_sitemap{display: block;}
  }

   @media (min-width:320px) and (max-width: 560px) {
    .footer_center,
    .footer_right{
    width: 100%;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .mail_ad a img {
      width: 100%;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .mail_ad {
      width: -webkit-fit-content;
      width: -moz-fit-content;
      width: fit-content;
    }
  }

   @media (min-width:320px) and (max-width: 560px) {
    .sitemap {
      text-align: center;
    }
  }
  
  /*==============================================
# header
/*============================================*/
header#heading {
  background: -webkit-gradient(linear, left top, right top, from(#171f6b), to(#161b3e));
  background: linear-gradient(to right, #171f6b, #161b3e);
  position: fixed;
  width: 100%;
  top: -120px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  z-index: 999;
}

header#heading.show {
  top: 0;
  z-index: 999;
  text-align:center;
}

header#heading div.header_name {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  padding-top: 10px;
  z-index: 999;
}


header#heading div.tel {
  color: #fff;
  font-weight: 700;
  text-align: center;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  padding-bottom: 0.5%;
  z-index: 999;
}
header#heading div.tel:hover {
  opacity: 0.7;
}

header#heading .nav {
  background: -webkit-gradient(linear, left top, right top, from(#171f6b), to(#161b3e));
  background: linear-gradient(to right, #171f6b, #161b3e);
  color: #fff;
  text-align: center;
  z-index: 999;
}


header#heading nav ul {
  width: 100%;
  position: relative;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

header#heading nav ul ul {
  display: block;
}

header#heading nav ul li a {
  position: relative;
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 20px 45px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
header#heading nav ul li a:hover {
  color: #fff;
}

header#heading nav ul li li a {
  padding: 20px;
}

header#heading nav ul li.has-child > a::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 25px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #999;
  border-right: 2px solid #999;
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
}

header#heading nav ul li.has-child img {
  max-width: 100%;
  height: 140px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  vertical-align: bottom;
  display: inline-block;
  margin-bottom: 20px;
}
header#heading nav ul li.has-child img:hover {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}

header#heading nav ul li.has-child dt {
  overflow: hidden;
  height: 20vh;
  margin: 0 0 10px 0;
}
@media (min-width:561px) and (max-width: 1279px) {
  header#heading nav ul li.has-child dt {
    height: 25vh;
  }
}

header#heading nav ul li.has-child dt p {
  display: block;
}

header#heading nav ul li.has-child ul {
  position: absolute;
  left: 5%;
  top: 58px;
  z-index: 4;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  background: #888;
  width: 90%;
  display: none;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

header#heading nav ul li.has-child:hover > ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  visibility: visible;
  opacity: 1;
}

header#heading nav ul li.has-child ul li {
  width: 20%;
}

header#heading nav ul li.has-child ul li a {
  color: #fff;
}

header#heading nav ul li.has-child ul li a:hover,
header#heading nav ul li.has-child ul li a:active {
  background: -webkit-gradient(linear, left top, right top, from(#171f6b), to(#161b3e));
  background: linear-gradient(to right, #171f6b, #161b3e);
}