@charset "utf-8";

/* PC：style_pc.css
 * **************************************************
 * Common
 * Space(Margin)
 * Header (Logo / Jobs / )
 * Global Navigation (Nav)
 * Content (Main)
 * Common Elements
 * Footer(Inquiry / Copyright)
 * Page Top
 * Print (非表示)
 * **************************************************
 * Media Queries min-width: 1400・1380・1200・1000px
 * **************************************************
 */

/*  Common
------------------------------------------------------------------- */
/* padding、borderの値を含めない */
* {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

/* Background */
/* 背景画像（上下） */
.container .topBottomBg {
	display: inline-block;
	width: 100%;
	margin: -45px 0 -35px 0;
	padding: 80px 0 120px 0;
	background: url(../images/common/bg/bg-content-top-cn-sp.png) no-repeat center top,url(../images/common/bg/bg-content-btm-cn-sp.png) no-repeat center bottom;
}

/* 背景画像（左右） */
.container .sideGg {
	display: block;
	margin: 20px 0 30px 0;
	padding: 0 10px;
	background: url(../images/common/bg/bg-content-in-sp.png) repeat-y center top;
}
/* コーナー */
.container .topCorners:before {
	content: url(../images/common/bg/bg-content-lt-top-sp.png);
	position:absolute; top:-45px; left:-50px;
}
.container .topCorners:after {
	content: url(../images/common/bg/bg-content-rt-top-sp.png);
	position:absolute; top:-45px; right:-50px;
}
.container .bottomCorners:before {
	content: url(../images/common/bg/bg-content-lt-btm-sp.png);
	position:absolute; bottom:-12px; left:-50px;
}
.container .bottomCorners:after {
	content: url(../images/common/bg/bg-content-rt-btm-sp.png);
	position:absolute; bottom:-12px; right:-50px;
}

/* Compass */
# home .container .compass:before {
	content: url(../images/common/bg-compass-sp.png);
	position:absolute; bottom:20px; left:-120px;
}

/* 改行 */
br.br-pc {
	display: none;
}
br.br-sp {
	display: block;
}

/*  Space
------------------------------------------------------------------- */
#content section > section + section {
	margin-top: 50px;
}
#subPage #content p + p {
	margin-top: 1.0em;
}


/*  Header
------------------------------------------------------------------- */
#header {
	text-align:center;
}
/* Logo */
#header .logo {
	display: inline-block;
	z-index: 999;
	position:relative; top:8px;
}
#header .logo span {
	display: block;
	margin-top: -5px;
	margin-bottom: 2px;
	font-size: 0.9em; /* =9px */
}
#header .logo img {
	height: 35px;
	width: auto;
}

#header .logo .member {
	float: right;
	position:relative; top:5px; left:0;
	padding: 5px 8px;
	font-size: 1.1em; /* =11px */
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-weight: bold;
	text-decoration: none;
	color: #001138;
}

/* 2020-04-27：「ログイン」追加 */
#header .login {
	display: none;
	z-index: 99999;
	position: absolute; top:0; right:-8px;
}
#header .login a {
	text-decoration: none;
}
#header .login a img {
	margin: 8px 0 0 0;
	padding: 0;
	height: auto;
	width: 60%;
}
#header .login a span {
	margin: -3px 0 0 0;
	padding: 0;
	display: block;
	color: #000;
}


/* Global Navigation
------------------------------------------------------------------ */
#globalNav {
}
#globalNav nav {
	margin-top: 70px;
	padding: 20px 0;
}
#globalNav .ttl {
	position:relative; left:-40px;
	margin: 0 0 10px 0;
	padding: 0 10px;
	height: 55px;
	width: 340px;
	background: url(../images/common/bg-menu-s.png) no-repeat center center;
}
#globalNav .ttl img {
	position:relative; top:13px;
}
#globalNav .ttl + ul {
	margin-bottom: 25px;
}
#globalNav nav ul {
	list-style: none;
	position:relative; left:15px;
}
#globalNav nav li {
	padding: 0 0 0 18px;
	background: url(../images/common/arrow-g.png) no-repeat left 1px;
	font-size: 1.4em; /* =14px */
	text-align:left;
	background-size: 16px 18px;
}
#globalNav nav li + li {
	margin-top: 1.0em;
}
#globalNav nav li ul {
	position:relative; left:5px;
	margin: 10px 0 15px 0;
}
#globalNav nav li li {
	padding: 0;
	background: none;
	width: 80%;
	border:1px dotted #ba9f6a;
	font-size: 100%; /* =14px */
}
#globalNav nav li li a {
	display: block;
	padding: 4px 10px;
}
#globalNav nav li li + li {
	margin-top: 8px;
}
#globalNav nav li a {
	color:#000000;
	text-decoration: none;
}
#globalNav nav li span {
	cursor: pointer;
}
#globalNav .drawer-menu:after{
	content:"\A\A\A\A\A\A\A\A";
	white-space: pre ;
}

/* New! */
#globalNav .new {
	display: inline-block;
	margin-left: 8px;
	font-size: 85%; /* =12px */
	color:#ED6E1D;
	font-weight: bold;
}


/* Content
------------------------------------------------------------------ */
#content {
	z-index: 1;
	margin: 35px 0 35px 0;
	padding: 0 10px;
}
#content:after,
#content section:after {
	content:".";
	display: block;
	height: 0px;
	clear: both;
	visibility: hidden;
}
/* トップページ */
#home #content {
	position:relative;
}
/* 下層ページ */
#subPage #content {
	position:relative;
}

/* Common Elements
------------------------------------------------------------------ */
/*  Headline */
#subPage #content h1 {
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: 2.8em; /* =28px */
	font-weight: bold;
	color:#001138;
	line-height: 1.4;
}
/*  飾り（1） */
#subPage #content h1.ttl {
	width: 90%;
	margin: 15px auto 25px auto;
	border-right:2px solid #001138;
	border-left:2px solid #001138;
}
/* 2行 */
#subPage #content h1.ttl.wd {
	line-height: 1.4;
}	
/*  飾り（2） */
#subPage #content h1.calgy {
	display: inline-block;
	position:relative;
	margin: 15px auto 25px auto;
	padding: 0 0 0 0.2em;
	line-height: 110%;
}
/*  飾り（3） */
#subPage #content h1.double {
	width: 90%;
	margin: 15px auto 25px auto;
	border-right:6px double #001138;
	border-left:6px double #001138;
}
#subPage #content h1.calgy:before {
	content: "";
	display: inline-block;
	width: 50px;
    height: 20px;
	background: url("../images/common/deco-h1-lt.png") no-repeat;
	position:absolute; top:5px; left:0px;
    background-size: contain;
    vertical-align: middle;
}
#subPage #content h1.calgy:after {
	content: "";
	display: inline-block;
	width: 50px;
    height: 20px;
	background: url("../images/common/deco-h1-rt.png") no-repeat;
	position:absolute; top:5px; right:0px;
	background-size: contain;
    vertical-align: middle;
}
#subPage #content h1.calgy span {
	display: block;
	padding: 0 55px;
}
/* 関西医科大学 学校推薦型選抜試験・特色選抜試験 対策講座 */
#subPage #content h1.calgy.kmu span {
	display: block;
	padding: 0 30px;
}
/* 10文字以上 */
#subPage #content h1.calgy.wd {
	letter-spacing: 0;
}
/* 数学オリンピック対策講座 */
#subPage #content h1.calgy.jmo-ttl span {
	padding: 0 45px;
}
#subPage #content h1.calgy.jmo-ttl-a span {
	padding: 0 45px;
}
#subPage #content h1.calgy.jmo-ttl-b span {
	padding: 0 45px;
}

#subPage #content h2 {
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-weight: bold;
	font-size: 2.4em; /* =24px */
	color:#001138;
	text-align:left;
}
#subPage #content h2 span {
}

/* 共通 */
#subPage #content h2.cmn {
	margin: 0 0 15px 0;
	text-align:left;
	line-height: 130%;
}

/* 受賞報告（prizes） */
#subPage #content h2.cmn.contest {
	text-align:center;
}
#subPage #content h2.cmn.contest > span span {
	display: block;
	font-size: 83%; /* =20px */
}

#subPage #content h3 {
	margin: 30px 0 0 0;
	font-size: 2.0em; /* =20px */
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-weight: bold;
	color:#001138;
	text-align:left;
}

#subPage .cateImg img {
	padding: 8px 1px;
	width:100%;
	max-width: 100%;
	height: auto;
	opacity: 0.8;
	filter: alpha(opacity=80);
	-ms-filter: "alpha(opacity=80)";
	background: url(../images/common/frame-p-top-lt.png) left top no-repeat,url(../images/common/frame-p-bottom-rt.png) right bottom no-repeat;
}

#subPage #content p {
	font-size: 1.4em; /* =14px */
	line-height: 1.8;
	text-align: left;
}

/*  Course List（黒丸） */
#subPage #content ul.discList {
	margin-left: 0.5em;
	list-style-type: none;
}
#subPage #content ul.discList li {
	padding: 0 0 0 18px;
	background: url(../images/common/list_style_disc.png) no-repeat 0 3px;
	font-size: 1.4em; /* =14px */
	text-align:left;
}
#subPage #content ul.discList.rst li {
	font-size: 100%;
}

 /* Notes（注釈） */
#subPage #content .notes {
	margin-left: 1em;
	text-indent: -1em;
}
#subPage #content .notes li {
	font-size: 1.2em; /* =12px */
	text-align:left;
}

/*  Last Updated */
#subPage #content .lastUpdated {
	margin: 3.0em 0 0 0;
	font-size: 1.2em; /* =12px */
	text-align: right;
	color:#2f2f2f;
}

/* Footer
------------------------------------------------------------------ */
#footer {
	clear: both;
}
#footer:after {
	content:".";
	display: block;
	height: 0px;
	clear: both;
	visibility: hidden;
}


/* 2018-10-02：「links」削除 */
#footer .links {
	margin: 10px auto 0 auto;
	border-top:1px solid #dedede;
}
#footer .links li:first-child {
	margin: 0;
	padding: 0;
}
#footer .links li {
	border-bottom:1px solid #dedede;
	font-size: 1.3em; /* =13px */
}
#footer .links li a {
	display: block;
	padding: 10px 0;
	color:#000000;
	text-decoration: none; 
}
/* 2018-10-02：「links」削除 */


/* Address */
#footer .adr {
	clear: both;
	padding: 10px 0 0 0;
	font-size: 1.2em; /* =10px */
	text-align: center;
}

/* CopyRight */
#footer .copyRight {
	clear: both;
	padding: 10px 0 15px 0;
	font-size: 1.0em; /* =10px */
	text-align: center;
}
/* MENUボタン */
#footer button {
	z-index:1;
	display: block;
	margin: 10px 4% 25px 4%;
	padding: 8px 0;
	width: 92%;
	position:relative; top:0px; left:0px;
	background-color: #020a4f;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	font-size: 1.4em; /* =14px */
	font-weight: bold;
	color:#ffffff;
}

/* PageTop
------------------------------------------------------------------ */
#pageTop {
	display: none;
	position:relative;
	margin:0 auto;
}
#pageTop a {
	z-index:100;
	display: block;
	overflow:hidden;
	position: fixed;
	bottom: 0px;
	right: 15px;
	height:75px;
	width: 90px;
	text-indent:-9999px;
	background: url(../images/common/page-top.png) no-repeat center top;
	background-size:contain;
}

/* Inquiry
------------------------------------------------------------------ */
.bottomCorners .inquiry {
	z-index:10;
	position:relative;
	margin: 20px 10px 0 10px;
	background-color: rgba(255,255,255,0.1);  
	border-top:1px dotted #001138;
}
.bottomCorners .inquiry li {
}
.bottomCorners .inquiry li:first-child {
	margin: 0 20px;
	padding: 25px 15px 0 15px;
}
.bottomCorners .inquiry li:first-child + * {
	padding: 0 15px 0 15px;
}
.bottomCorners .inquiry li + li {
	margin: 25px 0 0 0;
}
@media screen and (orientation: portrait) {
   /* 縦 */
	.bottomCorners .inquiry li img {
		width:100%;
		max-width: 100%;
		height: auto;
	}
	.bottomCorners .inquiry li:first-child + * img {
		width:98%;
		max-width: 98%;
		height: auto;
	}
}
@media screen and (orientation: landscape) {
   /* 横 */
	.bottomCorners .inquiry li img {
		display: block;
		margin: 0 auto;
		width:258px;
		height: 35px;
	}
	.bottomCorners .inquiry li:first-child + * img {
		margin: 0 auto 10px auto;
		width:320px;
		height: 120px;
	}
}


/* Print
------------------------------------------------------------------ */
@media print{
    body {
       /* 	background-color: transparent; */
    }
    body,
    .container .topBottomBg,
    .container .sideGg {
		background-image:none;
    }
	.inquiry li:last-child,
    #globalNav,
    #pageTop,
    #pageTop a,
    #footer {
        display: none;
    }
	#home #content,
	#subPage #content {
		position:relative; top:100px; right:0;
		margin:0 10px;
		width: auto;
	}
}
