:root{
      --primary:#0B3D91;
      --template-theme:{主题色};
      --primary-dark:#072b68;
      --primary-soft:#eaf1fc;
      --accent:#c2185b;
      --accent-soft:#fff0f6;
      --ink:#172033;
      --muted:#667085;
      --line:#e5e9f2;
      --surface:#ffffff;
      --background:#f5f7fb;
      --radius:18px;
      --shadow:0 16px 40px rgba(11,61,145,.10);
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:var(--background);
      font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
      line-height:1.7;
    }
    body.drawer-lock{overflow:hidden}
    img{display:block;max-width:100%}
    a{color:inherit;text-decoration:none}
    button,input{font:inherit}
    .container{width:min(1180px,calc(100% - 40px));margin-inline:auto}

    .topbar{
      color:#dce8ff;
      background:#061e48;
      font-size:13px;
    }
    .topbar-inner{
      min-height:36px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
    }
    .topbar-contact{display:flex;align-items:center;gap:20px}
    .topbar a:hover{color:#fff}

    .header{
      position:relative;
      z-index:40;
      background:rgba(255,255,255,.98);
      border-bottom:1px solid var(--line);
      box-shadow:0 4px 18px rgba(23,32,51,.04);
    }
    .header-inner{
      min-height:78px;
      display:flex;
      align-items:center;
      gap:24px;
    }
    .logo{
      display:inline-flex;
      align-items:center;
      gap:10px;
      min-width:0;
      font-weight:800;
      color:var(--primary);
      letter-spacing:.01em;
    }
    .logo img{
      width:42px;
      height:42px;
      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%;
      display:flex;
      align-items:stretch;
      gap:2px;
      margin:0;
      padding:0;
      list-style:none;
    }
    .nav-item{position:relative;display:flex;align-items:center}
    .nav-link{
      display:flex;
      align-items:center;
      height:100%;
      padding:0 12px;
      border:0;
      color:#344054;
      background:transparent;
      font-size:14px;
      font-weight:700;
      cursor:pointer;
      white-space:nowrap;
    }
    .has-panel>.nav-link::after{
      content:"";
      width:6px;
      height:6px;
      margin-left:7px;
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform:rotate(45deg) translateY(-2px);
    }
    .nav-link:hover,.nav-item:focus-within>.nav-link,.nav-item:hover>.nav-link{
      color:var(--primary);
      background:var(--primary-soft);
    }
    .dropdown-panel,.mega-menu{
      position:absolute;
      top:100%;
      opacity:0;
      visibility:hidden;
      pointer-events:none;
      transform:translateY(8px);
      transition:.2s ease;
      background:#fff;
      border:1px solid var(--line);
      box-shadow:0 24px 60px rgba(17,32,64,.16);
    }
    .nav-item:hover>.dropdown-panel,
    .nav-item:focus-within>.dropdown-panel,
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.mega-menu{
      opacity:1;
      visibility:visible;
      pointer-events:auto;
      transform:translateY(0);
    }
    .dropdown-panel{
      left:0;
      width:340px;
      padding:18px;
      border-radius:0 0 16px 16px;
    }
    .dropdown-list{display:grid;gap:5px}
    .dropdown-list a{
      padding:10px 12px;
      border-radius:10px;
      color:#344054;
      font-size:14px;
    }
    .dropdown-list a:hover{color:var(--primary);background:var(--primary-soft)}
    .panel-entry{
      display:flex;
      justify-content:space-between;
      margin-top:12px;
      padding:12px;
      color:#fff;
      background:var(--primary);
      border-radius:10px;
      font-size:14px;
      font-weight:800;
    }
    .mega-menu{
      left:50%;
      width:min(920px,calc(100vw - 40px));
      padding:22px;
      border-radius:0 0 20px 20px;
      transform:translate(-50%,8px);
    }
    .nav-item:hover>.mega-menu,.nav-item:focus-within>.mega-menu{
      transform:translate(-50%,0);
    }
    .nav-item:nth-last-child(-n+3) .mega-menu{
      left:auto;
      right:-100px;
      transform:translateY(8px);
    }
    .nav-item:nth-last-child(-n+3):hover>.mega-menu,
    .nav-item:nth-last-child(-n+3):focus-within>.mega-menu{
      transform:translateY(0);
    }
    .mega-heading{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      margin-bottom:16px;
      padding-bottom:13px;
      border-bottom:1px solid var(--line);
    }
    .mega-heading strong{color:var(--ink);font-size:17px}
    .mega-heading a,.mega-heading span{color:var(--primary);font-size:13px;font-weight:700}
    .mega-categories{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-bottom:16px;
    }
    .mega-categories a{
      padding:6px 11px;
      border-radius:999px;
      color:var(--primary);
      background:var(--primary-soft);
      font-size:12px;
      font-weight:700;
    }
    .mega-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
    .mega-card{
      min-width:0;
      display:flex;
      align-items:flex-start;
      gap:12px;
      padding:12px;
      border:1px solid var(--line);
      border-radius:13px;
      background:#fff;
      transition:.2s ease;
    }
    .mega-card:hover{border-color:#aac1e8;box-shadow:0 10px 24px rgba(11,61,145,.10);transform:translateY(-2px)}
    .mega-card img{
      flex:0 0 auto;
      width:52px;
      height:52px;
      object-fit:cover;
      border-radius:10px;
      background:#edf2fa;
    }
    .mega-card span{min-width:0}
    .mega-card strong{
      display:block;
      overflow:hidden;
      color:#24324a;
      font-size:13px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .mega-card p{
      display:-webkit-box;
      overflow:hidden;
      margin:4px 0;
      color:var(--muted);
      font-size:11px;
      line-height:1.45;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
    }
    .mega-card small{display:block;color:var(--muted);font-size:10px;line-height:1.5}

    .header-btns{
      display:flex;
      align-items:center;
      gap:9px;
      margin-left:4px;
      white-space:nowrap;
    }
    .header-btns>span,.header-btns>a{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:40px;
      padding:8px 14px;
      border-radius:10px;
      font-size:13px;
      font-weight:800;
    }
    .header-btns>span{color:var(--primary);background:var(--primary-soft)}
    .header-btns>a{color:#fff;background:var(--primary)}
    .header-btns>a:hover{background:var(--primary-dark)}
    .hamburger{
      display:none;
      width:44px;
      height:44px;
      padding:10px;
      border:1px solid var(--line);
      border-radius:10px;
      background:#fff;
      cursor:pointer;
    }
    .hamburger span{
      display:block;
      width:100%;
      height:2px;
      margin:5px 0;
      background:var(--ink);
      transition:.2s ease;
    }
    .hamburger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
    .hamburger.active span:nth-child(2){opacity:0}
    .hamburger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

    .drawer-overlay{
      position:fixed;
      inset:0;
      z-index:79;
      opacity:0;
      visibility:hidden;
      background:rgba(5,15,35,.58);
      backdrop-filter:blur(3px);
      transition:.25s ease;
    }
    .drawer-overlay.open{opacity:1;visibility:visible}
    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      bottom:0;
      z-index:80;
      width:min(390px,92vw);
      overflow-y:auto;
      background:#fff;
      box-shadow:-20px 0 50px rgba(5,15,35,.20);
      transform:translateX(105%);
      transition:.28s ease;
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      position:sticky;
      top:0;
      z-index:2;
      display:flex;
      align-items:center;
      gap:9px;
      padding:17px;
      background:#fff;
      border-bottom:1px solid var(--line);
    }
    .drawer-head>span,.drawer-head>a{
      padding:8px 11px;
      border-radius:8px;
      font-size:12px;
      font-weight:800;
    }
    .drawer-head>span{color:var(--primary);background:var(--primary-soft)}
    .drawer-head>a{color:#fff;background:var(--primary)}
    .drawer-close{
      width:38px;
      height:38px;
      margin-left:auto;
      border:0;
      border-radius:9px;
      color:var(--ink);
      background:#eef1f6;
      font-size:25px;
      cursor:pointer;
    }
    .drawer-menu{padding:12px 17px 30px}
    .drawer-link,.drawer-toggle{
      width:100%;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:14px 8px;
      border:0;
      border-bottom:1px solid var(--line);
      color:var(--ink);
      background:transparent;
      font-weight:800;
      text-align:left;
      cursor:pointer;
    }
    .drawer-toggle::after{content:"＋";color:var(--primary)}
    .drawer-toggle.active::after{content:"−"}
    .drawer-submenu{
      display:none;
      padding:7px 8px 12px 18px;
      border-bottom:1px solid var(--line);
      background:#fafbfe;
    }
    .drawer-submenu.open{display:grid}
    .drawer-submenu a{
      padding:8px 4px;
      color:#536076;
      font-size:13px;
    }
    .drawer-submenu a:hover{color:var(--primary)}

    .category-page{min-height:680px}
    .category-page .category-hero{
      position:relative;
      overflow:hidden;
      padding:74px 0 66px;
      color:#fff;
      background:
        radial-gradient(circle at 84% 18%,rgba(194,24,91,.38),transparent 25%),
        radial-gradient(circle at 10% 90%,rgba(83,128,203,.42),transparent 26%),
        linear-gradient(135deg,#061e48 0%,#0B3D91 58%,#154e9f 100%);
    }
    .category-page .category-hero::before{
      content:"";
      position:absolute;
      inset:0;
      opacity:.16;
      background-image:linear-gradient(rgba(255,255,255,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px);
      background-size:36px 36px;
      mask-image:linear-gradient(to bottom,#000,transparent);
    }
    .category-page .category-hero-inner{position:relative;z-index:1;max-width:850px}
    .category-page .breadcrumb{
      display:flex;
      flex-wrap:wrap;
      align-items:center;
      gap:8px;
      margin-bottom:18px;
      color:#dbe8ff;
      font-size:13px;
    }
    .category-page .breadcrumb a:hover{color:#fff}
    .category-page .category-kicker{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-bottom:13px;
      padding:6px 11px;
      border:1px solid rgba(255,255,255,.25);
      border-radius:999px;
      background:rgba(255,255,255,.11);
      font-size:12px;
      font-weight:800;
      letter-spacing:.08em;
    }
    .category-page .category-kicker::before{
      content:"";
      width:7px;
      height:7px;
      border-radius:50%;
      background:#ff4f98;
      box-shadow:0 0 0 5px rgba(255,79,152,.18);
    }
    .category-page h1{
      margin:0;
      font-size:clamp(34px,5vw,62px);
      line-height:1.18;
      letter-spacing:-.03em;
    }
    .category-page .category-description{
      max-width:720px;
      margin:18px 0 0;
      color:#e2ebfb;
      font-size:16px;
      line-height:1.9;
    }
    .category-page .category-toolbar{
      position:relative;
      z-index:2;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:18px;
      margin-top:-27px;
      padding:18px 22px;
      border:1px solid rgba(11,61,145,.10);
      border-radius:16px;
      background:#fff;
      box-shadow:var(--shadow);
    }
    .category-page .result-copy{font-size:14px;color:var(--muted)}
    .category-page .result-copy strong{color:var(--ink)}
    .category-page .topic-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
    .category-page .topic-links a{
      padding:7px 11px;
      border-radius:999px;
      color:var(--primary);
      background:var(--primary-soft);
      font-size:12px;
      font-weight:800;
    }
    .category-page .topic-links a:hover{color:#fff;background:var(--primary)}
    .category-page .article-section{padding:46px 0 84px}
    .category-page .section-heading{
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:20px;
      margin-bottom:22px;
    }
    .category-page .section-heading h2{margin:0;font-size:27px;line-height:1.3}
    .category-page .section-heading p{margin:0;color:var(--muted);font-size:13px}
    .category-page .article-list{display:grid;gap:20px}
    .category-page .article-card{
      min-width:0;
      display:grid;
      grid-template-columns:320px minmax(0,1fr);
      overflow:hidden;
      border:1px solid var(--line);
      border-radius:var(--radius);
      background:var(--surface);
      box-shadow:0 7px 24px rgba(28,43,70,.05);
      transition:.22s ease;
    }
    .category-page .article-card:hover{
      border-color:#b8cae8;
      box-shadow:var(--shadow);
      transform:translateY(-3px);
    }
    .category-page .article-image-link{
      position:relative;
      min-height:250px;
      overflow:hidden;
      background:#e9eef7;
    }
    .category-page .article-image-link img{
      width:100%;
      height:100%;
      object-fit:cover;
      transition:transform .45s ease;
    }
    .category-page .article-card:hover .article-image-link img{transform:scale(1.04)}
    .category-page .article-category{
      position:absolute;
      top:16px;
      left:16px;
      padding:6px 10px;
      border-radius:999px;
      color:#fff;
      background:rgba(194,24,91,.92);
      box-shadow:0 6px 16px rgba(83,0,36,.22);
      font-size:11px;
      font-weight:800;
    }
    .category-page .article-body{
      min-width:0;
      display:flex;
      flex-direction:column;
      padding:25px 28px 23px;
    }
    .category-page .article-title{
      margin:0;
      font-size:23px;
      line-height:1.45;
      letter-spacing:-.015em;
    }
    .category-page .article-title a:hover{color:var(--primary)}
    .category-page .article-summary{
      display:-webkit-box;
      overflow:hidden;
      margin:12px 0 16px;
      color:#596579;
      font-size:14px;
      line-height:1.85;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:3;
    }
    .category-page .article-meta{
      display:flex;
      flex-wrap:wrap;
      gap:8px 16px;
      margin-top:auto;
      color:#7a8597;
      font-size:12px;
    }
    .category-page .article-meta span{display:inline-flex;align-items:center;gap:5px}
    .category-page .article-tags{
      margin-top:12px;
      padding-top:12px;
      border-top:1px solid var(--line);
      color:#69758a;
      font-size:12px;
      overflow-wrap:anywhere;
    }
    .category-page .article-tags strong{color:var(--ink)}
    .category-page .article-actions{
      display:flex;
      align-items:center;
      justify-content:flex-end;
      margin-top:15px;
    }
    .category-page .read-more{
      display:inline-flex;
      align-items:center;
      gap:9px;
      color:var(--primary);
      font-size:13px;
      font-weight:900;
    }
    .category-page .read-more::after{
      content:"→";
      width:28px;
      height:28px;
      display:grid;
      place-items:center;
      border-radius:50%;
      color:#fff;
      background:var(--primary);
      transition:.2s ease;
    }
    .category-page .read-more:hover::after{transform:translateX(3px);background:var(--accent)}
    .category-page .pagination{
      display:flex;
      flex-wrap:wrap;
      justify-content:center;
      gap:8px;
      margin-top:38px;
    }
    .category-page .pagination a{
      min-width:42px;
      min-height:42px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:8px 13px;
      border:1px solid var(--line);
      border-radius:10px;
      color:#42506a;
      background:#fff;
      font-size:13px;
      font-weight:800;
    }
    .category-page .pagination a:hover,
    .category-page .pagination a.active,
    .category-page .pagination a.current{
      color:#fff;
      border-color:var(--primary);
      background:var(--primary);
    }

    .footer{
      color:#c8d3e5;
      background:#071a38;
    }
    .footer-grid{
      display:grid;
      grid-template-columns:1.5fr 1fr 1fr 1fr;
      gap:42px;
      padding:64px 0 42px;
    }
    .footer .logo{color:#fff}
    .footer .logo img{background:#fff}
    .footer-brand p{
      margin:18px 0 0;
      color:#9eabc0;
      font-size:13px;
      line-height:1.9;
    }
    .footer h2{
      margin:4px 0 18px;
      color:#fff;
      font-size:15px;
    }
    .footer-links,.footer-contact{display:grid;gap:10px}
    .footer-links a,.footer-contact a{
      color:#aebbd0;
      font-size:13px;
    }
    .footer-links a:hover,.footer-contact a:hover{color:#fff}
    .footer-social{margin-top:4px;color:#fff}
    .footer-bottom{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      padding:20px 0 28px;
      border-top:1px solid rgba(255,255,255,.10);
      color:#8594ab;
      font-size:12px;
    }

    @media (max-width:1080px){
      .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:760px){
      .container{width:min(100% - 28px,1180px)}
      .topbar-inner{min-height:42px}
      .topbar-inner>span{display:none}
      .topbar-contact{width:100%;justify-content:space-between;gap:10px}
      .topbar-contact a{font-size:11px}
      .header-inner{min-height:68px;gap:10px}
      .logo img{width:36px;height:36px}
      .logo span{max-width:125px;font-size:14px}
      .header-btns>span{display:none}
      .header-btns>a{min-height:38px;padding:7px 10px;font-size:12px}
      .hamburger{width:40px;height:40px}
      .category-page .category-hero{padding:55px 0 58px}
      .category-page .category-description{font-size:14px}
      .category-page .category-toolbar{
        align-items:flex-start;
        flex-direction:column;
        margin-top:-22px;
        padding:16px;
      }
      .category-page .topic-links{justify-content:flex-start}
      .category-page .article-section{padding:38px 0 62px}
      .category-page .section-heading{align-items:flex-start;flex-direction:column;gap:6px}
      .category-page .article-card{grid-template-columns:1fr}
      .category-page .article-image-link{min-height:215px;aspect-ratio:16/9}
      .category-page .article-body{padding:21px 20px}
      .category-page .article-title{font-size:20px}
      .category-page .article-summary{-webkit-line-clamp:3}
      .footer-grid{grid-template-columns:1fr;gap:30px;padding:48px 0 34px}
      .footer-bottom{align-items:flex-start;flex-direction:column}
    }
    @media (max-width:430px){
      .topbar-contact a:first-child{display:none}
      .topbar-contact{justify-content:flex-end}
      .logo span{max-width:105px}
      .category-page .article-image-link{min-height:190px}
      .category-page .article-meta{display:grid;grid-template-columns:1fr 1fr}
      .category-page .article-actions{justify-content:flex-start}
    }