@charset "UTF-8";

/* 下層ページ共通部分 */
.container.under_page {
    line-height: 1.5;
    letter-spacing: 0.16em;
    padding-top: 118px;
}

ul.att {
    margin: 0 auto;
}

.sub_ttl {
    font-size: 26px;
    text-align: center;
}

.txt {
    font-size: 18px;
    text-align: center;
}

@media only screen and (max-width: 1024px) {
    .container.under_page {
        padding-top: 158px;
    }
}

@media only screen and (max-width: 767px) {
    .container.under_page {
        padding-top: 0;
    }

    .sub_ttl {
        font-size: 20px;
    }

    .txt {
        font-size: 14px;
    }
}

/* 下層ページ共通部分ここまで */

.main {
    background-image: url(../img/con_img01.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 67%;
    position: relative;
    z-index: 5;
}

.main::after {
    content: "";
    display: block;
    width: 100%;
    height: 20px;
    background: #264a94;
    position: absolute;
    bottom: -10px;
    left: 0;
    z-index: 10;
}

.main .main_copy {
    width: 38%;
    max-width: 576px;
    position: absolute;
    left: 4%;
    top: 7%;
}

.life_style {
    background: #264a94;
    padding: 100px 0;
}

.life_style_txt {
    width: 48%;
    max-width: 661px;
    margin: 0 auto;
}

.life_style .sub_ttl {
    margin-top: 70px;
}

.life_style .gradation {
    background: -moz-linear-gradient(0deg, rgb(223, 241, 251) 0%, rgb(137, 196, 206) 100%);
    background: -webkit-linear-gradient(0deg, rgb(223, 241, 251) 0%, rgb(137, 196, 206) 100%);
    background: -ms-linear-gradient(0deg, rgb(223, 241, 251) 0%, rgb(137, 196, 206) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.life_style .txt {
    line-height: 2.5;
    margin-top: 40px;
}

.img_Box ul {
    flex-wrap: wrap;
}

.img_Box ul li {
    width: calc(100% / 4);
    position: relative;
}

.img_Box ul li figure {
    position: relative;
}

.img_Box ul li:not(:last-of-type)::after {
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    background: #264a94;
    position: absolute;
    top: 0;
    right: 0;
}

.tab_sp {
    display: none;
}

@media only screen and (max-width: 820px) {
.tab_sp {
    display: block;
}
}

@media only screen and (max-width: 767px) {
    .main {
        background-image: url(../img/con_img01_sp.jpg);
        padding-bottom: 115%;
    }

    .main .main_copy {
        width: 88%;
        top: 4%;
        left: 50%;
        transform: translateX(-50%);
    }

    .life_style {
        padding: 30px 0 50px 0;
    }

    .life_style_txt {
        width: 70%;
    }

    .life_style .sub_ttl {
        margin-top: 40px;
    }

    .life_style .txt {
        margin-top: 20px;
    }

    .img_Box ul li {
        width: calc(100% / 2);
    }

    .img_Box ul li:nth-of-type(2)::after {
        content: none;
    }
}