 :root{--bg:#fff7fb;--ink:#251426;--muted:#725d76;--pink:#ff5fa2;--violet:#8a5cff;--cyan:#36d5ff;--yellow:#ffd166;--card:rgba(255,255,255,.82);--line:rgba(95,55,120,.14);--shadow:0 24px 70px rgba(115,54,150,.18);--radius:26px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:radial-gradient(circle at 10% 0%,#ffe1f2 0,#fff8fc 30%,#f7f1ff 62%,#effbff 100%);min-height:100vh;overflow-x:hidden}a{color:inherit;text-decoration:none}.bg-orb{position:fixed;border-radius:999px;filter:blur(8px);opacity:.45;pointer-events:none;z-index:-1}.orb-a{width:260px;height:260px;background:#ffc1dc;top:90px;left:-90px}.orb-b{width:320px;height:320px;background:#c5b7ff;right:-140px;top:220px}.orb-c{width:220px;height:220px;background:#b8f2ff;left:18%;bottom:-100px}.site-header{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px clamp(16px,4vw,48px);backdrop-filter:blur(18px);background:rgba(255,255,255,.62);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-weight:800}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,var(--pink),var(--violet));color:#fff;box-shadow:0 8px 24px rgba(138,92,255,.3)}.header-nav{display:flex;align-items:center;gap:10px;font-size:14px}.header-nav a{padding:10px 13px;border-radius:999px;color:#5d4764}.nav-cta{background:#26142c!important;color:#fff!important}.hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:28px;align-items:center;padding:72px clamp(18px,5vw,72px) 34px}.eyebrow{margin:0 0 10px;color:#a24bd8;font-size:12px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.hero h1{margin:0;font-size:clamp(38px,7vw,86px);line-height:1.02;letter-spacing:-.06em}.hero h1 span{background:linear-gradient(100deg,#ff4f9a 0%,#8a5cff 48%,#00bce8 100%);-webkit-background-clip:text;background-clip:text;color:transparent}.hero-lead{max-width:730px;font-size:clamp(16px,2vw,20px);line-height:1.9;color:#5e4a62}.hero-actions,.hero-card,.tool-cta,.control-panel,.random-box,.section-card,.quick-guide article,.seo-note{box-shadow:var(--shadow)}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px;width:max-content;max-width:100%;padding:8px;border-radius:999px;background:rgba(255,255,255,.72);border:1px solid var(--line)}.primary-btn,.ghost-btn,.random-actions button,.card-actions a,.card-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:999px;font-weight:800;border:0;cursor:pointer}.primary-btn{background:linear-gradient(135deg,var(--pink),var(--violet));color:#fff}.ghost-btn{background:#fff;color:#5e4a62}.hero-card{position:relative;min-height:330px;border-radius:36px;background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(255,255,255,.55));border:1px solid rgba(255,255,255,.8);padding:34px;overflow:hidden}.hero-card:before{content:"";position:absolute;inset:auto -20% -30% auto;width:260px;height:260px;border-radius:999px;background:linear-gradient(135deg,#ff9ec7,#8a5cff);opacity:.26}.sparkle{position:absolute;right:28px;top:26px;font-size:44px;color:#ff64a7}.mini-label{margin:35px 0 4px;color:#7e6684;font-weight:800}.hero-card strong{font-size:80px;letter-spacing:-.06em}.hero-card span{display:block;color:#6d5572;font-weight:700}.meter{height:12px;margin:22px 0;border-radius:999px;background:#f1e7f8;overflow:hidden}.meter i{display:block;width:86%;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--pink),var(--yellow),var(--cyan))}.hero-card-note{color:#765f7c}.quick-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:18px clamp(18px,5vw,72px) 36px}.quick-guide article{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px}.quick-guide b{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#251426;color:#fff}.quick-guide h2{margin:14px 0 6px;font-size:18px}.quick-guide p{margin:0;color:var(--muted);line-height:1.7}.tool-cta{margin:18px clamp(18px,5vw,72px) 40px;padding:26px;border-radius:32px;background:linear-gradient(135deg,rgba(37,20,38,.94),rgba(88,48,124,.9));color:#fff;display:flex;justify-content:space-between;align-items:center;gap:20px}.tool-cta h2{margin:0 0 8px;font-size:clamp(22px,3vw,34px)}.tool-cta p{margin:0;line-height:1.8;color:rgba(255,255,255,.78)}.browser{padding:40px clamp(18px,5vw,72px)}.section-head{max-width:800px}.section-head h2{font-size:clamp(30px,5vw,52px);margin:0}.section-head p{color:var(--muted);line-height:1.8}.control-panel{background:rgba(255,255,255,.78);border:1px solid var(--line);border-radius:30px;padding:18px;display:grid;grid-template-columns:1fr;gap:16px;margin:22px 0}.search-box span,.filter-block span{display:block;color:#6b5371;font-size:13px;font-weight:900;margin-bottom:8px}.search-box input{width:100%;height:52px;border:1px solid var(--line);border-radius:18px;background:#fff;padding:0 16px;font-size:16px;color:var(--ink);outline:none}.search-box input:focus{border-color:#a673ff;box-shadow:0 0 0 4px rgba(138,92,255,.13)}.chip-row{display:flex;flex-wrap:wrap;gap:9px}.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 14px;color:#624b68;font-weight:800;cursor:pointer}.chip.is-active{background:linear-gradient(135deg,#251426,#6b3d95);color:#fff;border-color:transparent}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.stat{background:rgba(255,255,255,.7);border:1px solid var(--line);border-radius:20px;padding:16px}.stat strong{display:block;font-size:26px}.stat span{font-size:13px;color:var(--muted);font-weight:800}.random-box{display:flex;justify-content:space-between;gap:18px;align-items:center;background:linear-gradient(135deg,#fff,#fff7fb);border:1px solid var(--line);border-radius:30px;padding:22px;margin:20px 0}.random-box h3{margin:0 0 6px;font-size:26px}.random-box p{margin:0;color:var(--muted);line-height:1.7}.random-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.random-actions button{background:#251426;color:#fff}.random-actions button+button{background:#fff;color:#5b4361;border:1px solid var(--line)}.category-nav{display:flex;gap:8px;overflow:auto;padding:10px 0 18px;scrollbar-width:thin}.category-nav a{white-space:nowrap;padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.74);border:1px solid var(--line);font-size:13px;color:#604967;font-weight:800}.role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.section-card{background:rgba(255,255,255,.82);border:1px solid var(--line);border-radius:30px;overflow:hidden}.section-toggle{width:100%;border:0;background:transparent;text-align:left;padding:20px 20px 18px;display:flex;justify-content:space-between;gap:14px;align-items:flex-start;cursor:pointer}.section-title{font-size:20px;font-weight:950;letter-spacing:-.02em}.section-meta{flex:0 0 auto;font-size:12px;font-weight:900;color:#fff;background:linear-gradient(135deg,#ff5fa2,#8a5cff);border-radius:999px;padding:7px 10px}.section-body{padding:0 20px 20px}.section-lead{margin:0 0 12px;color:var(--muted);line-height:1.7}.tagline{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.soft-tag{font-size:12px;font-weight:900;color:#7d5c87;background:#fff2fa;border:1px solid rgba(255,95,162,.18);border-radius:999px;padding:7px 10px}.items{display:grid;gap:9px}.role-item{display:grid;grid-template-columns:1fr auto;gap:6px 10px;background:#fff;border:1px solid rgba(91,63,106,.11);border-radius:18px;padding:12px}.role-name{font-weight:950}.rarity{align-self:start;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:950}.rarity[data-rarity="レア"]{background:#fff2c4;color:#8c5c00}.rarity[data-rarity="普通"]{background:#edf4ff;color:#2f5f9c}.rarity[data-rarity="出やすい"]{background:#ecfff5;color:#21764a}.rarity[data-rarity="ネタ枠"]{background:#f4edff;color:#6840a4}.role-desc{grid-column:1/-1;margin:0;color:#6d596f;font-size:13.5px;line-height:1.65}.card-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}.card-actions a{background:#251426;color:#fff;font-size:13px}.card-actions button{background:#fff;border:1px solid var(--line);color:#5b4361;font-size:13px}.empty-state{text-align:center;padding:40px;background:#fff;border:1px solid var(--line);border-radius:24px;color:var(--muted)}.seo-note{margin:20px clamp(18px,5vw,72px) 56px;background:rgba(255,255,255,.78);border:1px solid var(--line);border-radius:32px;padding:26px}.seo-note h2{margin:0 0 12px}.seo-note p{color:var(--muted);line-height:1.9}.footer{padding:28px clamp(18px,5vw,72px) 44px;color:#7b647f;display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line)}.footer div{display:flex;gap:14px;flex-wrap:wrap}.footer a{font-weight:800}@media(max-width:860px){.site-header{align-items:flex-start}.header-nav{font-size:12px;gap:4px}.hero{grid-template-columns:1fr;padding-top:42px}.hero-actions{width:100%;border-radius:24px}.hero-actions a{flex:1}.quick-guide{grid-template-columns:1fr}.tool-cta{display:block}.tool-cta .primary-btn{margin-top:16px;width:100%}.stats-row{grid-template-columns:repeat(2,1fr)}.random-box{display:block}.random-actions{justify-content:flex-start;margin-top:16px}.role-grid{grid-template-columns:1fr}.footer{display:block}.footer div{margin-top:14px}.section-toggle{padding:18px}.section-title{font-size:18px}.hero-card{min-height:250px}.hero-card strong{font-size:64px}}@media(max-width:520px){.brand span:last-child{display:none}.header-nav a:not(.nav-cta){display:none}.hero h1{font-size:42px}.stats-row{grid-template-columns:1fr 1fr}.stat{padding:13px}.control-panel{border-radius:22px}.role-item{border-radius:16px}.primary-btn,.ghost-btn{min-height:46px;padding:0 14px}.browser{padding-top:28px}}

/* materials_role_list_accordion_patch_20260617 */
.category-nav{
  flex-wrap:wrap;
  overflow:visible;
  padding:10px 0 20px;
}
.category-nav a{
  white-space:normal;
}
.section-card.is-collapsed .section-body{
  display:none;
}
.section-toggle::after{
  content:"開く";
  flex:0 0 auto;
  align-self:center;
  border:1px solid var(--line);
  border-radius:999px;
  padding:7px 10px;
  color:#6b4c72;
  background:#fff;
  font-size:12px;
  font-weight:950;
}
.section-card:not(.is-collapsed) .section-toggle::after{
  content:"閉じる";
  color:#fff;
  background:linear-gradient(135deg,#ff5fa2,#8a5cff);
  border-color:transparent;
}
.section-toggle{
  align-items:center;
}
.section-toggle > div,
.section-toggle > span:first-child{
  min-width:0;
}
.section-meta{
  margin-left:auto;
}
@media(max-width:520px){
  .category-nav{gap:7px;}
  .category-nav a{font-size:12px;padding:8px 10px;}
  .section-toggle{gap:10px;}
  .section-meta{font-size:11px;}
}

/* materials_role_list_no_stretch_patch_20260617 */
.role-grid{
  align-items:start;
}
.section-card{
  align-self:start;
}

/* materials_role_list_image_export_patch_20260617 */
.export-tools{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin:0 0 14px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.74);
}
.export-tools button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border:0;
  border-radius:999px;
  background:#251426;
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.export-tools button:disabled{
  opacity:.62;
  cursor:wait;
}
.export-tools span{
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
  font-weight:700;
}
@media(max-width:520px){
  .export-tools button{width:100%;}
}


/* materials_role_list_liver_directory_banner_patch_20260617 */
.liver-directory-banner{
  margin:18px clamp(18px,5vw,72px) 28px;
  padding:22px 24px;
  border:1px solid rgba(255,95,162,.18);
  border-radius:30px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,95,162,.16), transparent 30%),
    radial-gradient(circle at 88% 90%, rgba(138,92,255,.14), transparent 34%),
    rgba(255,255,255,.78);
  box-shadow:var(--shadow);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}
.liver-directory-banner__copy{
  min-width:0;
}
.liver-directory-banner__label{
  margin:0 0 6px;
  color:#a24bd8;
  font-size:12px;
  font-weight:950;
  letter-spacing:.14em;
}
.liver-directory-banner h2{
  margin:0 0 8px;
  color:#251426;
  font-size:clamp(22px,3vw,32px);
  letter-spacing:-.03em;
}
.liver-directory-banner p{
  margin:0;
  color:#6d5572;
  line-height:1.8;
}
.liver-directory-banner__button{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  background:linear-gradient(135deg,#ff5fa2,#8a5cff);
  color:#fff;
  font-weight:900;
  box-shadow:0 14px 34px rgba(138,92,255,.22);
}
@media(max-width:760px){
  .liver-directory-banner{
    display:block;
    padding:20px;
  }
  .liver-directory-banner__button{
    width:100%;
    margin-top:16px;
  }
}


/* role_list_seo_role_gacha_20260619 */
.search-intent-note,
.role-faq{
  margin:18px clamp(18px,5vw,72px) 28px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:32px;
  background:rgba(255,255,255,.78);
  box-shadow:var(--shadow);
}
.search-intent-note{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);
  gap:20px;
  align-items:center;
}
.search-intent-note h2,
.role-faq h2{
  margin:0 0 10px;
  font-size:clamp(24px,3vw,36px);
  letter-spacing:-.04em;
}
.search-intent-note p,
.role-faq p{
  margin:0;
  color:var(--muted);
  line-height:1.9;
}
.intent-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.intent-grid span{
  display:flex;
  align-items:center;
  min-height:46px;
  padding:10px 12px;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(95,55,120,.12);
  color:#5d4764;
  font-weight:900;
  font-size:13px;
}
.role-faq details{
  background:#fff;
  border:1px solid rgba(95,55,120,.12);
  border-radius:18px;
  padding:14px 16px;
  margin-top:10px;
}
.role-faq summary{
  cursor:pointer;
  font-weight:950;
  color:#251426;
}
.role-faq details p{
  margin-top:10px;
}
@media(max-width:760px){
  .search-intent-note{grid-template-columns:1fr;}
  .intent-grid{grid-template-columns:1fr;}
}
