/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Background */
body {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: #5e5e5e;
  font-family: 'Open Sans', sans-serif;
  min-height: 100vh;
  /* display: flex; */
  align-items: center;
  justify-content: center;
}

/* Wrapper */
.form-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  padding: 2em;
  width: 90%;
  max-width: 400px;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

h1 {
  text-align: center;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5em;
}

.form-item {
  margin-bottom: 1.2em;
}

/* Fonts */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400');

/* Simple Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* body */
body {
  background: #e9e9e9; /* 薄いグレー */
  color: #5e5e5e;
  font: 400 87.5%/1.5em 'Open Sans', sans-serif;
  text-align: center; 
}

/* Form Layout */
.form-wrapper {
  background: #ffffff;
  margin: 5em auto;
  padding: 0 1em;
  max-width: 370px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-radius: 8px;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

h1 {
  text-align: center;
  padding: 1em 0;
  font-size: 1.6em;
  letter-spacing: 1px;
  color: #444;
}

form {
  padding: 0 1.5em;
}

.form-item {
  margin-bottom: 0.75em;
  width: 100%;
}

.form-item input {
  background: #fafafa;
  border: none;
  border-bottom: 2px solid #e9e9e9;
  color: #666;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  height: 50px;
  transition: border-color 0.3s;
  width: 100%;
}

.form-item input:focus {
  border-bottom: 2px solid #c0c0c0;
  outline: none;
}

/* Button */
.button-panel {
  margin: 2em 0 0;
  width: 100%;
}

.button-panel .button {
  background: #008000; /* ピンク */
  border: none;
  color: #fff;
  cursor: pointer;
  height: 50px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.3s ease-in-out;
  width: 100%;
  border-radius: 4px;
}

.button-panel .button:hover {
  background: #006400; /* 少し濃いピンク */
}

/* Footer */
.form-footer {
  font-size: 1em;
  padding: 2em 0;
  text-align: center;
}

.form-footer a {
  color: #8c8c8c;
  text-decoration: none;
  transition: border-color 0.3s;
}

.form-footer a:hover {
  border-bottom: 1px dotted #8c8c8c;
}

/* ロゴ画像を中央に配置 */
.logo {
  text-align: center;
  padding: 2em 0 1em 0; /* 上下の余白 */
}

.logo img {
  display: inline-block;
  width: 111px;
  height: 49px;
  vertical-align: middle;
}

/* ==========================
   ヘッダー部分
   ========================== */
.header-container {
  text-align: center;
  margin-top: 2em;
  margin-bottom: 1.5em;
  z-index: 0; /* z-index:-1 は非推奨（隠れてしまう）ので0に変更 */
  position: relative;
}

.header-container img {
  width: 420px;
  height: 100px;
  vertical-align: middle;
}

.header-container .title {
  margin-top: 0.6em;
  font-size: 1.1em;
  color: #333;
  font-weight: 600;
  letter-spacing: 0.03em;
}
