html{
    scroll-behavior: smooth;
}
body{
    overflow-x: hidden;
}

h2{
    position: relative;
    color: #062E77;
    font-size: 30px;
    font-weight: 400;
    align-items: center;
    margin-bottom: 40px !important;
}

h2::after{
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(
      to right,
      #062E77 0%,
      #062E77 50%,
      #7cc5f0 50%,
      #7cc5f0 100%
    );
}

p{
    line-height: 2rem !important;
    font-weight: 400 !important;
    font-size: clamp(14px, 2.5vw, 16px) !important;
}
main a{
    transition: opacity 0.2s, filter 0.2s;
}
main a:hover,
main a:active{
    opacity: 0.7;
    filter: drop-shadow(10px 10px 20px #DDE9F5);
}
.sp-only{
    display: none;
}

.kv-wrap{
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}
.l-container{
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    margin-top: 128px;
    padding-left: 20px;
    padding-right: 20px;
}
.bg-blue{
    background-color: #F4F8FC;
}
.anniversary-nav{
    width: 80%;
    margin:  auto;
    margin-top: 45px;
    margin-bottom: 45px;
    ul{
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        text-align: right;
        padding-left: 0;
    }
    li{
        width: calc(100% / 3 - 20px);
        list-style-type: none;
    }
    li::after{
        content: url(img/10thaniversary/link-togle.png);
    }
    a{
        color: #062E77;
        border-bottom: 1px solid #062E77;
        margin-right: 10px;
    }
}

/* ご挨拶 */
#greeting{
    position: relative;
    z-index: 2;
}
#greeting > *{
    position: relative;
    z-index: 1;
}
#greeting::after{
    content: "";
    background-color: #E3EFF9;
    position: absolute;
    display: inline-block;
    width: 65vw;
    height: 40vh;
    top: 55%;
    right: 0;
    z-index: 0;
}
.greeting-flex-wrap{
    margin-top: 80px;
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
    align-items: center;
}
.business-card{
    margin-top: 40px;
    color: #062E77;
    p{
        font-weight: 500 !important;
    }
}

/* 10年の歩み */
#history{
    max-width: 960px;
    margin: 128px auto 0;
}
.history__body{
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 80px;
}
.history__item{
    position: relative;
    width: calc(100% / 4 - 20px);
    margin-bottom: 40px;
    text-align: center;
    color: #467FB3;
    p{
        font-weight: 400 !important;
    }
}
.history__item::before{
    content: "";
    position: absolute;
    top: 41px;
    left: -12.5px;
    right: -12.5px;
    height: 2px;
    background-color: #467FB3;
    z-index: 0;
}
.history__item:first-child::before,
.history__item:nth-child(5)::before{
    left: 50%;
}
.history__item:nth-child(4)::before,
.history__item:last-child::before{
    right: 50%;
}
.history__year{
    position: relative;
    margin-bottom: 16px;
}
.history__year::after{
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #467FB3;
    z-index: 1;
}

/* 支えてくださった皆様へ */
#support{
    margin-top: 128px;
    position: relative;
}
#support::after{
    content: "";
    background-color: #E3EFF9;
    position: absolute;
    display: inline-block;
    width: 65vw;
    height: 40vh;
    top: 62%;
    left: 0;
    z-index: 0;
}
.support-wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 80px;
    z-index: 1;
    gap: 20px;
}
.support-card{
    width: calc(1080px / 3 - 30px);
    box-shadow: #DDE9F5 10px 10px 20px;
    background-color: #fff;
    z-index: 1;
}
.support-card img{
    display: block;
    width: 100%;
}
.support__text{
    padding: 35px;
    text-align: center;
    p{
        line-height: 1.5rem !important;
    }
}
.support-card__title{
    font-size: 16px;
    color: #062E77;
    margin-bottom: 20px;
}
.flex-wrap{
    display: flex;
    gap: 20px;
    margin: 80px auto 0;
    max-width: 615px;
    align-items: center;
    img{
        z-index: 1;
        width: 45%;
    }
    p{
        font-weight: 500 !important;
        color: #062E77;
        font-size: 18px !important;
        z-index: 1;
    }
}

/* 私たちの強み・提供価値 */
#feature{
    margin-top: 128px;
}

.feature__wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 80px;
    gap: 40px;
}
.feature__item{
    width: calc(1080px / 2 - 40px);
    display: flex;
    gap: 30px;
    align-items: center;
}
.feature__title{
    font-size: 16px;
    color: #062E77;
    margin-bottom: 20px;
}
.feature__more{
    position: relative;
    margin-top: 80px;
    min-height: 420px;
    img{
        position: absolute;
        top: 0;
        right: calc(50% - 50vw);
        width: 75vw;
        height: auto;
        z-index: 0;
    }
    .feature__more__text-box{
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        background-color: rgba(69,124,173,0.7);
        color: #fff;
        padding: 50px;
        z-index: 1;
        line-height: 2rem;
        letter-spacing: 0.5rem;
    }
}

/* これからのネオ */
#future{
    text-align: center;
}
.future__list{
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
}
.future__caption{
    color: #062E77;
    font-weight: 500 !important;
    margin-top: 20px;
}
.future__item{
    width: calc(100% / 3 - 40px);
    img{
        filter: drop-shadow(10px 10px 20px #DDE9F5);
    }
}

/* 10周年の取り組み */
#initiative{
    background-color: #EBF3FA;
    max-width: 1080px;
    margin: 128px auto;
    padding: 40px 40px 80px 40px;
}
.initiative__list{
    margin-top: 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.initiative__item{
    background-color: #fff;
    width: calc(960px / 2 - 20px);

    .initiative__thumb{
        display: flex;
        gap: 20px;
        align-items: center;
    }
    .initiative__body{
        color: #062E77;
        font-weight: 500 !important;
    }
    .initiative__more{
        background-color: #467FB3;
        text-align: center;
        color: #fff;
        width: 100%;
        display: block;
        padding: 5px;
    }
    .initiative__desc{
        padding: 20px 40px;
        line-height: 1.5rem !important;
    }
}

/* footer */
#catch{
    background-image: url(img/10thaniversary/footer.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 800px;
    padding: 128px 80px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    img{
        margin-bottom: 40px;
    }
}

#footer{
    display: flex;
    padding: 40px 80px;
    justify-content: space-between;
    text-align: center;
}


/* ＝＝＝＝＝＝＝＝＝＝＝＝
　　レスポンシブ
＝＝＝＝＝＝＝＝＝＝＝＝ */

@media screen and (max-width: 767px) {
    .sp-only{
        display: block;
    }
    .pc-only{
        display: none;
    }
    .anniversary-nav {
        width: 100%;
        ul{
            justify-content: center;
        }
        li{
            text-align: left;
            width: calc(50% - 20px);
            font-size: 14px;
        }
    }

    .greeting-flex-wrap {
        flex-direction: column;
    }

    .history__body {
        flex-direction: column;
        width: 80%;
        margin: 80px auto;
    }
    .history__item{
        display: flex;
        gap: 20px;
        width: 100%;
        align-items: center;
    }
    .history__item::before{
        content: none;
    }
    .history__year::before{
        content: "";
        position: absolute;
        top: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 200px;
        background-color: #467FB3;
        z-index: 0;
    }
    .history__item:last-child .history__year::before{
        content: none;
    }
    .history__year{
        background-color: #F4F8FC;
        padding: 10px;
    }
    .history__item__inner{
        display: flex;
        gap: 20px;
    }
    #footer{
        flex-direction: column;
        img{
            width: 220px;
            margin: 0 auto 40px;
        }
    }
    .support-wrap{
        gap: 40px;
    }

} 

@media screen and (max-width: 480px){
    h2{
        font-size: 1.6rem !important;
    }
    .history__item__inner{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        img{
            width: 150px;
        }
    }
    .history__item{
        align-items: flex-start;
        gap: 40px;
    }
    .history__year{
        font-size: 20px !important;
    }
    .flex-wrap{
        flex-direction: column;
    }
    .feature__item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 80px;
        p{
            width: 80%;
            margin: 0 auto;
            text-align: left;
        }
    }
    .future__list{
        flex-direction: column;
    }
    .future__item{
        width: 100%;
        margin-bottom: 80px;
    }
    .anniversary-nav{
        li{
            width: calc(50% - 10px);
        }
    }
}
