@charset "UTF-8";

body{
  font-size: 16px;
  color: #393838;
  font-family: 'Sawarabi Mincho', 'Noto Serif JP', sans-serif;
  line-height: 1.5em;
}

img{
  width: 100%;
}

a{
  color: inherit;
  transition: opacity 0.3s;
}

a:hover{
  opacity: 0.8;
}

/*----------------パソコン版----------------------------*/
.pc{
  display: block !important;
}
.tab{
  display: none !important;
}
.sp{
  display: none !important;
}


.top-space-1{
  height: calc(50vh - 50px);
}
.top-space-2{
  height: calc(50vh - 34px);
}


/* header */

header{
  width: 100%;
  background: #f9F8Fd;
  position: -webkit-sticky;
  position:         sticky;
  top: 0;
  z-index: 1;
  box-shadow: 7px 0 7px 0 rgba(26,32,173,0.3);
}

.header-container{
  width: 1200px;
  margin: 0 auto;
}

.header-tit{
  text-align: center;
  font-size: 28px;
  line-height: 45px;
}

.header-nav-list{
  display: flex;
  font-size: 18px;
  justify-content: center;
}

.header-nav-list-item{
  margin-left: 60px;
  color: rgb(26, 32, 137);
  padding: 5px 0;
  position: relative;
  text-decoration: none;
  margin-bottom: 10px;
}

.header-nav-list-item:first-child{
  margin: 0 0 10px 0;
}

.header-nav-list-item a:after{
  position: absolute;
  bottom: -2px;
  left: 0;
  content: '';
  width: 100%;
  height: 3px;
  background-color: #3977c8a9;
  transition: all .3s;
  transform: scaleX(0);
}

.header-nav-list-item a:hover:after{
  width: 100%;
  transform: scaleY(1);
}


/* main */

section{
  padding: 50px 0;
  background-color: rgba(256, 256, 256, 0.8);
}

.top-tit-box{
  width: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-subtit{
  display: block;
  font-size: 12px;
  border-top: 3px solid #3977c8a9;
  line-height: 20px;
}

.top-tit{
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  line-height: 40px;
  color: #1a2089;
}

.top-container{
  display: block;
  background-color: #f9F8Fd;
  width: 1200px;
  display: flex;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 50px;
}

a.anchor{
  display: block;
  padding-top: 80px;
  margin-top: -80px;
}


/* fv */

.fv{
  position: fixed;
  top: 0;
  height: 100vh;
  width: 100%;
  z-index: -1;
}


/* about */

/* works */

.top-works-block{
  margin-right: 30px;
}

.top-works-line{
  display: flex;
}

.top-works-line:last-of-type{
  margin-top: 50px;
}

.top-works-img{
  width: 250px;
}

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


/* skills */

.top-skills-line{
  display: flex;
  height: 80px;
}

.top-skills-icon{
  width: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-skills-icon-s{
  width: 50px;
  height: 50px;
}
.top-skills-icon-m{
  width: 45px;
  height: 45px;
}
.top-skills-icon-l{
  width: 38px;
  height: 38px;
}

.top-skills-text{
  display: flex;
  align-items: center;
}



/* contact */

.top-contact-text{
  width: 800px;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #ead6bd89;
}

.top-contact-text-tit{
  font-size: 24px;
  margin-bottom: 15px;
}

/* footer */

footer{
  height: 200px;
  padding: 50px 0;
  background-color: rgba(10, 10, 10, 0.35);
}

.footer-container{
  width: 500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  color: #f9F8Fd;
}

.footer-tit-box{
  width: 300px;
  margin: 30px 0;
}

.footer-tit{
  text-align: center;
  font-size: 20px;
}

.footer-cr{
  text-align: center;
  margin-top: 5px;
  font-size: 12px;
}

.footer-tit-text{
  display: block;
  margin: auto;
}

.footer-nav{
  width: 150px;
  border-left: 3px solid #3977c8a9;
  padding: 0 0 10px 10px;
}

.footer-nav-list-item{
  margin-top: 10px;
}


/*----------------------ノート版----------------------------*/

@media ((min-width: 901px) and (max-width: 1300px)) {
  /* header */
  .header-container{
    width: 900px;
  }
  /* main */
  .top-tit-box{
    width: 200px;
  }

  .top-container{
    width: 900px;
  }

  /* fv */
  /* about */
  /* works */

  .top-works-block:last-of-type{
    margin-left: 30px;
  }

  .top-works-line:last-of-type{
    margin-top: 30px;
  }

  .top-works-img{
    width: 285px;
  }
  /* skills */
  /* contact */
  .top-contact-text{
    width: 600px;
  }
  /* footer */
}



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

@media ((min-width: 501px) and (max-width: 900px)) {
  body{
    font-size: 14px;
  }

  .pc{
    display: none !important;
  }
  
  .tab{
    display: block !important;
  }
  .sp{
    display: none !important;
  }

  /* header */
  .header-container{
    width: 480px;
  }

  .header-nav-list-item{
    margin-left: 30px;
  }
  
  .header-nav-list-item:first-child{
    margin: 0 0 10px 0;
  }

  /* main */


  .top-tit-box{
    width: 100%;
  }

  .top-subtit{
    font-size: 10px;
    line-height: 15px;
  }
  
  .top-tit{
    font-size: 18px;
    line-height: 25px;
  }

  .top-container{
    display: block;
    width: 480px;
    padding: 30px;
  }
  

  /* fv */
  /* about */
  .top-about-text{
    margin-top: 30px;
  }

  /* works */
  .top-works-img{
    width: 185px;
  }

  .top-works-block:last-of-type{
    margin-left: 50px;
  }
  
  .top-works-line{
    display: flex;
  }

  .top-works-line{
    margin-top: 30px;
  }
  
  .top-works-line:last-of-type{
    margin-top: 30px;
  }
  

  /* skills */
  .top-skills-icon{
    width: 150px;
  }

  .top-skills-box{
    width: 100%;
  }

  .top-skills-text{
    width: 400px;
  }

 
  /* contact */
  .top-contact-text{
    width: 100%;
    margin-top: 30px;
  }

  /* footer */
  .footer-container{
    width: 400px;
  }
}



/*-----------------------スマホ版-------------------------------*/

@media (max-width: 500px) {
  body{
    font-size: 14px;
  }

  .pc{
    display: none !important;
  }
  
  .tab{
    display: none !important;
  }

  .sp{
    display: block !important;
  }

  /* header */

  .header-container{
    width: 350px;
  }

  .header-tit{
    text-align: center;
    font-size: 24px;
    padding-top: 5px;
    box-sizing: border-box;
  }
  
  .header-nav-list{
    font-size: 14px;
    margin-top: 5px;
  }

  .header-nav-list-item{
    margin-left: 20px;
  }

  /* main */

  section{
    padding: 20px 0;
  }

  .top-tit-box{
    width: 100%;
  }

  .top-subtit{
    font-size: 10px;
    line-height: 15px;
  }
  
  .top-tit{
    font-size: 18px;
    line-height: 25px;
  }

  .top-container{
    display: block;
    width: 350px;
    padding: 20px;
  }


  /* fv */
 
  /* about */
  .top-about-text{
    margin-top: 20px;
  }

  /* works */
  .top-works-img{
    width: 310px;
  }

  .top-works-line{
    display: block;
  }

  .top-works-block{
    margin: 30px 0 0 0;
  }

  .top-works-text{
    text-align: center;
    margin-bottom: 30px;
  }

  .top-works-block:last-of-type{
    margin-left: 0;
  }
  
  .top-works-line:last-of-type{
    margin-top: 0;
  }
  


  /* skills */

.top-skills-line{
  height: 100px;
}

.top-skills-icon{
  width: 100px;
}

.top-skills-icon-s{
  width: 40px;
  height: 40px;
}
.top-skills-icon-m{
  width: 38px;
  height: 38px;
}
.top-skills-icon-l{
  width: 34px;
  height: 34px;
}

.top-skills-box{
  width: 100%;
  margin-top: 20px;
}

.top-skills-text{
  width: 200px;
}


  /* contact */
  .top-contact-text{
    width: 310px;
    margin-top: 20px;
  }

  .top-contact-text-tit{
    font-size: 20px;
    margin-bottom: 10px;
  }

  /* footer */
  .footer-container{
    width: 320px;
  }
}