
    :root {
      --purple: #512a86;
      --purple-dark: #37185f;
      --purple-light: #7854a6;
      --lavender: #eee7f6;
      --paper: #f1eef5;
      --ink: #30273d;
      --muted: #71657e;
      --line: #e4dceb;
      --white: #fff;
      --sidebar: 174px;
    }
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 20px; }
    body {
      margin: 0; color: var(--ink); background: var(--paper);
      font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
      font-size: 14px; line-height: 1.85; -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; cursor: pointer; }
    img { display: block; max-width: 100%; }
    svg { display: block; }
    [hidden] { display: none !important; }
    a, button { -webkit-tap-highlight-color: transparent; }
    a:focus-visible, button:focus-visible { outline: 3px solid #aa79dc; outline-offset: 4px; }
    ::selection { background: #e0c9f2; color: #32144e; }
    .skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 18px; background: white; transform: translateY(-160%); }
    .skip-link:focus { transform: none; }
    .site-shell { width: min(1180px, calc(100% - 56px)); margin: 27px auto 35px; background: white; box-shadow: 0 8px 45px #38204f0d; }
    .utility { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 27px; background: #fcfbfd; border-top: 3px solid var(--purple-dark); font-size: 11px; }
    .preview-tag { color: var(--muted); font-size: 9px; letter-spacing: .12em; white-space: nowrap; }
    .utility-nav { display: flex; gap: 22px; flex-wrap: wrap; }
    .utility-nav:only-child { margin-left: auto; }
    .utility-nav a { color: var(--purple); }
    .utility-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
    .masthead { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); position: relative; background: linear-gradient(112deg, #482078, #624094 74%, #7454a1); color: white; border-bottom: 4px solid #b29acb; overflow: hidden; }
    .university-link { display: flex; align-items: center; justify-content: center; position: relative; min-height: 155px; background: #411b76; z-index: 1; }
    .university-image { width: 120px; height: 120px; object-fit: contain; opacity: 0; }
    .university-link.is-loaded .university-image { opacity: 1; }
    .university-fallback { position: absolute; text-align: center; line-height: 1.5; letter-spacing: .13em; color: white; }
    .university-fallback b { display: block; font-size: 17px; letter-spacing: .18em; margin-bottom: 8px; }
    .university-fallback span { font-size: 9px; }
    .university-link.is-loaded .university-fallback { display: none; }
    .title-block { display: flex; align-items: center; gap: 22px; padding: 31px 36px; position: relative; z-index: 1; }
    .brand-tiles { display: grid; grid-template-columns: repeat(3, 12px); grid-template-rows: repeat(3, 12px); gap: 4px; flex-shrink: 0; }
    .brand-tiles i { background: #d1b9ed; }
    .brand-tiles i:nth-child(2), .brand-tiles i:nth-child(5) { background: #e8dcf7; }
    .brand-tiles i:nth-child(3), .brand-tiles i:nth-child(4), .brand-tiles i:nth-child(7), .brand-tiles i:nth-child(8) { visibility: hidden; }
    .affiliation { margin: 0 0 5px; color: #e0d2ef; font-size: 11px; letter-spacing: .13em; }
    .masthead .brand-title { margin: 0; font-size: clamp(23px, 2.7vw, 32px); font-weight: 600; line-height: 1.55; letter-spacing: .035em; }
    .brand-english { margin: 7px 0 0; font-size: 11px; color: #e8ddf4; line-height: 1.7; letter-spacing: .025em; }
    .masthead-pattern { position: absolute; inset: 0 0 0 auto; width: 300px; opacity: .17; pointer-events: none; }
    .masthead-pattern::before, .masthead-pattern::after { content: ""; position: absolute; width: 215px; height: 215px; border: 1px solid #ddc5f5; border-radius: 50%; right: -30px; top: -100px; }
    .masthead-pattern::after { right: 35px; top: 50px; width: 135px; height: 135px; border-width: 20px; }
    .menu-button { display: none; }
    .layout { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); align-items: stretch; }
    .sidebar { background: linear-gradient(180deg, #583087, #6c4699 45%, #7556a0); color: white; padding-top: 22px; }
    .sidebar-inner { position: sticky; top: 20px; }
    .main-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 19px 15px 22px; border-bottom: 1px solid #ffffff20; border-left: 3px solid transparent; transition: background .2s; }
    .nav-en { display: block; font-size: 15px; font-weight: 600; letter-spacing: .015em; line-height: 1.5; }
    .nav-ja { display: block; font-size: 10px; opacity: .78; margin-top: 2px; font-weight: 400; }
    .nav-arrow { color: #d1bfe1; font-size: 13px; flex-shrink: 0; }
    .main-nav a:hover { background: #ffffff12; }
    .main-nav .current { background: white; color: var(--purple); border-left-color: #ac87cf; }
    .main-nav .current .nav-arrow { color: var(--purple); }
    .main-nav .current:hover { background: #f8f4fc; }
    .sidebar-access { margin: 30px 19px; padding: 20px 0 0; border-top: 1px solid #ffffff30; }
    .sidebar-label { color: #e0d2ed; margin: 0 0 10px; font-size: 9px; letter-spacing: .13em; }
    .protected-link { display: flex; align-items: start; gap: 9px; font-size: 11px; line-height: 1.9; }
    .protected-link svg { width: 12px; height: 15px; flex-shrink: 0; margin-top: 3px; }
    .protected-link:hover { text-decoration: underline; text-underline-offset: 4px; }
    main { min-width: 0; padding: 0 32px 44px; }
    .breadcrumb { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 61px; color: var(--muted); font-size: 11px; }
    .breadcrumb-home { display: flex; align-items: center; gap: 9px; }
    .breadcrumb-home::before { content: ""; width: 5px; height: 5px; background: var(--purple-light); }
    .field-mark { font-size: 10px; letter-spacing: .08em; color: var(--purple); }
    .hero { margin: 0; }
    .hero-stage { position: relative; width: 100%; aspect-ratio: 1.95; overflow: hidden; background: #e3d9ee; }
    .hero-fallback { width: 100%; height: 100%; }
    .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 61%; opacity: 0; transition: opacity .35s; }
    .hero-stage.is-loaded .hero-photo { opacity: 1; }
    .hero-caption { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 19px; border-bottom: 2px solid var(--purple); background: #f6f2fa; }
    .hero-caption strong { display: block; color: var(--purple); font-size: 10px; font-weight: 600; letter-spacing: .12em; line-height: 1.6; }
    .hero-caption p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }
    .hero-caption a:only-child { margin-left: auto; }
    .hero-caption a { font-size: 11px; font-weight: 600; white-space: nowrap; color: var(--purple); }
    .arrow { display: inline-block; margin-left: 13px; transition: transform .2s; }
    a:hover .arrow { transform: translateX(3px); }
    .top-banners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 13px; }
    .legacy-banner { display: block; border: 1px solid var(--line); background: #f5f0fa; transition: border-color .2s; }
    .legacy-banner:hover { border-color: var(--purple-light); }
    .legacy-banner img { width: 100%; height: auto; }
    .legacy-banner .banner-fallback { display: none; }
    .legacy-banner.is-missing .banner-fallback { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 70px; padding: 14px; color: var(--purple); font-size: 12px; }
    .project-banner { margin-top: 13px; }
    .project-banner.is-missing .banner-fallback { min-height: 90px; font-size: 14px; padding: 22px; }
    .updates { margin-top: 35px; }
    .news-block + .news-block { margin-top: 26px; }
    .section-title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.7; }
    .section-title > a, .section-title-inner { display: flex; align-items: center; gap: 11px; padding: 10px 13px; background: linear-gradient(90deg, #eee7f6, #f9f6fc); border-top: 1px solid #ded1eb; border-bottom: 1px solid #e8deef; border-left: 3px solid var(--purple); }
    .section-title > a:hover { background: #eee5f7; }
    .section-title .en { font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: .025em; }
    .section-title .arrow { margin-left: auto; padding-left: 10px; color: var(--purple); font-size: 16px; font-weight: 400; }
    .rss-icon { width: 16px; height: 16px; color: var(--purple-light); flex-shrink: 0; }
    .list-line { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0; padding: 15px 17px 4px; font-size: 12px; }
    .list-line p { margin: 0; }
    .list-line a { color: var(--purple); border-bottom: 1px solid #c3abd9; padding-bottom: 2px; white-space: nowrap; font-size: 12px; }
    .album { margin-top: 35px; }
    .album-heading { display: flex; align-items: center; gap: 12px; margin: 0 0 15px; color: var(--purple); font-size: 12px; font-weight: 600; letter-spacing: .03em; }
    .album-heading::after { content: ""; height: 1px; background: var(--line); flex: 1; }
    .album-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
    .album-link { display: block; min-width: 0; }
    .album-photo { position: relative; aspect-ratio: 1.65; overflow: hidden; background: #eee7f5; }
    .album-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--purple-light); font-size: 10px; letter-spacing: .12em; background: linear-gradient(135deg, #eee6f6, #f9f6fc); }
    .album-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: transform .35s, opacity .35s; }
    .album-photo.is-loaded img { opacity: 1; }
    .album-link:hover img { transform: scale(1.025); }
    .album-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 2px 0; font-size: 12px; }
    .album-label .arrow { color: var(--purple); }
    .contact { margin-top: 40px; padding-top: 28px; border-top: 2px solid var(--purple); display: grid; grid-template-columns: 1fr auto; gap: 25px; }
    .contact h2 { margin: 0 0 11px; font-size: 20px; font-weight: 600; color: var(--purple); }
    .contact address { font-style: normal; font-size: 12px; color: var(--muted); line-height: 2; }
    .contact address strong { display: block; font-weight: 400; margin-bottom: 11px; color: var(--ink); }
    .contact address .tel { display: block; margin-top: 10px; }
    .contact-actions { display: flex; flex-direction: column; gap: 10px; align-items: start; padding-top: 6px; font-size: 11px; color: var(--purple); }
    .contact-actions a { border-bottom: 1px solid #dacbe8; padding: 5px 0; }
    .contact-actions a:hover, .contact address a:hover { text-decoration: underline; text-underline-offset: 4px; }
    .support { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); margin-top: 25px; padding-top: 23px; }
    .support p { margin: 0; font-size: 10px; color: var(--muted); line-height: 1.9; }
    .support p strong { color: var(--ink); font-weight: 500; }
    .support-image { width: 150px; height: auto; }
    .support-fallback { display: none; font-size: 12px; color: var(--purple); }
    .support-logo.is-missing .support-fallback { display: block; }
    .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 19px 26px; background: var(--purple-dark); color: #d7c5e8; font-size: 10px; }
    .site-footer a { color: white; font-size: 10px; white-space: nowrap; }
    .site-footer a:hover { text-decoration: underline; }
    @media (max-width: 1050px) {
      :root { --sidebar: 158px; }
      .site-shell { width: calc(100% - 36px); margin-top: 18px; }
      .title-block { padding-inline: 27px; gap: 18px; }
      .brand-english { max-width: 560px; font-size: 10px; }
      main { padding-inline: 26px; }
      .main-nav a { padding-inline: 17px 12px; }
      .nav-en { font-size: 14px; }
      .hero-caption strong { font-size: 9px; }
    }
    @media (max-width: 800px) {
      .site-shell { width: 100%; margin: 0; box-shadow: none; }
      .utility { padding: 9px 20px; }
      .utility-nav { gap: 18px; font-size: 10px; }
      .utility-nav .utility-rss { display: none; }
      .masthead { grid-template-columns: 95px minmax(0, 1fr); overflow: visible; }
      .university-link { min-height: 119px; }
      .university-image { width: 84px; height: 84px; }
      .university-fallback b { font-size: 12px; }
      .university-fallback span { font-size: 6px; }
      .title-block { padding: 23px 82px 23px 23px; gap: 0; }
      .brand-tiles { display: none; }
      .affiliation { font-size: 9px; letter-spacing: .06em; }
      .masthead .brand-title { font-size: 22px; }
      .brand-english { font-size: 9px; letter-spacing: 0; margin-top: 4px; }
      .masthead-pattern { display: none; }
      .js .menu-button { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; position: absolute; right: 17px; top: 39px; z-index: 2; width: 48px; min-height: 44px; padding: 7px 4px; border: 1px solid #ffffff65; color: white; background: #ffffff08; }
      .menu-lines { display: grid; gap: 4px; width: 18px; }
      .menu-lines i { display: block; height: 1px; background: white; }
      .menu-text { font-size: 7px; letter-spacing: .07em; line-height: 1; }
      .layout { display: block; }
      .sidebar { padding-top: 0; }
      .sidebar-inner { position: static; }
      .js .sidebar { display: none; }
      .js .sidebar.is-open { display: block; }
      .main-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .main-nav a { padding: 13px 20px; border-left: 0; }
      .nav-en { font-size: 13px; }
      .nav-ja { font-size: 10px; }
      .main-nav .current { background: #ffffff12; color: white; }
      .main-nav .current .nav-arrow { color: white; }
      .main-nav .current:hover { background: #ffffff20; }
      .sidebar-access { margin: 0; padding: 15px 20px 20px; border: 0; }
      .sidebar-label { margin-bottom: 7px; }
      .protected-link { font-size: 11px; }
      .protected-link br { display: none; }
      main { padding-inline: 25px; padding-bottom: 35px; }
      .breadcrumb { min-height: 54px; }
      .contact { grid-template-columns: 1fr auto; }
    }
    @media (max-width: 520px) {
      .utility { gap: 12px; padding: 9px 16px; }
      .preview-tag { font-size: 7px; letter-spacing: .05em; }
      .utility-nav { gap: 13px; font-size: 9px; }
      .utility-nav .utility-sitemap { display: none; }
      .masthead { grid-template-columns: 74px minmax(0, 1fr); }
      .university-link { min-height: 118px; }
      .university-image { width: 69px; height: 85px; }
      .university-fallback b { font-size: 10px; letter-spacing: .06em; }
      .university-fallback span { font-size: 6px; letter-spacing: 0; }
      .title-block { padding: 19px 55px 19px 15px; }
      .affiliation { font-size: 8px; line-height: 1.5; margin-bottom: 6px; }
      .masthead .brand-title { font-size: clamp(16px, 4.5vw, 22px); line-height: 1.65; letter-spacing: 0; }
      .masthead .brand-title span { display: block; }
      .brand-english { font-size: 7px; max-width: 235px; line-height: 1.6; }
      .js .menu-button { right: 10px; top: 42px; width: 36px; min-height: 40px; border-color: #ffffff50; }
      .menu-text { font-size: 6px; }
      main { padding-inline: 17px; }
      .breadcrumb { min-height: 44px; font-size: 10px; }
      .field-mark { font-size: 8px; letter-spacing: .03em; }
      .hero-stage { aspect-ratio: 1.45; }
      .hero-caption { padding: 12px; gap: 13px; }
      .hero-caption strong { font-size: 8px; letter-spacing: .06em; }
      .hero-caption p { font-size: 10px; }
      .hero-caption a { font-size: 10px; }
      .hero-caption .arrow { margin-left: 5px; }
      .top-banners { gap: 5px; margin-top: 10px; }
      .legacy-banner.is-missing .banner-fallback { font-size: 9px; min-height: 48px; padding: 8px; gap: 4px; line-height: 1.6; }
      .legacy-banner .banner-fallback .arrow { margin-left: 0; }
      .project-banner { margin-top: 10px; }
      .project-banner.is-missing .banner-fallback { padding: 15px; font-size: 12px; min-height: 72px; }
      .updates { margin-top: 28px; }
      .news-block + .news-block { margin-top: 22px; }
      .section-title { font-size: 15px; }
      .section-title > a, .section-title-inner { padding: 8px 10px; gap: 8px; }
      .section-title .en { font-size: 10px; }
      .rss-icon { width: 13px; height: 13px; }
      .list-line { padding: 13px 11px 0; font-size: 11px; gap: 12px; }
      .list-line a { font-size: 11px; }
      .list-line .arrow { margin-left: 5px; }
      .album { margin-top: 30px; }
      .album-grid { gap: 17px 11px; }
      .album-photo { aspect-ratio: 1.25; }
      .album-label { font-size: 10px; gap: 6px; padding-top: 8px; }
      .album-label .arrow { margin-left: 0; }
      .contact { grid-template-columns: 1fr; gap: 15px; margin-top: 29px; padding-top: 23px; }
      .contact h2 { font-size: 18px; }
      .contact address { font-size: 11px; }
      .contact-actions { flex-direction: row; flex-wrap: wrap; gap: 8px 23px; font-size: 10px; padding-top: 0; }
      .support { gap: 18px; align-items: start; margin-top: 23px; padding-top: 19px; }
      .support p { font-size: 9px; }
      .support-image { width: 100px; }
      .support-logo { flex-shrink: 0; padding-top: 5px; }
      .site-footer { padding: 18px 17px; gap: 17px; font-size: 8px; }
      .site-footer a { font-size: 9px; }
    }
    @media (max-width: 359px) {
      .utility { padding-inline: 12px; }
      .preview-tag { font-size: 6px; }
      .utility-nav { gap: 10px; font-size: 8px; }
      .masthead { grid-template-columns: 64px minmax(0, 1fr); }
      .university-image { width: 60px; }
      .title-block { padding-left: 11px; padding-right: 48px; }
      .affiliation { font-size: 7px; }
      .masthead .brand-title { font-size: 16px; }
      .brand-english { font-size: 6px; }
      .js .menu-button { right: 7px; width: 32px; }
      main { padding-inline: 13px; }
      .hero-caption strong { font-size: 7px; }
      .hero-caption a { font-size: 9px; }
      .section-title .en { font-size: 9px; }
      .support { flex-direction: column; gap: 10px; }
      .site-footer { align-items: start; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition: none !important; animation: none !important; }
    }
    @media print {
      body { background: white; }
      .site-shell { width: 100%; margin: 0; box-shadow: none; }
      .utility, .sidebar, .menu-button, .site-footer > a { display: none !important; }
      .layout { display: block; }
      .masthead { color: #222; background: white; border-bottom: 2px solid #512a86; }
      .masthead .brand-title, .affiliation, .brand-english { color: #222; }
      .title-block { padding: 20px; }
      main { padding: 0 0 20px; }
      .sidebar-inner { position: static; }
      .site-footer { background: white; color: #222; padding-inline: 0; }
      .news-block, .contact, .support, .album-link { break-inside: avoid; }
    }
    /* Reuse the original site's header artwork without redrawing its identity. */
    .original-masthead{background:#583087;border-bottom:0}
    .original-masthead .university-link{min-height:120px;background:transparent;mix-blend-mode:lighten}
    .original-masthead .legacy-brand{padding:0;min-width:0}
    .original-masthead .brand-title{width:100%;margin:0;font-size:0;line-height:0}
    .original-masthead .brand-title a{display:block;overflow:hidden}
    /* The original bitmap includes a gray right margin after x=1800. */
    .original-masthead .legacy-brand-image{display:block;width:107.833333%;max-width:none;height:auto;clip-path:inset(1px 0 0 0);filter:url(#header-sidebar-purple)}
    @media(max-width:800px){
      .original-masthead{grid-template-columns:70px minmax(0,1fr) 60px;align-items:center}
      .original-masthead .university-link{min-height:82px;align-self:stretch}
      .original-masthead .university-image{width:65px;height:75px}
      .original-masthead .menu-button{position:static;justify-self:center;align-self:center;margin:0}
    }
    @media(max-width:520px){
      .original-masthead{grid-template-columns:54px minmax(0,1fr) 44px}
      .original-masthead .university-link{min-height:70px}
      .original-masthead .university-image{width:50px;height:62px}
      .original-masthead .menu-button{width:34px}
    }
  
