#qanda .main-title-box {
  /* background: #D90013; */
}

/* ========================================
  @media screen and (min-width: 768px),print
======================================== */
@media screen and (min-width: 768px), print {

  #qanda main.is-archive .system-contents {
    width: min(95%, 1000px);
    margin-inline: auto;
    margin-block: 100px;
    padding: 0;
  }

  #qanda main.is-archive .qanda__contents {
    width: 100%;
  }
  #qanda main.is-archive .qanda__category + .qanda__category {
    margin-top: 80px;
  }
  #qanda main.is-archive .qanda__category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
    color: #1A1A1A;
  }
  #qanda main.is-archive .qanda__category-title::before {
    content: "";
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    background-color: #D90013;
  }
  #qanda main.is-archive .qanda__list {
    margin: 0;
  }
  #qanda main.is-archive .qanda__item-title {
    position: relative;
    margin: 0;
    border-bottom: 1px solid #ccc;
  }
  #qanda main.is-archive .qanda__item-title-button {
    position: relative;
    display: block;
    width: 100%;
    padding-inline: 96px;
    padding-block: 32px;
    padding-right: 72px;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 500;
    line-height: calc(26 / 18);
    letter-spacing: 0;
    text-align: left;
    color: #1A1A1A;
    cursor: pointer;
  }
  #qanda main.is-archive .qanda__item-title-button::before,
  #qanda main.is-archive .qanda__item-answer-body::before {
    content: "";
    position: absolute;
    left: 48px;
    pointer-events: none;
  }
  #qanda main.is-archive .qanda__item-title-button::before {
    top: 2em;
    width: 18px;
    height: auto;
    aspect-ratio: 18.42 / 25.23;
    background: url('../images/index/faq-question-icon.svg') no-repeat center / contain;
  }
  #qanda main.is-archive .qanda__item-title-button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 42px;
    transform: translateY(-50%);
    width: 15px;
    height: auto;
    aspect-ratio: 14.71 / 8.06;
    background: url('../images/index/faq-question-arrow.svg') no-repeat center / contain;
    transition: transform 0.3s ease;
    pointer-events: none;
  }
  #qanda main.is-archive .qanda__item.is-open .qanda__item-title-button::after {
    transform: translateY(-50%) rotate(180deg);
  }
  #qanda main.is-archive .qanda__item-answer {
    display: grid;
    grid-template-rows: 0fr;
    min-height: 0;
    margin: 0;
    transition: grid-template-rows 0.3s ease;
  }
  #qanda main.is-archive .qanda__item.is-open .qanda__item-answer {
    grid-template-rows: 1fr;
  }
  #qanda main.is-archive .qanda__item-answer-inner {
    overflow: hidden;
    min-height: 0;
  }
  #qanda main.is-archive .qanda__item-answer-body {
    position: relative;
    padding-inline: 96px;
    padding-block: 34px;
    font-size: 15px;
    font-weight: 400;
    line-height: calc(24 / 15);
    letter-spacing: 0;
    color: #1A1A1A;
    background-color: #F8F8F8;
    border-bottom: 1px solid #ccc;
  }
  #qanda main.is-archive .qanda__item-answer-body::before {
    top: 2.6em;
    width: 18px;
    height: auto;
    aspect-ratio: 18.76 / 19.14;
    background: url('../images/index/faq-answer-icon.svg') no-repeat center / contain;
  }
}

/* ========================================
  @media screen and (max-width: 767px)
======================================== */
@media screen and (max-width: 767px) {

  #qanda main.is-archive .system-contents {
    width: 100%;
    margin-bottom: 10vw;
    padding-inline: 4.1vw;
  }

  #qanda main.is-archive .qanda__contents {
    width: 100%;
  }
  #qanda main.is-archive .qanda__category + .qanda__category {
    margin-top: 18vw;
  }
  #qanda main.is-archive .qanda__category-title {
    display: flex;
    align-items: center;
    gap: 2.4vw;
    margin-bottom: 1vw;
    font-size: 4.8vw;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
    color: #1A1A1A;
  }
  #qanda main.is-archive .qanda__category-title::before {
    content: "";
    flex-shrink: 0;
    width: 2.9vw;
    height: 2.9vw;
    background-color: #D90013;
  }
  #qanda main.is-archive .qanda__list {
    margin: 0;
  }
  #qanda main.is-archive .qanda__item-title {
    position: relative;
    margin: 0;
    border-bottom: 1px solid #ccc;
  }
  #qanda main.is-archive .qanda__item-title-button {
    position: relative;
    display: block;
    width: 100%;
    padding-left: 11.1vw;
    padding-right: 13.5vw;
    padding-block: 4.1vw 3.6vw;
    border: none;
    background: transparent;
    font-size: 3.9vw;
    font-weight: 500;
    line-height: calc(23 / 16);
    letter-spacing: 0;
    text-align: left;
    color: #1A1A1A;
    cursor: pointer;
  }
  #qanda main.is-archive .qanda__item-title-button::before,
  #qanda main.is-archive .qanda__item-answer-body::before {
    content: "";
    position: absolute;
    left: 3.1vw;
    pointer-events: none;
  }
  #qanda main.is-archive .qanda__item-title-button::before {
    top: 1.4em;
    width: 3.4vw;
    height: auto;
    aspect-ratio: 13.97 / 19.14;
    background: url('../images/index/faq-question-icon.svg') no-repeat center / contain;
  }
  #qanda main.is-archive .qanda__item-title-button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 4.8vw;
    transform: translateY(-50%);
    width: 3.4vw;
    height: auto;
    aspect-ratio: 14.23 / 14.52;
    background: url('../images/index/faq-question-arrow.svg') no-repeat center / contain;
    transition: transform 0.3s ease;
    pointer-events: none;
  }
  #qanda main.is-archive .qanda__item.is-open .qanda__item-title-button::after {
    transform: translateY(-50%) rotate(180deg);
  }
  #qanda main.is-archive .qanda__item-answer {
    display: grid;
    grid-template-rows: 0fr;
    min-height: 0;
    margin: 0;
    transition: grid-template-rows 0.3s ease;
  }
  #qanda main.is-archive .qanda__item.is-open .qanda__item-answer {
    grid-template-rows: 1fr;
  }
  #qanda main.is-archive .qanda__item-answer-inner {
    overflow: hidden;
    min-height: 0;
  }
  #qanda main.is-archive .qanda__item-answer-body {
    position: relative;
    padding-left: 11.1vw;
    padding-right: 3.6vw;
    padding-top: 5.1vw;
    padding-bottom: 3.6vw;
    font-size: 3.1vw;
    font-weight: 400;
    line-height: calc(22 / 13);
    letter-spacing: 0;
    color: #1A1A1A;
    background-color: #F8F8F8;
    border-bottom: 1px solid #ccc;
  }
  #qanda main.is-archive .qanda__item-answer-body::before {
    top: 2em;
    width: 3.4vw;
    height: auto;
    aspect-ratio: 14.23 / 14.52;
    background: url('../images/index/faq-answer-icon.svg') no-repeat center / contain;
  }
}
