@charset "UTF-8";
/* CSS Document */
body {
  background-color: #FCF3DA;
}
.inquiry-top {
  background-image: url("../images/inquiry-top-image.jpg");
  background-position: 100% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 500px;
  margin: 160px 0 70px;
}
.inquiry-top h1 {
  position: absolute;
  background-color: #FEFEFE;
  color: #333;
  font-size: 3.0rem;
  line-height: 6.0rem;
  width: 100%;
  margin-top: 175px;
  padding: 40px;
}
.inquiry_main {
  margin-bottom: 100px;
}
.inquiry_main h1 {
  color: #333;
  font-size: 3.0rem;
  font-weight: 400;
  line-height: 6.0rem;
  width: 100%;
  padding-bottom: 70px;
}
.accordion {
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
}
.toggle {
  display: none;
}
.option {
  position: relative;
  margin-bottom: 20px;
}
.title, .content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
}
.title {
  border: solid 1px #333;
  padding: 0 70px;
  display: flex;
  align-items: center;
  height: 100px;
  color: #333;
  background-color: #FFFFFF;
  font-size: 3.0rem;
  font-weight: 400;
  line-height: 6.0rem;
  text-align: left;
}
.title::after, .title::before {
  content: "";
  position: absolute;
  display: flex;
  align-items: center;
  right: 70px;
  width: 3.3px;
  height: 20px;
  background-color: #333;
  transition: all 0.3s;
}
.title::after {
  transform: rotate(90deg);
}
.content {
  max-height: 0;
  overflow: hidden;
}
.content p {
  margin: 0;
  padding: 40px 70px;
  font-size: 3.0rem;
  line-height: 5.0rem;
  text-align: left;
  color: #333;
  background-color: #FFFFFF;
  border: solid 1px #333;
}
.toggle:checked + .title + .content {
  max-height: 500px;
  transition: all 1.5s;
}
.toggle:checked + .title::before {
  transform: rotate(90deg) !important;
}
@media(max-width:1100px) {
  .inquiry-top {
    background-position: center;
    margin: 100px 0 80px;
    height: 300px;
  }
  .inquiry-top h1 {
    font-size: 3.0rem;
    line-height: 6.0rem;
    margin-top: 100px;
    padding: 20px;
  }
  .inquiry_main {
    margin-bottom: 70px;
  }
  .inquiry_main h1 {
    font-size: 2.0rem;
    line-height: 3.0rem;
    width: 100%;
    padding-bottom: 70px;
  }
  .accordion {
    max-width: 550px;
  }
  .option {
    margin-bottom: 10px;
  }
  .title {
    height: 90px;
    font-size: 1.6rem;
    line-height: 3.0rem;
    padding: 0 70px 0 20px;
  }
  .title::after, .title::before {
    right: 30px;
    width: 3px;
    height: 20px;
  }
  .content p {
    padding: 45px 20px;
    font-size: 1.6rem;
    line-height: 3.0rem;
  }
}
@media(max-width:700px){
   .inquiry-top h1 {
    font-size: 2.0rem;
    line-height: 3.0rem;
    margin-top: 125px;
    padding: 10px;
  }
}