/*お知らせ用css*/
h4{
    margin-bottom: 1rem;
    color: #0062b1;
    font-size: 1.6rem;
}

h5{
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.news-date{
    width: 100%;
    text-align: right;
}

.contents > div:not(:last-child){
    margin-bottom: 40px;
}

small{
    display: block;
}

table{
    border-collapse:  collapse;
}

th, td{
    padding: 10px;
    font-weight: normal;
    border: 1px #333 solid;
}

td{
    text-align: center;
}

.general{
    background-color: #ff9;
}

.nursing{
    background-color: #9ff;
}

.contents dl{
    width: 100%;
}

.contents dt{
    text-indent: -1.6rem;
    padding-left: 1.6rem;
}

.contents dt:before{
    content: "・";
}

.contents dd{
    margin-bottom: 1rem;
    margin-left: 3rem;
}

ol{
    counter-reset: number;
    padding: 0;
    margin: 0;
}

ol li{
    list-style: none;
    counter-increment: number;
    position: relative;
    padding-left: 4rem;
    margin-bottom: 1rem;
}

ol li::before{
    content: "（" counter(number, decimal) "）";
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
}

ol.circle-number-list{
    list-style: none;
    margin: 1rem 0;
}

ol.circle-number-list li{
    padding-left: 0;
    margin-bottom: 0;
    text-indent: -2.6rem;
    margin-left: 2.6rem;
}

ol.circle-number-list li:before{
    content: "";
}

ol.circle-number-list li span{
    margin-right: 1rem;
}

.contents ul.diamond-list li::before{
    content: "◇";
    color: #333;
}

.news-release{
    background-color: #DDDDDD;
    padding: 10px;
}

.text-paragraph{
    text-indent: -2rem;
    margin-left: 2rem;
}

.text-underline{
    text-decoration: underline;
}

.table-202206-life-new{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 610px;
}

.table-202206-life{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 920px;
    margin-top: 10px;
}

.table-202205-info{
    font-size: 1.4rem;
    width: 50%;
}

.table-202206-life-new th, .table-202206-life th, .table-202205-info th, .table-202404sd th{
    background-color: #e1effb;
}

.table-202404sd-2{
    width: 100%;
}

.table-202404sd-2 th{
    background-color: #ccc;
}

.table-202404sd-2 td{
     background-color: #fff;
}

.table-202404sd-2 td.title{
    background-color: #000;
    color:#fff;
    font-weight: bold;
}

.table-202205-info td{
    text-align: left;
}

.table-202206-life-new td, .table-202206-life td{
    width: 50%;
}

.news-202209st-info{
    border: 1px #f00 solid;
    padding: 15px;
}

.news-202404sd-box{
    flex-direction: column;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    border-radius: 10px;
    padding: 20px 10px;
    background-color: #e1effb;
    width: 50%;
}

.news-202404sd-before, .news-202404sd-after{
    display: flex;
    align-items: center;
    justify-content:center;
    width: 8rem;
    height: 24px;
    font-size: 1.6rem;
    color: #fff;
    border-radius: 10px;
    font-weight: bold;
}

.news-202404sd-before{
    background-color: #666;
}

.news-202404sd-after{
    background-color: #0062B1;
}

.table-202404sd-2 span.large-font{
    font-size:1.6rem;
}

.table-202404sd-2 span.small-font{
    font-size:1.2rem;
}

.news-stopsagi-title{
    font-size: 3rem;
    font-weight: bold;
}

.news-stopsagi-case{
    display: grid;
    grid-template-columns: 2fr 80px 1fr;
    gap: 10px;
    width: 90%;
    padding-left: 10px;
}

.news-stopsagi-arrow{
    flex: 0 0 auto;
    width: 70px;
    height: 100px;
    background-color: #ff7f00;
    align-self: center;
    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%);
}

.news-stopsagi-case-main{
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.news-stopsagi-case-text{
    flex: 1;
    min-width: 0;
    align-self: center;
}

.news-stopsagi-case-main img{
    width: 200px;
    object-fit: contain;
    flex-shrink: 0;
}

.news-stopsagi-case-result{
    align-self: center;
}

.news-stopsagi-case-result p{
    background-color: #e1effb;
    padding: 10px;

}

.news-stopsagi-info{
    background-color: #FFFFDD;
    margin-top: 3em;
    padding: 15px;
}

.news-stopsagi-hotline{
    background-color: #E7E7E7;
    margin-top: 3em;
    padding: 15px;
}

.info-saiyo-container{
    width: 900px;
    text-align: center;
    margin: 0 auto;
}

.info-saiyo-container img{
    width: 80%;
    margin-bottom: 20px;
}

.info-saiyo-link-list{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    text-align: center;
}

.info-saiyo-link-list a{
    display: inline-block;
    text-align: center;
    padding: 10px 25px 10px 20px;
    margin-top: auto;
    color: #fff;
    background-color: #0062b1;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    position: relative;
    width: 200px;
}

.info-saiyo-link-list 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: "";
}

.info-saiyo-link-list a:hover{
    filter: brightness(1.1);
}

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

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

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

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

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

.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.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;
}

.denshi-koujyo-extlink{
    word-break: break-all;
}

ol.news-2016-t5-list li::before {
    content: "（*" counter(number, decimal) "）";
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
}

/*960px以下*/
@media screen and (max-width: 960px){
    .contents img{
        max-width: 100%;
    }

    table{
        width: 100%;
        font-size: 1.4rem;
    }

    th, td{
        padding: 5px;
    }

    th div, td div{
        display: flex;
        flex-direction: column;
    }

    .table-202206-life-new, .table-202206-life{
        grid-template-columns: 1fr;
        width: 100%;
    }

    .table-202205-info{
        width: 100%;
        font-size: 1.2rem;
    }

    .news-202404sd-box{
        width: 100%;
    }

    .table-202404sd-2{
        font-size: 1.1rem;
    }

    .table-202404sd-2 span.large-font{
        font-size:1.4rem;
    }

    .table-202404sd-2 span.small-font{
        font-size:1.1rem;
    }

    .news-stopsagi-title{
        font-size: 2.2rem;
    }

    .news-stopsagi-case {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .news-stopsagi-case-main img {
        width: min(40vw, 140px);
        height: min(40vw, 140px);
    }

    .news-stopsagi-arrow{
        width: 100px;
        height: 50px;
        justify-self: center;
        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%);
    }

    .info-saiyo-container{
        width: 100%;
    }

    .info-saiyo-container img{
        width: 100%;
    }

    .info-saiyo-link-list{
        width: 100%;
        grid-template-columns: 1fr;
    }

    .info-saiyo-link-list a{
        width: 100%;
    }

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

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