@charset "UTF-8";
/* CSS Document */
body {
  background-color: #FCF3DA;
}
.fee-top {
  background-image: url("../images/fee-top-image.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 500px;
  margin: 160px 0 100px;
}
.fee-top h1 {
  position: absolute;
  background-color: #FEFEFE;
  color: #333;
  font-size: 3.0rem;
  line-height: 6.0rem;
  width: 100%;
  margin-top: 175px;
  padding: 40px;
}
.fee_main {
  max-width: 1100px;
  width: 100%;
  color: #333;
  font-weight: 400;
  font-size: 2.0rem;
  line-height: 4.0rem;
  margin: 0 auto;
}
.fee_main img {
  position: absolute;
  max-width: 580px;
  width: 100%;
  aspect-ratio: 580/500;
  object-fit: cover;
  border-radius: 125px;
}
.fee_main_container {
  display: flex;
  flex-wrap: wrap;
}
.fee_main ul {
  list-style: none;
}
.fee_main h1 {
  max-width: 400px;
  width: 100%;
  font-size: 2.5rem;
  font-weight: 700;
  margin-left: 350px;
  padding: 60px 0 60px;
  text-align: left;
}
.fee_main p {
  max-width: 420px;
  width: 100%;
  text-align: left;
  margin: 0 0 0 350px;
}
.fee_main_container:last-child p {
  max-width: 400px;
  width: 100%;
  margin: 125px 0 0 350px;
}
.fee_main_container:nth-child(even) {
  flex-direction: row-reverse;
}
.fee_main_container:nth-child(even) .fee_container {
  margin: 60px 310px 100px 0;
}
.fee_main_container:nth-child(even) h1, .fee_main_container:nth-child(even) p {
  margin-left: 100px;
}
.fee_container {
  background-color: #D9EEFF;
  border-radius: 50px;
  max-width: 1000px;
  width: 100%;
  height: 530px;
  margin: 60px 0 100px 310px;
}
.res_br4 {
  display: block;
}
@media(max-width:1100px) {
  .fee_main_container {
    justify-content: center;
  }
  .fee_container {
    max-width: 580px;
    width: 100%;
    height: 650px;
    margin: 300px 0 70px;
  }
  .fee_main_container:nth-child(even) .fee_container {
    margin: 300px 0 70px;
  }
  .fee_main p {
    max-width: 100%;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 3.0rem;
    text-align: center;
    margin: 0 auto;
    padding: 0;
  }
  .fee_main h1 {
    font-size: 2.0rem;
    max-width: 580px;
    width: 100%;
    padding: 40px 0;
    margin: 200px 0 0;
    text-align: center;
  }
  .fee_main_container:last-child p {
    margin: 200px auto 0;
    padding: 40px;
    line-height: 4.0rem;
/*    word-break: keep-all;*/
    overflow-wrap:keep-all;
    
  }
  .fee_main_container:nth-child(even) h1, .fee_main_container:nth-child(even) p {
    margin-left: 0;
  }
  .res_br4 {
    display: none;
  }
}
@media(max-width:1100px) {
  .fee-top {
    height: 300px;
    margin: 100px 0 70px;
  }
  .fee-top h1 {
    font-size: 3.0rem;
    margin-top: 100px;
    padding: 20px;
  }
}
@media(max-width:700px) {
  .fee-top h1 {
    font-size: 2.0rem;
    line-height: 3.0rem;
    margin-top: 125px;
    padding: 10px;
  }
  .fee_container {
    max-width: 350px;
    width: 100%;
    height: 600px;
    margin: 100px 0 70px;
  }
  .fee_main_container:nth-child(even) .fee_container {
    margin: 100px 0 70px;
  }
  .fee_main img {
    max-width: 350px;
    aspect-ratio: 350/270;
    border-radius: 50px;
  }
}