body {
    background-color: #EEDEC8;
}

input:-webkit-autofill {
    background-color: transparent !important; /* 背景色を透明にする */
    -webkit-box-shadow: 0 0 0px 1000px white inset !important; /* 背景を白で上書き */
    box-shadow: 0 0 0px 1000px white inset !important; /* 互換性のため */
    transition: background-color 5000s ease-in-out 0s; /* 背景色を遅延適用 */
}

/* header */
header {
    width: 100%;
    height: 62px;
    display: flex;   
    justify-content: space-between; 
    align-items: center;  
    padding: 0 20px;  
    box-sizing: border-box;
    margin-bottom: 50px;
}

.header-inner {
  width: 100%;
  max-width: 1300px;    
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 0 80px;       
  box-sizing: border-box;
}

.logo {
    background-color: #DBA67A;
    color: #ffffff;             
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 8px 16px;
    border-radius: 8px;
}

/* 登録ページへ行くボタン */
.header-register-link {
    margin-left: 20px;
    background-color: #7A5542;
    color: #ffffff;             
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 8px 16px;
    border-radius: 25px;
}

.header-register-link:hover {
    color:white;
    opacity: 0.8;
}


/* ログイン */
.login {
    max-width: 420px;
    height: 80%;
    margin: 0 auto;
    text-align: center;
    background-color: white;
    border-radius: 30px;
    padding: 24px 52px 32px 52px;
}

/* ログインって文字*/
.login-title {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto;
    margin-bottom: 32px;
    text-align: center;
    color: #000000;
    height: 48px;
    line-height: 48px;
}

/* 入力欄 */
fieldset {
    display: block;
    border: none !important;
    margin: 0;
    padding: 0;
    background: none !important; /* 必要なら背景もリセット */
}

input {
    border: none !important; /* 競合を無視して枠線を消す */
    outline: none !important; /* 競合を無視してフォーカス時の青い枠を消す */
    background: none; /* 必要なら背景色もリセット */
    box-shadow: none !important; /* 入力欄の影もリセット */
}

/* 入力情報全体 */
.input-info {
    margin: 0 auto; /*　中央寄せ  */
    border: 1px solid #D9D9D9; /* 全体の枠線 */
    width: 316px; /* 全体の幅 */
    height: 105px;
    border-radius: 10px;
    overflow: hidden; /* input入力枠と外枠が重なった時入力枠の無効化 */
    display: flex; /* 内部要素を中央に配置する準備 */
    flex-direction: column; /* 要素を縦に並べる */
    justify-content: center; /* 縦方向に中央揃え */
    margin-bottom: 50px;
}

input:focus {
    background-color: transparent !important;
}

/* メールアドレス入力欄の親クラス */
.userid {
    /* line-height: 75px; */
    border: none ; 
    outline: none ;
    height: 50%; /* 各入力欄が全体の50%を占める */
    display: flex; /* 内部の文字を中央揃えにする準備 */
    align-items: center; /* 縦方向に中央揃え */
    font-size: 14px; /* テキストサイズを調整 */
    color: #6D6D6D; /* テキストの色 */
    border: none; /* 不要な枠線を削除 */
    outline: none; /* フォーカス時の青い枠を削除 */
    background: none; /* 背景色をリセット */
}

/* メールアドレス入力欄 */
.userid-input {
    padding: 0 16px;
    width: 310px;
}

/* メールアドレス入力欄のプレースホルダー */
.userid-input::placeholder {
    font-size: 12px; /* プレースホルダーの文字サイズ */
    color: #979797; /* プレースホルダーの文字色 */
}

/* パスワード入力欄の親クラス */
.password {
    /* line-height: 75px; */
    border: none; 
    outline: none;
    height: 50%; /* 各入力欄が全体の50%を占める */
    display: flex; /* 内部の文字を中央揃えにする準備 */
    align-items: center; /* 縦方向に中央揃え */
    font-size: 14px; /* テキストサイズを調整 */
    color: #6D6D6D; /* テキストの色 */
    border: none; /* 不要な枠線を削除 */
    outline: none; /* フォーカス時の青い枠を削除 */
    background: none; /* 背景色をリセット */
}

/* パスワード入力欄 */
.password-input {
    padding: 0 16px;
}

/* プレースホルダーのcss */
.password-input::placeholder {
    font-size: 12px; /* プレースホルダーの文字サイズ */
    color: #979797; /* プレースホルダーの文字色 */
}

/* ログインするボタン */
.login-button {
    width: 316px; /* 全体の幅 */
    height: 52px;
    background-color: #7A5542;
    border: none; 
    border-radius: 25px;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
  }

  header {
    height: auto;
  }

  body {
    overflow-x: hidden;
  }

  .login {
    width: 100%;
    max-width: 100%;
    padding: 24px 16px;
    box-sizing: border-box;
  }

  .input-info,
  .login-button {
    width: 100%;
  }

  .userid-input,
  .password-input {
    width: 100%;
  }

  body {
    overflow-x: hidden;
  }

}
