/* CTAセクション - 共通スタイル */

.cta-section {
  background: linear-gradient(135deg, var(--color-natural-brown) 0%, rgba(139, 115, 85, 0.9) 100%);
  padding: var(--spacing-xxl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

/* CTA内のセクションヘッダー */
.cta-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.cta-section .section-header--center {
  text-align: center;
}

.cta-section .section-header__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.cta-section .section-header__label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.6);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--color-bg-white);
  margin-bottom: var(--spacing-md);
  letter-spacing: 0.12em;
}

.cta-section__description {
  font-size: clamp(15px, 2vw, 17px);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--spacing-xl);
  line-height: 1.9;
  letter-spacing: 0.08em;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-btn {
  min-width: 240px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cta-btn__icon {
  font-size: 20px;
  display: flex;
  align-items: center;
}

.cta-btn__text {
  flex: 1;
}

.cta-btn__arrow {
  font-size: 14px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.cta-btn:hover .cta-btn__arrow {
  transform: translateX(4px);
}

.cta-btn--primary {
  background-color: var(--color-bg-white);
  color: var(--color-natural-brown);
  border-color: var(--color-bg-white);
}

.cta-btn--primary:hover {
  background-color: var(--color-beige);
  color: var(--color-charcoal);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn--secondary {
  background-color: transparent;
  color: var(--color-bg-white);
  border-color: rgba(255, 255, 255, 0.8);
}

.cta-btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--color-bg-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* 旧スタイルとの互換性 */
.cta-buttons .btn {
  min-width: 240px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
  background-color: var(--color-bg-white);
  color: var(--color-natural-brown);
  border-color: var(--color-bg-white);
}

.cta-buttons .btn-primary:hover {
  background-color: var(--color-beige);
  color: var(--color-charcoal);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-secondary {
  background-color: transparent;
  color: var(--color-bg-white);
  border-color: rgba(255, 255, 255, 0.8);
}

.cta-buttons .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--color-bg-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-buttons .external-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
}

.cta-buttons .external-icon i {
  font-size: 0.75em;
  opacity: 0.7;
}

/* CTA情報グリッド（新スタイル） */
.cta-info-grid {
  margin-top: var(--spacing-xl);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  text-align: left;
}

.cta-info-card {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.cta-info-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.cta-info-card__icon {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-xs);
}

.cta-info-card__icon i {
  display: block;
}

.cta-info-card__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.cta-info-card__value {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-bg-white);
  letter-spacing: 0.05em;
  transition: all var(--transition-base);
  text-decoration: none;
}

.cta-info-card__value[href]:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* CTA情報セクション（旧スタイル互換性） */
.cta-info {
  margin-top: var(--spacing-xl);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  text-align: left;
  padding: var(--spacing-lg);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.cta-info-item {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  color: var(--color-bg-white);
}

.cta-info-item i {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 4px;
  flex-shrink: 0;
}

.cta-info-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.cta-info-value {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-bg-white);
  letter-spacing: 0.05em;
}

.cta-info-value[href] {
  transition: all var(--transition-base);
  text-decoration: none;
}

.cta-info-value[href]:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.cta-info-value .external-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
}

.cta-info-value .external-icon i {
  font-size: 0.8em;
  opacity: 0.6;
  margin-top: 0;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .cta-section {
    padding: var(--spacing-xl) 0;
  }

  .cta-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
  }

  .cta-btn,
  .cta-buttons .btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .cta-info-grid,
  .cta-info {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .cta-info-item {
    flex-direction: row;
    gap: var(--spacing-sm);
  }
}
