/* ==========================================================================
   タブ切り替えセクション
   ※ 元: Next.js の CSS Modules（SCSS）を素のCSSに変換
   ========================================================================== */

/* --------------------------------------------------------------------------
   .tab-content（元: src/components/service/ServiceDetailLayout/TabContent/TabContent.module.scss）
   -------------------------------------------------------------------------- */

/* =========================================== */
/* Department Usage Tab */
/* =========================================== */
.tab-content__department-usage {
  width: 100%;
}

.tab-content__main-usage {
  margin-bottom: 48px;
}

.tab-content__usage-title {
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-primary);
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .tab-content__usage-title {
    font-size: 16px;
    margin-bottom: 24px;
  }
}

.tab-content__other-examples {
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.tab-content__other-examples-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .tab-content__other-examples-title {
    font-size: 15px;
  }
}

.tab-content__other-examples-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tab-content__other-examples-list li {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text-primary);
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
}

.tab-content__other-examples-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.tab-content__other-examples-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .tab-content__other-examples-list li {
    font-size: 14px;
  }
}

/* =========================================== */
/* Consulting Plan Tab */
/* =========================================== */
.tab-content__consulting-plan {
  width: 100%;
}

.tab-content__plan-title {
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: 18px;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .tab-content__plan-title {
    font-size: 16px;
  }
}

.tab-content__plan-description {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text-primary);
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .tab-content__plan-description {
    font-size: 14px;
    margin-bottom: 24px;
  }
}

.tab-content__pricing-table {
  width: 100%;
  border-top: 1px solid var(--color-border);
}

.tab-content__pricing-row {
  display: flex;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .tab-content__pricing-row {
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
  }
}

.tab-content__pricing-target {
  flex-shrink: 0;
  width: 200px;
}

.tab-content__pricing-target span {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-primary);
}

@media (max-width: 768px) {
  .tab-content__pricing-target {
    width: 100%;
  }

  .tab-content__pricing-target span {
    font-weight: var(--font-weight-medium);
    font-size: 14px;
  }
}

.tab-content__pricing-contents {
  flex: 1;
  padding: 0 24px;
}

.tab-content__pricing-contents p {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin: 0 0 4px 0;
}

.tab-content__pricing-contents p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .tab-content__pricing-contents {
    padding: 0;
    width: 100%;
  }

  .tab-content__pricing-contents p {
    font-size: 14px;
  }
}

.tab-content__pricing-price {
  flex-shrink: 0;
  width: 200px;
  text-align: right;
}

.tab-content__pricing-price span {
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: 15px;
}

@media (max-width: 768px) {
  .tab-content__pricing-price {
    width: 100%;
    text-align: left;
  }

  .tab-content__pricing-price span {
    font-size: 14px;
  }
}

.tab-content__price-note {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: 14px;
  color: var(--color-text-secondary);
  text-align: right;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .tab-content__price-note {
    text-align: left;
    font-size: 13px;
  }
}

/* =========================================== */
/* Organization Scale Tab */
/* =========================================== */
.tab-content__organization-scale {
  width: 100%;
}

.tab-content__scale-title {
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-primary);
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .tab-content__scale-title {
    font-size: 16px;
    margin-bottom: 24px;
  }
}

/* =========================================== */
/* App Example Tab */
/* =========================================== */
.tab-content__app-example {
  width: 100%;
}

.tab-content__app-item {
  margin-bottom: 32px;
}

.tab-content__app-item:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .tab-content__app-item {
    margin-bottom: 24px;
  }
}

.tab-content__app-name {
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: 18px;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .tab-content__app-name {
    font-size: 16px;
    margin-bottom: 8px;
  }
}

.tab-content__app-description {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text-primary);
  margin: 0;
}

@media (max-width: 768px) {
  .tab-content__app-description {
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   .tab-section（元: src/components/service/ServiceDetailLayout/TabSection/TabSection.module.scss）
   -------------------------------------------------------------------------- */

/* =========================================== */
/* Section Base */
/* =========================================== */
.tab-section {
  margin: 50px 0;
}

@media (max-width: 768px) {
  .tab-section {
    margin: 40px 0;
  }
}

@media (max-width: 640px) {
  .tab-section {
    margin: 1rem;
  }
}

.tab-section__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-x-desktop);
}

@media (max-width: 1024px) {
  .tab-section__container {
    padding: 0 var(--padding-x-tablet);
  }
}

@media (max-width: 768px) {
  .tab-section__container {
    padding: 0 var(--padding-x-mobile);
  }
}

.tab-section__container {
  padding: 0;
  max-width: auto;
}

/* =========================================== */
/* Section Title */
/* =========================================== */
.tab-section__section-title {
  text-align: center;
  margin-bottom: 48px;
}

.tab-section__section-title-en {
  display: block;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-light);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.tab-section__section-title-ja {
  display: block;
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: 28px;
  color: var(--color-text-primary);
}

@media (max-width: 768px) {
  .tab-section__section-title-ja {
    font-size: 24px;
  }
}
