@charset "utf-8";

main {
  width: clamp(300px, 50%, 900px);
  margin: auto;
}

img {
  width: 100%;
  height: auto;
}

#s_top {
  margin: 3vw auto;

  img {
    margin: auto;
  }
}

.breadcrumb {
  margin: 0 auto 5vw;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: inline-block;/*横に並ぶように*/
  list-style: none;
  font-weight: bold;/*太字*/
}

.breadcrumb li:after {
  /* ▶を表示*/
  content: '>';
  padding: 0 0.2em;
  color: #72a1f7;
}

.breadcrumb li:last-child:after {
  content: '';
}

.breadcrumb li a {
  display: inline-block;
  padding: 0.2em .8em;
  border-radius: 15px;
  text-decoration: none;
  color: #72a1f7;
  background: #c6e2ff;
  font-size: 0.9em;
}

.breadcrumb li a:hover {
  background: #c9dbfb;
}

#overview {
  h2 {
    font-size: clamp(6px, 2.4vw, 36px);
    text-align: center;
    letter-spacing: 1px;
    border-bottom: 3px solid #323232;
    margin-bottom: 1vw;
  }

  p {
    font-size:  clamp(6px, 1.4vw, 20px);
    line-height: clamp(12px, 3vw, 45px);
    font-weight: 400;
    letter-spacing: 1px;
    text-align: justify;
  }

  .overview {
    padding: 5vw 0;
  }

  .overview-info {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
  }

  .overview-info__row {
    display: flex;
    align-items: center;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
  }

  .overview-info__head {
    width: 30%;
    min-width: 180px;
    padding: 1vw 2vw;
    background: #d9d9ee;
    font-size: clamp(8px, 1.6vw, 22px);
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    color: #222;
    box-sizing: border-box;
  }

  .overview-info__body {
    width: 70%;
    padding: 0 1vw;
    background: #fff;
    font-size: clamp(6px, 1.2vw, 18px);
    font-weight: 400;
    line-height: 1.8;
    color: #222;
    box-sizing: border-box;
  }

  .overview-info__note {
    display: inline-block;
    font-size: clamp(6px, 1.2vw, 18px);
    color: #555;
    line-height: 1.7;
  }

  @media screen and (max-width: 767px) {
    .overview-info__row {
      flex-direction: column;
    }

    .overview-info__head,
    .overview-info__body {
      width: 100%;
      min-width: auto;
      padding: 18px 16px;
      font-size: 16px;
    }

    .overview-info__head {
      text-align: left;
    }

    .overview-info__note {
      font-size: 13px;
    }
  }
}

#recommendation {
  h2 {
    font-size:  clamp(6px, 2.4vw, 36px);
    text-align: center;
    letter-spacing: 1px;
  }

  .recommendation {
    padding: clamp(12px, 2.5vw, 40px) clamp(12px, 3vw, 40px);
    background: #ffffff;
  }

  .recommendation__inner {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
  }

  .recommendation__list {
    display: grid;
    gap: clamp(10px, 2vw, 18px);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .recommendation__item {
    position: relative;
    padding: clamp(14px, 2vw, 24px) clamp(16px, 3vw, 28px) clamp(14px, 2vw, 24px) clamp(44px, 5vw, 68px);
    border: 1px solid #d9dff0;
    border-radius: clamp(10px, 2vw, 18px);
    font-size: clamp(14px, 1.8vw, 22px);
    font-weight: 700;
    line-height: 1.7;
    color: #222222;
  }

  .recommendation__item::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: clamp(16px, 2vw, 24px);
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(20px, 2.4vw, 30px);
    height: clamp(20px, 2.4vw, 30px);
    border-radius: 50%;
    background: #2f4fd2;
    font-size: clamp(12px, 1.4vw, 18px);
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
  }

  @media screen and (max-width: 767px) {
    .recommendation__item {
      padding-left: clamp(40px, 6vw, 56px);
      font-weight: 600;
    }

    .recommendation__item::before {
      top: clamp(18px, 4vw, 24px);
      transform: none;
    }
  }
}

#program {
  padding: clamp(24px, 5vw, 80px) clamp(12px, 3vw, 40px);
}

.program__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.program__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 20px);
  margin-bottom: clamp(18px, 3vw, 32px);
}

.program__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(44px, 6vw, 64px);
  height: clamp(44px, 6vw, 64px);
  border: 1px solid #aeb7e8;
  border-radius: clamp(8px, 1vw, 12px);
  background: #ffffff;
  font-size: clamp(20px, 3vw, 34px);
  color: #6d7fda;
  line-height: 1;
}

.program__title {
  margin: 0;
  font-size: clamp(6px, 2.4vw, 36px);
  font-weight: 700;
  line-height: 1.4;
  color: #111111;
}

.program__table {
  overflow: hidden;
  border-radius: clamp(8px, 1vw, 12px);
  background: #ffffff;
  box-shadow: 0 clamp(4px, 1vw, 14px) clamp(10px, 2vw, 28px) rgba(60, 80, 160, 0.08);
}

.program__head {
  padding: clamp(14px, 2vw, 24px);
  background: #cfd2eb;
  text-align: center;
}

.program__head-text {
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 700;
  color: #2b2b2b;
  line-height: 1.5;
}

.program__row {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
  padding: clamp(16px, 2vw, 24px) clamp(14px, 2vw, 24px);
  border-bottom: 1px solid #ececf4;
}

.program__row:last-child {
  border-bottom: none;
}

.program__num {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(26px, 3vw, 36px);
  height: clamp(26px, 3vw, 36px);
  border-radius: 50%;
  background: #2f4fd2;
  font-size: clamp(12px, 1.4vw, 16px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.program__text {
  font-size: clamp(15px, 1.8vw, 28px);
  font-weight: 700;
  line-height: 1.7;
  color: #111111;
}

@media screen and (max-width: 767px) {
  .program__heading {
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
  }

  .program__row {
    align-items: flex-start;
  }

  .program__text {
    font-weight: 600;
  }
}

.contact_cta {
  width:70%;
  margin: 4vw auto 12vw;
}

.btn,
a.btn,
button.btn {
  font-size: clamp(15px, 1.8vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 2vw 3vw;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btn-gradient {
  width: 100%;
  font-weight: normal;
  text-align: center;
  border-radius: 100vh;
  color: #fff;
  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    color-stop(40%, #ff3cac),
    to(#562b7c)
  );
  background-image: -webkit-linear-gradient(left, #ff3cac 40%, #562b7c 100%);
  background-image: linear-gradient(90deg, #ff3cac 40%, #562b7c 100%);
}

a.btn-gradient:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 100vh;
  content: "";
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    from(#ff3cac),
    color-stop(#562b7c),
    to(#2b86c5)
  );

  background-image: -webkit-linear-gradient(left, #ff3cac, #562b7c, #2b86c5);
  background-image: linear-gradient(90deg, #ff3cac, #562b7c, #2b86c5);
}

a.btn-gradient span {
  position: relative;
  z-index: 1;
}

a.btn-gradient:hover {
  color: #fff;
}

a.btn-gradient:hover:after {
  opacity: 0;
}

/* ----------------------------------mobile----------------------------------------- */

@media screen and (max-width: 500px) {
  main {
    width: 90%;
  }

  .breadcrumb {
    margin: 0 auto 14vw;
  }

  .breadcrumb li:after {
    position: relative;
    top: .3vw;
  }

  .breadcrumb li a {
      font-size: 3vw;
  }

  #overview {
    h2 {
      font-size: 7vw;
    }

    p {
        font-size: 4vw;
        line-height: 7vw;
    }
  }

  #recommendation {
    h2 {
          font-size: 7vw;
          padding-top: 10vw;
      }
  }

  .program__title {
      font-size: 7vw;
      padding-top: 10vw;
  }

  .contact_cta {
    width: 80%;
    margin: 8vw auto 24vw;
  }

  .btn,
  a.btn,
  button.btn {
    font-size: 4vw;
    padding: 5vw 6vw;
  }
}