
/* ==============================================================================
	CSS for touch-screen : common.css
============================================================================== */

/* ----------------------------------------------------------
  Common Settings : css-reset
---------------------------------------------------------- */
html{
font-family: var(--font-base);
overflow-y:scroll;
-webkit-text-size-adjust:none;
-webkit-font-smoothing: antialiased;
-webkit-backface-visibility:hidden;
backface-visibility:hidden;
}

body,div,h1,h2,h3,h4,h5,h6,p,ul,ol,li,dl,dt,dd,form,fieldset,legend,input,textarea,pre,code,blockquote,th,td{
margin:0;
padding:0;
}

div,h2,h3,h4,h5,h6,p,li,dt,dd,pre,code,blockquote,th,td{
word-break:break-all;
}

br{
letter-spacing:0;
}

fieldset,img{
border:0;
}

li{
list-style:none;
}

caption,th{
text-align:left;
}

h1,h2,h3,h4,h5,h6,th{
font-size:100%;
font-weight:normal;
font-style:normal;
}

input,textarea,select{
font-family:inherit;
font-size:inherit;
font-weight:inherit;
color:var(--font-color);
}

input[type="submit"]{
cursor:pointer;
}

select{
background-color:#ffffff !important;
}

address,caption,cite,code,dfn,var{
font-style:normal;
font-weight:normal;
}

abbr,acronym{
border:0;
font-variant:normal;
}

del,u{
text-decoration:none;
}

/*=================================================
 * CSS MAIN
 * ================================================= */

body{
	text-align	: center;
	font-size	: 12px;
	line-height	: 16px;
	font-family: var(--font-base);
	-webkit-text-size-adjust: 100%;
	scrollbar-face-color: #ffffff;
	scrollbar-3dlight-color: #553f09;
	scrollbar-highlight-color: #ffffff;
	scrollbar-shadow-color: #ffffff;
	scrollbar-darkshadow-color: #553f09;
	scrollbar-arrow-color: #553f09;
	scrollbar-track-color: #ffffff;
	-webkit-font-smoothing: subpixel-antialiased;
}

a{
	text-decoration	: none;
}

a:hover{
	text-decoration: none;
}

h1,h2,h3{
	font-size	: 13px;
}

ul{
	list-style-type	: none;
}

li{
	margin		: 0px;
	padding		: 0px;
}

table{
	font-size	: 13px;
}

table tr{
	vertical-align	: top;
}

em{
	font-style		: normal;
}


/*=================================================
 * CSS for PC
 * ================================================= */

body{
	position: relative;
	color: var(--font-color);
	background-color: #f5f5f5;
}

header,
main,
aside,
footer,
#link_bnr{
	position: relative;
	z-index: 2;
	width: 750px;
	margin: 0 auto;
}


/** header **/

header{
	width: 750px;
	height: 100vh;
	margin: 0 auto;
	background:
	url(../img/index/bg.jpg) no-repeat 50% 0 fixed;
	background-size: 750px auto;
}
h1{
	width: 100%;
	font-size: 10px;
	line-height: 1.2;
	color: #fff;
	padding: 0 10px;
	position: absolute;
	bottom: 4px;
	left: 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
header img{
	display: inline-block;
	vertical-align: top;
	width: auto;
	height: 72vh;
	margin-top: 2vh;
	margin-bottom: 1.5vh;
}

#top_tel{
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
	justify-content: center;
	width: 300px;
	height: 80px;
	color: #fff;
	margin: 0 auto;
	border: 3px solid #fff;
	border-radius: 5px;
	background: rgba(255, 0, 0, 0.7);
	box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.3);
	position: sticky;
	z-index: 100000;
	bottom: 20px;
	left: calc(50% - 190px);
	-webkit-transition	: 0.2s ease-in-out;
	-moz-transition	: 0.2s ease-in-out;
	-o-transition	: 0.2s ease-in-out;
	transition		: 0.2s ease-in-out;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
#top_tel:after{
	content: "";
	width: 20px;
	height: 30px;
	background: url(../img/index/i_top_tel.png) no-repeat;
	background-size: 20px auto;
	position: absolute;
	z-index: 2;
	bottom: 3px;
	right: 5px;
	animation: blinkDelayed 2s ease forwards infinite;
}
@keyframes blinkDelayed {
	0% {
		opacity: 1;
	}
	80% {
		opacity: 1; /* 1.2秒まではそのまま */
	}
	83.33% {
		opacity: 0;
	}
	86.66% {
		opacity: 1;
	}
	90% {
		opacity: 0;
	}
	93.33% {
		opacity: 1;
	}
	100% {
		opacity: 1;
	}
}
#top_tel p:nth-of-type(1){
	width: 100%;
	font-family: 'Noto Serif JP', serif;
	font-weight: 700;
	font-size: 32px;
	line-height: 1.1;
}
#top_tel p:nth-of-type(2){
	width: 100%;
	font-size: 12px;
	line-height: 1.2;
}
#top_tel p:nth-of-type(2) span{
	position: relative;
	font-size: 16px;
	margin-right: 3px;
	bottom: -3px;
}


/** main **/

main{
	display: block;
	overflow: hidden;
	padding: 0 0 20px 0;
	background: #fff;
}

main h2{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
	justify-content: flex-start;
	height: 170px;
	text-align: left;
	padding: 0 20px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
main h2 em{
	width: 100%;
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	font-size:min(10vw, 40px);
	line-height: 1.4;
}
main h2 span{
	font-family: "FontA";
	font-size: 18px;
	line-height: 1.2;
	text-indent: 3px;
	background: linear-gradient(90deg, rgba(255, 67, 160, 1) 0%, rgba(255, 234, 0, 1) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}


/** stepbox **/

.stepbox{
	position: relative;
	margin: 0 0 20px 0;
	padding: 40px 0 20px 0;
}
.stepbox .step{
	position: absolute;
	top: 20px;
	left: 0;
}
.stepbox .step img{
	width: 33vw;
	max-width: 200px;
	height: auto;
}
.stepbox .img{
	font-size: 0;
	line-height: 0;
	margin: 0 0 15px 0;
	padding: 0 20px 0 0;
}
.stepbox .img img{
	width: 100%;
	height: auto;
}
.stepbox .txt{
	text-align: left;
	padding: 0 20px 0 40px;
}
.stepbox .txt p:nth-of-type(1){
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	font-size:min(5vw, 24px);
	line-height: 1.4;
}
.stepbox .txt p.sub{
	font-size: 14px;
	line-height: 20px;
	margin: 5px 0 0 0;
}

.stepbox:nth-of-type(1){	box-shadow: 20px 0px 0px 0px #ffdbed inset;}
.stepbox:nth-of-type(2){	box-shadow: 20px 0px 0px 0px #ffdfd8 inset;}
.stepbox:nth-of-type(3){	box-shadow: 20px 0px 0px 0px #ffebca inset;}
.stepbox:nth-of-type(4){	box-shadow: 20px 0px 0px 0px #fff4c8 inset;}


/** btmimg **/

.btmimg{
	font-size: 0;
	line-height: 0;
}
.btmimg a{
	display: inline-block;
	vertical-align: top;
	width: 80px;
	height: 80px;
	margin: 0 5px;
	overflow: hidden;
	object-fit: contain;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.btmimg a img{
	width: 100%;
	height: 100%;
}



/** aside **/

aside{
	position: relative;
	height: 200px;
	margin-bottom: -40px;
	background: url(../img/index/f_logo.png) no-repeat 50% 25px #3d0d25;
	background-size: 200px auto;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
aside:after{
	content: "DESIGNATED DRIVER SERVICE";
	width: 100%;
	font-family: "FontA";
	font-size:min(4vw, 22px);
	line-height: 1.5;
	letter-spacing: 2px;
	text-align: center;
	color: #752d50;
	position: absolute;
	bottom: 62px;
	left: 0;
}
#fix_tel{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
	justify-content: center;
	width: 380px;
	height: 80px;
	color: #fff;
	margin: 0 auto;
	border: 3px solid #fff;
	border-radius: 40px;
	background: #FF43A0;
	background: linear-gradient(90deg, rgba(255, 67, 160, 1) 0%, rgba(255, 234, 0, 1) 100%);
	box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.3);
	position: sticky;
	z-index: 100000;
	bottom: 20px;
	left: calc(50% - 190px);
	animation-name: shop_fbt_scrollIn;
	animation-duration: 0.3s;
	animation-timing-function: ease-out;
	animation-delay: 0.3s;
	animation-iteration-count: 1;
	animation-fill-mode: backwards;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

@media screen and (max-height: 800px) {
	#fix_tel{
		display: none;
	}
}

body.fix #fix_tel{
	display: flex;
}

@keyframes shop_fbt_scrollIn {
	0% {
		opacity: 0;
		filter: alpha(opacity=0);
		-webkit-transform: scale(0.8);
		-moz-transform: scale(0.8);
		-o-transform: scale(0.8);
		-ms-transform: scale(0.8);
		transform: scale(0.8);
	}
	100% {
		opacity: 1;
		filter: alpha(opacity=100);
		-webkit-transform: scale(1);
		-moz-transform: scale(1);
		-o-transform: scale(1);
		-ms-transform: scale(1);
		transform: scale(1);
	}
}




/*.fix #fix_tel{	bottom: 100px;}*/
#fix_tel:hover{
	text-decoration: none;
}
#fix_tel p:nth-of-type(1){
	width: 100%;
	font-family: 'Noto Serif JP', serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.1;
}
#fix_tel p:nth-of-type(1) em{
	position: relative;
	display: inline-block;
	vertical-align: top;
}
#fix_tel p:nth-of-type(1) em:before,
#fix_tel p:nth-of-type(1) em:after{
	content: '';
	width: 2px;
	height: 15px;
	background: #fff;
	position: absolute;
	bottom: 1px;
}
#fix_tel p:nth-of-type(1) em:before{
	left: -12px;
	-webkit-transform: rotate(-45deg);
	   -moz-transform: rotate(-45deg);
	    -ms-transform: rotate(-45deg);
	     -o-transform: rotate(-45deg);
	        transform: rotate(-45deg);
}
#fix_tel p:nth-of-type(1) em:after{
	right: -12px;
	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	     -o-transform: rotate(45deg);
	        transform: rotate(45deg);
}

#fix_tel p:nth-of-type(2){
	width: 100%;
	font-family: 'Noto Serif JP', serif;
	font-weight: 700;
	font-size: 26px;
	line-height: 1.1;
	margin: 0 0 4px 0;
}
#fix_tel p:nth-of-type(2) span{
	position: relative;
	font-size: 24px;
	bottom: -2px;
	margin-right: 5px;
}

#fix_tel p:nth-of-type(3){
	width: 100%;
	font-size: 12px;
	line-height: 1.2;
}


/** footer **/

footer{
	width: 750px;
	text-align: center;
	margin-top: -40px;
	padding: 75px 0 45px 0;
	background: #fff;
}

footer #copyright{
	font-size: 11px;
	line-height: 20px;
	color: var(--font-color);
}
footer #copyright a{	color: var(--font-color);}


/** rollover **/

.fade{
	display: inline-block;
	padding: 0;
	font-size: 0;
	line-height: 0;
}

.hover,
.fade input{
	-webkit-transition	: 0.3s ease-in-out;
	-moz-transition	: 0.3s ease-in-out;
	-o-transition	: 0.3s ease-in-out;
	transition		: 0.3s ease-in-out;
	-webkit-backface-visibility:hidden;
	backface-visibility:hidden;
}

.hover:hover,
.fade input:hover{
	opacity: 0.8;
	filter: alpha(opacity=80);
}


/*=================================================
 * COMMON CSS for SP
 * ================================================= */

@media screen and (max-width: 750px) {
	a[href^="tel:"] { cursor: pointer;}
	a:hover{	text-decoration: none;}
	body:before{
		content:"";
		display:block;
		position:fixed;
		top:0;
		left:0;
		z-index:-1;
		width:100%;
		height:100vh;
		height:100dvh;
		background: url(../img/index/bg.jpg) no-repeat top center;
		-webkit-background-size: cover;
		background-size: cover;
	}
	header{	background: none;}

	header,
	nav,
	main,
	#link_bnr{
		width: 100%;
		margin: 0;
	}
	aside,
	footer{
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	body:before,
	#page-top{
		width: 100%;
		left: 0;
	}

	#fix_tel{
		width: calc(100% - 30px);
		left: 15px;
	}

}
