/* login_base.css */

/* ページ全体のリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* bodyを画面いっぱいにして中央配置 */
body,
html {
    height: 100%;
    width: 100%;
    min-width: 375px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(../img/login_background.png);
    background-color: rgba(255, 255, 255, 0.35);
    background-blend-mode: lighten;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-bottom: env(safe-area-inset-bottom);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

p,
input {
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
}

button {
    background: none;
    border: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* ページ見出し */
.title-logo {
    text-align: left;
}

.title-logo span {
    font: italic 326 1.6rem / 1 'Inter', 'Noto Sans JP', sans-serif;
    display: inline-block;
    border-bottom: 1px solid #ddd;
    margin-left: 1rem;
}

.sub-title-logo span {
    font: italic 250 1.3rem/1 'Inter', 'Noto Sans JP', sans-serif;
    display: inline-block;
    padding-bottom: 4px;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
}

ul.errorlist {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    text-align: left;
    color: red;
    font-size: 13px;
}

ul.errorlist li {
    margin: 0.2em 0;
}

.error {
    margin-left: 2rem;
    font-size: 1.1rem;
}

/* main領域 */
main {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* container中央配置 */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* ログイン全体コンテナ */
.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* 中央寄せ */
    align-items: center;
    gap: 40px;
    width: 100%;
    min-width: 360px;
    margin-top: 6rem;
}

/* ロゴ画像 */
.logo img {
    width: 245px;
    height: auto;
    margin-bottom: 145px;
}

/* LINEログインボタン */
.line-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00C300;
    /* LINEカラー */
    color: #fff;
    text-decoration: none;
    width: 100%;
    padding: 14px 2rem;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

/* LINEアイコン */
.line-login-btn .icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.btn-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: .5rem 1.5rem;
    border-radius: 0.4rem;
    color: #fff;
    font-size: 0.9rem;
    height: 2.3rem;
}

.back-btn {
    background-color: #828282;
}

.btn-back-login {
    color: #fff;
    background-color: #00d0c0;
    padding: 10px;
    border-radius: 0.4rem;
}

/* userdetail_create専用レイアウト */
.userdetail-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: auto;
    margin-top: 2rem;
}

.userdetail-container form {
    width: 100%;
    padding: 0 1.5rem;
}

.userdetail-logo img {
    margin-bottom: 50px;
}

.field {
    display: flex;
}

.actions {
    text-align: center;
}

.btn-add {
    background-color: #ff6060;
    color: #fff;
    padding: .5rem 1.5rem;
    margin-top: 1.5rem;
    border-radius: 0.4rem;
}

/* フッター固定 */
footer {
    width: 100%;
    bottom: 0;
}

footer small {
    color: #888;
}

/* userdetail_create.html */
.userdetail-form {
    margin: 0 2rem;
}

.field {
    display: flex;
    flex-direction: column;
}

.field label {
    margin: 0.5rem 0;
}

.field input {
    padding: 0.5rem;
    font-size: 1rem;
}

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

    html,
    body {
        overflow: auto;

        /* スクロールバー非表示（IE・Edge） */
        -ms-overflow-style: none;

        /* スクロールバー非表示（Firefox） */
        scrollbar-width: none;
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari */
    }
}