@charset "UTF-8";

/* First view ---------------------------- */
#f_view {
  height: 200px;
  background: url(../imgs/class/bg_header.png) top 30px right 40px no-repeat;
}
/* Main area ----------------------------- */
main p {
  line-height: 1.8;
  margin: 30px 0;
}
h2+p {
  text-align: center;
  margin: 75px 0 60px 0;
}

ul.class {
  display: flex;
  gap: 0 40px;
  width: 1100px;
  margin: 0 auto;
}
ul.class li {
  flex: 1;
}
ul.class a {
  display: block;
  margin: 0;
  padding: 36px 40px 55px 40px;
  border-bottom: 5px solid #000000;
  text-align: center;
}
ul.class a p {
  margin: 20px 0;
}
ul.class a p.name {
  font-size: 30px;
  font-weight: 900;
  line-height: normal;
  letter-spacing: .26em;
}
ul.class a p.name span {
  display: block;
  font-size: 20px;
}
ul.class a p.en {
  font-family: 'fredoka';
  margin: -10px 0 0 0;
  font-size: 20px;
  letter-spacing: .2em;
}
ul.class a p.age {
  width: 60%;
  border-radius: 30px;
  padding: 5px 10%;
  margin: 18px auto;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .2em;
  color: #fff;
}
ul.class a p.age span {
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000,
    -1px 1px 0 #000, 1px -1px 0 #000,
    0px 1px 0 #000, 0-1px 0 #000,
    -1px 0 0 #000, 1px 0 0 #000;
}
.class li:nth-of-type(1) a {
  border-top: 10px solid var(--red);
  background: url(../imgs/arrow_red.png) center bottom 40px no-repeat #fff;
  background-size: 22px auto;
}
.class li:nth-of-type(1) a p.age {
  background: var(--red);
}
.class li:nth-of-type(1) a p.en {
  color: var(--red);
  opacity: 56%;
}
.class li:nth-of-type(2) a {
  border-top: 10px solid var(--green);
  background: url(../imgs/arrow_gr.png) center bottom 40px no-repeat #fff;
  background-size: 22px auto;
}
.class li:nth-of-type(2) a p.age {
  background: var(--green);
}
.class li:nth-of-type(2) a p.en {
  color: var(--green);
  opacity: 63%;
}
.class li:nth-of-type(3) a {
  border-top: 10px solid var(--blue);
  background: url(../imgs/arrow_blue.png) center bottom 40px no-repeat #fff;
  background-size: 22px auto;
}
.class li:nth-of-type(3) a p.age {
  background: var(--blue);
}
.class li:nth-of-type(3) a p.en {
  color: var(--blue);
  opacity: 60%;
}
.class li a:hover {
  background-position: center bottom 30px;
  background-size: 22px auto;
}

.class_exp {
  padding: 0;
}
.class_exp p {
  margin: 15px 0;
  text-align: center;
  line-height: 1.8;
}
img.how {
  display: block;
  margin: 50px auto 0 auto;
}
.class_exp h3 {
  font-size: 36px;
  font-weight: 900;
  text-align: center;
  letter-spacing: .2em;
  line-height: 2em;
  padding: 80px 0 0 0;
}
.class_exp h3 span {
  display: inline;
  border-radius: 30px;
  padding: 5px 50px;
  margin: 0 auto;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .2em;
  color: #fff;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000,
    -1px 1px 0 #000, 1px -1px 0 #000,
    0px 1px 0 #000, 0-1px 0 #000,
    -1px 0 0 #000, 1px 0 0 #000;
}
#deeper h3 span {
  background: var(--red);
}
#upper h3 span {
  background: var(--green);
}
#beyond h3 span {
  background: var(--blue);
}
.class_exp h3 img {
  padding: 10px 40px;
  border-radius: 20px;
}

.detail {
  width: 660px;
  background: #fff;
  padding: 50px 70px;
  margin: 70px auto 0 auto;
  border-radius: 22px;
}
.detail h4 {
  font-family: var(--en2);
  font-size: 25px;
  letter-spacing: .2em;
  line-height: 1.1;
  padding-top: 5px;
}
.detail h4 span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1em;
}
.detail p {
  margin: 0 0 10px 0;
  font-size: 16px;
  text-align: left;
  line-height: 1.6;
}
.detail th,
.detail td {
  border-bottom: 2px dashed #dee2cf;
  padding: 22px 30px 20px 30px;
  font-size: 16px;
}
.detail ul {
  list-style: none;
}
.detail ul li {
  margin: 4px 0;
}
.detail ul li:before {
  content: '・';
}
.detail ul:first-child {
  margin-bottom: 12px;
}

#deeper h3 {
  background: url(../imgs/class/bg_deeper-class.png) center center no-repeat;
  color: var(--red);
}
#deeper h3 img {
  background: var(--red);
}
#deeper .detail {
  border: 4px solid var(--red);
}
#deeper .detail h4 {
  background: url(../imgs/class/bg_marker_red.png) center center no-repeat;
}

#upper h3 {
  background: url(../imgs/class/bg_upper-class.png) center center no-repeat;
  color: var(--green);
}
#upper h3 img {
  background: var(--green);
}
#upper .detail {
  border: 4px solid var(--green);
}
#upper .detail h4 {
  background: url(../imgs/class/bg_marker_gr.png) center center no-repeat;
}
#upper .detail a {
  border-bottom: 4px solid #ddf2e8;
  padding: 0 2px;
}

#beyond h3 {
  background: url(../imgs/class/bg_beyond-class.png) center center no-repeat;
  color: var(--blue_tx);
}
#beyond h3 img {
  background: var(--blue);
}
#beyond .detail {
  border: 4px solid var(--blue);
}
#beyond .detail h4 {
  background: url(../imgs/class/bg_marker_blue.png) center center no-repeat;
}
#beyond .detail a {
  border-bottom: 4px solid #def5f7;
  padding: 0 2px;
}

/* feature area -------------------------*/
.feature {
  position: relative;
  width: 1200px;
  margin: 100px auto;
  padding: 90px 0 100px 0;
  background: #fff;
  text-align: center;
  border-radius: 20px;
}
.feature h4 {
  font-size: 23px;
  letter-spacing: .2em;
  font-weight: 900;
  margin: 120px auto 50px auto;
}
.feature p {
  margin: 30px 0;
}
.feature img {
  margin: 25px 0 20px 0;
}
.feature figure {
  margin: 20px 0 0 0;
}
.feature figcaption {
  font-size: 12px;
  color: #979797;
  letter-spacing: .1em;
}
img.feature_index {
  margin: 20px 0 -40px 0;
}
#textbook h4 {
  font-size: 18px;
  font-weight: normal;
  margin: 80px 0 30px 0;
}

.repeat {
  position: relative;
  width: 1000px;
  margin: 110px auto 80px auto;
  padding: 60px 0 40px 0;
  border-radius: 18px;
  background: #fff;
  border: 4px solid #f8e6e5;
}
.repeat h5 {
  position: absolute;
  right: 0;
  left: 0;
  top: -22px;
  margin: 0 auto;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: .25em;
}
.repeat h5 span {
  background: #fff;
  padding: 0 30px;
}
.repeat p {
  margin: 20px 0;
}
.repeat em {
  color: var(--red);
  font-weight: normal;
}
.repeat img {
  margin: 0;
}
p.example {
  font-family: var(--en2);
  font-size: 30px;
  letter-spacing: .2em;
  line-height: 1;
}
p.example b {
  background: #fff9b6;
  color: var(--red);
  padding: 0 0 0 4px;
}

#textbook p.label {
  background: #f8e6e5;
  color: #f2bab8;
}

#learning_point p.label {
  background: #ddf2e8;
  color: #8adeb7;
}
#learning_point h4 {
  margin-top: 80px;
}
#learning_point h4 span {
  padding: 0 20px 20px 30px;
  background: url(../imgs/class/bg_marker_gr2.png) center bottom no-repeat;
  background-size: 100% auto;
}
#learning_point em {
  color: var(--green_tx);
}

#sec_2 {
  background: #fff;
  padding: 30px 0 100px 0;
  margin: 130px 0 0 0;
}
#school_map {
  text-align: center;
  margin: 0 0 70px 0;
}
#school_map iframe {
  border-radius: 20px;
  border: none;
}
ol#school_add {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  gap: 50px;
  padding-left: 0;
}
ol#school_add li {
  width: 270px;
  text-align: center;
}
ol#school_add h3 {
  font-size: 20px;
  font-weight: 900;
  border-bottom: 4px solid #fdbbb9;
  padding: 0 0 20px 0;
  margin: 0 0 20px 0;
  line-height: 1;
}
ol#school_add h3 span {
  font-family: var(--en2);
  color: #fff;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000,
    -1px 1px 0 #000, 1px -1px 0 #000,
    0px 1px 0 #000, 0-1px 0 #000,
    -1px 0 0 #000, 1px 0 0 #000;
  border-radius: 50%;
  background: var(--red);
  display: block;
  width: 30px;
  line-height: 30px;
  margin: 0 auto;
  font-size: 16px;
}
p.address {
  font-size: 16px;
  margin: 10px 0;
  line-height: 1.6;
}
p.memo {
  font-size: 12px;
  margin: 10px 0;
  line-height: 1.5;
}
p.googlemap {
  font-size: 12px;
  font-family: var(--en2);
  letter-spacing: .04em;
  margin: 20px 0;
}
p.googlemap a {
  border: 1px solid #000;
  border-radius: 20px;
  padding: 4px 20px;
}
p.googlemap a:hover {
  background: #f8e6e5;
  border: 1px solid #5e5e5e;
}
p.googlemap a:after {
  content: '>';
  margin: 0 0 0 6px;
}
#sec_3 .inner {
  padding: 20px 0 90px 0;
  text-align: center;
}
#sec_3 img {
  margin: 60px 0 20px 0;
}
p.note {
  margin: 50px 0 0 0;
}
p.note span {
  background: #f9f6d8;
  padding: 20px 100px;
  font-size: 16px;
}
img#nico {
  margin: 0 2px;
  vertical-align: middle;
}
/* Free trial lesson */
#sec_3 .feature {
  width: 860px;
  padding: 100px 120px;
}
#sec_3 .feature h3 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .2em;
}
#sec_3 .feature h3 span {
  background: url(../imgs/line_blue.png) center bottom no-repeat;
  background-size: 100% auto;
  padding: 0 30px 10px 30px;
}
#sec_3 .feature h4 {
  border-bottom: 4px solid var(--blue);
  padding: 65px 0 15px 0;
  margin: 60px 0 0 0;
}
#sec_3 .feature h4:nth-of-type(1) {
  background: url(../imgs/class/step_1.png) top center no-repeat;
  background-size: 40px auto;
}
#sec_3 .feature h4:nth-of-type(2) {
  background: url(../imgs/class/step_2.png) top center no-repeat;
  background-size: 40px auto;
}
#sec_3 .feature h4:nth-of-type(3) {
  background: url(../imgs/class/step_3.png) top center no-repeat;
  background-size: 40px auto;
}
#free_trial ul {
  display: flex;
  justify-content: center;
  align-items: center;
}
#free_trial ul li {
  width: 300px;
  font-weight: 900;
  font-size: 16px;
  padding: 10px 0;
}
#free_trial ul li img {
  margin: 15px 0;
}
#free_trial ul li:first-child {
  font-family: var(--en);
  font-size: 23px;
  line-height: 1;
  border-right: 4px dashed #d7f6fa;
}
#free_trial ul li:first-child span {
  font-size: 13px;
}
#free_trial p.label {
  background: #d7f6fa;
  color: #90d5e2;
}


@media screen and (max-width:768px) {
  /* First view  */
  #f_view {
    height: 200px;
    background: url(../imgs/class/bg_header_sp.png) bottom 10px right no-repeat;
    background-size: 160px auto;
  }
  /* Class card */
  h2+p br {
    display: none;
  }
  ul.class {
    display: flex;
    box-sizing: border-box;
    gap: 3%;
    width: 100%;
    margin: 0 auto;
  }
  ul.class li {
    width: 90%;
    margin: 0 auto 15px auto;
  }
  ul.class a {
    display: block;
    margin: 0;
    padding: 10px 5% 25px 5%;
    height: 120px;
  }
  ul.class a p {
    margin: 0;
  }
  ul.class a p.name {
    font-size: 16px;
    letter-spacing: .1em;
  }
  ul.class a p.name span {
    display: inline-block;
    font-size: 14px;
  }
  ul.class a p.en {
    font-family: var(--en);
    margin: 5px 0;
    font-size: 10px;
    letter-spacing: .1em;
    line-height: 1.4;
  }
  ul.class a p.age {
    width: auto;
    border-radius: 20px;
    padding: 4px 4px;
    margin: 2px auto;
    font-size: 10px;
    letter-spacing: .1em;
  }
  .class li:nth-of-type(1) a,
  .class li:nth-of-type(2) a,
  .class li:nth-of-type(3) a {
    background-position: center bottom 10px;
    background-size: 17px auto;
  }
  .class li a:hover {
    background-position: center bottom 6px;
    background-size: 17px auto;
  }
  /* Class_exp */
  .class_exp {
    padding: 0;
  }
  .class_exp h3 {
    font-size: 24px;
    padding: 80px 0 0 0;
  }
  .class_exp h3 span {
    padding: 5px 30px;
    margin: 0 auto;
    font-size: 13px;
  }
  .class_exp p {
    line-height: 1.6;
  }
  .class_exp p br {
    display: none;
  }
  #deeper h3,
  #upper h3,
  #beyond h3 {
    background-size: 100% auto;
  }
  #deeper .detail h4,
  #upper .detail h4,
  #beyond .detail h4 {
    background-size: contain;
  }
  /* 各クラスの詳細 */
  .detail {
    width: 90%;
    padding: 30px 5%;
    margin: 50px auto 0 auto;
    border-radius: 22px;
  }
  .detail h4 {
    font-size: 23px;
  }
  .detail h4 span {
    font-size: 13px;
  }
  .detail th {
    display: block;
    font-size: 16px;
    padding: 20px 5% 5px 5%;
  }
  .detail td {
    display: block;
    border-bottom: none;
    padding: 20px 5%;
  }
  .detail td.td_cnt {
    text-align: center;
  }
  .detail td ul li {
    text-indent: -1em;
    margin-left: .8em;
  }

  /* feature area */
  .feature {
    width: 90%;
    margin: 50px auto;
    padding: 50px 5%;
  }
  .feature h4 {
    font-size: 16px;
    margin: 30px auto 30px auto;
  }
  .feature h4 span {
    padding: 20px 0;
  }
  .feature p {
    margin: 20px 0;
    text-align: justify;
    font-size: 15px;
  }
  .feature figure {
    margin: 20px 0 0 0;
  }
  img.feature_index {
    width: 150px;
    height: auto;
    margin: 0 0 -10px 0;
  }
  /* Repeat */
  .repeat {
    width: 88%;
    margin: 60px auto 30px auto;
    padding: 60px 4% 30px 4%;
  }
  .repeat h5 {
    font-size: 18px;
    letter-spacing: .1em;
  }
  .repeat h5 span {
    padding: 0 20px;
  }
  .repeat p.example {
    font-size: 20px;
    line-height: 1.6;
    text-align: center;
  }
  /* school_map */
  #school_map iframe {
    width: 100%;
  }
  ol#school_add {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }
  ol#school_add li {
    width: 48%;
    margin-bottom: 25px;
  }
  ol#school_add li h3 {
    font-size: 17px;
    padding: 0 0 10px 0;
    margin: 0;
  }
  p.address {
    font-size: 15px;
    text-align: center;
    letter-spacing: .04em;
  }
  p.memo {
    letter-spacing: .02em;
  }
  /* Free trial lesson */
  #sec_3 .feature {
    width: 84%;
    padding: 50px 8%;
  }
  #sec_3 .feature h3 {
    font-size: 20px;
  }
  #sec_3 .feature h4 {
    padding: 45px 0 5px 0;
    margin: 50px 0 0 0;
    letter-spacing: .1em;
  }
  #sec_3 .feature h4:nth-of-type(1),
  #sec_3 .feature h4:nth-of-type(2),
  #sec_3 .feature h4:nth-of-type(3) {
    background-size: 32px auto;
  }
  #sec_3 p {
    text-align: justify;
  }
  #sec_3 p br {
    display: none;
  }
  #sec_3 p.note {
    margin: 30px 0 0 0;
  }
  #sec_3 p.note span {
    display: block;
    width: 80%;
    background: #f9f6d8;
    padding: 20px 10%;
    font-size: 15px;
    letter-spacing: .06em;
  }
  #sec_3 img:nth-of-type(2) {
    width: 160px;
    height: auto;
  }
  #sec_3 #free_trial p {
    text-align: justify;
  }
  #sec_3 #free_trial p br {
    display: none;
  }
  #sec_3 #free_trial ul {
    display: flex;
    flex-direction: column;
  }
  #sec_3 #free_trial ul li {
    width: 100%;
    font-size: 16px;
    padding: 10px 0;
  }
  #sec_3 #free_trial ul li:first-child {
    font-size: 20px;
    border-right: none;
  }
  #sec_3 #free_trial ul li img {
    width: 30px;
    height: auto;
    margin: 15px 0 0 0;
  }




}