@charset "UTF-8";

/*アコーディオン全体*/
.accordion-area {
  list-style: none;
  max-width: 900px;
  padding: 0 8.33%;
  margin: 0 auto;
}

.accordion-area li{
  margin-bottom: 0.8vw;
}
@media screen and (max-width: 750px) {
  .accordion-area{
    list-style: none;
    width: 92vw;
    padding: 0 4%;
    margin:0 auto;
  }
  .accordion-area li{
    margin-bottom: 2.8vw;
  }
}

.accordion-area section {
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}

/*アコーディオンタイトル*/
.title__flex{
  display: flex;
  align-items: center;
  column-gap: 0.8vw;
  position: relative;/*+マークの位置基準とするためrelative指定*/
  cursor: pointer;
  margin: 2.5% 0;
  transition: all .5s ease;
}
.title {
  width: 90%;
  font-size: 2rem;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.title a{
  color: #000fb9;
  text-decoration: underline;
}
.Q {
  text-align: center;
  width: 4rem;
    padding-bottom: 0.576rem;
  background-color: #dc000c;
  color: #fff;
  border-radius: 0.3vw;
  font-size: 2.6rem;
  font-family: "Noto Sans", sans-serif;
}
@media screen and (max-width: 750px) {
  .title__flex{
    column-gap: 2.8vw;
    align-items: flex-start;
  }
  .title {
    width: 74vw;
    font-size: 4.3vw;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
  }
  .Q {
    text-align: center;
    width: 8.2vw;
    padding-bottom: 0.5vw;
    background-color: #dc000c;
    color: #fff;
    border-radius: 1vw;
    font-size: 5.328vw;
    font-family: "Noto Sans", sans-serif;
  }
}

/*アイコンの＋と×*/
.title__flex::before, .title__flex::after {
  position: absolute;
  content: '';
  width: 2.3rem;
  height: 2px;
  background-color: #dc000c;
}
@media screen and (max-width: 750px) {
  .title__flex::before, .title__flex::after {
    position: absolute;
    content: '';
    width: 3.86vw;
    height: 2px;
    background-color: #dc000c;
  }
}
.title__flex::before{
  top: 50%;
  right: 0.5vw;
  transform: rotate(0deg);
  
}
.title__flex::after{    
  top: 50%;
  right: 0.5vw;
  transform: rotate(90deg);

}
/*　closeというクラスがついたら形状変化　*/
.title__flex.close::before{

}

.title__flex.close::after{
display: none;
}

/*アコーディオンで現れるエリア*/
.box {
  display: flex;
  display: none;/*はじめは非表示*/
  margin: 2.5% 0;
}

.box__flex {
  display: flex;
  align-items: center;
  column-gap: 0.8vw;
}

.A {
  display: inline-block;
  text-align: center;
  width: 4rem;
  padding-bottom: 0.576rem;
  background-color: #FFCBCB;
  color: #dc000c;
  border-radius: 0.3vw;
  font-size: 2.6rem;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.4;
}
@media screen and (max-width: 750px) {
  .box__flex {
    display: flex;
    align-items: flex-start;
    column-gap: 2.8vw;
  }
  
  .A {
    display: inline-block;
    text-align: center;
    width: 8.2vw;
    padding-bottom: 0.2vw;
    background-color: #FFCBCB;
    color: #dc000c;
    border-radius: 1vw;
    font-size: 5.328vw;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.4;
  } 
}