@charset "UTF-8";

/* 202310 エラー表示追加 */
#error {
    position: relative;
    background: #fff;
    padding: 10px;
    text-align: center;
    color: #ff0000;
    font-size: 14px;
    font-weight: bold;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    margin-bottom: 15px;
}

#error:after {
    position: absolute;
    border: solid transparent;
    content: '';
    height: 0;
    width: 0;
    pointer-events: none;
    border-color: rgba(217, 230, 248, 0);
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 10px;
    border-right-width: 10px;
    margin-left: -10px;
    border-top-color: #fff;
    top: 100%;
    left: 50%;
}

body.login-content main {
    position: absolute;
    top: 9%;
    /* 縦の位置 */
    left: 50%;
    transform: translateX(-50%);
}


/* Form Layout */
.form-wrapper {
    margin: 0 auto;
    padding: 26px;
    max-width: 370px;
}


.form-item {
    margin-bottom: 20px;
    width: 100%;
    text-align: left !important;
}

.form-item label {
    font-weight: 600;
    color: #fff;
}


.form-item input {
    background: #fff;
    border: none;
    color: #333;
    font-size: 1em;
    padding: 3px;
    height: 34px;
    transition: border-color 0.3s;
    width: 100%;
    margin-top: 3px;
}

.address {
    position: relative;
}

.address::before {
    content: "";
    /* 疑似要素に必須 */
    width: 16px;
    /* アイコンの横幅 */
    height: 16px;
    /* アイコンの高さ */
    background: url(../images/icon-search.png) no-repeat center center / auto 100%;
    /* common.cssに移動する際はurl(../images/icon-search.png)に変更する */
    display: inline-block;
    position: absolute;
    top: 12px;
    left: 6px;
}

.address input {
    padding-left: 2em;
}


/* フォーカスしたらプレースホルダーを非表示に */
.form-item input:focus::-webkit-input-placeholder {
    color: transparent;
}

.form-item input:focus::-moz-placeholder {
    color: transparent;
}

.form-item input:focus::-ms-input-placeholder {
    color: transparent;
}

.form-item input:focus::placeholder {
    color: transparent;
}

.button-panel {
    margin: 25px 0 0;
    width: 100%;
}

.button-panel-logout {
    margin: 10px 0 25px 0;
    width: 100%;
}

.button-panel .button {
    background: #87c533;
    border: none;
    color: #fff;
    cursor: pointer;
    height: 50px;
    font-size: 1.2em;
    letter-spacing: 0.05em;
    font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    transition: background 0.3s ease-in-out;
    width: 100%;
    border-radius: 4px;
}

.button-panel-logout .button {
    background: #87c533;
    border: none;
    color: #fff;
    cursor: pointer;
    height: 50px;
    font-size: 1.2em;
    letter-spacing: 0.05em;
    font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    font-weight: 600;
    text-align: center;
    /*text-transform: uppercase;*/
    transition: background 0.3s ease-in-out;
    width: 100%;
    border-radius: 4px;
}

.button:hover {
    background: #cad31e;
}

@media (max-width: 736px) {
    body.login-content main {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: translateX(-0%);
    }
    
    .button-panel .button {
    height: 35px;
    font-size: 1em; 
    border-radius: 2px;    
}

    /* Form Layout */
    .form-wrapper {
        margin: 0 auto;
        padding: 15px 15px 25px 15px;
        max-width: 92%;
    }
}
