:root {
  --navy: #061731;
  --navy-2: #082d5c;
  --blue: #1769e8;
  --cyan: #20bdc8;
  --ink: #10213e;
  --muted: #66758b;
  --canvas: #f3f7fc;
  --white: #ffffff;
  --border: #d9e4f1;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--canvas); }
body { min-height: 100vh; margin: 0; color: var(--ink); background: var(--canvas); font-family: "Noto Sans JP", "Yu Gothic", "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header { display: flex; min-height: 76px; align-items: center; justify-content: space-between; padding: 0 clamp(22px,6vw,90px); border-bottom: 1px solid rgba(217,228,241,.9); background: rgba(255,255,255,.96); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo > span { font-size: 14px; font-weight: 900; letter-spacing: .18em; }
.logo > small { color: #52647e; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.logo > i { position: relative; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(145deg,var(--cyan),#4fc7aa 48%,#e8797b 80%,#243a61); box-shadow: 0 8px 20px rgba(32,189,200,.23); }
.logo > i::after { position: absolute; top: 5px; left: 7px; width: 14px; height: 14px; border: 4px solid white; border-top-color: transparent; border-left-color: transparent; border-radius: 50%; content: ""; transform: rotate(22deg); }
nav { display: flex; align-items: center; gap: 9px; }
nav a { padding: 10px 13px; border-radius: 9px; color: #586a83; font-size: 11px; font-weight: 750; }
nav a:hover, nav a.active { color: var(--blue); background: #eaf2ff; }
main { min-height: calc(100vh - 146px); }
footer { display: flex; align-items: center; justify-content: space-between; min-height: 70px; padding: 0 clamp(22px,6vw,90px); color: #8fa2bb; background: #040f23; }
footer span { color: white; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
footer small { font-size: 8px; }

.eyebrow { margin: 0 0 12px; color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.lead { color: #d4e3f4; font-size: 15px; line-height: 1.9; }
.account-hero { display: grid; grid-template-columns: .86fr 1.14fr; gap: 65px; align-items: center; min-height: 650px; padding: 80px clamp(28px,8vw,125px); overflow: hidden; color: white; background: radial-gradient(circle at 80% 30%,rgba(32,189,200,.18),transparent 32%),linear-gradient(145deg,var(--navy),#073e77); }
.account-hero h1, .clickpon-copy h1 { margin: 0; font-size: clamp(47px,5.5vw,78px); line-height: 1.18; letter-spacing: -.055em; }
.account-hero .lead { max-width: 610px; margin: 27px 0 0; }
.entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.entry-card { position: relative; display: grid; align-content: start; min-height: 260px; padding: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 20px; background: rgba(255,255,255,.09); backdrop-filter: blur(8px); }
.entry-card.accent { background: linear-gradient(145deg,rgba(32,189,200,.22),rgba(23,105,232,.22)); }
.entry-card:hover { border-color: rgba(113,220,226,.72); transform: translateY(-2px); }
.entry-icon { display: grid; width: 53px; height: 53px; place-items: center; margin-bottom: 27px; border-radius: 15px; color: #0e5cc6; background: white; font-size: 11px; font-weight: 900; }
.entry-card small { color: #a9c2dd; font-size: 8px; font-weight: 800; }
.entry-card strong { margin-top: 6px; font-size: 18px; }
.entry-card p { margin: 11px 0 0; color: #c4d6e9; font-size: 10px; line-height: 1.8; }
.entry-card b { position: absolute; right: 25px; bottom: 22px; color: #70d9e0; }

.page-shell { padding: 48px clamp(22px,7vw,110px) 90px; }
.preview-notice { display: flex; align-items: center; gap: 14px; max-width: 1180px; margin: 0 auto 40px; padding: 12px 16px; border: 1px solid #f0d59b; border-radius: 11px; color: #73540d; background: #fff8e8; font-size: 10px; }
.preview-notice strong { padding: 5px 8px; border-radius: 6px; color: white; background: #b88008; white-space: nowrap; }
.page-heading { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.page-heading h1 { margin: 0; font-size: clamp(38px,5vw,58px); letter-spacing: -.045em; }
.page-heading > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.8; }
.portal-layout { display: grid; grid-template-columns: 1fr .86fr; gap: 18px; max-width: 980px; margin: 0 auto; }
.login-panel, .info-panel, .launch-panel { padding: 32px; border: 1px solid var(--border); border-radius: 20px; background: white; box-shadow: 0 15px 42px rgba(22,53,96,.08); }
.panel-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }
.round-icon, .app-mark { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: white; background: linear-gradient(135deg,var(--cyan),var(--blue)); font-size: 10px; font-weight: 900; }
.panel-heading small, .launch-panel > small { color: #8391a5; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.panel-heading h2, .info-panel h2, .launch-panel h2 { margin: 3px 0 0; font-size: 20px; }
label { display: block; margin-top: 16px; color: #42536d; font-size: 10px; font-weight: 800; }
input { width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid #ccd9e8; border-radius: 9px; color: var(--ink); background: #fbfdff; font-size: 13px; }
input:focus { border-color: var(--blue); outline: 3px solid rgba(23,105,232,.12); }
.button, .launch-button { width: 100%; min-height: 48px; margin-top: 22px; border: 0; border-radius: 10px; color: #8090a6; background: #e5ebf2; font-size: 11px; font-weight: 800; cursor: not-allowed; }
.text-link { display: block; margin-top: 18px; color: var(--blue); font-size: 9px; text-align: center; }
.info-panel { background: linear-gradient(145deg,#f7fbff,#eef7ff); }
.step-number { color: var(--blue); font-size: 9px; font-weight: 900; }
.info-panel p { color: var(--muted); font-size: 11px; line-height: 1.85; }
.info-panel ul { display: grid; gap: 10px; margin: 22px 0; padding: 0; list-style: none; }
.info-panel li { color: #4d5f77; font-size: 10px; }
.info-panel li::before { margin-right: 8px; color: var(--cyan); content: "✓"; font-weight: 900; }
.secondary-button { width: 100%; min-height: 44px; border: 1px solid #c7d5e6; border-radius: 9px; color: #8a98aa; background: white; font-size: 10px; font-weight: 800; }

.clickpon-shell { display: grid; grid-template-columns: 1.15fr minmax(360px,.72fr); gap: 70px; align-items: center; min-height: 680px; padding: 48px clamp(28px,8vw,125px) 80px; color: white; background: radial-gradient(circle at 15% 15%,rgba(32,189,200,.16),transparent 28%),linear-gradient(145deg,var(--navy),#073f76); }
.clickpon-shell .preview-notice { grid-column: 1 / -1; width: 100%; margin-bottom: -20px; }
.clickpon-copy h1 { font-size: clamp(44px,5vw,72px); }
.clickpon-copy .lead { max-width: 690px; margin: 26px 0 0; }
.tool-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 32px; }
.tool-row > span { display: flex; min-height: 45px; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.19); border-radius: 24px; color: #d0dff0; background: rgba(255,255,255,.07); font-size: 9px; font-weight: 800; }
.tool-row > span.main-tool { border-color: rgba(32,189,200,.72); color: white; background: rgba(32,189,200,.14); }
.tool-row i { display: grid; min-width: 31px; height: 31px; place-items: center; padding: 0 5px; border-radius: 50%; color: #0a4d89; background: #dceafa; font-size: 7px; font-style: normal; font-weight: 900; }
.tool-row .main-tool i { color: white; background: linear-gradient(135deg,var(--cyan),var(--blue)); }
.launch-panel { color: var(--ink); }
.app-mark { width: 66px; height: 66px; margin-bottom: 18px; border-radius: 18px; font-size: 14px; }
.launch-button { display: flex; align-items: center; justify-content: center; gap: 9px; }
.launch-note { margin: 15px 0 0; color: #8795a8; font-size: 8px; text-align: center; }
.not-found { display: grid; min-height: 560px; place-content: center; justify-items: center; text-align: center; }
.not-found > strong { color: var(--blue); font-size: 60px; }
.button-link { margin-top: 18px; padding: 12px 20px; border-radius: 9px; color: white; background: var(--blue); font-size: 11px; font-weight: 800; }

@media (max-width: 940px) {
  .account-hero, .clickpon-shell { grid-template-columns: 1fr; }
  .account-hero { gap: 46px; }
  .portal-layout { grid-template-columns: 1fr; }
  .clickpon-shell { gap: 42px; }
  .launch-panel { max-width: 560px; }
}

@media (max-width: 640px) {
  .site-header { min-height: 68px; padding: 0 15px; }
  .logo > small, nav a:first-child { display: none; }
  nav { gap: 2px; }
  nav a { padding: 8px; font-size: 9px; }
  .account-hero, .clickpon-shell { padding: 60px 20px; }
  .account-hero h1, .clickpon-copy h1 { font-size: 44px; }
  .entry-grid { grid-template-columns: 1fr; }
  .entry-card { min-height: 220px; }
  .page-shell { padding: 32px 18px 65px; }
  .preview-notice { align-items: flex-start; flex-direction: column; }
  .login-panel, .info-panel, .launch-panel { padding: 24px; }
  footer { flex-direction: column; justify-content: center; gap: 8px; }
}
