/* CSS Document */
.hero2{
    width: 100%;
    height: 450px;
    background-image: url(../hc_img/topvis01.jpg);
    background-repeat: no-repeat;
    background-position: center -80px;
    position: relative;
}
.titlebox{
    background-color: rgba(255,255,255,0.73);
    position: absolute;
    -webkit-box-shadow: 0px -3px 5px rgba(0,0,0,0.07);
    box-shadow: 0px -3px 5px rgba(0,0,0,0.07);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-bottom: 20px;
    padding-top: 20px;
    bottom: 0%;
    width: 100%;
}
.titlebox h1{
    font-size: 250%;
    text-align: center;
}
#main.page h2{
    padding-top: 30px;
    border-bottom: 4px solid rgba(25,45,122,1.00);
    margin-bottom: 30px;
}
.textbox{
    display: inline-block;
    width: 34%;
    float: left;
}
.contact{
    list-style: none;
    display: inline-block;
    width: 64%;
    float: right;
    vertical-align: top;
    margin: 0px;
    padding: 0px;
}
.contact li{
    width: 49%;
    display: inline-block;
    text-align: center;
    vertical-align: top;
}
.contact li div{
    border: 2px solid rgba(25,45,122,1.00);
    width: 90%;
    display: inline-block;
    text-decoration: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 5em 1em 2em;
    background-position: center 60px;
    border-radius: 6px;
}
.contact li .tel{
    background-image: url(../hc_img/icon_tel.png);
    background-size: 20% auto;
    background-repeat: no-repeat;
}
.contact li .mail{
	background-image: url(../hc_img/icon_mail.png);
	background-size: 20% auto;
	background-repeat: no-repeat;
}
.contact h3{
    text-decoration: none;
    margin-top: 30%;
    font-size: 180%;
    font-weight: lighter;
}
.contact li p.num{
    font-family: lato,'メイリオ',Meiryo,serif;
    font-size: 200%;
    font-weight: bold;
    color: rgba(25,45,122,1.00);
}
.contact li p.formtext{
	font-family: lato,'メイリオ',Meiryo,serif;
	font-size: 150%;
	font-weight: bold;
	color: rgba(25,45,122,1.00);
	padding-bottom: 2%;
	padding-top: 2%;
}
.ct-tx{
	width: 80%;
	max-width: 800px;
}
.ct-tx span{
    color: #890002;
}
@media screen and (max-width: 979px) {
.contact li p.num{
    font-size: 120%;
}
.contact li p.formtext{
	font-size: 100%;
}
}
@media screen and (max-width: 736px) {
.hero2{
    width: 100%;
    height: 250px;
    background-image: url(../hc_img/topvis01.jpg);
    background-repeat: no-repeat;
    background-position: center 0px;
    position: relative;
    background-size: cover;
}
    .titlebox{
    background-color: rgba(255,255,255,0.73);
    position: absolute;
    -webkit-box-shadow: 0px -3px 5px rgba(0,0,0,0.07);
    box-shadow: 0px -3px 5px rgba(0,0,0,0.07);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-bottom: 20px;
    padding-top: 20px;
    bottom: 0%;
    width: 100%;
}
.titlebox h1{
    font-size: 180%;
    text-align: center;
}
.textbox{
    display: inline-block;
    width: 100%;
    float: left;
}
.contact{
    list-style: none;
    display: inline-block;
    width: 100%;
    float: right;
    vertical-align: top;
    padding: 0px;
    margin-top: 30px;
}
.contact li{
    width: 100%;
    display: inline-block;
    text-align: center;
    vertical-align: top;
    margin-bottom: 10px;
}
.contact li div{
    border: 2px solid rgba(25,45,122,1.00);
    width: 90%;
    display: inline-block;
    text-decoration: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 5em 1em 2em;
    background-position: center 60px;
    border-radius: 6px;
}
.contact li .tel{
    background-image: url(../hc_img/icon_tel.png);
    background-size: 20% auto;
    background-repeat: no-repeat;
}
.contact li .mail{
	background-image: url(../hc_img/icon_mail.png);
	background-size: 20% auto;
	background-repeat: no-repeat;
}
.contact h3{
    text-decoration: none;
    margin-top: 30%;
    font-size: 180%;
    font-weight: lighter;
}
.contact li p.num{
    font-family: lato,'メイリオ',Meiryo,serif;
    font-size: 200%;
    font-weight: bold;
    color: rgba(25,45,122,1.00);
}
.contact li p.formtext{
	font-family: lato,'メイリオ',Meiryo,serif;
	font-size: 120%;
	font-weight: bold;
	color: rgba(25,45,122,1.00);
}
}
