@charset "UTF-8";

/*---------------------------
　　リセットCSS
---------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }

body { line-height: 1; }

ol, ul { list-style: none; }

blockquote, q { quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
	container: '';
	container: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}


/*---------------------------
　　全ページ共通
---------------------------*/
*, *:before, *:after { box-sizing: border-box; }

html {
	font-size: 62.5%;
	-webkit-text-size-adjust: 100%;
}

body {
	font-size: 1.6rem;
	font-family:"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Helvetica Neue", Arial, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", sans-serif;
	line-height: 1.7;
	color: #000;
}

/* IE11 */
_:lang(x)::-ms-backdrop, body {
	font-size: 1.55rem;
	font-family: "メイリオ", Meiryo, sans-serif;
}

a {
	color: #000;
	text-decoration: none;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
  cursor:pointer;
}

a:hover {
	opacity: 0.7;
	text-decoration: none;
}

*:focus { outline: none; }

h1 { font-size: 4rem; }
h2 { font-size: 2.6rem; }
h3,h4 { font-size: 2.2rem; }
h5 { font-size: 2rem; }

h2, h3, h4, h5 { line-height: 1.4; }
h2, h3, h4, h5 { font-weight: bold; }

h2 span { padding-left: 0.5em; }
h3 span { padding-left: 0.5em; }

h1, h2, h3, h4, h5,
p, li, dt, dd {
	font-feature-settings: "palt";
	text-align: justify;
	word-wrap: break-word;
}
p {font-size: 1.6rem; line-height: 2;}
th, td {
	font-feature-settings: "palt";
	word-wrap: break-word;
	vertical-align: middle;
}

img,
a img {
	margin: 0;
	padding: 0;
	vertical-align: bottom;
}

/*#content img { width: calc(750px / 2); }
#content .map_area img { width: calc(600px / 2); }
#content .announce_bnr img { width: 49%; }
#content .school_img img,
#content .tmb_fll { width: 100%; }*/

a img:hover {
	opacity: 0.7;
	transition: 0.5s;
}


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

/* 配置パターン
----------------*/
.flexbox {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex:0 1 auto;
}

.row {
	display: -webkit-box;
	display: -ms-flexbox;
	/*display: flex;*/
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

.wrapper {
	width: 1080px;
	max-width: 1080px;
	margin: 90px auto 90px;
}

#content p { flex: 1; }

/* IE10 & IE11 */
_:-ms-input-placeholder, :root #content p {
  /*flex: 1 0 auto;*/
  flex: 0 1 auto;
}

/*---------------------------
　　Media Queries設定
---------------------------*/

/*---------------------------------------------*/
@media screen and (max-width: 768px) {
/*---------------------------------------------*/

/* 配置パターン
----------------*/
.flexbox { display: block; }

/*テキスト
----------------*/
html { font-size: calc((100vw - 768px) / 158 + 12px); }

h1 { font-size: calc((100vw - 768px) / 79 + 32px); }
h2 { font-size: calc((100vw - 768px) / 158 + 24px); }
h3,h4 { font-size: calc((100vw - 768px) / 316 + 22px); }
h5 { font-size: calc((100vw - 768px) / 316 + 20px); }

img,
a img {
	width: 100%;
	height: auto;
}

/*#content img { width: calc(100%); }
#content .announce_bnr img { width: 100%; }
#content .map_area img { width: calc(100%); }*/

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

.wrapper { width: 90%; margin: 4em auto 4em;}

}/* 768 */
