/* header */
header {
  background: #FFFFFF;
}

.header_item p {
  color: #5C4243;
}


/* ハンバ?ガー */
.hamburger1 .MenuBtn-BarFrame-FirstBar {
  background-color: #5C4243;
}

.hamburger1 .MenuBtn-BarFrame-SecondBar {
  background-color: #5C4243;
}

.hamburger1 .MenuBtn-BarFrame-ThirdBar {
  background-color: #5C4243;
}



main {
  background-image: url(img/bg_2.png);
}

/* class_top */

.class_top {
  padding-block: 8rem;
}

.class_lead {
  padding: 5.2rem 3.5rem;
  width: 88rem;
  margin-inline: auto;
  margin-top: 6.5rem;
  background-color: #FFFFFF;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.class_lead_txt {
  font-size: 2rem;
  line-height: 4.8rem;
  text-align: center;
}

.class_lead_imgarea {
  margin-top: 9rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.class_lead_img {
  width: 48rem;
  height: 32rem;
  object-fit: cover;
}

/* problem */

.class_problem {
  margin-top: 12rem;
  text-align: center;
}

.class_section_title {
  font-size: 3.2rem;
  text-align: center;
  font-weight: 500;
}

.class_problem_img {
  margin-top: 6rem;
  width: 100rem;
  margin-inline: auto;
}

@media (max-width: 834px) {
  .class_lead {
    padding: 5.2rem 3.5rem;
    width: 60rem;
    margin-inline: auto;
    margin-top: 6.5rem;
  }

  .class_lead_txt {
    font-size: 2.6rem;
  }

  .class_lead_imgarea img {
    width: 37rem;
    object-fit: contain;
  }

  .class_lead_imgarea {
    margin-top: 4rem;
  }

  .class_problem {
    margin-top: 4rem;
  }

  .class_problem_img {
    margin-inline: auto;
    width: 77rem;
}
}

/* class_solve */

.class_solve {
  margin-top: 12rem;
}

.class_solve_contents {
  margin-top: 5rem;
  width: 100%;
  background-color: rgba(198, 144, 144, 0.3);
  padding-block: 6rem;

}

.class_solve_items {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  width: 109.5rem;
  margin-inline: auto;
}

.class_solve_item {
  padding: 2.5rem 3rem;
  background-color: #FFFFFF;
  width: 34rem;
}

.class_solve_item_title {
  font-weight: 500;
  font-size: 2rem;
  text-align: center;
}

.class_solve_item_txt {
  margin-top: 3rem;
  font-weight: 400;
  font-size: 2rem;
}

.trial_appeal {
  margin-top: 6rem;
  color: #A83A39;
  font-weight: 500;
  font-size: 2rem;
  text-align: center;
  text-shadow: 0 4px 4px #FFFFFF;
}

.class_solve .readmore_area {
  justify-content: center;
  margin-right: 0;
}

.class_solve .readmore_link {
  background-color: #FFF;
  padding: 1.3rem 1.3rem 1.3rem 2rem;
  border-radius: 30px;
  margin-top: 2rem;
}

@media (max-width: 834px) {
  .class_solve_items {
    width: auto;
    margin-inline: 4rem;
  }

  .class_solve_item_title {
    font-size: 2.4rem;
  }

  .class_solve_item_txt {
    font-size: 2.2rem;
    line-height: 3.5rem;
  }

  .trial_appeal {
    margin-top: 5rem;
    font-size: 2.4rem;
}
}

/* class_info */
.class_info {
  display: flex;
  gap: 5rem;
  justify-content: center;
  padding-block: 12rem;
}



.class_info_title {
  font-size: 3.2rem;
  font-weight: 700;
  border-bottom: 2px solid #A83A39;
  text-align: center;
}

.class_info_content {
  width: 52rem;
}

.class_info_content_abstract {
  width: 100rem;
  display: flex;
  gap: 5.5rem;
  justify-content: center;
  align-items: center;
}

.class_info_price_title {
  font-size: 2.4rem;
  font-weight: 400;
  margin-top: 3.5rem;
 
}

.class_info_contents_area {
  background-color: #FFFFFF;
  padding: 2rem 5.5rem;
  margin-top: 0.8rem;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.class_info_contents_area_abstract {
  margin-top: 0;
  padding: 2rem 3rem;
  width: 65rem;
}

.class_info_price_txt {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 3rem;
  margin-top: 3rem;
   text-align: center;
}

table {
  margin-inline: auto;
  margin-top: 1.8rem;
}

.class_info_area_online table {
  margin-top: 0;
}

tr {
  height: 3.8rem;
}

th {
  font-size: 1.6rem;
  font-weight: 400;
  border-bottom: 1px dashed #5C4243;
  padding-inline: 5.5rem;
}

td {
  font-size: 1.6rem;
  font-weight: 400;
  border-bottom: 1px dashed #5C4243;
  padding-inline: 5.5rem;
}

.class_info_attention {
  padding-top: 7rem;
}

.class_info_attention .class_info_contents_area {
  height: 44rem;
}

.class_info_attention_txt {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 3rem;
  margin-top: 3rem;
  text-align: left;
}

dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
}

dt {
  width: 30%;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  line-height: 4rem;
}

dd {
  width: 70%;
  font-size: 2rem;
  font-weight: 400;
  line-height: 4rem;
}

@media (max-width: 834px) {
  .class_info {
    flex-direction: column;
    align-items: center;
  }

  .class_info_content {
    width: 90%;
    flex-direction: column;
  }

  .class_info_title {
    font-size: 3.2rem;
    line-height: 6rem;
  }

  .class_info_price_title {
    font-size: 2.8rem;
    text-align: center;
    margin-top: 6rem;
  }

  .class_info_contents_area {
    padding: 2rem;
    margin-inline: auto;
  }

  .class_info_price_txt {
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 3.6rem;
    margin-top: 0;
    text-align: center;
}

  th, td {
    padding-inline: 7rem;
    font-size: 2.4rem;
    line-height: 4rem;
  }

  .class_info_attention .class_info_contents_area {
    height: auto;
    padding-bottom: 5rem;
  }

  .class_info_attention_txt {
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 3rem;
  margin-top: 3rem;
  text-align: left;
}
}

/* blog */

.blog {
  padding-block: 12rem;
  background-color: #FFFFFF;
  padding-inline: 10rem;
}

.blog_content_area {
  margin-top: 8.3rem;
}

.blog_items {
  display: grid;
  grid-template-columns: minmax(40rem,55rem) minmax(40rem,55rem);
  grid-template-rows: repeat(2, 18rem);
  gap: 2rem 4rem;
}

.blog_item {
  width: 100%;
  height: 100%;
}

.blog_item_link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding-block: 1rem;
}

.blog_item_img {
  width: 16rem;
  height: 14rem;
  object-fit: cover;
}

.blog_item_txt_area {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog_date {
  font-weight: 400;
  font-size: 1.2rem;
}

.blog_title {
  font-weight: 500;
  font-size: 1.8rem;
}

.blog_txt {
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 3.2rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 表示した?行数 */
  overflow: hidden;
  text-overflow: ellipsis;
  line-clamp: 2; /* 標準化が進んで?る?で一応追? */
}

.blog .readmore_area {
  margin-top: 8rem;
}

@media (max-width: 834px) {
  .blog_items {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
  }


    .blog_date {
      font-size: 1.6rem;
    }
  
    .blog_title {
      font-size: 2.4rem;
    }
    
    .blog_txt {
      font-size: 2.2rem;
      line-height: 3.2rem;
    }

}

