/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


@media only screen and (min-width: 35em) {
/* Style adjustments for viewports that meet the condition */
}

@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
/* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
*, *:before, *:after, *:first-letter, *:first-line {
	background: transparent !important;
	color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
	box-shadow: none !important;
	text-shadow: none !important;
}
a, a:visited {
	text-decoration: underline;
}
a[href]:after {
	content: " (" attr(href) ")";
}
abbr[title]:after {
	content: " (" attr(title) ")";
}
/*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

a[href^="#"]:after, a[href^="javascript:"]:after {
	content: "";
}
pre, blockquote {
	border: 1px solid #999;
	page-break-inside: avoid;
}
/*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

thead {
	display: table-header-group;
}
tr, img {
	page-break-inside: avoid;
}
img {
	max-width: 100% !important;
}
p, h2, h3 {
	orphans: 3;
	widows: 3;
}
h2, h3 {
	page-break-after: avoid;
}
}

@media screen and (min-width: 640px){

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
	color: #222;
	font-size: 1em;
	line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
 background: #b3d4fc;
 text-shadow: none;
}
::selection {
	background: #b3d4fc;
	text-shadow: none;
}
/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}
/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio, canvas, iframe, img, svg, video {
	vertical-align: middle;
}
/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}
/*
 * Allow only vertical resizing of textareas.
 */

textarea {
	resize: vertical;
}
/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
	display: none !important;
}
/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}
/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}
/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
	visibility: hidden;
}
/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before, .clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}
.clearfix:after {
	clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */



/* ========================================================================================================

--------------------------------------------FOR PC---------------------------------------------

===========================================================================================================*/


/* ==========================================================================
main setting
========================================================================== */

#hometeach_cont {
	width: 100%;
	background-color: #f1f1f1;
}
#hometeach_cont h2 {
	font-size: 42px;
	text-align: center;
	padding: 70px 0 0;
}
.sect_hometeach_title h4{
	font-size: 24px;
	text-align: center;
	padding: 15px 0 0;
}

.sect_hometeach_title p{
	font-size:20px;
	text-align:center;
	padding:10px 0 55px;
	line-height:1.6em;
	}

.lines,.place_title_sp,.ht_box_l{
	display:none;
	}

.school_box {
	width: 1100px;
	padding: 60px 0;
	background-color: #fff;
	margin-bottom: 30px;
}
.school_box02 {
	width: 1100px;
	padding:45px 0;
	background-color: #fff;
}

.last_box{
	padding-bottom:70px;
	}

.title_p h3 {
	text-align: center;
	font-size: 32px;
}
.title_p h4 {
	text-align: center;
	font-size: 18px;
	color: #E75542;
	font-family: century gothic;
}

.school_cont {
	width: 1000px;
	overfliw:hidden;
}

.ht_pc_title{
	overflow:hidden;
	}

.ht_pc_title li{
	font-size:16px;
	float:left;
	height:40px;
	line-height:40px;
	text-align:center;
	background-color:#e8e8e8;
	color:#8f8f8f;
	}

.ht_pc_t01{
	width:170px;
	margin-right:1px;
	}
	
.ht_pc_t02{
	width:120px;
	margin-right:1px;
	}

.ht_pc_t03{
	width:150px;
	margin-right:1px;
	}

.ht_pc_t04{
	width:240px;
	margin-right:1px;
	}

.ht_pc_t05{
	width:316px;
	}

.ht_box_r{
	overflow:hidden;
	}

.ht_box_r li{
	font-size:16px;
	float:left;
	text-align:center;
	border-bottom:1px solid #dcdcdc;
	}

.ht_pc_i01{
	width:170px;
	padding:15px 1px 15px 0;
	}
.ht_pc_i01_2column{
    line-height: 1;
    padding: 10.5px 0;
	}
.ht_pc_i02{
	width:120px;
	padding:15px 1px 15px 0;
	}

.ht_pc_i03{
	width:150px;
	padding:15px 1px 15px 0;
	}

.ht_pc_i04{
	width:240px;
	padding:15px 1px 15px 0;
	}

.ht_pc_i05{
	width:316px;
	padding:15px 0;
	}



.ht_pc_i01_bold{
	width:170px;
	height:70px;
	line-height:70px;
	padding-right:1px;
	}
	
.ht_pc_i02_bold{
	width:120px;
	height:70px;
	line-height:70px;
	padding-right:1px;
	}

.ht_pc_i03_bold{
	width:150px;
	height:70px;
	line-height:70px;
	padding-right:1px;
	}

.ht_pc_i04_bold{
	width:240px;
	height:70px;
	line-height:70px;
	padding-right:1px;
	}

.span_block{
	display:inline-block;
	}


.ht_pc_i05_bold{
	width:316px;
	height:60px;
	padding-top:10px;
	}

.ht_pc_i01_bold_2{
	width:170px;
	height:60px;
	padding-top:10px;
	padding-right:1px;
	}

.ht_pc_i02_bold_2{
	width:120px;
	height:60px;
	padding-top:10px;
	padding-right:1px;
	}
.ht_pc_i05_bold_2{
	width:316px;
	height:70px;
	line-height:70px;
	}

.school_cont h5 {
	font-size: 20px;
}
.school_cont p {
	font-size: 14px;
}
.school_boxes {
	overflow: hidden;
}

.s_gram_subtitle {
	font-size: 18px;
	text-align: center;
	margin: 30px 0;
}
.school_text01 {
	width: 420px;
	margin: 0;
	float: left;
}
.school_box01 {
}


.hometeach_navi{
	margin: 0 auto 40px;
	width: 660px;
	line-height: 40px;
	overflow: hidden;
	text-align:center;
	padding-left: 180px;
}

.home_n_li {
	font-size: 14px;
	float: left;
	width:148px;
	height:40px;
	margin-right:20px;
	background-color:#fff;
}

.home_n_end {
	font-size: 14px;
	float: left;
	width:148px;
	height:40px;
	background-color:#fff;
}

.hometeach_navi li a {
	padding: 0 30px;
	height:38px;
	display: block;
	border:1px solid #dcdcdc;
	color:#333;
	position:relative;
}

.hometeach_navi li a:after{
	content:url(../img/b_yajirusi.png);
	position:absolute;
	top:0px;
	right:10px;
	width:12px;
	height:5px;
	}

	.span_br_pc{
	display:block;
	}
	
	
}
/* ========================================================================================================

--------------------------------------------FOR SMART PHONE---------------------------------------------

===========================================================================================================*/	

@media screen and (max-width: 640px){
/* ==========================================================================
main setting
========================================================================== */

.ht_pc_title,.ht_box_place{
	display:none;
	}

#hometeach_cont{
	width:100%;
	background-color:#f1f1f1;
	}

.hometeach_wrap{
	width:90.6%;
	height:100%;
	}

#hometeach_cont h2{
	font-size:22.5px;
	font-size:2.25rem;
	text-align:center;
	padding:13.8% 0 4.7%;
	}

.sect_hometeach_title{
	font-size:12px;
	font-size:1.2rem;
	text-align:center;
	padding:0 0 6.9%;
	}

.s_gram_subtitle{
	width:90.6%;
	text-align:center;
	margin-bottom:6.9%;
	}


.s_g_margin{
	padding-top:4.3%;
	}

.u_b_t_margin{
	margin-top:3.44%;
	}

.school_box01{
	margin-bottom:6.9%;
	width:93.1%;
	}

.school_box{
	width:100%;
	padding:10.3% 0 0.8%;
	background-color:#fff;
	margin-bottom:6.9%;
	}

.school_box02{
	width:100%;
	padding:10.3% 0 6.24%;
	background-color:#fff;
	margin-bottom:6.9%;
	}

.school_boxes{
	width:93.1%;
	}

.last_box{
	margin-bottom:25.9%;
	}

.hometeach_navi{
	margin: 0 auto 6.9%;
	width: 100%;
	overflow: hidden;
	text-align:center;
}

.hometeach_navi li {
	font-size:11px;
	font-size:1.1rem;
	float: left;
	width:49.8%;
	background-color:#fff;
}
.hometeach_navi li a {
	padding:3.44% 0;
	display: block;
	border:2px solid #dcdcdc;
	color:#333;
	position:relative;
}

.ht_no_border_bottom a{
	border-bottom:none !important;
	}
.ht_no_border_right a{
	border-right:none !important;
	}
.hometeach_navi li a:after{
	content:"";
		background:url(../img/b_yajirusi.png) no-repeat;
		background-size:cover;
	position:absolute;
		top:50%;
		line-height:0;
		margin-top:-3px;
		right:10px;
		width:2.5px;
		height:6px;
	}




.place_title_sp{
	font-size:14px;
	font-size:1.4rem;
	}

.hometeach_boxes{
	overflow:hidden;
	width:100%;
	}

.ht_box_l{
	float:left;
	width:25.9%;
	}

.ht_box_l li{
	background-color:#E8E8E8;
	padding:6.7% 0;
	margin:6.7% 0;
	text-align:center;
	color:#8f8f8f;
	font-size:10px;
	font-size:1.1rem;
	}

.ht_box_r{
	float:left;
	width:72.1%;
	padding-left:2%;
	}

.ht_box_r li{
	padding:2.1% 0;
	margin:2.1% 0;
	font-size:11px;
	font-size:1.1rem;
	}


}