@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* 画面下固定ボタン */
.sp-fixed-btn {
	display: block;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	padding: 8px var(--btn-gutter, 20px) 20px;
	padding-bottom: calc(20px + env(safe-area-inset-bottom));
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
	transition:
		transform 0.3s ease,
		opacity 0.3s ease,
		visibility 0.3s ease;
}

.sp-fixed-btn__inner {
	width: 100%;
	margin: 0 auto;
}

.sp-fixed-btn .swell-block-button,
.sp-fixed-btn .c-btn,
.sp-fixed-btn a {
	display: block;
	width: 100%;
	text-align: center;
}

.sp-fixed-btn .swell-block-button {
	max-width: 420px;
	margin-inline: auto;
}

.sp-fixed-btn .c-btn,
.sp-fixed-btn a {
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	padding-inline: 1.25rem;
}

@media screen and (min-width: 960px) {
	.sp-fixed-btn__inner {
		max-width: 420px;
	}
}

/* 固定ボタン分、本文が隠れないように余白を確保 */
body {
	padding-bottom: 100px;
}

/* スマホメニュー：固定ボタンに隠れないよう下部余白 */
@media screen and (max-width: 959px) {
	.p-spMenu__body {
		padding-bottom: calc(100px + env(safe-area-inset-bottom));
	}
}

/* メニュー表示中は固定ボタンを非表示 */
html[data-spmenu="opened"] .sp-fixed-btn {
	transform: translateY(110%);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}





/* Final CTA section（ウィジェット / 全ページ共通）
---------------------------------------- */
:root {
  --ink: #0a121f;
  --white: #ffffff;
  --title-section: clamp(1.65rem, 3.5vw, 2.35rem);
  --btn-gutter: 20px;
}

.final {
  width: 100%;
  max-width: 100%;
  position: relative;
  padding: 5rem 0;
  margin: 0;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
}

/* ウィジェット枠の余白・背景をリセット（幅は親に合わせる） */
.w-beforeFooter .widget,
.w-footer .widget {
  margin-bottom: 0;
  max-width: 100%;
}

.w-beforeFooter .widget_text,
.w-beforeFooter .widget_custom_html,
.w-footer .widget_text,
.w-footer .widget_custom_html,
.widget_text .textwidget,
.widget_custom_html .custom-html-widget {
  padding: 0;
  margin: 0;
  max-width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

.final__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 50% at 50% 100%,
      rgba(14, 159, 138, 0.28),
      transparent 60%
    ),
    linear-gradient(180deg, #0d1829, var(--ink));
  pointer-events: none;
}

.final__inner {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 16px;
  box-sizing: border-box;
}

.final .hero__brand {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

.final__logo {
  display: block;
  width: 140px;
  height: auto;
  margin: 0 auto 1rem;
}

.final__title {
  margin: 1rem 0 1rem;
  font-size: var(--title-section);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--white);
}

.final__lead {
  margin: 0 auto 1.75rem;
  max-width: 36em;
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(232, 238, 245, 0.75);
}

/* CTAボタン（ラッパー有無どちらも対応） */
.final__cta-btn,
.final__inner > .swell-block-button,
.final__inner > .wp-block-loos-button,
.final__inner > p:has(.swell-block-button),
.final__inner > p:has(.c-btn) {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
}

.final .swell-block-button,
.final .wp-block-loos-button {
  width: 100%;
  max-width: min(420px, 100%);
  margin-inline: auto;
}

.final .c-btn,
.final a.c-btn,
.final .swell-block-button a,
.final .wp-block-loos-button a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-inline: 1.25rem;
}

@media screen and (max-width: 480px) {
  .final__inner {
    padding-inline: 12px;
  }

  .final {
    padding: 3.5rem 0;
  }

  .final__title {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }

  .final__lead {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
}

