:root {
      --theme: #0B3D91;
      --template-theme: {主题色};
      --theme-dark: #072b68;
      --theme-soft: #eef4ff;
      --accent: #d41472;
      --accent-soft: #fff0f7;
      --ink: #172033;
      --muted: #667085;
      --line: #e4e8ef;
      --surface: #ffffff;
      --background: #f5f7fa;
      --shadow: 0 16px 40px rgba(15, 32, 64, .10);
      --radius: 18px;
      --container: 1200px;
    }

    * {
      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.65;
    }

    body.drawer-lock {
      overflow: hidden;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input {
      font: inherit;
    }

    button {
      color: inherit;
    }

    .container {
      width: min(calc(100% - 40px), var(--container));
      margin-inline: auto;
    }

    .topbar {
      color: #eaf2ff;
      background: var(--theme-dark);
      font-size: 13px;
    }

    .topbar-inner {
      min-height: 38px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .topbar-contact {
      display: flex;
      align-items: center;
      gap: 22px;
    }

    .topbar a {
      transition: color .2s ease;
    }

    .topbar a:hover {
      color: #ffffff;
    }

    .header {
      position: relative;
      z-index: 30;
      background: rgba(255, 255, 255, .98);
      border-bottom: 1px solid var(--line);
      box-shadow: 0 5px 18px rgba(19, 38, 75, .04);
    }

    .header-inner {
      min-height: 78px;
      display: flex;
      align-items: center;
      gap: 26px;
    }

    .logo {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      gap: 11px;
      color: var(--theme);
      font-size: 19px;
      font-weight: 800;
      letter-spacing: -.02em;
    }

    .logo img {
      width: 42px;
      height: 42px;
      object-fit: contain;
      border-radius: 10px;
    }

    .main-nav {
      min-width: 0;
      margin-left: auto;
    }

    .nav-list {
      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 {
      position: relative;
      display: flex;
      align-items: center;
      min-height: 78px;
      padding: 0 13px;
      color: #26334c;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
      cursor: pointer;
    }

    .has-panel > .nav-link::after {
      width: 6px;
      height: 6px;
      margin: -4px 0 0 8px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      content: "";
      transform: rotate(45deg);
      transition: transform .2s ease;
    }

    .nav-link::before {
      position: absolute;
      right: 13px;
      bottom: 0;
      left: 13px;
      height: 3px;
      border-radius: 3px 3px 0 0;
      background: var(--accent);
      content: "";
      opacity: 0;
      transform: scaleX(.3);
      transition: .2s ease;
    }

    .nav-item:hover > .nav-link,
    .nav-item:focus-within > .nav-link {
      color: var(--theme);
    }

    .nav-item:hover > .nav-link::before,
    .nav-item:focus-within > .nav-link::before {
      opacity: 1;
      transform: scaleX(1);
    }

    .nav-item:hover > .nav-link::after,
    .nav-item:focus-within > .nav-link::after {
      transform: rotate(225deg);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      visibility: hidden;
      margin-top: 0;
      border: 1px solid var(--line);
      border-radius: 0 0 18px 18px;
      background: var(--surface);
      box-shadow: var(--shadow);
      opacity: 0;
      transform: translateY(8px);
      pointer-events: none;
      transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .dropdown-panel::before,
    .mega-menu::before {
      position: absolute;
      right: 0;
      bottom: 100%;
      left: 0;
      height: 10px;
      content: "";
    }

    .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 {
      left: 0;
      width: 340px;
      padding: 16px;
    }

    .dropdown-list {
      display: grid;
      gap: 4px;
    }

    .dropdown-list a {
      overflow: hidden;
      padding: 10px 12px;
      border-radius: 9px;
      color: #34415b;
      font-size: 14px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .dropdown-list a:hover {
      color: var(--theme);
      background: var(--theme-soft);
    }

    .panel-entry {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 10px;
      padding: 11px 12px;
      border-top: 1px solid var(--line);
      color: var(--theme);
      font-size: 14px;
      font-weight: 800;
    }

    .mega-menu {
      left: 50%;
      width: min(900px, calc(100vw - 48px));
      padding: 22px;
      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 {
      right: -110px;
      left: auto;
      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(--theme);
      font-size: 13px;
      font-weight: 700;
    }

    .mega-categories {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 16px;
    }

    .mega-categories a {
      padding: 7px 12px;
      border: 1px solid #dce5f4;
      border-radius: 999px;
      color: #42506a;
      background: #f8faff;
      font-size: 12px;
      font-weight: 700;
    }

    .mega-categories a:hover {
      color: #ffffff;
      border-color: var(--theme);
      background: var(--theme);
    }

    .mega-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }

    .mega-card {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 11px;
      padding: 11px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #ffffff;
      transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    }

    .mega-card:hover {
      border-color: #b9cbed;
      box-shadow: 0 8px 20px rgba(11, 61, 145, .09);
      transform: translateY(-2px);
    }

    .mega-card img {
      flex: 0 0 54px;
      width: 54px;
      height: 54px;
      object-fit: cover;
      border-radius: 10px;
      background: #f1f4f8;
    }

    .mega-card span {
      min-width: 0;
      display: block;
    }

    .mega-card strong,
    .mega-card p,
    .mega-card small {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-card strong {
      color: #26334c;
      font-size: 13px;
    }

    .mega-card p {
      margin: 3px 0;
      color: var(--muted);
      font-size: 11px;
    }

    .mega-card small {
      color: #7a8497;
      font-size: 10px;
    }

    .header-btns {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      gap: 9px;
    }

    .header-btns > span,
    .header-btns > a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 40px;
      padding: 0 15px;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 800;
    }

    .header-btns > span {
      color: var(--theme);
      border: 1px solid #cbd8ed;
      background: #ffffff;
    }

    .header-btns > a {
      color: #ffffff;
      background: var(--theme);
      box-shadow: 0 8px 18px rgba(11, 61, 145, .20);
    }

    .header-btns > a:hover {
      background: var(--theme-dark);
    }

    .hamburger {
      width: 42px;
      height: 42px;
      display: none;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      padding: 0;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #ffffff;
      cursor: pointer;
    }

    .hamburger span {
      width: 20px;
      height: 2px;
      border-radius: 2px;
      background: var(--ink);
      transition: .25s 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;
      z-index: 90;
      inset: 0;
      visibility: hidden;
      background: rgba(8, 20, 42, .55);
      opacity: 0;
      transition: .25s ease;
    }

    .drawer-overlay.open {
      visibility: visible;
      opacity: 1;
    }

    .mobile-drawer {
      position: fixed;
      z-index: 100;
      top: 0;
      right: 0;
      width: min(420px, 92vw);
      height: 100dvh;
      overflow-y: auto;
      background: #ffffff;
      box-shadow: -20px 0 50px rgba(8, 20, 42, .18);
      transform: translateX(105%);
      transition: transform .28s ease;
    }

    .mobile-drawer.open {
      transform: translateX(0);
    }

    .drawer-head {
      position: sticky;
      z-index: 2;
      top: 0;
      display: grid;
      grid-template-columns: 1fr auto auto;
      align-items: center;
      gap: 9px;
      min-height: 72px;
      padding: 14px 18px;
      border-bottom: 1px solid var(--line);
      background: rgba(255, 255, 255, .97);
    }

    .drawer-head > span {
      color: var(--theme);
      font-size: 13px;
      font-weight: 800;
    }

    .drawer-head > a {
      padding: 9px 13px;
      border-radius: 9px;
      color: #ffffff;
      background: var(--theme);
      font-size: 12px;
      font-weight: 800;
    }

    .drawer-close {
      width: 38px;
      height: 38px;
      padding: 0;
      border: 1px solid var(--line);
      border-radius: 9px;
      background: #ffffff;
      font-size: 25px;
      line-height: 1;
      cursor: pointer;
    }

    .drawer-menu {
      padding: 14px 18px 30px;
    }

    .drawer-link,
    .drawer-toggle {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 50px;
      padding: 10px 8px;
      border: 0;
      border-bottom: 1px solid var(--line);
      background: transparent;
      color: #26334c;
      font-weight: 800;
      text-align: left;
      cursor: pointer;
    }

    .drawer-toggle::after {
      width: 8px;
      height: 8px;
      margin-right: 5px;
      border-right: 2px solid var(--theme);
      border-bottom: 2px solid var(--theme);
      content: "";
      transform: rotate(45deg);
      transition: .2s ease;
    }

    .drawer-toggle.active::after {
      transform: rotate(225deg);
    }

    .drawer-submenu {
      max-height: 0;
      overflow: hidden;
      padding: 0 8px;
      background: #f7f9fc;
      transition: max-height .3s ease, padding .3s ease;
    }

    .drawer-submenu.open {
      max-height: 620px;
      padding: 8px;
    }

    .drawer-submenu a {
      display: block;
      padding: 9px 12px;
      border-radius: 8px;
      color: #536078;
      font-size: 13px;
    }

    .drawer-submenu a:hover {
      color: var(--theme);
      background: var(--theme-soft);
    }

    .video-page {
      min-height: 640px;
    }

    .video-page .video-intro {
      position: relative;
      overflow: hidden;
      padding: 72px 0 60px;
      color: #ffffff;
      background:
        radial-gradient(circle at 16% 10%, rgba(212, 20, 114, .35), transparent 28%),
        radial-gradient(circle at 88% 86%, rgba(80, 143, 255, .30), transparent 30%),
        linear-gradient(135deg, #071c43 0%, var(--theme) 58%, #102f6f 100%);
    }

    .video-page .video-intro::before {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
      background-size: 34px 34px;
      content: "";
      pointer-events: none;
    }

    .video-page .intro-content {
      position: relative;
      z-index: 1;
      max-width: 820px;
      margin-inline: auto;
      text-align: center;
    }

    .video-page .intro-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 16px;
      padding: 7px 13px;
      border: 1px solid rgba(255,255,255,.25);
      border-radius: 999px;
      background: rgba(255,255,255,.09);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .08em;
    }

    .video-page .intro-label::before {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ff5bac;
      box-shadow: 0 0 0 5px rgba(255,91,172,.16);
      content: "";
    }

    .video-page .video-intro h1 {
      margin: 0;
      font-size: clamp(34px, 5vw, 58px);
      line-height: 1.18;
      letter-spacing: -.04em;
    }

    .video-page .video-intro p {
      max-width: 700px;
      margin: 20px auto 0;
      color: #dbe7ff;
      font-size: 16px;
    }

    .video-page .video-categories {
      margin-top: -24px;
      position: relative;
      z-index: 3;
    }

    .video-page .category-bar {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 9px;
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: #ffffff;
      box-shadow: var(--shadow);
    }

    .video-page .category-bar a {
      padding: 9px 15px;
      border: 1px solid #dfe5ef;
      border-radius: 999px;
      color: #47546c;
      background: #f8f9fc;
      font-size: 13px;
      font-weight: 800;
      transition: .2s ease;
    }

    .video-page .category-bar a:hover {
      color: #ffffff;
      border-color: var(--accent);
      background: var(--accent);
      transform: translateY(-2px);
    }

    .video-page .video-library {
      padding: 62px 0 78px;
    }

    .video-page .section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 26px;
    }

    .video-page .section-head h2 {
      margin: 0;
      color: var(--ink);
      font-size: clamp(25px, 3vw, 36px);
      line-height: 1.25;
      letter-spacing: -.03em;
    }

    .video-page .section-head p {
      max-width: 560px;
      margin: 7px 0 0;
      color: var(--muted);
      font-size: 14px;
    }

    .video-page .section-count {
      flex: 0 0 auto;
      padding: 8px 13px;
      border-radius: 999px;
      color: var(--theme);
      background: var(--theme-soft);
      font-size: 12px;
      font-weight: 800;
    }

    .video-page .video-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
    }

    .video-page .video-card {
      min-width: 0;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #ffffff;
      box-shadow: 0 8px 26px rgba(18, 38, 73, .06);
      transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    }

    .video-page .video-card:hover {
      border-color: #bdcce6;
      box-shadow: 0 18px 38px rgba(11, 61, 145, .13);
      transform: translateY(-5px);
    }

    .video-page .video-cover {
      position: relative;
      display: block;
      overflow: hidden;
      aspect-ratio: 16 / 9;
      background: #dfe5ef;
    }

    .video-page .video-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .4s ease;
    }

    .video-page .video-card:hover .video-cover img {
      transform: scale(1.045);
    }

    .video-page .play-button {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 54px;
      height: 54px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(255,255,255,.6);
      border-radius: 50%;
      color: #ffffff;
      background: rgba(11,61,145,.88);
      box-shadow: 0 10px 28px rgba(0,0,0,.28);
      transform: translate(-50%, -50%);
      transition: .25s ease;
    }

    .video-page .play-button::before {
      margin-left: 4px;
      border-top: 8px solid transparent;
      border-bottom: 8px solid transparent;
      border-left: 13px solid #ffffff;
      content: "";
    }

    .video-page .video-card:hover .play-button {
      background: var(--accent);
      transform: translate(-50%, -50%) scale(1.08);
    }

    .video-page .duration {
      position: absolute;
      right: 10px;
      bottom: 10px;
      padding: 4px 8px;
      border-radius: 6px;
      color: #ffffff;
      background: rgba(8, 15, 29, .78);
      font-size: 11px;
      font-weight: 800;
    }

    .video-page .video-card-body {
      padding: 19px 19px 20px;
    }

    .video-page .video-topic {
      display: inline-block;
      margin-bottom: 8px;
      color: var(--accent);
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .06em;
    }

    .video-page .video-card h3 {
      margin: 0;
      color: #202c43;
      font-size: 18px;
      line-height: 1.45;
    }

    .video-page .video-card h3 a:hover {
      color: var(--theme);
    }

    .video-page .video-card p {
      min-height: 3.3em;
      margin: 10px 0 16px;
      overflow: hidden;
      color: var(--muted);
      display: -webkit-box;
      font-size: 13px;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .video-page .video-card-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding-top: 14px;
      border-top: 1px solid var(--line);
    }

    .video-page .video-card-footer span {
      color: #7a8496;
      font-size: 12px;
    }

    .video-page .video-card-footer a {
      color: var(--theme);
      font-size: 12px;
      font-weight: 900;
    }

    .video-page .video-card-footer a:hover {
      color: var(--accent);
    }

    .video-page .pagination {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
      margin-top: 42px;
    }

    .video-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: #46536b;
      background: #ffffff;
      font-size: 13px;
      font-weight: 800;
      transition: .2s ease;
    }

    .video-page .pagination a:hover,
    .video-page .pagination a.active,
    .video-page .pagination a.current {
      color: #ffffff;
      border-color: var(--theme);
      background: var(--theme);
      box-shadow: 0 8px 18px rgba(11,61,145,.18);
    }

    .video-page .learning-note {
      margin-top: 55px;
      padding: 28px;
      border: 1px solid #f1ccdf;
      border-radius: 18px;
      background: linear-gradient(135deg, #ffffff, var(--accent-soft));
    }

    .video-page .learning-note h2 {
      margin: 0 0 8px;
      color: #912152;
      font-size: 21px;
    }

    .video-page .learning-note p {
      margin: 0;
      color: #6f5663;
      font-size: 14px;
    }

    .footer {
      color: #d9e4f7;
      background: #071a3b;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 42px;
      padding: 58px 0 42px;
    }

    .footer .logo {
      color: #ffffff;
    }

    .footer-brand p {
      max-width: 420px;
      margin: 18px 0 0;
      color: #aebbd0;
      font-size: 13px;
    }

    .footer h2 {
      margin: 4px 0 17px;
      color: #ffffff;
      font-size: 15px;
    }

    .footer-links,
    .footer-contact {
      display: grid;
      gap: 10px;
    }

    .footer-links a,
    .footer-contact a {
      color: #b9c5d9;
      font-size: 13px;
      transition: color .2s ease, transform .2s ease;
    }

    .footer-links a:hover,
    .footer-contact a:hover {
      color: #ffffff;
      transform: translateX(3px);
    }

    .footer-social {
      margin-top: 7px;
      color: #ffffff;
    }

    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      padding: 20px 0 26px;
      border-top: 1px solid rgba(255,255,255,.12);
      color: #94a3bb;
      font-size: 12px;
    }

    @media (max-width: 1120px) {
      .main-nav {
        display: none;
      }

      .hamburger {
        display: flex;
      }

      .header-btns {
        margin-left: auto;
      }

      .video-page .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 720px) {
      .container {
        width: min(calc(100% - 28px), var(--container));
      }

      .topbar-inner {
        padding: 8px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
      }

      .topbar-contact {
        flex-wrap: wrap;
        gap: 4px 15px;
      }

      .header-inner {
        min-height: 68px;
      }

      .header .logo span {
        max-width: 128px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .header-btns > span,
      .header-btns > a {
        display: none;
      }

      .video-page .video-intro {
        padding: 54px 0 48px;
      }

      .video-page .video-intro h1 {
        font-size: 34px;
      }

      .video-page .video-intro p {
        font-size: 14px;
      }

      .video-page .category-bar {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 14px;
      }

      .video-page .category-bar a {
        flex: 0 0 auto;
      }

      .video-page .video-library {
        padding: 48px 0 62px;
      }

      .video-page .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
      }

      .video-page .video-grid {
        grid-template-columns: 1fr;
      }

      .video-page .learning-note {
        padding: 22px;
      }

      .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 44px 0 34px;
      }

      .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
      }
    }

    @media (max-width: 420px) {
      .logo img {
        width: 36px;
        height: 36px;
      }

      .drawer-head {
        grid-template-columns: 1fr auto;
      }

      .drawer-head > span {
        grid-column: 1 / -1;
      }

      .video-page .video-card-body {
        padding: 17px;
      }
    }