@charset "utf-8";
/* CSS Document */
body {
  background-color: #ffddd1;
}
/*ヘッダー（logoとnav）---------------------------------------*/
.header {
  position: relative;
  z-index: 1;
}
.h__logo {
  top: 60px;
  left: 150px;
  height: calc(192vw/14.4);
  position: absolute;
  width: calc(226vw/14.4);
  z-index: 1;
}
.h__logoTarget {
  display: block;
}
.h__logoTarget img {
  height: 100%;
  width: 100%;
}
.gn {
  display: flex;
  height: 60px;
  justify-content: flex-end;
  align-items: flex-end;
  margin-right: 15rem;
  font-size: 1.4rem;
  font-weight: 500;
}
.gn li {
  padding-left: 30px;
}
.gn li a {
  color: #271403;
}
@media screen and (max-width:768px) {
  .gn {
    /*display: none;*/
    height: auto;
    margin-right: 0;
  }
  .gn li {
    padding-left: 0;
  }
  .h__logo {
    position: static;
    display: flex;
    height: 100%;
    margin: 1rem auto;
    justify-content: center;
  }
  .h__logoTarget img {
    width: calc(139vw/3.75)
  }
}
/*------------------------------------トップ---------------------------------------*/
.top-h2_2nd {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 15rem 0 2rem;
}
.title {
  height: 70px;
}
.top-h3_2nd {
  display: flex;
  justify-content: center;
  font-size: 2rem;
  font-weight: 400;
  padding-bottom: 5rem;
  text-align: center;
  line-height: 1.5;
}
.hero_2nd {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: 9rem;
}
.hero_2nd img {
  width: calc(290vw/14.4);
}
@media screen and (max-width:768px) {
  .top-img-2nd {
    justify-content: center;
  }
  .top-h23_2nd {
    display: flex;
    flex-flow: column-reverse;
  }
  .top-h3_2nd {
    font-size: 1.6rem;
    padding: 2.2rem 0;
  }
  .top-h2_2nd {
    padding: 0 0 2rem;
  }
  .title {
    height: 33px;
  }
  .hero_2nd {
    width: 100%;
    padding-bottom: 7.5rem;
  }
  .hero_2nd img {
    width: 133px;
    height: 116px;
  }
}
/*FAQの見出し-------------------------------*/
.faq-tab {
  padding-bottom: 11rem;
}
.faq-tab ul {
  font-size: 1.8rem;
  display: flex;
  justify-content: space-evenly;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.faq-tab ul li a {
  color: #271403;
}
/*-------------------------ここからFAQセクション↓-------------------------*/
.section-QA {
  padding-bottom: 10rem;
  margin: 0 calc(200vw/14.4);
}
.section-QA__h3 {
  font-size: 2rem;
  font-weight: 500;
  padding-bottom: 3rem;
}
.FAQ {
  padding-bottom: 6rem;
}
.qa-1 {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 2rem;
  background-color: #fffdf4;
  border-radius: 10px;
}
.qa-1 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1.5em 2em 1.5em 3em;
  font-size: 1.8rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}
.qa-1 summary::before {
  position: absolute;
  left: 0.9em;
  top: 0.75em;
  font-weight: 500;
  font-size: 1.5em;
}
.qa-1 p::before {
  position: absolute;
  left: 1em;
  font-weight: 500;
  font-size: 1.5em;
}
.qa-1 summary::before {
  content: "Q";
}
.qa-1 summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 10px;
  height: 10px;
  margin-left: 1rem;
  border-bottom: 3px solid #ffddd1;
  border-right: 3px solid #ffddd1;
  content: '';
  transition: transform .5s;
}
.qa-1[open] summary::after {
  transform: rotate(225deg);
}
.qa-1 p {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: 0.2em 2em 1em 3.5em;
  transition: transform .5s, opacity .5s;
}
.qa-1[open] p {
  transform: none;
  opacity: 1;
  text-align: left;
  font-size: 1.6rem;
  line-height: 1.6;
}
.qa-1 p::before {
  line-height: 1.2;
  content: "A";
}
/*FAQ下の問い合わせ----------------------------*/
.section-QA__h2 {
  font-size: 2.4rem;
  font-weight: 500;
  padding-bottom: 3rem;
}
.FAQ-to-wrap {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}
.FAQ-to-wrap p {
  font-size: 1.8rem;
  padding-bottom: 4.5rem;
}
.FAQ-to-wrap a {
  font-size: 2rem;
  line-height: 2;
  color: #271403;
}
.FAQ-to-wrap a:last-child {
  text-indent: -4em;
}
.bg-img-wrap {
  display: flex;
  margin: 0 auto;
}
.bg-img img {
  max-width: 100%;
  height: auto;
}
@media screen and (max-width:768px) {
  .faq-tab ul {
    justify-content: unset;
    flex-flow: column;
    line-height: 2;
    font-size: 1.6rem;
    margin: auto;
    width: 47%;
  }
  .faq-tab {
    padding-bottom: 5.5rem;
  }
  .section-QA {
    margin: 0 calc(24vw / 3.75);
    padding-bottom: 8rem;
  }
  .section-QA__h3 {
    font-size: 1.6rem;
  }
  .qa-1 summary {
    padding: 0.8em 1em 0.8em 3em;
    font-size: 1.6rem;
    line-height: 1.5;
    content: none;
    text-align: left;
    list-style: none;
}

/* 一部ブラウザで消えなかった場合は以下も追記 */
summary::-webkit-details-marker {
  display:none;
}
  
  .qa-1 summary::before {
    top: 0.3em;
  }
  .qa-1[open] p {
    transform: none;
    opacity: 1;
    text-align: left;
    font-size: 1.4rem;
    line-height: 1.6;
  }
  .qa-1 summary::after {
    width: 8px;
    height: 8px;
  }
  .FAQ {
    padding-bottom: 4rem;
  }
  .section-QA__h2 {
    font-size: 1.7rem;
    font-weight: 500;
    padding-bottom: 2rem;
  }
  .FAQ-to-wrap p {
    font-size: 1.6rem;
    padding-bottom: 3rem;
    line-height: 1.5;
  }
  .FAQ-to-wrap a {
    font-size: 1.8rem
  }
}