@charset "UTF-8";



main > section#top_current {
    margin: 0px auto 19vh;
}

main > section#top_news {
    margin-bottom: calc(14vh + 70px);    
}


main > section > article > a {
    position: relative;
}

/*
main > section > article > a::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0);
    transition: 0.3s;
    z-index:0;
}

main > section > article > a:hover::before {
    background-color: rgba(255,255,255,0.1);
}*/

main > section > article > a::after {
    content: "";
    display: block;
    width: 0px;
    border-bottom: 3px solid #ccc;
    border-image: linear-gradient(to right, #665a1a 0%, #edde7b 50%, #665a1a 100%);
    border-image-slice: 1;
    position: absolute;
    bottom: -20px;
    left: 0px;
    transition: 0.2s ease-out;
}
main > section > article > a:hover::after {
    width: 100%;

}


main > section > article {
    width: 100%;
    font-size: 0px;
}

main > section > article:not(:last-of-type) {
    margin-bottom: 14vh;    
}

main > section#top_current > article {
    max-height: 38vh;
    height: 38vh;
}

main > section#top_news > article {
    max-height: 33vh;
    height: 33vh;
}


main > section > article > a {
    width: 100%;
    height: 100%;
}

main > section > article,
main > section > article > a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

main > section > article div {
    /*display: inline-block;
    vertical-align: top;*/
    height: 100%;
}

main > section#top_current > article div {
    max-height: 38vh;
}

main > section#top_news > article div {
    max-height: 33vh;
}

main > section > article div {
    font-size: 1rem;
}

main > section#top_current > article {
    position: relative;
}


main > section#top_current > article div:first-of-type {
    width: 60%;
    display: flex;
    align-items: center;
}

main > section#top_current > article div:last-of-type {
    width: 50%;
    padding: 20px 20px 23px;
    background-color: rgba(255,255,255,0.8);
    position: absolute;
    bottom: 20px;
    left: 50%;
    height: auto;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    transition: 0.2s;
}

main > section > article a:hover div:last-of-type {
    background-color: rgba(250,250,250,1) !important;
}

main > section > article div:last-of-type {
    z-index: 1;
}

main > section#top_current > article div img {
    max-width: 100%;
    max-height: 38vh;
    width: auto;
    height: auto;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}


main > section#top_news > article div:first-of-type {
    width: 40%;
    /*display: flex;
    align-items: center;*/
}

main > section#top_news > article div:last-of-type {
    width: 60%;
    padding: 0px 20px 23px;
}

main > section#top_news > article div img {
    max-width: 100%;
    max-height: 33vh;
    width: auto;
    height: auto;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.3);

    /*object-fit: cover;←newsの画像は、表示範囲を越えるサイズになると切り抜かれて表示されます。*/
}

main > section > article div img {
    display: block;
    margin: auto;
}

.top_current_title {
    font-size: 2.5rem;
    letter-spacing: 10px;
    /*font-weight: bold;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.3);*/
    margin-bottom: 10px;
}

.top_current_detail {
    font-size: 1.5rem;
    line-height: 2.2rem;
    margin-bottom: 10px;
    height: 100%;
    max-height: 14vh;
    overflow-y: auto;
    display: block;
}


main > section#top_news > article div:last-of-type {
    position: relative;
}

a {
    color: #000;
    text-decoration: none;
}

/*main > section#top_current > article div:last-of-type > span {
    font-size: 1.3rem;
    display: block;
    width: 100%;
    padding: 5px 20px;
    text-align: right;
    background-color: #ccc;
    margin-top: 20px;
}*/

main > section#top_current > article > a div:last-of-type::after {
    content: "VIEW MORE";
    font-size: 1.3rem;
    display: block;
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 0px;
    padding: 5px 20px;
    text-align: right;
    background-color: #ccc;
    box-sizing: border-box;
}

/*
main > section#top_news > article div:last-of-type > span {
    font-size: 1.3rem;
    position: absolute;
    bottom: 0px;
    left: 0px;
    display: block;
    width: 100%;
    padding: 5px 20px;
    text-align: right;
    background-color: #666;
    color: #fff;
}*/


/*===============news==================*/

.update_date {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.news_title {
    font-size: 2.5rem;
    letter-spacing: 10px;
    margin-bottom: 10px;
}

.news_detail {
    font-size: 1.5rem;
    line-height: 2.2rem;
    margin-bottom: 10px;
    height: calc(100% - 70px);
    overflow-y: auto;
    max-height: 100px;
}


main > section#top_news > article > a div:last-of-type::after {
    content: "VIEW MORE";
    font-size: 1.3rem;
    display: block;
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 0px;
    padding: 5px 20px;
    text-align: right;
    background-color: #666;
    color: #fff;
    box-sizing: border-box;
}


main > section > article > a div:last-of-type {
    transition: 0.2s;
}

main > section > article > a:hover {
    color: #665a1a !important;
}

main > section > article > a div:last-of-type::after {
    transition: 0.2s;
}

main > section > article > a:hover div:last-of-type::after {
    background-color: #c1ab05 !important;
    color: #fff;
}

main > section > article > div > p.top_current_detail a {
    text-decoration: underline;
    transition: 0.15s;
}

main > section > article > div > p.top_current_detail a:hover {
    color: #c1ab05 !important;
}

.category_name {
    display: none;
}

.news_detail_2 {
    display: none;
}

/*960px以下*/
@media screen and (max-width: 960px) {
    main > section#top_current > article {
        height: auto;
        max-height: unset;
    }

    main > section#top_current > article div {
        max-height: unset;
    }

    main > section#top_current > article div:last-of-type {
        top: calc(100% - 20px);
        left: 20%;
        bottom: unset;
        width: 80%;
    }

    main > section > article,
    main > section > article > a {
        display: block;
    }

    main > section#top_current > article div:first-of-type {
        width: 100%;
        display: block;
    }

    main > section#top_news {
        padding: 150px 20px 0px;
    }

    main > section#top_news > article,
    main > section#top_news > article div {
        height: auto;
        max-height: unset;
    }

    main > section#top_news > article div:first-of-type {
        width: 100%;
    }

    main > section#top_news > article div:last-of-type {
        width: 100%;
        background-color: #fff;
        margin-top: 30px;
    }

    .mews_detail {
        max-height: 14vh;
    }

    main > section#top_current > article:not(:last-of-type) {
        margin-bottom: 300px;    
    }
    main > section#top_news > article:not(:last-of-type) {
        margin-bottom: 14vh;    
    }
 

}

/*520px以下*/
@media screen and (max-width: 520px) {
    main > section#top_current > article div:last-of-type {
        position: unset;
        width: 100%;
        margin-top: 10px;
    }

    main > section#top_news {
        padding: 0px 20px;
    }

    main > section#top_news > article div:last-of-type {
        padding: 0px 0px 23px;
    }

    main > section > article:not(:last-of-type) {
        margin-bottom: 14vh !important;    
    }
    
}

/*縦が520px以下*/
@media screen and (max-height: 520px) {
    main > section#top_current > article div img,
    main > section#top_news > article div img {
        max-height: unset;
    }

    main > section > article:not(:last-of-type) {
        margin-bottom: 250px;
    }

    .top_current_detail {
        max-height: 100px;
    }

    main > section#top_news {
        padding-top: 200px;
    }
}
