@charset "UTF-8";

/* --------------------------------
 * base
 * -------------------------------- */
html {
  font-size: 62.5%;
}
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  color: #666;
  text-align: center;
  font-size: 1.4rem;
  font-family: 'Montserrat', 'Noto Sans JP', "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background-color: #eee;
}

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

/* --------------------------------
* parts
* -------------------------------- */
.intro {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 800;
  height: 100%;
  width: 100%;
  background-color: #fefefe;
}

.intro .spin p {
  color: rgba(0, 0, 0, 0.1);
  text-shadow: none;
  font-size: 4.6rem;
}



.heading {
  font-size: 3.8rem;
  letter-spacing: 3px;
  margin:0 0 40px;
}
.heading::after {
  content: '';
  display: block;
  width: 35px;
  height: 5px;
  margin: 10px auto;
  background-color: #fff;
}

.category {
  display: inline-block;
  border: 1px solid #666;
  padding: 2px 10px;
  margin: 0 15px;
}

.header-small,
.openbtn,
.chevrons {
  opacity: 0;
}
.header-small a {
  pointer-events: none;
}


/* --------------------------------
* header
* -------------------------------- */
.header {
  color: #eee;
  text-shadow: 1px 1px 2px #333;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.header-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url('../images/header01.webp') no-repeat center;
  background-size: cover;
  z-index: -1;
  transform: translateY(0);
  will-change: transform;
  pointer-events: none;
}

.title-area {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
}
.site-title {
  margin: 100px 0 0;
  font-size: 9.6rem;
  letter-spacing: 8px;
  opacity: 0;
}

.eachTextAnime span {
  opacity: 0;
}
.eachTextAnime.appeartext {
  opacity: 1;
}
.eachTextAnime.appeartext span {
  animation: fadeInAnime 1s ease-out forwards;
}

.site-title-sub {
  font-size: 3.6rem;
  font-weight: bold;
  letter-spacing: 3px;
  margin: 0;
  opacity: 0;
}
.site-title-sub::before,
.site-title-sub::after {
  content: '';
  display: inline-block;
  width: 100px;
  height: 5px;
  margin: 0 30px;
  background-color: #eee;
  vertical-align: middle;
  box-shadow: 1px 1px 2px #333;

}
.scroll {
  display: inline-block;
  margin-top: 30px;
  padding: 60px 10px 10px;
  position: relative;
  font-size: 1.8rem;
  border-radius: 20px;
}
.scroll::before {
  animation: scroll 3.5s infinite;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  box-shadow: -2px 2px 3px #666;
  content: "";
  display: inline-block;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  transform: rotate(-45deg);
  width: 25px;
  height: 25px;
}
.scroll:hover {
  cursor: pointer;
}


/* --------------------------------
* menu
* -------------------------------- */
.menu {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0,0,0,0.6);
  text-shadow: none;
}
.menu ul {
  margin: 10px auto;
}
.menu-item {
  display: inline-block;
  margin-left: 20px;
  padding: 5px 0;
}

.menu-item a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: #fff;
  font-size: 2rem;
  letter-spacing: 1px;
}
.menu-item a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #eee;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform 0.3s;
}
.menu-item a:hover::after {
  transform: scale(1, 1);
}
.menu-item + .menu-item::before {
  content: '｜';
  color: #fff;
  padding-right: 20px;
}


 /* --------------------------------
* news
* -------------------------------- */
.news {
  font-size: 1.5rem;
  padding: 80px 50px;
  background-color: #fef8fb;
}
.news-list {
  display: table;
  margin: 0 auto;
}
.news-list-item {
  margin: 20px 0 15px;
  text-align: left;
  padding-bottom: 20px;
  border-bottom: 1px solid #999;
}
.news-list-item a {
  text-decoration: none;
  color: #666;
  padding: 15px 10px 10px;
  display: block;
  transition: 0.3s;
}
.news-list-item a:hover {
  background-color: rgba(0,0,0,0.08);
}
.news-list-item .date,
.news-list-item .category {
  color: #777;
}
.news-list-item .text {
  color: #555;
  font-size: 1.6rem;
}

.news .heading::after {
  background-color: #666;
}

.news .more {
  margin-top: 40px;
  opacity: 0;
}
.news .more a {
  color: #333;
  letter-spacing: 0;
  font-size: 2rem;
  text-decoration: none;
}
.news .more::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  margin: 2px auto;
  background-color: #333;
}

/* --------------------------------
* profile
* -------------------------------- */
.profile {
  padding: 80px 30px;
  background-color: #eee;
}

.profile-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.profile-images {
  margin: 20px 40px;
  width: 20%;
  max-width: 300px;
}
.profile-image {
  width: 100%;
}
.profile-details {
  margin: 0 80px;
  font-size: 1.7rem;
  text-align: left;
}
.profile-head {
  font-size: 3.5rem;
  letter-spacing: 8px;
  padding-bottom: 30px;
  font-family: 'Noto Serif JP', serif;
  border-bottom: 1px solid #666;
}
.profile-head span {
  font-size: 1.5rem;
  letter-spacing: 3px;
}
.profile-body {
  line-height: 2;
}
.profile .heading::after {
  background-color: #666;
}

/* --------------------------------
* biography
* -------------------------------- */
.biography {
  background-color: rgba(0,0,0,0.95);
  color: #fff;
  padding: 80px 10px;
}
.bio-list {
  width: 60%;
  margin: 0 auto;
  font-size: 1.5rem;
  margin-bottom: 35px;
  text-align: left;
}
.bio-list .category {
  letter-spacing: 1px;
  border: 1px solid #fff;
  padding: 2px 30px;
  margin: 0 0 10px;
  border-radius: 10px;
}
.bio-list-item a {
  color: inherit;
}
.bio-list-item {
  line-height: 2.5;
}

/* --------------------------------
* photo-gallery
* -------------------------------- */
.photo-gallery {
  padding: 80px 0 120px;
  background-color: #870024;
  color: #fff;
}
.gallery-slider {
  width: 90%;
  margin: 60px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, 350px);
  column-gap: 15px;
  row-gap: 15px;
  justify-content: center;
}
.image-wrapper.loaded {
  opacity: 1;
}
.gallery-slider a {
  display: block;
  background-color: #fff;
  max-width: 350px;
}
.gallery-image {
  max-width: 100%;
  vertical-align: bottom;
}
.gallery-image:hover {
  opacity: 0.8;
  transition: 0.2s;
}

/* --------------------------------
* contact
* -------------------------------- */
.contact {
  padding: 80px 30px;
  background-color: #fef8fb;
}
.contact-text {
  margin: 40px 0 30px;
  font-size: 1.8rem;
}
.contact-text .button {
  display: block;
  width: 80%;
  margin: 0 auto;
  padding: 20px;
  text-decoration: none;
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: #666;
  border-radius: 5px;
  box-shadow: 0 0 2px #333;
}
.contact-text.smartphone-only {
  display: none;
}

.contact .heading::after {
  background-color: #666;
}


/* --------------------------------
* footer
* -------------------------------- */
.footer {
  padding: 40px 30px 20px;
  background-color: #eee;
}

.sns-link {
  display: inline-block;
  margin: 10px;
  font-size: 4.5rem;
  text-decoration: none;
  color: #333;
}
.website {
  margin: 10px 0;
}
.website a {
  color: #333;
}
.copyright {
  margin: 20px 0 10px;
}


/* --------------------------------
 * animation
 * -------------------------------- */
@keyframes fadeInAnime{
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.site-title-sub.anime {
  opacity: 0;
  animation: fadeInAnime 1s ease forwards;
}
 .site-title-sub.anime::before {
   transform: scale(0, 1);
   transform-origin: right top;
   animation: stretchAnime 0.5s ease 0.2s forwards;
 }
 .site-title-sub.anime::after {
   transform: scale(0, 1);
   transform-origin: left top;
   animation: stretchAnime 0.5s ease 0.2s forwards;
 }
 @keyframes stretchAnime {
   0% {
     transform: scale(0, 1);
   }
   100% {
     transform: scale(1, 1);
   }
 }


@media (min-width: 769px) {
  .menu {
    opacity: 0;
    animation: fadeInAnime 1s ease 2s forwards;
  }
  .menu.UpMove {
    position: fixed;
    width: 100%;
    animation: UpAnime 1s forwards;
  }
  .menu.DownMove {
    position: fixed;
    width: 100%;
    animation: DownAnime 1s forwards;
  }
}

.fadeInTrigger {
  opacity: 0;
}
.fadeIn {
  animation: fadeInAnime 1.5s ease 0.5s forwards;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fadeUpTrigger {
  opacity: 0;
}
.fadeUp {
  animation: fadeUpAnime 1s ease forwards;
}

@keyframes lettersMoveAnime {
  0% {
    opacity: 0;
    letter-spacing: -5px;
  }
  20% {
    opacity: 0;
    letter-spacing: -5px;
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    letter-spacing: 3px;
    transform: translateY(0);
  }
}
.lettersMoveTrigger {
  opacity: 0;
}
.lettersMove {
  animation: lettersMoveAnime 0.8s ease forwards;
}

@keyframes UpAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  } 
  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}
@keyframes DownAnime {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes scroll {
  0% {
    transform: rotate(-45deg) translate(0, 0);
  }
  80% {
    transform: rotate(-45deg) translate(-20px, 20px);
  }
  0%,
  80%,
  100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}

@keyframes scaleUpAnime {
  0% {
    opacity: 0;
    transform: scale(80%);
  }
  100% {
    opacity: 1;
    transform: scale(100%);
  }
}

.scaleUpTrigger {
  opacity: 0;
}

.scaleUp {
  animation: scaleUpAnime 1s ease 0.5s forwards;
}


/* --------------------------------
 * tablet & smart phone
 * -------------------------------- */
@media (max-width: 950px) {
  /* --- small header --- */
  .header-small {
    position: fixed;
    top: 100;
    left: 0;
    width: 100%;
    height: 70px;
    padding: 0 10px;
    z-index: 200;
    background-color: #eee;
    box-shadow: 0 1px 5px #999;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-shadow: none;
    text-align: left;
    line-height: 50px;
    opacity: 1;
  }
  .header-small a {
    display: inline-block;
    width: 70%;
    text-decoration: none;
    line-height: 70px;
    color: #666;
    pointer-events: auto;
  }
  .header-small span {
    font-size: 1.8rem;
  }
  
  .header-small.UpMove {
    position: fixed;
    width: 100%;
    animation: UpAnime 1s forwards;
  }
  .header-small.DownMove {
    position: fixed;
    width: 100%;
    animation: DownAnime 1s forwards;
  }

  /* --- menu --- */
  .menu {
    position: fixed;
    height: 100vh;
    width: 100%;
    top: 0;
    right: -120%;
    left: auto;
    transition: all 0.6s;
    background-color: rgba(0, 0, 0, 0.9);
  }
  .menu.reveal {
    right: 0;
  }
  .menu ul {
    margin: 0 auto;
    padding: 80px 0 20px;
  }
  .menu-item {
    display: block;
    padding: 30px 0;
    margin: 0 auto;
    width: 45%;
  }
  .menu-item a::after {
    display: none;
  }
  .menu-item + .menu-item::before {
    content: '';
    padding: 0;
  }
  .menu-item + .menu-item {
    border-top: 1px solid #eee;
  }

  /* --- hamburger button --- */
  .openbtn {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 300;
    background: transparent;
    cursor: pointer;
    width: 50px;
    height: 50px;
    opacity: 1;
    margin: 10px 0;
  }
  .openbtn span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: #666;
    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;
  }

  .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%;
  }

  .openbtn.UpMove {
    position: fixed;
    animation: UpAnime 1s forwards;
  }
  .openbtn.DownMove {
    position: fixed;
    animation: DownAnime 1s forwards;
  }
  /* スマホでメニューを開いた場合は全体のスクロールを止める */
  body.freeze {
    overflow: hidden;
  }

}

 /* --------------------------------
 * smart phone
 * -------------------------------- */

@media (max-width: 768px) {
  body {
    background-image: none;
  }
  
  /* --- parts --- */
  .heading {
    font-size: 3rem;
    letter-spacing: 4px;
  }
  .heading::after {
    margin-top: 7px;
  }
  
  /* --- header --- */
  .header {
    height: 720px;
  }

  .header-img {
    height: 720px;
  }

  .site-title {
    font-size: 4.4rem;
    line-height: 1;
    text-shadow: 1px 1px 4px #333;
    margin-top: 200px;
  }
  .site-title-sub {
    font-size: 1.8rem;
    width: 100%;
  }
  .site-title-sub::before,
  .site-title-sub::after {
    display: block;
    width: 80%;
    height: 2px;
    margin: 10px auto;
    color: #fff;
  }

  .scroll {
    margin-top: 30px;
  }

  /* --- news --- */
  .news {
    padding: 80px 20px 100px;
  }
  .news-list {
    margin: 10px 0;
    width: 100%;
  }
  .news-list-item a {
    padding: 0;
  }
  .news-list-item a:hover {
    background-color: transparent;
  }
  .news-list-item .category {
    font-size: 1.3rem;
  }
  .news-list-item .text {
    font-size: 1.5rem;
  }

  /* --- profile --- */
  .profile-wrapper {
    display: block;
  }
  .profile-images {
    margin: 20px auto;
    width: 80%;
    max-width: 300px;
  }
  .profile-details {
    margin: 50px auto 30px;
  }
  .profile-head {
    padding: 20px 0 20px;
    font-size: 3rem;
    letter-spacing: 5px;
  }

  .profile-body {
    font-size: 1.6rem;
  }

  /* --- biography --- */
  .bio-list {
    width: 95%;
    font-size: 1.5rem;
  }
  .bio-list .category {
    line-height: 1.5;
    display: block;
    width: fit-content;
  }
  .bio-list-item span {
    display: block;
    line-height: 1.5;
  }
  .cv .bio-list-item span,
  .mv .bio-list-item span {
    display: inline;
  }
  .bio-list-item {
    margin-bottom: 25px;
  }
  
  /* --- photo gallery --- */
  .gallery-slider {
    width: 95%;
    grid-template-columns: repeat(auto-fit, 150px);
    column-gap: 8px;
    row-gap: 8px;
  }

  .gallery-image {
    max-width: 150px;
  }

  .gallery-image:hover {
    opacity: 1;
    transition: none;
  }

  /* --- contact --- */
  .contact-text.contact-text.smartphone-only {
    display: block;
  }
  .contact-text.google-form {
    display: none;
  }

  .contact-text {
    font-size: 1.6rem;
  }
  .contact-text .br {
    display: block;
  }

}