@charset "UTF-8";

/* =======================================================
   S-fleage TOPページ専用CSS
   ======================================================= */

/* -------------------------------------------------------
   共通設定
   ------------------------------------------------------- */
.l-main-top {
  padding-top: 60px;
}

.top-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.top-section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.top-section-lead {
  font-size: 16px;
  color: #6e6e73;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ボタン共通 */
.top-btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.top-btn--primary {
  background: #0071e3;
  color: #fff;
}

.top-btn--primary:hover {
  background: #005bb5;
  color: #fff;
}

.top-btn--secondary {
  background: #1d1d1f;
  color: #fff;
}

.top-btn--secondary:hover {
  background: #000;
  color: #fff;
}

.top-btn--outline {
  background: #fff;
  color: #1d1d1f;
  border: 1px solid #d1d1d6;
}

.top-btn--outline:hover {
  background: #f5f5f7;
}

/* -------------------------------------------------------
   1. FV（ファーストビュー）
   ------------------------------------------------------- */
.top-fv {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid #e5e5e5;
}

.top-fv__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.top-fv__content {
  flex: 1;
}

.top-fv__label {
  font-size: 13px;
  font-weight: 600;
  color: #0071e3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.top-fv__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.top-fv__desc {
  font-size: 16px;
  color: #6e6e73;
  margin-bottom: 40px;
  line-height: 1.8;
}

.top-fv__numbers {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.top-fv__number-item {
  text-align: center;
}

.top-fv__number-value {
  font-size: 36px;
  font-weight: 700;
  color: #0071e3;
  line-height: 1.2;
}

.top-fv__number-value span {
  font-size: 18px;
}

.top-fv__number-label {
  font-size: 13px;
  color: #6e6e73;
  margin-top: 4px;
}

.top-fv__buttons {
  display: flex;
  gap: 16px;
}

.top-fv__photo {
  flex: 0 0 320px;
  text-align: center;
}

.top-fv__photo-img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 16px;
  display: block;
}

.top-fv__photo-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.top-fv__photo-role {
  font-size: 13px;
  color: #6e6e73;
}

/* -------------------------------------------------------
   2. 実績ハイライト
   ------------------------------------------------------- */
.top-results {
  padding: 100px 0;
  background: #f5f5f7;
}

.top-results__slider {
  padding: 20px 0;
}

.top-results__slider .slick-track {
  display: flex;
  gap: 24px;
}

.top-results__slider .slick-slide {
  margin: 0 12px;
}

.top-results__card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-results__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.top-results__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.top-results__tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #f5f5f7;
  color: #6e6e73;
}

.top-results__tag--industry {
  background: #e8f4fd;
  color: #0071e3;
}

.top-results__card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
}

.top-results__card-list {
  list-style: none;
  font-size: 14px;
  color: #6e6e73;
  margin: 0;
  padding: 0;
}

.top-results__card-list li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
}

.top-results__card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #0071e3;
  border-radius: 50%;
}

.top-results__card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  color: #0071e3;
  font-weight: 500;
  text-decoration: none;
}

.top-results__card-link:hover {
  text-decoration: underline;
}

/* Slick矢印スタイル */
.top-results__slider .slick-prev,
.top-results__slider .slick-next {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 10;
}

.top-results__slider .slick-prev:before,
.top-results__slider .slick-next:before {
  color: #1d1d1f;
  font-size: 20px;
}

.top-results__slider .slick-prev {
  left: -24px;
}

.top-results__slider .slick-next {
  right: -24px;
}

/* -------------------------------------------------------
   3. 選ばれる理由
   ------------------------------------------------------- */
.top-reason {
  padding: 100px 0;
}

.top-reason__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.top-reason__card {
  padding: 40px;
  background: #f5f5f7;
  border-radius: 16px;
}

.top-reason__card-num {
  font-size: 13px;
  font-weight: 600;
  color: #0071e3;
  margin-bottom: 16px;
}

.top-reason__card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}

.top-reason__card-text {
  font-size: 15px;
  color: #6e6e73;
  line-height: 1.8;
  margin: 0;
}

/* -------------------------------------------------------
   4. サービス概要
   ------------------------------------------------------- */
.top-service {
  padding: 100px 0;
  background: #f5f5f7;
}

.top-service__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.top-service__card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}

.top-service__card-icon {
  width: 100%;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f5f5f7;
}

.top-service__card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-service__card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.top-service__card-text {
  font-size: 14px;
  color: #6e6e73;
  line-height: 1.7;
  margin: 0;
}

.top-service__btn-wrap {
  text-align: center;
}

/* -------------------------------------------------------
   5. 課題セクション
   ------------------------------------------------------- */
.top-problem {
  padding: 100px 0;
}

.top-problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.top-problem__card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 32px;
}

.top-problem__card-num {
  font-size: 32px;
  font-weight: 700;
  color: #0071e3;
  margin-bottom: 16px;
}

.top-problem__card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}

.top-problem__card-text {
  font-size: 14px;
  color: #6e6e73;
  line-height: 1.7;
  margin: 0;
}

.top-problem__card-solution {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.top-problem__card-solution-label {
  font-size: 12px;
  font-weight: 600;
  color: #0071e3;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-problem__card-solution-label::before {
  content: "→";
}

.top-problem__card-solution-text {
  font-size: 14px;
  color: #1d1d1f;
  line-height: 1.7;
  font-weight: 500;
  margin: 0;
}

/* -------------------------------------------------------
   6. FAQ
   ------------------------------------------------------- */
.top-faq {
  padding: 100px 0;
  background: #f5f5f7;
}

.top-faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.top-faq__item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.top-faq__question {
  padding: 24px 32px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-faq__question-label {
  color: #0071e3;
  font-weight: 700;
}

.top-faq__answer {
  padding: 0 32px 24px 72px;
  font-size: 15px;
  color: #6e6e73;
  line-height: 1.8;
}

/* -------------------------------------------------------
   7. CTA
   ------------------------------------------------------- */
.top-cta {
  padding: 100px 0;
  background: #fff;
}

.top-cta__main {
  text-align: center;
  margin-bottom: 80px;
}

.top-cta__title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
}

.top-cta__text {
  font-size: 16px;
  color: #6e6e73;
  margin-bottom: 40px;
}

.top-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ドロップダウン */
.top-cta__dropdown {
  position: relative;
}

.top-cta__dropdown-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.top-cta__dropdown-btn--primary {
  background: #0071e3;
  color: #fff;
}

.top-cta__dropdown-btn--primary:hover {
  background: #005bb5;
}

.top-cta__dropdown-btn--secondary {
  background: #fff;
  color: #1d1d1f;
  border: 1px solid #d1d1d6;
}

.top-cta__dropdown-btn--secondary:hover {
  background: #fff;
  border-color: #1d1d1f;
}

.top-cta__dropdown-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform 0.3s ease;
}

.top-cta__dropdown:hover .top-cta__dropdown-arrow {
  transform: rotate(180deg);
}

.top-cta__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  min-width: 280px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 100;
}

.top-cta__dropdown-menu--wide {
  min-width: 320px;
}

.top-cta__dropdown:hover .top-cta__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.top-cta__dropdown-menu a {
  display: block;
  padding: 20px 24px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
  text-align: left;
}

.top-cta__dropdown-menu a:last-child {
  border-bottom: none;
}

.top-cta__dropdown-menu a:hover {
  background: #f5f5f7;
}

.top-cta__dropdown-menu-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 4px;
}

.top-cta__dropdown-menu a:hover .top-cta__dropdown-menu-title {
  color: #0071e3;
}

.top-cta__dropdown-menu-desc {
  display: block;
  font-size: 13px;
  color: #6e6e73;
}

/* 無料分析カードエリア */
.top-trial {
  background: #f5f5f7;
  border-radius: 24px;
  padding: 60px 40px;
}

.top-trial__header {
  text-align: center;
  margin-bottom: 48px;
}

.top-trial__title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 16px;
}

.top-trial__lead {
  font-size: 15px;
  color: #6e6e73;
  line-height: 1.8;
  margin-bottom: 24px;
}

.top-trial__guide {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
}

.top-trial__options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.top-trial__option {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.top-trial__option-num {
  font-size: 14px;
  font-weight: 700;
  color: #0071e3;
  margin-bottom: 16px;
}

.top-trial__option-problem {
  font-size: 14px;
  color: #6e6e73;
  background: #f5f5f7;
  border-left: 3px solid #0071e3;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.top-trial__option-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.top-trial__option-desc {
  font-size: 14px;
  color: #6e6e73;
  line-height: 1.7;
  margin-bottom: 24px;
}

.top-trial__option-output {
  background: #f5f5f7;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.top-trial__option-output-title {
  font-size: 13px;
  font-weight: 600;
  color: #0071e3;
  margin-bottom: 12px;
}

.top-trial__option-output ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-trial__option-output li {
  font-size: 14px;
  color: #1d1d1f;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.top-trial__option-output li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0071e3;
  font-weight: 600;
}

.top-trial__option-output li:last-child {
  margin-bottom: 0;
}

.top-trial__option-btn {
  display: block;
  text-align: center;
  padding: 16px 24px;
  background: #0071e3;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.top-trial__option-btn:hover {
  background: #005bb5;
  color: #fff;
}

/* -------------------------------------------------------
   8. News
   ------------------------------------------------------- */
.top-news {
  padding: 80px 0;
  border-top: 1px solid #e5e5e5;
}

.top-news__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.top-news__title {
  font-size: 24px;
  font-weight: 700;
}

.top-news__link {
  color: #0071e3;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.top-news__link:hover {
  text-decoration: underline;
}

.top-news__slider .slick-track {
  display: flex;
}

.top-news__slider .slick-slide {
  margin: 0 12px;
}

.top-news__slide {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.top-news__slide:hover {
  transform: translateY(-4px);
}

.top-news__slide-img {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #f5f5f7;
}

.top-news__slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-news__slide-content {
  padding: 0 4px;
}

.top-news__slide-date {
  font-size: 13px;
  color: #6e6e73;
  display: block;
  margin-bottom: 6px;
}

.top-news__slide-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Newsスライダー矢印 */
.top-news__slider .slick-prev,
.top-news__slider .slick-next {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 10;
}

.top-news__slider .slick-prev:before,
.top-news__slider .slick-next:before {
  color: #1d1d1f;
  font-size: 16px;
}

.top-news__slider .slick-prev {
  left: -20px;
}

.top-news__slider .slick-next {
  right: -20px;
}

/* -------------------------------------------------------
   レスポンシブ
   ------------------------------------------------------- */
@media (max-width: 1024px) {
  .top-fv__inner {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .top-fv__photo {
    flex: none;
  }
  
  .top-fv__numbers {
    justify-content: center;
  }
  
  .top-fv__buttons {
    justify-content: center;
  }
  
  .top-reason__grid {
    grid-template-columns: 1fr;
  }
  
  .top-service__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .top-problem__grid {
    grid-template-columns: 1fr;
  }
  
  .top-trial__options {
    grid-template-columns: 1fr;
  }
  
  .top-cta__dropdown-btn {
    padding: 16px 24px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .top-fv {
    padding: 60px 0;
    min-height: auto;
  }
  
  .top-fv__numbers {
    flex-direction: column;
    gap: 24px;
  }
  
  .top-fv__buttons {
    flex-direction: column;
  }
  
  .top-service__grid {
    grid-template-columns: 1fr;
  }
  
  .top-cta__buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .top-cta__dropdown-menu {
    position: fixed;
    top: auto;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .top-cta__dropdown:hover .top-cta__dropdown-menu {
    transform: translateX(-50%);
  }
  
  .top-trial {
    padding: 40px 20px;
  }
  
  .top-news__slide-img {
    height: 140px;
  }
  
  .top-results__slider .slick-prev,
  .top-results__slider .slick-next,
  .top-news__slider .slick-prev,
  .top-news__slider .slick-next {
    display: none !important;
  }
}
