@charset "UTF-8";
@import url(chart_all.css);

/*=========================================================
	基本設定
=========================================================*/
.chart_container {
  padding-top: 6rem;
}

/*ジャンプ先調整
-----------------------*/
.com-chart::before,
.result-chart::before {
  height: 8rem;
  margin-top: -8rem;
}

/*=========================================================
	診断チャート
=========================================================*/
.com-chart {
  border-radius: 1.6rem;
}

/*診断タイトル
-----------------------*/
.com-chart__title {
  font-size: var(--font-size-20);
  line-height: 1.5;
  padding: 2rem 1.5rem;
}

/*診断ボタン
----------------------------------------------- */
/*回答リスト
-----------------------*/
.com-chart__btns {
  padding: 2.4rem;
}
.com-chart__btns:has(+ .btn_wrp) {
  padding-bottom: 2rem;
}

/*回答ボタン
-----------------------*/
.com-chart__btn {
  width: 100%;
  margin-bottom: 2rem;
}
.com-chart__btn:last-of-type {
  margin-bottom: 0;
}
.com-chart__btn-link {
  min-height: max(60px, 7rem);
  font-size: 1.8rem;
  line-height: 1.25;
  padding: 1.5rem 1rem 1.5rem;
  border-radius: 1.6rem;
}
.com-chart__btn-link span {
  max-width: calc(100% - 6rem);
}

/*戻るボタン
-----------------------*/
.btn_wrp {
  padding-inline: 2.4rem;
}
.back_btn {
  width: 28rem;
}

/*=========================================================
	診断結果
=========================================================*/
.result-chart {
}

/*結果タイトル
-----------------------*/
.result-chart__title {
  font-size: var(--font-size-32);
  margin-bottom: 4rem;
}

/*結果コンテナ
-----------------------*/
.result-chart__box {
  border-radius: 1.6rem;
}
.result-chart__heading {
  font-size: var(--font-size-20);
  line-height: 1.5;
  padding: 2rem 1.5rem;
}
.result-chart__inner {
  padding: 3rem 2.4rem 2.4rem;
}
.result-chart__btn {
  height: max(80px, 10rem);
  font-size: 1.8rem;
  column-gap: max(20px, 3rem);
  border-radius: 1.6rem;
  margin-top: 3rem;
}
.result-chart__btn::before {
  width: max(40px, 5rem);
}
.result-chart__image {
  margin-top: 3rem;
}
.result-chart__image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 1.6rem;
}
