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






 /* 動きのない三角*/

.triangle1{
  position: fixed;
  top: 10vh;
  right: 12vw;
  width: 13vmin;
  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{
    top: 130px;
    right: 80px;  
    display: block;
  }
}

/* 動きのない四角 */
.square1{
  position: fixed;
  top: 30vh;
  right: 6vw;
  width: 13vmin;
  aspect-ratio: 1/1;
  background-image: url(img/アセット四角.svg);
  transform: rotate(13deg);
  z-index: var(--z-service);
}

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

/* 動きのない円形 */
.circle1{
  position: fixed;
  top: 50vh;
  right: 10vw;
  width: 14.3vmin;
  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{
    top: 230px;
    right: 10px;
    display: block;
  }
}

/* bird */
.bird{
  position: fixed;
  top: 200px;
  left: 200px;
  width: 30vmin;
  aspect-ratio: 1/1;
  background-image: url(img/アセット鳥.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: var(--z-service);
}

@media(max-width:768px){
  .bird{
    top: 150px;
    left: -60px;
    width: 35vmin;
  }
}







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

  .about-title{
    width: 70%;
    text-align: left;
    margin: 5% 0;
  }

  .about-title h1{
    font-size: 2rem;
  }

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

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

  .container-message h2,
  .container-message p{
    position: relative;
    z-index: var(--z-service);
  }

  .about-container h4{
    font-size: 1.5rem;
  }

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

  @media(max-width:768px){
    .about-container,
    .about-title,
    .container-message{
      width: 80%;
    }

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

  .container-message h2{
    display: inline-block;
    max-width: 65%;
    text-align: left;
    font-size: 1.8rem;
    line-height: 3.5rem;
    color: #f7995f;
  }

  .container-message p{
    display: inline-block;
    max-width: 82%;
    text-align: center;
    margin-top: 50px;
    font-size: 1.2rem;
    line-height: 3.5rem;
  }

  .policy{
    width: 75%;
    margin: 3rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    z-index: var(--z-service);
  }
  
  @media(max-width:768px){
    .policy{
      width: 80%;
      margin: 1rem auto;
    }

    .about-container h2,
    .about-container p{
      max-width: 100%;
    }

    .about-container h2{
      font-size: 1.3rem;
      line-height: 2.5rem;
    }

    .about-container h2 br{
      display: none;
    }

    .about-container p{
        font-size: .9rem;
        line-height: 2rem;
    }
  }
  
  .policy-container-high,
  .policy-container-middle,
  .policy-container-low{
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 2rem;
  }
  
  .policy-container-high div,
  .policy-container-middle div,
  .policy-container-low div{
    flex: 1;
    max-width: 170px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #6ec1ff;
    border-radius: 20px;
    color: #fff;
  }

  .policy-container-list ul li,
  .policy-container-list-hidden ul li{
    list-style: disc;
    list-style-position: inside;
    padding-left: 0;
  }

  .policy-container-middle{
    display: none;
  }

  .policy-container-high div:nth-child(1),
  .policy-container-high div:nth-child(3){
    transform: translateY(-30px);
  }

  @media(max-width:1250px){
    .policy-container-high div:nth-child(3){
      display: none;
    }

    .policy-container-middle{
      display: flex;
    }

    .policy{
      font-size: 3vw;
      gap: 1.3rem;
    }

    .policy-container-high div,
    .policy-container-middle div,
    .policy-container-low div{
      max-width: 120px;
    }

    .policy-container-high,
    .policy-container-middle,
    .policy-container-low{
      gap: 1.3rem;
    }

    .policy-container-high div:nth-child(1),
    .policy-container-high div:nth-child(3){
      transform: translateY(0);
    }

  }


  /* map */
  .map{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 75%;
    margin-top: 80px;
    z-index: var(--z-service);
  }

  .map iframe{
    display: flex;
    width: 100%;
    border-radius: 30px;
  }

  .map-title{
    position: absolute;
    bottom: -16%;
    left: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 2rem;
    width: 55%;
    background-color: #fff;
    color: #fff;
    margin-right: auto;
    margin-left: 0;
    border-top-right-radius: 30px;
  }

  .map-title h3{
    color: #6ec1ff;
    font-size: 1.7rem;
  }

  @media(max-width:768px){
    .map{
      width: 80%;
    }
    .map-title{
      width: 80%;
    }

    .map-title h3{
      font-size: 1.2rem;
    }
  }


  /* from */
  .from{
    display: flex;
    width: 75%;
    text-align: left;
    padding: 2rem;
    margin-top: 50px;
    font-size: 1.3rem;
    position: relative;
    z-index: var(--z-service);
  }
  
  .from p{
    width: 100%;
    white-space: nowrap;
  }

  @media(max-width:1350px){
    .from p{
      text-align: left;
      white-space: normal;
    }
  }

  @media(max-width:768px){
    .from{
      width: 100%;
    }
    .from p{
      font-size: .9rem;
    }
  }



  /* info */
  .info{
    position: relative;
    display: flex;
    width: 75%;
    text-align: left;
    padding: 2rem;
    margin-bottom: 100px;
  }

  @media(max-width:1450px){
    .info{
      display: flex;
      flex-direction: column;
      width: 90%;
      margin-bottom: 30px;
    }
  }

  .info-img{
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    padding: 10px;
    background-color: #fff;
  }

  .info-img img{
    position: relative;
    border-radius: 20px;
    z-index: var(--z-amoeba);
  }

  @media(max-width:768px){
    .info-img{
      width: 100%;
      position: relative;
      padding: 0;
      background-color: transparent;
      z-index: var(--z-service);
    }
  }

  .info-list{
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: var(--z-service);
  }

  .info-item{
    position: relative;
    display: grid;
    grid-template-columns: 150px 1fr;
    border-bottom: 1px dotted #ccc;
    padding-bottom: .5rem;
    font-size: 1rem;
    z-index: var(--z-service);
  }

  .info-item:last-child{
    border-bottom: none;
  }

  .info-item span{
    font-size: .8rem;
    margin-left: 10px;
  }

  @media(max-width:1450px){
    .info-item span{
      display: block;
      margin-left: 0;
    }
  }

  @media(max-width:768px){
    .info-item{
      grid-template-columns: 1fr;
      gap: .3rem;
    }

    .info-list{
      margin-top: 50px;
    }
  }







/* 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;
  z-index: var(--z-concept);
}

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