@charset "utf-8";

html{
    font-size: 100%;
    scroll-behavior: smooth;
}
body{
    font-family:'游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #EFEFEF;
    background-color: #1c1c1c;

}
main{
  max-width: 1280px;
  margin: 0 auto;
}


a{
    color: #fff;
    text-decoration: none;

}

img{
    max-width: 100%;
}
li{
    list-style: none;
}
.site-title{
    line-height: 1.0px;
    width: 200px;
    height: 200px;
    margin-top: -20px;
}

.site-title a{
  display: block;
}

.mainvisual span{
  color: #f27c22;
  font-weight: bold;
}
.mainvisual{
  margin-top: 100px;
}
.sec-title1{
    font-size: 3.0rem;
    text-align: left;
    display: flex;
    align-items: center; /* 垂直中心 */
  justify-content: left; /* 水平中心 */
  margin-top: 70px;
}
.sec-title1:before {
    border-top: 1px solid;
    content: "";
    width: 2em; /* 線の長さ */
  }


.sec-title2{
    font-size: 3.0rem;
    margin-top: 100px;
    text-align: right;
    display: flex;
    align-items: center; /* 垂直中心 */
  justify-content: right; /* 水平中心 */
}
.sec-title2:after {
    border-top: 1px solid;
    content: "";
    width: 2em; /* 線の長さ */
  }

.sec-title3{
    font-size: 3.0rem;
    margin-bottom: 30px;
    text-align: center;
}

#loading-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #fff;
    z-index: 999;
  }
  
  #loading-text {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #333;
    width: 100px;
    height: 30px;
    margin: -15px 0 0 -45px;
    text-align: center;
    font-family: serif;
    font-size: 20px;
  }
  
  #loading-content {
    position: relative;
    left: 50%;
    top: 50%;
    width: 170px;
    height: 170px;
    margin: -85px 0 0 -85px;
    border: 3px solid #F00;
  }
  
  #loading-content:after {
    content: "";
    position: absolute;
    border: 3px solid #0F0;
    left: 15px;
    right: 15px;
    top: 15px;
    bottom: 15px;
  }
  
  #loading-content:before {
    content: "";
    position: absolute;
    border: 3px solid #00F;
    left: 5px;
    right: 5px;
    top: 5px;
    bottom: 5px;
  }
  
  #loading-content {
    border: 3px solid transparent;
    border-top-color: #021d49;
    border-bottom-color: #021d49;
    border-radius: 50%;
    -webkit-animation: loader 2s linear infinite;
    -moz-animation: loader 2s linear infinite;
    -o-animation: loader 2s linear infinite;
    animation: loader 2s linear infinite;
  }
  
  #loading-content:before {
    border: 3px solid transparent;
    border-top-color: #fff45c;
    border-bottom-color: #fff45c;
    border-radius: 50%;
    -webkit-animation: loader 3s linear infinite;
      -moz-animation: loader 2s linear infinite;
    -o-animation: loader 2s linear infinite;
    animation: loader 3s linear infinite;
  }
  
  #loading-content:after {
    border: 3px solid transparent;
    border-top-color: #84417C;
    border-bottom-color: #84417C;
    border-radius: 50%;
    -webkit-animation: loader 1.5s linear infinite;
    animation: loader 1.5s linear infinite;
      -moz-animation: loader 2s linear infinite;
    -o-animation: loader 2s linear infinite;
  }
  
  @keyframes loader {
    0% {
      -webkit-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  
  #content-wrapper {
    color: #FFF;
    position: fixed;
    left: 0;
    top: 20px;
    width: 100%;
    height: 100%;
  }

/*-------------------------
ヘッダー
-------------------------*/
h1{
    width: 80px;
    margin-top: 20px;
    margin-left: 20px;
}
#header{
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 998;

    margin: 0 auto;
    background-color: #000;
    height: 100px;
    box-shadow: 0px 10px 15px -5px rgba(0,0,0,0.05);
}


/*------------------
ハンバーガーメニュー
------------------*/
#navi{
  width: 100%;
  height: 100vh;
  display: block;
  position: fixed;
    top: -120%;
    left: 0;
    bottom: 0;
    padding: 60px 25px;
    overflow: hidden;
    overflow-y: auto;
    transition: all.5s;
    z-index: 19;
    opacity: 0;
    color: #fff;
    text-align: center;
}

#navi a{
    color: #fff;
    font-size: 3rem;
}

#navi a:hover{
  color: #f27c22;
  font-size: 3rem;
}

#navi li{
    margin-bottom: 14px;
    font-size: 2rem;
}



.open #navi{
  top: 0;
    opacity: 1;
}

#navi ul{
    margin: 0;
    padding: 0;
}

#navi ul.nav-menu{
    margin-bottom: 60px;
}

#navi ul.nav-menu li{
    position: relative;
    margin: 0;
    padding: 20px 0;
}
.toggle-btn{
    display: block;
    position: fixed;
    top: 25px;
    right: 45px;
    width: 30px;
    height: 30px;
    position: relative;
    transition: all 0.5s;
    cursor: pointer;
    z-index: 20;
}

.toggle-btn span{
    display: block;
    position: absolute;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #EFEFEF;
    border-radius: 4px;
    transition: all 0.5s;
}

.toggle-btn span:nth-child(1) {
    top: 4px;
}

.toggle-btn span:nth-child(2) {
    top: 14px;
}

.toggle-btn span:nth-child(3) {
    bottom: 4px;
}

.open .toggle-btn span{
    background-color: #EFEFEF;
}

.open .toggle-btn span:nth-child(1){
    -webkit-transform: translateY(10px) rotate(-315deg);
    transform: translateY(10px) rotate(-315deg);
}

.open .toggle-btn span:nth-child(2){
    opacity: 0;
}

.open .toggle-btn span:nth-child(3){
    -webkit-transform: translateY(-10px) rotate(315deg);
    transform: translateY(-10px) rotate(315deg);
}

#mask{
    display: none;
    transition: all.5s;
}

.open #mask{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1c1c1c;
    opacity: 1;
    z-index: 10;
    cursor: pointer;
}

/*メイン*/

/*実績一覧*/
.img2{
  height: 360px;
}

.list{
  max-width: 960px;
  margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
  }
.list li{
    width:calc(98%/3);
    height: 50%;
}

.port {
    position: relative;
}

figcaption{
  position: absolute;
  color:#fff;
  text-align: center;
  background-color:	#000;
	-webkit-transition:	all 0.6s ease;
	transition:		all 0.6s ease;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 80%;
  height: 81%;
  display: block;
  opacity:0;
  font-weight: bold;
  font-size: 0.9rem;
}
figcaption h3{
  font-size: 1.0rem;
}


body {
    padding: 0;

  }
  
  .text{
    font-size: 1.5rem;
  }
  

  /*メインビジュアル*/

  .flowing {
    width: 0;
    margin: 0;
    font-size: 2vw;
    font-weight: bold;
    color: #EFEFEF;
    white-space: nowrap;
    overflow: hidden;
    animation: flowing-anim 3s forwards linear;
    padding-left: 10vh;
    padding-bottom: 30px;
    text-align: center;
    font-weight: bold;
    margin-left: -10px;
  }
  
  .flowing:nth-child(2) {
    animation-delay: 1s;
    font-size: 1.5rem;
  }
  
  .flowing:nth-child(3) {
    animation-delay: 3s;
    font-size: 1.5rem;
  }

  .flowing:nth-child(4) {
    animation-delay: 5s;
    font-size: 1.5rem;
  }
  .flowing:nth-child(5) {
    animation-delay: 7s;
    font-size: 1.5rem;
  }
  
  @keyframes flowing-anim {
   0%{
       width: 0%;
     }
  100%{
       width: 95%;
     }
  }

/*About*/

.aboutme{
  max-width: 1280px;
  display: flex;
    justify-content: center;
    margin: auto;
}
.aboutme img{
    width: 270px;
    height: 250px;

}

.aboutme p{
    margin-left: 10%;
    margin-bottom: 100px;
    font-size: 1rem;
    font-weight: bold;
}

/*Skill*/
.skill{
  max-width: 1280px;
  margin: auto;
}

#skill h3{
    margin-top: 70px;
    font-size: 1.4rem;
    text-align: center;

}


#skill p{
    margin-top: 50px;
    font-size: 1.0rem;

    text-align: center;
}

/*Service*/
.lp{
  display: flex;
  flex-flow: column;
  justify-content:space-between;
}


.service-menu{
  max-width: 1280px;
  margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;

}
.service-menu img{
  margin-top: 50px;
    z-index: -1;
}
.service-menu p{
    text-align: left;
    margin-top: 30px;
    font-size: 1.0rem;
    font-weight: bold;
}

/*Service2*/

.sec-title4{
  font-size: 3.0rem;
  margin-top: 100px;
  margin-bottom: 50px;

  text-align: center;
  display: flex;
  align-items: center; /* 垂直中心 */
justify-content: center; /* 水平中心 */
z-index: 10;
}
.sec-title4:before {
  border-top: 1px solid;
  content: "";
  width: 5em; /* 線の長さ */
  margin-right: 0.3em;
}

.sec-title4:after {
  border-top: 1px solid;
  content: "";
  width: 5em; /* 線の長さ */
  margin-left: 0.3em;
}

#service2 p{
  background-image: url(../img/パソコン.jpg);
  background-size: cover;
  background-position: center;
  text-align: left;
  font-size: 1.2rem;
  z-index: 20;
  height: 100vh;
  padding: 50px 200px;
  align-items: center;
  line-height: 80px;
  font-weight: bold;
  max-width: 100%;

}
/*contact*/
.wrapper{
  max-width: 960px;
  margin: 0 auto;
}

#contact{
  padding: 50px 0;
  height: 50vh;
}

#contact h3{
  text-align: center;
}

.contact1 img{
  display: block;
  margin:  auto;
}

/*contactページ*/
.a2 {
  width: 300px;
  height: 100px;
  display: block;
  font-weight: bold;
  margin: 0 auto;
}
.a2 p{
  text-align: center;
  font-size: 1.1rem;
  margin: 50px auto 0 auto;
  line-height: 100px;
}

/*フッター*/
#footer {
  color: #EFEFEF;
  background-color: #121212;
  text-align: center;
  padding: 10px;
  font-size: 0.75rem;
}
#footer a{
  color: #fff;
}

#content2{
  max-width: 1080px;
  margin: 0 auto;
  line-height: 3rem;
}

.top p{
  text-align: right;
  margin-left: 20px;
}
.top{
margin-right: 50px;
margin-top: 100px;
}

  /*-------------------------------------------
  スマートフォン
  -------------------------------------------*/

@media screen and (max-width: 600px) {
  .mainvisual{
    margin-top: 50px;
  }

.site-title{
  height: 70px;
}

  .sec-title4{
    font-size: 1.5rem;
    margin-bottom: 30px;
    margin-top: 30px;
  }
  main{
    max-width: 90%;
    margin: 0 auto;
  }

  .wrapper {
    margin-bottom: 60px;
  }


  #navi a{
    color: #EFEFEF;
    font-size: 1.5rem;
}

#navi a:hover{
  color: #f27c22;
  font-size: 1.5rem;
}

#navi li{
    margin-bottom: 14px;
    font-size: 1.5rem;
}

  /*-------------------------------------------
  ヘッダー
  -------------------------------------------*/
  h1{
    width: 50px;
}
  #header {
    max-width: 100%;
    position: sticky;
    top: 0;
    z-index: 998;
    height: 100px;
  }
  .toggle_btn {
    right: 20px;
    bottom: 10px;
  }

  /*-------------------------------------------
  メイン
  -------------------------------------------*/
  .flowing {
    width: 0;
    margin: 0;
    font-size: 4vw;
    font-weight:bold;
    color: #EFEFEF;
    white-space: nowrap;
    overflow: hidden;
    animation: flowing-anim 3s forwards linear;
    padding-left: 0;
    padding-bottom: 30px;
    text-align: center;
  }

  .flowing:nth-child(2) {
    animation-delay: 1s;
    font-size: 0.8rem;
  }
  
  .flowing:nth-child(3) {
    animation-delay: 3s;
    font-size: 0.8rem;
  }

  .flowing:nth-child(4) {
    animation-delay: 5s;
    font-size: 0.9rem;
  }

  .flowing:nth-child(5) {
    animation-delay: 7s;
    font-size: 0.9rem;
  }
  .list ul{
    flex-direction: column;
  }
  .list li{
    width: 100%;
  }
  figcaption:hover {
    opacity:0;	/* マスクを表示しない */
  }
    /*-------------------------------------------
  サービス
  -------------------------------------------*/
  .service-menu{
    display: grid;
    grid-template-columns: 1fr;
  }
  .service-menu img{
    margin-top: 50px;
      z-index: -1;
      width: 100%;
  }
  .service-menu p{
      text-align: left;
      margin-top: 30px;
      font-size: 0.9rem;
      font-weight: bold;
      width: 100%;
      line-height: 40px;
  }
  #service2 p{
    height: 100vh;

  }
  /*-------------------------------------------
  ランディングページとは
  -------------------------------------------*/
  #service2 p{
    background-size: cover;
    background-position: center;
    text-align: left;
    font-size: 0.8rem;
    z-index: 20;
    align-items: center;
    padding: 20px;
    line-height: 40px;
    font-weight: bold;
    height: 100vh;
  }
  /*-------------------------------------------
  about
  -------------------------------------------*/
  .aboutme{
      flex-direction: column;
      width: 100%;
  }
  .aboutme img{
      width: 200px;
      height: 200px;
      align-items: center;
      margin: 0 auto;
  }
  
  .aboutme p{
    margin-top: 50px;
    font-size: 0.9rem;
    margin-right: 20px;
  }

#skill h3{
    font-size: 1.1rem;
}


#skill p{
    margin-top: 50px;
    font-size: 0.9rem;
    text-align: left;
}
    /*-------------------------------------------
  コンタクト
  -------------------------------------------*/
  #contact{
    padding: 50px 0;
    height:150px
  }


  /*-------------------------------------------
  TOPへ戻る
  -------------------------------------------*/
  .top p{
    text-align: right;
    margin-left: 20px;
  }
  .top{
  margin-right: 40px;
  margin-top: 250px;
  }
  .wrapper3{
    max-width: 90%;
    margin: 0 auto;
  }
}

@media only screen and (min-width:600px) and (max-width:1200px) {
  /*tablet用のcssを記述*/
    /*-------------------------------------------
  サービス2
  -------------------------------------------*/
  .sec-title4{
    font-size: 1.5rem;
    margin-bottom: 40px;
  }
  main{
    max-width: 80%;
    margin: 0 auto;
    background-color: #000;
  }

  .wrapper {
    margin-bottom: 70px;
  }


  /*-------------------------------------------
  ヘッダー
  -------------------------------------------*/
  #header {
    max-width: 100%;
    position: sticky;
    top: 0;
    z-index: 998;
  }
  .toggle_btn {
    right: 20px;
  }

  /*-------------------------------------------
  メイン
  -------------------------------------------*/
  .flowing {
    width: 0;
    margin: 0;
    font-size: 3vw;
    font-weight:bold;
    color: #EFEFEF;
    white-space: nowrap;
    overflow: hidden;
    animation: flowing-anim 3s forwards linear;
    padding-left: 0;
    padding-bottom: 30px;
    text-align: center;
  }

  .flowing:nth-child(2) {
    animation-delay: 1s;
    font-size: 1rem;
  }
  
  .flowing:nth-child(3) {
    animation-delay: 3s;
    font-size: 1rem;
  }

  .flowing:nth-child(4) {
    animation-delay: 5s;
    font-size: 1rem;
  }

  .flowing:nth-child(5) {
    animation-delay: 7s;
    font-size: 1rem;
  }
  .list ul{
    width:calc(100%/2);
  }
  figcaption:hover {
    opacity:0;	/* マスクを表示しない */
  }
    /*-------------------------------------------
  サービス
  -------------------------------------------*/
  .service-menu{
    display: grid;
    grid-template-columns: 1fr;
  }
  .service-menu img{
    margin-top: 50px;
      z-index: -1;
      width: 100%;
  }
  .service-menu p{
      text-align: left;
      margin-top: 30px;
      font-size: 0.9rem;
      font-weight: bold;
      width: 100%;
      line-height: 40px;
  }
  /*-------------------------------------------
  ランディングページとは
  -------------------------------------------*/
  #service2 p{
    background-size: cover;
    background-position: center;
    text-align: left;
    font-size: 1.1rem;
    z-index: 20;
    align-items: center;
    padding: 20px;
    line-height: 60px;
    font-weight: bold;
    height: 100vh;
  }
  /*-------------------------------------------
  about
  -------------------------------------------*/
  .aboutme{
      flex-direction: column;
      width: 100%;
  }
  .aboutme img{
      width: 200px;
      height: 200px;
      align-items: center;
      margin: 0 auto;
  }
  
  .aboutme p{
    margin: 50px auto 0 auto;
    font-size: 0.9rem;
  }

#skill h3{
    font-size: 1.1rem;
}


#skill p{
    margin-top: 50px;
    font-size: 0.9rem;
    margin-right: 20px;
    text-align: right;
  }
    /*-------------------------------------------
  コンタクト
  -------------------------------------------*/
  
  /*-------------------------------------------
  TOPへ戻る
  -------------------------------------------*/
  .top p{
    text-align: right;
    margin-left: 20px;
  }
  .top{
  margin-right: 40px;
  margin-top: 250px;
  }
  .wrapper3{
    max-width: 90%;
    margin: 0 auto;
  }
}
