@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;
  }

}


  /* main */
main{
  position: absolute;
  right: 0;
  width: 86.8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

main.active::before{
    content: "";
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: var(--z-concept);
}

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



  /* 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;
    }
  }











  /* about */
  .about{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #e6f4fa;
  }

  .about-title{
    width: 65%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-top: 110px;
    margin-bottom: 50px;
  }

  .about-title-item{
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .about-title-item h1{
    line-height: 15px;
    font-size: 2.3rem;
    letter-spacing: .53rem;
  }

  @media(max-width:1300px){
    .about-title-item h1{
      font-size: 1.8rem;
      letter-spacing: .2rem;
    }
  }

  @media (max-width: 1100px){

    .about-title{
      width: 70%;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }
  
    .about-title-item{
      width: 100%; /* 1行を占有 */
      text-align: center;
      align-items: center;
      margin-bottom: 10px;
    }
  
    .service-title1,
    .service-title2{
      width: calc(50% - 10px);
      flex: 1;
      min-width: 250px;
    }
  
  }



  .about-title p{
    color: #f7995f;
  }

  .container-message{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    margin-bottom: 100px;
    z-index: var(--z-concept);
  }

  .container-message p{
    margin-top: 90px;
    color: #323232;
    line-height: 35px;
    font-size: .9rem;
    letter-spacing: 3px;
  }


  .about-container{
    position: relative;
    width: 70%;
    background-color: #ffffff;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 200px;
  }

  .about-container::after{
    content: "";
    position: absolute;
    top: -120px;
    right: 50px;
    width: 150px;
    height: 150px;
    background: url(img/staffbard.svg);
    background-repeat: no-repeat;
    background-position: center;
  }

  @media(max-width:768px){

    .about{
        padding-bottom: 100px;
    }
    .about-container,
    .about-title,
    .container-message{
      width: 80%;
      margin-bottom: 30px;
    }

    .container-message p br{
      display: none;
    }

    .about-container{
        margin-bottom: 0px;
    }

    .about-container::after{
        width: 100px;
        height: 100px;
        top: -80px;
        right: 30px;;
    }
  
  }




  /* staff */
  .staff{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    margin-bottom: 100px;
  }

  


  @media(max-width:768px){
    .staff{
        margin-bottom: 50px;
    }
  }

  .staff::before{
    content: "";
    position: absolute;
  }

  .staff::after{
    content: "";
    position: absolute;
  }

  .staff-container{
    width: 100%;
    margin: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
  }

  
  .staff-container-block{
    position: relative;
    width: 33.33%;
    height: auto;
    text-align: center;
  }
  
  .staff-container-block img{
    width: 100%;
    height: 400px;
    object-fit: contain;
  }

  .block-text{
    text-align: center;
  }

  .text-p{
    position: relative;
    text-align: left;
    margin-left: 20%;
  }

  .staff-container-block:nth-child(1) .block-text p:nth-child(2){
    color: #f7995f;
  }

  .staff-container-block:nth-child(2) .block-text p:nth-child(2){
    color: #5bb5dd;
  }

  .staff-container-block:nth-child(3) .block-text p:nth-child(2){
    color: #87c15b;
  }

  .block-text:nth-child(3){
    position: relative;
  }

  .text-p::before{
    content: "";
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background-color: #87c15b;
  }

  .staff-container-block:nth-child(2) .text-p::before{
    background-color: #5bb5dd;
  }

  .staff-container-block:nth-child(3) .text-p::before{
    background-color: #87c15b;
  }


  @media(max-width:768px){
    .staff-container{
        flex-direction: column;
    }

    .staff-container-block{
        width: 100%;
        margin-bottom: 50px;
    }
  }
  
  .staff-container-block:not(:last-child)::after{
    content: "";
    position: absolute;
    top: 400px; 
    right: -10px;
    width: 1px;
    height: 100px;
    border-right: 1px dotted #5bb5dd;
  }

  @media(max-width:768px){
    .staff-container-block:not(:last-child)::after{
        content: "";
        position: absolute;
        right: -100%;
    }

    .staff-container-block:not(:first-child)::after{
      content: "";
      position: absolute;
      left: 50%;
      top: -30px;
      transform: translateX(-50%);
      width: 100px;
      height: 1px;
      border-right: none;
      border-bottom: 1px dotted #5bb5dd;
    }
  }


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

.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;
}




/* 動きのない三角*/

/* .triangle1,
.triangle2{
  width: 30px;
  aspect-ratio: 1/1;
  background-image: url(img/アセット三角.svg);
  background-repeat: no-repeat;
  background-position: center;
  z-index: var(--z-service);
}

@media(max-width:768px){
  .triangle1,
  .triangle2{
    top: 130px;
    right: 80px;  
    display: block;
  }
}

.triangle1{
  position: absolute;
  top: -7vh;
  right: 8vw;
  width: 30px;
}

.triangle2{
  position: absolute;
  top: 38vh;
  left: 3vw;
  width: 30px;
} */

.triangle1,
.triangle2{
  position: absolute;
  width: 30px;
  aspect-ratio: 1 / 1;
  background-image: url(img/アセット三角.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: var(--z-service);
}

.triangle1{
  top: -7vh;
  right: 8vw;
}

.triangle2{
  top: 38vh;
  left: 3vw;
}

@media(max-width:768px){
  .triangle2{
    top: 36vh;
  }
}


/* 動きのない四角 */
.square1,
.square2{
  width: 27px;
  aspect-ratio: 1/1;
  background-image: url(img/アセット四角.svg);
  transform: rotate(13deg);
  z-index: var(--z-service);
}

@media(max-width:768px){
  .square1,
  .square2{
    top: 350px;
    right: 50px;
    display: block;
  }
}

.square1{
  position: absolute;
  top: 8vh;
  right: 5vw;
}

.square2{
  position: absolute;
  top: 25vh;
  left: 4vw;
}

/* 動きのない円形 */
.circle1,
.circle2{
  width: 30px;
  aspect-ratio: 1/1;
  background-image: url(img/アセット円形.svg);
  background-size: contain;
  background-position: center;
  z-index: var(--z-service);
}

@media(max-width:768px){
  .circle1,
  .circle2{
    top: 230px;
    right: 10px;
    display: block;
  }
}

.circle1{
  position: absolute;
  top: 1vh;
  right: 3vw;
}

.circle2{
  position: absolute;
  top: 43vh;
  left: 6vw;
}

@media(max-width:768px){
}

/* @media(max-width:768px){
  .triangle1.is-fixed,
  .triangle2.is-fixed{
    position: fixed;
    z-index: 0;
  }
  .triangle1.is-fixed{
    top: 13vh;
    right: 23vw;
  }
  .triangle2.is-fixed{
    top: 63vh;
    left: 13vw;
  }
  .circle1.is-fixed,
  .circle2.is-fixed{
    position: fixed;
    z-index: 0;
  }
  .circle1.is-fixed{
    top: 20vh;
    right: 12vw;
  }
  .circle2.is-fixed{
    top: 70vh;
    left: 23vw;
  }
  .square1.is-fixed,
  .square2.is-fixed{
    position: fixed;
    z-index: 0;
  }
  .square1.is-fixed{
    top: 28vh;
    right: 16vw;
  }
  .square2.is-fixed{
    top: 52vh;
    left: 15vw;
  }

  .triangle1.is-end{
    position: absolute;
    top: calc(100% - 200px);
  }
} */

