@charset "utf-8";

/* PORTED: 旧 mahotai-news.css / custom.css から必要な分のみ移植。カード自体は共通の special-article-card を使う */
.mahotai-news-special {
    padding: 20px 0;
    font-size: 14px;
    color: #333;
    background: url("../image/bg-base_pc.jpg") center top / cover no-repeat fixed;
    font-feature-settings: normal;
}

.mahotai-news-special * {
    box-sizing: border-box;
}

.mahotai-news-special img {
    max-width: 100%;
    height: auto;
}

.mahotai-news-special #contents {
    width: 100%;
    max-width: 1020px;
    padding: 0 0 20px;
    margin: 0 auto;
}

#mahotai-news-title {
    margin-bottom: 50px;
}

#mahotai-news-title h1 {
    font-size: medium;
}

.mahotai-news-special .special-article-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px 2%;
    font-feature-settings: 'palt' on;
}

.mahotai-news-special #more-btn {
    margin-top: 40px;
}

.mahotai-news-special #more-btn button {
    display: block;
    width: 100%;
    max-width: 320px;
    padding: 0;
    margin: 0 auto 20px;
    font-family: inherit;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #333;
    text-align: center;
    cursor: pointer;
    background: #ffce40;
    border: 4px solid #223f99;
    border-radius: 0;
    line-height: 42px;
}

.mahotai-news-special #more-btn button:hover {
    opacity: 0.7;
}

.to-mahotai-top {
    margin-top: 70px;
    text-align: center;
}

.to-mahotai-top a {
    display: inline-block;
    width: 300px;
    max-width: 100%;
    padding: 20px 0;
    font-weight: bold;
    color: #333;
    background: #ffce40;
    border: 4px solid #223f99;
    border-radius: 10px;
}

.to-eye {
    margin-top: 30px;
    text-align: center;
}

.to-eye a {
    transition: opacity 0.2s ease-in-out;
}

.to-eye a:hover {
    opacity: 0.7;
}

#mahotai-news-copyright {
    margin-top: 50px;
    font-size: 12px;
    font-weight: 600;
    line-height: 2;
    text-align: center;
    text-shadow: 1px 1px #fff;
}

@media screen and (max-width: 767px) {
    .mahotai-news-special {
        background-image: url("../image/bg-base_sp.jpg");
        background-attachment: scroll;
    }

    #mahotai-news-title {
        margin-bottom: 30px;
    }

    .mahotai-news-special .special-article-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 4%;
        padding: 0 20px;
    }
}
