/* ==========================================================================
   ABS IR-Lab Official Website — Production Stylesheet & Motion System
   Palette: Deep Indigo (#1B3160), Navy (#111F3D), Brushed Gold (#B8934A),
            Crimson Dot (#9E1F32), Washi Ivory (#F8F6F1), Sakura Tint (#FBF4F5)
   Spec: Strictly px units | Explicit Hex / RGBA colors
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0px;
  padding: 0px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 15px;
  line-height: 27px;
  color: #1F2937;
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4, p, ul, ol, figure, blockquote {
  margin: 0px;
  padding: 0px;
}

ul, ol {
  list-style: none;
}

.font-serif {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

/* ---------- Top Reading Progress Bar ---------- */
.scroll-progress-bar {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #B8934A 0%, #E5C88B 65%, #9E1F32 100%);
  z-index: 250;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ---------- Layout Containers ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  padding-top: 0px;
  padding-right: 24px;
  padding-bottom: 0px;
  padding-left: 24px;
}

.container-narrow {
  width: 100%;
  max-width: 920px;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  padding-top: 0px;
  padding-right: 24px;
  padding-bottom: 0px;
  padding-left: 24px;
}

main {
  overflow-x: clip;
}

.section {
  padding-top: 88px;
  padding-bottom: 88px;
  overflow-x: clip;
}

.section-ivory {
  background-color: #F8F6F1;
}

.section-sakura {
  background-color: #FBF4F5;
}

.section-navy {
  background-color: #111F3D;
  color: #FFFFFF;
  background-image: radial-gradient(circle at 20px 20px, rgba(184, 147, 74, 0.09) 2px, rgba(17, 31, 61, 0) 2px);
  background-size: 40px 40px;
}

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky;
  top: 0px;
  z-index: 100;
  height: 76px;
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #E5E0D5;
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.99);
  box-shadow: 0px 8px 28px rgba(17, 31, 61, 0.08);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.brand-link:hover {
  opacity: 0.9;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid #D9C8A0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-link:hover .brand-logo {
  transform: rotate(6deg) scale(1.04);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 1px;
  color: #1B3160;
}

.brand-sub {
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 1.4px;
  color: #8A7140;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  color: #2B3445;
  padding-top: 6px;
  padding-bottom: 6px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: -2px;
  height: 2px;
  background-color: #B8934A;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover {
  color: #1B3160;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: #1B3160;
  font-weight: 700;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding-top: 0px;
  padding-right: 18px;
  padding-bottom: 0px;
  padding-left: 18px;
  border-radius: 4px;
  background-color: #1B3160;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid #1B3160;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background-color: #274480;
  border-color: #B8934A;
  transform: translateY(-1px);
  box-shadow: 0px 4px 12px rgba(27, 49, 96, 0.24);
}

.nav-cta.active {
  background-color: #B8934A;
  border-color: #B8934A;
  color: #111F3D;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid #D9D4C8;
  background-color: #FFFFFF;
  color: #1B3160;
  cursor: pointer;
  padding: 0px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mobile-menu-btn:hover {
  background-color: #F8F6F1;
  border-color: #B8934A;
}

/* Mobile Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-color: rgba(17, 31, 61, 0.55);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  width: 300px;
  max-width: 85%;
  background-color: #FFFFFF;
  z-index: 210;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  padding-right: 20px;
  padding-bottom: 24px;
  padding-left: 20px;
  box-shadow: -8px 0px 32px rgba(17, 31, 61, 0.18);
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #E5E0D5;
  margin-bottom: 16px;
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid #D9D4C8;
  background-color: #F8F6F1;
  color: #1B3160;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-link {
  display: block;
  padding-top: 12px;
  padding-right: 14px;
  padding-bottom: 12px;
  padding-left: 14px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #1F2937;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.drawer-link:hover {
  background-color: #F8F6F1;
  transform: translateX(4px);
}

.drawer-link.active {
  background-color: #F8F6F1;
  color: #1B3160;
  font-weight: 700;
  border-left: 3px solid #B8934A;
}

.drawer-cta {
  margin-top: 16px;
  text-align: center;
  padding-top: 14px;
  padding-right: 16px;
  padding-bottom: 14px;
  padding-left: 16px;
  border-radius: 6px;
  background-color: #1B3160;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
}

/* ---------- Buttons (disabled, loading & sheen motion) ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding-top: 0px;
  padding-right: 28px;
  padding-bottom: 0px;
  padding-left: 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.6px;
  cursor: pointer;
  border: 1px solid #1B3160;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, opacity 0.2s ease;
  text-align: center;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0px;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.btn:hover::after {
  left: 160%;
}

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

.btn:active {
  transform: translateY(0px);
}

.btn-primary {
  background-color: #1B3160;
  color: #FFFFFF;
  border-color: #1B3160;
}

.btn-primary:hover {
  background-color: #25417D;
  border-color: #B8934A;
  box-shadow: 0px 8px 20px rgba(27, 49, 96, 0.24);
}

.btn-gold {
  background-color: #B8934A;
  color: #111F3D;
  border-color: #B8934A;
}

.btn-gold:hover {
  background-color: #C9A86A;
  border-color: #C9A86A;
  box-shadow: 0px 8px 20px rgba(184, 147, 74, 0.34);
}

.btn-outline {
  background-color: #FFFFFF;
  color: #1B3160;
  border-color: #1B3160;
}

.btn-outline:hover {
  background-color: #F8F6F1;
  box-shadow: 0px 6px 16px rgba(17, 31, 61, 0.08);
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: #C9A86A;
}

.btn-line {
  background-color: #06C755;
  color: #FFFFFF;
  border-color: #06C755;
}

.btn-line:hover {
  background-color: #05B34C;
  border-color: #05B34C;
  box-shadow: 0px 8px 20px rgba(6, 199, 85, 0.28);
}

.btn:disabled,
.btn.is-disabled {
  background-color: #CBD5E1;
  border-color: #CBD5E1;
  color: #64748B;
  cursor: not-allowed;
  opacity: 0.75;
  transform: none;
  box-shadow: none;
}

.btn:disabled::after,
.btn.is-disabled::after {
  display: none;
}

.btn.is-loading {
  cursor: wait;
  opacity: 0.88;
}

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #FFFFFF;
  border-radius: 999px;
  animation: abs-spin 0.75s linear infinite;
}

/* ---------- Keyframe Animations ---------- */
@keyframes abs-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes abs-hero-fade-up {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes abs-ken-burns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.07);
  }
}

@keyframes abs-gold-sweep {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes abs-modal-pop {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0px) scale(1);
  }
}

/* Hero Staggered Entrance */
.hero-anim-1 {
  animation: abs-hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.hero-anim-2 {
  animation: abs-hero-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.hero-anim-3 {
  animation: abs-hero-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.hero-anim-4 {
  animation: abs-hero-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

/* Progressive Scroll Reveal System */
html.js-anim-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

html.js-anim-ready [data-reveal="left"] {
  transform: translateX(-28px);
}

html.js-anim-ready [data-reveal="right"] {
  transform: translateX(28px);
}

html.js-anim-ready [data-reveal="scale"] {
  transform: scale(0.96) translateY(14px);
}

html.js-anim-ready [data-reveal-delay="100"] {
  transition-delay: 0.1s;
}

html.js-anim-ready [data-reveal-delay="200"] {
  transition-delay: 0.2s;
}

html.js-anim-ready [data-reveal-delay="300"] {
  transition-delay: 0.3s;
}

html.js-anim-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateX(0px) translateY(0px) scale(1);
}

/* ---------- Typography Helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: #B8934A;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: #9E1F32;
}

.section-title {
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 46px;
  color: #1B3160;
  margin-bottom: 16px;
}

.section-navy .section-title {
  color: #FFFFFF;
}

.section-lead {
  font-size: 15px;
  line-height: 28px;
  color: #5B6472;
  max-width: 740px;
}

.section-navy .section-lead {
  color: #D5DCE8;
}

.section-header {
  margin-bottom: 48px;
}

.section-header-center {
  text-align: center;
  margin-bottom: 48px;
}

.section-header-center .section-lead {
  margin-right: auto;
  margin-left: auto;
}

.body-p {
  font-size: 15px;
  line-height: 29px;
  color: #334155;
  margin-bottom: 16px;
}

.body-p:last-child {
  margin-bottom: 0px;
}

/* ---------- Page Banner (Sub-pages) ---------- */
.page-hero {
  position: relative;
  background-color: #111F3D;
  color: #FFFFFF;
  padding-top: 72px;
  padding-bottom: 72px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-image: radial-gradient(circle at 18px 18px, rgba(201, 168, 106, 0.13) 1.5px, rgba(17, 31, 61, 0) 1.5px);
  background-size: 36px 36px;
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 3px;
  background: linear-gradient(90deg, #B8934A 0%, #E5C88B 50%, #B8934A 100%);
  transform-origin: left;
  animation: abs-gold-sweep 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-family: "Noto Serif JP", serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 50px;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.page-hero-desc {
  font-size: 15px;
  line-height: 28px;
  color: #D5DCE8;
  max-width: 720px;
}

/* ---------- Home Hero ---------- */
.home-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: #111F3D;
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.44;
  animation: abs-ken-burns 22s ease-in-out infinite alternate;
}

.home-hero-overlay {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background: linear-gradient(105deg, rgba(17, 31, 61, 0.92) 0%, rgba(27, 49, 96, 0.78) 55%, rgba(17, 31, 61, 0.62) 100%);
}

.home-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 92px;
  padding-bottom: 92px;
  max-width: 780px;
}

.home-hero-title {
  font-family: "Noto Serif JP", serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 60px;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: 0.8px;
}

.home-hero-sub {
  font-size: 17px;
  line-height: 30px;
  color: #E2E8F0;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  background-color: #1B3160;
  border-top: 1px solid rgba(201, 168, 106, 0.35);
  border-bottom: 1px solid rgba(201, 168, 106, 0.35);
  padding-top: 28px;
  padding-bottom: 28px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding-top: 6px;
  padding-right: 12px;
  padding-bottom: 6px;
  padding-left: 12px;
  border-right: 1px solid rgba(201, 168, 106, 0.25);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 34px;
  color: #E5C88B;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  line-height: 18px;
  color: #CBD5E1;
  letter-spacing: 0.5px;
}

/* ---------- Grids & Cards ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.grid-2-top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: start;
}

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

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

.card {
  background-color: #FFFFFF;
  border: 1px solid #E5E0D5;
  border-radius: 8px;
  padding-top: 28px;
  padding-right: 28px;
  padding-bottom: 28px;
  padding-left: 28px;
  box-shadow: 0px 4px 18px rgba(17, 31, 61, 0.04);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 14px 30px rgba(17, 31, 61, 0.1);
  border-color: #C9A86A;
}

.card-static:hover {
  transform: none;
  box-shadow: 0px 4px 18px rgba(17, 31, 61, 0.04);
  border-color: #E5E0D5;
}

.card-gold-top {
  border-top: 3px solid #B8934A;
}

.card-navy-top {
  border-top: 3px solid #1B3160;
}

.card-title {
  font-family: "Noto Serif JP", serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 28px;
  color: #1B3160;
  margin-bottom: 12px;
}

.card-num {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 32px;
  color: #B8934A;
  margin-bottom: 10px;
}

.media-frame {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #E5E0D5;
  box-shadow: 0px 10px 28px rgba(17, 31, 61, 0.1);
  background-color: #F8F6F1;
}

.media-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.media-frame:hover img {
  transform: scale(1.035);
}

.quote-box {
  background-color: #F8F6F1;
  border-left: 4px solid #B8934A;
  padding-top: 24px;
  padding-right: 28px;
  padding-bottom: 24px;
  padding-left: 28px;
  border-radius: 0px 8px 8px 0px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.quote-text {
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 30px;
  color: #1B3160;
}

.quote-author {
  margin-top: 10px;
  font-size: 13px;
  color: #64748B;
}

/* ---------- Timeline (Lecturer Page) ---------- */
.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid #D9C8A0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.timeline-item {
  position: relative;
  background-color: #FFFFFF;
  border: 1px solid #E5E0D5;
  border-radius: 8px;
  padding-top: 24px;
  padding-right: 28px;
  padding-bottom: 24px;
  padding-left: 28px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(4px);
  box-shadow: 0px 10px 26px rgba(17, 31, 61, 0.08);
  border-color: #C9A86A;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 28px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background-color: #1B3160;
  border: 3px solid #B8934A;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-item:hover::before {
  transform: scale(1.2);
  box-shadow: 0px 0px 0px 5px rgba(184, 147, 74, 0.22);
}

.timeline-period {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #9E1F32;
  background-color: #FBF1F3;
  padding-top: 4px;
  padding-right: 12px;
  padding-bottom: 4px;
  padding-left: 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* ---------- Culture ABS Triad & Mission ---------- */
.abs-letter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background-color: #1B3160;
  color: #E5C88B;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  border: 2px solid #B8934A;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
}

.card:hover .abs-letter-badge {
  transform: scale(1.08);
  background-color: #25417D;
}

.mission-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(201, 168, 106, 0.28);
  align-items: start;
}

.mission-row:last-child {
  border-bottom: none;
}

.mission-num {
  font-family: "Noto Serif JP", serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 44px;
  color: #C9A86A;
}

.mission-text {
  font-size: 15px;
  line-height: 29px;
  color: #E2E8F0;
}

/* ---------- Compliance / Legal Box ---------- */
.disclosure-box {
  background-color: #F8F6F1;
  border: 1px solid #D9C8A0;
  border-radius: 8px;
  padding-top: 28px;
  padding-right: 32px;
  padding-bottom: 28px;
  padding-left: 32px;
}

.disclosure-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.disclosure-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 26px;
  color: #334155;
}

.disclosure-list li::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: #B8934A;
}

/* ---------- History Page: Filters & Table ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background-color: #F8F6F1;
  border: 1px solid #E5E0D5;
  border-radius: 8px;
  padding-top: 18px;
  padding-right: 20px;
  padding-bottom: 18px;
  padding-left: 20px;
  margin-bottom: 28px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-btn {
  height: 38px;
  padding-top: 0px;
  padding-right: 16px;
  padding-bottom: 0px;
  padding-left: 16px;
  border-radius: 4px;
  border: 1px solid #D9D4C8;
  background-color: #FFFFFF;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tab-btn:hover {
  border-color: #1B3160;
  color: #1B3160;
}

.tab-btn.active {
  background-color: #1B3160;
  border-color: #1B3160;
  color: #FFFFFF;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #E5E0D5;
  border-radius: 8px;
  background-color: #FFFFFF;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.data-table th {
  background-color: #1B3160;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  padding-top: 14px;
  padding-right: 16px;
  padding-bottom: 14px;
  padding-left: 16px;
  white-space: nowrap;
}

.data-table td {
  padding-top: 16px;
  padding-right: 16px;
  padding-bottom: 16px;
  padding-left: 16px;
  border-bottom: 1px solid #ECE8DF;
  font-size: 14px;
  color: #1F2937;
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background-color 0.2s ease;
}

.data-table tbody tr:hover {
  background-color: #FAF8F3;
}

.data-table tr.detail-row td {
  background-color: #FAF8F4;
  padding-top: 14px;
  padding-right: 24px;
  padding-bottom: 16px;
  padding-left: 24px;
  color: #475569;
  font-size: 13px;
  line-height: 23px;
  animation: abs-hero-fade-up 0.3s ease both;
}

.market-badge {
  display: inline-block;
  padding-top: 3px;
  padding-right: 10px;
  padding-bottom: 3px;
  padding-left: 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.market-jp {
  background-color: #FBF1F3;
  color: #9E1F32;
}

.market-us {
  background-color: #EBF1FA;
  color: #1B3160;
}

.return-positive {
  font-weight: 700;
  color: #0F766E;
}

.return-negative {
  font-weight: 700;
  color: #9E1F32;
}

.mobile-trade-cards {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.trade-mobile-card {
  background-color: #FFFFFF;
  border: 1px solid #E5E0D5;
  border-radius: 8px;
  padding-top: 18px;
  padding-right: 18px;
  padding-bottom: 18px;
  padding-left: 18px;
}

/* ---------- Forms (including disabled, loading & error states) ---------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #1B3160;
}

.required-mark {
  color: #9E1F32;
  margin-left: 4px;
}

.form-input,
.form-select {
  width: 100%;
  height: 46px;
  padding-top: 0px;
  padding-right: 14px;
  padding-bottom: 0px;
  padding-left: 14px;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  background-color: #FFFFFF;
  color: #1F2937;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #1B3160;
  box-shadow: 0px 0px 0px 3px rgba(27, 49, 96, 0.12);
}

.form-input:disabled,
.form-select:disabled {
  background-color: #F1F5F9;
  color: #94A3B8;
  cursor: not-allowed;
}

.form-input.is-loading,
.form-select.is-loading {
  background-color: #F8FAFC;
  cursor: wait;
}

.form-input.is-error,
.form-select.is-error {
  border-color: #9E1F32;
  background-color: #FFF9FA;
}

.form-error {
  font-size: 12px;
  line-height: 18px;
  color: #9E1F32;
  min-height: 18px;
}

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-color: rgba(17, 31, 61, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding-top: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 480px;
  background-color: #FFFFFF;
  border-radius: 10px;
  border-top: 4px solid #B8934A;
  padding-top: 32px;
  padding-right: 28px;
  padding-bottom: 28px;
  padding-left: 28px;
  box-shadow: 0px 20px 50px rgba(17, 31, 61, 0.3);
  text-align: center;
  animation: abs-modal-pop 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ---------- Back to Top Floating Button ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 150;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background-color: #1B3160;
  color: #E5C88B;
  border: 2px solid #B8934A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0px 8px 22px rgba(17, 31, 61, 0.25);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, background-color 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0px);
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: #25417D;
  transform: translateY(-3px);
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: #111F3D;
  color: #CBD5E1;
  padding-top: 64px;
  padding-bottom: 36px;
  border-top: 3px solid #B8934A;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-title {
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  font-weight: 700;
  color: #E5C88B;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.footer-links a {
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

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

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #94A3B8;
}

/* ---------- Reduced Motion Support ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-hero-bg,
  .hero-anim-1,
  .hero-anim-2,
  .hero-anim-3,
  .hero-anim-4,
  .page-hero::after,
  .modal-box {
    animation: none;
  }

  html.js-anim-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card,
  .btn,
  .media-frame img,
  .timeline-item {
    transition: none;
  }
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

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

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

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

@media (max-width: 768px) {
  html.js-anim-ready [data-reveal="left"],
  html.js-anim-ready [data-reveal="right"] {
    transform: translateY(20px);
  }

  .site-header,
  .header-inner {
    height: 64px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 16px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .container,
  .container-narrow {
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-hero {
    min-height: 480px;
  }

  .home-hero-content {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .home-hero-title {
    font-size: 27px;
    line-height: 40px;
  }

  .home-hero-sub {
    font-size: 15px;
    line-height: 26px;
  }

  .page-hero {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .page-hero-title {
    font-size: 26px;
    line-height: 38px;
  }

  .section-title {
    font-size: 24px;
    line-height: 35px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-value {
    font-size: 20px;
    line-height: 28px;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(201, 168, 106, 0.2);
    padding-bottom: 12px;
  }

  .grid-2,
  .grid-2-top,
  .grid-3,
  .grid-4,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mission-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mission-num {
    font-size: 30px;
    line-height: 34px;
  }

  .table-wrap {
    display: none;
  }

  .mobile-trade-cards {
    display: flex;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .card {
    padding-top: 22px;
    padding-right: 20px;
    padding-bottom: 22px;
    padding-left: 20px;
  }

  .back-to-top {
    right: 16px;
    bottom: 20px;
    width: 42px;
    height: 42px;
  }
}
