/*共済商品用css*/
ol{
    margin-left: 2rem;
}

ol li{
    margin-bottom: 1rem;
}

.fire h5{
    margin-bottom: 1rem;
}

.child .highlight, .child .contents h4, .child .continuation-before-text .highlight, .download-child{
    color: #e88db0;
}

.life-new .highlight, .life-new-color, .life-new .contents h4,
.life-new .continuation-after-text .highlight, .download-life-new{
    color: #3e6ce3;
}

.life .highlight, .life-color, .life .contents h4{
    color: #5d97f1;
}

.life-color2{
    color: #86b1f5;
}

.life-plus .highlight, .life-plus .contents h4{
    color: #58c373;
}

.matureage .highlight, .matureage .contents h4, .download-matureage{
    color: #b688fe;
}

.fire .highlight, .fire .contents h4, .fire .highlight, .fire ul li::before, .download-fire{
    color: #c5801d;
}

.child h3{
    border-left: 5px #e88db0 solid;
    border-bottom: 2px #e88db0 solid;
}

.life-new h3{
    border-left: 5px #3e6ce3 solid;
    border-bottom: 2px #3e6ce3 solid;
}

.life h3{
    border-left: 5px #5d97f1 solid;
    border-bottom: 2px #5d97f1 solid;
}

.life-plus h3{
    border-left: 5px #58c373 solid;
    border-bottom: 2px #58c373 solid;
}

.matureage h3{
    border-left: 5px #b688fe solid;
    border-bottom: 2px #b688fe solid;
}

.fire h3{
    border-left: 5px #c5801d solid;
    border-bottom: 2px #c5801d solid;
}

.child .overview-point h4,
.child .guarantee-list td,
.child .case-box section,
section.guide-child{
    border: #e88db0 1px solid;
}

.life-new .overview-point h4,
.life-new .guarantee-list td,
.life-new .case-box section,
section.guide-life-new{
    border: #3e6ce3 1px solid;
}

.life .overview-point h4,
.life .guarantee-list td,
.life .case-box section,
section.guide-life{
    border: #5d97f1 1px solid;
}

.life-plus .overview-point h4,
.life-plus .guarantee-list td,
.life-plus .case-box section,
section.guide-life-plus{
    border: #58c373 1px solid;
}

.matureage .overview-point h4,
.matureage .guarantee-list td,
.matureage .case-box section,
section.guide-matureage{
    border: #b688fe 1px solid;
}

.payment-table td, .fire .sympathy-box section, .fire .case-box section, .fire .guarantee-list td,
section.guide-fire{
    border: 1px #c5801d solid;
}

section.guide-injury{
    border: 1px #f79a14 solid;
}

.child .contents, .child .box-text, .child .rebate-text,
.child .continuation-before-text{
    border: #e88db0 2px solid;
}

.life-new .contents, .life-new .box-text, .life-new .rebate-text{
    border: #3e6ce3 2px solid;
}

.life .contents, .life .box-text, .child .continuation-after-text, .life .rebate-text{
    border: #5d97f1 2px solid;
}

.life-plus .contents, .life-plus .box-text, .life-plus .rebate-text{
    border: #58c373 2px solid;
}

.matureage .box-text, .matureage .box-text, .matureage .rebate-text{
    border: #b688fe 2px solid;
}

.fire .contents, .fire .box-text{
    border: #c5801d 2px solid;
}

.knowledge .box-text{
    border: 2px #deb551 solid;
}

.tab{
    scroll-margin-top: 9rem;
}

.fire .tab{
    font-size: 1.4rem;
}

.child .tab div, .child .tab a{
    border-top: 1px #e88db0 solid;
    border-right: 1px #e88db0 solid;
    border-left: 1px #e88db0 solid;
    background-color: #ffebf0;
}

.life-new .tab div, .life-new .tab a{
    border-top: 1px #3e6ce3 solid;
    border-right: 1px #3e6ce3 solid;
    border-left: 1px #3e6ce3 solid;
    background-color: #e5f1fd;
}

.life-plus .tab div, .life-plus .tab a{
    border-top: 1px #58c373 solid;
    border-right: 1px #58c373 solid;
    border-left: 1px #58c373 solid;
    background-color: #eaf8ee;
}

.life .tab div, .life .tab a{
    border-top: 1px #5d97f1 solid;
    border-right: 1px #5d97f1 solid;
    border-left: 1px #5d97f1 solid;
    background-color: #ebf2fd;
}

.matureage .tab div, .matureage .tab a{
    border-top: 1px #b688fe solid;
    border-right: 1px #b688fe solid;
    border-left: 1px #b688fe solid;
    background-color: #eee7f2;
}

.fire .tab div, .fire .tab a{
    border-top: 1px #c5801d solid;
    border-right: 1px #c5801d solid;
    border-left: 1px #c5801d solid;
    background-color: #f1e0c7;
}

.child .rebate-box, .child .information-box, .child .continuation-box, .child .case-box h5{
    background-color: #ffebf0;
}

.life-new .rebate-box, .life-new .information-box, .life-new .continuation-box, .life-new .case-box h5{
    background-color: #e5f1fd;
}

.life-plus .rebate-box, .life-plus .information-box, .life-plus .continuation-box, .life-plus .case-box h5{
    background-color: #eaf8ee;
}

.life .rebate-box, .life .information-box, .life .continuation-box, .life .case-box h5{
    background-color: #ebf2fd;
}

.matureage .rebate-box, .matureage .information-box, .matureage .continuation-box, .matureage .case-box h5{
    background-color: #eee7f2;
}

.fire .rebate-box, .fire .information-box, .fire .sympathy-box h4, .fire .case-box h4{
    background-color: #f1e0c7;
}

.child .box-title{
    background-color: #e88db0;
    border: 2px #e88db0 solid;
}

.life-new .box-title{
    background-color: #3e6ce3;
    border: 2px #3e6ce3 solid;
}

.life-plus .box-title{
    background-color: #58c373;
    border: 2px #58c373 solid;
}

.life .box-title{
    background-color: #5d97f1;
    border: 2px #5d97f1 solid;
}

.matureage .box-title{
    background-color: #b688fe;
    border: 2px #b688fe solid;
}

.fire .box-title{
    background-color: #c5801d;
    border: 2px #c5801d solid;
}

.knowledge .box-title{
    background-color: #deb551;
    border: 2px #deb551 solid;
}

.child .box-subtitle{
    border-left: #e88db0 4px solid;
    border-bottom: #e88db0 1px solid;
}

.life-new .box-subtitle{
    border-left: #3e6ce3 4px solid;
    border-bottom: #3e6ce3 1px solid;
}

.life-plus .box-subtitle{
    border-left: #58c373 4px solid;
    border-bottom: #58c373 1px solid;
}

.life .box-subtitle{
    border-left: #5d97f1 4px solid;
    border-bottom: #5d97f1 1px solid;
}

.matureage .box-subtitle{
    border-left: #b688fe 4px solid;
    border-bottom: #b688fe 1px solid;
}

.child .detail-link, .child h2, .child .tab div, .child .tab a:hover, .child .payment,
.child .arrow, .child .continuation-before-text div, .guide-child h4, .guide-child a{
    background-color: #e88db0;
}

.life-new .detail-link, .life-new h2, .life-new .tab div, .life-new .tab a:hover,
.life-new .payment, .life-new .arrow, .guide-life-new h4, .guide-life-new a{
    background-color: #3e6ce3;
}

.life .detail-link, .life-system-link, .child .continuation-after-text div, .guide-life h4, .guide-life a{
    background-color: #5d97f1;
}

.life-plus .detail-link, .life-plus h2, .life-plus .tab div, .life-plus .tab a:hover,
.life-plus .payment, .life-plus .arrow, .guide-life-plus h4, .guide-life-plus a{
    background-color: #58c373;
}

.life .detail-link, .life h2, .life .tab div, .life .tab a:hover,
.life .payment, .life .arrow{
    background-color: #5d97f1;
}

.matureage .detail-link, .life-plus a.continuation-after-link, .life a.continuation-after-link, .matureage h2, .matureage .tab div,
.matureage .tab a:hover, .matureage .payment, .matureage .arrow, .guide-matureage h4, .guide-matureage a{
    background-color: #b688fe;
}

.fire .detail-link, .fire h2, .fire .tab div, .fire .tab a:hover, .fire .arrow, .fire .payment, .guide-fire h4, .guide-fire a{
    background-color: #c5801d;
}

.guide-injury h4, .guide-injury a{
    background-color: #f79a14;
}

.child .guarantee-button button,
.child .guarantee-list th{
    background-color: #ffebf0;
    border: 1px #e88db0 solid;
}

.child .guarantee-button button.active,
.child .guarantee-button button:hover{
    background-color: #e88db0;
    border: 1px #e88db0 solid;
}

.life-new .guarantee-button button,
.life-new .guarantee-list th{
    background-color: #e5f1fd;
    border: 1px #3e6ce3 solid;
}

.life-new .guarantee-button button.active,
.life-new .guarantee-button button:hover{
    background-color: #3e6ce3;
    border: 1px #3e6ce3 solid;
}

.life-plus .guarantee-button button,
.life-plus .guarantee-list th{
    background-color: #eaf8ee;
    border: 1px #58c373 solid;
}

.life-plus .guarantee-button button.active,
.life-plus .guarantee-button button:hover{
    background-color: #58c373;
    border: 1px #58c373 solid;
}

.life .guarantee-button button,
.life .guarantee-list th{
    background-color: #ebf2fd;
    border: 1px #5d97f1 solid;
}

.life .guarantee-button button.active,
.life .guarantee-button button:hover{
    background-color: #5d97f1;
    border: 1px #5d97f1 solid;
}

.matureage .guarantee-button button,
.matureage .guarantee-list th{
    background-color: #eee7f2;
    border: 1px #b688fe solid;
}

.matureage .guarantee-button button.active,
.matureage .guarantee-button button:hover{
    background-color: #b688fe;
    border: 1px #b688fe solid;
}

.payment-table th, .fire .guarantee-button button, .fire .guarantee-list th{
    background-color: #f1e0c7;
    border: 1px #c5801d solid;
}

.fire .guarantee-button button.active,
.fire .guarantee-button button:hover{
    background-color: #c5801d;
    border: 1px #c5801d solid;
}

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

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

.highlight, .catchphrase{
    font-weight: bold;
}

.related-link{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 960px;
    margin: 20px auto 0;
    padding-top: 20px;
    border-top: 4px #135cb5 dotted;
}

.related-link a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 280px;
    padding: 10px;
    color: #135cb5;
    background-color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    border-radius: 10px;
    border: 1px #135cb5 solid;
    text-decoration: none;
}

.related-link a:hover{
    filter: brightness(0.95);
}

.related-link img{
    width: 30px;
    margin-right: 5px;
}

h3 span{
    font-size: 1.4rem;
    font-weight: normal;
}

h4{
    color: #333;
}

.contents .rebate h4{
    color: #333;
    font-weight: normal;
}

.kyosai-index-overview-image{
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    position: relative;
}

.kyosai-index-overview-image img {
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    top: -50%;
}

.kyosai-list-overview, .kyosai-overview{
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 20px;
}

.kyosai-overview-image{
    grid-row: 1 / span 2;
}

.kyosai-overview-image img {
    display: block;
    width: 100%;
}

.kyosai-old-life-overview {
    margin-bottom: 20px;
    padding-left: 5px;
}

.overview-point{
    margin: 10px auto;
}

.overview-point h4{
    display: inline-block;
    padding: 5px;
    line-height: 1;
    font-size: 1.4rem;
    font-weight: normal;
    border-radius: 5px;
}

.fire .overview-text {
    display: flex;
    flex-direction: column;
}

.overview-link{
    text-align: right;
    margin-top: auto;
}

.life-new-color, .life-color, .life-color2{
    font-size: 1.8rem;
}

.point{
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding: 0 10px 0;
    margin-bottom: 40px;
}

.point-image img{
    width: 60px;
}

.contents > p{
    margin-bottom: 10px;
}

.fire .rebate{
    margin-bottom: 40px;
}

.rebate-box{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    padding: 20px;
}

.continuation-box{
    border-radius: 10px;
    padding: 20px 10px;
}

.box-subtitle{
    padding: 0 5px;
    font-weight: bold;
    margin: 10px 0;
}

.bank-list{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0 10px;
}

.rebate-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1 1 auto;
    min-width: 260px;
    max-width: 400px;
    height: 120px;
    text-align: center;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
}

.fire .rebate-text{
    height: 150px;
}

.arrow {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    clip-path: polygon(0 25.3%, 43.4% 25.3%, 43.4% 0, 100% 50%, 43.4% 100%, 43.4% 74.7%, 0 74.7%);
}

.announcement{
    font-weight: bold;
    margin-bottom: 40px;
}

a.detail-link, a.signup, a.download-link, a.shiryo-link, a.life-system-link, a.common-link, a.continuation-after-link{
    display: inline-block;
    text-align: center;
    padding: 10px 40px 10px 20px;
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    position: relative;
}

a.pdf-link{
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    width: fit-content;
    padding: 10px 20px;
    color: #fff;
    background-color: #0062b1;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
}

.pdf-link img{
    margin-left: 5px;
}

div.benefit-links{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

a.detail-link:hover, a.signup:hover, a.download-link:hover, a.shiryo-link:hover, a.life-system-link:hover, a.common-link:hover,
a.pdf-link:hover, a.continuation-after-link:hover{
    filter: brightness(1.1);
}

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

.download-link{
    background-color: #ff8900;
}

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

.common-link{
    background-color: #0062b1;
}

.column-links a:not(:last-child){
    margin-bottom: 1rem;
}

a.detail-link:after, .signup:after, .shiryo-link:after, .download-link:after, .life-system-link:after, .common-link:after,
a.continuation-after-link:after{
    position: absolute;
    top: 50%;
    right: 2rem;
    width: 1rem;
    height: 1rem;
    transform: translateY(-50%) rotate(45deg);
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    content: "";
}

.emphasis{
    color: #f00;
}

.continuation-box{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.continuation-before-text, .continuation-after-text{
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 auto;
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
}

.continuation-before-text div, .continuation-after-text div{
    display: inline-block;
    padding: 5px;
    margin-right: 10px;
    line-height: 1;
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    border-radius: 5px;
}

.after-guarantee{
    font-size: 1.2rem;
}

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

.guarantee-button button{
    display: block;
    text-align: center;
    padding: 10px;
    color: #333;
    font-size: 1.6rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.fire .guarantee-button button{
    padding: 10px 0;
}

.guarantee-button button.active{
    color: #fff;
    font-weight: bold;
}

.guarantee-button button:hover{
    color: #fff;
    font-weight: bold;
}

.age-switch-button, .pattern-switch-button, .jutaku-pc-none, .kazai-pc-none{
    display: none;
}

p.table-supplement{
    margin-bottom: 0;
}

.guarantee-title{
    display: block;
    text-align: center;
    padding: 5px;
    margin-bottom: 0.5rem;
    font-weight: bold;
    border-radius: 5px;
}

.child .guarantee-title{
    color: #e88db0;
    border: 1px #e88db0 solid;
}

.life-new .guarantee-title{
    color: #3e6ce3;
    border: 1px #3e6ce3 solid;
}

.life .guarantee-title{
    color: #5d97f1;
    border: 1px #5d97f1 solid;
}

.life-plus .guarantee-title{
    color: #58c373;
    border: 1px #58c373 solid;
}

.matureage .guarantee-title{
    color: #b688fe;
    border: 1px #b688fe solid;
}

.title-age{
    display: none;
}

.guarantee-list{
    width: 100%;
    margin-bottom: 20px;
    border-collapse:  collapse;
}

.guarantee-list .highlight{
    font-size: 1.6rem;
}

.guarantee-list td, .guarantee-list .s-highlight{
    font-size: 1.4rem;
}

.guarantee-list th, .guarantee-list td{
    padding: 10px;
    font-weight: normal;
}

.guarantee-list td{
    text-align: right;
}

.guarantee-list td div{
    display: flex;
    flex-direction: column;
}

.child .guarantee-list td{
    width: 50%;
}

.life-new .guarantee-list .left-th{
    padding: 2px;
    width: 5%;
}

.life-new .guarantee-list .thw{
    width: 25%;
}

.life-new .guarantee-list th.course1, .life-new .guarantee-list th.course2{
    width: 15%;
}

.life .guarantee-list .thw, .life-plus .guarantee-list .thw{
    width: 40%;
}

.life .guarantee-list th.course1, .life .guarantee-list th.course2, .life-plus .guarantee-list th.course1, .life-plus .guarantee-list th.course2{
    width: 30%;
}

.course2{
    display: none;
}

.case-box, .sympathy-box{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    gap: 10px;
    margin-bottom: 20px;
}

.case-box section, .sympathy-box section{
    height: 100%;
    border-radius: 10px;
}

.case-box h5, .fire .sympathy-box h4, .fire .case-box h4{
    padding: 10px 20px;
    text-align: center;
    color: #333;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
}

.case-text{
    padding: 20px;
    color: #333;
}

.case-text p{
    margin-bottom: 10px;
}

.case-text p.box-title{
    margin-bottom: 0;
}

.sympathy-box p{
    line-height: 2.2rem;
}

.case-text .note, .sympathy-box .note{
    margin-top: 10px;
}

.contents .case-text ul li::before{
    margin-right: 0;
}

.case-text ul p{
    display: inline;
}

.formula-container{
    margin: 20px 0;
}

.formula{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.formula > div{
    padding: 0 5px;
}

.case-label{
    font-size: 1.4rem;
    height: 1.6rem;
}

.result{
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    margin: 20px auto;
}

.payment{
    color: #fff;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 10px;
}

.multiple-case div{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    text-align: left;
    line-height: 2.6rem;
}

.multiple-case span:nth-child(even){
    text-align: right;
}

.multiple-case div:not(:last-child){
    margin-bottom: 0.5rem;
}

.fire-result{
    display: block;
    margin: 3rem 0;
}

.fire-result .payment{
    display: inline-block;
    margin-bottom: 1rem;
}

.fire-result p.payment-detail{
    margin-bottom: 0;
    font-size: 1.4rem;
}

.total-payment-box{
    padding: 20px 10px;
    border: 1px #c5801d solid;
    border-radius: 10px;
}

.total-payment{
    text-align: right;
}

.jutaku, .kazai{
    padding: 5px 10px;
    margin-right: 5px;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
}

.jutaku{
    background-color: #ff6f5f;
}

.kazai{
    background-color: #69bef2;
}

.overview-point .kazai{
    margin-left: 5px;
}

.knowledge-box{
    padding: 20px;
    border: 2px #deb551 solid;
    background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f4f4f4 calc(100% - 1px)),
    linear-gradient(90deg, transparent calc(100% - 1px), #f4f4f4 calc(100% - 1px));
    background-size: 20px 20px;
    background-repeat: repeat;
    background-position: center center;
}

.knowledge-box h3{
    border-left: 5px #deb551 solid;
    border-bottom: 2px #deb551 solid;
}

.fire .knowledge-box h4{
    color: #deb551;
}

a.knowledge-link{
    display: inline-block;
    text-align: center;
    padding: 10px 40px 10px 20px;
    color: #52472b;
    background-color: #fffaf0;
    font-weight: bold;
    border: 1px currentColor solid;
    border-radius: 10px;
    text-decoration: none;
    position: relative;
}

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

a.knowledge-link:after{
    position: absolute;
    top: 50%;
    right: 2rem;
    width: 1rem;
    height: 1rem;
    transform: translateY(-50%) rotate(45deg);
    border-right: 2px solid #52472b;
    border-top: 2px solid #52472b;
    content: "";
}

.disaster{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.disaster img{
    width: 100%;
    max-width: 125px;
}

.payment-table-block{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.last-table{
    margin-bottom: 20px;
}

.payment-table{
    text-align: center;
    border-collapse:  collapse;
}

.payment-table th, .payment-table td{
    padding: 10px;
    font-weight: normal;
}

.payment-table-plus{
    font-size: 3rem;
}

.lump-sum{
    display: inline-block;
    text-align: center;
    padding: 10px 40px;
    border: 1px #c5801d solid;
}

.fire th.pattern-name{
    color: #fff;
    background-color: #c5801d;
    font-weight: bold;
}

.fire td.area{
    text-align: center;
}

.guarantee-list .amount-number{
    font-size: 1.6rem;
    font-weight: bold;
}

.recipient section:not(:last-child){
    margin-bottom: 40px;
}

.recipient-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.recipient-container .label-box{
    margin-bottom: 0;
}

.box-text .rank:not(:last-child){
    margin-bottom: 1rem;
    border-bottom: 1px #0062b1 solid;
}

.rank{
    list-style: none;
    margin-left: 0;
}

.rank li{
    display: flex;
    align-items: center;
    gap: 5px;
}

.rank span{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    background-color: #0062b1;
    border-radius: 50%;
    flex-shrink: 0;
}

.box-text p{
    margin: 1rem 0;
}


.payment-page div.circle-number-box{
    padding: 10px 20px;
    border: 1px solid #0000ff;
    border-radius: 10px;
}

.payment-page ol.circle-number{
    margin: 0;
    padding: 0
}

.payment-page ol.circle-number li{
    list-style: none;
    padding-left: 1.3em;
    text-indent: -1.3em;
    font-size: 1.4rem;
    margin-bottom: 0;
}

.download-kaiyaku .bg-color-blue{
    background-color: #EEFAFF;
}

.download-kaiyaku .bg-color-pink{
    background-color: #FBEFEE;
}

.guide-box{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    gap: 20px;
    margin-bottom: 20px;
}

.guide-box section{
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 10px;
}

.guide-box h4{
    padding: 10px 20px;
    text-align: center;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
}

.guide-box div{
    padding: 20px;
}

.guide-box div > img{
    display: block;
    margin: 0 auto;
}

a.guide-link{
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 10px 0;
    margin-top: 10px;
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    position: relative;
}

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

a.guide-link img{
    padding-left: 5px;;
}

.download-index .information-box{
    display: grid;
    align-items: end;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
    margin-bottom: 20px;
}

.download-index .futou{
    grid-template-columns: 40% 60%;
    align-items: stretch;
}

.download-index .fire-information-box{
    margin-bottom: 40px;
}

.kyosai-kind{
    grid-column: 1 / span 2;
}

.download-index .information-box .download-image{
    width: 100%;
}

.download-pdf-area{
    text-align: center;
}

.download-pdf-area a{
    margin: 0 auto;
}

.download-pdf-area p{
    margin-bottom: 0;
}

.child .rebate .highlight,
.life-new .rebate .highlight,
.life-plus .rebate .highlight,
.life .rebate .highlight,
.matureage .rebate .highlight{
    color: #FF6633;
}

.about-concrete-highlight{
    display: inline-block;
    padding: 2px 5px;
    color: #fff;
    background-color: #ff6f5f;
    font-weight: bold;
    border-radius: 5px;
}

/*960px以下*/
@media screen and (max-width: 960px){
    .overview{
        grid-template-columns: 1fr;
    }

    .kyosai-index-overview-image{
        display: none;
    }
    
    .tab{
        scroll-margin-top: 7rem;
    }

    .child .tab div, .child .tab a{
        border: 1px #e88db0 solid;
    }
    .life-new .tab div, .life-new .tab a{
        border: 1px #3e6ce3 solid;
    }
    .life-plus .tab div, .life-plus .tab a{
        border: 1px #58c373 solid;
    }
    .matureage .tab div, .matureage .tab a{
        border: 1px #b688fe solid;
    }
    .fire .tab div, .fire .tab a{
        border: 1px #c5801d solid;
    }

    .overview-point-area{
        grid-column: 1 / span 2;
    }

    .kyosai-list-overview{
        grid-template-columns: 1fr;
    }

    .kyosai-list-overview .overview-image{
        width: 100%;
        aspect-ratio: 2 / 1;
        overflow: hidden;
        position: relative;
    }

    .kyosai-list-overview .overview-image img{
        height: auto;
        position: absolute;
    }

    .child .kyosai-list-overview .overview-image img{
        top: -10%;
    }

    .life-new .kyosai-list-overview .overview-image img{
        top: -23%;
    }

    .life .kyosai-list-overview .overview-image img{
        top: -10%;
    }

    .life-plus .kyosai-list-overview .overview-image img{
        top: -45%;
    }

    .matureage .kyosai-list-overview .overview-image img{
        top: -20%;
    }

    .overview p, .kyosai-list-overview p, .kyosai-overview p{
        display: flex;
        flex-direction: column;
    }

    .overview-link{
        text-align: center;
    }

    .related-link a{
        width: calc(80% + 35px);
    }

    .course-slash{
        display: none;
    }

    .rebate-box{
        flex-direction: column;
    }

    .arrow {
        clip-path: polygon(0 43.4%, 25.3% 43.4%, 25.3% 0, 74.7% 0, 74.7% 43.4%, 100% 43.4%, 50% 100%);
    }

    .rebate-text, .continuation-before-text, .continuation-after-text{
        width: 100%;
    }

    .continuation-box, .continuation-before-text, .continuation-after-text{
        flex-direction: column;
    }

    .download-container{
        display: none;
    }

    .bank-list{
        grid-template-columns: 1fr;
    }

    div.benefit-links{
        grid-template-columns: 1fr;
    }

    a.shiryo-link, a.pdf-link{
        width: 100%;
    }

    a.signup, a.download-link, a.life-system-link, a.common-link, a.continuation-after-link{
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .guarantee-button{
        gap: 0;
    }

    .life-new .guarantee-button button{
        border: 1px #3e6ce3 solid;
    }

    .life-new .guarantee-button button:nth-child(2n), .matureage .guarantee-button button:nth-child(2n){
        border-left: none;
    }

    .life-new .guarantee-button button:not(:first-child):not(:nth-child(2)), .matureage .guarantee-button button:not(:first-child):not(:nth-child(2)){
        border-top: none;
    }

    .guarantee-button button{
        border-radius: 0;
    }

    .age-switch-button, .pattern-switch-button{
        display: grid;
    }

    .jutaku1, .kazai1{
        display: table-cell;
    }

    .age2, .age3, .age4, .age5, .jutaku2, .kazai2{
        display: none;
    }

    .title-course-text{
        display: none;
    }

    .title-age{
        display: inline;
    }

    .guarantee-list th, .guarantee-list td{
        padding: 10px 3px;
    }

    .child .guarantee-list .left-th{
        width: 20%;
    }

    .child .guarantee-list td{
        width: 45%;
    }

    .guarantee-list div{
        display: flex;
        flex-direction: column;
    }

    .case-box, .sympathy-box{
        grid-template-columns: 1fr;
    }

    .case-text{
        padding: 20px 5px;
    }

    .multiple-case div{
        grid-template-columns: 1fr;
    }

    a.knowledge-link{
        width: 100%;
        padding-left: 15px;
    }

    .lump-sum{
        width: 100%;
    }

    .life-new .guarantee-list .left-th{
        padding: 2px;
        width: 15%;
    }

    .life-plus .guarantee-list .left-th{
        padding: 2px;
        width: 5%;
    }

    .life-new .guarantee-list .thw{
        width: 63%;
    }

    .life-new .guarantee-list th.course1, .life-new .guarantee-list th.course2{
        width: 37%;
    }

    .life-plus .guarantee-list .thw{
        width: 60%;
    }

    .life-plus .guarantee-list th.course1, .life-plus .guarantee-list th.course2{
        width: 40%;
    }

    .life .guarantee-list .thw{
        width: 55%;
    }

    .life .guarantee-list th.course1, .life .guarantee-list th.course2{
        width: 45%;
    }

    .matureage .guarantee-list .thw{
        width: 50%;
    }

    .matureage .guarantee-list th.course1, .matureage .guarantee-list th.course2{
        width: 50%;
    }

    .fire .guarantee-list .fire-size{
        width: 18%;
    }

    .fire .guarantee-list .fire-premium{
        width: 27%;
    }

    .disaster{
        grid-template-columns: repeat(2, 1fr);
    }

    .payment-table-block{
        flex-direction: column;
        gap: 0;
    }

    .payment-table{
        width: 100%;
    }

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

    .guide-box{
        grid-template-columns: 1fr;
    }

    .guide-box div{
        padding: 10px;
    }

    .guide-box div > img{
        width: 100%;
    }

    .download-index .information-box{
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .kyosai-kind{
        grid-column: auto;
    }
}
