br.for_sp2 {
  display: none;
}

@media (max-width: 530px) {
  br.for_sp2 {
    display: inline;
  }
}


h2.ctitle, #pic_area h3 {
 display: none;
}

h2.logo {
  position: absolute;
  bottom: -50px;
  left: 20%;
  z-index: 10;
}

h2.logo img {
  width: 80px;
  height: auto;
  position: relative;
}


main {
  padding-bottom: 0;
}

/*------- mv */

#mv {
  width: 96%;
  aspect-ratio: 29 / 14;
  position: relative;
  opacity: 0;
  margin: 0 auto 50px auto;
  border-radius: 50px;
  overflow: hidden;
}

#mv.start {
  opacity: 1;
}

#mv div.catch {
   width: 35%;
   height: fit-content;
   position: absolute;
   top: 10%;
   left: -1%;
   z-index: 92;
   color: #fff;
   overflow: visible;
}

#mv div.catch img {
  width: 100%;
}


@media (max-width: 1000px) {
  #mv {
    aspect-ratio: 1 / 1;
    border-radius: 20px;
  }

  #mv div.catch {
    width: 60%;
    top: 16%;
    left: -10%;
  }
  
  #mv div.catch img {
    width: 400%;
    scale: .25;
    transform-origin: 0 0;
  }
}

@media (max-width: 1450px) {
.mainw {
  max-width: 1240px;
}
}


/*------- services */

#services {
  font-weight: 500;
}

@media (max-width: 1000px) {
  #services::after {
    width: 200vw;
  }
}


#services > .cflex {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 50px;
}

@media (max-width: 1000px) {
  #services > .cflex {
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
  }
}

@media (max-width: 280px) {
  #services > .cflex {
    grid-template-columns: repeat(1, 1fr);
  }
}


#services > .cflex > * {
  border: 5px solid #fbcbc7;
  background: #fef6f5;
  padding: 15px 10px;
  border-radius: 30px;
  grid-row: span 3;
  display: grid;
  gap: .5em;
  grid-template-rows: subgrid;
  justify-items: center;
  align-items: start;
}

#services > .cflex h3 {
  font-size: 1.4rem;
  text-align: center;
  line-height: 1.5;
}

#services > .cflex h3 span {
  font-size: .75em;
  display: block;
  margin-bottom: .5em;
}

@media (max-width: 530px) {
  #services > .cflex h3 {
    font-size: .8rem;
  }
    #services > .cflex > * {
      padding-left: 5px;
      padding-right: 5px;
    }
  #services > .cflex > * ul li {
    font-size: .6rem;
  }
}

#services > .cflex figure {
  width: 50%;
  margin: 10px 0 0 0;
}

#services > .cflex > * ul li {
  display: flex;
  align-items: center;
}

#services > .cflex > * ul li::before {
  content: '';
  display: inline-block;
  width: .6em;
  height: .6em;
  margin-right: .4em;
  border-radius: 100%;
  background: #f57c73;
}
#services > .cflex > *:nth-of-type(2) ul li::before {
  background: #24b89d;
}
#services > .cflex > *:nth-of-type(3) ul li {
  align-items: flex-start;
}
#services > .cflex > *:nth-of-type(3) ul li::before {
  background: #eda13b;
  margin-top: .7em;
}
#services > .cflex > *:nth-of-type(4) ul li::before {
  background: #85c83c;
}

#services > .cflex > *:nth-of-type(2) {
  border-color: #a7e3d8;
  background: #f0faf8;
}
#services > .cflex > *:nth-of-type(3) {
  border-color: #f8d9b1;
  background: #fef8f1;
}
#services > .cflex > *:nth-of-type(4) {
  border-color: #cee9b1;
  background:  #f6fbf1;
}

#services > .cflex > * h3 span {
 color: #f57c73;
 font-weight: 700;
}

#services > .cflex > *:nth-of-type(2) h3 span {
 color: #24b89d;
}

#services > .cflex > *:nth-of-type(3) h3 span {
 color: #eda13b;
 margin-bottom: 1em;
}

#services > .cflex > *:nth-of-type(4) h3 span {
 color: #85c83c;
 margin-bottom: 1em;
}

#services #services_list02 h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding: 0 6em 0 8em;
}

#services #services_list02 h3::before, 
#services #services_list02 h3::after {
    content: '';
    display: inline-block;
    width: 4.3em;
    height: 4.3em;
    background-position: left bottom;
}

#services #services_list02 h3::before {
    background: url(../images/index/services_title01.png) no-repeat;
    background-size: 4.2em;
    margin-right: 1em;
}

#services #services_list02 h3::after {
    background: url(../images/index/services_title02.png) no-repeat;
    background-size: 4em;
    margin-left: 1em;
}

@media (max-width: 1000px) {
  #services #services_list02 h3 {
    padding: 0;
    width: 100%;
    text-align: center;
  }
  
  #services #services_list02 h3::before, 
  #services #services_list02 h3::after {
    aspect-ratio: 1 / 1.2;
    background-size: contain;
  }
  #services #services_list02 h3::after {
    margin-bottom: .2em;
  }
}

@media (max-width: 530px) {
  #services #services_list02 h3 {
    font-size: 1rem;
  }
}


@media (max-width: 280px) {
  #services #services_list02 h3 {
    padding-top: 70px;
    position: relative;
    margin-bottom: 1em;
  }
  
  #services #services_list02 h3::before, 
  #services #services_list02 h3::after  {
    width: 70px;
    height: 70px;
    position: absolute;
    top: 0;
    left: 0;
  }
  #services #services_list02 h3::after  {
    top: 0;
    left: 75px;
  }
}


#services #services_list02 dl {
  display: flex;
  flex-wrap: wrap;
}

#services #services_list02 dl dt,
#services #services_list02 dl dd {
  border: 3px solid #d3edd7;
  border-radius: 10px;
  padding: 1em .5em;
  box-sizing: border-box;
  margin-bottom: 10px
}

#services #services_list02 dl dt {
  width: 45%;
  background: #edf8ef;
  color: #24a437;
  font-weight: 500;
  display: grid;
  place-items: center;
}

#services #services_list02 dl dd {
  width: 57%;
  padding-left: 3%;
  margin-left: -2%;
  border-left: none;
}

#services #services_list02 dl dd > a {
  position: relative;
    padding-left: 1.5em;

}

#services #services_list02 dl dd > a::before {
  content: '\025b6';
  color: #24a437;
  font-size: .75em;
  display: block;
  margin-right: .5em;
  position: absolute;
  left: .5em;
  top: .3em;
}

#services #services_list02 .services_tag {
  color: #fff;
  background: #5bbb69;
  border-radius: 20px;
  width: fit-content;
  padding: .1em 1em;
  font-size: .8em;
  float: right;
  display: grid;
  place-items: center;
}

@media (max-width: 1000px) {
  #services #services_list02 dl {
    flex-direction: column;
  }
  #services #services_list02 dl dt,
  #services #services_list02 dl dd {
    width: 100%;
    position: relative;
  }
  #services #services_list02 dl dt {
    margin-bottom: 0;
    z-index: 1;
    text-align: center;
  }
  #services #services_list02 dl dd {
    margin-left: 0;
    margin-top: -12px;
    padding-top: 20px;
    z-index: 0;
    border-left: 3px solid #d3edd7;
  }
  #services #services_list02 dl dd > a {
    display: flex;
    justify-content: space-between;
    align-items:center;
  }

  #services #services_list02 .services_tag_tl {
    border-radius: 10px;
    text-align: center;
  }
  
  #services #services_list02 .services_tag {
    text-indent: 0;
      padding: .1em 1.5em;
  }

}

/*------- network */

#network {
  margin-top: 120px;
  padding: 0 0 20% 0;
  font-weight: 500;
  background: url(../images/index/bg_green.png) repeat;
  background-size: contain;
  position: relative;
}

#network::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -25%;
  display: block;
  height: 500px;
  width: 150%;
  background: url(../images/index/bg_green.png) repeat;
  background-size: contain;
  border-radius: 50% 50% 0 0;
  z-index: -1;
}

#network::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: url(../images/bg_tree2.svg) no-repeat;
  background-size: 50% 60%;
  background-position: center top;
  position: absolute;
  top: 50px;
  left: 0;
  z-index: -1;
}

@media (max-width: 1000px) {
  #network::after {
    background-position: 50% 46%;
  }
}

@media (max-width: 640px) {
  #network::after {
    background-position: 50% 50%;
  }
}

@media (max-width: 530px) {
  #network::after {
    background-position: 50% 30%;
  }
}

@media (max-width: 1450px) {
  #network .mainw {
    max-width: 1100px;
    padding-left: 3em;
  }
}

@media (max-width: 1240px) {
  #network .mainw {
    max-width: 90%;
    padding-left: 3em;
  }
}

#network h2 {
  color: #24a437;
  background: url(../images/bg_hc.svg) no-repeat;
  background-position: left bottom;
  width: fit-content;
  padding: .3em;
  margin: 0 auto 2em auto;
  line-height: 1.5;
  font-size: 2.2rem;
}

#network h3 {
  writing-mode: vertical-rl;
  font-size: 2rem;
  letter-spacing: .2em;
  margin-left: -3em;
  margin-right: 2em;
}

@media (max-width: 1000px) {
  #network .mainw {
    padding-left: 0;
  }
  #network h3 {
    writing-mode: initial;
    text-align: center;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 640px) {
   #network h3 {
    font-size: 6vw;
  }
    #network h2 {
    font-size: 5vw;
    background-size: 195%;
    padding-bottom: .5em;
  }
  #network::after {
    background-size: 75% 75%;
  }

}

#network section.cflex {
  align-items: flex-start;
}

#network .network_feature {
  width: 47%;
  margin-right: 3%;
  counter-reset: num 0;

}

#network .cflex figure {
  width: 50%;
}

@media (max-width: 1000px) {
  #network .network_feature {
    margin-right: 0;
    margin-left: 2%;
  }
  
  #network section.cflex img {
    order: 1;
    margin-bottom: 30px;
  }
  
  #network section.cflex ul {
    order: 2;
  }
}

#network .network_feature li {
  margin-bottom: 3em;
  font-size: 1.1em;
  padding-left: 3em;
  position: relative;
}

#network .network_feature li::before {
  counter-increment: num 1;
  content: '0' counter(num);
  position: absolute;
  left: -1em;
  top: 0;
  color: #24a437;
  width: 2em;
  height: 2em;
  display: inline-block;
  background: url(../images/index/network_num_bg.svg) no-repeat;
  background-size: cover;
  font-size: 1.3em;
  letter-spacing: .1em;
  line-height: 1;
  padding: 1em 0 0 1em;
}

#network #network_btm.cflex {
  justify-content: space-between;
  margin-top: 80px;
}

#network #network_btm li {
  width: 32%;
  text-align: center;
  font-size: 1.15em;
  line-height: 1.3;
}
#network #network_btm li a {
  display: inline-block;
  border: 4px solid #bde4c3;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
#network #network_btm li span {
  font-size: .8em;
}
#network #network_btm li img {
  width: 25%;
  margin-right: 1em;
}


@media (max-width: 1000px) {
  #network #network_btm.cflex {
    margin-top: 0;
    align-items: center;
  }

  #network #network_btm.cflex li {
    margin-top: 10px;
    white-space: no-wrap;
    width: 100%!important;
    padding: 3% 1%;
    
  }
  #network #network_btm li a img {
    width: 20%;
  }
  #network #network_btm li a p {
    width: 60%;
    white-space: nowrap;
  }
}

/*------- お知らせ */

#news {
  margin-top: -10%;
  padding: 80px 0 0 0;
  background: #fff;
  border-radius: 120px;
  background-size: 100%;
  font-weight: 500;
}

#news::after {
  content: '';
  display: block;
  width: 100%;
  height: 100px;
  background: url(../images/index/bg_wave.png) no-repeat;
  background-size: cover;
  margin-top: 80px;
}

#news .mainw {
  max-width: 1300px;
  position: relative;
  z-index: 100;
}

#news h2 {
  margin-bottom: 1em;
  margin-left: -2em;
  margin-right: 2em;
}

@media (max-width: 1450px) {

#news .mainw {
  max-width: 1100px;
}

}


@media (max-width: 1240px) {
  #news h2 {
    margin-left: 0;
  }
}



#news #news_links li {
  margin-right: 3em;
  width: fit-content;
}

#news #news_links li a::after {
  content: '\02192';
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  background: #24a437;
  margin-left: .8em;
  color: #fff;
  text-align: center;
  display: grid;
  place-items: center;
  font-size: 1.3em;
}

#news #news_links li:nth-of-type(2) a::after {
  background: #c25a24;
}

#news #news_links li:nth-of-type(3) a::after {
  content: '';
  background: url(../images/index/icon_insta.png) no-repeat;
  background-size: 60%;
  background-position: 0 50%;
  border-radius: 0;
}


@media (max-width: 1000px) {
  #news {
    border-radius: 40px;
  }
  
  #news h2 {
    margin-left: 0;
    text-align: center;
  }
  
  #news #news_links li a {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
  }

  #news #news_links li:not(:nth-of-type(3)) a::after {
    width: 2em;
    height: 2em;
  }
    
  #news #news_links li:nth-of-type(3) a::after {
    background-position: 50% 50%;
    margin-left: 0;
  }
}


/*------- 施設のご案内 */

#institution {
  background: url(../images/index/bg_green.png) repeat-y;
  background-size: 100%;
  padding-top: 10%;
  padding-bottom: 100px;
}

#institution .mainw {
  max-width: 85%;
  width: 85%;
}

#institution > * {
  padding-top: 8%;
  margin-left: 5%;
  margin-bottom: 40px;
  position: relative;
}

#institution > *:nth-of-type(2) {
  margin-right: 5%;
  margin-left: 0;
}

#institution > * section {
  margin-top: 50px;
  position: relative;
  z-index: 0;
}

#institution .cflex {
  gap: 5%;
  align-items: flex-start;
}

#institution > section .cflex:nth-child(2n+1) {
  flex-direction: row-reverse;
}

#institution .cflex .txt {
  width: 45%;
}

#institution .cflex figure {
  width: 55%;
  position: relative;
  margin: 0;
}

#institution .cflex figure img {
  border-radius: 20px;
}

#institution .cflex figure::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 10px;
  left: 10px;
  background: #def1e1;
  border-radius: 20px;
  z-index: -1;
}

#institution #institution02 .cflex figure::before {
  background: #fbecd8;  
}

#institution #institution03 .cflex figure::before {
  background: #fcf8d3;
}

#institution > section .cflex:nth-child(even) figure::before {
  top: 10px;
  left: -10px;
}

#institution #institution01 .cflex {
  margin-top: 75px;
}

#institution h4 {
  margin-bottom: 20px;
}

#institution p {
  margin-bottom: 70px;
}

#institution01,
#institution02,
#institution03 {
  position: relative;
  z-index: 0;
  padding-top: 10%;
  padding-bottom: 5%;
}

#institution01 {
  background: url(../images/index/institution01_bg.png) repeat-y;
  background-size: 100% 80%;
  background-position: right bottom;
  overflow: hidden;
}

#institution02 {
  background: url(../images/index/institution02_bg.png) repeat-y;
  background-size: 100% 80%;
  background-position: left bottom;
}

#institution03 {
  background: url(../images/index/institution03_bg.png) repeat-y;
  background-size: 100% 80%;
  background-position: right bottom;
}

#institution01::after,
#institution02::after,
#institution03::after,
#institution01::before,
#institution02::before,
#institution03::before {
  content: '';
  display: block;
  width: 100%;
  height: 10%;
  min-height: 200px;
  position: absolute;
}

#institution01::after,
#institution02::after,
#institution03::after {
  bottom: 0;
  left: 0;
  z-index: -2;
}


#institution01::before,
#institution02::before,
#institution03::before {
  top: 0;
  left: 0;
  z-index: -1;
}

#institution01::after {
  background: url(../images/index/institution01_bg_bottom.png) no-repeat;
  background-size: 100%;
  background-position: right bottom;
}

#institution02::after {
  background: url(../images/index/institution02_bg_bottom.png) no-repeat;
  background-size: 100%;
  background-position: left bottom;
}

#institution03::after {
  background: url(../images/index/institution03_bg_bottom.png) no-repeat;
  background-size: 100%;
  background-position: right bottom;
}

#institution01::before {
  background: url(../images/index/institution01_bg_top.png) no-repeat;
  background-size: 100%;
  background-position: right top;
}

#institution02::before {
  background: url(../images/index/institution02_bg_top.png) no-repeat;
  background-size: 100%;
  background-position: left top;
}

#institution03::before {
  background: url(../images/index/institution03_bg_top.png) no-repeat;
  background-size: 100%;
  background-position: right top;
}

#institution h3 {
  width: fit-content;
}

#institution .class_img {
  display: inline-block;
  margin-bottom: 10px;
}

#institution #institution02 .class_img {
  margin-bottom: 0;
}

#institution .class_img img {
  display: inline-block;
  height: 35px;
  width: auto;
  margin-right: 20px;
}

#institution #institution02 h4 .class_img img {
  vertical-align: bottom;
  height: 1.15em;
}

#institution h4 {
  font-size: 2.2rem;
  line-height: 1.3;
} 

#institution #institution01 h3 {
  border-bottom: 2px solid  #24a437;
}

#institution #institution02 h3 {
  border-bottom: 2px solid  #eda13b;
}

@media (max-width: 530px) {
  #institution #institution02 h3 {
    font-size: 5.5vw;
  }
}

#institution #institution03 h3 {
  border-bottom: 2px solid  #f0dc22;
}

@media (max-width: 1000px) {

  #institution .cflex {
    width: 82vw;
    max-width: 82vw;
  }
  
  #institution .cflex > *:first-child {
    order: 2;
  }
  
  #institution .cflex > *:nth-child(2) {
    order: 1;
    margin-bottom: 2em;
  }

  #institution h3 {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
  }
  #institution p {
    margin-bottom: 2em;
  }
  #institution .cbtn {
    margin-left: auto;
    margin-right: auto;    
  }
  #institution .class_img img {
    height: 2em;
  }
}

@media (max-width: 640px) {
  #institution h4 {
    font-size: 6vw;
  }
  #institution #institution01 .cflex:first-of-type {
    margin-top: 40px;
  }
}


@media (max-width: 530px) {
  #institution > #institution02,
  #institution > #institution03 {
    padding-bottom: 2.5em;
  }
}



/*------- 採用情報 */

#recruit {
  padding-top: 50px;
  margin-top: -100px;
  background: url(../images/index/recruit_bg.jpg) no-repeat;
  background-size: 100%;
  color: #fff;
}

#recruit .cflex {
  justify-content: space-between;
  align-items: center;
}

#recruit h2 span {
  color: #b0d48B;
  font-size: 2em;
  font-family: 'Kiwi Maru', serif;
  display: block;
  line-height: 1.5;
}

@media (min-width: 1001px) {
  #recruit .mainw {
    width: 70%;
    max-width: 70%;
  }
}

#recruit .txt {
  width: 43%;
}

#recruit .txt h2 {
  margin-bottom: 30px;
}

#recruit .txt p {
  margin-bottom: 50px;
}

#recruit .cflex figure {
  width: 49%;
  position: relative;
}

#recruit .cflex figure img {
  border-radius: 50%;
}

#recruit .cflex figure::before {
  content: '';
  display: block;
  position: absolute;
  top: 2%;
  left: -6%;
  width: 35%;
  height: 100%;
  background: url(../images/index/recruit_txt.png) no-repeat;
  background-size: 100%;
} 

@media (max-width: 1000px) {
  #recruit {
    background: url(../images/index/recruit_bg_sp.jpg) no-repeat;
    background-size: cover;
    border-radius: 40px 40px 0 0;
  }
  #recruit .cflex figure {
    width: 70%!important;
  }
  #recruit a.cbtn.for_sp {
    display: flex!important;
    margin-left: auto;
    margin-right:auto;
  }
}  

@media (max-width: 640px) {
  #recruit h2 span {
    font-size: 10vw;
  }
}

footer {
  margin-top: -150px;
}
