@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans+JP:wght@100..900&family=Zen+Maru+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,500;1,500&display=swap');

:root{
    --light_green: #64FFF2;
    --navy: #1752C2;
    --light_blue: #0172DA;
}
body{
    max-height: 100vh;
    background: #F4F4F4;
    line-height: 1.5;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: .3s;
}
body:has(.top__item-button:hover){
    background: var(--light_green);
}
a{
    display: block;
    transition: .3s;
}
img{
    width: 100%;
    height: auto;
}
.br_sp{
    display: none;
}
/*============
main
=============*/
.content-wrapper{
    position: relative;
    height: 100vh;
}
.header{
    padding: 8px 52px;
}
.header__logo{
    width: 345px;
}
.header__logo-text{
    margin-bottom: 8px;
    font-size: 20px;
}
.top{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: calc(100vh - 84px);
    overflow: hidden;
}
.top__content-wrapper{
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 96%;
    max-width: 900px;
}
.top__ttl{
    text-align: center;
    font-size: 32px;
    color: var(--navy);
    font-weight: bold;
}
.top__sub-ttl{
    margin: 0 auto 2px;
    width: fit-content;
    padding: 0.2em 1em;
    background: var(--navy);
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}
.top__mainarea{
    position: relative;
    border-radius: 15px;
    border: solid 3px var(--navy);
    box-shadow: 4px 4px 0 0 var(--navy);
    padding: 33px 0 50px;
    background: #fff;
}
.top__center-image{
    margin: 50px auto 0;
    width: 15%;
}
.top__side-items{
    position: absolute;
    bottom: -36px;
    display: flex;
    justify-content: center;
    column-gap: 22%;
}
.top__item{
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: 4px 4px 0 0 var(--navy);
    border: 3px solid var(--light_blue);
    width: 30%;
    padding: 22px 18px 20px;
    background: #F4F4F4;
    text-align: center;
}
.top__item-ttl{
    line-height: 1.5;
    font-size: min(24px,2.4vw);
    font-weight: bold;
    color: var(--navy);
}
.top__item-ttl .fz-16{
    display: block;
    font-size: 16px;
    font-weight: 600;
}
.top__item-image{
    margin: 4px auto -12px;
    width: 88%;
}
.top__item.item-right .top__item-image{
    width: 96%;
}
.top__center-image.sp{
    display: none;
}
.top__item-button{
    position: relative;
    border: solid 1px #fff;
    border-radius: 9999px;
    box-shadow: 0 4px 4px 0 rgb(0 0 0 / 0.25);
    margin-top: auto;
    padding: 0.7em;
    background: linear-gradient(180deg,rgba(23, 82, 194, 1) 0%, rgba(17, 65, 157, 1) 100%);
    text-align: center;
    font-weight: 600;
    color: #fff;
}
.top__item-button::after{
    position: absolute;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    width: 30px;
    aspect-ratio: 30/7;
    background: url(../img/common/btn_arrow.svg) no-repeat center / contain;
}
.top__item-button:hover{
    background: #FABE00;
}
.top__main-deco01,
.top__main-deco02{
    margin: 0 auto;
    border: solid 5px var(--navy);
    background: #fff;
}
.top__main-deco01{
    border-bottom: none;
    width: 90px;
    height: 53px;
}
.top__main-deco02{
    box-shadow: 0 4px 4px 0 rgb(0 0 0 / 0.25);
    border-radius: 24px 24px 5px 5px;
    width: 250px;
    height: 33px;
}
.top__bg-text{
    position: absolute;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    font-size: min(12vw,128px);
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}
.top__bg-text.text01{
    top: 0;
    animation: slideText 14s linear infinite;
    transform: translateX(150%);
}
.top__bg-text.text02{
    right: 0;
    bottom: 86px;
    animation: slideTextRight 14s linear infinite;
    transform: translateX(-150%);
}
@keyframes slideText {
    0% {
      transform: translateX(150%);
    }
    100% {
      transform: translateX(-100%);
    }
}
@keyframes slideTextRight {
    0% {
      transform: translateX(-150%);
    }
    100% {
      transform: translateX(100%);
    }
}