/* ========================================
   スタイリッシュ無料トライアルCTAセクション
======================================== */

.stylish-trial-cta-section {
  padding: 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.stylish-trial-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 100%;
  background: transparent;
  pointer-events: none;
  z-index: 1;
}

.stylish-trial-cta-card {
  position: relative;
  z-index: 2;
  max-width: 100%;
  width: 100%;
  margin: 0;
  background: linear-gradient(135deg, 
    #87CEEB 0%, #6BB6EA 25%, #5DADE2 50%, #6BB6EA 75%, #87CEEB 100%
  );
  border-radius: 0;
  padding: 0;
  box-shadow: 
    0 20px 60px rgba(79, 165, 230, 0.25),
    0 8px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.trial-cta-content {
  display: flex;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  padding: 60px 50px 60px 70px;
  gap: 50px;
}

.trial-cta-left {
  flex: 0 0 38%;
  text-align: left;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.trial-cta-right {
  flex: 0 0 62%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-left: 0px;
  min-width: 0;
  padding-right: 20px;
}

/* シマーエフェクト */
.stylish-trial-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -200%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.2) 47%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0.2) 53%,
    transparent 60%,
    transparent 100%
  );
  animation: trial-shimmer 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes trial-shimmer {
  0% {
    left: -200%;
    opacity: 0;
    transform: skewX(-15deg);
  }
  12% {
    opacity: 0.7;
  }
  25% {
    left: -100%;
    opacity: 1;
    transform: skewX(-8deg);
  }
  50% {
    left: 0%;
    opacity: 1;
    transform: skewX(0deg);
  }
  75% {
    left: 100%;
    opacity: 1;
    transform: skewX(8deg);
  }
  88% {
    opacity: 0.7;
  }
  100% {
    left: 200%;
    opacity: 0;
    transform: skewX(15deg);
  }
}

/* グラデーションオーバーレイ */
.stylish-trial-cta-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 600px 300px at 30% 20%, rgba(135, 206, 235, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 500px 250px at 70% 80%, rgba(107, 182, 234, 0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.trial-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: #4FA5E6;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
}

.trial-cta-badge svg {
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.trial-cta-title {
  font-size: 2rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.4;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.2),
    0 4px 16px rgba(0, 0, 0, 0.15);
  letter-spacing: -0.02em;
  max-width: 100%;
  word-break: keep-all;
  overflow-wrap: normal;
}

.trial-cta-highlight {
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(255, 255, 255, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
}

.trial-cta-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  word-break: keep-all;
  overflow-wrap: normal;
}

.trial-cta-benefits {
  font-size: 0.95rem;
  color: white;
  line-height: 1.8;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.trial-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  width: 100%;
}

.trial-cta-primary {
  background: white;
  color: #5DADE2;
  padding: 16px 45px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  margin-top: 5px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  min-width: 300px;
  justify-content: center;
}

.trial-cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.4) 55%,
    transparent 70%,
    transparent 100%
  );
  animation: silver-shine 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes trial-cta-silver-sweep {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

.trial-cta-primary > * {
  position: relative;
  z-index: 2;
}

.trial-cta-primary:hover::before {
  animation-duration: 2s;
}

.trial-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.trial-cta-primary .cta-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.trial-cta-primary:hover .cta-icon {
  transform: translateX(5px);
}

.trial-cta-features {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  max-width: 100%;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.trial-feature-item {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.trial-feature-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.trial-feature-item svg {
  color: #FFFFFF;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  flex-shrink: 0;
}

.trial-feature-item span {
  white-space: nowrap;
}

/* ========================================
   ダッシュボード画像表示
======================================== */

.trial-dashboard-image {
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
}

/* モバイル用ダッシュボード画像 */
.trial-dashboard-mobile {
  display: none;
  width: 100%;
  margin: 20px 0;
}

.trial-dashboard-image-mobile {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}



/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .trial-cta-content {
    gap: 40px;
    padding: 40px 40px;
  }
  
  .trial-laptop-container {
    max-width: 500px;
  }
  .trial-cta-title {
    font-size: 1.5rem;
  }
  
  .trial-cta-description {
    font-size: 0.8rem;
  }
  
  .trial-cta-features {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .stylish-trial-cta-section {
    padding: 0;
    background: #FFF !important;
    margin: 0;
  }
  
  .stylish-trial-cta-section::before {
    display: none;
  }
  
  .stylish-trial-cta-card {
    background: linear-gradient(135deg, 
      #87CEEB 0%, #6BB6EA 25%, #5DADE2 50%, #6BB6EA 75%, #87CEEB 100%
    );
    margin: 0;
    padding: 0;
  }
  
  .trial-cta-content {
    flex-direction: column;
    gap: 30px;
    padding: 40px 30px 40px 30px;
  }
  
  .trial-cta-left {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .trial-cta-badge {
    align-self: center;
  }
  
  .trial-cta-title {
    font-size: 1.3rem;
    text-align: center;
  }
  
  .trial-cta-description {
    font-size: 0.75rem;
    line-height: 1.7;
    text-align: center;
  }
  
  .trial-cta-benefits {
    text-align: center;
  }
  
  /* モバイルでダッシュボード画像を表示 */
  .trial-dashboard-mobile {
    display: block;
  }
  
  /* デスクトップ用の右側画像を非表示 */
  .trial-cta-right {
    display: none;
  }
  
  .trial-cta-primary {
    padding: 10px 20px;
    font-size: 1rem;
  }
  
  .trial-cta-buttons {
    justify-content: center;
  }
  
  .trial-cta-features {
    gap: 12px;
    justify-content: center;
  }
  
  .trial-feature-item {
    font-size: 0.95rem;
  }
  
  .trial-laptop-container {
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .trial-cta-content {
    padding: 30px 20px;
  }
  
  .trial-cta-title {
    font-size: 1.1rem;
    text-align: center;
  }
  
  .trial-cta-badge {
    font-size: 0.8rem;
    padding: 8px 20px;
    align-self: center;
  }
  
  .trial-cta-description {
    font-size: 0.7rem;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .trial-dashboard-mobile {
    margin: 15px 0;
  }
  
  .trial-cta-benefits {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .trial-cta-primary {
    padding: 8px 16px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }
  
  .trial-cta-buttons {
    justify-content: center;
  }
  
  .trial-cta-features {
    align-items: center;
    justify-content: center;
  }
  
  .trial-feature-item {
    font-size: 0.85rem;
  }
  
  .trial-laptop-container {
    max-width: 300px;
  }
}

/* ========================================
   Gmail/Microsoft対応カード（CTA内）
======================================== */

.trial-compliance-card {
  margin: 25px 0 30px 0;
  padding: 30px 40px;
  background: linear-gradient(135deg, 
    rgba(255, 107, 107, 0.08) 0%, 
    rgba(255, 184, 108, 0.08) 25%, 
    rgba(255, 234, 167, 0.08) 50%, 
    rgba(144, 238, 144, 0.08) 75%, 
    rgba(135, 206, 235, 0.08) 100%
  );
  border-radius: 16px;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  z-index: 2;
}

/* グラデーションボーダー */
.trial-compliance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, 
    #FF6B6B 0%, 
    #FFB86C 25%, 
    #FFEAA7 50%, 
    #90EE90 75%, 
    #87CEEB 100%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.trial-compliance-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 12px;
  line-height: 1.4;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.trial-compliance-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  text-align: center;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.trial-compliance-text strong {
  color: rgba(255, 255, 255, 1);
  font-weight: 700;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .trial-compliance-card {
    padding: 25px 30px;
    margin: 20px 0 25px 0;
  }

  .trial-compliance-title {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .trial-compliance-text {
    font-size: 0.8rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .trial-compliance-card {
    padding: 20px 20px;
    margin: 18px 0 22px 0;
    border-radius: 12px;
  }

  .trial-compliance-card::before {
    border-radius: 12px;
  }

  .trial-compliance-title {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .trial-compliance-text {
    font-size: 0.75rem;
    line-height: 1.6;
  }
}
