@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  img {
    width: 100%;
    vertical-align: bottom;
  }
  @media screen and (min-width:767px){
    .work2-image {
      width: fit-content;
      max-height: 60vh;
      margin-left: 33%;
    }
  }
  html {
    font-size: 62.5%;
  }
  body {
    width: 100%;
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Yu Gothic",
      游ゴシック, YuGothic, 游ゴシック体, Meiryo, メイリオ, sans-serif;
    font-size: 1.6rem;
}
.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: 100%;
  height: 15vh;
  position: relative;
}
.header-inner{
  display: flex;
  justify-content: space-between;
}
.logo-name{
  width: 20%;
  position: absolute;
  top: 0;
  left: 13px;
  z-index: 2;
  background: #ffffffaa;
  padding: 0 5px 15px 0;
  border-radius: 5px;
}
@media screen and (min-width:767px){
  .logo-name{
    width: 8%;
    margin: 20px 0px 0px 30px;
    position: static;
  }
header{
  width: 100%;
  height: 13vh;
  position: fixed;
  top: 0;
  left: 0;
  background: #fffffff2;
  z-index: 10;
}
}
/* -----------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: 100%;
  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: 100%;
  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){
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-left: 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{
  width: 100%;
  display: flex;
  height: fit-content;
  align-items: center;
  justify-content: space-between;
}
}

/* ------------main------------ */
main{
  overflow-x: hidden;
}
.main-container{
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: fit-content;
  margin: 0 auto;
}
.main-container img{
  margin: 0 auto;
  position: relative;
  top: 0;
  left: 56%;
  transform: translate(-50%);
}

  @media screen and (min-width:767px){
    .main-container{
      margin-top: 110px;
      position: static;
      display: flex;
      flex-direction: column;
    }
    .main-container img{
      margin: 0 auto;
      position: relative;
      top: 0;
      left: 50%;
      transform: translate(-50%);
    }
  }
  /* --------------top-btn------------ */
.top-btn {
  width: 100%;
  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);
  }

  /* ------------scroll-text---------- */
.scroll-text{
  position: absolute;
  top: 9%;
  right: 9.5%;
  width: 10px;
  height: 100px;
  text-align: center;
}
.scroll-text span:nth-child(1){
  text-combine-upright:all;
}
.scroll-text span:nth-child(2){
  text-combine-upright:all;
}
.scroll-text span:nth-child(3){
  text-combine-upright:all;
}
.scroll-text span:nth-child(4){
  text-combine-upright:all;
}
.scroll-text span:nth-child(5){
  text-combine-upright:all;
}
.scroll-text span:nth-child(6){
  text-combine-upright:all;
}
/* -----------scroll-arrow---------------- */
.scroll-arrow {
  position: relative;
  top: 0;
  right: 0;
  display: inline-block;
  width: 1px;
  height: 190px;
  margin-left: 100.9px;
  border-radius: 9999px;
  background-color: #000000;
}

.scroll-arrow::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 2px);
  width: 1px;
  height: 30px;
  border-radius: 9999px;
  background-color: #000000;
  transform: rotate(-35deg);
  transform-origin: 50% calc(100% - 2px);
}
/* ------------scroll-arrow-container-------- */
.scroll-container{
  display: none;
}
@media screen and (min-width:767px){
  .scroll-arrow-container{
    position: absolute;
    top: 10%;
    right: 8%;
  }
  .scroll-text{
    position: absolute;
    top: 50vh;
    right: 9.5%;
    width: 10px;
    height: 100px;
    text-align: center;
  }
  .scroll-arrow-container{
    position: absolute;
    top: 50vh;
    right: 8%;
  }
}


/* ------------top-text-container------------ */
.top-text-container{
  width: fit-content;
  margin-left: 30px;
}
.top-text-container h1{
  font-size: 2rem;
}
.categpry{
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 5px 0;
}
.flex-box{
  display: flex;
  gap: 10px;
}
.categpry p{
  padding: 2px 10px;
  background: #ccc;
  border-radius: 50px;
  font-size: 1.4rem;
}
.categpry a{
  margin-left: 5px;
  text-decoration: none;
  color: #333;
  font-size: 1.3rem;
}
@media screen and (min-width:767px){
  .top-text-container {
    margin-left: 15vw;
  }
.pc-flexbox-top-text-container{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  font-size: 1.4rem;

}
.top-text-container h1{
  font-size: 2.5rem;
}
.categpry{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0;
}
.flex-box{
  display: flex;
  gap: 10px;
}
.categpry p{
  padding: 3px 10px;
  background: #ccc;
  border-radius: 50px;
}

}
/* --------------work2-silder-------------- */
/* .slider{
  width: 90%;
}
.slider img{
  width: 30%;
}
.slider.big{
  width: 60%;
} */

/* ----------------main-text-container---------------- */
.main-text-container{
  padding-bottom: 20vh;
  width: 80vw;
  height: fit-content;
  margin: 0 10%;
}
.detail-image{
  width: 70vw;
  height: fit-content;
  margin: 80px 0 90px;
}
@media screen and (min-width:767px){
  .main-text-container{
    padding-bottom: 40vh;
  }
  .detail-image{
    width: 40vw;
    margin: 70px auto 0;
  }
}
/* -------------detail-container--------------- */
.detail-container{
  display: flex;
  flex-direction: column;
  background: #ccc;
  padding: 30px;
  border-radius: 50px;
  margin-top: 50px;
  align-items: center;
}
.detail-box{
  width: 85%;
  margin-bottom: 10vh;
}
.detail-box h3{
  text-align: center;
  margin-bottom: 10px;
  border-bottom: 1px dotted #000;
}
.period-flex-item{
  display: flex;
  justify-content: space-between;
}
.period-flex-item p{
  width: 100px;
}
.text-center{
  text-align: center;
}

@media screen and (min-width:767px){
  .detail-container{
    margin: 200px auto 0;
    width: 700px;
    padding: 40px 55px;
  }
  .period-flex-item{
    justify-content: space-evenly;
  }
  .detail-box{
    width: 30vw;
    margin: 0 40px 15vh;
    text-align: left;
    display: flex;
    flex-direction: column;

  }
  .detail-box h3{
    margin-bottom: 30px;
    margin: 20px auto;
    padding: 0 50px;
  }
  .detail-box p{
    margin: 0 auto;
  }
  .detail-box .period-flex-item{
    width: 100%;
    transform: translatex(30px);
  }
}

/* ---------------back to ボタン---------------- */
.button-container{
  width: 100%;
  height: 40vh;
  position: relative;
}
.button{
  width: fit-content;
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.btn-flexbox{
  width: fit-content;
  display: flex;
  gap: 10px;
}
.btn-flexbox a{
  display: block;
  width: 140px;
}

.back-btn-border-box {
  border: 2px solid #000;
  border-radius: 0;
  background: #fff;
  padding: 10px 30px;
  list-style: none;
  text-decoration: none;
  font-size: 2rem;
  color: #000;
  font-weight: bold;
  text-align: center;
}

.back-btn-border-box:hover {
  color: #fff;
  background: #000;
}
@media screen and (min-width:767px){
  .button{
    left: 47%;
  }
  .btn-flexbox{
    gap: 30%;
  }
}

/* --------thanks-box-------- */
.thanks-box{
  position: relative;
  bottom: 0;
  left: 25vw;
}
.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: 40vw;
    left: 60vw;
  }

  .boston{
    width: 8vw;
  }
  .thanks-flexbox{
    width: 30vw;
    margin: 0 auto;
  }
  .thanks-box p{
    font-size: 24px;
  }
}

/* ---------------footer------------------ */
footer{
  width: 100%;
  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: 100%;
    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: 6rem;
  }
  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;
  }
 }