/* キャリアコーチング（仕様 6-9）。配色は同じまま、曲線と余白で柔らかいトーンにする。 */

/* ============================== */
/*        2 こんな悩みはありませんか    */
/* ============================== */

.p-cc-worry {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.p-cc-worry::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 52%;
  width: min(1100px, 140vw);
  aspect-ratio: 1.6;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, var(--color-surface) 0%, rgba(244, 250, 247, 0) 68%);
  transform: translate(-50%, -50%);
}

.p-cc-worry .c-worry__bubble {
  padding: 1.1rem 1.5rem;
  border-radius: 28px;
  text-align: center;
  text-wrap: balance;
}

/* 吹き出しがゆっくり浮遊する（M9 の表示後。transform は M9 が使うので translate で動かす） */
@keyframes p-cc-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

.p-cc-worry .c-worry__bubble {
  animation: p-cc-float 6s ease-in-out infinite;
}

.p-cc-worry .c-worry__bubble--2 { animation-delay: -1.5s; animation-duration: 7s; }
.p-cc-worry .c-worry__bubble--3 { animation-delay: -3s; animation-duration: 6.5s; }
.p-cc-worry .c-worry__bubble--4 { animation-delay: -4.5s; animation-duration: 7.5s; }

/* ============================== */
/*          3 私たちのサポート         */
/* ============================== */

.p-cc-support {
  padding-top: 0;
}

.p-cc-support__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.p-cc-support__media {
  border-radius: 48% 52% 46% 54% / 56% 44% 56% 44%;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.p-cc-support__body .c-heading {
  margin-bottom: clamp(28px, 3vw, 40px);
}

.p-cc-support__lead {
  color: var(--color-primary-deep);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 700;
  line-height: 2;
}

.p-cc-support__text {
  margin-top: 1.5rem;
  color: var(--color-muted);
}

@media (max-width: 1023px) {
  .p-cc-support__inner {
    grid-template-columns: 1fr;
  }

  .p-cc-support__media {
    width: min(100%, 560px);
    margin-inline: auto;
  }
}

/* ============================== */
/*        4 目的達成のかきくけこ        */
/* ============================== */

.p-cc-method {
  position: relative;
  overflow: hidden;
  border-radius: clamp(40px, 8vw, 120px) clamp(40px, 8vw, 120px) 0 0;
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-alt) 100%);
}

.p-cc-method__kana {
  margin: 0 0 clamp(24px, 3vw, 40px);
  color: var(--color-primary-light);
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 800;
  letter-spacing: 0.35em;
  line-height: 1.1;
  text-align: center;
  text-indent: 0.35em;
  opacity: 0.9;
}

.p-cc-method__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-cc-method__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.25rem 1.75rem;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.p-cc-method__char {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 6px rgba(143, 193, 82, 0.18);
}

.is-site .p-cc-method__keyword {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.p-cc-method__text {
  margin-top: 0.75rem;
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.85;
  text-align: left;
}

/* かきくけこを支える2つの強み */
.p-cc-method__support {
  margin-top: clamp(48px, 6vw, 80px);
}

.is-site .p-cc-method__support-title {
  color: var(--color-primary-deep);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  letter-spacing: 0.08em;
  text-align: center;
}

.p-cc-method__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: clamp(20px, 2.5vw, 32px) 0 0;
  padding: 0;
  list-style: none;
}

.p-cc-method__point {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(0, 122, 77, 0.3);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.p-cc-method__point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(143, 193, 82, 0.18);
  color: var(--color-primary-light);
}

.p-cc-method__point-icon .c-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.p-cc-method__point-title {
  color: var(--color-primary-deep);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  font-weight: 700;
  line-height: 1.6;
  text-wrap: balance;
}

.p-cc-method__point-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 0.75rem;
  color: var(--color-primary-deep);
  font-size: 0.85rem;
  font-weight: 700;
}

.p-cc-method__point-stat strong {
  margin: 0 0.15rem;
  color: var(--color-primary-light);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.p-cc-method__point-text {
  margin-top: 0.75rem;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.85;
}

@media (max-width: 1023px) {
  .p-cc-method__points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .p-cc-method__point {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    border-radius: 22px;
  }
}

.p-cc-method__goal {
  margin-top: clamp(40px, 5vw, 64px);
  color: var(--color-primary-deep);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.p-cc-method__goal::before,
.p-cc-method__goal::after {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 1px;
  margin: 0 1rem;
  background: var(--color-accent);
  vertical-align: middle;
}

@media (max-width: 1023px) {
  .p-cc-method__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p-cc-method__card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .p-cc-method__kana {
    font-size: 2.75rem;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
    white-space: nowrap;
  }

  .p-cc-method__list {
    grid-template-columns: 1fr;
  }

  .p-cc-method__card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    align-items: center;
    padding: 1.25rem 1.25rem 1.35rem;
    border-radius: 22px;
    text-align: left;
  }

  .p-cc-method__char {
    grid-row: 1 / span 2;
    align-self: start;
    width: 3rem;
    height: 3rem;
    font-size: 1.35rem;
  }

  .is-site .p-cc-method__keyword {
    margin-top: 0;
  }

  .p-cc-method__text {
    margin-top: 0.35rem;
  }

  .p-cc-method__goal::before,
  .p-cc-method__goal::after {
    display: none;
  }
}

/* ============================== */
/*             5 進め方             */
/* ============================== */

.p-cc-process .c-steps__item {
  border-radius: 24px;
}

@media (prefers-reduced-motion: reduce) {
  .p-cc-worry .c-worry__bubble {
    animation: none;
  }
}
