@charset "utf-8";

html {
  scroll-padding-top: 100px;
}

body {
  line-height: 1.3;
  font-size: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  /* width: 1000px; */
  margin: 0;
  padding: 0;
  background-image: url(images/ashiato1.png);
}

img {
  width: 100%;
  height: auto;
  /* vertical-align: bottom; */
}

/* header */

.header {
  padding: 10px 50px;
  border-bottom: solid 5px #ccc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: radial-gradient(circle at 100px 20px, #e2c3db 60%, #b08eaa 40%);
  position: sticky;
  top: 0;
  z-index: 10;
}

header h1 {
  width: 50%;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: 45px;

}

/* main */
@media screen and (width>767px) {
  .text {
    display: flex;
    justify-content: center;
  }

  .text p {
    margin-top: 150px;
  }
}

.text p {
  font-size: 23px;
  margin-left: 50px;
  background-color: #c8eadf;
  width: 400px;
  height: 250px;
  border-radius: 100px 200px 100px 200px;
  font-weight: bold;
  line-height: 1.5;
  color: #02819d;
  padding: 50px 20px 0 20px;
}

@media screen and (width>767px) {
  .item2 {
    display: flex;
  }

  .item2 p {
    padding: 100px 50px 50px 20px;
    margin-left: 50px;
  }

  .item4 {
    display: flex;
  }

  .item4 P {
    padding: 100px 50px 100px 20px;
  }

  .item5 {
    display: flex;
  }

  .item5 img {
    width: 30%;
    padding-top: 70px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .item {
    display: block;
    display: flex;
  }

}

.item2 p {
  font-size: 23px;
  font-weight: bold;
  background-color: #e2c3db;
  line-height: 1.6;
  border-radius: 100px 200px 100px 200px;
  padding: 20px 10px 10px 40px;
  margin-left: 50px;
  color: #02819d;
}


.text img {
  width: 400px;
  height: 400px;
  border-radius: 30px;
  margin: 60px 50px 50px 50px;
}

.item img {
  width: 200px;
  height: 250px;
  margin: 20px 10px 20px 10px;
}

.item {
  display: flex;
  justify-content: center;
}

.item3 {
  display: flex;
  justify-content: center;
}

.item3 img {
  width: 200px;
  height: 250px;
  margin: 20px 10px 20px 10px;
}

.item5 img {
  width: 50%;
  border-radius: 50% 50% 50% 50%;
  padding-top: 20px;
  padding-bottom: 20px;
  display: block;
  margin: 0 auto;
}

.item4 p {
  font-size: 23px;
  font-weight: bold;
  background-color: #c8eadf;
  line-height: 1.6;
  border-radius: 100px 200px 100px 200px;
  padding: 20px 10px 10px 40px;
  margin-left: 50px;
  color: #02819d;
}

h3 {
  width: 150px;
  margin: 50px 0 30px 40px;
}

.new h4 {
  width: 150px;
  margin: 50px 0 30px 40px;
}

.new dl dt {
  float: left;
  clear: both;
  margin: 0 30px 0 30px;
  font-size: 20px;
  font-weight: bold;
  padding: 10px 0 5px 10px;
  color: #785571;
}

.new dl dd {
  border-bottom: solid saddlebrown 1px;
  font-size: 20px;
  padding: 10px 0 5px 10px;
  font-weight: bold;
  width: 700px;
  margin-bottom: 30px;
  color: #785571;
}

.info h4 {
  width: 150px;
  margin: 50px 0 30px 40px;
}

.info dl dt {
  float: left;
  clear: both;
  margin: 0 30px 0 40px;
  font-size: 20px;
  font-weight: bold;
  /* padding: 10px 0 5px 10px; */
}

.info dl dd {
  font-size: 20px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 10px;
}

.info dl {
  border: 7px double #c8eadf;
  width: 500px;
  height: 100px;
  padding: 10px;
  margin-left: 10px;
}

iframe {
  margin-left: 40px;
  margin-top: 30px;
}

footer {
  margin-top: 60px;
  background-image: radial-gradient(circle at 100px 20px, #b08eaa 40%, #e2c3db 60%);
  height: 120px;
  position: relative;
}

footer img {
  width: 200px;
  padding-top: 15px;
  padding-left: 15px;
}

footer a img {
  width: 60px;
  position: absolute;
  right: 20px;
  bottom: 50px;

}

/* Cast */

/* ホバー */

.image-container {
  position: relative;
  /* aspect-ratio: 4/3;(縦横比の固定) */
  overflow: hidden;
  cursor: pointer;
}

.image-container img {
  width: 250px;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s easa;
}

.image-container:hover img {
  transform: scale(1.1);
}

/* 擬似要素で文字を重ねる */
.image-container::after {
  content: attr(data-text);
  /* data-textの中身を表示 */
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f0f09b;
  color: #625c5c;
  font-size: 1.4rem;
  font-weight: bold;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ホバー時に文字がふわっと上がる */
.image-container:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* price */

.price h2 {
  width: 150px;
  margin: 50px 0 30px 40px;
}

.price h3 {
  background-color: #c8eadf;
  color: #785571;
  width: 200px;
  font-size: 25px;
  padding: 20px;
  text-align: center;
  border-radius: 100px 100px 100px 100px;
}

.price p {
  font-size: 20px;
  /* font-weight: bold; */
  text-align: center;
}

.price h4 {
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  background-color: #c8eadf;
  width: 200px;
  border-radius: 100px 100px 100px 100px;
  color: #785571;
  padding: 20px;
  margin-left: 50px;
  background-position: center;
}

.fee4 img {
  border-radius: 100px 100px 100px 100px;
  width: 70%;
  margin-left: 70px;
}


.fee4 h5 {
  font-size: 23px;
  font-weight: bold;
  text-align: center;
}

.fee,
.fee1,
.fee2,
.fee3,
.fee4 {
  background-color: #e5d2e1ac;
  width: 450px;
  background-position: center;
  margin-left: 30px;
  padding: 20px 20px 20px 20px;
}

.photo p img {
  width: 80%;
  border-radius: 50% 50% 50% 50%;
}

.fee5 img {
  width: 60%;
  border-radius: 50% 100% 50% 100%;
  margin: 10px 0 10px 100px;
}

.system{
   background-color: #e5d2e1ac;
  width: 450px;
  background-position: center;
  margin-left: 30px;
  padding: 20px 20px 20px 20px;
}

/* Cast */

.menber {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
}

.menber h3,
.menber h4 {
  margin-bottom: 20px;
}

.menber h3 img {
  max-width: 200px;
  height: auto;
}

.menber h4 img {
  max-width: 100%;
  border-radius: 12px;
 border-radius: 100px 200px 100px 200px;

}

.menber p {
  font-size: 23px;
  font-weight: bold;
  background-color: #c8eadf;
  line-height: 1.6;
  border-radius: 100px 200px 100px 200px;
  padding: 20px 10px 10px 40px;
  margin-left: 50px;
  color: #02819d;
}


@media screen and ((width>767px)) {
  .photo {
    display: flex;
  }

  .photo p img {
    width: 60%;
  }

  .photo h2 {
    width: 100%;
  }

  .fee5 img {
    width: 50%;
  }

  .menber h4 img{
    width: 80%;
  }
}