@charset "utf-8";

body {
  font-family: 'Marcellus', serif, 'YuGothic', 'STFangsong';
  font-size: 0.8rem;
}
p {
  font-size: 16px;
  line-height: 2;
}

h2 {
  font-size: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}
#splash {
  background: #eb6ea0;
  z-index: 999999;
  width: 100vw;
  height: 100vh;
  position: fixed;
}

.splash-logo {
  width: 40%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.splash-logo img {
  animation-name: blurAnime;
  animation-duration: 3s;
  animation-fill-mode: forwards;
}

@keyframes blurAnime {
  from {
    filter: blur(0px);
    transform: scale(1);
  }
  to {
    filter: blur(15px);
    transform: scale(1.2);
  }
}

.splash-logo img {
  width: 100%;
}

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/
#container {
  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: #8d46cb; /*伸びる背景色の設定*/
  animation-name: PageAnime;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes PageAnime {
  0% {
    transform-origin: right;
    transform: scaleX(0);
  }
  50% {
    transform-origin: right;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: left;
  }
  100% {
    transform-origin: left;
    transform: scaleX(0);
  }
}

/*画面遷移の後現れるコンテンツ設定*/

#container {
  opacity: 0; /*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container {
  display: block;
  content: '';
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  transform: scaleX(0);
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.splash-image {
  width: 100vw;
  position: relative;
}

.gnavi {
  display: flex;
  justify-content: right;
  margin: 0 0 50px 0;
  list-style: none;
  position: absolute;
  top: 50px;
  right: 30px;
}

.splash-image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.gnavi li a {
  font-size: 20px;
  font-family: 'Marcellus SC', serif;
  color: #fff;
  padding: 10px;
  text-decoration: none;
  position: relative;
}

.gnavi li {
  margin-bottom: 20px;
}

.gnavi li .current a,
.gnavi li a:hover {
  color: #0481a2;
}

.gnavi li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: #0481a2;
  transition: all 0.3s;
  transform: scale( 1);
  transform-origin: center top;
}

.gnavi li .current a::after,
.gnavi li a:hover::after {
  transform: scale(1, 1);
}
/* プロフィールセクション*/

.profile {
  width: 94%;
  margin: 0 auto;
}
.atelier {
  width: 100vw;
  height: auto;
}

.atelier img {
  width: 100%;
  object-fit: cover;
}
.troisphoto {
  width: 94%;
  height: auto;
}

.troisphoto img {
  width: 100%;
  object-fit: cover;
}

.bridge {
  width: 100vw;
  height: auto;
}
.bridge img {
  width: 100%;
  object-fit: cover;
}
/*ーーーーーfooterーーーーーーー*/

#footer {
  position: relative;
  width: 100vw;
  height: auto;
  background: rgb(15, 39, 72);
}

#page-top {
  display: block;
  width: 100vw;
  height: 100px;
  background: #eb6ea0;
  color: #fff;
  font-size: 20px;
  text-align: center;
  padding: 40px;
  transition: all 0.3s;
}

#page-top a {
  text-decoration: none;
}
#page-top a:hover {
  background: #202f55;
}

#logoy {
  width: 50%;
  height: auto;
  margin: 0 auto;
  padding: 50px;
}

#logoy img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#sns {
  margin-left: 20px;
  padding-top: 150px;
}

.link {
  display: flex;
  list-style: none;
}

.link li a img {
  width: 50px;
  height: 50px;

  margin-left: 20px;
  padding-right: 12px;
}

.copyright {
  display: flex;
  list-style: none;
  padding-top: 10px;
  object-fit: cover;
}

.copyright li {
  padding-right: 15px;
  color: #fff;
  padding-bottom: 20px;
}

@media screen and (min-width: 768px) {
  .splash-logo {
    width: 30%;
    height: auto;
  }
  .splash-image {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .splash-image img {
    width: 100%;
    object-fit: cover;
  }

  .atelier {
    display: none;
  }

  .wrapperpc {
    display: flex;
  }

  .profileflex {
    width: 60%;
    margin-top: 100px;
  }

  .troisphoto {
    width: 40%;
    margin-top: 50px;
  }

  #logoy {
    width: 10%;
    height: auto;
  }

  #logo img {
    width: 100%;
    object-fit: cover;
  }
}
