/* top */
.parent_h2 {
  display: block;
  text-align: center;
}
h2 {
  padding: 0 5px 0;
  font-size: 2rem;
  text-align: center;
  background-image: linear-gradient(transparent 40%, #ffee58 0%);
  display: inline;
}
h2 span {
  color: #4087c7;
  font-size: 3rem;
}
.h2 {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.h2:before {
  width: 8vw;
  height: 8vw;
  max-width: 130px;
  max-height: 130px;
  content: '';
  background: url('../img/top/ico_h2_1.svg') no-repeat;
  background-size: contain;
}

#sec2 > div.h2:before {
  background: url('../img/top/ico_h2_2.svg') no-repeat;
  background-size: contain;
}
#sec4 > div.h2:before {
  background: url('../img/top/ico_h2_4.svg') no-repeat;
  background-size: contain;
}
#sec5 > div.h2:before {
  background: url('../img/top/ico_h2_5.svg') no-repeat;
  background-size: contain;
}
#sec6 > div.h2:before {
  background: url('../img/top/ico_h2_6.svg') no-repeat;
  background-size: contain;
}
#sec8 > div.h2:before {
  background: url('../img/top/ico_h2_8.png') no-repeat;
  background-size: contain;
  width: 10vw;
  height: 10vw;
  max-width: 150px;
  max-height: 150px;
}

h3,
h3 span {
  font-size: 2.25rem;
  z-index: 1;
}

.content {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto 30px;
  margin-top: 70px;
}
section {
  margin: 0 auto 80px;
}
/* mv */
section.mv {
  width: 80%;
  max-width: 1500px;
  padding: 3vw 50px 0 11vw;
  align-items: end;
  display: flex;
  justify-content: space-between;
}

section.mv > div:first-child {
  width: 40%;
  position: relative;
}
section.mv > div:first-child:before {
  width: min(5vw,90px);
  height: min(5vw,90px);
  content: '';
  position: absolute;
  top: max(-8vw, -140px);
  left: max(-8vw, -140px);
  background: #4087c7;
  z-index: -1;
}
section.mv > div:first-child:after {
  width: 50px;
  height: 50px;
  width: min(3vw,50px);
  height: min(3vw,50px);
  content: '';
  position: absolute;
  top: max(-3vw, -50px);
  left: max(-3vw, -50px);
  background: #6bbbd2;
  z-index: -1;
}
section.mv > div:first-child h1 {
  margin: 0 0 10px;
  font-size: min(2vw, 3rem);
}
section.mv > div:first-child h1 span {
  font-size: 1.5em;
  color: #229fc5;
}
section.mv > div:first-child > div {
  margin: 0 0 20px;
  padding: 0 0 20px;
  border-bottom: 2px solid #4087c7;
}
section.mv > div:first-child > div p {
  color: #707f89;
  font-size: min(1.2vw,1.2rem);
}
section.mv > div:first-child > p {
  padding: 0 0 20px;
  color: #253044;
  font-size: min(1.2vw, 1.5rem);
  line-height: min(2.6vw, 3rem);
  background: url('../img/top/mv_txt_bg.svg') no-repeat right bottom;
  background-size: 88%;
}
section.mv > div:first-child > p:after {
  width: 100%;
  height: 100%;
  content: '';
}

section.mv > div:last-child {
  width: 55%;
}
section.mv > div:last-child img {
  box-shadow: 40px 40px #6bbbd2;
}

/* sec1 */
#sec1 .content > div {
  margin: 30px auto;
  padding: 50px;
  align-items: flex-start;
  border: 1px solid #dae3e8;
  box-shadow: 10px 10px #6bbbd2;
  display: flex;
  justify-content: space-between;
  gap: 5%;
}
#sec1 .content > div img {
  width: 20%;
}
#sec1 .content > div > div {
  width: 78%;
}
#sec1 .content > div > div h3 {
  margin: 0 0 20px;
  padding: 0 0 10px;
  font-size: 1.85rem;
  display: inline-block;
  border-bottom: 2px solid #4087c7;
}

#sec2 {
  margin: 0 auto;
}
#sec2 > div.h2 {
  margin: 0 auto 60px;
}
#sec2 > div.h2 span:first-child {
  font-size: 3.85rem;
}
#sec2 > div:not(.h2),
#sec7 > div:not(.h2) {
  margin: 0px auto 50px;
  counter-increment: number 1;
  position: relative;
}
#sec2 > div:nth-child(2):after {
  margin: 0px auto 70px;
}

#sec2 > div:not(.h2):before,
#sec7 > div:not(.h2):before {
  width: 40%;
  height: 80%;
  background: #6bbbd2;
  content: '';
  position: absolute;
  left: 0;
  top: -20px;
  z-index: -1;
}

#sec2 > div:not(.h2):nth-child(odd):before,
#sec7 > div:not(.h2):nth-child(even):before {
  background: #75ce9b;
  left: unset;
  right: 0;
}

#sec2 > div:not(.h2):after,
#sec7 > div:not(.h2):after {
  content: '';
  width: 60%;
  height: 80%;
  position: absolute;
  background: #eff7fa;
  right: 0;
  top: 80px;
  z-index: -1;
}
#sec2 > div:nth-child(2):after {
  height: 84%;
}

#sec2 > div:not(.h2):nth-child(odd):after,
#sec7 > div:not(.h2):nth-child(even):after {
  background: #ebf3ee;
  left: 0;
}

#sec2 div.content,
#sec7 div.content {
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
}
#sec2 > div:nth-child(odd) div.content,
#sec7 > div:nth-child(even) div.content {
  flex-direction:row-reverse;
}

#sec2 div.content > p,
#sec7 div.content > p {
  width: 42.6%;
  max-width: 460px;
}
#sec2 div.content > div,
#sec7 div.content > div {
  width: 57%;
  padding: 100px 0 60px 0px;
}
#sec2 div.content > div div.h3,
#sec7 div.content > div div.h3 {
  margin: 0 0 30px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 2%;
  position: relative;
}
#sec2 > div:nth-child(odd) div.content > div div.h3,
#sec7 > div:nth-child(even) div.content > div div.h3 {
  flex-direction: row-reverse;
}
#sec2 div.content > div div.h3:before {
  content: counter(number) '';
  font-size: 8.25rem;
  font-weight: 700;
  color: #eff7fa;
  -webkit-text-stroke: 2px #4087c7;
  text-stroke: 2px #4087c7;
}
#sec2 div:nth-child(odd) div.content > div div.h3:before {
  color: #ebf3ee;
  -webkit-text-stroke: 2px #11beae;
  text-stroke: 2px #11beae;
}
#sec2 div.content > div div.h3:after,
#sec7 div.content > div div.h3:after {
  width: 50px;
  height: 50px;
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  background: #4087c7;
}
#sec7 div.content > div div.h3 h3 {
  width: 100%;
  position: relative;
}
#sec2 > div:nth-child(odd) div.content > div div.h3 h3,
#sec7 > div:nth-child(even) div.content > div div.h3 h3 {
  width: 100%;
  text-align: right;
}

#sec2 div.content > div div.h3 h3:after,
#sec7 div.content > div div.h3 h3:after {
  width: 30px;
  height: 30px;
  content: '';
  position: absolute;
  top: 50px;
  right: 50px;
  background: #6bbbd2;
}
#sec2 > div:nth-child(odd) div.content > div div.h3:after,
#sec7 > div:nth-child(even) div.content > div div.h3:after {
  left: 0;
  background: #11beae;
}
#sec2 > div:nth-child(odd) div.content > div div.h3 h3:after,
#sec7 > div:nth-child(even) div.content > div div.h3 h3:after {
  top: 50px;
  left: 50px;
  background: #75ce9b;
}

#sec2 div.content > div p,
#sec7 div.content > div p {
  padding: 30px;
  border: 5px solid #fff;
}

#sec3 {
  margin: -70px auto 80px;
  padding: 70px 0 0;
  background: url('../img/top/sec3_bg.png') right top no-repeat;
  background-size: 30%;
}
#sec3 > p {
  margin: 0 auto 30px;
  text-align: center;
}

#sec3 > ul {
  display: flex;
  justify-content: space-between;
}

#sec3 > ul li {
  width: 32%;
  padding: 30px;
  background: #eff7fa;
  display: flex;
  flex-direction: column;
  counter-reset: counter;
  counter-increment: number 1;
}

#sec3 > ul li p:first-child {
  margin: 0 auto;
  color: #4087c7;
  display: flex;
  justify-content: center;
  font-weight: 500;
}
#sec3 > ul li p:first-child:before,
#sec3 > ul li p:first-child:after {
  content: '';
  border-left: 2px solid;
  transform-origin: right bottom;
  transform: rotate(-45deg);
}
#sec3 > ul li p:first-child:after {
  transform-origin: left bottom;
  transform: rotate(45deg);
}

#sec3 > ul li h3 {
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
}
#sec3 > ul li h3 span:first-child {
  font-size: 2.25rem;
}
#sec3 > ul li p:last-child {
  padding: 40px 20px 20px;
  background: #fff;
  flex-grow: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
}
#sec3 > ul li p:last-child:before {
  width: 2em;
  height: 2em;
  margin: 0 auto;
  padding: 0.5rem;
  align-items: center;
  background: #4087c7;
  border-radius: 50%;
  color: #fff;
  content: counter(number, decimal-leading-zero) '';
  display: flex;
  justify-content: center;
  position: absolute;
  text-align: center;
  top: -10%;
}

#sec4 > div:last-child {
  padding: 80px 0 50px;
  background: linear-gradient(to right, #eff7fa 0%, #ebf3ee 100%);
}

#sec4 ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#sec4 ul li {
  width: 30%;
  margin: 0 auto 30px;
}
#sec4 ul li:nth-child(n + 4) {
  width: 20%;
}

#sec5 table tr > * {
  padding: 10px 0;
  text-align: center;
  vertical-align: middle;
}
#sec5 table tr td {
  border: 4px solid #4087c7;
}
#sec5 table tr td span {
  font-size: 1.6rem;
  font-weight: 500;
}
#sec5 table tr:nth-child(2) td span {
  font-size: 1.15rem;
  font-weight: 500;
}
#sec5 table tr td span.gray {
  color: #253044;
}

#sec5 table tr:first-child th {
  width: 25%;
  background: #4087c7;
  color: #fff;
  border: 4px solid #4087c7;
}
#sec5 table tr:first-child th:first-child {
  width: 15%;
  background: #fff;
  border: none;
}
#sec5 table tr:nth-child(n + 2):not(:last-child) th {
  width: 15%;
  border: 4px solid #4087c7;
}
#sec5 table tr:first-child th {
  background: #4087c7;
  color: #fff;
}
#sec5 table tr:last-child td {
  padding: 20px;
  background: #eff7fa;
  vertical-align: top;
}
#sec5 table tr:last-child td p:first-child {
  margin: 0 auto 10px;
    text-align: center;
}

#sec6 ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#sec6 ul li {
  width: 30%;
  margin: 0 auto 30px;
  padding: 20px;
  box-shadow: 0 3px 7px 0 rgba(112, 127, 137, 0.5);
}
#sec6 ul li h3 {
  margin: 0 auto 20px;
  padding: 10px 0;
  background: #4087c7;
  color: #fff;
  font-size: 1.12rem;
  text-align: center;
}
#sec6 ul li div {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}
#sec6 ul li div img {
  width: 28%;
}
#sec6 ul li div p {
  width: 65%;
}

#sec8 {
  padding: 80px;
  background: url('../img/top/sec8_bg.jpg') no-repeat;
  background-size: cover;
}
#sec8 h2 {
  padding: 5px;
  background: #4087c7;
  color: #fff;
}
#sec8 h2 span {
  color: #fff;
  font-size: 2.25rem;
}

#sec8 div.content {
  position: relative;
}
#sec8 div.content:before {
  width: 50px;
  height: 50px;
  content: '';
  position: absolute;
  background: #4087c7;
  top: -70px;
  left: -70px;
}
#sec8 p {
  padding: 40px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 30px 30px rgba(107, 187, 210, 0.9);
  position: relative;
}

#sec8 p:before {
  width: 20px;
  height: 20px;
  content: '';
  position: absolute;
  background: #6bbbd2;
  top: -20px;
  left: -20px;
}
#sec8 p:after {
  width: 40px;
  height: 40px;
  content: '';
  position: absolute;
  background: #11beae;
  bottom: -70px;
  right: -70px;
}

#contact {
  box-shadow: 0 3px 5px 0 rgba(112, 127, 137, 0.5);
  text-align: center;
}
#contact > * {
  margin: 0 auto 20px;
  display: block;
  text-align: center;
}
#contact h2,
#info h2 {
  margin: 0 auto 20px;
  padding: 0 0 10px;
  color: #4087c7;
  font-size: 2.2rem;
  font-weight: 400;
  background: none;
  border-bottom: 2px solid #707f89;
  display: inline-block;
}
#contact h3,
#info h3 {
  margin: 0 auto 20px;
}
#contact > div {
  padding: 10px 0;
  display: flex;
  gap: 4%;
  justify-content: center;
  position: relative;
}
#contact > div:before {
  content: '';
  width: 2%;
  height: 80%;
  border-right: 1px solid;
  position: absolute;
  right: 50%;
  top: 10%;
}

#contact > div > p {
  width: 48%;
  align-items: center;
  color: #4087c7;
  display: flex;
  font-size: 1.5rem;
  gap: 1%;
  justify-content: flex-end;
}
#contact > div > p:before {
  width: 10%;
  height: 100%;
  content: '';
  background: url('../img/top/ico_tel.svg') center right no-repeat;
  background-size: 40%;
}

#contact > div > div {
  width: 48%;
}
#contact > div > div > p:first-child {
  font-size: 2.5rem;
}
#contact > div > div > p:first-child span {
  font-size: 1.5rem;
  color: #253044;
}

#contact_form {
  margin: 0 auto 80px;
}

#info {
  margin: 0 auto;
  padding: 50px 0;
  background: #eff7fa;
  text-align: center;
}
#info h2 {
  margin: 0 auto;
  border: none;
  color: #6bbbd2;
  display: block;
  font-size: 1.65rem;
  text-align: center;
}
#info h3 {
  margin: 0 auto;
  color: #4087c7;
  display: inline-block;
  font-weight: 500;
  text-align: center;
  position: relative;
  border-bottom: 2px solid #4087c7;
}
#info h3:after {
  width: 50%;
  content: '';
  position: absolute;
  right: 0;
  bottom: -2px;
  border-bottom: 2px solid #ffee58;
}

#info dl {
  padding: 30px 0;
  display: flex;
  border-bottom: 1px solid #b9c7d0;
}
#info dl dt {
  width: 30%;
  color: #4087c7;
}
#info dl dd {
  width: 60%;
}

footer {
  padding: 10px;
  background: #344d5e;
  color: #fff;
  font-size: 0.8rem;
  text-align: center;
}

@media (max-width: 1920px) {
  section.mv > div:first-child h1 {
    font-size: min(2.4vw, 3rem);
  }
}

@media (max-width: 1280px) {

  section.mv {
    padding: 40px 0 40px 90px;
  }

  section.mv > div:first-child:before {
    width: 60px;
    height: 60px;
    top: -90px;
    left: -90px;
  }
  section.mv > div:first-child:after {
    width: 30px;
    height: 30px;
    top: -30px;
    left: -30px;
  }
}

@media (max-width: 768px) {

  section {
    margin: 0 auto 50px;
  }
  h2 {
    font-size: 1.75rem;
  }
  h2 span {
    font-size: 2.3rem;
  }
  h3, h3 span {
    font-size: 1.45rem;
  }

  .content {
    width: 90%;
  }

  .h2 {
    width: 90%;
    flex-direction: column;
    gap: 5px 0;
  }
  .h2::before {
    width: 23vw;
    height: 30vw;
  }
  .parent_h2 {
    width: 100%;
  }

  section.mv {
    width: 100%;
    margin: 0 auto 20px;
    padding: 0;
    flex-direction: column-reverse;
  }
  section.mv > div:first-child {
    width: 87%;
    margin: -92px 0 0;
    padding: 18px;
    background: rgba(255,255,255, 0.8);
  }
  section.mv > div:first-child h1 {
    font-size: 2.15rem;
  }
  section.mv > div:first-child h1 span {
    font-size: 2.85rem;
  }
  section.mv > div:first-child > div p {
    font-size: 1rem;
  }
  section.mv > div:first-child > p {
    font-size: 1.15rem;
    line-height: 2.25rem;
  }
  section.mv > div:last-child {
    width: 160%;
  }
  section.mv > div:last-child img {
    box-shadow: 266px 55px #6bbbd2;
  }
  section.mv > div:first-child:before {
    width: 30px;
    height: 30px;
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
  }
  section.mv > div:first-child:after {
    width: 20px;
    height: 20px;
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
  }

  #sec1 .content {
    width: 95%;
  }
  #sec1 .content > div {
    padding: 5%;
    flex-direction: column;
  }
  #sec1 .content > div > img {
    width: 70%;
    margin: 0 auto 20px;
  }
  #sec1 .content > div > div {
    width: 100%;
  }
  #sec1 .content > div > div h3 {
    font-size: 1.7rem;
    display: block;
    text-align: center;
  }

  #sec2 > div:not(.h2),
  #sec7 > div:not(.h2) {
    margin: 0 auto 120px;
  }
  #sec2 > div:last-child,
  #sec7 > div:last-child {
    margin: 0 auto 80px;
  }
  #sec2 div.content, #sec7 div.content,
  #sec2 > div:nth-child(odd) div.content,
  #sec7 > div:nth-child(even) div.content {
    padding: 0;
    flex-direction: column;
  }
  #sec2 div.content > p,
  #sec7 div.content > p {
    width: 100vw;
    max-width: 800px;
    margin: 0 calc(50% - 50vw) 40px;
  }
  #sec2 div.content > div,
  #sec7 div.content > div {
    width: 100%;
    padding: 20px 0 0;
  }
  #sec2 > div:not(.h2):before,
  #sec7 > div:not(.h2):before {
    width: 90%;
    height: 100%;
    top: -40px;
  }
  #sec2 > div:not(.h2):after,
  #sec7 > div:not(.h2):after {
    width: 100%;
    height: 100%;
    top: 40px;
  }
  #sec2 > div:nth-child(2):after {
    height: 100%;
  }

  #sec2 div.content > div div.h3,
  #sec7 div.content > div div.h3 {
    margin: 0 0 20px;
  }
  #sec2 div.content > div div.h3:after,
  #sec7 div.content > div div.h3:after {
    width: 30px;
    height: 30px;
    top: -50px;
  }
  #sec2 div.content > div div.h3:before {
    font-size: 5.65rem;
  }
  #sec2 div.content > div div.h3 h3:after,
  #sec7 div.content > div div.h3 h3:after {
    width: 20px;
    height: 20px;
    top: -20px;
    right: 30px;
  }
  #sec2 > div:nth-child(odd) div.content > div div.h3 h3:after,
  #sec7 > div:nth-child(even) div.content > div div.h3 h3:after {
    top: -20px;
    left: 30px;
  }

  #sec3 > ul,
  #sec4 ul,
  #sec6 ul {
    flex-direction: column;
  }
  #sec3 > ul li,
  #sec4 ul li,
  #sec6 ul li {
    width: 100%;
  }

  #sec3 {
    margin: -30px auto 50px;
    padding: 30px 0 0;
    background-size: 50%;
  }
  #sec3 > p {
    width: 90%;
  }
  #sec3 > ul {
    flex-direction: column;
    gap: 20px 0;
  }
  #sec3 > ul li {
    width: 100vw;
    margin: 0 calc(50% - 50vw) 10px;
    padding: 20px;
  }
  #sec3 > ul li p:last-child {
    padding: 40px 20px 20px;
  }

  #sec4 ul li:nth-child(n+4){
    width: 80%;
  }

  #sec5 .scroll_table {
    max-width: 1000px;
    overflow: auto;
    white-space: nowrap;
    margin: 0 auto;
   }
  #sec5 .scroll_table table {
    width: 100%;
    margin: 5%;
  }
  #sec5 table tr:last-child td p{
    width: 100%;
    white-space: break-spaces;
  }
  #sec5 table tr:last-child td {
    padding: 10px;
  }

  #sec8 {
    padding: 60px 0;
  }
  #sec8 h2 {
    padding: 10px;
    font-size: 1.65rem;
    line-height: 4rem;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  #sec8 h2 span {
    font-size: 1.85rem;
  }
  #sec8 > div.h2::before {
    width: 30vw;
    height: 30vw;
  }
  #sec8 div.content:before {
    content: none;
  }
  #sec8 p:after {
    content: none;
  }
  #sec8 p {
    padding: 20px;
    box-shadow: 20px 20px rgba(107, 187, 210, 0.9);
  }
  #sec8 p:before {
    content: none;
  }

  #contact {
    padding: 0 0 20px;
  }
  #contact h3, #info h3 {
      margin: 0 auto 10px;
  }
  #contact > div {
    flex-direction: column;
  }
  #contact > div:before {
    content: none;
  }
  #contact > div > p,
  #contact > div > div {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  #contact > div > div > p {
    text-align: center;
  }
  #contact > div > p:before {
    width: 1em;
    height: 30px;
    background-size: 100%;
  }
}