/* <<<変更不可ここから>>> */
.lp-wrapper {
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0em;
    line-height: 1.8;
    color: #000;
    margin-block: 40px 25px;
}
@media screen and (max-width: 991px) {
    .lp-wrapper {
        font-size: 13px;
    }
}

@media screen and (min-width: 992px) {
    .lp-wrapper {
        margin-block: 60px 55px;
    }
}

.lp-wrapper *,
.lp-wrapper::before,
.lp-wrapper::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.lp-wrapper * {
    font-family: 'Archivo', 'Noto Sans JP', sans-serif;
}
.lp-wrapper a {
    text-decoration: none;
}

.lp-container,
.lp-container-narrow,
.lp-container-wide {
    width: calc(100% - 40px);
    margin-inline: auto;
}

@media screen and (min-width: 992px) {
    .lp-container {
        width: min(1080px, calc(100% - 120px));
    }
}

@media screen and (min-width: 992px) {
    .lp-container-narrow {
        width: min(840px, calc(100% - 120px));
    }
}

@media screen and (min-width: 992px) {
    .lp-container-wide {
        width: min(1440px, calc(100% - 104px));
    }
}

.lp-h2 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

@media screen and (min-width: 992px) {
    .lp-h2 {
        font-size: 24px;
    }
}


/* <<<変更不可ここまで>>> */

/*
ここからページ固有のスタイルを記述
ブレイクポイントは、PC：〜992px、Tab：〜992、SP：991〜
*/
#page-agreement .lp-h2 {
    margin-bottom: 40px;
}

@media screen and (max-width: 991px) {
    #page-agreement .lp-h2 {
        line-height: 1.6;
        margin-bottom: 20px;
    }
}

#page-agreement p {
    margin-top: 10px;
}

#page-agreement ol {
    list-style-type: none;
}

#page-agreement a {
    text-decoration: underline;
}

#page-agreement ol.hierarchy1 {
    counter-reset: hierarchy1 0;
    margin-top: 32px;
}

#page-agreement ol.hierarchy1 > li {
    line-height: 1.8;
}

#page-agreement ol.hierarchy1 > li h3 {
    display: grid;
    grid-template-columns: 48px auto;
    align-items: baseline;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
}

@media screen and (min-width: 992px) {
    #page-agreement ol.hierarchy1 > li h3 {
        font-size: 15px;
    }
}

#page-agreement ol.hierarchy1 > li h3::before {
    counter-increment: hierarchy1 1;
    content: "第" counter(hierarchy1) "条";
    display: block;
    width: 48px;
    font-size: 14px;
    font-weight: 500;
}

@media screen and (min-width: 992px) {
    #page-agreement ol.hierarchy1 > li h3::before {
        font-size: 15px;
    }
}

#page-agreement ol.hierarchy1 > li + li {
    margin-top: 20px;
}

@media screen and (min-width: 992px) {
    #page-agreement ol.hierarchy1 > li + li {
        margin-top: 32px;
    }
}

#page-agreement ol.hierarchy2 {
    counter-reset: hierarchy2 0;
    margin-top: 10px;
    padding-left: 0;
}

#page-agreement ol.hierarchy2 > li {
    padding-left: 1.25em;
    text-indent: 0;
    position: relative;
}

#page-agreement ol.hierarchy2 > li.is-double-digit {
    padding-left: 1.75em;
}

#page-agreement ol.hierarchy2 > li .number {
    position: absolute;
    left: 0;
    width: 1.25em;
    display: inline-block;
}

#page-agreement ol.hierarchy2 > li.is-double-digit .number {
    width: 1.75em;
}

@media screen and (min-width: 992px) {
    #page-agreement ol.hierarchy2 > li {
        font-size: 14px;
    }
    #page-agreement ol.hierarchy2 > li > span {
        font-size: 16px;
    }
}

#page-agreement ol.hierarchy2 > li + li {
    margin-top: 24px;
}

@media screen and (min-width: 992px) {
    #page-agreement ol.hierarchy2 > li + li {
        margin-top: 24px;
    }
}
#page-agreement p.marker {
    position: relative;
}
#page-agreement p.marker > span {
    text-indent: 0;
    position: relative;
    display: block
}
#page-agreement p.marker > span::before {
    content: "\0203B";
    position: absolute;
    left: -18px;
    width: 1.5em;
    display: inline-block;
    text-align: left;
}
#page-agreement ol.hierarchy2.settlement_method > li + li > p.marker {
    margin-top: 10px;
    font-size: 14px;
}

#page-agreement ol.hierarchy2.settlement_method > li + li > p.marker:nth-of-type(n+2) {
    margin-top: 0;
}

@media screen and (max-width: 991px) {
    #page-agreement ol.hierarchy2.settlement_method > li + li > p.marker {
        font-size: 13px;
    }
}

#page-agreement ol.hierarchy3 {
    counter-reset: hierarchy3 0;
    margin-top: 10px;
    padding-left: 0;
}

#page-agreement ol.hierarchy3 > li {
    font-size: 13px;
    font-weight: 400;
    display: flex;
    align-items: flex-start;
    gap: 2px;
    text-indent: 0;
}

@media screen and (min-width: 992px) {
    #page-agreement ol.hierarchy3 > li {
        font-size: 14px;
    }
}

#page-agreement ol.hierarchy3 > li::before {
    counter-increment: hierarchy3 1;
    content: "(" counter(hierarchy3) ")";
    min-width: 20px;
    font-size: 13px;
    font-weight: 400;
    text-align: left;
    flex-shrink: 0;   
}

#page-agreement ol.hierarchy3 > li:nth-of-type(n+10)::before {
    min-width: 28px;
}

@media screen and (min-width: 992px) {
    #page-agreement ol.hierarchy3 > li::before {
        font-size: 14px;
    }
}

#page-agreement ol.hierarchy3 > li + li {
    margin-top: 8px;
}

#page-agreement ol.hierarchy3 > li > p {
    margin-top: 0;
}