@charset "utf-8";

/* =========================================================
   ソロ社保 LP (solo-shaho)  style.css
   ========================================================= */

:root {
	--maxw: 600px;
	--teal-deep: #0f8a8f;
	/* 濃teal：見出し帯・フッター・強調 */
	--teal: #2aa9a0;
	/* 標準teal：リンク・枠線 */
	--teal-light: #eaf7f6;
	/* 明るいteal背景（PC余白と共通トーン） */
	--teal-pale: #d5f0ee;
	/* 明るいteal背景（アクセント用） */
	--navy: #0f2f4f;
	/* 濃紺：テキスト強調 */
	--page-bg: #eef7f6;
	/* PC表示時の余白背景 */
	--text: #222;
	--focus: #0f6e73;
	/* フォーカスリング（teal系） */
}

/* リセット --------------------------------------------------*/
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	padding: 0;
	color: var(--text);
	background-color: var(--page-bg);
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
		"Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
	line-height: 1.6;
}

img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: top;
}

a {
	text-decoration: none;
	color: inherit;
}

/* 視覚的に非表示（スクリーンリーダー用） */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* キーボード操作時のフォーカス可視化（共通） */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
}

/* コンテナ（中央600px） ------------------------------------*/
.container {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	background-color: #fff;
	overflow: hidden;
}

@media screen and (min-width: 620px) {
	.container {
		box-shadow: 0 0 16px rgba(15, 138, 143, .18);
	}
}

/* セクション共通（画像は隙間なく積む） ---------------------*/
.sec {
	font-size: 0;
	/* 画像下の余白を消す */
}

/* =========================================================
   CTA エリア（ベース画像の上にボタンを重ねる＝オーバーレイ／lpe2準拠）
   ・ベース画像(.cta__base)は通常フロー → セクション高さ＝画像の実寸高さそのまま（余白を足さない）
   ・ボタンは position:absolute ＋ %指定で、画像下部の白い余白（Step03の下）に重ねる
     （cta下部余白=約19%・cta2=約17%。ボタンPNGは四隅透過済みで白地に馴染む）
   ・スマホでも比例追従するよう位置・幅は % 指定
   ========================================================= */
.cta {
	position: relative;
	background-color: #fff;
	font-size: 0;
	/* inline画像下の隙間を消す */
}

.cta__base {
	width: 100%;
}

.cta__btn {
	display: block;
	position: absolute;
	left: 50%;
	bottom: 3.5%;
	transform: translateX(-50%);
	width: 88%;
	max-width: 540px;
	z-index: 2;
}

/* FVヒーローのCTAボタン：fv.webp下部の無地teal帯（下から約15%）にオーバーレイ
   ボタンを横幅いっぱいに広げた分、下から少し上げて帯内に収める */
.sec--fv {
	position: relative;
}

.fv-cta {
	display: block;
	position: absolute;
	left: 50%;
	bottom: 3.5%;
	transform: translateX(-50%);
	width: 88%;
	max-width: 540px;
	z-index: 2;
}

/* CTAボタン：大きく／小さくなる拡大縮小アニメ（opacityの点滅は使わない）
   ※位置決め(中央寄せ)とアニメ(scale)は別要素に分ける */
.cta__btn img,
.fv-cta img {
	animation: cta-pulse 1.5s ease-in-out infinite;
	transform-origin: center;
}

/* ホバー時はテンポを上げて、より躍動的に */
.cta__btn:hover img,
.fv-cta:hover img {
	animation-duration: .8s;
}

@keyframes cta-pulse {

	0%,
	100% {
		transform: scale(.95);
	}

	50% {
		transform: scale(1.06);
	}
}

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	.cta__btn img,
	.cta__btn:hover img,
	.fv-cta img,
	.fv-cta:hover img {
		animation: none;
	}
}

/* =========================================================
   フッター
   ========================================================= */
.footer {
	background: var(--teal-deep);
	text-align: center;
	padding: 20px 16px 24px;
}

.footer__copy {
	margin: 0;
	color: #fff;
	font-size: 12px;
	letter-spacing: .05em;
}
