/* ============================================================
   JASIPA サービスカタログ — Mock スタイルシート
   design_handoff の Design Tokens をそのまま CSS 変数化したもの。
   ============================================================ */
:root {
  /* Colors */
  --bg: #f7f9fc;
  --surface: #ffffff;
  --dark: #142a52;       /* 黒寄りの紺(#0d1426)→ 青みのある鮮やかな紺ブルーへ */
  --dark-grad: #20407a;  /* グラデ相手も明るめの紺ブルーに */
  --primary: #2f6df6;
  --primary-soft: #5b8cff;
  --teal: #0ea98a;
  --teal-soft: #3fd0b0;
  --teal-bright: #5fe3c4;
  --purple: #7b61ff;
  --purple-soft: #a78bff;
  --orange: #ec7a4a;
  --orange-soft: #f5a072;
  --head: #10182b;
  --text: #39435a;
  --text2: #56627d;
  --meta: #8a93a8;
  --meta2: #9aa3b8;
  --border: #e7ebf3;
  --border2: #eef1f6;
  --blue-face: #eef3ff;
  --blue-face2: #f5f8ff;
  --blue-face3: #eaf1ff;
  --teal-face: #e3f7f1;
  --teal-face2: #f4fdfa;
  --teal-border: #bce8db;
  --chip: #f1f4fa;
  --req: #e0454f;

  --shadow-card: 0 1px 2px rgba(16,23,41,.04);
  --shadow-hover: 0 8px 22px rgba(16,23,41,.07);
  --shadow-hover-lg: 0 12px 30px rgba(16,23,41,.09);
  --shadow-primary: 0 4px 12px rgba(47,109,246,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: #1a2233;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .disp { font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ---------- utility ---------- */
.lk { cursor: pointer; transition: all .16s ease; }
.container { max-width: 1280px; margin: 0 auto; }
.main { max-width: 1280px; margin: 0 auto; padding: 24px 28px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.sec-title { display: flex; align-items: center; gap: 10px; }
.sec-bar { width: 5px; height: 22px; background: var(--primary); border-radius: 3px; }
.sec-title h2 { font-size: 21px; font-weight: 900; margin: 0; color: var(--head); }
.sec-more { font-size: 13px; font-weight: 700; color: var(--primary); }
.muted { color: var(--meta2); }

/* ---------- header ---------- */
.utility-bar { background: var(--dark); color: #aeb8d0; }
.utility-bar .inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: flex-end; gap: 18px;
  padding: 7px 28px; font-size: 11.5px;
}
.utility-bar a:hover { color: #fff; }
.utility-bar .strong { color: #fff; font-weight: 700; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--border); }
.main-bar {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px; padding: 14px 28px;
}
.logo { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.logo img { height: 32px; width: auto; }
.logo .sub { font-size: 12px; color: var(--meta); border-left: 1px solid #dfe4ee; padding-left: 11px; line-height: 1.3; }
.site-nav { display: flex; gap: 22px; font-size: 14px; font-weight: 500; color: var(--text); flex: 0 0 auto; }
.site-nav a:hover { color: var(--primary); }
.header-right { flex: 1; display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.search-box {
  display: flex; align-items: center; gap: 8px; background: #f3f5fa; border: 1px solid var(--border);
  border-radius: 10px; padding: 9px 13px; flex: 1; max-width: 300px; color: var(--meta2);
}
.search-box span { font-size: 13px; }
.btn-login { font-size: 13px; font-weight: 700; color: var(--text); padding: 8px 12px; flex: 0 0 auto; }
.btn-login:hover { color: var(--primary); }

/* ---------- buttons ---------- */
.btn-primary {
  font-size: 13px; font-weight: 700; color: #fff; background: var(--primary);
  padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow-primary);
  flex: 0 0 auto; white-space: nowrap; border: none;
}
.btn-primary:hover { background: #245fe0; }
.btn-outline {
  font-size: 14px; font-weight: 700; color: var(--primary); background: #fff;
  border: 1.5px solid var(--primary); padding: 12px; border-radius: 11px; text-align: center;
}
.btn-outline:hover { background: var(--blue-face2); }

/* ---------- layout ---------- */
.layout { display: grid; grid-template-columns: 248px 1fr; gap: 28px; align-items: start; }
.layout--detail { grid-template-columns: 1fr 312px; }
.layout--member { grid-template-columns: 1fr 300px; }
.layout--contact { grid-template-columns: 280px 1fr; }
.browse-panel { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 16px; }
.main-col { display: flex; flex-direction: column; gap: 34px; min-width: 0; }
.main-col--tight { gap: 22px; }
.main-col--list { gap: 18px; }

/* ---------- cards / panel ---------- */
.card { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-card); }
.panel { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-card); }
.panel-label { font-size: 12px; font-weight: 700; color: var(--meta); letter-spacing: .06em; padding: 0 4px 10px; }

.browse-list { display: flex; flex-direction: column; gap: 3px; }
.browse-item {
  display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 11px;
  color: var(--text); font-size: 14px; font-weight: 500;
}
.browse-item:hover { background: #f3f5fa; }
.browse-item.active { background: var(--primary); color: #fff; font-weight: 700; box-shadow: 0 4px 12px rgba(47,109,246,.24); }
.browse-item .ico { width: 18px; display: flex; flex: 0 0 auto; }
.browse-item .count { margin-left: auto; font-size: 11px; color: var(--meta2); font-weight: 500; }
.browse-item.active .count { color: rgba(255,255,255,.75); }
.browse-divider { height: 1px; background: #eceff5; margin: 12px 0; }
.badge-new { font-size: 9px; font-weight: 700; color: #fff; background: var(--teal); border-radius: 5px; padding: 2px 6px; margin-left: auto; }

/* ---------- 左パネルのアコーディオン ---------- */
.acc-head { width: 100%; background: none; border: none; font-family: inherit; text-align: left; }
.acc .acc-caret { transition: transform .2s ease; }
.acc.open > .acc-head .acc-caret { transform: rotate(180deg); }
.acc.open > .acc-head { color: var(--primary); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.acc.open > .acc-body { max-height: 600px; }
.acc-item {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 41px;
  border-radius: 9px; color: var(--text2); font-size: 13px;
}
.acc-item:hover { background: #f3f5fa; color: var(--primary); }
.acc-item .acc-cnt { margin-left: auto; font-size: 11px; color: var(--meta2); }

/* AI diagnosis promo */
.ai-promo {
  background: linear-gradient(135deg, #142a52, #20407a); border-radius: 16px; padding: 18px;
  color: #fff; position: relative; overflow: hidden;
}
.ai-promo .glow { position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(14,169,138,.4), transparent 70%); }
.ai-promo .tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(14,169,138,.18); color: var(--teal-bright); border-radius: 7px; padding: 3px 8px; font-size: 10.5px; font-weight: 700; }
.ai-promo .ttl { font-size: 15px; font-weight: 900; font-family: 'Zen Kaku Gothic New'; margin-top: 10px; line-height: 1.5; }
.ai-promo .btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; background: #fff; color: var(--dark); font-size: 12.5px; font-weight: 700; padding: 8px 14px; border-radius: 9px; }

/* ---------- hero intro banner ---------- */
.intro {
  background: var(--dark); border: 1px solid var(--border); border-radius: 18px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-card);
}
.intro .row { display: flex; align-items: stretch; min-height: 230px; }
.intro .left { flex: 1; padding: 32px 34px; display: flex; flex-direction: column; justify-content: center; color: #fff; position: relative; z-index: 2; }
.intro .pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 5px 13px; font-size: 12px; color: #aeb8d0; font-weight: 700; align-self: flex-start; }
.intro .pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); display: inline-block; }
.intro h1 { font-size: 30px; line-height: 1.4; font-weight: 900; letter-spacing: -.01em; margin: 14px 0 0; color: #fff; }
.intro p { font-size: 14px; line-height: 1.85; color: #aeb8d0; margin: 12px 0 0; max-width: 520px; }
.hero-stats { display: flex; gap: 30px; margin-top: 22px; }
.hero-stats b { font-size: 26px; color: #fff; font-family: 'Zen Kaku Gothic New'; }
.hero-stats span { font-size: 12px; color: #7e8aa6; margin-left: 6px; }
.hero-img { flex: 0 0 42%; position: relative; background: linear-gradient(135deg, #1b2a4d, #25406e); display: flex; align-items: center; justify-content: center; color: #6c7ba0; font-size: 12px; }
.hero-img .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #142a52 0%, rgba(20,42,82,.35) 28%, transparent 60%); pointer-events: none; }

/* ---------- category grid ---------- */
.grid-cat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cat-card {
  border: 1px solid var(--border); border-radius: 14px; padding: 16px; background: #fff;
  display: flex; align-items: center; gap: 12px;
}
.cat-card:hover { border-color: #bcd0fb; box-shadow: 0 8px 20px rgba(16,23,41,.07); transform: translateY(-2px); }
.cat-ico { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.cat-card .name { font-size: 14.5px; font-weight: 700; color: var(--head); }
.cat-card .num { font-size: 11.5px; color: var(--meta); }

/* ---------- challenge pills ---------- */
.pill-wrap { display: flex; gap: 9px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border);
  border-radius: 11px; padding: 11px 16px; font-size: 13.5px; font-weight: 500; color: var(--text);
}
.pill:hover { border-color: #bcd0fb; background: #fafcff; }
.pill .n { font-size: 11px; color: var(--meta2); }

/* ---------- service cards (rich) ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc-card { border: 1px solid var(--border); border-radius: 16px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.svc-card:hover { border-color: #bcd0fb; box-shadow: var(--shadow-hover-lg); transform: translateY(-3px); }
/* サムネイル画像とロゴ／名称は重ねず、画像の下に並べる（service.htmlのヒーローと同じ流儀） */
.svc-thumb { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 12px; position: relative; }
.svc-thumb .ai-badge { position: absolute; top: 10px; left: 10px; font-size: 10.5px; font-weight: 700; color: #0a7e67; background: var(--teal-face); border-radius: 6px; padding: 3px 8px; }
.svc-body { padding: 16px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.svc-head { display: flex; align-items: center; gap: 11px; }
.svc-logo { width: 46px; height: 46px; border-radius: 12px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 900; font-family: 'Zen Kaku Gothic New'; flex: 0 0 auto; box-shadow: 0 4px 10px rgba(16,23,41,.12); }
.svc-head .name { font-size: 15.5px; font-weight: 700; color: var(--head); }
.svc-head .company { font-size: 11.5px; color: var(--meta); }
.svc-desc { font-size: 13px; line-height: 1.7; color: var(--text2); }
.svc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.tag { font-size: 11px; color: #556685; background: var(--chip); border-radius: 6px; padding: 3px 9px; }
.tag-trial { font-size: 11px; color: #fff; background: var(--teal); border-radius: 6px; padding: 3px 9px; font-weight: 700; }

/* gradient helpers */
.g-blue { background: linear-gradient(135deg, #2f6df6, #5b8cff); }
.g-teal { background: linear-gradient(135deg, #0ea98a, #3fd0b0); }
.g-purple { background: linear-gradient(135deg, #7b61ff, #a78bff); }
.g-orange { background: linear-gradient(135deg, #ec7a4a, #f5a072); }
.t-blue { background: linear-gradient(135deg, #eef3fc, #dde8fb); color: #9bb0d6; }
.t-teal { background: linear-gradient(135deg, #e6f7f1, #d2efe5); color: #82bcab; }
.t-purple { background: linear-gradient(135deg, #f0edfd, #e3ddf9); color: #a99bd8; }
.t-orange { background: linear-gradient(135deg, #fdeee6, #f9ddd0); color: #d8a78b; }
.face-blue { background: var(--blue-face3); }
.face-teal { background: var(--teal-face); }
.face-purple { background: #eef0ff; }

/* ---------- new arrivals list ---------- */
.list-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--border2); }
.list-row:last-child { border-bottom: none; }
.list-row:hover { background: #fafcff; }
.list-logo { width: 42px; height: 42px; border-radius: 11px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 900; font-family: 'Zen Kaku Gothic New'; flex: 0 0 auto; }
.list-main { flex: 1; min-width: 0; }
.list-main .t { font-size: 14px; font-weight: 700; color: var(--head); }
.list-main .d { font-size: 12px; color: var(--text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-date { font-size: 11.5px; color: var(--meta2); flex: 0 0 auto; }

/* ---------- AIO band ---------- */
.aio-band { background: var(--dark); border-radius: 18px; padding: 34px; color: #fff; position: relative; overflow: hidden; }
.aio-band .glow { position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(14,169,138,.22), transparent 70%); }
.aio-band .tag { display: inline-flex; align-items: center; gap: 7px; background: rgba(14,169,138,.16); color: var(--teal-bright); border-radius: 999px; padding: 6px 13px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.aio-band h2 { font-size: 25px; font-weight: 900; line-height: 1.4; margin: 14px 0 0; color: #fff; }
.aio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; position: relative; }
.aio-grid .h { font-size: 14.5px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.aio-grid .b { font-size: 12.5px; line-height: 1.8; color: #9aa6c2; }
.aio-note { background: var(--dark); border-radius: 12px; padding: 13px 16px; display: flex; gap: 11px; align-items: center; }
.aio-note .badge { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--teal-bright); background: rgba(14,169,138,.16); border-radius: 6px; padding: 4px 8px; flex: 0 0 auto; }
.aio-note .txt { font-size: 12px; color: #aeb8d0; line-height: 1.6; }

/* ---------- member CTA ---------- */
.member-cta {
  border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(120deg, #f4f8ff, #fff);
  padding: 30px 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.member-cta .eyebrow { font-size: 12.5px; font-weight: 700; color: var(--primary); letter-spacing: .04em; }
.member-cta h2 { font-size: 22px; font-weight: 900; margin: 7px 0 5px; color: var(--head); }
.member-cta p { font-size: 14px; color: var(--text2); line-height: 1.7; margin: 0; }
.member-cta .btn-reg { font-size: 14px; font-weight: 700; color: #fff; background: var(--primary); padding: 13px 24px; border-radius: 11px; box-shadow: 0 6px 16px rgba(47,109,246,.28); }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #9aa6c2; margin-top: 56px; }
.site-footer .top { max-width: 1280px; margin: 0 auto; padding: 44px 28px 24px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.site-footer .brand { max-width: 280px; display: flex; flex-direction: column; gap: 14px; }
.site-footer .brand .logo-card { background: #fff; border-radius: 9px; padding: 8px 11px; display: inline-flex; align-self: flex-start; }
.site-footer .brand .logo-card img { height: 24px; width: auto; }
.site-footer .brand p { font-size: 12.5px; line-height: 1.8; color: #7e8aa6; margin: 0; }
.site-footer .cols { display: flex; gap: 56px; flex-wrap: wrap; font-size: 13px; }
.site-footer .cols h4 { font-weight: 700; color: #fff; margin: 0 0 12px; font-size: 13px; }
.site-footer .cols .links { display: flex; flex-direction: column; gap: 9px; }
.site-footer .cols a:hover { color: #fff; }
.site-footer .bottom { border-top: 1px solid #1f2940; }
.site-footer .bottom .inner { max-width: 1280px; margin: 0 auto; padding: 16px 28px; display: flex; justify-content: space-between; font-size: 11.5px; color: #5e6a86; }

/* ---------- list / filter ---------- */
.filter-head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 4px; }
.filter-head .t { font-size: 13px; font-weight: 700; color: var(--head); }
.filter-head a { font-size: 11.5px; color: var(--primary); font-weight: 700; }
.filter-group { padding: 12px 4px 8px; border-top: 1px solid var(--border2); }
.filter-group .label { font-size: 11px; font-weight: 700; color: var(--meta); letter-spacing: .06em; margin-bottom: 9px; }
.checks { display: flex; flex-direction: column; gap: 9px; font-size: 13px; color: var(--text); }
.check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.check .box { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #cfd6e2; flex: 0 0 auto; }
.check .box.on { background: var(--primary); border: none; display: inline-flex; align-items: center; justify-content: center; }
.check .box.on-teal { background: var(--teal); border: none; display: inline-flex; align-items: center; justify-content: center; }
.check .cnt { margin-left: auto; font-size: 11px; color: var(--meta2); }
.more-link { font-size: 11.5px; color: var(--primary); }

.breadcrumb { font-size: 11.5px; color: var(--meta2); margin-bottom: 8px; }
.breadcrumb .cur { color: var(--text); }
.list-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.list-title-row h1 { font-size: 24px; font-weight: 900; margin: 0; color: var(--head); }
.list-count { font-size: 13px; color: var(--text2); flex: 0 0 auto; }
.list-count b { color: var(--head); font-size: 16px; }
.applied-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.applied { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.applied .lbl { font-size: 11.5px; color: var(--meta); }
.chip-applied { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; background: var(--blue-face); border: 1px solid #c3d4ff; color: #2f5fd0; border-radius: 8px; padding: 5px 10px; }
.chip-applied .x { cursor: pointer; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text); }
.sort .sel { border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; background: #fff; }

.result-card { border: 1px solid var(--border); border-radius: 16px; background: #fff; padding: 16px; display: flex; gap: 16px; }
.result-card:hover { border-color: #bcd0fb; box-shadow: var(--shadow-hover); }
.result-thumb { width: 120px; height: 80px; border-radius: 11px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-size: 10.5px; }
.result-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.result-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.result-logo { width: 32px; height: 32px; border-radius: 8px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; font-family: 'Zen Kaku Gothic New'; flex: 0 0 auto; }
.result-title-row .name { font-size: 16px; font-weight: 700; color: var(--head); }
.result-title-row .company { font-size: 11.5px; color: var(--meta); }
.result-desc { font-size: 12.5px; color: var(--text2); line-height: 1.65; }
.result-cta { align-self: center; flex: 0 0 auto; }
.result-cta .b { font-size: 12.5px; font-weight: 700; color: #fff; background: var(--primary); padding: 9px 16px; border-radius: 9px; }
.result-card:hover .result-cta .b { background: #245fe0; }

.pager { display: flex; gap: 7px; justify-content: center; margin-top: 8px; }
.pager span { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.pager .num { border: 1px solid var(--border); background: #fff; color: var(--text2); }
.pager .num:hover { border-color: #bcd0fb; }
.pager .cur { background: var(--primary); color: #fff; font-weight: 700; }

/* ---------- detail ---------- */
.detail-hero { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.detail-hero .banner { height: 104px; background: linear-gradient(135deg, #20407a, #142a52); position: relative; }
.detail-hero .banner .glow { position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(47,109,246,.4), transparent 70%); }
.detail-hero .head { padding: 20px 26px 22px; }
.detail-hero .head .top { display: flex; align-items: center; gap: 16px; }
.detail-logo { width: 74px; height: 74px; border-radius: 18px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 900; font-family: 'Zen Kaku Gothic New'; flex: 0 0 auto; box-shadow: 0 6px 16px rgba(16,23,41,.16); }
.detail-hero h1 { font-size: 25px; font-weight: 900; margin: 0; color: var(--head); }
.detail-hero .provider { font-size: 12.5px; color: var(--text2); margin-top: 3px; }
.detail-tags { display: flex; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.tag-lg { font-size: 11.5px; color: #556685; background: var(--chip); border-radius: 7px; padding: 4px 11px; }
.tag-trial-lg { font-size: 11px; color: #fff; background: var(--teal); border-radius: 6px; padding: 4px 10px; font-weight: 700; }

.summary { border: 2px solid var(--dark); border-radius: 16px; overflow: hidden; }
.summary .h { background: var(--dark); color: #fff; padding: 12px 18px; font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.summary .h .badge { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; color: var(--teal-bright); background: rgba(14,169,138,.18); border-radius: 5px; padding: 3px 7px; }
.summary .body { padding: 20px; display: flex; flex-direction: column; gap: 18px; background: #fff; }
.summary .lab { font-size: 11px; color: var(--meta); font-weight: 700; letter-spacing: .06em; margin-bottom: 5px; }
.summary .oneline { font-size: 15px; line-height: 1.7; color: var(--head); font-weight: 500; }
.summary .cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.summary .txt { font-size: 13px; line-height: 1.95; color: var(--text); }
.summary .faq { font-size: 13px; line-height: 1.8; color: var(--text); }

.block { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; }
.block-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.block-head .bar { width: 5px; height: 20px; background: var(--primary); border-radius: 3px; }
.block-head .bar.teal { background: var(--teal); }
.block-head h2 { font-size: 18px; font-weight: 900; margin: 0; color: var(--head); }
.block p { font-size: 13px; color: var(--text2); line-height: 1.85; margin: 0; }
.shots { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shot { height: 100px; background: linear-gradient(135deg, #eef3fc, #dde8fb); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #9bb0d6; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan { border: 1px solid var(--border); border-radius: 12px; padding: 16px; position: relative; }
.plan.popular { border: 2px solid var(--primary); }
.plan .pop { position: absolute; top: -9px; left: 14px; font-size: 10px; font-weight: 700; color: #fff; background: var(--primary); border-radius: 5px; padding: 2px 8px; }
.plan .name { font-size: 13px; font-weight: 700; color: var(--text); }
.plan .price { font-size: 22px; font-weight: 900; color: var(--head); font-family: 'Zen Kaku Gothic New'; margin-top: 6px; }
.plan .price small { font-size: 11px; color: var(--meta2); font-weight: 400; }
.plan .price.req { font-size: 18px; margin-top: 10px; }
.case { border: 1px solid var(--border); border-radius: 12px; padding: 16px; display: flex; gap: 14px; background: #fafcff; }
.case .ico { width: 52px; height: 52px; border-radius: 11px; flex: 0 0 auto; }
.case .txt { font-size: 12.5px; color: var(--text2); line-height: 1.75; }

.side-cta { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 10px; }
.side-cta .official { font-size: 14px; font-weight: 700; color: #fff; background: var(--primary); padding: 13px; border-radius: 11px; text-align: center; box-shadow: var(--shadow-primary); }
.side-cta .official:hover { background: #245fe0; }
.side-attrs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-top: 1px solid var(--border2); margin-top: 6px; padding-top: 12px; }
.side-attrs .k { font-size: 10.5px; color: var(--meta2); }
.side-attrs .v { font-size: 12.5px; font-weight: 700; color: var(--head); }
.side-box { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.side-box .lab { font-size: 11px; font-weight: 700; color: var(--meta); letter-spacing: .06em; margin-bottom: 11px; }
.provider-row { display: flex; gap: 11px; align-items: center; margin-bottom: 11px; }
.provider-logo { width: 42px; height: 42px; background: var(--dark); border-radius: 10px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 900; font-family: 'Zen Kaku Gothic New'; }
.provider-row .n { font-weight: 700; font-size: 13.5px; color: var(--head); }
.provider-row .m { font-size: 11px; color: var(--meta2); }
.related-list { display: flex; flex-direction: column; gap: 10px; }
.related { display: flex; gap: 10px; align-items: center; }
.related:hover { opacity: .7; }
.related .l { width: 34px; height: 34px; border-radius: 8px; flex: 0 0 auto; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; font-family: 'Zen Kaku Gothic New'; }

/* ---------- member dashboard ---------- */
.dash-strip { background: var(--dark); border-radius: 18px; padding: 26px 30px; color: #fff; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.dash-strip .glow { position: absolute; right: -40px; top: -50px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(47,109,246,.35), transparent 70%); }
.dash-strip .l { position: relative; }
.dash-strip .pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 5px 12px; font-size: 11.5px; color: #aeb8d0; font-weight: 700; }
.dash-strip h1 { font-size: 24px; font-weight: 900; margin: 12px 0 5px; color: #fff; }
.dash-strip p { font-size: 13px; color: #9aa6c2; margin: 0; line-height: 1.7; }
.dash-strip .r { position: relative; display: flex; align-items: center; gap: 14px; }
.dash-user { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: #aeb8d0; }
.dash-user .ava { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.dash-add { font-size: 13px; font-weight: 700; color: var(--dark); background: #fff; padding: 11px 18px; border-radius: 10px; white-space: nowrap; }

.reg-head { padding: 14px 18px; border-bottom: 1px solid var(--border2); display: flex; align-items: center; justify-content: space-between; }
.reg-head .t { font-size: 13.5px; font-weight: 700; color: var(--head); }
.reg-row { display: flex; align-items: center; gap: 13px; padding: 13px 18px; border-bottom: 1px solid var(--border2); }
.reg-row:last-child { border-bottom: none; }
.reg-row.editing { background: var(--blue-face2); }
.reg-logo { width: 38px; height: 38px; border-radius: 9px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 900; font-family: 'Zen Kaku Gothic New'; flex: 0 0 auto; }
.reg-main { flex: 1; min-width: 0; }
.reg-main .t { font-size: 13.5px; font-weight: 700; color: var(--head); }
.reg-main .c { font-size: 11px; color: var(--meta2); }
.status { font-size: 11px; display: flex; align-items: center; gap: 5px; }
.status .dot { width: 7px; height: 7px; border-radius: 50%; }
.status.pub { color: #0a7e67; }
.status.pub .dot { background: var(--teal); }
.status.draft { color: var(--meta2); }
.status.draft .dot { background: #cfd6e2; }
.reg-date { font-size: 11px; color: var(--meta2); width: 58px; }
.reg-act { font-size: 12px; color: var(--primary); }
.reg-act.editing { font-weight: 700; }
.reg-act.publish { color: #0a7e67; font-weight: 700; }

.form-block { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 20px; }
.form-block .head { display: flex; align-items: center; gap: 10px; }
.form-block .head .bar { width: 5px; height: 20px; background: var(--primary); border-radius: 3px; }
.form-block .head h2 { font-size: 17px; font-weight: 900; margin: 0; color: var(--head); }
.form-sec-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 11px; }
.field { display: flex; flex-direction: column; }
.field .lab { font-size: 11.5px; color: var(--text2); margin-bottom: 5px; }
.field .lab .req { color: var(--req); }
.input { border: 1.5px solid #e1e6ef; border-radius: 9px; padding: 10px 12px; font-size: 13px; color: var(--text); background: #fff; width: 100%; font-family: inherit; }
.input::placeholder { color: var(--meta2); }
textarea.input { resize: vertical; min-height: 50px; }
.field-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.select-fake { border: 1.5px solid #e1e6ef; border-radius: 9px; padding: 10px 12px; font-size: 13px; color: var(--text); display: flex; justify-content: space-between; }
.radios { display: flex; align-items: center; gap: 14px; height: 40px; font-size: 12.5px; color: var(--text); }
.radio { display: flex; align-items: center; gap: 5px; }
.radio .ring { width: 14px; height: 14px; border-radius: 50%; border: 4px solid var(--primary); }
.radio.off { color: var(--meta2); }
.tag-pick { display: flex; gap: 6px; flex-wrap: wrap; }
.tag-sel { font-size: 11.5px; background: var(--blue-face); border: 1px solid #c3d4ff; color: #2f5fd0; border-radius: 8px; padding: 5px 10px; }
.tag-add { font-size: 11.5px; border: 1px dashed #cfd6e2; color: var(--meta2); border-radius: 8px; padding: 5px 10px; cursor: pointer; }
.aio-box { display: flex; flex-direction: column; gap: 11px; border: 1.5px solid var(--teal-border); background: var(--teal-face2); border-radius: 12px; padding: 15px; }
.aio-req { font-size: 9.5px; font-weight: 700; letter-spacing: .04em; color: #0a7e67; background: var(--teal-face); border-radius: 5px; padding: 2px 7px; }
.drop { border: 1.5px dashed #cfd6e2; background: #fafcff; border-radius: 10px; padding: 16px; text-align: center; font-size: 11.5px; color: var(--meta2); }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.form-actions .note { font-size: 11.5px; color: var(--meta2); margin-right: auto; }
.btn-ghost { font-size: 13px; font-weight: 700; color: var(--text); border: 1.5px solid #e1e6ef; padding: 10px 18px; border-radius: 10px; background: #fff; }
.btn-ghost:hover { background: #fafcff; }
.btn-save { font-size: 13px; font-weight: 700; color: #fff; background: var(--primary); padding: 10px 22px; border-radius: 10px; box-shadow: var(--shadow-primary); border: none; }
.btn-save:hover { background: #245fe0; }

.dash-tip { background: var(--dark); border-radius: 16px; padding: 18px; color: #fff; }
.dash-tip .lab { font-size: 11px; font-weight: 700; color: var(--teal-bright); letter-spacing: .04em; margin-bottom: 8px; }
.dash-tip .txt { font-size: 12px; color: #aeb8d0; line-height: 1.75; }
.steps { display: flex; flex-direction: column; gap: 13px; font-size: 12.5px; color: var(--text); }
.step { display: flex; gap: 10px; }
.step .n { width: 20px; height: 20px; border-radius: 50%; background: var(--dark); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.step .n.teal { background: var(--teal); }
.step .s { line-height: 1.5; }

/* ---------- contact ---------- */
.page-head h1 { font-size: 24px; font-weight: 900; margin: 0; color: var(--head); }
.page-head p { font-size: 13px; color: var(--text2); margin: 8px 0 0; line-height: 1.7; }
.type-list { display: flex; flex-direction: column; gap: 9px; }
.type-label { font-size: 11px; font-weight: 700; color: var(--meta); letter-spacing: .06em; padding: 0 2px 2px; }
.type-card { border: 1px solid var(--border); background: #fff; border-radius: 12px; padding: 13px 14px; cursor: pointer; }
.type-card:hover { border-color: #bcd0fb; }
.type-card.active { border: 2px solid var(--primary); background: var(--blue-face2); }
.type-card .t { font-size: 13.5px; font-weight: 700; color: var(--head); }
.type-card.active .t { color: #2f5fd0; }
.type-card .d { font-size: 11px; color: var(--meta2); margin-top: 3px; }
.type-card.active .d { color: var(--text2); }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.selected-bar { display: flex; align-items: center; gap: 8px; background: var(--blue-face2); border: 1px solid #c3d4ff; border-radius: 10px; padding: 11px 13px; font-size: 12px; color: #2f5fd0; }
.agree { font-size: 12.5px; color: var(--text); display: flex; align-items: center; gap: 8px; cursor: pointer; }
.agree .box { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #cfd6e2; flex: 0 0 auto; }
.agree a { color: var(--primary); }
.contact-form .submit-row { display: flex; justify-content: flex-end; }
.btn-submit { font-size: 13.5px; font-weight: 700; color: #fff; background: var(--primary); padding: 12px 26px; border-radius: 10px; box-shadow: var(--shadow-primary); border: none; }
.btn-submit:hover { background: #245fe0; }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 760px) {
  .layout, .layout--detail, .layout--member, .layout--contact { grid-template-columns: 1fr !important; }
  .browse-panel { position: static !important; top: auto !important; }
  .browse-list { flex-direction: row !important; overflow-x: auto !important; gap: 8px !important; padding-bottom: 6px; }
  .browse-list > * { flex: 0 0 auto !important; }
  .hero-stats, .hero-img { display: none !important; }
  .grid-2, .summary .cols2, .field-grid2, .shots, .plans, .aio-grid { grid-template-columns: 1fr !important; }
  .grid-cat { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 560px) {
  .grid-cat { grid-template-columns: 1fr !important; }
  .site-nav { display: none !important; }
  .main { padding: 16px 16px 0; }
}

/* ============================================================
   管理者エリア（事務局）— フェーズ4
   ============================================================ */
.admin-shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; background: var(--bg); }
.admin-side { background: var(--dark); color: #aeb8d0; display: flex; flex-direction: column; padding: 0; position: sticky; top: 0; height: 100vh; }
.admin-side .brand { padding: 20px 22px; border-bottom: 1px solid #1f2940; display: flex; align-items: center; gap: 10px; }
.admin-side .brand img { height: 22px; background: #fff; border-radius: 6px; padding: 4px 7px; }
.admin-side .brand .t { font-size: 12px; font-weight: 700; color: #fff; line-height: 1.3; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; padding: 14px 12px; flex: 1; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; color: #aeb8d0; font-weight: 500; }
.admin-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav a.active { background: var(--primary); color: #fff; font-weight: 700; }
.admin-side .foot { padding: 14px 16px; border-top: 1px solid #1f2940; font-size: 12px; }
.admin-side .foot a { color: #aeb8d0; } .admin-side .foot a:hover { color: #fff; }
.admin-main { padding: 28px 32px; min-width: 0; }
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-head h1 { font-size: 23px; font-weight: 900; margin: 0; color: var(--head); }
.admin-head p { font-size: 13px; color: var(--text2); margin: 6px 0 0; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-card); }
.stat .k { font-size: 12px; color: var(--meta); font-weight: 700; }
.stat .v { font-size: 28px; font-weight: 900; color: var(--head); font-family: 'Zen Kaku Gothic New'; margin-top: 6px; }
.stat .v small { font-size: 13px; color: var(--meta2); font-weight: 400; }

.panel-box { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-card); margin-bottom: 22px; overflow: hidden; }
.panel-box > .ph { padding: 16px 20px; border-bottom: 1px solid var(--border2); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.panel-box > .ph h2 { font-size: 15px; font-weight: 900; margin: 0; color: var(--head); }

table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
table.tbl th { text-align: left; font-size: 11px; font-weight: 700; color: var(--meta); letter-spacing: .04em; padding: 12px 20px; border-bottom: 1px solid var(--border2); background: #fafcff; }
table.tbl td { padding: 13px 20px; border-bottom: 1px solid var(--border2); color: var(--text); vertical-align: middle; }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl tr:hover td { background: #fafcff; }
.pill-role { font-size: 10.5px; font-weight: 700; border-radius: 6px; padding: 3px 9px; }
.pill-role.admin { background: #eef0ff; color: #5a44d6; }
.pill-role.member { background: var(--blue-face); color: #2f5fd0; }
.pill-state { font-size: 11px; display: inline-flex; align-items: center; gap: 5px; }
.pill-state .d { width: 7px; height: 7px; border-radius: 50%; }
.pill-state.on { color: #0a7e67; } .pill-state.on .d { background: var(--teal); }
.pill-state.off { color: #c0303a; } .pill-state.off .d { background: #e0454f; }
.btn-sm { font-size: 12px; font-weight: 700; padding: 7px 13px; border-radius: 8px; border: none; cursor: pointer; font-family: inherit; }
.btn-sm.primary { background: var(--primary); color: #fff; }
.btn-sm.ghost { background: #fff; border: 1.5px solid #e1e6ef; color: var(--text); }
.btn-sm.danger { background: #fff; border: 1.5px solid #f3c2c7; color: #c0303a; }
.btn-sm.warn { background: #fff; border: 1.5px solid #f0d8a8; color: #b8771a; }
.row-actions { display: flex; gap: 7px; justify-content: flex-end; flex-wrap: wrap; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 18px 20px; }
.admin-form-grid .full { grid-column: 1 / -1; }
.flash { border-radius: 10px; padding: 12px 16px; font-size: 13px; margin-bottom: 18px; }
.flash.ok { background: #e3f7f1; border: 1px solid var(--teal-border); color: #0a7e67; }
.flash.err { background: #fdeef0; border: 1px solid #f3c2c7; color: #c0303a; }
@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: column; }
  .admin-nav { flex-direction: row; overflow-x: auto; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-form-grid { grid-template-columns: 1fr; }
}
