@charset "utf-8";
/* CSS Document */

/* SampleSite
-----------------------------------------------------*/


/* ==============================================
    title
============================================== */
#title {
	margin-bottom: 20px;
}
#main{
	margin-bottom: 45px;
}
#main h1{
	margin-top: 75px;
	margin-bottom: 12px;
	position: relative;
}
#main #main_image{
	display: block;
	text-align: right;
	margin-top: -135px;
	margin-bottom: 0px;
}
#main p{
	color: #003a81;
}

h2{
	font-size: 30px;
	font-weight: normal;
	color: #0048a1;
	border-bottom: 1px solid #004caa;
	line-height: 1em;
	padding-bottom: 10px;
	margin-bottom: 20px;
}
h2 img{
	margin-right: 8px;
	margin-bottom: -4px;
}

#content_phone{
	margin-bottom: 65px;
}
#content_phone p{
	margin-bottom: 10px;
}
#content_phone table{
	border-collapse: collapse;
	color: #444;

}
#content_phone table tr th{
	background-color: #e9e9e9;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	width: 114px;
    white-space: nowrap;
}
#content_phone table tr td{
	font-size: 14px;
	text-align: left;
}
#content_phone table tr th,
#content_phone table tr td{
	border: 1px solid #cfcfcf;
}
#content_phone table tr td.week{
	padding: 9px 17px;
}
#content_phone table tr td.time{
	padding: 9px 25px;
}
#content_phone table tr td.time2{
	padding: 9px 16px;
}

#content_mail form table{
	color: #444;
	font-size: 14px;
	border-collapse: collapse;
	margin-bottom: 20px;
}
#content_mail form table tr th{
	background-color: #e9e9e9;
	padding: 14px 8px;
	width: 249px;
	box-sizing: border-box;
	text-align: left;
}
#content_mail table tr th small{
	font-size: 12px;
	display: block;
	margin-top: 27px;
}
#content_mail form table tr td{
	padding: 12px 8px;
	box-sizing: border-box;
	width: 711px;
}
#content_mail table tr th,
#content_mail table tr td{
	border: 1px solid #cfcfcf;
}
#content_mail table tr td input[type=text]{
	padding: 2px 4px;
	box-sizing: border-box;
}
#content_mail table tr td input#surname,
#content_mail table tr td input#name,
#content_mail table tr td input#surkana,
#content_mail table tr td input#kana{
	width: 138px;
	margin-left: 8px;
	margin-right: 8px;
}
#content_mail table tr td input#age{
	width:85px;
	margin-right: 8px;
}
#content_mail table tr td input#woman{
	margin-right: 8px;
}
#content_mail table tr td input#man{
	margin-left: 18px;
	margin-right: 8px;
}
#content_mail table tr td input[type=radio]{
	margin-right: 5px;
}
#content_mail table tr td select{
	padding: 2px 4px;
	box-sizing: border-box;
	margin-left: 8px;
	margin-right: 2px;
}
#content_mail form table tr td textarea{
	width: 370px;
}
#content_mail table tr td input#email1,
#content_mail table tr td input#email2{
	width: 310px;
}
#content_mail table tr td input#teltime {
	width: 370px;
    margin-bottom: 3px;
}

#content_mail table tr th .requisite{
	color: #d00748;
}
#content_mail table tr td .err{
	color: #ff0000;
}
#content_mail form .button{
	margin-bottom: 65px;
	text-align: center;
}
#content_mail form .button input[type="submit"],
#content_mail form .button input[type="button"]{
	padding: 8px 25px;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	background: #004caa;
	border: none;
}
#content_mail form .button input[type="submit"]:hover,
#content_mail form .button input[type="button"]:hover{
	opacity: 0.7;
	cursor: pointer;
}
#content_mail form .button input[type="button"]{
	margin-right: 10px;
}

#thanks{
	margin-bottom: 150px;
}


@media screen and (max-width: 750px) {
/****************************************************
    750px未満に適用
****************************************************/
#container .contents_frame{
	width: 100%;
}
#container .contents_block {
  max-width: 750px;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}
#main{
	margin-bottom: 30px;
}
#main h1{
	max-width: 339px;
	width: 75%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	margin-bottom: 20px;
}
#main h1 img{
	width: 100%;
}
#main #main_image{
	text-align: center;
	margin-top: 0;
	margin-bottom: 20px;
	max-width: 351px;
	width: 75%;
	margin-left: auto;
	margin-right: auto;
}
#main #main_image img{
	width: 100%;
}

h2{
	line-height: 1.2em;
}
#content_phone{
	width: 95%;
	margin-left: auto;
	margin-right: auto;
}
#content_phone p{
	display: block;
	max-width: 375px;
	width: 100%;
}
#content_phone p img{
	width: 100%;
}
#content_phone table tr th {
    width: auto;
    padding: 9px 10px;
    white-space: nowrap;
}
#content_phone table tr td.week,
#content_phone table tr td.time {
    padding: 9px 10px;
}

#content_mail{
	width: 95%;
	margin-left: auto;
	margin-right: auto;
}
#content_mail form table{
	border-bottom: 1px solid #cfcfcf;
	width: 100%;
}
#content_mail form table tr th,
#content_mail form table tr td{
	display: block;
	width: 100%;
	border-bottom: none;
}
#content_mail table tr td input#surname,
#content_mail table tr td input#surkana{
	margin-bottom: 7px;
}
#content_mail table tr td select#naked_left,
#content_mail table tr td select#correct_left{
	margin-bottom: 7px;
}
#content_mail table tr th small{
	margin-top: 10px;
}
#content_mail form table tr td textarea{
	width: 100%;
}
#content_mail table tr td input#email1,
#content_mail table tr td input#email2{
	display: block;
	max-width: 310px;
	width: 100%;
}
#content_mail table tr td input#teltime {
    width: 290px;
}
#content_mail table tr td input#teltime::placeholder {
    font-size: 0.875em;
}

#content_mail form{
	margin-bottom: 100px;
}
#content_mail form .button{
	margin-bottom: 0;
}



/***************************************************/
}
