
html {
  font-size: 16px !important;
}

body {
  font-size: 1rem !important;
}

/* lead
============================*/

.main_img {
  position: relative;
}

.main_img p {
  position: absolute;
  top: 30%;
  left: 10%;
  font-size: 2rem;;
}

.lead {
  margin: 2rem auto;
  text-align: center;
  line-height: 1.1;
}

.lead p:nth-of-type(1) {
  font-size: 1.3rem;;
}

.lead p:nth-of-type(2) {
  font-size: 1.6rem;;
}

.ochazemi {
  margin: 1rem auto;
  text-align: center;
}

.ochazemi p {
  margin: 0 auto;
  padding: 0;
  line-height: 1.1;
  font-family: 'Avenir-Light';
}

.ochazemi p:nth-of-type(1) {
  font-size: 1.2rem;;
}

.ochazemi p:nth-of-type(2) {
  font-size: 3rem;;
  font-weight: bold;
}

.ochazemi p:nth-of-type(3) {
  font-size: .77rem;
}

section {
  width: 800px;
  margin: 5rem auto;
  text-align: left;
}

section p {
  font-size: 1.2rem;
}

section .header p {
  font-size: 1.4rem;
}


/* exp
============================*/

.exp .header {
  position: relative;
  margin: 4rem 0 0 0;
  padding: .5em;
  font-weight: bold;
  text-align: center;
  font-size: 1.4rem;
}

.exp .header::before, .exp .header::after {
  position: absolute;
  content: '';
  width: 3rem;
  height: 3rem;
}

.exp .header::before {
  right: 0;
  bottom: 0;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
}

.exp .header::after {
  top: 0;
  left: 0;
  border-top: 2px solid #000;
  border-left: 2px solid #000;
}

.exp .header span {
  padding: 0 .5rem;
  background-color: #7d0010;
  color: #fff;
  font-size: 1.8rem;
}

.exp .header span span {
  padding: 0;
  font-size: 1.4rem;
}

.exp div {
  margin: 4rem auto;
}

.exp span {
  font-size: 2rem;
}


/* process
============================*/

.process .header {
  position: relative;
  margin: 4rem 0 0 0;
  padding: .5rem;
  font-weight: bold;
  text-align: center;
  font-size: 1.4rem;
}

.process .header::before, .process .header::after {
  position: absolute;
  content: '';
  width: 50px;
  height: 50px;
}

.process .header::before {
  right: 0;
  bottom: 0;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
}

.process .header::after {
  top: 0;
  left: 0;
  border-top: 2px solid #000;
  border-left: 2px solid #000;
}

.process .header span {
  padding: 0 .5rem;
  background-color: #7d0010;
  color: #fff;
  font-size: 1.8rem;
}

.process .header span span {
  padding: 0;
  font-size: 1.4rem;
}

.process div {
  margin: 2rem auto;
}

.process div div:nth-of-type(1) p {
  font-size: 1.4rem;
}

.process div div:nth-of-type(1) p span {
  display: inline-block;
  background-color: #000;
  border-radius: 5rem;
  color: #fff;
}

.process div div:nth-of-type(1) p span:nth-of-type(1) {
  margin-top: 1rem;
  padding: .2rem 2rem .2rem .5rem;
  height: 2rem;
  font-size: 1rem;
}

.process div div:nth-of-type(1) p span:nth-of-type(2) {
  width: 3rem;
  height: 3rem;
  margin-left: -2rem;
  border-radius: 50%;
  font-size: 2rem;
  vertical-align: middle;
  text-align: center;
}

.process h3 {
  font-size: 2rem;
}

.process div div {
  margin: 2rem auto;
}

.process div div:nth-of-type(2) {
  display: flex;
}

.process div:nth-of-type(odd) div:nth-of-type(2) {
  flex-direction: row-reverse;
}

.process div div:nth-of-type(2) img {
  width: 300px;
  height: 200px;
}

.process div div:nth-of-type(2) p {
  padding: 0 0 0 1rem;
  font-size: .9rem;
  text-align: justify;
}

.process div:nth-of-type(odd) div:nth-of-type(2) p {
  padding: 0 1rem 0 0;
}

.process p span {
  font-size: .8rem;
}


/* j1_subject
============================*/

.j1_subject .header {
  width: 50rem;
  height: 20rem;
  padding: 2rem;
  background-repeat: no-repeat;
  color: #fff;
}

.j1_subject.english .header {
  background-image: url(../imgs/feature/eng_back_pc.png);
}

.j1_subject.math .header {
  background-image: url(../imgs/feature/math_back_pc.png);
}

.j1_subject .header .title {
  display: flex;
  align-items: center;
}

.j1_subject .header h2 {
  padding-right: 1rem;
  font-size: 3rem;
}

.j1_subject .header .title p {
  font-size: .9rem;
}

.j1_subject .header .achievement {
  background-color: rgba(255, 255, 0255,.8);
  color: #000;
  margin-top: 1rem;
  padding: .5rem;
}

.j1_subject .header .achievement p {
  margin-bottom: .5rem;
  font-size: 1rem;
  color: #7d0010;
}

.j1_subject .header .achievement table {
  border-collapse: collapse;
  font-size: .9rem;
}

.j1_subject .header .achievement tr:last-of-type {
  border-top:1px solid #000;
}

.j1_subject .header .achievement td {
  vertical-align: middle;
}

.j1_subject.english .header .achievement td:nth-of-type(1) {
  width: 30%;
}

.j1_subject.math .header .achievement td:nth-of-type(1) {
  width: 20%;
}

.j1_subject .contents h3 {
  color: #7d0010;
  font-size: 1.2rem;
}

.j1_subject .contents h3::before {
  content: "●";
}

.j1_subject .contents p {
  font-size: 1rem;
  text-align: justify;
}

.j1_subject .contents ul {
  padding: 0 0 1rem 1.5rem;
  list-style-type: disc;
  font-size: 1rem;
}

.j1_subject .contents li {
  padding: .2rem 0;
}





/*--------------
SP
----------------*/
@media screen and (max-width:768px){

  html {
    font-size: 4vw !important;
  }

  .main_img p {
    top: 15%;
    left: 5%;
    font-size: .9rem;;
  }

  .lead p:nth-of-type(1) {
    font-size: .9rem;
  }
  
  .lead p:nth-of-type(2) {
    font-size: 1.2rem;;
  }

  .ochazemi p {
    width: 15rem;
  }

  .ochazemi p:nth-of-type(1) {
    font-size: .66rem;
  }
  
  .ochazemi p:nth-of-type(2) {
    font-size: 2.4rem;
    font-weight: bold;
  }
  
  .ochazemi p:nth-of-type(3) {
    font-size: .42rem;
  }

  section {
    width: 100%;
    margin: 5rem auto;
    text-align: left;
  }
  
  section p {
    font-size: 1rem;
  }

  section .header p {
    font-size: .9rem;
  }


  /* exp
  ============================*/

  .exp .header h2 {
    font-size: 1rem;
  }

  .exp .header span {
    font-size: 1.4rem;
  }

  .exp .header span span {
    font-size: 1rem;
  }


  /* process
  ============================*/

  .process .header h2 {
    font-size: 1rem;
  }

  .process .header span {
    font-size: 1.4rem;
  }

  .process .header span span {
    font-size: 1rem;
  }

  .process h3 {
    font-size: 1.6rem;
  }

  .process div div:nth-of-type(1) p {
    font-size: 1.2rem;
  }

  .process div div:nth-of-type(2) {
    display: block;
    text-align: center;
  }

  .process div div:nth-of-type(2) img {
    margin: 0 auto 1rem auto;
  }

  .process div div:nth-of-type(2) p {
    font-size: 1rem;
  }

  .process p span {
    font-size: .9rem;
  }

  .process div div:nth-of-type(2) p {
    padding: 0;
    text-align: left;
  }

  .process div:nth-of-type(odd) div:nth-of-type(2) p {
    padding: 0;
  }


  /* j1_subject
  ============================*/

  .j1_subject .header {
    width: 100%;
    height: auto;
    padding: .5rem;
    background-position: top right;
    background-size: 100%;
  }

  .j1_subject.english .header {
    background-image: url(../imgs/feature/eng_back_sp.png);
  }
  
  .j1_subject.math .header {
    background-image: url(../imgs/feature/math_back_sp.png);
  }

  .j1_subject .header .title {
    display: block;
  }

  .j1_subject .header .title p {
    font-size: .9rem;
  }

  .j1_subject .header .achievement {
    width: 110%;
    margin-top: 3rem;
    margin-left: -1rem;
  }

  .j1_subject .header .achievement table {
    font-size: .8rem;
  }

  .j1_subject .header .achievement td {
    padding: .5rem .5rem .5rem 0;
  }

  .j1_subject.english .header .achievement td:nth-of-type(1) {
    width: 40%;
  }
  
  .j1_subject.math .header .achievement td:nth-of-type(1) {
    width: 40%;
  }


  /* top_tel_content
  ============================*/

  .top_tel_content .top_tel_txt {
    font-size: 1rem;
  }





}


