/*===== ■ KV =====*/
#kv {
  width: 100%;
  height: 500px;
  background-color: #f3f3f3;
  position: relative;
}
#kv .section-inner {
  width: 100%;
  height: 500px;
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
}
#kv h2 {
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  width: 1000px;
  position: absolute;
  top: 470px;
  right: 0;
  left: 0;
  margin: 0 auto;
  z-index: 10;
  background-color: #6cac2d;
  padding: 16px 40px;
  border-radius: 20px;
}
/* スライダー */
.slider-area {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 53.5vh;
}
.slider-item {
  position: absolute;
  inset: 0;
 /*opacity: 0;*/
  z-index: 0;
 /*animation: slideShow 30s linear infinite 0s;}*/

}
/*.slider-item:nth-child(2) {
  animation-delay: 10s;
}
.slider-item:nth-child(3) {
  animation-delay: 20s;
}*/

.slider-item img {
  width: 100%;
  object-fit: cover;
}

/*@keyframes slideShow {
  0% {
    opacity: 0;
    animation-timing-function: ease-in;
  }
  8% {
    opacity: 1;
    animation-timing-function: ease-out;
  }
  20% {
    opacity: 1;
  }
  40%, 100% {
    opacity: 0;
  }
}*/

/*===== ■ お悩みありませんか？ =====*/
#concerns {
  width: 100%;
  background-color: #ffffdd;
  position: relative;
}
#concerns::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -60px;
  width: 140px;
  height: 60px;
  transform: translateX(-50%);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  background-color: #ffffdd;
  z-index: 50;
}
#concerns .sec {
  width: 100%;
  max-width: 1000px;
  padding: 4% 40px;
  margin: 0 auto;
  position: relative;
}
#concerns h2 {
  position: relative;
  font-size: 40px;
  color: #000;
  text-align: center;
  padding-top: 30px;
  margin-bottom: 40px;
  line-height: 1.2;
  letter-spacing: .025em;
  font-weight: 600;
}
#concerns h2 span {
  color: #FF7F00;
}
#concerns h2 em {
  padding: 0 20px;
  background: linear-gradient(transparent 70%, #FFFE03 70%);
}
.concerns_box {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding-left: 50px;
}
.concerns_box figure {
  width: 165px;
}
.concerns_box ul li {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: .025em;
}
.concerns_box ul li {
  background: url(../img/top/concerns_icon.png) no-repeat 0;
  background-size: auto 28px;
  padding-left: 40px;
}
/*===== 5つの特徴 =====*/
#feature {
  width: 100%;
  background: url(../img/common/bg_paper.png) left top;
  position: relative;
}
#feature .sec {
  width: 100%;
  max-width: 1000px;
  padding: 105px 40px;
  margin: 0 auto;
  position: relative;
}
#feature h2 {
  position: relative;
  font-size: 36px;
  color: #000;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: .025em;
  font-weight: 600;
}
#feature h2 span {
  color: #FF7F00;
  font-size: 60px;
  padding-left: 5px;
}
#feature h2 em {
  color: #FF7F00;
  font-size: 36px;
}
.feature_box {
  position: relative;
  counter-reset: num; /* カウンターをリセット（初期化） */
}
.feature_box ul li {
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: center;
  padding-left: 85px;
  margin-bottom: 20px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.6;
  min-height: 65px;
}
.feature_box ul li::before {
  counter-increment: num; /* カウンターの数値を1ずつ増やす */
  content: counter(num); /* 増やした数値を表示する */
  display: inline-block;
  width: 65px;
  height: 65px;
  line-height: 65px;
  background-color: #ff4545;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 48px;
  font-weight: 500;
  position: absolute;
  left: 0;
  top: 0;
}
/*===== ■ ごあいさつ =====*/
#greeting {
  width: 100%;
  background-color: #e5ffb4;
  position: relative;
}
#greeting .sec {
  width: 100%;
  max-width: 1000px;
  padding: 100px 0px 176px;
  margin: 0 auto;
  position: relative;
}
#greeting h2 {
  position: relative;
  font-size: 36px;
  color: #000;
  text-align: center;
  margin-bottom: 2em;
  line-height: 1.2;
  letter-spacing: .025em;
  font-weight: 600;
}
#greeting h2 em {
  padding: 0 5px 8px;
  background: linear-gradient(transparent 90%, #ff4545 90%);
}
#greeting p {
  font-size: 18px;
  line-height: 1.8;
}
#greeting p em {
  color: #ff5926;
  font-weight: bold;
}
/*===== ■ 当塾の対象になる方 =====*/
#target {
  width: 100%;
  background: #ffffdd;
}
#target .sec {
  width: 100%;
  max-width: 1000px;
  padding: 100px 0px 105px;
  margin: 0 auto;
  position: relative;
}
#target h2 {
  position: relative;
  font-size: 36px;
  color: #000;
  text-align: center;
  margin-bottom: 2em;
  line-height: 1.2;
  letter-spacing: .025em;
  font-weight: 600;
}
#target h2 em {
  padding: 0 5px 8px;
  background: linear-gradient(transparent 90%, #ff4545 90%);
}
#target h2 span {
  color: #FF7F00;
}
#target ul {
  width: 100%;
  padding: 0 10px;
  display: flex;
}
#target ul li {
  width: 23.46%;
  margin-right: 2.04%;
  border: 5px solid #6CAC2D;
  position: relative;
}
#target ul li:nth-child(4n) {
  margin-right: 0;
}
#target ul li em {
  display: inline-block;
  position: absolute;
  top: -1px;
  left: 0;
  background: rgba(108, 172, 45, .9);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 10px 20px;
  letter-spacing: .05em;
}
#target ul li p {
  position: absolute;
  width: 100%;
  height: auto;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, .85);
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  padding: 10px 10px;
  line-height: 1.3;
}
/*===== ■ 成績アップ事例 =====*/
#lesson {
  width: 100%;
  background: url(../img/common/bg_paper.png);
}
#lesson .sec {
  width: 100%;
  max-width: 1000px;
  padding: 100px 0px 100px;
  margin: 0 auto;
  position: relative;
}
#lesson h2 {
  position: relative;
  font-size: 36px;
  color: #000;
  text-align: center;
  margin-bottom: 2em;
  line-height: 1.2;
  letter-spacing: .025em;
  font-weight: 600;
}
#lesson h2 em {
  padding: 0 5px 8px;
  background: linear-gradient(transparent 90%, #ff4545 90%);
}
#lesson ul {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}
#lesson ul li {
  background-color: #ffe4d3;
  width: 310px;
  margin-right: 27px;
  border-radius: 20px;
  box-shadow: 8px 8px #c07242;
}
#lesson ul li .lesson-bg {
  background-image: url(../img/top/lesson_bg.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 40%;
  padding: 35px 25px 30px;
  width: 100%;
}
#lesson ul li .lesson-bg h3 {
  color: #a6002b;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.8em;
}
#lesson ul li .lesson-bg p {
  font-size: 1.1em;
  line-height: 1.6;
}
#lesson ul li .lesson-bg p span {
  color: #4a9302;
}
#lesson ul li:last-child {
  margin-right: 0;
}
#lesson .lesson_btn a {
  background-color: #fff;
  color: #000 !important;
  font-weight: bold;
  width: 386px;
  margin: 52px auto 0;
  border-radius: 25px;
  border: solid 3px #c07242;
  box-shadow: 4px 4px #c07242;
}
#lesson .lesson_btn a:hover {
  background-color: #ffe4d3;
  color: #a6002b !important;
}
/*===== よくあるご質問 =====*/
#qa {
  width: 100%;
  background-color: #ffffdd;
}
#qa .sec {
  width: 100%;
  max-width: 1000px;
  padding: 100px 40px 105px;
  margin: 0 auto;
  position: relative;
}
#qa h2 {
  position: relative;
  font-size: 36px;
  color: #000;
  text-align: center;
  margin-bottom: 2em;
  line-height: 1.2;
  letter-spacing: .025em;
  font-weight: 600;
}
#qa h2 em {
  padding: 0 5px 8px;
  background: linear-gradient(transparent 90%, #ff4545 90%);
}
.qa-box {
  max-width: 1000px;
  margin-bottom: 1.4em;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
  background-color: #f9ee7a;
}
.qa-box summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 20px 75px 20px 65px;
  color: #333333;
  font-weight: 600;
  font-size: 21px;
  cursor: pointer;
}
.qa-box summary::before, .qa-box p::before {
  position: absolute;
  left: 0.6em;
}
.qa-box summary::before {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 26px;
  color: #ffffff;
  text-align: center;
  content: "Q";
  background-color: #5f5f5f;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
}
.qa-box summary::after {
  content: "+";
  position: absolute;
  right: 0.4em;
  font-weight: 300;
  font-size: 3em;
  transition: all 0.3s;
  color: #ff4545;
}
.qa-box[open] summary::after {
  content: "-";
  color: #ff4545;
  right: 0.24em;
  top: 0.1em;
  font-weight: 200;
  font-size: 4.8em;
  transform: rotate(180deg);
}
.qa-box p {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: 1.6em 2em 2em 3.6em;
  color: #333;
  font-size: 18px;
  line-height: 1.4;
  transition: transform .5s, opacity .5s;
}
.qa-box[open] p {
  transform: none;
  opacity: 1;
}
.qa-box p::before {
  font-family: Arial, Helvetica, sans-serif;
  top: 0.8em;
  font-weight: 500;
  font-size: 26px;
  color: #ffffff;
  text-align: center;
  content: "A";
  background-color: #d34d1f;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
}
#qa .qa_btn a {
  background-color: #fff;
  color: #000 !important;
  font-weight: bold;
  width: 300px;
  margin: 55px auto 0;
  border-radius: 25px;
  border: solid 3px #ff4545;
  box-shadow: 4px 4px #ff4545;
}
#qa .qa_btn a:hover {
  background-color: #ffe4d3;
  color: #ff4545 !important;
}
@media screen and (max-width:900px) {
  /* お問い合わせ */
  #chara-inner .contact-box {
    width: 100%;
  }
}
/*===== responsive =====*/
@media screen and (max-width:800px) {
  #kv {
    width: 100%;
    height: 100vw;
  }
  #kv .section-inner {
    width: 100%;
    height: 100vw;
    max-width: 100%;
  }
  #kv h2 {
    position: relative;
    font-size: 18px;
    line-height: 1.4;
    width: 100%;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 5px 10px;
    border-radius: 0px;
  }
  .slider-area {
    height: 100vh;
    max-height: 24.5vh;
  }
  #concerns {
    padding-top: 30px;
  }
  #concerns .sec {
    padding: 0px 20px 40px;
  }
  #concerns h2 {
    font-size: 24px;
  }
  .concerns_box {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding-left: 0%;
    padding-right: 0%;
    flex-direction: column;
  }
  .concerns_box ul li {
    font-size: 18px;
    line-height: 1.6;
    background: url(../img/top/concerns_icon.png) no-repeat 0 20%;
    margin-bottom: 10px;
  }
  #concerns::after {
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 45px;
    bottom: -45px;
  }
  #feature .sec {
    padding: 80px 20px 40px;
    margin: 0 auto;
    position: relative;
  }
  #feature h2 {
    font-size: 30px;
    margin-bottom: 50px;
    letter-spacing: .025em;
    font-weight: 600;
  }
  #feature h2 span {
    font-size: 40px;
    padding-left: 5px;
  }
  #feature h2 em {
    font-size: 30px;
  }
  .feature_box ul li {
    font-size: 18px;
  }
  .feature_box ul li {
    padding-left: 45px;
    margin-bottom: 20px;
    font-size: 18px;
    min-height: 65px;
  }
  .feature_box ul li::before {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 24px;
    left: 0;
    top: 0;
  }
  #greeting .sec {
    padding: 50px 20px 40px;
    margin: 0 auto;
    position: relative;
  }
  #greeting h2 {
    font-size: 30px;
  }
  #greeting h2 {
    font-size: 30px;
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: .025em;
    font-weight: 600;
  }
  #target .sec {
    padding: 50px 0px 40px;
  }
  #target h2 {
    font-size: 30px;
    line-height: 1.4;
    margin-bottom: 40px;
  }
  #target h2 em {
    padding: 0 8px;
  }
  #target ul {
    margin-bottom: -10px;
    display: flex;
    flex-wrap: wrap;
  }
  #target ul li {
    width: 49%;
    margin-right: 2%;
    margin-bottom: 10px;
  }
  #target ul li:nth-child(2n) {
    margin-right: 0;
  }
  #target ul li img {
    width: 100%;
  }
  #target ul li em {
    font-size: 16px;
    padding: 10px 20px;
  }
  #target ul li p {
    font-size: 12px;
    padding: 5px 5px;
  }
  #target ul li p br {
    display: none;
  }
  #target ul li:last-child p br {
    display: block;
  }
  #lesson .sec {
    padding: 50px 20px 80px;
  }
  #lesson h2 {
    font-size: 30px;
    line-height: 1.4;
    margin-bottom: 40px;
    letter-spacing: .025em;
  }
  #lesson ul {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }
  #lesson ul li {
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }
  #lesson .lesson_btn a {
    width: 100%;
  }
  #qa .sec {
    padding: 50px 20px 80px;
  }
  #qa h2 {
    font-size: 30px;
    line-height: 1.4;
    margin-bottom: 40px;
    letter-spacing: .025em;
  }
  #qa .qa_btn a {
    width: 100%;
  }
  .qa-box summary {
    font-size: 16px;
    padding: 1.2em 3.6em 1.2em 3.6em;
    line-height: 1.2;
  }
  .qa-box summary::before {
  font-size: 24px;
  width: 30px;
  height: 30px;
  line-height: 30px;
}
.qa-box p::before {
  top: 0.8em;
  font-size: 24px;
  width: 30px;
  height: 30px;
  line-height: 30px;
}
}