@charset "UTF-8";

body {
    font-family: "M PLUS Rounded 1c", sans-serif;
}

a {
    text-decoration: none;
}

.fontRed {
    color: #EC081F;
}

.fontLarge {
    font-weight: bold;
    font-size: 50px;
}

.small {
    font-size: 15px;
    padding: 10px;
}

main {
    font-size: 20px;
    background: #fff;

}

.inform>.inner,
.caution>.inner {
    max-width: 750px;
    margin: 0 auto;
}


@media screen and (max-width: 768px) {
    main {
        font-size: 16px;
    }

    .small {
        font-size: 0.85rem;
    }
}


/*---top---*/

.mv_text {
    background: #c92d4b;
    padding: 10px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 30px;
}

.inner {
    max-width: 1330px;
    margin-left: auto;
    margin-right: auto;
}

.top_message {
    text-align: center;
    padding: 65px 10px;
}

.top_catch {
    font-weight: bold;
    font-size: 28px;
    padding: 0 0 30px;
}


@media screen and (max-width: 768px) {
    .mv_text {
        font-size: 18px;
    }

    .top_message {
        padding: 30px 10px;
    }

    .top_catch {
        font-size: 18px;
    }

}




/*--応募方法--*/

.introduce {
    background-color: #f4e9cb;
    background-image: linear-gradient(#ffffff 1px, transparent 1px), linear-gradient(to right, #ffffff 1px, #f4e9cb 1px);
    background-size: 20px 20px;
    padding-bottom: 35px;
}



.introduce_ttl {
    padding: 20px;
    text-align: center;
    background: #c92d4b;
    font-weight: bold;
    color: #fff;
    font-size: 30px;
}

.introduce_list {
    text-align: center;
    padding: 30px 5px;
    background: #fff;
    max-width: 890px;
    margin: 35px auto;
    border-radius: 5vh;
    border: solid 7px #c92d4b;
}

.introduce_list h2 {
    font-size: 28px;
    margin: 0;
    color: #c92d4b;
}



.list_text {
    padding: 23px;
    display: inline-block;
    text-align: left;
}


.postButton {
    font-size: 30px;
    display: block;
    width: 100%;
    height: 2.8em;
    background: #c92d4b;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: 0 0.3em 0 rgba(0, 0, 0, 0.5), 0 0.3em 0 #fb7f9b;
    position: relative;
    margin: 10px auto 40px;
    max-width: 475px;
}

.postButton::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.5em;
    border-top: 0.5em solid rgba(0, 0, 0, 0);
    border-bottom: 0.5em solid rgba(0, 0, 0, 0);
    border-left: 0.5em solid #fff;
    transform: translateY(-50%);
}



@media screen and (max-width: 768px) {

    .introduce_ttl {

        font-size: 23px;
    }


    .introduce_list {
        font-size: 16px;
        margin: 35px auto;
    }

    .introduce_list h2 {
        font-size: 25px;
    }

    .postButton {
        font-size: 25px;
        margin: 10px auto 35px;
        max-width: 250px;
    }

}

/*--辞書一覧（最新年度と2025年度の共通スタイル）--*/

.dictionary, .dictionary-2025 {
    text-align: center;
    background: #fff;
    padding: 40px 0 100px;
}

.dictionary img, .dictionary-2025 img {
    max-width: 880px;
    width: 100%;
}

.dictionary ul, .dictionary-2025 ul {
    display: flex;
    flex-wrap: wrap;
    margin: 60px auto;
    padding: 0;
    justify-content: center;
    max-width: 1100px;
    align-items: stretch;
}

.dictionary li, .dictionary-2025 li {
    max-width: 288px;
    height: auto;
    width: 100%;
    padding: 35px 20px;
    margin: 6px;
    border-radius: 2vh;
    background: #f4f2cc;
}

.dictionary h3, .dictionary-2025 h3 {
    font-size: 40px;
}

.dictionary p, .dictionary-2025 p {
    margin: 0;
    font-size: 1rem;
}

.list_center {
    text-align: center;
}

@media screen and (max-width: 768px) {
    .dictionary-2025 {
        padding: 20px 0 40px;
    }

    .dictionary li, .dictionary-2025 li {
        max-width: 288px;
        height: 100%;
        padding: 10px 10px 15px;
    }

    .dictionary h3, .dictionary-2025 h3 {
        font-size: 25px;
    }

    .dictionary p, .dictionary-2025 p {
        font-size: 0.78rem;
    }
}


/*-- 2025年度専用：アコーディオン設定 --*/

.dictionary_accordion {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 10px;
    text-align: center; /* 👈 なかのボタンを確実に中央寄せにする */
}

.accordion_trigger {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    background-color: #c92d4b;
    padding: 15px 50px;
    border-radius: 50px;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.2s;
    list-style: none;
}

.accordion_trigger::-webkit-details-marker {
    display: none;
}

.accordion_trigger::after {
    content: "▼";
    font-size: 16px;
    margin-left: 15px;
    transition: transform 0.3s;
}

.accordion_trigger:hover {
    background-color: #b1243e;
}

details[open] .accordion_trigger {
    background-color: #666;
    box-shadow: none;
    transform: translateY(2px);
}

details[open] .accordion_trigger::after {
    content: "▲";
}

.accordion_content {
    margin-top: 40px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 768px) {
    .accordion_trigger {
        font-size: 18px;
        padding: 12px 35px;
        width: 80%;
    }
    .accordion_trigger::after {
        font-size: 12px;
        margin-left: 10px;
    }
    .accordion_content {
        margin-top: 20px;
    }
}