@charset "UTF-8";
/* CSS Document */

html {
  scroll-behavior: smooth;
}

.faq-wrap {
  padding: 0 15px 60px;
  font-size: 16px;
}

/* ===== Page Title ===== */
.faq-page-title {
  font-size: 20px;
  font-weight: bold;
  border-bottom: 3px solid#E40202;
  padding-bottom: 8px;
  margin-bottom: 24px;
}

/* ===== アンカーリンク ===== */
.faq-tab-nav {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
}

.faq-tab-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0.4em 10px;
  text-align: center;
  font-weight: bold;
  color: #e40202;
  text-decoration: none;
  background: #fff;
  border-left: 2px dotted#E40202;
  transition: opacity 0.2s;
  line-height: 1.5;
  gap: 4px;
}

.faq-tab-nav a:last-child {
  border-right: 2px dotted#E40202;
}

.faq-tab-nav a:hover {
  opacity: 0.7;
}

/* 下矢印アイコン */
.faq-tab-nav a .arrow {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid#E40202;
  border-bottom: 1.5px solid#E40202;
  transform: rotate(45deg);
  margin-top: -4px;
}

/* ===== Section ===== */
.faq-section {
  margin-bottom: 48px;
  scroll-margin-top: 20px;
}

.faq-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 2em;
}

.faq-section-title::before {
  content: none;
}

/* ===== アコーディオン ===== */
.faq-item {
  background: #fff;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.21);
  border-radius: 13px;
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  background: #fff;
  user-select: none;
}

.faq-question:hover {
  background: #fdf5f5;
}

.faq-q-label {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: bold;
  color: #e40202;
  line-height: 1;
}

.faq-q-text {
  flex: 1;
  font-weight: bold;
  line-height: 1.6;
}

.faq-toggle-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  margin-top: 0;
}

/* 回答エリア（デフォルト非表示） */
.faq-answer {
  display: none;
  background: #fff;
  /* border-top: 1px solid #eee; */
  padding: 0 2.5em 0 20px;
}

.faq-answer-inner {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  margin-left: 1.5em;
}

.faq-a-label {
  flex-shrink: 0;
  font-weight: bold;
  color: #4a4a4a;
  line-height: 1;
  padding-top: 5px;
}

.faq-a-text {
  font-size: 14px;
  line-height: 1.8;
}

.faq-toggle:checked ~ .faq-answer {
  display: block;
}

.faq-toggle:checked ~ .faq-question .faq-toggle-icon {
  color: #333;
}

/* ===== お問い合わせボタン ===== */
.faq-contact-wrap {
  text-align: right;
  margin-top: 40px;
}

.faq-contact-btn {
  display: inline-block;
  padding: 1em 3em;
  background: #d50001;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}

.faq-contact-btn:visited {
  color: #fff;
}
.faq-contact-btn:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.7;
}

/* SP */
@media (max-width: 768px) {
  /* 共通 */

  #WrapInner {
    width: 100%;
    padding-top: 0;
  }
  .mainTtl h1 {
    font-size: 115%;
  }
  #PageBody {
    background: none;
  }
  #PageBodyInner {
    padding: 0;
    margin: 0;
  }
  #MainClm {
    width: 100%;
    float: none;
  }
  /* footer */
  footer {
    padding-top: 0px;
  }
  .searchtxt {
    background: none;
    width: 75% !important;
    height: 50% !important;
    font-size: 100% !important;
    float: left !important;
    border-top: solid 2px #f4f0ed !important;
    border-right: solid 2px #f4f0ed !important;
    border-bottom: solid 2px #f4f0ed !important;
    border-left: none !important;
    border-radius: 0px !important;
    padding: 3px 5px !important;
    box-sizing: content-box;
  }

  /* FAQ */
  .faq-wrap {
    padding: 0 1em;
    font-size: 14px;
  }

  .faq-tab-nav {
    flex-direction: row;
  }

  .faq-tab-nav a {
    font-size: 13px;
    padding: 12px 6px 10px;
  }

  .faq-tab-nav a .arrow {
    width: 8px;
    height: 8px;
  }

  .faq-page-title {
    font-size: 17px;
    padding-left: 1em;
  }
  .faq-a-text {
    font-size: 13px;
  }

  .faq-contact-wrap {
    text-align: center;
  }
}
