/* タブレット向けレイアウト */
@media all and (max-width: 1150px) {
  .heading h2 {
    font-size: 40px;
  }

  .example_1 h2 { 
    top: 0%;
  }
  .example_1 p {
    top: 15%;
    line-height: 1.35;
  }

  .month_icon p {
    top: -35px;
    font-size: 70px;
  }
  .subject_icon p {
    top: -42px;
  }

  
  .cta_1_icon p, .cta_2_icon p, .cta_3_icon p, .cta_4_icon p {
    font-size: 85px;
  }

  .refund_img h2 {
    font-size: 85px;
  }
}

/* タブレット向けレイアウト */
@media all and (max-width: 1024px) {
  header {
    height: 40px;
  }
  .header_right a {
    line-height: 40px;
  }

  .top_wrapper h1 {
    font-size: 32px;
  }

  .comparison h4 {
    top: 75%;
    font-size: 40px;
  }

  .example_1 h2 { 
    top: 0%;
  }
  .example_1 p {
    font-size: 36px;
    line-height: 1.4;
  }

  .month_icon p {
    font-size: 65px;
  }
  .subject_icon p {
    top: -45px;
  }
  .subject_select {
    margin: 10px 250px;
  }

  .off, .out, .next, .next1 {
    width: 98%;
  }

  .cta_1_icon p, .cta_2_icon p, .cta_3_icon p, .cta_4_icon p {
    font-size: 80px;
  }

  .refund_img h2 {
    top: -4%;
    font-size: 80px;
  }
  .refund_text {
    font-size: 29px;
  }

  footer {
    text-align: center;
  }

}

/* タブレット向けレイアウト向けレイアウト */
@media all and (max-width: 950px) {
  .comparison p {
    font-size: 25px;
  }

  .example_1 h2 { 
    font-size: 40px;
  }
  .example_1 p {
    top: 18%;
    font-size: 32px;
    line-height: 1.3;
  }
  
  .month_icon p {
    top: -45px;
  }
  .subject {
    width: 50%;
    margin: 0 0;
  }
  .subject_icon p {
    top: -30px;
    font-size: 60px;
  }

  .subject_select {
    margin: 10px 230px;
  }

  
  table th, table.table_red th, table.table_black th {
    font-size: 22px;
  }
  table td, .top, .top2 {
    font-size: 18px;
  }
  
  .cta_1_icon p, .cta_2_icon p, .cta_3_icon p, .cta_4_icon p {
    top: -50px;
  }

  .refund_text {
    font-size: 25px;
  }
}

/* タブレット向けレイアウト向けレイアウト */
@media all and (max-width: 900px) {
  .top_wrapper h1 {
    font-size: 30px;
  }

  .comparison h4 {
    top: 75%;
    left: 8%;
    font-size: 36px;
  }
  .comparison p {
    top: 82%;
  }

  .example_1 h2 { 
    font-size: 38px;
  }
  .example_1 p {
    top: 16%;
    font-size: 30px;
    line-height: 1.3;
  }

  .month_icon p {
    top: -40px;
    font-size: 60px;
  }
  .subject_select {
    margin: 10px 200px;
  }
  .subject_icon p {
    top: -34px;
  }
  .english p, .math p, .history p, .geography p, .science p, .hours, .online {
    font-size: 42px;
  }
  .text_small {
    font-size: 38px;
  }

  .cta_1_icon p, .cta_2_icon p, .cta_3_icon p, .cta_4_icon p {
    top: -32px;
    font-size: 65px;
  }

  .refund_img h2 {
    top: -3%;
    font-size: 65px;
  }
  .refund_text {
    font-size: 24px;
  }
}

/* タブレット向けレイアウト向けレイアウト3 */
@media all and (max-width: 800px) {
  .comparison h4 {
    top: 75%;
    left: 8%;
    font-size: 34px;
  }

  .example_1 h2 { 
    font-size: 36px;
  }
  .example_1 p {
    font-size: 29px;
    line-height: 1.2;
  }

  .month_icon p {
    font-size: 55px;
  }
  .discount h3 {
    padding: 12px 0;
  }
  .subject_select {
    margin: 10px 180px;
  }
  .subject_icon p {
    font-size: 55px;
  }
  .english p, .math p, .history p, .geography p, .science p, .hours, .online {
    font-size: 39px;
  }
  .text_small {
    font-size: 34px;
  }

  .price, .price1, .price2, .line_through, .sold {
    font-size: 50px;
  }

  table th, table.table_red th, table.table_black th {
    font-size: 20px;
  }

  .refund_img h2 {
    top: -4%;
  }
  .refund_text {
    font-size: 22px;
  }

  .cta_1_icon p, .cta_2_icon p, .cta_3_icon p, .cta_4_icon p {
    font-size: 60px;
  }

  footer p {
    font-size: 26px;
  }
}

/* 小型タブレット向けレイアウト向けレイアウト */
@media all and (max-width: 750px) {
  .header_right a {
    padding: 0 10px;
    font-size: 20px;
  }

  .top_wrapper h1 {
    font-size: 28px;
    top: 25px;
  }
  .heading h2 {
    font-size: 30px;
  }

  .comparison h4 {
    font-size: 32px;
  }
  .comparison p {
    top: 83%;
    left: 0%;
    font-size: 23px;
  }

  .example_1 h2 { 
    font-size: 32px;
  }
  .example_1 p {
    top: 15%;
    font-size: 26px;
    line-height: 1.2;
  }

  .month_icon p {
    top: -26px;
    font-size: 45px;
  }
  .subject_select h2, .discount h3, summary {
    font-size: 42px;
  }
  .subject_icon p {
    top: -32px;
    font-size: 50px;
  }
  .discount h3 {
    padding: 15px 0;
  }
  .english h3, .math h3, .history h3, .geography h3, .science h3, .off, .out, .next, .next1 {
    font-size: 42px;
  }
  .english p, .math p, .history p, .geography p, .science p, .hours, .online {
    font-size: 35px;
  }
  .text_small {
    font-size: 30px;
  }
  .hours, .online {
    width: 60%;
  }
  .price, .price1, .price2, .line_through, .sold {
    font-size: 45px;
  }
  .english h3 span, .math h3 span, .history h3 span, .geography h3 span, .science h3 span {
    font-size: 32px;
  }
 
  .cta_1_icon p, .cta_2_icon p, .cta_3_icon p, .cta_4_icon p {
    top: -32px;
    font-size: 57px;
  }

  .refund_img h2 {
    font-size: 60px;
  }
  .refund_text {
    font-size: 20px;
  }
}

/* タブレット向けレイアウト向けレイアウト */
@media all and (max-width: 685px) {
  .comparison h4 {
    font-size: 30px;
  }
  .comparison p {
    font-size: 20px;
  }

  .example_1 h2 { 
    font-size: 30px;
  }
  .example_1 p {
    top: 15%;
    font-size: 25px;
    line-height: 1.2;
  }
  
  .subject_select {
    margin: 10px 160px;
  }
  .subject_icon p {
    top: -35px;
  }

  .cta_1_icon p,  .cta_2_icon p, .cta_3_icon p, .cta_4_icon p {
    font-size: 55px;
  }

  .refund_img h2 {
    top: -3%;
    font-size: 55px;
  }

  footer p {
    font-size: 22px;
  }
}

/* 小型タブレット向けレイアウト向けレイアウト */
@media all and (max-width: 670px) {
  .comparison h4 {
    font-size: 28px;
  }

  .example_1 h2 { 
    font-size: 28px;
  }
  .example_1 p {
    top: 18%;
    font-size: 23px;
  }

  .month_icon p {
    top: -22px;
    font-size: 40px;
  }
  .subject_select h2, .discount h3, summary {
    font-size: 38px;
  }
  .subject_icon p {
    top: -37px;
  }

  .english h3, .math h3, .history h3, .geography h3, .science h3, .off, .out, .next, .next1 {
    font-size: 38px;
  }
  .english p, .math p, .history p, .geography p, .science p, .hours, .online {
    font-size: 33px;
  }
  .text_small {
    font-size: 28px;
  }
  .price, .price1, .price2, .line_through, .sold {
    font-size: 40px;
  }
  .english h3 span, .math h3 span, .history h3 span, .geography h3 span, .science h3 span {
    font-size: 30px;
  }

  .cta_1_icon p, .cta_2_icon p, .cta_3_icon p, .cta_4_icon p {
    top: -25px;
    font-size: 50px;
  }
  .refund_img h2 {
    font-size: 50px;
  }
  .refund_text {
    font-size: 18px;
  }
}

/* 小型タブレット向けレイアウト向けレイアウト */
@media all and (max-width: 635px) {
  .left_line {
    padding: 5px 10px;
  }

  .comparison h4 {
    font-size: 26px;
  }
  .comparison p {
    top: 81%;
    left: 0%;
    font-size: 18px;
  }

  .example_1 h2 { 
    font-size: 26px;
  }
  .example_1 p {
    top: 16%;
    left: 1%;
    font-size: 22px;
  }

  .subject_select {
    margin: 10px 140px;
  }
  .subject_icon p {
    font-size: 45px;
    top: -32px;
  }

  .english p, .math p, .history p, .geography p, .science p, .hours, .online {
    font-size: 30px;
  }
  .text_small {
    font-size: 25px;
  }

  .cta_1_icon p, .cta_2_icon p, .cta_3_icon p, .cta_4_icon p {
    top: -23px;
    font-size: 45px;
  }

  .refund_img h2 {
    top: -2%;
    font-size: 45px;
  }
}

/* スマホ向け（横）レイアウト */
@media all and (max-width: 599px) {
  #page_top {
    width: 50px;
    height: 50px;
    }
  #page_top a {
    width: 50px;
    height: 50px;
  }
  #page_top a::before {
    font-size: 40px;
  }

  header {
    height: 45px;
  }
  .header_right a {
    line-height: 45px;
  }

  .top_wrapper h1 {
    font-size: 26px;
    top: 25px;
  }

  .comparison h4 {
    font-size: 24px;
  }

  .example_1 h2 { 
    font-size: 24px;
  }
  .example_1 p {
    top: 16%;
    font-size: 19px;
  }

  .month_icon p {
    top: -22px;
    font-size: 36px;
  }

  .subject_icon p {
    font-size: 40px;
    top: -28px;
  }

  .subject_select h2, .discount h3, summary {
    font-size: 32px;
  }

  .english h3, .math h3, .history h3, .geography h3, .science h3, .off, .out, .next, .next1 {
    font-size: 32px;
  }
  .english p, .math p, .history p, .geography p, .science p, .hours, .online {
    font-size: 28px;
  }
  .text_small {
    font-size: 22px;
  }
  .price, .price1, .price2, .line_through, .sold {
    font-size: 34px;
  }
  .english h3 span, .math h3 span, .history h3 span, .geography h3 span, .science h3 span {
    font-size: 26px;
  }

  table td, .top, .top2 {
    padding: 5px 0;
  }
  table td {
    padding: 5px 0;
  }

  .cta_1_icon p, .cta_2_icon p, .cta_3_icon p, .cta_4_icon p {
    top: -18px;
    font-size: 40px;
  }
  .refund_img h2 {
    font-size: 40px;
  }
  .refund_text {
    font-size: 16px;
  }
}

/* スマホ向け（横）レイアウト */
@media all and (max-width: 530px) {
  .header_right a {
    font-size: 18px;
  }

  .heading h2 {
    font-size: 26px;
  }

  .comparison h4 {
    font-size: 22px;
  }
  .comparison p {
    font-size: 16px;
  }

  .example_1 h2 { 
    font-size: 22px;
  }
  .example_1 p {
    font-size: 18px;
  }

  .month_icon p {
    top: -20px;
    font-size: 32px;
  }
  .subject_select h2, .discount h3, summary {
    font-size: 26px;
  }
  .discount h3 {
    padding: 10px 0;
    margin: 10px 10px 15px 10px;
  }
  .subject_select {
    margin: 10px 120px;
  }
  .subject_icon p {
    font-size: 35px;
    top: -23px;
  }

  .english h3, .math h3, .history h3, .geography h3, .science h3, .off, .out, .next, .next1 {
    font-size: 26px;
  }
  .english p, .math p, .history p, .geography p, .science p, .hours, .online {
    font-size: 25px;
  }
  .text_small {
    font-size: 20px;
  }
  .price, .price1, .price2, .line_through, .sold {
    font-size: 30px;
  }
  .english h3 span, .math h3 span, .history h3 span, .geography h3 span, .science h3 span {
    font-size: 24px;
  }

  .cta_1_icon p, .cta_2_icon p, .cta_3_icon p, .cta_4_icon p {
    font-size: 35px;
  }
  .refund_img h2 {
    font-size: 35px;
  }
  .refund_text {
    font-size: 15px;
  }

}

/* スマホ向け（横）レイアウト */
@media all and (max-width: 500px) {
  .comparison h4 {
    font-size: 20px;
    left: 8%;
  }
  
  .month_icon p {
    top: -20px;
    font-size: 30px;
  }
  .subject_select {
    margin: 10px 100px;
  }
  .english h3 span, .math h3 span, .history h3 span, .geography h3 span, .science h3 span {
    font-size: 22px;
  }

  .mylesson_wrapper h3,.price_wrapper h3,.profile_img h3, .refusal_img h3 {
    margin-left: 18px;
  }

  table th, table.table_red th, table.table_black th {
    font-size: 18px;
    padding: 5px 0;
  }

  footer p {
    font-size: 18px;
  }
}

/* スマホ向け（縦）レイアウト */
@media all and (max-width: 488px) {
  .header_right a {
    padding: 0 6px;
  }

  .heading h2 {
    font-size: 24px;
  }

  .comparison h4 {
    font-size: 18px;
  }

  .example_1 h2 { 
    font-size: 20px;
  }
  .example_1 p {
    font-size: 16px;
    line-height: 1.2;
  }

  .month_icon p {
    top: -20px;
    font-size: 30px;
  }
  .subject_select h2, .discount h3, summary {
    font-size: 24px;
  }
  .subject_icon p {
    top: -26px;
  }
  
  .english h3, .math h3, .history h3, .geography h3, .science h3, .off, .out, .next, .next1 {
    font-size: 24px;
  }
  .english p, .math p, .history p, .geography p, .science p, .hours, .online {
    font-size: 22px;
  }
  .text_small {
    font-size: 16px;
  }
  .english h3 span, .math h3 span, .history h3 span, .geography h3 span, .science h3 span {
    font-size: 20px;
  }
  .price, .price1, .price2, .line_through, .sold {
    font-size: 28px;
  }

  table td, .top, .top2 {
    font-size: 16px;
  }

  .cta_1_icon p, .cta_2_icon p, .cta_3_icon p, .cta_4_icon p {
    top: -18px;
    font-size: 32px;
  }


}

/* スマホ向け（縦）レイアウト */
@media all and (max-width: 450px) {
  .header_right a {
    padding: 0 5px;
    font-size: 17px;
  }

  .heading h2 {
    font-size: 22px;
  }

  .mylesson_wrapper h3,.price_wrapper h3,.profile_img h3, .refusal_img h3 {
    margin-left: 15px;
  }

  .example_1 h2 { 
    font-size: 18px;
  }
  .example_1 p {
    font-size: 15px;
    line-height: 1.2;
  }

  .month_icon p {
    font-size: 28px;
  }

  .subject_select h2, .discount h3, summary {
    font-size: 22px;
  }
  .subject_icon p {
    font-size: 30px;
    top: -22px;
  }
  
  .english h3, .math h3, .history h3, .geography h3, .science h3, .off, .out, .next, .next1 {
    font-size: 22px;
  }
  .english p, .math p, .history p, .geography p, .science p {
    font-size: 20px;
  }
  .english h3 span, .math h3 span, .history h3 span, .geography h3 span, .science h3 span {
    font-size: 19px;
  }
  .hours, .online {
    width: 70%;
  }
  .price, .price1, .price2, .line_through, .sold {
    font-size: 26px;
  }
  
  .refund_img h2 {
    font-size: 32px;
  }

}

/* スマホ向け（縦）レイアウト */
@media all and (max-width: 430px) {
  .left_line {
    padding: 3px 7px;
    border-left: solid 5px #C4A74E;
  }

  .comparison h4 {
    font-size: 17px;
  }
  .comparison p {
    font-size: 16px;
  }

  .example_1 h2 { 
    font-size: 17px;
  }
  .example_1 p {
    left: 0%;
    font-size: 14.6px;
    line-height: 1.2;
  }

  .month_icon p {
    top: -16px;
    font-size: 26px;
  }
  .subject_icon p {
    font-size: 28px;
    top: -20px;
  }

  .english h3 span, .math h3 span, .history h3 span, .geography h3 span, .science h3 span {
    font-size: 18px;
  }
  .text_small {
    font-size: 15px;
  }
  .price, .price1, .price2, .line_through, .sold {
    font-size: 24px;
  }

  .table {
    width: 100%;
  }

  .cta_1_icon p, .cta_2_icon p, .cta_3_icon p, .cta_4_icon p, .refund_img h2 {
    font-size: 30px;
  }
}

/* スマホ向け（縦）レイアウト */
@media all and (max-width: 414px) {
  .header_right a {
    font-size: 16px;
  }
  .logo {
    width: 130px;
  }

  .top_wrapper h1 {
    font-size: 24px;
  }

  .comparison h4 {
    font-size: 17px;
    left: 5%;
  }
  .comparison p {
    font-size: 15px;
  }

  .example_1 h2 { 
    font-size: 17px;
  }

  .month_icon p {
    top: -16px;
    font-size: 24px;
  }
  .subject_select {
    margin: 10px 80px;
  }
  .subject_select h2, .discount h3, summary {
    font-size: 20px;
  }
  .discount h3 {
    padding: 10px 0;
  }
  .subject_icon p {
    font-size: 26px;
    top: -17px;
  }
  .english h3, .math h3, .history h3, .geography h3, .science h3, .off, .out, .next, .next1 {
    font-size: 20px;
  }
  .english p, .math p, .history p, .geography p, .science p, .hours, .online {
    font-size: 18px;
  }
  .english h3 span, .math h3 span, .history h3 span, .geography h3 span, .science h3 span {
    font-size: 17px;
  }
  .price, .price1, .price2, .line_through, .sold {
    font-size: 22px;
  }

  .cta_1_icon p, .cta_2_icon p, .cta_3_icon p, .cta_4_icon p {    
    top: -14px;
    font-size: 28px;
  }

  .refund_img h2 {
    top: -1.5%;
    font-size: 28px;
  }
}

/* スマホ向け（縦）レイアウト */
@media all and (max-width: 390px) {

  .comparison h4 {
    font-size: 16px;
  }
  .comparison p {
    font-size: 14.6px;
  }

  .example_1 h2 { 
    font-size: 16px;
  }

  .subject_icon p {
    top: -19px;
  }

  .subject_select h2, .discount h3, summary {
    font-size: 18px;
  }
  .english h3, .math h3, .history h3, .geography h3, .science h3, .off, .out, .next, .next1 {
    font-size: 18px;
  }
  .english h3 span, .math h3 span, .history h3 span, .geography h3 span, .science h3 span {
    font-size: 16px;
  }
  .english p, .math p, .history p, .geography p, .science p {
    font-size: 18px;
  }

  .cta_1_icon p, .cta_2_icon p, .cta_3_icon p, .cta_4_icon p {
    top: -17px;
    font-size: 27px;
  }

  .refund_img h2 {
    font-size: 27px;
  }

}

/* スマホ向け（縦）レイアウト */
@media all and (max-width: 375px) {
  .header_right a {
    font-size: 16px;
  }
  .logo {
    width: 120px;
  }

  .heading h2 {
    font-size: 20px;
  }

  .comparison h4 {
    left: 4%;
  }

  .example_1 h2 { 
    font-size: 14.6px;
  }

  .month_icon p {
    top: -14px;
    font-size: 22px;
  }
  .subject_select {
    margin: 10px 60px;
  }
  .subject_icon p {
    font-size: 24px;
    top: -17px;
  }

  .english h3 span, .math h3 span, .history h3 span, .geography h3 span, .science h3 span {
    font-size: 15px;
  }

  .price, .price1, .price2, .line_through, .sold {
    font-size: 20px;
  }

  .cta_1_icon p, .cta_2_icon p, .cta_3_icon p, .cta_4_icon p, .refund_img h2 {
    top: -14px;
    font-size: 25px;
  }

  .refund_text {
    font-size: 16px;
  }

}