    :root {
      --white: #fff;
      --ice: #dff4ff;
      --line: rgba(223, 244, 255, 0.62);
      --panel: rgba(17, 47, 82, 0.58);
      --blue1: #43d5ff;
      --blue2: #0947d9;
      --green1: #18f35a;
      --green2: #00a927;
      --shadow-blue: rgba(29, 145, 255, 0.52);
    }

    * {
      box-sizing: border-box;
    }

    html,
    body {
      width: 100%;
      min-height: 100%;
      margin: 0;
    }

    body {
      min-height: 100vh;
      color: var(--white);
      font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
      letter-spacing: 0;
      background: #021126 url("/files/a644f0d3-3f56-4ce0-b16b-bf8bfaea543e.jpg") center center / cover no-repeat fixed;
      overflow-x: hidden;
    }

    body::before {
      position: fixed;
      inset: 0;
      z-index: -1;
      content: "";
      background:
        radial-gradient(circle at 35% 18%, rgba(85, 172, 255, 0.18), transparent 24%),
        linear-gradient(90deg, rgba(0, 8, 24, 0.22), rgba(0, 18, 44, 0.04) 45%, rgba(0, 7, 19, 0.34));
      pointer-events: none;
    }

    button,
    input {
      font: inherit;
    }

    button {
      cursor: pointer;
    }

    .page {
      position: relative;
      min-height: 100vh;
      padding: 28px 55px 46px;
    }

    .login-button {
      position: fixed;
      top: 26px;
      right: 55px;
      z-index: 5;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 13px;
      min-width: 171px;
      height: 56px;
      padding: 0 27px;
      color: var(--white);
      font-size: 16px;
      font-weight: 700;
      text-decoration: none;
      background: rgba(4, 17, 43, 0.44);
      border: 1px solid rgba(229, 243, 255, 0.78);
      border-radius: 11px;
      box-shadow: inset 0 0 18px rgba(118, 177, 255, 0.11);
      transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
      cursor: pointer;
      font-family: inherit;
    }

    .login-button:hover {
      border-color: var(--white);
      box-shadow: 0 0 22px rgba(98, 178, 255, 0.22), inset 0 0 18px rgba(118, 177, 255, 0.18);
      transform: translateY(-1px);
    }

    .login-button img {
      width: 22px;
      height: 22px;
      filter: brightness(0) invert(1);
    }

    .hero {
      display: grid;
      align-items: center;
      min-height: calc(100vh - 74px);
      padding: 86px 0 28px;
    }

    .hero-content {
      width: min(620px, 100%);
      margin-left: clamp(0px, 22vw, 420px);
      text-align: center;
    }

    .brand-logo {
      display: block;
      width: min(480px, 86vw);
      margin: 0 auto 48px;
      filter: drop-shadow(2px 4px 1px black);
    }

    .divider {
      width: 54px;
      height: 2px;
      margin: 0 auto 33px;
      background: linear-gradient(90deg, transparent, #c8f5ff, transparent);
      box-shadow: 0 0 14px rgba(109, 211, 255, 0.75);
    }

    .catch {
      margin: 0 0 29px;
      font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
      font-size: clamp(24px, 2.3vw, 36px);
      font-weight: 500;
      line-height: 1.55;
      text-shadow: 0 0 14px rgba(0, 26, 58, 0.74);
    }

    .lead {
      margin: 0 0 42px;
      font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
      font-size: 18px;
      font-weight: 700;
      line-height: 1.85;
      text-shadow: 0 0 12px rgba(0, 18, 44, 0.84);
    }

    .actions {
      width: min(454px, 100%);
      margin: 0 auto;
    }

    .cta-button {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 26px;
      width: 100%;
      height: 77px;
      padding: 0 64px;
      color: var(--white);
      font-size: 22px;
      font-weight: 800;
      border: 1px solid rgba(152, 230, 255, 0.8);
      border-radius: 12px;
      background: linear-gradient(110deg, var(--blue1), #1676ff 48%, var(--blue2));
      box-shadow: 0 0 30px var(--shadow-blue), inset 0 0 18px rgba(255, 255, 255, 0.22);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .cta-button:hover,
    .line-button:hover {
      transform: translateY(-2px);
    }

    .cta-button:hover {
      box-shadow: 0 0 40px rgba(66, 201, 255, 0.65), inset 0 0 18px rgba(255, 255, 255, 0.26);
    }

    .cta-button .button-icon {
      width: 32px;
      height: 36px;
      filter: brightness(0) invert(1);
    }

    .arrow-icon {
      position: absolute;
      right: 28px;
      width: 11px;
      height: 18px;
      filter: brightness(0) invert(1);
      opacity: 0.88;
    }

    .or {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 24px;
      margin: 20px 0 18px;
      font-size: 15px;
      font-weight: 700;
    }

    .or::before,
    .or::after {
      height: 1px;
      content: "";
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8));
    }

    .or::after {
      background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
    }

    .line-button {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 22px;
      width: 100%;
      height: 77px;
      padding: 0 64px;
      color: var(--white);
      font-size: 22px;
      font-weight: 800;
      text-decoration: none;
      border: 0;
      border-radius: 12px;
      background: linear-gradient(110deg, var(--green1), var(--green2));
      box-shadow: 0 12px 26px rgba(0, 61, 24, 0.22), inset 0 0 16px rgba(255, 255, 255, 0.16);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .line-button:hover {
      box-shadow: 0 15px 33px rgba(0, 94, 35, 0.28), inset 0 0 16px rgba(255, 255, 255, 0.22);
    }

    .line-button .line-icon {
      width: 47px;
      height: 47px;
    }

    .modal {
      position: fixed;
      inset: 0;
      z-index: 10;
      display: grid;
      align-items: center;
      justify-items: end;
      padding: 88px 90px 64px;
      visibility: hidden;
      opacity: 0;
      background: rgba(0, 8, 20, 0.14);
      transition: opacity 0.24s ease, visibility 0.24s ease;
    }

    .modal.is-open {
      visibility: visible;
      opacity: 1;
    }

    .modal-card {
      position: relative;
      width: min(612px, 100%);
      padding: 62px 66px 62px;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(245, 252, 255, 0.18), rgba(11, 40, 75, 0.46)),
        var(--panel);
      border: 1px solid rgba(225, 245, 255, 0.36);
      border-radius: 15px;
      box-shadow: 0 30px 80px rgba(0, 10, 29, 0.44), inset 0 0 52px rgba(255, 255, 255, 0.09);
      backdrop-filter: blur(16px);
      transform: translateX(24px) scale(0.98);
      transition: transform 0.24s ease;
    }

    .modal.is-open .modal-card {
      transform: translateX(0) scale(1);
    }

    .modal-card::before {
      position: absolute;
      inset: -28% -10% auto -5%;
      height: 60%;
      content: "";
      background: linear-gradient(120deg, rgba(255, 255, 255, 0.28), transparent 55%);
      transform: rotate(-9deg);
      pointer-events: none;
    }

    .modal-close {
      position: absolute;
      top: 25px;
      right: 24px;
      z-index: 1;
      width: 30px;
      height: 30px;
      padding: 0;
      color: var(--white);
      background: transparent;
      border: 0;
    }

    .modal-close::before,
    .modal-close::after {
      position: absolute;
      top: 14px;
      left: 4px;
      width: 22px;
      height: 2px;
      content: "";
      background: currentColor;
      border-radius: 99px;
    }

    .modal-close::before {
      transform: rotate(45deg);
    }

    .modal-close::after {
      transform: rotate(-45deg);
    }

    .modal-title {
      position: relative;
      margin: 0 0 13px;
      font-size: 29px;
      font-weight: 800;
      line-height: 1.3;
      text-align: center;
      text-shadow: 0 0 15px rgba(53, 181, 255, 0.32);
    }

    .modal-copy {
      position: relative;
      margin: 0 0 31px;
      color: rgba(255, 255, 255, 0.82);
      font-size: 15px;
      font-weight: 700;
      text-align: center;
    }

    .form {
      position: relative;
      display: grid;
      gap: 22px;
    }

    .field {
      display: grid;
      gap: 10px;
    }

    .field-label {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-size: 16px;
      font-weight: 800;
    }

    .field-label img {
      width: 20px;
      height: 20px;
      filter: brightness(0) invert(1);
    }

    .input-wrap {
      position: relative;
    }

    .input-wrap .inside-icon {
      position: absolute;
      top: 50%;
      left: 22px;
      width: 20px;
      height: 20px;
      opacity: 0.55;
      transform: translateY(-50%);
      filter: brightness(0) invert(1);
      pointer-events: none;
    }

    .password-toggle {
      position: absolute;
      top: 50%;
      right: 21px;
      display: grid;
      place-items: center;
      width: 23px;
      height: 23px;
      padding: 0;
      background: transparent;
      border: 0;
      opacity: 0.66;
      transform: translateY(-50%);
      transition: opacity 0.2s ease;
    }

    .password-toggle:hover {
      opacity: 1;
    }

    .password-toggle img {
      width: 23px;
      height: 20px;
      filter: brightness(0) invert(1);
    }

    .input {
      width: 100%;
      height: 60px;
      padding: 0 56px;
      color: var(--white);
      font-size: 17px;
      background: rgba(12, 34, 66, 0.38);
      border: 1px solid rgba(219, 241, 255, 0.42);
      border-radius: 9px;
      outline: none;
      box-shadow: inset 0 0 18px rgba(0, 9, 25, 0.15);
      transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .input::placeholder {
      color: rgba(255, 255, 255, 0.47);
    }

    .input:focus {
      background: rgba(12, 43, 82, 0.48);
      border-color: rgba(151, 226, 255, 0.9);
      box-shadow: 0 0 18px rgba(66, 196, 255, 0.22), inset 0 0 18px rgba(0, 9, 25, 0.14);
    }

    .submit-button {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 80px;
      margin-top: 23px;
      padding: 0 64px;
      color: var(--white);
      font-size: 22px;
      font-weight: 800;
      border: 1px solid rgba(152, 230, 255, 0.8);
      border-radius: 12px;
      background: linear-gradient(110deg, var(--blue1), #1676ff 48%, var(--blue2));
      box-shadow: 0 0 32px rgba(29, 145, 255, 0.54), inset 0 0 18px rgba(255, 255, 255, 0.2);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .submit-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 42px rgba(66, 201, 255, 0.66), inset 0 0 18px rgba(255, 255, 255, 0.24);
    }

    .login-help {
      margin: -7px 0 0;
      color: rgba(255, 255, 255, 0.78);
      font-size: 13px;
      font-weight: 700;
      text-align: right;
      text-decoration: underline;
      text-underline-offset: 4px;
    }

    @media (max-width: 1100px) {
      .page {
        padding: 24px 24px 42px;
      }

      .login-button {
        right: 24px;
      }

      .hero-content {
        margin: 0 auto;
      }

      .modal {
        justify-items: center;
        padding: 88px 24px 42px;
      }
    }

    @media (max-width: 640px) {
      body {
        background-position: 41% center;
      }

      .page {
        padding: 18px 18px 34px;
      }

      .login-button {
        top: 18px;
        right: 18px;
        min-width: 124px;
        height: 46px;
        padding: 0 17px;
        font-size: 14px;
        border-radius: 9px;
      }

      .login-button img {
        width: 18px;
        height: 18px;
      }

      .hero {
        min-height: 100vh;
        padding-top: 92px;
      }

      .brand-logo {
        margin-bottom: 34px;
      }

      .divider {
        margin-bottom: 26px;
      }

      .catch {
        margin-bottom: 22px;
      }

      .lead {
        margin-bottom: 34px;
        font-size: 15px;
      }

      .cta-button,
      .line-button {
        height: 64px;
        padding: 0 48px;
        font-size: 18px;
        border-radius: 10px;
      }

      .cta-button .button-icon {
        width: 27px;
        height: 31px;
      }

      .line-button .line-icon {
        width: 38px;
        height: 38px;
      }

      .arrow-icon {
        right: 21px;
        width: 9px;
        height: 15px;
      }

      .modal {
        align-items: start;
        padding: 82px 16px 28px;
        overflow-y: auto;
      }

      .modal-card {
        padding: 48px 22px 32px;
        border-radius: 13px;
      }

      .modal-title {
        font-size: 24px;
      }

      .modal-copy {
        font-size: 13px;
      }

      .field-label {
        font-size: 14px;
      }

      .input {
        height: 56px;
        padding-right: 50px;
        padding-left: 50px;
        font-size: 15px;
      }

      .submit-button {
        height: 66px;
        margin-top: 12px;
        padding: 0 42px;
        font-size: 18px;
      }
    }


    .result-page {
      min-height: 100vh;
      display: grid;
      place-items: center;
      align-content: center;
      gap: 34px;
      padding: 48px 20px;
      background: #021126 url("/files/a644f0d3-3f56-4ce0-b16b-bf8bfaea543e.jpg") center center / cover no-repeat fixed;
    }

    .result-page::before {
      content: "";
      position: fixed;
      inset: 0;
      background: rgba(1, 15, 36, .26);
      pointer-events: none;
    }

    .result-brand,
    .result-card {
      position: relative;
      z-index: 1;
    }

    .result-brand .brand-logo {
      width: min(360px, 72vw);
    }

    .result-card {
      width: min(600px, 100%);
      padding: 44px 46px 42px;
      text-align: center;
      color: #fff;
      border: 1px solid rgba(180, 220, 255, .55);
      border-radius: 8px;
      background: rgba(4, 28, 59, .82);
      box-shadow: 0 24px 70px rgba(0, 0, 0, .36);
      backdrop-filter: blur(12px);
    }

    .result-mark {
      display: grid;
      place-items: center;
      width: 66px;
      height: 66px;
      margin: 0 auto 20px;
      border: 2px solid #45c9ff;
      border-radius: 50%;
      color: #fff;
      background: linear-gradient(135deg, #43cfff, #1266ed);
      font-size: 32px;
      font-weight: 700;
    }

    .result-card-error .result-mark {
      border-color: #ffb28d;
      background: linear-gradient(135deg, #ff9b72, #d94558);
    }

    .result-eyebrow {
      margin: 0 0 10px;
      color: #81d8ff;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0;
    }

    .result-card-error .result-eyebrow {
      color: #ffc5aa;
    }

    .result-card h1 {
      margin: 0;
      font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
      font-size: 30px;
      letter-spacing: 0;
    }

    .result-copy {
      margin: 22px 0 30px;
      color: #e7f4ff;
      font-size: 15px;
      line-height: 2;
    }

    .result-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .result-button {
      display: grid;
      place-items: center;
      min-height: 54px;
      padding: 10px 20px;
      border: 1px solid rgba(155, 215, 255, .65);
      border-radius: 8px;
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      text-decoration: none;
    }

    .result-button-primary {
      border-color: transparent;
      background: linear-gradient(110deg, #41c9ef, #1765ec);
      box-shadow: 0 8px 24px rgba(0, 116, 255, .28);
    }

    .result-button-secondary {
      background: rgba(255, 255, 255, .08);
    }

    @media (max-width: 600px) {
      .result-page {
        gap: 24px;
        padding: 34px 16px;
      }

      .result-card {
        padding: 34px 22px 28px;
      }

      .result-card h1 {
        font-size: 23px;
      }

      .result-copy {
        font-size: 14px;
      }

      .result-actions {
        grid-template-columns: 1fr;
      }
    }
