p {
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.bg-wrapper {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: url(../../img/passwordchange/login_bg.png) no-repeat;
    background-size: 100% auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.content-block-wrapper {
    margin-left: 60px;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    overflow: hidden;
    width: 680px;
}
.content-block {
    padding: 40px 80px 60px;
}

.content-block-title {
    text-align: center;
    font-weight: bold;
    font-size: 1.3em;
}

.input-line {
    display: flex;
}
.input-line {
    padding-top: 32px;
    display: flex;
}
.input-title {
    position: relative;
    width: 160px;
    padding: 12px 24px 0 0;
    text-align: right;
}
.input-title .required {
    position: relative;
    padding-left: 56px;
}
.input-title .required::before {
    position: absolute;
    content: "必須";
    width: 48px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #913832;
    color: #fff;
    border-radius: 4px;
    top: calc(50% - 12px);
    left: 0;
}

.input-content {
    width: calc(100% - 160px);
}

.input-content input[type="text"] {
    display: inline-block;
    width: 100%;
    height: 46px;
    padding: 6px 12px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    -webkit-transition: border-color ease-in-out 0.15s,
        -webkit-box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.input-explanation {
    margin-top: 8px;
    font-size: 0.9em;
}
.content-block-footer {
    padding: 13px;
    text-align: center;
    border-top-color: #bdbdbd;
    border-top: 1px solid #e5e5e5;
    background-color: #f6f6f6;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
.btn-decide {
    color: #913832;
    background-color: #fff;
    border-color: #913832;
}
.btn-cancel {
    color: #707070;
    background-color: #fff;
    border-color: #9b9b9b;
    margin-right: 10px;
}

.text-center {
    text-align: center;
}

.sp-pwBackImg{
    visibility: hidden ;
}

@media screen and (max-width: 767px) {

    .bg-wrapper {
        display: block;
        background: none;
    }

    .content-block-wrapper {
        overflow-y: scroll;
        width: 100vw;
        height: 100vh;
        margin: 0;
        border-radius: 0;
        backdrop-filter: unset;
    }
    .content-block {
        padding: 0;
    }
    .content-block > p {
        padding: 10px 20px 0;
        text-align: left;
    }
    .content-block-title {
        padding: 13px;
        border-bottom: 1px solid #979797;
        border-top-right-radius: 6px;
        background-color: #f2f2f2;
        color: #913832;
        font-size: 1em;
    }

    .input-line {
        display: block;
        padding: 10px 20px 0;
    }
    .input-title,
    .input-content {
        width: 100%;
        text-align: left;
    }
    .input-title {
        margin-bottom: 8px;
        font-size: 0.9em;
    }
    .input-content {
    }
    .input-explanation {
        font-size: 0.9em;
    }

    .content-block-footer {
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: #fff;
    }

    .sp-pwBackImg{
        width: 100vw;
        height: 100px;
        background: url(../../img/passwordchange/login_bg.png) no-repeat;
        background-size: 100% auto;
        visibility: visible;
    }
}
