body {
    font-family: 'Noto Serif JP', serif;
    overflow-x: hidden;
    height: 100%;
    background-color: #fcfcfc;
}
.container {
    width: 90%;
    margin: 0 auto;
}


#header {
  background:#fff;
    box-shadow: 0 2px 8px rgba(30,30,80,.3);
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    text-align:center;
    padding:1rem;
    z-index: 100;
}

.logo img {
    margin-left: 30px;
}

#header .active {
    background-color: aqua;
}

#hmb {
    width: 40px;
    height: 26px;
    cursor: pointer;
    position: relative;
    padding-right: 80px;
    z-index: 30;
}
#hmb span {
    width: 32px;
    height: 3px;
    display: block;
    background-color: #000000;
    border-radius: 2px;
    position: absolute;
    transition: .2s;
}
#hmb span:first-child {top: 0;}
#hmb span:nth-child(2) {top: 12px;}
#hmb span:last-child {top: 24px;}
nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: aliceblue;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition-property: all;
    transition-duration: .2s;
}
nav ul li a {
    display: block;
    line-height: 80px;
    font-size: 20px;
    text-align: left;
    border-bottom: 1px solid #646566;
}

.active #hmb span:first-child{
    top: 12px;
    transform: rotate(45deg);
}
.active #hmb span:nth-child(2) {
    opacity: 0;
} 
.active #hmb span:last-child {
    top: 12px;
    transform: rotate(-45deg);
}
.active nav {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}
.active::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgb(0, 0, 0);
    width: 100vw;
    height: 100vh;
    opacity: 0.4;
    z-index: 10;
}
@media screen and (max-width: 768px) {
  .logo img {
       width: 50px;
       height: 50px;
     }
  nav {
    width: 60%;
     }
  nav ul li a {
    font-size: 15px;
    line-height: 60px;
     }
  
  
    }



.eria {
    margin: 0 auto;
    padding: 200px;
    width: 100%;
}
.accordion-area{
    list-style: none;
    max-width: 900px;
    margin: 0 auto;

}

.accordion-area li{
    margin: 10px 0;
}

.accordion-area section {
  border: 3px solid #0e61b5;
}

.title {
    position: relative;
    cursor: pointer;
    font-size:20px;
    font-weight:300;
    padding: 3% 3% 3% 50px;
    transition: all .5s ease;
}

.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #333;
    
}
.title::before{
    top:48%;
    left: 15px;
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
    left: 15px;
    transform: rotate(90deg);

}

.title.close::before{
  transform: rotate(-45deg);
}

.title.close::after{
  transform: rotate(45deg);
}

.box {
    margin:0 1% 3% 1%;
    padding: 3%;
    display: none;
}


section {
    margin: 30px 0;
}

.row {
    display: flex;
    justify-content: flex-start;
}

.col {
    border: solid #0e61b5 2px;
    margin: 0 20px;
}


.eria p {
    font-size: 20px;
    margin: 10px 10px;
}


h2{
    text-align: center;
    margin-bottom: 100px;
    margin-top: 50px;
    padding-bottom: 30px;
    font-size:30px;
    font-weight: bold;
    border-bottom: solid #646566;    
}
.area {
  margin: 0 auto;
  text-align: center;
}
.contact-button {
    position: relative;
      text-decoration: none;
      display: inline-block;
      background: transparent;
      border-radius: 25px;
      border: solid 1.5px #fff;
      outline: none;
     transition: all 0.2s ease;
     margin-bottom: 20%;
     
  }
  .contact-button:hover {
    border-color:transparent;	
  }
  .contact-button span {
    font-size: 25px;
    position: relative;
      z-index: 2;
      display: block;
    padding: 15px 35px;
      background:#6baaeb;
      border-radius: 25px;
      color:#fff;
    transition: all 0.3s ease;
  }
  .contact-button:before {
    content:"";
    position: absolute;
  z-index: -1;
    top:4px;
    left:0;
    width: 100%;
    height: 100%;
  border-radius: 25px;
    background-color: #333;
    opacity: 0.7;
  }
  .contact-button:hover span {
      background-color: #0e61b5;
      color: #fff;
      transform: translateY(4px);
  }

  @media screen and (max-width: 767px) {
    .eria {
        width: 100%;
        padding: 20px;
    }
    .title {
    font-size: 14px;

    }

    .row {
      flex-wrap: wrap;
      gap: 20px;
    }
    h2 {
        font-size: 22px;
        padding-bottom: 15px;
        margin-top: 200px;       
    }
    
    .contact-button span{
        font-size: 14px;
    }
    .eria p {
        font-size: 12px;
    }
  }
  
  footer {
    padding: 40px 50px;
    font-size: 20px;
    background-color: #ddd;
    text-align: center;

  }
  .footer-main {
    padding-bottom: 20px;
    margin-bottom: 30px;
    
    }
.footer-logo {
  margin-bottom: 40px;
  font-size: 32px;
}

.footer-main li {
 a{
    padding: 10px;
    display: block;
    color:#000000;
    font-weight: 300;
}
}
.copyright {
        margin-top: 20px;
        text-align: center;
        
        }
    
    @media screen and (max-width: 768px) {
      li {
        a {
          margin: 0;

      }
      }
      .footer-logo {
        font-size: 10px;
      }

    .footer-logo img {
      width: 80px;
      height: 80px
    }
      
      
      
      .copyright {
        font-size: 9px;
      }
    }
    @media screen and (max-width: 480px) {
      footer {
        padding: 15px 0 20px;
      }
      .footer-main {
        margin-bottom: 0;
      }    
    
      
      .footer-logo {
        margin: 15px 0;
        font-size: 22px;
      }

    .footer-logo img {
      width: 60px;
      height: 60px
    }
    .footer-main li {
      a{
         padding: 5px;
         display: block;
         color:#000000;
         font-size: 12px;
     }
      
      
      
    }
  }
