@charset "utf-8";

/* ==========================================================================
   #cont6 無料どこでも相談会の流れ
   PC: const7_PC.svg (1440 x 1184)
   SP: const7_SP.svg (375 x 1380)
   ========================================================================== */

.cont6 {
  position: relative;
  width: 100%;
  padding: 40px 20px 80px;
  background: #f4c917;
  font-family: var(--font-jp);
  color: var(--color-text);
  text-align: center;
}

.cont6__inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ---- タイトル ---------------------------------------------------------- */
.cont6__title {
  margin: 0;
  text-align: center;
  font-size: min(3.6vw, 36px);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.4;
}
.cont6__title-text {
  position: relative;
  display: inline-block;
  padding: 0 8px;
  z-index: 1;
}
/* 白マーカー (cont2 と同じ感じ) */
.cont6__title-text.marker::after {
  content: "";
  display: block;
  width: 100%;
  height: 0.4em;
  background-color: rgba(255, 255, 255, 0.72);
  position: absolute;
  bottom: 0.1em;
  left: 0;
  z-index: -1;
  transform: skewX(-15deg);
}
/* 右肩スクリブル装飾 */
.cont6__title-text::before {
  content: "";
  position: absolute;
  top: -16px;
  right: -28px;
  width: 28px;
  height: 25px;
  background: url("../images/cont1/title-deco.png") no-repeat center / contain;
}

/* ---- キャプション (両側に斜め線) -------------------------------------- */
.cont6__caption {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 0;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--color-text);
}
.cont6__caption::before,
.cont6__caption::after {
  content: "";
  display: block;
  width: 2px;
  height: 22px;
  background: var(--color-text);
}
.cont6__caption::before {
  transform: rotate(-25deg);
}
.cont6__caption::after {
  transform: rotate(25deg);
}

/* ---- 白パネル ---------------------------------------------------------- */
.cont6__panel {
  margin-top: 80px;
  background: #f2f0dc;
  border-radius: 12px;
  padding: 60px 24px 48px;
}

/* ---- 4 channels --------------------------------------------------------- */
.cont6__channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cont6__channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
/* 縦の区切り線 (column 2-4 の左側) */
.cont6__channel + .cont6__channel::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #dbdcdc;
}

/* チャネルアイコン (全て白地, 中身のSVG/PNGは黒系) — パネル枠から飛び出す */
.cont6__icon {
  width: 96px;
  height: 96px;
  margin-top: -108px;
  background: #fff;
  border: 2px solid var(--color-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.cont6__icon img {
  max-width: 56%;
  max-height: 56%;
  object-fit: contain;
}
.cont6__icon--zoom img {
  max-width: 70%;
}

.cont6__label {
  margin: 14px 0 24px;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: var(--color-text);
}
.cont6__label-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-top: 4px;
  color: var(--color-text);
}

/* ---- ステップリスト ---------------------------------------------------- */
.cont6__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}
.cont6__steps > li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cont6__steps > li + li {
  margin-top: 30px;
}
/* ステップ間の▼矢印 */
.cont6__steps > li + li::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid var(--color-text);
}

.cont6__step-num {
  display: inline-block;
  background: var(--color-text);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 4px;
  line-height: 1.4;
}
.cont6__step-text {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--color-text);
  font-weight: 500;
}

/* ---- LINE 追加ボタン (4列目の中間) ------------------------------------- */
.cont6__step--cta::before {
  display: none !important;
}
.cont6__line-cta {
  display: inline-block;
  background: #1fb13f;
  color: #fff !important;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.cont6__line-cta:hover {
  opacity: 0.85;
}

/* ---- 下部 CTA ---------------------------------------------------------- */
.cont6__cta-wrap {
  margin: 48px auto 0;
}

/* ==========================================================================
   タブレット〜PC small
   ========================================================================== */
@media (max-width: 1100px) and (min-width: 751px) {
  .cont6__title {
    font-size: clamp(26px, 3vw, 36px);
  }
  .cont6__channels {
    gap: 12px;
  }
  .cont6__icon {
    width: 72px;
    height: 72px;
    margin-top: -84px;
  }
  .cont6__label {
    font-size: clamp(15px, 1.8vw, 20px);
  }
  .cont6__step-text {
    font-size: clamp(11px, 1.3vw, 13px);
  }
}

/* ==========================================================================
   SP (~750px以下) — 2x2 grid
   ========================================================================== */
@media (max-width: 750px) {
  .cont6 {
    padding: 28px 0 56px;
  }
  .cont6__inner {
    padding: 0;
  }
  .cont6__title,
  .cont6__caption,
  .cont6__cta-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .cont6__title {
    font-size: 24px;
    letter-spacing: 0.08em;
  }
  .cont6__title-text::before {
    width: 22px;
    height: 20px;
    top: -12px;
    right: -20px;
  }
  .cont6__caption {
    margin-top: 18px;
    font-size: 13px;
    gap: 10px;
  }
  .cont6__caption::before,
  .cont6__caption::after {
    height: 18px;
  }

  .cont6__panel {
    margin-top: 60px;
    padding: 48px 16px 32px;
    border-radius: 0;
  }
  .cont6__channels {
    grid-template-columns: 1fr 1fr;
    gap: 120px 16px;
  }
  .cont6__channel + .cont6__channel::before {
    display: none;
  }
  .cont6__icon {
    width: 72px;
    height: 72px;
    margin-top: -84px;
  }
  .cont6__icon--zoom {
    border-width: 1.5px;
  }
  .cont6__label {
    margin: 10px 0 18px;
    font-size: 16px;
  }
  .cont6__label-sub {
    font-size: 11px;
  }

  .cont6__steps > li + li {
    margin-top: 18px;
  }
  .cont6__step-num {
    font-size: 11px;
    padding: 3px 10px;
  }
  .cont6__step-text {
    font-size: 12px;
    line-height: 1.55;
  }
  .cont6__line-cta {
    font-size: 12px;
    padding: 8px 14px;
  }

  .cont6__cta-wrap {
    margin-top: 32px;
  }
}
