@charset 'utf-8';



*, *::after, *::before {
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  line-height: 1.7;
  font-size: 16px;
  color: rgb(115, 114, 114);

}

html {
  /* padding: 20px; */
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue",
  Arial,
  "Hiragino Kaku Gothic ProN",
  "Hiragino Sans",
  Meiryo,
  sans-serif;
  position: relative;
}

a {
  transition: all 0.5s;
}


a:hover {
  opacity: 0.6;
  transition: all 0.5s;
}

/* フォントを'Bad Script'に指定する箇所 --------------------*/

h1, h2,
.header-right a,
.footer small,
.start .textAnm {
  font-family: 'Bad Script',
  cursive;
}

/*-------------------- フォントを'Bad Script'に指定する箇所 */
/* load --------------------------------------------------*/

.load-wrapper {
  
}

.sk-cube-grid {
  width: 40px;
  height: 40px;
  margin: 100px auto;
}

.sk-cube-grid .sk-cube {
  width: 33%;
  height: 33%;
  background-color: rgb(255, 255, 255);
  float: left;
  -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
  animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}

.sk-cube-grid .sk-cube1 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.sk-cube-grid .sk-cube2 {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

.sk-cube-grid .sk-cube3 {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.sk-cube-grid .sk-cube4 {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}

.sk-cube-grid .sk-cube5 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.sk-cube-grid .sk-cube6 {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

.sk-cube-grid .sk-cube7 {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

.sk-cube-grid .sk-cube8 {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}

.sk-cube-grid .sk-cube9 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

@-webkit-keyframes sk-cubeGridScaleDelay {

  0%,
  70%,
  100% {
    -webkit-transform: scale3D(1, 1, 1);
    transform: scale3D(1, 1, 1);
  }

  35% {
    -webkit-transform: scale3D(0, 0, 1);
    transform: scale3D(0, 0, 1);
  }
}

@keyframes sk-cubeGridScaleDelay {

  0%,
  70%,
  100% {
    -webkit-transform: scale3D(1, 1, 1);
    transform: scale3D(1, 1, 1);
  }

  35% {
    -webkit-transform: scale3D(0, 0, 1);
    transform: scale3D(0, 0, 1);
  }
}


@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    display: none;
    opacity: 0;
    z-index: -1;
  }
}

#loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #043937;
  z-index: 1000;
  /* 環境によって「z-index」追加 */
}

/* 読み込み完了後に「loaded」を付与する */
#loader.loaded {
  animation: fadeOut 1s forwards;
}

.load-p {
  color: #FFF;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin-top: 20%;
  margin-bottom: 100px;
}

.load-p2 {
  color: #FFF;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin-top: 100px;
}

/*-------------------------------------------------- load */

h1 {
  font-size: 35px;
}

h2 {
  font-size: 30px;
  text-align: center;
  padding: 20px;
  margin-bottom: 50px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}


.header-right {

}

.header-right ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header-right li {
  margin: 15px;
}

.header-right a {
  font-size: 20px;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  /* background-color: azure; */
}

/* top-video ------------------------------------------------------------- */


.main {
  padding: 20px;
  display: none;
}

.sub-main {
  padding: 20px;
  display: none;
}

.top-mp4 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 5000 ;
}

.top-mp4 video {
  width: 100%;
  height: 100vh;
  z-index: 5000 ;
  object-fit: cover;
}

.top-mp4 video source {
  width: 100%;
  height: 100vh;
  z-index: 5000 ;
}

.top-mp4 p {
  text-align: center;
  color: white;
  margin-bottom: 30px;
}

.mp4-error-btn {
  border: 1px solid white;
  color: white;
  padding: 30px;
  text-align: center;

}



/* to-top --------------------- */

.to-top {
  position: fixed;
  right: 3px;
  bottom: 40px;
}

.to-top a img {
  width: 20px;
  height: auto;
  
  
}

.to-top a:hover {
  opacity: 0.6;
}



.sec-1 {
  margin-bottom: 100px;
}

.about-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background-color: antiquewhite; */
}

.about-img {
  width: 50%;
  margin-right: 50px;
}

.about-img img {
  width: 100%;
  border-radius: 50%;
  box-shadow: 1px 1px 5px gray;
}

.about-text p {
  /* width: 50%; */
  
}


.inner-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  /* background-color: beige; */
}

.inner-wrapper {
  
}

.photoshop-img {
  margin-bottom: 50px;
}

.ps {
  margin-bottom: 150px;
}

.ps p {
  margin-top: 20px;
}


.img-pac {
  display: flex;
  justify-content: space-between;
  
  max-width: 1200px;
  height: auto;
  margin-bottom: 80px;
  transition: 0.6s;
}


.img-pac:hover {
  /* transform: scale(1.025); */
}



.img-pac a {
  /* margin-bottom: 50px; */
  transition: 0.8s;
  padding-bottom: 50px;
  width: 65%;
}

.img-pac a:hover {
  transform: scale(1.015);
  transition: 0.6s;
  opacity: 0.7;
}

.img-pac img {
  width: 100%;
  margin-bottom: 15px;
  box-shadow: 2px 2px 5px gray;
}


.img-pac p {
  width: 35%;
  margin-left: 50px;
  margin-top: 25px;
}


.description {
  margin-bottom: 50px;
  text-align: center;
}

.description p {
  text-align: center;
}

form {
  width: 100%;
  text-align: center;
  margin-bottom: 150px;
  /* background-color: rgb(189, 188, 187); */
  padding: 30px 30px 30px 80px;
}

form span {
  margin-left: 30px;
  color: rgb(142, 7, 7);
}

form p {
  line-height: 3.2;
  margin-bottom: 50px;
  /* text-align: center; */

}


input[type="text"],
input[type="email"],
textarea {
  border: 1px solid rgba(115, 114, 114, 0.1);
  box-shadow: 1px 1px 5px rgb(115, 115, 115);
  border-radius: 3px;
  padding: 10px;
  font-size: 18px;
  /* transition: all 0.8s; */
}

input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover {
  background: rgba(142, 158, 171, 0.2);
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to left top, rgba(130, 138, 145, 0.2), rgba(208, 213, 218, 0.2), rgba(248, 250, 251, 0.2));
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to left top, rgba(130, 138, 145, 0.2), rgba(208, 213, 218, 0.2), rgba(238, 242, 243, 0.2));
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  /* transition: all 0.8s; */
}



form .email-pac {
  width: 80%;
  /* background-color: aqua; */
}

form #email {
  width: 60%;
  
}

form .message-pac {
  width: 80%;
  /* background-color: aqua; */
}

form #message {
  width: 100%;
  height: 300px;
}

textarea {
  resize: vertical;
}

.btn input {
  display: block;
  border: 1px solid rgba(115, 114, 114, 0.1);
  box-shadow: 1px 1px 5px rgb(115, 115, 115);
  border-radius: 3px;
  padding: 10px 30px;
  margin-right: 0;
  margin-left: auto;
  cursor: pointer;
  transition: all 0.4s;
}

.btn input:hover {
  background: rgba(142, 158, 171, 0.2);
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to left top, rgba(130, 138, 145, 0.2), rgba(208, 213, 218, 0.2), rgba(248, 250, 251, 0.2));
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to left top, rgba(130, 138, 145, 0.2), rgba(208, 213, 218, 0.2), rgba(238, 242, 243, 0.2));
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

  transform: scale(1.03);
  transition: all 0.4s;
}




/* footer -------------------------------------------------------------------------- */

.footer {
  
}

.footer small {
  display: block;
  text-align: center;
  /* background-color: antiquewhite; */
}

/* -------------------------------------------------------------------------- footer */
/* start -------------------------------------------------------------------------- */

  .start {
    background: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9000;

    /* display: none; */

    /*  編集時は ここの「display: none;」を on・offするとtopのアニメーションを隠せる。また、jsの「top画像のフェードイン」もコメントアウトしておく */
  }

  .start .textAnm {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: rgb(115, 114, 114);
    /* font-size: 55px; */
    display: none;
    z-index: 9999;
  }

  .start .textAnm span {
    display: inline-block;
    font-size: 55px;
    /* animation: showText 3s backwards; */
  }

  .start .textAnm>span {
    overflow: hidden;
  }

  .start .textAnm>span:nth-of-type(odd)>span {
    animation: showTextFromTop ease-out 1s backwards;
  }

  .start .textAnm>span:nth-of-type(even)>span {
    animation: showTextFromBtm ease-out 1s backwards;
  }

  @keyframes showTextFromTop {
    0% {
      opacity: 0;
      transform: translateY(-80%);
    }

    100% {
      opacity: 1;
      transform: translateY(0px);
    }
  }

  @keyframes showTextFromBtm {
    0% {
      opacity: 0;
      transform: translateY(80%);
    }

    100% {
      opacity: 1;
      transform: translateY(0px);
    }
  }


  .line-box {
    /* background-color: aqua; */
    width: 450px;
    height: 50px;
    text-align: center;
    margin: 0 auto;
    position: fixed;
    left: 50%;
    top: calc(50% + 17px);
    transform: translate(-50%, -50%);
    overflow: hidden;
  }

  .line {
    width: 0%;
    height: 1px;
    background-color: rgb(206, 208, 181);
    position: fixed;
    top: 55%;
    z-index: 100;
  }

/* -------------------------------------------------------------------------- start */
/* contactSuccess ----------------------------------------------------------------- */

.success {
  width: 100%;
  height: 100vh;
  display: inline-grid;
  align-items: center;
  justify-content: center;
  /* background-color: rgb(240, 241, 241); */
}

.success h3 {
  font-size: 40px;
  margin-bottom: 60px;
  font-family: 'Bad Script',
  cursive;
  text-align: center;
}

.success .p-flex {
  display: flex;
  justify-content: center;
}

.success p {
  margin-bottom: 60px;
}

.success a {
  display: block;
  margin: 0 auto;
  text-align: center;
  width: 200px;
  border: 1px solid rgba(115, 114, 114, 0.1);
  box-shadow: 1px 1px 5px rgb(115, 115, 115);
  border-radius: 3px;
  padding: 10px 30px;
  transition: all 0.4s;
}



.success a:hover {
  opacity: 0.7;
  transform: scale(1.03);
  transition: all 0.4s;
}




/* ----------------------------------------------------------------- contactSuccess */
/* 768~ -------------------------------------------------------------------------- */

@media screen and (max-width: 768px) {

  .about-flex {
    display: block;
    width: 100%;
    /* background-color: antiquewhite; */
  }

  .about-img {
    width: 250px;
    height: 250px;
    margin-right: 0px;
    margin: 0 auto;
    margin-bottom: 50px;
    /* background-color: aqua; */
  }

  .about-img img {
    width: 100%;
    
  }

  
  .img-pac {
    display: block;
    width: 100%;
  }

  .img-pac a {
    width: 100%;
    
  }
  .img-pac p {
    width: 100%;
    margin-left: 0px;
  }

  .img-pac img {
    width: 100%;
    
  }



  form {
    padding: 30px 30px 30px 30px;
  }


  form .email-pac {
    width: 100%;
  }

  form #email {
    width: 100%;
  }

  form .message-pac {
    width: 100%;
    /* background-color: aqua; */
  }

  .btn input {
    padding: 10px 50px;
    margin: 0 auto;
    
  }
  
  /* start -------------------------------------------------------------------------- */
  
  .start .textAnm span {
    font-size: 27px;
  }
  
  .line-box {
    /* background-color: aqua; */
    width: 250px;
  }


  /* -------------------------------------------------------------------------- start */
  /* contactSuccess ----------------------------------------------------------------- */

  .success .p-flex {
    flex-direction: column;
  }

  .success p {
    text-align: center;
  }

  /* ----------------------------------------------------------------- contactSuccess */


  
}
/* -------------------------------------------------------------------------- 768~ */



