@charset "utf-8";
/*--------------------------------------------
All
---------------------------------------------*/
html {
    scroll-behavior: smooth;
}
/*print*/
@media print {
    a[href]:after {
      content: "" !important;
    }
    abbr[title]:after {
      content: "" !important;
    }
}

/*===== FONT =====*/
body{
    font-family: 'Noto Sans JP', sans-serif !important;
    color: #3E3A39 !important;
}
html,body {
    font-size: 16px;
}
h1, h2, h3, h4, h5, h6,p,code, kbd, pre, samp,table{
    font-family: 'Noto Sans JP', sans-serif !important;
}
p,span,li,th,tr,label{
    font-size: .975rem;
    letter-spacing: .3px;
}
h1{
    margin: 0 !important;
}
h1, h2, h3, h4, h5, h6{
    text-align: justify;
}
h4,h5,h6{
    margin-bottom: 0 !important;
}
p{
    margin: 0 !important;
    text-align: justify;
}
ul{
    list-style: none;
    margin-bottom: 0 !important;
    margin: 0;
    padding: 0;
}
@media screen and (max-width:480px) {
    p,span,li,th,tr,label{
        font-size: .875rem;
    }
}

/*aタグ*/
a,.widget a,.widget a:hover{
    color: unset!important;
    text-decoration: none;
    outline: none;
}
a:focus, *:focus {
    outline:none!important;
}
a:visited{
    text-decoration: none;
    outline: none;
    color: unset;
}
a:focus, *:focus {
    outline:none;
}
a:hover {
    opacity: .8;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    text-decoration: none !important;
    outline: none;
}
/*display*/
/*.display-32{
    font-size: 2rem;
}*/
.display-30{
    font-size: 1.875rem;
}
.display-28{
    font-size: 1.75rem;
}
.display-24{
    font-size: 1.5rem;
}
.display-22{
    font-size: 1.375rem;
}
.display-20{
    font-size: 1.25rem;
}
.display-18{
    font-size: 1.125rem;
}
/*.display-16{
    font-size: 1rem!important;
}*/
.display-14{
    font-size: .875rem;
}
/*.display-12{
    font-size: .75rem;
}*/
.display-11{
    font-size: .687rem;
}
@media screen and (max-width:991px) {
    h3 {
        font-size: 1.5rem !important;
    }
    h4{
        font-size: 1.25rem !important;
    }
    .display-30 {
        font-size: 1.5rem;
    }
    .display-24 {
        font-size: 1.25rem;
    }
    .display-22{
        font-size: 1.125rem;
    }
    .display-20{
        font-size: 1rem;
    }
    .display-18{
        font-size: .9rem;
    }
}
@media screen and (max-width:480px) {
	h3 {
        font-size: 1.3rem !important;
    }
    h4{
        font-size: 1.15rem !important;
    }
    .display-30 {
        font-size: 1.2rem;
    }
    .display-28{
        font-size: 1.25rem;
    }
    .display-24 {
        font-size: 1.15rem;
    }
	.display-22{
        font-size: 1rem;
    }
}

/*line-height*/
li,h1,h2,h3,h4,h5,h6{
    line-height: 1.5 !important;
}
p{
    line-height: 1.8;
}
.line01{
    line-height: 1 !important;
}
.line013{
    line-height: 1.3 !important;
}
.line015{
    line-height: 1.5 !important;
}
@media screen and (max-width:480px) {
    li,h1,h2,h3,h4,h5,h6{
        line-height: 1.6 !important;
    }
    p{
        line-height: 1.8;
    }
}

/*letter-spacing:*/
.letter005{
    letter-spacing: .05rem;
}
.letter01{
    letter-spacing: .1rem;
}
.letter02{
    letter-spacing: .2rem;
}

/*===== COLOR =====*/
/*text*/
.text-key{
    color:#004BB1 !important;
}
.text-gray{
    color: #F4F4F4 !important;
}
.text-red{
    color:#E1242A !important;
}

/*background*/
.bg-key{
    background-color:#004BB1;
}
.bg-red{
    background-color:#E1242A;
}
.bg-yellow{
    background-color:#FFFDE5;
}
.bg-pink{
    background-color:#FEF3F4;
}
.bg-blue{
    background-color:#F6F7FB;
}
.bg-yellow{
    background-color:#F8F6E7;
}
.bg-gray{
    background-color: #e4e4e4;
}

/*======= 他装飾 ======*/
/*more_btn*/
.more_btn_wrapper{
    display: flex;
    justify-content: center;
}
.more_btn{
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #E1242A;
    background-color: #E1242A;
    padding: .5rem 2.5rem .7rem 2.5rem;
    position: relative;
    color: #fff !important;
    border-radius: 2rem;
}
.more_btn::after {
    font-family: "Font Awesome 5 Free";
    content: '\f0da';
    font-weight: 600;
    font-size: 1.3rem;
    color: #fff;
    position: absolute;
    top: 50%;
    right: 1.2rem;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
.more_btn:hover{
    background-color: #fff;
    opacity: 1;
    color: #E1242A !important;
    transition: all 0.3s ease;
}
.more_btn:hover p{
    color: #000 !important;
}
.more_btn:hover::after{
    color: #E1242A !important;
}

.more_btn.more_btn_blue{
    border: 1px solid #004BB1;
    background-color: #004BB1;
}
.more_btn.more_btn_blue:hover,.more_btn.more_btn_blue:hover::after{
    color: #004BB1 !important;
}
.more_btn.more_btn_blue:hover{
    background-color: #fff;
}

/*border*/
.border_key{
    position: relative;
}
.border_key::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 100%;
    background: #707070;
    z-index:0;
}
#dantailp .border_key::after{
    height: 4px;
}
/*.border_key::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 75px; /* 2色の幅（調整可） */
    /*background: linear-gradient(to right, red 50%, blue 50%);
    z-index: 1;
}*/

@media screen and (max-width:480px) {
	#site-content .rounded-pill {
	  border-radius: 1rem !important;
	}
}

/*width*/
.w-sm-75{
    width: 75%;
}   
@media screen and (max-width:480px) {
    .w-sm-75{
        width: 100%;
    }   
}
.w-lg-75{
    width: 75%;
}   
@media screen and (max-width:991px) {
    .w-lg-75{
        width: 100%;
    }   
}

/*======= コンテンツ ======*/
.row{
    margin: 0!important;
}
/*コンテンツ縦スペース*/
.inner{
    padding: 6.25rem 0;
}
@media screen and (min-width:992px){
    /*コンテンツ横スペース*/
    .container {
        max-width: 1150px !important;
        padding: 0;
    }
    /*コンテンツ縦スペース*/
    .inner{
        padding: 3rem 0;
    }
}
@media screen and (max-width:991px) {
    /*コンテンツ横スペース*/
    .container {
        max-width: 900px !important;
    }
    /*コンテンツ縦スペース*/
    .inner{
        padding: 1.75rem 0;
    }
}
@media screen and (max-width:779px) {
    /*コンテンツ横スペース*/
    .container {
        padding: 0 1.25rem !important;
    }
}
@media screen and (max-width:480px) {
    /*コンテンツ横スペース*/
    .container {
        padding: 0 1rem !important;
    }
}

/*table*/
table{
    margin: 0;
    border: none;
}
th{
    padding: 1rem;
    border: .08rem solid #2a2b31;
}
td{
    padding: 1rem;
    border-top: .08rem solid #2a2b31;
    border-bottom: .08rem solid #2a2b31;
    border-right: .06rem solid #2a2b31;
    border-left: .06rem solid #2a2b31;
    text-align: justify;
}
@media screen and (max-width:480px) {
    td {
        padding: .5rem;
		display: block;
		width: 100%;
    }
	tr td:first-child{
		font-weight:bold;
	}
}

/*--------------------------------------------
HEADER
---------------------------------------------*/
#header {
    width: 100%;
}
/*コンテンツ横スペース*/
@media screen and (min-width:1320px) {
    #header .header_container {
        max-width: unset !important;
        padding: 0 4rem;
    }
}
@media screen and (max-width:1320px) {
    #header .header_container {
        padding: 0 1rem;
    }
}
@media screen and (max-width:575px) {
    #header .header_container {
        padding: 0 .5rem;
    }
}

#header .header_logo img{
    width: calc( 310 * 100vw / 1400 );
    height: calc( 41* 100vw / 1400 );
}
@media screen and (min-width:1501px){
    #header .header_logo img{
        width: 310px;
        height: 41px;
    }
}
@media screen and (max-width:480px) {
    #header .header_logo img{
        width: calc( 180 * 100vw / 480 );
        height: unset;
    }
}

/*== ハンバーガー ==*/
#nav-content .nav_inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    /*padding-top: 67px;*/
}
#nav-content .nav_inner ul li{
    padding-bottom: .8rem;
    margin-bottom: .8rem;
    text-align: left;
}
#nav-content .nav_inner ul li a{
    font-size: 1.5rem;
    color: #707070 !important;
    display: block;
    position: relative;
}
#nav-content .nav_inner ul li a::after {
    font-family: "Font Awesome 5 Free";
    content: '\f105';
    font-weight: 600;
    font-size: 1.3rem;
    position: absolute;
    top: 50%;
    right: 1.2rem;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
#nav-content .nav_inner ul li{
    position: relative;
}
#nav-content .nav_inner ul li::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 100%;
    background: #707070;
    z-index:0;
}
#nav-content .nav_inner ul li::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 75px; /* 2色の幅（調整可） */
    background: linear-gradient(to right, red 50%, blue 50%);
    z-index: 1;
}
#nav-drawer .header_nav_switch{
    cursor: pointer;
    width: 30px;
    height: 30px;
    user-select: none;
    transition: .4s ease;
    position: relative;
    right: 0;
    top: 0;
    margin:0;
    z-index: 9999;
}
/* メニュー展開時にハンバーガーアイコンを固定 */
#nav-input:checked ~ .header_nav_switch{
    background-color: #fff;
}
/* ハンバーガーアイコン */
#nav-drawer .hamburger_switch_line1,#nav-drawer .hamburger_switch_line1-before,#nav-drawer .hamburger_switch_line1_after{
    background: #004BB1;
    width: 30px;
    height: 3px;
    position: absolute;
    top: 50%;
    left: 50%;
    transition: .3s;
    content: "";
}
#nav-drawer .hamburger_switch_line1{
    transform: translate(-50%, -50%);
}
#nav-drawer .hamburger_switch_line1-before{
    transform: translate(-50%, -300%);
}
#nav-drawer .hamburger_switch_line1_after{
    transform: translate(-50%, 200%);
}
/* ハンバーガーアイコン･アニメーション */
#nav-drawer .header_nav_switch02{
    cursor: pointer;
    width: 30px;
    height: 30px;
    user-select: none;
    transition: .4s ease;
    position: absolute;
    right: 0;
    top: 3.5rem;
    margin: 0;
    z-index: 9999;
}
#nav-drawer .header_nav_switch02 .hamburger_switch_line1{
    width: 0;
}
#nav-drawer .header_nav_switch02 .hamburger_switch_line1-before{
    transform: rotate(45deg) translate(-35%, 325%);
    background: #fff;
}
#nav-drawer .header_nav_switch02 .hamburger_switch_line1_after{
    transform: rotate(-45deg) translate(-35%, -325%);
    background: #fff;
}
#nav-drawer {
    position: relative;
    display: flex;
    align-items: center;
}
/*チェックボックス等は非表示に*/
.nav-unshown {
    display:none;
}
/*アイコンのスペース*/
#nav-open {
    display: inline-block;
    width: 30px;
    height: 22px;
    vertical-align: middle;
}
/*ハンバーガーの形をCSSで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 3px;/*線の太さ*/
    width: 25px;/*長さ*/
    border-radius: 3px;
    background: #555;
    display: block;
    content: '';
    cursor: pointer;
}
#nav-open span:before {
    bottom: -8px;
}
#nav-open span:after {
    bottom: -16px;
}
/*閉じる用の薄黒箇所*/
#nav-close {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
}
/*メニューの中身*/
#nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    transition: .3s ease-in-out;
    -webkit-transform: translateX(105%);
    transform: translateX(105%);
}
#nav-content .nav-wrapper {
    width: 100%;
    /*ハンバーガー共通*/
    height: 105px;
    position: relative;
}
/*チェックがついたら表示させる*/
#nav-input:checked ~ #nav-close {
    display: block;
    opacity: .5;
}
#nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
}
/* コンテンツカバー */
#header_nav1:checked ~ .header_nav_cover{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9997;
    background: rgba(3,3,3,.5);
    display: block;
}
/* お電話でのお問い合わせ */
.tell_btn{
    color: #004BB1 !important;
    border: 2px solid #004BB1;
    border-radius: 1rem;
}
@media screen and (max-width:480px) {
    #nav-content .nav_inner ul li {
        padding-bottom: .5rem;
        margin-bottom: .5rem;
    }
    #nav-content .nav_inner ul li a{
        font-size: 1.2rem;
    }
    #nav-content .nav_inner ul li a::after{
        right: .5rem;
        font-size: 1rem;
    }
    #nav-content .nav-wrapper img{
        width: 70%;
    }
    .tell_btn img{
        width: 80%;
    }
}

/*--------------------------------------------
TOP PAGE
---------------------------------------------*/
/*==== 共通デザイン ====*/
/*== 見出し ==*/
h3{
    font-weight: normal;
    padding-bottom: .5rem;
    letter-spacing: 1px;
}

/*==== メインビジュアル ====*/
/*slider*/
.mainvisual .slider li{
    position: relative;
}
.mainvisual .slider li h2{
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 4rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    white-space: pre-line;
    z-index: 2;
    width: 100%;
    text-align: center;
}
.mainvisual .slide-arrow {
    width: 35px;
    height: 35px;
    background: #fff;
    border: none;
    border-radius: 50%;
    position: absolute;
    bottom: 5%;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #004BB1;
}
.mainvisual .slide-arrow span{
    font-size: 1rem;
}
.mainvisual .prev-arrow { 
    left: 93.5%;
}
.mainvisual .next-arrow {
    left: 97%;
}
.mainvisual .slick-slide img{
    width: 100%;
}
/*link*/
.mainvisual .link{
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    justify-content: center;
    display: flex;
}
.mainvisual .link ul{
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 1rem;
}
.mainvisual .link li {
    padding: 1rem 1.5rem;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}
.mainvisual .link li:after{
    content: "";
    position: absolute;
    top: 25%;
    right: 0;
    width: 2px;
    height: 55%;
    background: #3E3A39;
}
.mainvisual .link li:last-child:after{
    content: unset;
}
.mainvisual .link li a{
    color: #E1242A !important;
    font-size: 1.2rem;
    text-align: center;
    display: flex;
}
@media screen and (max-width:1200px) {
    .mainvisual .prev-arrow {
        left: 1%;
        bottom: 45%;
    }
    .mainvisual .next-arrow {
        left: unset;
        right: 1%;
        bottom: 45%;
    }
    .mainvisual .slide-arrow{
        transform: unset;
    }
}
@media screen and (max-width:1020px) {
    .mainvisual .slider li h2{
        font-size: 3rem;
    }
}
@media screen and (max-width:991px){
    .mainvisual .slide-arrow {
        width: 25px;
        height: 25px;
    }
    .mainvisual .link {
        position: unset;
        transform: unset;
    }
    .mainvisual .link li {
        padding: .5rem 1.5rem;
        width: 50%;
        text-align: center;
        justify-content: center;
        background-color: #FEF3F4;
        height: 58px;
        margin-bottom: .2rem;
    }
    .mainvisual .link li a{
        font-size: 1rem;
    }
    .mainvisual .link li:nth-child(2n)::after{
        content: unset;
    }
    .mainvisual .link li::after{
        top: 0%;
        height: 100%;
        background: #fff;
    }
}
@media screen and (max-width:767px){
    .mainvisual .slider li h2{
        font-size: 2rem;
        top: 50%;
    }
}
@media screen and (max-width:480px){
    .mainvisual .slider li h2{
        font-size: 1.6rem;
    }
     .mainvisual .link li {
        padding: .5rem;
    }
    .mainvisual .link li a {
        font-size: .8rem;
    }
}

/*==== 新着情報 ====*/
.news .news_left{
    border-radius: 1rem 0 0 1rem;
}
.news .news_right{
    border: 2px solid #E1242A;
    border-radius: 0 1rem 1rem 0;
}
.news .news_left h3{
    font-size: 3.2rem;
    font-family: "Oswald", sans-serif !important;
    font-weight: normal;
    letter-spacing: 2px;
    line-height: 1 !important;
}
.news .news_right a:after {
    font-family: "Font Awesome 5 Free";
    content: '\f138';
    font-weight: 600;
    font-size: 1.3rem;
    color: #E1242A;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
@media screen and (max-width:991px) {
    .news .news_left {
        border-radius: 1rem 1rem 0 0;
    }
    .news .news_right{
        border-radius: 0 0rem 1rem 1rem;
    }
    .news .news_left h3 {
        font-size: 2.5rem !important;
    }
}
@media screen and (max-width:480px) {
    .news .news_left img{
        width: 40px;
    }
}

/*==== 取扱保険会社一覧 ====*/
.hoken .hoken_list ul li{
    width: 20%;
}

/*--------------------------------------------
FOOTER
---------------------------------------------*/
#footer .footer_menu li{
    margin-right: 1rem;
    margin-bottom: .6rem;
}
#footer .footer_menu li:last-child{
    margin-right: 0;
}
#footer .footer_menu li a{
    color: #fff !important;
    font-weight: bold;
}