/*===========
共通
===========*/
*{ margin: 0; padding: 0; }
html{ font-size: 16px; }
body{ background-color: #F0F3FF;display: flex; min-height: 100vh; flex-direction: column;　flex-wrap: nowrap; }
p, li{ font-size: 1.2rem }
br.sp{ display: none; }
br.pc{ display: block; }
header { justify-content: center; position: fixed; transition: padding .5s, background-color .5s; /* 背景色と高さをじんわり変更 */ width: 100%; z-index: 1000; padding: 10px 0;}
/* ファーストビューを過ぎたあとのヘッダー */
header.transform { background-color: #F0F3FF; /* 背景色変更 */ padding: 20px 0; /* 高さ変更 */}
header .menu_icon{ width: 32px; }
header .menu_icon img{ vertical-align: middle; }
header .logo{ margin-right: 2.6rem; }
main{ flex: 1 0 auto; }
nav .logo img{ height: 40px; vertical-align: middle; }
nav{ box-shadow: none; background-color:#F0F3FF; }
.navbar-fixed nav{background-color: transparent; width: 95%; margin: 0 auto; position: initial; }
nav ul a{ font-size: 1.2rem; color: black; font-weight: bolder; }

.btn-large{ outline:none; border-radius: 100vh; background-color: #00BF63; color: #fff; -webkit-transition: all .3s; transition: all .3s; font-size: 1.2rem; }
.btn-large:nth-child(1){ margin-right: 1.5rem; }
.btn-large:hover { color: #00BF63; border: 2px solid #00BF63; background-color: #fff; }

h2{ font-size: 2.5rem; font-weight: bold; }
h3{ font-weight: bolder; }
h2.center{ width: 100%; text-align: center; }
ul.list{ padding-left: 1rem;}
ul.list li{ list-style: disc; }

.container{ width: 100%; max-width: 100%; }
.section{ max-height:1440px; min-height: 50vh; }
.section .inner { width: 90%; margin: auto; padding: 5rem 0; display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; min-height: 800px; max-height: 100vh;}
.section .inner_inner { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-direction: normal; -webkit-box-orient: vertical; -ms-flex-direction: column; flex-direction: column; width: 100%;}
.section .inner_inner .cvr{ margin: auto auto 33px 0; }
.section .inner_inner { padding: 15px;}
.section .inner_inner { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-direction: normal; -webkit-box-orient: vertical; -ms-flex-direction: column; flex-direction: column; }

/*===========
セクション
===========*/
#hero{ background-image: url(../../img/onecredit/hero.png); background-size:contain; background-repeat: no-repeat; }
#hero h1{ font-size: 6.5rem; font-weight: bolder; color: #051147; margin-bottom: 0; }
#hero span.accent{ color: #ef1a45; }

#intro p.strong{ width: 100%; margin: 0 auto; padding-top: 2rem; font-size: 2.8rem; font-weight: bolder; color: #051147; }
#intro p.strong .logo{ height: 60px; margin-right: 1rem; }
#intro .inner_inner3 { display: -webkit-flex; margin: 3rem auto 0 auto; padding-bottom: 3rem; border-bottom: #051147 solid 3px; position: relative; }
#intro .inner_inner3::before{ border: 20px solid transparent; border-top-color: #000; border-bottom-width: 0; bottom: 0; content: ""; display: block; left: 50%; position: absolute; width: 0; top: 100%;}
#intro .circle{ width: 360px; height: 360px; background-color: #051246; border-radius: 100vw; display: flex; justify-content: center;align-items: center; }
#intro .circle p{ text-align: center; font-size: 1.4rem; font-weight: bolder; color: #fff; margin: 4rem 0 0; }
#intro .circle p span.accent{ font-size: 2rem; }
#intro .circle p img{ width: 70px; margin-top: 1rem; }

#service{ background-color: #1B47EF; }
#service .inner{ height: 80vh; }
#service .inner_inner .cvr{ margin-bottom:120px; }
#service h2, #service ul{ color: #fff; }
#service img{ margin-top: 2.3733333333rem; }

#merit{ background-color: #051247; }
#merit img{ width: 10vw; margin-bottom: 2rem; }
#merit .logo img{ height: 40px; width: auto; margin-bottom: 1rem; display: -webkit-box; }
#merit .inner_inner4{ margin-top: 4rem; }
#merit .inner_inner4 .inner_inner4_inner{ min-height: 415px; max-height: 60vh; padding-right: 0.75rem; border-right: 1px #fff solid; text-align: center; }
#merit h2,#merit h3, #merit p{ color: #fff; text-align: left; }
#merit p{ text-align: left; }
#merit h3{ font-size: 1.4rem; text-align: center; }

#flow h2{ font-size: 4rem; font-weight: bolder; color: #051147; margin-bottom: 0; }
#flow h3{ margin: 0.8rem 0 1.168rem 0; color: black; font-size: 2.3rem; }
#flow .nya-step-container { display: flex; flex-direction: column; position: relative; gap: 7vh; margin: 2.3733333333rem 0 1.424rem 0; }
#flow .nya-step { display: flex; align-items: flex-start; position: relative; padding-left: 10px; }
#flow .nya-step-number { background-color: #051147; color: #fff; width: 80px; height: 80px; display: flex;flex-direction: column; justify-content: center; align-items: center; margin-right: 30px; font-weight: bold; text-align: center; position: relative; box-sizing: border-box; padding-top: 2px;/* 状況に応じて調整 */ flex-shrink: 0; z-index: 1; border-radius: 100vw; }
#flow div.complete-wrap::before{ border-left:none; }
#flow .complete{ background-color: #ef1a45; }
#flow .nya-step-number .nya-step-text { line-height: 1; }
#flow .nya-step-number .nya-step-digit { font-size: 18px; line-height: 1; padding-top: 10px;}
#flow .nya-step::before { border-left: 3px solid #051147; content: ""; display: block; height: 100%; left: 48px; top: 80px; position: absolute; width: 0; z-index: 0; /* 点線が四角形の後ろに表示されるように */ }
#flow .nya-step:last-child::before { height: 0; }

#overview .read{ font-size: 0.95rem; color: #fff; }
#overview.section .inner{ min-height: 600px; max-height: 80vh; }
#overview.section .inner .inner_inner{ margin-left: initial; }
#overview { background-color: #F0F3FF;font: black;background-image: url(../../img/onecredit/footer.png); background-size:cover; background-repeat: no-repeat;  }

/*===========
footer
===========*/
footer{background-color:#F0F3FF;}
footer .inner{ max-width: initial; padding: 1.5rem 0; }
footer .inner p{ padding: 1.5rem 0.8rem 0; }

/*===========
フォーム
===========*/
form{ margin: 2rem 0; }
#form .inner{ width: 50%; min-width: 762px; max-height: -webkit-fit-content; min-height: -webkit-fit-content; }
#form label{ font-size: 1.2rem; color: black; }
#form input{ height: 2rem; }
#form .row div{ margin-top: 0.8rem; }
#form .row .item{ text-align: right; }
#form .error-message, #form #AlertMessage{ color: #ef1a45; font-size: 1rem; }
#form #AlertMessage{ padding:10px 20px;margin:15px auto; font-weight:bold;border:3px solid #ef1a45; }


/* スマートフォン対応 */
@media screen and (max-width: 767px){
	h2,#flow h2{ font-size:1.65rem ; }
	p, li{ font-size: 1rem; }
	br.sp{ display: block; }
	br.pc{ display: none; }

	nav .logo img{ height: 32px; vertical-align: middle; padding-right: 18px;}
	nav a{color: #051147;}
	nav .nav-wrapper{ text-align: -webkit-center; }
	nav .nav-wrapper img{ padding: 0; }

	.section{ min-height: 100vh; max-height: initial; }
	.section .inner{ width: 100%; min-height: auto; max-height: initial; padding: 0; }
	.section .inner_inner .cvr{ margin: initial; margin-top: 2rem; }
	.section .inner_inner .cvr .btn-large{ font-size: 0.8rem; }
	.section .inner_inner .cvr .btn-large:nth-child(1){ margin-right: 1rem; }

	#hero { background-image: none; }
	#hero h1{ font-size: 3.5rem; }
	#hero .inner{ margin-top: 8rem; }

	#intro h2{ font-size: 1.8rem; }
	#intro .inner_inner3{ display: block; margin: 1rem auto; padding-bottom:1rem; }
	#intro .circle{ margin: 0 auto 1.2rem auto; width: 280px; height: 280px; }
	#intro .circle p{ font-size: 1.15rem; }
	#intro .circle p img{ width: 60px; }
	#intro .circle p span.accent{ font-size: 1.65rem; }
	#intro p.strong{ font-size: 1.7rem; margin: 1.5rem auto 1rem 0; padding-top:0; }
	#intro p.strong .logo{ height: 28.45px; margin-right: 0; }
	#intro .inner_inner3::before{ left: 45%; }
	
	#merit img{ width: 28vw; }
	#merit .inner{ width: 80%; }
	#merit .inner_inner4{ margin-top: 2.367rem; }
	#merit .inner_inner4 .inner_inner4_inner{ border-right: none; min-height: initial; max-height: initial; margin: 0 auto 3.8rem auto; padding-right: 0; }
	#merit .inner_inner4 .inner_inner4_inner img{ margin-bottom: 0; }
	#merit .logo img{height: 28.45px;}

	#service .inner_inner .cvr{ margin: 2rem 0 0 0; }
	#service img{margin: 0;}
	#service h2{ font-size:1.65rem ; }

	#flow h3{ font-size: 1.5rem; margin-left: 1rem; }
	#flow .nya-step { align-items: center; padding-left: 0; /* スマホの場合はスペースをリセット */ }
	#flow .nya-step-container{ margin: 0; gap: 2vh; }
	#flow .nya-step-number { margin-right: 0; margin-bottom: 10px; }
	#flow .nya-step::before { display: none; /* スマホの場合は点線を非表示に */ }

	#form .inner{ width: 90%; margin-top:2rem; min-width: initial;}
	#form .row .item{ text-align: left; }

	footer nav ul{ width: 100%; }
	#overview .read{ font-size:0.875rem ; }
}
  /* 大画面対応 */
  @media (min-width: 1919px){
	#hero{ background-size:cover; }
}

/*===========
アニメーション
===========*/
.fade-top,
.fade-bottom,
.slide-left,
.slide-right { opacity: 0; }

.fade-top { transform: translateY(100px);}
.fade-bottom { transform: translateY(-100px);}

.fade-top-animate,
.fade-bottom-animate { animation: fade-animate 1.75s cubic-bezier(0.25, 0.8, 0.15, 1) both; }

.slide-left { transform: translateX(-100px);}
.slide-right { transform: translateX(100px);}

.slide-left-animate,
.slide-right-animate { animation: slide-animate 1.1s cubic-bezier(0.25, 0.1, 0.25, 0.85) both; }

@keyframes fade-animate {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slide-animate {
	0% { opacity: 0; }
	45% {
		opacity: 1;
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}