/* 対応機能一覧ページのスタイル */
.no-screen {
  display: none;
}

.services {
  padding: 80px 0;
  /* background: #FFFFFF; */
}

.services__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.services__header {
  text-align: center;
  margin-bottom: 64px;
  white-space: nowrap;
}

.services__title {
  font-size: 36px;
  font-weight: bold;
  color: var(--text-main-light);
  margin-bottom: 16px;
}

.services__subtitle {
  font-size: 20px;
  color: var(--text-sub-light);
  margin-bottom: 24px;
}

.services__lead {
  font-size: 18px;
  color: var(--text-sub-light);
  max-width: 800px;
  margin: 0 auto;
}

/* コンパクトなサービスナビゲーション */
.service-nav {
  margin: 0 auto 40px;
  background: #FFF5E6;
  padding: 16px 0;
  border-radius: 4px;
}

.service-nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-nav__group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.service-nav__group:last-child {
  margin-bottom: 0;
}

.service-nav__label {
  font-weight: bold;
  color: var(--text-main-light);
  margin-right: 12px;
  white-space: nowrap;
}

.service-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-nav__link {
  color: var(--text-main-light);
  text-decoration: none;
  background: #FFFFFF;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.service-nav__link:hover {
  background: var(--accent-color);
  color: #FFFFFF;
}

@media (max-width: 767px) {
  .service-nav__group {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
  }

  .service-nav__links {
    width: 100%;
  }
}

/* カテゴリーセクション */
.category {
  margin-bottom: 80px;
}

.category__header {
  margin-bottom: 40px;
}

.category__title {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-main-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.category__title::before {
  content: "";
  width: 4px;
  height: 24px;
  background: var(--accent-color);
  border-radius: 2px;
}

.category__description {
  font-size: 16px;
  color: var(--text-sub-light);
  margin-bottom: 32px;
}

/* サービスカード */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.service-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-card__title {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 16px;
}

.service-card__description {
  color: var(--text-sub-light);
  margin-bottom: 24px;
}

/* 機能テーブル */
.feature-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.feature-table th,
.feature-table td {
  padding: 12px;
  border: 1px solid #EEEEEE;
}

.feature-table th {
  background: #FFF5E6;
  font-weight: bold;
  text-align: left;
}

.feature-table td {
  color: var(--text-sub-light);
}

/* オプション機能 */
.option-title {
  font-size: 18px;
  font-weight: bold;
  margin: 24px 0 16px;
  color: var(--text-main-light);
}

.option-table {
  width: 100%;
  border-collapse: collapse;
}

.option-table th,
.option-table td {
  padding: 12px;
  border: 1px solid #EEEEEE;
}

.option-table th {
  background: #F8F9FA;
  font-weight: bold;
  text-align: left;
}

.option-table td:last-child {
  text-align: right;
  color: var(--accent-color);
  font-weight: bold;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .services {
    padding: 40px 0;
  }

  .services__title {
    font-size: 28px;
  }

  .services__subtitle {
    font-size: 18px;
  }

  .services__lead {
    font-size: 16px;
  }

  .category {
    margin-bottom: 48px;
  }

  .category__title {
    font-size: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 24px;
  }

  .feature-table,
  .option-table {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}

/* ヘッダーセクション */
.services__header {
  margin-bottom: 80px;
}

.services__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.services__text {
  text-align: left;
}

.services__catchcopy {
  display: inline-block;
  background: #FFF5E6;
  color: var(--accent-color);
  font-weight: bold;
  padding: 8px 24px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.services__title {
  font-size: 36px;
  font-weight: bold;
  color: var(--text-main-light);
  margin-bottom: 24px;
  line-height: 1.4;
}

.services__subtitles {
  margin-bottom: 0;
}

.services__subtitle {
  font-size: 20px;
  color: var(--text-sub-light);
  margin-bottom: 8px;
}

.services__subtitle:last-child {
  margin-bottom: 0;
}

.services__visual {
  width: 100%;
}

.services__image {
  width: 100%;
  height: auto;
}

.sample__image {
  width: 50%;
  height: auto;
  border: 2px solid #333333;
}

@media (max-width: 767px) {
  .services__header {
    margin-bottom: 40px;
  }

  .services__content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 20px;
  }

  .services__text {
    text-align: center;
  }

  .services__catchcopy {
    font-size: 14px;
    padding: 6px 16px;
  }

  .services__title {
    font-size: 24px;
  }

  .services__subtitle {
    font-size: 16px;
  }
}

/* サービスカテゴリセクション */
.category-section {
  padding: 80px 0;
}

.category-section--gray {
  background: #F8F9FA;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.category-card__info {
  display: flex;
  flex-direction: row;
}

.category-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.category-card__page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.category-card__icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.category-card__title {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-main-light);
  display: flex;
  flex-direction: column;
}

.category-card__subtitle {
  font-size: 14px;
  color: var(--text-sub-light);
  margin-top: 4px;
}

.category-card__description {
  color: var(--text-sub-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.back__link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: 3.5rem;
  height: 3.5rem;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  background-color: var(--accent-color);
  border-radius: 50%;
}

.back__link > p {
  margin-left: -0.1rem;
}

@media (min-width: 992px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .category-section {
    padding: 40px 0;
  }

  .category-card {
    padding: 24px;
  }

  .category-card__title {
    font-size: 20px;
  }
}

/* CTAセクション */
.cta-section {
  background: linear-gradient(135deg, #FFF5E6 0%, #FFF 100%);
  padding: 80px 0;
}

.cta-section__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-section__content {
  text-align: center;
}

.cta-section__title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--text-main-light);
}

.cta-section__description {
  font-size: 18px;
  color: var(--text-sub-light);
  margin-bottom: 32px;
}

.cta-section__buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.cta-section__button {
  min-width: 240px;
}

@media (max-width: 767px) {
  .cta-section {
    padding: 40px 0;
  }

  .cta-section__title {
    font-size: 24px;
  }

  .cta-section__description {
    font-size: 16px;
  }

  .cta-section__buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-section__button {
    width: 100%;
  }
}
