@charset "urf-8";

/* リセットCSS */

*,
::before,
::after {
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box;
    list-style: none;
    font-size: 20px;
    color: #000;
    letter-spacing: 0.2em;
    line-height: 2.5em;
    font-family: "Shippori Mincho";
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    background-color: #FFFEFC;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

main {
  width: min(1500px , 90%);
  margin: 260px auto 0px;
}

.pagetitle {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pagetitle h1 {
  font-size: 28px;
  border-bottom: 2px solid #323333;
  width: fit-content;
  line-height: 1;
  letter-spacing: 0;
}

.pagetitle span {
  font-size: 14px;
  font-family: inter;
  letter-spacing: 0.2;
  line-height: 1;
}

.container {
  margin: 0 auto 200px;
  width: 65%;
}

.box {
  margin: 80px auto 80px;
  padding:40px 30px 30px 30px;
  background-color:#fff;
  font-size: 15px;
  line-height: 1;
  justify-content: space-between;
  align-items:center;
  position: relative;
  border: 1px #000 solid;
  box-shadow: 12px 12px #E9E4DE;
  z-index: 10;
  line-height: 1.6;
}

.question {
  margin-bottom: 10px;
  display: flex;
}

.answer {
  display: flex;
  margin-top: 15px;
}
.answer p{
color: #535353;
}

.ellipse1,
.ellipse2 {
    animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}

.ellipse2 {
  transition-delay: 0.5s;
}


.ellipse1 {
  width: 90px;
  position: absolute;
  top: 300px;
  left: 50px;
  z-index: -1;
  transition-delay: 1.4s;
}

.ellipse2 {
  width: 140px;
  position: absolute;
  top: 200px;
  left: 100px;
  z-index: -1;
  transition-delay: 1s;
}

.reserve-bottom {
  margin: 200px auto 180px;
  display: flex;
  width: 70%;
  align-items: center;
}
@media screen and (max-width: 1150px) {

.container {
  width: 80%;
}

}

@media (width < 840px) {

  main {
    margin-top: 200px;
  }

.pagetitle h1 {
    font-size: 22px;
  }

  .container {
    width: 95%;
  }
  
  .ellipse1 {
    width: 110px;
    position: absolute;
    top: 800px;
    left: 200px;
    z-index: -1;
    transition-delay: 1.4s;
  }
  
  .ellipse2 {
    width: 60px;
    position: absolute;
    top: 1100px;
    left: 30px;
    z-index: -1;
  } 

}