/* ========================================
   PrepWORK for Leaders — styles.css
   ベースデザイン（navy/orange）を継承
   ======================================== */

:root {
  --navy: #1A2B4A;
  --orange: #E85D26;
  --coral: #F28B7D;
  --light-gray: #F5F7FA;
  --white: #FFFFFF;
  --text-muted: #6B7280;
  --border-color: #E5E7EB;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--navy);
  background-color: var(--white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.desktop-only { display: none; }
.mobile-only  { display: inline; }

@media (min-width: 768px) {
  .desktop-only { display: inline; }
  .mobile-only  { display: none; }
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-color: var(--navy);
  background-image: url('../img/leaders_1.png');
  background-size: cover;
  background-position: center 30%;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 43, 74, 0.35) 0%,
    rgba(26, 43, 74, 0.20) 10%,
    rgba(26, 43, 74, 0.65) 45%,
    rgba(26, 43, 74, 0.82) 80%,
    rgba(26, 43, 74, 0.88) 100%
  );
}

.hero-logo {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 10;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
  text-align: left;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.08em;
  background-color: rgba(232, 93, 38, 0.15);
  border: 1px solid rgba(232, 93, 38, 0.4);
  border-radius: 3px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.45;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero-title_b {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--coral);
  line-height: 1.45;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

.hero-content .cta-button {
  display: block;
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-logo { top: 2rem; left: 2rem; }
  .hero-title { font-size: 3rem; }
  .hero-title_b { font-size: 3rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-content { padding: 2rem 3rem 4rem; }
}

/* ========================================
   CTA Buttons
   ======================================== */
.cta-button {
  display: inline-block;
  background-color: var(--orange);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 1.1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.cta-button:hover {
  background-color: #d14d1a;
  transform: translateY(-1px);
}

.cta-button-large {
  font-size: 1.0625rem;
  padding: 1.2rem 2.5rem;
}

/* ========================================
   Problem Section
   ======================================== */
.problem {
  padding: 5rem 0;
  background-color: var(--white);
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.05em;
}

.divider {
  width: 3rem;
  height: 2px;
  background-color: var(--orange);
  margin: 1rem 0 1.5rem;
}

.problem-text {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.problem-sub {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.9;
}

@media (min-width: 768px) {
  .problem { text-align: center; }
  .divider { margin: 1rem auto 1.5rem; }
  .problem-text { font-size: 1.875rem; }
}

/* ========================================
   Steps / How it works
   ======================================== */
.steps {
  padding: 5rem 0;
  background-color: var(--navy);
}

.section-title-light {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--white);
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle-light {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-bottom: 3rem;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.step-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.step-number {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  min-width: 3rem;
  padding-top: 0.2rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.4;
}

.step-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--orange);
  background-color: rgba(232, 93, 38, 0.15);
  border: 1px solid rgba(232, 93, 38, 0.35);
  border-radius: 3px;
  padding: 0.1rem 0.5rem;
  letter-spacing: 0.03em;
}

.step-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.85;
  margin-bottom: 0.75rem;
}

.step-description strong {
  color: var(--white);
  font-weight: 700;
}

.modal-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--orange);
  cursor: pointer;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.15s ease;
  font-family: 'Noto Sans JP', sans-serif;
}

.modal-trigger:hover {
  opacity: 0.75;
}

@media (min-width: 768px) {
  .section-title-light { font-size: 2rem; }
}

/* ========================================
   About / Benefits
   ======================================== */
.about {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--navy);
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.section-description {
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  border-left: 3px solid var(--orange);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(232, 93, 38, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.feature-description {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.9;
}

@media (min-width: 768px) {
  .section-title { font-size: 2rem; }
  .features-grid { flex-direction: row; gap: 2rem; }
  .feature-card { flex: 1; }
}

/* ========================================
   Appointment CTA
   ======================================== */
.appointment-cta {
  padding: 5.5rem 0;
  background-color: var(--navy);
  text-align: center;
}

.appointment-cta-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  padding: 0.2rem 0.75rem;
  margin-bottom: 1.5rem;
}

.appointment-cta-title {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.appointment-cta-body {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

.appointment-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
  .appointment-cta-title { font-size: 2.25rem; }
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 2.5rem 0;
  background-color: #0f1d33;
  text-align: center;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   Modals
   ======================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(10, 18, 35, 0.6);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(2px);
}

.modal-overlay.is-open {
  display: flex;
  animation: fadeIn 0.15s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-box {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.2s ease-out;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.25rem;
  transition: color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover { color: var(--navy); }

.modal-step-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.75rem;
  padding-right: 2rem;
  line-height: 1.5;
}

.modal-lead {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

/* modal items */
.modal-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.modal-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.modal-item-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  background-color: rgba(232, 93, 38, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}

.modal-item-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.modal-item-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* modal two-col */
.modal-two-col {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.25rem;
}

@media (min-width: 480px) {
  .modal-two-col { grid-template-columns: 1fr 1fr; }
}

.modal-col {
  background-color: var(--light-gray);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.modal-col-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--orange);
  background-color: rgba(232, 93, 38, 0.12);
  border-radius: 3px;
  padding: 0.1rem 0.5rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.modal-col-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.modal-col-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.modal-col-text strong {
  color: var(--navy);
  font-weight: 700;
}

.modal-note {
  background-color: rgba(232, 93, 38, 0.08);
  border-left: 3px solid var(--orange);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1rem 1.25rem;
}

.modal-note p {
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.75;
  font-weight: 500;
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* ========================================
   Hero — Logo image
   ロゴ画像の大きさはここで調整
   ======================================== */
.hero-logo-img {
  height: 36px;   /* ★ モバイルでのロゴの高さ */
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .hero-logo { top: 2rem; left: 2rem; }
  .hero-logo-img {
    height: 44px; /* ★ デスクトップでのロゴの高さ */
  }
}

/* ========================================
   Hero — Eyebrow badge（上部中央・独立）
   ======================================== */
.hero-eyebrow-top {
  position: absolute;
  top: 1.75rem;         /* ★ 上からの距離（モバイル） */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  white-space: nowrap;
  font-size: 0.8125rem; /* ★ 文字サイズ（モバイル） */
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
  background-color: rgba(232, 93, 38, 0.15);
  border: 1px solid rgba(232, 93, 38, 0.45);
  border-radius: 4px;
  padding: 0.3rem 0.9rem;
}

@media (min-width: 768px) {
  .hero-eyebrow-top {
    top: 11rem;           /* ★ 上からの距離（デスクトップ） */
    font-size: 1.875rem;  /* ★ 文字サイズ（デスクトップ） */
  }
}

/* ========================================
   Steps — Horizontal card layout（画像付き横長カード）
   ======================================== */

/* steps-list: override */
.steps-list {
  max-width: 760px;
}

/* step-item: horizontal card */
.step-item {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border-top: none;
  border-bottom: none;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
  transition: background 0.25s ease, transform 0.25s ease;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-item:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateX(3px);
}

/* 左カラム：画像 */
.step-img-col {
  flex-shrink: 0;
  width: 220px;    /* ★ 画像列の幅 */
  overflow: hidden;
  position: relative;
}

.step-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.step-item:hover .step-img-col img {
  transform: scale(1.05);
}

/* 右カラム：テキスト */
.step-text-col {
  flex: 1;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

/* step-head: override */
.step-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

/* step-number: override */
.step-number {
  font-size: 2rem;
  min-width: auto;
  padding-top: 0;
}

/* step-title: override */
.step-title {
  margin: 0 0 0.5rem;
}

/* step-description: override */
.step-description {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
}

/* modal-trigger: override */
.modal-trigger {
  margin-top: 0.85rem;
}

/* ステップ間コネクター */
.step-connector {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: calc(220px / 2 - 11px);
  position: relative;
  z-index: 1;
  margin: -2px 0;
}

.step-connector::before {
  display: none;
}

.step-arrow {
  display: block;
  flex-shrink: 0;
}

/* Mobile: 縦積み */
@media (max-width: 599px) {
  .step-item        { flex-direction: column; }
  .step-img-col     { width: 100%; height: 180px; }
  .step-img-col img { object-position: center 30%; }
  .step-text-col    { padding: 1.25rem 1.5rem; }
  .step-connector   { padding-left: calc(50% - 11px); }
}

/* ========================================
   Benefits — 6ステップの先にあるもの
   ======================================== */
.benefits-section {
  padding: 5.5rem 0 4rem;
  background-color: var(--white);
}

.benefits-header {
  margin-bottom: 3rem;
}

.benefits-super-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1.2;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.benefits-sub-title {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .benefits-super-title { font-size: 2.5rem; }
  .benefits-sub-title   { font-size: 1.625rem; }
}

/* 3カラムグリッド */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 720px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

.benefit-card {
  display: flex;
  flex-direction: column;
}

.benefit-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: #F5F0EC;
}

.benefit-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.benefit-card:hover .benefit-card-image img {
  transform: scale(1.04);
}

.benefit-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.45;
}

.benefit-card-desc {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.9;
}

.benefit-card-desc em {
  font-style: normal;
  font-weight: 700;
  color: var(--orange);
}

/* インラインCTAボックス */
.benefits-cta-box {
  background: linear-gradient(135deg, rgba(232, 93, 38, 0.12) 0%, rgba(232, 93, 38, 0.06) 100%);
  border: 1.5px solid rgba(232, 93, 38, 0.25);
  border-radius: 0.875rem;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.benefits-cta-icon {
  flex-shrink: 0;
  color: var(--orange);
  margin-top: 0.15rem;
}

.benefits-cta-headline {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.benefits-cta-headline em {
  font-style: normal;
  color: var(--orange);
}

.benefits-cta-body {
  font-size: 0.9rem;
  color: #4B5563;
  line-height: 1.8;
}

.benefits-cta-body strong {
  color: var(--navy);
  font-weight: 700;
}

@media (max-width: 599px) {
  .benefits-cta-box      { flex-direction: column; gap: 0.75rem; }
  .benefits-cta-headline { font-size: 1.0625rem; }
}

/* ========================================
   Footer — link style
   ======================================== */
.footer-link {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  transition: text-decoration-color 0.2s ease;
}

.footer-link:hover {
  text-decoration-color: var(--white);
}
