@charset "UTF-8";
/* CSS Document */

#slider {
    width: 100%;
    height: calc(100vh - 107px);/*スライダー全体の縦幅を91vhにする*/
}
.vegas-slide-inner {
    background-size: 100%;
}

.h1_top {
    font-family: "Kiwi Maru", serif;
    font-weight: 500;
    font-size: 210%;
    text-align: center;
    color: #0068B4;
    line-height: 1.2em;
    margin-bottom: 1em;
}
.h1_top span {
    display: block;
    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    font-size: 22px;
    color: #EB4800;
}

/*取扱保険会社*/
#product {
    background: #FFF;
    padding: 5em 1em;
}
.bnr-col2 {
    display: flex;
    justify-content: space-between;
    margin: 0 auto 1em;
    max-width: 500px;
}
.bnr-col2 a {
    width: calc((100% - 20px) / 2);
    display: block;
}
.bnr-col5 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 1em;
}
.bnr-col5 a {
    width: calc((100% - 60px) / 5);
    display: block;
}

.bnr-product {
    max-width: 915px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.bnr-product .bnr-list4 {
    width: 51%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.bnr-product .bnr-list4 a {
    width: calc((100% - 15px) / 2);
    display: block;
    margin-bottom: 5px;
}
.bnr-product .bnr-list2 {
    width: 47%;
    display: flex;
    justify-content: space-between;
}
.bnr-product .bnr-list2 a {
    width: calc((100% - 15px) / 2);
    display: block;
}
.bnr-product img {
    border: 1px solid #999;
}

@media screen and (max-width: 780px) {
    .bnr-col5 a{
        width: calc((100% - 30px) / 3);
    }
}

@media screen and (max-width: 580px) {
    .bnr-col5 a {
        width: calc((100% - 20px) / 2);
    }
    
    .bnr-col2 img,
    .bnr-col5 img {
        width: 100%;
    }
    
    .bnr-product {
        display: block;
    }
    .bnr-product .bnr-list4,
    .bnr-product .bnr-list2{
        width: 100%;
    }
}


/*取扱い商品*/
#insurance {
    background: #E7F4FF;
    text-align: center;
    padding: 5em 1em;
}
.insurance-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 2em 0;
}
.insurance-menu a {
    display: block;
    width: calc((100% - 60px) / 4);
    padding: 2.5em 1em;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    font-family: "Kiwi Maru", serif;
    line-height: 1.3em;
    font-size: 115%;
}
.insurance-menu a span {
    font-family: "Fredoka", sans-serif;
    color: #EB4800;
    font-size: 15px;
    display: block;
}
/*.insurance-menu a img{
    display: block;
    margin: 0 auto;
    height: 100px;
    width: 100px;
}*/
.insurance-menu a:hover {
    background: /*#EEE*/#FFEFDE;
}

.insurance-menu .car,
.insurance-menu .house,
.insurance-menu .travel,
.insurance-menu .health{
    position: relative;
    padding-top: calc(2em + 120px);
}
.insurance-menu .car:before {
    content: "";
    background: url("../img/img_car.svg") no-repeat center;
    background-size: contain;
    width: 114px;
    height: 79px;
    display: block;
    vertical-align: middle;
    position: absolute;
    top: 3em;
    left: 50%;
    transform: translateX(-50%);
}
.insurance-menu .house:before {
    content: "";
    background: url("../img/img_house.svg") no-repeat center;
    background-size: contain;
    width: 95px;
    height: 93px;
    display: block;
    vertical-align: middle;
    position: absolute;
    top: 2em;
    left: 50%;
    transform: translateX(-50%);
}
.insurance-menu .travel:before {
    content: "";
    background: url("../img/img_travel.svg") no-repeat center;
    background-size: contain;
    width: 105px;
    height: 76px;
    display: block;
    vertical-align: middle;
    position: absolute;
    top: 3em;
    left: 50%;
    transform: translateX(-50%);
}
.insurance-menu .health:before {
    content: "";
    background: url("../img/img_health.svg") no-repeat center;
    background-size: contain;
    width: 93px;
    height: 100px;
    display: block;
    vertical-align: middle;
    position: absolute;
    top: 2em;
    left: 50%;
    transform: translateX(-50%);
}

.btn_faq {
    border-radius: 50px;
    background: #fff;
    border: 2px solid #0068b4;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    font-family: "Kiwi Maru";
    font-weight: 500;
    font-size: 145%;
    text-align: center;
    color: #0068b4;
    padding: 0.85em 3em 0.85em 1em;
    display: block;
    max-width: 490px;
    margin: 0 auto;
    position: relative;
}
.btn_faq:before{
    content: "";
    background: url("../img/ico_faq.svg") no-repeat center;
    background-size: contain;
    width: 47px;
    height: 38px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 1em;
}
.btn_faq:after {
    content: "";
    background: url("../cmn/img/icon01.svg") no-repeat center;
    background-size: contain;
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
}
.btn_faq:hover {
    color: #FFF;
    background: #0068b4;
}
.btn_faq:hover:after {
    content: "";
    background: url("../cmn/img/icon02.svg") no-repeat center;
}
.btn_faq:hover:before{
    content: "";
    background: url("../img/ico_faq_on.svg") no-repeat center;
}

@media screen and (max-width: 780px) {
    .insurance-menu a {
        width: calc((100% - 20px) / 2);
        margin-bottom: 20px;
    }
}



/*事故にあったら*/
#accident {
    background: #FFF2F2;
    padding: 5em 1em;
}
#accident .h2_accident {
    font-weight: 700;
    font-size: 178%;
    text-align: center;
    color: #0068b4;
    margin: 1em;
    position: relative;
}
#accident .h2_accident:before {
    content: "";
    background: url("../img/ico_accident01.svg") no-repeat center;
    background-size: contain;
    width: 112px;
    height: 50px;
    display: block;
    margin:  0 auto 1em;
}

.box_call {
    max-width: 1100px;
    margin: 2em auto;
    border-radius: 24px;
    background-color: #fff;
    background-image:  url("../img/bg_accident.jpg");
    background-repeat: no-repeat;
    background-position: center right -20%;
    background-size: auto 100%;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    padding: 2em 3em 3em;
}
.box_call .inner {
    width: 52%;
}
.box_call h3 {
    background: #0068B4;
    color: #FFF;
    text-align: center;
    border-radius: 30px;
    padding: 5px;
    margin: 1em 0;
}
.box_call .number {
    font-weight: 700;
    font-size: 190%;
    color: #E63034;
    padding: 7px 0;
    border-bottom: 1px solid #999;
    margin-bottom: 15px;
}
.box_call .number:before {
    content: "";
    background: url("../img/ico_call.svg") no-repeat center;
    background-size: contain;
    width: 23px;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}
.box_call .number span {
    font-size: 18px;
    margin-left: 1em;
    color: #333;
    font-weight: 400;
}
.box_call .noB {
    border-bottom: none;
    margin-bottom: 0;
}

.btn_accident {
    border-radius: 50px;
    background: #0068B4;
    border: 2px solid #0068b4;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    font-family: "Kiwi Maru";
    font-weight: 500;
    font-size: 145%;
    text-align: center;
    color: #FFF;
    padding: 0.85em 3em 0.85em 1em;
    display: block;
    max-width: 490px;
    margin: 0 auto;
    position: relative;
}
.btn_accident:before{
    content: "";
    background: url("../img/ico_accident02.svg") no-repeat center;
    background-size: contain;
    width: 86px;
    height: 36px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 1em;
}
.btn_accident:after {
    content: "";
    background: url("../cmn/img/icon02.svg") no-repeat center;
    background-size: contain;
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
}
.btn_accident:hover {
    color: #0068B4;
    background: #E7F3FF;
}
.btn_accident:hover:after {
    content: "";
    background: url("../cmn/img/icon03.svg") no-repeat center;
}
.btn_accident:hover:before{
    content: "";
    background: url("../img/ico_accident02_on.svg") no-repeat center;
}

@media screen and (max-width: 1000px) {
    .box_call {
        background-image: none;
    }
    .box_call .inner {
        width: 100%;
    }
}
@media screen and (max-width: 580px) {
    .box_call {
        padding: 1.5em;
    }
    .box_call .number span {
        display: block;
    }
}



/*新着情報*/
#news {
    background-color: #E7F3FF;
    background-image: url("../img/bg_news.png");
    background-repeat: repeat-x;
    background-position: center bottom;
    padding: 5em 1em 180px;
}
#news .inner_news {
    max-width: 1100px;
    margin: 0 auto 2em;
    background: #FFF;
    padding: 3em;
}
#news .inner_news iframe {
    max-width: 900px;
    margin: 0 auto;
}
#news .inner_voice {
    max-width: 1100px;
    margin: 0 auto;
}
#news iframe {
    border: none;
    box-shadow: none;
    display: block;
}
.btn_news {
    font-weight: bold;
    text-align: center;
    color: #0068b4;
    border-radius: 5px;
    background: #fff;
    border: 2px solid #0068b4;
    padding: 1em;
    display: block;
    max-width: 250px;
    margin: 1em auto;
}
.btn_news:before {
    content: "";
    background: url("../img/ico_news.svg") no-repeat center;
    background-size: contain;
    width: 20px;
    height: 15px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 1em;
}
.btn_news:hover {
    background: #0068b4;
    color: #FFF;
}
.btn_news:hover:before {
    content: "";
    background: url("../img/ico_news_on.svg") no-repeat center;
}

@media screen and (max-width: 1000px) {
    #news .inner_voice {
        overflow-x: auto;
        width: 100%;
    }
    #news .inner_voice iframe {
        width: 1100px;
    }
}

@media screen and (max-width: 780px) {
    #news .inner_voice iframe {
        width: 950px;
    }
}


/*会社情報*/
#company {
    background: #EEE;
    padding: 5em 1em 1em;
}
.c-menu {
    max-width: 1100px;
    margin: 2em auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.c-menu li {
    background: #fff;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    width: calc((100% - 80px) /3);
    margin-bottom: 20px;
}
.c-menu li a {
    display: block;
    font-family: "Kiwi Maru";
    font-weight: 500;
    font-size: 122%;
    text-align: left;
    color: #0068b4;
    padding: 1em;
    position: relative;
}
.c-menu li a:after {
    content: "";
    background: url("../cmn/img/icon01.svg") no-repeat center;
    background-size: contain;
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
}
.c-menu li a:hover {
    color: #FFF;
    background: #0068b4;
}
.c-menu li a:hover:after {
    content: "";
    background: url("../cmn/img/icon02.svg") no-repeat center;
    background-size: contain;
    width: 18px;
    height: 18px;
}

@media screen and (max-width: 780px) {
    .c-menu li {
        width: calc((100% - 20px) / 2);
    }
}

@media screen and (max-width: 580px) {
    .c-menu {
        display: block;
    }
    .c-menu li {
        width: 100%;
    }
}


footer {
   /* margin-top: -200px;
    z-index: 10px;
    position: relative;*/
    position: relative;
}
/*footer {
    content: "";
    background: #EEE;
    height: 200px;
    display: block;
    width: 100%;
}*/
footer:before {
    content: "";
    background: #EEE;
    height: 400px;
    width: 100%;
    display: block;
    position: absolute;
    z-index: -2;
    top: -200px;
}