/* 総合型対策用 */
.courseintro {
  padding: 2rem 0;
}
.courseintro__tbl dl {
  width: 40%;
  margin: 0 auto;
}

.courseintro__tbl.high dl dd {
  text-align: center;
}
.courseintro__tbl.high {
  overflow: inherit;
}
/* overflow: hidden を上書きして円バッジの上部はみ出しを許容 */
.coursefeature__desc {
  position: relative;
  overflow: visible;
}
/* overflow: visible にした分、角丸を自前で維持 */
.coursefeature__desc .coursefeature__desc__ttl {
  border-radius: 1rem 1rem 0 0;
  height: auto;
  padding-top: 5.5rem;
}
@media (max-width: 767px) {
  .coursefeature__desc .coursefeature__desc__ttl {
    padding-top: 4rem;
  }
}

.coursefeatures__section__heading__point {
  z-index: 1;
  position: absolute;
  background-color: #d13c18;
  border-radius: 50%;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
@media (min-width: 768px) {
  .coursefeatures__section__heading__point {
    width: 9rem;
    height: 9rem;
    top: -2.5rem;
  }
}
@media (max-width: 767px) {
  .coursefeatures__section__heading__point {
    width: 7rem;
    height: 7rem;
    top: -2.25rem;
  }
}
.coursefeatures__section__heading__point > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.coursefeatures__section__heading__point span {
  display: block;
  font-weight: bold;
}
.coursefeatures__section__heading__point span:nth-child(1) {
  color: #fff;
}
@media (min-width: 768px) {
  .coursefeatures__section__heading__point span:nth-child(1) {
    font-size: 1.4rem;
  }
}
@media (max-width: 767px) {
  .coursefeatures__section__heading__point span:nth-child(1) {
    font-size: 1.05rem;
  }
}
.coursefeatures__section__heading__point span:nth-child(2) {
  color: #ffd726;
}
@media (min-width: 768px) {
  .coursefeatures__section__heading__point span:nth-child(2) {
    font-size: 3.3rem;
  }
}
@media (max-width: 767px) {
  .coursefeatures__section__heading__point span:nth-child(2) {
    font-size: 2.45rem;
  }
}

.option__title--wrapper {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  background-color: #fff;
  padding: 24px 0;
  display: flex;
  gap: 16px;
  flex-direction: column;
  text-align: center;
  border-radius: 6px;
  box-shadow: #6161613b 0px 6px;
}

.option__title--sub {
  font-size: 16px;
}

.option__title--main {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  line-height: 1.6;
  font-feature-settings: "palt";
}

.text-red {
  color: #d13c18;
  font-weight: 600;
}

.ul-yellow {
  background: linear-gradient(transparent 70%, #fff600 70%);
}

.txt-cmn span {
  color: #d13c18;
  font-weight: 600;
}

/* ---- comparison ---- */
.comparison {
  padding: 60px 0;
  background: #fff;
}

.comparison__inner {
  max-width: 960px;
  margin: 0 auto;
}

.comparison__table {
  overflow: hidden;
  border: 2px solid #d13c18;
  border-radius: 8px;
}

.comparison__head {
  display: flex;
  gap: 0;
}

.comparison__head__label {
  flex: 0 0 120px;
  background: #fff;
  border-right: 2px solid #d13c18;
}

.comparison__head__col {
  flex: 1;
  padding: 14px 20px;
  text-align: center;
  font-weight: bold;
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.comparison__head__col:last-child {
  border-right: none;
}

.head__col--main {
  font-size: 18px;
}

.comparison__head__col--sogo {
  background: #d13c18;
}

.comparison__head__col--gakko {
  background: #d13c18;
}

.comparison__row {
  display: flex;
  gap: 0;
  border-top: 1px solid #e0e0e0;
}

.comparison__row:nth-child(odd) {
  background-color: #f5f5f5;
}

.comparison__row__label {
  flex: 0 0 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  color: #333;
  border-right: 2px solid #e0e0e0;
}

.comparison__row__col {
  flex: 1;
  padding: 16px 48px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  line-height: 1.8;
  border-right: 1px solid #e0e0e0;
}

.comparison__row__col:last-child {
  border-right: none;
}

.comparison__row__col ul {
  margin: 0;
  padding-left: 20px;
  display: table;
  text-align: left;
}

.comparison__row__col ul li {
  list-style: disc;
  margin-bottom: 4px;
}

.comparison__row__col ul li:last-child {
  margin-bottom: 0;
}

/* ---- chart ---- */

.chart-section {
  width: 90%;
  max-width: 800px;
  margin: 0px auto 24px;
}

.chart-section_title {
  text-align: center;
  padding: 32px 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.4;
}

.chart-arrow-wrapper {
  text-align: center;
  margin-bottom: 0;
}

.chart-arrow {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 0 auto;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
}

.chart-arrow.is-visible {
  clip-path: inset(0 0% 0 0);
  opacity: 1;
  transition:
    clip-path 0.9s ease-in-out,
    opacity 0.1s ease;
}

.chart-container-vertical {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  height: 300px;
  margin: -140px auto 0px;
  border-bottom: 2px solid #eee;
}

.bar-item-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bar-wrapper {
  width: 120px;
  display: flex;
  align-items: flex-end;
  background-color: #f0f0f0;
  border-radius: 3px;
}

.bar {
  width: 100%;
  height: 0;
  background: #bbb;
  transition: height 1s ease-out;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.bar-item-vertical:last-child .bar {
  background: #d13c18;
}

.value {
  font-size: 24px;
  margin-bottom: 6px;
  font-weight: 700;
}

.chart-labels {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.label {
  width: 120px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  padding-top: 4px;
}

.gimon-block {
}

.gimon-block_header {
  background-image: url(/img/option/gimon-block_img-05.webp);
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  flex-direction: row;
  height: 540px;
  margin-bottom: 2rem;
}

.gimon-block_header picture:nth-child(2) {
  margin-left: -120px;
}

.gimon-block_inner {
  max-width: 86rem;
  margin: 0 auto;
  padding: 0 3rem;
}

.gimon-block_inner .ttl-cmn02 {
  padding-top: 2rem;
}
.coursefeature__desc:not(:last-child) {
  margin-bottom: 5rem;
}
.coursereason {
  padding: 3rem 0;
}
.coursereason__inner .ttl-cmn02 span:nth-child(3) {
  font-size: 5rem;
}
.coursefeature {
  padding: 3rem 0;
}
.chart-source {
  text-align: center;
  margin-top: 10px;
}

/* ---- SP ---- */
@media (max-width: 767px) {
  .chart-arrow {
    width: 80%;
  }

  .courseintro__tbl dl {
    width: 100%;
  }
  .coursereason {
    padding: 0 0 2rem;
  }

  .gimon-block.coursereason {
    padding: 2rem 0;
  }
  .method-ttl {
    padding-left: 4rem;
  }

  .method-ttl::before {
    left: 0.9rem;
    font-size: 20px;
  }

  .kingaku-all {
    padding: 16px 0;
  }

  .comparison {
    padding: 40px 0;
  }

  .comparison__inner {
    padding: 0 16px;
  }

  .comparison__head {
    gap: 0;
  }

  .comparison__head__label {
    flex: 0 0 64px;
  }

  .comparison__head__col {
    font-size: 11px;
    padding: 10px 8px;
  }

  .head__col--main {
    font-size: 14px;
  }

  .comparison__row__label {
    flex: 0 0 64px;
    font-size: 11px;
    padding: 12px 0;
  }

  .comparison__row__col {
    font-size: 12px;
    padding: 12px 4px;
    text-align: center;
  }

  .chart-container-vertical {
    gap: 16px;
    margin: -120px auto 0px;
  }

  .chart-section_title {
    font-size: 24px;
    padding: 24px 0;
  }

  .bar-wrapper {
    width: 50px;
  }

  .chart-labels {
    gap: 10px;
  }

  .value {
    font-size: 18px;
    margin-bottom: 6px;
    font-weight: 700;
    width: 50px;
    text-wrap: nowrap;
    text-align: center;
  }

  .label {
    width: 56px;
    font-size: 14px;
    padding-top: 4px;
  }

  .gimon-block_header {
    height: 220px;
  }

  .gimon-block_header picture:nth-child(2) {
    margin-left: -50px;
  }
  .ttl-cmn02 {
    margin-bottom: 3rem;
  }
  .coursefeature__desc:not(:last-child) {
    margin-bottom: 5rem;
  }
  .coursereason__inner .ttl-cmn02 span:nth-child(3) {
    font-size: 4rem;
  }
  .bar {
    width: 50px;
    height: 0;
  }
}
.sogo__ttl__balloon {
  width: 50rem;
  line-height: 5.1rem;
  position: relative;
  border-radius: 9999px;
  background: #d13c18;
  color: #fff;
  text-align: center;
  font-size: 2.4rem;
  white-space: normal;
  margin: 0 auto 5rem;
  transition: cubic-bezier(0.165, 0.84, 0.44, 1) 1200ms;
  transform: translateY(3rem);
}
@media screen and (max-width: 767px) {
  .sogo__ttl__balloon {
    font-size: 1.6rem;
    line-height: 3.15rem;
    width: 28rem;
  }
}
.sogo__ttl__balloon:after {
  content: "";
  display: block;
  border-width: 1.2rem 0.85rem 0 0.85rem;
  border-style: solid;
  border-color: #d13c18 transparent transparent;
  position: absolute;
  top: 100%;
  left: calc(50% - 0.85rem);
}
@media screen and (max-width: 767px) {
  .sogo__ttl__balloon:after {
    border-width: 0.8rem 0.4rem 0 0.4rem;
    left: calc(50% - 0.4rem);
  }
}
.sogo__ttl.frame-in .sogo__ttl__balloon {
  transform: translateY(0);
}
