.section-title {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-xl);
  text-align: center;
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 2px;
  opacity: 0;
  color: var(--color-text-light);
  animation: fadeUpSlow 1.2s ease forwards;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  animation: lineGrow 0.7s ease forwards;
  animation-delay: 1.2s;
}

.section-title:hover::after {
  background-color: var(--color-accent-light);
}

/* ゆったりフェードイン＋上昇 */
@keyframes fadeUpSlow {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 下線が左から右へスケールで伸びる */
@keyframes lineGrow {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}


/* サブタイトル */
.sub-title {
font-size: var(--font-size-lg);
line-height: var(--line-height-lg);
margin-top: 6rem;
font-weight: 600;
color: var(--color-text-light);
position: relative;
transition: color 0.3s ease;
letter-spacing: 0.5px;
}

/* サブタイトル下線アニメーション */
.sub-title::before {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 50%;
height: 2px;
background-color: var(--color-accent);
transform: scaleX(0);
transition: transform 0.3s ease;
}

.sub-title:hover {
color: var(--color-accent);
}

.sub-title:hover::before {
transform: scaleX(1);
}

/* 通常テキスト */
p {
font-size: var(--font-size-base);
line-height: var(--line-height-base);
margin-bottom: var(--spacing-small);
color: var(--color-text-dark);
max-width: 900px;
margin-left: auto;
margin-right: auto;
text-align: justify;
transition: color 0.3s ease;
}

p:hover {
color: var(--color-accent);
font-weight: 500;
}



/* レスポンシブ調整 */
@media (max-width: 768px) {
.csection-container .container {
padding: 0 1rem;
}

.section-title {
font-size: var(--font-size-lg);
line-height: var(--line-height-lg);
}

.sub-title {
font-size: var(--font-size-base);
line-height: var(--line-height-base);
}

.cta-button {
padding: 0.8rem 1.5rem;
}

.company-overview-table th, .company-overview-table td {
font-size: var(--font-size-xs);
padding: 0.8rem;
}

.section-container .section .column {
flex: 1 1 100%; /* モバイル時は1列 */
}
}

@media (min-width: 1024px) {
.section-container .container {
padding: 0 3rem;
}

.section-title {
font-size: var(--font-size-xl);
line-height: var(--line-height-xl);
}

.sub-title {
font-size: var(--font-size-lg);
line-height: var(--line-height-lg);
}
}



/* お問い合わせ完了ページ用スタイル */

.content-article.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
  color: var(--color-text-light);
  line-height: var(--line-height-base);
  box-sizing: border-box;
}

.content-article.page-content section {
  margin-bottom: var(--spacing-xl);
}

.content-article.page-content h2 {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-lg);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

.content-article.page-content p {
  text-align: justify;
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-base);
}

.content-article.page-content ul {
  padding-left: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.content-article.page-content ul li {
  margin-bottom: var(--spacing-xs);
}

/* CTAボタン */
.cta-button {
  display: inline-block;
  background-color: var(--cta-button-bg-color);
  color: var(--btn-text-color);
  padding: var(--cta-button-padding);
  border-radius: var(--cta-button-border-radius);
  font-size: var(--cta-button-font-size);
  font-weight: var(--cta-button-font-weight);
  text-align: center;
  text-decoration: none;
  box-shadow: var(--cta-button-box-shadow);
  cursor: var(--cta-button-cursor);
  margin-top: var(--cta-button-margin-top);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: var(--cta-button-hover-bg-color);
  box-shadow: var(--cta-button-hover-box-shadow);
  transform: var(--cta-button-hover-transform);
  outline: 2px solid var(--cta-button-outline-color);
}

.cta-button:active {
  background-color: var(--cta-button-active-bg-color);
  transform: translateY(0);
}

/* モバイル対応 */
@media (max-width: 768px) {
  .content-article.page-content {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .content-article.page-content h2 {
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
  }

  .content-article.page-content p,
  .content-article.page-content ul li {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-sm);
  }

  .cta-button {
    padding: 1rem;
  }
}
