body {
    background-color: #fff951;
}

.container {
    position: relative;
    margin: 0 auto;
    box-sizing: border-box;
    opacity: 0.9;
    box-shadow: 0 1.25rem 1.25rem 0 rgba(0, 0, 0, 0.57);
    border: solid 1px #707070;
    background-color: white;
    overflow-wrap: anywhere;
}

.page_title {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.container figure {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 0 auto;
}

.container li {
    margin-bottom: 1.5rem;
}

.wp-block-table.rule-table td {
    border: none;
}

/* Desktop Style */
@media screen and (min-width: 769px) {

    h1, h2, h3, h4, h5, h6 {
        margin-left: 4rem;
        margin-bottom: 1rem;
    }

    .container {
        width: 93%;
        padding: 6.5rem 5rem;
        font-size: 1.75rem;
    }

    .page_title h1 {
        margin-left: 1.8rem;
        font-size: 3.75rem;
        letter-spacing: 1rem;
    }

    .container h2 {
        position: relative;
        margin-top: 3.95rem;
        margin-bottom: 0;
        font-size: 2.5rem;
        letter-spacing: 1rem;
    }
    .container h2::before {
        content: '';
        position: absolute;
        left: -3.5rem;
        top: 50%;
        transform: translateY(-50%);
        display: block;
        width: 1.625rem;
        height: 1.625rem;
        background-image: url(../images/h2-decoration.svg);
    }
    .container h3 {
        display: inline-block;
        margin-top: 2rem;
        margin-bottom: 0;
        font-size: 1.5rem;
    }
    .container h3::after {
        content: '';
        display: block;
        width: 17.7rem;
        height: 3.2rem;
        position: absolute;
        left: 0;
        z-index: -1;
        margin-top: -2rem;
        background-repeat: no-repeat;
        background-image: url(../images/h3-decoration.svg);
        background-size: 17rem 3rem;
    }
    .container h4.mobile-title {
        display: none;
    }

    .container p {
        margin: 0 4rem 3rem 4rem;
        line-height: 1.33;
        text-indent: 3.5rem;
    }
    .container ul {
        margin: 0 4rem 3rem 4rem;
        list-style: disc;
        list-style-position: inside;
    }
    .container ol {
        margin: 0 4rem 3rem 4rem;
        list-style: decimal;
        list-style-position: inside;
    }

    .wp-block-table {
        width: 72rem !important;
        margin: 2rem auto 0 auto !important;
        font-size: 1.5rem;
    }
    .wp-block-table table td {
        padding-bottom: 2rem;
        line-height: 1.3;
    }
    .wp-block-table.rule-table tr td:first-child {
        width: 10.5rem;
        letter-spacing: 5px;
    }

}

/* Mobile Style */
@media only screen and (max-width: 768px) {

    h1, h2, h3, h4, h5, h6 {
        margin-left: 2rem;
        margin-bottom: 0.5rem;
    }

    .container {
        width: 91.5%;
        padding: 5rem 2rem 3rem 2rem;
        font-size: 1rem;
    }

    .page_title img {
        height: 2.5rem;
    }
    .page_title h1 {
        margin-left: 1rem;
        font-size: 2rem;
        letter-spacing: 0.5rem;
    }

    .container h2 {
        position: relative;
        font-size: 1.5rem;
    }
    .container h2::before {
        content: '';
        position: absolute;
        left: -2rem;
        top: 50%;
        transform: translateY(-50%);
        display: block;
        width: 0.975rem;
        height: 0.975rem;
        margin-right: 1.2rem;
        background-image: url(../images/h2-decoration.svg);
        background-size: 0.975rem 0.975rem;
    }

    .container h4.mobile-title {
        width: 100%;
        margin: 0;
        margin-top: 3rem;
        font-size: 1rem;
        font-weight: bold;
        text-align: center;
    }
    .container h4.mobile-title::after {
        content: '';
        display: block;
        width: 12rem;
        height: 2rem;
        position: absolute;
        left: 0;
        z-index: -1;
        margin-top: -1.2rem;
        margin-left: 50%;
        transform: translateX(-50%);
        background-repeat: no-repeat;
        background-image: url(../images/h3-decoration-m.svg);
        background-size: 12rem 2rem;
    }

    .container figure img {
        max-width: 100%;
        height: auto;
        margin-top: 1.5rem;
    }
    .container p {
        margin: 1.5rem 0;
        line-height: 1.33;
        text-indent: 2rem;
    }
    .container ul {
        margin: 0 2rem;
        list-style: disc;
        list-style-position: inside;
    }
    .container ol {
        margin: 0 2rem;
        list-style: decimal;
        list-style-position: inside;
    }

    .wp-block-table {
        width: 90% !important;
        margin: 2rem auto 0 auto !important;
        font-size: 1rem;
    }
    .wp-block-table table td {
        padding-bottom: 1rem;
        line-height: 1.3;
    }
    .wp-block-table.rule-table tr td:first-child {
        width: 6.5rem;
        letter-spacing: 2px;
    }

}
