/* ===== Theme: 未経験特化 (Warm Orange) ===== */
:root {
  --color-primary: #e7380e;
  --color-primary-dark: #c42d09;
  --color-primary-light: #faefe9;
  --color-primary-pale: #ffe3cd;
  --color-bg: #faefe9;
  --color-bg-dark: #f5e6dc;
  --radius: 32px;
  --radius-lg: 32px;
  --radius-sm: 16px;
}

/* ===== Wave Separator Backgrounds ===== */
.wave-white   { background: var(--color-white); }
.wave-bg      { background: var(--color-bg); }
.wave-primary { background: var(--color-primary); }
.wave-dark    { background: var(--color-accent); }

/* ===== Header - transparent on top, white on scroll ===== */
.header {
  background: transparent;
  backdrop-filter: none;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

.header:not(.scrolled) .header-nav a {
  color: rgba(255, 255, 255, 0.85);
}

.header:not(.scrolled) .header-nav a:hover {
  color: var(--color-white);
}

.header:not(.scrolled) .header-logo-text,
.header:not(.scrolled) .header-logo-text span {
  color: var(--color-white);
}

.header:not(.scrolled) .hamburger span {
  background: var(--color-white);
}

.hamburger {
  border: none;
  background: transparent;
}

.header-nav a {
  position: relative;
}

.header-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.header-nav a:not(.btn):hover::after {
  width: 100%;
}

/* ===== Hero - Full background image, split layout ===== */
.hero-bg {
  background: url("../../public/hero-bg.png") center/cover no-repeat;
  position: relative;
  text-align: left;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.55) 60%,
    rgba(255, 255, 255, 0.85) 90%,
    rgba(255, 255, 255, 1) 100%
  );
}

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

.hero-bg h1,
.hero-bg .subtitle {
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-bg .subtitle {
  color: rgba(255, 255, 255, 0.95);
  margin-left: 0;
  font-weight: 700;
  font-size: 1.8rem;
}

.hero-split {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.hero-left {
  flex: 1;
}

.hero-right {
  flex: 0 0 380px;
}

/* Hero label */
.hero-label {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

/* Hero form card */
.hero-form-card {
  background: rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.hero-form-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
  text-shadow: none;
}

.hero-form-card .form-group {
  margin-bottom: 16px;
}

.hero-form-card .form-submit {
  margin-top: 20px;
}

.hero-form-card .form-note {
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 6px;
}

.hero-form-badge {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.hero-form-badge span {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

/* ===== Hero CEO photo ===== */
.hero-ceo {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.hero-ceo-photo-wrap {
  position: relative;
}

.hero-ceo-balloon {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 1.4rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.hero-ceo-balloon::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--color-white);
}

.hero-ceo-photo {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-ceo-info {
  display: flex;
  flex-direction: column;
}

.hero-ceo-name {
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: 700;
}

.hero-ceo-role {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
}

/* ===== About section ===== */
#about {
  padding-bottom: 0;
}

/* ===== Pain card illustration ===== */
.pain-illust-img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
}

/* ===== Program lead text ===== */
.program-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1.4rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ===== Program step illustration ===== */
.career-step-illust-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 8px;
  margin: 0 auto 12px;
  display: block;
}

/* ===== note Magazine ===== */
.note-magazine-card {
  display: block;
  max-width: 860px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--color-text);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.note-magazine-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.note-magazine-card-inner {
  display: flex;
  align-items: stretch;
}

.note-magazine-img {
  width: 320px;
  flex-shrink: 0;
  object-fit: cover;
}

.note-magazine-text {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.note-magazine-label {
  display: inline-block;
  align-self: flex-start;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.note-magazine-title {
  font-size: 2.0rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.5;
}

.note-magazine-desc {
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.note-magazine-link {
  margin-top: auto;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
}

.note-magazine-card:hover .note-magazine-link {
  text-decoration: underline;
}

/* ===== Strength image ===== */
.strength-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ===== Voice avatar image ===== */
.voice-avatar-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

/* ===== CEO Message ===== */
.ceo-message-section {
  background: var(--color-bg);
}

.ceo-message {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}

.ceo-photo {
  flex: 0 0 280px;
  height: 360px;
  border-radius: var(--radius);
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.ceo-text {
  flex: 1;
}

.ceo-text h3 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.ceo-name {
  font-size: 1.4rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.ceo-body p {
  font-size: 1.5rem;
  line-height: 2.0;
  margin-bottom: 16px;
  color: var(--color-text);
}

.ceo-body p:last-child {
  margin-bottom: 0;
}

/* ===== Culture - SNS誘導 ===== */
.culture-section {
  background:
    linear-gradient(to right, rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    linear-gradient(to right, var(--color-accent) 0%, transparent 15%, transparent 85%, var(--color-accent) 100%),
    url("../../public/culture.png") center 30%/70% auto no-repeat;
  background-color: var(--color-accent);
  position: relative;
}

.culture-section .container {
  position: relative;
  z-index: 2;
}

.culture-section .section-title .en,
.culture-section .section-title .ja {
  color: var(--color-white);
}

.culture-lead {
  color: var(--color-white);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 32px;
}

.culture-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 640px;
  margin: 0 auto;
}

.culture-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-white);
  padding: 24px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--color-text);
  flex: 1;
  min-width: 260px;
  transition: all var(--transition);
}

.culture-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.culture-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--color-text);
}

.culture-link-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.culture-link-name {
  font-size: 1.6rem;
  font-weight: 700;
}

.culture-link-desc {
  font-size: 1.2rem;
  color: var(--color-text-light);
  margin-top: 2px;
}

.culture-link-arrow {
  font-size: 1.8rem;
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ニコニコ風コメント */
.culture-comments {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.culture-comment {
  position: absolute;
  white-space: nowrap;
  font-size: 2.0rem;
  font-weight: 700;
  color: var(--color-white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateX(100vw);
  will-change: transform, opacity;
}

.culture-comment.flowing {
  opacity: 0.85;
  animation: comment-flow linear forwards;
}

@keyframes comment-flow {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ===== Form optional label ===== */
.label-optional {
  font-weight: 400;
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* ===== Responsive: Tablet ===== */
@media (max-width: 1099px) {
  .hero-right {
    flex: 0 0 320px;
  }
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 767px) {
  /* Hero */
  .hero-bg {
    text-align: center;
  }
  .hero-split {
    flex-direction: column;
    gap: 32px;
  }
  .hero-right {
    flex: none;
    width: 100%;
  }
  .hero-form-card {
    padding: 24px 20px;
  }
  .hero-bg .subtitle {
    font-size: 1.4rem;
    line-height: 1.7;
  }
  .hero-label {
    font-size: 1.1rem;
    padding: 4px 16px;
    margin-bottom: 12px;
  }
  .hero-form-title {
    font-size: 1.6rem;
  }
  .hero-form-badge span {
    font-size: 1.1rem;
    padding: 4px 12px;
  }

  /* Hero CEO */
  .hero-ceo {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  .hero-ceo-photo {
    width: 160px;
    height: 160px;
  }
  .hero-ceo-balloon {
    font-size: 1.1rem;
    padding: 6px 14px;
    top: -12px;
  }
  .hero-ceo-info {
    align-items: center;
  }
  .hero-ceo-name {
    font-size: 1.4rem;
  }
  .hero-ceo-role {
    font-size: 1.1rem;
  }

  /* About */
  #about {
    padding: 48px 0 0;
  }
  #about .program-lead {
    font-size: 1.3rem;
    text-align: left;
    line-height: 1.8;
  }
  #about .program-lead br {
    display: none;
  }

  /* Pain & Program */
  .pain-illust-img {
    height: 120px;
  }
  .program-lead {
    font-size: 1.3rem;
    margin: 0 auto 24px;
  }
  .career-step {
    flex-wrap: wrap;
  }
  .career-step-illust-img {
    width: 48px;
    height: 48px;
    padding: 4px;
    margin: 0;
    min-width: 48px;
    position: absolute;
    left: -48px;
  }
  .career-step h3,
  .career-step p,
  .career-step .period {
    width: 100%;
  }

  /* note Magazine */
  .note-magazine-card-inner {
    flex-direction: column;
  }
  .note-magazine-img {
    width: 100%;
    height: 200px;
  }
  .note-magazine-text {
    padding: 24px 20px;
  }
  .note-magazine-title {
    font-size: 1.7rem;
  }

  /* Strengths */
  .strength-number {
    font-size: 4.0rem;
  }
  .strength-text h3 {
    font-size: 1.6rem;
  }
  .strength-text p {
    font-size: 1.3rem;
  }

  /* Mid CTA */
  .mid-cta {
    padding: 48px 0;
  }
  .mid-cta h2 {
    font-size: 1.8rem;
    line-height: 1.5;
  }
  .mid-cta p {
    font-size: 1.3rem;
  }

  /* CEO Message */
  .ceo-message {
    flex-direction: column;
    gap: 24px;
  }
  .ceo-photo {
    flex: none;
    width: 100%;
    height: 240px;
    position: static;
    border-radius: var(--radius-sm);
    object-fit: cover;
    object-position: center top;
  }
  .ceo-text h3 {
    font-size: 2.0rem;
  }
  .ceo-body p {
    font-size: 1.4rem;
  }

  /* Culture */
  .culture-section {
    background:
      linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
      url("../../public/culture.png") center 30%/cover no-repeat;
    background-color: var(--color-accent);
  }
  .culture-lead {
    font-size: 1.3rem;
    margin-bottom: 24px;
  }
  .culture-comment {
    font-size: 1.4rem;
  }
  .culture-links {
    flex-direction: column;
  }
  .culture-link-card {
    min-width: auto;
    padding: 20px 24px;
  }
  .culture-link-name {
    font-size: 1.4rem;
  }

  /* Flow & FAQ */
  .flow-icon {
    width: 56px;
    height: 56px;
    font-size: 2.0rem;
  }
  .faq-question {
    padding: 16px;
    font-size: 1.4rem;
  }
  .faq-answer-inner {
    padding: 0 16px 16px;
    font-size: 1.3rem;
  }
  .cta-subtitle {
    font-size: 1.3rem;
  }
}
