@charset "utf-8";

/* リセットCSS */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  font-family: "FOT-筑紫A丸ゴシック Std M";
}


body {
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

input, textarea, select {
  font: inherit;
}


:root {
  --z-bg: 0;
  --z-service: 10;
  --z-concept: 20;
  --z-amoeba: 30;
  --z-ham: 40;
}







/* header */
.sidebar{
  position: fixed;
  left: 0;
  height: 100%;
  width: 13.2%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: var(--z-amoeba);
  border-right: 1px solid transparent;
  transition: border-right 0.8s ease;
}

.sidebar.show{
  position: fixed;
  right: 0;
  border-right: 1px rgba(39, 31, 31, 0.079) solid;
}


.sidebar-text{
  display: none;
}

.sidebar-icon{
  width: 81%;
  height: auto;
  margin-bottom: auto;
  margin-top: 25px;
}

.sidebar-contact{
  display: none;
}

.sidebar-hidden{
  display: none;
}

.sidebar ul{
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 130px;
  margin-left: 7px;
}

.sidebar ul li{
  line-height: 1.2rem;
  letter-spacing: .08rem;
}

.sidebar ul li:nth-child(2),
.sidebar ul li:nth-child(3){
  margin-bottom: 20px;
}

.sidebar ul li{
  font-size: 1rem;
}

.sidebar-sub{
  font-size: 12px;
}

.sidebar ul li:nth-child(1) .sidebar-sub{
  color: #f4d635;
}

.sidebar ul li:nth-child(2) .sidebar-sub{
  color: #f7995f;
}

.sidebar ul li:nth-child(3) .sidebar-sub{
  color: #87c15b;
}

.sidebar ul li:nth-child(4) .sidebar-sub{
  color: #5bb5dd;
}

.ham-menu{
  position: fixed;
  top: 10px;
  right: 10px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 50px;
  height: 50px;
  border-radius: 9999px;
  background-color: #fff;
  z-index: var(--z-ham);
}

.ham-menu span{
  display: block;
  width: 24px;
  height: 2px;
  background-color: #333;
  transition: 0.5s;
}

.ham-menu.active span:nth-child(1){
  transform: translateY(8px) rotate(135deg);
  background-color: #fff;
}

.ham-menu.active span:nth-child(2){
  opacity: 0;
  background-color: #fff;
}

.ham-menu.active span:nth-child(3){
  transform: translateY(-8px) rotate(-135deg);
  background-color: #fff;
}

.ham-menu.active{
  background-color: #6ec1ff;
  transition: 1s;
}


#scrolltopbtn{
  position: fixed;
  bottom: 50px;
  pointer-events: none;
  transition: opacity 0.3s;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #6ec1ff;
  opacity: 0;
}

#scrolltopbtn p{
  margin-top: 50px;
}

#scrolltopbtn.show {
  opacity: 1;
  pointer-events: auto;
}

.arrow-up{
  position: fixed;
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  width: 1.5px;
  height: 20px;
  background: currentColor;
}

.arrow-up::before{
  content: "";
  width: .65rem;
  height: .65rem;
  border: 1.5px solid currentColor;
  transform: rotate(-45deg);
  border-left: none;
  border-bottom: none;
  transform-origin: top right;
  position: absolute;
  right: 50%;
  top: -.05rem;
  box-sizing: border-box;
}



@media(max-width:768px){
  .sidebar{
    position: fixed;
    left: auto;
    right: 0;
    display: flex;
    flex-direction: column-reverse;
    width: 70%;
    margin: 0;
    background-color: #fff;
    border-top-left-radius: 100px;
    transform: translateX(100%);
    transition: all .5s ease-out;
  }

  .sidebar.active{
    transform: translateX(0);
  }

  .ham-menu::after{
    content: "";
    position: fixed;
    width: 150px;
    height: 150px;
    display: flex;
    background-image: url(img/アセット鳥.svg);
    background-repeat: no-repeat;
    background-position: center;
    right: 20px;
    top: 200px;
    transform: translateX(100%);
    transition: all .5s;
  }

  .ham-menu.active::after{
    transform: translateX(0);
  }

  .sidebar-text{
    display: block;
    font-size: .7rem;
    font-weight: bold;
  }

  .sidebar a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    }

  .sidebar a:nth-child(2){
    align-items: center;
  }


  .sidebar a:nth-child(2):before{
    content: "";
    border-top: 1px #5bb5dd dotted;
    width: 80%;
    margin-bottom: 30px;
  }

  .sidebar-text p:nth-child(2){
    margin-bottom: 10px;
  }

  .sidebar-text p:nth-child(5){
    margin-bottom: 10px;
  }

  .sidebar-icon{
    width: 100%;
    margin-top: 40px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
  }

  .sidebar-icon img{
    width: 40%;
  }

  .sidebar-hidden{
    display: block;
  }

  .sidebar-contact{
    width: 80%;
    border-radius: 9999px;
    text-align: center;
    color: #fff;
    font-size: .75rem;
    padding: 5px 0;
    background-color: #5bb5dd;
    position: relative;
    margin-top: 30px;
  }

  .sidebar-contact::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -20px;
    border-bottom: 2px dotted #fff;
    width: 100%;
    margin-top: 50px;
  }

  .sidebar ul li:nth-child(1),
  .sidebar ul li:nth-child(2),
  .sidebar ul li:nth-child(3),
  .sidebar ul li:nth-child(4){
    margin-bottom: 13px;
  }

  .sidebar ul{
    width: 80%;
    margin-left: 0;
    margin-bottom: 0;
    margin-top: 80px;
  }

  .sidebar ul li{
    font-size: .7rem;
    line-height: 1.3rem;
    letter-spacing: .2rem;
  }

  .sidebar-sub{
    font-size: .6rem;
  }

  .ham-menu{
    display: flex;
  }

  #scrolltopbtn{
    display: none;
  }

}


  /* regulation */

  main{
    position: absolute;
    right: 0;
    width: 86.8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0;
  }

  @media(max-width:768px){
    main{
        width: 100%;
    }
  }

  .regulation{
    width: 70%;
    height: auto;
  }

  .regulation-title{
    margin-top: 100px;
    border-bottom: 1.5px solid #333;
    padding-bottom: 50px;
    margin-left: 30px;
    font-size: 2.4rem;
  }

  @media(max-width:768px){
    .regulation-title{
      font-size: 2rem;
    }
  }

  .section-item{
    width: 100%;
    margin-left: 30px;
    border-top: 1px solid #333;
    padding: 40px 0;
  }

  .section-item:first-child{
    border-top: none;
  }
  
  .section-item h3{
    position: relative;
    margin-left: 25px;
    margin-bottom: 30px;
  }

  .section-item h3::before{
    position: absolute;
    content: "";
    top: 50%;
    left: -10px;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #323232;
  }

  .first-item{
    position: relative;
  }

  .first-item .a1{
    position: absolute;
    top: 20px;
    right: 10px;
    display: block;
    width: 300px;
    height: 35px;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 14px;
  }

  .first-item .a2{
    position: absolute;
    top: 80px;
    right: 10px;
    display: block;
    width: 300px;
    height: 35px;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 14px;
  }

  @media(max-width:768px){
    .first-item{
      margin-top: 150px;
    }
    .first-item .a1{
      top: -100px;
      width: 300px;
    }
    .first-item .a2{
      top: -30px;
    }
  }

  .regulation ul {
    left: 10px;
    list-style: none;
    counter-reset: item;
  }
  
  .regulation ul li {
    counter-increment: item;
    margin-bottom: 10px;
  }
  
  .regulation ul li::before {
    content: counter(item) ". ";
  }

  .last-item ul li{
    position: relative;
    margin-left: 10px;
}

.last-item ul li::before{
    content: "";
    display: block;

    width: 5px;
    height: 5px;

    border-radius: 9999px;
    background-color: #323232;

    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
}





  /* amoeba */
.amoeba {
    position: fixed;
    bottom: 35px;
    right: 48px;
    width: 110px;
    height: 110px;
    animation: blob 5s infinite ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
  }
  
  .amoeba svg{
    position: absolute;
  }
  
  .amoeba p{
    position: absolute;
    display: flex;
    z-index: 10;
  }
  
  .contact-button-text{
    display: none;
  }
  
  
  
  @media(max-width:768px){
    .amoeba{
      display: none;
    }
  
    .contact-button-text{
      color: #fff;
      font-size: 1.3rem;
      display: none;
    }
  }











  




 


/* footer */
.footer{
  /* margin-top: 50px; */
  /* margin-bottom: 30px; */
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  justify-content: center;
  align-items: center;
  text-align: left;
  background-color: #fff;
}

.footer-container{
  display: flex;
  width: 80%;
  height: auto;
  justify-content: center;
  gap: 100px;
}

.footer-left{
  display: flex;
  height: 100%;
  justify-content: center;
  gap: 100px;
  align-items: flex-start;
  text-align: left;
}

.footer-left img{
  width: 150px;
  height: auto;
}

.text-br{
  display: none;
}

.footer-right{
  position: relative;
  writing-mode: vertical-rl;
  color: #5bb5dd;
}

.footer-right::after{
  content: "";
  position: absolute;
  bottom: -10px;
  right: -60px;
  display: flex;
  width: 70px;
  aspect-ratio: 1/1 ;
  background-image: url(img/アセット葉.svg);
  background-repeat: no-repeat;
  margin-bottom: 50px;
}

.footer-text p,
.footer-text a{
  /* margin-top: 15px; */
  font-size: 18px;
  display: block;
}

.footer-text p:nth-child(2),
.footer-text p:nth-child(3),
.footer-text a{
  font-size: 14px;
}

.footer-text-tel{
  font-size: 14px;
}


@media(max-width:768px){
  .footer-container{
    width: 85%;
    gap: 0;
  }
  .footer-left{
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  
  .footer-left img{
    display: block;
    margin-right: 100px;
  }

  .footer-text{
    margin-top: 30px;
  }

  .footer-text p,
  .footer-text a{
    line-height: 25px;
    font-size: 15px;
  }

  .footer-text p:nth-child(3){
    margin-top: 0px;
  }

  .text-br{
    display: block;
  }

  .footer-right::after{
    content: "";
    position: absolute;
    top: 100px;
    right: -20px;
    display: flex;
    width: 70px;
    aspect-ratio: 1/1 ;
    background-image: url(img/アセット葉.svg);
    background-repeat: no-repeat;
  }
}



/* reserved */
.reserved p{
  margin-top: 50px;
  font-size: 12px;
}
