@charset "UTF-8";

/**
 * index.css
 *
 * #
 *
*/

/* ==========================================================================
   # mainimg
   ========================================================================== */
.l-mainimg {
  overflow: hidden;
  margin-bottom: -40px;
}

.mainimg-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 120px;
}

.mainimg-img-wrap {
  overflow: hidden;
  position: relative;
  width: 800px;
  height: 450px;
  margin: 0 auto;
  border-radius: 40px;
  background-color: #F1F8F8;
}

.mainimg-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform: scale(1);
  transition: opacity 0.8s ease-out, transform 6.0s ease-in;
  background-size: cover;
  background-position: center;
  opacity: 0;
}

.mainimg-img:nth-child(1) {
  background-image: url("../images/top/img_slide01.jpg");
}
.mainimg-img:nth-child(2) {
  background-image: url("../images/top/img_slide02.jpg");
}
.mainimg-img:nth-child(3) {
  background-image: url("../images/top/img_slide03.jpg");
}

.mainimg-slide01-wrap {
  overflow: hidden;
  position: absolute;
  left: -120px;
  bottom: 0;
  width: 280px;
  height: 200px;
  border-radius: 40px;
  background-color: #F1F8F8;
}

.mainimg-slide01 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform: scale(1);
  transition: opacity 0.8s ease-out, transform 6.0s ease-in;
  background-size: cover;
  background-position: center;
  opacity: 0;
}

.mainimg-slide01:nth-child(1) {
  background-image: url("../images/top/img_slide03.jpg");
}
.mainimg-slide01:nth-child(2) {
  background-image: url("../images/top/img_slide01.jpg");
}
.mainimg-slide01:nth-child(3) {
  background-image: url("../images/top/img_slide02.jpg");
}

.mainimg-slide02-wrap {
  overflow: hidden;
  position: absolute;
  right: -120px;
  bottom: 0;
  width: 280px;
  height: 200px;
  border-radius: 40px;
  background-color: #F1F8F8;
}

.mainimg-slide02 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform: scale(1);
  transition: opacity 0.8s ease-out, transform 6.0s ease-in;
  background-size: cover;
  background-position: center;
  opacity: 0;
}

.mainimg-slide02:nth-child(1) {
  background-image: url("../images/top/img_slide02.jpg");
}
.mainimg-slide02:nth-child(2) {
  background-image: url("../images/top/img_slide03.jpg");
}
.mainimg-slide02:nth-child(3) {
  background-image: url("../images/top/img_slide01.jpg");
}

.js-slide.is-visible {
  opacity: 1;
  transform: scale(1.1);
}

.mainimg-catch {
  font-size: 16px;
  line-height: 2.5;
  writing-mode: vertical-rl;
  white-space: nowrap;
}

.mainimg-catch01 {
  position: absolute;
  top: 0;
  right: 0;
}

.mainimg-catch02 {
  position: absolute;
  top: 40px;
  left: 0;
}

.mainimg-catch-txt {
  padding: 10px 5px;
  color: #2B40C5;
  letter-spacing: 0.2rem;
  background-color: #fff;
  border: 1px solid #2B40C5;
  white-space: nowrap;
}

@media screen and (max-width:500px) {
  
  .l-mainimg {
    margin-bottom: 20px;
    
  }
  
  .mainimg-inner {
    padding-bottom: 80px;
  }
  
  .mainimg-img-wrap {
    width: auto;
    margin: 0 10px;
    border-radius: 20px;
  }
  
  .mainimg-slide01-wrap {
    left: -20px;
    bottom: 0;
    width: 140px;
    height: 100px;
    border-radius: 20px;
  }
  
  .mainimg-slide02-wrap {
    right: -20px;
    bottom: 0;
    width: 140px;
    height: 100px;
    border-radius: 20px;
  }
  
  .mainimg-catch01 {
    top: 20px;
    right: 20px;
  }
  .mainimg-catch02 {
    top: 40px;
    left: 20px;
  }
  
}


/* ==========================================================================
   # medical
   ========================================================================== */
.medical-ttl {
  margin-bottom: 20px;
  color: #2B40C5;
  font-size: 32px;
  line-height: 1.2;
  text-align: center;
}

.medical-ttl-sub{
  margin-bottom: 40px;
  color: #F47615;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

/* ==========================================================================
   # clinic
   ========================================================================== */
.l-clinic {
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.clinic-info {
  flex: 1 0 auto;
  display: flex;
  justify-content: flex-end;
}

.clinic-info-inner {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.clinic-ttl {
  margin-bottom: 20px;
  color: #2B40C5;
  font-size: 32px;
  line-height: 1.5;
}

.clinic-ttl-sub {
  margin-bottom: 40px;
  color: #F47615;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.clinic-head {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.clinic-txt {
  margin-bottom: 30px;
  font-size: 18px;
  line-height: 2;
}

.clinic-link {
  padding: 20px 30px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  background-color: #F47615;
  border-radius: 28px;
}

.clinic-img {
  flex: 1 0 160px;
  overflow: hidden;
  position: relative;
  height: 400px;
  border-radius: 28px 0 0 28px;
}
.clinic-img img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  transform: translateX(-50%) translateY(-50%);
}

@media screen and (min-width:1280px) {
  .clinic-img img {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width:500px) {
  .l-clinic {
    flex-direction: column;
    align-items: self-end;
  }
  
  .clinic-info {
    padding: 0 15px;
  }
  
  .clinic-ttl {
    font-size: 24px;
  }
  
  .clinic-img {
    flex: 1 0 auto;
    width: 300px;
    height: 400px;
  }
}

/* ==========================================================================
   # doctor
   ========================================================================== */
.l-doctor {
  margin-bottom: 80px;
  background: url("../images/top/img_doctor.jpg") no-repeat;
  background-size: auto 100%;
  background-position: center;
  background-color: #F1F8F8;
}

.doctor-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  max-width: 1000px;
  height: 458px;
  margin: 0 auto;
  padding-right: 360px;
}

.doctor-ttl {
  margin-bottom: 20px;
  color: #fff;
  font-size: 32px;
  line-height: 1.5;
}

.doctor-txt {
  margin-bottom: 30px;
  color: #fff;
  font-size: 18px;
  line-height: 2;
}

.doctor-link {
  padding: 20px 30px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  background-color: #F47615;
  border-radius: 28px;
}

.doctor-batch {
  position: absolute;
  bottom: 80px;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 160px;
  height: 160px;
  text-align: center;
  border: 1px solid #2B40C5;
  border-radius: 50%;
  background-color: #fff;
}

.doctor-batch-name {
  margin-bottom: 6px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}
.doctor-batch-name .head {
  color: #2B40C5;
  font-size: 14px;
}

.doctor-batch-en {
  color: #F47615;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

@media screen and (max-width:500px) {
  
  
  .l-doctor {
    background: url("../images/top/img_doctor_sp.jpg") no-repeat;
    background-size: 100%;
    background-position: center bottom;
  }
  
  .doctor-inner {
    height: auto;
    padding: 60px 15px 300px;
  }
  
  .doctor-ttl {
    font-size: 20px;
  }
  
  .doctor-batch {
    right: 160px;
    bottom: 80px;
  }
}

/* ==========================================================================
   # news
   ========================================================================== */
.l-news {
  max-width: 1000px;
  margin: 0 auto 80px;
}

.news-ttl {
  margin-bottom: 40px;
  color: #2B40C5;
  font-size: 48px;
  line-height: 1;
  text-align: center;
}

.news-link-wrap {
  margin-top: 40px;
  text-align: center;
}
.news-link {
  display: inline-block;
  margin: 0 auto;
  padding: 20px 30px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  background-color: #F47615;
  border-radius: 28px;
}

@media screen and (max-width:500px) {
  
  .l-news {
    padding: 0 15px;
  }
  
}

/* ==========================================================================
   # map
   ========================================================================== */
.l-map {
  max-width: 1000px;
  margin: 0 auto 80px;
}
.map {
  position: relative;
  padding-top: 56.25%;
}
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width:500px) {
  .l-map {
    padding: 0 15px;
  }
}



