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

/*=========================================================
	基本設定
=========================================================*/
.chart_container {
  margin-top: 6rem;
}
.chart_container::before {
  width: calc(100% + 8rem);
  height: 8rem;
  top: -3rem;
}
.chart_container::after {
  width: calc(100% + 10rem);
  height: 9rem;
  bottom: -4rem;
}

/*=========================================================
	診断チャート
=========================================================*/
.com-chart {
  padding: 2rem;
}

/*診断タイトル
-----------------------*/
.com-chart__title {
  font-size: var(--font-size-h6);
  text-align: left;
  padding: 1.5rem 1.5rem;
  margin-bottom: 2rem;
}
.com-chart__title > span {
  line-height: var(--line-height-h6);
  padding-left: 1.5rem;
}
.com-chart__title::before {
  width: 4.2rem;
  font-size: 2rem;
  padding-bottom: 0.15em;
}
.com-chart__title::after {
  mask-size: 2rem;
}

/*診断ボタン
----------------------------------------------- */
/*回答リスト
-----------------------*/
.com-chart__btns {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 1.5rem;
}

/*回答ボタン
-----------------------*/
.com-chart__btn {
  width: 100%;
}
.com-chart__btn-link {
  height: 6rem;
  padding-inline: 2.4rem;
}
.com-chart__btn-link::after {
  width: 2.4rem;
  right: -0.4rem;
}

/*戻るボタン
-----------------------*/
.btn_wrp {
  row-gap: 2.4rem;
  padding: 3rem 0 2rem;
}
.back_btn {
  column-gap: 1rem;
  padding-right: 2rem;
}
.back_btn::before {
  width: 1.5rem;
}

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

/*結果タイトル
-----------------------*/
.result-chart__title {
  row-gap: 2rem;
  font-size: 1.8rem;
  padding: 2rem;
}
.result-chart__title .balloon {
  line-height: 2;
  padding: 0.2rem 2rem;
}
.result-chart__title .balloon::after {
  aspect-ratio: 3 / 1;
  height: calc(1rem + 1px);
}
.result-chart__title .menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  line-height: calc(1em + 1rem);
  padding: 1.2rem 1.5rem;
}
.result-chart__title .menu::before {
  display: none;
}
.result-chart__title .sub {
  padding-top: 0.5em;
  margin-top: 0.5em;
}
.result-chart__title .main {
  text-align: center;
  font-size: var(--font-size-h5);
  line-height: var(--line-height-h5);
}

/*結果コンテナ
-----------------------*/
.result-chart__container {
  padding: 3rem 2.4rem;
}
.result-chart__container::after {
  content: "";
  display: block;
  width: calc(100% + 5rem);
  height: 16rem;
  background: url(../img/index/img_chart.png) no-repeat right bottom / contain;
  position: absolute;
  right: -2rem;
  bottom: -8rem;
  pointer-events: none;
}

/*結果料金
-----------------------*/
.result-chart__price {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  line-height: calc(1em + 0.8rem);
  gap: 1em;
}
.result-chart__price:has(dt) {
  padding-top: calc(2rem - 1em);
}
.result-chart__price:has(dt) dt ~ dd {
  margin-left: auto;
}
.result-chart__price dt {
  padding-top: 1em;
}
.result-chart__price .min {
  display: block;
  font-size: var(--font-size-xs);
  line-height: calc(1em + 0.6rem);
  padding-inline: 0.25em;
}

/*結果ボタン（このコースの詳細を見る）
-----------------------*/
.result_btn {
  width: 100%;
  height: 6rem;
  background-size: 24rem;
}
.result_btn::after {
  width: 2.4rem;
  right: -0.4rem;
}
