/* ===== CSS Variables ===== */
:root {
  --otl-pink: hsl(345, 100%, 50%);
  --otl-cyan: hsl(174, 90%, 55%);
  --otl-bg: hsl(0, 0%, 2%);
  --otl-bg2: hsl(0, 0%, 5%);
  --otl-bg3: hsl(0, 0%, 6.7%);
  --otl-bg4: hsl(0, 0%, 10%);
  --otl-border: rgba(255, 255, 255, 0.08);
  --otl-border-hover: rgba(255, 255, 255, 0.2);
  --otl-text: #fff;
  --otl-text-dim: rgba(255, 255, 255, 0.6);
  --otl-text-dimmer: rgba(255, 255, 255, 0.35);
  --otl-gradient: linear-gradient(135deg, hsl(345, 100%, 50%), hsl(345, 80%, 55%));
  --otl-gradient-full: linear-gradient(135deg, hsl(345, 100%, 50%) 0%, hsl(292, 65%, 49%) 50%, hsl(174, 90%, 55%) 100%);
  --otl-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  --otl-radius: 0.75rem;
  --otl-radius-lg: 1.25rem;
  --header-h: 72px;
}

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

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

body {
  background-color: var(--otl-bg);
  color: var(--otl-text);
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* ===== Utility ===== */
.otl-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.otl-gradient-text {
  background: var(--otl-gradient-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pc-only { display: inline; }
.sp-only { display: none; }

@media (max-width: 768px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
}

/* ===== Section ===== */
.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background-color: var(--otl-bg2);
}

.otl-section-label {
  font-family: 'Inter', sans-serif;
  margin-bottom: 1rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--otl-pink);
}

.otl-section-title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 1.25rem;
  font-weight: 900;
  line-height: 1.25;
}

.otl-section-sub {
  margin-bottom: 4rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--otl-text-dim);
}

/* ===== Buttons ===== */
.otl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  transition: all 0.3s ease;
}

.otl-btn-primary {
  background: var(--otl-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 0, 64, 0.35);
}

.otl-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 0, 64, 0.5);
}

.otl-btn-primary:active {
  transform: scale(0.97);
}

.otl-btn-lg { padding: 18px 40px; font-size: 1rem; }
.otl-btn-xl { padding: 20px 48px; font-size: 1.125rem; }
.otl-btn-full { width: 100%; }

/* ===== Card ===== */
.otl-card {
  background: var(--otl-bg3);
  border: 1px solid var(--otl-border);
  border-radius: var(--otl-radius-lg);
  transition: all 0.3s ease;
}

.otl-card:hover {
  border-color: rgba(255, 0, 64, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

/* ===== Fade In ===== */
.otl-fade-in {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.otl-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--otl-border);
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  background: var(--otl-gradient-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--otl-text-dim);
  transition: color 0.3s;
  letter-spacing: 0.5px;
}

.header-link:hover {
  color: #fff;
}

.header-cta {
  padding: 10px 24px !important;
  font-size: 13px !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 5, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 999;
  }

  .header-nav.open {
    display: flex;
  }

  .header-link {
    font-size: 17px;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 140px;
  padding-bottom: 96px;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 0, 64, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--otl-pink);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--otl-text-dim);
  margin-bottom: 3rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 900;
  background: var(--otl-gradient-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
}

.hero-stat-unit {
  font-size: 0.5em;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--otl-text-dim);
  margin-top: 0.25rem;
}

.hero-cta {
  margin-bottom: 4rem;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-text {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--otl-text-dimmer);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--otl-text-dimmer), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}

/* ===== FOR YOU (Worries) ===== */
.worry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.worry-card {
  background: var(--otl-bg3);
  border: 1px solid var(--otl-border);
  border-radius: var(--otl-radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.worry-card:hover {
  border-color: rgba(255, 0, 64, 0.25);
  transform: translateY(-2px);
}

.worry-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.worry-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--otl-text-dim);
}

.worry-resolve {
  text-align: center;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
}

@media (max-width: 768px) {
  .worry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .worry-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2.5rem;
}

.feature-num {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 900;
  background: var(--otl-gradient-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 15px;
  color: var(--otl-text-dim);
  line-height: 1.625;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SUPPORT ===== */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.support-card {
  padding: 2rem;
}

.support-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 0, 64, 0.15);
  color: var(--otl-pink);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 1rem;
}

.support-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.support-card p {
  font-size: 14px;
  color: var(--otl-text-dim);
  line-height: 1.625;
}

@media (max-width: 768px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== LIVERS ===== */
.livers-scroll {
  overflow-x: auto;
  margin: 0 -24px;
  padding: 0 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.livers-scroll::-webkit-scrollbar {
  display: none;
}

.livers-track {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1rem;
}

.liver-card {
  flex: 0 0 280px;
  background: var(--otl-bg3);
  border: 1px solid var(--otl-border);
  border-radius: var(--otl-radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
}

.liver-card:hover {
  border-color: rgba(255, 0, 64, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.liver-img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.liver-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.liver-card:hover .liver-img-wrap img {
  transform: scale(1.05);
}

.liver-info {
  padding: 1.25rem;
}

.liver-handle {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.liver-role {
  font-size: 13px;
  color: var(--otl-pink);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.liver-quote {
  font-size: 13px;
  color: var(--otl-text-dim);
  line-height: 1.625;
  font-style: italic;
}

/* ===== RESULTS ===== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.result-card {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--otl-bg3);
  border: 1px solid var(--otl-border);
  border-radius: var(--otl-radius-lg);
}

.result-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.result-card p {
  font-size: 14px;
  color: var(--otl-text-dim);
  line-height: 1.5;
}

.results-note {
  text-align: center;
  font-size: 12px;
  color: var(--otl-text-dimmer);
}

@media (max-width: 768px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== STEPS ===== */
.steps-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
  justify-content: center;
}

.step-card {
  background: var(--otl-bg3);
  border: 1px solid var(--otl-border);
  border-radius: var(--otl-radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  flex: 1;
  max-width: 240px;
}

.step-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--otl-pink);
  display: block;
  margin-bottom: 1rem;
}

.step-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 13px;
  color: var(--otl-text-dim);
  line-height: 1.625;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  color: var(--otl-text-dimmer);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .step-card {
    max-width: 100%;
    width: 100%;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 0.5rem 0;
  }
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--otl-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--otl-pink);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--otl-text-dim);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 15px;
  color: var(--otl-text-dim);
  line-height: 1.625;
}

/* ===== APPLY ===== */
.section-apply {
  background: var(--otl-bg2);
}

.apply-inner {
  text-align: center;
}

.apply-box {
  max-width: 560px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  text-align: center;
}

.apply-box > p:first-child {
  margin-bottom: 1.5rem;
  color: var(--otl-text-dim);
}

.apply-note {
  margin-top: 1rem;
  font-size: 12px;
  color: var(--otl-text-dimmer);
}

/* ===== COMPANY ===== */
.company-table-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--otl-border);
}

.company-table th,
.company-table td {
  padding: 1rem 0;
  text-align: left;
  font-size: 15px;
  vertical-align: top;
}

.company-table th {
  width: 140px;
  color: var(--otl-text-dim);
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--otl-border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 2px;
  background: var(--otl-gradient-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-copy {
  font-size: 12px;
  color: var(--otl-text-dimmer);
}

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--otl-border);
  z-index: 100;
  display: none;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.floating-cta.show {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .floating-cta {
    display: block;
  }

  .footer {
    padding-bottom: 100px;
  }
}

/* ===== Counter animation ===== */
.result-count {
  display: inline;
}
