#top h2.dot {
  font-size: 1em;
  padding-bottom: 20px;
  margin-bottom: 20px;
  background: url(../images/heading-decoration.png) bottom 0px center / auto 8px no-repeat;
}

#top h2.dot span {
  display: block;
  text-align:center;
}

#top h2.dot .en {
  font-size: 0.9375em;
  font-weight: 400;
  color: #40b07f;
  line-height: 1.15;
}

#top h2.dot .jp {
  font-size: 2.18em;
  font-weight: 700;
  color: #636363;
  line-height: 1.2;
}

@media only screen and (max-width: 860px) {

}

@media only screen and (max-width: 640px) {
  #top h2.dot .en {
    font-size: 0.75em;
  }

  #top h2.dot .jp {
    font-size: 1.75em;
  }
}

#main_visual {
  margin-bottom: 40px;
  position: relative;
  background: #fcebec;
}
#main_visual #slider-wrapper{
  position:relative;
  top: 20px;
  max-width: 2000px;
  margin: auto;
}

#main_visual #group-slider {
  height: 515px;
  overflow:initial !important;
}
#main_visual #group-slider .slide{
  max-width: 80%;
  max-width: 750px;
  opacity: 0.5;
  transition: 0.3s ease opacity;
  position: relative;
}
#main_visual #group-slider .slide.active{
  opacity: 1;
}
#main_visual #group-slider .image{
  border-radius: 20px;
  overflow: hidden;
}
#main_visual #group-slider a.button{
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  border-radius: 0 5px 5px 0;
  transition: 0.3s ease opacity;
  min-width: 320px;
  min-height: 82px;
  position: absolute;
  left: 0;
  bottom: 35px;
}
#main_visual #group-slider a.button:after{
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  background: url(../images/main_visual-button-arrow.svg) no-repeat center / contain;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}
#main_visual #group-slider a.button .logo{
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%,-62%);
  width: 70px;
}
#main_visual #group-slider a.button .text{
  padding: 0 20px;
  position: relative;
}
#main_visual #group-slider a.button .text .org{
  font-weight: 700;
  font-size: 1.06em;
  line-height: 1.4;
}
#main_visual #group-slider a.button .text .name{
  font-weight: 700;
  font-size: 1.25em;
  line-height: 1.2;
}
#main_visual #group-slider a.orthopaedic{
  background: #f78d8d;
}
#main_visual #group-slider a.mo2{
  background: #639dd3;
}
#main_visual #group-slider a.walfare{
  background: #80c06a;
}
#main_visual #group-slider a:hover{
  opacity: 0.5;
}
#carousel .cloud9-item, #buttons button {
}

#main_visual #slider-control{
	width: 100%;
	max-width: 946px;
	height: 60px;
	margin: auto;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 999;
}
#main_visual #slider-left {
  cursor: pointer;
  display: block;
  width: 46px;
  height: 46px;
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  background: url(../images/main_visual-arrow-left.png) no-repeat center center / contain;
  z-index:999;
}
#main_visual #slider-right {
  cursor: pointer;
  display: block;
  width: 46px;
  height: 46px;
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  background: url(../images/main_visual-arrow-right.png) no-repeat center center / contain;
  z-index:999;
}

#slider-selecter {
  margin: 28px auto;
}
#slider-selecter ul{
  display: flex;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#slider-selecter .dot{
  cursor: pointer;
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 12px;
  background: #c9cacb;
  transition: 0.3s ease background;
  position: relative;
  z-index: 1000;
}
#slider-selecter .dot:hover{
  background: #ee7d80;
}
@media only screen and (max-width: 860px) {
  #main_visual {
    margin-bottom: 50px;
  }
  #main_visual #slider-wrapper{
    top: 0px;
  }
  #main_visual #group-slider {
    height: 66.72vw;
    
  }
  #main_visual #group-slider .slide{
    max-width: 100%;
  }

  #main_visual #group-slider .image{
    border-radius: 0;
  }
  #main_visual #group-slider a.button{
    min-width: 236px;
    min-height: 62px;
    position: absolute;
    left: 0;
    bottom: -26px;
  }
  #main_visual #group-slider a.button:after{
    width: 20px;
    height: 20px;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
  }
  #main_visual #group-slider a.button .logo{
    transform: translate(-50%,-50%);
    width: 48px;
  }
  #main_visual #group-slider a.button .text{
    padding: 0 16px;
  }
  #main_visual #group-slider a.button .text .org{
    font-size: 0.875em;
    line-height: 1.35;
  }
  #main_visual #group-slider a.button .text .name{
    font-size: 1em;
    line-height: 1.18;
  }
    #main_visual #slider-control{
    width: calc(100% - 40px);
    height: 20px;
    position: relative;
    left: 0%;
    top: calc(100% + 40px);
    transform: none;
  }
  #main_visual #slider-left {
    width: 20px;
    height: 20px;
    transform: translate(-50%,-50%);
  }
  #main_visual #slider-right {
    width: 20px;
    height: 20px;
    transform: translate(50%,-50%);
  }
}




#group{
  margin-bottom: 70px;
}
#group h2{
  font-size: 2em;
  line-height: 1.46;
  color: #636363;
  font-weight: 500;
  text-align: center;
  margin-bottom: 20px;
}
#group .nav-wrap{
  display: flex;
  gap: 40px;
  max-width: 788px;
  margin: 0 auto 60px;
}
#group .nav-wrap .nav{
  flex: 1;
  margin-top: 50px;
}
#group .nav-wrap .nav:nth-child(2){
  margin-top: 0;
}


@media only screen and (max-width: 640px) {
  #group .nav-wrap{
    gap: 0px;
    flex-wrap:wrap;
    justify-content: center;
  }
  #group .nav-wrap .nav{
    flex: initial;
    width: 50%;
    margin-top: 0px;
  }
  #group .nav-wrap .nav:nth-child(2){
    order: 1;
    margin: 0 25%;
  }
  #group .nav-wrap .nav:nth-child(1){
    order: 2;
  }
  #group .nav-wrap .nav:nth-child(3){
    order: 3;
  }
}

#about{
  margin-bottom: 30px;
}
#about .about-wrap{
  display: block;
  position:relative;
  padding-top: 10.8%;
}
#about .about-wrap .image{
  width: 610px;
  position:absolute;
  left:0;
  top:0;
}
#about .about-wrap .image img{
  border-radius: 20px;
}
#about .about-wrap .text-wrap{
  width: 620px;
  margin-left: auto;
  position:relative;
  background: #fff;
  border-radius: 20px;
}
#about .about-wrap .text-wrap .bg{
  background: url(../images/momotarou-group.png) center / contain no-repeat;
  position:absolute;
  width: 287px;
  height:287px;
  top: -100px;
  right: -25px;
  z-index: 1;
}

#about .about-wrap .text-wrap .text{
  position:relative;
  z-index: 2;
  padding: 40px;
  width:fit-content;
}
#about .about-wrap .text-wrap .text h2{
  margin-bottom: 30px;
  font-size: 1.75em;
  line-height: 1.5;
  font-weight: 500;
  color: #636363;
}

#about .about-wrap .text-wrap .text h2 span.green{
  color: #40b07f;
}
#about .about-wrap .text-wrap .text p{
  margin-bottom: 25px;
}

@media only screen and (max-width: 1100px) {
  #about .about-wrap{
    padding-top: 30.8%;
  }
}
@media only screen and (max-width: 860px) {
  #about .about-wrap{
    padding-top: 50.8%;
  }
}
@media only screen and (max-width: 640px) {

  #about .about-wrap .image{
    width: 610px;
    position:relative;
    left:0;
    top:0;
  }
  #about .about-wrap{
    padding-top: 0;
  }
  #about .about-wrap .image{
    width: 85%;
  }
  #about .about-wrap .text-wrap{
    width: 92.5%;
    margin-left: auto;
    margin-right: auto;
    position:relative;
    top: -25px;
  }
  #about .about-wrap .text-wrap .bg{
    width: 150px;
    height: 150px;
    top: 120px;
    right: -10px;
    z-index: 1;
  }

  #about .about-wrap .text-wrap .text{
    position:relative;
    z-index: 2;
    padding: 30px 10px;
    width:fit-content;
  }
  #about .about-wrap .text-wrap .text h2{
    margin-bottom: 30px;
    font-size: 1.25em;
    line-height: 1.5;
  }

  #about .about-wrap .text-wrap .text p{
    margin-bottom: 20px;
  }
}

#staff{
  margin-bottom: 80px;
  background: #feebe8;
  position:relative;
}
#staff .bg{
  background: url(../images/top-staff-bg.png) top center / 100% auto no-repeat;
  min-height: 526px;
  max-width: 1200px;
  width: 100%;
  margin: auto;
  position:absolute;
  top: 30px;
}
#staff .text{
  padding:  60px 25px 110px;
  position: relative;
  z-index:2;
}
#staff .text h2{
  margin-bottom: 30px;
}
#staff .text h3{
  text-align:center;
  font-size: 1.75em;
  font-weight: 500;
  color: #636363;
  line-height: 1.75;
  margin-bottom: 40px;
}
#staff .text p{
  text-align:center;
  font-size: 1em;
  font-weight: 500;
  color: #1a1004;
  line-height: 1.75;
  margin-bottom: 50px;
}

#staff .link-button{
  margin-top: 20px;
}
@media only screen and (max-width: 860px) {

  #staff{
    margin-bottom: 90px;
    margin-top: 100px;
  }

  #staff .bg{
    background: url(../images/top-staff-bg-sp-top.png) left -20px top / 50% auto no-repeat,
     url(../images/top-staff-bg-sp-bottom.png) left -0px bottom / 100% auto no-repeat;
    margin: auto;
    top: -75px;
    height: calc(100% + 110px);
    position:absolute;
  }
  #staff .text{
    padding:  25vw 20px 60vw;
    position: relative;
    z-index:2;
  }
}
@media only screen and (max-width: 640px) {
  #staff .text h2{
    margin-bottom: 50px;
  }
  #staff .text h3{
    font-size: 1.25em;
    line-height: 1.5;
    margin-bottom: 30px;
  }
  #staff .text .link-button{
  }
}


#recruit{
  margin-bottom: 80px;
}
#recruit .bg{
  background: url(../images/top-recruit-bg.jpg) top center / contain no-repeat;
  border-radius: 20px;
  min-height: 368px;
  max-width: 1000px;
  width: 100%;
  margin: auto;
}
#recruit .text{
  padding: 25px;
}
#recruit .text h3{
  text-align:center;
  font-size: 1.75em;
  font-weight: 500;
  color: #636363;
  line-height: 1.75;
  margin-bottom: 30px;
}

#recruit .link-button{
  margin-top: 20px;
}
@media only screen and (max-width: 860px) {

  #recruit{
    margin-bottom: 40px;
  }
  #recruit .bg{
    min-width: initial;
  }
}
@media only screen and (max-width: 640px) {
  #recruit .text h2{
    margin-bottom: 50px;
  }
  #recruit .text h3{
    font-size: 1.25em;
    line-height: 1.5;
    margin-bottom: 30px;
  }
  #recruit .text .link-button{
  }
}



#news{
  margin-bottom: 80px;
}
#news .news-wrap{
  display: flex;
  gap: 15px 8%;
}
#news .news-wrap .heading{
  width: max-content;
}
#news .news-wrap .post-index{
  flex: 1;
}

@media only screen and (max-width: 860px) {
  #news .news-wrap .heading{
    width: 100%;
  }
  #news .news-wrap{
    flex-direction: column;
    gap: 15px 8%;
  }
}