@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans+JP:wght@100..900&display=swap');


/* -------------------- メイン -------------------- */
#top h2 {
    font-size: 36px;
    font-family: "Inter", sans-serif;
    letter-spacing: 2px;
    line-height: 1.3;
}

main {
    width: 100%;
    min-height: 700px;
    /* height: calc(100vh - 75px); */
    background: url(img/top/bg_main.png) no-repeat center #012347;
    background-size: cover;
    padding: 5rem 15px;
}
main h1 {
    font-size: 28px;
    line-height: 1.5;
    margin-bottom: 2rem;
    position: relative;
}
main p {
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
}
main::before {
    content: '';
    width: 60%;
    height: 90%;
    background: url(img/top/top.png) no-repeat center center;
    background-size: contain;
    position: absolute;
    right: 0;
    top: 72%;
    transform: translateY(-50%);
}





/* -------------------- リンクボックス -------------------- */
#top  #link_area h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

#bg_link {
    height: 500px;
    background: url(img/top/bg_top2.png) no-repeat center top;
    background-size: 100%;
    position: relative;
}

#link_area {
    width: 80%;
    position: absolute;
    top: -80px;
    right: 0;
}
#link_area > a {
    width: 100%;
    padding: 1.5rem 20px 1.5rem 36px;
    box-shadow: 3px 3px 3px 0 rgba(230, 0, 18, 0.5);
    position: relative;
    transition: all 0.3s;
}
#link_area > a::before {
    content: '';
    width: 86px;
    height: 100%;
    clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 36px 0%);
    background-color: rgba(0, 66, 137, 0.05);
    position: absolute;
    left: 0;
    bottom: 0;
    transition: all 0.3s;
}
#link_area > a:hover:before {
    background-color: rgba(0, 66, 137, 0.15);
}
#link_area > a::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s;
}
#link_area > a:hover::after {
    background-color: rgba(0, 0, 0, 0.25);
}

.link_text_sp {
    font-size: 12px;
}

.link_btn img,
#contact_area img {
    width: 25px;
    height: auto;
    transition: all 0.3s;
}
.link_btn img:last-child,
#link_area > a:hover .link_btn img:first-child {
    display: none;
}
#link_area > a:hover .link_btn img:last-child {
    display: inline-block;
}







/* -------------------- ニュース -------------------- */
/* .news_box {
    font-size: 14px;
}
.news_box ul  {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news_box ul li {
    padding: 20px 0;
    border-bottom: 1px solid #A0A0A0;
}
.news_box ul li > span {
    width: 100%;
    display: block;
}
.news_tag {
    color: #0055AF;
    font-size: 12px;
    border: 1px solid #0055AF;
    border-radius: 50px;
    padding: 2px 1rem;
    margin: 0 0 0 20px;
} */








/* -------------------- ポイント -------------------- */
#bg_point {
    background: url(img/top/bg_top.png) no-repeat center top;
    background-size: cover;
    padding: 180px 0 120px;
}

.point_box {
    counter-increment: item;
    margin-top: 1.5rem;
}
.point_box > a {
    width: 100%;
    position: relative;
}
/* .point_box > a::after {
    transition: all 0.3s;
} */
.point_box > a:hover::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 0;
    left: 0;
}

.point_bluebox {
    background-color: #004289;
    padding: 2rem 1rem 1.5rem;
}
.point_bluebox::before {
    content: "0"counter(item);
    color: rgba(255, 255, 255, 0.1);
    font-size: 5rem;
    font-family: "BIZ UDPGothic", sans-serif;
    font-weight: bold;
    line-height: 1;
    position: absolute;
    top: -0.75rem;
    left: -2rem;
}
#top  .point_bluebox h3 {
    font-size: 20px;
    margin-bottom: 1rem;
}
.point_bluebox p {
    font-size: 14px;
}


.point_bgbox {
    width: 100%;
    padding: 2rem;
}
#point_01 .point_bgbox {
    background: url(img/top/point_01.png) no-repeat center;
    background-size: cover;
}
#point_02 .point_bgbox {
    background: url(img/top/point_02.png) no-repeat center;
    background-size: cover;
}
#point_03 .point_bgbox {
    background: url(img/top/point_03.png) no-repeat center;
    background-size: cover;
}









/* -------------------- お問い合わせ -------------------- */
#contact_area {
    background: url(img/bg_contact.png) no-repeat center;
    background-size: cover;
    padding: 4rem 0 3rem;
    position: relative;
    display: block;
    transition: all 0.3s;
}
a#contact_area::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s;
}
a#contact_area:hover::after {
    background-color: rgba(0, 0, 0, 0.25);
}
#contact_area .title_mini,
#contact_area p:nth-child(3) {
    margin-bottom: 3rem;
}
#contact_area .title_mini {
    padding-left: 0;
    background: none;
}






/* -------------------- バナー -------------------- */
#banner_area {
    background: url(img/bg_gradation.png) no-repeat center #EEF6FF;
    background-size: cover;
    padding: 3rem 0 100px;
}
#banner_area a {
    max-width: 320px;
    margin: 0 auto 1rem;
    transition: all 0.3s;
}
#banner_area a:last-child {
    margin: 0 auto;
}
#banner_area a:hover {
    opacity: 0.5;
}
















/* ==================================================
レスポンシブ　sm 576px
==================================================*/
@media screen and (min-width: 576px) {

    /* -------------------- メイン -------------------- */
    main {
        min-height: 500px;
        padding: 10rem 15px;
    }
    main::before {
        width: 40%;
        height: 70%;
        top: 53%;
    }

    /* -------------------- バナー -------------------- */
    #banner_area {
        padding: 70px 0 120px;
    }
    #banner_area a {
        max-width: 100%;
        margin: 0 20px 0 0;
        transition: all 0.3s;
    }
    #banner_area a:last-child {
        margin: 0;
    }
    #banner_area a:hover {
        opacity: 0.5;
    }
}
















/* ==================================================
レスポンシブ　md 768px
==================================================*/
@media screen and (min-width: 768px) {

/* -------------------- ポイント -------------------- */
.point_bluebox {
    padding: 2rem 0 2rem 2.5rem;
}
.point_bgbox {
    width: 58.33333333%;
    padding: 0;
}
.point_bgbox::before {
    content: '';
    width: 130px;
    height: 100%;
    background-color: #004289;
    clip-path: polygon(0% 0%, 0% 100%, 100% 100%);
    position: absolute;
    top: 0;
    left: -1px;
}
.point_bgbox .btn_red {
    position: absolute;
    right: 20px;
    bottom: 2rem;
}
}


















/* ==================================================
レスポンシブ　lg 992px
==================================================*/
@media screen and (min-width: 992px) {

/* -------------------- メイン -------------------- */
#top h2 {
    font-size: 52px;
    letter-spacing: 0;
}

main {
    min-height: 600px;
    /* height: calc(100vh - 100px); */
    background: url(img/top/bg_main.png) no-repeat center #012347;
    background-size: cover;
    padding: 13rem 3rem;
}
main h1 {
    max-width: 1200px;
    font-size: 52px;
    line-height: 4rem;
    margin: 0 auto 50px;
}
main p {
    font-size: 1.5rem;
    line-height: 2rem;
}
main::before {
    content: '';
    width: 40%;
    height: 90%;
    background: url(img/top/top.png) no-repeat center center;
    background-size: contain;
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
}





/* -------------------- リンクボックス -------------------- */
#top  #link_area h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
#bg_link {
    height: 500px;
}
#link_area {
    width: auto;
    display: grid;
    grid-template-columns: 400px 400px;
    gap: 20px;
    right: 0;
}
#link_area > a {
    width: 400px;
    padding: 2rem 2rem 1.5rem;
}
#link_area > a::before {
    width: 80px;
    height: 154px;
    clip-path: polygon(0% 0%, 0% 100%, 100% 100%);
    bottom: 0;
}






/* -------------------- ポイント -------------------- */
#bg_point {
    padding: 180px 0 120px;
}
.point_box {
    margin-top: 2rem;
}
.point_bluebox {
    padding: 60px 0 60px 50px;
}
.point_bluebox::before {
    font-size: 128px;
    top: -1rem;
    left: -2.5rem;
}
#top  .point_bluebox h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.point_bluebox p {
    font-size: 1rem;
}




/* -------------------- お問い合わせ -------------------- */
#contact_area {
    background: url(img/bg_contact.png) no-repeat center;
    background-size: cover;
    padding: 4rem 0 3rem;
    position: relative;
    display: block;
    transition: all 0.3s;
}
a#contact_area::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s;
}
a#contact_area:hover::after {
    background-color: rgba(0, 0, 0, 0.25);
}
#contact_area .title_mini,
#contact_area p:nth-child(3) {
    margin-bottom: 3rem;
}
#contact_area .title_mini {
    padding-left: 0;
    background: none;
}
}


















/* ==================================================
レスポンシブ　xl 1200px
==================================================*/
@media screen and (min-width: 1200px) {

    /* -------------------- メイン -------------------- */
    main {
        padding: 15rem 3rem;
    }

    /* -------------------- リンクボックス -------------------- */
    #link_area {
        right: calc((100% - 1200px) / 2);
    }
}













/* ==================================================
レスポンシブ　 1500px
==================================================*/
@media screen and (min-width: 1500px) {
    /* -------------------- リンクボックス -------------------- */
    #link_area {
        right: calc((100% - 1500px) / 2);
    }
    #bg_link {
        background: url(img/top/bg_top2.png) no-repeat center bottom;
        background-size: 100%;
    }
}