﻿
@import url('css2-Roboto_swap.css');

:root {
    --primary-color: #8B1B1F;
    --secondary-color: #F3E8E9;
    --secondary-color-hover: #E8D2D2;
    --secondary-color-active: #DCBBBC;
    --gradient-start: #EB0739;
    --gradient-end: #8B1B1F;
    --background-color: #f8f8f8;
    --container-bg-color: white;
    --feature-bg-color: #FAFAFA;
    --box-shadow-color: rgba(0, 0, 0, 0.1);
    --text-color: #000;
    --subtext-color: #666;
    --font-weight: 400;
    --btn-height: 60px;
    --btn-font-size: 22px;
    --btn-font-size-sp: 16px;
    --btn-font-size-small: 14px;
    --btn-font-weight: 700;
    --btn-line-height: 70px;
    --btn-line-height-sp: 50px;
    --svg-ad-size: 22px;
    --svg-ad-size-sp: 16px;
    --container-padding: 8.6% 4.7%;
    --container-padding-top: 8.6%;
    --container-padding-side: 6%;
    --container-padding-sp: 5.7% 2.8%;
    --container-padding-sp-top: 5.7%;
    --container-padding-sp-side: 2.8%;
    --padding: 20px;
    --percentile-padding: 5%;
    --percentile-margin: 5%;
    --border-radius: 10px;
    --border-radius60: 60px;
    --border-pro-thickness: 1px;
    --border-pro-margin: 10px;
    --clearfix-height: 832px;
    --clearfix-width: 1280px;
    --login-width: 714px;
    --login-content-width: 494px;
    --regist-width: 566px;
    --regist-top-height: 55%;
    --regist-bottom-height: 45%;
    --responsive-login-width: 55%;
    --responsive-regist-width: 45%;
    --mobile-login-height: 500px;
    --mobile-regist-height: 145px;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

body {
    color: #000;
    background-color: #D7D7D7;
    font-family: 'Roboto', sans-serif;
    font-size: 26px;
    font-style: normal;
    line-height: normal;
    height: 100%;
    width: 100%;
    margin: 0;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-overflow-scrolling: touch;
}

p {
    word-break: keep-all;
}

.mobile {
    display: none;
}

.desktop {
    display: block;
}

/* Button Styles*/
button {
    text-align: center;
    flex-shrink: 0;
    border-radius: var(--border-radius60);
    border: 0px;
    height: var(--btn-height);
    cursor: pointer;
}

.button {
    width: 100%;
    max-width: 380px;
    margin: auto;
}

.login-button {
    width: 100%;
    max-width: 380px;
    height: 70px;
    font-size: var(--btn-font-size);
    font-weight: bold;
    line-height: normal;
    color: #FFF;
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--primary-color) 50.5%);
    border-radius: var(--border-radius60);
    box-sizing: border-box;
}

.login-button:hover {
    background: linear-gradient(90deg, var(--gradient-start) 50%, var(--primary-color) 100%);
}

.regist-button {
    font-size: var(--btn-font-size-small);
    font-weight: var(--btn-font-weight);
    min-width: 250px;
    max-width: 300px;
    width: 100%;
    box-sizing: border-box;
    background-color: #FFFFFF;
    color: #000;
}

.regist-button:hover {
    opacity: 0.8;
}

.pro-button {
    height: var(--btn-height);
    background: linear-gradient(90deg, #FF5A1B 0%, #EB063B 100%);
    color: var(--container-bg-color) !important;
    margin: auto;
}

/*End of Buttons*/
#logo {
    margin-left: auto;
    margin-right: auto;
    margin-top: 145px;
    max-width: 305px !important;
}

#logo a img {
    margin-left: auto;
    margin-right: auto;
    width: 305px;
    max-width: 80vw;
    display: block;
}

/*Containers*/
.clearfix {
    height: 100vh;
    width: 100vw;
    flex-direction: row;
    justify-content: center;
    margin-bottom: auto;
    flex-shrink: 0;
    overflow: auto;
    padding: 0;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    line-height: 0;
}

* html .clearfix {
    height: 1%;
}

.container {
    position: fixed;
    height: 100%;
    width: 100vw;
    max-width: var(--clearfix-width);
    max-height: var(--clearfix-height);
    overflow: hidden;
    padding: 0;
    margin: auto;
}

/*login*/
.login-container {
    float: left;
    width: var(--login-width);
    height: 100%;
    overflow: hidden;
}

.login-body {
    position: relative;
    background-color: var(--container-bg-color);
    width: 100%;
    height: 100%;
}

#fmLogin {
    width: 100%;
    height: 100%;
    display: grid;
}

#form1 {
    width: 100%;
    height: 100%;
}

.login-body-inner {
    border: none;
    box-sizing: border-box;
    height: 100%;
    align-self: center;
}

.login-form-content {
    box-sizing: border-box;
    max-width: var(--login-content-width);
    width: calc(100% - 2 * var(--login-content-lr-margin));
    margin: var(--login-content-lr-margin);
    margin: auto;
    display: grid;
    place-items: center;
}

.login-form-title {
    color: #000;
    background: none;
    padding-top: var(--padding);
    padding-bottom: var(--padding);
    margin-top: 20px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 26px;
}
.f-only{
    display:none;
}
.p-only{
    display:none;
}
.pf-only{
	display:inherit;
}

.login-input-table {
    width: 100%;
    max-width: 494px;
    place-items: center;
    margin-bottom: 60px;
}

.login-input {
    max-width: 100%;
    height: 60px;
    display: block;
    margin-top: 0px;
    padding: 0;
    overflow: hidden;
}

.password {
    margin-top: 18px;
}

.fInput,
.fdiv {
    width: 100%;
    height: 60px;
    padding: calc(var(--padding)/2);
    font-size: 16px;
    border-radius: var(--border-radius);
    border: 1px solid #D7D7D7;
    box-sizing: border-box;
    background: #F4F4F4 !important;
    display: block;
}

.toggle-password {
    width: 20px;
    position: relative !important;
    left: 90% !important;
    top: -50% !important;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    flex-direction: row;
}

.toggle-password img {
    width: 20px;
    height: 20px;
}

/*end of login*/
/*registration*/
.regist-container {
    float: right;
    height: 100%;
    width: var(--regist-width);
    overflow: hidden;
}

.regist-body {
    padding: 0;
    height: 100%;
    display: grid;
}

.regist-inner {
    min-width: 300px;
}

.regist-logo {
    margin-top: 0;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
    width: 100%;
    max-width: 400px;
}

.regist-logo-lite {
    width: 100%;
    max-width: 400px;
}

.regist-area {
    max-width: 100%;
}

.regist-content {
    border: none;
    color: #FFF;
    font-size: 16px;
    text-align: center;
    min-width: 250px;
    height: calc(var(--regist-top-height)-30px);
    min-height: 100%;
    padding-left: var(--percentile-padding);
    padding-right: var(--percentile-padding);
    box-sizing: border-box;
    display: grid;
    place-items: center;
}

.regist-inner p {
    line-height: 30px;
    padding: 0 10px 0 10px;
}

.pro-text {
    margin-top: 20px;
    margin-bottom: 50px;
}

.pro-lite-text {
    margin-top: 16px;
    margin-bottom: 40px;
}

.prolite-background {
    background: linear-gradient(180deg, #FF5B1A 2.17%, #EC0A3A 100%);
}

.pro-background {
    height: 100%;
    background-color: black !important;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-sizing: border-box;
}

.pro-blacker {
    height: calc(100% - (2 * var(--border-pro-margin)));
    box-sizing: border-box;
    border-width: var(--border-pro-thickness);
    border-style: solid;
    border-image: linear-gradient(to bottom, white, white 50%, red 50%, red) 1;
    border-image: linear-gradient(to bottom, #FFF, var(--gradient-start)) 1;
    background-image: url(https://storage.googleapis.com/studio-design-asset-files/projects/91aP5w69Wl/s-1366x743_v-fms_webp_28e39375-9dcb-4df3-b34d-b052caaa6fc3.webp);
    background-size: cover;
    background-position: center;
    margin: var(--border-pro-margin);
    overflow: hidden;
    content: '';
}

.pro-border {
    height: var(--regist-bottom-height);
    width: 100%;
    overflow: hidden;
    content: '';
    z-index: 1;
}

.pro {
    background-size: cover;
    background-position: center;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
    position: relative;
}

/*end of registration*/
/*End of Containers*/
/*Text*/
.login-subtext {
    font-size: 12px;
    font-weight: 400;
    color: var(--subtext-color);
    width: 100%;
    max-width: 380px;
    margin: auto;
    margin-top: 33px;
}

.login-subtext p {
    margin: 0;
    float: right;
}

.login-subtext p a {
    color: var(--subtext-color);
    text-decoration: underline;
    cursor: pointer;
}

.login_remaind_link {
    margin-top: 25px;
}

.login_remaind_link a {
    margin-bottom: 10px;
}

#inquiry {
    display: block;
    text-align: center;
    max-width: 170px;
    margin: 0 auto 20px;
    color: var(--subtext-color);
    font-size: 12px;
    line-height: 1.7em;
    text-decoration: underline;
}

#copy {
    text-align: center;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
    color: var(--subtext-color);
    font-size: 10px;
    line-height: 1.7em;
}

/*End of Text*/
/*Modal*/

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-outer-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    position: absolute;
    top: 10%;
    left: 25%;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.modal-inner-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    max-height: 300px;
    overflow-y: auto;
    font-size: 13px;
}

/*End of Modal*/

/*Checkmark*/
.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-checkbox .checkmark {
    position: relative;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border: 1px solid #ccc;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.custom-checkbox input[type="checkbox"]:hover~.checkmark {
    background-color: #ccc;
}

.custom-checkbox input[type="checkbox"]:checked~.checkmark {
    background-color: white;
}

.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input[type="checkbox"]:checked~.checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 7px;
    width: 5px;
    height: 10px;
    border: solid red;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/*End of Checkmark*/

@media (min-width:1280px) and (max-height:832px) {

    /* Super Widescreen mode*/
    /*Buttons*/
    .button {
        max-width: 380px;
    }

    .login-button {
        max-width: 380px;
    }

    .regist-button {
        max-width: 300px;
        margin: auto;
        margin-top: 0px;
    }

    .pro-button {
        max-width: 400px;
    }

    /*End of Buttons*/
    /*Containers*/
    .container {
        max-width: none;
    }

    .login-container {
        width: var(--responsive-login-width);
        max-width: none;
    }

    .regist-container {
        width: var(--responsive-regist-width);
        max-width: none;
    }

    .regist-inner {
        max-width: 500px;
    }

    /*End of Containers*/
    /*Text*/
    .login-subtext {
        max-width: 380px;
    }

    /*End of Text*/
}

@media (max-height:800px) {
    #inquiry {
        margin: 0 auto;
    }

    #copy {
        margin: 10px auto 0;
        position: absolute;
        bottom: 0;
        left: 0;
    }
}

@media (max-height:700px) {
    :root {
        --percentile-padding: 5%;
        --percentile-margin: 5%;
    }

    /*Containers*/
    clearfix {
        max-height: 150vh;
    }

    .login-container {
        height: 100%;
    }

    .login-form-content {
        padding: 0;
    }

    /*End of Containers*/
    /*Text*/
    p {
        margin: 0;
        margin-top: 20px;
    }

    .login-subtext {
        margin-bottom: 10px;
    }

    /*End of Text*/
}

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

    /*Buttons*/
    .button {
        margin: auto;
    }

    .login-button {
        max-width: 100%;
    }

    /*End of Buttons*/
    /*Containers*/
    .clearfix {
        overflow: auto;
        height: 100vh;
        width: 100vw;
        padding: 0;
    }

    /*login*/
    .login-container {
        width: var(--responsive-login-width);
        overflow: hidden;
    }

    .login-table {
        margin: auto;
    }

    .login-body {
        width: 100%;
    }

    .login-form-content {
        display: block;
    }

    .fInput,
    .fdiv {
        float: none;
        width: 100%;
    }

    .login-input-table {
        width: 100%;
        margin: auto;
        margin-bottom: 60px;
    }

    /*end of login*/
    .regist-container {
        float: none;
        width: var(--responsive-regist-width);
    }

    .regist-content {
        padding: 0;
    }
}

@media screen and (max-width: 1024px) {
    /* Landscape Tablet mode */
    .login-form-title {
        font-size: 20px;
    }
}

@media screen and (max-width:970px) {
    .login-form-title {
        font-size: 16px;
    }
}

@media screen and (max-width:940px) {
    p {
        font-size: 13px;
        word-wrap: break-word;
        word-break: break-all;
    }

    .login-body-inner {
        max-width: 85%;
        margin: auto;
    }
}

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

    /*Buttons*/
    .button {
        margin: auto;
        width: 100%;
        max-width: 494px;
    }

    .login-button {
        width: 100%;
        max-width: 100%;
        height: 50px;
        margin: auto;
        align-self: center;
        font-size: var(--btn-font-size-sp);
    }

    .regist-button {
        height: 40px;
        max-width: var(--responsive-login-width);
        margin: auto;
        margin-top: 0px;
        margin-bottom: 10px;
    }

    /*End of Buttons*/
    /*Text*/
    p {
        line-height: 10px;
        margin: 0;
        font-size: 11px;
        white-space: nowrap;
    }

    .pro-text {
        margin: 0;
    }

    .pro-lite-text {
        margin: 0;
    }

    .login-form-title {
        margin-bottom: 40px;
        margin-top: 10px;
        padding-left: 0;
        padding-right: 0;
        font-size: 16px;
    }

    .login-subtext {
        width: auto;
        max-width: 100%;
        margin-top: 25px;
        margin-bottom: 10px;
        font-size: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .forgot-password {
        margin: 0;
        font-size: 10px;
        cursor: pointer;
        text-decoration: underline;
    }

    /*End of Text*/
    /* Containers*/
    .clearfix {
        height: 100%;
        height: auto;
        max-width: 100vw;
        max-height: var(--clearfix-height);
        overflow: visible;
    }

    .container {
        flex: 1;
        height: 100%;
        overflow: auto;
        max-height: none;
    }

    /*login*/
    .login-container {
        float: none;
        width: 100%;
        overflow: hidden;
        height: 100%;
        min-height: 610px;
        max-height: calc(100% - 2* var(--mobile-regist-height));
    }

    .login-body-inner {
        max-width: 100%;
        height: 100%;
        padding: 10px;
        padding-bottom: 0px;
        margin: 0;
    }

    #logo {
        margin-top: 70px !important;
    }

    .login-input-table {
        width: 100%;
        place-items: center;
        margin-bottom: 30px;
    }

    .login-input {
        height: 40px;
        padding-bottom: 10px;
    }

    .login-form-content {
        display: block;
        padding: 0;
    }

    .toggle-password {
        position: relative;
        left: 90%;
        top: -60% !important;
        cursor: pointer;
    }

    .fInput,
    .fdiv {
        margin: auto;
        height: 50px;
    }

    #inquiry {
        margin: 0 auto 15px;
    }

    #copy {
        margin: 0 auto 30px;
        position: absolute;
        bottom: 0;
        left: 0;
    }

    /*end of login*/
    /*registration*/
    .regist-container {
        float: none;
        height: calc(2 * var(--mobile-regist-height));
        width: 100%;
        overflow: hidden;
    }

    .regist-body {
        height: 100%;
    }

    .regist-content {
        max-height: 100%;
        height: 50%;
        display: grid;
    }

    .regist-area {
        min-height: var(--mobile-regist-height);
    }

    .regist-logo {
        margin-top: 10px;
        max-width: 215px;
    }

    /*end of registration*/
    /*End of Containers*/
    /* Responsiveness*/
    .mobile {
        display: block;
    }

    .desktop {
        display: none;
    }
}

@media screen and (max-width:600px) {
    regist-content {
        margin: none;
        display: initial;
    }

    .regist-area {
        min-height: var(--mobile-regist-height);
    }

    .regist-logo {
        max-width: 215px;
    }

    p {
        line-height: 10px;
        margin-top: 0px;
        font-size: 11px;
        white-space: nowrap;
    }

    .regist-button {
        margin-top: 0px;
    }
}

@media screen and (max-width:400px) {
    p {
        font-size: 9px;
    }

    .toggle-password {
        left: 88% !important;
    }
}

@media screen and (max-height:725px) and (min-width:769px){
    .container {
        position: relative;
        height: 725px;
    }
}

@media screen and (max-height:625px) {
    .regist-content {
        padding-top: 0;
    }
}