@charset "utf-8";
/* CSS Document */
/*------------------見出しのデザイン*---------------------*/
h3 {
  position: relative;
  display: inline-block;
  padding: 20px 55px;
  font-size: 24px;
  letter-spacing: 0.5rem;
  text-align: left;
  width: 100%;
  font-family: "Josefin Sans", sans-serif;
}
h3:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: black;
}
/*----------------------------------------------------------------
section
-----------------------------------------------------------------*/
/*--top----------------------------------------------------------*/
#top {
  width: 100%;
  height: 100vh;
}
.main::before {
  background: url(../image/top-pc.jpg) center center no-repeat;
  width: 100%;
  height: 100vh;
  background-size: cover;
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}
.main h2 {
  position: absolute;
  top: calc(50vh - 82px);
  left: 0;
  right: 0;
  letter-spacing: 16px;
  line-height: 2.5;
  font-size: 8rem;
  color: #555;
  font-family: "Josefin Sans", sans-serif;
  font-family: "La Belle Aurore", cursive;
  margin: 0 5%;
}
@media screen and (max-width: 768px) {
  #top .main h2 {
    font-size: 5rem;
    letter-spacing: 0.6em;
  }
}
@media screen and (max-width: 480px) {
  #top .main h2 {
    font-size: 3rem;
    letter-spacing: 7px;
  }
}
/*---------TOP画像フェードイン-----------*/
/*ローディング画面のためのCSS*/
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #94c2b2;
  z-index: 99999;
  text-align: center;
  color: #fff;
}
#splash-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/*画面遷移のためのCSS*/
.splashbg {
  display: none;
}
/*bodyにappearクラスがついたら出現*/
body.appear .splashbg {
  display: block;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  transform: scaleX(0);
  background-color: #94c2b2;
  animation-name: PageAnime;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
@keyframes PageAnime {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  50% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}
/*画面遷移の後現れるコンテンツ設定*/
#container {
  opacity: 0; /*はじめは透過0に*/
}
/*bodyにappearクラスがついたら出現*/
body.appear #container {
  animation-name: PageAnimeAppear;
  animation-duration: 2s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*---------1文字ずつ文字が出現-----------*/
.eachTextAnime span {
  opacity: 0;
}
.eachTextAnime.appeartext span {
  animation: text_anime_on 1s ease-out forwards;
}
@keyframes text_anime_on {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*---------スクロールダウン------------*/
.scrolldown1 {
  position: absolute;
  left: 50%;
  bottom: 10px;
  height: 50px;
}
.scrolldown1 span {
  position: absolute;
  left: -15px;
  top: -15px;
  color: #333;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.scrolldown1::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 30px;
  background: #333;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}
/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 30px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}
/*--about--------------------------------------------------------*/
#about {
  padding-top: 80px;
  background: #fff;
}
.about-container {
  display: flex;
  align-items: center;
}
.about-text {
  padding: 30px;
}
.about-text p {
  text-align: left;
  margin: 30px 0;
  line-height: 2.4;
}
/*---------フェードイン------------*/
/* 左から */
.fadeLeft {
  animation-name: fadeLeftAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeLeftAnime {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* 右から */
.fadeRight {
  animation-name: fadeRightAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeRightAnime {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.fadeInTrigger,
.fadeUpTrigger,
.fadeDownTrigger,
.fadeLeftTrigger,
.fadeRightTrigger {
  opacity: 0;
}
@media screen and (max-width: 768px) {
  .about-container {
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
  }
  #about img {
    max-height: 250px;
  }
  .about-text {
    margin: 0 5% 30px;
    padding: 0;
  }
}
@media screen and (max-width: 480px) {
  .about-text {
    font-size: 1.4rem;
  }
}
/*--skill--------------------------------------------------------*/
#skill {
  padding-top: 40px;
  background: #fff;
}
#skill ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 20px 0;
}
#skill ul li {
  display: block;
  width: 50%;
  padding: 0 5%;
}
figure {
  display: flex;
  align-items: center;
}
figcaption {
  text-align: left;
  margin-bottom: 10px;
  font-weight: 600;
}
#skill p {
  font-size: 1.4rem;
  text-align: left;
}
@media screen and (max-width: 480px) {
  #skill {
    padding-top: 20px;
  }
}
/*--skill_chart------------------------*/
.wrapper {
  margin: 0 auto;
  width: 90%;
  margin: 15px 10% 20px;
}
.bar {
  position: relative;
  width: 100%;
  background: rgba(226, 226, 226, 0.6);
}
.bar-info {
  padding: 2px 10px;
  background: #94c2b2;
  color: white;
  width: 10%;
  position: relative;
  height: 25px;
  transition: width 2.3s ease-in-out;
}
.percent {
  float: right;
  height: 25px;
}
@media screen and (max-width: 780px) {
  #skill ul li {
    width: 100%;
  }
}
/*--works--------------------------------------------------------*/
#works {
  padding: 80px 0 60px;
  overflow: hidden;
  background: #fff;
}
#works ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  list-style: none;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  padding: 0 20px;
  margin-top: 50px;
  max-width: 1080px;
}
#works ul li {
  text-align: -webkit-center;
}
#works ul li:hover img {
  transition-duration: 0.3s;
  transform: scale(1.05);
  opacity: 0.8;
  background: #111;
}
/*---------ボタンのデザイン-----------*/
.works-btn {
  position: relative;
  display: inline-block;
  padding: 0 40px;
  color: #333;
  outline: none;
  z-index: 999;
  margin-top: 30px;
  letter-spacing: 0.3rem;
}
.works-btn::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 15%;
  width: 85%;
  height: 1px;
  background: #333;
  transition: all 0.3s;
}

.works-btn::after {
  content: "";
  position: absolute;
  bottom: -3px;
  right: 0;
  width: 15px;
  height: 1px;
  background: #333;
  transform: rotate(35deg);
  transition: all 0.3s;
}
.works-btn:hover::before {
  left: 20%;
}
.works-btn:hover::after {
  right: -5%;
}
/*-------------------------------*/
.slider::after {
  background: #e7ecea;
  content: "";
  height: 300px;
  width: 100vw;
  position: absolute;
  top: 44%;
  z-index: -2;
}
.slider {
  width: 85%;
  margin: 0 auto;
}
.slider .slick-slide {
  transform: scale(0.8);
  margin: 0 10px;
}
.slider .slick-slide.slick-center {
  transform: scale(0.95); /*中央の画像のサイズだけ等倍に*/
}
.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);
}
@media screen and (max-width: 1299px) {
  .slider .slick-slide {
    transform: scale(0.95);
  }
}
/*--contact---------------------------------------------------------*/
#contact {
  padding: 80px 0;
  background: #fff;
}
#contact p {
  display: inline-block;
  margin: 30px auto;
  text-align: left;
  line-height: 2.4;
}
.contact-table {
  margin: 0 auto;
}
.required {
  border-bottom: solid 1px #d6d6d6;
  font-size: 1.4rem;
}
.required th {
  padding: 10px 0 10px 15px;
  font-weight: normal;
  text-align: left;
  vertical-align: middle;
  width: 210px;
}
.required td {
  line-height: 150%;
  padding: 10px 5px;
  text-align: left;
  margin-left: 30px;
  width: calc(100% - 210px);
}
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.required span {
  display: inline-block;
  font-size: 8pt;
  padding: 0 5px;
  border: 1px solid #248865;
  border-image: #248865;
  border-image-slice: 1;
  color: #248865;
  border-radius: 3px;
  margin: 0 20px 0 10px;
  vertical-align: middle;
}
.btn-send,
.btn-back {
  background: #fff;
  width: 160px;
  margin: 30px auto;
  display: block;
  text-align: center;
  padding: 5px;
  color: #333;
  transition: all 0.4s ease;
}
.btn-back {
  margin: 0 auto;
}
.btn-send:hover {
  background-color: #fff;
  border-color: #444;
  color: #333;
}
.btn-back:hover {
  background-color: #fff;
  border-color: #444;
  color: #333;
}
input[type="submit"] {
  -webkit-appearance: none; /*iphoneのデフォルトのstyleを消す*/
  background-color: #444;
  border: solid 1px #444;
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: 0.3rem;
  padding: 8px 0;
  cursor: pointer;
  display: block;
  transition: all 0.4s ease;
}
input[type="submit"]:hover,
input[type="submit"]:focus {
  outline: none;
}
input[type="submit"]::-moz-foucus-inner {
  border: none;
  padding: 0;
}
@media only screen and (max-width: 767px) {
  table .cform th {
    border-bottom: none;
  }
  .required th,
  .required td {
    display: block;
    margin-left: 0;
    padding-left: 0;
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  #contact p {
    font-size: 1.4rem;
  }
}
