@charset "UTF-8";
/*
 * Theme: Chang Academic Lab (Waseda Shimokawa-Lab Inspired Edition — 100% English)
 * Researcher: JingHao Chang — Area Studies (Department of East Asian Studies)
 * Field: Area Studies (Department of East Asian Studies) | AREA STUDIES & DATA SCIENCE
 */

:root {
  --bg-ivory: #f4f0ec;
  --bg-ivory-deep: #f0e9e3;
  --bg-card: #ffffff;
  --bg-soft: #faf7f6;
  --ink-main: #333333;
  --ink-muted: #666666;
  --ink-light: #888888;
  --gold-en: #baa271;
  --gold-dark: #9c824e;
  --amber-accent: #f49d22;
  --border-warm: #ddd1c7;
  --border-light: #f0e9e3;
  --cnu-green: #006633;
  --shadow-soft: 0 20px 60px rgba(51, 42, 33, 0.05);
  --shadow-elevated: 0 28px 80px rgba(51, 42, 33, 0.09);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  -webkit-text-size-adjust: 100%;
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  color: var(--ink-main);
  font-size: 1.6rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  background: var(--bg-ivory);
  overflow-x: hidden;
}

*::selection {
  background: #222;
  color: #fff;
}

li {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

a {
  text-decoration: none;
  color: var(--ink-main);
  transition: 0.25s ease-in-out;
}

a:hover {
  color: var(--amber-accent);
}

/* Academic Typography System */
.zh, .jp {
  display: block;
  letter-spacing: 0.03em;
  color: var(--ink-main);
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 700;
}

.en {
  display: block;
  text-align: left;
  letter-spacing: 0.05em;
  color: var(--gold-en);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  line-height: 1.5;
}

p.zh, p.jp {
  font-family: 'Inter', 'Quicksand', sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: left;
  margin-bottom: 22px;
  line-height: 1.85;
}

p.en {
  color: #777777;
  font-size: 1.38rem;
  line-height: 1.7;
  text-align: left;
}

/*----------------------------------------------------------------------------------
  Header & Waseda-Style Fullscreen Circular Dish Menu
----------------------------------------------------------------------------------*/
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  padding: 24px 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  transition: 0.35s ease;
}

header.site-header.scrolled {
  padding: 14px 42px;
  background: rgba(244, 240, 236, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(221, 209, 199, 0.6);
}

.header_logo {
  pointer-events: auto;
  width: 250px;
  transition: transform 0.3s ease;
}

.header_logo:hover {
  transform: translateY(-2px);
}

.header-actions {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 250;
}

.quick-nav-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-warm);
  box-shadow: 0 8px 24px rgba(51, 42, 33, 0.05);
}

.quick-nav-pills a {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.quick-nav-pills a .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-accent);
  opacity: 0;
  transition: 0.2s ease;
}

.quick-nav-pills a:hover,
.quick-nav-pills a.active {
  background: var(--bg-ivory);
  color: var(--ink-main);
}

.quick-nav-pills a:hover .dot,
.quick-nav-pills a.active .dot {
  opacity: 1;
}

.ppt-launch-btn {
  cursor: pointer;
  background: var(--ink-main);
  color: #ffffff;
  border: 2px solid var(--ink-main);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 1.3rem;
  font-weight: 700;
  font-family: 'Quicksand', sans-serif;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(51, 51, 51, 0.16);
  transition: 0.25s ease;
}

.ppt-launch-btn:hover {
  background: var(--amber-accent);
  border-color: var(--amber-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.ppt-launch-btn .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-accent);
  box-shadow: 0 0 0 4px rgba(244, 157, 34, 0.28);
}

.ppt-launch-btn:hover .pulse-dot {
  background: #ffffff;
}

/* Waseda Toggle Button */
.toggle {
  position: relative;
  cursor: pointer;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--border-warm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease-in-out;
  box-shadow: 0 8px 24px rgba(51, 42, 33, 0.06);
}

.toggle:hover {
  border-color: var(--amber-accent);
  transform: rotate(4deg);
}

.toggle .bars {
  width: 24px;
  height: 14px;
  position: relative;
}

.toggle .bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink-main);
  border-radius: 2px;
  transition: 0.3s ease;
}

.toggle .bars span:nth-child(1) {
  top: 0;
}

.toggle .bars span:nth-child(2) {
  bottom: 0;
}

.toggle.active .bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.toggle.active .bars span:nth-child(2) {
  bottom: 6px;
  transform: rotate(-45deg);
}

.toggle p {
  font-size: 1.0rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 4px;
  line-height: 1;
  color: var(--ink-main);
}

/* Fullscreen Dish Overlay Menu */
#menu {
  background: var(--bg-ivory);
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  z-index: 190;
  transition: 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

#menu.normal {
  opacity: 1;
  pointer-events: auto;
}

#menu .dish {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 175vh;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  position: absolute;
  left: 28%;
  top: 50%;
  transform: translateY(-50%) scale(0.92);
  border-radius: 50%;
  z-index: 0;
  transition: transform 0.65s cubic-bezier(0.65, 0, 0.35, 1);
  box-shadow: 0 30px 90px rgba(51, 42, 33, 0.06);
}

#menu.normal .dish {
  transform: translateY(-50%) scale(1);
}

#menu .dish span {
  display: block;
  width: 82%;
  height: 82%;
  background: #ffffff;
  border-radius: 50%;
  border: 15px solid #f4f1ee;
}

#menu .menu-flex {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  position: relative;
  z-index: 10;
}

#menu .menu-brand {
  width: 38%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

#menu .menu-card {
  background: #ffffff;
  border: 2px solid var(--border-warm);
  border-radius: 22px;
  padding: 24px 28px;
  width: 100%;
  max-width: 380px;
}

#menu .menu-navi {
  width: 54%;
  display: flex;
  justify-content: center;
}

#menu .menu-navi ul {
  width: 100%;
  max-width: 460px;
}

#menu .menu-navi ul li {
  position: relative;
  margin-bottom: 18px;
}

#menu .menu-navi ul li.parent {
  margin-top: 24px;
}

#menu .menu-navi ul li.parent:before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-accent);
  position: absolute;
  left: -24px;
  top: 1.15em;
}

#menu .menu-navi ul li:after {
  content: '';
  width: 100%;
  height: 1px;
  background: var(--border-warm);
  position: absolute;
  left: 0;
  top: 52%;
  z-index: 1;
}

#menu .menu-navi ul li a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  position: relative;
  z-index: 5;
}

#menu .menu-navi ul li a .zh,
#menu .menu-navi ul li a .en {
  background: #ffffff;
  padding: 0 10px;
}

#menu .menu-navi ul li.parent a .zh {
  font-size: 2.2rem;
}

#menu .menu-navi ul li.parent a .en {
  font-size: 1.4rem;
}

#menu .menu-navi ul li.child a .zh {
  font-size: 1.6rem;
  padding-left: 22px;
  font-weight: 600;
}

#menu .menu-navi ul li.child a .en {
  font-size: 1.2rem;
}

/*----------------------------------------------------------------------------------
  Key Visual (KV) Hero Section — Waseda Shimokawa Lab Aesthetic
----------------------------------------------------------------------------------*/
.kv {
  position: relative;
  min-height: 90vh;
  padding: 130px 6% 70px 6%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto;
}

.kv_visual_stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}

.kv_plate_outer {
  width: 510px;
  height: 510px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(51, 42, 33, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 1px solid rgba(221, 209, 199, 0.7);
}

.kv_plate_inner {
  width: 82%;
  height: 82%;
  border-radius: 50%;
  border: 14px solid #f4f1ee;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #faf7f4 100%);
}

.kv_svg_diagram {
  width: 92%;
  height: 92%;
}

.svg-draw-line {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawStroke 3.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes drawStroke {
  to {
    stroke-dashoffset: 0;
  }
}

.orbit-spin {
  transform-origin: 200px 200px;
  animation: slowOrbit 42s linear infinite;
}

@keyframes slowOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.kv_floating_badge {
  position: absolute;
  background: #ffffff;
  border: 1.5px solid var(--border-warm);
  border-radius: 18px;
  padding: 12px 18px;
  box-shadow: 0 14px 36px rgba(51, 42, 33, 0.08);
  z-index: 15;
}

.kv_floating_badge.badge-top-left {
  top: 24px;
  left: 6px;
}

.kv_floating_badge.badge-bottom-left {
  bottom: 28px;
  left: 0;
}

.kv_floating_badge.badge-top-right {
  top: 38px;
  right: 4px;
}

.kv_floating_badge .badge-kicker {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-en);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
}

.kv_floating_badge .badge-val {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink-main);
  font-family: 'Cormorant Garamond', serif;
}

.kv_copy {
  position: relative;
  z-index: 20;
  padding-left: 12px;
}

.kv_eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border-warm);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 24px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-main);
}

.kv_eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-accent);
}

.kv_copy_top {
  margin-bottom: 30px;
}

.kv_copy_top .title .zh {
  font-size: 4.0rem;
  line-height: 1.22;
  margin-bottom: 18px;
}

.kv_copy_top .title .zh .line {
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.kv_copy_top .title .zh .line:after {
  content: '';
  display: block;
  width: 100%;
  height: 3.5px;
  border-radius: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--ink-main);
}

.kv_copy_top .title .en {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--ink-main);
  line-height: 1.4;
}

.kv_dept_badge {
  background: #ffffff;
  border: 1.5px solid var(--border-warm);
  border-left: 5px solid var(--amber-accent);
  border-radius: 18px;
  padding: 16px 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}

.kv_dept_badge .dept-main {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: 'Cormorant Garamond', serif;
  color: var(--ink-main);
  margin-bottom: 4px;
}

.kv_dept_badge .dept-sub {
  font-size: 1.3rem;
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.kv_copy_bottom .zh-lead {
  font-size: 1.55rem;
  line-height: 1.85;
  margin-bottom: 18px;
  color: var(--ink-main);
}

.kv_copy_bottom .en-lead {
  font-size: 1.35rem;
  line-height: 1.75;
  color: #666666;
  margin-bottom: 28px;
}

/*----------------------------------------------------------------------------------
  Waseda Standard Buttons & Section Headings
----------------------------------------------------------------------------------*/
.btn {
  display: inline-block;
  border: 2px solid #dacec3;
  background: #ffffff;
  line-height: 1.2;
  padding: 14px 34px;
  border-radius: 50px;
  text-align: center;
  min-width: 220px;
  cursor: pointer;
  transition: 0.25s ease-in-out;
}

.btn:hover {
  border-color: var(--ink-main);
  background: var(--ink-main);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn .zh, .btn .en {
  text-align: center;
}

.btn .zh {
  font-size: 1.55rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
}

.btn .en {
  font-size: 1.15rem;
  margin-top: 5px;
  color: var(--gold-en);
}

.btn:hover .zh,
.btn:hover .en {
  color: #ffffff;
}

.btn.btn-dark {
  background: var(--ink-main);
  border-color: var(--ink-main);
}

.btn.btn-dark .zh {
  color: #ffffff;
}

.btn.btn-dark .en {
  color: var(--gold-en);
}

.btn.btn-dark:hover {
  background: var(--amber-accent);
  border-color: var(--amber-accent);
}

.btn.btn-dark:hover .en {
  color: #ffffff;
}

.content_title {
  margin-bottom: 56px;
  position: relative;
  text-align: center;
}

.content_title:after {
  content: '';
  display: block;
  width: 110px;
  height: 4px;
  background: var(--amber-accent);
  margin: 24px auto 0 auto;
  border-radius: 2px;
}

.content_title .zh {
  font-size: 4.0rem;
  margin-bottom: 8px;
  text-align: center;
}

.content_title .en {
  font-size: 1.55rem;
  text-align: center;
}

.st_circle {
  margin-bottom: 28px;
  position: relative;
  padding-left: 22px;
}

.st_circle:before {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber-accent);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.st_circle .zh {
  display: inline-block;
  font-size: 2.6rem;
  margin-right: 12px;
  vertical-align: middle;
}

.st_circle .en {
  display: inline-block;
  font-size: 1.5rem;
  vertical-align: middle;
}

.st_standard {
  position: relative;
  margin: 0 0 40px 0;
  padding-top: 56px;
  border-top: 1px solid var(--border-light);
  font-size: 3.2rem;
}

.st_standard.first {
  border-top: none;
  padding-top: 0;
}

.st_standard:before {
  content: '';
  display: block;
  width: 54px;
  height: 4px;
  background: var(--amber-accent);
  margin-bottom: 16px;
  border-radius: 2px;
}

.st_standard .en {
  font-size: 1.45rem;
  margin-top: 6px;
}

/*----------------------------------------------------------------------------------
  Content Containers (.content_area — Waseda 40px Rounded White Card)
----------------------------------------------------------------------------------*/
.section-wrapper {
  padding: 40px 4% 72px 4%;
  position: relative;
  z-index: 30;
}

.content_area {
  max-width: 1120px;
  background: #ffffff;
  margin: 0 auto;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(221, 209, 199, 0.5);
}

.content_main {
  width: 100%;
  padding: 68px 8%;
  position: relative;
}

/*----------------------------------------------------------------------------------
  Researcher Profile Section (Waseda /profile/ Layout)
----------------------------------------------------------------------------------*/
.profile_watermark {
  font-family: 'Quicksand', sans-serif;
  font-size: 6.8rem;
  font-weight: 700;
  color: rgba(244, 240, 236, 0.85);
  letter-spacing: 0.08em;
  line-height: 1;
  position: absolute;
  top: 32px;
  right: 6%;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.profile_header_grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
}

.profile_name_block .role-tag {
  display: inline-block;
  border: 1px solid var(--gold-en);
  color: var(--gold-en);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.profile_name_block .name .zh {
  font-size: 4.8rem;
  line-height: 1.12;
  margin-bottom: 6px;
}

.profile_name_block .name .en {
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  color: var(--gold-en);
  margin-bottom: 20px;
}

.profile_name_block .affiliation .zh {
  font-size: 2.1rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  margin-bottom: 6px;
}

.profile_name_block .affiliation .en {
  font-size: 1.4rem;
  color: #666666;
}

.profile_emblem_box {
  background: var(--bg-ivory);
  border-radius: 28px;
  padding: 30px 24px;
  text-align: center;
  border: 1.5px solid var(--border-warm);
  position: relative;
}

.profile_monogram {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--gold-en);
  margin: 0 auto 14px auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 12px 28px rgba(51, 42, 33, 0.08);
}

.profile_monogram .mono-zh {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--ink-main);
  line-height: 1;
}

.profile_monogram .mono-en {
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--gold-en);
  letter-spacing: 0.14em;
  margin-top: 4px;
}

.profile_body_flex {
  display: flex;
  justify-content: space-between;
  gap: 6%;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 52px;
}

.wide_2_3 {
  width: 62%;
}

.wide_1_3 {
  width: 32%;
}

.contact_sidebar_box .sst {
  border-top: 3px solid var(--border-light);
  padding-top: 22px;
  margin-top: 28px;
  margin-bottom: 14px;
}

.contact_sidebar_box .sst:first-child {
  margin-top: 0;
  border-top: 3px solid var(--amber-accent);
}

.contact_sidebar_box .sst .zh {
  font-size: 1.85rem;
  margin-bottom: 2px;
}

.contact_sidebar_box .sst .en {
  font-size: 1.2rem;
}

.contact_list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact_list li {
  background: var(--bg-ivory);
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 1.35rem;
  line-height: 1.5;
}

.contact_list li .c-label {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-en);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.contact_list li .c-val,
.contact_list li a {
  font-weight: 700;
  color: var(--ink-main);
  word-break: break-all;
}

.contact_list li a:hover {
  color: var(--amber-accent);
  text-decoration: underline;
}

/*----------------------------------------------------------------------------------
  Interactive Conference PPT Presentation Deck (16:9 Stage + Fullscreen Fit + PDF Animation)
----------------------------------------------------------------------------------*/
.ppt_showcase_container {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Source Selector Bar */
.ppt_source_bar {
  background: var(--bg-ivory-deep);
  border: 1.5px solid var(--border-warm);
  border-bottom: none;
  border-radius: 28px 28px 0 0;
  padding: 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ppt_source_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ppt_source_label {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ppt_source_actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ppt_action_pill {
  cursor: pointer;
  background: #ffffff;
  border: 1.5px solid var(--border-warm);
  color: var(--ink-main);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s ease;
  white-space: nowrap;
}

.ppt_action_pill:hover {
  border-color: var(--amber-accent);
  background: var(--amber-accent);
  color: #ffffff;
}

.ppt_action_pill.primary {
  background: var(--amber-accent);
  border-color: var(--amber-accent);
  color: #ffffff;
}

.ppt_action_pill.primary:hover {
  background: var(--ink-main);
  border-color: var(--ink-main);
}

.ppt_deck_tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.deck_tab_btn {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid var(--border-warm);
  color: var(--ink-main);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.deck_tab_btn .tab-type {
  font-size: 1.0rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--bg-ivory-deep);
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.deck_tab_btn:hover {
  background: #ffffff;
  border-color: var(--ink-main);
}

.deck_tab_btn.active {
  background: var(--ink-main);
  border-color: var(--ink-main);
  color: #ffffff;
}

.deck_tab_btn.active .tab-type {
  background: var(--amber-accent);
  color: #ffffff;
}

.ppt_toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 10px 24px;
  border-left: 1.5px solid var(--border-warm);
  border-right: 1.5px solid var(--border-warm);
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
}

.ppt_toolbar_left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.ppt_badge {
  background: var(--amber-accent);
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
}

#active-deck-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ppt_toolbar_controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.slide_nav_btn {
  cursor: pointer;
  background: var(--bg-ivory);
  border: 1.5px solid var(--border-warm);
  color: var(--ink-main);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 700;
  transition: 0.2s ease;
  white-space: nowrap;
}

.slide_nav_btn:hover {
  background: var(--ink-main);
  color: #ffffff;
  border-color: var(--ink-main);
}

.slide_counter {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink-main);
  padding: 0 6px;
  white-space: nowrap;
}

/* 16:9 Slide Viewport + PDF Drag & Drop Target */
.ppt_stage_viewport {
  background: #ffffff;
  border: 1.5px solid var(--border-warm);
  border-radius: 0 0 32px 32px;
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
  position: relative;
  height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ppt_stage_viewport.drag-over {
  border: 3px dashed var(--amber-accent);
  background: #fffdf9;
}

.pdf_drop_overlay {
  position: absolute;
  inset: 16px;
  border: 3px dashed var(--amber-accent);
  border-radius: 24px;
  background: rgba(255, 251, 244, 0.96);
  z-index: 80;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 32px;
  pointer-events: none;
}

.ppt_stage_viewport.drag-over .pdf_drop_overlay {
  display: flex;
}

/* Animated PDF Conversion & Slide Rendering Overlay (.pdf_converting_overlay) */
.pdf_converting_overlay {
  position: absolute;
  inset: 0;
  background: rgba(244, 240, 236, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 75;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pdf_converting_overlay.active {
  display: flex;
  opacity: 1;
}

.pdf_conv_card {
  background: #ffffff;
  border: 1.5px solid var(--border-warm);
  border-radius: 28px;
  padding: 34px 44px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(51, 42, 33, 0.12);
  animation: popInCard 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes popInCard {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.pdf_conv_spinner {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pdf_conv_spinner .ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3.5px solid var(--border-light);
  border-top-color: var(--amber-accent);
  border-right-color: var(--gold-en);
  animation: convSpin 1s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}

.pdf_conv_spinner .ring-inner {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2.5px dashed var(--gold-en);
  animation: convSpinReverse 2.2s linear infinite;
}

.pdf_conv_spinner .doc-icon {
  font-size: 2.4rem;
  animation: docPulse 1.2s ease-in-out infinite;
}

@keyframes convSpin {
  to { transform: rotate(360deg); }
}

@keyframes convSpinReverse {
  to { transform: rotate(-360deg); }
}

@keyframes docPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.pdf_conv_title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ink-main);
  margin-bottom: 6px;
}

.pdf_conv_step {
  font-size: 1.3rem;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 18px;
}

.pdf_conv_bar_track {
  width: 100%;
  height: 8px;
  background: var(--bg-ivory);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border-warm);
}

.pdf_conv_bar_fill {
  height: 100%;
  width: 15%;
  background: linear-gradient(90deg, var(--gold-en), var(--amber-accent));
  border-radius: 999px;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* PDF Canvas Slide Viewer inside 16:9 Stage (Zero Bottom Cutoff!) */
.pdf_stage_container {
  display: none;
  flex: 1 1 0%;
  min-height: 0;
  width: 100%;
  background: #23211f;
  position: relative;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 14px 20px;
}

.pdf_stage_container.active {
  display: flex;
}

#pdf-slide-canvas {
  display: block;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
  border-radius: 6px;
  background: #ffffff;
  transition: opacity 0.24s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

#pdf-slide-canvas.slide-anim-next {
  animation: pdfPageNext 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

#pdf-slide-canvas.slide-anim-prev {
  animation: pdfPagePrev 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes pdfPageNext {
  0% {
    opacity: 0.35;
    transform: translateX(22px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes pdfPagePrev {
  0% {
    opacity: 0.35;
    transform: translateX(-22px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/*----------------------------------------------------------------------------------
  Fullscreen Mode for PPT Stage — Guaranteed 100vh Fit with Zero Bottom Clipping!
----------------------------------------------------------------------------------*/
body.ppt-fullscreen-active {
  overflow: hidden !important;
}

body.ppt-fullscreen-active header.site-header {
  display: none !important;
}

body.ppt-fullscreen-active .ppt_showcase_wrapper {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999 !important;
  background: var(--bg-ivory) !important;
  padding: 10px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  overflow: hidden !important;
}

/* Hide the big section heading in fullscreen so it never pushes the slide off-screen */
body.ppt-fullscreen-active .ppt_showcase_wrapper > .content_title {
  display: none !important;
}

body.ppt-fullscreen-active .ppt_showcase_container {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  flex: 1 1 0% !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

body.ppt-fullscreen-active .ppt_source_bar {
  padding: 8px 18px !important;
  border-radius: 16px 16px 0 0 !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}

body.ppt-fullscreen-active .ppt_source_top {
  display: none !important;
}

body.ppt-fullscreen-active .ppt_toolbar {
  padding: 8px 18px !important;
  flex-shrink: 0 !important;
}

body.ppt-fullscreen-active .ppt_stage_viewport {
  flex: 1 1 0% !important;
  min-height: 0 !important;
  height: auto !important;
  border-radius: 0 0 18px 18px !important;
}

.ppt_slides_host {
  flex: 1 1 0%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.ppt_slide {
  display: none;
  padding: 38px 54px 28px 54px;
  flex: 1;
  animation: slideFadeIn 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

.ppt_slide.active {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide_top_bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 22px;
}

.slide_top_bar .slide_kicker {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-en);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slide_top_bar .slide_inst {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-light);
}

.slide_title_block {
  margin-bottom: 22px;
}

.slide_title_block h3 .zh {
  font-size: 3.1rem;
  line-height: 1.25;
  margin-bottom: 6px;
}

.slide_title_block h3 .en {
  font-size: 1.5rem;
  color: var(--gold-en);
}

.slide_grid_2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.slide_grid_3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.slide_card {
  background: var(--bg-ivory);
  border-radius: 20px;
  padding: 22px 24px;
  border: 1px solid var(--border-warm);
}

.slide_card.white {
  background: #ffffff;
  border: 1.5px solid var(--border-warm);
}

.slide_card h4 .zh {
  font-size: 2.0rem;
  margin-bottom: 4px;
}

.slide_card h4 .en {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.dynamic_slide_body {
  font-size: 1.55rem;
  line-height: 1.85;
  color: var(--ink-main);
}

.dynamic_slide_body h1,
.dynamic_slide_body h2,
.dynamic_slide_body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  margin-bottom: 14px;
  color: var(--ink-main);
}

.dynamic_slide_body p {
  margin-bottom: 16px;
}

.dynamic_slide_body ul,
.dynamic_slide_body ol {
  margin-left: 22px;
  margin-bottom: 16px;
}

.dynamic_slide_body li {
  list-style: disc;
  margin-bottom: 8px;
}

.slide_bottom_bar {
  background: var(--bg-ivory-deep);
  padding: 10px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 1.2rem;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.slide_dots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.slide_dot {
  width: 20px;
  height: 6px;
  border-radius: 3px;
  background: var(--border-warm);
  cursor: pointer;
  transition: 0.25s ease;
}

.slide_dot.active {
  width: 38px;
  background: var(--amber-accent);
}

/*----------------------------------------------------------------------------------
  Waseda Style Research Insights Columns (.home_column & .home_column_list)
----------------------------------------------------------------------------------*/
.home_column_section {
  padding: 72px 6%;
  max-width: 1240px;
  margin: 0 auto;
}

.research_pillars_grid {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.pillar_row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
  background: #ffffff;
  border-radius: 36px;
  padding: 44px 52px;
  border: 1px solid rgba(221, 209, 199, 0.6);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.pillar_row:nth-child(even) {
  grid-template-columns: 1.05fr 0.95fr;
}

.pillar_row:nth-child(even) .pillar_visual {
  order: 2;
}

.pillar_row:nth-child(even) .pillar_text {
  order: 1;
}

.pillar_visual {
  background: var(--bg-ivory);
  border-radius: 28px;
  padding: 32px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 270px;
}

.pillar_num {
  position: absolute;
  bottom: -18px;
  left: 28px;
  background: var(--ink-main);
  color: #ffffff;
  font-family: 'Quicksand', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 999px;
  border: 3px solid #ffffff;
  letter-spacing: 0.08em;
}

.pillar_num span {
  color: var(--amber-accent);
}

.pillar_text .sst {
  margin-bottom: 20px;
  border-top: 4px solid var(--amber-accent);
  padding-top: 22px;
}

.pillar_text .sst .zh {
  font-size: 2.9rem;
  line-height: 1.28;
  margin-bottom: 8px;
}

.pillar_text .sst .en {
  font-size: 1.5rem;
}

.pillar_text .lead-zh {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ink-main);
  margin-bottom: 12px;
}

/*----------------------------------------------------------------------------------
  Waseda Style Standard List (.list_standard) for Papers, Presentations & Posts
----------------------------------------------------------------------------------*/
.list_standard {
  margin-bottom: 44px;
}

.list_standard li {
  background: var(--bg-ivory);
  border-radius: 20px;
  margin: 0 0 22px 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.list_standard li:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(51, 42, 33, 0.07);
}

.list_standard li .top {
  padding: 26px 34px 22px 34px;
}

.list_standard li .bottom {
  padding: 15px 34px;
  background: var(--bg-ivory-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 1.3rem;
}

.list_standard li .bottom .publish {
  font-style: italic;
  color: var(--ink-muted);
  font-weight: 600;
}

.list_standard li .bottom .date {
  color: #888888;
  font-size: 1.25rem;
  font-weight: 700;
}

.list_standard li .title {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  font-family: 'Cormorant Garamond', serif;
}

.list_standard li .sub {
  font-size: 1.4rem;
  color: var(--ink-muted);
}

.cate {
  border: 1px solid var(--gold-en);
  color: var(--gold-en);
  padding: 4px 12px;
  line-height: 1.2;
  border-radius: 999px;
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 8px 8px 0;
}

.cate.filled {
  background: var(--gold-en);
  color: #ffffff;
}

/*----------------------------------------------------------------------------------
  Footer (Waseda Style)
----------------------------------------------------------------------------------*/
footer.site-footer {
  padding: 68px 6% 56px 6%;
  margin-top: 72px;
  border-top: 1px solid var(--border-warm);
  position: relative;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand .logo {
  width: 240px;
  margin-bottom: 18px;
}

.footer-brand .copy {
  font-size: 1.35rem;
  color: var(--ink-main);
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-brand .quote {
  font-size: 1.22rem;
  color: var(--ink-light);
}

.page_top_btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--border-warm);
  font-size: 1.1rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.page_top_btn:hover {
  background: var(--ink-main);
  color: #ffffff;
  border-color: var(--ink-main);
  transform: translateY(-4px);
}

@media screen and (max-width: 1024px) {
  .kv {
    grid-template-columns: 1fr;
    padding-top: 110px;
  }
  .kv_plate_outer {
    width: 350px;
    height: 350px;
  }
  .profile_header_grid,
  .slide_grid_2,
  .slide_grid_3,
  .pillar_row,
  .pillar_row:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .pillar_row:nth-child(even) .pillar_visual,
  .pillar_row:nth-child(even) .pillar_text {
    order: unset;
  }
  .profile_body_flex {
    flex-direction: column;
  }
  .wide_2_3, .wide_1_3 {
    width: 100%;
  }
  .quick-nav-pills {
    display: none;
  }
  #menu .menu-flex {
    flex-direction: column;
    justify-content: center;
    gap: 32px;
  }
  #menu .menu-brand, #menu .menu-navi {
    width: 100%;
  }
  .ppt_slide {
    padding: 24px 20px;
  }
  .ppt_stage_viewport {
    height: 480px;
  }
}
