@charset "UTF-8";


/*-----section1（トップ画像部分・h1「よくあるご質問・お問い合わせ」が置いてある場所）-----*/
.sec1-faq{
  /*画像だけ他ページのsection1と異なる*/
  background:linear-gradient(180deg, rgba(19, 25, 122, 0.8) 51%, rgba(3, 11, 16, 0.7) 100%), url(../image/deep-fish.jpg);
}
/*-------------------------------------------*/



/*-----section2・3（「よくあるご質問」・「お問い合わせ」全て共通）-----*/
#sec2-faq,
#sec3-faq{
  height: 100%;
  width: 100%;
  padding: 1em;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4em;
}

#sec2-faq .innerBoxFAQ,
#sec3-faq .innerBoxFAQ{
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  border: 2px dotted #d7d9e0;
  border-radius: 10px;
  width: 90%;
  gap: 50px;
  margin: auto;
  padding: 40px;
  background-color: rgba(0, 3, 23, 0.4);
}

@media(max-width:560px){
  /*スマホ版*/
  #sec2-faq,
  #sec3-faq{
  width: 100%;
  padding: 1em;
  gap: 1em;
}
  #sec2-faq .innerBoxFAQ,
  #sec3-faq .innerBoxFAQ{
    padding: 20px;
  }
  }
/*-------------------------------------------*/


/*-----section2（FAQ・「よくあるご質問」）-----*/

.qa {
  /*各Q&A*/
  margin-bottom: 5px;
  border-bottom: 1px solid #d6dde3;
  width: 100%;
}

.qa summary {
  /*Q.「～？」の部分*/
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em 1em 3em;
  font-size: 1.2em;
  cursor: pointer;
}

.qa summary::before,
.qa p::before {
  /*「Q」と「A」のポジション*/
  position: absolute;
  left: 0;
  font-weight: 600;
  font-size: 1.3em;
}

.qa summary::before {
  /*「Q」の記号*/
  color: #75bbff;
  content: "Q";
}

.qa p::before {
  /*「A」の記号*/
  color: #ff8d8d;
  line-height: 1.2;
  content: "A";
}

.qa summary::after {
  /*Q&Aを開く白い矢印（閉じてる）*/
  transform: translateY(0%) rotate(0deg);
  width: 2.5em;
  height: 2.5em;
  content: '';
  transition: transform 0.5s;/*0.5秒かけて開く*/
  margin-left: 10px;
  background-image: url(../image/keyboard_arrow_down_white_24dp.svg);
}

.qa[open] summary::after {
    /*Q&Aを開く白い矢印（開く動き）*/
  transform: rotate(180deg);
}

.qa p {
  /*Answerの文章（閉じてる間なので消えてる）*/
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: .3em 3em 1.5em;
  transition: transform .5s, opacity .5s;
  max-width: 95%;
  font-size: 1.2em;
}

.qa[open] p {
  /*Answerの文章（開いてるので出現する）*/
  transform: none;
  opacity: 1;
}

@media(max-width:560px){
  /*スマホ版*/
  .qa summary {
    /*Q.「～？」の部分*/
    padding: 1em 1em 1em 3em;
    font-size: 1em;
    margin-left: 1em;
  }
  }
/*-------------------------------------------*/


/*-----section3（Inquiry・「お問い合わせ」）-----*/
.Form {
  /*お問い合わせフォーム全体*/
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.Form-Item {
  /*個別のフォーム*/
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;
    display: flex;
    align-items: center;
  }

  .Form-Item-Label {
    /*「必須」＋「お名前」の各セット*/
    width: 100%;
    max-width: 250px;
    letter-spacing: 0.05em;
    font-weight: bold;
    font-size: 18px;
    margin-top: 20px;
  }

  .Form-Item-Label.isMsg {
    /*「必須」＋「お問い合わせ内容」*/
    margin-top: 8px;
    margin-bottom: auto;
  }

  .Form-Item-Label-Required {
    /*「必須」*/
    border-radius: 6px;
    margin-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 48px;
    display: inline-block;
    text-align: center;
    background: #545454;
    color: #fff;
    font-size: 14px;
  }

  .Form-Item-Input {
    /*input欄（名前、電話番号、アドレスの入力欄）*/
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 48px;
    width: 100%;
    max-width: 500px;
    background: #eaedf2;
    font-size: 18px;
  }

  .Form-Item-Textarea {
    /*textarea欄（お問い合わせ内容の入力欄）*/
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 216px;
    flex: 1;
    width: 100%;
    max-width: 600px;
    background: #eaedf2;
    font-size: 18px;
  }

  .Form-Btn {
    /*「送信する」ボタン*/
    border-radius: 6px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    background: #545454;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
  }

@media screen and (max-width: 560px) {
  .Form {
    margin-top: 40px;
  }
  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }
  .Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
  .Form-Btn {
    /*「送信する」ボタン*/
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
}
/*-------------------------------------------*/





