/*スライダー*/
.swiper{
    width: 100%;
}

.swiper-slide img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-prev, .swiper-button-next{
    width: 36px;
    height: 36px;
    background: none;
    color: transparent;
}

.swiper-button-prev{
    left: 20px !important;
}

.swiper-button-next{
    right: 20px !important;
}

.swiper-button-prev img, .swiper-button-next img{
    width: 100%;
    height: 100%;
    display: block;
}

.swiper-pagination-bullet{
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active{
    opacity: 1;
}

/*青背景*/
.kyosai-block{
    background-color: #e1effb;
    padding: 20px 0;
}

/*共済リンク*/
.kyosai-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 10px;
    align-items: stretch;
    text-align: center;
    max-width: 1240px;
    margin: 20px auto;
    font-weight: bold;
}

.life-new{
    grid-column: 1;
    grid-row: 1;
}

.life{
    grid-column: 2;
    grid-row: 1;
}

.life-plus{
    position: relative;
    grid-column: 1 / span 2;
    grid-row: 2;
}

.child{
    grid-column: 3;
    grid-row: 1;
}

.matureage{
    grid-column: 4;
    grid-row: 1;
}

.fire{
    grid-column: 3 / span 2;
    grid-row: 2;
}

.kyosai-container section{
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #fff;
}

.kyosai-container section a:first-child:hover{
    filter: brightness(0.95);
}

.kyosai-container a{
    display: block;
    height: 100%;
    padding: 0 15px 15px 15px;
    color: #fff;
    border-radius: 10px;
}

.life-new a{
    background-color: #3e6ce3;
}

.life a{
    background-color: #5d97f1;
}

.child a{
    background-color: #e88db0;
}

.matureage a{
    background-color: #b688fe;
}

.fire a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    padding: 10px;
    margin: 0 auto;
    background-color: #c5801d;
}

.life-plus a{
    padding: 0;
}

.kyosai-container h2{
    font-size: 2.6rem;
}

.fire h2{
    font-size: 2rem;
}

.catchphrase{
    font-size: 1.4rem;
}

.large-number{
    font-size: 2.2rem;
}

.kyosai-target{
    text-align: left;
    margin: 10px auto;
}

.kyosai-target h3{
    display: inline-block;
    padding: 5px;
    line-height: 1;
    font-size: 1.4rem;
    border: #fff 1px solid;
    border-radius: 5px;
}

.course{
    padding: 10px;
    line-height: 1.3;
    background-color: #fff;
    border: #fff 1px solid;
    border-radius: 5px;
}

.child-course{
    color: #e88db0;
}

.life-new-course{
    color: #3e6ce3;
}

.life-course{
    color: #5d97f1;
}

.plus-mark{
    transform: translateX(-50%);
    font-size: 6rem;
    line-height: 1;
    color: #58c373;
    -webkit-text-stroke: 2px #fff;
    text-shadow: 0 0 2px #fff;
    position: absolute;
    top: -3.5rem;
    left: 50%;
    z-index: 2;
}

.plus-course{
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 10px;
    line-height: 1.3;
    background-color: #58c373;
    border-radius: 10px;
    margin: 10px auto 0;
    position: relative;
    z-index: 1;
}

.plus-course:hover{
    filter: brightness(1.1)
}

.plus-course h3{
    display: inline-block;
    font-size: 2rem;
}

.matureage-course{
    color: #b688fe;
}

.fire-course{
    color: #c5801d;
    text-align: left;
}

.brackets{
    align-self: flex-end;
}

.icon-space{
    height: 2.5rem;
    margin-top: -1.2rem;
}

.icon-space small{
    width: fit-content;
    margin: 0 auto;
    padding: 3px 10px;
    color: #fff;
    background-color: #ff8900;
    border-radius: 20px;
}

/*資料請求ボタン・ネット申し込みボタン*/
.procedure-container{
    display: flex;
    justify-content: center;
    gap: 20px;
    font-weight: bold;
    margin: 40px auto;
}

.procedure-container section{
    flex: 0 1 455px;
}

.procedure-container a {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    color: #fff;
}

.procedure-container a:hover{
    filter: brightness(1.1);
}

.procedure-container h2{
    font-size: 2.6rem;
}

.shiryo-kyosai a{
    background-color: #4b89eb;
}

.signup a{
    background-color: #01bb00;
}

/*こんな理由で選ばれています*/
.kenminkyosai {
    margin-bottom: 80px;
    position: relative;
    padding: 16px 0 56px;
    margin-top: 80px;
    text-align: center;
    background: #fce2c4;
}

.kenminkyosai__text {
    color: #ff931e;
    font-size: 24px;
    font-weight: bold;
}

.btn__double.link-opacity {
    color: #fff;
}

.kenminkyosai .btn {
    position: absolute;
    top: 64px;
    left: 50%;
    transform: translateX(-50%);
}

.btn__double {
    padding: 4px;
    color: #fff;
    font-size: 22px;
    background: linear-gradient(#6099f2, #387ce5);
    border-radius: 13px;
}

.btn {
    display: inline-block;
    color: #115cb9;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.btn__double .innner-line {
    display: inline-block;
    padding: 20px;
    border: 1px solid #fff;
    border-radius: 11px;
}


.kenminkyosai__left-img {
    position: absolute;
    top: -30px;
    left: 50%;
    width: 130px;
    margin-left: -240px;
    transform: translateX(-50%);
}

.kenminkyosai__right-img {
    position: absolute;
    top: -30px;
    left: 50%;
    width: 130px;
    margin-left: 240px;
    transform: translateX(-50%);
}

/*青背景*/
.member-info-block{
    background-color: #e1effb;
    padding: 20px 0;
}

/*ご加入者の方へ・共済金をご請求される方へ*/
.member-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    gap: 0;
    max-width: 1240px;
    margin: 20px auto;
    font-weight: bold;
}

.member-container a:hover{
    opacity: 0.9;
}

.member-container h2{
    font-size: 2.6rem;
}

.account h2, .benefit h2{
    color: #fff;
}

.member-text{
    text-align: center;
    padding: 20px;
}

.member-container a {
    padding: 10px;
    text-align: center;
    border-radius: 10px;
}

.button-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.button-container p{
    display: flex;
    justify-content: center;
    align-items: center;
}

.button-container img{
    margin-right: 5px;
}

.account{
    background-color: #3d7ede;
}

.benefit{
    background-color: #689dee;
}

.member-gap-line, .member-gap, .account-procedure, .benefit-tel, .benefit-net{
    grid-column: 1 / span 2;
}

.account a, .benefit a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    font-size: 2rem;
    border-radius: 10px;
    padding: 10px 20px;
    text-align: center;
}

a.account-login{
    color: #fff;
    background-color: #ff7f00;
    border: none;
}

.member-container a.account-login:hover{
    opacity: 1;
    filter: brightness(1.1);
}

a.account-registration, a.account-procedure, a.benefit-tel, a.benefit-net{
    color: #135cb5;
    background-color: #fff;
}

.member-gap-line{
    border-top: 1px #fff solid;
}

/*県民共済について・よくあるご質問・全国に広がる県民共済・知っておきたい保障のこと・お問い合わせ・新卒採用情報*/
.info-container{
    margin: 40px auto 20px;
}

.info{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.info-container a{
    display: flex;
    align-items: center;
    text-align: center;
    width: 300px;
    padding: 20px;
    color: #135cb5;
    background-color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    border-radius: 10px;
    border: 1px #135cb5 solid;
}

.info-container a:hover{
    opacity: 0.9;
}

.info-container img{
    margin-right: 5px;
}

/*お知らせ*/
.news-container{
    text-align: center;
    margin: 40px auto;
}

.news-container h2{
    font-size: 2.6rem;
}

/*お知らせ一覧*/
.news{
    margin-bottom: 40px;
}

.news-list{
    width: 940px;
    text-align: left;
    margin: 20px auto;
}

.news-list li{
    display: block;
    border-bottom: 1px #ccc solid;
}

.news-list li:last-child{
    border-bottom: none;
}

.news-container .news-list li:hover{
    background-color: #fafafa;
}

.service-container .news-list li:hover{
    background-color: #faebd7;
}

.news-list a, .no-link{
    display: block;
    padding: 20px 40px;
}

.news-date{
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    line-height: 1;
    gap: 0.5rem;
    margin-bottom: 5px;
}

.badge-orange, .badge-red{
    display: flex;
    align-items: center;
    justify-content:center;
    width: 5rem;
    height: 20px;
    font-size: 1.2rem;
    color: #fff;
    border-radius: 10px;
}

.badge-orange{
    font-weight: bold;
    background-color: #ff8900;
}

.badge-red{
    color: #f00;
    border: 1px #f00 solid;
}

.alert-list{
    width: fit-content;
    margin: 20px auto;
}

.alert-list li{
    padding: 10px;
    margin-bottom: 10px;
    border: 1px #f00 solid;
}

.alert-list li:last-child{
    margin-bottom: 0;
}

.alert-list a{
    color: #f00;
    font-weight: bold;
}

.alert-list a:hover{
    text-decoration: underline;
}

/*背景ベージュ*/
.service-block{
    background-color: #f8f1e7;
    padding: 20px 0;
}

/*ご加入者サービス*/
.service-container{
    text-align: center;
    margin: 20px auto;
}

.service-container h2{
    font-size: 2.6rem;
}

.service-text{
    display: inline-block;
    text-align: left;
    margin: 20px 20px 10px;
}

.shoplist{
    display: block;
    width: 200px;
    text-align: center;
    color: #fff;
    background-color: #806943;
    margin: 10px auto 20px;
    padding: 10px;
    border-radius: 10px;
}

.shoplist:hover{
    filter: brightness(1.1);
}

.service-link{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 960px;
    margin: 20px auto;
}

.service-link a{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 300px;
    padding: 0;
    color: #806943;
    background-color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 10px;
    border: 1px #806943 solid;
}

.service-link a:hover{
    filter: brightness(1.1);
}

.service-link img{
    display: block;
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.service-container small{
    display: inline-block;
    text-align: left;
    text-indent: -1rem;
    padding-left: 1rem;
    margin: 0 40px;
}

/*フローティングお問い合わせ*/
.floating-contact{
    display: none;
}

/*960px以下*/
@media screen and (max-width: 960px){
    /*スライダー*/
    .swiper-button-prev, .swiper-button-next{
        width: 25px;
        height: 25px;
        top: calc(50% + 9px) !important;
    }

    .swiper-button-prev{
        left: 5px !important;
    }

    .swiper-button-next{
        right: 5px !important;
    }

    /*共済リンク*/
    .kyosai-container{
        grid-template-columns: repeat(2, 1fr);
        width: calc(100% - 20px);
        margin: 0 auto;
    }

    .kyosai-container a{
        padding: 0 10px 10px 10px;
    }

    .fire a{
        padding: 10px;
        width: 80%;
    }

    .life-new{
        grid-column: 1;
        grid-row: 1;
    }

    .life{
        grid-column: 2;
        grid-row: 1;
    }

    .life-plus{
        grid-column: 1 / span 2;
        grid-row: 2;
    }

    .child{
        grid-column: 1;
        grid-row: 3;
    }

    .matureage{
        grid-column: 2;
        grid-row: 3;
    }

    .fire{
        grid-column: 1 / span 2;
        grid-row: 4;
    }

    .catchphrase{
        display: flex;
        flex-direction: column;
    }

    .large-number{
        font-size: 2rem;
    }

    .life-new .catchphrase, .life .catchphrase, .child .catchphrase, .matureage .catchphrase{
        display: none;
    }

    .kyosai-target, .course, .plus-course{
        margin: 0 auto;
    }

    .course{
        padding: 5px;
        font-size: 1.1rem;
    }

    .plus-course{
        width: 80%;
        padding-bottom: 0;
    }

    .plus-mark{
        font-size: 3.5rem;
        top: -2.5rem;
    }

    .kyosai-container h2{
        font-size: 2rem;
    }

    .kyosai-target{
        min-height: 0;
        margin: 10px auto;
    }

    .kyosai-target p{
        display: flex;
        flex-direction: column;
        line-height: 1.4;
    }

    /*資料請求ボタン・ネット申し込みボタン*/
    .procedure-container{
        flex-direction: column;
        margin: 10px;
        font-size: 1.4rem;
    }

    .procedure-container section{
        flex: 1;
    }

    .procedure-container a {
        width: 80%;
        margin: 0 auto;
    }

    .procedure-container h2{
        font-size: 2rem;
    }

    .procedure-container p{
        display: flex;
        flex-direction: column;
    }

    /*こんな理由で選ばれています*/
    .kenminkyosai {
        padding: 16px 0 40px;
    }

    .kenminkyosai__text {
        font-size: 14px;
    }

    .kenminkyosai .btn {
        top: 48px;
    }

    .btn__double {
        width: 270px;
        font-size: 16px;
    }

    .btn {
        box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .btn__double .innner-line {
        display: block;
        padding: 16px;
    }


    .kenminkyosai__left-img {
        width: 80px;
        margin-left: -140px;
    }

    .kenminkyosai__right-img {
        width: 80px;
        margin-left: 140px;
    }

    .promotion-container{
        margin: 0 auto;
    }

    .promotion-container section{
        grid-template-columns: 1fr;
    }

    .promotion-image{
        order: -1;
    }

    .consider h2{
        font-size: 2rem;
    }

    .consider ul{
        font-size: 1.6rem;
        margin: 10px auto;
    }

    /*青背景*/
    .member-info-block{
        padding: 0 0 20px;
    }

    /*ご加入者の方へ・共済金をご請求される方へ*/
    .member-container{
        grid-template-columns: 1fr;
        margin: 0 auto;
    }

    .member-container section{
        padding: 10px 0;
    }

    .member-container a {
        width: 80%;
        margin: 0 auto;
    }

    .member-text{
        padding: 10px;
    }

    .button-container{
        grid-template-columns: 1fr;
    }

    .member-gap-line, .member-gap, .account-procedure, .benefit-tel, .benefit-net{
        grid-column: auto;
    }

    /*県民共済について・よくあるご質問・全国に広がる県民共済・知っておきたい保障のこと・お問い合わせ・新卒採用情報*/
    .info-container{
        margin: 0 auto;
        margin: 10px;
    }

    .info-container a{
        width: 80%;
        margin: 0 auto;
    }

    .info{
        gap: 10px;
        margin-top: 20px;
    }

    /*お知らせ*/
    .news-container{
        margin: 20px auto;
    }

    /*お知らせ一覧*/
    .news{
        margin-bottom: 20px;
    }

    .news-list{
        width: calc(100% - 20px);
        margin: 0 auto;
    }

    .news-list a, .no-link{
        padding: 10px;
    }

    .alert{
        padding: 10px;
    }

    .alert-list{
        width: 80%;
        margin: 0 auto;
    }

    /*背景ベージュ*/
    .service-block{
        padding: 20px 0;
    }

    /*ご加入者サービス*/
    .service-container{
        margin: 0 auto;
    }

    .service-text{
        margin: 10px 10px 5px;
    }

    /*フローティングお問い合わせ*/
    .floating-contact{
        display: block;
        position: fixed;
        bottom: 10%;
        right: 0;
        background-color: #fff;
        writing-mode: vertical-rl;
        border-radius: 10px 0 0 10px;
        border-top: 2px #005693 solid;
        border-bottom: 2px #005693 solid;
        border-left: 2px #005693 solid;
    }

    .floating-contact img{
        width: 25px;
        margin-bottom: 5px;
    }

    .floating-contact a{
        display: block;
        width: 100%;
        height: 100%;
        padding: 8px;
        color: #005693;
        font-size: 1.4rem;
        font-weight: bold;
    }
}