@charset "utf-8";
/* index.html */

/*========= 共通スタイル ===============*/
*{
  box-sizing: border-box;
}

_:-ms-lang(x)::-ms-backdrop, body{/*IE11用ハック*/
  overflow-x: hidden;
}

_:-ms-lang(x)::-ms-backdrop, #skill{/*IE11用ハック*/
  display: block;
}

_:-ms-lang(x)::-ms-backdrop, #skill h2{/*IE11用ハック*/
  padding:20vh 0 0 0;
}



@media screen and (max-width:768px) {
  body{
    font-size:0.8rem;
    }
  }

ul {
  margin:0;
  padding: 0;
  list-style: none;
}

a {
  color: #000;
  text-decoration: none;
  outline: none;
}

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


svg:not(:root) {
  overflow: hidden;
  vertical-align: bottom;
  background: #fbf8ef;
}


/*フォント設定*/
body{
  width: 100%;
  font-family: "fot-udkakugo-large-pr6n", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #333333;
  font-size:1rem;
  line-height:1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  word-wrap: break-word;
  text-align: center;
  background-color: #fbf8ef;
}

h1{
  font-family: "iroha-28kiri-stdn", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 6.5rem;
  line-height: 0.65;
}

h1 .subtitle {
  font-size: 2.5rem;
}

h2{
  font-family: "fot-udkakugo-large-pr6n", sans-serif;
  font-weight: 500;
  font-style: normal;
}

main{
  margin-top: 100px;
}



h2{
  font-size: 2.5rem;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 5vh 0;
  line-height: 1;
}



h2 span.subtitle {
  font-size: 1rem;
  font-weight: 500;
 }



.inner{
  width: 1000px;
  margin: 0 auto;
  padding-top: 5vh;
}

header a:hover{
  color:#78B3CE;
}

@media screen and (max-width:768px) {
  .inner{
    width: 100%;
  }
  form,label,.inputs{
    width: 100%;
  }
}


section{
  margin: 0 auto;
  padding-bottom: 30vh;
  background-color: #fbf8ef;
}

p,.label {
  letter-spacing: 0.1em;
}

/*========= header ===============*/

header {
  width: 100%;
  height: 80px;
  display: flex;
  text-align: center;
  margin: auto;
}

#header {
  width: 1000px;
  margin: 30px auto 0;
}

header nav {
  margin-left: auto;
}
header ul {
  display: flex;
}
header ul li {
  line-height: 1;
  width: calc(100% / 4);
}
#header .fixed{
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

#header h1{
    font-size: 4.5rem;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    padding: 17%;
}
@media screen and (max-width:768px) {
#header h1{
    font-size:2rem;
    top:4vh;
    left:4vw;
}
}

#header .scrolldown3 span{
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* header */

.header-area{
    position: fixed;
    left:50%;
    top:50%;
    transform: translate(-50%,-50%);
    z-index: 2;
    color: #333333;
    text-align: center;
}

.header-area h1{
    display: block;
    font-size: 6vw;
    font-weight: normal;
    line-height: 1;
    letter-spacing: 0;
    padding: 0 10px;
}

.header-area p{
    font-size: 1.3vw;
    letter-spacing: 0.4em;
    margin: 0 0 20px 0;
}

.header-area p br{
    display: none;
}


@media screen and (max-width:960px) {
.header-area h1{
    font-size:4rem;
}
.header-area p{
    font-size:0.8rem;
    whitewhite-space:no
}

.header-area p br{
    display: block;
}

}

/* gnavi */

#gv-nav ul{
    font-size: 1.7rem;
    letter-spacing: 0.2em;
}
#gv-nav ul li{
  font-size: 1.2rem;
  line-height: 1;
}

#gv-nav ul li span{
  font-size: 0.8rem;
}

@media screen and (max-width:768px) {
  #gv-nav ul{
    font-size: 1rem;
  }
}



/*========= top ===============*/

#top {
  width: 100%;
    padding: 10% 0 20%;;
}

/* splash */

#splash-logo{
    color:#000;
}


/*========= message ===============*/


#message{
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: linear-gradient(0deg, #fbf8ef 0%, #FFFFFF 100%);*/
}

#message h3{
    font-size: 1.2rem;
    margin: 0 0 5vh 0;
    font-weight: 500;
    letter-spacing: 0.2em;
}





/*========= skill ===============*/


.skill-area ul{
  display:flex;
  justify-content: space-between;
  /* flex-wrap: wrap; */
  column-gap: 2%;
}

.skill-area ul li{
  width: 33.33333%;
  width: -webkit-calc(100% / 3);
  width: calc(100% / 3);
  background-color: #FFF;
  padding: 2vh 2vh 5vh;
  border-radius: 15px;
  flex-direction:column;
}

.skill-area ul li img {
  width: 33.33333%;
  width: -webkit-calc(100% / 3);
  width: calc(100% / 3);
  width: 60%;
  margin: 5vh 5vh 2vh;
}

.skill-area ul li h3{
  font-size:1.4rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin: 10px auto;
  flex-direction: column;
}

.skill-area ul li p{
  font-size: 0.9rem;
  text-align: left;
}



/*========= about ===============*/


.about-area p img{
  width: 20%;
  margin: 5vh auto;
}

#about{
  background-color: #b5e7e7;
}

/*========= contact ===============*/

/*========= footer ===============*/




@media screen and (max-width:768px) {
  h2{
      font-size: 2rem;
  }
}

/* area */

.fixed{
    z-index: 1;
    height:100vh;
    width:100%;
    max-width:100%;
    padding:0 7vw;
  animation: bgchange 40s ease infinite;
}

@media screen and (max-width:768px) {
  #skill.fixed,
  #about.fixed{
      height: auto;
    }
}

@media screen and (max-width:540px) {
.fixed{
    padding:0 60px;
    }

}

/* message */


#message p{
    line-height: 3;
}

@media screen and (max-width:540px) {
  #message p{
    text-align: center;
    line-height: 2;
  }
}

/* skill */

#skill{
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #b5e7e7;
}



#skill .skill-area section{
    width: 30%;
}

#skill .skill-area .skill-img{
     width:20%;
    margin: 0 auto 1vh auto;
}

#skill .caption{
    font-weight: bold;
    margin: 0 0 3vh 0;
}

@media screen and (max-width:768px) {
#skill{
    padding:0 0 10vh 0; 
}

#skill .skill-area{
    justify-content: space-around;
}

#skill .skill-area section{
    width: 45%;
    margin: 0 0 5vh 0;
}

#skill h2{
    padding: 5vh 0 0 0;
}

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

@media screen and (max-width:500px) {

  #skill .skill-area{
    display: block;
  }

  #skill .skill-area section{
    width: 100%;
  }
}
/* about */

#about{
    justify-content: center;
    align-items: center;
}

#about .about-list{
    width:50vw;
    margin: 0 auto;
}

#about .about-list li{
    border-bottom: 2px solid #000;
    margin:0 0 15px 0;
    padding: 0 0 15px 0;
}

#about .about-list dl{
     display: flex;
    justify-content: space-between;
}

#about .about-list dt{
    width:30vw;
    padding: 0 0 0 2vw;
    white-space: nowrap;
}

#about .about-list dd{
    width:68vw;
}


@media screen and (max-width:768px) {
  #about{
    padding: 5vh 0 0 0;
  }

  #about h2{
    padding:10vh 0 0 0;
  }

  #about .about-list{
    width:70vw;
  }
}

/* contact */

#contact{
  text-align: center;
  justify-content: center;
  align-items: center;
}

#contact .tel,
#contact .mail{
  font-size: 2rem;
  margin: 0 0 1vh 0;
}

#contact .mail{
  margin:0 0 6vh 0;
}

#contact .sns-link li{
  display: inline-block;
  margin: 0 10px;
}

#contact .sns-link li img{
  width:30px;
}

@media screen and (max-width:768px) {
#contact .tel,
#contact .mail{
    font-size: 1.3rem;
}
}

footer {
  background-color:#FBF8EF;
  padding-bottom: 3vh;
}

.profile {
  background-color:#FFFFFF;
  border-radius: 15px;
  padding: 2%;
  text-align:left;
}


/*========= ナビゲーションのためのCSS ===============*/

/*アクティブになったエリア*/
#gv-nav.panelactive{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    top: 0;
    width:100%;
    height: 100vh;
    background-color: #FFFFFF;
  }

/*ナビゲーションの縦スクロール*/
#gv-nav-list{
    display: none;/*はじめは表示なし*/
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#gv-nav.panelactive #gv-nav-list{
  display: block; /*クラスが付与されたら出現*/
}
@media screen and (max-width:768px) {
/*ナビゲーション*/
#gv-nav ul {
  opacity: 0;/*はじめは透過0*/
  /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
  position: absolute;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}

/*背景が出現後にナビゲーションを表示*/
#gv-nav.panelactive ul {
    opacity:1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#gv-nav.panelactive ul li{
animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.2s;/*0.2 秒遅らせて出現*/
animation-fill-mode:forwards;
opacity:0;
padding: 3vh;
}
@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

/*リストのレイアウト設定*/
#gv-nav li{
  text-align: center;
  list-style: none;
}

#gv-nav li a{
  color: #333;
  text-decoration: none;
  padding:10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}
}
@media screen and (max-width:768px) {
  #gv-nav li a{
    padding:5px 10px;
  }
}

/*==================================================
　機能編 5-2-8 3本線が横方向に回転して×に
===================================*/

/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn{
  position: fixed;/*ボタン内側の基点となるためrelativeを指定*/
    top:2vh;
    right:2vw;
    z-index: 9999;
  cursor: pointer;
    width: 50px;
    height:50px;
}

/*ボタン内側*/
.openbtn .openbtn-area{
    transition: all .6s;/*アニメーションの設定*/
  width:50px;
  height:50px;
}

.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
  background: #333;
    width: 45%;
  }

.openbtn span:nth-of-type(1) {
  top:15px; 
}

.openbtn span:nth-of-type(2) {
  top:23px;
}

.openbtn span:nth-of-type(3) {
  top:31px;
}

/*activeクラスが付与されると .openbtn-areaが360度回転し、その中の線が回転して×に*/
.openbtn.active .openbtn-area{
  transform: rotate(360deg);
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

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

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}


/*==================================================
機能編 　7-1-9  くるっと回転（手前に回転）
===================================*/

/*== ボタン共通設定 */
.btn02 {
    /*背景の基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    display: inline-block;
    margin: 8vh 0 0 0;
    width:100%;
    max-width: 250px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    outline: none;
}

/*ボタン内側の設定*/
.btn02 span {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #000;
    /* 重なりを3Dで表示 */
    transform-style: preserve-3d;
    /* アニメーションの設定 数字が少なくなるほど早く回転 */
    transition: 0.5s;
}

/*== 手前に */

/* 回転前 */
.rotatefront span:nth-child(1) {
    color: #000;
    transform: rotateX(0deg);/*はじめは回転なし*/
    transform-origin: 0 50%  -25px;/* 回転する起点 */
}

/*hoverをした後の形状*/
.rotatefront:hover span:nth-child(1) {
    transform: rotateX(-90deg);/* X軸に-90度回転 */
}

/* 回転後 */
.rotatefront span:nth-child(2) {
    background: #000;
    color: #fff;
    transform: rotateX(90deg);/*はじめはX軸に90度回転*/
    transform-origin: 0 50%  -25px;/* 回転する起点 */
}

/*hoverをした後の形状*/
.rotatefront:hover span:nth-child(2) {
    transform: rotateX(0deg);/* X軸に0度回転 */
}


/*==================================================
    slider
===================================*/
/*==================================================
スライダーのためのcss
===================================*/
.slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
  width:94%;
  margin:0 auto 10vh;
}

.slider img {
  width:40vw;/*スライダー内の画像を60vwにしてレスポンシブ化*/
  height:auto;
  margin:auto;
}

.slider .slick-slide {
  transform: scale(0.8);/*左右の画像のサイズを80%に*/
  transition: all .5s;/*拡大や透過のアニメーションを0.5秒で行う*/
  opacity: 0.5;/*透過50%*/
}

.slider .slick-slide.slick-center{
  transform: scale(1);/*中央の画像のサイズだけ等倍に*/
  opacity: 1;/*透過なし*/
}


/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
  position: absolute;/*絶対配置にする*/
  top: 42%;
  cursor: pointer;/*マウスカーソルを指マークに*/
  outline: none;/*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #666;/*矢印の色*/
  border-right: 2px solid #666;/*矢印の色*/
  height: 15px;
  width: 15px;
}

.slick-prev {/*戻る矢印の位置と形状*/
  left: -1.5%;
  transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
  right: -1.5%;
  transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
  text-align:center;
  margin:20px 0 0 0;
}

.slick-dots li {
  display:inline-block;
  margin:0 5px;
}

.slick-dots button {
  color: transparent;
  outline: none;
  width:8px;/*ドットボタンのサイズ*/
  height:8px;/*ドットボタンのサイズ*/
  display:block;
  border-radius:50%;
  background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
  background:#333;/*ドットボタンの現在地表示の色*/
}


.btn a:hover {
  transform: translateY(4px);
  box-shadow: none;
}
.btn a{
  position: relative;
  width: 50%;
  background-color: #F96E2A;
  border-radius: 35px;
  color: #FFFFFF;
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  margin: 10px auto 0;
  padding: 20px 10px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  box-shadow: 0 4px 0 #d01a0a;
}

.btn a:after{
  content: "";
  position: absolute;
  top: 5%;
  bottom: 5%;
  right: 5%;
  margin: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  transform: rotate(-45deg);
  transition: .3s;
}


/* その場で */
.fadeIn {
  transform: translate(0, 10%);
  opacity: 0;
  transition: 1s;
}
.fadeIn.show {
  transform: translate(0, 0);
  opacity: 1;
}

.box{
  opacity: 0;
}

/*==================================================
動かしたい動き（今回は” ふわっ” を採用）
===================================*/

.fadeUp {
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity: 0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}


/* Loading背景画面設定　*/
#splash {
/*fixedで全面に固定*/
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999;
  background:#78b3ce;
  text-align:center;
  color:#ffffff;
  overflow-y:hidden;
}

/* Loading画像中央配置　*/
#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: 0.2em;
}



/* Loading アイコンの大きさ設定　*/
#splash_logo img {
  width:60px;
}

/* fadeUpをするアイコンの動き */
.fadeUp{
animation-name: fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity: 0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}






.lead-form{
  text-align: center;
  font-size:20px;
}
form{
  width: 600px;
  margin: 5vh auto;
  text-align:left;
}

button, input, select, textarea {
  background-color: #FFFFFF;
  border-style:solid;
  color: #333333;
}
.item{
  overflow: hidden;
  margin-bottom: 20px;
}
.label{
  margin-right: 20px;
  padding-left: 5px;
  text-align: left;
}
.inputs{
  float: left;
  width: 100%;
}
input[type="text"],input[type="email"]{
  border: solid 1px #aaa;
  border-radius:5px;
  padding:10px;
  font-size: 15px;
  background-color: #FFF;
}
textarea{
  border: solid 1px #aaa;
  border-radius: 5px;
  padding: 10px;
  height: 160px;
  font-size: 15px;
  background-color: #FFF;
  width: 100%;
}
.btn-area{
  text-align: center;
  margin: 10vh 2vh;
}
input[type="submit"]{
  background: #F96E2A;
  width: 50%;
  border: none;
  color: #FFFFFF;
  font-size: 1rem;
  letter-spacing: 0.1em;
  padding: 10px 20px;
  border-radius: 35px;
  box-shadow: 0 4px 0 #d01a0a;
}
input[type="submit"]:hover{
  box-shadow: none;
  -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
      transform: translateY(4px);
}
.br-sp {
  display: none;
}




ul.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  list-style: none;
  width: 100%;
  margin: 0 auto;
}

ul.gallery li{
  width: calc(33% - 15px);
  padding: 5vh;
  text-align: left;
  letter-spacing: 0.1em;
}

ul.gallery li h3{
  font-weight: 500;

}


ul.gallery li:hover{
  opacity:0.5;
}



@media screen and (max-width:1100px) {
  #header{
  font-size:0.8rem;
  width: 100%;
  }

  #title {
    font-size: 3.5rem;
    line-height: 1;
  }
  h1 .subtitle {
    font-size: 2rem;
  }
  .btn a{
    width: 90%;
    margin: 0 auto 15vh;
    letter-spacing: 0.1em;
  }

  .contact-area,form,.inputs{
    width: 100%;

  }
  path {
    width: 100%;
  }
  section {
    padding: 2vh;
    margin-bottom: -2vh;
  }
  .skill-area ul {
    display: block;
  }
  .skill-area ul li{
    width: 90%;
    margin: 0 auto 5vh;
  }

  #message {
    padding: 0 2vh 10vh;
    margin-top: 10vh;
  }

  .about-area p img {
    width: 30%;
  }

  .profile {
    padding: 4vh 2vh;
    margin: 2vh;
  }
  #about {
    padding: 5vh 0 15vh;
  }

  .label {
    width: 100%;
    text-align: left;
  }

  .inner {
    width: 100%;
  }

  .br-sp {
    display: block;
  }
  main {
    margin-top: 5vh;
  }

  ul.gallery {
    display: block;
    padding: 2vh;
  }
  ul.gallery li{
    width: 100%;
    padding: 24px 0;
    margin: 0 auto;
  }
}



h2.title {
  animation: fluffy1 3s ease infinite;
}

@keyframes fluffy1 {
  0% { transform:translateY(0) }
  5% { transform:translateY(0) }
  10% { transform:translateY(0) }
  20% { transform:translateY(-15px) }
  25% { transform:translateY(0) }
  30% { transform:translateY(-15px) }
  50% { transform:translateY(0) }
  100% { transform:translateY(0) }
}


.sp {
  display: none;
}

@media screen and (max-width:1100px) {
  .sp {
    display: block;
  }
  #g-nav.panelactive ul li{
    width:48%;
  }
  header ul {
    display: block;
  }
  header ul li {
    width: 100%;
  }

  input[type="submit"] {
    width: 80%;
  }

}




#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;

}


#overlay img {
  background: transparent;
  border: 0;
  padding: 0;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 90%;
  object-fit: contain;
}

#closeButton {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #333333;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 18px;
  cursor: pointer;
  line-height: 30px;
  text-align: center;
}


.no-scroll {
  overflow: hidden;
  height: 100vh; /* モーダル表示中のページの高さを固定 */
}



@media (max-width: 768px) {
  .modal-content {
    padding: 10px; /* スマホでの余白調整 */
  }

  .modal img {
    max-width: 95%; /* スマホで少し余裕を持たせる */
  }
}


/* ローディング画面中はopenbtnを非表示 */
body.no-scroll .openbtn {
  display: none;
}