/* ============================================
   モヤモヤ壁打ちAI LP
   by ミートキャリア

   ブランドガイドライン準拠:
   - Primary: #E89B27 (Orange)
   - Secondary: #64BBBF (Teal)
   - BG: #FDF9F3 (Cream)
   - Text: #333333 (Dark Gray)
   - Font: Zen Kaku Gothic New
   ============================================ */

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

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

body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: #333333;
  background-color: #FDF9F3;
  line-height: 1.8;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

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

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

/* --- Header (lst.meetcareer.net 準拠) --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #ffffff;
  box-shadow: rgba(208, 203, 191, 0.4) 0px 2px 5px;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.header__logo-link {
  display: flex;
  align-items: center;
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.header__logo-link:hover {
  opacity: 0.5;
}

.header__logo {
  width: 160px;
  height: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
}

.header__link {
  color: #2c2a25;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
  white-space: nowrap;
  transition: color 0.3s;
}

.header__link:hover {
  color: #e89b27;
}

.header__link--last {
  margin-right: 24px;
}

.header__divider {
  display: block;
  width: 1px;
  height: 15px;
  background: #b3b3b3;
  flex-shrink: 0;
}

.header__cta {
  border-radius: 32px;
  color: #fff;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  padding: 8px 20px;
  white-space: nowrap;
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.header__cta:hover {
  opacity: 0.5;
}

.header__cta--primary {
  background: linear-gradient(#e89b27, #ffb950);
}

.header__cta--secondary {
  background: #64bbbf;
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header__hamburger span {
  display: block;
  width: 30px;
  height: 2px;
  background: #c88521;
}

/* --- Modal Menu (mobile) --- */
.modal-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
}

.modal-menu.is-open {
  display: block;
}

.modal-menu__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.16);
}

.modal-menu__container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-menu__panel {
  background: #fff;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.2) 0 6px 15px;
  width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);
  margin: 20px;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-menu__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 32px;
}

.modal-menu__logo {
  width: 200px;
  height: auto;
}

.modal-menu__close {
  background: none;
  border: none;
  color: #c88521;
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

.modal-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.modal-menu__link {
  color: #2c2a25;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.2;
  text-decoration: none;
}

.modal-menu__cta {
  display: block;
  width: 100%;
  max-width: 250px;
  padding: 10px 24px;
  border-radius: 32px;
  color: #fff;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
  margin-top: 12px;
}

.modal-menu__cta--primary {
  background: linear-gradient(#e89b27, #ffb950);
}

.modal-menu__cta--secondary {
  background: #64bbbf;
}

/* --- Hero / FV --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Background image (full-bleed) */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Gradient overlay: left opaque → right transparent */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(253, 249, 243, 0.95) 0%,
    rgba(253, 249, 243, 0.88) 25%,
    rgba(253, 249, 243, 0.55) 50%,
    rgba(253, 249, 243, 0.15) 70%,
    rgba(253, 249, 243, 0) 85%
  );
  z-index: 1;
}

/* Content sits on top of overlay */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-top: 72px; /* header height */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.hero-content {
  padding: 60px 40px;
  max-width: 560px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

/* Placeholder background (before photo is added) */
.hero-bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg,
    #FDF9F3 0%,
    #FEF3E2 30%,
    #ECF6F6 60%,
    #FDF9F3 100%);
}
.hero-stats {
  position: absolute;
  top: 90px;
  left: 40px;
  display: flex;
  gap: 24px;
  z-index: 3;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.3s forwards;
}

.stat-badge-wrap {
  position: relative;
  display: inline-block;
}

.stat-badge-img {
  height: 90px;
  width: auto;
}

.stat-note {
  position: absolute;
  bottom: 16px;
  right: 30px;
  font-size: 0.45rem;
  color: #666;
  line-height: 1;
}

/* --- Hero Title --- */
.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero-title .accent {
  color: #E89B27;
  font-size: 2.8rem;
  font-weight: 700;
  background: #ffffff;
  padding: 0 2px 4px;
  line-height: 1.0;
  display: inline-block;
  vertical-align: baseline;
}

.hero-title .line-break {
  display: block;
}

.hero-audience {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #666;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: #666;
  line-height: 2;
  margin-bottom: 36px;
  max-width: 440px;
}

/* --- CTA Group --- */
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
}

.hero-cta-label {
  font-size: 0.8rem;
  color: #999;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.cta-buttons {
  display: flex;
  gap: 14px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 12px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.btn-cta-chatgpt {
  background: #1a1a2e;
  color: #fff;
}

.btn-cta-chatgpt:hover {
  background: #2d2d44;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 26, 46, 0.25);
}

.btn-cta-gemini {
  background: linear-gradient(135deg, #4285f4, #7b68ee, #e040fb);
  color: #fff;
}

.btn-cta-gemini:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(66, 133, 244, 0.3);
}

.btn-cta-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cta-note {
  font-size: 0.75rem;
  color: #aaa;
}


/* FV注釈 */
.hero-notes {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 32px;
}

.hero-notes p {
  font-size: 0.65rem;
  color: #bbb;
  line-height: 1.6;
}

/* --- Stats Badges (Main site style) --- */

/* --- Video Section --- */
.video-section {
  padding: 80px 40px 120px;
  background: #fff;
  position: relative;
}

.video-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, #FDF9F3, #fff);
  pointer-events: none;
}

.video-inner {
  max-width: 960px;
  margin: 0 auto;
}

.video-heading {
  text-align: center;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
}

.video-heading.visible {
  animation: fadeInUp 0.6s ease forwards;
}

.video-section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64BBBF;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.video-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #324451;
}

.video-subtitle {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.8;
}

.video-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #1a1a2e;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
}

.video-wrapper.visible {
  animation: fadeInUp 0.6s ease 0.2s forwards;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
}

.video-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.video-wrapper:hover .video-play-btn {
  background: rgba(232, 155, 39, 0.8);
  border-color: rgba(232, 155, 39, 0.9);
  transform: scale(1.1);
}

.video-play-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  margin-left: 4px;
}

.video-placeholder-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Footer (lst.meetcareer.net 準拠) --- */
.footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  width: 100%;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  padding: 24px 24px 80px;
  width: 100%;
}

.footer__links-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 65px;
  width: 960px;
  max-width: 100%;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.footer__link {
  color: #2c2a25;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 2;
  margin: 0 16px 0 0;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.footer__link:hover {
  opacity: 0.3;
}

.footer__logo {
  width: 160px;
  height: auto;
  margin: 16px 0;
}

.footer__copy {
  color: #333;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 2;
  margin: 0;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Sticky CTA Bar --- */
.sticky-cta {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 1000;
  display: flex;
  gap: 10px;
  padding: 10px 16px;
  max-width: 420px;
  width: calc(100% - 32px);
  background: rgba(253, 249, 243, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}

.sticky-cta.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta .btn-cta {
  padding: 12px 16px;
  font-size: 0.8rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* --- Responsive --- */

/* --- Tablet (~1200px) --- */
@media (max-width: 1200px) {
  .header {
    padding: 16px 24px;
  }

  .header__logo {
    width: 140px;
  }

  .header__nav {
    gap: 8px;
  }

  .header__link {
    font-size: 13px;
  }

  .header__link--last {
    margin-right: 12px;
  }

  .header__cta {
    font-size: 16px;
    padding: 8px 16px;
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
  }

  .hero-bg {
    height: 75vh;
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  }

  .hero-bg img {
    object-position: 70% top;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 40vh;
    align-items: stretch;
  }

  .hero-content {
    text-align: center;
    padding: 24px 20px;
    max-width: 100%;
  }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(253, 249, 243, 0) 0%,
      rgba(253, 249, 243, 0) 35%,
      rgba(253, 249, 243, 0.80) 48%,
      rgba(253, 249, 243, 1) 56%
    );
  }

  /* バッジを左上に縦並び配置（トップページ準拠） */
  .hero-stats {
    position: absolute;
    top: 15vh;
    left: 12px;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
  }

  .stat-badge-img {
    height: 55px;
  }

  .stat-note {
    position: relative;
    bottom: auto;
    right: auto;
    display: block;
    text-align: center;
    margin-top: -8px;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    max-width: 100%;
    align-items: center;
  }

  .cta-buttons {
    justify-content: center;
  }

  .hero-notes {
    padding-bottom: 24px;
  }

  /* モバイルでは追従バーを画面幅いっぱいに */
  .sticky-cta {
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    width: 100%;
    border-radius: 0;
    transform: translateX(0) translateY(120%);
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .sticky-cta.visible {
    transform: translateX(0) translateY(0);
  }
}

/* --- Mobile (~767px) --- */
@media (max-width: 767px) {
  /* Header mobile */
  .header {
    padding: 12px 16px;
  }

  .header__nav {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 28px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* brをスマホで解除して自然改行 */
  .hero-subtitle br,
  .video-subtitle br {
    display: none;
  }

  .hero-cta-group {
    max-width: 100%;
    align-items: center;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-cta {
    padding: 16px 20px;
    font-size: 0.9rem;
  }

  .hero-notes {
    padding: 0 20px 20px;
  }

  .video-section {
    padding: 48px 20px 48px;
  }

  .video-title {
    font-size: 1.2rem;
  }

  .video-title br {
    display: none;
  }

  .video-subtitle {
    font-size: 0.85rem;
    text-align: center;
  }

  .video-wrapper {
    border-radius: 16px;
  }

  /* Footer mobile */
  .footer__inner {
    padding: 24px 20px 76px;
  }

  .footer__links-row {
    height: auto;
    width: auto;
    max-width: 100%;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 0;
  }

  .footer__link {
    font-size: 11px;
    margin: 0 12px 0 0;
  }

  .footer__logo {
    width: 160px;
    margin: 32px 0 16px;
  }

  .footer__copy {
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 1.4rem;
  }

  .stat-badge-img {
    height: 60px;
  }
}
