.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease-out,
    padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  /* 十分な高さを確保 */
  padding-bottom: 1.5rem;
}

.accordion-item.active .arrow-icon {
  transform: rotate(180deg);
}

.tag-active {
  background-color: #3b82f6 !important;
  color: white !important;
}
.choose_box {
  position: relative;
  height: 30vw;
  width: 100%;
}
.choose_box p {
  /* font-size: 15px; */
  display: block;
  /* font-weight: 600; */
  /* text-align: center; */
}

.choose_box ul {
  width: 100%;
  text-align: center;
  margin: 0 auto !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.choose_box ul li {
  width: 49%;
  margin-right: 10px;
  margin-bottom: 20px;
  list-style: none;
}

.choose_box ul li:nth-child(2n) {
  margin-right: 0;
}
.choose_box ul li a {
  color: #fff;
  display: block;
  padding: 15px 10px;
  text-align: center;
  background-color: rgb(39 76 148);
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 0px;
  vertical-align: bottom;
}

.choose_box ul li a:hover {
  background-color: #eb6100;
  color: #fff;
  -webkit-transition: 0.7s;
  -moz-transition: 0.7s;
  -o-transition: 0.7s;
  transition: 0.7s;
}

h4 {
  width: 50%;
  clear: both;
  margin: auto;
  padding: 20px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  background-color: #c00003;
}

.fit {
  position: absolute;
  left: 0px;
  top: 20px;
  width: 100%;
}

.frame {
  border: 2px solid #2791d4;
  padding: 1em;
}

.frame img {
  margin: 10px 0 auto;
}

.return {
  text-align: center;
  font-size: 1.2em;
  margin-top: 10px;
}

#q_10 span,
#q_11 span,
#q_12 span,
#q_13 span {
  /* display: block; */
  width: 100%;
}

#q_02 a,
#q_10 a,
#q_11 a,
#q_12 a,
#q_13 a {
  /* display: block; */
  /* width: 100%; */
  text-align: center;
}

@media screen and (max-width: 768px) {
  .choose_box {
    position: relative;
    height: 175vw;
    width: 100%;
  }
  .choose_box p {
    /* font-size: 15px; */
    display: block;
    /* font-weight: 600; */
    /* text-align: center; */
  }

  .choose_box ul {
    width: 100%;
    text-align: center;
    margin: 0 auto !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .choose_box ul li {
    width: 98%;
    margin: 0;
    margin-bottom: 20px;
    list-style: none;
  }

  .choose_box ul li:nth-child(2n) {
    margin-right: 0;
  }
  .choose_box ul li a {
    color: #fff;
    display: block;
    padding: 10px 10px;
    text-align: center;
    background-color: #2791d4;
    font-weight: 600;
    font-size: 18px;
    border: 2px solid #2791d4;
    text-decoration: none;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 0px;
  }

  .choose_box ul li a:hover {
    background-color: #fff;
    color: #2791d4;
    -webkit-transition: 0.7s;
    -moz-transition: 0.7s;
    -o-transition: 0.7s;
    transition: 0.7s;
  }

  h4 {
    width: 50%;
    clear: both;
    margin: auto;
    padding: 20px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    background-color: #c00003;
  }

  .fit {
    position: absolute;
    left: 0px;
    top: 20px;
    width: 100%;
  }

  .frame {
    border: 2px solid #2791d4;
    padding: 1em;
  }

  .frame img {
    margin: 10px 0 auto;
  }

  .return {
    text-align: center;
    font-size: 1.2em;
    margin-top: 10px;
  }

  #q_10 span,
  #q_11 span,
  #q_12 span,
  #q_13 span {
    /* display: block; */
    width: 100%;
  }

  #q_02 a,
  #q_10 a,
  #q_11 a,
  #q_12 a,
  #q_13 a {
    /* display: block; */
    /* width: 100%; */
    text-align: center;
  }
}
