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;
}

main {
  background-color: #F8F8F8;
}


.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);
}

/* 代表画像とテキスト */

/* 上部 */
.text_ss_cover {
  text-align: center;
}

.text_ss_cover img {
  width: 700px;
}

/* 下部 */
.part {
  justify-content: center;
  display: flex;
  margin-top: 20px;
}

.part .ceo_img_cover {
  text-align: center;
}

.part .ceo_img_cover img {
  width: 350px;
  border-radius: 100%;
}

.main_text p {
  font-size: 18px;
  font-weight: bold;
}

.sign_cover {
  display: flex;
  padding: 30px;
}

.sign_1 {
  margin-top: 10px;
  font-weight: bold;
}

.sign_2 {
  margin-right: auto;
  margin-left: 10px;
}

.sign_2 img {
  width: 150px;
}


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) {

  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 {
    margin-bottom: 20px;
  }

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

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

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

  .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%;
  }


  /* 代表画像とテキスト */

  /* 上部 */
  .text_ss_cover {
    text-align: center;
  }

  .text_ss_cover img {
    width: 80%;
  }

  /* 下部 */
  .part {
    justify-content: center;
    display: flex;
    margin-top: 20px;
  }

  .part .ceo_img_cover {
    text-align: center;
  }

  .part .ceo_img_cover img {
    margin-top: 20px;
    width: 110%;
    border-radius: 100%;
  }

  .main_text {
    padding: 0 20px;
  }

  .main_text p {
    font-size: 10px;
    font-weight: bold;
  }

  .sign_cover {
    display: flex;
    padding: 30px;
  }

  .sign_1 {
    margin-top: 10px;
    font-size: 12px;
    font-weight: bold;
  }

  .sign_2 {
    margin-right: auto;
    margin-left: 10px;

    margin-top: 5px;
  }

  .sign_2 img {
    width: 90px;
  }

  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;
  }

}