@media screen and (min-width: 769px) {
    h1.block-freepage-title {
        position: relative;
        font-size: 40px;
        line-height: 1.1;
        font-weight: normal;
        padding: 0 0 30px;
        margin: 40px auto 30px;
        color: #000;
        text-align: center;
        z-index: 10;
        display: flex;
        flex-direction: column;
    }
    h1.block-freepage-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 2px;
        background: #E60019;
    }
    #law {
        width: 980px;
        margin: 0px auto 50px;
        line-height: 1.6;
        font-size: 16px;
    }
    #law a {
        text-decoration: underline;
    }
    #law .box_ {
        margin-bottom: 50px;
    }
    #law .box_ .inner_ {
        padding: 0 10px;
    }
    #law h2.common_headline2_ {
        margin: 0 0 10px 0;
        padding: 10px;
        border-bottom: 1px solid #ddd;
        color: #330000;
        font-size: 20px;
        font-weight: normal;
        line-height: 1;
    }
    #law h3.common_headline3_ {
        margin: 0 0 10px 0;
        padding: 5px 0;
        font-size: 14px;
        font-weight: bold;
        color: #aa0000;
        border: unset;
    }
    #law .txt {
        margin-bottom: 10px;
    }
    #law .law_method_ {
        margin: 20px 0;
        border: 1px solid #ddd;
        border-radius: 5px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
    }
    #law .law_method_ h4 {
        padding: 9px 0px 9px 20px;
        color: #000000;
        font-size: 14px;
        font-weight: bold;
        letter-spacing: 0.08em;
        border-bottom: 1px solid #ddd;
        background: #F5F5F5;
        border-top-right-radius: 5px;
        -moz-border-top-right-radius: 5px;
        -webkit-border-top-right-radius: 5px;
        border-top-left-radius: 5px;
        -moz-border-top-left-radius: 5px;
        -webkit-border-top-left-radius: 5px;
    }
    #law .law_method_ .law_method_inner_ {
        padding: 15px 20px;
    }
    #law .law_method_inner_ .img_ {
        text-align: center;
        margin: 10px 0;
    }
    #law .info_ {
        margin-bottom: 10px;
    }
    .info_ {
        font-weight: bold;
    }
    #law .law_method_inner_ table {
        width: 500px;
        margin: 0 auto;
        border: 1px solid #cfcfcf;
    }
    #law .law_method_inner_ th,
    #law .law_method_inner_ td {
        padding: 5px 20px;
        border: 1px solid #cfcfcf;
    }
    #law .law_method_inner_ th {
        background: #f2f2f2;
        text-align: center;
    }
    #law .law_method_inner_ td.cost_ {
        text-align: right;
    }
}
@media screen and (max-width: 768px) {
    h1.block-freepage-title {
        position: relative;
        font-size: calc((20 / 390) * 100vw);
        line-height: 1;
        font-weight: bold;
        padding-bottom: calc((10 / 390) * 100vw);
        margin-bottom: calc((15 / 390) * 100vw);
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    h1.block-freepage-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: calc((50 / 390) * 100vw);
        height: 2px;
        background: #E60019;
    }
    #law {
        margin: calc((40 / 390) * 100vw) calc((16 / 390) * 100vw) 0;
    }
    #law a {
        text-decoration: underline;
    }
    #law .box_ {
        margin-bottom: calc((30 / 390) * 100vw);
        padding: 0;
    }
    #law .box_ .common_headline2_ {
        padding: calc((10 / 390) * 100vw) 0 calc((10 / 390) * 100vw) calc((20 / 390) * 100vw);
        margin: calc((20 / 390) * 100vw) calc((10 / 390) * 100vw) calc((10 / 390) * 100vw) 0;
        color: #333333;
        font-size: calc((16 / 390) * 100vw);
        font-weight: bold;
        line-height: 1.4;
        position: relative;
    }
    #law .common_headline2_::after {
        width: calc((5 / 390) * 100vw);
        height: 60%;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        content: "";
        position: absolute;
        bottom: 20%;
        left: 0;
        background: #E60019;
    }
    #law .box_ .inner_ {
        padding: 0 0 calc((10 / 390) * 100vw);
    }
    #law .box_ .inner_ .common_headline3_ {
        margin: 0 0 1.5% 0;
        padding: 0;
        font-size: calc((14 / 390) * 100vw);
        font-weight: bold;
    }
    #law .txt {
        margin-bottom: calc((10 / 390) * 100vw);
    }
    #law .law_method_ {
        margin-bottom: calc((10 / 390) * 100vw);
        border: 1px solid #ddd;
        border-radius: 5px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
    }
    #law .law_method_ h4 {
        padding: calc((5 / 390) * 100vw) 0 calc((5 / 390) * 100vw) calc((10 / 390) * 100vw);
        color: #000000;
        font-size: calc((14 / 390) * 100vw);
        font-weight: bold;
        letter-spacing: 0.08em;
        border-bottom: 1px solid #ddd;
        background: #F5F5F5;
        border-top-right-radius: 5px;
        -moz-border-top-right-radius: 5px;
        -webkit-border-top-right-radius: 5px;
        border-top-left-radius: 5px;
        -moz-border-top-left-radius: 5px;
        -webkit-border-top-left-radius: 5px;
    }
    #law .law_method_inner_ {
        padding: calc((10 / 390) * 100vw);
    }
    #law .info_ {
        font-weight: bold;
    }
    #law .img_ {
        margin: calc((10 / 390) * 100vw) 0;
    }
    #law .law_method_ .law_method_inner_ span {
        font-size: small;
        text-align: center;
        overflow: hidden;
        width: 100%;
        display: block;
        margin-bottom: calc((20 / 390) * 100vw);
    }
    #law table {
        margin: calc((10 / 390) * 100vw) auto;
        border: 1px solid #cfcfcf;
    }
    #law th {
        background: #f2f2f2;
        text-align: center;
    }
    #law td.cost_ {
        text-align: right;
    }
    #law th, #law td {
        padding: calc((5 / 390) * 100vw);
        border: 1px solid #cfcfcf;
    }
}