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

/*=========================================================
	基本設定
=========================================================*/
.chart_container {
  margin-top: 8rem;
}
.chart_container::before {
  width: calc(100% + 14.8rem);
  height: 13.7rem;
  top: -5.7rem;
}
.chart_container::after {
  width: calc(100% + 26.6rem);
  height: 16.6rem;
  bottom: -4rem;
}

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

/*診断タイトル
-----------------------*/
.com-chart__title {
  font-size: var(--font-size-h4);
  padding: 1.2rem 2rem;
  margin-bottom: 4rem;
}
.com-chart__title > span {
  line-height: var(--line-height-h4);
  padding-left: 2rem;
  padding-right: 7.6rem;
}
.com-chart__title::before {
  width: 5.6rem;
  font-size: 2.5rem;
  padding-bottom: 0.15em;
}
.com-chart__title::after {
  mask-size: 3rem;
}

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

/*回答ボタン
-----------------------*/
.com-chart__btn {
  width: 100%;
  max-width: 36rem;
}
.com-chart__btn-link {
  height: 10rem;
}
.com-chart__btn-link::after {
  width: 3rem;
  right: -1rem;
}

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

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

/*結果タイトル
-----------------------*/
.result-chart__title {
  row-gap: 2rem;
  font-size: 2rem;
  padding: 2.6rem 14rem;
}
.result-chart__title .balloon {
  line-height: 2;
  padding-inline: 2.5rem;
}
.result-chart__title .balloon::after {
  aspect-ratio: 17 / 10;
  height: calc(1rem + 1px);
}
.result-chart__title .menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  line-height: 2;
  padding: 0.5rem 2rem;
}
.result-chart__title .menu::before {
  width: 14rem;
  font-size: 2.8rem;
  line-height: calc(1em + 0.5rem);
  text-shadow:
    0 0 0.3rem rgba(51, 51, 51, 0.05),
    0 0 2rem rgba(51, 51, 51, 0.08);
  left: -12.5rem;
}
.result-chart__title .main {
  font-size: var(--font-size-h4);
  line-height: var(--line-height-h4);
  padding-inline: 4rem;
}

/*結果コンテナ
-----------------------*/
.result-chart__container {
  padding: 4rem 6rem 6rem;
}
.result-chart__inner {
  padding-right: 20.5rem;
  position: relative;
  z-index: 0;
}
.result-chart__inner::before {
  content: "";
  width: 21.8rem;
  aspect-ratio: 218 / 247;
  background: url(../img/index/img_chart.png) no-repeat right bottom / contain;
  position: absolute;
  right: -7rem;
  top: -16.5rem;
  z-index: -1;
}

/*結果料金
-----------------------*/
.result-chart__price {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: space-between;
  align-items: flex-start;
  gap: calc(1lh - 1em) 1em;
}
.result-chart__price .min {
  font-size: 1.4rem;
  line-height: calc(1em + 0.6rem);
  padding-inline: 0.5rem;
}

/*結果ボタン（このコースの詳細を見る）
-----------------------*/
.result_btn {
  width: 100%;
  height: 8rem;
}
.result_btn::after {
  width: 3rem;
  right: -1rem;
}
