/* =========================================
   WitKey Studio - Corporate Site
   ========================================= */

:root {
  --c-primary: #ffc107;
  --c-primary-dark: #f5a800;
  --c-primary-light: #fff3d4;
  --c-dark: #1d1d1f;
  --c-text: #2a2a2a;
  --c-muted: #6b6b73;
  --c-line: #e8e8ec;
  --c-bg: #ffffff;
  --c-bg-alt: #fafafa;
  --c-bg-dark: #15151a;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.12);
  --font-jp: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-en: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1180px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: block; height: 38px; }
.logo img { height: 100%; width: auto; }
.logo .logo-dark { display: none; }
.logo .logo-light { display: block; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3)); }
.site-header.scrolled .logo .logo-dark { display: block; filter: none; }
.site-header.scrolled .logo .logo-light { display: none; }

.nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--c-primary);
  transition: width 0.3s var(--ease);
}
.nav a:hover::after { width: 100%; }

.site-header.scrolled .nav a {
  color: var(--c-dark);
  text-shadow: none;
}

.nav-cta {
  background: var(--c-primary);
  color: var(--c-dark) !important;
  padding: 10px 22px !important;
  border-radius: 999px;
  text-shadow: none !important;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
}

.hamburger {
  display: none;
  width: 32px; height: 32px;
  position: relative;
}
.hamburger span {
  display: block;
  position: absolute;
  left: 4px; right: 4px;
  height: 2px;
  background: #fff;
  transition: all 0.3s var(--ease);
}
.hamburger span:nth-child(1) { top: 9px; }
.hamburger span:nth-child(2) { top: 15px; }
.hamburger span:nth-child(3) { top: 21px; }
.site-header.scrolled .hamburger span { background: var(--c-dark); }
.hamburger.is-open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/FirstView.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(20, 20, 30, 0.65) 0%, rgba(20, 20, 30, 0.45) 50%, rgba(255, 193, 7, 0.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 28px 80px;
  max-width: 900px;
}
.hero-symbol {
  width: 88px;
  margin: 0 auto 32px;
  animation: fadeUp 1s var(--ease) 0.2s both;
}
.hero-title {
  display: block;
  margin-bottom: 28px;
  animation: fadeUp 1s var(--ease) 0.4s both;
}
.hero-title-en {
  display: block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.hero-title-jp {
  display: block;
  font-weight: 500;
  font-size: clamp(15px, 2vw, 20px);
  letter-spacing: 0.2em;
  opacity: 0.92;
}
.hero-lead {
  font-size: clamp(13px, 1.4vw, 16px);
  line-height: 2;
  letter-spacing: 0.05em;
  opacity: 0.92;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  animation: fadeUp 1s var(--ease) 0.6s both;
}
.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 56px auto 0;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #fff;
  opacity: 0.85;
  animation: fadeUp 1s var(--ease) 0.9s both;
}
.hero-scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, #fff, transparent);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--c-primary);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 100%; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   SECTIONS COMMON
   ========================================= */
.section { padding: 120px 0; position: relative; }
.section-head { margin-bottom: 60px; }
.section-head-center { text-align: center; }
.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--c-primary-dark);
  margin-bottom: 16px;
  position: relative;
  padding-left: 36px;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 24px; height: 1px;
  background: var(--c-primary-dark);
}
.section-head-center .section-label { padding-left: 0; }
.section-head-center .section-label::before { display: none; }

.section-title {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--c-dark);
}
.section-desc {
  margin-top: 18px;
  color: var(--c-muted);
  font-size: 15px;
}

/* =========================================
   ABOUT
   ========================================= */
.about { background: var(--c-bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text { padding-right: 20px; }
.about-lead {
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--c-dark);
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 24px;
}
.about-lead::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 50px; height: 3px;
  background: var(--c-primary);
}
.about-body {
  font-size: 15px;
  line-height: 2;
  color: var(--c-text);
  margin-bottom: 18px;
}

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.about-image:hover img { transform: scale(1.05); }
.about-badge {
  position: absolute;
  left: -20px; bottom: -20px;
  background: var(--c-primary);
  color: var(--c-dark);
  padding: 22px 28px;
  border-radius: 6px;
  box-shadow: 0 15px 35px rgba(255, 193, 7, 0.4);
}
.about-badge-year {
  display: block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
}
.about-badge-text {
  display: block;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.15em;
  margin-top: 4px;
}

/* =========================================
   BUSINESS
   ========================================= */
.business { background: var(--c-bg-alt); }
.biz-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.biz-card {
  display: grid;
  grid-template-columns: 5fr 7fr;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.biz-card:nth-child(even) { grid-template-columns: 7fr 5fr; }
.biz-card:nth-child(even) .biz-card-img { order: 2; }
.biz-card:nth-child(even) .biz-card-body { order: 1; }

.biz-card-img {
  overflow: hidden;
  min-height: 320px;
}
.biz-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.biz-card:hover .biz-card-img img { transform: scale(1.08); }

.biz-card-body {
  padding: 50px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.biz-card-num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--c-primary-dark);
  margin-bottom: 14px;
}
.biz-card-title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.3;
  color: var(--c-dark);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.biz-card-jp {
  font-weight: 500;
  font-size: 14px;
  color: var(--c-primary-dark);
  margin-bottom: 18px;
}
.biz-card-desc {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--c-text);
}

/* =========================================
   PRODUCT
   ========================================= */
.product { background: var(--c-bg); }
.product-card {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 60px;
  background: linear-gradient(135deg, #fffbea 0%, #fff5cc 100%);
  border-radius: 16px;
  padding: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.25) 0%, transparent 70%);
}
.product-visual { position: relative; }
.product-visual-main {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.product-info { position: relative; z-index: 1; }
.product-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.product-icon {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  background: #fff;
  border-radius: 20px;
  padding: 6px;
  box-shadow: var(--shadow-md);
}
.product-head-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.product-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--c-dark);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 6px 16px;
  border-radius: 999px;
}
.product-title {
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.2;
  color: var(--c-dark);
}
.product-sub {
  font-weight: 500;
  font-size: 16px;
  color: var(--c-primary-dark);
  margin-bottom: 24px;
}
.product-desc {
  font-size: 14.5px;
  line-height: 2;
  color: var(--c-text);
  margin-bottom: 32px;
}
.product-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.product-meta > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  font-size: 14px;
}
.product-meta-label {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--c-muted);
}

/* =========================================
   COMPANY
   ========================================= */
.company { background: var(--c-bg-alt); }
.company-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.company-table th,
.company-table td {
  text-align: left;
  padding: 22px 28px;
  border-bottom: 1px solid var(--c-line);
  font-size: 14.5px;
  line-height: 1.85;
  vertical-align: top;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }
.company-table th {
  width: 30%;
  font-weight: 700;
  color: var(--c-dark);
  background: #fafafa;
}
.company-table td a {
  color: var(--c-primary-dark);
  border-bottom: 1px solid var(--c-primary-dark);
}
.company-table td a:hover { color: var(--c-primary); }
.t-en {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--c-muted);
}
.t-kana {
  font-size: 12px;
  color: var(--c-muted);
}

.company-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.company-block {
  background: #fff;
  padding: 28px 28px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.company-block-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--c-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-primary);
  position: relative;
}
.company-list li {
  padding: 8px 0 8px 18px;
  font-size: 14px;
  color: var(--c-text);
  position: relative;
}
.company-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 18px;
  width: 6px; height: 6px;
  background: var(--c-primary);
  border-radius: 50%;
}

/* =========================================
   ACCESS
   ========================================= */
.access { background: var(--c-bg); }
.access-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.access-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.access-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.access-name {
  font-weight: 700;
  font-size: 22px;
  color: var(--c-dark);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--c-primary);
}
.access-zip {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--c-muted);
  margin-bottom: 8px;
}
.access-address {
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-dark);
  margin-bottom: 28px;
}
.access-dl {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 8px 20px;
  margin-bottom: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.access-dl dt {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  align-self: center;
}
.access-dl dd {
  font-size: 16px;
  color: var(--c-dark);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--c-primary);
  color: var(--c-dark);
}
.btn-primary:hover {
  background: var(--c-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 193, 7, 0.4);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--c-dark);
  color: var(--c-dark);
}
.btn-outline:hover {
  background: var(--c-dark);
  color: #fff;
  transform: translateY(-3px);
}
.btn-lg {
  flex-direction: column;
  align-items: center;
  padding: 18px 40px;
  gap: 4px;
  min-width: 280px;
}
.btn-sub {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.15em;
  opacity: 0.8;
}
.btn-main {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.03em;
}

/* =========================================
   CONTACT
   ========================================= */
.contact {
  background: linear-gradient(135deg, #1d1d1f 0%, #2a2a30 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
}
.contact-inner { position: relative; z-index: 1; }
.contact-symbol {
  width: 72px;
  margin: 0 auto 28px;
  opacity: 0.95;
}
.contact-title {
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 38px);
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.contact-desc {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 48px;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.contact .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.contact .btn-outline:hover {
  background: #fff;
  color: var(--c-dark);
  border-color: #fff;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: #0d0d12;
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer-brand img {
  height: 36px;
  margin-bottom: 20px;
}
.footer-tagline {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
}
.footer-cols h4 {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-primary);
  margin-bottom: 18px;
}
.footer-cols ul li {
  font-size: 13.5px;
  line-height: 1.9;
  padding: 4px 0;
}
.footer-cols ul a:hover { color: var(--c-primary); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

/* =========================================
   FADE-IN ANIMATION
   ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }

  .hamburger { display: block; }
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: #fff;
    padding: 90px 30px 30px;
    transition: right 0.4s var(--ease);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  }
  .nav.is-open { right: 0; }
  .nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .nav ul li {
    width: 100%;
    border-bottom: 1px solid var(--c-line);
  }
  .nav a {
    color: var(--c-dark);
    text-shadow: none;
    padding: 18px 0;
    display: block;
    width: 100%;
  }
  .nav a::after { display: none; }
  .nav-cta {
    margin-top: 16px;
    text-align: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-text { padding-right: 0; }

  .biz-card,
  .biz-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .biz-card:nth-child(even) .biz-card-img { order: 0; }
  .biz-card:nth-child(even) .biz-card-body { order: 0; }
  .biz-card-img { min-height: 220px; }
  .biz-card-body { padding: 36px 28px; }

  .product-card {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 40px;
  }
  .product-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }
  .product-head { gap: 16px; }

  .company-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .company-table th,
  .company-table td {
    padding: 16px 18px;
    font-size: 13.5px;
  }
  .company-table th { width: 35%; }

  .access-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; max-width: 320px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 540px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero-content { padding: 100px 20px 80px; }
  .about-badge {
    left: 12px; bottom: 12px;
    padding: 16px 20px;
  }
  .about-badge-year { font-size: 28px; }
  .biz-card-body { padding: 30px 22px; }
  .biz-card-title { font-size: 22px; }
}

/* =========================================================================
   SUB PAGES ADDITION  (2026-09-11 / T422)
   game.html / privacy-policy.html / personal-information.html 用
   ※既存セレクタの値は一切変更せず、新規クラスのみ追加
   ========================================================================= */

/* ---- 追加トークン ------------------------------------------------------ */
:root {
  /* 白背景でも WCAG AA を満たす濃いアンバー
     （既存 --c-primary-dark は白背景では文字色としてコントラスト不足のため、
       追加ページでは文字色にこちらを使う） */
  --c-accent-ink: #7a5900;
  --c-note-ink: #4a3a00;
  --c-note-line: #e6c76a;
}

/* ---- スキップリンク（アクセシビリティ） -------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--c-dark);
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- 下層ページ用ヘッダー（常時ソリッド・JS不要） ---------------------- */
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}
.site-header.is-solid .logo .logo-dark { display: block; filter: none; }
.site-header.is-solid .logo .logo-light { display: none; }
.site-header.is-solid .nav a { color: var(--c-dark); text-shadow: none; }
.site-header.is-solid .hamburger span { background: var(--c-dark); }

/* ---- 下層ページ共通ヘッドバンド ---------------------------------------- */
.page-head {
  position: relative;
  overflow: hidden;
  padding: 150px 0 64px;
  background: linear-gradient(135deg, #1d1d1f 0%, #2a2a30 100%);
  color: #fff;
}
.page-head::before {
  content: "";
  position: absolute;
  top: -160px; right: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.16) 0%, transparent 70%);
  pointer-events: none;
}
.page-head-inner { position: relative; z-index: 1; }
.page-label {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--c-primary);
  margin-bottom: 14px;
}
.page-title {
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.35;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
.page-lead {
  font-size: 15px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
}
.page-dates {
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.82);
}
.page-dates span { margin-right: 18px; display: inline-block; }

/* ---- パンくず ---------------------------------------------------------- */
.breadcrumb {
  background: var(--c-bg-alt);
  border-bottom: 1px solid var(--c-line);
  font-size: 13px;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 14px 0;
  color: var(--c-muted);
}
.breadcrumb li { display: flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before { content: "/"; color: var(--c-muted); }
.breadcrumb a { color: var(--c-accent-ink); text-decoration: underline; }
.breadcrumb a:hover { color: var(--c-dark); }
.breadcrumb [aria-current] { color: var(--c-text); }

/* =========================================================================
   GAME PAGE
   ========================================================================= */
.game-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #1d1d1f 0%, #2f2a1c 100%);
  color: #fff;
}
.game-hero::before {
  content: "";
  position: absolute;
  top: -180px; left: 45%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.game-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 56px;
  align-items: center;
}
.game-hero-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.game-icon {
  flex-shrink: 0;
  width: 86px; height: 86px;
  background: #fff;
  border-radius: 20px;
  padding: 6px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.game-head-text { min-width: 0; }
.game-tag {
  display: inline-block;
  background: var(--c-primary);
  color: var(--c-dark);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.game-title {
  font-weight: 900;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.game-catch {
  font-weight: 600;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: var(--c-primary);
  margin-bottom: 18px;
}
.game-desc {
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}
.game-visual img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* ストアボタン（URL未定のプレースホルダ） */
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.store-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 208px;
  padding: 14px 24px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.store-btn:hover {
  border-color: var(--c-primary);
  background: rgba(255, 255, 255, 0.12);
}
.store-btn-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.88);
}
.store-btn-name {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
}
.store-state {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--c-primary);
  color: var(--c-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.store-caption {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.86);
}

/* 遊び方ステップ */
.game-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.game-step {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 22px 18px 26px;
  box-shadow: var(--shadow-sm);
}
.game-step-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 520 / 920;
  object-fit: contain;
  border-radius: 8px;
  margin: 0 auto 14px;
  background: transparent;
}
.game-step-num {
  display: block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--c-accent-ink);
}
.game-step-title {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  color: var(--c-dark);
  margin: 8px 0 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-primary);
}
.game-step-text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-text);
}

/* 基本情報テーブル（company-table を流用・幅だけ調整） */
.spec-wrap { max-width: 780px; margin: 0 auto; }

/* サポート導線 */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.support-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.support-card h3 {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  color: var(--c-dark);
  margin-bottom: 10px;
}
.support-card p {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--c-text);
  margin-bottom: 14px;
}
.support-link {
  display: inline-block;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--c-accent-ink);
  border-bottom: 1px solid var(--c-accent-ink);
  padding-bottom: 2px;
  word-break: break-all;
}
.support-link:hover { color: var(--c-dark); border-color: var(--c-dark); }

/* =========================================================================
   LEGAL PAGES（プライバシーポリシー／個人情報保護方針）
   ========================================================================= */
.legal { padding: 72px 0 104px; background: var(--c-bg); }
.legal-inner { max-width: 880px; margin: 0 auto; }

/* 2ページの相互リンクカード */
.legal-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 48px;
}
.legal-switch-card {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
a.legal-switch-card:hover { border-color: var(--c-primary); transform: translateY(-3px); }
.legal-switch-card.is-current {
  background: var(--c-primary-light);
  border-color: var(--c-primary-dark);
  box-shadow: none;
}
.legal-switch-kind {
  display: block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--c-accent-ink);
  margin-bottom: 8px;
}
.legal-switch-title {
  display: block;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-dark);
  margin-bottom: 6px;
}
.legal-switch-desc {
  display: block;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--c-text);
}

/* 目次 */
.legal-toc {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 28px 30px;
  margin-bottom: 56px;
}
.legal-toc-title {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--c-dark);
  margin-bottom: 12px;
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 28px;
}
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: block;
  position: relative;
  padding: 8px 0 8px 32px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--c-text);
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0; top: 9px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  color: var(--c-accent-ink);
}
.legal-toc a:hover { color: var(--c-accent-ink); text-decoration: underline; }

/* 本文 */
.legal-article {
  margin-bottom: 46px;
  scroll-margin-top: 96px;
}
.legal-h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 22px);
  line-height: 1.5;
  color: var(--c-dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--c-primary);
}
.legal-h2-num {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--c-accent-ink);
}
.legal-h3 {
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--c-dark);
  margin: 28px 0 10px;
  padding-left: 14px;
  border-left: 4px solid var(--c-primary);
}
.legal-p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--c-text);
  margin-bottom: 16px;
}
.legal-p-last { margin-bottom: 0; }
.legal-ul { margin: 0 0 18px; }
.legal-ul li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-text);
}
.legal-ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 17px;
  width: 7px; height: 7px;
  background: var(--c-primary-dark);
  border-radius: 50%;
}
.legal-ol {
  list-style: decimal;
  padding-left: 24px;
  margin: 0 0 18px;
}
.legal-ol li {
  padding: 6px 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-text);
}
.legal-ol li::marker { color: var(--c-accent-ink); font-weight: 700; }
.legal-link {
  color: var(--c-accent-ink);
  text-decoration: underline;
  word-break: break-all;
}
.legal-link:hover { color: var(--c-dark); }

/* 要確認マーカー */
.tbc {
  display: inline-block;
  padding: 1px 8px;
  margin: 0 2px;
  border: 1px solid var(--c-primary-dark);
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-accent-ink);
  white-space: nowrap;
}
.legal-note {
  background: var(--c-primary-light);
  border: 1px solid var(--c-note-line);
  border-left: 4px solid var(--c-primary-dark);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-note-ink);
}
.legal-note .tbc { background: #fff; }

/* 連絡先ボックス */
.legal-contact {
  border: 2px solid var(--c-line);
  border-radius: 12px;
  padding: 28px 30px;
  background: var(--c-bg-alt);
}
.legal-contact dl {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 10px 20px;
}
.legal-contact dt {
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--c-dark);
}
.legal-contact dd {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text);
}

/* 英文サマリー */
.legal-en {
  margin-top: 64px;
  padding: 34px 34px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  border-radius: 12px;
}
.legal-en-title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: var(--c-dark);
  margin-bottom: 8px;
}
.legal-en-note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-muted);
  margin-bottom: 18px;
}
.legal-en h3 {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-dark);
  margin: 20px 0 8px;
}
.legal-en p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-text);
  margin-bottom: 12px;
}
.legal-en ul li {
  position: relative;
  padding: 4px 0 4px 20px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-text);
}
.legal-en ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 14px;
  width: 6px; height: 6px;
  background: var(--c-primary-dark);
  border-radius: 50%;
}

/* ページ末の戻り導線 */
.page-back {
  margin-top: 56px;
  text-align: center;
}

/* ---- フッター Legal 列（3カラム化・新規クラスのみ） -------------------- */
.footer-cols-3 { grid-template-columns: 1fr 1.3fr 1.1fr; }

/* =========================================================================
   SUB PAGES RESPONSIVE
   ========================================================================= */
@media (max-width: 1180px) {
  .game-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .page-head { padding: 120px 0 52px; }
  .game-hero { padding: 118px 0 64px; }
  .game-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .game-steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .support-grid { grid-template-columns: 1fr; gap: 18px; }
  .legal { padding: 56px 0 80px; }
  .legal-switch { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; }
  .legal-toc { padding: 24px 22px; margin-bottom: 40px; }
  .legal-toc ol { grid-template-columns: 1fr; gap: 0; }
  .legal-en { padding: 26px 22px; }
  .footer-cols-3 { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}

@media (max-width: 540px) {
  .page-head { padding: 104px 0 44px; }
  .game-hero { padding: 104px 0 56px; }
  .game-hero-head { gap: 14px; }
  .game-icon { width: 68px; height: 68px; border-radius: 16px; }
  .store-btn { min-width: 0; width: 100%; padding: 13px 20px; }
  .game-steps { grid-template-columns: 1fr; gap: 18px; }
  .game-step { padding: 24px 20px; }
  .game-step-image { max-width: 320px; }
  .support-card { padding: 24px 20px; }
  .legal-article { margin-bottom: 38px; }
  .legal-contact { padding: 22px 20px; }
  .legal-contact dl { grid-template-columns: 1fr; gap: 2px; }
  .legal-contact dt { margin-top: 12px; }
  .legal-contact dd { padding-bottom: 6px; }
  .legal-en { margin-top: 44px; }
  .footer-cols-3 { grid-template-columns: 1fr; gap: 28px; }
}

/* ---- 下層ページ用の追加ユーティリティ（2026-09-11 / T422 追補） -------- */
/* 既存 .section-label は白背景でのコントラストが不足するため、
   下層ページでは .section-label-ink を併用して文字色だけ濃くする */
.section-label-ink { color: var(--c-accent-ink); }
.section-label-ink::before { background: var(--c-accent-ink); }
.sec-alt { background: var(--c-bg-alt); }
.sec-white { background: var(--c-bg); }
.section-sub { padding: 92px 0; }
@media (max-width: 900px) { .section-sub { padding: 64px 0; } }
@media (max-width: 540px) { .section-sub { padding: 52px 0; } }

/* 署名ブロック（制定日・代表者） */
.legal-sign { margin-top: 22px; }

/* index.html プロダクトカードの詳細導線 */
.product-actions { margin-top: 28px; }

/* company-table 内のリンクは既存ルール（.company-table td a）が優先されるため、
   下層ページの .legal-link は専用の上書きでコントラストを確保する */
.company-table td a.legal-link {
  color: var(--c-accent-ink);
  border-bottom-color: var(--c-accent-ink);
}
.company-table td a.legal-link:hover { color: var(--c-dark); border-bottom-color: var(--c-dark); }

/* 長いURL等が狭い幅ではみ出すのを防ぐ（375px対策） */
.legal-p,
.legal-ul li,
.legal-ol li,
.legal-en p,
.legal-en ul li,
.legal-contact dd,
.legal-switch-desc,
.legal-toc a,
.game-step-text,
.support-card p,
.store-caption,
.game-desc,
.page-lead {
  overflow-wrap: anywhere;
}

/* 本文は 16px 以上を確保（アプリ内WebView・ストア審査での可読性） */
.legal-en p,
.legal-en ul li,
.game-step-text,
.support-card p {
  font-size: 16px;
}

/* 英文サマリーの注記は本文より小さく・ミュートのまま維持する */
.legal-en p.legal-en-note { font-size: 14px; color: var(--c-muted); }

/* =========================================================================
   T424 修正追補（2026-09-11 / タダシQA T423 反映・既存962行は無改変）
   ========================================================================= */
/* Minor-1: App Store 側は配信URL未定のため <a> ではなく <span> で描画する。
   静止時の見た目は従来と同一のまま、リンクではないことが分かるように
   ホバー時の変化と手指カーソルだけを出さない */
span.store-btn { cursor: default; }
span.store-btn:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

/* Minor-4: 法務ページ・ゲーム基本情報の表組みと窓口ボックスは 15px を確保。
   セレクタは新規クラス（.legal / .spec-wrap）配下のみなので index.html には影響しない */
.legal .company-table th,
.legal .company-table td,
.spec-wrap .company-table th,
.spec-wrap .company-table td { font-size: 15px; }
.legal .legal-contact dt { font-size: 15px; }

/* 社長決定（2026-09-11 追加5）でサポートのカードが2枚になったため、
   901px以上では2カラムで均等に並べる（900px以下は既存の1カラム指定が有効） */
@media (min-width: 901px) {
  .support-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
}

/* Minor-9（タダシ再QA T425）：幅375px で基本情報表の見出し語（6文字）が2行に
   折り返すため、480px以下のみ左右パディングを詰めて文字の入る幅を確保する。
   文字サイズ（Minor-4 の 15px）は維持し、対象は .spec-wrap 配下のみ */
@media (max-width: 480px) {
  .spec-wrap .company-table th { padding-left: 12px; padding-right: 12px; }
}

/* =========================================================================
   T430 多言語対応追補（2026-09-12 / 日本語・英語・韓国語）
   既存962行および T422〜T425 の追記は無改変。新規クラス／新規条件のみ追加
   ========================================================================= */

/* ---- ヘッダー言語切替（JP | EN | KO） ---------------------------------- */
.nav .nav-lang { display: flex; align-items: center; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
}
/* 現在の言語：リンクではないので .nav a の配色が効かない。ヘッダーの状態に合わせて指定する */
.lang-switch .lang-current,
.lang-switch .lang-sep {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.lang-switch .lang-current {
  font-weight: 800;
  padding: 6px 0 4px;
  border-bottom: 2px solid currentColor;
}
.site-header.scrolled .lang-switch .lang-current,
.site-header.scrolled .lang-switch .lang-sep,
.site-header.is-solid .lang-switch .lang-current,
.site-header.is-solid .lang-switch .lang-sep {
  color: var(--c-dark);
  text-shadow: none;
}

/* ---- スマホ（ハンバーガー内）の言語切替 -------------------------------- */
@media (max-width: 900px) {
  .nav .nav-lang {
    border-bottom: none;
    padding: 20px 0 0;
  }
  .nav .lang-switch { gap: 10px; flex-wrap: wrap; }
  .nav .lang-switch .lang-sep { display: none; }
  /* .site-header.scrolled / .is-solid 側の配色指定（詳細度 0,4,0）に勝てるよう
     こちらも .site-header から始める（同詳細度＝後勝ち） */
  .site-header .nav .lang-switch .lang-current,
  .site-header .nav .lang-switch a {
    display: inline-block;
    width: auto;
    min-width: 62px;
    padding: 12px 18px;
    line-height: 20px;
    border-radius: 999px;
    text-align: center;
    text-shadow: none;
  }
  .site-header .nav .lang-switch .lang-current {
    background: var(--c-dark);
    color: #fff;
    border-bottom: none;
  }
  .site-header .nav .lang-switch a {
    border: 1px solid var(--c-muted);
    color: var(--c-dark);
  }
}

/* ---- 韓国語ページのフォントスタック ------------------------------------ */
/* :root（詳細度 0,1,0）より html[lang="ko"]（0,1,1）が強い。
   ラテン文字は Montserrat のまま・ハングルだけ Noto Sans KR にフォールバックさせる */
html[lang="ko"] {
  --font-jp: 'Noto Sans KR', 'Noto Sans JP', -apple-system, BlinkMacSystemFont,
             'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
  --font-en: 'Montserrat', 'Noto Sans KR', -apple-system, BlinkMacSystemFont,
             'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}
/* 韓国語は分かち書き単位で折り返す（語中改行を避ける）。
   1語が入りきらないときだけ強制改行してはみ出しを防ぐ */
html[lang="ko"] body {
  word-break: keep-all;
  overflow-wrap: break-word;
}
/* 英語は行が長くなるため、長い語（URL・複合語）のはみ出しだけ防ぐ */
html[lang="en"] body { overflow-wrap: break-word; }

/* ---- 表内リンク配色について（2026-09-12 T430 調査メモ・CSSは変更しない） ----
   既存の .company-table td a（--c-primary-dark #f5a800）は白背景で 2.0:1 と
   WCAG AA 未満だが、これは日本語公開ページ（index.html / game.html）と
   共通のテーマ由来。言語版だけ色を変えると日本語版と見た目が食い違うため、
   ここでは変更しない。サイト全体で直す場合の差分案は T430 報告書に記載した */

/* ---- 参考訳であることの注記（英語・韓国語の法務ページ） ----------------- */
.legal-note.i18n-note { margin-bottom: 28px; }
