/* よくあるご質問ページ専用。共通ヘッダー・タイトル帯・フッターは既存CSSを使用します。 */

.utk-faq-body .utk-background-motion__truck {
  max-width: 24vw;
  opacity: .42;
}

.utk-faq-page {
  position: relative;
  overflow: hidden;
}

.utk-faq {
  position: relative;
  z-index: 1;
  padding: clamp(52px, 7vw, 88px) 0 clamp(72px, 9vw, 112px);
}

.utk-faq__intro {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 52px);
  color: #664f45;
  font-size: clamp(.98rem, 1.6vw, 1.08rem);
  font-weight: 700;
  line-height: 2;
  text-align: center;
}

.utk-faq__intro p {
  margin: 0;
}

.utk-faq-tools {
  padding: clamp(24px, 4vw, 34px);
  margin: 0 auto clamp(44px, 6vw, 64px);
  border: 2px solid rgb(8 127 167 / 14%);
  border-radius: 26px;
  background: rgb(255 253 248 / 94%);
  box-shadow: 0 8px 24px rgb(77 105 112 / 10%);
}

.utk-faq-tools__title {
  margin: 0 0 22px;
  color: var(--utk-blue);
  font-family: var(--utk-font-rounded);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 900;
  text-align: center;
}

.utk-faq-search {
  width: min(100%, 620px);
  margin-inline: auto;
}

.utk-faq-search__label,
.utk-faq-filter__label {
  display: block;
  margin: 0 0 9px;
  color: #664f45;
  font-family: var(--utk-font-rounded);
  font-size: .92rem;
  font-weight: 900;
}

.utk-faq-search__field {
  position: relative;
}

.utk-faq-search__field input {
  width: 100%;
  min-height: 56px;
  padding: 12px 18px 12px 50px;
  border: 2px solid rgb(8 127 167 / 24%);
  border-radius: 16px;
  color: var(--utk-ink);
  font: inherit;
  background: #fff;
  box-shadow: inset 0 2px 5px rgb(77 105 112 / 6%);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.utk-faq-search__field input::placeholder {
  color: #8b7c75;
  opacity: 1;
}

.utk-faq-search__field input:focus-visible {
  border-color: var(--utk-blue);
  outline: none;
  box-shadow: 0 0 0 4px rgb(8 127 167 / 15%);
}

.utk-faq-search__icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 17px;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--utk-blue);
  stroke-width: 2;
  stroke-linecap: round;
  transform: translateY(-50%);
  pointer-events: none;
}

.utk-faq-filter {
  margin-top: 26px;
}

.utk-faq-filter__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.utk-faq-filter__button,
.utk-faq-empty button {
  min-height: 44px;
  padding: 9px 15px;
  border: 2px solid rgb(216 60 115 / 22%);
  border-radius: 999px;
  color: #664f45;
  font-family: var(--utk-font-rounded);
  font-size: .86rem;
  font-weight: 900;
  line-height: 1.4;
  background: #fff7fa;
  box-shadow: 0 3px 0 rgb(216 60 115 / 7%);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease, transform .2s ease;
}

.utk-faq-filter__button:hover,
.utk-faq-empty button:hover {
  border-color: rgb(216 60 115 / 52%);
  transform: translateY(-1px);
}

.utk-faq-filter__button:focus-visible,
.utk-faq-empty button:focus-visible {
  outline: 4px solid rgb(246 200 62 / 58%);
  outline-offset: 2px;
}

.utk-faq-filter__button[aria-pressed="true"] {
  border-color: var(--utk-blue);
  color: #fff;
  background: var(--utk-blue);
  box-shadow: 0 4px 0 rgb(7 92 124 / 16%);
}

.utk-faq-results {
  margin: 24px 0 0;
  color: #664f45;
  font-weight: 900;
  text-align: center;
}

.utk-faq-empty {
  padding: clamp(24px, 4vw, 34px);
  margin: 0 auto clamp(44px, 6vw, 64px);
  border: 2px dashed rgb(232 169 43 / 48%);
  border-radius: 22px;
  color: #664f45;
  line-height: 1.8;
  text-align: center;
  background: #fff8dc;
}

.utk-faq-empty p {
  margin: 0 0 18px;
}

.utk-faq-empty strong {
  color: var(--utk-ink);
  font-family: var(--utk-font-rounded);
  font-size: 1.08rem;
}

.utk-faq-empty button {
  border-color: var(--utk-blue);
  color: #fff;
  background: var(--utk-blue);
}

.utk-faq-empty__mobile-break {
  display: none;
}

.utk-faq-category > h2 {
  margin: 0 0 20px;
  color: var(--utk-blue);
  font-family: var(--utk-font-rounded);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 900;
  text-align: center;
}

.utk-faq-list {
  display: grid;
  gap: 14px;
}

.utk-faq-item {
  overflow: hidden;
  border: 2px solid rgb(8 127 167 / 15%);
  border-radius: 18px;
  background: rgb(255 253 248 / 97%);
  box-shadow: 0 4px 0 rgb(8 127 167 / 7%);
}

.utk-faq-item summary {
  position: relative;
  display: grid;
  min-height: 72px;
  padding: 16px 62px 16px 18px;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: var(--utk-ink);
  font-family: var(--utk-font-rounded);
  font-weight: 900;
  line-height: 1.65;
  cursor: pointer;
  list-style: none;
  transition: background-color .2s ease;
}

.utk-faq-item summary::-webkit-details-marker {
  display: none;
}

.utk-faq-item summary::after {
  position: absolute;
  right: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  content: "+";
  background: var(--utk-pink);
}

.utk-faq-item[open] summary {
  background: #fff3f8;
}

.utk-faq-item[open] summary::after {
  content: "−";
}

.utk-faq-item summary:hover {
  background: #fff7fa;
}

.utk-faq-item summary:focus-visible {
  outline: 4px solid rgb(246 200 62 / 70%);
  outline-offset: -4px;
  border-radius: 16px;
}

.utk-faq-item__label {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-family: var(--utk-font-rounded);
  font-size: 1.1rem;
  font-weight: 900;
  background: var(--utk-blue);
}

.utk-faq-item__answer {
  display: grid;
  padding: 18px 62px 20px 18px;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  border-top: 1px dashed rgb(8 127 167 / 25%);
  color: #5d4d45;
  line-height: 1.85;
  animation: utk-faq-answer-in .2s ease-out;
}

.utk-faq-item__answer .utk-faq-item__label {
  color: #74420d;
  background: var(--utk-yellow);
}

.utk-faq-item__answer p {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}

.utk-faq-contact {
  padding: clamp(28px, 5vw, 44px);
  margin-top: clamp(52px, 8vw, 80px);
  border: 2px solid rgb(232 169 43 / 32%);
  border-radius: 28px;
  text-align: center;
  background: #fff8dc;
  box-shadow: 0 4px 0 rgb(171 119 25 / 8%);
}

.utk-faq-contact h2 {
  margin: 0 0 14px;
  color: var(--utk-blue);
  font-family: var(--utk-font-rounded);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 900;
  line-height: 1.55;
  text-wrap: balance;
}

.utk-faq-contact p {
  max-width: 620px;
  margin: 0 auto 24px;
  color: #664f45;
  line-height: 1.8;
}

.utk-faq-contact .utk-email-button {
  width: min(100%, 340px);
  justify-content: center;
  text-align: left;
}

.utk-faq-contact__mobile-break {
  display: none;
}

@keyframes utk-faq-answer-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .utk-faq-body .utk-background-motion__truck {
    max-width: 58vw;
    opacity: .38;
  }
}

@media (max-width: 600px) {
  .utk-faq {
    padding-top: 44px;
  }

  .utk-faq__intro {
    margin-bottom: 34px;
    font-size: .92rem;
    line-height: 1.85;
    text-align: left;
  }

  .utk-faq__intro br {
    display: none;
  }

  .utk-faq-tools {
    padding: 22px 16px;
    margin-bottom: 40px;
    border-radius: 21px;
  }

  .utk-faq-tools__title {
    margin-bottom: 18px;
  }

  .utk-faq-search__field input {
    min-height: 52px;
    padding-left: 46px;
    font-size: .95rem;
  }

  .utk-faq-search__icon {
    left: 15px;
    width: 21px;
    height: 21px;
  }

  .utk-faq-filter {
    margin-top: 22px;
  }

  .utk-faq-filter__buttons {
    justify-content: flex-start;
    gap: 8px;
  }

  .utk-faq-filter__button {
    min-height: 42px;
    padding: 8px 12px;
    font-size: .8rem;
  }

  .utk-faq-results {
    margin-top: 20px;
    font-size: .92rem;
  }

  .utk-faq-empty {
    padding: 24px 16px;
    margin-bottom: 40px;
    font-size: .92rem;
  }

  .utk-faq-empty__mobile-break {
    display: inline;
  }

  .utk-faq-category > h2 {
    margin-bottom: 16px;
  }

  .utk-faq-list {
    gap: 11px;
  }

  .utk-faq-item {
    border-radius: 15px;
  }

  .utk-faq-item summary {
    min-height: 68px;
    padding: 13px 50px 13px 13px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    font-size: .94rem;
  }

  .utk-faq-item summary::after {
    right: 12px;
    width: 30px;
    height: 30px;
    font-size: 1.35rem;
  }

  .utk-faq-item__label {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .utk-faq-item__answer {
    padding: 16px 14px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    font-size: .92rem;
  }

  .utk-faq-contact {
    padding: 28px 18px;
    border-radius: 22px;
  }

  .utk-faq-contact p {
    font-size: .92rem;
    text-align: left;
  }

  .utk-faq-contact__mobile-break {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  .utk-faq-item__answer {
    animation: none;
  }
}
