@charset "UTF-8";

:root {
  --base-color: #FBF9F1;
  --text-color: #000000;
}


/*================================================
  Common-layout
================================================*/

html {
  font-family: YuGothic, 'Yu Gothic', sans-serif;
  scroll-behavior: smooth;
  font-weight: 500;
}

body {
  background-color: var(--base-color);
}

img {
  width: 100px;
  height: auto;
  vertical-align: bottom;
}

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

a {
  text-decoration: none;
  color: var(--text-color);
}


li {
  list-style: none;
}

/*================================================
  Contents - wrapper
================================================*/

.wrapper {
  /* background-color: rgb(241, 201, 170); */
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5rem;
}


.flex {
  display: flex;
}

main {
  margin-top: 8rem;
}

main.top_mv {
  margin-top: 6.5rem;
}


/*================================================
  Contents - header
================================================*/



header {
  padding: 1.5rem 5rem 0;
  background-color: var(--base-color);

  position: fixed;
  top: 0;
  left: auto;
  width: 100%;
  z-index: 100;

}






header>.flex {
  border-bottom: var(--text-color) solid 1px;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
}

header>.flex>a,
header>.flex>h1,
header>.flex>.menu_btn {
  width: calc(100% / 3);
}

header>.flex>a {
  flex-grow: 2;
}

header>.flex>h1 {
  /* font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: .45rem;
  font-size: 2.25rem; */

  text-align: center;
  max-width: 500px;
}

header>.flex>h1 img {
  width: fit-content;
  max-width: 300px;
  padding-bottom: 1rem;
}

header>.flex>a {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: .15rem;

}



header>.flex>a::after,
.drawer__list li:nth-child(4) a::after,
footer .footer_left li:nth-child(4) a::after {
  content: '↗';
  font-size: .8rem;
  transition: .5s;
  /* 効かない */

}

header>.flex>a:hover::after,
.drawer__list li:nth-child(4) a:hover::after,
footer .footer_left li:nth-child(4) a:hover::after {
  position: relative;
  top: -5px;
  left: 5px;


}


header>.flex>.menu_btn {
  display: flex;
  justify-content: flex-end;
}




/*=========================================
#hamburger
=========================================*/
.hamburger {
  position: relative;
  z-index: 150;
  width: 40px;
  height: 20px;
  cursor: pointer;

}

.hamburger.is-active span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(30deg);
}



.hamburger.is-active span:nth-child(2) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
}

.hamburger span {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 1px;
  background-color: var(--text-color);
  transition: transform .3s;
}

.hamburger.is-active span {
  background-color: var(--text-color);
}

.hamburger span:nth-child(1) {
  top: 30%;
}


.hamburger span:nth-child(2) {
  top: 90%;
}

/*=========================================
#drawer
=========================================*/
.drawer {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 130;
  width: 100%;
  height: 100vh;
  background-color: var(--base-color);
  transition: opacity .3s, visibility .3s;
}

.drawer.is-active {
  visibility: visible;
  opacity: 1;
}

.drawer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 20px;
}

.drawer__list {
  display: flex;
  flex-direction: column;

  gap: 50px;
  text-align: center;
}

.drawer__link {
  color: var(--text-color);
}

.drawer {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: .15rem;
}

.drawer__item img {
  width: 25px;
}

.drawer__item a,
footer .footer_left a {
  transition: .3s;
}

.drawer__item a:hover,
footer .footer_left a:hover {
  opacity: .5;
}

.hobby_img a {
  transition: .3s;
}

.hobby_img a:hover {
  opacity: .5;
}



/*=========================================
#main mv
=========================================*/
.mv {
  margin-top: 2rem;
  position: relative;
}

.mv img {
  width: 100%;
  height: 85svh;
  object-fit: cover;
}


.scroll {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: .8rem;
  letter-spacing: .15rem;
}

.scroll a {
  color: var(--base-color);
}

/* スクロールダウンの位置 */
.scroll {
  position: absolute;
  right: 4%;
  top: 80%;
  writing-mode: vertical-rl;
}

/* 線のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  background-color: var(--base-color);
  bottom: -115px;
  content: "";
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}

/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }

  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }

  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }

  100% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
}



/*=========================================
#main 共通
=========================================*/



h2 {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: .25rem;
  font-size: 2.25rem;
  margin-bottom: 3rem;
}


/*=========================================
#main works
=========================================*/

#works {
  padding-top: 10rem;
  margin-top: 15rem;
}

.gallery img {
  width: 100%;
}

.gallery p {
  font-size: 0.875rem;
  color: #838383;
}

.gallery p:nth-of-type(1) {
  margin-top: .25rem;
}

.gallery.flex {
  gap: 1rem;
  flex-wrap: wrap;
}

.gallery section {
  width: calc((100% - 2rem) / 3);
  margin-bottom: 2rem;
}

.gallery li {
  overflow: hidden;
}

.gallery img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: 0.8s;
}

.gallery img:hover {
  transform: scale(1.05);
}


.more {
  justify-content: center;
  align-items: center;
  display: flex;
  border: var(--text-color) solid 1px;
  max-width: 172px;
  height: 82px;
  margin: 5rem auto;
  border-radius: 50%;

  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: .05rem;

}

.more:hover {
  transform: rotate(15deg);
}






/* workspage ------------------------------ */


article.works {
  margin-top: 8rem;
}

/* 詳細ページ ------------------------------ */
.works_wrapper {
  max-width: 848px;
  margin: 0 auto;
}

.works_wrapper .flex {
  margin-top: 8rem;
  flex-direction: column;
  gap: 1.5rem;
}


.tools {
  font-size: 0.75rem;
  margin-left: auto;
  position: relative;
  top: -15px;
  color: #a3a3a3;
}



.works_wrapper .flex img {
  width: 100%;
}

.works_wrapper .works_text {
  margin-top: 8rem;
}

.works_wrapper .works_text .distinction {
  font-size: 0.875rem;
  color: #a3a3a3;
}

.works_wrapper .works_text h3 {
  margin-top: 1rem;
  margin-bottom: 0;
}

.url {
  transition: .3s;
}
.url:hover {
  opacity: .5;
}

.title {
  /* font-weight: 600; */
  border-bottom: var(--text-color) solid 1px;
  padding-bottom: .25rem;
}

.works_wrapper .works_text .tag {
  font-size: 0.75rem;
  position: relative;
  top: -.25rem;
}

.works_wrapper .works_text p {
  margin-top: 3rem;
  margin-bottom: 3rem;
}


.columns2 {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.columns2 .work img {
  width: 100%;
}


.works_wrapper .live3 {
  text-align: center;
}

.works_wrapper .live3 img {
  width: 60%;

}


/*=========================================
#main about
=========================================*/

.top_about.flex {
  align-items: center;
  gap: 5rem;
  justify-content: center;
  margin-top: 20rem;
}

.top_about img {
  width: 100%;
}

.about_text h2 {
  margin-bottom: 2rem;
  font-size: 1.875rem;
}

.sp_about {
  display: none;
}

.about_text {
  max-width: 380px;
}

.top_about .about_text .text_box {
  max-width: 380px;
  margin: 0 auto;
}

.top_about .about_text p {
  font-size: .875rem;
  /* text-align: center; */
  line-height: 2rem;
  text-align: justify;
}

.top_about .more {
  margin: 2rem auto 0;
}

.top_about .about_text h4 {
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.top_about .about_text h4 span {
  font-size: .85rem;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: .15rem;
  margin-left: 1rem;
}



.top_about .about_text,
.top_about .about_img {
  width: calc(100% / 2);
}

.top_about .about_img {
  max-width: 360px;

}

.top_about .about_img img {
  border-radius: 100vh;
}





/* aboutpage ------------------------------ */

.about_wrapper {
  max-width: 848px;
  margin: 0 auto;
}


article.top_about.about.flex {
  margin-top: 5rem;
  gap: 2rem;
  justify-content: space-between;
}

article.about .about_text {
  max-width: 480px;
}

article.about .about_text .text_box {
  max-width: 480px;
}




article.about h2 {
  font-family: YuGothic, 'Yu Gothic', sans-serif;
  text-align-last: left;
  margin-bottom: 0;
  font-weight: 500;
}

article.about span {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: .5rem;

}


article.about p {
  text-align-last: left;
  margin-top: 2rem;
  margin-bottom: 2rem;
  line-height: 2rem;
  font-size: .875rem;
}

article.about .about_sns {
  margin: 0;
}

article.about .about_sns::after {
  border-top: solid 1px;
  content: "";
  flex-grow: 1;
  margin: 0 .5rem;
}

.text_box p {
  text-align: justify;
 
}

article.about .text_box .flex img {
  width: 25px;
}

article.about .text_box .flex p {
  width: 200px;
  align-items: center;
}

article.about .text_box .flex a {
  margin: auto 0;
  transition: .5s;
}

article.about .text_box .flex a:hover {
  opacity: .5;
}

/* コピー---------------- */

.about_content h3 {
  font-weight: normal;
  font-size: 1.25rem;
  margin-top: 10rem;
  margin-bottom: 3rem;
  font-weight: 500;
}

.about_content p {
  line-height: 2rem;
  font-size: .875rem;
  margin-bottom: 2rem;
  text-align: justify;
}

/* スキル---------------- */

.skill {
  margin-top: 8rem;
}

.skill .flex {
  flex-wrap: wrap;
  gap: 3rem;
}

.skill .flex p {
  margin-bottom: .5rem;
  color: #838383;
  font-size: .875rem;
}

.skill .flex li {
  width: calc((100% - 3rem) / 2);
}

.skill .bar {
  background-color: #e6e4de;
  height: 8px;
  border-radius: 100vh;
}

.skill .bar .skill_bar {
  background-color: var(--text-color);
  height: 100%;
  border-radius: 100vh;
}

.skill .bar .bar1 {
  width: 70%;
}

.skill .bar .bar2 {
  width: 70%;
}

.skill .bar .bar3 {
  width: 70%;
}

.skill .bar .bar4 {
  width: 60%;
}

.skill .bar .bar5 {
  width: 50%;
}

.skill .bar .bar6 {
  width: 50%;
}

.skill .bar .bar7 {
  width: 10%;
}

.skill .bar .bar8 {
  width: 10%;
}

.skill .bar .bar9 {
  width: 30%;
}

.skill .bar .bar10 {
  width: 40%;
}

/* 隠す */
.skill .bar {
  overflow: hidden;
}



/* 趣味---------------- */
.hobby h2 {
  margin-top: 8rem;
}

.hobby_img.flex {
  gap: 3rem;
}


.hobby1 img {
  width: 100%;
}

.hobby1 p {
  text-align: center;
  font-size: 0.875rem;
  margin-top: 1rem;
}









/*=========================================
#main contact
=========================================*/
article.top_contact {
  padding-top: 18rem;
  margin-top: 2rem;
  text-align: center;
}

article.top_contact h2 {
  margin-bottom: 1rem;
}

article.top_contact img {
  width: 42px;
  margin: 1rem 0;
}

article.top_contact a {
  padding-bottom: .2rem;
  border-bottom: #000000 solid 1px;
}

article.top_contact p:nth-of-type(2) {
  margin-bottom: 1rem;
  transition: .3s;
}

article.top_contact p:nth-of-type(2):hover,
article.top_contact p:nth-of-type(3):hover {
  opacity: .5;
}

/*=========================================
#main pagetop
=========================================*/
.pagetop {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: .8rem;
  letter-spacing: .05rem;

  text-align: right;
  margin: 18rem 0 .5rem;
}

.pagetop span::after {
  content: '↑';
}

.pagetop span:hover::after {
  position: relative;
  top: -5px;
}




/*=========================================
#footer
=========================================*/

footer {
  border-top: var(--text-color) solid 1px;
  /* margin-top: 20rem; */
}

footer .footer_left.flex {
  justify-content: space-between;
  margin-top: 1.5rem;
  margin-bottom: 12rem;
}

footer .footer_left .flex {
  flex-direction: column;
  gap: 1rem;
}

.footer_right img {
  width: 25px;
  height: 25px;

}

footer a {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: .15rem;
}


footer>p {
  text-align: center;
  margin: 1rem 0;
}








@media screen and (max-width: 1050px) {


  .wrapper {
    padding: 0 3rem;
  }

  /* header------- */

  header {
    padding: 1.5rem 3rem 0;
  }


  /* works-------ギャラリー */
  .gallery section {
    width: calc((100% - 1rem) / 2);
  }


  /* about-top------- */
  .top_about.flex {
    gap: 3rem;
  }

/* 
  .top_about .about_text p {
    text-align: center;
  } */


  .top_about .about_text h4 {
    text-align: center;
  }

}


@media screen and (max-width: 880px) {
  .top_about.flex {
    flex-direction: column-reverse;
  }

  .top_about .about_text,
  .top_about .about_img {
    width: 100%;
  }

  .top_about .about_text p {
    letter-spacing: .05rem;
    /* font-weight: ; */
  }

  .text_box_top {
    padding: 0 2rem;
  }


  .about_text h2.none {
    display: none;
  }

  .sp_about {
    display: block;
    margin-bottom: 0;
  }

  .about_content p {
    letter-spacing: .05rem;
  }


}


@media screen and (max-width: 700px) {

  html {
    font-size: 14px;
  }


  .wrapper {
    padding: 0 1rem;
  }

  header {
    padding: 1.5rem 1rem 0;
  }

  header>.flex>a {
    display: none;
  }

  header>.flex>h1 {
    max-width: 90%;
    text-align: left;
  }

  header>.flex>h1 img {
    width: 200px;
    padding-bottom: 1rem;
  }






  /* works-------ギャラリー */
  .gallery section {
    width: 100%;
  }



  /* イラスト集 */
  .works_wrapper .live3 img {
    width: 100%;
  
  }



  /* about-top------- */
  .top_about.flex {
    gap: 1rem;
  }






  /* about skill */

  .skill .bar {
    height: 6px;
  }

  .skill .flex {
    gap: 1.5rem;
  }

  .skill .flex li {
    width: calc((100% - 1.5rem) / 2);
  }


  /* about hobby */

  .hobby_img.flex {
    gap: 1.5rem;
  }


}