header{
    height: 80px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}
.header-top{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}
.under-header{
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;

}
.header__inner{
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.header__content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header__logo{
    max-width: 195px;
    width: 100%;
}

.header__right{
    width: calc(100% - 195px);
}

.header__items{
    display: flex;
    align-items: center;
    justify-self: end;
}

.header__item{
    position: relative;
    margin-right: 24px;
}

.header__item:nth-last-of-type(1){
    margin-right: 0;
}

.header__contact{
    background: #0F65EF;
    width: 120px;
    border-radius: 50px;
    text-align: center;
    margin-right: 12px;
}

.header__contact .header__item-link{
    color: #fff;
    padding: 12px 0;
}

.header__item-link{
font-weight: 700;
font-size: 14px;
line-height: 100%;
letter-spacing: normal;
display: block;
padding: 5px;
}

.header__item.hasChild{
    position: relative;
}

.header__item.hasChild::before{
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    width: 4px;
    height: 4px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(135deg) translateY(-50%);
    transform-origin: top center;
    transition: transform 0.2s ease-in-out;
    right: 14.5px;
}

/* ホバー時およびactiveクラス追加時のスタイル */


.header__item.hasChild:hover::before,
.header__item.hasChild.active::before {
    transform: rotate(315deg) translateY(-50%);
}

.header__child{
    position: absolute;
    color: #fff;
    width: 100%;
    padding-top: 5px;
    top: 100%;
    z-index: 1;
}

.header__child-link{
    color: #fff;
    display: block;
    text-decoration: none;
    transition: background-color 0.2s ease;
    background: #0F65EF;
padding: 5px;
}

.header__child-item:nth-of-type(1){
    border-bottom: 1px solid #fff;
}

@media screen and (max-width: 768px) {
    header{
        height: 64px;

    }
    .header__inner{
        padding: 0 15px;
    }
    
    .header__logo{
        width: 130px;
    }
    
    .header__right{
        width: calc(100% - 130px);
    }
    
    .header__items{
        opacity: 0;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 101, 239, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        z-index: 998;
        transform: translateX(100%);
        transition: all 0.3s ease-in-out;
    }

    .header__items.active{
        display: flex;
        transform: translateX(0);
        opacity: 1;
        height: 100vh;
        padding-top: 64px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .header__sp-menu{
        width: 40px;
        height: 40px;
        background: #0F65EF;
        border-radius: 50%;
        position: relative;
        margin-left: auto;
        z-index: 999;
    }

    .header__sp-menu-icon{
        color: #fff;
        width: 16px;
        height: 2px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #fff;
        display: block;
        transition: transform 0.3s ease-in-out;
    }

    .header__sp-menu-icon:nth-of-type(1){
        transform: translate(-50%, calc(-50% - 6px));
    }

    .header__sp-menu-icon:nth-of-type(2){
        transform: translate(-50%, -50%);
    }

    .header__sp-menu-icon:nth-of-type(3){
        transform: translate(-50%, calc(-50% + 6px));
    }

    /* ハンバーガーメニューアクティブ時 */
    .header__sp-menu.active .header__sp-menu-icon:nth-of-type(1){
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .header__sp-menu.active .header__sp-menu-icon:nth-of-type(2){
        opacity: 0;
    }

    .header__sp-menu.active .header__sp-menu-icon:nth-of-type(3){
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .header__item{
        text-align: left;
        width: 100%;
        margin-right: 0;
    }

    .header__item:nth-of-type(n + 2){
        margin-top: 32px;
    }

    .header__item-link{
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: normal;

    }

    .header__contact{
        margin-right: 0;
        background: #fff;
        color: #333;
    }

    .header__contact .header__item-link{
        color: #333;
        text-align: center;
        font-weight: 700;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: normal;
        text-align: center;
        padding: 24px 0;
    }

    .header__entry{
        margin-top: 20px!important;
    }

    .header__flow{
        border: 2px solid #E5E5E5;
        position: relative;
    }

    .header__flow::before{
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        right: 24px;
        width: 18px;
        height: 2px;
        background: #0F65EF;
        transform: translateY(-50%);
        transition: all 0.3s ease;
    }

    .header__flow::after{
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        right: 33px;
        width: 2px;
        height: 18px;
        background: #0F65EF;
        transform: translateY(-50%);
        transition: all 0.3s ease;
    }

    .header__flow.is-open::after {
        transform: translateY(-50%) rotate(90deg);
        opacity: 0;
    }

    .header__flow.is-open::before{
        transform: translateY(-50%) rotate(180deg);
    }

    .header__flow.is-open{
        margin-bottom: 70px;
    }

    .header__flow .header__item-link{
        text-align: left;
        padding-left: 24px;
    }

    .header__flow-items{
        display: none;
    }

    .header__flow.is-open .header__flow-items{
        display: block;
        position: absolute;
    }

    .header__flow-item a{
        color: #fff;
        font-weight: 700;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: normal;
    }

    .header__flow-item{
     padding: 0 10px 10px 25px;
    margin-top: 15px;
    }


    .header__sp-heading{
        position: fixed;
        top: 22px;
        left: 24.5px;
font-weight: 700;
font-size: 24px;
line-height: 80%;
letter-spacing: normal;
color: #fff;
font-family: 'Lato', sans-serif;

    }

}