@charset "UTF-8";

/*!
Theme Name: Helianthus
Description: ポートフォリオサイト
Author: tanaka
Version:    1.1.3
*/
html {
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    letter-spacing: 0.05em;
    line-height: 1.75;
    color: #0F0F0F;
    font-family: "Crimson Text", "Zen Old Mincho", "Nothing You Could Do", serif;
    background: rgb(2,0,36);
    background: linear-gradient(0deg, rgba(2,0,36,1) 0%, rgb(72, 5, 6) 34%, rgb(100, 4, 6) 92%);
}
.all {
    overflow: hidden;

}

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



.breadcrumd {
    font-size: 1.143em;
    font-weight: bold;
    color: #0F0F0F;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    padding: 0 11.4%;
    background-color: #CAA717;
}

.breadcrumd a:hover {
    color: #FFFEF9;
}

.breadcrumd li:not(:last-of-type):after {
    content: '';
    display: inline-block;
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin:0 0 3px 10px;
    border-top: 1px solid #0F0F0F;
    border-right: 1px solid #0F0F0F;
}

.breadcrumd li {
    padding: 0 6px;
}

.container {
    max-width: 1000px;
    margin: 0 auto 100px;
}

.h2-custom  > img {
    width: 4.3%;
}

.h2-custom  {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 3em;
    letter-spacing: 3px;
    color: #FFDF5B;
    margin-bottom: 56px;
}
/* .h2-custom::after {
    content: "";
    width: 414px;
    height: 3px;
    background-color: #FFDF5B;
}  */

.h2-slide {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity .8s ease-out, transform .8s ease-out;
}


@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    
    .container {
        width: 100%;
        padding: 0 16px;
        margin: 0 auto 100px;
    }
    
    .h2-custom  {
        gap: 8px;
        font-size: 3em;
        letter-spacing: 3px;
    }
    .h2-custom::after {
        display: none;
    } 

    .h2-custom  > img {
      width: 10%;
  }
}
/* header */
.header {
    position: absolute;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #FFFEF9;
    padding: 8px 56px 0 56px;
    position: fixed;
    transition: .5s;
    z-index: 10000;
}

.sticky {
    background: #0f0f0f;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.red {
    background: linear-gradient(45deg, rgb(7, 7, 7) 0%, rgba(97,18,19,1) 34%, rgb(119, 11, 13) 92%);
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}
.h1 {
    font-size: 2.5em;
    font-family: "Nothing You Could Do";
    font-style: italic;
}

.global__navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
}
.fv__area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(imgs/main_bg.png) #951C1F;
    background-repeat: no-repeat;
    background-position: -300px 84%;
    background-size: 80%;
    height: 95vh;
    
}

@media screen and (max-width: 1180px) {
    .fv__area {
        background-size: 122%;
        
    }
}


.main__visual {
    max-width: 1200px;
    margin:  0 auto;
}

.navigation__item {
    position: relative;
    font-size: 1.375em;
    transition-duration: .4s;
}

.navigation__item:hover {
    color: #CAA717;
    transform: scale(1.1);
}

.navigation__item::before {
    background: #CAA717;
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    margin: auto;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
}
.navigation__item:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
}

.main__title,.main__title__bottom, .main__sub-title, .main__sub-title__bottom {
    color: #FFFEF9;
}
.main__title {
    font-size: clamp( 20px, 12vw, 140px);
    text-align: left;
    line-height: 1.4;
    text-shadow: 0 0 8px #cebe73,0 0 8px #cebe73;
}

.main__title__bottom {
    font-size: clamp( 16px, 5vw, 24px);
    text-shadow: 0 0 8px #cebe73,0 0 8px #cebe73;

}

.main__sub-title {
    font-size: clamp( 16px, 6.5vw, 34px);
    letter-spacing: 0;
    text-align: right;
    text-shadow: 0 0 8px #cebe73,0 0 8px #cebe73;
}

.main__sub-title__bottom {
    font-size: clamp( 16px, 5vw, 20px);
    text-align: right;
    text-shadow: 0 0 8px #cebe73,0 0 10px #cebe73;
}

br {
    display: none;
}

.main__sub-title__br {
    display: block;
}

.text-animation  {
    overflow-x: hidden;
    transform-origin: top center;
    animation: loading 2s;
}


@keyframes loading {
    0% {opacity: 0;transform: scale(1.5);}
    100% {opacity: 1;transform: scale(1);}
  }

@media screen and (max-width: 768px) {
    .header {
        width: 100%;
        padding: 8px 24px 0 24px;
        justify-content: space-between;


    }
    .h1 {
        font-size: 2.25em;
    }

/* ハンバーガー */
nav {
    position: fixed;
    top: -100%;
    right: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    z-index: 99999;
    transition: top .8s ease;
    background:linear-gradient(0deg, rgba(2,0,36,1) 0%, rgba(97,18,19,1) 34%, rgb(119, 11, 13) 92%);
    padding-top: 50%;
}

.global__navigation {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    }
nav.show {
    top: 0;
    transition: .8s;
}



.hamburger {
    position: absolute;
    top: 16px;
    right: 32px;
    cursor: pointer;
    width: 32px;
    height: 24px;
    z-index: 100000;
}

.hamburger__line {
    transition: all .5s;
    position: absolute;
    height: 2px;
    border-radius: 8px;
    background-color: #FFFEF9;
    width: 100%;
    z-index: 100000;
}

.hamburger__line:nth-of-type(1) {
    top: 4px;
}

.hamburger__line:nth-of-type(2) {
    top: 12px;
}

.hamburger__line:nth-of-type(3) {
    top: 20px;
}

.hamburger.open .hamburger__line:nth-of-type(1) {
    top: 10px;
    transform: translateY(6px) rotate(-45deg);
}

.hamburger.open .hamburger__line:nth-of-type(2) {
    opacity: 0;
}

.hamburger.open .hamburger__line:nth-of-type(3) {
    top: 22px;
    transform: translateY(-6px) rotate(45deg);
}

    @media screen and (max-width: 600px) {
        .fv__area {
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: url(imgs/main_bg.png) #951C1F;
            background-repeat: no-repeat;
            background-position: center center;
            background-size: 150%;
            height: 95vh;
            
        }
    }
    
    
    .main__visual {
        max-width: 1200px;
    }
    
    .main__title {
        text-align: left;
        margin-bottom: 24px;
    }

    .main__title br, .main__sub-title br {
        display: block;
    }
    
    .main__sub-title, .main__sub-title__bottom {
        letter-spacing: 0;
    }
}

/* main */
.slider {
    display: flex;
}

.slider-slide {
    width: 100%;
    height: 20vw;
    background: #FFDF5B;
    filter: grayscale(100%);
}

.slider-slide a img:nth-child(7) {
    object-position: 0 25px;
}

@media screen and (max-width: 768px) {
    .slider-slide {
        height: 22vw;
    }
}

/* skill */

#skill {
    background: #0F0F0F;
    padding: 42px 0 1px 0;
}


.skill__list {
    display: grid;
    gap: 32px;
    grid-template-columns:  1fr 1fr 1fr;
}

.skill__item {
    background: #fffef9cc;
    text-align: center;
    transition-duration: .6s;
}

.skill_js-item {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}





.skill__item img {
    width: 30%;
    padding-top: 72px;
}
.skill__text {
    margin: 0 auto;
    text-align: left;
    line-height: 1.4;
    padding: 16px;
}

.skill__text__brack {
    text-align: center;
    padding-top: 16px;
}

@media screen and (max-width: 768px) {
    
    .skill__list {
        gap: 16px;
        grid-template-columns: 1fr 1fr;
    }

    .skill__item img {
        padding-top: 36px;
    }
}

@media screen and (max-width: 500px) {
    .skill__list {
        display: flex;
        flex-direction: column;
        gap: 8px;
        grid-template-columns: 1fr 1fr;
        padding: 0 24px;
    }

    .skill__item img {
        padding-top: 24px;
    }
    .skill__text {
        padding: 16px 16px 36px 16px;
    }
    
    .skill__text__brack {
        padding-bottom: 24px;
    }
}



/* contact */
#contact {
    background: rgb(2, 0, 36);
    background: linear-gradient(0deg, rgba(2,0,36,1) 0%, rgb(76, 10, 10) 0%, rgba(15,15,15,1) 100%, rgba(100,83,12,1) 100%);
    padding-bottom: 100px;
}


#contact .container {
    margin-bottom: 0;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}
.contact-form__group {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 32px;
}
.contact-form__label {
    font-size: 1.3em;
    color: #FFDF5B;
    width: 200px;
}
.contact-form__inputs, .contact-form__textarea  {
    font-size: 0.938em;
    width: 100%;
    border-radius:5px;
    padding:10px;
}
.contact-form__textarea {
    height: 160px;
}
.contact__btn {
    display: block;
    width: 180px;
    border: none;
    background: linear-gradient(#CAA717, #64530C);
    color: #FFFEF9;
    font-size: 1.067em;;
    padding: 10px 20px;
    font-family: "Zen Old Mincho";
    transition-duration: .4s;
    margin: 0 auto;
    
}

.contact__btn:hover {
  display: block;
    transform: scale(1.1);
    color: #020024;
}

#contact .fadeIn:first-child {
    transform: translate3d(0, 50px, 0);
    transition: .5s;
    opacity: 0;
}
#contact .fadeIn:first-child.animated {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

#contact .fadeIn:nth-child(2) {
    transform: translate3d(0, 100px, 0);
    transition: 1s;
    opacity: 0;
}
#contact .fadeIn:nth-child(2).animated {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

#contact .fadeIn:nth-child(3) {
    transform: translate3d(0, 150px, 0);
    transition: 1.5s;
    opacity: 0;
}
#contact .fadeIn:nth-child(3).animated {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

#contact .fadeIn:nth-child(4) {
    transform: translate3d(0, 200px, 0);
    transition: 2s;
    opacity: 0;
}
#contact .fadeIn:nth-child(4).animated {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

#contact .fadeIn:nth-child(5) {
  transform: translate3d(0, 200px, 0);
  transition: 2s;
  opacity: 0;
}
#contact .fadeIn:nth-child(5).animated {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.wpcf7-response-output {
  color: #FFFEF9;
}



@media screen and (max-width: 767px) {
#contact .container {
    padding: 0 16px;
}

    .contact-form__group {
        display: flex;
        flex-direction: column;
    }
    .contact-form__inputs, .contact-form__textarea {
        width: 100%;
        font-size: 1em;
    }

}

/* footer */
.footer {
    background-color: #0F0F0F;
    text-align: center;
}

.small {
    font-size: 1.25em;
    letter-spacing: 0.05em;
    color: #FFFEF9;
    padding: 16px 0;
}



/* 下層ページFV */
.Lower-page .fv__area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: url(imgs/main_bg.png) #520404;
  background-repeat: no-repeat;
  background-position: -300px 30%;
  background-size: cover;
  height: 50vh;
  
}
@media screen and (max-width: 768px) {
  .Lower-page .fv__area {
      display: flex;
      flex-direction: column;
      justify-content: center;
      background-repeat: no-repeat;
      background-position: -180px 72%;
      background-size: 150%;
      height: 50vh;
      
  }
}
/* トップページループ */
.main-loop {
  position: relative;
  background-color: #CAA717;
  display: flex;
}

.main-loop__anime {
  display: flex;
  width: 100vw;
  overflow: hidden;
  margin-inline: calc(50% - 50vw);
}

.main-loop__anime-text {
  font-size: 1.25em;
  font-family: "Nothing You Could Do";
  font-style: italic;
  padding-left: 160px;
  margin: 8px 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.main-loop__anime-text:nth-child(odd) {
  animation: MoveLeft 14s -7s infinite linear;
} 

.main-loop__anime-text:nth-child(even) {
  animation: MoveLeft2 14s infinite linear;
} 


@keyframes MoveLeft {
  0% {
      transform: translateX(100%)
  }
  100% {
      transform: translateX(-100%)
  }
}


@keyframes MoveLeft2 {
  0% {
      transform: translateX(0)
  }
  100% {
      transform: translateX(-200%)
  }
}

/* トップページABOUT */

.background {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  z-index: 0;
}
.about {
  background: #5d0101 url(imgs/about-bg.png);
  background-size: 930px; 
  background-repeat: no-repeat;
  background-position: 122% 10vw;
}

.about .container {
  margin-bottom: 0px;
}
.about__area {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  height: 500px;
}

.about__img {
  width: 31.7%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  filter: grayscale(100%);
}
.about__desc {
  width: 70.6%;
  height: 487px;
  background-color: #0F0F0F;
  padding: 51px 91px;
  position: absolute;
  top: 10.3%;
  right: 2%;
}

.about__desc .h3-custom {
  font-size: 2.25em;
  letter-spacing: 0.04em;
  font-weight: bold;
  color: #FFDD5B;
  margin-bottom: 24px;
}
.about__text {
  font-size: 1.375em;
  color: #FFFEF9;
  font-family: "Zen Old Mincho";
  margin-bottom: 24px;
}


.about__btn {
  position: absolute;
  top: 96.7%;
  right: 0;
  transition-duration: .4s;
}

.about__btn:hover {
  transform: scale(1.1);
}
.about__btn a {
  max-width: 180px;
  height: 50px;
  font-size: 1.5em;
  text-align: center;
  padding: 8px 16px;
  background: linear-gradient(#CAA717, #64530C);
}
.about .fadeIn {
  transform: translate3d(0, 120px, 0);
  transition: .8s;
  opacity: 0;
}
.about .fadeIn.animated {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}



.js-fadeup span {
  opacity: 0;
}



@media screen and (max-width: 768px) {
  .about {
      background-size: contain;
      background-repeat: no-repeat;
      background-position: 169px 10vw;
      
  }
  
  .about .container {
      margin-bottom: 16px;
  }
  .about__area {
      height: 520px;
  }
  
  .about__img {
      width: 176px;
  }
  .about__desc {
      width: 85.6%;
      height: auto;
      background-color: #0F0F0F;
      padding: 51px 24px;
      position: absolute;
      top: 150px;
  }
  
  .about__desc .h3-custom {
      font-size: 1.14em;
      margin-bottom: 16px;
  }
  .about__text {
      font-size: 1em;
      color: #FFFEF9;
      font-family: "Zen Old Mincho";
      margin-bottom: 16px;
  }
  
  .about__btn {
      right: 50%;
      transform: translateX(50%);
  }

  .about__btn a {
      height: auto;
      font-size: 1em;
  }
}


/* 下層ページAbout about-peg */
.vh {
  height: 100vh;
}

.about-peg .vh .h2-custom {
  padding-top: 34px;
  margin-bottom: 0;
}

.about__text-area {
  width: 100%;
  height: 80vh;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.concept__text {
  font-size: 1.8em;
  letter-spacing: 0.04em;
  line-height: 2;
  color: #FFFEF9;
  font-family: "Zen Old Mincho";

}

.concept__text br {
  display: none;
}

.concept__text:nth-child(2),.concept__text:nth-child(5) {
  margin-bottom: 20px;
}

.about-peg .about__desc .h3-custom {
  letter-spacing: 0.04em;
  color: #7C0000;
  background-color: #CAA717;
  max-width: 400px;
  text-align: center;
  padding: 16px;
  position: absolute;
  top: -62px;
  left: 71px;
}

.about-peg .about__img {
  filter: none;
}

.about-timeline {
  font-family: "Zen Old Mincho";

  margin-bottom: 24px;
}

.about-timeline, .about-certification {
  color: #FFFEF9;
  font-size: 1.143em;
  line-height: 2.063;
}

.about-peg .about__area {
  height: 1000px;
}

.about-peg .about__desc {
  height: auto;
}

.about-timeline li, .about-certification {
  display: flex;
}


.about-timeline__date, .about-certification__title {
  width: 110px;
}

.about-timeline__summary, .about-certification__list {
  width: 75%;
}

.about-peg #skill {
  background: rgb(105,22,22);
  background: linear-gradient(180deg, rgb(91, 1, 1) 0%, rgba(15,15,15,1) 71%);;
}

@media screen and (max-width: 1000px) {
  .about-peg .about {
      background-size: contain;
      background-repeat: no-repeat;
      background-position: 35px 16vw;
  }
}

@media screen and (max-width: 768px) {
  .about-peg .about {
      background-size: contain;
      background-repeat: no-repeat;
      background-position: 169px 40vw;
  }




  @media screen and (max-width: 500px) {
      .about-peg .about {
          background-size: contain;
          background-repeat: no-repeat;
          background-position: 22px 77vw;
      }
  }
  
  .concept__text {
      font-size: 1.4em;
      letter-spacing: 0.04em;
      line-height: 1.4;

  }
  
  .concept__text br {
      display: block;
  }
  
  .concept__text:nth-child(2),.concept__text:nth-child(5) {
      margin-bottom: 20px;
  }
  
  .about-peg .about__desc .h3-custom {
      font-size: 1.143em;
      text-align: center;
      padding: 16px 16px;
      position: absolute;
      top: -23px;
      left: 120px;
      z-index: 10;
  }
  
  .about-timeline {
      font-family: "Zen Old Mincho";
  
      margin-bottom: 24px;
  }
  
  .about-timeline, .about-certification {
      color: #FFFEF9;
      font-size: 1.143em;
      line-height: 2.063;
  }
  

  .about-peg .about__desc {
      width: 95%;
      height: auto;
  }
}

@media screen and (max-width: 830px) {
  .about-peg .about__area {
      height: 1177px;
  }
  
}

/* Woks */
.works {
  background: rgb(97,18,19);
  background: linear-gradient(180deg, rgb(71, 5, 5) 34%, rgb(32, 1, 1) 92%);
  padding-bottom: 96px;
}


.works__tab-list {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
}

.tab__menu {
  font-size: 1.5em;
  color: #CAA717;
  font-weight: bold;
  cursor: pointer;
  opacity: 0.5;
}

.tab__menu:hover {
  color: #FFDF5B;
}

.tab__menu.current {
  opacity: 1;
}

#works-overlay {
  width: 100vw;
  height: 100vh;
  background-color: #000000c2;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
}

.works__modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 90vw;
  height: auto;
  background: rgb(105,22,22);
  background: linear-gradient(180deg, rgba(105,22,22,1) 0%, rgba(15,15,15,1) 71%);;
  z-index: 1000000;
  color: #FFFEF9;
}



.works__title {
  font-size: 2.5em;
  padding-left: 24px;
}

.no_scroll {
  overflow: hidden;
}

.works__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.works__item {
  width: 32%;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity .3s ease, transform .3s ease;
  display: none;
  box-shadow: 1px 1px 2px #6c5b03;
}


.works__desc .h3-custom3 {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 2;
  margin-bottom: 16px;
  
}

.works__text {
  font-size: 1.2em;

}

.works__text__top {
  margin-bottom: 16px;
}


.works__img img {
  display: block;
  width: 80%;
  margin: 0 auto;
}

@media screen and (min-width: 800px) {
  .works__img img {
      display: block;
      width: 50%;
      margin: 0 auto;
  }
}
.works__desc {
  padding: 24px;
}

.modal__btn {
  display: block;
  position: absolute;
  width: 32px;
  height: 32px;
  top: 5%;
  right: 5%;
}

.modal__btn::before, .modal__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 32px;
  background-color: #FFFEF9;
}

.modal__btn::before {
  transform: translate(-50%,-50%) rotate(45deg);
}

.modal__btn::after {
  transform: translate(-50%,-50%) rotate(-45deg);

}

 .works__btn {
  display: block;
  margin: 0 auto;
  transition-duration: .4s;
}

.works__btn a {
  display: block;
  max-width: 220px;
  font-size: 1.5em;
  letter-spacing: 0.8px;
  text-align: center;
  padding: 4px 8px;
  background: linear-gradient(#CAA717, #64530C);
}

.works__btn:hover {
  color: #64530C;

}

.modal__btn__summary {
  text-align: center;
}


@media screen and (max-width: 768px) {
  .works__list {
      gap: 8px;
  }
  
  .works__item {
      width: 48%;
  }

}


.contact__small {
  display: block;
  max-width: 500px;
  margin: 50px auto 0;
  color: #FFFEF9;
}

.contact__small a {
  color: aqua;
}

.grecaptcha-badge {
  visibility: hidden; 
}

/* 404 */

.article {
  height: 95vh;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.entry-title, .text {
  color: #CAA717;
  
}

.entry-title {
  font-size: 2rem;
}