/*
Theme Name: 株式会社IFT
Description: 株式会社IFTの公式ホームページ
Author: shuto
*/
/*-------------------------基本情報-------------------------*/
*{
  font-family: "ヒラギノ角ゴ Pro","Hiragino Kaku Gothic Pro","YuMincho","Yu Mincho",serif,"游ゴシック","Yu Gothic","ヒラギノ明朝 Pro","Hiragino Mincho Pro","メイリオ",Meiryo,sans-serif;
  color: #162983;
  box-sizing: border-box;
}
.main{
  width: 100%;
  overflow-x: hidden;
}
a{
  text-decoration: none;
  color: #162983;
}
a:link{color: #162983;}
a:visited{color: #162983;}
a:hover{
  color: rgba(22, 41, 131, 0.8);
  text-decoration: underline;
}
h1{
  font-size: 24px;
}
h2{
  font-size: 22px;
}
h3{
  font-size: 20px;
}
h4{
  font-size: 18px;
}
h5{
  font-size: 16px;
}
h6{
  font-size: 14px;
}
p{
  font-size: 16px;
}
li{
  list-style: none;
}

@media screen and (max-width:830px){
  h1{
    font-size: 22px;
  }
  h2{
    font-size: 20px;
  }
  h3{
    font-size: 18px;
  }
  h4{
    font-size: 16px;
  }
  h5{
    font-size: 14px;
  }
}
@media screen and (max-width:550px){
  h1{
    font-size: 18px;
  }
  h2{
    font-size: 16px;
  }
  h3{
    font-size: 14px;
  }
  h4{
    font-size: 14px;
  }
  p{
    font-size: 14px;
  }
}

/*-------------------------header-------------------------*/
header{
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0);
  padding-left: 40px;
  position: fixed;
  z-index: 9999;
}
.header-left a{
  display: flex;
  align-items: center;
  text-decoration: none;
}
header img{
  height: 60px;
  margin-right: 10px;
}
.logo_name{
  height: 90px;
}
header p{
  font-size: 42px;
  font-family: serif;
  display: flex;
  flex-direction: column;
}
header span{
  font-size: 16px;
}
@media screen and (max-width:800px){
  header{
    height: 80px;
    padding-left: 10px;
  }
  header img{
    margin-right: 10px;
  }
}
@media screen and (max-width:500px){
  header span{
    font-size: 12px;
  }
  header img{
    height: 50px;
    margin-right: 5px;
  }
  .logo_name{
    height: 70px;
  }
}

/*-------------------------ハンバーガー-------------------------*/
.hamburger{
  position: fixed;
  z-index: 9999;
  right: 0%;
  top: 0;
  width: 100px;
  height: 100px;
  background-color: #162983;
  cursor: pointer;
}
.hamburger span{
  display: block;
  position: absolute;
  width: 50px;
  height: 2px;
  left: 25px;
  background: rgb(255, 255, 255);
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.hamburger span:nth-child(1){
  top: 38px;
}
.hamburger span:nth-child(2){
  top: 50px;
}
.hamburger span:nth-child(3){
  top: 62px;
}
/* ナビ開いてる時のボタン */
.hamburger.active span:nth-child(1){
  top: 50px;
  left: 25px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3){
  top: 50px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}
nav.globalMenuSp{
  position: fixed;
  overflow: auto;
  z-index: 100;
  top: 0;
  left: 0;
  color: #162983;
  background: rgba(0,0,0,0.7);
  text-align: center;
  width: 100%;
  height: 100%;
  display: none;
}
nav.globalMenuSp ul li{
  transition: .4s all;
}
nav.globalMenuSp ul li:last-child{
  padding-bottom: 0;
}
nav.globalMenuSp ul li:hover{
  background :#162983;
}
nav.globalMenuSp ul li a{
  display: block;
  color: #fff;
  padding: 2em 0;
  text-decoration :none;
}
@media screen and (max-width:800px){
  .hamburger{
    width: 80px;
    height: 80px;
  }
  .hamburger span{
    left: 15px;
  }
  .hamburger span:nth-child(1){
    top: 27px;
  }
  .hamburger span:nth-child(2){
    top: 39px;
  }
  .hamburger span:nth-child(3){
    top: 51px;
  }
  .hamburger.active span:nth-child(1){
    top: 40px;
    left: 15px;
  }
  /* ナビ開いてる時のボタン */
  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-child(3){
    top: 40px;
  }
}

/*-------------------------top-slide-------------------------*/
.top{
  width: 100%;
  height: 100vh;
}
.top-img img{
  object-fit: cover;
  width: 100%;
  height: calc(100vh - 0px);
}

/*-------------------------top-スクロールガイド-------------------------*/
.scroll-guide{
  background-color: #162983;
  height: 100vh;
  width: 100px;
  position: absolute;
  top: 0;
  right: 0;
}
.scroll-bottom{
  letter-spacing: 4px;
  margin: auto;
  margin-top: 60vh;
  margin-bottom: 20px;
  -ms-writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}
.scroll-bottom p{
  color: rgb(255, 255, 255);
  font-size: 10px;
  font-family: brandon-grotesque, sans-serif;
}
.thinbottom{
  position: relative;
  -webkit-animation: sdb 1s infinite;
  animation: sdb 1s infinite;
}
.thinbottom::before{
  content: "";
  display: block;
  position: absolute;
  top: 0px;
  left: 50px;
  width: 0.5px;
  height: 150px;
  background: rgb(255, 255, 255);
}
.thinbottom::after{
  content: "";
  display: block;
  position: absolute;
  top: 137px;
  left: 45px;
  width: 10px;
  height: 10px;
  border: 0.5px solid;
  border-color: transparent transparent rgb(255, 255, 255) transparent;
  transform: rotate(-45deg);
}
@-webkit-keyframes sdb {
  0% {
    -webkit-transform: translate(0, 0);
  }
  20% {
    -webkit-transform: translate(0, 10px);
  }
  40% {
    -webkit-transform: translate(0, 0);
  }
}
@keyframes sdb {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(0, 10px);
  }
  40% {
    transform: translate(0, 0);
  }
}
@media screen and (max-width:800px){
  .scroll-guide{
    display: none;
  }
}

/*-------------------------コンテンツ-------------------------*/
.content{
  width: 100%;
  position: relative;
  display: flex;
  justify-content: flex-end;
}
.content-img{
  width: 610px;
  padding-top: 200px;
}
.content img{
  width: 100%;
}
.content-box{
  position: absolute;
  top: 0;
  left: 152px;
  width: 578px;
  padding-top: 200px;
}
.content-name{
  display: flex;
  align-items: center;
  margin-left: 10px;
}
.content-name:after {
  border-top: 1px solid;
  content: "";
  width: 60px; /* 線の長さ */
  margin-left: 30px; /* 文字の左隣 */
}
.content-name h1{
  font-family: brandon-grotesque, sans-serif;
}
.content-title{
  line-height: 1.35;
  margin-top: 35px;
  margin-bottom: 35px;
}
.content-title p{
  font-size: 34px;
  font-weight: 600;
}
.content-text{
  line-height: 2.2;
  text-align: justify;
  margin-left: 10px;
  margin-bottom: 40px;
}
@media screen and (max-width:1330px){
  .content{
    justify-content: center;
    flex-direction: column-reverse;
    margin-top: 100px;
  }
  .content-box{
    position: inherit;
    left: 0;
    width: 80%;
    margin: auto;
    padding-top: 0px;
  }
  .content-img{
    margin: auto;
    padding-top: 50px;
  }
}
@media screen and (max-width:750px){
  .content-img{
    width: 100%;
  }
  .content-title p{
    font-size: 30px;
  }
}
@media screen and (max-width:650px){
  .content-title p{
    font-size: 24px;
  }
}
@media screen and (max-width:600px){
  .content-img{
    padding-top: 50px;
  }
}
@media screen and (max-width:530px){
  .content-title{
    margin-top: 30px;
    margin-bottom: 20px;
    width: 325px;
  }
  .content-title p{
    font-size: 22px;
  }
}
@media screen and (max-width:350px){
  .content-title{
    margin-top: 30px;
    margin-bottom: 20px;
    width: 310px;
  }
  .content-box{
    width: 90%;
  }
}
/*-------------------------クリックボタン-------------------------*/
.button-box{
  text-align: center;
}
.button-box a{
  text-decoration: none;
}
.button{
  display: inline-block;
  width: 90%;
  max-width: 350px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  text-decoration: none;
  position: relative;
  z-index: 2;
  border: 1px solid;
  border-radius: 30px;
  overflow: hidden;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2px;
}
.button::before{
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
}
.button,
.button::before{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .5s;
  transition: all .5s;
}
.button:hover span{
  color: rgb(255, 255, 255);
  text-decoration: none;
}
.button:hover::before{
  top: 0;
  left: 0;
  background-color: #162983;
}
.button-right{
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}
.button:hover .fa-chevron-right{
  color: rgb(255, 255, 255);
}
/*-------------------------コンテンツ2(左右逆ver)-------------------------*/
.con2{
  justify-content: left;
  margin-bottom: 200px;
}
.con2-box{
  left: auto;
  right: 140px;
}
@media screen and (max-width:1330px){
  .con2-box{
    right: 0;
  }
}
@media screen and (max-width:450px){
  .con2{
    margin-bottom: 100px;
  }
}

/*-------------------------コンテンツ（求人）-------------------------*/
.content4{
  width: 100%;
  position: relative;
}
.con4-img{
  position: absolute;
  top: 35px;
  right: 0;
  width: 50%;
  max-width: 720px;
}
.con4-img img{
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: left;
}
.con4-box{
  background-color: #162983;
  width: 100%;
  max-width: 1152px;
  margin: auto;
  padding-top: 35px;
  padding-bottom: 73px;
  padding-left: 75px;
  margin-bottom: 30px;
}
.con4-name{
  max-width: 400px;
  text-align: center;
}
.con4-name h1{
  color: rgba(255, 255, 255, 0.5);
  font-family: brandon-grotesque, sans-serif;
}
.con4-title{
  line-height: 1.48;
  margin-top: 33.5px;
  margin-left: 8px;
  margin-bottom: 25px;
}
.con4-title p{
  color: rgb(255, 255, 255);
  font-size: 24px;
  font-weight: 600;
}
.con4-text{
  line-height: 2.2;
  text-align: justify;
  max-width: 435px;
  border-top: 2px solid rgb(255, 255, 255);
  padding-top: 23px;
}
.con4-text p{
  color: rgb(255, 255, 255);
  font-weight: 400;
}
@media screen and (max-width:1000px){
  .con4-img{
    display: none;
  }
  .con4-box{
    padding-left: 0;
  }
  .con4-name{
    width: 80%;
    margin: auto;
  }
  .con4-title{
    width: 80%;
    margin: auto;
    max-width: 600px;
    margin-top: 33.5px;
    margin-bottom: 25px;
    text-align: center;
  }
  .con4-text{
    width: 80%;
    margin: auto;
    max-width: 600px;
  }
}
@media screen and (max-width:600px){
  .con4-name{
    width: 90%;
  }
  .con4-title{
    width: 90%;
  }
  .con4-text{
    width: 90%;
  }
}
@media screen and (max-width:450px){
  .con4-title p{
    font-size: 22px;
  }
  .con4-title{
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .con4-box{
    padding-top: 30px;
    padding-bottom: 50px;
  }
}
/*-------------------------リクルートボタン-------------------------*/
.button-re{
  position: relative;
  top: 0;
  left: -300px;
  margin-bottom: 200px;
}
@media screen and (max-width:1000px){
  .button-re{
    position: unset;
  }
}
@media screen and (max-width:450px){
  .button-re{
    margin-bottom: 150px;
  }
}

/*-------------------------コンテンツ5(title)-------------------------*/
.con5-title{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}
.con5-title::before{
  border-top: 1px solid;
  content: "";
  width: 60px; /* 線の長さ */
  margin-right: 30px; /* 文字の右隣 */
}
.con5-title:after{
  border-top: 1px solid;
  content: "";
  width: 60px; /* 線の長さ */
  margin-left: 30px; /* 文字の左隣 */
}
.con5-title h1{
  font-family: brandon-grotesque, sans-serif;
}
/*-------------------------コンテンツ5(map)-------------------------*/
.map{
  width: 90%;
  max-width: 1240px;
  margin: auto;
  text-align: center;
  margin-bottom: 300px;
}
.address{
  background-color: #162983;
  line-height: 36px;
}
.address p{
  color: rgb(255, 255, 255);
  font-size: 18px;
}
@media screen and (max-width:450px){
  .map{
    width: 100%;
    margin-bottom: 150px;
  }
}

/*-------------------------footer-------------------------*/
footer{
  overflow: hidden;
  background-color: #162983;
  padding: 0 100px;
}
.footer-top{
  padding: 20px 0;
  border-bottom: 1px solid rgb(255, 255, 255);
  margin-bottom: 23px;
}
.footer-top p{
  color: rgb(255, 255, 255);
  font-size: 20px;
  font-weight: 400;
}
.footer-middle{
  display: flex;
}
.footer-left{
  flex-basis: 50%;
  display: flex;
}
.footer-right{
  flex-basis: 50%;
  padding-top: 10px;
}
.footer-left p{
  color: rgb(255, 255, 255);
  line-height: 1.9;
}
.footer-name{
  margin-left: 9px;
  margin-right: 30px;
}
.footer-address{
  margin-bottom: 16px;
}
@media screen and (max-width:1250px){
  .footer-middle{
    display: block;
  }
  .footer-right{
    text-align: center;
    border-top: solid 1px rgb(255, 255, 255);
    padding-top: 30px;
  }
  .footer-left{
    padding-bottom: 30px;
  }
}
@media screen and (max-width:900px){
  .footer-left{
    justify-content: space-around;
  }
}
@media screen and (max-width:700px){
  footer{
    padding: 0 30px;
  }
}
@media screen and (max-width:500px){
  footer{
    text-align: center;
    padding: 0;
  }
  .footer-left{
    flex-direction: column;
    padding-bottom: 10px;
  }
  .footer-name{
    margin: 0;
  }
  .footer-address{
    margin-bottom: 0;
  }
  .footer-tel{
    margin-bottom: 16px;
  }
  .footer-right{
    padding-top: 0;
  }
}
/*-------------------------footer(table)-------------------------*/
.footer-table table{
  width: 100%;
}
.footer-table td{
  width: 33%;
  padding-bottom: 33px;
  font-size: 16px;
}
.footer-table td a{
  color: rgb(255, 255, 255);
}
.white{
  color: rgb(255, 255, 255);
}
.footer-table span{
  margin-right: 15px;
}
.footer-bottom{
  text-align: center;
  font-size: 12px;
  padding-top: 20px;
  padding-bottom: 25px;
}
.footer-bottom span{
  color: rgba(255, 255, 255, 0.5);
}
.footer-sp{
  display: none;
}
@media screen and (max-width:500px){
  .footer-table {
    display: none;
  }
  .footer-sp{
    display: block;
  }
  .footer-li span{
    margin-right: 15px;
  }
  .footer-li p{
    color: rgb(255, 255, 255);
    line-height: 60px;
    font-size: 18px;
    border-bottom: 1px solid rgb(255, 255, 255);
  }
}

/*-------------------------サブページ共通-------------------------*/
/*-------------------------全サブページ共通top-img-------------------------*/
.subpage-top{
  width: 100%;
  height: 400px;
  position: relative;
}
.subpage-img{
  width: 100%;
}
.subpage-img img{
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top right;
}
@media screen and (max-width:600px){
  .subpage-top{
    height: 200px;
  }
  .subpage-img img{
    height: 200px;
  }
}
/*-------------------------青box、マーク、タイトル共通-------------------------*/
.sub-content{
  width: 100%;
  max-width: 1000px;
  margin: auto;
  background-color: #F2F6F9;
  position: relative;
  top: -50px;
  padding-bottom: 100px;
  margin-bottom: 250px;
}
.w1200{
  max-width: 1200px;
}
.subpage-title{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 35px;
  padding-bottom: 35px;
}
.subpage-title::before{
  border-top: 1px solid;
  content: "";
  width: 60px; /* 線の長さ */
  margin-right: 55px; /* 文字の右隣 */
}
.subpage-title:after{
  border-top: 1px solid;
  content: "";
  width: 60px; /* 線の長さ */
  margin-left: 55px; /* 文字の左隣 */
}
.subpage-title p{
  font-size: 34px;
  font-weight: 600;
}
@media screen and (max-width:600px){
  .subpage-title p{
    font-size: 24px;
  }
}
@media screen and (max-width:450px){
  .sub-content{
    padding-bottom: 50px;
    margin-bottom: 150px;
  }
}

/*-------------------------施工事例ページ-------------------------*/
.ex-title{
  display: flex;
  align-items: center;
  margin-left: 14%;
  margin-bottom: 50px;
  margin-top: 100px;
}
.ex-title:after {
  border-top: 1px solid;
  content: "";
  width: 100px; /* 線の長さ */
  margin-left: 1em; /* 文字の左隣 */
}
.ex-title p{
  font-size: 24px;
  font-weight: 300;
}
@media screen and (max-width:800px){
  .ex-title{
    margin-left: 5%;
  }
  .ex-title p{
    font-size: 20px;
  }
  .ex-title:after {
    width: 50px; /* 線の長さ */
  }
}
@media screen and (max-width:450px){
  .ex-title p{
    font-size: 18px;
  }
}
/*-------------------------スライド-------------------------*/
.ex-slide{
  width: 100%;
  max-width: 800px;
  margin: auto;
  margin-bottom: 50px;
}
.slide-img img{
  height: auto;
  width: 100%;
}
.slick-arrow {
  position: absolute;
  margin: auto;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}
.prev-arrow {
  left: -100px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
}
.next-arrow {
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
@media screen and (max-width:1000px){
  .prev-arrow {
    left: 0;
  }
  .next-arrow {
    right: 0;
  }
}
@media screen and (max-width:700px){
  .prev-arrow {
    height: 40vw;
  }
  .next-arrow {
    height: 40vw;
  }
}

/*-------------------------会社概要ページ-------------------------*/
.company-li{
  background-color: rgb(255, 255, 255);
  width: 100%;
  max-width: 800px;
  margin: auto;
  margin-bottom: 10px;
  padding: 20px 30px;
  display: flex;
  line-height: 2;
}
.company-li-l{
  flex-basis: 25%;
}
.company-li-l p{
  font-size: 18px;
  font-weight: 600;
}
.company-li-r{
  flex-basis: 75%;
  padding-top: 2px;
}
.company-li-r p{
  font-size: 18px;
  font-weight: 300;
}
@media screen and (max-width:700px){
  .company-li{
    flex-direction: column;
  }
  .company-li-r{
    padding-top: 10px;
  }
}
@media screen and (max-width:600px){
  .company-li{
    line-height: 1.7;
  }
  .company-li-r{
    text-align: center;
  }
}

/*-------------------------採用情報ページ-------------------------*/
/*-------------------------会社概要と共通の為コメントのみ-------------------------*/
.recruit-com{
  font-size: 20px;
  padding: 45px 0;
  width: 90%;
  max-width: 800px;
  margin: auto;
  text-align: center;
  text-decoration: underline;
  font-weight: bold;
}

/*-------------------------お問い合わせ-------------------------*/
/*-------------------------お問い合わせフォーム-------------------------*/
.contact-form{
  width: 90%;
  max-width: 600px;
  margin: auto;
}
.form-text{
  width: 100%;
  padding-left: 20px;
  margin-bottom: 15px;
}
.form-text p{
  font-size: 18px;
  font-weight: 600;
}
.form-text span{
  color: red;
  font-size: 16px;
  font-weight: normal;
}
.form-box{
  width: 100%;
  margin: auto;
  height: 6vh;
  margin-bottom: 35px;
}
.form-textbox{
  width: 100%;
  margin: auto;
  height: 20vh;
  margin-bottom: 30px;
}
.form-box input{
  width: 100%;
  max-width: 100%;
  height: 100%;
  font-size: 18px;
  background-color: rgb(255, 255, 255);
  border: none;
  box-sizing: border-box;
  padding-right:0px;
}
.form-textbox textarea{
  width: 100%;
  max-width: 100%;
  height: 100%;
  font-size: 18px;
  background-color: rgb(255, 255, 255);
  border: none;
  padding-right:0px;
  box-sizing: border-box;
}
.send-button{
  background-color: #162983;
  width: 80%;
  max-width: 350px;
  margin: auto;
  text-align: center;
  position: relative;
  height: 50px;
  border-radius: 25px;
}
.send-button input{
  color: rgb(255, 255, 255);
  font-size: 18px;
  font-weight: 600;
  box-sizing: border-box;
  border-style:none;
  background: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  width: 100%;
  cursor: pointer;
  height: 100%;
}

/*-------------------------thanks-page-------------------------*/
.thanks-title{
  max-width: 80%;
  margin: auto;
  margin-bottom: 50px;
  text-align: center;
}
.thanks-title p{
  font-size: 30px;
}
.thanks-text{
  width: 90%;
  margin: auto;
  line-height: 1.4;
  margin-bottom: 120px;
}
.thanks-text p{
  font-size: 24px;
}
.br{
  display: none;
}
.page-top{
  width: 100%;
  text-align: center;
}
.page-top span{
  font-size: 20px;
}
@media screen and (max-width:600px){
  .thanks-title p{
    font-size: 24px;
  }
  .thanks-text p{
    font-size: 18px;
  }
  .page-top span{
    font-size: 16px;
  }
  .thanks-title{
    margin-bottom: 30px;
  }
  .thanks-text{
    margin-bottom: 90px;
  }
}

/*-------------------------個人情報保護ページ-------------------------*/
.privacy{
  background-color: rgb(255, 255, 255);
  width: 100%;
  max-width: 800px;
  margin: auto;
}
.privacy-text{
  width: 90%;
  max-width: 700px;
  margin: auto;
  padding: 50px 0;
  line-height: 1.7;
  text-align: justify;
}
.margin{
  margin-bottom: 35px;
}

/*-------------------------js要員-------------------------*/
.j-fade {
  opacity: 0;
  transform: translate(0, 50px);
  transition: all 1.5s;
}
.j-fade.scrollin {
  opacity: 1;
  transform: translateY(0);
}
.content-img{
  transform:translateX(100px);
  opacity:0;
  transition:opacity 1.5s,transform 1.5s;
}
.con2img{
  transform:translateX(-100px);
  opacity:0;
  transition:opacity 1.5s,transform 1.5s;
}
.fadein{
  opacity:1;
  transform:translateX(0);
}