/* ════════════════════════════════════════════════
   売却の窓口 加盟店ポータル — main.css
   Design tokens + global components
════════════════════════════════════════════════ */

:root {
  --sky:       #3fb8ec;
  --sky-h:     #25a9e0;
  --sky-d:     #1a8fc0;
  --sky-5:     #f0faff;
  --sky-10:    #e1f5fd;
  --sky-20:    #bde9fb;
  --sky-30:    #86d5f6;

  --white:  #ffffff;
  --gray-0: #f8fafb;
  --gray-1: #f2f5f8;
  --gray-2: #e8edf3;
  --gray-3: #d0d9e4;
  --gray-4: #a8b7c8;
  --gray-5: #6a829a;
  --gray-7: #344a62;
  --gray-9: #0f2236;

  --amber:   #f59e0b;
  --amber-d: #d97706;
  --green:   #10b981;
  --red:     #ef4444;
  --line:    #06c755;

  --r2: 3px;
  --r3: 5px;
  --r4: 6px;
  --r5: 7px;
  --r6: 8px;
  --r8: 8px;

  --s1: 0 1px 3px rgba(15,34,54,.06);
  --s2: 0 2px 10px rgba(15,34,54,.07);
  --s3: 0 6px 28px rgba(15,34,54,.09);
  --s4: 0 16px 48px rgba(15,34,54,.11);
  --sky-glow: 0 6px 24px rgba(63,184,236,.22);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--white);
  color: var(--gray-9);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Utility ── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ── Pill badges ── */
.pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; padding: 3px 9px;
  border-radius: 20px; letter-spacing: .03em;
}
.pill-sky   { background: var(--sky-10); color: var(--sky-d); }
.pill-amber { background: #fef9ee; color: #b45309; }
.pill-red   { background: #fff0f0; color: #b91c1c; }
.pill-green { background: #f0fdf8; color: #047857; }
.pill-gray  { background: var(--gray-1); color: var(--gray-5); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 22px; border-radius: var(--r6);
  font-size: 13px; font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer; border: none;
  transition: all .17s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-sky     { background: var(--sky); color: white; box-shadow: var(--sky-glow); }
.btn-sky:hover { background: var(--sky-h); transform: translateY(-1px); }
.btn-sky-ghost { background: white; color: var(--sky-d); border: 1.5px solid var(--sky); }
.btn-sky-ghost:hover { background: var(--sky-5); }
.btn-amber   { background: var(--amber); color: white; box-shadow: 0 6px 20px rgba(245,158,11,.25); }
.btn-amber:hover { background: var(--amber-d); transform: translateY(-1px); }
.btn-outline { background: white; color: var(--gray-7); border: 1.5px solid var(--gray-3); }
.btn-outline:hover { border-color: var(--sky); color: var(--sky-d); }
.btn-lg { padding: 15px 32px; font-size: 14px; border-radius: var(--r8); }
.btn-sm { padding: 7px 14px; font-size: 11.5px; border-radius: var(--r3); }

/* ── Section labels ── */
.sec-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  color: var(--sky-d); text-transform: uppercase;
  margin-bottom: 8px; font-family: 'Plus Jakarta Sans', sans-serif;
}
.sec-h2 {
  font-size: clamp(22px, 2.8vw, 34px); font-weight: 900;
  color: var(--gray-9); line-height: 1.25;
  letter-spacing: -.02em; font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ════════════════════════════════════════════════
   LP — HERO
════════════════════════════════════════════════ */
.lp-hero {
  background: white;
  padding: 0 0 80px;
  position: relative; overflow: hidden;
}
.lp-hero::before {
  content: '';
  position: absolute; right: -120px; top: -120px;
  width: 680px; height: 680px;
  background: radial-gradient(circle, var(--sky-5) 0%, transparent 65%);
  pointer-events: none;
}
.lp-hero-nav {
  max-width: 1120px; margin: 0 auto; padding: 24px 28px 0;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 3;
}
.lp-hero-in {
  max-width: 1120px; margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 1fr 460px; gap: 60px; align-items: center;
  position: relative; z-index: 2;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--sky-5); border: 1px solid var(--sky-20);
  border-radius: 20px; padding: 5px 14px 5px 8px;
  margin-bottom: 22px;
}
.hero-eyebrow-dot {
  width: 20px; height: 20px; border-radius: 50%; background: var(--sky);
  display: flex; align-items: center; justify-content: center;
}
.hero-eyebrow span {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  color: var(--sky-d); text-transform: uppercase;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.lp-hero h1 {
  font-size: clamp(28px, 3.5vw, 46px); font-weight: 900;
  color: var(--gray-9); line-height: 1.2;
  margin-bottom: 20px; letter-spacing: -.025em;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.lp-hero h1 em { font-style: normal; color: var(--sky-d); }
.hero-lead { font-size: 14.5px; color: var(--gray-5); line-height: 1.9; margin-bottom: 36px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero-note { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--gray-4); }

/* Hero dashboard card */
.hero-card {
  background: white; border: 1px solid var(--gray-2);
  border-radius: 8px; box-shadow: var(--s4); overflow: hidden;
}
.hc-header {
  background: linear-gradient(120deg, var(--sky-d), var(--sky));
  padding: 18px 20px; display: flex; align-items: center; justify-content: space-between;
}
.hc-header-txt { font-size: 13px; font-weight: 700; color: white; font-family: 'Plus Jakarta Sans', sans-serif; }
.hc-dots { display: flex; gap: 5px; }
.hc-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); }
.hc-body { padding: 16px 20px; }
.hc-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-radius: 5px; margin-bottom: 6px; background: var(--gray-0);
}
.hc-label { font-size: 12px; color: var(--gray-5); }
.hc-val { font-size: 13px; font-weight: 700; color: var(--gray-9); font-family: 'Plus Jakarta Sans', sans-serif; display: flex; align-items: center; gap: 6px; }
.hc-val .up { font-size: 10px; color: var(--green); background: #f0fdf4; border-radius: 4px; padding: 1px 6px; }
.hc-bars { padding: 14px 0 2px; }
.hc-bar-row { margin-bottom: 10px; }
.hc-bar-lbl { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--gray-4); margin-bottom: 5px; }
.hc-bar-bg { height: 5px; background: var(--gray-2); border-radius: 10px; overflow: hidden; }
.hc-bar-fill { height: 100%; border-radius: 10px; }
.hc-bar-fill.a { background: linear-gradient(90deg, var(--sky-d), var(--sky)); width: 78%; }
.hc-bar-fill.b { background: linear-gradient(90deg, #d97706, #f59e0b); width: 61%; }
.hc-bar-fill.c { background: linear-gradient(90deg, #059669, #10b981); width: 44%; }
.hc-badge {
  position: absolute; bottom: -14px; right: -14px;
  background: var(--sky); color: white; border-radius: 8px;
  padding: 12px 16px; text-align: center; box-shadow: var(--sky-glow);
}
.hc-badge-num { font-size: 26px; font-weight: 800; line-height: 1; font-family: 'Plus Jakarta Sans', sans-serif; }
.hc-badge-lab { font-size: 10px; margin-top: 2px; opacity: .85; }

/* ── Stats ── */
.lp-stats { background: var(--sky-5); border-top: 1px solid var(--sky-10); border-bottom: 1px solid var(--sky-10); }
.lp-stats-in { max-width: 1120px; margin: 0 auto; padding: 0 28px; display: flex; }
.stat { flex: 1; padding: 30px 20px; text-align: center; border-right: 1px solid var(--sky-20); }
.stat:last-child { border-right: none; }
.stat-n { font-size: 36px; font-weight: 800; color: var(--sky-d); line-height: 1; margin-bottom: 5px; font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -.02em; }
.stat-n sup { font-size: 17px; }
.stat-l { font-size: 12px; color: var(--gray-5); }

/* ── Features ── */
.lp-features { padding: 88px 0; background: white; }
.features-hd { margin-bottom: 48px; }
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feat-card {
  background: var(--gray-0); border: 1px solid var(--gray-2);
  border-radius: 8px; padding: 26px; transition: all .2s;
}
.feat-card:hover { background: white; box-shadow: var(--s3); border-color: var(--sky-20); transform: translateY(-3px); }
.feat-ico { width: 46px; height: 46px; border-radius: 8px; background: var(--sky-5); border: 1px solid var(--sky-10); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.feat-card h3 { font-size: 14px; font-weight: 700; color: var(--gray-9); margin-bottom: 7px; }
.feat-card p { font-size: 12.5px; color: var(--gray-5); line-height: 1.8; }

/* ── Seminar cards (LP + portal) ── */
.sem-card { background: white; border: 1px solid var(--gray-2); border-radius: 8px; overflow: hidden; transition: all .2s; }
.sem-card:hover { box-shadow: var(--s3); border-color: var(--sky-30); transform: translateY(-3px); }
.sem-thumb { height: 150px; background: var(--sky-5); display: flex; align-items: center; justify-content: center; font-size: 48px; position: relative; overflow: hidden; }
.sem-thumb-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 80px; opacity: .08; }
.sem-tag { position: absolute; top: 10px; left: 10px; font-size: 9.5px; font-weight: 700; padding: 3px 9px; border-radius: 20px; letter-spacing: .04em; }
.sem-tag.online  { background: var(--sky); color: white; }
.sem-tag.offline { background: var(--gray-9); color: white; }
.sem-tag.ended   { background: var(--gray-4); color: white; }
.sem-body { padding: 16px 18px 20px; }
.sem-date { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--sky-d); margin-bottom: 8px; font-family: 'Plus Jakarta Sans', sans-serif; }
.sem-title { font-size: 13px; font-weight: 700; color: var(--gray-9); line-height: 1.5; margin-bottom: 8px; }
.sem-desc { font-size: 12px; color: var(--gray-5); line-height: 1.7; margin-bottom: 14px; }
.sem-btn { width: 100%; padding: 9px 0; background: var(--sky-5); color: var(--sky-d); border: 1.5px solid var(--sky-20); border-radius: 5px; font-size: 12px; font-weight: 700; cursor: pointer; transition: all .15s; font-family: 'Noto Sans JP', sans-serif; }
.sem-btn:hover { background: var(--sky); color: white; border-color: var(--sky); }
.sem-btn.ended-btn { background: var(--gray-1); color: var(--gray-4); border-color: var(--gray-2); cursor: not-allowed; }

/* ── CTA ── */
.lp-cta { padding: 88px 0; background: linear-gradient(160deg, var(--sky-5) 0%, white 60%); border-top: 1px solid var(--sky-10); }
.cta-box { background: white; border: 1px solid var(--sky-20); border-radius: 8px; box-shadow: var(--s3); padding: 52px 48px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-txt h2 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 900; color: var(--gray-9); margin-bottom: 10px; line-height: 1.3; font-family: 'Plus Jakarta Sans', sans-serif; }
.cta-txt p { font-size: 13px; color: var(--gray-5); line-height: 1.9; }
.cta-acts { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; min-width: 220px; }

/* ── Footer ── */
.lp-footer { background: var(--gray-9); padding: 32px 28px; text-align: center; }
.lp-footer p { font-size: 11.5px; color: rgba(255,255,255,.2); }
.lp-footer a { color: rgba(255,255,255,.35); }
.lp-footer a:hover { color: rgba(255,255,255,.7); }

/* ════════════════════════════════════════════════
   BRAND IDENTITY
════════════════════════════════════════════════ */
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, var(--sky-d), var(--sky)); display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(63,184,236,.28); }
.brand-mark svg { width: 18px; height: 18px; fill: white; }
.brand-txt { line-height: 1.2; }
.brand-nm { font-size: 14px; font-weight: 900; color: var(--gray-9); font-family: 'Plus Jakarta Sans', sans-serif; }
.brand-sub { font-size: 10px; color: var(--gray-4); letter-spacing: .06em; }

/* ════════════════════════════════════════════════
   LOGIN PAGE
════════════════════════════════════════════════ */
.login-page { background: var(--gray-0); min-height: 100vh; display: flex; flex-direction: column; }
.login-hd { background: white; border-bottom: 1px solid var(--gray-2); padding: 0 28px; height: 62px; display: flex; align-items: center; }
.login-body { flex: 1; display: grid; grid-template-columns: 1fr 480px; }
.login-left { background: linear-gradient(150deg, var(--sky-d) 0%, var(--sky) 100%); padding: 60px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; overflow: hidden; }
.login-left::before { content: ''; position: absolute; right: -80px; bottom: -80px; width: 400px; height: 400px; background: rgba(255,255,255,.06); border-radius: 50%; }
.login-left-in { position: relative; z-index: 2; max-width: 380px; }
.login-left h2 { font-size: 26px; font-weight: 900; color: white; line-height: 1.3; margin-bottom: 12px; font-family: 'Plus Jakarta Sans', sans-serif; }
.login-left p { font-size: 13px; color: rgba(255,255,255,.8); line-height: 1.8; margin-bottom: 32px; }
.login-feats { display: flex; flex-direction: column; gap: 14px; }
.login-feat { display: flex; gap: 12px; align-items: flex-start; }
.login-feat-ico { width: 30px; height: 30px; border-radius: 6px; background: rgba(255,255,255,.18); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.login-feat h4 { font-size: 12.5px; font-weight: 700; color: white; margin-bottom: 2px; }
.login-feat p { font-size: 11.5px; color: rgba(255,255,255,.6); line-height: 1.5; }
.login-right { background: white; border-left: 1px solid var(--gray-2); display: flex; align-items: center; justify-content: center; padding: 60px 50px; }
.login-form-wrap { width: 100%; max-width: 340px; }
.login-form-wrap h3 { font-size: 21px; font-weight: 900; color: var(--gray-9); margin-bottom: 5px; font-family: 'Plus Jakarta Sans', sans-serif; }
.login-form-wrap .sub { font-size: 12.5px; color: var(--gray-4); margin-bottom: 32px; }
.fg { margin-bottom: 16px; }
.flabel { display: block; font-size: 11.5px; font-weight: 700; color: var(--gray-7); margin-bottom: 6px; letter-spacing: .04em; }
.finput { width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid var(--gray-3); border-radius: 8px; font-size: 13.5px; font-family: 'Noto Sans JP', sans-serif; color: var(--gray-9); background: white; outline: none; transition: border-color .14s, box-shadow .14s; }
.finput:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(63,184,236,.1); }
.finput::placeholder { color: var(--gray-4); font-size: 12.5px; }
.frow { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.fcheck { display: flex; align-items: center; gap: 7px; cursor: pointer; font-size: 12px; color: var(--gray-5); }
.fcheck input { accent-color: var(--sky); }
.fforgot { font-size: 12px; color: var(--sky-d); cursor: pointer; }
.fforgot:hover { text-decoration: underline; }
.fsubmit { width: 100%; height: 50px; background: var(--sky); color: white; border: none; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .17s; box-shadow: var(--sky-glow); font-family: 'Noto Sans JP', sans-serif; }
.fsubmit:hover { background: var(--sky-h); }
.flink { margin-top: 20px; text-align: center; font-size: 12px; color: var(--gray-4); }
.flink a { color: var(--sky-d); font-weight: 700; }
.fdivider { height: 1px; background: var(--gray-2); margin: 24px 0; }
.fcontact { text-align: center; }
.fcontact p { font-size: 12px; color: var(--gray-5); margin-bottom: 4px; }
.fcontact .ftel { font-size: 18px; font-weight: 800; color: var(--gray-9); font-family: 'Plus Jakarta Sans', sans-serif; }
.fcontact .fhours { font-size: 11px; color: var(--gray-4); }

/* ════════════════════════════════════════════════
   PORTAL LAYOUT
════════════════════════════════════════════════ */
.portal { display: flex; min-height: 100vh; }

/* ── Sidebar ── */
.sb { width: 240px; flex-shrink: 0; background: var(--gray-9); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sb::-webkit-scrollbar { width: 3px; }
.sb::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 3px; }
.sb-hd { padding: 20px 18px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.sb-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.sb-brand-mark { width: 30px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, var(--sky-d), var(--sky)); display: flex; align-items: center; justify-content: center; }
.sb-brand-mark svg { width: 15px; height: 15px; fill: white; }
.sb-brand-nm { font-size: 13px; font-weight: 700; color: white; }
.sb-brand-sub { font-size: 10px; color: rgba(255,255,255,.3); }
.sb-user { display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,.05); border-radius: 7px; padding: 9px 11px; }
.sb-av { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--sky-d), var(--sky)); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: white; flex-shrink: 0; }
.sb-uname { font-size: 11.5px; font-weight: 600; color: white; }
.sb-urole { font-size: 10px; color: rgba(255,255,255,.3); }
.sb-nav { flex: 1; padding: 10px; }
.sb-sec { font-size: 9px; font-weight: 700; letter-spacing: .14em; color: rgba(255,255,255,.2); text-transform: uppercase; padding: 10px 8px 4px; font-family: 'Plus Jakarta Sans', sans-serif; }
.ni { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 7px; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.5); cursor: pointer; transition: all .13s; margin-bottom: 1px; position: relative; }
.ni:hover { background: rgba(255,255,255,.06); color: rgba(255,255,255,.85); }
.ni.current-menu-item,
.ni.active { background: rgba(63,184,236,.14); color: var(--sky); font-weight: 700; }
.ni.current-menu-item::before,
.ni.active::before { content: ''; position: absolute; left: -1px; top: 50%; transform: translateY(-50%); width: 3px; height: 16px; background: var(--sky); border-radius: 0 2px 2px 0; }
.ni-ico { font-size: 14px; width: 18px; text-align: center; flex-shrink: 0; }
.ni-badge { margin-left: auto; background: var(--sky); color: white; font-size: 9px; font-weight: 700; width: 15px; height: 15px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.sb-ft { padding: 12px 10px; border-top: 1px solid rgba(255,255,255,.06); }
.sb-logout { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 7px; font-size: 12px; color: rgba(255,255,255,.3); cursor: pointer; background: none; border: none; transition: all .13s; font-family: 'Noto Sans JP', sans-serif; }
.sb-logout:hover { background: rgba(255,255,255,.05); color: rgba(255,255,255,.6); }

/* ── Portal main ── */
.pm { flex: 1; display: flex; flex-direction: column; min-width: 0; background: var(--gray-0); }
.pt { background: white; border-bottom: 1px solid var(--gray-2); padding: 0 28px; height: 56px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; position: sticky; top: 0; z-index: 100; }
.pt-l { display: flex; align-items: center; gap: 9px; }
.pt-back { width: 30px; height: 30px; border-radius: 6px; border: 1.5px solid var(--gray-2); background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 13px; transition: all .13s; color: var(--gray-7); }
.pt-back:hover { border-color: var(--sky); color: var(--sky-d); }
.bc { display: flex; align-items: center; gap: 5px; font-size: 12.5px; }
.bc-link { color: var(--gray-4); }
.bc-link:hover { color: var(--sky-d); }
.bc-sep { color: var(--gray-3); }
.bc-cur { font-weight: 700; color: var(--gray-9); }
.pt-r { display: flex; align-items: center; gap: 8px; }
.pt-btn { width: 34px; height: 34px; border-radius: 7px; border: 1.5px solid var(--gray-2); background: white; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; position: relative; transition: all .13s; }
.pt-btn:hover { border-color: var(--sky-20); background: var(--sky-5); }
.notif-dot { position: absolute; top: -2px; right: -2px; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); border: 2px solid white; }
.pc { flex: 1; padding: 26px 28px; }

/* ── Portal cards ── */
.wb { background: white; border: 1px solid var(--gray-2); border-radius: 8px; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; position: relative; overflow: hidden; }
.wb::after { content: ''; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; background: radial-gradient(circle, var(--sky-5) 0%, transparent 70%); pointer-events: none; }
.wb-txt h2 { font-size: 17px; font-weight: 900; color: var(--gray-9); margin-bottom: 4px; }
.wb-txt p { font-size: 12.5px; color: var(--gray-5); }

.p2col { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }

.cb { background: white; border: 1px solid var(--gray-2); border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.cb-hd { padding: 16px 20px; border-bottom: 1px solid var(--gray-1); display: flex; justify-content: space-between; align-items: center; }
.cb-ttl { font-size: 13.5px; font-weight: 700; color: var(--gray-9); display: flex; align-items: center; gap: 7px; }
.cb-bar { width: 3px; height: 14px; background: var(--sky); border-radius: 2px; flex-shrink: 0; }
.cb-more { font-size: 12px; color: var(--sky-d); font-weight: 600; }
.cb-more:hover { text-decoration: underline; }

.nr { display: flex; align-items: flex-start; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--gray-0); transition: background .1s; }
.nr:last-child { border-bottom: none; }
.nr:hover { background: var(--sky-5); }
.nr-date { font-size: 11px; color: var(--gray-4); min-width: 68px; padding-top: 2px; }
.nr-cont { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.nr-t { font-size: 13px; color: var(--gray-9); line-height: 1.5; }
.nr-arr { color: var(--gray-3); font-size: 11px; align-self: center; }

/* Service grid */
.sg { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding: 16px; }
.sc { border-radius: 8px; border: 1.5px solid var(--gray-2); overflow: hidden; background: white; transition: all .18s; }
.sc:hover { border-color: var(--sky-30); box-shadow: 0 4px 20px rgba(63,184,236,.12); transform: translateY(-2px); }
.sc-thumb { height: 80px; display: flex; align-items: center; justify-content: center; font-size: 30px; position: relative; }
.sc-rtag { position: absolute; top: 7px; right: 7px; font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 20px; background: var(--amber); color: white; }
.sc-bd { padding: 10px 12px 13px; }
.sc-nm { font-size: 11.5px; font-weight: 700; color: var(--gray-9); margin-bottom: 3px; line-height: 1.35; }
.sc-desc { font-size: 10.5px; color: var(--gray-4); line-height: 1.5; margin-bottom: 9px; }
.sc-btn { width: 100%; padding: 6px 0; background: var(--gray-9); color: white; border: none; border-radius: 3px; font-size: 11px; font-weight: 700; cursor: pointer; transition: background .13s; font-family: 'Noto Sans JP', sans-serif; display: flex; align-items: center; justify-content: center; gap: 3px; }
.sc-btn:hover { background: var(--sky-d); }

/* Seminar row (portal list) */
.sem-row { display: flex; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--gray-0); transition: background .1s; align-items: flex-start; }
.sem-row:last-child { border-bottom: none; }
.sem-row:hover { background: var(--sky-5); }
.sem-row-date { background: var(--sky-5); border: 1px solid var(--sky-10); border-radius: 6px; padding: 7px 9px; text-align: center; flex-shrink: 0; min-width: 52px; }
.sem-row-date .m { font-size: 9px; font-weight: 700; color: var(--sky-d); letter-spacing: .08em; }
.sem-row-date .d { font-size: 18px; font-weight: 800; color: var(--sky-d); line-height: 1; font-family: 'Plus Jakarta Sans', sans-serif; }
.sem-row-ttl { font-size: 12.5px; font-weight: 700; color: var(--gray-9); margin-bottom: 4px; line-height: 1.45; }
.sem-row-meta { font-size: 11px; color: var(--gray-4); display: flex; gap: 10px; }

/* Right column */
.rcol { display: flex; flex-direction: column; gap: 16px; }
.pb { background: white; border: 1px solid var(--gray-2); border-radius: 8px; overflow: hidden; }
.pb-hd { padding: 13px 16px; border-bottom: 1px solid var(--gray-1); font-size: 13px; font-weight: 700; color: var(--gray-9); display: flex; align-items: center; gap: 7px; }
.pb-hd::before { content: ''; width: 3px; height: 13px; background: var(--sky); border-radius: 2px; }
.pr { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--gray-0); font-size: 12px; transition: background .1s; }
.pr:last-child { border-bottom: none; }
.pr:hover { background: var(--sky-5); }
.pr-lbl { color: var(--gray-5); }
.pr-arr { color: var(--gray-3); font-size: 10px; }

.line-card { background: linear-gradient(135deg, #05a943 0%, #06c755 100%); border-radius: 8px; padding: 18px; display: flex; gap: 12px; align-items: center; transition: all .15s; text-decoration: none; }
.line-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(6,199,85,.25); }
.line-ico { width: 40px; height: 40px; border-radius: 7px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.line-bd h4 { font-size: 13px; font-weight: 700; color: white; margin-bottom: 3px; }
.line-bd p { font-size: 11px; color: rgba(255,255,255,.75); line-height: 1.55; }
.line-qr { width: 46px; height: 46px; border-radius: 6px; background: white; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--line); flex-shrink: 0; }

.contact-bd { padding: 14px 16px; }
.contact-bd .hrs { font-size: 11px; color: var(--gray-4); margin-bottom: 10px; }
.contact-tel2 { display: flex; align-items: center; gap: 7px; padding: 10px 13px; background: var(--sky); color: white; border-radius: 7px; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; text-decoration: none; transition: background .13s; }
.contact-tel2:hover { background: var(--sky-h); }
.contact-mail2 { padding: 9px 13px; background: var(--gray-0); border: 1px solid var(--gray-2); border-radius: 7px; font-size: 11.5px; color: var(--gray-5); word-break: break-all; }

/* ── Page hero bar ── */
.page-hero { background: linear-gradient(120deg, var(--sky-d) 0%, var(--sky) 100%); border-radius: 6px; padding: 26px 28px; margin-bottom: 22px; position: relative; overflow: hidden; }
.page-hero::after { content: attr(data-bg); position: absolute; right: 28px; top: 50%; transform: translateY(-50%); font-size: 88px; font-weight: 900; color: rgba(255,255,255,.06); font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1; pointer-events: none; }
.page-hero h2 { font-size: 19px; font-weight: 900; color: white; margin-bottom: 4px; }
.page-hero p { font-size: 12.5px; color: rgba(255,255,255,.7); }

/* ── Search / filter ── */
.search-row { display: flex; gap: 9px; margin-bottom: 20px; }
.s-input { flex: 1; height: 42px; padding: 0 14px; border: 1.5px solid var(--gray-3); border-radius: 8px; font-size: 13px; font-family: 'Noto Sans JP', sans-serif; outline: none; background: white; transition: border-color .14s, box-shadow .14s; }
.s-input:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(63,184,236,.1); }
.s-go { height: 42px; padding: 0 18px; background: var(--sky); color: white; border: none; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: 'Noto Sans JP', sans-serif; }
.cat-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.cat-btn { padding: 6px 15px; border-radius: 20px; font-size: 12px; font-weight: 600; border: 1.5px solid var(--gray-3); background: white; cursor: pointer; transition: all .13s; font-family: 'Noto Sans JP', sans-serif; }
.cat-btn:hover, .cat-btn.active { background: var(--sky); color: white; border-color: var(--sky); }

/* ── FAQ ── */
.faq-group { margin-bottom: 20px; }
.faq-gh { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--sky-d); background: var(--sky-5); border-radius: 5px; padding: 9px 14px; margin-bottom: 7px; }
.faq-item { background: white; border: 1px solid var(--gray-2); border-radius: 8px; margin-bottom: 5px; overflow: hidden; }
.faq-q { display: flex; align-items: center; gap: 11px; padding: 14px 18px; cursor: pointer; transition: background .1s; }
.faq-q:hover { background: var(--sky-5); }
.faq-ico { width: 20px; height: 20px; border-radius: 50%; background: var(--sky-10); color: var(--sky-d); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 900; flex-shrink: 0; transition: all .18s; }
.faq-item.open .faq-ico { background: var(--sky); color: white; transform: rotate(45deg); }
.faq-qt { flex: 1; font-size: 13.5px; font-weight: 600; color: var(--gray-9); }
.faq-a { display: none; padding: 2px 18px 16px 49px; font-size: 12.5px; color: var(--gray-5); line-height: 1.85; }
.faq-item.open .faq-a { display: block; }

/* ── Download ── */
.dl-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.dl-card { background: white; border: 1px solid var(--gray-2); border-radius: 8px; overflow: hidden; transition: all .18s; }
.dl-card:hover { border-color: var(--sky-30); box-shadow: var(--s3); transform: translateY(-2px); }
.dl-thumb { height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; position: relative; }
.dl-ext { position: absolute; top: 9px; left: 9px; font-size: 9px; font-weight: 800; padding: 2px 7px; border-radius: 3px; text-transform: uppercase; letter-spacing: .06em; }
.ext-pdf { background: #fee2e2; color: #b91c1c; }
.ext-ppt { background: #fef3c7; color: #b45309; }
.ext-xls { background: #d1fae5; color: #065f46; }
.ext-doc { background: #dbeafe; color: #1e40af; }
.dl-ico { font-size: 38px; }
.dl-fs { font-size: 11px; color: var(--gray-4); font-family: 'Plus Jakarta Sans', sans-serif; }
.dl-bd { padding: 14px 16px 16px; }
.dl-cat { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--sky-d); margin-bottom: 4px; }
.dl-nm { font-size: 12.5px; font-weight: 700; color: var(--gray-9); line-height: 1.4; margin-bottom: 5px; }
.dl-desc { font-size: 11px; color: var(--gray-4); line-height: 1.6; margin-bottom: 10px; }
.dl-meta { font-size: 10px; color: var(--gray-4); display: flex; gap: 10px; margin-bottom: 10px; }
.dl-btn { width: 100%; padding: 8px 0; background: var(--sky); color: white; border: none; border-radius: 5px; font-size: 11.5px; font-weight: 700; cursor: pointer; transition: background .13s; font-family: 'Noto Sans JP', sans-serif; display: flex; align-items: center; justify-content: center; gap: 5px; }
.dl-btn:hover { background: var(--sky-h); }
.dl-btn.lock { background: var(--gray-1); color: var(--gray-4); cursor: not-allowed; }

/* ── Service detail ── */
.svc-hero { background: white; border: 1px solid var(--gray-2); border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 1fr 240px; margin-bottom: 22px; }
.svc-hd-body { padding: 32px; }
.svc-cat-tag { display: inline-flex; align-items: center; gap: 5px; background: var(--sky-5); color: var(--sky-d); font-size: 10.5px; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; letter-spacing: .06em; }
.svc-hd-body h2 { font-size: 24px; font-weight: 900; color: var(--gray-9); margin-bottom: 10px; line-height: 1.2; font-family: 'Plus Jakarta Sans', sans-serif; }
.svc-hd-body p { font-size: 13px; color: var(--gray-5); line-height: 1.85; margin-bottom: 22px; }
.svc-btns { display: flex; gap: 9px; flex-wrap: wrap; }
.svc-vis { background: linear-gradient(145deg, var(--sky-5) 0%, var(--sky-10) 100%); display: flex; align-items: center; justify-content: center; font-size: 64px; border-left: 1px solid var(--gray-2); }
.tabs { display: flex; border-bottom: 2px solid var(--gray-2); margin-bottom: 22px; }
.tab { padding: 9px 18px; font-size: 12.5px; font-weight: 600; color: var(--gray-4); cursor: pointer; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; font-family: 'Noto Sans JP', sans-serif; transition: all .13s; }
.tab:hover { color: var(--sky-d); }
.tab.active { color: var(--sky-d); border-bottom-color: var(--sky); }
.svc-feats { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; margin-bottom: 20px; }
.sf { background: white; border: 1px solid var(--gray-2); border-radius: 8px; padding: 18px; display: flex; gap: 13px; }
.sf:hover { box-shadow: var(--s2); }
.sf-ico { width: 38px; height: 38px; border-radius: 7px; background: var(--sky-5); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.sf h4 { font-size: 12.5px; font-weight: 700; margin-bottom: 4px; color: var(--gray-9); }
.sf p { font-size: 11.5px; color: var(--gray-5); line-height: 1.65; }
.spec-row { background: var(--sky-5); border: 1px solid var(--sky-10); border-radius: 8px; padding: 16px 22px; display: flex; gap: 24px; flex-wrap: wrap; }
.sp-lbl { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--sky-d); margin-bottom: 3px; text-transform: uppercase; font-family: 'Plus Jakarta Sans', sans-serif; }
.sp-val { font-size: 12.5px; font-weight: 600; color: var(--gray-9); }

/* ── CPT admin note ── */
.cpt-tip { background: var(--sky-5); border: 1px solid var(--sky-20); border-radius: 8px; padding: 12px 16px; font-size: 11.5px; color: var(--sky-d); display: flex; gap: 9px; align-items: flex-start; line-height: 1.7; margin-bottom: 18px; }
.cpt-tip code { background: rgba(63,184,236,.12); padding: 1px 5px; border-radius: 3px; font-size: 11px; }

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .lp-hero-in { grid-template-columns: 1fr; }
  .hc-badge { display: none; }
  .feat-grid { grid-template-columns: repeat(2,1fr); }
  .seminar-grid { grid-template-columns: repeat(2,1fr); }
  .cta-box { flex-direction: column; text-align: center; }
  .cta-acts { min-width: unset; width: 100%; }
  .login-body { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .portal { flex-direction: column; }
  .sb { width: 100%; position: relative; height: auto; flex-direction: row; }
  .sb-hd { display: none; }
  .sb-nav { display: flex; flex-direction: row; padding: 0; overflow-x: auto; scrollbar-width: none; }
  .sb-nav::-webkit-scrollbar { display: none; }
  .sb-sec { display: none; }
  .ni { flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 0; min-width: 56px; font-size: 9.5px; text-align: center; }
  .ni.active::before, .ni.current-menu-item::before { display: none; }
  .ni.active, .ni.current-menu-item { border-bottom: 2px solid var(--sky); background: rgba(63,184,236,.08); }
  .ni-ico { font-size: 18px; width: auto; }
  .sb-ft { display: none; }
  .pt { display: none; }
  .pc { padding: 16px; }
  .p2col { grid-template-columns: 1fr; }
  .sg { grid-template-columns: repeat(2,1fr); }
  .dl-grid { grid-template-columns: repeat(2,1fr); }
  .sem-full-grid { grid-template-columns: repeat(2,1fr); }
  .svc-hero { grid-template-columns: 1fr; }
  .svc-vis { display: none; }
  .svc-feats { grid-template-columns: 1fr; }
  .lp-stats-in { flex-wrap: wrap; }
  .stat { min-width: 50%; border-right: none; border-bottom: 1px solid var(--sky-10); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .feat-grid, .seminar-grid, .sg, .dl-grid { grid-template-columns: 1fr; }
  .lp-hero { padding: 0 0 48px; }
  .hero-btns { flex-direction: column; }
  .stat { min-width: 100%; }
  .lp-features, .lp-seminar, .lp-cta { padding: 56px 0; }
  .cta-box { padding: 32px 24px; }
}
