@charset "UTF-8";
/* =========================================
   Ultimate Shortened CSS
   ========================================= */
:root {
  /* Colors */
  --c-bg: #f4f4f0;
  --c-tx: #1a1a1a;
  --c-ac: #b79659;
  --c-sub: #2b2b2b;
  --c-gd: #e7c27d;
  --w1: #fff;
  --w1t: #000;
  --w2: #222;
  --w2t: #fff;
  --w3: #e60012;
  --w3t: #fff;
  --w4: #0041ff;
  --w4t: #fff;
  --w5: #f1e000;
  --w5t: #000;
  --w6: #00a960;
  --w6t: #fff;
  --w7: #ea5504;
  --w7t: #fff;
  --w8: #f083c3;
  --w8t: #000;
  --sz-g: #006837;
  --sz-y: #fff100;
  /* Fonts */
  --f-s: "Shippori Mincho", serif;
  --f-o: "Zen Old Mincho", serif;
  --f-e: "Oswald", sans-serif;
  --f-h: "Archivo Black", sans-serif;
  /* Layout */
  --w: 1280px;
  --hh: 80px;
}

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

body {
  background: var(--c-bg) radial-gradient(#d1d1d1 1px, transparent 1px) 0 0/20px 20px, linear-gradient(to right, rgba(0, 0, 0, 0.0196078431) 1px, transparent 1px) 0 0/100px 100%;
  color: var(--c-tx);
  font: 400 1rem/1.6 var(--f-s);
  overflow-x: hidden;
}

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

button {
  background: none;
  border: 0;
  cursor: pointer;
}

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

::-moz-selection {
  background: var(--c-ac);
  color: #fff;
}

::selection {
  background: var(--c-ac);
  color: #fff;
}

/* Utilities */
.container {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 1rem;
}

.font-eng {
  font-family: var(--f-e);
}

.font-heavy {
  font-family: var(--f-h);
}

.font-old {
  font-family: var(--f-o);
}

.font-serif {
  font-family: var(--f-s);
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.2em;
}

.clip-photo {
  clip-path: polygon(2% 2%, 98% 0, 100% 98%, 0 100%);
}

.paper-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.ink-effect {
  position: relative;
  transition: color 0.3s;
}

.ink-effect::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 120%;
  height: 120%;
  background: var(--c-ac);
  border-radius: 50%;
  transition: transform 0.4s ease;
  filter: blur(8px);
  opacity: 0.3;
}

.group:hover .ink-effect::before,
.hover-trigger:hover .ink-effect::before {
  transform: translate(-50%, -50%) scale(1);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

.logo-area {
  pointer-events: auto;
  background: var(--c-bg);
  padding: 1rem;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 #000;
  transition: 0.3s;
}

.logo-area.link:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 #000;
}

.logo-area h1 {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.sub-title {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.main-title {
  font-size: 1.875rem;
  letter-spacing: -0.05em;
  font-weight: 900;
}
.main-title .name {
  display: block;
  font-size: 1em;
  letter-spacing: -0.05em;
  font-weight: 900;
  color: white;
  margin-top: 0.2em;
}

.main-title span {
  color: var(--c-ac);
}

.header-nav {
  pointer-events: auto;
  display: flex;
  gap: 1rem;
}

.icon-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.search-btn {
  background: #000;
  color: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1019607843);
}

.search-btn:hover {
  background: var(--c-ac);
}

.menu-btn {
  background: #fff;
  color: #000;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 #000;
}

.menu-btn:hover {
  background: #000;
  color: #fff;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--c-bg);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 4px solid #000;
}

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

.mobile-menu .close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.mobile-menu .close-btn:hover {
  background: #000;
  color: #fff;
}

.menu-content {
  text-align: center;
}

.menu-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: #666;
  margin-bottom: 1rem;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.menu-links a:hover {
  color: var(--c-ac);
  font-style: italic;
}

.menu-social {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-weight: 700;
}

.menu-social a {
  border-bottom: 1px solid #000;
}

@media (min-width: 768px) {
  .menu-links {
    font-size: 3.75rem;
  }
}
/* Hero */
.hero-section {
  min-height: 100vh;
  padding: 8rem 0 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-section .vertical-decoration {
  display: none;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 7rem;
  font-weight: 700;
  opacity: 0.1;
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.issue-tag {
  display: inline-block;
  background: #fff;
  border: 1px solid #000;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  transform: rotate(-2deg);
}

.hero-title {
  font-size: 3.75rem;
  line-height: 0.85;
  margin-bottom: 1.5rem;
  letter-spacing: -0.05em;
}

.hero-subtitle {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
  border-left: 4px solid var(--c-ac);
  padding-left: 1.5rem;
}

.hero-desc {
  color: #4b5563;
  line-height: 2;
  margin-bottom: 2.5rem;
  text-align: justify;
  max-width: 28rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #000;
  color: #fff;
  padding: 1rem 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: 6px 6px 0 #c8c8c8;
  transition: 0.3s;
}

.btn-primary:hover {
  background: var(--c-ac);
}

.btn-primary svg {
  width: 1rem;
  height: 1rem;
}

.hero-visual {
  position: relative;
}

.bg-decoration {
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 16rem;
  height: 16rem;
  background: #f0f0f0;
  border-radius: 50%;
  filter: blur(40px);
  mix-blend-mode: multiply;
}

.visual-wrapper {
  position: relative;
  z-index: 10;
  transform: rotate(1deg);
  transition: transform 0.7s;
}

.visual-wrapper:hover {
  transform: rotate(0);
}

.waku-badge {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 6rem;
  height: 6rem;
  background: var(--w6);
  color: var(--w6t);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  border: 4px solid #fff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1019607843);
  z-index: 20;
}

.main-photo {
  width: 100%;
  height: 600px;
  -o-object-fit: cover;
     object-fit: cover;
  filter: grayscale(100%) contrast(125%);
  clip-path: polygon(2% 2%, 98% 0, 100% 98%, 0 100%);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2509803922);
}

.photo-caption {
  position: absolute;
  bottom: 2.5rem;
  right: -1.5rem;
  background: #fff;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  max-width: 20rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1019607843);
  transform: rotate(-3deg);
}

.caption-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #000;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.rec-mark {
  color: var(--c-ac);
}

.photo-caption p {
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .hero-section .vertical-decoration {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 5fr 7fr;
  }
  .hero-title {
    font-size: 6rem;
  }
}
/* Filter Bar */
.filter-bar {
  border-block: 2px solid #000;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
}

.scroll-wrapper {
  overflow-x: auto;
}

.filter-list {
  display: flex;
  white-space: nowrap;
}

.filter-bar a {
  padding: 1rem 2rem;
  font-weight: 700;
  border-right: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.3s;
}

.filter-bar a.active .dot {
  width: 0.75rem;
  height: 0.75rem;
  background: #000;
  border-radius: 50%;
}

.filter-bar a.active:hover {
  background: var(--c-ac);
  color: #fff;
}

.filter-bar a.year-link {
  color: #9ca3af;
}

.filter-bar a.waku-3:hover {
  background: var(--w3);
  color: var(--w3t);
}

.filter-bar a.waku-4:hover {
  background: var(--w4);
  color: var(--w4t);
}

.filter-bar a.waku-5:hover {
  background: var(--w5);
  color: var(--w5t);
}

.filter-bar a.waku-6:hover {
  background: var(--w6);
  color: var(--w6t);
}

.filter-fill {
  flex-grow: 1;
  background: url("data:image/svg+xml,%3Csvg width='4' height='4' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23ddd'/%3E%3C/svg%3E");
}

/* Archive & Cards */
.archive-section {
  padding: 6rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  padding: 0 0.5rem;
}

.header-titles .sub {
  display: block;
  color: #6b7280;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.header-titles .main {
  font-size: 2.25rem;
  font-weight: 900;
}

.header-desc {
  display: none;
  text-align: right;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 2;
}

.horse-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem 2rem;
}

@media (min-width: 768px) {
  .header-titles .main {
    font-size: 3rem;
  }
  .header-desc {
    display: block;
  }
  .horse-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .horse-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .horse-card.mt-offset {
    margin-top: 3rem;
  }
}
.horse-card {
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.horse-card:hover {
  transform: translateY(-8px);
}

.card-visual {
  position: relative;
  margin-bottom: 1.5rem;
}

.visual-border {
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  width: 100%;
  height: 100%;
  border: 2px solid #000;
  z-index: 0;
}

.visual-inner {
  position: relative;
  z-index: 10;
  background: #fff;
  border: 2px solid #000;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.horse-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: #fff;
  border: 2px solid #000;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 20;
}

.horse-number.waku-2 {
  background: var(--w2);
  color: var(--w2t);
}

.horse-number.waku-5 {
  background: var(--w5);
  color: var(--w5t);
}

.hero-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 20;
  border: 4px solid var(--c-ac);
  color: var(--c-ac);
  padding: 0.25rem 0.5rem;
  font-size: 1.25rem;
  transform: rotate(12deg);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.3s;
}

.horse-card:hover .hero-badge {
  opacity: 1;
}

.visual-inner img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: grayscale(100%);
  transition: 0.5s;
}

.horse-card:hover .visual-inner img {
  filter: grayscale(0);
  transform: scale(1.05);
}

.horse-card .overlay {
  position: absolute;
  inset: 0;
  background: var(--c-ac);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.3s;
}

.horse-card:hover .overlay {
  opacity: 0.2;
}

.card-content {
  padding: 0 0.5rem;
}

.meta-info {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #9ca3af;
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

.years {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 700;
}

.colors {
  display: flex;
  gap: 0.25rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.dot.waku-1 {
  background: var(--w1);
  border: 1px solid #d1d5db;
}

.dot.waku-2 {
  background: var(--w2);
}

.dot.waku-3 {
  background: var(--w3);
}

.dot.waku-5 {
  background: var(--w5);
  border: 1px solid #000;
}

.horse-name {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.horse-card:hover .horse-name {
  color: var(--c-ac);
}

.horse-alias {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.horse-desc {
  font-family: var(--f-s);
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.horse-card:hover .card-link {
  text-decoration: underline;
  text-decoration-color: var(--c-ac);
}

.card-link span {
  color: var(--c-ac);
}

/* Single (Suzuka) */
.hero-poster {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #1a1a1a;
}

.hero-poster .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-poster .hero-bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: grayscale(90%) sepia(20%) brightness(0.9) contrast(1.1) blur(4px);
}

.hero-poster .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8666666667) 15%, rgba(0, 0, 0, 0) 60%);
}

.hero-poster .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  text-shadow: 0 3px 25px rgba(0, 0, 0, 0.8);
  padding: 1rem;
}

.hero-poster .main-title {
  color: #fff;
  font-weight: 900;
  font-size: clamp(3rem, 12vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.hero-poster .gradient-text {
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(45deg, var(--c-gd), #fff);
}

.hero-poster .catchphrase {
  color: #e0e0e0;
  font-family: "Georgia", serif;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-style: italic;
  margin-top: 1.5rem;
  line-height: 1.6;
}

.profile-section {
  padding: 6rem 0;
  background: #fff;
  border-block: 2px solid #000;
}

.profile-section .grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.profile-section .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-section .line {
  height: 4px;
  flex-grow: 1;
  background: #000;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table tr {
  border-bottom: 1px solid #d1d5db;
}

.data-table tr.last {
  border-bottom: 2px solid #000;
}

.data-table th {
  padding: 1rem 1rem 1rem 1rem;
  text-align: left;
  font-weight: 700;
  width: 8rem;
  background: #f9fafb;
}

.data-table td {
  padding: 1rem;
}

.data-table .bold {
  font-weight: 700;
}

.pedigree-chart {
  border: 2px solid #000;
  padding: 0.25rem;
  margin-bottom: 1rem;
}

.chart-inner {
  border: 1px solid #000;
  background: #f9f9f9;
  padding: 1.5rem;
}

.chart-flex {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.parent {
  flex: 1;
  text-align: center;
}

.label {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.origin {
  font-size: 0.875rem;
  color: #4b5563;
}

.grand-parents {
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #9ca3af;
  font-size: 0.75rem;
  color: #4b5563;
}

.cross-mark {
  color: var(--c-ac);
  font-weight: 700;
  font-size: 1.5rem;
}

.pedigree-desc {
  font-size: 0.875rem;
  color: #4b5563;
  text-align: justify;
  line-height: 1.8;
}

@media (min-width: 1024px) {
  .profile-section .grid-layout {
    grid-template-columns: 5fr 7fr;
  }
}
@media (min-width: 768px) {
  .chart-flex {
    flex-direction: row;
  }
}
/* Career */
.career-section {
  padding: 6rem 0;
  background: #eaeaea;
  position: relative;
}

.bg-pattern {
  position: absolute;
  inset: 0;
  background: url("https://www.transparenttextures.com/patterns/stardust.png");
  opacity: 0.3;
}

.career-inner {
  position: relative;
  z-index: 10;
}

.section-heading {
  text-align: center;
  margin-bottom: 5rem;
}

.sub-label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  border: 1px solid #000;
  padding: 0.25rem 0.75rem;
  background: #fff;
  margin-bottom: 1rem;
  box-shadow: 4px 4px 0 #000;
}

.main-label {
  font-size: 3rem;
  font-weight: 900;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.race-item {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.visual-col {
  width: 100%;
  position: relative;
}

.bg-number {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  font-size: 8rem;
  color: #d1d5db;
  opacity: 0.5;
  z-index: 0;
  line-height: 1;
}

.bg-number.right {
  left: auto;
  right: -1.5rem;
}

.photo-frame {
  position: relative;
  z-index: 10;
  border: 4px solid #fff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2509803922);
  transition: transform 0.5s;
}

.photo-frame.rotate-cw {
  transform: rotate(2deg);
}

.photo-frame.rotate-ccw {
  transform: rotate(-2deg);
}

.race-item:hover .photo-frame {
  transform: rotate(0);
}

.photo-frame img {
  width: 100%;
  height: 400px;
  -o-object-fit: cover;
     object-fit: cover;
  filter: grayscale(100%) contrast(1.25);
}

.waku-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--sz-y);
  color: #000;
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
}

.waku-tag.black {
  background: #000;
  color: #fff;
  left: auto;
  right: 1rem;
}

.desc-col {
  width: 100%;
}

.race-date {
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.race-catch {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.race-catch span {
  color: var(--c-ac);
}

.race-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.race-text {
  line-height: 2;
  color: #374151;
  margin-bottom: 2rem;
  text-align: justify;
}

.race-text.right-align-last {
  -moz-text-align-last: right;
       text-align-last: right;
}

.race-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 2px solid #000;
  padding-top: 1rem;
}

.stat-box {
  text-align: center;
}

.stat-box.border-l {
  border-left: 1px solid #d1d5db;
}

.stat-box .val {
  font-weight: 700;
  font-size: 1.25rem;
}

.stat-box .val.accent {
  color: var(--c-ac);
}

.race-results {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
}

.res-1 {
  background: #e5e7eb;
  padding: 0.25rem 0.5rem;
}

.res-2 {
  border: 1px solid #9ca3af;
  color: #9ca3af;
  padding: 0.25rem 0.5rem;
}

@media (min-width: 768px) {
  .race-item,
  .race-item.reverse {
    flex-direction: row;
  }
  .race-item.reverse {
    flex-direction: row-reverse;
  }
  .visual-col,
  .desc-col {
    width: 50%;
  }
  .desc-col.align-right {
    text-align: right;
  }
}
/* Analytics */
.analytics-section {
  padding: 6rem 0;
  background: #fff;
  border-bottom: 2px solid #000;
}

.analytics-section .grid-layout {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.analytics-section .sub-head {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--c-ac);
  display: block;
  margin-bottom: 0.5rem;
}

.analytics-section .main-head {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.highlight {
  background: #000;
  color: #fff;
  padding: 0 0.5rem;
  display: inline-block;
  transform: rotate(-1deg);
  margin-top: 0.5rem;
}

.desc {
  font-size: 0.875rem;
  line-height: 2;
  color: #4b5563;
  text-align: justify;
  margin-bottom: 2rem;
}

.underline-accent {
  border-bottom: 2px solid var(--c-ac);
  font-weight: 700;
}

.highlight-box {
  background: #f3f4f6;
  padding: 1.5rem;
  border: 1px solid #d1d5db;
  position: relative;
  overflow: hidden;
}

.bg-text {
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  font-size: 3.75rem;
  color: #e5e7eb;
  pointer-events: none;
}

.box-title {
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.box-val {
  font-weight: 700;
  font-size: 1.25rem;
}

.box-note {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

.chart-frame {
  border: 2px solid #000;
  padding: 2rem;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  border-bottom: 1px dashed #9ca3af;
  padding-bottom: 1rem;
}

.chart-header h4 {
  font-weight: 700;
  font-size: 1.25rem;
}

.chart-header .tag {
  font-size: 0.75rem;
  background: #e5e7eb;
  padding: 0.25rem 0.5rem;
}

.chart-bars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.bar-meta .accent {
  color: var(--c-ac);
  font-weight: 700;
}

.bar-track {
  width: 100%;
  height: 2rem;
  background: #f3f4f6;
  border-radius: 0.125rem;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.5rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
}

.bar-fill.black {
  background: #000;
}

.bar-fill.red {
  background: var(--c-ac);
  box-shadow: 0 0 15px rgba(230, 0, 18, 0.4);
}

.bar-fill.gray {
  background: #4b5563;
}

.bar-fill.w-85 {
  width: 85%;
}

.bar-fill.w-92 {
  width: 92%;
}

.bar-fill.w-80 {
  width: 80%;
}

.avg-line {
  position: absolute;
  top: 0;
  height: 100%;
  width: 2px;
  border-left: 1px dashed rgba(255, 255, 255, 0.5019607843);
}

.avg-line.left-70 {
  left: 70%;
}

.avg-line.left-75 {
  left: 75%;
}

.avg-line.left-60 {
  left: 60%;
}

.chart-legend {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sq {
  width: 0.75rem;
  height: 0.75rem;
}

.sq.black {
  background: #000;
}

.ln {
  width: 2px;
  height: 0.75rem;
}

.ln.dashed {
  border-left: 1px dashed #9ca3af;
}

@media (min-width: 1024px) {
  .analytics-section .grid-layout {
    flex-direction: row;
  }
  .analytics-section .text-col {
    width: 33.33%;
  }
  .analytics-section .chart-col {
    width: 66.66%;
  }
}
/* Voice & Story */
.voice-section {
  padding: 6rem 0;
  background: #111;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.bg-typo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  opacity: 0.05;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-size: 10rem;
  line-height: 1;
  white-space: nowrap;
}

.voice-section .grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  position: relative;
  z-index: 10;
}

.quote-box {
  position: relative;
}

.quote-box.delay {
  margin-top: 3rem;
}

.quote-mark {
  position: absolute;
  left: -1rem;
  top: -2rem;
  font-size: 3.75rem;
  color: var(--c-ac);
  opacity: 0.5;
}

.voice-section figure {
  padding-left: 2rem;
  border-left: 1px solid #374151;
  transition: 0.5s;
}

.quote-box:hover figure {
  border-color: var(--c-ac);
}

.voice-section blockquote {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.voice-section figcaption {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.voice-section .line {
  width: 3rem;
  height: 1px;
  background: #6b7280;
}

.credit {
  font-size: 0.875rem;
  color: #9ca3af;
}

.credit span {
  font-size: 0.75rem;
  opacity: 0.7;
}

.section-footer {
  text-align: center;
  margin-top: 5rem;
}

.section-footer p {
  font-size: 0.75rem;
  color: #6b7280;
  letter-spacing: 0.5em;
  text-transform: uppercase;
}

.vertical-line {
  width: 1px;
  height: 3rem;
  background: var(--c-ac);
  margin: 1rem auto 0;
}

@media (min-width: 768px) {
  .bg-typo {
    font-size: 20rem;
  }
  .voice-section .grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
  .quote-box.delay {
    margin-top: 0;
  }
  .voice-section blockquote {
    font-size: 2rem;
  }
}
.story-section {
  padding: 6rem 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.story-inner {
  max-width: 56rem;
  position: relative;
  z-index: 10;
}

.story-flex {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.vertical-head {
  display: none;
  width: 6rem;
  padding-top: 3rem;
}

.vertical-head h2 {
  font-size: 3rem;
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: var(--c-ac);
  font-weight: 900;
}

.story-content {
  flex: 1;
  font-size: 1.125rem;
  line-height: 2;
  color: #1f2937;
  text-align: justify;
}

.mobile-head {
  font-weight: 900;
  font-size: 2.25rem;
  color: var(--c-ac);
  margin-bottom: 2rem;
}

.story-section p {
  margin-bottom: 2rem;
}

.marker-highlight {
  background: linear-gradient(transparent 60%, rgba(230, 170, 0, 0.2) 60%);
}

.quote-p {
  border-left: 4px solid #000;
  padding-left: 1.5rem;
  font-style: italic;
  color: #4b5563;
}

.vertical-border {
  position: absolute;
  top: 0;
  right: 2.5rem;
  width: 6rem;
  border-right: 1px solid #e5e7eb;
  display: none;
}

@media (min-width: 768px) {
  .story-flex {
    flex-direction: row;
  }
  .vertical-head {
    display: block;
  }
  .mobile-head {
    display: none;
  }
}
@media (min-width: 1024px) {
  .vertical-border {
    display: block;
  }
}
/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #fff;
  padding: 4rem 1rem;
}

.site-footer.accent-border {
  border-top: 4px solid var(--c-ac);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  width: 4rem;
  height: 4rem;
  background: #fff;
  border-radius: 50%;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 3rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-divider {
  width: 100%;
  max-width: 28rem;
  height: 1px;
  background: #374151;
  margin-bottom: 2rem;
}

.copyright {
  font-size: 0.75rem;
  color: #4b5563;
  letter-spacing: 0.1em;
}

/* =========================================
   Fan Voices Section
   ========================================= */
.fan-voices-section {
  padding: 6rem 0;
  background: #fff;
  border-bottom: 2px solid #000;
}

.voices-inner {
  position: relative;
  z-index: 10;
}

.fan-voices-section .section-heading {
  text-align: center;
  margin-bottom: 5rem;
}

.voices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.voice-card {
  background: #fff;
  border: 2px solid #000;
  padding: 1.5rem;
  transition: 0.3s;
  position: relative;
  box-shadow: 4px 4px 0 #e5e7eb;
}

.voice-card:hover {
  box-shadow: 8px 8px 0 var(--c-ac);
  transform: translate(-2px, -2px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #d1d5db;
}

.user-avatar {
  width: 3rem;
  height: 3rem;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.user-info {
  flex: 1;
}

.user-name {
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.user-date {
  font-size: 0.75rem;
  color: #6b7280;
}

.voice-text {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 1rem;
}

.card-footer {
  display: flex;
  justify-content: flex-end;
}

.card-footer .tag {
  background: #f3f4f6;
  padding: 0.25rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 1px solid #d1d5db;
}

@media (min-width: 768px) {
  .voices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .voices-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* =========================================
   Fun Episodes Section
   ========================================= */
.episodes-section {
  padding: 6rem 0;
  background: #f9fafb;
  position: relative;
}

.episodes-inner {
  position: relative;
  z-index: 10;
}

.episodes-section .section-heading {
  text-align: center;
  margin-bottom: 5rem;
}

.episodes-section .heading-desc {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.8;
}

.episodes-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 56rem;
  margin: 0 auto;
}

.episode-card {
  display: flex;
  gap: 2rem;
  position: relative;
}

.episode-card.left {
  flex-direction: column;
}

.episode-card.right {
  flex-direction: column;
}

.episode-number {
  font-size: 4rem;
  color: #e5e7eb;
  line-height: 1;
  position: absolute;
  top: -1rem;
  left: -1rem;
  z-index: 0;
}

.episode-content {
  background: #fff;
  border: 2px solid #000;
  padding: 2rem;
  position: relative;
  z-index: 10;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.0823529412);
  transition: 0.3s;
}

.episode-card:hover .episode-content {
  box-shadow: 10px 10px 0 var(--c-ac);
  transform: translate(-2px, -2px);
}

.episode-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.episode-text {
  font-size: 0.875rem;
  line-height: 2;
  color: #374151;
  text-align: justify;
  margin-bottom: 1.5rem;
}

.episode-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f3f4f6;
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  font-size: 0.75rem;
  font-weight: 700;
}

.tag-icon {
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .episode-card.left {
    flex-direction: row;
  }
  .episode-card.right {
    flex-direction: row-reverse;
  }
  .episode-card.right .episode-number {
    left: auto;
    right: -1rem;
  }
}
/* =========================================
   Archrival Section (Single Feature)
   ========================================= */
.rival-feature-section {
  padding: 120px 0;
  background-color: #111; /* 黒背景でシックに強調 */
  color: #fff;
  overflow: hidden;
}

.rival-feature-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

/* Image Column */
.rival-image-col {
  flex: 1;
  position: relative;
}

.rival-image-col .image-wrapper {
  position: relative;
  width: 100%;
  /* 縦長のポートレート風比率 */
  aspect-ratio: 3/4;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.rival-image-col img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: grayscale(100%) contrast(1.2); /* 白黒で重厚感を出す */
  transition: all 0.8s ease;
}

.rival-image-col:hover img {
  filter: grayscale(0%) contrast(1); /* ホバーでカラーに */
  transform: scale(1.03);
}

/* 写真上の巨大文字装飾 */
.rival-image-col .overlay-text {
  position: absolute;
  bottom: -20px;
  left: -20px;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  z-index: 2;
  pointer-events: none;
}

/* Text Column */
.rival-text-col {
  flex: 1;
  padding-right: 20px;
}

.rival-text-col .heading-area {
  margin-bottom: 40px;
  border-left: 4px solid #fff;
  padding-left: 25px;
}

.rival-text-col .label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: #aaa;
  margin-bottom: 10px;
}

.rival-text-col .name-eng {
  font-size: 4rem;
  line-height: 0.9;
  margin: 0;
  letter-spacing: -0.02em;
}

.rival-text-col .name-jp {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #ccc;
  font-weight: normal;
}

.story-text {
  font-size: 1rem;
  line-height: 2;
  color: #ddd;
  margin-bottom: 50px;
  text-align: justify;
}

/* VS Record Box */
.vs-record {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px;
  max-width: 400px;
}

.vs-header {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: #888;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.vs-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
}

.vs-body .horse {
  display: flex;
  flex-direction: column;
}

.vs-body .rank {
  font-size: 0.8rem;
  color: #888;
}

.vs-body .winner .rank {
  color: #fca311; /* 勝者のゴールド色 */
}

.vs-body .winner .h-name {
  font-weight: bold;
  color: #fff;
  border-bottom: 2px solid #fca311;
}

.vs-body .loser .h-name {
  color: #999;
}

.vs-mark {
  font-style: italic;
  font-weight: bold;
  color: #555;
  font-size: 1.2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .rival-feature-inner {
    flex-direction: column;
    gap: 40px;
  }
  .rival-image-col .image-wrapper {
    aspect-ratio: 16/9; /* スマホでは横長に */
  }
  .rival-image-col .overlay-text {
    font-size: 3rem;
    bottom: -10px;
    left: 10px;
  }
  .rival-text-col {
    padding-right: 0;
  }
  .rival-text-col .name-eng {
    font-size: 3rem;
  }
}
/* =========================================
   Career Record Section
   ========================================= */
.record-section {
  padding: 100px 0;
  background-color: #fff;
}

.summary-stats {
  margin-top: 15px;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: #888;
}

.summary-stats .stat {
  margin: 0 10px;
}

/* Table Wrapper for horizontal scroll on mobile */
.table-wrapper {
  margin-top: 50px;
  overflow-x: auto; /* スマホで横スクロール可能に */
  -webkit-overflow-scrolling: touch;
}

.record-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px; /* テーブルが潰れないよう最小幅を設定 */
}

.record-table thead th {
  text-align: left;
  padding: 15px 10px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: #999;
  border-bottom: 2px solid #111;
}

.record-table tbody td {
  padding: 20px 10px;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.record-table .race-title {
  font-size: 1rem;
}

/* Result Column Styling */
.res-win {
  color: #c00; /* 1着は赤 */
  font-weight: bold;
}

.res-sec {
  color: #111;
  font-weight: bold;
}

/* Row Hover Effect */
.record-table tbody tr {
  transition: background-color 0.3s ease;
}

.record-table tbody tr:hover {
  background-color: #fafafa;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .record-section {
    padding: 60px 0;
  }
  .section-heading.center {
    text-align: left;
  }
  .summary-stats {
    text-align: left;
  }
  .summary-stats .stat {
    display: block;
    margin: 5px 0;
  }
}/*# sourceMappingURL=style.css.map */