html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.section1 {
  padding-top: 80px;
  padding-bottom: 50px;
}

.title_cover {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.title {
  color: #54acd4;
  font-weight: bolder;
  position: relative;
  display: inline-block;
  padding-top: 10px;
  font-size: 40px;
}

.title:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #54acd4;
}

header {
  background-color: #54acd4;
  padding: 30px 0;
}

header img {
  width: 20rem;
}

header .menu_cover {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.menu {
  display: flex;
  gap: 1.2rem;
  font-size: 1.5rem;
  color: white;
}

.menu-item {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger-menu span {
  background-color: white;
  height: 6px;
  margin: 4px;
  width: 40px;
}


.img_cover {
  position: relative;
}

.top_img {
  width: 100%;
}

.text-overlay {
  position: absolute;
  padding-left: 120px;
  padding-bottom: 50px;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: left;
  color: white;
}

.text-overlay h2 {
  font-size: 50px;
}

.text-overlay p {
  width: 450px;
  font-size: 23px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.5);
}

.topic {
  margin: 100px 0;
}

.intro_title {
  margin-top: 50px;
}

.intro_title .circle {
  font-size: 3em;
  color: #54acd4;
}

.intro_title p {
  font-size: 3rem;
  margin-left: 80px;
}

.intro_name_1 {
  font-weight: bold;
}

.intro_name_1 img {
  width: 500px;
  margin: 0 20px;
}

/* サポート内容 */
.support_title {
  font-size: 2.3rem;
  margin: 20PX 80px;
  font-weight: bolder;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.support_title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #54acd4;
}

.support_list {
  font-size: 1.3rem;
  margin-left: 80px;
}

/* 事業内容 */
.detail_title {
  padding-top: 30px;
  font-size: 2.3rem;
  margin: 20PX 80px;
  font-weight: bolder;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.detail_title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #54acd4;
}

.detail_list {
  font-size: 1.3rem;
  margin-left: 80px;
  line-height: 1.5;
}

.intro_name_2 {
  font-weight: bold;
}

.intro_name_2 img {
  width: 450px;
  margin: 0 20px;
}

.support_list_2 {
  font-size: 1.3rem;
  margin-left: 80px;
}

.intro_name_3 {
  font-weight: bold;
}

.intro_name_3 img {
  width: 450px;
  margin: 0 20px;
}

/* サポート内容 */
.support_title {
  font-size: 2.3rem;
  margin: 20PX 80px;
  font-weight: bolder;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.support_title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #54acd4;
}

.support_list {
  font-size: 1.3rem;

  margin-left: 80px;
}

.suggestion_title {
  padding-top: 30px;
  font-size: 2.3rem;
  margin: 20PX 80px;
  font-weight: bolder;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.suggestion_title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #54acd4;
}

.suggestion_list {
  font-size: 1.3rem;
  margin-left: 80px;
  line-height: 1.5;
}

.needs_title {
  padding-top: 30px;
  font-size: 2.3rem;
  margin: 20PX 80px;
  font-weight: bolder;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.needs_title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #54acd4;
}

.needs_list {
  font-size: 1.3rem;
  margin-left: 80px;
  line-height: 1.5;
}

.homepage_title {
  padding-top: 30px;
  font-size: 2.3rem;
  margin: 20PX 80px;
  font-weight: bolder;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.homepage_title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #54acd4;
}

.homepage_list {
  font-size: 1.3rem;
  margin-left: 80px;
  line-height: 1.5;
}

footer {
  background-color: #54acd4;
  padding: 30px 0;
}

footer .section_cover{
  display: flex;
}

footer .phone_number {
  font-size: 3rem;
  color: #f0f0f0;
  font-weight: bold;
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .menu_cover {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60%;
}

footer .menu {
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
}

footer .menu_item {
  margin: 1rem;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.reserved {
  margin: 20px;
  display: flex;
  justify-content: center;
}

.reserved_text {
  align-items: center;
  color: white;
  font-size: 12px;
}

@media screen and (max-width: 1200px) {


  header img {
    margin: 10px 0;
    width: 100%;
  }

  .menu-item {
    margin: auto 4px;
    color: white;
    text-decoration: none;
    font-size: 75%;
    font-weight: bold;
  }
}

@media screen and (max-width: 767px) {

  .topic {
    margin: 10px 0;
  }

  header {
    padding: 7px;
  }

  header img {
    width: 15rem;
  }

  .menu {
    display: none;
    flex-direction: column;
    background-color: #54acd4;
    position: absolute;
    top: 100px;
    right: 0;
    width: 200px;
    z-index: 1;
  }

  .menu-item {
    padding: 15px;
    text-align: center;
  }

  .burger-menu {
    display: flex;
  }

  .menu.active {
    display: flex;
  }

  .section1 {
    padding-top: 30px;
    padding-bottom: 20px;
  }

  .title_cover {
    border-top: 2px#54acd4;
    margin-bottom: 20px;
  }

  .title {
    color: #54acd4;
    font-weight: bolder;
    position: relative;
    display: inline-block;
    padding-top: 10px;
  }

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

  .title:before {
    height: 2px;
  }

  .top_img {
    height: 150px;
  }

  .text-overlay {
    position: absolute;
    padding-left: 30px;
    padding-bottom: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: left;
    color: white;
  }

  .img_cover .text-overlay h2 {
    font-size: 100%;
    font-weight: bolder;
  }

  .text-overlay p {
    font-size: 90%;
    line-height: 1.7;
    width: 70%;
  }


  .intro_title {
    margin-top: 10px;
  }

  .intro_title .circle {
    font-size: 1em;
    color: #54acd4;
  }

  .intro_title p {
    font-size: 1.3rem;
    margin-left: 20px;
  }

  /* タイトルと画像 */
  .intro_name_1 img {
    width: 250px;
    margin: 0;
    margin-top: 20px;
  }

  .intro_name_2 img {
    width: 250px;
    margin: 0;
    margin-top: 20px;
  }

  .intro_name_3 img {
    width: 250px;
    margin: 0;
    margin-top: 20px;
  }

  /* サポート内容 */
  .support_title {
    font-size: 1.1rem;
    margin: 0 20px 10px 20px;
    font-weight: bolder;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
  }

  .support_title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #54acd4;
  }

  .support_list {
    font-size: 13px;
    font-weight: bold;
    margin-left: 20px;
  }


  /* 事業内容 */
  .detail .detail_title {
    font-size: 1.1rem;
    margin: 0 20px 10px 20px;
    font-weight: bolder;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
  }

  .detail_title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #54acd4;
  }

  .detail .detail_list {
    font-size: 13px;
    font-weight: bold;
    line-height: 1.5;
  }

  .support .support_list_2 {
    font-size: 13px;
    font-weight: bold;
    margin-left: 20px;
  }


  .detail_title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #54acd4;
  }

  .detail_list {
    font-size: 8px;
    margin-left: 20px;
    line-height: 1.5;
  }

  .support_list_2 {
    font-size: 8px;
    margin-left: 20px;
  }



  .suggestion_title {
    padding-top: 0;
    font-size: 1.1rem;
    margin: 10px 20px;
    padding-bottom: 5px;
  }

  .suggestion_title:after {
    height: 2px;
  }

  .suggestion_list {
    font-size: 13px;
    font-weight: bold;
    margin-left: 20px;
    line-height: 2;
  }

  .needs_title {
    padding-top: 0;
    font-size: 1.1rem;
    margin: 10px 20px;
    padding-bottom: 5px;
  }

  .needs_title:after {
    height: 2px;
  }

  .needs_list {
    font-size: 13px;
    font-weight: bold;
    margin-left: 20px;
    line-height: 2;
  }

  .homepage_title {
    padding-top: 0;
    font-size: 1.1rem;
    margin: 10px 20px;
    padding-bottom: 5px;
  }

  .homepage_title:after {
    height: 2px;
    background: #54acd4;
  }

  .homepage_list {
    font-size: 13px;
    font-weight: bold;
    margin-left: 20px;
    line-height: 2;
  }

  footer {
    padding: 10px;
  }

  footer .phone_number {
    width: 100%;
    font-size: 20px;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }


  footer .menu {
    font-size: 1.5rem;
  }

  footer .menu-item {
    margin: 0 2px;
  }

  footer .menu_cover{
    display: none;
  }

  .reserved {
    margin: 10px;
  }

  .reserved_text {
    align-items: center;
    color: white;
    font-size: 5px;
  }


}