@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

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

html {
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Yu Gothic", 游ゴシック, YuGothic, 游ゴシック体, Meiryo, メイリオ, sans-serif;
    scroll-behavior: smooth;
    scroll-padding: 80px;
}

body {
    color: #666;
}

a{
    color: #fff;
}

h3{
    color: #254A7E;
}

/* header */

header{
    position: relative;
    z-index: 999;
}

.header_logo{
    width: 20%;
    position: fixed;
    top: 2%;
    left: 2%;
}

.hum_bg{
    width: 110px;
    height: 110px;
    border-radius: 50%;
    position: fixed;
    top: -30px;
    right: -30px;
    background: #fff;
    z-index: 99;
}

.ham {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position: fixed;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

.ham span {
    width: 90%;
    height: 4px;
    background: #0072B8;
    border-radius: 4px;
    transition: all 1s;
}

.nav_black{
    opacity: 0;
    position: fixed;
    pointer-events: none;
    background: #00000069;
    width: 100%;
    height: 100vh;
    transition: all 1s;
}

.nav_black.active{
    opacity: 1;
    pointer-events: all;
}

.navigation{
    display: flex;
    flex-direction: column;
    gap: 30px;
    opacity: 0;
    padding: 20% 10%;
    pointer-events: none;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    background: #254A7E;
    transition: all 1s;
    .logo{
        width: 35%;
    }
    ul img{
        width:2em;
        margin-right: 10px;
    }
}

.navigation .nav01{
    font-size: 1.5em;
}

.navigation li {
    margin-bottom: 0.5em;
    a{
        display: flex;
        align-items: center;
    }
}

.ham.active span:nth-child(1) {
    transform: translateY(13.5px) rotate(45deg);
}

.ham.active span:nth-child(2) {
    opacity: 0;
}

.ham.active span:nth-child(3) {
    transform: translateY(-13.5px) rotate(-45deg);
}

.navigation.active{
    opacity: 1;
    pointer-events: all;
}

@media screen and (min-width:767px){
    .header_logo{
        width: 10%;
        max-width: 100px;
    }
    .navigation{
        width: 350px;
        padding: 90px 40px;
        right: 0;
        gap: 40px;
    }
    .navigation li {
        margin-bottom: 0.8em;
    }
}

@media screen and (min-width:960px){
    .navigation li:hover{
        opacity: 0.7;
    }
}


/* button */

.button{
    position: relative;
    display: block;
    text-align: center;
    width: 50%;
    margin: 0 auto 60px;
    padding: 10px;
    background: #0072B8;
    border-radius: 50px;
}

.button::before{
    content: "";
    position: absolute;
    right: 25px;
    top: 45%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg) translateY(-55%);
}

@media screen and (min-width:767px){
    .button{
        width: 200px;
        margin-bottom: 80px;
    }
}

@media screen and (min-width:960px){
    .button:hover{
        opacity: 0.7;
    }
}

/* wave */

.wave_container{
    position: relative;
    bottom: 0;
    height: 100px;
}

.wave_container2{
    position: relative;
    bottom: 0;
    height: 40vh;
}

svg {
    height: 16vh;
    width: 100vw;
    position: absolute;
    bottom: 0;
}



/* footer */

footer{
    background: linear-gradient(#0072B8, #254A7E);
    padding-bottom: 2%;
}

footer .logo{
    display: block;
    width: 30%;
    margin: 0 auto 30px;
}

.footer_nav{
    width: 85%;
    margin: 0 auto 30px;
}

footer ul{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 130px;
    li{
        width: 50%;
        margin-bottom: 5px;
    }
}

footer p{
    text-align: center;
    color: #fff;
}

@media screen and (min-width:767px){
    .footer_nav{
        max-width: 750px;
    }

    footer .logo{
        width: 10%;
        max-width: 100px;
    }
    footer ul{
        flex-direction: row;
        justify-content: center;
        li{
            text-align: center;
            width: 170px;
        }
    }
}


/* top_btn */
.top_btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    transition: all 0.5s ease-in-out;
    opacity: 0;
  }

.top_btn.active{
    opacity: 1;
}

.top_btn:hover{
    transform: rotate(50deg);
}


/* sub_header */
.sub_header{
    position: relative;
    height: 40vh;
    background: url(../img/lowerpage-hero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-bottom: 50px;
}

.sub_header h1{
    color: #fff;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%,-50%);
    white-space: nowrap;
}

@media screen and (min-width:767px){
    .sub_header{
        margin-bottom: 0;
    }
    .sub_header h1{
        top: 40%;
    }
}
@media screen and (min-width:960px){
    .sub_header{
        margin-bottom: 60px;
    }
}

/* bubble */

.bubble{
    position: relative;
    background: linear-gradient(#0072B8, #254A7E);
    text-align: center;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.bubble:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 30px;
    height: 20px;
    background: #254A7E;
    clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
    transform: translateX(-50%);
  }


  /* down btn */
  .btn_flex{
    display: flex;
    gap: 5%;
    margin-bottom: 60px;
  }

  .down_btn{
    display: block;
    width: 50%;
    background: linear-gradient(#9EE1F1, #0072B8);
    padding: 5px;
    text-align: center;
    border-radius: 50px;
  }

  @media screen and (min-width:767px){
    .down_btn{
        padding: 10px;
    }
  }

  @media screen and (min-width:960px){
    .down_btn:hover{
        opacity: 0.7;
    }
}