/* ==========================================
   PrepWORK Partner LP - style.css
   ========================================== */

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

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: #1A1A1A;
  background-color: #FAFAFA;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

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

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

.text-balance {
  text-wrap: balance;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Fade-in animation --- */
.fade-in-section {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-child {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-child.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Bounce animation --- */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* ==========================================
   Header
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-header .logo {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  transition: color 0.3s ease;
}

.site-header.scrolled .logo {
  color: #1B3A5C;
}

.site-header .header-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
  transition: all 0.3s ease;
}

.site-header .header-cta:hover {
  border-color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .header-cta {
  border-color: #1B3A5C;
  color: #1B3A5C;
}

.site-header.scrolled .header-cta:hover {
  background-color: #1B3A5C;
  color: #FFFFFF;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 22, 40, 0.75);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 128px 24px;
  text-align: center;
}

.hero-label {
  margin-bottom: 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.7);
}

.hero-title {
  max-width: 768px;
  margin: 0 auto;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: #FFFFFF;
}

.hero-description {
  max-width: 640px;
  margin: 24px auto 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 8px;
  background-color: #FFFFFF;
  color: #1B3A5C;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary-hero:hover {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary-hero:hover {
  border-color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
}

.hero-scroll-hint {
  margin-top: 64px;
  color: rgba(255, 255, 255, 0.5);
}

.hero-scroll-hint svg {
  width: 20px;
  height: 20px;
  margin: 0 auto;
}

/* ==========================================
   Section Common
   ========================================== */
.section-label {
  margin-bottom: 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #2E75B6;
  text-align: center;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #1A1A1A;
  text-align: center;
  line-height: 1.4;
}

.section-subtitle {
  max-width: 720px;
  margin: 24px auto 0;
  font-size: 14px;
  line-height: 1.8;
  color: #666666;
  text-align: center;
}

/* ==========================================
   Why Partnership Section
   ========================================== */
.why-section {
  background-color: #FFFFFF;
  padding: 96px 0;
}

.why-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 64px;
}

.why-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid rgba(229, 229, 229, 0.5);
  background-color: #FAFAFA;
}

.why-column-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: rgba(27, 58, 92, 0.05);
}

.why-column-icon svg {
  width: 24px;
  height: 24px;
  color: #1B3A5C;
  stroke: #1B3A5C;
}

.why-column h3 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #1A1A1A;
}

.why-column p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: #666666;
}

/* ==========================================
   Opportunity Section
   ========================================== */
.opportunity-section {
  background-color: #F5F5F5;
  padding: 96px 0;
}

/* --- Tab Navigation --- */
.opportunity-tabs {
  display: flex;
  gap: 0;
  margin-top: 48px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid #E5E5E5;
}

.opportunity-tabs::-webkit-scrollbar {
  display: none;
}

.opportunity-tab {
  flex-shrink: 0;
  padding: 14px 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #666666;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}

.opportunity-tab:hover {
  color: #1A1A1A;
}

.opportunity-tab.is-active {
  color: #2E75B6;
  font-weight: 700;
  border-bottom-color: #2E75B6;
}

/* --- Tab Panels --- */
.opportunity-panels {
  margin-top: 32px;
}

.opportunity-panel {
  display: none;
  animation: panelFadeIn 0.35s ease;
}

.opportunity-panel.is-active {
  display: block;
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Opportunity Card (inside panel) --- */
.opportunity-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 12px;
  background-color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.opportunity-card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #1A1A1A;
}

.opportunity-card ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.opportunity-card li {
  display: flex;
  gap: 12px;
}

.opportunity-card li .bullet {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 11px;
  border-radius: 50%;
  background-color: #2E75B6;
}

.opportunity-card li span {
  font-size: 14px;
  line-height: 1.8;
  color: #666666;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
  background-color: #1B3A5C;
  padding: 96px 0;
  text-align: center;
}

.cta-section .section-label {
  color: rgba(255, 255, 255, 0.6);
}

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

.cta-section .section-subtitle {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.8);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  border-radius: 8px;
  background-color: #FFFFFF;
  color: #1B3A5C;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary-cta:hover {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.cta-pdf-note {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.cta-link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}

.cta-link-secondary:hover {
  color: #FFFFFF;
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
  background-color: #111111;
  padding: 24px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 14px;
}

.footer-copy {
  color: #888888;
}

.footer-link {
  color: #888888;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #BBBBBB;
}

/* ==========================================
   Responsive
   ========================================== */
@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
  }

  .footer-inner {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
  }

  .section-title {
    font-size: 36px;
  }

  .section-subtitle {
    font-size: 16px;
  }

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

  .why-section {
    padding: 128px 0;
  }

  .opportunity-section {
    padding: 128px 0;
  }

  .cta-section {
    padding: 128px 0;
  }

}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 48px;
    line-height: 1.3;
  }

  .why-columns {
    gap: 40px;
  }

  .opportunity-tab {
    font-size: 15px;
    padding: 16px 32px;
  }

  .opportunity-card {
    padding: 40px;
  }

  .opportunity-card h3 {
    font-size: 22px;
  }

  .opportunity-card li span {
    font-size: 15px;
  }
}
