/* ==========================================
   Base & V-Liver Aesthetic Fonts
   ========================================== */
:root {
  --primary-color: #ff3b75;
  --primary-light: #ff75a0;
  --secondary-color: #1a192b;
  --accent-color: #00f0ff;
  --yellow-accent: #ffe600;
  --line-color: #06c755;
  --bg-light: #f5f6fa;
  --text-color: #e0e0e0;
  --text-white: #ffffff;
  /* Vライバー風ポップ丸ゴシック ＋ モダンフォントスタック */
  --font-family: system-ui, -apple-system, "BlinkMacSystemFont", "Segoe UI", 
                 "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", 
                 'M PLUS Rounded 1c', 'Zen Maru Gothic', sans-serif;
  --header-height: 70px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: #0d0d1a;
  line-height: 1.6;
  padding-top: var(--header-height);
  overflow-x: hidden;
  font-weight: 700;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 70px 0;
  position: relative;
  z-index: 2;
}

.text-center { text-align: center; }
.mt-lg { margin-top: 35px; }

/* 見出しフォント設定 ＋ 基本の影 */
h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* ==========================================
   Sparkle Background Animation
   ========================================== */
.sparkles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  background: radial-gradient(circle, #fff 10%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  opacity: 0;
  animation: sparkle-fade 3s infinite ease-in-out;
}

@keyframes sparkle-fade {
  0% { transform: scale(0) rotate(0deg); opacity: 0; }
  50% { transform: scale(1.2) rotate(180deg); opacity: 0.8; }
  100% { transform: scale(0) rotate(360deg); opacity: 0; }
}

/* ==========================================
   Typography & Color Accents
   ========================================== */
.highlight-pink {
  color: var(--primary-color);
  background: linear-gradient(transparent 60%, #ffc0d3 60%);
}

.highlight-gold {
  color: #fff275;
  text-shadow: 0 0 10px rgba(255, 230, 0, 0.8);
}

.text-yellow {
  color: var(--yellow-accent);
}

.text-pink {
  color: var(--primary-color);
}

.text-gradient {
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.2em;
}

.text-pop {
  letter-spacing: 1px;
}

/* ==========================================
   Buttons & Hover Animations
   ========================================== */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 900;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 59, 117, 0.25);
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), #ff528e);
  color: var(--text-white);
  border: none;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-white);
  width: 100%;
}

.btn-accent {
  background: linear-gradient(45deg, #00d2ff, var(--accent-color));
  color: var(--secondary-color);
  width: 100%;
}

.btn-outline {
  border: 3px solid var(--primary-color);
  color: var(--primary-color);
  background: #fff;
}

.btn-outline-white {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  width: 100%;
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px rgba(255, 59, 117, 0.4);
}

.pulse-anim {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 117, 0.6); }
  70% { transform: scale(1.03); box-shadow: 0 0 0 14px rgba(255, 59, 117, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 117, 0); }
}

.bounce-anim {
  animation: soft-bounce 2.5s infinite;
}

@keyframes soft-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

.float-anim {
  animation: float-slow 4s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.pulse-soft {
  animation: pulse-soft-key 3s ease-in-out infinite;
}

@keyframes pulse-soft-key {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Section Title */
.section-title {
  font-size: 2rem;
  text-align: center;
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
}

.text-white { color: #fff; }

.section-lead {
  text-align: center;
  font-size: 1rem;
  color: #b0b0c0;
  margin-bottom: 45px;
}

/* ==========================================
   Header Section (すりガラス固定仕様)
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(26, 26, 26, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-clip: padding-box;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
}

.header .container.header-inner {
  background-color: transparent !important;
}

.header .nav-link {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.header .hamburger span {
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  max-height: 42px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: rotate(-3deg) scale(1.05);
}

/* Hamburger Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Navigation Drawer */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  padding: 90px 25px 30px;
  box-shadow: -10px 0 25px rgba(0,0,0,0.15);
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 999;
}

.nav-menu.is-active { right: 0; }

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.nav-link {
  font-weight: 800;
  font-size: 1.1rem;
  display: block;
}

.btn-nav-cta {
  background: var(--primary-color);
  color: #fff;
  padding: 12px;
  border-radius: 30px;
  text-align: center;
}

/* ==========================================
   TOP Section
   ========================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0c20 0%, #1a1333 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  color: var(--text-white);
  padding: 50px 0;
}

.hero-subtext {
  font-size: 1.25rem;
  margin-bottom: 15px;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 35px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.9);
}

/* ==========================================
   Palmu Section
   ========================================== */
.palmu-logo-wrapper {
  text-align: center;
  margin-bottom: 35px;
}

.palmu-logo {
  max-width: 220px;
  opacity: 0.95;
}

.palmu-cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

.card-bg-img {
  width: 100%;
  display: block;
  opacity: 0.88;
  transition: transform 0.5s ease;
}

.hover-zoom:hover .card-bg-img {
  transform: scale(1.06);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.card-text {
  color: var(--text-white);
  font-size: 1.4rem;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* ==========================================
   Plan Section (枠線を消してシームレス化)
   ========================================== */
.plan-section {
  background-color: var(--bg-light);
  color: #2b2b36;
}

.plan-section .section-lead {
  color: #666;
}

.plan-grid {
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin-bottom: 45px;
}

.plan-card {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 20px 0 !important;
  box-shadow: none !important;
  position: relative;
  border: none !important;
}

.hover-up:hover {
  transform: translateY(-4px);
}

.plan-badge {
  display: inline-block;
  background: #555;
  color: #fff;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: 30px;
  font-weight: 900;
  margin-bottom: 10px;
}

.plan-badge.primary {
  background: linear-gradient(45deg, var(--primary-color), #ff528e);
}

.plan-name {
  font-size: 1.6rem;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 900;
  color: #2b2b36;
}

.plan-return {
  text-align: center;
  background: #fff0f5;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 15px;
}

.return-label {
  display: block;
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 800;
}

.return-val {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-color);
  display: inline-block;
}

.plan-sub {
  text-align: center;
  font-weight: 800;
  margin-bottom: 10px;
  color: #2b2b36;
}

.plan-desc {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: #555;
}

/* フルサポート契約などのサポート特典カードコンテナ */
.support-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
  text-align: left;
}

.feature-item {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.feature-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-color);
  background: rgba(255, 59, 117, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.feature-text {
  font-size: 0.825rem;
  line-height: 1.45;
  color: #444;
  margin: 0;
}

.feature-text strong {
  color: #111;
  font-weight: 700;
}

.video-container {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.video-container video {
  width: 100%;
  display: block;
}

.simulation-banner {
  background: #fff;
  border: 3px dashed var(--accent-color);
  padding: 30px 20px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #2b2b36;
}

.sim-title {
  font-weight: 900;
  font-size: 1.15rem;
  margin-bottom: 18px;
}

/* ==========================================
   Campaign Section (枠線を消してシームレス化)
   ========================================== */
.campaign-section {
  background: linear-gradient(135deg, #181528 0%, #090710 100%);
  color: #fff;
}

.campaign-header .sub-heading {
  color: var(--accent-color);
  font-size: 0.95rem;
  letter-spacing: 2px;
  font-weight: 900;
  display: block;
  text-align: center;
}

.campaign-lead {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 35px;
  opacity: 0.9;
}

.campaign-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.campaign-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 20px 0 !important;
}

.tags {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.campaign-tag {
  background: rgba(255,255,255,0.15);
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 800;
}

.campaign-tag.highlight {
  background: var(--primary-color);
}

.campaign-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 900;
}

.campaign-highlight-text {
  color: var(--accent-color);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.campaign-desc {
  font-size: 1rem;
  margin-bottom: 25px;
}

.campaign-desc strong {
  font-size: 1.3rem;
}

/* ==========================================
   Interview Section
   ========================================== */
.interview-list {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.story-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.story-img-wrapper {
  position: relative;
  min-height: 400px;
}

.story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.85;
}

.story-overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(to top, rgba(12, 10, 24, 0.95) 0%, rgba(12, 10, 24, 0.2) 100%);
  padding: 35px 22px 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.story-num {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: var(--accent-color);
  font-weight: 900;
}

.story-title {
  font-size: 1.4rem;
  margin: 6px 0 12px;
  line-height: 1.35;
  font-weight: 900;
}

.story-desc {
  font-size: 0.88rem;
  opacity: 0.9;
  margin-bottom: 18px;
}

.btn-text {
  color: var(--accent-color);
  font-weight: 900;
  font-size: 1rem;
  align-self: flex-start;
  transition: transform 0.2s ease;
}

.btn-text:hover {
  transform: translateX(6px);
}

/* ==========================================
   応募フォーム誘導 Section (透かしイラスト付き)
   ========================================== */
.cta-section {
  position: relative;
  overflow: hidden;
  background-color: #0b0b18;
  padding: 80px 0;
  z-index: 1;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/Index-recruit.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.4;
  mix-blend-mode: luminosity;
  z-index: -1;
}

.cta-section .cta-title {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.cta-section .cta-desc {
  color: #e0e0e0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 1.7rem;
  margin-bottom: 10px;
  font-weight: 900;
}

.cta-desc {
  font-size: 0.95rem;
  margin-bottom: 35px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.btn-apply, .btn-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-apply {
  background: linear-gradient(45deg, var(--primary-color), #ff528e);
}

.btn-line {
  background: linear-gradient(45deg, #06c755, #00e65c);
}

.btn-sub {
  font-size: 0.8rem;
  opacity: 0.9;
}

.btn-main {
  font-size: 1.4rem;
  font-weight: 900;
}

/* ==========================================
   統一フッターセクション用スタイル
   ========================================== */
.footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 40px 0 20px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px 25px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.7;
  color: #ff69b4;
}

.footer-sub-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-sub-links a {
  transition: opacity 0.3s ease;
}

.footer-sub-links a:hover {
  opacity: 0.7;
  text-decoration: underline !important;
}

.footer .copyright {
  font-size: 0.8rem;
  color: #aaaaaa;
  margin-top: 20px;
}

/* ==========================================
   Scroll Fade In Animation Classes
   ========================================== */
.js-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* ==========================================
   黒背景セクションのタイトル視認性アップ（白グロー影）
   ========================================== */
.campaign-section h1,
.campaign-section h2,
.campaign-section h3,
.cta-section h1,
.cta-section h2,
.cta-section h3 {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 20px rgba(255, 255, 255, 0.4);
}

.campaign-section .campaign-title,
.cta-section .cta-title {
  font-weight: 900;
  letter-spacing: 0.05em;
}

/* 「思想」などのsection-titleを黒背景で光らせるための専用指定 */
.section-title {
  color: #ffffff;
}

/* 黒背景の中にあるsection-titleも白グローを適用 */
.campaign-section .section-title,
.cta-section .section-title {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 20px rgba(255, 255, 255, 0.4);
}

/* section-titleに下線を引いて視認性を爆上げする */
.section-title {
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--primary-color);
}

/* ==========================================
   応募フォーム（.apply-card-box）の文字色・背景色固定
   ========================================== */
.apply-card-box,
.apply-card-box label,
.apply-card-box span,
.apply-card-box p,
.apply-card-box h1 {
  color: #2b2b2b !important;
  text-shadow: none !important;
}

/* 必須・任意のバッジや特定のラベルは文字色を白に保つ */
.apply-card-box .badge-required,
.apply-card-box .badge-optional,
.apply-card-box .apply-label-apply {
  color: #ffffff !important;
}

/* 入力欄（input, select, textarea）の中身は白背景＆黒文字に固定 */
.apply-card-box input,
.apply-card-box select,
.apply-card-box textarea {
  color: #2b2b2b !important;
  background-color: #ffffff !important;
  border: 1px solid #cccccc !important;
}

/* ==========================================
   Responsive (PC View)
   ========================================== */
@media (min-width: 768px) {
  .hamburger {
    display: none !important;
  }

  .nav-menu {
    position: static !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .nav-list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .nav-list li,
  .nav-list .nav-link {
    writing-mode: horizontal-tb !important;
    white-space: nowrap !important;
    display: inline-block !important;
  }

  .btn-nav-cta { padding: 10px 22px; }

  .hero-title { font-size: 3.5rem; }
  .hero-subtext { font-size: 1.5rem; }

  .palmu-cards,
  .plan-grid,
  .campaign-list,
  .interview-list {
    flex-direction: row;
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .btn-apply, .btn-line {
    width: 320px;
  }
}

/* スマホ表示時の微調整 */
@media (max-width: 768px) {
  .footer {
    padding: 30px 0 15px;
  }

  .footer-links {
    gap: 12px 18px;
  }

  .footer-links a {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .support-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .feature-item {
    padding: 10px 12px;
  }
}

/* ==========================================
   左からのスライドインアニメーション用スタイル
   ========================================== */
.js-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}