
body {
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS Mincho E", serif; 
    color: #5e4c41; 
    margin: 0;
}


.fs-l-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}


.fs-l-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center; 
    width: 100%;
    padding: 60px 20px; 
    box-sizing: border-box;
    background-size: cover;
}


.fs-c-fsLogin,
#fs_form {
    background-color: #ffffff;
    border: 1px solid #d4c6b5; 
    padding: 50px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto 40px;
    box-shadow: 0 4px 15px rgba(94, 76, 65, 0.1); 
    position: relative;
    box-sizing: border-box;
}

.fs-c-fsLogin::before,
#fs_form::before {
    content: "";
    position: absolute;
    top: 5px; right: 5px; bottom: 5px; left: 5px;
    border: 1px solid #d4c6b5;
    pointer-events: none;
}

.fs-c-registeredUsers__title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: normal;
    margin-bottom: 40px;
    color: #5e4c41;
    letter-spacing: 0.1em;
    border-bottom: none; 
}


.fs-c-registeredUsers__title::after {
    content: "LOGIN";
    display: block;
    font-size: 0.8rem;
    color: #a89a8d;
    margin-top: 10px;
    font-family: "Times New Roman", serif;
    letter-spacing: 0.2em;
}


.fs-c-inputTable th,
.fs-c-inputTable td {
    border: none; 
    padding: 15px 0;
    display: block; 
    width: 100%;
    text-align: left;
}

.fs-c-inputTable__label {
    font-weight: normal;
    font-size: 1rem;
}


.fs-c-requiredMark {
    color: #bf4d4d; 
    font-size: 0.8rem;
    vertical-align: super;
}


input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px 5px;
    border: none;
    border-bottom: 1px solid #a89a8d; 
    background-color: transparent;
    font-family: inherit;
    font-size: 1rem;
    color: #5e4c41;
    transition: border-color 0.3s;
    box-sizing: border-box;
    outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-bottom: 1px solid #5e4c41; 
}

.fs-c-buttonContainer {
    text-align: center;
    margin-top: 30px;
}



.fs-c-inputGroup {
    position: relative !important; 
}

.fs-c-textLink {
    color: #8c7b70;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.fs-c-textLink:hover {
    border-bottom: 1px solid #8c7b70;
}


.fs-c-guestPurchase {
    margin-top: 20px;
    text-align: center;
}

.fs-c-button--guestPurchase {
    background-color: transparent;
    color: #5e4c41;
    border: 1px solid #a89a8d;
    padding: 12px 40px;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.fs-c-button--guestPurchase:hover {
    background-color: #fcfaf5;
    border-color: #5e4c41;
}


.fs-c-panelContainer {
    width: 100%;
    max-width: 600px;
}
.fs-c-inputTable,
.fs-c-inputTable tbody,
.fs-c-inputTable tr,
.fs-c-inputTable th,
.fs-c-inputTable td {
    display: block !important;  
    width: 100% !important;     
    border: none !important;    
    padding: 0 !important;      
}


.fs-c-inputTable th {
    text-align: center !important;
    padding-top: 20px !important; 
    padding-bottom: 10px !important; 
}


.fs-c-inputTable label {
    font-weight: normal;
    display: inline-block;
}

/
.fs-c-inputTable td {
    text-align: center !important; 
    padding-bottom: 10px !important;
}

.fs-c-inputField {
    margin: 0 auto !important; 
    max-width: 350px !important; 
    width: 80% !important; 
}


.fs-c-inputGroup > button {
    border: none;
background: none;
    background-color: transparent;
}


/* 4. 「表示/隠す」の文字（見た目担当） */
.fs-c-inputGroup::after {
    content: "表示";
    position: absolute !important;
    right: 0 !important;
    bottom: 12px !important; /* 下線の少し上 */
    
    z-index: 10 !important;
    font-size: 11px !important;
    font-family: "Yu Mincho", "YuMincho", serif !important;
    color: #a89a8d !important;
    text-decoration: underline !important;
    pointer-events: none !important; /* クリックは上の透明ボタンに通す */
}

/* 5. マウスホバー時の文字色変更 */
/* 透明ボタンにマウスが乗ったら、下の文字色を変える */
.fs-c-inputGroup:has(.fs-c-button--displayPassword:hover)::after {
    color: #5e4c41 !important;
}

/* 6. 切り替えロジック */
.fs-c-inputGroup:has(input[type="text"])::after {
    content: "隠す" !important;
}

.fs-c-inputInformation__message {
    margin-bottom: 40px; 
}