:root {
  --login-bg: #eff8ff;
  --login-text: #222;
  --login-border: #d9d9d9;
  --login-card-bg: rgba(255, 255, 255, 0.96);
  --login-button-bg: #2d2d2d;
  --login-button-hover: #1f1f1f;
}

.login-page {
  min-height: 100vh;
  margin: 0;
  background: var(--login-bg);
  color: var(--login-text);
  font-family: "BIZ UDPGothic", sans-serif;
}

.login-layout {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 31px 20px 48px;
}

.login-brand {
  display: inline-block;
  width: 190px;
}

.login-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.login-panel {
  max-width: 400px;
  margin: 52px auto 0;
}

.mypage-inner {
  width: 100%;
  background: var(--login-bg);
  padding: 52px 0 104px;
}

.login-heading {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.02em;
}

.login-lead {
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
}

.login-complete-action {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.login-complete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 194px;
  min-height: 46px;
  padding: 10px 30px;
  border-radius: 30px;
  background: #005282;
  color: #fff;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.login-complete-button:hover,
.login-complete-button:focus-visible {
  opacity: 0.85;
}

.login-card {
  margin-top: 48px;
  padding: 24px;
  background: var(--login-card-bg);
  border: 1px solid var(--login-border);
  border-radius: 8px;
  box-sizing: border-box;
}

.login-form {
  display: grid;
  gap: 24px;
}

.login-form--confirm {
  gap: 28px;
}

.login-field {
  display: grid;
  gap: 8px;
}

.login-confirm {
  display: grid;
  gap: 26px;
}

.login-confirm__row {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  text-indent: 1em;
}

.login-label {
  font-size: 1rem;
  line-height: 1.4;
}

.login-input {
  width: 100%;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--login-border);
  border-radius: 8px;
  box-sizing: border-box;
  background: #fff;
  font: inherit;
  color: inherit;
}

.login-input:focus {
  outline: 2px solid #9bccee;
  outline-offset: 2px;
}

.login-input.is-error {
  border-color: #d93a3a;
  background: #fffafa;
}

.login-error {
  margin: 0;
  color: #d93a3a;
  font-size: 0.875rem;
  line-height: 1.4;
  display: none;
}

.login-error:not(:empty) {
  display: block;
}

.login-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--login-button-bg);
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.login-submit:hover,
.login-submit:focus-visible {
  background: var(--login-button-hover);
}

.login-action-group {
  display: grid;
  gap: 12px;
}

.login-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 12px 16px;
  border: 1px solid #005282;
  border-radius: 8px;
  box-sizing: border-box;
  background: #fff;
  color: #005282;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.login-secondary-button:hover,
.login-secondary-button:focus-visible {
  opacity: 0.8;
}
.link-back-area {
  text-align: center;
  margin-top: 64px;
}
.link-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #005282;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.link-back__icon {
  position: relative;
  width: 24px;
  height: 24px;
  border: 2px solid #005282;
  border-radius: 50%;
  box-sizing: border-box;
  flex: 0 0 auto;
}

.link-back__icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid #005282;
  border-right: 2px solid #005282;
  transform: translate(-35%, -50%) rotate(-135deg);
}

.link-back:hover,
.link-back:focus-visible {
  opacity: 0.8;
}

.c-footer-sitemap__copyright {
  text-align: center !important;
  padding-bottom: 24px;
}
.mypage-header {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  padding: 30px;
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.16);
}

.mypage-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
}

.mypage-header__logo {
  flex: 0 0 auto;
  width: 190px;
}

.mypage-header__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.mypage-header__actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.mypage-header__menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mypage-header__menu-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 999px;
}

.mypage-header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.mypage-header__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1e1e1e;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.mypage-header__link-icon {
  position: relative;
  width: 24px;
  height: 24px;
  border: 2px solid #005282;
  border-radius: 50%;
  box-sizing: border-box;
}

.mypage-header__link-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid #005282;
  border-right: 2px solid #005282;
  transform: translate(-65%, -50%) rotate(45deg);
}

.mypage-header__logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 40px;
  padding: 10px 30px;
  border-radius: 20px;
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.mypage-header__link:hover,
.mypage-header__link:focus-visible,
.mypage-header__logout:hover,
.mypage-header__logout:focus-visible {
  opacity: 0.8;
}


.login-password-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-password-wrap .login-input {
  flex: 1 1 auto;
}

.login-password-toggle {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-password-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.login-password-toggle svg {
  display: block;
}

@media screen and (max-width: 950px) {
  .mypage-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 70px;
    box-sizing: border-box;
    padding: 15px;
  }
  .mypage-header__logo {
    width: 138px;
  }

  .mypage-header__inner {
    position: relative;
  }

  .mypage-header__actions {
    margin-left: auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
  }

  .mypage-header__menu-button {
    display: inline-flex;
  }

  .mypage-header__nav {
    display: none;
    position: absolute;
    top: calc(100% + 0px);
    right: 0;
    z-index: 10;
    width: min(320px, calc(100vw - 30px));
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
  }

  .mypage-header__nav.is-open {
    display: flex;
  }

  .mypage-header__link {
    width: 100%;
    padding: 4px 0;
  }

  .mypage-header__logout {
    align-self: stretch;
    margin-top: 4px;
  }
}
.forget-link {
  margin-top: 16px;
}
.text-link {
  color: #005282;
  text-decoration: underline;
  line-height: 2.4;
}