@charset "UTF-8";


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 *  ファーストビュー
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

 #first_view{
     width: 100vw;
     height: 15vh;
     background-image: url('../img/common/bg_img_page.png');
     background-position: center;
     background-size: cover;
 }

 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 *  メイン
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 main .top_img{
     width: 100%;
     text-align: center;
     margin: 5rem 0 3rem 0;
 }

 main .top_img div{
    display: inline-block;
    text-align: center;
    width: 721px;
    height: 483px;
    border-radius: 9px;
    background-size: cover;
    background-position: center;
}

main .article_title{
    width: 80%;
    margin:  0 auto;
}


main .article_title .date{
    font-size: 1.125rem;
    line-height: 1.2em;
    margin: 0.5em 0 1em;
}

main .article_title .category{
    font-size: 1.25rem;
    line-height: 1.5em;
    background-color: #F0ECF7;
    display: inline-block;
    padding: 0 0.5em;
    margin-bottom: 5rem ;
}

main .sentences{
    width: 80%;
    margin: 0 auto;
}

main article .article_title h1{
    margin-bottom: 0;
}

main article h1{
    overflow-wrap: normal;
    font-size: 2.25rem;
    line-height: 1.5em;
    margin-bottom: 5rem;
}

main article h2{
    font-size: 1.25rem;
    line-height: 1.5em;
    font-weight: bold;
    background-color: #EDEDED;
    margin-bottom: 5rem;
    padding: .5rem 1rem;
}

main article h3{
    font-size: 1.25rem;
    line-height: 1.5em;
    font-weight: bold;
    border-bottom:2px solid #000000;
    margin-bottom: 2rem;
    padding: .5rem 1rem;
}

main article h4{
    font-size: 1.25rem;
    line-height: 1.5em;
    font-weight: bold;
    border-bottom:2px dotted #c7c7c7;
    margin-bottom: 2rem;
    padding: .5rem 1rem;
}

main article h5{
    font-size: 1.25rem;
    line-height: 1.5em;
    font-weight: bold;
    margin-bottom: 2rem;
    padding: .5rem 1rem;
}

main article h6{
    font-weight: normal;
    font-size: 1.25rem;
    line-height: 1.5em;
    margin-bottom: 2rem;
    padding: .5rem 1rem;
}

@media screen and (max-width : 768px) {
    main .article_title{
        width: 100%;
    }
}

/* sentences */
main .sentences{
    margin-bottom: 8rem;
    line-height: 2.5rem;
    overflow-wrap: normal;
}
main .sentences ul{
    list-style-type: disc;
    padding-inline-start: 2rem;
}
main .sentences ol{
    list-style-type: decimal;
    padding-inline-start: 2rem;
}

main .sentences .wp-block-quote{
    background-color: #F2F3F7;
    padding: 2rem;
    margin-bottom: 5rem;
}

main .sentences a{
    text-decoration: underline;
    cursor: pointer;
    color: black;
}

main .sentences a:hover{
    color: #5105FC;
    cursor: pointer;
}

main .sentences img{
    border-radius: 8px;
}

@media screen and (max-width : 768px) {
    main .sentences{
        width: 100%;
    }
}

main .return_to_news{
    width: 12rem;
    border-radius: 24px;
    background-color: black;
    margin: 8rem auto 12rem auto;
    text-align: center;
}

main .return_to_news a{
    color: white;
}

main .return_to_news p{
    font-weight: bold;
    line-height: 1.5em;
    padding: .5em .5em;
    display: inline-block;
}

@media screen and (max-width : 768px) {
    main .top_img div{
        width: 100%;
        text-align: center;
    }   

    main .top_img img{
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width : 637px) {
    main .top_img div{
        height: 400px;
    }
}

@media screen and (max-width : 527px) {
    main .top_img div{
        height: 300px;
    }
}

@media screen and (max-width : 436px) {
    main .top_img div{
        height: 200px;
    }
}