@charset "UTF-8";
.common-inner {
  justify-content: space-between;
}

.common-block p + p:has(a) {
  margin: 9px 0 0 ;
}

@media screen and (max-width: 840px) {
  .common-inner {
    row-gap: 25px;
  }

  .common-block + .common-block {
    margin: 39px auto 0;
  }
}

.faq-popular {
  background-color: #f5f5f5;
  width: 100%;
  max-width: 797px;
  padding: 24px;
}

.faq-popular p {
  margin: 0;
  font-size: 1.125em;
  font-weight: 600;
}

.faq-popular ul {
  display: flex;
  flex-direction: column;
  row-gap: 3px;
  margin: 5px 0 0;
  padding: 0;
}

.faq-popular ul li {
  margin-bottom: 0;
}

.faq-popular ul li a {
  position: relative;
  font-size: 0.875em;
  font-weight: 700;
  line-height: 1.5;
  color: var(--main-color-blue);
}

.faq-popular ul li a::before {
  content: "Q.　";
}

.faq-popular ul li span {
  display: none;
}

@media screen and (max-width: 840px) {
  .faq-popular {
    padding: 16px 14px 15px;
  }

  .faq-popular p {
    font-size: 1em;
  }

  .faq-popular ul {
    row-gap: 10px;
    margin: 15px 0 0;
  }

  .faq-popular ul li a {
    font-weight: 400;
  }
}

.faq-icon-btn {
  height: 100%;
  border: 1px solid var(--main-color-blue);
  border-radius: 4px;
  overflow: hidden;
}

.faq-icon-btn a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--main-color-black);
  text-decoration: none;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.faq-icon-btn-upper {
  display: flex;
  flex-grow: 1;
  padding: 16px 22px 12px;
  column-gap: 18px;
}

.faq-icon-btn-upper figure {
  width: 48px;
  height: 48px;
}

.faq-icon-btn-upper figure img {
  width: 100%;
}

.faq-icon-btn-upper figure + div {
  flex: 1;
}

.faq-icon-btn-upper .faq-icon-btn-title {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.faq-icon-btn-upper .faq-icon-btn-desc {
  margin: 5px 0 0;
  font-size: 0.875em;
  line-height: 1.4;
}

.faq-icon-btn-upper .faq-icon-btn-note {
  margin: 4px 0 0;
  font-size: 0.75em;
  font-weight: 600;
}

.faq-icon-btn-lower {
  padding: 9px;
  background-color: var(--main-color-blue);
}

.faq-icon-btn-lower p {
  margin: 0;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

@media screen and (min-width: 841px) {
  .faq-icon-btn a:hover {
    background-color: var(--thin-color-blue);
  }
}
@media screen and (max-width: 840px) {
  .faq-icon-btn-upper {
    padding: 16px 13px;
    column-gap: 10px;
  }

  .faq-icon-btn-upper figure {
    width: 40px;
    height: 40px;
  }

  .faq-icon-btn-upper .faq-icon-btn-title {
    font-size: 0.875em;
  }

  .faq-icon-btn-upper .faq-icon-btn-desc {
    margin: 2px 0 0;
    line-height: 1.5;
  }

  .faq-icon-btn-upper .faq-icon-btn-note {
    margin: 4px 0 0;
    font-size: 0.875em;
  }

  .faq-icon-btn-lower {
    padding: 7px;
  }

  .faq-icon-btn-lower p {
    font-size: 0.875em;
  }
}

/* よくある質問一覧 */
.faq-list {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  margin: 22px 0 0;
  padding: 0;
}

.faq-list > li {
  border: 1px solid var(--main-color-blue);
  border-radius: 4px;
}

.faq-list .faq-list-title {
  position: relative;
  padding: 23px;
  font-size: 1.125em;
  font-weight: 700;
  cursor: pointer;
}

.faq-list .faq-list-title::before {
  position: absolute;
  top: 50%;
  right: 33px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--main-color-black);
  border-right: 2px solid var(--main-color-black);
  transform: translateY(-50%) rotate(135deg);
  content: "";
  transition: all 0.3s ease;
}

.faq-list li.is-open .faq-list-title::before {
  transform: translateY(-50%) rotate(-45deg);
}

.faq-list .faq-list-main {
  display: none;
  margin: 0;
  padding: 0 23px 23px;
}

/* .faq-list li.is-open .faq-list-main {
  display: block;
} */

.faq-list .faq-list-main > li {
  font-weight: 600;
}

.faq-list .faq-list-main > li + li {
  margin-top: 26px;
}

.faq-list .faq-list-main > li a {
  display: block;
  position: relative;
  width: 100%;
  max-width: 1160px;
  padding-left: 39px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-text-overflow: ellipsis;
  line-height: 1.5;
  color: var(--main-color-black);
  text-decoration: none;
}

.faq-list .faq-list-main > li a::before {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 11px;
  left: 0;
  width: 24px;
  height: 24px;
  font-size: 0.875em;
  font-weight: 700;
  color: #fff;
  border-radius: 4px;
  background-color: var(--main-color-blue);
  transform: translateY(-50%);
  content: "Q";
}

@media screen and (max-width: 840px) {
  /* よくある質問一覧 */
  .faq-list {
    margin: 25px 0 0;
  }

  .faq-list .faq-list-title {
    padding: 15px;
    font-size: 1em;
  }

  .faq-list .faq-list-title::before {
    right: 24px;
  }

  .faq-list .faq-list-main {
    padding: 0 23px 23px;
  }

  .faq-list .faq-list-main > li {
    font-weight: 600;
  }

  .faq-list .faq-list-main > li + li {
    margin-top: 16px;
  }

  .faq-list .faq-list-main > li a {
    font-size: 0.875em;
    padding-left: 25px;
    white-space: unset;
    overflow: visible;
  }

  .faq-list .faq-list-main > li a::before {
    top: 10px;
    left: -8px;
    width: 24px;
    height: 24px;
  }
}

/* よくある質問記事詳細 */
.faq-question .question-title {
  position: relative;
  font-size: 1.75em;
  padding-left: 56px;
  line-height: 1.5;
}

.faq-question .question-title::before {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background-color: var(--main-color-black);
  color: #fff;
  content: "Q";
}

.faq-answer {
  margin: 25px 0 0;
}

.faq-answer .answer-title {
  margin: 0;
  font-size: 1.125em;
  font-weight: 600;
}

.faq-answer .answer-title + p {
  margin: 17px 0 0;
}

.faq-answer h2 {
  font-size: 2em;
  line-height: 1.4;
  color: var(--main-color-blue);
}

.faq-answer * + h2 {
  margin: 20px 0 0;
}

.faq-answer h3 {
  font-size: 1.75em;
  line-height: 1.4;
  color: var(--main-color-black);
}

.faq-answer * + h3 {
  margin: 20px 0 0;
}

.faq-answer h4 {
  font-size: 1.125em;
  line-height: 1.4;
}

.faq-answer * + h4 {
  margin: 20px 0 0;
}

.faq-answer p + h4 {
  margin: 28px 0 0;
}

.faq-answer h5 ,
.faq-answer h6 {
  font-size: 1em;
  line-height: 1.4;
}

.faq-answer * + h5,
.faq-answer * + h6 {
  margin: 20px 0 0;
}

.faq-answer p + h5,
.faq-answer p + h6 {
  margin: 28px 0 0;
}

.faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
}

.faq-answer p:has(a) {
  margin: 15px 0 0;
}

.faq-answer p + p:has(a) {
  margin: 9px 0 0;
}

.faq-answer p + p,
.faq-answer a + p {
  margin: 26px 0 0;
}

.faq-answer * + p {
  margin: 12px 0 0;
}

.faq-answer a {
  position: relative;
  font-size: 0.875em;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--main-color-black);
}

.faq-answer a[href^="/"] {
  color: var(--main-color-blue);
}

.faq-answer a[target="_blank"] {
  color: var(--main-color-black);
  padding-right: 28px;
  background: url(/wp-content/themes/obd/assets/images/icon_outer.png) right center / 24px auto no-repeat;
}

.faq-answer a[href$=".pdf"] {
  color: var(--main-color-black);
  padding-right: 28px;
  background: url(/wp-content/themes/obd/assets/images/icon_pdf.png) right center / 24px auto no-repeat;
}

.faq-answer a[href$=".xlsx"] {
  color: var(--main-color-black);
  padding-right: 28px;
  background: url(/wp-content/themes/obd/assets/images/icon_excel.png) right center / 24px auto no-repeat;
}

.faq-answer a[href$=".docx"] {
  color: var(--main-color-black);
  padding-right: 28px;
  background: url(/wp-content/themes/obd/assets/images/icon_word.png) right center / 24px auto no-repeat;
}

.faq-answer ol {
  margin: 0;
  padding: 0;
  counter-reset: list_counter;
}

.faq-answer ol li {
  position: relative;
  padding-left: 20px;
}

.faq-answer ol li::before {
  position: absolute;
  left: 4px;
  top: 12px;
  width: 14px;
  height: 24px;
  transform: translateY(-50%);
  counter-increment: list_counter;
  content: counter(list_counter) ".";
}

.faq-answer ul {
  margin: 0;
  padding: 0;
}

.faq-answer ul li {
  position: relative;
  padding-left: 20px;
}

.faq-answer ul li::before {
  position: absolute;
  left: 4px;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--main-color-black);
  transform: translateY(-50%);
  content: "";
}

.faq-answer h2 + ul,
.faq-answer h3 + ul,
.faq-answer h4 + ul,
.faq-answer h5 + ul,
.faq-answer h6 + ul,
.faq-answer h2 + ol,
.faq-answer h3 + ol,
.faq-answer h4 + ol,
.faq-answer h5 + ol,
.faq-answer h6 + ol {
  margin: 6px 0 0;
}

.faq-answer * + ul,
.faq-answer * + ol {
  margin: 20px 0 0;
}

.faq-answer * + img,
.faq-answer * + figure {
  margin: 12px 0 0;
}

.faq-answer .wp-block-table table {
  width: auto;
}

.faq-answer hr {
  border-color: var(--border-color);
}

.faq-date {
  margin: 26px 0 0;
}

.faq-date p {
  position: relative;
  margin: 0;
  padding-left: 31px;
}

.faq-date p::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 24px;
  height: 24px;
  background: url(/wp-content/themes/obd/assets/images/icon_calendar.png) center center / cover no-repeat;
  transform: translateY(-50%);
  content: "";
}

@media screen and (max-width: 840px) {
  .faq-question .question-title {
    font-size: 1.25em;
    padding-left: 41px;
  }

  .faq-question .question-title::before {
    width: 32px;
    height: 32px;
  }

  .faq-answer {
    margin: 21px 0 0;
  }

  .faq-answer .answer-title {
    font-size: 1em;
  }
}
