@charset "UTF-8";

/* 課題別ページ「こんな課題はありませんか？」の直後に置く、
   チェックリスト診断への導線。
   main.css はビルド成果物なので、このブロック専用に切り出している。 */

.p-checkLead {
  position: relative;
  margin: 3.2rem auto 0;
  max-width: 88rem;
  padding: 2.4rem;
  border: 0.1rem solid #cfe9e3;
  border-radius: 0.6rem;
  background: #f4fbf9;
  text-align: center;
  overflow: hidden;
}

/* 左のアクセントは擬似要素で描く。border-left にすると
   その分だけコンテンツ領域が右にずれ、中央揃えが左右非対称になるため */
.p-checkLead::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0.4rem;
  height: 100%;
  background: #29baa2;
}

.p-checkLead__hdg {
  margin: 0 0 0.8rem;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  color: #123b5e;
}

.p-checkLead__txt {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #333;
}

/* ボタンにしているのは、下線リンクだと課題リストの直後で埋もれるため。
   ページ本来のCTA（資料請求・お問い合わせ）と競合しないよう、
   グラデーションのオレンジではなくブランドグリーンの単色にしている。 */
.p-checkLead__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  margin-top: 2rem;
  padding: 1.6rem 2rem;
  border-radius: 0.6rem;
  background: #29baa2;
  box-shadow: 0 0.2rem 0.6rem rgba(18, 59, 94, 0.15);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

/* 矢印はCSSで描く。白い矢印のSVGが用意されていないため */
.p-checkLead__link::after {
  content: "";
  flex-shrink: 0;
  width: 0.8rem;
  height: 0.8rem;
  border-top: 0.2rem solid currentColor;
  border-right: 0.2rem solid currentColor;
  transform: rotate(45deg);
}

.p-checkLead__link:hover {
  background: #219e8a;
  box-shadow: 0 0.4rem 1rem rgba(18, 59, 94, 0.2);
}

.p-checkLead__note {
  margin: 0.8rem 0 0;
  font-size: 1.3rem;
  line-height: 1.6;
  color: #6b7a86;
}

@media screen and (min-width: 768px) {
  .p-checkLead {
    margin-top: 4rem;
    padding: 3.2rem 3.6rem;
  }

  .p-checkLead__hdg {
    font-size: 2.2rem;
  }

  .p-checkLead__txt {
    font-size: 1.6rem;
  }

  /* PCは文字数ぶんの幅に収める。全幅にすると
     セクション全体のCTAに見えてしまい、本来のCTAと競合する */
  .p-checkLead__link {
    display: inline-flex;
    width: auto;
    padding: 1.8rem 3.2rem;
    font-size: 1.7rem;
  }
}

/* 2本目の導線。ボタンをもう1つ置くとブロックが重くなるため、
   本文と同じ見た目の1文にとどめている（2026-09追加） */
.p-checkLead__more {
  margin: 1.6rem 0 0;
  padding-top: 1.4rem;
  border-top: 0.1rem solid #dcece8;
  font-size: 1.3rem;
  line-height: 1.8;
  text-align: left;
  color: #3c3c3c;
}

.p-checkLead__moreLink {
  font-weight: 700;
  color: #17806f;
  text-decoration: underline;
}

@media screen and (min-width: 768px) {
  .p-checkLead__more {
    font-size: 1.4rem;
    text-align: center;
  }
}
