@charset "utf-8";

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
.maincontents{
  line-height: 1.75;
  font-size: medium;
  margin-bottom: 4em;
  max-width: 840px;
}
.maincontents a{
  transition: all .3s;
  -webkit-transition: all .3s;
}
.maincontents h2{
  border: none;
  background: transparent;
}
.article-contain{
  margin: 2em 0 4em;
}
.article-box{
  background: #f6f7ef;
  border-radius: 20px;
  box-shadow: 0px 8px 20px 0px rgb(106 149 154 / 0.4);
  position: relative;
  padding: 60px 30px 50px 30px;
  border: 3px solid #67A2AB;
}
.article-box h2{
  position: absolute;
  top: 0px;
  left: 0px;
  margin: 0;
  background: linear-gradient(to right, #00545A, #67A2AB);
  width: 100%;
  border-radius: 17px 20px 0 0;
  color: #fff;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  padding: 16px 20px;
  border-bottom: 3px solid #67A2AB;
  font-size: 22px;
}

.article-box h2 span{
  position: absolute;
  display: block;
  top: 0px;
  right: 0px;
  border-radius: 0 20px 0 0;
  padding: 16px;
  color: #02555b;
  background: #fff;
}

.article-box h3{
  line-height: 1.7;
  font-family: serif;
  font-weight: 700;
  color: #02555b;
  font-size: 22px;
}
.article-box h3 a{
  color: #02555b;
  display: inline-block;
}
.article-box h3 a:hover{
  text-decoration: none;
  color :#438f9a;
}

.article-teacher{
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
}

.article-box a.more{
  float: right;
}

.article-box a.more::before {
  top: 0;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  margin: auto -95px auto auto;
  content: "";
  transform: rotate(45deg);
  border-top: 3px solid;
  border-right: 3px solid;
  border-radius: 2px;
  display: inline-block;
}

.h2-box{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.h2-pic-inner img{
  max-width: 134px;
}

.maincontents h1{
  padding: 0;
  background-color: transparent;
}
h2.head2{
  color: #3C2568;
  font-family: serif;
  font-weight: 700;
  margin: 1em 0.5em 0.5em 0.5em;
  line-height: 1.5;
  font-size: 28px;
}
p.teacher{
  text-align: right;
  font-weight: 700;
  font-size: 18px;
}
.counter-reset{
  counter-reset: number;
}
.head3-box{
  border: 1px solid #624983;
  margin-top: 4em;
  margin-bottom: 1em;
}
h3.head3{
  font-weight: 700;
  background: #e0cee3 url(../images/head-pic.png) no-repeat;
  background-size: contain;
  background-position: bottom right;
  border-left: 44px solid #fff;
  margin: 0;
  position: relative;
  padding: 6px 10px;
  line-height: 1.4;
}
h3.head3::before{
  counter-increment: number;
  content: counter(number);
  font-family: serif;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-200%, -50%);
}
.maincontents section p{
  font-family: serif;
  text-indent: 1em;
}
.maincontents section strong{
  font-family: sans-serif;
}
.student-voice-box{
  margin: 3em 0;
  border: 5px solid #E0DACA;
  position: relative;
  padding: 15px 12px 15px 20px;
  box-shadow: rgba(0, 0, 0, 0.1) 4px 4px 4px -1px, rgba(0, 0, 0, 0.06) 0px 2px 2px -1px;
}
.student-voice-box img{
  position: absolute;
  width: 86px;
  top: -30px;
  left: 5px;
}
.student-voice-box ul{
  padding: 0;
  margin: 0;
  list-style: none;
}
.student-voice-box li{
  text-indent: -0.9em;
  margin-left: 0.9em;
  line-height: 1.9;
}
.student-voice-box li::before{
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #C4BCA8;
  display: inline-block;
  margin-right: 4px;
}
h4.head4{
  color: #452D6E;
  font-weight: 700;
  text-indent: -1em;
  margin-left: 1em;
  line-height: 1.4;
  margin-top: 2em;
}
h4.head4::before{
  content: '';
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #8775A2;
  display: inline-block;
  margin-right: 6px;
}
.other-box{
  border: #239DA4 solid 1px;
  position: relative;
  padding: 60px 30px 15px;
  background: #F7F5EF;
  margin-top: 6em;
}
h3.other-head{
  color: #fff;
  font-weight: 700;
  font-size: 24px;
  background: linear-gradient(to right, #00545A, #67A2AB);
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  padding: 10px;
}
h4.other-head2{
  color :#007C86;
  font-weight: 700;
  font-size: 18px;
  border-bottom: 1px solid #49AAAF;
  padding-bottom: 2px;
}
.maincontents section .other-box p{
  font-family: sans-serif;
}

.maincontents section figure{
  margin: 2em 0;
}

.inquiry-container{
  margin-top: 6em;
  text-align: center;
}
.inquiry-container p{
  font-size: 14px;
}
.inquiry-btn{
  border: 1px solid #767979;
  padding: 12px 50px;
  display: inline-block;
  -webkit-box-shadow: 4px 4px 0 #767979;
  box-shadow: 4px 4px 0 #767979;
  color: #767979;
}
.inquiry-btn:hover{
  -webkit-box-shadow: -4px -4px 0 #006976;
  box-shadow: -4px -4px 0 #006976;
  text-decoration: none;
  color: #006976;
  border: 1px solid #006976;
}


.mt1-8:not(:root){
  margin-top: 1.8em;
}
.mt2:not(:root){
  margin-top: 2em;
}
.mt3:not(:root){
  margin-top: 3em;
}

@media (max-width: 480px){
  h2.head2 {
    font-size: 20px;
  }
  p.teacher {
    font-size: 14px;
  }
  .h2-box{
    flex-direction: column-reverse;
  }
  .article-box{
    padding: 55px 30px 55px 20px;
  }
  .article-box h2 {
    font-size: 18px;
  }
  .article-box h3 {
    font-size: 20px;
  }
  .article-teacher {
    font-size: 14px;
  }
}
