*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
body{
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background-color: #A6A6A6;
    background-image: url(../images/main-character.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}
.container{
    width: 430px;
    background: transparent;
    color: #dc7a7a;
    padding: 40px 30px;
    border-radius: 10px;
    border: 2px solid #ffffff33;
    box-shadow: 0 0 10px #0000001a;
    backdrop-filter: blur(20px);
    margin: auto;
    z-index: 1;
}
.container h1{
    font-size: 34px;
    text-align: center;
}
.input-box{
    position: relative;
    width: 100%;
    height: 50px;
}
.input-box input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: 2px solid #ffffff33;
    outline: none;
    border-radius: 45px;
    font-size: 16px;
    color: #fff;
    padding: 20px 45px 20px 20px;
}
.input-box i{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}
.remember{
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin: 15px 0 15px;
}
.remember label input{
    accent-color: #fff;
    margin-right: 5px;
}
.remember a{
    color: #fff;
    text-decoration: none;
}
.remember a:hover{
    color: #ededed;
}
.btn-login{
    width: 100%;
    height: 45px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background: #ffffff;
    border: none;
    outline: none;
    border-radius: 45px;
    box-shadow: 0 0 10px #0000001a;
    cursor: pointer;
}
.register{
    font-size: 15px;
    text-align: center;
    margin-top: 20px;
}
.register a{
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.register a:hover{
    color: #ededed;
}
.form-group {
    margin: 10px 0;
}
.form-group label {
    display: block;
    color: #fff;
    font-size: 14px;
    padding-left: 20px; /* 入力ボックスのパディングに合わせた左寄せ */
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.2s;
}
/* 2. ラベルを表示する条件（inputがフォーカスされた時、または input-filled クラスが付与された時）*/
.form-group:focus-within label, /* inputにフォーカスが当たった時 (クリック時) */
.form-group.input-filled label { /* inputに値が入力されている時 (JavaScriptがこのクラスを制御) */
    opacity: 1; 
}

#cookie-consent-modal {
    display: none; 
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* 背景を暗くする */
    z-index: 9999; /* 他の要素より手前に表示 */
    align-items: center;
    justify-content: center;
}

#cookie-consent-modal > div {
    background: #fff;
    width: 80%; /* 幅を調整 */
    max-width: 400px;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#cookie-consent-modal button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#accept-cookie-btn {
    background: #007bff; /* 青系 */
    color: white;
}
#deny-cookie-btn {
    background: #6c757d; /* グレー系 */
    color: white;
}
/* input-box の子要素としてアイコンを配置するための設定 */
.password-input-box {
    position: relative;
}

/* 鍵アイコンの位置を調整 */
.password-input-box .icon-lock {
    position: absolute;
    right: 50px; /* 目アイコンとの重複を避けるため、右からの位置を調整 */
    top: 50%;
    transform: translateY(-50%);
    /* ... 既存のスタイルを維持 ... */
}

/* 目アイコン (password-toggle) のスタイル */
.password-toggle {
    position: absolute;
    right: 20px; /* input-boxの右端からの距離 */
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #fff; /* アイコンの色を調整 */
    cursor: pointer;
    z-index: 10;
}