
/* =========================================
	CSSリセット & グローバル設定
=========================================== */

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

*:focus {
	outline: none;
}

*:focus-visible {
	outline: 2px solid var(--main-blue);
	outline-offset: 2px;
}

/* =========================================
	ルート変数 (テーマ設定)
=========================================== */

:root {
	/* カラーパレット */
	--main-blue: #2962c3;
	--white: #fff;
	--pink: #dc3b92;
	--light-gray: #f3f9ff;
	--default-color: #3e3e3e; /* 標準のテキストカラー */

	/* グラデーション */
	--bg-main-blue: linear-gradient(90deg, rgb(0, 95, 200, 1), rgb(0, 163, 216, 1));

	/* ナビゲーション関連のカラー */
	--nav-hover-color: var(--main-blue);
	--nav-mobile-background-color: var(--main-blue);
	--nav-mobile-color: var(--white);

	/* 動作設定 */
	scroll-behavior: smooth;
	--transition-fast: 0.3s ease-in-out;
}

/* =========================================
	ベース HTML 要素のスタイル
=========================================== */

html {
	font-size: 16px;
	box-sizing: border-box;
	overflow-x: hidden;
}

body {
	font-family: メイリオ, Meiryo, "ヒラギノ角ゴ Pro W3", HiraginoKakuGothicPro, "ＭＳ Ｐゴシック", sans-serif;
	color: var(--default-color);
	line-height: 1.6;
	overflow-x: hidden;
}

h2 {
	font-weight: 600;
	font-size: 2.3rem;
	letter-spacing: 2px;
}

h3 {
	font-weight: 500;
	font-size: 1.3rem;
	letter-spacing: 2px;
}

h4 {
	font-weight: 600;
	font-size: 1.2rem;
}

p {
	margin-bottom: 0;
}

ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

/* 画像 */
img {
	max-width: 100%;
	height: auto;
	display: block; /* インライン要素による隙間を解消 */
}

em{
	color: var(--main-blue);
}


/* =========================================
	リンク (a) のスタイル
=========================================== */

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s, transform 0.3s;
}

a:hover {
	color: color-mix(in srgb, var(--main-blue), transparent 25%);
	transform: scale(1.05);
}

a:active {
	transform: translateY(3px);
}

/*-----------------------------
	Preloader
-----------------------------*/

#preloader {
	position: fixed;
	inset: 0;
	z-index: 9999999;
	overflow: hidden;
	background: var(--main-blue);
	color: var(--white);
}

#preloader .jumper {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 50px;
	height: 50px;
}

#preloader .jumper > div {
	position: absolute;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: var(--white);
	animation: jumper 1s linear infinite;
	opacity: 0;
}

#preloader .jumper > div:nth-child(2) { animation-delay: 0.33s; }
#preloader .jumper > div:nth-child(3) { animation-delay: 0.66s; }

@keyframes jumper {
	0%	{ opacity: 0; transform: scale(0); }
	5%	{ opacity: 1; }
	100% { opacity: 0; }
}

/*--------------------------------------------------------------
	アニメーション フェードイン
--------------------------------------------------------------*/

.fade-in {
	opacity: 0;
	transition-duration: 900ms;
	transition-property: opacity, transform;
}

.fade-in-up {
	transform: translate(0, 50px);
}

.fade-in-right {
	transform: translate(50px, 0);
}

.scroll-in {
	opacity: 1;
	transform: translate(0, 0);
}


/*--------------------------------------------------------------
	Section Titles
--------------------------------------------------------------*/

.section-title {
	text-align: center;
	padding-bottom: 60px;
	position: relative;
}

.section-title h2 {
	margin-bottom: 35px;
	padding-bottom: 20px;
	position: relative;
}

.section-title h2:before {
	content: "";
	position: absolute;
	display: block;
	width: 160px;
	height: 1px;
	background: color-mix(in srgb, var(--default-color), transparent 60%);
	left: 0;
	right: 0;
	bottom: 1px;
	margin: auto;
}

.section-title h2::after {
	content: "";
	position: absolute;
	display: block;
	width: 60px;
	height: 3px;
	background: linear-gradient(to right, #2962c3 0%,#3b79cc 50%,#42d3ed 100%);
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}

.section-title .s-ttl-r{
	font-family: 'Noto Serif JP', serif;
	position: absolute;
	top: -70px;
	right: 0;
	font-size: 7rem;
	font-weight: bold;
	font-style: italic;
	color: var(--main-blue);
	opacity: .1;
}

/* テキストアニメーション */
.text-animation {
	opacity: 0;

	&.show {
	opacity: 1;
	.text-animation-span {
		display: inline-block;
		overflow: hidden;
}
	span {
		display: inline-block;
		animation: showText .5s backwards;
		}
	}
}
@keyframes showText {
	0% {
		opacity: 0;
		transform: translateY(100%);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@media screen and (max-width: 480px) {
	.section-title {
		padding-bottom: 0;
		margin-bottom: 10px;
	}
	.section-title h2 {
		margin-bottom: 25px;
		padding-bottom: 16px;
		font-size: 1.9rem;
		line-height: 39px;
	}
	.section-title .s-ttl-r{
		position: absolute;
		top: -45px;
		right: -10px;
		font-size: 4.7rem;
	}
}

/*--------------------------------------------------------------
	Sections
--------------------------------------------------------------*/

.section {
	padding: 100px 0 50px;
	scroll-margin-top: 65px;
	overflow: clip;
}

@media screen and (max-width: 480px) {
	.section {
		padding: 40px 0;
	}
}

/*--------------------------------------------------------------
	Navigation Menu
--------------------------------------------------------------*/

/* Navmenu - Desktop */
.navmenu {
	padding: 0;
}

.navmenu ul {
	display: flex;
	align-items: center;
}

.navmenu li {
	position: relative;
}

.navmenu a,
.navmenu a:focus {
	padding: 1px 10px;
	margin:0 0 0 25px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	white-space: nowrap;
	transition: transform var(--transition-fast);
}

.navmenu li:hover>a,
.navmenu .active,
.navmenu .active:focus {
		color: var(--nav-hover-color);
		border-bottom: 2px solid var(--nav-hover-color);
}

.navmenu a::after {
	position: absolute;
	left: 0;
	content: '';
	width: 100%;
	height: 1px;
	background: var(--nav-hover-color);
	bottom: -1px;               /*アンダーラインがaタグの下端から現れる*/
	transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
	transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
	transition: transform var(--transition-fast); /*変形の時間*/
}

.navmenu a:hover::after {
	transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
	.mobile-nav-toggle {
		color: var(--white);
		font-size: 1.7rem;
		cursor: pointer;
		transition: transform var(--transition-fast);
		background-color:var(--main-blue);
		border-radius: 3px;
		padding: 7px 12px 7px;
	}
	.navmenu-sp ul {
		display: none;
		list-style: none;
		position: absolute;
		inset: 55px 20px 25px 20px;
		padding: 17px;
		margin: 0;
		border-radius: 6px;
		color: var(--nav-mobile-color);
		background-color: var(--nav-mobile-background-color);
		overflow-y: auto;
		transition: transform var(--transition-fast);
		z-index: 9999;
		box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
	}
	.navmenu-sp li {
		border-top: 1px solid #4e7bc7;
		padding: 10px 0;
	}
	.navmenu-sp li:first-child{
		border: none;
	}
	.navmenu-sp li:nth-child(2){ /* ロゴ部分の下線消す*/
		border: none;
	}
	.navmenu-sp .btn-getstarted-v1 {
		text-align: center;
		background-color: var(--pink);
		color: var(--white);
		border-radius: 50px;
		padding: 10px;
		display: block;
		transition: transform var(--transition-fast);
	}
	.navmenu-sp .btn-getstarted-v1:hover {
		background-color: var(--pink);
		color: var(--white);
	}
	.navmenu-sp .btn-getstarted-v2 {
		text-align: center;
		background-color: var(--white);
		color: var(--main-blue);
		border-radius: 50px;
		padding: 10px;
		display: block;
		transition: transform var(--transition-fast);
	}
	.navmenu-sp .btn-getstarted-v2:hover {
		background-color: var(--white);
		color: var(--main-blue);
	}
	.navmenu-sp a,
	.navmenu-sp a:focus {
		color: var(--nav-dropdown-color);
		padding: 10px 20px;
		font-family: var(--nav-font);
		font-size: 17px;
		font-weight: 500;
		display: flex;
		align-items: center;
		justify-content: space-between;
		white-space: nowrap;
		transition: transform var(--transition-fast);
	}
	.navmenu-sp a:hover,
	.navmenu-sp .active,
	.navmenu-sp .active:focus {
		color: var(--nav-dropdown-hover-color);
	}
	.mobile-nav-active {
		overflow: hidden;
	}
	.mobile-nav-active .mobile-nav-toggle {
		color: var(--white);
		position: absolute;
		top: 6px;
		right: 20px;
		margin-right: 0;
	}
	.mobile-nav-active .navmenu-sp {
		position: fixed;
		overflow: hidden;
		inset: 0;
		background: rgba(33, 37, 41, 0.8);
		transition: transform var(--transition-fast);
	}
	.mobile-nav-active .navmenu-sp>ul {
		display: block;
	}
	.navmenu-sp .logo{
		margin-left: 11px;
		padding: 0 0 12px;
		-webkit-filter: brightness(0) invert(1);
		filter: brightness(0) invert(1);
	}
}

/*--------------------------------------------------------------
	Header
--------------------------------------------------------------*/

.header {
	--background-color: rgba(255, 255, 255, 0);
	padding: 20px 0;
	transition: all 0.5s;
	z-index: 2;
}

.header .header-container {
	background: var(--white);
	border-radius: 50px;
	padding: 15px 35px 15px 47px;
	box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.scrolled .header .header-container {
	background: color-mix(in srgb, var(--white), transparent 1%);
}

.header .logo img{
	margin-top: 5px;
	transition: transform var(--transition-fast);
}

.header .logo img:hover {
	transform: scale(1.05);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
	color: var(--white);
	background: var(--bg-main-blue);
	padding: 10px 25px 9px 24px;
	border-radius: 50px;
}

@media screen and (max-width: 480px) {
	header{
		z-index: 3;
		width: 100%;
		position: fixed;
		box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
	}
	header .header-container {
		background: var(--white);
		padding: 13px 15px 13px 20px;
	}
	header .logo img{
		position: relative;
		top: 4px;
	}
}

/*--------------------------------------------------------------
	メインビジュアル
--------------------------------------------------------------*/

.hero {
	height: 90vh;
	position: relative;
	z-index: 1;
	/*background: linear-gradient(125deg, color-mix(in srgb, var(--main-blue), transparent 95%) 50%, color-mix(in srgb, var(--main-blue), transparent 98%) 25%, transparent 50%);*/
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/*background: radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--main-blue), transparent 92%), transparent 70%);*/
	pointer-events: none;
}

.hero-image{
	width: 100%;
	height: 71vh;
	background: url(../images/mv/mv-pc.webp) no-repeat;
	background-size: cover;
	background-position: center;
}

.hero .hero-content {
	margin-top: 160px;
	margin-left: -8px;
	width: 100%;
}

.hero .hero-content h2{
	margin-bottom: clamp(27px, 5vh, 160px);
	width: min(640px, 100%);
	filter: drop-shadow(0 1px 7px rgba(255, 255, 255, 0.9));
}

/* メインタイトル 背景板アニメーション */
.hero .hero-content .bg .bg-wrap {
	position: relative;
	display: inline-block;
}

.hero .hero-content .bg.is-animated-v1 .bg-wrap::before {
	animation: bg 8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	/*animation-delay: 1s;*/
	background: var(--white);
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform-origin: left center;
	filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.1));
}

.hero .hero-content .bg.is-animated-v2 .bg-wrap::before {
	animation: bg 11s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	/*animation-delay: 1.2s;*/
	background: var(--white);
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform-origin: left center;
	filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.1));
}

.hero .hero-content .bg .bg-wrap .inn-v1 {
	color: var(--main-blue);
	font-size: clamp(2.4rem, 5.3vw, 5.5rem);
	font-weight: bold;
	letter-spacing: -0.1rem;
	font-family: "Noto Serif JP", serif;
	padding: 0 24px 0 24px;
	position: relative;
	z-index: 1;
}

.hero .hero-content .bg .bg-wrap .inn-v2 {
	color: var(--main-blue);
	font-size: clamp(3.2rem, 5.6vw, 6.2rem);
	font-weight: bold;
	letter-spacing: 0.4rem;
	font-family: "Noto Serif JP", serif;
	padding: 0 21px 0 29px;
	position: relative;
	z-index: 1;
}

.spacing-v1{
	letter-spacing: -0.1rem ;
}

.spacing-v2{
	letter-spacing: -1.2rem ;
}
 
@keyframes bg {
	0% {
		opacity: 0;
		transform: scaleX(0) translateX(-5%);
	}
	30% {
		transform: scaleX(1) translateX(0);
	}
	100% {
		transform: scaleX(1) translateX(0);
	}
	30%, 100% {
		opacity: 1;
	}
}

@media screen and (min-width:1367px) and ( max-width:1600px) {
	.hero-image{
		height: 86vh;
	}
	.hero .hero-content {
		margin:150px 0 0 0;
	}
	.hero .hero-content h2{
		margin-bottom: clamp(25px, 5vh, 150px);
		width: min(610px, 100%);
	}
}

@media screen and (min-width:1024px) and ( max-width:1366px) {
	.hero-image{
		height: 64vh;
	}
}

@media screen and (max-width: 480px) {
	.hero-image{
		height: 77vh;
		background: url(../images/mv/mv-sp.webp) no-repeat;
		background-position: 64% 100%;
		background-size: 470px;
	}
	.hero .hero-content {
		margin: 95px auto;
		padding: 0 12px;
	}
	.hero .hero-content h2{
		position: relative;
		margin-bottom: clamp(15px, 2vh, 50px);
		margin-left: auto;
		margin-right: auto;
		width: min(670px, 96%);
	}
	.hero .hero-content .bg .bg-wrap {
		margin-left: 10px;
	}
	.hero .hero-content .bg .bg-wrap .inn-v1 {
		font-size: clamp(3.2rem, 5vw, 5.3rem);
		letter-spacing: -0.1rem;
		padding: 0 17px 0 18px;
	}

	.hero .hero-content .bg .bg-wrap .inn-v2 {
		font-size: clamp(3.6rem, 5.5vw, 5.8rem);
		letter-spacing: 0.2rem;
		padding: 0 10px 0 19px;
	}
	.spacing-v1{
		letter-spacing: -0.1rem ;
	}
	.spacing-v2{
		letter-spacing: -0.5rem ;
	}
}

@media screen and (max-width: 390px) {
	.hero-image{
		height: 77vh;
		background-position: 65% 100%;
		background-size: 450px;
	}
	.hero .hero-content .bg .bg-wrap .inn-v1 {
		font-size: clamp(3rem, 5vw, 5.3rem);
	}

	.hero .hero-content .bg .bg-wrap .inn-v2 {
		font-size: clamp(3.3rem, 5vw, 5.5rem);
	}
}

@media screen and (max-width: 375px) {
	.hero-image{
		height: 90vh;
		background-position: 100% 100%;
		background-size: 390px;
	}
	.hero .hero-content .bg .bg-wrap .inn-v1 {
		font-size: clamp(2.8rem, 5vw, 5.3rem);
		padding: 0 12px 0 15px;
	}

	.hero .hero-content .bg .bg-wrap .inn-v2 {
		font-size: clamp(3.1rem, 5.5vw, 5.8rem);
	}
}


/*--------------------------------------------------------------
	オープニング
--------------------------------------------------------------*/

.opening{
	padding: 80px 0 70px;
	background: var(--bg-main-blue);
	color: var(--white);
}

.opening .section-title{
	padding-bottom: 25px;
}

.opening .section-title h2 {
	color: var(--white);
	font-size: 2.4rem;
	padding-bottom: 20px;
	border-bottom: solid 1px;
	margin-bottom: 10px;
}

.opening .section-title h2:before {
	height: 0;
}

.opening .section-title h2::after {
	height: 0;
}

.opening p{
	text-align: center;
	line-height: 40px;
	font-size: 1.2rem;
}


@media screen and (max-width: 480px) {
	.opening{
		padding: 27px 0 40px;
	}
	.opening .section-title{
		padding-bottom: 10px;
	}
	.opening .section-title h2 {
		font-size: 1.8rem;
		line-height: 38px;
		padding-bottom: 13px;
		margin-bottom: 0;
	}
	.opening p{
		font-size: 1rem;
		text-align: justify;
		padding: 0 10px;
		line-height: 30px;
	}
}

/*--------------------------------------------------------------
	英進館のオンライン学習とは
--------------------------------------------------------------*/

.online-img {
	max-width: 300px;
}

.online h3 {
	background: var(--bg-main-blue);
	color: var(--white);
	padding: 12px 0 9px;
}

.online p {
	line-height: 33px;
}

/* タイトル　吹き出し */
.fukidashi {
	font-size: 2rem;
	position: relative;
	width: fit-content;
	padding: 0 40px 5px;
	border-bottom: 2px solid var(--main-blue);
	background-color: var(--white);
	color: var(--main-blue);
}

.fukidashi::before {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 50%;
	width: 15px;
	height: 15px;
	box-sizing: border-box;
	background-color: var(--white); /* 背景色と同じ色を指定 */
	rotate: 135deg;
	translate: -50%;
}

.fukidashi::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 50%;
	z-index: -1;
	width: 15px;
	height: 15px;
	box-sizing: border-box;
	border: 2px solid;
	border-color: var(--main-blue) var(--main-blue) transparent transparent;
	background-color: var(--white);
	rotate: 135deg;
	translate: -50%;
}

/* タイトル冒頭 数字 */
.number::before {
	position: absolute;
	bottom: 0;
	left: -3.5rem;
	z-index: -1;
	color: var(--main-blue);
	font-size: 3.7em;
	line-height: 0.68;
	font-family: 'Noto Serif JP', serif;
	content: attr(data-number);
	pointer-events: none;
}

@media screen and (max-width: 480px) {
	.online .section-title {
		padding-bottom: 20px;
	}
	.online h3 {
		font-size: 1.2rem;
		padding: 11px 0;
	}
	.online p {
		line-height: 30px;
	}
	.fukidashi {
		font-size: 1.5rem;
		text-align: center;
		padding: 0 15px 10px;
		line-height: 33px;
	}
}

/*--------------------------------------------------------------
	オンライン学習の特長は？
--------------------------------------------------------------*/

.advantage .s-ttl-r{
	position: absolute;
	right: -220px;
}

.advantage-box h3 {
	background: var(--bg-main-blue);
	color: var(--white);
	padding: 12px 0 9px;
}

.advantage-box h4 {
	display: inline-block;
	color: var(--main-blue);
}

.advantage-box p {
	line-height: 30px;
	border-bottom: 1px dotted rgba(0,0,0,.3);
	margin-bottom: 22px;
}

.advantage-box p:last-child{
	border-bottom: none;
}


@media screen and (max-width: 480px) {
	.advantage .advantage-box {
		margin-top: 10px;
		padding: 0 2px;
	}
	.advantage .advantage-box h3 {
		padding-bottom: 15px;
		padding: 10px 0;
	}
	.advantage .advantage-box p {
		margin-bottom: 22px;
		text-align: justify;
	}
	.advantage .advantage-box .icon {
		width: 50px;
		height: 50px;
	}
}


/*--------------------------------------------------------------
	誘導ボタン
--------------------------------------------------------------*/

.request .container {
	background: var(--bg-main-blue);
	color: var(--white);
	position: relative;
	overflow: hidden;
	border-radius: 1rem;
	padding: 3.6rem 5.2rem 4rem;
	z-index: 1;
}

.btn-cta {
	background-color: color-mix(in srgb, var(--white) 15%, transparent);
	color: var(--white);
	padding: 30px 30px 25px;
	font-size: 1.1rem;
	border-radius: 5px;
	transition: all 0.4s;
	border: 2px solid var(--white);
	box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.08);
}

.btn-cta:hover {
	background-color: var(--white);
	color: var(--main-blue);
}

.btn-cta .in{
	text-align: right;
	position: relative;
}

.btn-cta h3{
	background: var(--white);
	padding: 10px 0 7px;
	border: 1px solid var(--main-blue);
	border-radius: 30px;
	color: var(--main-blue);
	width: 100%;
	max-width: 400px;
	letter-spacing: 1px;
}

/* 申込ボタン*/
.form-btn .btn-primary {
	font-size: 1.3rem;
	text-align: center;
	background-color: var(--pink) !important;
	color: var(--white);
	border-radius: 50px;
	border: 2px solid var(--white);
	letter-spacing: 1px;
	padding: 16px 0 14px;
	width: 100%;
	max-width: 500px;
	display: block;
	box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
	transition: transform var(--transition-fast);
}

.form-btn .btn-primary span {
	font-weight: 400;
	font-size: 1rem;
	color: var(--white) !important;
}

.shape {
	position: absolute;
	pointer-events: none;
	z-index: 1;
}

.shape svg {
	width: 100%;
	height: 100%;
}

.shape svg path {
	fill: color-mix(in srgb, var(--white) 50%, transparent);
}

.shape-1 {
	width: 300px;
	height: 300px;
	top: -100px;
	right: -50px;
	opacity: 0.1;
	transform: rotate(45deg);
	animation: shapes-float 3s ease-in-out infinite;
}

.shape-2 {
	width: 250px;
	height: 250px;
	bottom: -50px;
	left: -50px;
	opacity: 0.15;
	transform: rotate(-15deg);
	animation: shapes-float 4s ease-in-out infinite;
}

.shape-3 {
	width: 150px;
	height: 150px;
	top: 19%;
	right: 18%;
	opacity: 0.08;
	transform: rotate(15deg);
	animation: shapes-float 4s ease-in-out infinite;
}

.shape-4 {
	width: 350px;
	height: 350px;
	bottom: -640px;
	right: 0.1%;
	opacity: 0.1;
	transform: rotate(45deg);
	animation: shapes-float 3s ease-in-out infinite;
}

.shape-5 {
	width: 350px;
	height: 350px;
	bottom: 20px;
	left: 20px;
	opacity: 0.1;
	transform: rotate(-15deg);
	animation: shapes-float 4s ease-in-out infinite;
}

.dots {
	position: absolute;
	pointer-events: none;
	z-index: 1;
	color: var(--white);
}

.dots svg {
	width: 100%;
	height: 100%;
}

.dots-1 {
	width: 200px;
	height: 200px;
	top: -30px;
	left: 10%;
	opacity: 0.1;
	transform: rotate(15deg);
	animation: shapes-float 4s ease-in-out infinite;
}

.dots-2 {
	width: 180px;
	height: 180px;
	bottom: 2px;
	right: 1%;
	opacity: 0.15;
	transform: rotate(-10deg);
	animation: shapes-float 4s ease-in-out infinite;
}

.dots-3 {
	width: 270px;
	height: 270px;
	bottom: -40px;
	right: 2%;
	opacity: 0.15;
	transform: rotate(-10deg);
	animation: shapes-float 4s ease-in-out infinite;
}

.dots-4 {
	width: 260px;
	height: 260px;
	bottom: -650px;
	left: 50px;
	opacity: 0.1;
	transform: rotate(15deg);
	animation: shapes-float 4s ease-in-out infinite;
}

@keyframes shapes-float {
	0%,
	100% {
		transform: scale(0.8) rotate(45deg) translateY(0);
	}

	50% {
		transform: scale(0.8) rotate(45deg) translateY(-20px);
	}
}

@media (max-width: 992px) {
	.request .container {
		padding: 3rem 1.5rem;
	}

	.shape-1 {
		width: 200px;
		height: 200px;
	}

	.shape-2 {
		width: 150px;
		height: 150px;
	}

	.shape-3 {
		width: 100px;
		height: 100px;
	}

	.dots-1 {
		width: 150px;
		height: 150px;
	}

	.dots-2 {
		width: 120px;
		height: 120px;
	}

	.dots-3 {
		width: 80px;
		height: 80px;
	}
}

@media (max-width: 480px) {
	.request h2{
		font-size: 1.8rem;
	}
	.btn-cta {
		font-size: 1rem;
		padding: 18px 15px;
		margin: 0;
		line-height: 25px;
	}
	.btn-cta h3{
		font-size: 1.1rem;
		padding: 9px 0;
		border-radius: 20px;
		letter-spacing: 0.3px;
	}
	.btn-cta hr {
		margin: 0.5rem 0 0.7rem;
	}
	.request .container {
		padding: 2.2rem 1rem 2.7rem;
		border-radius: 0;
	}
	.request .btn-cta {
		margin: 0;
		width: 100%;
	}
	.form-btn .btn-primary {
		letter-spacing: 0;
		line-height: 27px;
		padding: 14px 0 19px;
		margin: 35px 10px 0;
	}
}

@media (max-width: 375px) {
	.btn-cta {
		font-size: 0.9rem;
	}
}


/*-----------------------------
	Footer
---------------------------*/

.footer {
	color: var(--main-blue);
	text-align: center;
	padding: 70px 0 0;
}

.footer li{
	display: inline-block;
	transition: transform var(--transition-fast);
}

.footer li:hover {
	transform: translateY(-3px);
}

/*------- Sub-footer ------*/

.sub-footer {
	background: var(--main-blue);
	color: var(--white);
	text-align: center;
	padding: 15px 0;
}

.sub-footer p {
	letter-spacing: 0.5px;
	font-size: 0.8rem;
}

@media (max-width: 480px) {
	.footer {
		padding: 30px 0 0;
	}
	.sub-footer {
		padding: 10px 0;
	}
	.sub-footer p {
		letter-spacing: 0.1px;
		font-size: 0.8rem;
	}
}

/*--------------------------------------------------------------
	Scroll Top Button
--------------------------------------------------------------*/

.scroll-top {
	position: fixed;
	right: 15px;
	bottom: 30px;
	z-index: 2;

	width: 50px;
	height: 50px;
	border-radius: 50px;

	background: linear-gradient(180deg, rgb(0, 95, 200), rgb(0, 163, 216));
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px) scale(1);
	transition:
		opacity 0.6s ease,
		transform 0.6s ease,
		visibility 0s linear 0.6s; /* ← 消える時に遅らせる */
}

.scroll-top i {
	font-size: 24px;
	color: var(--white);
	transform: translateY(0);
	transition: transform 0.3s ease;
}

.scroll-top.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
	transition:
		opacity 0.6s ease,
		transform 0.6s ease,
		visibility 0s;
}

.scroll-top:hover {
	transform: translateY(0) scale(1.12);
}

.scroll-top:hover i {
	transform: translateY(-4px);
}

@media screen and (max-width: 480px) {
	.scroll-top {
		right: 5px;
	}
	.scroll-top.active {
		bottom: 80px;
	}
}



