@charset "utf-8";
html,body{
    font-family: "Zen Kaku Gothic New", "Poppins", "Hiragino Kaku Gothic ProN", "Yu Gothic","Meiryo",sans-serif;
    color: #004E9C;
}
.en {
    font-family: "Poppins", sans-serif;
}
h2{
  font-size: 24px;
  font-weight: 400;
  color: #004E9C;
}
h3{
  font-size: 20px;
  font-family: "DM Sans", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic","Meiryo",sans-serif;
  font-weight: 400;
  color: #004E9C;
}
a {
  text-decoration: none;
}
p {
  font-size: 16px;
}
img {
  border:none;
  display:block;
}
ul{
  list-style-type:none;
  padding-left:0;
  margin:0;
}
button {
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
}
/* ヘッダー */

header{
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  .headerinner{
      padding: 20px 100px 0 100px;
      display: flex;
      justify-content: space-between;
      align-items: center;
  }
  .headerlogo{
    font-size: 36px;
    color: #fff;
  }
  .headerlogo_blue{
    font-size: 36px;
    color: #3999C6;
  }
  .hamburger {
    position: fixed;
    top: 50px;
    right: 100px;
    z-index: 2000; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
  }
  
  .hamburger span {
    height: 3px;
    width: 25px;
    background: #004E9C;
    border-radius: 2px;
    transition: all 0.3s;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }  
  .nav {
    display: block;
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: auto; 
    background: #fff;
    padding: 120px 0 100px;
    transition: right 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    z-index: 1500;
    border-radius: 0 0 0 80px;;
  }
  
  .nav.active {
    right: 0;
    opacity: 1;
  }
  .menu{
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-left: 50px;
    font-size: 20px;
  }
  .menu li{
    margin: 0 15px;
  }
  .menu li a{
    color: #004E9C;
    text-decoration: none;
  }
  .menu li a:hover{
    color: #3999C6;
  }
  
  body{
    background-color: #F3F8FC;
  }
  .sp-br{
    display: none;
  }
  .button{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 22px;
    margin-top: 30px;
    border-radius: 25px;
    background-color: #004E9C;
    color: #fff;
    font-weight: 500;
    transition: background 0.3s, color 0.3s, transform 0.3s; 
  }
  .button img{
    width: 20px;
    height: auto;
  }
  .button:hover{
    transform: scale(1.2);
  }
  .fadein{
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
  }
  .fadein.show{
    opacity: 1;
    transform: translateY(0);
  }
  /*フッター*/
footer{
    padding: 150px 100px 150px;
    background: linear-gradient(to top right, #3999C6, #ffffff);
    position: relative;
  }
  .form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 50px auto 100px;
    gap: 15px;
    max-width: 700px;          
  }
  .form img{
    width: 188px;
    height: auto;
  }
  .form p{
    font-size: 20px;
    font-weight: 400;
    margin-left: 35px;
  }
  .form-button{
    display: inline-flex;
    align-items: center;
    padding: 16px 35px;
    margin-top: 30px;
    border-radius: 25px;
    background-color: #004E9C;
    color: #fff;
    font-weight: 500;
    font-family: "Poppins" ,sans-serif;
    transition: background 0.3s, color 0.3s; 
  }
  .form-button:hover{
    background: #3999C6;
  }
  .form-button a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
  }
  .copyright{
    position: absolute;
    bottom: 50px;
    right: 100px;
    color: #fff;
    font-size: 14px;
    font-family: "Poppins";
    margin-top: 30px;
  }

  @media (max-width: 480px) {

    h2{
      font-size: 22px;
    }
    h3{
      font-size: 18px;
    }
    p {
      font-size: 14px;
    }
  
    /* ヘッダー */
  
  .headerinner{
      padding: 0px 30px 0 30px;
  }
  .headerlogo{
    font-size: 26px;
  }
  .headerlogo_blue{
    font-size: 26px;
  }
  .hamburger {
    top: 23px;
    right: 10%;
    width: 28px;
  }
  .nav {
    width: 100%;
    height: 100%; 
  }
  .button{
    font-size: 14px;
    align-self: flex-end;
  }
  .button img{
    width: 15px;
    height: auto;
  }
  br{
    display: none;
  }
  .sp-br {
    display: block;
  }
  /*フッター*/
footer{
    padding: 100px 30px 130px;
  }
  .fotter p,
  .fotter h2{
    text-align: left;
  }
  .form p{
    font-size: 18px;
    font-weight: 400;
    margin-left: 0px;
  }
  .copyright{
    right: 30px;
    font-size: 12px;
  }
  
  }