@charset "UTF-8";
/* CSS Document */

@font-face{
  font-family: YakuHanJP,"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-style:normal;
}

html{
  font-size: 62.5%; /* 62.5％ X 16px=10px */
}

body{
  color: #4d5156;
  font-family: YakuHanJP,"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size: 1.6rem;
  font-feature-settings: "palt" 1;
  display: flex;
  flex-direction: column;
 	min-height: 100vh;  
}

main{
  flex: 1;
}

a{
  color: #4d5156;
}

img{
  max-width: 100%;
  height: auto;
}

.inner{
  max-width: 1000px;
  margin: 0 auto;
}

.text-center{
  text-align: center;
}  

.sp_img{
  display: none;
}
 
.navToggle{
  display: none;
}

.pc_br{
  display: none;
}

.navToggle{
  display: none;
}





/*------------------ヘッダー------------------*/
.head_area{
  padding: 44px 44px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;  
}

.logo{
  width: 300px;
}



/*------------------ナビメニュー------------------*/
.navi_item{
  display: flex;
}

.navi_item>li{
  margin-right: 44px;
} 
.navi_item>li:last-child{
  margin-right: 0;
} 

.navi_item>li>a{
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
  transition: 0.5s;
  display: inline-block;
  position: relative;
} 
/*------------------マウスが乗った時の色------------------*/
.navi_item>li>a:after{ /*--アンダーライン--*/
  content: '';
  display: block;
  height: 2px;
  width: 100%;
  background: #f00;
  position: absolute;
  bottom: -6px;
  transform: scale(0, 1);
  transition: 0.3s;
}
.navi_item>li>a:hover{
  color: #f00;
}
.navi_item>li>a:hover:after{
  transform: scale(1, 1);
}
/*------------------ページ内リンク------------------*/
#service{
  margin-top: -200px;
  padding-top: 200px;  
}
#office{
  margin-top: -200px;
  padding-top: 200px;  
}
#inquiry{
  margin-top: -200px;
  padding-top: 200px;  
}



/*------------------イメージ画像-----------------*/
.thanks_main>img{
  width: 100vw;
  height: 100%;  
  margin: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: cover;
}



/*------------------テキスト部分------------------*/
.headline{
  padding: 60px 0 30px;
  font-size: 3.2rem;
  font-weight: 600;
  text-align: center;
  color: #004098;
}

h4{
  margin-bottom: 10px;  
  padding-bottom: 3px;  
  font-size: 1.6rem;
  font-weight: 600;
  border-bottom: solid 1px #4d5156;
}

.text{
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-ideograph; /*--edge--*/  
}
.text>li{
  padding-bottom: 48px;
}
.text>li:last-child{
  padding-bottom: 0;
}

.law{
  padding-top: 12px;
}

.contact{
  padding-top: 14px;
}
.contact>li>span{
  margin: 0 16px;
}

.info{
  font-size: 1.5rem;
}
.info>li>span{
  margin: 0 15px;
}



/*------------------フッター------------------*/
.footer_area{
  margin-top: 100px;
  background: #004098;
  padding: 44px 44px 24px;
}

.footer_logo>a>img{
  width: 290px;
}

.f_link{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.f_nav{
  display: flex;
}
.f_nav>li{
  padding-right: 44px;
}
.f_nav>li:last-child{
  padding-right: 0;
}

.f_nav>li>a{
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff; 
  transition: 0.3s;  
}
.f_nav>li>a:hover{
  color: #f5d01f;
}

.f_add{
  padding: 12px 0 60px;
  font-size: 1.3rem;
  color: #fff;  
}
.f_add>li:nth-child(2){
  padding-top: 6px;
}
.f_add>li>span{
  margin-left: 16px;
}

.copyright{
  font-size: 1rem;
  color: #fff;  
}



/*------------------タブレット版------------------*/






/*------------------SP版------------------*/
@media screen and (max-width: 640px){
  
  .inner{
    padding: 0 20px;
  }
  
  .pc_img{
    display: none;
  }

  .sp_img{
    display: block;
  }
 
  .pc_br{
    display: block;
  }
  
  .sp_br{
    display: none;
  }
  
  
    
  /*------------------黒い半透過のレイヤー------------------*/
  .overlay{
    content: "";
    display: block;
    width: 0;
    height: 0;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    opacity: 0;
    transition: opacity .5s;
  }
  .overlay.open{
    position: fixed;
    width: 100%;
    height: 120%;
    opacity: 1;
  }



  /*------------------メニュー幅分スライド------------------*/
  main.open{
    transform: translateX(-250px);
  }  
  

	
  /*------------------ヘッダー部分------------------*/
  .navi_area_sp{
    display: flex;
    justify-content: space-between; /*--両端に配置、均等に間隔--*/
    align-items: center; /*--上下センター--*/
    padding: 20px;
  }

  .logo_sp{
    width: 62vw;
  }  



  /*------------------ハンバーガーメニュー------------------*/
  .navToggle{
    display: inline-block;
    width: 36px;
    height: 28px;
    vertical-align: middle;
    position: relative;
    top: 0;
    right: 0;
    z-index: 100;
  }

  .navToggle>span{
    display: inline-block;
    box-sizing: border-box;
    position: absolute;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: #000033;
    transition: all .5s;
  }

  .navToggle.active>span{
    background-color: #fff;
  }

  .navToggle>span:nth-of-type(1){
    top: 0;
  }

  .navToggle.active>span:nth-of-type(1){
    transform: translateY(12px) rotate(-45deg);
  }

  .navToggle>span:nth-of-type(2){
    top: 12px;
  }

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

  .navToggle>span:nth-of-type(3){
    bottom: 0;
  }

  .navToggle.active>span:nth-of-type(3){
    transform: translateY(-12px) rotate(45deg);
  }  



  /*------------------右から左へ------------------*/
  nav.open {
    transform: translateZ(0);
  }
  /*------------------ナビメニュー------------------*/ 
  .nav ul{
    display: block; /*---解除---*/
  }  
  
  nav{
    width: 250px; /*---メニュー幅---*/
    height: 100%;
    padding-top: 50px;
    background-color: rgb(0, 0, 51, 0.8);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    transform: translate(250px);
    transition: all .5s;
  }

  .navi_item{
    margin-top: 50px;
    display: block;
  }
  .navi_item>li{
    margin-right: 0;
    padding-bottom: 80px;
  } 
  .navi_item>li:last-child{
    padding-bottom: 0;
  } 
  .navi_item>li>a{
    font-size: 2rem;
    display: block;
    position: static;
    color: #fff;
  } 
  /*------------------スクロール------------------*/
  a span::before { /*--解除--*/
    position: static;
  }

  

  /*------------------ヘッダー------------------*/
  .head_area{
    padding: 0 0 0;
    display: block; 
  }  
  
  

  /*------------------テキスト部分------------------*/
  .headline{
    padding: 30px 0 15px;
    font-size: 2.4rem;
  }

  h4{
    padding-bottom: 2.8px;  
  }

  .text{
    font-size: 1.5rem;
    line-height: 1.6;  
  }
  .text>li{
    padding-bottom: 28px;
  }

  .contact>li>span{
    margin: 0 0;
  }

  
  
  /*------------------フッター------------------*/
  .footer_area{
    margin-top: 50px;    
    padding: 40px 20px 20px;
  }

  .footer_logo{
    padding-bottom: 30px;
    text-align: center;
  } 
  
  .footer_logo>a>img{
    width: 70vw;
  }

  .f_link{
    display: block;
  }

  .f_nav{
    display: flex;
    flex-wrap: wrap;
  }
    
  .f_nav>li{
    padding-right: 0;
    width: 45%;
    font-size: 1.4rem;
    text-align: center;
  }

  .f_nav>li:nth-child(-n+2){
    padding-bottom: 18px;
  }  
  
  .f_add{
    padding: 40px 0 10px;
    text-align: center;
  }

  .f_add>li>span{
    margin-left: 10px;
  }  
  
  
  
  
 }















