/* ============================================
   The 9th Asia-Pacific Knee Osteotomy Symposium - Main Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #0A193F;
  --color-primary-light: #1A2D5C;
  --color-primary-dark: #050D1F;
  --color-accent: #D4AF37;
  --color-accent-light: #EFD1A1;
  --color-bg: #FFFFFF;
  --color-bg-gray: #F5F7FA;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-white: #FFFFFF;
  --color-border: #D1D8E0;
  --color-link: #0A193F;
  --font-base: "Noto Serif JP", "Georgia", "Times New Roman", "Hiragino Mincho ProN", "MS Mincho", serif;
  --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --width-content: 960px;
  --header-h: 0px;
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 150px);
}

body {
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul,
ol {
  list-style: none;
}

/* --- Layout --- */
.l-wrap {
  width: 100%;
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================
   Header (Mobile Only)
   ===================== */
.g-header {
  display: none;
  /* Hidden on desktop */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  background: var(--color-primary);
  transition: box-shadow 0.3s;
}

.g-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(10, 25, 63, 0.25);
}

.g-header__inner {
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}


.g-header__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger button inside header */
.g-header__hamburger {
  display: block;
  width: 26px;
  height: 18px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.g-header__hamburger span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #FFF;
  border-radius: 1px;
  transition: all 0.3s;
}

.g-header__hamburger span:nth-child(1) {
  top: 0;
}

.g-header__hamburger span:nth-child(2) {
  top: 8px;
}

.g-header__hamburger span:nth-child(3) {
  top: 16px;
}

.g-header__hamburger.is-active span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
  background: var(--color-accent);
}

.g-header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.g-header__hamburger.is-active span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
  background: var(--color-accent);
}

/* =====================
   Hero / Key Visual
   ===================== */
.kv {
  position: relative;
  margin-top: var(--header-h);
  background-image: linear-gradient(135deg, #0a193f 0%, #293447 50%, #0a193f 100%);
  padding: 0 15px;
  text-align: center;
}

.kv__img {
  max-width: 1200px;
  margin: 0 auto;
}

.kv__img img {
  width: 100%;
  height: auto;
  display: block;
  /* box-shadow: 0 4px 20px rgba(73,55,89,0.08);*/
  /* slight themed shadow */
  background: #FFF;
  /* fallback for transparent images */
}

/* =====================
   TOC (Section Navigation)
   ===================== */
.toc {
  /*position: sticky;*/
  top: var(--header-h);
  z-index: 100;
  background: var(--color-primary-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-accent);
  box-shadow: 0 4px 16px rgba(10, 25, 63, 0.05);
}

.toc__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
  /* Spacing between buttons */
  padding: 16px 0;
}

.toc__item {
  position: relative;
}

.toc__item a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  /* デフォルトを「塗りつぶし」状態に変更 */
  background: var(--color-primary);
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* 影も少し強めに設定 */
  box-shadow: 0 4px 12px rgba(10, 25, 63, 0.15);
}

/* Hover & Active (Current) states */
.toc__item a:hover,
.toc__item a.is-current {
  /* ホバー・アクティブを「白背景」状態に変更 */
  background: #FFF;
  color: var(--color-primary);
  border-color: var(--color-border);
  transform: translateY(1px); /* 浮き上がりを戻す動き */
  box-shadow: 0 2px 4px rgba(10, 25, 63, 0.04);
  opacity: 1;
}

.toc__item a:active {
  /* アクティブ時はさらに押し込まれる演出 */
  transform: translateY(2px);
}

.toc__item a:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* =====================
   Section Common
   ===================== */
.sec {
  padding: 56px 0;
}

.sec--gray {
  background: var(--color-bg-gray);
}

.sec--primary {
  background: var(--color-primary);
  color: var(--color-text-white);
}

.sec__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 56px;
  padding-bottom: 24px;
  position: relative;
  letter-spacing: 0.08em;
  display: block;
  font-family: var(--font-base);
}

.sec__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 1px;
  background: linear-gradient(to right,
      rgba(212, 175, 55, 0) 0%,
      rgba(212, 175, 55, 1) 20%,
      rgba(212, 175, 55, 1) 42%,
      rgba(212, 175, 55, 0) 42%,
      rgba(212, 175, 55, 0) 58%,
      rgba(212, 175, 55, 1) 58%,
      rgba(212, 175, 55, 1) 80%,
      rgba(212, 175, 55, 0) 100%);
}

.sec__title::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border: 1px solid var(--color-accent);
  background: transparent;
  z-index: 1;
}

.sec--primary .sec__title::before {
  border-color: var(--color-accent);
}

.sec--primary .sec__title {
  color: var(--color-accent);
}

.text-section {
  margin-bottom: 56px;
}

.text-section p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
  color: var(--color-text);
}

.text-section a {
  color: #0066cc;
}

.text-section a:hover {
  text-decoration: underline;
  opacity: 1;
}

.text-section__link-box {
  background: #f5f5f5;
  padding: 24px;
  text-align: center;
  margin: 24px 0;
}

.text-section__link-box a {
  font-weight: bold;
  font-size: 15px;
}

.policy-list {
  margin: 0;
  padding: 0;
}

.policy-list li {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 8px;
  padding-left: 1.5em;
  text-indent: -1.5em;
}

/* =====================
   Topics / News
   ===================== */
.topics-list {
  max-height: 180px;
  overflow-y: auto;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin: 0;
  padding: 0;
}

/* Custom Webkit Scrollbar */
.topics-list::-webkit-scrollbar {
  width: 10px;
}

.topics-list::-webkit-scrollbar-track {
  background: var(--color-bg-gray);
  border-radius: 4px;
}

.topics-list::-webkit-scrollbar-thumb {
  background: #B0A8B6;
  border-radius: 4px;
  border: 2px solid var(--color-bg-gray);
}

.topics-list::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-light);
}

.topics-list__item {
  border-bottom: 1px solid var(--color-border);
}

.topics-list__item:last-child {
  border-bottom: none;
}

.topics-list__item:nth-child(odd) {
  background: var(--color-bg-gray);
  /* Light gray for odd rows */
}

.topics-list__item:nth-child(even) {
  background: #FFF;
  /* White for even rows */
}

.topics-list__link {
  display: flex;
  align-items: baseline;
  padding: 14px 16px;
  color: var(--color-text);
  transition: opacity 0.2s;
}

.topics-list__link:hover {
  opacity: 0.6;
}

.topics-list__date {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  width: 120px;
  flex-shrink: 0;
}

.topics-list__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-link);
}

/* =====================
   Overview (Date / Venue / Format)
   ===================== */
.overview-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.overview-table th {
  width: 120px;
  text-align: left;
  vertical-align: top;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-bg-gray);
  border-bottom: 1px solid var(--color-border);
}

.overview-table td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.7;
}

.overview-table a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* =====================
   Fee Table
   ===================== */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.fee-table thead th {
  background: var(--color-primary);
  color: #FFF;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  text-align: center;
  border-right: 1px solid var(--color-primary-light);
}

.fee-table thead th:last-child {
  border-right: none;
}

.fee-table tbody td {
  padding: 10px 14px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
}

.fee-table tbody tr:nth-child(even) {
  background: var(--color-bg-gray);
}

.fee-table tbody td:first-child {
  font-weight: 600;
  text-align: left;
  color: var(--color-primary);
}

.fee-notes {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
}

.fee-notes li {
  margin-bottom: 4px;
}

.fee-notes li::before {
  content: "※ ";
}

/* =====================
   Program
   ===================== */
.pgm-day {
  margin-bottom: 40px;
}

.pgm-day__heading {
  background: var(--color-primary);
  color: #FFF;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
  border-radius: 3px;
}

.pgm-timetable {
  width: 100%;
  border-collapse: collapse;
}

.pgm-timetable th,
.pgm-timetable td {
  padding: 10px 14px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.pgm-timetable th {
  width: 130px;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-bg-gray);
  text-align: left;
  white-space: nowrap;
  font-family: var(--font-en);
  font-size: 13px;
}

.pgm-timetable td .pgm-label {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.pgm-timetable td .pgm-speaker {
  font-size: 13px;
  color: var(--color-text-light);
}

.pgm-timetable td .pgm-note {
  font-size: 12px;
  color: var(--color-text-light);
  font-style: italic;
}

.pgm-notice {
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(201, 168, 76, 0.08);
  border-left: 4px solid var(--color-accent);
  font-size: 13px;
  color: var(--color-text-light);
  border-radius: 0 4px 4px 0;
}

/* =====================
   Speakers
   ===================== */
.speaker-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.speaker-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--color-bg-gray);
  padding: 20px;
  border-radius: 6px;
  width: calc(50% - 12px);
}

.speaker-item__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #DDD;
}

.speaker-item__info {
  flex: 1;
}

.speaker-item__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.speaker-item__affiliation {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 6px;
}

.speaker-item__topic {
  font-size: 13px;
  color: var(--color-text);
  font-weight: 500;
  padding-top: 6px;
  border-top: 1px solid var(--color-border);
}

/* =====================
   Exhibition
   ===================== */
.exhibition-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 20px;
}

.btn-link {
  display: inline-block;
  padding: 10px 28px;
  background: var(--color-primary);
  color: #FFF;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-link:hover {
  background: var(--color-primary-light);
  opacity: 1;
  color: #FFF;
}

.btn-link--accent {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

.btn-link--accent:hover {
  background: var(--color-accent-light);
  color: var(--color-primary-dark);
}

/* =====================
   Sponsors Layout
   ===================== */
.sponsor-category {
  margin-bottom: 40px;
}

.sponsor-category__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary-light);
  margin-bottom: 20px;
}

.sponsor-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.sponsor-list--silver {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.sponsor-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.sponsor-list--silver .sponsor-card {
  width: calc(50% - 15px);
}

.sponsor-card__logo {
  flex-shrink: 0;
  width: 200px;
  text-align: center;
}

.sponsor-card__logo img {
  max-width: 100%;
  height: auto;
  margin-bottom: 8px;
}

.sponsor-card__name {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: #0066cc;
  /* using blue as requested/in image */
}

.sponsor-list--silver .sponsor-card__logo {
  width: 140px;
}

.sponsor-card__text {
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text);
  flex-grow: 1;
}

.sponsor-card__text p {
  margin: 0;
}

/* =====================
   Supporter & Contact
   ===================== */
.supporter-list {
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}

.supporter-list li {
  margin-bottom: 8px;
  font-size: 14px;
}

.supporter-list a {
  color: #0066cc;
}

.supporter-list a:hover {
  text-decoration: underline;
}

/* =====================
   Registration CTA
   ===================== */
.reg-box {
  text-align: center;
  padding: 20px 0;
}

.reg-box p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.sec--primary .reg-box p {
  color: rgba(255, 255, 255, 0.85);
}

.reg-box .schedule-note {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 24px;
}

.sec--primary .reg-box .schedule-note {
  color: var(--color-accent-light);
}

.btn-register {
  display: inline-block;
  padding: 14px 48px;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
  transition: all 0.25s;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
  opacity: 1;
  color: var(--color-primary-dark);
}

/* =====================
   Policy (Accordion)
   ===================== */
.acc {
  margin-bottom: 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  background: #FFF;
}

.acc__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  font-family: var(--font-base);
  text-align: left;
  transition: background 0.2s;
}

.acc__trigger:hover {
  background: var(--color-bg-gray);
}

.acc__icon {
  font-size: 18px;
  color: var(--color-accent);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
}

.acc.is-open .acc__icon {
  transform: rotate(45deg);
}

.acc__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.acc__content {
  padding: 0 20px 18px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text-light);
}

.acc__content p {
  margin-bottom: 8px;
}

/* =====================
   Committee
   ===================== */
.committee-group {
  margin-bottom: 24px;
}

.committee-group__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  padding-left: 12px;
  border-left: 3px solid var(--color-accent);
}

.committee-members {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding-left: 15px;
}

.committee-member {
  font-size: 14px;
  color: var(--color-text);
}

.committee-member__aff {
  font-size: 12px;
  color: var(--color-text-light);
}

/* =====================
   Footer
   ===================== */
.g-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 32px 0 20px;
}

.g-footer__inner {
  text-align: center;
}

.g-footer__logo {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 12px;
}

.g-footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 16px;
}

.g-footer__links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.g-footer__links a:hover {
  color: var(--color-accent-light);
  opacity: 1;
}

.g-footer__contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 60px;
  margin: 0 0 40px;
  text-align: left;
}

.g-footer__contact-item {
  flex: 0 1 400px;
}

.g-footer__contact-label {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 14px;
  margin-bottom: 8px;
  /*text-transform: uppercase;*/
  letter-spacing: 0.05em;
}

.g-footer__contact-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.g-footer__contact-text a {
  color: var(--color-accent-light);
  text-decoration: underline;
}

.g-footer__contact-text a:hover {
  text-decoration: none;
  opacity: 0.8;
}

.g-footer__copyright {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =====================
   Page Top
   ===================== */
.pagetop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  /* Gold Background */
  color: var(--color-primary-dark);
  /* Dark Blue Arrow */
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(10, 25, 63, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s;
}

.pagetop.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pagetop:hover {
  background: var(--color-accent-light);
  color: var(--color-primary-dark);
}

/* =====================
   Welcome Message - Signature
   ===================== */
.welcome-sign {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
}

.welcome-sign__photo {
  width: 120px;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
}

.welcome-sign__text {
  text-align: right;
}

.welcome-sign__role {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 8px;
}

.welcome-sign__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-family: var(--font-en);
}

.welcome-sign__autograph {
  max-width: 220px;
  height: auto;
  margin-left: auto;
  display: block;
}

/* =====================
   Info Sub-section
   ===================== */
.info-subsection {
  margin-bottom: 48px;
}

.info-subsection__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 4px solid var(--color-accent);
  letter-spacing: 0.04em;
}

/* =====================
   Coming Soon Placeholder
   ===================== */
.coming-soon-box {
  text-align: center;
  padding: 48px 24px;
  background: transparent;
  border: 1px dashed var(--color-border);
  border-radius: 8px;
}

.coming-soon-box__icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
  opacity: 0.4;
}

.coming-soon-box__text {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-light);
  font-family: var(--font-en);
  letter-spacing: 0.12em;
}

.coming-soon-box__sub {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 8px;
  opacity: 0.7;
}

/* =====================
   Highlight Box (Abstract etc.)
   ===================== */
.highlight-box {
  background: linear-gradient(135deg, rgba(10, 25, 63, 0.03) 0%, rgba(212, 175, 55, 0.06) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 28px 32px;
  text-align: center;
  margin: 24px 0;
}

.highlight-box__label {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 8px;
  font-weight: 500;
}

.highlight-box__value {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-en);
}

/* =====================
   Route Cards (Access)
   ===================== */
.venue-info {
  margin-bottom: 40px;
}

.venue-info__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-family: var(--font-en);
}

.venue-info__detail {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
}

.route-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.route-card {
  flex: 1;
  min-width: 280px;
  background: var(--color-bg-gray);
  border-radius: 8px;
  padding: 28px 24px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s;
}

.route-card:hover {
  box-shadow: 0 4px 20px rgba(10, 25, 63, 0.08);
}

.route-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.route-card__link {
  display: inline-block;
  font-size: 12px;
  color: #0066cc;
  margin-bottom: 16px;
}

.route-card__link:hover {
  text-decoration: underline;
  opacity: 1;
}

.route-card__subtitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 16px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--color-border);
}

.route-card__steps {
  padding: 0;
  margin: 0;
}

.route-card__step {
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 8px;
  padding-left: 1.2em;
  position: relative;
}

.route-card__step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.route-card__step-sub {
  font-size: 12px;
  color: var(--color-text-light);
  padding-left: 1.2em;
  margin-bottom: 8px;
  line-height: 1.7;
}

/* =====================
   Hotel Cards
   ===================== */
.hotel-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hotel-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: #FFF;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.hotel-card:hover {
  box-shadow: 0 6px 24px rgba(10, 25, 63, 0.08);
}

.hotel-card__img {
  width: 280px;
  flex-shrink: 0;
  overflow: hidden;
}

.hotel-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 200px;
  transition: transform 0.4s;
}

.hotel-card:hover .hotel-card__img img {
  transform: scale(1.03);
}

.hotel-card__body {
  flex: 1;
  padding: 24px 24px 24px 0;
}

.hotel-card__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
  font-family: var(--font-en);
}

.hotel-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.hotel-card__badge--venue {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

.hotel-card__badge--nearby {
  background: rgba(10, 25, 63, 0.08);
  color: var(--color-primary);
}

.hotel-card__desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 16px;
}

.hotel-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #0066cc;
}

.hotel-card__link:hover {
  text-decoration: underline;
  opacity: 1;
}

.hotel-card__link::after {
  content: "↗";
  font-size: 14px;
}

/* =====================
   Link Grid
   ===================== */
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.link-grid__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--color-bg-gray);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s;
  text-decoration: none;
}

.link-grid__item:hover {
  background: var(--color-primary);
  color: #FFF;
  border-color: var(--color-primary);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(10, 25, 63, 0.15);
}

.link-grid__item::after {
  content: "↗";
  margin-left: auto;
  font-size: 16px;
  opacity: 0.5;
  transition: opacity 0.25s;
}

.link-grid__item:hover::after {
  opacity: 1;
}

/* =====================
   Fade-in Animation
   ===================== */
.js-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-fade.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   Responsive
   ===================== */
@media screen and (max-width: 768px) {
  :root {
    --header-h: 56px;
  }

  html {
    scroll-padding-top: calc(var(--header-h) + 40px);
  }

  .toc {
    display: none;
  }

  .g-header {
    display: block;
    /* Show on mobile */
  }

  .header-nav__list.sp-only {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    list-style: none;
    padding: 0;
  }

  .header-nav__list a {
    display: block;
    padding: 12px 16px;
    color: var(--color-accent);
    /* Gold text */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Low opacity gold border */
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
  }

  .header-nav__list a:active,
  .header-nav__list a:hover {
    background: var(--color-accent);
    color: var(--color-primary-dark);
  }

  .g-header__hamburger {
    display: block;
  }

  .g-header__right {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    background: var(--color-primary-dark);
    padding: 20px;
    flex-direction: column;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
  }

  .g-header__right.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .kv__title {
    font-size: 28px;
  }

  .kv__subtitle {
    font-size: 14px;
  }

  .speaker-item {
    width: 100%;
  }

  .overview-table th {
    display: block;
    width: 100%;
  }

  .overview-table td {
    display: block;
    padding-left: 16px;
  }

  .pgm-timetable th,
  .pgm-timetable td {
    display: block;
    width: 100%;
  }

  .pgm-timetable th {
    border-bottom: none;
    padding-bottom: 2px;
  }

  .pgm-timetable td {
    padding-top: 0;
  }

  .fee-table {
    font-size: 13px;
  }

  .toc__item a {
    padding: 10px 12px;
    font-size: 12px;
  }

  .sec {
    padding: 40px 0;
  }

  .sec__title {
    font-size: 19px;
  }

  .topics-list__link {
    flex-direction: column;
    gap: 4px;
    padding: 12px 10px;
  }

  .sec__title {
    font-size: 24px;
    margin-bottom: 40px;
    padding-bottom: 16px;
  }

  .sec__title::after {
    width: 100px;
  }

  .sec__title::before {
    bottom: -4px;
    width: 8px;
    height: 8px;
  }

  /* New layout responsive */
  .welcome-sign {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .welcome-sign__text {
    text-align: center;
  }

  .welcome-sign__autograph {
    margin: 0 auto;
  }

  .hotel-card {
    flex-direction: column;
  }

  .hotel-card__img {
    width: 100%;
  }

  .hotel-card__img img {
    min-height: 180px;
    max-height: 220px;
  }

  .hotel-card__body {
    padding: 20px;
  }

  .route-card {
    min-width: 100%;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }
}