/* Office (Backoffice) page */
.office-page { display: flex; flex-direction: column; width: 100%; }

.office-first { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 188px 0 213px; gap: 80px; background: var(--color-bgE5); }
@media (max-width: 767px) { .office-first { flex-direction: column; gap: 54px; padding: 50px 24px 95px; } }

.office-first__inner { display: flex; align-items: flex-start; gap: 80px; width: 100%; max-width: 1200px; }
@media (max-width: 767px) { .office-first__inner { flex-direction: column; width: 100%; gap: 54px; } }

.office-desc { display: flex; flex-direction: column; gap: 64px; width: 490px; }
@media (max-width: 767px) { .office-desc { gap: 8px; text-align: center; width: auto; } }

.office-desc__title { font-weight: 700; font-size: 40px; color: var(--color-system1); line-height: 160%; }
.office-desc__title--desktop { display: block; white-space: pre-wrap; }
.office-desc__title--mobile { display: none; }
@media (max-width: 767px) {
  .office-desc__title { font-size: 25px; }
  .office-desc__title--desktop { display: none; }
  .office-desc__title--mobile { display: block; }
}

.office-desc__content { font-size: 20px; color: var(--color-system3); line-height: 160%; white-space: pre-wrap; }
.office-desc__content--desktop { display: block; }
.office-desc__content--mobile { display: none; }
@media (max-width: 767px) {
  .office-desc__content--desktop { display: none; }
  .office-desc__content--mobile { display: block; font-size: 15px; }
}

.office-screenshot { position: relative; display: flex; flex: 6; width: 100%; align-items: center; justify-content: flex-start; }
@media (max-width: 767px) { .office-screenshot { width: 100%; order: 2; } }
.office-screenshot object { width: 100%; display: block; }

.office-section { display: flex; flex-direction: column; align-items: center; padding: 120px 0; gap: 100px; background: var(--color-systemWhite); }
@media (max-width: 767px) { .office-section { padding: 60px 24px; gap: 54px; } }

.office-section--grey { background: var(--color-bgF9); }

.office-section-inner { display: flex; flex-direction: column; width: 100%; max-width: 1200px; gap: 60px; }

/* ===== Backoffice Section 2: Fully integrated (ButtonList + Image carousel) ===== */
/* DefaultSection: section padding/gap already from .office-section */
.office-section--backoffice-tabs .office-section-inner.office-section-2-inner {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
@media (max-width: 767px) {
  .office-section--backoffice-tabs .office-section-inner.office-section-2-inner { width: 100%; }
}

/* ScreenShotDescription: title + subtitle */
.office-section-2-desc {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  text-align: center;
}
@media (max-width: 767px) {
  .office-section-2-desc { align-items: center; justify-content: center; }
}
.office-section-2-desc__title {
  font-weight: 700;
  font-size: 40px;
  color: var(--color-system1);
  line-height: 160%;
  margin: 0;
}
.office-section-2-desc__title--desktop { display: block; }
.office-section-2-desc__title--mobile { display: none; white-space: pre-wrap; }
@media (max-width: 767px) {
  .office-section-2-desc__title--desktop { display: none; }
  .office-section-2-desc__title--mobile { display: block; }
  .office-section-2-desc__title { font-size: 25px; text-align: center; }
}
.office-section-2-desc__content {
  font-size: 20px;
  color: var(--color-system3);
  line-height: 160%;
  white-space: pre-wrap;
  margin: 0;
}
@media (max-width: 767px) { .office-section-2-desc__content { font-size: 15px; text-align: center; } }

/* SecondContentRight: ButtonList + ScreenShotImageContainer wrapper */
.office-section-2-right {
  display: flex;
  flex-direction: row;
  gap: 120px;
  width: 100%;
  max-width: 1200px;
}
@media (max-width: 767px) {
  .office-section-2-right { flex-direction: column; gap: 20px; width: 100%; }
}

/* ButtonList */
.office-section-2-buttons {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 348px;
  justify-content: center;
}
@media (max-width: 767px) {
  .office-section-2-buttons { flex-direction: row; flex-wrap: wrap; gap: 8px; width: 100%; }
}

/* ButtonListButton */
.office-section-2-btn {
  padding: 8px 0;
  width: 100%;
  height: 45px;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.1);
  transition: background 0.2s, color 0.2s;
  white-space: pre-wrap;
  text-align: center;
  background: var(--color-systemWhite);
  color: var(--color-system7);
}
.office-section-2-btn.is-selected {
  background: var(--color-primaryMain);
  color: var(--color-systemWhite);
}
@media (max-width: 767px) {
  .office-section-2-btn { padding: 6px 12px; height: 30px; width: fit-content; font-size: 11px; }
}

/* ScreenShotImageContainer */
.office-section-2-image-container {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 6;
  min-width: 0;
  min-height: 400px;
}
@media (max-width: 767px) {
  .office-section-2-image-container { order: 2; width: 100%; min-height: 300px; flex: none; }
}
.office-section-2-image-container object {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ScreenShotImageItem: one visible by selectedButtonIndex */
.office-section-2-image-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
}
.office-section-2-image-item.is-visible { display: block; }

.office-side { display: flex; flex-direction: row; gap: 100px; width: 1200px; max-width: 100%; }
@media (max-width: 767px) { .office-side { flex-direction: column; gap: 36px; width: 100%; } }

.office-side__desc { display: flex; flex-direction: column; gap: 24px; flex: 5; justify-content: center; }
@media (max-width: 767px) { .office-side__desc { width: 100%; order: 1; justify-content: center; gap: 8px; } }

.office-side__desc .office-desc__title { text-align: start; }
@media (max-width: 767px) { .office-side__desc .office-desc__title { text-align: center; } }
.office-side__desc .office-desc__content { text-align: start; }
@media (max-width: 767px) { .office-side__desc .office-desc__content { text-align: center; } }

.office-mobile-num { display: none; margin-bottom: 24px; font-size: 18px; font-weight: 700; color: var(--color-primaryMain); text-align: center; }
@media (max-width: 767px) { .office-mobile-num { display: block; } }

.office-button-list { display: flex; flex-direction: column; gap: 32px; width: 348px; justify-content: center; }
@media (max-width: 767px) { .office-button-list { flex-direction: row; flex-wrap: wrap; gap: 8px; width: 100%; } }

.office-button-list__btn { padding: 8px 0; width: 100%; height: 45px; border-radius: 50px; border: none; font-weight: 700; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 4px 4px 20px rgba(0,0,0,0.1); transition: background 0.2s, color 0.2s; white-space: pre-wrap; text-align: center; }
.office-button-list__btn.is-selected { background: var(--color-primaryMain); color: var(--color-systemWhite); }
.office-button-list__btn:not(.is-selected) { background: var(--color-systemWhite); color: var(--color-system7); }
@media (max-width: 767px) { .office-button-list__btn { padding: 6px 12px; width: fit-content; height: 30px; font-size: 11px; box-shadow: 2px 2px 10px rgba(0,0,0,0.1); } }

.office-faq-title { text-align: center; font-weight: 700; font-size: 40px; color: var(--color-system1); margin-bottom: 24px; }
@media (max-width: 767px) { .office-faq-title { font-size: 25px; } }

.office-accordion-wrap { width: 100%; max-width: 1200px; display: flex; flex-direction: column; gap: 24px; }

.resp-divider { width: 100%; max-width: 1200px; min-height: 1px; background: var(--color-systemE); }

.office-second-row { display: flex; flex-direction: row; gap: 120px; width: 1200px; max-width: 100%; align-items: flex-start; }
@media (max-width: 767px) { .office-second-row { flex-direction: column; gap: 20px; width: 100%; } }

.office-screenshot-item { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: none; }
.office-screenshot-item.is-visible { display: block; }
.office-screenshot-wrap { position: relative; width: 100%; min-width: 0; flex: 6; min-height: 400px; }
.office-screenshot-wrap object { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 767px) { .office-screenshot-wrap { width: 100%; min-height: 300px; order: 2; } }
