/* ===========================
   GLOBAL
=========================== */
body {
  background: #000;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

section {
  position: relative;
  z-index: 5;
}

/* ===========================
   HERO（雲パララックス）
=========================== */
.wp-hero {
  position: relative;
  height: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.wp-cloud {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.45;

  pointer-events: none;
  z-index: 0;
  transition: transform 0.2s linear;
}

.cloud-back { background-image: url("../images/kumo1.png"); opacity: 0.25; }
.cloud-mid  { background-image: url("../images/kumo2.png"); opacity: 0.35; }
.cloud-front{ background-image: url("../images/kumo1.png"); opacity: 0.45; }

.wp-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.wp-hero-left {
  max-width: 550px;
}

.wp-hero-left h1 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 20px;
}

.wp-hero-left p {
  font-size: 20px;
  opacity: 0.85;
  margin-bottom: 30px;
}

.wp-hero-badges {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.wp-hero-badges img {
  width: 70px;
  height: auto;
  border-radius: 100%;
}

.wp-hero-btn {
  display: inline-block;
  padding: 16px 40px;
  background: #75aaff;
  color: #fff;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 25px rgba(117,170,255,0.4);
}

.wp-hero-btn:hover {
  background: #8bb8ff;
  box-shadow: 0 0 35px rgba(117,170,255,0.6);
}

.wp-hero-right img {
  width: 520px;
  filter: drop-shadow(0 0 25px rgba(255,255,255,0.2));
}

/* モバイル */
@media (max-width: 900px) {
  .wp-hero {
    height: auto;
    padding: 120px 20px 80px;
  }
  .wp-hero-inner {
    flex-direction: column;
    text-align: center;
     align-items: center;
  }
     .wp-hero-left h1{
    font-size: 35px;
   }
   .wp-hero-right{
    justify-content: center;
   }
  .wp-hero-right img {
    width: 80%;
    margin-top: 40px;
    margin-left: auto; /* 念のため */ margin-right: auto; /* 念のため */
  }
  .wp-hero-badges {
    justify-content: center;
  }
}

/* ===========================
   SECTION 共通
=========================== */
.wp-section {
  padding: 50px 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.wp-section-header {
  text-align: center;
  margin-bottom: 20px;
}

.wp-section-header h2 {
  font-size: 40px;
  margin-bottom: 15px;
}

.wp-section-lead {
  font-size: 18px;
  opacity: 0.75;
}

/* ===========================
   VALUE（提供価値）
=========================== */
.wp-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.wp-value-card {
  background: #111;
  padding: 30px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 0 25px rgba(255,255,255,0.05);
  transition: 0.2s ease-in;
}

.wp-value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 40px rgba(117,170,255,0.25);
}

.wp-value-card img {
  width: 80px;
  margin: 0 auto 20px;
}

.wp-value-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .wp-value-grid {
    grid-template-columns: 1fr ;
  }
}

/* ===========================
   5つの強み（カード小さめ＋余白調整）
=========================== */

.web-advantage {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  color: #fff;
}

.web-advantage h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
}

/* 上段：3つ */
.row-top {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 30px;
}

/* 下段：2つ（中央寄せ） */
.row-bottom {
  display: flex;
  justify-content: center;
  gap: 24px;
}

/* カード本体（小さめに調整） */
.advantage-item {
  width: 100%;
  max-width: 300px;   /* ← 小さくした */
  height: 220px;      /* ← 小さくした */
  border-radius: 16px;
  padding: 20px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* 黒レイヤー */
.advantage-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.70); /* 少し薄くして背景を見せる */
  border-radius: 16px;
}

/* テキスト（20px 間隔） */
.adv-num {
  position: relative;
  z-index: 2;
  font-size: 20px;
  font-weight: bold;
  color: #ffb347;
  margin-bottom: 20px;   /* ← 数字とタイトルの間 */
}

.advantage-item h3 {
  position: relative;
  z-index: 2;
  font-size: 18px;
  margin-bottom: 20px;   /* ← タイトルと説明の間 */
}

.advantage-item p {
  position: relative;
  z-index: 2;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

/* SP：縦並び */
@media (max-width: 900px) {
  .row-top,
  .row-bottom {
    flex-direction: column;
    align-items: center;
  }
}


/* ===========================
   SERVICE（段差カード）
=========================== */
.wp-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.center-card {
  transform: translateY(-30px);
}

.wp-service-card {
  background: #111;
  padding: 25px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 0 25px rgba(255,255,255,0.05);
  transition: 0.1s ease;
}

.wp-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 40px rgba(117,170,255,0.25);
}

.wp-service-card img {
  width: 100%;
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  margin: 0 auto 20px; /* ← 完全中央寄せ */ display: block; /* ← 中央寄せのために必要 */ border-radius: 10px; /* ← 角丸で上品に（任意） */
}

@media (max-width: 900px) {
  .wp-service-grid {
    grid-template-columns: 1fr;
  }
  .center-card {
    transform: none;
  }
}

/* ===========================
   FLOW（横並びアイコン）
=========================== */
.wp-flow {
  position: relative;
  padding-left: 40px;
}

.wp-flow-line {
  position: absolute;
  top: 0;
  left: 15px;
  width: 2px;
  height: 0;
  background: #75aaff;
  transition: height 1.5s ease-out;
}

.wp-flow.wp-show-line .wp-flow-line {
  height: 100%;
}

.wp-flow-step {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.wp-flow-icon {
  width: 70px;
  height: 70px;
}

.wp-flow-step h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .wp-flow-step {
    flex-direction: column;
    text-align: center;
  }
}

/* ===========================
   WORKS（大きめサムネ）
=========================== */
.wp-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.wp-work {
  background: #111;
  padding: 25px;
  border-radius: 14px;
  transition: 0.1s ease;
  box-shadow: 0 0 25px rgba(255,255,255,0.05);
}

.wp-work:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 40px rgba(117,170,255,0.25);
}

.wp-work img {
  width: 100%;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .wp-works-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   PRICE（A × C ハイブリッド）
=========================== */
.wp-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.wp-price-card {
  background: #111;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(255,255,255,0.05);
  transition: 0.1s ease;
}

.wp-price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 40px rgba(117,170,255,0.25);
}

.wp-price-value {
  font-size: 32px;
  font-weight: 700;
  margin: 20px 0;
  color: #75aaff;
}

.wp-price-list {
  margin-bottom: 20px;
}

.wp-price-list li {
  margin-bottom: 8px;
  opacity: 0.85;
}

.wp-price-custom {
  background: #111;
  padding: 40px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 0 25px rgba(255,255,255,0.05);
}

.wp-price-custom-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.wp-price-btn {
  display: inline-block;
  padding: 14px 40px;
  background: #75aaff;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 18px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .wp-price-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   FAQ
=========================== */
.wp-faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.wp-faq-item {
  background: #111;
  padding: 25px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 0 25px rgba(255,255,255,0.05);
}

.wp-faq-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.wp-more {
  text-align: center;
  margin-top: 60px;
}

.wp-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: #75aaff;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 0 25px rgba(117,170,255,0.3);
  transition: 0.05s ease;
  position: relative;
}

.wp-more-btn:hover {
  background: #8bb8ff;
  box-shadow: 0 0 35px rgba(117,170,255,0.5);
  transform: translateY(-2px);
}

.wp-more-btn .arrow {
  font-style: normal;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.wp-more-btn:hover .arrow {
  transform: translateX(4px);
}


/* ===========================
   CTA
=========================== */
.wp-cta {
  text-align: center;
  padding: 50px 20px;
}

.wp-cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: #75aaff;
  color: #fff;
  border-radius: 8px;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 20px;
}


/* セクション */
.compare-section {
  max-width: 1200px;
  margin: 120px auto;
  padding: 0 20px;
  color: #fff;
}

.compare-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

/* PC：カード横並び */
.compare-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
}

/* カード本体 */
.compare-card {
  width: 100%;
  max-width: 320px;
  min-height: 420px;
  background: linear-gradient(180deg, #1a1a1a, #0f0f0f);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s ease;
}

.compare-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.compare-card ul {
  list-style: none;
  padding: 0;
}

.compare-card li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 15px;
}

/* スマホ用：選択ボタン */
.compare-select {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.compare-select button {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: #333;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}

.compare-select button.active {
  background: #ffb347;
  color: #000;
}

/* スマホ：カード1枚だけ表示 */
@media (max-width: 900px) {
  .compare-cards {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .compare-card {
    display: none;
  }

  .compare-select {
    display: flex;
  }

  .compare-card.active {
    display: block;
  }
}


/* ===========================
   SNSバナー（Instagram / LINE）
=========================== */

.sns-banner {
  max-width: 1200px;
  margin: 10px auto;
  padding: 0 20px;
  text-align: center;
  color: #fff;
}

.sns-banner h2 {
  font-size: 28px;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}

/* PC：横並び */
.sns-banner-wrap {
  display: flex;
  justify-content: center;
  gap: 30px;
}

/* カード本体 */
.sns-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 180px;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 背景画像（薄く） */
.sns-card .sns-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

/* Instagram背景画像 */
.sns-card.insta .sns-bg {
  background-image: url("../images/line1.png");
}

/* LINE背景画像 */
.sns-card.line .sns-bg {
  background-image: url("../images/line2.png");
}

/* アプリカラーの薄いレイヤー */
.sns-card.insta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #E1306C55, #FCAF4555);
}

.sns-card.line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #06C75555;
}

/* 黒レイヤー（読みやすく） */
.sns-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* 内部レイアウト（アイコン＋テキスト横並び） */
.sns-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 30px;
  gap: 20px;
}

/* アイコン */
.sns-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* テキスト */
.sns-text h3 {
  font-size: 26px;
  margin-bottom: 6px;
  font-weight: 700;
  text-align: left;
}

.sns-text p {
  font-size: 15px;
  opacity: 0.9;
  text-align: left;
}

/* ホバー */
.sns-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
}

/* スマホ：縦並びでもSNS名が消えない */
@media (max-width: 900px) {
  .sns-banner-wrap {
    flex-direction: column;
    gap: 20px;
  }

  .sns-inner {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }

  .sns-text h3,
  .sns-text p {
    text-align: center;
  }

  .sns-icon {
    width: 40px;
    height: 40px;
  }
}


/* ===========================
   スクロール連動フェード
=========================== */
.wp-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.1s ease-out;
}

.wp-fade.wp-show {
  opacity: 1;
  transform: translateY(0);
}

.wp-delay-1 { transition-delay: 0.2s }
.wp-delay-2 { transition-delay: 0.4s }
.wp-delay-3 { transition-delay: 0.6s }

