@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  img {
    width: 100%;
    vertical-align: bottom;
  }
  html {
    font-size: 62.5%;
  }
  body {
    width: 100vw;
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Yu Gothic",
      游ゴシック, YuGothic, 游ゴシック体, Meiryo, メイリオ, sans-serif;
    font-size: 1.6rem;
    overflow-x: hidden;

}
.michroma-regular {
  font-family: "Michroma", serif;
  font-weight: 400;
  font-style: normal;
}
.yuji-boku-regular {
  font-family: "Yuji Boku", serif;
  font-weight: 400;
  font-style: normal;
}

/* ---------header---------------- */
header{
  width: 100vw;
  height: 20vh;
  position: relative;
}
.header-inner{
  display: flex;
  justify-content: space-between;
}
.logo-name{
  width: 20%;
  position: fixed;
  top: 0;
  left: 13px;
  z-index: 2;
  background: #ffffffaa;
  padding: 0 5px 15px 0;
  border-radius: 5px;
}
/* -----------nav----------- */
.pc-nav, .sp-nav{
  position: fixed;
  top: 24px;
  width: 100%;
  z-index: 10;
}
ul {
  /*最初はナビゲーションボタンは非表示*/
  display: none;
  list-style:none;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
li a{
  width: 100vw;
  padding: 10px;
  font-size: 16px;
  color: #ffffff;
  text-align: right;
  text-decoration: none;
  position: absolute;
  font-size: 30px;
  width: 90vw;
  height: 70px;
}
.menu1{
  bottom: 170px;
  right: 20px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.menu2{
  bottom: 100px;
  right: 20px;
}
.menu3{
  bottom: 30px;
  right: 20px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.nav-box{
  position: absolute;
  top: 50vh;
  left: 50vw;
}
#header-menu{
  width: 100vw;
  height: 100vh;
  background: #2f2c2cf6;
  position: fixed;
  z-index: 10;
}
.hamburger {
  position: fixed;
  top: 20px;
  right: 13px;
  cursor: pointer;
  width: 32px;
  height: 24px;
  z-index: 10;
  padding: 3px;
}
.hamburger span {
  /*3本の線を作る*/
  transition: all .3s;
  position: absolute;
  height: 2px;
  background-color: #333;
  width:100%;
  z-index: 10;
}
.hamburger span:nth-of-type(1) {
  /*上の線の位置*/
  top: 4px;
}
.hamburger span:nth-of-type(2) {
  /*真ん中の線の位置*/
  top: 12px;
}
.hamburger span:nth-of-type(3) {
  /*下の線の位置*/
  top: 20px;
}
.hamburger.active span:nth-of-type(1) {
  top: 10px;
  transform: translateY(6px) rotate(-33deg);
  background-color:#fff;
}
.hamburger.active span:nth-of-type(2) {
  opacity: 0;
}
.hamburger.active span:nth-of-type(3) {
  top: 22px;
  transform: translateY(-6px) rotate(33deg);
  background-color:#fff;
}
#menu-btn{
  display: none; /*チェックボックス非表示*/
}

@media screen and (min-width:767px){
  .logo-name{
    width: 8%;
    margin: 20px 0px 0px 30px;
    position: static;
  }
header{
  width: 100vw;
  height: 13vh;
  position: fixed;
  top: 0;
  left: 0;
  background: #fffffff2;
  z-index: 10;
}
nav{
  display: flex;
}
#header-menu2{
  width: fit-content;
}
#header-menu, .hamburger, .sp-nav{
  display: none;
}
.pc-nav {
    width: fit-content;
    position: static;
}
.pc-nav ul{
  list-style:none;
  display: flex;
  list-style:none;
  position: static;
  transform: none;
  }
#header-menu2 li{
  display: flex;
  padding-right: 30px;
  align-items: center;

}
#header-menu2 .menu1,#header-menu2 .menu2,#header-menu2 .menu3{
  border: none;
  display: block;
  width: fit-content;
  padding: 10px;
  font-size: 16px;
  color: #000;
  font-weight: bold;
  font-size: 20px;
  position: static;
  text-align: center;
  height: fit-content;
}
.flexbox{
  display: flex;
  width: 100vw;
  height: fit-content;
  align-items: center;
  justify-content: space-between;
}
}

/* ------------main------------ */
main{
  position: relative;
  top: 0;
  left: 0;
}
.aboutme-container, .biography-container, .skills-container, .strength-container{
  margin-bottom: 30vh;
}
main h2{
  display: block;
  width: fit-content;
  font-size: 4.2rem;
  margin: 0 auto;
}
.main-container{
  margin: 0 50px;
}
  /* フェードイン(初期値) */
  .js-fadeUp {
    opacity: 0; /* 最初は非表示 */
    transform: translateY(30px); /* 下に30pxの位置から */
    transition: opacity .8s, transform .8s; /* 透過率と縦方向の移動を0.8秒 */
  }
  /* フェードイン(スクロールした後) */
  .js-fadeUp.is-inview {
    opacity: 1; /* 表示領域に入ったら表示 */
    transform: translateY(0); /* 30px上に移動する */
    transition-delay: .2s; /* フェード開始を0.5秒遅らせる */
  }

@media screen and (min-width:767px){
  .main-container{
    position: relative;
  }
}


/* --------------top-btn------------ */
.top-btn {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 80vh;
  left: 0;
  z-index: 1;
  }
  .circle_container {
  position: absolute;
  left: 0;
  top: 0;
  }
  .text_circle {
  width: 150px;/*文字サークルの大きさ*/
  animation: rotateIt 10s linear infinite;/*文字サークルの回転の速さ*/
  }
  @keyframes rotateIt {
  to {
  transform: rotate(-360deg);
  }
  }
  .text_circle text {
  font-size: 2.4rem;
  text-transform: uppercase;/*すべての文字を大文字に*/
  fill: #000;/*文字の色*/
  }
  .text_circle textPath {
  letter-spacing: 17px;/*文字の余白*/
  }
  .icon_img {
  position: absolute;
  width: 60px;
  height: 60px;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  }


/* ---------------contents-box-------------- */
.contents-box{
  width: 100vw;
  position: relative;
  top: 0;
  left: 0;
  padding-bottom: 20vh;
}
@media screen and (min-width:767px){
  .contents-box{
    width: 50vw;
    position: static;
    margin: 10vh auto 0;
    padding-bottom: 0vh;
  }
}
/* ----------------title--------------- */

.title{
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 0 0 20vh;
  font-size: 7.6rem;
  animation: fadein1 3s 1 forwards;
}
@keyframes fadein1{
  0%{
    transform: translateY(10vh);
    opacity: 0;
  }
  100%{
    transform: translateY(0vh);
    opacity: 1;
  }
}
/* -------------about-me----------------- */
.aboutme-container h2{
  margin-left: 0;
}
.top-name{
  display: block;
  width: fit-content;
  font-size: 4.2rem;
}
.kanji{
  display: block;
  width: fit-content;
  font-size: 2rem;
}
.aboutme-container dt{
  display: flex;
  flex-direction: column;
}
.under-line, .under-line2{
  border-top: 1px solid #000;
  margin: 20px 0;
}
.aboutme-container dd img{
  margin: 10vh auto;
  border-radius: 50px;
}
.aboutme-container dd{
  text-align: justify;
}

@media screen and (min-width:767px){
  .pc-flexbox-aboutme{
    display: flex;
  }
  .aboutme-container dd{
    width: fit-content;
    padding: 10px;
    margin: auto;
    line-height: 2;
    font-size: 1.5rem;
  }
  .aboutme-container dd img{
    width: 20vw;
    padding: 0px;
    margin: 0;
  }
}
/* -------------biography------------ */
.biography-container{
  position: relative;
}
.biography-container:before {
  position: absolute;
  top: 29vh;
  left: 6.8vw;
  display: block;
  content: "";
  background: #ccc;
  width: 1px;
  height: 90%;
  z-index: -1;
} 
.biography-container .biography-list {
  display: flex;
  align-items: flex-start;
}
.biography-list dt {
  position: relative;
  top: 10vh;
  right: 20px;
  color: #9f9f9f;
  line-height: 1;
  box-sizing: border-box;
  word-break: break-all;
  text-align: right;
  width: 10vw;
  font-size: 1.3rem;
}
.biography-list dt:before {
  position: absolute;
  display: block;
  content: "";
  top: 35%;
  right: -30%;
  width: 7px;
  height: 7px;
  background: #9f9f9f;
  border-radius: 50%;
  transform: translateY(-50%);
  text-align: justify;
}
.biography-list dd {
  line-height: 1.5;
  flex: 1;
  padding: 9.5vh 0 9.5vh 3vw;
}
.biography-list span{
  display: block;
  font-size: 1.8rem;
  align-items: center;
  padding-bottom: 10px;
  font-weight: bold;
}
 
@media only screen and (min-width: 769px) {
  .biography-container:before {
    top: 50px;
    left: 106px;
  }
  .biography-container .biography-list {
    padding-bottom: 40px;
  }
  .biography-container dt {
    width: 100px;
    padding-right: 15px;
    font-size: 26px;
  }
  .biography-container dd {
    margin-left: 50px;
    font-size: 16px;
  }
}
/* ------------skill-------------*/
.skill-box{
  width: 70vw;
  height: 40vh;
  margin: 0 auto;
  display: block;
  display: flex;
  flex-direction: column;
  text-align: justify;
}
.skill-box p{
  display: block;
  width: 70vw;
}
.skill-box h3{
  font-size: 2.5rem;
  display: block;
  width: fit-content;
  padding-top: 20vh;
  padding-bottom: 2vh;
}
.flex-box1 ul{
  display: flex;
  font-size: 1.5rem;
  list-style: none; 
  margin: 10px 0;
}
.flex-box1 li{
  display: block;
  padding: 10px;
  border: solid 1px #adadad;
  border-radius: 30px;
  background: #dcdcdc;
  margin: 0 3px;
}
.flex-box1 p{
  display: block;
  padding: 0 auto;
}
@media screen and (min-width:767px){
  .pc-flexbox-skills{
    margin-top: 10vh;
  }
  .skill-box{
    display: block;
    width: 530px;
    height: 30vh;
    position: relative;
    top: 0;
    left: 0;
    }
  .skill-box p{
    width: 500px;
  }
  .pc-flexbox-skills:nth-of-type(1){
    font-size: 3rem;
  }
  .skill-box h3{
    padding-top: 0vh;
  }
  .flex-box1 ul{
    top: 20px;
    left: 50%;
  }
}

/* -----------strength-container------------- */
.strength-box {
  position: relative;
  margin: 2em 0;
  padding: 25px 10px 7px;
  border: solid 2px #4f4f4f;
}
.strength-box .strength-box-title {
  position: absolute;
  display: inline-block;
  top: -2px;
  left: -2px;
  padding: 0 9px;
  height: 25px;
  line-height: 25px;
  font-size: 17px;
  background: #4f4f4f;
  color: #ffffff;
  font-weight: bold;
}
.strength-box p {
  margin: 0; 
  padding: 0;
}
@media screen and (min-width:767px){
  .pc-flexbox-strength{
    width: 30vw;
    margin: 0 auto;
  }
  .strength-box{
    margin: 10vh auto;
  }
  .strength-container{
    margin-bottom: 40vh;
  }
  }



/* --------thanks-box-------- */
.thanks-box{
  position: absolute;
  bottom: 0;
  right: 0;
}
.thanks-flexbox{
  display: flex;
  justify-content: space-between;
  width: 70vw;
  margin-right: 20px;
}
.boston{
  width: 25%;
}
.boston, .thanks-box p{
  font-size: 1.6rem;
  line-height: 90px;
  animation: fuwafuwa 2s infinite;
}

@keyframes fuwafuwa {
 0% {
   transform: translateY(0px);
 }
 50% {
   transform: translateY(-30px);
 }
 100% {
   transform: translateY(0px);
 }
}

@media screen and (min-width:767px){
  .thanks-box{
    width: 35vw;
    transform: translateY(50vh);
    margin: 0 50px;
  }
  .boston{
    width: 8vw;
  }
  .thanks-box{
  bottom: 10vh;
  }
  .thanks-flexbox{
    width: 30vw;
    margin: 0 auto;
  }
  .thanks-box p{
    font-size: 18px;
  }
  
}
/* ---------------footer------------------ */
footer{
  width: 100vw;
  height: 40vh;
  background: #838383;
  position: relative;
  bottom: 0;
  left: 0;
  z-index: 1;
}
footer h3{
  position: absolute;
  top: 20px;
  left: 25px;
}
footer h3 a{
  position: absolute;
  top: 10px;
  left: -5px;
}

.btn,
a.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btn-border-shadow {
  padding: calc(1.5rem - 12px) 3rem 1.5rem;

  background: #fff;
}

a.btn-border-shadow:before {
  position: absolute;
  top: -6px;
  left: -6px;

  width: 100%;
  height: 100%;

  content: "";
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;

  border: 3px solid #000;
  border-radius: 0.5rem;
}

a.btn-border-shadow:hover {
  padding: calc(1.5rem - 6px) 3rem;
}

a.btn-border-shadow:hover:before {
  top: 0;
  left: 0;
}

a.btn-border-shadow--color2 {
  border-radius: 100vh;
}

a.btn-border-shadow--color2:before {
  border-radius: 100vh;
  -webkit-box-shadow: 3px 3px 0 #78e5e5;
  box-shadow: 3px 3px 0 #78e5e5;
}
footer h2,footer h3{
  display: block;
  width: fit-content;
  height: fit-content;
}
.nametop{
  position: absolute;
  bottom:30px;
  left: 20px;
  font-size: 5rem;
}
.namebottom{
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 1.6rem;
}

@media screen and (min-width:767px){
  footer{
    width: 100vw;
    height: 65vh;
    background: #838383;
    position: relative;
    bottom: 0;
    left: 0;
  }
  footer h3{
    position: absolute;
    top: 20px;
    left: 25px;
  }
  footer h3 .contact{
    font-size: 3rem;
  }
  footer h3 a{
    position: absolute;
    top: 10px;
    left: 0px;
  }
  .btn, a.btn {
    font-size: 7rem;
  }
  a.btn-border-shadow:before {
    position: absolute;
    top: -8px;
    left: -8px;
    content: "";
  }
  footer .nametop{
    position: absolute;
    bottom:70px;
    left: 20px;
    font-size: 9rem;
  }
  footer .namebottom{
    position: absolute;
    bottom: 45px;
    left: 25px;
    font-size: 3rem;
  }
 }
