/*! 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.
 */
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@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;
}
}




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

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

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

@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;
}


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

li.menu__mega ul.menu__second-level {
    position: absolute;
    top: 60px;
    left: -200px;
    box-sizing: border-box;
    width: 1000px;
	height:40px;
    background: #333;
	color:#fff;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

li.menu__mega:hover ul.menu__second-level {
    top: 70px;
    visibility: visible;
    opacity: 1;
}

li.menu__mega ul.menu__second-level > li {
    float: left;
    width: 200px;
    border: none;
}

li.menu__mega ul.menu__second-level > li:firstchild{
    padding-left:200px;
}

li.menu__mega ul.menu__second-level > li:nth-child(3n+2) {
    margin: 0 1%;
}


#jhstu_cont {
	width: 100%;
	background-color: #f1f1f1;
}
#jhstu_cont h2 {
	font-size: 42px;
	text-align: center;
	padding: 70px 0 70px;
}
.eng_t_padd{
	padding-top:13px !important;}
	
.school_boxes {
	overflow: hidden;
	margin-top: 60px;
	width:1000px;
}

.school_boxes_eiken{
	overflow: hidden;
	width:1000px;
	}


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

.school_box_jh_select{
		width: 1100px;
	padding: 60px 0 50px;
	background-color: #fff;
	margin-bottom: 40px;
	}

.school_box_jh_timesche{
		width: 1100px;
	padding: 60px 0 80px;
	background-color: #fff;
	margin-bottom: 40px;
	}

.school_box02 {
	width: 1100px;
	padding: 60px 0;
	background-color: #fff;
}


.jh_title02 {
	padding-top:6px;
	font-size: 21px;
	text-align: center;
	display:block;
}
.school_box01 {
	margin: 20px 0 40px;
}
.school_box01 h5 {
	font-size: 20px;
}


.school_box01 p{
	line-height:2;
	font-size: 14px;
	}



.jhsc_cont {
	width: 1000px;
	margin-top: 60px;
}
.jhsc_boxes {
	overflow: hidden;
	margin-bottom: 20px;
}
.jhsc_box01 {
	float: left;
	width: 320px;
}
.jhsc_box02 {
	float: left;
	width: 320px;
	margin: 0 20px;
}
.jh_select_title {
	width: 320px;
	height: 50px;
	text-align: center;
	line-height: 50px;
	color: #fff;
	background-color: #333;
	font-size: 20px;
}
.jh_select_text {
	width: 320px;
	height: 130px;
	background-color: #f1f1f1;
	font-size: 15px;
}
.jh_select_text p {
	font-size:14px;
	width: 300px;
	height: 85px;
	padding: 10px;
}
.fee_text {
	text-align: center;
	font-size: 18px;
	line-height:2.4;
}
.fee_text a {
	color: #333;
	text-decoration: underline;
}
.sec_title h3{
	line-height:1;
}

.dlList01{
	overflow:hidden;
}

.dlList01 dt{
	float:left;
	width:5em;
}

.dlList01 dd{
	margin-left:6em;
}

.s_timetable_subtitle {
	font-size: 18px;
	text-align: center;
	margin: 0 auto;
}

.school_text01 {
	width: 420px;
	margin: 0;
	float: left;
}

.pschool_table {
	padding-top:4px;
	float: right;
}

.pschool_table table {
	width: 550px;
	border-right: 1px solid #666;
	border-left: 1px solid #666;
}
.pschool_table table td{
		font-family: Century Gothic,"MS PGothic", "Osaka", Arial, sans-serif;
}

.span_in_block{
	font-family: Century Gothic,"MS PGothic", "Osaka", Arial, sans-serif;
	}

.school_box_p_eiken{
		margin: 20px 0 40px;
	line-height:1.8;
	}
	
	.school_box_p_eiken h5{
	font-size:20px;
	}
	
.school_box_p_eiken p{
	font-size:14px;
	}

.ps_cell01 {
	text-align: center;
	height: 40px;
	width: 550px;
	background-color: #666;
	color: #fff;
	font-size: 18px;
	border-top: 1px solid #666;
}
.ps_cell02 {
	text-align: center;
	height: 40px;
	width: 98px;
	background-color: #e8e8e8;
	font-size: 14px;
	font-weight: bold;
	border-right: 1px solid #666;
	border-bottom: 1px solid #666;
}
.ps_cell03 {
	text-align: center;
	height: 40px;
	width: 98px;
	background-color: #fff;
	font-size: 14px;
	border-right: 1px solid #666;
	border-bottom: 1px solid #666;
}
.ps_cell04 {
	text-align: left;
	padding: 0 15px;
	background-color: #fff;
	font-size: 14px;
	border-bottom: 1px solid #666;
}

.ps_t_comment{
	height:29px;
	}
.ps_cell05 {
	color:#666;
	vertical-align:bottom;
	text-align: right;
	font-size: 12px;
	border: 0;
}

}

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

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

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

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



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

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


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

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



.school_box01{
	margin-bottom:10.34%;
	}

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

.jh_title02{
	padding-top:1.7%;
	font-size:11px;
	font-size:1.1rem;
	display:block;
	}

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

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

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

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

.school_boxes{
	width:93.1%;
	}
.inner_t_pad01{
	padding-top:3.44%;
	}

.inner_pad_01{
	padding-bottom:3.7%;
	}


.jhsc_boxes {
	width:93.1%;
}
.jhsc_box01 {
	width: 100%;
	margin-bottom:1.7%;
}
.jhsc_box02 {
	width: 100%;
	margin-bottom:1.7%;
}
.jh_select_title {
	width: 100%;
	height:100%;
	text-align: center;
	line-height:15.6%;
	color: #fff;
	background-color: #333;
	font-size:14px;
	font-size:1.4rem;
	padding:4.82% 0;
}
.jh_select_text {
	width: 100%;
	height:100%;
	background-color: #f1f1f1;
	font-size:11px;
	font-size:1.1rem;
}
.jh_select_text p {
	width: 92.6%;
	padding: 1.2% 0 6.9%;
}

.time_table img{
	width:100%;
	height:100%;
	}

.time_table{
width:93.1%;
	height:93.1%;}

.jh_t_margin{
	line-height:0;
	padding-bottom:3.44%;
	}

.fee_text {
	text-align: center;
	font-size:10px;
	font-size:1.1rem;
	line-height:2.4;
}
.fee_text a {
	color: #333;
	text-decoration: underline;
}



.s_timetable_subtitle{
	width:90.6%;
	text-align:center;
	margin:0 auto 6.9%;
	}

.pschool_table {
	width:100%;
	padding:6% 0 10.34%;
	float: right;
}

.pschool_table table {
	width:100%;
	border-left: 1px solid #666;
	border-right: 1px solid #666;
}
.pschool_table table td{
		font-family: Century Gothic,"MS PGothic", "Osaka", Arial, sans-serif;
}

.span_in_block{
	font-family: Century Gothic,"MS PGothic", "Osaka", Arial, sans-serif;
	}

.ps_cell01 {
	text-align: center;
	width:100%;
	height: 100%;
	padding:1.7% 0;
	background-color: #666;
	color: #fff;
	font-size:11px;
	font-size:1.1rem;
	border-top: 1px solid #666;
}
.ps_cell02 {
	text-align: center;
	height: 100%;
	padding:2.6% 0;
	width: 18.7%;
	background-color: #e8e8e8;
	font-size:10px;
	font-size:1.1rem;
	font-weight: bold;
	border-right: 1px solid #666;
	border-bottom: 1px solid #666;
}
.ps_cell03 {
	text-align: center;
	height: 100%;
	padding:2.6% 0;
	width: 18.7%;
	background-color: #fff;
	font-size:10px;
	font-size:1.1rem;
	border-right: 1px solid #666;
	border-bottom: 1px solid #666;
}
.ps_cell04 {
	text-align: left;
	padding: 2.6% 0 2.6% 1.7%;
	background-color: #fff;
	font-size:10px;
	font-size:1.1rem;
	height: 100%;
	width:62.3%;
	border-bottom: 1px solid #666;
}

.ps_t_comment{
	width:100%;
	}

.ps_cell05 {
	color:#666;
	vertical-align:bottom;
	text-align: right;
	border: 0;
	font-size:10px;
	font-size:1.1rem;
	padding:1.7% 0 0;
}

}