@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Sawarabi+Mincho&display=swap");
body {
  color: #666;
}

body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body a {
  color: initial;
}

.s_hero {
  background: url(../img/hero.jpg) no-repeat center/contain;
  margin: 0 auto;
  max-width: 144rem;
  padding-top: 66.5vw;
  position: relative;
}

.s_hero_text {
  -webkit-transform: translate(-50%, -50%);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  left: 50%;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
}

.s_hero_text_h1 {
  font-size: 5rem;
  letter-spacing: 0.5rem;
  margin: 0;
}

.s_hero_text_h2 {
  font-size: 4rem;
  font-weight: 400;
  letter-spacing: 0.1rem;
  margin: 0;
}

.nav {
  margin: 0 auto;
  max-width: 144rem;
  position: relative;
}

.nav ul {
  border-bottom: 1px solid #1d809f;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 4rem;
  text-transform: capitalize;
}

.nav ul li {
  letter-spacing: 0.2rem;
  padding: 2rem;
}

.s_profile {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 144rem;
  position: relative;
}

.s_profile_svg {
  position: absolute;
  width: 30%;
}

.s_profile_svg.anime {
  -webkit-transition: all 800ms ease;
  -webkit-transform: translate(-20rem, 0);
  opacity: 0;
  transform: translate(-20rem, 0);
  transition: all 800ms ease;
}

.s_profile_svg.animated {
  -webkit-transform: translate(0, 0);
  opacity: 1;
  transform: translate(0, 0);
}

.s_profile_svg:first-child {
  right: 0;
  top: 8rem;
}

.s_profile_svg:last-child {
  bottom: 8rem;
  left: 0;
}

.s_profile_desc {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  font-family: "Montserrat", sans-serif;
  padding: 10rem 4rem;
  text-transform: capitalize;
}

.s_profile_desc.anime {
  -webkit-transition: all 1000ms ease;
  -webkit-transform: translate(0, 20rem);
  opacity: 0;
  transform: translate(0, 20rem);
  transition: all 1000ms ease;
}

.s_profile_desc.animated {
  -webkit-transform: translate(0, 0);
  opacity: 1;
  transform: translate(0, 0);
}

.s_profile_desc_h2 {
  font-size: 3rem;
  letter-spacing: 0.4rem;
}

.s_profile_desc_h3 {
  font-size: 2.5rem;
  letter-spacing: 0.2rem;
}

.s_profile_desc_img-wrap img {
  border-radius: 50%;
}

.s_profile_desc_list {
  font-family: "Sawarabi Mincho", sans-serif;
}

.s_profile_desc_list-item {
  margin: 1.6rem 0;
}

.s_profile_link {
  text-align: center;
}

.s_profile_link button {
  -webkit-transition: 0.4s;
  background: rgba(29, 128, 159, 0.5);
  border-radius: 2.5rem;
  color: #fff;
  display: inline-block;
  padding: 0.7rem 2rem;
  text-decoration: none;
  transition: 0.4s;
}

.s_profile_link button:hover {
  background: #fff;
  color: #1d809f;
}

.s_works {
  background: rgba(29, 128, 159, 0.05);
  font-family: "Montserrat", sans-serif;
  text-transform: capitalize;
}

.s_works_h2 {
  font-size: 3rem;
  letter-spacing: 0.4rem;
}

.s_works_h3 {
  font-size: 2.5rem;
  letter-spacing: 0.2rem;
}

.s_works_h2 {
  text-align: center;
}

.s_works .wrap {
  -ms-flex-wrap: wrap;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}

.s_works .inner {
  margin: 0 auto;
  max-width: 144rem;
  position: relative;
}

.s_works_article {
  margin: 20px;
  position: relative;
  width: calc(50% - 4rem);
}

.s_works_article_text {
  -webkit-transform: translate(-50%, -50%);
  color: #fff;
  font-family: "Sawarabi Mincho", sans-serif;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.s_works_article_text_h2 {
  font-size: 1.8rem;
  word-break: keep-all;
}

.s_works_article_text_caption {
  font-size: 1.6rem;
}

.s_works_article_img-wrap::before {
  -webkit-transition: all 300ms ease;
  background: rgba(102, 102, 102, 0.3);
  bottom: 0;
  content: "";
  display: block;
  position: absolute;
  top: 0;
  transition: all 300ms ease;
  width: 100%;
}

.s_works_article a:hover .s_works_article_img-wrap::before {
  background: rgba(102, 102, 102, 0.7);
}

.footer {
  background: #1d809f;
  color: #fff;
  padding: 1rem 2rem;
  position: relative;
  text-align: center;
}

.footer a {
  position: absolute;
  right: 4rem;
}

.spinner-wrap {
  -webkit-transition: all 1000ms 0ms ease;
  background-color: #fff;
  height: 100vh;
  position: fixed;
  top: 0;
  transition: all 1000ms 0ms ease;
  width: 100vw;
  z-index: 200;
}

.spinner-wrap.loaded {
  opacity: 0;
  z-index: -100;
}

.spinner-wrap .scaling-squares-spinner {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-animation: scaling-squares-animation 1250ms;
  -webkit-animation-iteration-count: infinite;
  -webkit-transform: rotate(0deg);
  align-items: center;
  animation: scaling-squares-animation 1250ms;
  animation-iteration-count: infinite;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: row;
  height: 100vh;
  justify-content: center;
  transform: rotate(0deg);
  width: 100vw;
}

.spinner-wrap .scaling-squares-spinner .square {
  -webkit-animation-duration: 1250ms;
  -webkit-animation-iteration-count: infinite;
  animation-duration: 1250ms;
  animation-iteration-count: infinite;
  border: calc(65px * 0.04 / 1.3) solid #1d809f;
  height: calc(65px * 0.25 / 1.3);
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  width: calc(65px * 0.25 / 1.3);
}

.spinner-wrap .scaling-squares-spinner .square:nth-child(1) {
  -webkit-animation-name: scaling-squares-spinner-animation-child-1;
  animation-name: scaling-squares-spinner-animation-child-1;
}

.spinner-wrap .scaling-squares-spinner .square:nth-child(2) {
  -webkit-animation-name: scaling-squares-spinner-animation-child-2;
  animation-name: scaling-squares-spinner-animation-child-2;
}

.spinner-wrap .scaling-squares-spinner .square:nth-child(3) {
  -webkit-animation-name: scaling-squares-spinner-animation-child-3;
  animation-name: scaling-squares-spinner-animation-child-3;
}

.spinner-wrap .scaling-squares-spinner .square:nth-child(4) {
  -webkit-animation-name: scaling-squares-spinner-animation-child-4;
  animation-name: scaling-squares-spinner-animation-child-4;
}

@-webkit-keyframes scaling-squares-animation {
  50% {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  100% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
}

@keyframes scaling-squares-animation {
  50% {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  100% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
}

@-webkit-keyframes scaling-squares-spinner-animation-child-1 {
  50% {
    -webkit-transform: translate(150%, 150%) scale(2, 2);
    transform: translate(150%, 150%) scale(2, 2);
  }
}

@keyframes scaling-squares-spinner-animation-child-1 {
  50% {
    -webkit-transform: translate(150%, 150%) scale(2, 2);
    transform: translate(150%, 150%) scale(2, 2);
  }
}

@-webkit-keyframes scaling-squares-spinner-animation-child-2 {
  50% {
    -webkit-transform: translate(-150%, 150%) scale(2, 2);
    transform: translate(-150%, 150%) scale(2, 2);
  }
}

@keyframes scaling-squares-spinner-animation-child-2 {
  50% {
    -webkit-transform: translate(-150%, 150%) scale(2, 2);
    transform: translate(-150%, 150%) scale(2, 2);
  }
}

@-webkit-keyframes scaling-squares-spinner-animation-child-3 {
  50% {
    -webkit-transform: translate(-150%, -150%) scale(2, 2);
    transform: translate(-150%, -150%) scale(2, 2);
  }
}

@keyframes scaling-squares-spinner-animation-child-3 {
  50% {
    -webkit-transform: translate(-150%, -150%) scale(2, 2);
    transform: translate(-150%, -150%) scale(2, 2);
  }
}

@-webkit-keyframes scaling-squares-spinner-animation-child-4 {
  50% {
    -webkit-transform: translate(150%, -150%) scale(2, 2);
    transform: translate(150%, -150%) scale(2, 2);
  }
}

@keyframes scaling-squares-spinner-animation-child-4 {
  50% {
    -webkit-transform: translate(150%, -150%) scale(2, 2);
    transform: translate(150%, -150%) scale(2, 2);
  }
}

.js-cursor {
  display: none;
}

.work-page {
  font-family: "Sawarabi Mincho", sans-serif;
}

.work-page .work {
  margin: 0px auto;
  max-width: 960px;
}

.work-page .swiper-container {
  margin: 4rem auto;
  overflow: hidden;
}

.work-page h3 {
  font-size: 2rem;
  letter-spacing: 0.2rem;
}

.work-page h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.2rem;
}

.work-page p {
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  margin: 2rem 0;
}

.work-page .link {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
}

.work-page .githab {
  font-size: 1.4rem;
  letter-spacing: 0.2rem;
}

.work-page .githab img {
  max-width: 3.5rem;
}

.profile-page {
  font-family: "Sawarabi Mincho", sans-serif;
}

.profile-page .s_about {
  font-family: "Montserrat", sans-serif;
  margin: 4rem auto;
  max-width: 960px;
  text-transform: capitalize;
}

.profile-page .s_about_h2 {
  font-size: 3rem;
  letter-spacing: 0.4rem;
}

.profile-page .s_about_h3 {
  font-size: 2.5rem;
  letter-spacing: 0.2rem;
}

.profile-page .s_about_container {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.profile-page .s_about_container_fig {
  width: 35%;
}

.profile-page .s_about_container_fig.anime {
  -webkit-transition: all 500ms ease;
  -webkit-transform: translate(0, -200px);
  opacity: 0;
  transform: translate(0, -200px);
  transition: all 500ms ease;
}

.profile-page .s_about_container_fig.animated {
  -webkit-transform: translate(0, 0);
  opacity: 1;
  transform: translate(0, 0);
}

.profile-page .s_about_container_fig img {
  border-radius: 50%;
  margin-bottom: 2rem;
}

.profile-page .s_about_container_fig_caption {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 1.6rem;
  justify-content: center;
  letter-spacing: 0.2rem;
}

.profile-page .s_about_container_fig_caption li {
  padding: 1.6rem 0 0;
}

.profile-page .s_about_container_article.anime {
  -webkit-transition: all 500ms ease;
  -webkit-transform: translate(5rem, 10rem);
  opacity: 0;
  transform: translate(5rem, 10rem);
  transition: all 500ms ease;
}

.profile-page .s_about_container_article.animated {
  -webkit-transform: translate(0, 0);
  opacity: 1;
  transform: translate(0, 0);
}

.profile-page .s_about_container_article-wrap {
  margin: 0 0 0 5%;
  width: 60%;
}

.profile-page .s_about_container_article_title {
  border-bottom: 1px solid #1d809f;
  font-size: 2rem;
  margin: 3rem 0;
}

.profile-page .s_skill {
  font-family: "Montserrat", sans-serif;
  margin: 4rem auto;
  max-width: 960px;
  text-transform: capitalize;
}

.profile-page .s_skill_h2 {
  font-size: 3rem;
  letter-spacing: 0.4rem;
}

.profile-page .s_skill_h3 {
  font-size: 2.5rem;
  letter-spacing: 0.2rem;
}

.profile-page .s_skill_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 4rem 8rem;
}

.profile-page .s_skill_container_item {
  margin: 0 20px;
  width: calc(100% / 3 - 4rem);
}

.profile-page .s_skill_container_item_title {
  font-size: 2rem;
}

.profile-page .s_skill_container_item li {
  margin: 1rem 0 1.6rem 1rem;
}

.profile-page .s_skill::after {
  content: "*は現在学習中";
  display: block;
  text-align: right;
}

@media screen and (min-width: 1025px) {
  body .tab {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  body .tab {
    display: block;
  }
  .s_hero_text_h1 {
    font-size: 4rem;
  }
  .s_hero_text_h2 {
    font-size: 3rem;
  }
  .nav ul {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
  }
  .s_works .wrap {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .s_works_article {
    margin: 2rem 0;
    width: 100%;
  }
  .s_works_article:first-child {
    margin-top: 0;
  }
  .s_works_article:last-child {
    margin-bottom: 0;
  }
}

@media screen and (min-width: 768px) {
  body .tab .sp {
    display: none;
  }
  .s_works_article:nth-child(odd).anime {
    -webkit-transition: all 800ms ease;
    -webkit-transform: translate(0, 20rem);
    opacity: 0;
    transform: translate(0, 20rem);
    transition: all 800ms ease;
  }
  .s_works_article:nth-child(odd).animated {
    -webkit-transform: translate(0, 0);
    opacity: 1;
    transform: translate(0, 0);
  }
  .s_works_article:nth-child(even).anime {
    -webkit-transition: all 1600ms ease;
    -webkit-transform: translate(0, 20rem);
    opacity: 0;
    transform: translate(0, 20rem);
    transition: all 1600ms ease;
  }
  .s_works_article:nth-child(even).animated {
    -webkit-transform: translate(0, 0);
    opacity: 1;
    transform: translate(0, 0);
  }
  .s_works_article_text_caption .sp {
    display: none;
  }
  .profile-page .s_skill_container_item:first-child.anime {
    -webkit-transition: all 600ms ease;
    -webkit-transform: translate(0px, 20rem);
    opacity: 0;
    transform: translate(0px, 20rem);
    transition: all 600ms ease;
  }
  .profile-page .s_skill_container_item:first-child.animated {
    -webkit-transform: translate(0, 0);
    opacity: 1;
    transform: translate(0, 0);
  }
  .profile-page .s_skill_container_item:nth-child(2).anime {
    -webkit-transition: all 1200ms ease;
    -webkit-transform: translate(0px, 20rem);
    opacity: 0;
    transform: translate(0px, 20rem);
    transition: all 1200ms ease;
  }
  .profile-page .s_skill_container_item:nth-child(2).animated {
    -webkit-transform: translate(0, 0);
    opacity: 1;
    transform: translate(0, 0);
  }
  .profile-page .s_skill_container_item:last-child.anime {
    -webkit-transition: all 1500ms ease;
    -webkit-transform: translate(0px, 20rem);
    opacity: 0;
    transform: translate(0px, 20rem);
    transition: all 1500ms ease;
  }
  .profile-page .s_skill_container_item:last-child.animated {
    -webkit-transform: translate(0, 0);
    opacity: 1;
    transform: translate(0, 0);
  }
}

@media screen and (max-width: 767px) {
  body .tab .sp {
    display: block;
  }
  .s_hero_text_h1 {
    font-size: 2rem;
  }
  .s_hero_text_h2 {
    font-size: 1.4rem;
  }
  .s_hero + .nav {
    display: none;
  }
  .nav ul li {
    letter-spacing: 0.1rem;
    padding: 1rem;
  }
  .s_profile {
    padding: 4rem 2rem;
  }
  .s_profile_svg:first-child {
    top: 2.5rem;
  }
  .s_profile_svg:last-child {
    bottom: 2.5rem;
  }
  .s_profile_desc_h2 {
    font-size: 2rem;
    letter-spacing: 0.2rem;
  }
  .s_profile_desc_h3 {
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
  }
  .s_profile_desc {
    padding: 0rem 0rem;
  }
  .s_works {
    padding: 4rem 2rem;
  }
  .s_works_h2 {
    font-size: 2rem;
    letter-spacing: 0.2rem;
  }
  .s_works_h3 {
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
  }
  .s_works_article.anime {
    -webkit-transition: all 1000ms ease;
    -webkit-transform: translate(0, 20rem);
    opacity: 0;
    transform: translate(0, 20rem);
    transition: all 1000ms ease;
  }
  .s_works_article.animated {
    -webkit-transform: translate(0, 0);
    opacity: 1;
    transform: translate(0, 0);
  }
  .s_works_article_text_caption {
    font-size: 1.4rem;
  }
  .s_works_article_text_caption .sp {
    display: block;
  }
  .work-page {
    padding: 4rem 2rem;
  }
  .work-page {
    padding: 2rem;
  }
  .work-page .swiper-container {
    margin: 1.5rem 0;
  }
  .work-page h3 {
    font-size: 1.2rem;
    letter-spacing: 0;
  }
  .work-page h4 {
    font-size: 1rem;
  }
  .work-page p {
    font-size: 1rem;
  }
  .profile-page {
    padding: 4rem 2rem;
  }
  .profile-page {
    padding: 2rem;
  }
  .profile-page .s_about_h2 {
    font-size: 2rem;
    letter-spacing: 0.2rem;
  }
  .profile-page .s_about_h3 {
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
  }
  .profile-page .s_about {
    margin: 1rem auto;
  }
  .profile-page .s_about_container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .profile-page .s_about_container_fig {
    width: 100%;
  }
  .profile-page .s_about_container_fig .img-wrap {
    text-align: center;
  }
  .profile-page .s_about_container_fig img {
    margin-bottom: 1rem;
  }
  .profile-page .s_about_container_fig_caption {
    font-size: 1.4rem;
  }
  .profile-page .s_about_container_fig_caption li {
    padding: 1rem 0 0;
  }
  .profile-page .s_about_container_article-wrap {
    margin: 0;
    width: 100%;
  }
  .profile-page .s_about_container_article_title {
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin: 3rem 0 1rem;
  }
  .profile-page .s_skill_h2 {
    font-size: 2rem;
    letter-spacing: 0.2rem;
  }
  .profile-page .s_skill_h3 {
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
  }
  .profile-page .s_skill {
    margin: 4rem auto 2rem;
  }
  .profile-page .s_skill_container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0;
  }
  .profile-page .s_skill_container_item {
    margin: 2rem 0 0rem;
    width: 100%;
  }
  .profile-page .s_skill_container_item.anime {
    -webkit-transition: all 500ms ease;
    -webkit-transform: translate(5rem, 10rem);
    opacity: 0;
    transform: translate(5rem, 10rem);
    transition: all 500ms ease;
  }
  .profile-page .s_skill_container_item.animated {
    -webkit-transform: translate(0, 0);
    opacity: 1;
    transform: translate(0, 0);
  }
}

@media screen and (min-width: 1024px) {
  .s_profile {
    padding: 2rem 0;
  }
  .s_works {
    padding: 2rem 0;
  }
  .work-page {
    padding: 2rem 0;
  }
  .profile-page {
    padding: 2rem 0;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .s_profile {
    padding: 2rem 1.5rem;
  }
  .s_works {
    padding: 2rem 1.5rem;
  }
  .work-page {
    padding: 2rem 1.5rem;
  }
  .work-page .swiper-container {
    margin: 2rem auto;
  }
  .profile-page {
    padding: 2rem 1.5rem;
  }
  .profile-page .s_about_container_fig_caption {
    font-size: 1.2rem;
  }
  .profile-page .s_skill_container {
    padding: 2rem 1rem;
  }
}

@media screen and (min-width: 960px) {
  .js-cursor {
    display: block;
  }
  .js-cursor__main {
    -webkit-transition: opacity 0.2s;
    background: #000;
    border-radius: 50%;
    height: 0.1rem;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transition: opacity 0.2s;
    width: 0.1rem;
    z-index: 1001;
  }
  .is-moved .js-cursor__main {
    opacity: 1;
  }
  .is-outside .js-cursor__main {
    opacity: 0;
  }
  .js-cursor__option {
    -webkit-transition: opacity 0.2s 0.2s, background 0.2s;
    background: #ddd;
    border-radius: 50%;
    height: 4rem;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transition: opacity 0.2s 0.2s, background 0.2s;
    width: 4rem;
    z-index: 1000;
  }
  .is-moved .js-cursor__option {
    opacity: 0.5;
  }
  .is-outside .js-cursor__option {
    opacity: 0;
  }
  .is-hover .js-cursor__option {
    background: #00ffff;
  }
}
