:root {
  color-scheme: light;
  color: #103f43;
  background: #e7f1f3;
  font-family: "BIZ UDPGothic", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(16px, 5vw, 80px);
  background: radial-gradient(ellipse at 50% 45%, #f3f8f8 0%, #dfeef2 100%);
}
[hidden] { display: none !important; }
.login-panel {
  width: min(100%, 1320px);
  display: grid;
  grid-template-columns: 56fr 44fr;
  min-height: clamp(420px, 57vw, 595px);
  background: #faf6ec;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 46px #244b5b26, 0 4px 14px #224a5614;
}
.login-brand {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: clamp(66px, 11vw, 145px) 15px 2rem 18%;
  background: #b7e6eb url('/home-beach.webp') left center / cover no-repeat;
  text-align: center;
}
.login-brand img { width: min(100%, 390px); height: auto; }
.login-brand p {
  color: #125059;
  font: clamp(15px, 1.7vw, 23px)/1.6 "Yu Kyokasho", "游教科書体", "Hiragino Mincho ProN", "Yu Mincho", serif;
  margin: clamp(12px, 1.5vw, 19px) 0 0;
  text-shadow: 0 1px 3px #f5ffffc9;
}
.login-content { display: grid; align-items: center; padding: clamp(28px, 4.15vw, 62px); }
.login-content form { display: grid; gap: clamp(16px, 2.3vw, 27px); }
.login-content h1 {
  text-align: center;
  margin: 0 0 .1em;
  font-size: clamp(28px, 3.1vw, 47px);
  line-height: 1.25;
  letter-spacing: .03em;
}
.field label { display: block; font-size: clamp(15px, 1.6vw, 22px); font-weight: 700; margin-bottom: .48em; }
.field input {
  width: 100%;
  min-height: clamp(48px, 5vw, 62px);
  border: 1.5px solid #5a8d90;
  border-radius: 11px;
  background: #fff;
  color: #173732;
  padding: .6em .9em;
  font: inherit;
}
.password-field { position: relative; }
.password-field input { padding-right: 54px; }
.password-toggle {
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 44px;
  color: #316d73;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.login-submit {
  min-height: clamp(52px, 5.4vw, 68px);
  border: 0;
  border-radius: 12px;
  background: #08744f;
  color: #fff;
  font: 700 clamp(19px, 2vw, 27px)/1.2 "BIZ UDPGothic", "Yu Gothic UI", system-ui, sans-serif;
  margin-top: .36em;
  cursor: pointer;
}
.login-submit:hover { background: #065c3f; }
:focus-visible { outline: 3px solid #9b5a20; outline-offset: 3px; }
.login-notice {
  color: #802c17;
  background: #fff0e6;
  margin: 0;
  padding: .75rem 1rem;
  border-radius: 8px;
  line-height: 1.45;
}
@media (max-width: 680px) {
  .login-panel { grid-template-columns: 1fr; min-height: auto; border-radius: 19px; max-width: 490px; }
  .login-brand { min-height: 220px; padding: 47px 12px 54px 15%; background-position: left 51%; }
  .login-brand img { width: min(83%, 300px); }
  .login-brand p { font-size: clamp(14px, 3.8vw, 18px); margin-top: 12px; }
  .login-content { padding: 25px clamp(20px, 6vw, 32px) 30px; }
}
