:root {
    /* red */
    --main-color: #cc0033;
    --red-color-primary: #ece4e4;
    --red-color-secondary: #f7e7e7;
    --red-color-tertiary: #d9bdbd;

    /* blue */
    --blue-color-primary: #DCE6F2;
    --blue-color-secondary: #c1d3ea;
    --blue-color-tertiary: #abc7ea;

    /* black */
    --base-color: #000;
    --base-sub-color: #222;

    --black-color-primary: #000;
    --black-color-secondary: #252525;

    /* white */
    --white-color-primary: #fff;

    /* gray */
    --gray-color-primary: #eee;
    --gray-color-secondary: #e1e1e1;
    --gray-color-tertiary: #8b8b8b;
    --gray-color-quaternary: #525151;

    /* red */
    --invalid-color: #bb0303;

    /* break point */
    --bp-sm: 480px;
    --bp-md: 639px;
    --bp-lg: 1024px;
}

* {
    font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "?��q?��?��?��M?��m?��p?��S ProN W3", "Hiragino Sans", "?��q?��?��?��M?��m?��p?��S?��V?��b?��N", "?��?��?��C?��?��?��I", "Meiryo", "?��l?��r ?��o?��S?��V?��b?��N", "MS P Gothic", system-ui, sans-serif;
    transition: all .3s;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

#whole-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.body_tbl {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

body {
    width: 100%;
    /* background: var(--red-color-primary); */
    background: var(--white-color-primary);
    color: var(--base-color);
    font-size: 16px;
    line-height: 160%;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    word-break: normal;
    /* opacity: 0; */
}

a {
    text-decoration: underline;
    color: var(--base-color);

    &:hover {
        text-decoration: none;
        color: var(--main-color);
    }

    &.link {
        margin-inline: .3em;

        &::after {
            content: "\29C9";
            margin-left: .3em;
            font-size: .9em;
            vertical-align: middle;
            color: var(--main-color);
            text-decoration: none;
            pointer-events: none;
        }
    }
}

hr {
    border-bottom: 1px dashed #ccc;
    margin: 20px auto 10px auto;
}

/* input */

input[type="text"],
input[type="password"],
input[type="email"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: none;
    border: none;
    border-radius: 0px;
    padding: 0px;
    /* reset end */
}

/* input width adjustment */
.input_line ul li {
    box-sizing: border-box;
    width: 45%;
    display: inline-block;
    box-sizing: border-box;
    vertical-align: top;

    @media screen and (max-width:768px) {
        width: 48%;
        display: inline-block;
        font-weight: normal;
        vertical-align: top;
    }

    & input {
        width: calc(90% - 35px) !important;

        @media screen and (max-width:768px) {
            width: 95% !important;
        }
    }
}

/* placeholder */
input {
    &::placeholder {
        color: #ccc;
    }

    &::-webkit-input-placeholder {
        color: #ccc;
    }

    &:-ms-input-placeholder {
        color: #ccc;
    }
}

/* bold */
.bold {
    font-weight: bold;
}

.red {
    color: var(--invalid-color);
}

/* invisible */
.invisible {
    opacity: 0;

    &.height_none {
        height: 0;

        *,
        *::before,
        *::after {
            height: 0 !important;
            padding: 0 !important;
            min-height: 0 !important;
            line-height: 0 !important;
            overflow: hidden;
        }
    }
}

.u-line {
    text-decoration: underline !important;
    display: inline-block !important;
    margin: 0 !important;
}

/* clearfix */
.cl {
    clear: both;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    display: inline-block;
}

/* clearfix IE-mac workaround */
* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

/* ============================================
*  common
*  ============================================ */

& .header-wrapper {
    background-color: var(--white-color-primary);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;

    & .header-logo {
        width: 240px;

        & img {
            width: 100%;
        }
    }
}

& .main-header {
    /* background-color: var(--main-color); */
    background-image: url(/u/resource/dbPartnerProgram/assets/img/header.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    display: flex;
    flex-flow: column;
    align-items: center;
    padding: 40px 20px 60px;

    @media screen and (max-width:768px) {
        padding-block: 20px;
    }

    & .page-name-wrapper {
        background-color: rgba(255, 255, 255, .9);
        padding: 16px 33px;
        display: flex;
        font-size: 1.5em;
        font-weight: bold;

        @media screen and (max-width:768px) {
            font-size: 1em;
            padding: 9px 20px;
        }
    }

    & .header-img-wrapper {
        height: 50px;
        margin-top: 23px;
        margin-bottom: 20px;

        & img {
            height: 100%;
            display: block;
        }
    }

    & .h1-wrapper {
        color: var(--white-color-primary);
        text-align: center;

        & h1 {
            font-size: 3em;
            color: var(--white-color-primary);
            margin-block: 0;

            @media screen and (max-width:768px) {
                font-size: 1.5em;
                line-height: 160%;
            }
        }
    }

    & .explanation {
        margin-top: 44px;
        color: var(--white-color-primary);
        font-weight: normal;
    }
}

.footer-wrapper {
    display: flex;
    flex-flow: column;
    /* background: var(--white-color-primary); */
    /* font-size: 12px; */
    /* border-top: var(--gray-color-primary) 1.5px solid; */

    & .footer-top {
        background-color: var(--gray-color-primary);
        padding-block: 50px;

        & .btn_wrapper {
            margin: 0 auto;
            max-width: 811px;
            justify-content: center;
            gap: 20px;
        }

        & .remark {
            display: flex;
            flex-flow: column;
            justify-content: center;
            align-items: flex-start;
            margin-inline: 160px;
            font-size: .75em;

            @media screen and (max-width:768px) {
                margin-inline: 20px;
            }
        }
    }

    & .footer-bottom {
        background-color: var(--gray-color-secondary);
        min-height: 92px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 20px 160px;
        font-size: .75em;
        gap: 30px;

        @media screen and (max-width:768px) {
            flex-flow: column;
            justify-content: center;
            padding: 20px;
            gap: 20px;
        }

        & .copy-wrapper {
            display: flex;
            align-items: center;
            justify-content: flex-end;

            & .copy {
                text-decoration: underline;
            }
        }
    }
}

/* button */
.btn_wrapper {
    text-align: center;
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 54px;

    @media screen and (max-width:768px) {
        flex-flow: column;
        gap: 20px;
    }

    & .inner-wrapper {
        width: 100%;
        /* height: 100%; */
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        /* flex: 1; */

        & .description {
            flex: 1;
            display: block;
            margin-bottom: 19px;

            & .emp {
                color: var(--main-color);
                font-size: 120%;
            }
        }

        & a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 57px;
            max-width: 308px;
            background-color: var(--main-color);
            border: 2px solid var(--main-color);
            border-radius: 6px;
            box-sizing: border-box;
            color: var(--white-color-primary);
            -webkit-font-smoothing: antialiased;
            font-weight: bold;
            text-decoration: none;
            text-align: center;
            letter-spacing: 1px;
            line-height: 140%;
            padding-block: 21px;
            /* margin: 0px 5px 30px 5px; */
            margin: auto 0 0;
            cursor: pointer;
            user-select: none;

            & img {
                margin-right: 15px;
                will-change: filter;
                transition: all 0s;
            }

            &:hover {
                background-color: var(--white-color-primary);
                color: var(--main-color);

                & img {
                    filter: brightness(0) saturate(100%) invert(17%) sepia(88%) saturate(7384%) hue-rotate(338deg) brightness(88%) contrast(106%);
                }
            }

            /* variation */
            &.void {
                background-color: var(--white-color-primary);
                color: var(--main-color);
                border: 2px solid var(--main-color);

                &:hover {
                    background-color: var(--main-color);
                    color: var(--white-color-primary);
                }
            }

            &.black {
                background-color: var(--black-color-secondary);
                border: 2px solid var(--black-color-secondary);
                color: var(--white-color-primary);

                &:hover {
                    background-color: var(--white-color-primary);
                    color: var(--black-color-secondary);
                }
            }

            &.back {
                background-color: var(--gray-color-quaternary);
                border: 2px solid var(--gray-color-quaternary);
                color: var(--white-color-primary);

                &:hover {
                    background-color: var(--white-color-primary);
                    color: var(--gray-color-quaternary);
                }
            }
        }
    }

}

.flex-wrap {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: var(--gap, 20px);

    &:has(*:nth-child(3)) {
        justify-content: flex-start;
    }

    &:not(:has(*:nth-child(3))) {
        justify-content: center;
    }

    @media screen and (max-width:768px) {
        flex-flow: column;
    }

    &>* {
        flex: 0 0 calc((100% - (var(--gap, 20px) * (var(--cols, 3) - 1))) / var(--cols, 3));
        box-sizing: border-box;
    }
}

/* cols variation */
.cols-2 {
    --cols: 2;
}

.cols-3 {
    --cols: 3;
}

.cols-4 {
    --cols: 4;
}

/* gap variation */
.gap-10 {
    --gap: 10px;
}

.gap-20 {
    --gap: 20px;
}

.gap-40 {
    --gap: 40px;
}

/* ============================================
*  form
*  ============================================ */
body.form {

    & h1 {
        background: transparent;
        color: var(--base-color);
        font-size: 20px;
        font-weight: bold;
        letter-spacing: 1px;
        line-height: 140%;
        text-align: center;
        margin-block: 60px;
    }

    & h2 {
        position: relative;
        width: 100%;
        border-bottom: 2px solid var(--red-color-tertiary);
        color: var(--main-color);
        font-size: 24px;
        font-weight: bold;
        text-align: left;
        margin: 30px auto 20px auto;
        padding: 0px 5px 10px 5px;

        &::after {
            position: absolute;
            bottom: -2px;
            left: 0;
            z-index: 2;
            content: '';
            width: 20%;
            height: 2px;
            background-color: var(--main-color);
        }

        &.center {
            color: var(--base-color);
            border: none;
            text-align: center;

            &::after {
                content: none;
            }
        }
    }

    & h3 {
        width: 100%;
        border-left: 6px solid var(--main-color);
        color: var(--main-color);
        font-size: 20px;
        font-weight: bold;
        text-align: left;
        margin: 20px auto 10px auto;
        padding: 7px 5px 7px 10px;
    }

    & .body_tbl {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    & .header_text {
        width: 90%;
        max-width: 1000px;
        color: #333333;
        font-weight: bold;
        text-align: left;
        margin: 20px auto 0 auto;
        padding: 0;
    }

    & .header_rmesg {
        width: 90%;
        max-width: 1000px;
        color: #333333;
        font-weight: bold;
        text-align: left;
        margin: 20px auto 0 auto;
        padding: 0;
    }

    & .header_emesg {
        display: none;
        width: 90%;
        max-width: 1000px;
        background: var(--white-color-primary);
        border: 2px solid var(--invalid-color);
        color: var(--invalid-color);
        font-weight: bold;
        text-align: left;
        margin: 20px auto 0 auto;
        padding: 10px 20px 10px 20px;

        @media screen and (max-width:768px) {
            padding: 15px 15px;
        }
    }

    & .caution_red1 {
        display: inline-block;
        border: 1px solid var(--invalid-color);
        color: var(--invalid-color);
        font-size: 14px;
        line-height: 140%;
        margin-top: 5px;
        padding: 3px 7px;
    }

    & .caution_red2 {
        display: inline-block;
        background: var(--invalid-color);
        color: var(--white-color-primary);
        font-size: 14px;
        margin-top: 5px;
        padding: 3px 7px;
    }

    & .kv {
        & img {
            width: 100%;
        }
    }

    & .attention_box {
        display: block;
        width: 100%;
        max-width: 1000px;
        background: var(--white-color-primary);
        border: 2px solid #333333;
        box-sizing: border-box;
        color: #333333;
        font-size: 100%;
        font-weight: bold;
        text-align: left;
        padding: 15px 15px 15px 15px;
        margin: 20px auto 0 auto;
    }

    & .privacy_wrapper {
        width: 100%;
        height: 240px;
        border: 1px solid #ccc;
        padding: 10px;
        font-size: .875em;
        font-weight: normal;
        margin: 0px auto 10px auto;
        padding: 10px;
        overflow-y: scroll;

        color: var(--base-color);
        font-weight: bold;
        text-align: left;

        & h1 {
            margin: 0;
            font-size: 1.25em;
            text-align: left;
        }

        & .h2-wrapper {
            &:not(:first-of-type) {
                margin-top: 15px;
            }
        }

        & h2 {
            margin: 5px 0 0;
            padding: 0;
            border: none;
            font-size: 1.125em;
            color: var(--base-color);
            font-weight: bold;

            &::after {
                content: none;
            }
        }

        & .h3-wrapper {
            &:not(:first-of-type) {
                margin-top: 15px;
            }
        }

        & h3 {
            margin: 5px 0 0;
            padding: 0;
            border: none;
            font-size: 1em;
            color: var(--base-color);
            font-weight: bold;
        }

        & .lv-1 {
            padding-left: 5px;
        }

        & .lv-2 {
            padding-left: 5px;
        }
    }

    & .doui_sel {
        width: 100%;
        background: transparent;

        @media screen and (max-width:768px) {
            border-radius: 0px;
            padding: 0px !important;
        }

        &.multi2 li {
            width: 100%;
            padding: 0;
        }
    }

    & .smp_tmpl {
        width: 95%;
        max-width: 1000px;
        text-align: left;
        margin: 15px auto 0px auto;
        padding: 20px 5px 30px 5px;
    }

    & dl {
        position: relative;
        width: 100%;
        margin: 0;
        padding: 5px 0 5px 0;

        @media screen and (max-width:768px) {
            width: 100%;
            margin: 0 auto 10px auto;
        }

        & dt.title {
            display: inline-block;
            width: 33%;
            color: #333;
            font-weight: bold;
            letter-spacing: 1px;
            line-height: 140%;
            text-align: left;
            margin: 0;
            padding: 18px 15px 18px 10px;
            vertical-align: top;

            @media screen and (max-width:768px) {
                display: block;
                width: 100%;
                padding: 0 5px;
            }

            & .caution {
                display: block;
                width: 95%;
                color: #333;
                font-size: 87.5%;
                font-weight: normal;
                line-height: 130%;
                text-align: left;
                padding: 10px 0 0 0;
            }
        }

        & dd.data {
            display: inline-block;
            width: 66%;
            color: #333;
            font-weight: bold;
            text-align: left;
            margin: 0;
            padding: 18px 0;

            @media screen and (max-width:768px) {
                display: block;
                width: 100%;
                margin: 0 0 10px 0;
                padding: 18px 5px 10px 5px;
            }

            & .input_outer-wrapper {
                display: flex;

                &.vertical {
                    flex-direction: column;
                }

                & .input_inner-wrapper {
                    flex: 1;
                    display: flex;
                    flex-direction: column;

                    & .sub_data-wrapper {
                        display: flex;

                        &.horizontal {
                            align-items: center;

                            @media screen and (max-width:768px) {
                                align-items: flex-start;
                                margin-bottom: 5px;
                            }
                        }

                        @media screen and (max-width:768px) {
                            flex-direction: column;
                        }

                        &.vertical {
                            flex-direction: column;
                        }

                        & .input_title-wrapper {
                            margin-bottom: 5px;
                        }

                        & .input_title-wrapper {
                            flex: 0.5;
                        }

                        & .input_wrapper {
                            flex: 2;
                            width: 100%;
                        }
                    }
                }
            }

            & .sub_title {
                display: block;
                margin-bottom: 8px;
            }
        }

        &.vertical {
            display: flex;
            flex-direction: column;

            & dt.title,
            dd.data {
                width: 100%;
            }

            & dd.data {
                padding: 18px 15px 18px 10px;
            }
        }

        &:not(:last-of-type) {
            border-bottom: 1px dotted #ccc;
        }
    }

    & .info-notice {
        background-color: var(--blue-color-primary);
        border: 2px solid var(--blue-color-tertiary);
        border-radius: 8px;
        padding: 16px 20px;
        margin: 20px auto 20px auto;
        font-size: 14px;
        line-height: 140%;
        color: #333;
        font-weight: bold;
    }

    & div.note {
        background-color: var(--red-color-tertiary);
        padding: 32px;
        margin-block: 20px 0;
        font-weight: bold;

        @media screen and (max-width:768px) {
            margin-block-end: 10px;
        }
    }

    & .input {
        width: 90%;
        border: 1px solid #cccccc;
        border-radius: 3px 3px 3px 3px;
        box-sizing: border-box;
        color: #333;
        font-size: 1rem;
        text-align: left;
        margin: 0px 5px 10px 5px;
        padding: 10px;

        @media screen and (max-width:768px) {
            width: 95%;
        }
    }

    & .input_name {
        width: 48%;
    }

    & .zipcode li {
        &.code01 input {
            width: 60px;
        }

        &.code02 input {
            width: 70px;
        }
    }

    & .phone li {
        &.num01 input {
            width: 70px;
        }

        &.num02 input {
            width: 70px;
        }

        &.num03 input {
            width: 70px;
        }
    }

    & .price input {
        width: 200px;
    }

    & .num input {
        width: 120px;
    }

    & .integer input {
        width: 170px;
    }

    & .real input {
        width: 170px;
    }

    & .pass input {
        width: 180px;
    }

    & .epass input {
        width: 160px;
    }

    & .time input {
        width: 50px;
    }

    & .time .year {
        width: 70px;
    }

    & ul,
    li {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

    & .zipcode ul li,
    .phone ul li,
    .time ul li {
        float: left;
        width: auto;
        margin: 0 3px 0 0;
        padding: 0;
    }

    & .multi1 ul,
    .multi2 ul {
        margin-bottom: 10px;
    }

    & label {
        cursor: pointer;

        &:has(:disabled) {
            cursor: default;
        }
    }

    & label:has(.input[type="radio"]:not(:disabled), .input[type="checkbox"]:not(:disabled)),
    input[type="text"]:not(:disabled),
    input[type="tel"]:not(:disabled),
    input[type="password"]:not(:disabled),
    select,
    textarea {
        transition: background-color 0.3s ease;
        background-color: var(--gray-color-primary);

        &:hover {
            background-color: var(--blue-color-primary);
        }
    }

    & label:has(.input[type="radio"]:not(:disabled), .input[type="checkbox"]:not(:disabled)) {
        &:has(:checked) {
            background-color: var(--blue-color-secondary);
        }
    }

    & .multi1 label {
        display: block;
        float: left;
        min-width: 135px;
        border-radius: 4px 4px 4px 4px;
        text-align: left;
        margin: 0 10px 10px 0;
        padding: 10px;

        background-color: var(--gray-color-primary);

        &:has(:checked) {
            background-color: var(--blue-color-secondary);
        }

        &:has(:disabled) {
            background-color: var(--gray-color-secondary);
        }
    }

    & .multi2 {
        & li {
            display: inline-block;
            width: 90%;
            float: left;
            min-width: 135px;
            text-align: left;
            margin: 0;
            padding: 0 5px 2px 10px;
            clear: both;
        }

        & label {
            display: block;
            width: 100%;
            min-width: 250px;
            border-radius: 4px 4px 4px 4px;
            box-sizing: border-box;
            text-align: left;
            margin: 0 10px 10px 0;
            padding: 10px;
            background-color: var(--gray-color-primary);

            & input {
                display: block;
                float: left;
                width: 1em;
                height: 1em;
                box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) inset;
                border-radius: 0 0 0 0;
                margin: 0.2em 0 0 0;
                padding: 0;
                overflow: hidden;
            }

            & span {
                display: block;
                font-weight: bold;
                margin: 0 0 0 30px;
            }

            &:has(:checked) {
                background-color: var(--blue-color-secondary);
            }

            &:has(:disabled) {
                background-color: var(--gray-color-secondary);
            }
        }

        & .radio input {
            border-radius: 1em;
        }

        &.error {
            & label {
                background-color: #FFE4E4;
            }
        }
    }

    & .multi1 {
        & label {
            & input {
                display: block;
                float: left;
                width: 1em;
                height: 1em;
                box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) inset;
                border-radius: 0 0 0 0;
                margin: 0.2em 0 0 0;
                padding: 0;
                overflow: hidden;
            }

            & span {
                display: block;
                font-weight: bold;
                margin: 0 0 0 30px;
            }

            & .radio input {
                border-radius: 1em;
            }
        }

        & .row {
            @media screen and (min-width:640px) {
                display: flex;
                gap: 5px;
                width: 100%;
                box-sizing: border-box;
                padding: 10px;
                overflow: hidden;

                & label {
                    box-sizing: border-box;
                    width: 100%;
                    min-width: 0;
                    margin: 0;
                }

                & li {
                    flex: 1;
                    min-width: 0;
                    box-sizing: border-box;
                }

                & input[type="radio"] {
                    display: none;
                }

                & span {
                    margin: 0;
                    text-align: center;
                }
            }
        }

        &.error {
            & label {
                background-color: #FFE4E4;
            }
        }
    }

    & .multi1 ul.radio+br,
    .multi2 ul.radio+br {
        display: none;
    }

    @media screen and (max-width:768px) {

        & .multi1 li,
        .multi2 li {
            width: 100%;
        }

        & .multi1 label {
            display: block;
            width: 100%;
            border-radius: 4px 4px 4px 4px;
            box-sizing: border-box;
            text-align: left;
            margin: 0 10px 10px 0;
            padding: 10px;
        }

        & .multi1 label input {
            width: 20px;
            border-radius: 3px 3px 3px 3px;
            text-align: left;
        }

        & .multi1 label span {
            margin: 0 0 0 25px;
        }

        & .multi2 li {
            display: block;
            float: none;
            padding: 0 5px 2px 0px;
        }

        & .multi2 label {
            display: block;
            width: 100%;
            min-width: 250px;
            border-radius: 4px 4px 4px 4px;
            box-sizing: border-box;
            text-align: left;
            margin: 0 10px 10px 0;
            padding: 10px;
        }

        & .multi2 label input {
            width: 20px;
            border-radius: 3px 3px 3px 3px;
            text-align: left;
        }

        & .multi2 label span {
            margin: 0 0 0 25px;
        }

    }

    & select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        /* background: none; */
        border: none;
        border-radius: 0px;
        padding: 0px;
        /* reset end */
        width: 90%;
        max-width: 500px;
        height: 46px;
        font-size: 1rem;
        margin-left: 5px;
        margin-bottom: 8px;
        padding-left: 10px;
        border: 1px solid #cccccc;
        border-radius: 3px;
        color: var(--base-color);
        font-size: 1rem;

        @media screen and (max-width:768px) {
            width: 95%;
            min-width: 0px;
        }
    }

    & textarea {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        /* background: none; */
        border: none;
        border-radius: 0px;
        padding: 0px;
        /* reset end */
        width: 90%;
        border: 1px solid #cccccc;
        border-radius: 3px 3px 3px 3px;
        box-sizing: border-box;
        color: #333;
        font-size: 100%;
        text-align: left;
        margin: 0px 5px 10px 5px;
        padding: 10px;

        @media screen and (max-width:768px) {
            width: 95%;
        }
    }

    & .image input {
        width: auto;
        margin-bottom: 10px;
    }

    & .file input {
        width: auto;
        margin-bottom: 10px;
    }

    & input.clear {
        width: 55px;
        text-align: center;
    }

    & input.submit {
        border: 2px solid var(--main-color);
        cursor: pointer;
        outline: none;
        padding: 0;
        -webkit-box-sizing: border-box;
        -webkit-appearance: button;
        appearance: none;
        /* reset end */
        width: 100%;
        max-width: 300px;
        min-height: 60px;
        background: var(--main-color);
        border-radius: 6px;
        color: var(--white-color-primary);
        font-size: 1.125rem;
        -webkit-font-smoothing: antialiased;
        font-weight: bold;
        text-align: center;
        letter-spacing: 1px;
        cursor: pointer;

        @media screen and (max-width:768px) {
            width: 90%;
            margin: 20px auto 30px auto;
        }

        &:disabled {
            background-color: var(--gray-color-tertiary);
            color: var(--gray-color-secondary);
            cursor: not-allowed;
            border: 2px solid var(--gray-color-tertiary);

            &:hover {
                background-color: var(--gray-color-tertiary);
                color: var(--gray-color-secondary);
                cursor: not-allowed;
                border: 2px solid var(--gray-color-tertiary);
                opacity: 1;
                /* reset end */
            }
        }

        &:hover {
            background-color: var(--white-color-primary);
            color: var(--main-color);

            & img {
                filter: brightness(0) saturate(100%) invert(17%) sepia(88%) saturate(7384%) hue-rotate(338deg) brightness(88%) contrast(106%);
            }
        }
    }

    /* ??��?��??��?��??��?��??��?��??��?��??��?��M??��?��??��?��{??��?��??��?��^??��?��??��?��??��?��??��?��??��?��??��?��??��?��??��?��??��?��??��?��??��?��??��?��??��?��??��?��??��?��抵??��?��??��?��??��?��??��?��??��?��??��?�� */
    & .submit_caution-wrapper {
        margin-bottom: 40px;
        width: fit-content;
        margin-inline: auto;
        text-align: left;
        padding-inline: 10px;
    }

    /* ??��?��??��?��Z??��?��??��?��??��?��??��?��??��?��??��?��??��?��??��?��??��?��??��?��??��?��??��?��??��?��??��?��{??��?��??��?��^??��?��??��?��??��?��??��?�� */
    & .searchZipcode {
        border: none;
        cursor: pointer;
        outline: none;
        -webkit-box-sizing: border-box;
        -webkit-appearance: button;
        appearance: none;
        width: 100px;
        min-height: 47px;
        border: hidden;
        background: var(--main-color);
        border-radius: 3px;
        color: var(--white-color-primary);
        font-size: 1rem;
        -webkit-font-smoothing: antialiased;
        text-align: center;
        letter-spacing: 1px;
        margin-left: 10px;
        cursor: pointer;

        &:hover {
            filter: alpha(opacity=90);
            -ms-filter: alpha(opacity=90);
            opacity: .7;
        }
    }

    & input.image {
        width: auto;
        border: none;
        margin: 40px 0 40px 0;
        padding: 0;
        vertical-align: middle;
    }

    & input[name="SMPFORM_BACK"] {
        border: none;
        cursor: pointer;
        outline: none;
        padding: 0;
        -webkit-box-sizing: border-box;
        -webkit-appearance: button;
        appearance: none;
        /* reset end */
        width: 98%;
        max-width: 300px;
        min-height: 60px;
        border: 2px solid var(--gray-color-quaternary);
        background-color: var(--gray-color-quaternary);
        border-radius: 6px;
        color: var(--white-color-primary);
        font-size: 1.125rem;
        /* font-weight: bold; */
        text-align: center;
        letter-spacing: 1px;
        cursor: pointer;

        @media screen and (max-width:768px) {
            width: 90%;
            margin: 20px auto 20px auto;
        }

        &:hover {
            background-color: var(--white-color-primary);
            color: var(--gray-color-quaternary);
        }
    }

    /* ??��?��??��?��癜ｶ */
    & .sample {
        display: inline-block;
        color: #666;
        font-size: 87.5%;
        font-weight: normal;
        text-align: left;
        line-height: 140%;
        margin-bottom: 5px;
    }

    /* ??��?��??��?��??��?��難??��?��??��?��??��?��??��?��??��?��??��?��E??��?��??��?��??��?��費??��?��??��?��??��?��??��?��??��?��??��?�� */
    & .suffix {
        height: 40px;
        color: #333333;
        font-weight: bold;
        text-align: left;
        line-height: 40px;
    }

    /* ??��?��??��?��??��?��??��?��??��?��??��?��??��?��?��???��?��??��?��{??��?��??��?��??��?��??��?��??��?��??��?��??��?��??��?�� */
    & .need {
        display: inline-block;
        font-weight: normal;
        background: var(--invalid-color);
        color: var(--white-color-primary);
        font-size: 12px;
        padding: 0 5px;
        margin-left: 6px;
        vertical-align: top;
        border-radius: 3px;
    }

    /* ??��?��??��?��G??��?��??��?��??��?��??��?��??��?��??��?��[??��?��??��?��??��?��??��?��??��?��??��?��b??��?��??��?��Z??��?��??��?��[??��?��??��?��W(??��?��??��?��??��?��??��?��??��?��??��?��??��?���???��?��??��?��F??��?��??��?��b??��?��??��?��N??��?��??��?��??��?��??��?��) */
    & .msg {
        display: block;
        color: var(--invalid-color);
        font-size: 1em;
        font-weight: bold;
        line-height: 140%;
        text-align: left;
        margin: 0px 0px 5px 0px;

        @media screen and (max-width:768px) {
            font-size: 87.5%;
        }

    }

    /* ??��?��??��?��G??��?��??��?��??��?��??��?��??��?��??��?��[??��?��??��?��??��?��??��?��??��?��??��?��b??��?��??��?��Z??��?��??��?��[??��?��??��?��W??��?��??��?��@(??��?��??��?��T??��?��??��?��??��?��??��?��??��?��??��?��L??��?��??��?��??��?��??��?��??��?��??��?��[??��?��??��?��E??��?��??��?��??��?��??��?��??��?��??��?��??��?��?��??ゑｿ??��?��E??��?��??��?��V??��?��??��?��X??��?��??��?��e??��?��??��?��??��?��??��?��??��?��??��?��G??��?��??��?��??��?��??��?��??��?��??��?��[) */
    & .sub_text {
        width: fit-content;
        max-width: 75%;
        color: #333333;
        font-weight: 500;
        text-align: left;
        padding: 0px;
        margin: 0px auto 40px auto;

        @media screen and (max-width:768px) {
            width: fit-content;
            max-width: 1000px;
            font-weight: normal;
            text-align: left;
            padding: 0px;
            margin: 30px auto 40px auto;
        }

        & .title {
            text-align: center;
            margin-bottom: 40px;
            font-weight: bold;
        }

        & ul {
            margin-left: 30px;

            & li {
                list-style: outside;
            }
        }
    }

    & .guidance {
        background-color: var(--gray-color-primary);
        padding: 10px 15px;
        margin-block: 20px;
    }

    /* ??��?��??��?��??��?��??��?��??��?��??��?��??��?��エ??��?��??��?��??��?��??��?��??��?��??��?��[??��?��??��?��??��?��??��?��??��?��??��?��??��?��?��??��?��??��?��b??��?��??��?��N??��?��??��?��X??��?��??��?��w??��?��??��?��i??��?��??��?��F */
    & .error {
        &:not(dd) {
            background: #FFE4E4 !important;
        }
    }

    /* clearfix */
    & .cf:before,
    .cf:after {
        content: "";
        display: table;
    }

    & .cf:after {
        clear: both;
    }

    & .cf {
        *zoom: 1;
    }

    @media screen and (max-width:768px) {

        /* ??��?��??��?��t??��?��??��?��B??��?��??��?��[??��?��??��?��??��?��??��?��??��?��??��?��h??��?��??��?��??��?��??��?��??��?��??��?��??��?の?��???��?��??��?��U??��?��??��?��C??��?��??��?��??��?��??��?�� */
        & .multi1 li,
        .multi2 li {
            width: 100%;
        }

        & .multi1 label {
            display: block;
            width: 100%;
            border-radius: 4px 4px 4px 4px;
            box-sizing: border-box;
            text-align: left;
            margin: 0 10px 10px 0;
            padding: 10px;
        }

        & .multi1 label input {
            width: 20px;
            border-radius: 3px 3px 3px 3px;
            text-align: left;
        }

        & .multi1 label span {
            margin: 0 0 0 25px;
        }

        & .multi2 li {
            display: block;
            float: none;
            padding: 0 5px 2px 0px;
        }

        & .multi2 label {
            display: block;
            width: 100%;
            min-width: 250px;
            border-radius: 4px 4px 4px 4px;
            box-sizing: border-box;
            text-align: left;
            margin: 0 10px 10px 0;
            padding: 10px;
        }

        & .multi2 label input {
            width: 20px;
            border-radius: 3px 3px 3px 3px;
            text-align: left;
        }

        & .multi2 label span {
            margin: 0 0 0 25px;
        }

    }
}

/* ============================================
*  auth
*  ============================================ */
body.auth {

    & .form-wrapper {
        width: 60%;
        max-width: 720px;
        margin: 40px auto;

        @media screen and (max-width: 480px) {
            width: 100%;
        }

        & .errorMsg {
            & .msg {
                text-align: center;
            }
        }

        & dl {
            border: none;
        }
    }

}

/* ============================================
*  mypage
*  ============================================ */
body.mypage {

    & main {
        position: relative;
        overflow: hidden;
    }

    & .loginMemInfo {
        display: flex;
        align-items: center;
        margin: 20px 40px;
        justify-content: flex-end;
    }
    
    & .chatbot {
        display: flex;
        align-items: center;
        margin: 20px 40px;
        justify-content: flex-end;
        font-weight: bold;
    }

    & .explanation {
        text-align: center;
    }

    & .main-content {
        width: 90%;
        max-width: 1160px;
        margin: 0 auto;
        padding-top: 60px;
        padding-bottom: 90px;
    }

    & .notion-wrapper,
    .event-wrapper {
        & .inner-wrapper {
            min-height: 80px;
            box-shadow: 0 0 8px var(--gray-color-secondary);
            border-radius: 40px;
            display: flex;
            padding: 18px 42px;
            background-color: var(--white-color-primary);

            @media screen and (max-width:768px) {
                flex-flow: column;
                padding: 10px 20px;
            }

            & .title {
                width: 133px;
                font-size: 1.5em;
                font-weight: bold;
                border-right: 2px solid var(--invalid-color);
                display: flex;
                align-items: center;

                @media screen and (max-width:768px) {
                    justify-content: center;
                    width: 100%;
                    border-right: none;
                    border-bottom: 2px solid var(--invalid-color);
                    padding-bottom: 10px;
                    font-size: 1.125em;
                }
            }

            & .list {

                flex: 1;

                & .list-wrapper {
                    max-height: 97px;
                    width: 100%;
                    overflow-y: auto;
                    padding-left: 40px;

                    @media screen and (max-width:768px) {
                        padding: 0 26px;
                        margin-top: 20px;
                        font-size: .875em;
                    }

                    & .list-row {
                        display: flex;

                        @media screen and (max-width:768px) {
                            flex-flow: column;
                        }

                        & .list-date {
                            width: 150px;
                        }

                        & .list-body {
                            flex: 1;
                        }
                    }
                }
            }
        }
    }

    & .h2-wrapper {
        text-align: center;

        & h2 {
            color: var(--base-sub-color);
            font-size: 2.25em;

            @media screen and (max-width:768px) {
                font-size: 1.5em;
            }
        }
    }

    & .solution-wrapper {
        & .explanation {
            margin-top: 40px;
        }

        & .card-wrapper {
            margin-top: 80px;
            display: flex;
            gap: 60px;

            @media screen and (max-width:768px) {
                flex-flow: column;
            }

            & .card {
                flex: 1;
                display: flex;
                flex-flow: column;
                background-color: var(--white-color-primary);
                box-shadow: 0 0 8px var(--gray-color-secondary);
                border-radius: 5px;
                position: relative;

                & .card_img-wrapper {
                    position: absolute;
                    width: 100%;
                    top: -30px;
                    display: flex;
                    align-items: center;
                    justify-content: center;

                    & img {
                        display: block;
                        max-width: 100%;
                        height: auto;
                    }
                }

                & .inner {
                    margin: 90px 20px 20px;
                    flex: 1;
                    display: flex;
                    flex-flow: column;

                    & h3 {
                        font-size: 1.5em;
                        text-align: center;
                        color: var(--main-color);
                        letter-spacing: -0.025em;
                    }

                    & .explanation {
                        margin-block: 30px;
                        font-size: 100%;
                    }

                    & .btn_wrapper {
                        margin: auto 20px 0;
                    }

                    & .explanation {
                        text-align: left;
                    }
                }
            }
        }
    }

    & .consultation-wrapper,
    .material-wrapper {
        padding-block: 80px;
        /* background adjustment */
        background-color: transparent;
        position: relative;

        &::after {
            content: "";
            width: 100%;
            height: 100%;
            position: absolute;
            inset: 0;
            z-index: -2;
        }

        @media screen and (max-width:768px) {
            padding-block: 50px;
        }
    }

    & .consultation-wrapper {
        padding-inline: 70px;

        .btn_wrapper {
            & .inner-wrapper {
                & .description {
                    font-weight: bold;
                }

            }
        }

        @media screen and (max-width:768px) {
            padding-inline: 20px;
        }

        &::after {
            background-color: #fcede4;
        }
    }

    & .material-wrapper {
        padding-inline: 40px;

        & .material-lists {
            & .material-list {

                &:first-of-type {
                    margin-top: 60px;
                }

                &:not(:first-of-type) {
                    margin-top: 80px;
                }

                & h3 {
                    text-align: center;
                    padding-bottom: 20px;
                    border-bottom: 1px solid var(--black-color-primary);
                    margin-bottom: 30px;
                }

                & .caption {
                    margin-top: 30px;
                    text-align: center;
                }

                & .card-wrapper {
                    margin-top: 50px;

                    & .card {
                        border-radius: 5px;
                        overflow: hidden;
                        box-shadow: 0 0 8px var(--gray-color-secondary);
                        display: flex;
                        flex-flow: column;

                        & .thumbnail {
                            width: 100%;
                            height: 192px;
                            overflow: hidden;

                            & img {
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                                object-position: center;
                                display: block;
                            }
                        }

                        & .bottom {
                            background-color: var(--white-color-primary);
                            text-align: center;
                            padding: 10px 15px;
                            flex: 1;
                            display: flex;
                            flex-flow: column;
                            justify-content: space-between;

                            & .title {
                                font-weight: bold;
                            }

                            & .btn_wrapper {
                                margin: 20px 0;
                            }
                        }
                    }
                }
            }
        }

        &::after {
            background-color: var(--gray-color-primary);
        }
    }

    & .useful-wrapper {
        & .link-list {
            & .btn_wrapper {
                & .inner-wrapper {
                    background-color: var(--gray-color-primary);
                    padding: 20px;

                    & .description {
                        font-weight: bold;
                    }
                }
            }
        }
    }
}

/* ============================================
*  mypage > top
*  ============================================ */
body.mypage.top {
    & main::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 650px;
        background: url(/u/resource/dbPartnerProgram/assets/img/top_background.png);
        background-size: 100% auto;
        z-index: -1;
        pointer-events: none;
    }

    & .main-header {

        & .h1-wrapper {
            margin-top: 52px;

            @media screen and (max-width:768px) {
                margin-top: 30px;
            }
        }
    }

    & .event-wrapper {
        margin-top: 30px;
    }

    & .button-section {
        margin-top: 60px;

        @media screen and (max-width:768px) {
            margin-top: 37px;
        }
    }

    & .solution-section {
        margin-top: 100px;

        @media screen and (max-width:768px) {
            margin-top: 80px;
        }
    }
}

/* ============================================
*  mypage > network
*  ============================================ */
body.mypage.network {
    & main::after {
        content: "";
        position: absolute;
        top: 345px;
        right: 0;
        width: 750px;
        height: 100%;
        background: url(/u/resource/dbPartnerProgram/assets/img/network_background.png);
        background-repeat: no-repeat;
        background-size: 100% auto;
        z-index: -1;
        pointer-events: none;

        @media screen and (max-width:768px) {
            top: 890px;
            right: -40px;
            width: 210px;
        }
    }
}

/* ============================================
*  mypage > voice
*  ============================================ */
body.mypage.voice {
    & main::after {
        content: "";
        position: absolute;
        top: 400px;
        right: 0;
        width: 750px;
        height: 100%;
        background: url(/u/resource/dbPartnerProgram/assets/img/voice_background.png);
        background-repeat: no-repeat;
        background-size: 100% auto;
        z-index: -1;
        pointer-events: none;

        @media screen and (max-width:768px) {
            top: 950px;
            right: -15px;
            width: 210px;
        }
    }
}

/* ============================================
*  mypage > iot
*  ============================================ */
body.mypage.iot {
    & main::after {
        content: "";
        position: absolute;
        top: 310px;
        right: 0;
        width: 650px;
        height: 100%;
        background: url(/u/resource/dbPartnerProgram/assets/img/iot_background.png);
        background-repeat: no-repeat;
        background-size: 100% auto;
        z-index: -1;
        pointer-events: none;

        @media screen and (max-width:768px) {
            top: 890px;
            right: -60px;
            width: 190px;
        }
    }

    & .main-header {

        & .h1-wrapper {
            margin-top: 52px;

            @media screen and (max-width:768px) {
                margin-top: 30px;
            }
        }
    }

    & .event-wrapper {
        margin-top: 30px;
    }

    & .button-section {
        margin-top: 60px;

        @media screen and (max-width:768px) {
            margin-top: 37px;
        }
    }

    & .solution-section {
        margin-top: 100px;

        @media screen and (max-width:768px) {
            margin-top: 80px;
        }
    }
}

/* ============================================
*  error
*  ============================================ */
.error-container {
    text-align: center;
    padding: 100px 20px;

    & h1.error_heading-1 {
        font-size: 5rem;
        margin: 0;
        color: var(--blue-color-tertiary);
    }

    & h2.error_heading-2 {
        font-size: 2em;
        margin: 20px 0;
        padding: 0;
        color: var(--gray-color-quaternary);
        border: none;
        text-align: center;

        &::after {
            content: none;
        }
    }

    & p.error_message {
        color: var(--gray-color-tertiary);
        margin-bottom: 80px;
    }
}