@charset "utf-8";

#sections {
	display: inherit;
	font-size: 16px;
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	text-align: center;
	line-height: 1.6;
}


#sms .forsp {  display: none;}
@media only screen and (max-width: 640px) and (max-device-width: 1280px) {
		#sms .forpc {  display: none;}
		#sms .forsp {  display: inherit;}
}

#sms {
	width: 100%;
	max-width: 976px;
	margin: 0 auto;
	padding-top: 50px;
}
#sms * {
	margin: 0;
	padding: 0;
	list-style: none;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
#sms h1,h2,h3,p {
	font-size: auto;
	font-weight: normal;
	margin: 0;
	padding: 0;
}
#sms img {
	width: 100%;
	height: auto;
	border: none;
	vertical-align: bottom;
}
@media only screen and (max-width: 640px) and (max-device-width: 1280px) {
	#sms {
		width: auto;
		margin: 0 15px;
		padding-top: 15px;
	}
}


#sms h1.title {
	line-height: 1;
	margin: 15px 0 25px;
}
#sms h1.title img {
	width: 400px;;
}
#sms h2.copy {
	font-size: 18px;
	font-weight: bold;
	color: #666666;
	margin-bottom: 30px;
}
@media only screen and (max-width: 640px) and (max-device-width: 1280px) {
	#sms h1.title {
		margin-bottom: 15px;
	}
	#sms h1.title img {
		width: 86%;
	}
	#sms h2.copy {
		font-size: 4vw;
		margin-bottom: 10px;
	}
}

#sms #inquiry {
	display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
	gap: 0 30px;
}
#sms #inquiry .box {
	display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
	flex-direction: column;
	width: calc(50% - 15px);
	text-decoration: none;
}
#sms #inquiry .request {
	font-size: 24px !important;
	font-weight: bold;
	margin-bottom: 10px;
}
#sms #inquiry .box > div {
	display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
	gap: 10px;
	flex-grow: 1;
}
#sms #inquiry .box a {
    display: block;
	width: calc(50% - 5px);
	text-decoration: none;
	color: #333333;
	background-repeat: no-repeat;
	background-position: center top 20px;
	background-size: 80px auto;
	background-color: #F0F0F0;
	border: solid 1px #CCCCCC;
	margin-bottom: 45px;
	padding: 105px 15px 20px;
	-webkit-box-shadow: 0 0 8px 0 #CCCCCC; /* Safari, Chrome用 */
	-moz-box-shadow: 0 0 8px 0 #CCCCCC; /* Firefox用 */
	box-shadow: 0 0 8px 0 #CCCCCC; /* CSS3 */
	border-radius: 10px;
}
#sms #inquiry .box a.w100 {
	width: 100%;
}

#sms #inquiry .box .ill_reserve {	background-image: url("../img/ill_reserve.png");}
#sms #inquiry .box .ill_exhibition {	background-image: url("../img/ill_exhibition.png");}
#sms #inquiry .box .ill_online_reserve_pc {	background-image: url("../img/ill_online_reserve_pc.png");}
#sms #inquiry .box .ill_online_reserve_sp {	background-image: url("../img/ill_online_reserve_sp.png");}
#sms #inquiry .box .ill_inquiry {	background-image: url("../img/ill_inquiry.png");}
#sms #inquiry .box .ill_consult {	background-image: url("../img/ill_consult.png");}
#sms #inquiry .box .ill_repair {	background-image: url("../img/ill_repair.png");}
#sms #inquiry .box a:hover {
	background-color: #FFFFFF;
}
#sms #inquiry .box h3 {
	display: flex;
    align-items: center;
    justify-content: center;
	font-size: 20px;
	line-height: 1.2;
	font-weight: bold;
	margin-bottom: 8px;
}
#sms #inquiry .box:first-child h3,
#sms #inquiry .box:nth-child(2) h3 {
	min-height: 2.4em;
}
#sms #inquiry .box > p {
	font-size: 16px;
	line-height: 1.4;
}
#sms #inquiry .box p.txt_att {
	font-size: 14px;
}
@media only screen and (max-width: 640px) and (max-device-width: 1280px) {
	#sms #inquiry .box {
		width: 100%;
	}
	#sms #inquiry .box:nth-child(3) a {
		display: flex;
		justify-content: space-between;
		align-items: center;
		background-position: left 10px top 50%;
	}
	#sms #inquiry .box:nth-child(3) a p{
		width: 61%;
		text-align: left;
	}
	#sms #inquiry .request {
		font-size: 4.8vw !important;
		margin-bottom: 5px;
	}
	#sms #inquiry .box a {
		height: auto;
		background-position: left 3.4vw top 2.7vw;
		background-size: 12vw auto;
		background-color: #F0F0F0;
		border: solid 1px #CCCCCC;
		margin-bottom: 15px;
		padding: 8px 2vw 5px;
		-webkit-box-shadow: 0 0 5px 0 #CCCCCC; /* Safari, Chrome用 */
		-moz-box-shadow: 0 0 5px 0 #CCCCCC; /* Firefox用 */
		box-shadow: 0 0 5px 0 #CCCCCC; /* CSS3 */
		border-radius: 10px;
	}
	#sms #inquiry .box h3 {
		font-size: 4.0vw;
		line-height: 1.4;
		margin-bottom: 3px;
        padding-left: 14vw;
		min-height: 12vw;
		display: flex;
		justify-content: center;
		align-items: center;	
	}
	#sms #inquiry .box:first-child h3,
	#sms #inquiry .box:nth-child(2) h3 {
		min-height: 12vw;
	}
	#sms #inquiry .box p {
		font-size: 3.4vw;
	}
	#sms #inquiry .box p.txt_att {
		font-size: 3vw;
	}
}

