@charset "utf-8";

main {
  background-color: #eaf6ff;
}

.section {
  padding-top: 0;
}

.section-tittle {
  color: #3867D6;
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  margin: 40px 0; 
}

/* header */
.main-header {
  height: 522px;
  background-image: url(../images/price-main-sp.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mainheader-container {
  animation: fadein 3s ease-out forwards;
}

@keyframes fadein {
  0% {opacity: 0}
  100% {opacity: 1}
}

.main-tittle {
  color: #FFF;
  text-align: center;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 80px;
}

@media screen and (min-width:599px) {
  .main-header {
    background-image: url(../images/price-main.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .main-tittle {
    font-size: 4rem;
    margin: 0;
    margin-bottom: 100px;
  }
}

/* section price */
.price-list {
  margin: 30px auto;
  padding-bottom: 50px;
  border-radius: 20px;
  border: 3px solid #3FA9F6;
  background-color: #FFF;
  max-width: 430px;
}

.price-list .tittle-text {
  font-size: 1.6rem;
  font-weight: 500;
  margin-top: 35px;
  text-align: center;
  position: relative;
  top: 0;
  left: 0;
}

.price-list .tittle-text::before{
  position: absolute;
  bottom: 0;
  content: '';
  width: 100%;
  left: 50%;
  width: 260px;
  border-bottom: 2px solid #3FA9F6;
  transform: translate(-50%);
}

.team {
  font-size: 1.4rem;
  font-weight: 400;
}

.list-tittle {
  color: #3FA9F6;
  font-size: 2rem;
  font-weight: 700;
  text-align: center ;
  margin-top: 13px;
}

.month {
  font-size: 1.6rem;
  font-weight: 500;
  margin-top: 15px;
}

.money {
  color: #3867D6;
  font-size: 3.2rem;
  font-weight: 700;
  margin-left: 15px;
}

.yen {
  font-size: 2rem;
  font-weight: 700;
}

.tax {
  color: var(--text, #333);
  font-size: 1.6rem;
  font-weight: 400;
  margin-left: 5px;
}

.prices {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.note {
  margin-top: 20px;
  font-size: 1.4rem;
}

.first-money {
  margin: 40px auto;
  border-radius: 20px;
  border: 3px solid #3FA9F6;
  background-color: #FFF;
  max-width: 430px;
}

.first-money .list-tittle {
  margin-top: 30px;
}

.entry {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.book {
  display: flex;
  justify-content: center;
  margin: 25px 0 35px 0; 
}

.entry-text-money {
  margin: 0 0 0 16px;
}

.entry-text-money-two {
  padding-left: 10px;
}

.note-div {
  max-width: 430px;
  margin: 0 auto;
}

.note {
  display: flex;
  justify-content: flex-end;
}

@media screen and (min-width:769px) {
  .price-list-pc {
    max-width: 960px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    gap: 0 90px;
  }

  .price-list {
    width: 430px;
  }

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

  .note {
    display: flex;
    justify-content: flex-end;
  }

  .first-money {
    margin-bottom: 0;
  }
}

/* course section */
.each-course {
  border-radius: 20px;
  border: 3px solid #3FA9F6;
  background-color: #FFF;
  margin: 30px auto 0;
  max-width: 450px;
}

.tittle-text {
  text-align: center;
}

.course-tittle {
  color: #3FA9F6;
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-top: 30px;
}

.course-text {
  margin: 15px 18px 30px;
}

.add-friend {
  margin: 30px auto 13px;
  font-size: 16px;
  font-weight: 500 ;
  text-align: center;
  position: relative;
  width: 190px;
}

.add-friend:before,
.add-friend:after {
  position: absolute;
  top: calc(50% - 3px);
  width: 25px;
  height: 6px;
  content: '';
  border-top: solid 1px #333;
  border-bottom: solid 1px #333;
}

.add-friend:before {
  left: 0;
  transform: rotate(35deg)
}

.add-friend:after {
  right: 0;
  transform: rotate(-35deg)
}

@media screen and (min-width: 1000px) {
  .course-pc {
    margin: 0 auto;
    justify-content: center;
    display: flex;
    gap: 0 60px;
    max-width: 960px;
  }

  .each-course {
    margin: 50px 0 0;
  }

  .line {
    margin: 100px auto 0;
  }
}