@charset "utf-8";
/* CSS Document */

@font-face {
	font-family: hannari;
	src: url('../font/Hannari.otf') format("opentype");
}


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

body {
	width: 100%;
	text-align: center;
	font-size: 12px;
	line-height: 1.3;
	font-family: "qMmpS Pro W3", "Hiragino Kaku Gothic Pro", "CI", Meiryo, Osaka, "lr oSVbN", "MS PGothic", sans-serif;
	background-image: url(../images/top_back.jpg);
}


img {
	image-rendering: auto;
}

div#wrapper {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px;
	padding-top: 50px;
	background-color: #fff;
	position: relative;
	box-sizing: border-box;
}


#menu-box {
	width: 100%;
	background-color: #AD292B;
	height: 50px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
	display: flex;
	justify-content: center;
}


.toggle {
	display: block;
	width: 100%;
	max-width: 1000px;
	background-color: #AD292B;
	-moz-transition: all 0.2s cubic-bezier(0.52, 0.48, 0.15, 0.97);
	-o-transition: all 0.2s cubic-bezier(0.52, 0.48, 0.15, 0.97);
	-webkit-transition: all 0.2s cubic-bezier(0.52, 0.48, 0.15, 0.97);
	transition: all 0.2s cubic-bezier(0.52, 0.48, 0.15, 0.97);
	/*box-shadow: inset 0px -2px 0px 0px rgba(0, 0, 0, 0.1);*/
}

.toggle a {
	display: flex;
	flex-direction: column;
	position: relative;
	line-height: 1.0;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	letter-spacing: 0;
	width: 35px;
	height: 40px;
	align-content: space-between;
	margin: 10px auto 0 10px;
}

.toggle a span {
	display: block;
	width: 100%;
	height: 3px;
	background-color: #fff;
	margin-bottom: 5px;
	font-size: 10px;
	transition: .3s;
}

.toggle a span.menu-text {
	background-color: transparent;
}

.toggle a span.close-text {
	display: none;
	background-color: transparent;
}

.toggle.open {
	overflow: hidden;
}

.toggle.active .icon-bar:nth-of-type(1) {
	transform: translate(0px, 8px) rotate(-45deg);
}

.toggle.active .icon-bar:nth-of-type(2) {
	opacity: 0;
}

.toggle.active .icon-bar:nth-of-type(3) {
	transform: translate(0px, -8px) rotate(45deg);
}

.toggle.active .menu-text {
	display: none;
}

.toggle.active .close-text {
	display: block;
}

ul.menu {
	display: none;
	position: fixed;
	top: 50px;
	width: 100%;
		max-width: 1100px;
	height: fit-content;
	background-color: #fff;
	z-index: 1100;
	list-style: none;
	padding: 20px 0;
	overflow-y: auto;
	box-sizing: border-box;
	margin: 0 auto;
	flex-wrap: wrap;
	justify-content: space-between;
}

ul.open {
	display: flex;
}

.d-btn li {
	width: 23%;
	height: 175px;
	border-radius: 10px;
	background-color: #FBF5DF;
	box-sizing: border-box;
	padding: 0;
	margin-bottom: 1rem;
	display: flex;
	justify-content: space-around;
	align-items: center;
}
@media screen and (max-width:768.98px) {
		.d-btn li {
	width: 32%;
	height: 175px;
	overflow: hidden;
}
ul.menu::after {
	content: "";
	width: 32%;
	display: block;
}
}

@media screen and (max-width:767.98px) {
	.d-btn li {
	width: 48%;
	height: 110px;
}
}

.d-btn li a {
	width: 100%;
	height: 100%;
	position: relative;
}

.d-btn li a img {
	width: 50%;
	height: auto;
	box-sizing: border-box;
	padding: 0.5rem 0.5rem 0 0.5rem;
}

.d-btn li a img:nth-child(2) {
	padding-left: 0;
}

.d-btn li:nth-of-type(2) a img:nth-of-type(1) {
	width: 55%;
	height: auto;
	box-sizing: border-box;
	position: absolute;
	top: 0.5em;
	left: 0;
	padding: 0 0 0 0.5rem;
}

.d-btn li:nth-of-type(2) a img:nth-of-type(2) {
	width: 55%;
	height: auto;
	box-sizing: border-box;
	position: absolute;
	bottom: 0.5em;
	right: 0;
	padding: 0 0.5rem 0 0;

}

.d-btn li a p {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #FFF;
	font-size: 1.25rem;
	width: 100%;
	border-radius: 0 0 7px 7px;
}

.d-btn li:nth-of-type(1) a p {
	background-color: #29AAE3;
}

.d-btn li:nth-of-type(2) a p {
	background-color: #29AAE3;
}

.d-btn li:nth-of-type(3) a p {
	background-color: #D80001;
}

.d-btn li:nth-of-type(4) a p {
	background-color: #009345;
}

.d-btn li:nth-of-type(5) a p {
	background-color: #000000;
}

.d-btn li:nth-of-type(6) a p {
	background-color: #662E91;
}

.d-btn li:nth-of-type(7) a p {
	background-color: #F15A25;
}

.d-btn li:nth-of-type(8) a {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #9e9e9e;
	border-radius: 10px;
	color: #fff;
	text-align: center;
	font-size: 1.25rem;
	text-decoration: none;
}

.d-btn li:nth-of-type(8) a:hover{
	background-color: #AD292B;
}

.d-btn li a p i {
	margin-left: 0.5rem;
}

.d-btn::after {
	content: "";
	width: 48%;
}

@media screen and (max-width:767.98px) {
	.d-btn li a p {
		font-size: 0.8rem;
	}

	ul.d-btn::after {
		content: "";
		width: 45%;
		display: block;
	}

	a.cp_btn {
		width: 100%;
		padding: 0.8em 0.2em;
	}

}


h1 {
	width: 70%;
	margin: 1rem auto 2rem auto;
	background: #fef4f4;
	font-size: 1.5rem;
	color: #AD292B;
	-webkit-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1), 15px 15px 0 -5px #fef4f4, 15px 15px 1px -4px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1), 15px 15px 0 -5px #fef4f4, 15px 15px 1px -4px rgba(0, 0, 0, 0.2);
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1), 15px 15px 0 -5px #fef4f4, 15px 15px 1px -4px rgba(0, 0, 0, 0.2);
	padding: 8px;
	font-family: hannari;
}

h1 img {
	margin-left: 5px;
	margin-right: 3px;
	margin-bottom: -3px;
}

.bold {
	font-weight: bold;
}

@media screen and (max-width:798.98px) {

	div#contents {
		margin: 0 auto;
		padding: 0px;
		width: 100%;
		max-width: 1100px;
		text-align: center;
	}

	div#contents h2 {
		margin: 0px 0px 0px 10px;
		/*margin:0px 0px 0px 20px;*/
		padding: 5px 0px 5px 10px;
		border-left: solid 5px #FC0;
		font-size: 18px;
		font-weight: normal;
	}

	div#contents p {
		margin-top: 30px;
		margin-right: 0px;
		margin-left: 12px;
		margin-bottom: 30px;
		/*margin:30px 0px 30px 20px;*/
		padding: 0px;
	}
}

ul.thumb_t {
	list-style: none;
	margin: 0 auto 5rem auto;
	padding: 0px;
	width:100%;
	background-color: white;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

ul.thumb_t li {
	margin: 10px auto;
	padding: 0px;
	position: relative;
	width: 15%;
	height: 240px;
}

ul.thumb_t li.y{
	width: 23%;
	height: 164px;
}


ul.thumb_t li a {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
	transition: transform 0.3s ease;
	transform-origin: center;
}

ul.thumb_t li img {
	width: 100%;
	height:auto;
	border: 1px solid #999;
	padding: 0px;
	background: #f0f0f0;
	position: absolute;
	left: 0;
	top: 0;
	box-sizing: border-box;
	-ms-interpolation-mode: bicubic;
}
ul.thumb_t li:hover {
	z-index: 10;
}

ul.thumb_t li:hover a {
	transform: scale(1.8);
}

.model-number {
	position: absolute;
	bottom: 5px;
	left: 0;
	width: 100%;
	background-color: rgba(204, 0, 0, 0.8);
	color: white;
	text-align: center;
	padding: 5px 0;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 11;
}

ul.thumb_t li.y .model-number {
	bottom: -1px;
}

ul.thumb_t li a:hover .model-number {
	opacity: 1;
}



@media screen and (max-width:768.98px) {
	ul.thumb_t li:hover a {
	transform: scale(1.25);
}

ul.thumb_t li {
	width: 24%;
	height: 250px;
	margin-bottom: 50px;
}

ul.thumb_t li.y{
	width: 33%;
	height: 120px;
	margin-bottom: 90px;
}

ul.thumb_t li:hover a {
	transform: scale(1.5);
}
ul.thumb_t li a .model-number {
	opacity: 1;
}
.model-number {
	bottom: -35px;
}
ul.thumb_t li.y .model-number {
	bottom: -72px;
}
}

@media screen and (max-width:767.98px) {
ul.thumb_t li {
	width: 45%;
	height: 250px;
}
.model-number {
	bottom: -2px;
}


ul.thumb_t li.y{
	width: 45%;
	height: 120px;
}
ul.thumb_t li.y .model-number {
	bottom: -27px;
}

}

/*footer*/
/*footer*/
#footer {
	text-align: center;
	width: 100%;
	padding: 0px;
	background-color: #d3d3d3;
	margin-top: 50px;
}

.copyright {
	width: fit-content;
	height: 52px;
	margin: 0 auto;
	padding: 0px;
	display: flex;
	align-items: center;
}

.copyright a {
	margin-left: 1em;
}

#footer a {
	color: #666666;
}

#footer a:hover {
	color: #f96;
}

@media screen and (max-width:640px) {
	#footer {
		width: 100%;
		margin-top: 100px;
	}

	.copyright {
		flex-direction: column-reverse;
		height: 60px;
	}

	.copyright p {
		font-size: 12px !important;
		margin-bottom: 5px;
	}

	.copyright a {
		margin-left: 0;
	}

	.copyright a img {
		height: 25px;
		width: auto;
		margin-bottom: 5px;
	}
}
.toggle p {
	display: none;
}


.sp {
	display: none;
}



@media screen and (max-width:798.98px) {
	.sp {
		display: block;
	}

	.pc {
		display: none;
	}

	.none_sp {
		display: none;
	}

	div,
	dl,
	dt,
	dd,
	ul,
	ol,
	li,
	h1,
	h2,
	h3,
	h4,
	h5,
	h6,
	pre,
	form,
	fieldset,
	input,
	textarea,
	p,
	blockquote,
	th,
	td {
		font-size: 15px;
	}

	h2 {
		width: 100%;
		font-size: 48px;
	}

	h2 img {
		width: 60px;
	}


	#footer {
		width: 100%;
		margin-top: 100px;
	}

	.copyright {
		flex-direction: column-reverse;
		height: 60px;
	}

	.copyright a {
		margin-left: 0;
	}

	.copyright a img {
		height: 25px;
		width: auto;
		margin-bottom: 5px;
	}
}

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