
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


video {
  max-width: 100%;/* はみ出ないように */
}


body {
    width: 780px;
    margin: 0 auto;
    background-color: #fff;
}


@media screen and (max-width: 767px){
body {
    width: 100%;
}
}
      
h3{
  font-family:  '游明朝 Medium', serif;;
  text-align: center;
}


.inner {
    margin:0 auto;
    text-align: center;
    width: 100%;
    max-width: 800px;
}


@media screen and (max-width: 767px){
.inner {
    max-width: initial;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}
}

p{
  font-size: 20px;
}


img {
    vertical-align: bottom;
    width: 100%;
}

.wrapp{
  width: 100%;
  margin: 0 auto;
}

.headerimg{
  width: 100%;
}

#title {
  width: 58%;
  float: left;
}

ul{
display: flex;
list-style: none;
}

.telimages{
  padding-left: 24px;
}

.topheader{
  padding-top: 8px;
  padding-left: 8px;
  padding-right: 8px;
}

.titleimage{
  width: 100%;
}

.renewal-title{
    color: #004f9f;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0;
    text-align: center;
}

@media screen and (max-width: 768px){
.renewal-title {
    font-size: 25px;
    padding-top: 8px;
    padding-bottom: 8px;
}
}

#renewal {
    text-align: center;
}

.renewal-text{
    color: #004f9f;
    font-weight: bold;
    font-size: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.marker-normal {
    background: linear-gradient(transparent 75%, #ffff7f 75%);
  }

.englishtest{
  padding-top: 34px;
  padding-bottom: 34px;
}

.ageimage{
  padding-left: 8px;
  padding-right: 8px;
  padding-bottom: 24px;
  padding-top: 8px;
}

.eikenimage{
  padding-left: 32px;
  padding-right: 32px;
  padding-top: 24px;
  padding-bottom: 24px;
  
}

/* 選ばれる５つの理由　*/


.features{
    padding-top: 48px;
    padding-bottom: 48px;
  }
  
  .top-feature-content {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom:64px;
    align-items: center;
  }
  
  
  .top-feature-main-left {
    width: 400px;
  }
  
  
  
  .top-feature-content-main-left-title {
    align-items: center;
    margin-bottom: 25px;
  }
  
  #page.top-feature-reason-num {
    position: relative;   
    width: 92px;
    height: 92px;
    top: unset;
    left: unset;
    margin-right: 10px;
  }
  
  span#page.top-feature-reason-num {
    font-size: 36px;
    font-weight: 400;
  }
  
  .top-feature-content-main-left-text {
    font-size: 15px;
    line-height: 2.1em;
    font-weight: 500;
    text-align: left;
  }
  
  .top-feature-main-right {
    width: 350px;
    position: relative;
  }
  
  
  
  .top-feature-main-right-img {
    width: 100%;
    position: relative;
  }
  
  .top-feature-content:nth-child(even) .top-feature-main-left {
    order: 1;
  }
  
  @media screen and (max-width: 767px){
  .top-feature-content {
    display: block;
    margin-top: 40px;
    margin-bottom: 58px;
  }
  
  .top-feature-main-right-img{
    max-width: 80% !important;
      margin: 0 auto;
  }
  
  
  .top-feature-main-left {
    width: 100%;
    max-width: 100%;
  }
  
  .top-feature-content-main-left-title {
    margin-bottom: 10px;
  }
  
  .top-feature-content-main-left-text {
    line-height: 1.8;	
  }
  
  .top-feature-main-right {
    width: 100%;
    margin-top: 10px;
  }
  
  .top-feature-main-right-shadow {
    right: -14px;
    bottom: -14px;
  }	
  
  .features{
    padding-top: 24px;
    padding-bottom: 0px;
  }
  }
  
  
  .heading-024 {
    position: relative;
    padding-top: 0.5em;
    color: #333333;
    font-size: 1.5em;
    margin-top: 30;
    z-index: 2;
  }
  
  
  .heading-024::before {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    color: #f0d18f;
    font-size: 4em;
    line-height: 1;
    content: attr(data-number);
    pointer-events: none;
  }
  
  

  .systemimage{
    padding-top: 8px;
    padding-bottom: 24px;
  }

/* 料金　*/

  table {
    margin: 44px auto 0;
    width: 600px;
    text-align: center;
    border-collapse: collapse;
}
caption {
	margin-bottom: 0.6em;
}
table th, table td {
	border: solid 1px #eee;
	padding: 1em 1.2em;
	text-align: center
}
th {
	background-color: #f4f5f6;
	font-weight: 600;
	text-align: left;
}

.grade-price-junior th {
    background-color: #FBAA31 ;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.price-evreyweek-junior th {
    background-color: #F36304;
    font-weight: 600;
	color: #fff;
	font-size: 12px;
}

.grade-price-other th {
    background-color: #333333 ;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.campaign-box th {
    background-color: #FF6D1A ;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}


td:first-of-type {
    background-color: #f4eee3;
    font-weight: 600;
}

table td {
   border: 1px solid #d5d5d5;
    padding: 0.5rem 1rem;
}

.price-detail {
    color: #333;
    font-size: 13px;
    line-height: 1.8;
    margin-top: 4px;
    width: 600px;
    margin: 4px auto 0;
}

@media screen and (max-width: 767px){
#price-list table {
    width: 100%;
}
.price-detail{
    width: 100%; 
}

.time-sche-wrap {
    overflow-x: scroll;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

}

/* よくあるご質問　*/

.Qa-Box {
    width: 80%;
    margin: 0 auto;
  }
  
  .Qa-Box .Qa {
    padding: 20px 0;
    border-bottom: 1px solid #c8c8c8;
  }
  
  .Qa-Box .Qa dt,
  .Qa-Box .Qa dd {
    display: flex;
    align-items: baseline;
    margin: 15px 0;
  }
  
  .Qa-Box .Qa dt p {
    margin: 0;
    padding-left: 15px;
    font-weight: bold;
    width: 100%;
  }
  
  .Qa-Box .Qa dd p {
    margin: 0;
    padding-left: 15px;
    width: 100%;
  }
  
  .Qa-Box .Qa:last-of-type {
    border-bottom: none;
  }
  
  .Qa-Box .Qa dt::before {
    content: "Q";
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #6699b7;
    width: 2em;
    height: 2em;
  }
  
  .Qa-Box .Qa dd::before {
    content: "A";
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #d65556;
    width: 2em;
    height: 2em;
  }
  
  @media screen and (max-width: 960px) {
    .Qa-Box {
      width: 95%;
    }
  }
  
/* 問い合わせ　*/

  .contact{
    padding-bottom: 48px;
  }
  
  .contact form {
    text-align: left;
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
    margin-top: 24px;
  }
  
  .contact form div {
    margin-bottom: 20px;
  }
  
  .contact form label {
    display: block;
    letter-spacing: 0.07em;
    padding-left: 10px;
  }
  
  .contact form input, .contact form textarea {
    background: #fff;
    border-radius: 10px;
    font-size: 1.2rem;
    padding: 10px 0 10px 20px;
    margin-top: 5px;
    width: 100%;
    border: 1px solid var(--white);
  }
  
  .contact form input[type=submit] {
    padding-left: 0;
    background: rgb(17, 25, 190);
    background: linear-gradient(90deg, rgb(17, 25, 190) 0%, rgb(17, 25, 190) 100%);
    color: #fff;
    letter-spacing: 0.07em;
    margin: 0 auto;
  }
  
  .contact-bg {
    background-color: rgba(138, 128, 229, 0.122);
  }
  
/* CTA　*/

  .cta{
    background-color: #ECEBD4;
  }
  
  .ctacotainer{
    padding-top: 48px;
    padding-bottom: 48px;
  }
  
  
  
  .sales-tel .blocks {
      display: flex;
      justify-content: center;
      align-items: center;
  }
  
  .sales-tel__no a {
      display: block;
      white-space: nowrap;
  }
  
  .sales-tel__no img {
      display: inline-block;
      width: 400px;
      vertical-align: middle;
      padding-top: 24px;
  }
  
  .sales-tel .block:last-child {
      padding-top: 8px;
  
  }
  
  .sales-tel__time p {
      padding: 8px 20px;
      border-radius: 20px;
      background-color: #eee;
      font-size: 16px;
      font-weight: 500;
      text-align: center;
  }
  
  .admission_fee_txt {
      position: relative;
      z-index: 5;
      margin: 35px auto auto;
      text-align: center;
      font-size: 28px;
      font-weight: 700;
      color: #D07F00;
  }
  
  .text {
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      z-index: 5;
      margin: 15px auto auto;
      text-align: center;
      font-size: 28px;
      font-weight: 700;
      color: #D07F00;
    }
    .text:before,
    .text:after {
      border-top: 1px solid #D07F00;
      content: "";
      width: 100px; 
    }
    .text:before {
      margin-right: 10px; 
    }
    .text:after {
      margin-left: 10px; 
    }
    
    .sp {
      display: none;
  }
  
  @media (max-width: 767px){
  .pc {
      display: none;
  }
  
  .text:before,
  .text:after {
    width: 0px; 
  }
  }
  
  @media (max-width: 767px){
  .sp {
      display: block;
      
  }
  
  .button{
    width: 100%;
  }
  
  .ctacotainer{
  width: 100%;
  }
  
  .sales-tel .blocks {
    display: block;
  }
  
  .sales-tel__no a {
    margin: 0;
    text-align: center;
  }
  
  .sales-tel__no img {
    width: 80%;
  }
  
  
  .sales-tel__time p {
    display: inline-block;
    padding: 5px;
    font-size: 2.66667vw;
    font-weight: 700;
    white-space: nowrap;
  }
  
  .sales-tel__time{
    padding-top: 8px;
  }
  
  
  .text {
      line-height: 1.35;
      margin-top: 6%;
      font-size: 4.53333vw;
  }
  
  .cp {
    padding-top: 24px;
    padding-bottom: 0px;
  }
  
  .worksimg{
    width: 100%;
  }
  
  }

  /* Footer */

footer {
  width: 100%;
  background-color: #0b2846;
  color: #fff;
  display: flex;
  justify-content: center;
  padding-top: 24px;
  padding-bottom: 24px;
}