:root{
      --primary:#0B3D91;
      --template-theme:{主题色};
      --accent:#d81778;
      --accent-dark:#a90f5b;
      --ink:#172033;
      --muted:#687187;
      --line:#e5e9f1;
      --soft:#f5f7fb;
      --white:#fff;
      --shadow:0 18px 48px rgba(18,32,63,.1);
      --radius:18px;
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:var(--soft);
      font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo",sans-serif;
      line-height:1.7;
      -webkit-font-smoothing:antialiased;
    }
    body.drawer-lock{overflow:hidden}
    img{display:block;max-width:100%}
    a{color:inherit;text-decoration:none}
    button,input{font:inherit}
    button{color:inherit}
    .container{width:min(1180px,calc(100% - 40px));margin-inline:auto}

    .topbar{
      position:relative;
      z-index:110;
      color:#dce8ff;
      background:#082d6d;
      font-size:12px;
    }
    .topbar-inner{
      min-height:34px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:24px;
    }
    .topbar-contact{display:flex;align-items:center;gap:20px}
    .topbar a{transition:color .2s ease}
    .topbar a:hover{color:#fff}

    .header{
      position:relative;
      z-index:100;
      background:rgba(255,255,255,.98);
      border-bottom:1px solid var(--line);
      box-shadow:0 4px 18px rgba(16,35,69,.04);
    }
    .header-inner{
      min-height:76px;
      display:flex;
      align-items:center;
      gap:28px;
    }
    .logo{
      min-width:0;
      display:inline-flex;
      align-items:center;
      gap:10px;
      color:var(--primary);
      font-weight:800;
      letter-spacing:.01em;
    }
    .logo img{
      width:38px;
      height:38px;
      object-fit:contain;
      border-radius:10px;
    }
    .logo span{
      max-width:190px;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .main-nav{margin-left:auto;align-self:stretch}
    .nav-list{
      height:100%;
      margin:0;
      padding:0;
      display:flex;
      align-items:stretch;
      list-style:none;
    }
    .nav-item{
      position:relative;
      display:flex;
      align-items:center;
    }
    .nav-link{
      height:100%;
      padding:0 13px;
      display:flex;
      align-items:center;
      border:0;
      background:none;
      color:#28344a;
      font-size:14px;
      font-weight:700;
      white-space:nowrap;
      cursor:pointer;
    }
    .has-panel>.nav-link::after{
      content:"";
      width:6px;
      height:6px;
      margin:-4px 0 0 7px;
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform:rotate(45deg);
    }
    .nav-item:hover>.nav-link,
    .nav-item:focus-within>.nav-link{color:var(--primary)}
    .nav-item:hover>.nav-link::before,
    .nav-item:focus-within>.nav-link::before{
      content:"";
      position:absolute;
      right:12px;
      bottom:0;
      left:12px;
      height:3px;
      border-radius:3px 3px 0 0;
      background:var(--accent);
    }
    .dropdown-panel,
    .mega-menu{
      position:absolute;
      top:100%;
      right:0;
      visibility:hidden;
      opacity:0;
      transform:translateY(9px);
      pointer-events:none;
      transition:opacity .2s ease,transform .2s ease,visibility .2s;
      background:#fff;
      border:1px solid var(--line);
      border-radius:0 0 18px 18px;
      box-shadow:var(--shadow);
    }
    .dropdown-panel::before,
    .mega-menu::before{
      content:"";
      position:absolute;
      right:0;
      bottom:100%;
      left:0;
      height:8px;
    }
    .nav-item:hover>.dropdown-panel,
    .nav-item:focus-within>.dropdown-panel,
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.mega-menu{
      visibility:visible;
      opacity:1;
      transform:translateY(0);
      pointer-events:auto;
    }
    .dropdown-panel{width:330px;padding:14px}
    .dropdown-list{display:grid}
    .dropdown-list a{
      padding:10px 8px;
      overflow:hidden;
      color:#39465d;
      border-bottom:1px solid #eef1f6;
      font-size:13px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .dropdown-list a:hover{color:var(--primary)}
    .panel-entry{
      margin-top:10px;
      padding:10px 12px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      color:#fff;
      background:var(--primary);
      border-radius:10px;
      font-size:13px;
      font-weight:700;
    }
    .mega-menu{
      right:-150px;
      width:min(920px,calc(100vw - 40px));
      padding:22px;
    }
    .mega-heading{
      margin-bottom:16px;
      padding-bottom:13px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      border-bottom:1px solid var(--line);
    }
    .mega-heading strong{color:#17243d;font-size:16px}
    .mega-heading a,
    .mega-heading span{color:var(--primary);font-size:12px;font-weight:700}
    .mega-categories{
      margin:-2px 0 16px;
      display:flex;
      flex-wrap:wrap;
      gap:8px;
    }
    .mega-categories a{
      padding:6px 11px;
      color:#4d5870;
      background:#f1f4f9;
      border-radius:999px;
      font-size:12px;
    }
    .mega-categories a:hover{color:#fff;background:var(--accent)}
    .mega-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
    .mega-card{
      min-width:0;
      padding:11px;
      display:flex;
      align-items:flex-start;
      gap:10px;
      border:1px solid #edf0f5;
      border-radius:12px;
      transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease;
    }
    .mega-card:hover{
      border-color:#c9d6ed;
      box-shadow:0 10px 24px rgba(11,61,145,.09);
      transform:translateY(-2px);
    }
    .mega-card img{
      flex:0 0 auto;
      width:46px;
      height:46px;
      object-fit:cover;
      border-radius:10px;
      background:#f2f4f8;
    }
    .mega-card span{min-width:0;display:block}
    .mega-card strong{
      display:block;
      overflow:hidden;
      color:#26334a;
      font-size:13px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .mega-card p{
      margin:3px 0;
      display:-webkit-box;
      overflow:hidden;
      color:var(--muted);
      font-size:11px;
      line-height:1.45;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
    }
    .mega-card small{
      display:block;
      overflow:hidden;
      color:#7b8497;
      font-size:10px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .header-btns{
      display:flex;
      align-items:center;
      gap:9px;
      white-space:nowrap;
    }
    .header-btns>span,
    .header-btns>a{
      padding:8px 12px;
      border-radius:9px;
      font-size:12px;
      font-weight:700;
    }
    .header-btns>span{
      color:var(--primary);
      background:#edf3ff;
    }
    .header-btns>a{color:#fff;background:var(--primary)}
    .hamburger{
      width:42px;
      height:42px;
      padding:10px;
      display:none;
      position:relative;
      border:1px solid var(--line);
      border-radius:10px;
      background:#fff;
      cursor:pointer;
    }
    .hamburger span{
      width:20px;
      height:2px;
      margin:4px auto;
      display:block;
      background:var(--primary);
      transition:transform .25s ease,opacity .25s ease;
    }
    .hamburger.active span:nth-child(1){transform:translateY(6px) rotate(45deg)}
    .hamburger.active span:nth-child(2){opacity:0}
    .hamburger.active span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

    .drawer-overlay{
      position:fixed;
      z-index:190;
      inset:0;
      visibility:hidden;
      opacity:0;
      background:rgba(5,14,34,.58);
      backdrop-filter:blur(3px);
      transition:opacity .25s ease,visibility .25s;
    }
    .drawer-overlay.open{visibility:visible;opacity:1}
    .mobile-drawer{
      position:fixed;
      z-index:200;
      top:0;
      right:0;
      bottom:0;
      width:min(420px,90vw);
      overflow-y:auto;
      background:#fff;
      box-shadow:-20px 0 50px rgba(8,25,59,.2);
      transform:translateX(105%);
      transition:transform .28s ease;
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      min-height:76px;
      padding:16px 20px;
      display:flex;
      align-items:center;
      gap:10px;
      color:#fff;
      background:var(--primary);
    }
    .drawer-head>span{
      max-width:150px;
      overflow:hidden;
      font-size:13px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .drawer-head>a{
      margin-left:auto;
      padding:8px 12px;
      color:var(--primary);
      background:#fff;
      border-radius:8px;
      font-size:12px;
      font-weight:800;
    }
    .drawer-close{
      width:38px;
      height:38px;
      border:0;
      color:#fff;
      background:transparent;
      font-size:27px;
      line-height:1;
      cursor:pointer;
    }
    .drawer-menu{padding:16px 20px 30px}
    .drawer-link,
    .drawer-toggle{
      width:100%;
      padding:14px 4px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      border:0;
      border-bottom:1px solid var(--line);
      background:#fff;
      color:#26344c;
      text-align:left;
      font-weight:700;
      cursor:pointer;
    }
    .drawer-toggle::after{
      content:"+";
      color:var(--primary);
      font-size:20px;
      font-weight:400;
    }
    .drawer-toggle.active::after{content:"−"}
    .drawer-submenu{
      max-height:0;
      overflow:hidden;
      background:#f6f8fc;
      transition:max-height .3s ease;
    }
    .drawer-submenu.open{max-height:620px}
    .drawer-submenu a{
      padding:10px 14px;
      display:block;
      color:#58647a;
      border-bottom:1px solid #e9edf4;
      font-size:13px;
    }
    .drawer-submenu a:hover{color:var(--primary);background:#eef3fc}

    .tag-index-page{min-height:620px}
    .tag-index-page .tag-hero{
      position:relative;
      overflow:hidden;
      padding:72px 0 62px;
      color:#fff;
      background:
        radial-gradient(circle at 14% 20%,rgba(216,23,120,.38),transparent 27%),
        radial-gradient(circle at 87% 74%,rgba(68,132,241,.32),transparent 30%),
        linear-gradient(135deg,#071f4d 0%,#0B3D91 62%,#102c62 100%);
    }
    .tag-index-page .tag-hero::before,
    .tag-index-page .tag-hero::after{
      content:"";
      position:absolute;
      border:1px solid rgba(255,255,255,.13);
      border-radius:50%;
    }
    .tag-index-page .tag-hero::before{
      width:360px;
      height:360px;
      top:-210px;
      right:8%;
    }
    .tag-index-page .tag-hero::after{
      width:220px;
      height:220px;
      bottom:-150px;
      left:10%;
    }
    .tag-index-page .tag-kicker{
      margin:0 0 12px;
      display:inline-flex;
      align-items:center;
      gap:8px;
      color:#ffd6e9;
      font-size:13px;
      font-weight:800;
      letter-spacing:.12em;
    }
    .tag-index-page .tag-kicker::before{
      content:"";
      width:28px;
      height:3px;
      background:var(--accent);
      border-radius:3px;
    }
    .tag-index-page h1{
      max-width:780px;
      margin:0;
      font-size:clamp(32px,5vw,58px);
      line-height:1.2;
      letter-spacing:-.035em;
    }
    .tag-index-page .hero-copy{
      max-width:720px;
      margin:18px 0 0;
      color:#dce7fa;
      font-size:16px;
    }
    .tag-index-page .hero-guide{
      margin-top:27px;
      display:flex;
      flex-wrap:wrap;
      gap:9px;
    }
    .tag-index-page .hero-guide span{
      padding:7px 12px;
      color:#fff;
      background:rgba(255,255,255,.1);
      border:1px solid rgba(255,255,255,.18);
      border-radius:999px;
      font-size:12px;
      backdrop-filter:blur(8px);
    }
    .tag-index-page .tag-content{padding:58px 0 76px}
    .tag-index-page .content-head{
      margin-bottom:26px;
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:24px;
    }
    .tag-index-page .content-head h2{
      margin:0;
      color:#17243b;
      font-size:clamp(24px,3vw,34px);
      line-height:1.3;
    }
    .tag-index-page .content-head p{
      max-width:560px;
      margin:8px 0 0;
      color:var(--muted);
    }
    .tag-index-page .tag-count{
      flex:0 0 auto;
      padding:8px 13px;
      color:var(--accent-dark);
      background:#fff0f7;
      border:1px solid #ffd2e7;
      border-radius:999px;
      font-size:12px;
      font-weight:800;
    }
    .tag-index-page .tag-cloud{
      padding:34px;
      display:flex;
      flex-wrap:wrap;
      align-items:center;
      justify-content:center;
      gap:13px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:24px;
      box-shadow:var(--shadow);
    }
    .tag-index-page .tag-cloud a{
      position:relative;
      padding:11px 17px 11px 35px;
      color:#33415a;
      background:#f7f8fb;
      border:1px solid #e7eaf1;
      border-radius:999px;
      font-size:14px;
      font-weight:700;
      transition:color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease;
    }
    .tag-index-page .tag-cloud a::before{
      content:"#";
      position:absolute;
      left:16px;
      color:var(--accent);
      font-weight:900;
    }
    .tag-index-page .tag-cloud a:nth-child(3n+1){
      padding-block:14px;
      font-size:17px;
    }
    .tag-index-page .tag-cloud a:nth-child(4n+2){
      color:var(--primary);
      background:#eef4ff;
      border-color:#d7e3f7;
    }
    .tag-index-page .tag-cloud a:nth-child(5n){
      color:#8a1551;
      background:#fff1f7;
      border-color:#ffd5e8;
    }
    .tag-index-page .tag-cloud a:hover{
      color:#fff;
      background:var(--accent);
      border-color:var(--accent);
      box-shadow:0 10px 24px rgba(216,23,120,.22);
      transform:translateY(-3px);
    }
    .tag-index-page .tag-cloud a:hover::before{color:#fff}
    .tag-index-page .topic-help{
      margin-top:26px;
      padding:25px 28px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:25px;
      background:linear-gradient(120deg,#fff,#f1f5fc);
      border:1px solid var(--line);
      border-radius:18px;
    }
    .tag-index-page .topic-help h2{
      margin:0 0 5px;
      font-size:19px;
    }
    .tag-index-page .topic-help p{margin:0;color:var(--muted);font-size:14px}
    .tag-index-page .topic-help a{
      flex:0 0 auto;
      padding:11px 18px;
      color:#fff;
      background:var(--primary);
      border-radius:10px;
      font-size:13px;
      font-weight:800;
      box-shadow:0 8px 20px rgba(11,61,145,.2);
    }

    .footer{
      padding:58px 0 20px;
      color:#c7d3e8;
      background:#071a3a;
    }
    .footer-grid{
      display:grid;
      grid-template-columns:1.6fr 1fr 1fr 1fr;
      gap:42px;
    }
    .footer .logo{color:#fff}
    .footer-brand p{
      max-width:420px;
      margin:18px 0 0;
      color:#9eacc3;
      font-size:13px;
    }
    .footer h2{
      margin:7px 0 17px;
      color:#fff;
      font-size:14px;
    }
    .footer-links,
    .footer-contact{display:grid;gap:9px}
    .footer-links a,
    .footer-contact a{
      color:#aebbd0;
      font-size:13px;
      transition:color .2s ease,transform .2s ease;
    }
    .footer-links a:hover,
    .footer-contact a:hover{color:#fff;transform:translateX(2px)}
    .footer-social{margin-top:7px}
    .footer-bottom{
      margin-top:42px;
      padding-top:18px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      color:#8290a8;
      border-top:1px solid rgba(255,255,255,.1);
      font-size:12px;
    }

    @media (max-width:1100px){
      .main-nav{display:none}
      .hamburger{display:block}
      .header-btns{margin-left:auto}
      .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    }
    @media (max-width:720px){
      .container{width:min(100% - 28px,1180px)}
      .topbar-inner{padding:7px 0;align-items:flex-start;flex-direction:column;gap:2px}
      .topbar-contact{flex-wrap:wrap;gap:2px 14px}
      .header-inner{min-height:68px;gap:12px}
      .header .logo img{width:34px;height:34px}
      .header .logo span{max-width:120px;font-size:14px}
      .header-btns>span{display:none}
      .header-btns>a{padding:8px 9px;font-size:11px}
      .tag-index-page .tag-hero{padding:53px 0 46px}
      .tag-index-page .hero-copy{font-size:14px}
      .tag-index-page .tag-content{padding:40px 0 55px}
      .tag-index-page .content-head{align-items:flex-start;flex-direction:column;gap:12px}
      .tag-index-page .tag-cloud{padding:22px 16px;justify-content:flex-start;gap:9px}
      .tag-index-page .tag-cloud a,
      .tag-index-page .tag-cloud a:nth-child(3n+1){
        padding:9px 13px 9px 30px;
        font-size:13px;
      }
      .tag-index-page .tag-cloud a::before{left:13px}
      .tag-index-page .topic-help{align-items:flex-start;flex-direction:column}
      .footer-grid{grid-template-columns:1fr;gap:30px}
      .footer-bottom{align-items:flex-start;flex-direction:column;gap:7px}
    }
    @media (max-width:420px){
      .header-btns>a{display:none}
      .tag-index-page .hero-guide span:nth-child(n+4){display:none}
    }