@charset "UTF-8";

/* =====================================
   LP：悩み直後 CTA 専用CSS
   対象：/lp/index.html

   PC：2CTAを左右並び
   SP：2CTAを上下並び

   ※ 既存 style.css / lp_voice.css / swiper.min.css は編集せず、
      本ファイルをそれらの後に読み込んでください。
===================================== */

/* セクション全体 */
.gf-lp-worries-cta,
.gf-lp-worries-cta * {
  box-sizing: border-box;
}

.gf-lp-worries-cta {
  width: 100%;
  padding: 42px 20px;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
}

.gf-lp-worries-cta-inner {
  width: 90%;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* 見出し */
.gf-lp-worries-cta-title {
  margin: 0 0 28px;
  color: #007c39;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  text-align: center;
}

/* =====================================
   CTA 横並び
===================================== */

.gf-lp-worries-cta-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  margin-top: 10px;
}

.gf-lp-worries-cta-item {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  max-width: 340px;
  min-width: 0;
  text-align: center;
}

/* 説明文 */
.gf-lp-worries-cta-lead,
.gf-lp-worries-cta-note {
  margin-left: 0;
  margin-right: 0;
  color: #555;
  line-height: 1.6;
}

.gf-lp-worries-cta-lead {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  margin-top: 0;
  margin-bottom: 12px;

  color: #333;
  font-size: 1.5rem;
  font-weight: 700;
}

.gf-lp-worries-cta-note {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 1.4rem;
  font-weight: 500;
}

/* =====================================
   共通ボタン
===================================== */

.gf-lp-worries-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;

  width: 100%;
  min-height: 56px;
  margin-top: auto;
  padding: 13px 52px 13px 20px;

  border-radius: 5px;

  color: #fff !important;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none !important;

  transition:
    background-color .3s ease-in-out,
    color .3s ease-in-out,
    border-color .3s ease-in-out;
}

/* 矢印 */
.gf-lp-worries-cta-btn::before {
  content: "";
  display: block;

  width: 8px;
  height: 8px;

  border-top: 2px solid #fff;
  border-right: 2px solid #fff;

  transform: rotate(45deg);

  position: absolute;
  top: calc(50% - 4px);
  right: 27px;

  z-index: 2;

  transition: border-color .3s ease-in-out;
}

/* 丸 */
.gf-lp-worries-cta-btn::after {
  content: "";

  width: 32px;
  height: 32px;

  position: absolute;
  top: calc(50% - 16px);
  right: 14px;

  border: 1.5px solid #fff;
  border-radius: 50%;

  transition:
    background-color .3s ease-in-out,
    border-color .3s ease-in-out;
}

/* =====================================
   Hot：無料相談
===================================== */

.gf-lp-worries-cta-btn-consult {
  background-color: #f59e0b;
  border: 1.5px solid #f59e0b;
}

.gf-lp-worries-cta-btn-consult:hover,
.gf-lp-worries-cta-btn-consult:focus {
  color: #f59e0b !important;
  background-color: #fff;
}

.gf-lp-worries-cta-btn-consult:hover::before,
.gf-lp-worries-cta-btn-consult:focus::before {
  border-color: #fff;
}

.gf-lp-worries-cta-btn-consult:hover::after,
.gf-lp-worries-cta-btn-consult:focus::after {
  background-color: #f59e0b;
  border-color: #f59e0b;
}

/* =====================================
   Warm：資料DL
===================================== */

.gf-lp-worries-cta-btn-document {
  background-color: #2563a6;
  border: 1.5px solid #2563a6;
}

.gf-lp-worries-cta-btn-document:hover,
.gf-lp-worries-cta-btn-document:focus {
  color: #2563a6 !important;
  background-color: #fff;
}

.gf-lp-worries-cta-btn-document:hover::before,
.gf-lp-worries-cta-btn-document:focus::before {
  border-color: #fff;
}

.gf-lp-worries-cta-btn-document:hover::after,
.gf-lp-worries-cta-btn-document:focus::after {
  background-color: #2563a6;
  border-color: #2563a6;
}

/* 旧・縦並び用区切り線は非表示 */
.gf-lp-worries-cta-separator {
  display: none;
}

/* =====================================
   SP
===================================== */

@media screen and (max-width: 767px) {

  .gf-lp-worries-cta {
    padding: 35px 15px;
  }

  .gf-lp-worries-cta-inner {
    width: 100%;
  }

  .gf-lp-worries-cta-title {
    margin-bottom: 24px;
    font-size: 2rem;
  }

  .gf-lp-worries-cta-row {
    flex-direction: column;
    gap: 20px;
  }

  .gf-lp-worries-cta-item {
    width: 100%;
    max-width: none;
  }

  .gf-lp-worries-cta-lead {
    min-height: 0;
    margin-bottom: 10px;
    font-size: 1.5rem;
  }

  .gf-lp-worries-cta-note {
    font-size: 1.4rem;
  }

  .gf-lp-worries-cta-btn {
    width: 100%;
    min-height: 54px;
    padding: 13px 50px 13px 16px;
    font-size: 1.5rem;
  }
}
