﻿/* DEFAULTS
----------------------------------------------------------*/

body   
{
    background: #b6b7bc;
    font-size: 1em;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    color: #696969;
}

a:link, a:visited
{
    color: #034af3;
}
re
a:hover
{
    color: #1d60ff;
    text-decoration: none;
}

a:active
{
    color: #034af3;
}

p
{
    margin-bottom: 10px;
    line-height: 1.6em;
}


/* HEADINGS   
----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    /*color: #666666;*/
    font-variant: small-caps;
    text-transform: none;
    font-weight: 200;
    margin: 0px;
}

h1 {
    font-size: 1.4em;
    padding-bottom: 0px;
    margin-bottom: 0px;
    font-weight: 600;
}

h2 {
    font-size: 1.3em;
    font-weight: 600;
    padding-bottom: 0px;
}

h3
{
    font-size: 1.2em;
    font-weight: bold;
}

h4 {
    font-size: 1.1em;
    font-weight: bold;
    padding-bottom: 10px;
}

h5, h6
{
    font-size: 1em;
}

/* this rule styles <h1> and <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0px;
}


/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.page
{
    width: 960px;
    background-color: #fff;
    margin: 20px auto 0px auto;
    border: 1px solid #496077;
}

.header
{
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #4b6c9e;
    width: 100%;
}

.header h1
{
    font-weight: 700;
    margin: 0px;
    padding: 0px 0px 0px 20px;
    color: #f9f9f9;
    border: none;
    line-height: 2em;
    font-size: 2em;
}

.header h2 {
    font-weight: 700;
    margin: 0px;
    padding: 0px 0px 0px 20px;
    color: #f9f9f9;
    border: none;
    line-height: 2em;
    font-size: 1.8em;
}

.main
{
    padding: 0px 12px 100px 12px;
    margin: 12px 8px 8px 8px;
    min-height: 420px;
    font-size: 1.8em;
}

.leftCol
{
    padding: 6px 0px;
    margin: 12px 8px 8px 8px;
    width: 200px;
    min-height: 200px;
}

.footer {
    background-color: lightgray;
    padding: 16px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.5;
    border-top: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1.2em;
    color: #444444;
}

.footer p 
{
    margin: 2px;
}

/* TAB MENU   
----------------------------------------------------------*/

div.hideSkiplink
{
    background-color:#3a4f63;
    width:100%;
}

div.menu
{
    padding: 4px 0px 4px 8px;
}

div.menu ul
{
    list-style: none;
    margin: 0px;
    padding: 0px;
    width: auto;
}

div.menu ul li a, div.menu ul li a:visited
{
    background-color: #465c71;
    border: 1px #4e667d solid;
    color: #dde4ec;
    display: block;
    line-height: 1.35em;
    padding: 4px 20px;
    text-decoration: none;
    white-space: nowrap;
}

div.menu ul li a:hover
{
    background-color: #bfcbd6;
    color: #465c71;
    text-decoration: none;
}

div.menu ul li a:active
{
    background-color: #465c71;
    color: #cfdbe6;
    text-decoration: none;
}

/* FORM ELEMENTS   
----------------------------------------------------------*/
.main p {
    margin: 10px 0; 
}

.main input[type="text"] {
    padding: 0px 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 250px;
    height: 1.2em;
    font-size: 1.0em;
    margin: 0px 5px 0px 5px;
}

.main input[type="date"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 250px;
    height: 1.5em;
    margin: 0px 5px 0px 5px;
    font-size: 1.5em;  
}

.main input[type="button"] {
    padding: 10px 20px;
    margin: 5px 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border: 2px solid #007bff;
    border-radius: 5px;
    color: #465c71;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    margin-top: 20px;
}


/* Style radio buttons */
.main input[type="radio"] {
    display: none;
}

/* Style radio button labels */
.main input[type="radio"] + label {
    display: inline-block;
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.1em;
    line-height: 1.4em;
}

/* Highlight selected radio button */
.main input[type="radio"]:checked + label {
    background-color: #007bff;
    color: #fff;
}


.requiredInput::after {
    content: "必須";
    background-color: red;
    color: white;
    border-radius: 2px;
    font-size: 0.5em;
    padding: 0px 5px 0px 5px;
    display: inline-block;
    vertical-align: middle;
    margin-top: -8px;
}

.notRequiredInput::after {
    content: "任意";
    background-color: gray;
    color: white;
    border-radius: 2px;
    font-size: 0.5em;
    padding: 0px 5px 0px 5px;
    display: inline-block;
    vertical-align: middle;
    margin-top: -8px;
}


/*----------------------------------------------------------*/
fieldset {
    margin: 1em 0px;
    padding: 1em;
    border: 1px solid #ccc;
}

fieldset p 
{
    margin: 2px 12px 10px 10px;
}

fieldset.login label, fieldset.register label, fieldset.changePassword label
{
    display: block;
}

fieldset label.inline 
{
    display: inline;
}

legend 
{
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

select {
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border: 2px solid #ccc;
    border-radius: 5px;
    color: #465c71;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

/*input[type="date"] {
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border: 2px solid #007bff;
    border-radius: 5px;
    color: #465c71;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}


input[type="button"] {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border: 2px solid #007bff;
    border-radius: 5px;
    color: #465c71;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
*/

input[type="button"]:not(:disabled):hover {
    background-color: #007bff; 
    color: #fff; 
}

input[type="button"]:active {
    transform: translateY(1px); 
}

input[type="button"]:disabled {
    opacity: 0.5; 
    cursor: not-allowed; 
}

input.textEntry 
{
    width: 320px;
    border: 1px solid #ccc;
}

input.passwordEntry 
{
    width: 320px;
    border: 1px solid #ccc;
}

div.accountInfo
{
    width: 42%;
}


table {
    width: fit-content
}
/* Loading screen
----------------------------------------------------------*/
.loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none; 
}

.loadingSpinner {
    position: absolute;
    top: 50%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}



@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* YoyakuSelectWeekTime.aspx
----------------------------------------------------------*/
#explainationText {
    /*padding-left: 15px;*/
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.explanationLine {
    flex: 1 1 auto; 
    margin-right: 10px;
}

#ShinryoukaSelection {
    margin-bottom: 10px;
}


.buttonLineContainer {
    display: flex;
    align-items:flex-end;
}

.buttonContainer {
    display: flex;
}

#calendarBtnContainer {
    display: flex;
    align-items: flex-end;
}

#backToTopBtn {
    font-size: 0.8em;
}

#calendarSearchBtn {
    height: 58px; 
    width: 58px;
    padding: 0; 
    margin: 0;
    font-size: 1.5em;
}


/* YoyakuHonninKakunin.aspx
----------------------------------------------------------*/
.formLabel {
}

.resendLabel {
    color: red;
    font-size: 0.8em;
}
#resendButtonDiv {
    position: relative;
    display: inline-block;
    
}

#resendButtonDiv input[type="button"]{
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 0.8em;
}

#resendSpinner {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border: 2px solid #caccc0;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

.formEntry {
    /*color: #666;*/
    padding: 5px;
    margin-bottom: 10px;
    font-weight: 600;
}

.birthSelection {
    width: 200px;
    font-weight:normal;
    margin: 0px 5px;
}

.wrapLine {
    display: flex;
    flex-wrap: wrap;
    /*width: 100%;*/
}

.dateSelectWrapper {
    align-items: center;
    display: flex;
}
.inputLine {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    margin-right: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.inputBox {
    display: flex;
    flex-direction: column;
    /*justify-content: flex-start;*/
    width: auto;
}


table .radioGroup 
{
    margin: 0px 5px 0px 5px;
}

.validationMessage {
    font-size: 0.7em; 
}

.explanationText {
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.explanationText p {
    margin: 0px;
}

#email {
    width: 120%;
}

#LineSkypeGuide {
    border: 1px solid black;
/*    display: flex;
    justify-content: space-between;*/
    width: 100%;
    border-radius: 10px;
}

#LineSkypeGuide img {
    width: 40%;
    height: auto;
    max-width: 100%;
}

/* YoyakuChangeCancel.aspx
----------------------------------------------------------*/
#multipleMatchedDiv {
    color: red;
}

.CancelConfirmBox {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    width: 400px;
    background-color: #f9f9f9;
    border: 2px solid #007bff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#CancelConfirmTitle {
    width: 100%;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    background-color: #f0f0f0; 
    padding: 5px 0;
}

#CancelConfirmText {
    margin-bottom: 20px;
}

#CancelConfirmTitle,
#CancelConfirmText,
#CancelConfirmBtnBox {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

#CancelConfirmBtnBox {
    text-align: right;
    background-color: #f0f0f0;
}

#CancelConfirmBtnBox input[type="button"] {
    margin-left: 10px;
    float: right;

}

.ChangeConfirmBox {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    width: 80%;
    background-color: #f9f9f9;
    border: 2px solid #007bff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-height: 90%;
    overflow-y: auto;
}

.infoBox {
    border: solid black 1px;
    border-radius: 25px;
    padding: 20px;
}

.boxWrapper {
    display: flex;
    justify-content: space-between;
}

.yoyakuInfoBox {
    width: calc(50% - 10px); 
    border: solid black 1px;
    border-radius: 25px;
    padding: 20px;
    margin: 5px;
}


/* Succeeded.aspx
----------------------------------------------------------*/
#screenshotButton {
    font-size: 0.7em;
}

/* login aspx
----------------------------------------------------------*/
.disableInputbox {
    background-color: #EBEBE4;
    color: #a9a9a9;
    cursor: not-allowed;
}

.disableDropdown {
    background-color: #EBEBE4; 
    color: #a9a9a9;
    cursor: not-allowed;
    pointer-events: none; 
}

.main .inputLine .resendBtn{
    margin: 5px;
    padding: 5px;
    font-size: 0.8em;
}

#verification {
    margin-right: 20px;
}

/* MISC  
----------------------------------------------------------*/
.hidden {
    display: none;
}

.clear {
    clear: both;
}

.title {
    width: 100%;
    text-align: left;
}

#titleText, #hpnameText {
    display: inline-block;
    margin: 0;
    padding: 0px 10px 0px 10px;
}

.loginDisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    padding: 10px 10px 0px 10px;
    color: White;
}

    .loginDisplay a:link {
        color: white;
    }

    .loginDisplay a:visited {
        color: white;
    }

    .loginDisplay a:hover {
        color: white;
    }

.failureNotification {
    font-size: 1.2em;
    color: Red;
}

.bold {
    font-weight: bold;
}

.no-scroll {
    overflow: hidden;
}


.submitButton {
    text-align: right;
    padding-right: 10px;
}

.popupDiv {
    width: 50%;
    height: fit-content;
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 2px solid red;
    border-radius: 10px;
    padding: 20px;
    color: black;
    z-index: 9999;
    font-size: 1.2em;
    /*text-align: center;*/
    /*font-weight: bold;*/
}


.main .popupDiv .errorCloseBtn {
    position: absolute;
    padding: 5px;
    margin: 1px;
    border: 0px;
    top: 0px;
    right: 0px;
}

.smallerFont {
    font-size: 0.8em;
}