/* CSS Document */

@media screen and (min-width: 481px){
.mainmessage{
	width:1024px;
	height:325px;
	background-color:#0040FF;
	color:#FFF;
	background-image:url(../img/forcompany/mainimg.jpg);
	background-position: top right;
	background-size: auto 100%;
	background-repeat: no-repeat;
}
.mainmessage h2{
	width:465px;
	text-align: center;
	font-size:3.1rem;
	padding-top:30px;
	margin-top:0;
	margin-bottom:0;
}
.mainmessage p{
	margin-top:10px;
	font-size:1.8rem;
	line-height:1.5em;
	width:465px;
	box-sizing: border-box;
	padding:1em;
}
.imgphoto{
	float:right;
	width:370px;
}
.imgphoto img{
	width:100%;
	height:auto;
}
.infotext{
	width:600px;
	float:left;
	line-height:1.5em;
}
h2{
	margin-top:80px;
	font-size:2.8rem;
	margin-bottom:30px;
}
.suggestion{
	clear:both;
	padding-top:40px;
	text-align: center;
}
.suggestion p{
	display:inline-block;
	border-radius: 8px;
	background-color:#FFBF00;
	font-size:2.4rem;
	line-height:1em;
	padding:1em;
	font-weight: bold;
}
.contactblock{
	clear:both;
	background-color:#FFF;
	border-radius:8px;
	border:1px solid #CCC;
	box-shadow: 2px 2px 2px 0 rgba(0,0,0,0.3) inset;
	padding:8px;
	margin-top:50px;
}
.contactblock h2{
	margin:0;
	padding:5px;
	text-align:center;
	font-size:3.4rem;
	line-height:1em;
	background-color:#FFC926;
	border-radius: 8px;
}
.contactblock ul{
	display:flex;
	margin-top:14px;
	justify-content: space-around;
}
.contactblock .tel a{
	color:#712F7B;
	font-family: Impact;
	font-size: 56px;
	line-height:56px;
}
.contactblock .tel a::before{
	content:"";
	display:inline-block;
	width:56px;
	height:56px;
	background-image:url(../img/common/telephone.svg);
	background-size:contain;
	background-position: center center;
	background-repeat: no-repeat;
	margin-right:5px;
	vertical-align: top;
}
.contactblock .email a{
	color:#0000B2;
	font-family: Impact;
	font-size: 42px;
	line-height:42px;
}
.contactblock .email a::before{
	content:"";
	display:inline-block;
	width:57px;
	height:57px;
	background-image:url(../img/common/email.png);
	background-size:contain;
	background-position: center center;
	background-repeat: no-repeat;
	margin-right:5px;
	vertical-align: middle;
}
}
@media screen and (max-width: 480px){
.mainmessage{
	width:100%;
	background-color:#0040FF;
	color:#FFF;
}
.mainmessage h2{
	width:100%;
	text-align: center;
	font-size:2.2rem;
	padding:20px 5px 0 5px;
	margin:0;
}
.mainmessage p{
	font-size:1.4rem;
	line-height:1.5em;
	box-sizing: border-box;
	padding:1em;
}
.imgphoto{
	width:100%;
}
.imgphoto img{
	width:100%;
	height:auto;
}
.infotext{
	width:100%;
	box-sizing:border-box;
	padding:5px;
}
	.firstmessage p{
		padding:5px;
	}
h2{
	font-size:3.1rem;
	font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
	font-weight:bold;
	text-align: center;
	margin-top:30px;
	margin-bottom:20px;
}
.suggestion{
	clear:both;
	padding-top:40px;
	text-align: center;
}
.suggestion p{
	display:inline-block;
	border-radius: 8px;
	background-color:#FFBF00;
	font-size:2.4rem;
	line-height:1em;
	padding:1em;
	font-weight: bold;
}
.contactblock{
	clear:both;
	background-color:#FFF;
	border-radius:8px;
	border:1px solid #CCC;
	box-shadow: 2px 2px 2px 0 rgba(0,0,0,0.3) inset;
	padding:8px;
	margin:50px 5px 0 5px;
}
.contactblock h2{
	margin:0;
	padding:5px;
	text-align:center;
	font-size:2.4rem;
	line-height:1em;
	background-color:#FFC926;
	border-radius: 8px;
}
.contactblock ul{
	display:block;
	margin-top:14px;
}
.contactblock ul li{
	display: block;
	text-align: center;
	}
.contactblock .tel a{
	color:#712F7B;
	font-family: Impact;
	font-size: 38px;
	line-height:38px;
}
.contactblock .tel a::before{
	content:"";
	display:inline-block;
	width:38px;
	height:38px;
	background-image:url(../img/common/telephone.svg);
	background-size:contain;
	background-position: center center;
	background-repeat: no-repeat;
	margin-right:5px;
	vertical-align: top;
}
.contactblock .email a{
	color:#0000B2;
	font-family: Impact;
	font-size: 28px;
	line-height:28px;
}
.contactblock .email a::before{
	content:"";
	display:inline-block;
	width:28px;
	height:28px;
	background-image:url(../img/common/email.png);
	background-size:contain;
	background-position: center center;
	background-repeat: no-repeat;
	margin-right:5px;
	vertical-align: middle;
}
	img{
		max-width:100%;
	}
}