/* サービスページ専用（page-services.php / 固定ページ本文コピペ用） */

/* ヒーロー内コンテンツは左詰め（他下層と統一・貼り付け本文のインラインも上書き） */
#services-page .gx-section:first-of-type .gx-wrap > div,
.gx-services-dashboard .gx-section:first-of-type .gx-wrap > div {
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

#services-page .gx-sectionHead__line {
  width: 72px;
  margin: 14px auto 0;
}

#services-page .gx-section--dark {
  background: #0f0f0f;
  color: #fff;
}

/* ダーク背景セクションはテキスト白で統一 */
#services-page .gx-section--dark .gx-sectionHead__title,
.gx-services-dashboard .gx-section--dark .gx-sectionHead__title {
  color: #fff !important;
}
#services-page .gx-section--dark .detail-content h3,
#services-page .gx-section--dark .detail-content ul,
#services-page .gx-section--dark .detail-content li,
#services-page .gx-section--dark .detail-section h3,
.gx-services-dashboard .gx-section--dark .detail-content h3,
.gx-services-dashboard .gx-section--dark .detail-content ul,
.gx-services-dashboard .gx-section--dark .detail-content li,
.gx-services-dashboard .gx-section--dark .detail-section h3 {
  color: #fff;
}
#services-page .gx-section--dark .detail-content ul,
.gx-services-dashboard .gx-section--dark .detail-content ul {
  color: rgba(255, 255, 255, 0.95);
}
#services-page .gx-section--dark .image-placeholder,
.gx-services-dashboard .gx-section--dark .image-placeholder {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

#services-page .image-placeholder {
  width: 100%;
  height: 300px;
  border: 2px dashed rgba(17, 17, 17, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(17, 17, 17, 0.4);
  font-size: 14px;
  background: #f5f5f5;
}

#services-page .image-placeholder--dark {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.03);
}

#services-page .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

#services-page .service-card {
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

#services-page .service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

#services-page .service-card__image {
  height: 240px;
  overflow: hidden;
}

#services-page .service-card__body {
  padding: 28px 24px;
}

#services-page .service-card__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #111;
}

#services-page .service-card__subtitle {
  font-size: 14px;
  color: rgba(17, 17, 17, 0.6);
  margin: 0 0 16px 0;
}

#services-page .service-card__text {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(17, 17, 17, 0.78);
  margin: 0 0 20px 0;
}

#services-page .service-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

#services-page .service-card__features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(17, 17, 17, 0.78);
}

#services-page .service-card__features li:last-child {
  border-bottom: none;
}

#services-page .service-card__features i {
  color: #d4af37;
  font-size: 16px;
}

#services-page .detail-section {
  max-width: 900px;
  margin: 0 auto;
}

/* 個人向け・法人向け 2カラム（左画像＝右画像と同じ・文字右配置／左文字・右画像） */
#services-page .audience-grid,
.gx-services-dashboard .audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: start;
}
/* 個人向けも法人向けと同様に左揃え・同系のカラー */
#services-page .audience-grid--individual .audience-grid__text,
.gx-services-dashboard .audience-grid--individual .audience-grid__text {
  text-align: left;
}
#services-page .audience-grid__img img,
.gx-services-dashboard .audience-grid__img img {
  max-width: 100%;
  height: auto;
}
#services-page .gx-section--dark .audience-grid__text p,
.gx-services-dashboard .gx-section--dark .audience-grid__text p {
  color: rgba(255, 255, 255, 0.9);
}

#services-page .audience-dl,
.gx-services-dashboard .audience-dl {
  margin: 0;
}
#services-page .audience-dl dt,
.gx-services-dashboard .audience-dl dt {
  font-size: 18px;
  font-weight: 700;
  color: #d4af37;
  margin: 0 0 8px 0;
}
#services-page .audience-dl dd,
.gx-services-dashboard .audience-dl dd {
  margin: 0 0 24px 0;
  padding-left: 0;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
}
#services-page .audience-dl dd:last-child,
.gx-services-dashboard .audience-dl dd:last-child {
  margin-bottom: 0;
}
#services-page .audience-h3,
.gx-services-dashboard .audience-h3 {
  font-size: 18px;
  font-weight: 700;
  color: #d4af37;
  margin: 24px 0 12px 0;
}
#services-page .audience-h3:first-child,
.gx-services-dashboard .audience-h3:first-child {
  margin-top: 0;
}
#services-page .audience-ol,
.gx-services-dashboard .audience-ol {
  margin: 0 0 16px 0;
  padding-left: 1.5em;
  line-height: 1.9;
  color: rgba(17, 17, 17, 0.9);
}
#services-page .audience-ol li,
.gx-services-dashboard .audience-ol li {
  margin-bottom: 16px;
}
#services-page .audience-ol li:last-child,
.gx-services-dashboard .audience-ol li:last-child {
  margin-bottom: 0;
}
#services-page .audience-p,
.gx-services-dashboard .audience-p {
  margin: 0;
  line-height: 1.9;
  color: rgba(17, 17, 17, 0.9);
}
@media (max-width: 767.98px) {
  #services-page .audience-grid,
  .gx-services-dashboard .audience-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  #services-page .audience-grid--individual .audience-grid__text,
  .gx-services-dashboard .audience-grid--individual .audience-grid__text {
    text-align: left;
  }
}

#services-page .detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: start;
}

#services-page .detail-grid__img,
#services-page .detail-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

#services-page .service-card .gx-btn--gold,
#services-page .detail-content .gx-btn--gold {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

#services-page .detail-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: #111;
}

#services-page .detail-content p {
  margin: 0 0 16px 0;
  line-height: 1.9;
  color: rgba(17, 17, 17, 0.78);
}

#services-page .detail-content ul {
  margin: 16px 0;
  padding-left: 20px;
  line-height: 1.9;
  color: rgba(17, 17, 17, 0.78);
}

#services-page .flow-steps {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

#services-page .flow-step {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
}

#services-page .flow-step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #d4af37;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

#services-page .flow-step__content h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #111;
}

#services-page .flow-step__content p {
  margin: 0;
  line-height: 1.8;
  color: rgba(17, 17, 17, 0.78);
}

#services-page .price-table {
  width: 100%;
  margin-top: 40px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

#services-page .price-table th {
  background: #f5f5f5;
  padding: 16px;
  text-align: left;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.8);
  border-bottom: 2px solid #d4af37;
}

#services-page .price-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  line-height: 1.8;
  color: rgba(17, 17, 17, 0.78);
}

#services-page .price-table tr:last-child td {
  border-bottom: none;
}

/* S以下：料金表を1行1列（カード積み）に */
@media (max-width: 575px) {
  #services-page .price-table,
  #services-page .price-table thead,
  #services-page .price-table tbody,
  #services-page .price-table tr,
  #services-page .price-table th,
  #services-page .price-table td {
    display: block;
  }
  #services-page .price-table thead tr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }
  #services-page .price-table tbody tr {
    margin-bottom: 1rem;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
  }
  #services-page .price-table tbody tr:last-child {
    margin-bottom: 0;
  }
  #services-page .price-table td {
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    padding: 12px 16px;
  }
  #services-page .price-table td:last-child {
    border-bottom: none;
  }
  #services-page .price-table td::before {
    content: attr(data-label);
    font-weight: 700;
    display: block;
    font-size: 12px;
    color: rgba(17, 17, 17, 0.6);
    margin-bottom: 4px;
  }
}

#services-page .faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

#services-page .faq-item {
  margin-bottom: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

#services-page .faq-item:last-child {
  margin-bottom: 0;
}

#services-page .faq-question {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #d4af37;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

#services-page .faq-answer {
  margin: 0;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  padding-left: 28px;
}
#services-page dd{
  margin-left: 3%;
}
@media (max-width: 768px) {
  #services-page .detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  #services-page .service-grid {
    grid-template-columns: 1fr;
  }
}
