.top-main {
  width: calc(100% - 101px);
  height: 100vh;
  margin: 0 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  background-image: url(../images/top.jpg);
  background-size: cover;
}
@media screen and (max-width: 1024px) {
  .top-main {
    width: 100%;
    height: 70vh;
    background-position: 30%;
  }
}
.top-main p.title {
  font-size: clamp(19px, 200%, 2.5vw);
  color: #D6909D;
  padding-right: 1.6rem;
  font-family: "Noto Serif JP", serif;
  width: 100%;
  text-align: right;
}
.top-main .menu {
  position: absolute;
  bottom: 0;
  right: 0;
  width: calc(100% - 101px);
  background-color: rgba(0, 0, 0, 0.6);
  height: 14vh;
  z-index: 50;
}
@media screen and (max-width: 1024px) {
  .top-main .menu {
    width: 100%;
    top: 57vh;
  }
}
.top-main .menu ul {
  display: flex;
  justify-content: space-between;
  height: 100%;
}
.top-main .menu ul li {
  width: 33%;
  flex-grow: 1;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
}
.top-main .menu ul li a {
  display: block;
  width: 80%;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.6rem;
}
@media screen and (max-width: 500px) {
  .top-main .menu ul li a {
    width: 95%;
  }
}
.top-main .menu ul li div {
  text-align: center;
  font-weight: normal;
}
.top-main .menu ul li div p {
  padding: 2px 0;
  position: relative;
}
.top-main .menu ul li div p:nth-child(1) {
  font-size: 1.6rem;
}
@media screen and (max-width: 500px) {
  .top-main .menu ul li div p:nth-child(1) {
    font-size: 1.5rem;
  }
}
.top-main .menu ul li div p:nth-child(2) {
  font-size: 1.2rem;
  padding-bottom: 3px;
}
@media screen and (max-width: 500px) {
  .top-main .menu ul li div p:nth-child(2) {
    font-size: 1.1rem;
  }
}
.top-main .menu ul li div p:nth-child(2):after {
  content: "";
  display: block;
  width: 100%;
  height: 0.5px;
  background-color: #ffffff;
  position: absolute;
  bottom: 0;
}
.top-main .menu ul li div p:nth-child(3) {
  font-size: 1.2rem;
  text-align: right;
}
@media screen and (max-width: 500px) {
  .top-main .menu ul li div p:nth-child(3) {
    font-size: 1rem;
  }
}
.top-main .menu ul li div p:nth-child(3):after {
  content: ">";
  margin-left: 10px;
}
.top-main .menu ul li:nth-child(2) {
  border-left: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
}

.news-contents {
  width: calc(100% - 100px);
  margin: 0 0 0 auto;
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 20px 20px 0;
  box-sizing: border-box;
}
@media screen and (max-width: 1024px) {
  .news-contents {
    width: 100%;
    display: block;
  }
}
.news-contents .date {
  width: 20%;
}
@media screen and (max-width: 1024px) {
  .news-contents .date {
    width: 100%;
  }
}
.news-contents .date p {
  background-color: #D6909D;
  color: #ffffff;
  padding: 5px;
}
@media screen and (max-width: 1024px) {
  .news-contents .date p {
    width: 30%;
    margin: auto;
    text-align: center;
  }
}
.news-contents .date .year {
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  margin: 20px;
}
@media screen and (max-width: 1024px) {
  .news-contents .date .year {
    width: 100%;
    justify-content: center;
    margin: 20px 0;
  }
}
.news-contents .date .year a {
  width: 40%;
  background-color: #D6909D;
  color: #ffffff;
  margin: 2%;
  border-radius: 10px;
  text-align: center;
  font-size: 1.3rem;
  padding: 5px;
}
@media screen and (max-width: 1024px) {
  .news-contents .date .year a {
    width: auto;
  }
}
.news-contents .main {
  width: 75%;
}
@media screen and (max-width: 1024px) {
  .news-contents .main {
    width: 90%;
    margin: auto;
  }
}
.news-contents .main dl {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
}
@media screen and (max-width: 1024px) {
  .news-contents .main dl {
    display: block;
  }
}
.news-contents .main dl dt {
  width: 20%;
  border-bottom: 1px dotted #D6909D;
  margin: 15px 0;
  padding-bottom: 2px;
}
@media screen and (max-width: 1024px) {
  .news-contents .main dl dt {
    width: 100%;
    border-bottom: none;
    margin: 15px 0 0 0;
  }
}
.news-contents .main dl dd {
  width: 80%;
  border-bottom: 1px dotted #D6909D;
  margin: 15px 0;
  padding-bottom: 2px;
}
@media screen and (max-width: 1024px) {
  .news-contents .main dl dd {
    width: 100%;
    margin: 0;
    padding-left: 15px;
  }
}
.news-contents .main dl dd a {
  color: #000;
  text-decoration: none;
}
.news-contents .main p {
  text-align: right;
  width: 100%;
}
@media screen and (max-width: 1024px) {
  .news-contents .main p {
    margin-top: 15px;
  }
}
.news-contents .main p a {
  color: #D6909D;
}

.top-contents {
  width: calc(100% - 100px);
  margin: 50px 0 0 auto;
}
@media screen and (max-width: 1024px) {
  .top-contents {
    width: 100%;
  }
}
.top-contents .introduction {
  display: flex;
}
@media screen and (max-width: 1024px) {
  .top-contents .introduction {
    display: block;
  }
}
.top-contents .introduction .contents1 {
  width: 40%;
  background-image: url(../images/introduction.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 1024px) {
  .top-contents .introduction .contents1 {
    width: 100%;
    height: 40vh;
  }
}
.top-contents .introduction .contents1 p {
  background-color: rgba(255, 255, 255, 0.5);
  height: 90%;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}
.top-contents .introduction .contents2 {
  width: 60%;
  background-color: #D6909D;
}
@media screen and (max-width: 1024px) {
  .top-contents .introduction .contents2 {
    width: 100%;
    padding: 15px 0;
  }
}
.top-contents .introduction .contents2 ul {
  width: 80%;
  margin: 20px auto;
  position: relative;
}
.top-contents .introduction .contents2 ul a {
  display: block;
}
.top-contents .introduction .contents2 ul li {
  padding: 20px 0;
  border-bottom: 1px dotted #ffffff;
  list-style: none;
}
.top-contents .introduction .contents2 ul li .fas_link_after {
  text-decoration: none;
  color: #ffffff;
}
.top-contents .introduction .contents2 ul li .fas_link_after:after {
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f138";
  position: absolute;
  right: 0;
}
.top-contents .forpatients {
  display: flex;
  color: #ffffff;
  height: 400px;
  margin-top: 50px;
}
@media screen and (max-width: 1024px) {
  .top-contents .forpatients {
    display: block;
  }
}
.top-contents .forpatients .contents1 {
  width: 40%;
  background-color: #000;
}
@media screen and (max-width: 1024px) {
  .top-contents .forpatients .contents1 {
    width: 100%;
  }
}
.top-contents .forpatients .contents1 .title {
  padding-bottom: 10px;
  border-bottom: 2px solid #D6909D;
  font-size: 2rem;
}
.top-contents .forpatients .contents1 p {
  width: 80%;
  margin: 20px auto;
  line-height: 180%;
}
.top-contents .forpatients .contents1 ul {
  width: 80%;
  margin: 20px auto;
  position: relative;
}
.top-contents .forpatients .contents1 ul li {
  padding: 20px 10px;
  border: 1px dotted #ffffff;
  list-style: none;
  margin-bottom: 15px;
}
.top-contents .forpatients .contents1 ul li .fas_link_after {
  text-decoration: none;
  color: #ffffff;
}
.top-contents .forpatients .contents1 ul li .fas_link_after:after {
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f138";
  position: absolute;
  right: 10px;
}
.top-contents .forpatients .contents2 {
  width: 60%;
  background-image: url(../images/forpatient.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: end;
}
@media screen and (max-width: 1024px) {
  .top-contents .forpatients .contents2 {
    width: 100%;
  }
}
.top-contents .fertility {
  display: flex;
  background-color: #ffffff;
}
@media screen and (max-width: 1024px) {
  .top-contents .fertility {
    display: block;
    margin-top: 150px;
  }
}
@media screen and (max-width: 1024px) {
  .top-contents .fertility div {
    background-image: url(../images/fertility_bcg.jpg);
    background-size: cover;
    padding: 15px 0;
  }
}
@media screen and (max-width: 1024px) {
  .top-contents .fertility img {
    display: none;
  }
}
.top-contents .fertility p {
  width: 80%;
  margin: 10px auto;
  line-height: 180%;
}
.top-contents .fertility p.title {
  padding-bottom: 10px;
  border-bottom: 2px solid #D6909D;
  font-size: 2rem;
}
@media screen and (max-width: 1024px) {
  .top-contents .robot div {
    background-image: url(../images/robot_bcg.jpg);
    background-size: cover;
    padding: 15px 0;
  }
}
@media screen and (max-width: 500px) {
  .top-contents .robot {
    background-image: none;
  }
}
.top-contents .resident {
  display: flex;
  background-color: #D6909D;
  margin-top: 50px;
  height: 40vh;
}
@media screen and (max-width: 1024px) {
  .top-contents .resident {
    display: block;
    height: auto;
  }
}
.top-contents .resident .contents1 {
  width: 55%;
  background-image: url(../images/resident.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 1024px) {
  .top-contents .resident .contents1 {
    width: 100%;
    height: 40vh;
  }
}
.top-contents .resident .contents1 p {
  background-color: rgba(255, 255, 255, 0.5);
  height: 90%;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #000;
}
.top-contents .resident .contents2 {
  width: 45%;
}
@media screen and (max-width: 1024px) {
  .top-contents .resident .contents2 {
    width: 100%;
    padding-bottom: 15px;
  }
}
.top-contents .resident p {
  width: 80%;
  margin: 45px auto;
  line-height: 180%;
  color: #ffffff;
}
.top-contents .curriculum {
  width: 80%;
  background: #ffffff;
  margin: 0 0 0 auto;
}
@media screen and (max-width: 1024px) {
  .top-contents .curriculum {
    width: 100%;
  }
}
.top-contents .curriculum ul {
  display: flex;
  justify-content: space-around;
}
@media screen and (max-width: 1024px) {
  .top-contents .curriculum ul {
    display: block;
    padding: 15px 0;
  }
}
.top-contents .curriculum ul a {
  display: block;
  width: 20%;
  height: 0;
  padding-top: 20%;
  background-color: #FFEFF2;
  margin: 30px 0;
  background-repeat: no-repeat;
  background-position: 50%;
  position: relative;
  list-style-type: none;
  font-size: 1.2rem;
  color: #000000;
}
@media screen and (max-width: 1024px) {
  .top-contents .curriculum ul a {
    width: 80%;
    background-position: 10%;
    padding-top: 10%;
    margin: 10px auto;
    background-size: 10%;
  }
}
.top-contents .curriculum ul a p {
  position: absolute;
  bottom: 10%;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  font-size: 1.6rem;
}
@media screen and (max-width: 500px) {
  .top-contents .curriculum ul a p {
    bottom: 25%;
  }
}
.top-contents .curriculum ul a.g1 {
  background-image: url(../images/icon1.png);
}
.top-contents .curriculum ul a.g2 {
  background-image: url(../images/icon2.png);
}
.top-contents .curriculum ul a.g3 {
  background-image: url(../images/icon3.png);
}
.top-contents .result {
  display: flex;
  color: #ffffff;
  margin-top: 50px;
  height: 350px;
}
@media screen and (max-width: 1024px) {
  .top-contents .result {
    display: block;
  }
}
.top-contents .result .contents1 {
  width: 40%;
  background-color: #000;
}
@media screen and (max-width: 1024px) {
  .top-contents .result .contents1 {
    width: 100%;
  }
}
.top-contents .result .contents1 .title {
  padding-bottom: 10px;
  border-bottom: 2px solid #D6909D;
  font-size: 2rem;
}
.top-contents .result .contents1 p {
  width: 80%;
  margin: 20px auto;
  line-height: 180%;
}
.top-contents .result .contents2 {
  width: 60%;
  background-image: url(../images/result.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: end;
}
@media screen and (max-width: 1024px) {
  .top-contents .result .contents2 {
    width: 100%;
  }
}

.ma-5 {
  margin-bottom: -4px;
}

.embryologist {
  font-size: 1.2rem;
  position: absolute;
  right: 0;
  top: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  max-width: 400px;
  height: 80px;
  color: #000;
  background-color: rgba(246, 186, 196, 0.8);
  border-radius: 10px 0 0 10px;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
  padding: 10px;
}
@media screen and (max-width: 768px) {
  .embryologist {
    top: 44vh;
  }
}
@media screen and (max-width: 500px) {
  .embryologist {
    top: 44vh;
  }
}
.embryologist .big {
  font-size: 1.5rem;
  margin-top: 5px;
}

.embryologist:hover {
  background-color: rgba(235, 250, 198, 0.8);
}/*# sourceMappingURL=top.css.map */