@charset "utf-8";

/* ===============================================
   Article CTA Styles (キュービクル・非常用発電機)
   =============================================== */

/* 共通スタイル */
.article-cta {
  background-image: url("../images/renewal2026/top/cta-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 9999px;
  overflow: hidden;
  margin: 40px 0;
}

.article-cta__inner {
  padding: 40px;
}

/* 上部画像エリア */
.article-cta__image {
  text-align: center;
  padding: 0 94px 0 40px;
}

.article-cta__image img {
  max-width: 100%;
  height: auto;
}

.article-cta__image--sp {
  display: none;
}

/* 下部CTAエリア */
.article-cta__actions {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

/* 電話エリア（PC） */
.article-cta__phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.article-cta__phone-number {
  font-size: 46px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1;
  pointer-events: none;
  cursor: default;
}

.article-cta__phone-hours {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

/* フォームボタン */
.article-cta__form-button {
  background-color: #eb8034;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  width: 284px;
  height: 63px;
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
  gap: 2px;
}

.article-cta__form-button:hover {
  background-color: #d46f2a;
}

.article-cta__button-sub {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  margin: 0;
  line-height: 100%;
}

.article-cta__button-main {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-cta__button-icon {
  width: 20px;
  height: 16px;
  flex-shrink: 0;
}

/* スマホ用スタイル */
@media screen and (max-width: 768px) {
  .article-cta {
    border-radius: 12px;
  }

  .article-cta__inner {
    padding: 24px 20px;
  }

  .article-cta__image {
    margin-bottom: 20px;
    padding: 0;
  }

  /* PC用画像を非表示 */
  .article-cta__image--pc {
    display: none;
  }

  /* スマホ用画像を表示 */
  .article-cta__image--sp {
    display: block;
  }

  /* 縦並びに変更 */
  .article-cta__actions {
    flex-direction: column;
    gap: 16px;
  }

  /* 電話エリアを非表示（PC用） */
  .article-cta__phone {
    display: none;
  }

  /* 電話タップボタン（SP用） */
  .article-cta__phone-tap {
    display: block;
    width: 100%;
  }

  .article-cta__phone-tap-button {
    display: block;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .article-cta__phone-tap-button img {
    width: 100%;
    height: auto;
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.4));
    margin-bottom: 0;
  }

  .article-cta__phone-tap-note {
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    margin: 0;
    line-height: 1.8;
  }

  /* フォームボタン（SP） */
  .article-cta__form-button {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
}

/* PC用：電話タップボタンを非表示 */
@media screen and (min-width: 769px) {
  .article-cta__phone-tap {
    display: none;
  }
}
