/*
Theme Name: 	Stanley Barrel Bank Ltd
Author: 		Stanley Barrel Bank Ltd
Version: 		1.0.5
License: 		GNU General Public License v2 or later
License URI: 	http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Custom
-------------------------------------------------------- */
.mb-10 {
	margin-bottom: 6rem;
}

.mb-5 {
	margin-bottom: 3rem;
}

.pb-10 {
	padding-bottom: 6rem;
}

.pb-5 {
	padding-bottom: 2rem;
}

.pl-25 {
	padding-left: 25px;
}

.mt-120 {
	margin-top: 120px;
}

.relative {
	position: relative;
}

.bold {
	font-weight: bold;
}

html,
body {
	overscroll-behavior: none;
	-webkit-overflow-scrolling: none;
}

@media screen and (max-width:450px) {
	.mb-10 {
		margin-bottom: 3rem;
	}

	.mt-120 {
		margin-top: 60px;
	}
}

.header {
	justify-content: end;
}

.hero-logo img {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.hero-logo2 img {
	position: absolute;
	top: 55%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.menu span {
	color: #656565;
}

.menu a {
	color: #656565;
}

#business {
	padding-bottom: 0px;
}

.business h2 {
	margin-bottom: 20px;
}

#business p {
	font-size: 1.5rem;
	color: #5C5C5C;
}

.pcflex {
	display: flex;
}

.pcflex .block_inner-l {
	width: 50%;
	justify-content: space-between;
	padding-right: 20px;
}

.pcflex .block_inner-r {
	width: 50%;
	justify-content: space-between;
	padding-left: 20px;
}

.pcflex .block_img {
	width: 50%;
	justify-content: space-between;
}

.pcflex .block_img img {
	height: 380px;
	width: 540px;
	margin-top: -5px;
}

.c-topimg {
	position: absolute;
	top: 0;
	left: 0;
}

#company {
	height: 1800px;
}

.summary {
	position: absolute;
	top: 1300px;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 1080px;
}

.summary h2 {
	margin-bottom: 10px;
}

.summary.sec {
	top: 950px;
}

.summary h3 {
	padding-bottom: 15px;
}

.summary ul li {
	font-size: 1.5rem;
}

.summary.sec p {
	padding-top: 10px;
}

#company-2 {
	height: 1220px;
}

.c-secimg {
	position: absolute;
	top: 0;
	right: 0;
}

.c-thirdimg {
	position: absolute;
	top: 20%;
	left: 0;
}

#company-2 .cc {
	position: absolute;
	left: 50%;
	top: 970px;
	transform: translate(-50%, -50%);
}

#company-2 .cc img {
	text-align: center;
}

.contact .form {
	width: 70%;
}

form label {
	font-weight: bold;
}

.contact .form h4 {
	font-size: 24px;
	color: #5C5C5C;
	margin-top: 50px;
	margin-bottom: 30px;
}

@media (min-width: 1800px) {
	#company {
		height: 2000px;
	}

	.summary {
		top: 1500px;
	}

	#company-2 {
		height: 1520px;
	}

	#company-2 .cc {
		top: 1170px;
	}
}

@media (max-width: 850px) {
	#company {
		height: 1950px;
	}

	.summary {
		top: 1200px;
		width: 600px;
	}

	#company-2 {
		height: 750px;
	}

	.c-thirdimg {
		top: 10%;
	}

	#company-2 .cc {
		top: 575px;
	}
}

@media (max-width: 450px) {
	.hero-logo img {
		width: 144px;
	}

	.hero-logo2 img {
		width: 70%;
	}

	section {
		padding: 100px 0;
	}

	.pcflex {
		display: block;
	}

	.pcflex .block_inner-l {
		width: 100%;
		padding-right: 0px;
		margin-bottom: 20px;
	}

	.pcflex .block_inner-r {
		width: 100%;
		padding-left: 0px;
	}

	.pcflex .block_img {
		width: 100%;
		height: auto;
	}

	.pcflex .block_img img {
		width: 100%;
		height: auto;
	}

	#company {
		height: 2200px;
	}

	.summary {
		top: 170px;
		width: 100%;
		transform: none;
		left: 0px;
		padding: 0 20px;
	}

	#company-2 {
		height: 500px;
	}

	.c-thirdimg {
		top: 15%;
	}

	#company-2 .cc {
		top: 360px;
	}

	.contact {
		padding-top: 50px;
	}

	.contact .form {
		width: 100%;
	}

	footer .footerlogo img {
		width: 133px;
	}

	footer p {
		font-size: 10px;
	}
}




/* Size */
.sp {
	display: none;
}

@media screen and (max-width:450px) {
	.pctab {
		display: none;
	}

	.sp {
		display: block;
	}
}

/* フェード */
.effect-fade {
	opacity: 0;
	transform: translate(0, 20px);
	transition: all 1000ms;
}

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