.p-legal {
    box-sizing: border-box;
    margin: 0;
    min-height: 100vh;
    background: #fff999;
    color: #111;
    font-family: "Yu Gothic", "YuGothic", "Meiryo", "Hiragino Sans", sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

@media screen and (max-width: 375px) {
    html {
        width: 375px;
        zoom: calc(100vw / 375);
    }
}

.p-legal *,
.p-legal *::before,
.p-legal *::after {
    box-sizing: border-box;
}

.p-legal__wrap {
    max-width: 840px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.p-legal__nav {
    margin: 0 0 16px;
}

.p-legal__back {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 14px;
}

.p-legal__frame {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px 56px;
}

.p-legal__title {
    margin: 0 0 0.8em;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}

.p-legal__body p {
    margin: 0.55em 0;
}

.p-legal__date {
    margin-top: 2em;
    text-align: right;
}

.p-legal__article {
    margin-top: 2.8em !important;
}

.p-legal__section {
    margin-top: 1.8em;
}

.p-legal__paren,
.p-legal__bullet {
    margin-top: 0.12em;
    margin-bottom: 0.12em;
    line-height: 1.4;
}

.p-legal__body a {
    color: #0b57d0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 767px) {
    .p-legal {
        font-size: 15px;
    }

    .p-legal__wrap {
        padding: 12px 10px 32px;
    }

    .p-legal__frame {
        border-radius: 12px;
        padding: 24px 18px 40px;
    }

    .p-legal__title {
        font-size: 18px;
    }
}