/*

ヘッダー調整

*/

header {
    width: 100%;
    height: 350px;
    padding: 0 50px 0 50px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    /* background-color: #9d4517; */
}

/* header {
    width: 1620px;
    margin: 0 auto;
    padding: 30px 0 0 0;
    display: flex;
    justify-content: space-between;
} */

@media screen and (max-width: 1280px) {
    header {
        height: 10%;
        min-height: 10%;
        max-height: 10%;
        padding: 0 10px 0;
    }
}


#header-area {
    display: flex;
    flex-direction: column;
    width: 80%;
    /* background-color: #2262a3; */
}

#header-illust {
    width: 20%;
    /* background-color: aqua; */
}

#header-illust img {
    width: 100%;
    object-fit: contain;
}


/*

ヒーロー逆三角装飾

*/

#hero-triangle {
    background-color: #2262a3;
    width: 100%;
    height: 90px;
    clip-path: polygon(0 0, 100% 0, 50% 100%, 50% 100%);
    margin-top: 0;
}

@media screen and (max-width: 980px) {
    #hero-triangle {
        height: 65px;
        clip-path: polygon(0 0, 100% 0, 50% 100%, 50% 100%);
        margin-top: 0;
    }
}


/*

新着情報一覧エリア

*/

.sec-news {
    width: 1000px;
    margin: 0 auto 25px auto;
}

@media screen and (max-width: 980px) {
    .sec-news {
        width: calc(100% - 60px);
    }
}

.sec-news h2 {
    font-size: 24px;
    font-weight: bold;
    color: #2262a3;
    margin-bottom: 50px;
}

.news-area {
    display: flex;
    gap: 75px 0;
    flex-direction: column;
}

.news-flex-item {
    display: flex;
    gap: 20px 0;
    flex-direction: column;
}

.news-flex-item h3 {
    font-size: 20px;
    font-weight: bold;
}

.news-flex-item h3 span:first-child {
    padding: 5px 15px;
    background-color: #2262a3;
    color: white;
    border-radius: 10px;
    margin-right: 10px;
    font-size: 16px;
    font-weight: normal;
}

.news-flex-item h3 span:last-child {
    padding: 5px 15px;
}

.news-area-contents {
    background-color: #eff8f9;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px 0;
    border-radius: 15px;
}

.news-area-pic {
    display: flex;
    justify-content: space-between;
    gap: 0 30px;
}

.news-area-pic>picture {
    display: block;
    width: calc(100% / 3 - 30px);
    height: 200px;
    /* background-color: antiquewhite; */
    border-radius: 15px;
    overflow: hidden;
}

.news-area-pic>picture:has(.no-image) {
    display: none;
}

img.no-image {
    display: none;
}

.news-area-contents>p {
    line-height: 1.8em;
}

.news-area-contents>p>a {
    color: #2262a3;
    font-weight: 700;
    transition: all .5s;
}

.news-area-contents>p>a:hover {
    text-decoration: underline;
    opacity: 0.7;
}

/* .news-triangle {
    background-color: aliceblue;
    width: 50%;
    height: 30px;
    clip-path: polygon(0 0, 100% 0, 30% 100%, 30% 100%);
} */

@media screen and (max-width: 980px) {
    .news-flex-item h3 br {
        display: block;
        margin-right: 0;
    }

    .news-flex-item h3>span:first-child {
        display: block;
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 5px;
        text-align: center;
        width: 100%;
    }

    .news-flex-item h3>span:last-child {
        display: block;
        text-align: center;
    }

    .news-area-pic {
        gap: 30px 30px;
        flex-direction: column;
    }

    .news-area-pic>picture {
        width: calc(100%);
    }
}