    :root{
      /* white base */
      --bg:#f7fafc;
      --card:#ffffff;
      --border:#e5e7eb;
      --text:#0f172a;      /* slate-900 */
      --muted:#64748b;     /* slate-500 */

      /* tropical sea */
      --sea1:#22d3ee;      /* cyan-400 */
      --sea2:#2dd4bf;      /* teal-400 */
      --sea3:#3b82f6;      /* blue-500 */

      --shadow: 0 18px 45px rgba(15, 23, 42, .12);
      --radius: 18px;
      --focus: 0 0 0 4px rgba(34, 211, 238, .25);
    }

    *{ box-sizing: border-box; }
    html, body{ height: 100%; }
    body{
      margin: 0;
      font-family: 'Noto Sans JP', ui-sans-serif, system-ui, -apple-system, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, "Noto Sans JP", "Hiragino Sans", "Meiryo", sans-serif;
      color: var(--text);
      background:
        radial-gradient(1200px 700px at 10% 10%, rgba(34,211,238,.22), transparent 55%),
        radial-gradient(1100px 650px at 90% 25%, rgba(45,212,191,.18), transparent 60%),
        radial-gradient(900px 600px at 70% 100%, rgba(59,130,246,.14), transparent 60%),
        linear-gradient(180deg, #ffffff, var(--bg));
      display: grid;
      place-items: center;
      padding: 24px;
      font-size: 14pt;
    }

    .wrap{
      width: 100%;
      max-width: 1200px;          /* ← 980px から拡張（好みで 1280px 等もOK） */
      display: grid;
      grid-template-columns: 1fr; /* ← 2カラムをやめて縦並び */
      gap: 22px;
      align-items: stretch;
    }

    /* Login Form の card の下に余白を作る（最後のカードだけ） */
    .wrap > .card:last-of-type{
      margin-bottom: 48px;     /* 好みで 32〜80px */
    }

    .hero{
      padding: 34px 30px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background:
        linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.65)),
        radial-gradient(900px 260px at 15% 15%, rgba(34,211,238,.28), transparent 60%),
        radial-gradient(900px 260px at 75% 40%, rgba(45,212,191,.22), transparent 60%),
        radial-gradient(900px 260px at 55% 90%, rgba(59,130,246,.18), transparent 60%);
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
    }

    .brand{
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
    }
    .logo{
      width: 100px;
      height: 100px;
      border-radius: 12px;

      background-image: url("logo.png");
      background-size: cover;       /* 全体を埋める */
      background-position: center;
      background-repeat: no-repeat;

      box-shadow: 0 12px 24px rgba(34,211,238,.18);
    }
    .brand h1{
      font-size: 22pt;
      margin: 0;
      letter-spacing: .02em;
    }

    .hero h2{
      font-size: clamp(28pt, 3vw, 42pt);
      margin: 40px 0 40px;
      line-height: 1.25;
    }
    .hero p{
      margin: 0;
      color: var(--muted);
      line-height: 1.7;
      max-width: 48ch;
    }

    .bullets{
      margin-top: 22px;
      padding-left: 0;
      list-style: none;
      display: grid;
      gap: 10px;
    }
    .bullets li{
      display: flex;
      gap: 10px;
      align-items: flex-start;
      color: rgba(15,23,42,.9);
    }
    .dot{
      margin-top: 7px;
      width: 10px; height: 10px;
      border-radius: 999px;
      background: rgba(34,211,238,.95);
      box-shadow: 0 0 0 4px rgba(34,211,238,.16);
      flex: 0 0 auto;
    }

    .card{
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--card);
      box-shadow: var(--shadow);
      padding: 28px 26px;
      display: grid;
      gap: 14px;
      /* min-height: 100%; */
      min-height: auto;
    }

    .card h3{
      margin: 0;
      font-size: 20px;
      letter-spacing: .02em;
    }
    .sub{
      margin: 0 0 4px;
      color: var(--muted);
      line-height: 1.6;
    }

    form{
      display: grid;
      gap: 12px;
      margin-top: 8px;
      max-width: 720px;
      width: min(720px, 100%);
      margin-inline: auto;
    }

    label{
      display: grid;
      gap: 7px;
      color: rgba(15,23,42,.9);
    }

    .input{
      width: 100%;
      padding: 12px 12px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: #fbfdff;
      color: var(--text);
      outline: none;
      transition: box-shadow .2s, border-color .2s;
      font: inherit;      /* font-family / font-size / font-weight まとめて継承 */
    }
    .input::placeholder{ color: rgba(100,116,139,.7); }
    .input:focus{
      border-color: rgba(34,211,238,.9);
      box-shadow: var(--focus);
    }

    /* Password field with eye button */
    .password-wrap{
      position: relative;
    }
    .password-wrap .input{
      padding-right: 44px; /* space for icon button */
    }
    .pw-toggle{
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      width: 34px;
      height: 34px;
      border-radius: 10px;
      border: 1px solid transparent;
      background: transparent;
      display: grid;
      place-items: center;
      cursor: pointer;
      color: rgba(15,23,42,.72);
      transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
    }
    .pw-toggle:hover{
      background: rgba(34,211,238,.10);
      border-color: rgba(34,211,238,.35);
      color: rgba(15,23,42,.9);
    }
    .pw-toggle:focus-visible{
      outline: none;
      box-shadow: var(--focus);
      border-color: rgba(34,211,238,.55);
    }
    .pw-toggle svg{
      width: 18px;
      height: 18px;
      display: block;
    }

    .row{
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 2px;
    }

    .right-link{
      display: flex;
      justify-content: flex-end;
      margin-top: 6px; /* 任意：上に少し余白 */
    }

    .check{
      display:flex;
      align-items:flex-start;
      gap:10px;
      padding: 10px 12px;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: #fbfdff;
    }

    .check input{
      margin-top: 4px;          /* 文字の1行目と揃える */
      width: 16px;
      height: 16px;
      accent-color: var(--sea1);
    }

    .link{
      color: rgba(2,132,199,.95);
      text-decoration: none;
    }
    .link:hover{ text-decoration: underline; }

    .btn{
      width: 100%;
      padding: 12px 14px;
      border-radius: 12px;
      border: none;
      /* background: linear-gradient(135deg, var(--sea1), var(--sea2), var(--sea3)); */
      background: var(--sea1);
      color: #05202a;
      font-weight: 800;
      letter-spacing: .02em;
      cursor: pointer;
      box-shadow: 0 14px 28px rgba(34,211,238,.18);
      transition: transform .06s, filter .2s, box-shadow .2s;
      font-size: 18px;
    }
    .btn:hover{ filter: brightness(1.02); }
    .btn:active{ transform: translateY(1px); }

    .error{
      display: block;
      padding: 10px 12px;
      color: #E11D48;
      font-size: 20px;
      line-height: 1.5;
      font-weight: bold;
    }

    .error-message {
      color: #E11D48;
      font-weight: bold;
    }

    .field {
        margin-top: 22px;
    }

    /* required な入力を含む .field のラベルだけ強調 */
    .field:has(:required) .field_label{
      padding-left: .5em;
      border-left: 5px solid #E11D48;
    }

    .field:not(:has(:required)) .field_label{
      padding-left: .5em;
      border-left: 5px solid #16A34A;
    }

    form h3{
      margin: 18px 0 12px;   /* 上下の余白 */
      padding: 10px 12px;    /* 背景内の余白 */
      background: #F3F4F6;   /* 薄いグレー */
      border-radius: 12px;
    }

    .total{
      text-align: right;
      margin-top: 10px;
      padding: 12px 14px;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: #fbfdff;
    }

    .total strong{
      font-size: 22px;
      letter-spacing: .01em;
    }

    #total_price{
      font-variant-numeric: tabular-nums; /* 桁数変化でも揃って見える */
    }

    @media (max-width: 880px) {
      .brand{
        display: flex;
        align-items: center;
        gap: 10px;          /* ロゴと文字の間隔 */
      }

      .brand h1{
        margin: 0;
        line-height: 1.1;
        font-size: 14pt;
        letter-spacing: .02em;
      }

      .logo{
        flex: 0 0 auto;     /* ロゴが潰れない */
      }
    }
/* ==========================
   Registration fee table
   (the table right after .hero h4)
   ========================== */

.hero h4{
  margin: 18px 0 10px;
  font-size: 24px;
  letter-spacing: .01em;
  font-weight: bold;
}

/* scope to only: h4 + table */
.hero h4 + table{
  width: 100%;
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;

  background: rgba(255, 255, 255, .72);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);

  font-size: 18px;
  line-height: 1.35;
}

/* cell basics */
.hero h4 + table th,
.hero h4 + table td{
  padding: 10px 10px;
  /* border-bottom: 1px solid rgba(229, 231, 235, .9);
  border-right: 1px solid rgba(229, 231, 235, .7); */
  vertical-align: middle;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
}

/* remove last borders */
.hero h4 + table tr > *:last-child{ border-right: none; }
.hero h4 + table tbody tr:last-child > *{ border-bottom: none; }

/* header */
.hero h4 + table thead th,
.hero h4 + table thead td{
  text-align: center;
  font-weight: 800;
  color: rgba(15, 23, 42, .92);
  background: rgba(248, 250, 252, .75);
}

/* group header colors */
.hero h4 + table thead .onsite{
  background: rgba(34, 211, 238, .16);   /* ターコイズ系の薄塗り */
}
.hero h4 + table thead .virtual{
  background: rgba(59, 130, 246, .08);   /* ブルー系の薄塗り */
}

/* first column (row labels) */
.hero h4 + table tbody th{
  text-align: left;
  font-weight: 700;
  color: rgba(15, 23, 42, .9);
  background: rgba(248, 250, 252, .55);
}

/* zebra + hover */
/* .hero h4 + table tbody tr:nth-child(even) td,
.hero h4 + table tbody tr:nth-child(even) th{
  background: rgba(247, 250, 252, .65);
} */
.hero h4 + table tbody tr:hover td,
.hero h4 + table tbody tr:hover th{
  background: rgba(34, 211, 238, .08);
}

/* price cells */
.hero h4 + table td.onsite_price,
.hero h4 + table td.virtual_price{
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
}

.hero h4 + table td.onsite_price{
  background: rgba(34, 211, 238, .08);
}
.hero h4 + table td.virtual_price{
  background: rgba(59, 130, 246, .08);
}

/* "non" cells (empty cells) */
.hero h4 + table .non{
  background: transparent;
  color: transparent;   /* もし文字が入っていても見せない */
  /* color: rgba(100, 116, 139, .85);
  background: rgba(100, 116, 139, .06);
  text-align: center; */
}
/* .hero h4 + table td.non:empty::before{
  content: "—";
} */
/* non が横に連続している場合：左側の non の右ボーダーだけ消す */
.hero h4 + table td.non:has(+ td.non){
  border-right: none !important;
}

/* mobile: allow horizontal scroll rather than crushing columns */
@media (max-width: 720px){
  .hero h4 + table{
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .hero h4 + table th,
  .hero h4 + table td{
    min-width: 130px; /* keep each price column readable */
  }
  .hero h4 + table tbody th{
    min-width: 180px; /* row label column */
  }
}


/* ==========================
   Quick Actions (icon + big button)
   ========================== */
.qa-big-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.qa-big{
  display: grid;
  grid-template-columns: 44px 1fr 18px;
  align-items: center;
  gap: 12px;

  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72)),
    radial-gradient(520px 140px at 10% 20%, rgba(34,211,238,.14), transparent 60%),
    radial-gradient(520px 140px at 70% 80%, rgba(45,212,191,.10), transparent 60%);
  box-shadow: 0 12px 26px rgba(15,23,42,.08);

  text-decoration: none;
  color: var(--text);
  transition: transform .06s, box-shadow .2s, border-color .2s, filter .2s;
}

.qa-big:hover{
  border-color: rgba(34,211,238,.45);
  box-shadow: 0 16px 34px rgba(15,23,42,.10);
}

.qa-big:active{ transform: translateY(1px); }

.qa-big:focus-visible{
  outline: none;
  box-shadow: var(--focus);
  border-color: rgba(34,211,238,.55);
}

.qa-ico{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(34,211,238,.12);
  color: rgba(15,23,42,.9);
}

.qa-ico svg{
  width: 22px;
  height: 22px;
  display: block;
}

.qa-txt{ min-width: 0; }
.qa-title{
  display: block;
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 16px;
  line-height: 1.2;
}
.qa-note{
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qa-arrow{
  color: rgba(100,116,139,.9);
  font-size: 20px;
  text-align: right;
}

/* button version */
.qa-btn{
  appearance: none;
  text-align: left;
  cursor: pointer;
}

/* disabled */
.qa-disabled{
  opacity: .55;
  pointer-events: none;
  filter: saturate(.85);
}

/* mobile */
@media (max-width: 880px){
  .qa-big-grid{ grid-template-columns: 1fr; }
  .qa-big{ padding: 14px 12px; }
}

.sec-head h3{
  margin: 0 0 12px;
  font-size: 16pt;
  letter-spacing: .02em;
}

.kv-grid{
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

.kv{
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(148,163,184,.22);
}

.kv dt{
  font-size: 12pt;       /* ←ここを上げる */
  color: var(--muted);
  margin: 0 0 6px;
  letter-spacing: .01em;
}

.kv dd{
  margin: 0;
  font-size: 14pt;       /* ←ここを上げる */
  color: var(--text);
  line-height: 1.45;     /* ←読みやすく */
  word-break: break-word;
}

.kv-span{
  grid-column: 1 / -1;
}

.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13pt;       /* ←少し大きく */
  padding: 3px 8px;
  border-radius: 10px;
  background: rgba(2,132,199,.08);
  border: 1px solid rgba(2,132,199,.18);
}

.sep{ color: var(--muted); padding: 0 6px; }

/* mobile */
@media (max-width: 880px){
  .kv-grid{ grid-template-columns: 1fr; }
  .kv-span{ grid-column: auto; }
  .kv dd{ font-size: 13.5pt; } /* スマホは少しだけ抑える */
}

.sec-title{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.sec-ico{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;

  /* 既存テーマに馴染む淡いアクセント */
  background: rgba(34,211,238,.12);
  border: 1px solid rgba(34,211,238,.18);
  color: rgba(15,23,42,.9);
}

.sec-ico svg{
  width: 18px;
  height: 18px;
  display: block;
}