@charset "utf-8";
body {
    background: #f7f7f8;
}
.container {
    max-width: 58.75rem;
    margin: 3.75rem auto;
    padding: 0 1.25rem;
}
.container.align--c {
    height: calc(100vh - 15.625rem);
    min-height: 31.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
    margin: 0 auto;
}
.bn {
    display: block;
    margin-bottom: 2.875rem;
}
.bn img {
    width: 100%;
    height: auto;
}
.page-title {
    text-align: center;
    margin-bottom: 2.5rem;
}
.align--c .page-title,
.align--c .page-title h1 {
    margin-bottom: 0;
}
.page-title h1 {
    font-size: 2rem;
    margin-bottom: .625rem;
    font-weight:  bold;
}
.page-title p {
    color: #666;
    line-height: 1.8;
    margin-top: 1rem;
}
h2 {
    font-size: 1.125rem;
    margin: 2.5rem 0 1.25rem;
    font-weight: bold;
    padding-left: .75rem;
    border-left: .5rem solid var(--color-font);
}
.required {
    margin-left: .3125rem;
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: .75rem;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    color: #fff;
    background-color: #E60D5A;
}
.error {
    color: #E60D5A;
    margin-top: .5rem;
    font-size: .875rem;
}
.form-box {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: .9375rem;
    background: #fff;
}
.form-box label.field-label {
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: .5rem;
    font-size: .875rem;
}
input[type=text],
input[type=email],
input[type=tel],
textarea {
    width: 100%;
    padding: .625rem;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: .875rem;
    resize: none;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
textarea:focus {
    outline: none;
    border-color: #1e73be;
}
textarea {
    min-height: 11.25rem;
}
.checkbox-group label {
    display: block;
    font-weight: normal;
    margin-bottom: .625rem;
    color: #555;
}
.label-policy {
    display: block;
    max-width: max-content;
    margin: auto;
}
.error-box {
    border: 1px solid #d00;
    border-radius: 10px;
    background: #fff5f5;
    padding: .9375rem 1.25rem;
    margin-bottom: 2rem;
}
.error-box strong {
    font-size: 1.25rem;
    padding-bottom: .9375rem;
}
.error-box ul {
    padding-left: 2.5rem;
    list-style-type: disc;
}
.error-box ul li {
    padding-top: .3125rem;
}
.policy {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: .9375rem;
    background: #fff;
    height: 21.25rem;
    overflow-y: scroll;
    /* Firefox */
    scrollbar-width: none;
    /* IE, Edge (旧) */
    -ms-overflow-style: none;
}
/* Chrome, Safari, Edge */
.policy::-webkit-scrollbar {
    display: none;
}
.policy_title {
    font-weight: bold;
}
.policy_text + .policy_title {
    margin-top: 2rem;
}
.policy_text {
    color: #555;
    margin-top: .5rem;
    em{
        text-decoration: underline;
    }
    ol{
        list-style-type: decimal;
        list-style-position: inside;
        text-indent: -1em;
        margin-left: 1em;
    }
}
.buttons {
    margin: 2.5rem auto;
    text-align: center;
}
.btn-back,
.btn {
    display: inline-block;
    max-width: 15.625rem;
    width: 100%;
    padding: .875rem 2.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: .9375rem;
}
.btn-back {
    background: #fff;
    border: 1px solid #999;
    margin-right: .625rem;
}
.btn {
    background: var(--color-accent);
    color: #fff;
    border: none;
}
#otherField {
    display: none;
    margin-top: .9375rem;
}
#otherField2 {
    display: none;
    margin-top: .9375rem;
}
.confirm-box {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: .9375rem;
    background: #fff;
}
.confirm-label {
    font-weight: bold;
    color: #333;
    margin-bottom: .5rem;
    font-size: .875rem;
}
.confirm-value {
    color: #555;
    word-break: break-word;
}
.page-title {
    text-align: center;
    margin-bottom: 2.5rem;
}
@media(max-width:768px) {
    .container.align--c {
        height: calc(100vh - 18.375rem);
        min-height: 18.75rem;
    }
    .page-title h1 {
        font-size: 1.75rem;
    }
    h2 {
        font-size: 1rem;
    }
}