@charset "UTF-8";
/* =========================================================
   faq_v1.css — よくあるご質問 改修スタイル
========================================================= */

.faq-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === Hero ================================================= */
.faq-hero {
  padding: 86px 20px;
  background: #fff8f3;
  text-align: center;
}

.faq-hero__inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq-hero__label {
  margin: 0 0 16px;
  color: #e94b16;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.faq-hero h1 {
  margin: 0 0 24px;
  color: #e94b16;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.35;
}

.faq-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: #333;
  font-size: 17px;
  line-height: 2;
}

/* === Heading ================================================= */
.faq-heading {
  display: flex;
    flex-direction: column;
    align-items: center;
  margin-bottom:52px !important;
  text-align: center;
}

.faq-heading__en {
  display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #ea5514;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.faq-heading__ja {
  font-size: clamp(22px, 3.6vw, 34px);
    font-weight: 700;
    color: #313131;
    line-height: 1.55;
    margin: 0 0 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
    white-space: nowrap;
}

@media screen and (max-width: 767px) {
.faq-heading { margin-bottom: 36px !important; }
}
/* === Category Nav ================================================= */
.faq-category-nav {
  padding: 70px 0;
  background: #fff;
}

.faq-category-nav .faq-heading {
  margin-bottom: 32px;
}

.faq-category-nav__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}

.faq-category-nav__card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: auto;
  padding: 14px 18px;
  color: #333;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ead8cf;
  border-radius: 10px;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.faq-category-nav__card:hover {
  transform: none;
  background: #fff8f3;
  border-color: #e94b16;
  color: #e94b16;
  box-shadow: none;
  text-decoration: none;
}

.faq-category-nav__card span {
  display: inline-block;
  flex: 0 0 auto;
  margin: 0;
  color: #e94b16;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

.faq-category-nav__card h3 {
  margin: 0;
  color: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.faq-category-nav__card::after {
  content: "›";
  margin-left: auto;
  color: #e94b16;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

/* === FAQ Sections ================================================= */
.faq-section {
  padding: 90px 0;
}

.faq-section--white {
  background: #fff;
}

.faq-section--cream {
  background: #fff8f3;
}

/* === FAQ List ================================================= */
.faq-list {
  max-width: 960px;
  margin: 0 auto;
  border-top: 1px solid #ead8cf;
}

.faq-item {
  border-bottom: 1px solid #ead8cf;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 14px;
  padding: 24px 0;
  color: #222;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-question__text {
  flex: 1;
  padding-top: 3px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

.faq-label {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border-radius: 50%;
}

.faq-label--q {
  color: #fff;
  background: #e94b16;
}

.faq-label--a {
  color: #e94b16;
  background: #fff;
  border: 2px solid #e94b16;
}

.faq-question__icon {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 4px;
}

.faq-question__icon::before,
.faq-question__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: #e94b16;
  transform: translate(-50%, -50%);
}

.faq-question__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-question__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  display: none;
  padding: 0 0 26px;
}

.faq-answer__inner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.faq-answer__body {
  flex: 1;
}

.faq-answer__body p {
  margin: 0 0 12px;
  color: #333;
  font-size: 16px;
  line-height: 1.9;
}

.faq-answer__body p:last-child {
  margin-bottom: 0;
}

.faq-answer__body a {
  color: #e94b16;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* === Table wrap for horizontal scroll on mobile ================================================= */
.faq-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 16px 0;
}

.faq-table-wrap table {
  min-width: 720px;
}

/* === Final CTA ================================================= */
.faq-final-cta {
  padding: 90px 20px;
  background: #fff8f3;
  text-align: center;
}

.faq-final-cta__inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq-final-cta h2 {
  margin: 0 0 22px;
  color: #e94b16;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.45;
}

.faq-final-cta p {
  max-width: 760px;
  margin: 0 auto;
  color: #333;
  font-size: 16px;
  line-height: 2;
}

.faq-final-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

.faq-final-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 54px;
  padding: 13px 28px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  background: #e94b16;
  border: 2px solid #e94b16;
  border-radius: 999px;
  transition: 0.2s ease;
}

.faq-final-cta__btn:link,
.faq-final-cta__btn:visited,
.faq-final-cta__btn:active { color: #fff; }

.faq-final-cta__btn:hover {
  background: #c74010;
  border-color: #c74010;
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

.faq-final-cta__btn--outline {
  color: #e94b16;
  background: #fff;
}

.faq-final-cta__btn--outline:link,
.faq-final-cta__btn--outline:visited,
.faq-final-cta__btn--outline:active { color: #e94b16; }

.faq-final-cta__btn--outline:hover {
  background: #fff3ee;
  color: #e94b16;
}

/* === Responsive ================================================= */
@media screen and (max-width: 960px) {
  .faq-category-nav__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .faq-hero,
  .faq-section,
  .faq-final-cta {
    padding: 64px 0;
  }

  .faq-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .faq-final-cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  .faq-hero h1,
  .faq-heading__ja,
  .faq-final-cta h2 {
    font-size: 28px;
  }

  .faq-hero p,
  .faq-final-cta p {
    font-size: 15px;
    line-height: 1.9;
  }

  .faq-category-nav {
    padding: 56px 0;
  }

  .faq-category-nav .faq-heading {
    margin-bottom: 26px;
  }

  .faq-category-nav__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .faq-category-nav__card {
    padding: 13px 16px;
    border-radius: 8px;
  }

  .faq-category-nav__card h3 {
    font-size: 15px;
  }

  .faq-category-nav__card span {
    font-size: 12px;
  }

  .faq-question {
    gap: 10px;
    padding: 20px 0;
  }

  .faq-question__text {
    font-size: 16px;
    line-height: 1.7;
  }

  .faq-label {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .faq-answer__inner {
    gap: 10px;
  }

  .faq-answer__body p {
    font-size: 15px;
    line-height: 1.8;
  }

  .faq-final-cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .faq-final-cta__btn {
    width: 100%;
    min-width: 0;
  }
}
