@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
.footerFixed {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
html {
  overflow-y: scroll;
}

#bunmen {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.Logoimg {
  width: 10%;
  height: auto;
}
h1 {
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.1em;
  color: #fa4141;
  text-shadow: -4px 4px 0 #000, -8px 6px 0 #fff;
  margin-right: 20px;
}
#newtext {
  position: relative;
  /* color: #158b2b; */
  font-style: italic;
  color: black;
  font-size: 12px;
  padding: 10px 0 0px;
  text-align: center;
  margin: 1.5em 0;
}
#newtext:before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 150px;
  height: 58px;
  border-radius: 50%;
  border: 5px solid #a6ddb0;
  border-left-color: transparent;
  border-right-color: transparent;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
/* #newtext {
  font-size: 18px;
  padding-bottom: 40px;
  padding-left: 30px;
  color: black;
} */
/* h1 {
  color: #000;
} */
/* #newtext {
  color: black;
  padding-left: 30px;
  padding-bottom: 15px;
} */
html {
  /* position: relative; */
  min-height: 100vh;
}
.text-center {
  text-align: center;
}
.container {
  margin-left: auto;
  margin-right: auto;
  /* width: 70vw; */
  height: auto;
  width: 100%;
}
/*
  body {
    margin-bottom: 60px;
  }*/
.Nav {
  height: 100px;
}
img {
  object-fit: contain;
}
#image-wrapper1 {
  position: relative;
  width: 100%;
  height: auto;
  /* margin-top: 50px; */
  padding-top: 10px;
}

.image-wrapper2 {
  /* position: relative; */
  width: 100%;
  /* max-width: 600px; */
  /* margin: 0 auto; */
  /* margin-left: auto;
  margin-right: auto; */
}

.image-change {
  position: absolute;
  width: 100%;
  /* max-width: 600px; */
  height: auto;

  max-height: 70vh;
}

#image-change2 {
  display: none;
}

#image-change3 {
  display: none;
}

#image-change4 {
  display: none;
}

.Logoimgwrap1 {
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
}

.container2 {
  margin-top: 30px;
  margin-bottom: 30px;
}
@media screen and (orientation: portrait) and (max-width: 1024px) {
  html {
    overflow: scroll;
  }
  .footerFixed {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: scroll;
  }
  #newtext {
    font-size: 18px;
    padding-bottom: 28px;
    padding-left: 30px;
    color: black;
    margin: 0px;
  }

  #newtext:before {
    display: none;
  }
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  .image-wrapper2 {
    margin-left: auto;
    margin-right: auto;
  }
  h1 {
    font-size: 14px;
    padding-bottom: 16px;
    font-style: normal;
    letter-spacing: 0em;
    color: #000;
    text-shadow: none;
  }
  /* position: relative; */
  .Logoimgwrap1 {
    width: 100%;
    height: auto;
    margin-top: 50px;
  }
  .Logoimg {
    width: 60%;
    height: auto;
  }
}

@media screen and (orientation: portrait) and (max-width: 768px) {
  .Nav {
    height: 0px;
  }
  h1 {
    font-size: 18px;
  }
}

@media screen and (orientation: portrait) and (max-width: 375px) {
  .image-change {
    left: 1px;
  }
}

@media screen and (orientation: portrait) and (max-width: 320px) {
}

@media screen and (orientation: landscape) and (max-width: 900px) {
  html,
  body {
    overflow: scroll;
    width: 100%;
    height: auto;
  }
  .footerFixed {
    display: block;
    margin-top: 30px;
    overflow: scroll;
  }
  .Logoimgwrap1 {
    margin-top: 0px;
  }
  .container {
    width: 100%;
  }
  /* .container2 {
    max-height: 40vh;
  } */
  #bunmen {
    display: none;
  }
  #image-wrapper1 {
    margin-top: 0px;
  }

  h1 {
    font-size: 14px;
    padding-bottom: 10px;
    font-style: normal;
    letter-spacing: 0em;
    color: #000;
    text-shadow: none;
  }

  #newtext:before {
    display: none;
  }
  #newtext {
    font-size: 14px;
    color: black;
    padding-left: 30px;
    position: initial;
    padding-bottom: 0px;
  }
  .Logoimg {
    width: 40%;
    height: auto;
  }
  .image-change {
    display: block;
    position: static;
    width: 80%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    max-height: 70vh;
  }
  .Logoimgwrap1 {
    width: 50vw;
    height: auto;
  }

  footer {
    display: none;
  }
}
footer {
  margin-top: auto;

  /* 背景色などは割愛します */
}
