/* ===================================================
   Service SNS
   scope : .service-sns
=================================================== */

.service-sns {
  overflow: hidden;
}

.service-sns .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-sns .sns-heading {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #1e293b;
}

/* ===================================================
   HERO
=================================================== */

.service-sns .sns-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

/* 背景 */
.service-sns .sns-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/sns-management.jpg") center/cover no-repeat;
  z-index: -2;
}

/* 中央グラデ */
.service-sns .sns-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    circle at center,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.45) 25%,
    rgba(0,0,0,0.15) 55%,
    rgba(0,0,0,0) 75%
  );
}

.service-sns .sns-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.service-sns .sns-lead {
  font-size: 18px;
  line-height: 1.9;
  opacity: 0.95;
}

/* ===================================================
   PROBLEMS
=================================================== */

.service-sns .sns-problems {
  background: #f8fafc;
  padding: 70px 20px;
}

.service-sns .sns-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-sns .sns-problem-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 36px 26px;
  text-align: center;
}

.service-sns .sns-problem-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.service-sns .sns-problem-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.6;
}

.service-sns .sns-problem-text {
  font-size: 14px;
  line-height: 1.8;
  color: #64748b;
}

/* ===================================================
   SOLUTION
=================================================== */

.service-sns .sns-solution {
  padding: 90px 20px;
  background: #ffffff;
}

.service-sns .sns-solution .section-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.service-sns .sns-text {
  font-size: 16px;
  line-height: 2;
  color: #334155;
}

.service-sns .sns-solution-image img {
  width: 100%;
  border-radius: 20px;
}

/* =========================
   Solution（左揃えに戻す）
========================= */

.service-sns .sns-solution .section-inner {
  text-align: left;
}

.service-sns .sns-solution .sns-heading {
  text-align: left;
}

.service-sns .sns-solution .sns-text {
  text-align: left;
  max-width: 720px;
}

/* ===================================================
   STRENGTH
=================================================== */

.service-sns .sns-strength {
  background: #f8fafc;
  padding: 70px 20px;
}

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

.service-sns .sns-strength-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid #e2e8f0;
}

.service-sns .sns-strength-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-sns .sns-strength-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.8;
}

/* =========================
   Strength hover effect
========================= */

.service-sns .sns-strength-card {
  transition: all 0.25s ease;
  cursor: pointer;
}

.service-sns .sns-strength-card:hover {
  background: linear-gradient(135deg, #233f9a, #00b5f0);
  color: #ffffff;
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 中のテキストも白へ */
.service-sns .sns-strength-card:hover p {
  color: #ffffff;
}

.service-sns .sns-strength-card {
  text-align: center;
}

/* =========================
   Voice（実績ゾーン）
========================= */
.service-sns .sns-voice {
  padding: 110px 20px;
  background: linear-gradient(
    90deg,
    #eaf1ff 0%,
    #f7f9ff 100%
  );
}

.service-sns .sns-voice .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}

/* =========================
   テキストカード（吹き出し）
========================= */
.service-sns .sns-voice-text {
  position: relative;
  background: #ffffff;

  /* 少し小さく */
  padding: 42px 42px 58px;

  border-radius: 20px;
  text-align: center;

  box-shadow: 0 15px 45px rgba(0, 30, 120, 0.10);
  border: 1px solid rgba(0,0,0,0.04);

  font-family:
    "Hiragino Maru Gothic ProN",
    "Noto Sans JP",
    sans-serif;
}

/* 見出し */
.service-sns .sns-voice-text .sns-heading {
  margin-bottom: 18px;
  color: #777777;
}

/* コメント本文 */
.service-sns .sns-voice-comment {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
  color: #334155;
}

/* 署名 */
.service-sns .sns-voice-name {
  position: absolute;
  right: 20px;
  bottom: 16px;

  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

/* =========================
   吹き出し三角
========================= */
.service-sns .sns-voice-text::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 16px solid #ffffff;
}

/* =========================
   動画
========================= */
.service-sns .sns-voice-movie {
  border-radius: 22px;
  overflow: hidden;
  background: #0f172a;
  border: 8px solid #0f172a;
  box-shadow: 0 25px 70px rgba(0,0,0,0.35);
}

.service-sns .sns-voice-movie video {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   SP
========================= */
@media (max-width: 768px) {
  .service-sns .sns-voice {
    padding: 70px 20px;
  }

  .service-sns .sns-voice .section-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-sns .sns-voice-comment {
    font-size: 15px;
  }

  /* 三角下へ */
  .service-sns .sns-voice-text::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -16px;
    transform: translateX(-50%);

    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 16px solid #ffffff;
    border-bottom: none;
  }

  /* SPでは署名通常位置 */
  .service-sns .sns-voice-name {
    position: static;
    margin-top: 12px;
    text-align: center;
  }
}

/* =========================
   Flow
========================= */
.service-sns .sns-flow {
  padding: 120px 20px;
  background: #ffffff;
}

.service-sns .sns-flow .sns-heading {
  text-align: center;
  margin-bottom: 70px;
}

/* 全体 */
.service-sns .sns-flow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* 各ステップ */
.service-sns .sns-flow-step {
  flex: 1;
  text-align: center;
}

/* 丸数字 */
.service-sns .sns-flow-number {
  width: 90px;
  height: 90px;
  margin: 0 auto 22px;

  border-radius: 50%;
  background: #233f9a;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
  font-weight: 700;
}

/* タイトル */
.service-sns .sns-flow-step h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #1e293b;
}

/* 説明 */
.service-sns .sns-flow-step p {
  font-size: 14px;
  color: #64748b;
}

/* 矢印 */
.service-sns .sns-flow-arrow {
  font-size: 28px;
  color: #94a3b8;
}

/* =========================
   SP
========================= */
@media (max-width: 768px) {
  .service-sns .sns-flow {
    padding: 80px 20px;
  }

  .service-sns .sns-flow-steps {
    flex-direction: column;
  }

  .service-sns .sns-flow-arrow {
    transform: rotate(90deg);
  }
}

/* ===================================================
   CTA
=================================================== */

.service-sns .sns-cta {
  padding: 90px 20px;
  text-align: center;
  background: linear-gradient(135deg, #233f9a, #00b5f0);
  color: #fff;
}

.service-sns .sns-cta-title {
  font-size: 26px;
  margin-bottom: 24px;
}

/* -------------------------
   Button
------------------------- */
.service-sns .sns-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #ff9500;
  color: #ffffff;

  padding: 16px 40px;
  border-radius: 999px;

  font-size: 16px;
  font-weight: 700;

  text-decoration: none;
  transition: all 0.25s ease;
}

/* hover */
.service-sns .sns-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 149, 0, 0.35);
}

/* ===================================================
   RESPONSIVE
=================================================== */

@media (max-width: 768px) {

  .service-sns .sns-hero {
    min-height: 60vh;
  }

  /* SPは全面暗くする */
  .service-sns .sns-hero::after {
    display: block;
    background: rgba(0,0,0,0.45);
  }

  .service-sns .sns-title {
    font-size: 28px;
  }

  .service-sns .sns-lead {
    font-size: 14px;
  }

  .service-sns .sns-problem-grid,
  .service-sns .sns-strength-grid {
    grid-template-columns: 1fr;
  }

  .service-sns .sns-solution .section-inner {
    grid-template-columns: 1fr;
  }

  .service-sns .sns-solution {
    padding: 60px 16px;
  }

  .service-sns .sns-problems,
  .service-sns .sns-strength,
  .service-sns .sns-flow {
    padding: 50px 16px;
  }
}

/* =========================
   Solution
   PC = 左 / SP = 中央
========================= */

/* PC */
.service-sns .sns-solution .section-inner {
  text-align: left;
}

.service-sns .sns-solution .sns-heading,
.service-sns .sns-solution .sns-text {
  text-align: left;
}

.service-sns .sns-solution .sns-text {
  max-width: 720px;
}

/* SP */
@media (max-width: 768px) {
  .service-sns .sns-solution .section-inner,
  .service-sns .sns-solution .sns-heading,
  .service-sns .sns-solution .sns-text {
    text-align: center;
  }

  .service-sns .sns-solution .sns-text {
    margin: 0 auto;
  }
}

/* js用*/
/* FV フェード */
.service-sns .sns-hero-copy h1,
.service-sns .sns-hero-copy p {
  opacity: 0;
  transition: opacity .8s ease;
}

.service-sns .sns-hero-copy h1.is-show,
.service-sns .sns-hero-copy p.is-show {
  opacity: 1;
}

/* =========================
   下からフェード
========================= */
.service-sns .fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.service-sns .fade-up.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   opacity（FV / Flow）
========================= */
.service-sns .fade-opacity {
  opacity: 0;
  transition: opacity .8s ease;
}
.service-sns .fade-opacity.is-show {
  opacity: 1;
}

/* =========================
   下から（Problems / Strength / Voice）
========================= */
.service-sns .fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.service-sns .fade-up.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   右から（Solution）
========================= */
.service-sns .fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.service-sns .fade-right.is-show {
  opacity: 1;
  transform: translateX(0);
}

/* =========================
   Flow 矢印アニメーション
========================= */
.service-sns .sns-flow-arrow {
  display: inline-block;
  font-size: 22px;
  margin: 0 10px;
  animation: snsArrowMove 1.6s ease-in-out infinite;
}

@keyframes snsArrowMove {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
  100% {
    transform: translateX(0);
  }
}

/* =========================
   SP：矢印 下向き固定
========================= */
@media (max-width: 768px) {

  /* アニメーション停止 */
  .service-sns .sns-flow-arrow {
    animation: none !important;
    transform: none !important;
  }

  /* 矢印を差し替え */
  .service-sns .sns-flow-arrow {
    font-size: 22px;
  }

  .service-sns .sns-flow-arrow::before {
    content: "↓";
  }

  /* 元の → を消す */
  .service-sns .sns-flow-arrow {
    color: transparent;
  }

  .service-sns .sns-flow-arrow::before {
    color: #94a3b8;
  }

}