.kv {
  display: flex;
  align-items: center;
  background-image: url('../images/kv.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 80px;
  height: 300px;
  padding: 0 140px;
  color: #FFF;
}

@media (max-width: 768px) {
  .kv {
    align-items: flex-start;
    background-image: url('../images/kv__sp.png');
    margin-top: 0;
    height: 310px;
    padding: 90px 24px 0;
  }
}

/* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */

.card-title-wrapper {
  background-color: #173D60;
  color: #fff;
}

.card-title {
  font-weight: bold;
  text-align: center;
  font-size: 32px;
  padding: 20px 0;
}

.card-content {
  padding: 60px;
  background-color: #F9F9F9;
  border-bottom: 2px solid #EBEBEB;
  border-left: 2px solid #EBEBEB;
  border-right: 2px solid #EBEBEB;
}

@media (max-width: 768px) {
  .card-title {
    font-size: 16px;
    padding: 10px 0;
  }
  .card-content {
    padding: 30px 15px;
  }
}

/* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */

.col-3 {
  display: flex;
  margin-top: 60px;
}

.col-item {
  flex: 1;
  position: relative;
  padding: 0 40px;
}
.col-item:first-child {
  padding-left: 0;
}
.col-item:last-child {
  padding-right: 0;
}
.col-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background-color: #ccc;
}

.col-item-inner {
  position: relative;
}
.col-item.is-result .col-item-inner::before {
  content: 'あなたに合ったコースはこちら！';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  background-color: #D0A866;
  color: #fff;
  width: 100%;
  max-width: 240px;
  padding: 6px 0;
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
}

@media (min-width: 769px) {
  .col-item:not(.is-result) {
    opacity: 0.3;
  }
}

@media (max-width: 768px) {
  .col-item:not(.is-result) {
    opacity: 0.3;
  }
}

.chart-item:not(.is-result) {
  opacity: 0.3;
}

.chart-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.chart-item {
  flex: 0 0 calc(50% - 10px);
  max-width: calc(50% - 10px);
}


@media (max-width: 768px) {
  .col-3 {
    flex-direction: column;
    margin-top: 0;
  }
  .col-item {
    padding: 40px 0;
  }
  .col-item:not(:last-child)::after {
    width: 100%;
    height: 1px;
    top: auto;
    bottom: 0;
  }
  .col-item.is-result .col-item-inner::before {
    top: -40px;
    font-size: 14px;
  }

  .chart-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */

.parallax {
  position: relative;
  background-image: url('../images/bg-image.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 100px 0;
  margin-top: 100px;
}

.card-col {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.card-box {
  flex: 1;
  max-width: 840px;
  display: flex;
  flex-direction: column;
}

.card-header {
  position: relative;
  text-align: center;
  background-color: #173D60;
  color: #fff;
  width: 100%;
  max-width: 635px;
  padding: 16px 0;
  font-size: 20px;
  margin: 0 auto 15px;
  flex-shrink: 0;
}

.card-header::after {
  content: '';
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-top: 45px solid #173D60;
}

.card-body {
  padding: 40px 0 25px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content-wrapper {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin-bottom: 25px;
}

.card-icon {
  max-width: 160px;
}

@media (max-width: 768px) {
  .parallax {
    background-image: url('../images/bg-image__sp.png');
    padding: 60px 0;
    margin-top: 60px;
    background-attachment: scroll;
  }
  .card-2col {
    flex-direction: column;
    align-items: center;
  }
  .card-box {
    flex: none;
    width: 100%;
    max-width: 450px;
  }
  .card-header {
    font-size: 14px;
    padding: 14px 0;
  }
  .card-body {
    padding: 20px 0 30px;
  }
  .card-content-wrapper {
    margin-bottom: 10px;
    gap: 15px;
  }
  .card-icon {
    max-width: 70px;
  }
  .parallax .btn-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */

