article#message {
    padding-top: 100px;
    padding-bottom: 100px;
    /* border-bottom: 2px solid #000; */
}
    article#message label {
        font-family: "kozuka-gothic-pr6n", sans-serif;
        background-color: #AF1D22;
        color: #fff;
        padding: 15px 20px;
        border-radius: 5px;
        font-size: 2.4rem;
        margin-bottom: 24px;
    }
    article#message h1,
    article#message h2 {
        font-family: "toppan-bunkyu-gothic-pr6n", serif;
        font-size: 5.0rem;
        line-height: 68px;
        margin-bottom: 80px;
    }
    article#message h2 {
        margin-top: 120px;
    }
    article#message p {
        font-family: "kozuka-gothic-pr6n", sans-serif;
        font-size: 1.8rem;
        color: #707070;
        line-height: 40px;
        margin-bottom: 40px;
    }
    article#message p b {
        font-size: 3.0rem;
        line-height: 45px;
    }
    article#message .ideal {
        position:relative;
        display: flex;
        align-items: center;
        margin-top: 80px;
        border: 2px solid #B5392A;
        height: 200px;
    }
    article#message .ideal img {
        position: relative;
        left: 30px;
        width: 255px;
        margin-right: 25px;
    }
    article#message .ideal ul {
        margin-bottom: 0;
    }
    article#message .ideal ul li {
        font-family: "kozuka-gothic-pr6n", sans-serif;
        font-size: 2.7rem;
        font-weight: bold;
        color: #C9231D;
        line-height: 50px;
    }
    

section#pagenation {
    display: flex;
    justify-content: center;
    gap: 30px;
}
    section#pagenation .link.page {
        font-family: "kozuka-gothic-pr6n", sans-serif;
        padding: 18px;
        width: 60px;
        height: 60px;
        font-size: 24px;
        justify-content: center;
    }

@media (max-width: 1199px) {   
    article#message .ideal ul li {
        font-size: 2.0rem;
    }
}
@media (max-width: 945px) {
    article#message .ideal {
        height: 170px;
    }
    article#message .ideal img {
        left: 15px;
        width: 215px;
    }
    article#message .ideal ul li {
        line-height: 45px;
    }
}  
@media (max-width: 900px) {
    article#message .ideal {
        height: 150px;
    }
    article#message .ideal img {
        left: 15px;
        width: 190px;
    }
    article#message .ideal ul li {
        font-size: 1.8rem;
        line-height: 40px;
    }
}
@media (max-width: 810px) {
    article#message label {
        padding: 10px 15px;
        font-size: 2.0rem;
    }
    article#message p {
        font-size: 1.6rem;
        line-height: 35px;
    }
    article#message p b {
        font-size: 2.6rem;
        line-height: 40px;
    }
    article#message .ideal {
        height: 125px;
    }
    article#message .ideal img {
        left: 15px;
        width: 150px;
    }
    article#message .ideal ul li {
        font-size: 1.6rem;
        line-height: 35px;
    }
}
/* Bootrstap < md */
@media (max-width: 767px) {
    article#message .ideal {
        height: auto;
        padding-top: 50px;
        border: none;
        flex-flow: column;
        align-items: start;
    }
    article#message .ideal img {
        position: absolute;
        left: 0px;
        top: -75px;
    }

    article#message .ideal ul {
        width: 100%;
        padding-top: 25px;
        padding-bottom: 10px;
        padding-right: 10px;
        padding-left: 25px;
        border: 2px solid #B5392A;
    }
}
@media (max-width: 500px) {
    article#message h1, 
    article#message h2 {
        font-size: 4rem;
        line-height: 55px;
        margin-bottom: 60px;
    }

    article#message h2 {
        margin-top: 80px;
    }
    article#message label {
        padding: 5px 15px;
        margin-bottom: 15px;
    }
    article#message p {
        margin-bottom: 30px;
    }
    article#message p b {
        font-size: 1.8rem;
    }
}
@media (max-width: 405px) {
    article#message h1, article#message h2 {
        font-size: 3.5rem;
    }
}
