/*ご加入者の方へ用css*/
main h3{
    scroll-margin-top: 9rem;
}

ol{
    margin-left: 20px;
}

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

.procedure-box section{
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px #0062b1 solid;
    border-radius: 10px;
}

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

.procedure-box div{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
}

a.procedure-link, a.claim-link{
    display: inline-block;
    text-align: center;
    padding: 10px 40px 10px 20px;
    margin-top: auto;
    color: #fff;
    background-color: #0062b1;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    position: relative;
}

a.procedure-link:after, a.claim-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: "";
}

.claim-button{
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
}

.catchphrase{
    font-size: 1.4rem;
}

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

.tab div, .tab a{
    height: 90px;
}

.tab span{
    display: block;
}

.accordion{
    margin-bottom: 1rem;
    border: 2px #0062b1 solid;
    border-radius: 10px;
}

.accordion summary{
    display: flex;
    align-items: center;
    padding: 20px;
    color: #0062b1;
    list-style: none;
    cursor: pointer;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.accordion summary:after{
    position: absolute;
    top: 50%;
    right: 20px;
    width: 10px;
    height: 10px;
    transform: translateY(-50%) rotate(45deg);
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
}

.accordion[open] summary::after{
    transform: rotate(-135deg);
}

.accordion h3{
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    margin-right: 1rem;
    margin-bottom: 0;
    color: #0062b1;
    font-size: 1.8rem;
    border: none;
}

.step-num{
    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%;
}

.accordion-content{
    padding: 0 20px 20px 20px;
}

.customer, .host{
    display: inline-block;
    width: 6rem;
    text-align: center;
    padding: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    border: 1px #0062b1 solid;
    border-radius: 5px;
    line-height: 1;
}

.customer{
    color: #0062b1;
}

.host{
    color: #fff;
    background-color: #0062b1;
}

.guarantee-link-box{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.guarantee-link-box a:not(.guarantee-injury){
    display: inline-flex;
    flex-direction: column;
    width: 210px;
    padding: 10px 40px 10px 20px;
    color: #fff;
    font-weight: bold;
    border: 2px currentColor solid;
    border-radius: 10px;
    text-decoration: none;
    position: relative;
}

.guarantee-link-box a: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: "";
}

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

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

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

.guarantee-life-plus{
    background-color: #58c373;
}

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

.guarantee-fire{
    background-color: #c5801d;
}

.guarantee-link-box .guarantee-injury span{
    display: inline-flex;
    flex-direction: column;
}

.guarantee-link-box .guarantee-injury{
    display: flex;
    align-items: center;
    width: 210px;
    padding: 10px 20px;
    color: #fff;
    background-color: #f79a14;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
}

.guarantee-injury img{
    margin-left: auto;
}

a.common-link{
    display: inline-block;
    text-align: center;
    padding: 10px 40px 10px 20px;
    color: #fff;
    background-color: #0062b1;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    position: relative;
}

a.common-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: "";
}

a.common-link:hover{
    opacity: 0.9;
}

.information-box{
    margin-top: 40px;
    text-align: center;
}

.information-box form{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.agree{
    background-color: #fff;
    width: fit-content;
    padding: 20px 40px;
    margin: 20px 0;
    border-radius: 10px;
}

#doui{
    margin-right: 5px;
}

.agree-notice{
    display: none;
    font-weight: bold;
}

.agree-text{
    max-width: 580px;
    margin: 0 auto;
}

.apply-button{
    display: block;
    width: 300px;
    text-align: center;
    color: #fff;
    background-color: #0062b1;
    margin: 10px auto 20px;
    padding: 10px;
    font-weight: bold;
    border-radius: 10px;
}

.apply-button-enabled{
    display: none;
}

.apply-button-disabled{
    background-color: #aaa;
    cursor: default;
}

.mypage-container{
    max-width: 600px;
    background-color: #dfecf5;
    border-radius: 10px;
    padding: 20px;
    margin: 40px auto 0;
    text-align: center;
}

.reissue-dl .mypage-container{
    margin-bottom: 40px;
}

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

.mypage-links p{
    display: flex;
    justify-content: center;
    align-items: center;
}

.mypage-links a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 70px;
    padding: 10px;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
}

.mypage-links img{
    width: 25px;
    margin-right: 5px;
}

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

a.mypage-registration{
    color: #135cb5;
    background-color: #fff;
    border: 1px #0062b1 solid;
}

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

p.catchphrase{
    font-size: 1.4rem;
    margin-bottom: 0;
}

.box-text{
    display: flex;
    justify-content: center;
}

.bank-list{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    max-width: 1124px;
}

.bank-list img{
    display: block;
}

.contents ul.bank-list li{
    text-indent: 0;
    padding-left: 0;
    margin-bottom: 0;
}

.contents ul.bank-list li::before {
    display: none;
    content: "";
}

.overview-image img{
    top: -15%;
}

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

.sympathy-box > div{
    height: 100%;
    border: 1px #c5801d solid;
    border-radius: 10px;
}

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

.case-text{
    padding: 20px;
}

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

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

.sympathy-box .highlight{
    color: #c5801d;
    font-weight: bold;
}

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

.mypage-confirm-box{
    width: fit-content;
    padding: 20px;
    margin: 20px auto 0;
    background-color: #ddd;
    border-radius: 10px;
}

/*960px以下*/
@media screen and (max-width: 960px){
    main h3{
        scroll-margin-top: 7rem;
    }

    a.common-link{
        width: 100%;
    }

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

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

    .claim-button{
        flex-direction: column;
    }

    .claim-link{
        width: 100%;
    }

    .accordion summary{
        padding: 20px 10px;
    }

    .accordion summary:after{
        right: 10px;
    }

    .accordion h3{
        font-size: 1.4rem;
    }

    .guarantee-link-box a{
        width: 100%;
        flex-direction: row;
    }

    .mypage-links{
        grid-template-columns: 1fr;
        gap: 10px;
    }

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

    .bank-list img{
        width: 100%;
    }

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