/* Scoped to .ttobagi-faq — avoids overriding theme body */

.ttobagi-faq,
.ttobagi-faq *,
.ttobagi-faq *::before,
.ttobagi-faq *::after {
  box-sizing: border-box;
}

.ttobagi-faq {
  color: #111111;
}

.ttobagi-faq .faq-section {
  width: 100%;
  background-color: #f8f9fb;
  padding: 160px 24px;
}

@media (min-width: 768px) {
  .ttobagi-faq .faq-section {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 1024px) {
  .ttobagi-faq .faq-section {
    padding: 80px 20px;
  }
}

.ttobagi-faq .faq-inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.ttobagi-faq .faq-list-wrap {
  width: 100%;
}

.ttobagi-faq .accordion {
  width: 100%;
}

.ttobagi-faq .faq-item {
  border-bottom: 1px solid #e5e7eb;
  transition: border-color 0.15s ease;
}

.ttobagi-faq .faq-item:hover {
  border-bottom-color: #002d5d;
}

.ttobagi-faq .faq-item-heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.ttobagi-faq .faq-trigger {
  width: 100%;
  padding: 24px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.ttobagi-faq .faq-trigger-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.ttobagi-faq .faq-num {
  display: inline-block;
  font-size: 12px;
  color: #002d5d;
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.ttobagi-faq .faq-q {
  font-size: 16px;
  font-weight: 500;
  color: #111111;
  transition: color 0.15s ease;
}

.ttobagi-faq .faq-trigger:hover .faq-q {
  color: #002d5d;
}

.ttobagi-faq .faq-icon-wrap {
  flex-shrink: 0;
  margin-top: 4px;
  color: #999999;
}

.ttobagi-faq .faq-icon {
  display: block;
  transition: transform 0.3s ease;
}

.ttobagi-faq .faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.ttobagi-faq .faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition:
    grid-template-rows 0.3s ease-out,
    opacity 0.3s ease-out;
  opacity: 0;
}

.ttobagi-faq .faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.ttobagi-faq .faq-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.ttobagi-faq .faq-a {
  margin: 0;
  padding: 0 32px 24px 40px;
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
}

.ttobagi-faq .motion-block {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.ttobagi-faq .motion-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ttobagi-faq .faq-item[data-motion-item] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--motion-delay, 0s),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--motion-delay, 0s);
}

.ttobagi-faq .faq-item[data-motion-item].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ttobagi-faq .faq-item[data-motion-item]:nth-child(1) {
  --motion-delay: 0.2s;
}
.ttobagi-faq .faq-item[data-motion-item]:nth-child(2) {
  --motion-delay: 0.25s;
}
.ttobagi-faq .faq-item[data-motion-item]:nth-child(3) {
  --motion-delay: 0.3s;
}
.ttobagi-faq .faq-item[data-motion-item]:nth-child(4) {
  --motion-delay: 0.35s;
}
.ttobagi-faq .faq-item[data-motion-item]:nth-child(5) {
  --motion-delay: 0.4s;
}
.ttobagi-faq .faq-item[data-motion-item]:nth-child(6) {
  --motion-delay: 0.45s;
}
