@charset "UTF-8";

/* ============================================================
   p2-dark.css
   Challenge セクション (「こんなお悩みありませんか？」)
   ============================================================ */

/* ----------------------------------------------------------
   Challenge — 「こんなお悩みありませんか？」
   ---------------------------------------------------------- */

/* セクション全体: ライトベース */
.challenge-arrow {
  position: relative;
  background:
    radial-gradient(circle at 1px 1px, rgba(0, 139, 150, 0.10) 1px, transparent 1.4px) 0 0 / 14px 14px,
    var(--bg-light);
}

/* 吹き出しを中央寄せにするラッパー (吹き出し → 見出しの間隔を一元管理) */
.headline-bubble-wrap {
  text-align: center;
  margin-bottom: 26px;
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 28px;
  margin-top: 80px;
}

/* ダークカード */
.challenge-card {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  border-radius: 6px;
  padding: 64px 30px 32px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.challenge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

/* アイコン (カード上に飛び出す円) */
.challenge-icon {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.challenge-icon svg {
  width: 38px;
  height: 38px;
}

/* タイトル */
.challenge-title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #fff;
  margin: 8px 0 16px;
}

/* アクセントカラー (他セクションのマーカーと同じ黄色) */
.ch-accent {
  color: rgb(255, 220, 80);
  font-weight: 700;
}

.challenge-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  line-height: 1.85;
  margin: 0;
  text-align: left;
}

/* ----------------------------------------------------------
   About Us — 「経営の裏方に、私たちが立つ」
   ---------------------------------------------------------- */

.about-section {
  background: var(--bg-white);
}

/* 2カラムグリッド (画像 + テキスト) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

/* 画像エリア */
.about-image {
  position: relative;
  aspect-ratio: 4 / 5;
}

.about-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}


/* リードブロック */
.about-lead {
  margin: 0 0 28px;
}

.about-lead p {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.85;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  margin: 0;
}

.about-lead em {
  font-style: normal;
  font-family: var(--font-en);
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* 本文 */
.about-body {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.about-body p {
  color: var(--text-muted-light);
  font-size: 15px;
  line-height: 2;
  margin: 0;
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */

@media (max-width: 1024px) {
  .challenge-grid {
    grid-template-columns: 1fr;
    gap: 64px;
    margin-top: 64px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  /* About: 2カラム → 1カラム */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 600px;
  }

  .about-image {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 768px) {
  .challenge-grid {
    gap: 56px 0;
    margin-top: 56px;
  }

  /* About: モバイルでさらに余白縮小 */
  .about-grid {
    gap: 36px;
  }

  .about-image {
    aspect-ratio: 4 / 3;
  }

  .challenge-card {
    padding: 56px 22px 24px;
  }

  .challenge-icon {
    width: 64px;
    height: 64px;
    top: -32px;
  }

  .challenge-icon svg {
    width: 32px;
    height: 32px;
  }

  .challenge-title {
    font-size: 1rem;
  }
}
