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

/* ----------------------------------------------------------
  Common Settings : css-reset
---------------------------------------------------------- */
html{
font-family: Meiryo,'Hiragino Kaku Gothic ProN','Hiragino Sans',sans-serif;
overflow-y:auto;
-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:#333;
}

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: Meiryo,'Hiragino Kaku Gothic ProN','Hiragino Sans',sans-serif;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: subpixel-antialiased;
}

a{
	color: #ff0000;
	text-decoration	: none;
}

a:hover{
	text-decoration	: underline;
}

a[href^="tel:"] { cursor: default; text-decoration: none; color: #333}
a[href^="tel:"]: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
 * ================================================= */

html{
	overflow-x: scroll;
	-webkit-overflow-scrolling: touch;
	overflow-scrolling: touch;
}

body{
}

.wid > div{
	position: relative;
	padding: 0 0 0 0;
}
.wid > div:after{
	content: '';
	width: 30px;
	height: 30px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	position: fixed;
	transform: rotate(45deg);
	animation: flash 1.5s linear infinite;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}
.wid > div#zero_box:after{ display: none;}

.sz1 > div:after{
	top: 110px;
	right: 20px;
}
.sz2 > div:after{
	top: 70px;
	right: 20px;
}


@keyframes flash {
	0%,100%{
		opacity: 1;
	}
	50%{
		opacity: 0;
	}
}

.wid ul{
	display: table;
	font-size: 0;
	line-height: 0;
	text-align: left;
	padding: 10px 10px 0 10px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

.wid ul > li{
	display: table-cell;
	vertical-align: top;
	position: relative;
	padding: 0 1px 0 0;
}

.wid ul > li > a{
	display: inline-block;
	vertical-align: top;
	margin: 0;
	padding: 0;
	-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;
}
.wid ul > li > a:hover{
	opacity: 0.7;
	filter: alpha(opacity=70);
}

.wid ul > li .img{
	margin: 0;
	padding: 0;
}
.wid ul > li .img img{
	width: 100%;
	height: auto;
}

.wid ul > li .name{
	width: calc(100% - 4px);
	font-weight: bold;
	text-align: left;
	color: #333;
	margin: 0;
	padding: 0 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	-webkit-text-overflow: ellipsis;
	background: rgba(255, 255, 255, 0.9);
	position: absolute;
	bottom: 2px;
	left: 2px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

.wid ul > li .num{
	display: inline-block;
	font-family: "Font_A";
	font-weight: normal;
	color: #ff0000;
	position: absolute;
	right: 2px;
}

.wid_link{
	width: 160px;
	text-align: center;
	position: fixed;
	z-index: 2;
	left: calc(50% - 80px);
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}
.sz1 .wid_link{ top: 197px;}
.sz2 .wid_link{ top: 117px;}

.wid_link a{
	display: inline-block;
	vertical-align: top;
	width: 100%;
	font-size: 16px;
	font-weight: bold;
	line-height: 20px;
	color: #fff;
	background: rgba(255, 153, 0, 0.9);
	padding: 5px 0;
	border-radius: 15px;
	-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;
}
.wid_link a:hover{
	text-decoration: none;
	opacity: 0.7;
	filter: alpha(opacity=70);
}



.sz1 ul > li > a{	width: 170px;}
.sz2 ul > li > a{	width: 110px;}

.sz1 ul > li .name{
	font-size: 16px;
	line-height: 30px;
}
.sz2 ul > li .name{
	font-size: 13px;
	line-height: 25px;
}

.sz1 ul > li .num{
	font-size: 54px;
	line-height: 54px;
	bottom: 30px;
}
.sz2 ul > li .num{
	font-size: 40px;
	line-height: 40px;
	bottom: 27px;
}


/***** zero *****/

.zero_bg{	padding: 20px 0 0 0;}

.zero{
	position: relative;
	width: 800px;
	margin: 0 auto;
	border-width: 2px;
	border-style: solid;
	padding: 20px 0 20px 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.zero h1{
	font-size: 30px;
	font-weight: bold;
	line-height: 44px;
	text-align: center;
	border-width: 1px;
	border-style: solid;
	margin: 0 50px 10px 50px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

.zero h2{
	display: inline-block;
	vertical-align: top;
	font-size: 20px;
	font-weight: bold;
	line-height: 26px;
	color: #ff0000;
	margin: 0 0 15px 0;
	border-bottom: 3px double #ff0000;
}

.zero .fu_bt{
	margin: 0 0 15px 0;
}

.zero .fu_bt a{
	display: inline-block;
	vertical-align: top;
	width: 180px;
	font-size: 15px;
	font-weight: bold;
	line-height: 34px;
	border-width: 1px;
	border-style: solid;
	-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;
}
.zero .fu_bt a:hover{	text-decoration: none;}

.zero .wid_bt a{
	display: inline-block;
	vertical-align: top;
	width: 100%;
	max-width: 140px;
	font-size: 14px;
	font-weight: normal;
	line-height: 16px;
	color: #fff;
	background: #ff9900;
	padding: 5px;
	border-radius: 20px;
	-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;
}
.zero .wid_bt a:hover{
	text-decoration: none;
	opacity: 0.7;
	filter: alpha(opacity=70);
}


/***** color *****/
/** bg1 **/
.bg1 #error a{	color: #ff0000;}
.bg1 .zero{	border-color: rgba(0,0,0,0.15);}
.bg1 .zero h1{
	color: #fff;
	border-color: #000;
	background-color: #000;
	box-shadow:0px 0px 0px 2px #fff inset;
	-moz-box-shadow:0px 0px 0px 2px #fff inset;
	-webkit-box-shadow:0px 0px 0px 2px #fff inset;
}
.bg1 .zero .fu_bt a{
	color: #333;
	border-color: #000;
	background-color: #fff;
}
.bg1 .zero .fu_bt a:hover{ color: #fff; background: #000;}

/** bg2 **/
.bg2 #error a{	color: #ff0000;}
.bg2 .zero{	border-color: rgba(255,255,255,0.15);}
.bg2 .zero h1{
	color: #000;
	border-color: #fff;
	background-color: #fff;
	box-shadow:0px 0px 0px 2px #000 inset;
	-moz-box-shadow:0px 0px 0px 2px #000 inset;
	-webkit-box-shadow:0px 0px 0px 2px #000 inset;
}
.bg2 .zero .fu_bt a{
	color: #fff;
	border-color: #fff;
	background-color: #000;
}
.bg2 .zero .fu_bt a:hover{ color: #000; background: #fff;}

@font-face {
	font-family: Font_A;
	src: url('../fonts/Anton-Regular.ttf') format("truetype");
}


/***** error *****/
#error{
	display: table;
	width: 100%;
	height: 100vh;
	text-align: center;
	font-size: 13px;
	line-height: 20px;
}

#error div{
	display: table-cell;
	vertical-align: middle;
}


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

@media screen and (max-width: 650px) {
	body{
		min-width: auto;
	}
	a[href^="tel:"] { cursor: pointer;}
	a:hover{	text-decoration: none;}

	.wid > div{	padding: 0;}

	/***** zero *****/
	.zero_bg{	padding: 10px 10px 10px 10px;}
	.zero{
		width: auto;
		margin: 0;
		padding: 0 0 30px 0;
	}
	.zero h1{
		font-size: 24px;
		line-height: 44px;
		margin: -22px 25px 20px 25px;
	}
	.zero h2{
		font-size: 18px;
		line-height: 26px;
		margin: 0 0 15px 0;
	}
}
