@charset "UTF-8";

/****************************************
 * 共有フッター CTA（お問い合わせ）
 ****************************************/
.footer-cta {
  position: relative;
  color: #fff;
  padding: clamp(56px, 8vw, 120px) 0;
  overflow: hidden;

  background:
    radial-gradient(1200px 600px at 15% 35%, color-mix(in srgb, var(--blue), #fff 8%) 0%,
      color-mix(in srgb, var(--blue), #000 18%) 38%, transparent 62%),
    radial-gradient(900px 520px at 100% 50%, color-mix(in srgb, var(--red), #fff 10%) 0%,
      color-mix(in srgb, var(--red), #000 18%) 40%, transparent 65%),
    linear-gradient(110deg, var(--blue) 0%, color-mix(in srgb, var(--blue), #fff 15%) 30%,
      color-mix(in srgb, var(--red), #fff 10%) 70%, var(--red) 100%);

  /* ここから“ゆっくり動かす”ための指定 */
  background-size: 140% 140%, 140% 140%, 220% 220%;
  /* すこし大きめに描いて動かす */
  background-position: 8% 40%, 100% 60%, 0% 50%;
  /* 各レイヤー別々に位置指定 */
  animation: footerCtaGradient 10s ease-in-out infinite alternate;

  /* パフォーマンス */
  will-change: background-position;
}

/* 背景の各レイヤーをゆっくりスライド */
@keyframes footerCtaGradient {
  0% {
    background-position: 8% 40%, 100% 60%, 0% 50%;
  }

  50% {
    background-position: 18% 46%, 88% 54%, 60% 50%;
  }

  100% {
    background-position: 28% 52%, 76% 48%, 100% 50%;
  }
}

/* モーション配慮：OSが減らす設定なら停止 */
@media (prefers-reduced-motion: reduce) {
  .footer-cta {
    animation: none;
  }
}


.footer-cta__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  /* 左：説明 / 右：TEL・ボタン */
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

/* ラベル（白） */
.footer-cta .section-label--light {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .05em;
  margin-bottom: clamp(8px, 1.8vw, 12px);
}

.footer-cta .section-label--light::before {
  content: "●";
  margin-right: 6px;
  font-size: .7em;
  line-height: 1;
  color: #fff;
}

/* 見出し・リード */
.footer-cta__title {
  font-weight: 800;
  font-size: 3.2rem;
  font-size: var(--fs-32);
  line-height: 1.5;
  letter-spacing: .04em;
  color: #fff;
  margin-bottom: clamp(10px, 1.8vw, 16px);
}

.footer-cta__lead {
  font-size: 2.4rem;
  font-size: var(--fs-24);
  line-height: 1.9;
  letter-spacing: .03em;
  color: rgba(255, 255, 255, .95);
  /* max-width: 36ch; */
}

/* 右側：TELとボタン */
.footer-cta__right {
  justify-self: end;
  text-align: left;
}

.footer-cta__tel {
  display: inline-block;
  width: 100%;
  font-family: "Poppins", "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 800;
  font-size: 4.0rem; font-size: var(--fs-40);
  letter-spacing: .04em;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, .9);
  padding-bottom: 20px;
  margin-bottom: 16px;
}

.footer-cta__tel:hover {
  opacity: .9;
}

/* 白い丸 pill ボタン */
.btn-inquiry {
  width: 100%;
  font-size: 4.0rem;
  font-size: var(--fs-36);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 48px;
  min-height: 56px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}

@media (max-width: 960px) {
  .btn-inquiry {
    padding: 20px 40px;
  }
}
@media (max-width: 960px) {
  .footer-cta__right {
    justify-self: start;
    margin: 40px auto;
    text-align: center;
  }
}

.btn-inquiry svg {
  width: 60px;
  height: auto;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.btn-inquiry:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .2);
  opacity: .95;
}

.footer-cta__head {
  max-width: 1200px;
  margin: 40px auto;
}

/* レスポンシブ */
@media (max-width: 960px) {
  .footer-cta__grid {
    grid-template-columns: 1fr;
  }

  .footer-cta__right {
    justify-self: start;
  }

  .footer-cta__head {
    margin-bottom: 12px;
  }
}

/****************************************
 * 最下段フッター
 ****************************************/
.site-footer {
  background: #2c2c2c;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: clamp(36px, 6vw, 64px) 0;
  margin-top: 160px;
}

.site-footer__grid {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  /* 左：会社情報／右：ナビ＆バナー */
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  width: calc(100% - 160px);
}

@media (max-width: 980px) {
  .site-footer__grid {
    width: calc(100% - 60px);
  }
}

/* 左：会社情報 */
.footer-brand__logo img {
  display: block;
  width: 160px;
  margin-bottom: 40px;
}

.footer-brand__name {
  font-weight: 700;
  font-size: 2.0rem;
  font-size: var(--fs-20);
  letter-spacing: .1em;
  margin-bottom: 8px;
}

.footer-brand__list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  font-size: 1.4rem;
  line-height: 2;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .9);
}

.footer-brand__list li {
  color: #ffffff;
  line-height: 2.5;
}

.footer-brand__list a {
  color: inherit;
  text-decoration: none;
}

.footer-brand__list a:hover {
  opacity: .85;
}

/* 右：サイトナビ + バナー */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 18px;
  line-height: 1.8em;
}

@media (max-width: 980px) {
  .footer-nav {
    display: none;
  }
}

.footer-nav a {
  color: rgba(255, 255, 255, .92);
  font-size: 1.4rem;
  text-decoration: none;
  letter-spacing: .1em;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, .18);
  margin: 12px 0 18px;
}

.footer-banner a {
  display: inline-block;
  line-height: 0;
}

.footer-banner img {
  display: block;
  width: clamp(180px, 26vw, 280px);
  height: auto;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.footer-sublink {
  margin-top: 8px;
}

.footer-sublink a {
  color: rgba(255, 255, 255, .85);
  font-size: 1.4rem;
  text-decoration: none;
  letter-spacing: .2em;
}

.footer-sublink a:hover {
  text-decoration: underline;
}

/* 下段コピーライト */
.site-footer__bottom {
  width: calc(100% - 160px);
  margin: clamp(24px, 5vw, 36px) auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 14px;
}

.footer-copy {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .75);
  letter-spacing: .04em;
}

/* レスポンシブ */
@media (max-width: 920px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ===== 追従バナー：PC（右端の縦ピル） ===== */
.follow-banner {
  position: fixed;
  inset-block-start: 50%;
  /* 画面の縦中央 */
  inset-inline-end: max(12px, env(safe-area-inset-right));
  transform: translateY(-50%);
  z-index: 9999;
  display: grid;
  justify-items: end;
}

/* 縦ピル本体（日本語縦書き） */
.follow-banner .fb-btn {
  writing-mode: vertical-rl;
  /* 縦書き */
  text-orientation: mixed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .2em;
  min-height: 160px;
  padding: 14px 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red, #dd031d), color-mix(in oklab, var(--red, #dd031d) 65%, white));
  color: #fff;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
  cursor: pointer;
  transition: transform .08s ease, filter .2s ease, box-shadow .2s ease;
  font-size: 1.6rem;
  font-size: var(--fs-16);
}

.follow-banner .fb-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

.follow-banner .fb-btn:active {
  transform: translateY(1px);
}

/* 閉じる（CSSだけで隠す用） */
.follow-banner .fb-hide {
  position: absolute;
  inline-size: 0;
  block-size: 0;
  opacity: 0;
  pointer-events: none;
}

.follow-banner .fb-close {
  position: absolute;
  inset-block-start: -10px;
  inset-inline-end: -10px;
  inline-size: 28px;
  block-size: 28px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #4b5563;
  font-weight: 700;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
  cursor: pointer;
}

.follow-banner .fb-hide:checked~.fb-close,
.follow-banner .fb-hide:checked~.fb-btn {
  display: none;
}

/* ===== 追従バナー：SP（下部の横長ボタン） ===== */
/* ===== 追従バナー：SP（2ボタンを横並び） ===== */
.follow-banner-sp {
  position: fixed;
  inset-inline: max(10px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-right));
  inset-block-end: max(10px, env(safe-area-inset-bottom));
  z-index: 9999;

  display: none;
  /* PCでは非表示 */
  grid-template-columns: 1fr 1fr;
  gap: 10px;

  /* iOSのホームインジケータとかぶらないよう余白を確保 */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* 共通の見た目 */
.follow-banner-sp .fbsp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 100%;
  block-size: 56px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #fff;
  text-decoration: none;
  background: #135ba4;
  /* デフォルトはブルー */
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
  cursor: pointer;
  transition: transform .08s ease, filter .2s ease, box-shadow .2s ease;
}

.follow-banner-sp .fbsp-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

.follow-banner-sp .fbsp-btn:active {
  transform: translateY(1px);
}

/* 片方ずつ色を変える（必要なら変更OK） */
:root {
  --red: #dd031d;
}

/* トンマナに合わせて調整可 */
.follow-banner-sp .fbsp-btn--contact {
  background: linear-gradient(135deg, var(--red), color-mix(in oklab, var(--red) 70%, white));
}

.follow-banner-sp .fbsp-btn--tel {
  background: linear-gradient(135deg, var(--blue, #135ba4), color-mix(in oklab, var(--blue, #135ba4) 65%, white));
}

/* 表示切替：SPのみ表示、PCは右端ピルを使う */
@media (max-width: 768px) {
  .follow-banner {
    display: none;
  }

  /* PC用は隠す */
  .follow-banner-sp {
    display: grid;
  }

  /* SP用を出す */
}

/* 念のため横スクロール防止の保険（既にあれば不要） */
html,
body {
  overflow-x: clip;
}

@supports not (overflow-x: clip) {

  html,
  body {
    overflow-x: hidden;
  }
}