/*以下ボディ部分のCSS*/

.message_img {
  width: 100%;
}

.section_title {
  display: flex;
  height: auto;
  margin-left: 7vw;
  margin-right: 7vw;
  word-break: break-all;
}

.section_img1 {
  max-height: 64px;
  height: 100%;
  width: auto;
}

.section_title h1 {
  margin-left: -0.5em;
  font-size: 36px;
}

.section_title {
  position: absolute;
  top: 35%;
  left: 5%;
  height: 60px;
}

.home_message_section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2em 7vw;
}

.home_message_part {
  margin: 0 20px;
  max-width: 320px;
}

.message_aricle {
  width: 70%;
  margin: 5%;
  margin-left: 15%;
  margin-right: 15%;
}

.midasi2 {
  display: flex;
  padding-top: 10%;
}

.message_aricle {
  width: 70%;
  margin: 5%;
  margin-left: 15%;
  margin-right: 15%;
}

.message_text {
  float: right;
  width: 120px;
  height: fit-content;
  padding: 20px;
}

.message_text_name {
  font-size: 12px;
}

.midasi2 img {
  max-height: 60px;
}

.message {
  display: flex;
}

.midasi2_item {
  margin-top: 50%;
}

.point {
  border-bottom: solid 2px #ea3700;
  color: #ea3700;
  padding-right: 2em;
}

.point_number {
  font-size: 60px;
  color: #ea3700;
}

@media screen and (max-width: 1040px) {
  .message {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media screen and (max-width: 710px) {
  h1 {
    font-size: 20px;
  }

  .point_number {
    font-size: 30px;
  }

  .section_img1 {
    max-height: 64px;
    height: 100%;
    width: auto;
  }

  .section_title h1 {
    margin-left: -0.5em;
    font-size: 24px;
  }
}

@media screen and (max-width: 480px) {
  /* 480px以下に適用されるCSS（スマホ用） */

  p {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .midasi_item {
    height: 30px;
    left: 10px;
  }

  .news_item1 {
    top: 40%;
    left: 5%;
  }

  .news_item1 p {
    padding-right: 15px;
    padding-left: 20px;
    font-size: 14px;
  }

  .btn {
    padding-left: 20px;
    font-size: 14px;
  }

  .btn_img {
    height: 30px;
  }

  .tablet_4 {
    margin-top: 40px;
  }

  .qa-container .btn {
    margin-top: 50px;
  }

  .footer1 {
    margin-top: 50px;
    padding-top: 5%;
  }

  .footer1_btn .btn {
    width: 50%;
    margin: 1%;
    font-size: 12px;
  }

  .footer1_btn .btn_img {
    width: 30px;
  }

  .footer1_text,
  .footer1_text a {
    margin-top: 20px;
  }

  .footer2 ul {
    width: 100%;
  }

  .apply {
    width: 30%;
  }

  .colom_item3 {
    height: 200px;
  }

  .home .btn {
    top: 85%;
  }

  .midasi {
    top: 50%;
  }

  .midasi h1 {
    font-size: 25px;
  }

  header {
    margin-left: -7%;
  }

  .home {
    margin-bottom: 3rem;
  }

  .message_aricle {
    width: 90%;
    margin-left: 10px;
    margin-right: 10px;
  }

  .message_aricle p {
    padding-left: 0px;
  }

  .section_title {
    top: 60%;
    margin-right: 7vw;
  }

  .section_img1 {
    max-height: 32px;
  }

  .section_title h1 {
    margin-left: -0.5em;
    margin-top: 12px;
    font-size: 18px;
  }
}
