@charset "utf-8";

/*! normalize.css v3.0.0 | MIT License | git.io/normalize */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined in IE 8/9.
 */

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

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9.
 * Hide the `template` element in IE, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari 5 and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9.
 */

img {
  border: 0;
}

/**
 * Correct overflow displayed oddly in IE 9.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari 5.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8+, and Opera
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

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

h1,h2,h3,h4,h5.h6 {
margin:0;
padding:0;
}

p {
margin:0 0 1em 0;
}

td,
th {
margin:0;
padding:0;
}

dl,dd,dt {
margin:0;
padding:0;
}

ul,li {
list-style-type:none;
margin:0;
padding:0;
}

a {
color:#4f2e21;
}

a:hover {
color:#666;
text-decoration:none;
}

a:hover img {
  opacity: 0.5;
  filter: alpha(opacity=50);
  -ms-filter: "alpha(opacity=50)";
}

.clear {clear:both;}

.clearfix:after {
content:".";
display:block;
height:0;
clear: both;
visibility:hidden;
}

.clearfix {display:inline-block;}

/* Hides from IE-mac ￥*/
* html .clearfix {height:1%; }
.clearfix {display:block;}
/* End hide from IE-mac */


* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}


/* ここから共通の設定
   ========================================================================== */

html {
height: 100%;
}

body {
font-family: "新ゴ R" , "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
color: #5d3826;
font-size:16px;
line-height:2.0;
letter-spacing:-0.001em;
-webkit-text-size-adjust: 100%;
text-align:center;
height: 100%;
background-image:url(../images/bg.png);
}

.font {
font-family: "リュウミン B-KL" , "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;}

img {
max-width:100%;
height:auto;
}

.ie8 img {
width:auto;
}

#bg {
width:100%;
position: relative;
overflow:hidden;
}

#wrapper {
position: relative;
}


/* ヘッダー
------------------------------------------------------------- */

#header {
}

.headerbox {
width:1180px;
margin: 1em auto 1.6em auto;
padding: 0;
}

.headerbox_l {
width:50%;
float:left;
text-align: left;
}

.headerbox_l h1 {
font-size:12px;
}

.headerbox_l h1 img {
vertical-align:bottom;
}

.headerbox_r {
width: 500px;
float: right;
overflow:hidden;
}

#h_search {
float:left;
width: 240px;
padding: 1.2em 0 0 0;
}

#h_search div.cse .gsc-search-button-v2, .gsc-search-button-v2 {
padding: 6px 12px!important;
}

@media screen and (max-width: 768px) {
	body {
	font-size: 15px;
	}
	.headerbox {
	width: 96% ;
	margin: 0 auto;
	padding: 0.6em 0;
	}
	.headerbox_l {
	width: 100%;
	}
	.headerbox_r {
	display:none;
	}
}


.headerbox_r ul {
width: 260px;
float: right;
padding:  0.8em;
}

.headerbox_r li {
display: inline-block;
font-size: 15px;
font-weight: 700;
}

.headerbox_r ul li a {
display:block;
width: 246px;
height: 44px;
padding: 0.6em 1em 0.5em 1em;
background-color: #4f2e21;
border: 4px solid #FFF;
border-radius: 23px;
box-shadow: 1px 2px 2px #CCC;
transition: 0.8s;
}

.headerbox_r ul li a:hover {
background-color: #EEA901;
}



/* ここからメニュー
-----------------------------------------------*/
.menu {
}

.menubox {
width: 1180px;
margin:0 auto 1em auto;
position:relative;
z-index:500;
}


.menubox ul {
padding:0;
font-size:0;
}

.hnav {
width:1180px;
margin: 0 auto;
padding: 0;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}

.hnav li {
list-style: none;
}

.menubox ul li.li_home {
width: 18%;
float: left;
font-size: 16px;
border-left:1px dashed #808080;
background-image: url(../images/icon_home.svg);
background-position: center top;
background-repeat: no-repeat;
background-size: 50px;
}

.menubox ul li.li_kenkyusho {
width: 22%;
float: left;
font-size: 16px;
border-left:1px dashed #808080;
background-image: url(../images/icon_kenkyusho.svg);
background-position: center top;
background-repeat: no-repeat;
background-size: 50px;
}

.menubox ul li.li_school {
width: 20%;
float: left;
font-size: 16px;
border-left:1px dashed #808080;
background-image: url(../images/icon_school.svg);
background-position: center top;
background-repeat: no-repeat;
background-size: 50px;
}

.menubox ul li.li_book {
width: 20%;
float: left;
font-size: 16px;
border-left:1px dashed #808080;
background-image: url(../images/icon_book.svg);
background-position: center top;
background-repeat: no-repeat;
background-size: 50px;
}

.menubox ul li.li_kamishibai {
width: 20%;
float: left;
font-size: 16px;
border-left:1px dashed #808080;
border-right:1px dashed #808080;
background-image: url(../images/icon_kamishibai.svg);
background-position: center top;
background-repeat: no-repeat;
background-size: 50px;
}


.hnav li a {
display: block;
/*width:196.6px;
height:70px;
text-align: center;*/
color:#4f2e21;
font-weight:bold;
padding: 56px 0 0.3em 0 ;
text-decoration: none;
transition: 0.4s;
box-sizing: border-box;
}

.hnav > li:hover > a {/*layer-1*/
color : #f8c758;
}

.menubox ul li.li_kenkyusho:hover > a {color : #9966cc;}
.menubox ul li.li_school:hover > a {color : #378669;}
.menubox ul li.li_book:hover > a {color : #3270d6;}
.menubox ul li.li_kamishibai:hover > a {color : #ff7ba1;}

/* プルダウン部分 */

.hnav li ul {
width:236px;
display: none;
position: absolute;
border:2px solid #FFF;
}

.hnav li ul.ullong {
width:260px;
}

.hnav li ul li a {
font-size: 15px;
color: #4f2e21;
background-color:#FFF;
text-align:left;
height: auto;
transition: 0.4s;
padding: 12px 1em 10px 1em;
border-bottom:2px solid #4f2e21;
}


.hnav li ul li:first-child a {
border-top:2px solid #ff7ba1;
border-top:none;
}

.hnav li.li_kenkyusho ul li a {
color: #9966cc;
border:2px solid #9966cc;
border-top:none;
}

.hnav li.li_school ul li a {
color: #378669;
border:2px solid #378669;
border-top:none;
}

.hnav li.li_book ul li a {
color: #3270d6;
border:2px solid #3270d6;
border-top:none;
}

.hnav li.li_kamishibai ul li a {
color: #ff7ba1;
border:2px solid #ff7ba1;
border-top:none;
}


.hnav li.li_kenkyusho ul li:first-child a {
border-top:2px solid #9966cc;
}

.hnav li.li_school ul li:first-child a {
border-top:2px solid #378669;
}

.hnav li.li_book ul li:first-child a {
border-top:2px solid #3270d6;
}

.hnav li.li_kamishibai ul li:first-child a {
border-top:2px solid #ff7ba1;
}


.hnav > li li:hover > a {/*layer-2*/
background-color:#BDBDBD;
text-align:left;
}

.hnav li ul li a:hover {
background-color:#F9B600;
}

.hnav li.li_kenkyusho ul li a:hover {
color: #FFF;
background-color:#9966cc;
}

.hnav li.li_school ul li a:hover {
color: #FFF;
background-color:#378669;
}

.hnav li.li_book ul li a:hover {
color: #FFF;
background-color:#3270d6;
}

.hnav li.li_kamishibai ul li a:hover {
color: #FFF;
background-color:#ff7ba1;
}


@media screen and (max-width: 768px) {
	.menu {
	display:none;
	}
}


/* コンテンツ ----------------------- */

#contents {
clear:both;
width:100%;
}

.sp { display:none; }

@media screen and (max-width: 768px) {
	.sp { display: block;}
	.pc {display: none;}
}

.newMark { font-size: 12px; font-weight:bold; color:#eb5d00; margin-left: 1em;}


/* -----------------------------------------------

フッター

----------------------------------------------- */

#footer {
}

.footerbox {
width: 1200px;
margin: 0 auto;
padding: 3em 0 2em 0;
overflow: hidden;
}

.footerbox_l {
width: 50%;
float:left;
text-align: left;
}

.footerbox_l h4 {
margin: 0 0 1em 0;
}

.footerbox_l h4 img {
width: 400px;
vertical-align: bottom;
}

.footerbox_l p {
font-size: 14px;
padding: 0 0 0 6px;
}

.footerbox_r {
width: 50%;
float: right;
}

.footerbox_r ul {
text-align: right;
}

.footerbox_r ul li {
display: inline-block;
font-size: 14px;
}

.footerbox_r ul li a {
color: #333;
padding: 0 0 0 24px;
margin: 0 0 0 24px;
background-image: url(../images/icon_arrwo.svg);
background-repeat: no-repeat;
background-position: 0 center;
background-size: 16px;
}

.copyright {
padding: 1em 0 0.8em 0;
font-size:14px;
font-weight: 700;
}

.copyright p {
margin:0;
display:inline-block;
}

@media screen and (max-width: 768px) {
		.footerbox {
		width: 96%;
		margin:0 auto;
		padding: 2em 0 0 0;
		}
		.footerbox_l {
		width: 100%;
		float: none;
		padding-bottom: 0.5em;
		}
		.footerbox_r {
		width: 100%;
		float: none;
		}
		.footerbox_r ul {
		text-align: center;
		padding: 1em 0;
overflow:hidden;
		}
.footerbox_r ul li {
display: block;
width:50%;
float:left;
font-size: 12px;
}

.footerbox_r ul li a {
color: #FFF;
display: block;
padding: 0.5em 0;
margin: 0;
background-image: none;
border:1px solid #FFF;
border-top:none;
background-color: #5d3826;
text-decoration:none;
}
.footerbox_r ul li a:hover {
background-color: #f8c758;
}
		.copyright {
		font-size:12px;
		}
}


/* ページトップ --------------------- */


#ptop {
width : 100px;
height: 100px;
position:fixed;
bottom: 80px;
right:5%;
z-index: 1000;
}

#ptop a {
text-decoration:none;
}

#ptop:hover{
}

@media screen and (max-width: 768px) {
	#ptop {
width : 60px;
height: 60px;
	bottom: 6px;
	right: 1%;
	}
}



/* -----------------------------------------------

スマホメニュー

----------------------------------------------- */
@charset "utf-8";

/*! normalize.css v3.0.0 | MIT License | git.io/normalize */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined in IE 8/9.
 */

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

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9.
 * Hide the `template` element in IE, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari 5 and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9.
 */

img {
  border: 0;
}

/**
 * Correct overflow displayed oddly in IE 9.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari 5.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8+, and Opera
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

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

h1,h2,h3,h4,h5.h6 {
margin:0;
padding:0;
}

p {
margin:0 0 1em 0;
}

td,
th {
margin:0;
padding:0;
}

dl,dd,dt {
margin:0;
padding:0;
}

ul,li {
list-style-type:none;
margin:0;
padding:0;
}

a {
color:#4f2e21;
}

a:hover {
color:#666;
text-decoration:none;
}

a:hover img {
  opacity: 0.5;
  filter: alpha(opacity=50);
  -ms-filter: "alpha(opacity=50)";
}

.clear {clear:both;}

.clearfix:after {
content:".";
display:block;
height:0;
clear: both;
visibility:hidden;
}

.clearfix {display:inline-block;}

/* Hides from IE-mac ￥*/
* html .clearfix {height:1%; }
.clearfix {display:block;}
/* End hide from IE-mac */


* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}


/* ここから共通の設定
   ========================================================================== */

html {
height: 100%;
}

body {
font-family: "新ゴ R" , "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
color: #5d3826;
font-size:16px;
line-height:2.0;
letter-spacing:-0.001em;
-webkit-text-size-adjust: 100%;
text-align:center;
height: 100%;
background-image:url(../images/bg.png);
}

.font {
font-family: "リュウミン B-KL" , "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;}

img {
max-width:100%;
height:auto;
}

.ie8 img {
width:auto;
}

#bg {
width:100%;
position: relative;
overflow:hidden;
}

#wrapper {
position: relative;
}


/* ヘッダー
------------------------------------------------------------- */

#header {
}

.headerbox {
width:1180px;
margin: 1em auto 1.6em auto;
padding: 0;
}

.headerbox_l {
width:50%;
float:left;
text-align: left;
}

.headerbox_l h1 {
font-size:12px;
}

.headerbox_l h1 img {
vertical-align:bottom;
}

.headerbox_r {
width: 500px;
float: right;
overflow:hidden;
}

#h_search {
float:left;
width: 240px;
padding: 1.2em 0 0 0;
}

#h_search div.cse .gsc-search-button-v2, .gsc-search-button-v2 {
padding: 6px 12px!important;
}

@media screen and (max-width: 768px) {
	body {
	font-size: 15px;
	}
	.headerbox {
	width: 96% ;
	margin: 0 auto;
	padding: 0.6em 0;
	}
	.headerbox_l {
	width: 100%;
	}
	.headerbox_r {
	display:none;
	}
}


.headerbox_r ul {
width: 260px;
float: right;
padding:  0.8em;
}

.headerbox_r li {
display: inline-block;
font-size: 15px;
font-weight: 700;
}

.headerbox_r ul li a {
display:block;
width: 246px;
height: 44px;
padding: 0.6em 1em 0.5em 1em;
background-color: #4f2e21;
border: 4px solid #FFF;
border-radius: 23px;
box-shadow: 1px 2px 2px #CCC;
transition: 0.8s;
}

.headerbox_r ul li a:hover {
background-color: #EEA901;
}



/* ここからメニュー
-----------------------------------------------*/
.menu {
}

.menubox {
width: 1180px;
margin:0 auto 1em auto;
position:relative;
z-index:500;
}


.menubox ul {
padding:0;
font-size:0;
}

.hnav {
width:1180px;
margin: 0 auto;
padding: 0;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}

.hnav li {
list-style: none;
}

.menubox ul li.li_home {
width: 18%;
float: left;
font-size: 16px;
border-left:1px dashed #808080;
background-image: url(../images/icon_home.svg);
background-position: center top;
background-repeat: no-repeat;
background-size: 50px;
}

.menubox ul li.li_kenkyusho {
width: 22%;
float: left;
font-size: 16px;
border-left:1px dashed #808080;
background-image: url(../images/icon_kenkyusho.svg);
background-position: center top;
background-repeat: no-repeat;
background-size: 50px;
}

.menubox ul li.li_school {
width: 20%;
float: left;
font-size: 16px;
border-left:1px dashed #808080;
background-image: url(../images/icon_school.svg);
background-position: center top;
background-repeat: no-repeat;
background-size: 50px;
}

.menubox ul li.li_book {
width: 20%;
float: left;
font-size: 16px;
border-left:1px dashed #808080;
background-image: url(../images/icon_book.svg);
background-position: center top;
background-repeat: no-repeat;
background-size: 50px;
}

.menubox ul li.li_kamishibai {
width: 20%;
float: left;
font-size: 16px;
border-left:1px dashed #808080;
border-right:1px dashed #808080;
background-image: url(../images/icon_kamishibai.svg);
background-position: center top;
background-repeat: no-repeat;
background-size: 50px;
}


.hnav li a {
display: block;
/*width:196.6px;
height:70px;
text-align: center;*/
color:#4f2e21;
font-weight:bold;
padding: 56px 0 0.3em 0 ;
text-decoration: none;
transition: 0.4s;
box-sizing: border-box;
}

.hnav > li:hover > a {/*layer-1*/
color : #f8c758;
}

.menubox ul li.li_kenkyusho:hover > a {color : #9966cc;}
.menubox ul li.li_school:hover > a {color : #378669;}
.menubox ul li.li_book:hover > a {color : #3270d6;}
.menubox ul li.li_kamishibai:hover > a {color : #ff7ba1;}

/* プルダウン部分 */

.hnav li ul {
width:236px;
display: none;
position: absolute;
border:2px solid #FFF;
}

.hnav li ul.ullong {
width:260px;
}

.hnav li ul li a {
font-size: 15px;
color: #4f2e21;
background-color:#FFF;
text-align:left;
height: auto;
transition: 0.4s;
padding: 12px 1em 10px 1em;
border-bottom:2px solid #4f2e21;
}


.hnav li ul li:first-child a {
border-top:2px solid #ff7ba1;
border-top:none;
}

.hnav li.li_kenkyusho ul li a {
color: #9966cc;
border:2px solid #9966cc;
border-top:none;
}

.hnav li.li_school ul li a {
color: #378669;
border:2px solid #378669;
border-top:none;
}

.hnav li.li_book ul li a {
color: #3270d6;
border:2px solid #3270d6;
border-top:none;
}

.hnav li.li_kamishibai ul li a {
color: #ff7ba1;
border:2px solid #ff7ba1;
border-top:none;
}


.hnav li.li_kenkyusho ul li:first-child a {
border-top:2px solid #9966cc;
}

.hnav li.li_school ul li:first-child a {
border-top:2px solid #378669;
}

.hnav li.li_book ul li:first-child a {
border-top:2px solid #3270d6;
}

.hnav li.li_kamishibai ul li:first-child a {
border-top:2px solid #ff7ba1;
}


.hnav > li li:hover > a {/*layer-2*/
background-color:#BDBDBD;
text-align:left;
}

.hnav li ul li a:hover {
background-color:#F9B600;
}

.hnav li.li_kenkyusho ul li a:hover {
color: #FFF;
background-color:#9966cc;
}

.hnav li.li_school ul li a:hover {
color: #FFF;
background-color:#378669;
}

.hnav li.li_book ul li a:hover {
color: #FFF;
background-color:#3270d6;
}

.hnav li.li_kamishibai ul li a:hover {
color: #FFF;
background-color:#ff7ba1;
}


@media screen and (max-width: 768px) {
	.menu {
	display:none;
	}
}


/* コンテンツ ----------------------- */

#contents {
clear:both;
width:100%;
}

.sp { display:none; }

@media screen and (max-width: 768px) {
	.sp { display: block;}
	.pc {display: none;}
}

.newMark { font-size: 12px; font-weight:bold; color:#eb5d00; margin-left: 1em;}


/* -----------------------------------------------

フッター

----------------------------------------------- */

#footer {
}

.footerbox {
width: 1200px;
margin: 0 auto;
padding: 3em 0 2em 0;
overflow: hidden;
}

.footerbox_l {
width: 50%;
float:left;
text-align: left;
}

.footerbox_l h4 {
margin: 0 0 1em 0;
}

.footerbox_l h4 img {
width: 400px;
vertical-align: bottom;
}

.footerbox_l p {
font-size: 14px;
padding: 0 0 0 6px;
}

.footerbox_r {
width: 50%;
float: right;
}

.footerbox_r ul {
text-align: right;
}

.footerbox_r ul li {
display: inline-block;
font-size: 14px;
}

.footerbox_r ul li a {
color: #333;
padding: 0 0 0 24px;
margin: 0 0 0 24px;
background-image: url(../images/icon_arrwo.svg);
background-repeat: no-repeat;
background-position: 0 center;
background-size: 16px;
}

.copyright {
padding: 1em 0 0.8em 0;
font-size:14px;
font-weight: 700;
}

.copyright p {
margin:0;
display:inline-block;
}

@media screen and (max-width: 768px) {
		.footerbox {
		width: 96%;
		margin:0 auto;
		padding: 2em 0 0 0;
		}
		.footerbox_l {
		width: 100%;
		float: none;
		padding-bottom: 0.5em;
		}
		.footerbox_r {
		width: 100%;
		float: none;
		}
		.footerbox_r ul {
		text-align: center;
		padding: 1em 0;
overflow:hidden;
		}
.footerbox_r ul li {
display: block;
width:50%;
float:left;
font-size: 12px;
}

.footerbox_r ul li a {
color: #FFF;
display: block;
padding: 0.5em 0;
margin: 0;
background-image: none;
border:1px solid #FFF;
border-top:none;
background-color: #5d3826;
text-decoration:none;
}
.footerbox_r ul li a:hover {
background-color: #f8c758;
}
		.copyright {
		font-size:12px;
		}
}


/* ページトップ --------------------- */


#ptop {
width : 100px;
height: 100px;
position:fixed;
bottom: 80px;
right:5%;
z-index: 1000;
}

#ptop a {
text-decoration:none;
}

#ptop:hover{
}

@media screen and (max-width: 768px) {
	#ptop {
width : 60px;
height: 60px;
	bottom: 6px;
	right: 1%;
	}
}



/* -----------------------------------------------

スマホメニュー

----------------------------------------------- */
.sp_menu {
display: none;
width: 96%;
font-size: 18px;
margin: 0 auto 12px auto;
border: 1px dashed #5d3826;
border-radius: 28px;
}

.sp_menu a {
color: #5d3826;
font-weight: 700;
display: none;
  text-decoration :none;
}

.sp_menu a:hover {
background-color: #f8c758;
border-radius: 28px;
}

.spmenu{
width: 96%;
margin: 0 auto 1em auto;
  display: block !important;
  padding: 2px 0;
}

.spnav{
}

.spnav > li{
  font-size: 14px;
  line-height: 1.0;
  text-align: left;
  margin-bottom: 3px;
}

.spnav > li > a{
  display: block;
  padding: 14px 20px 12px 50px;
  color: #5d3826;
font-weight:700;
  text-decoration: none;
border: 1px dashed #5d3826;
border-radius: 28px;
}


.spnav > li.li_home > a {
background-image: url(../images/icon_home.svg);
background-position: 6px center;
background-repeat: no-repeat;
background-size: 30px;
}

.spnav > li.li_kenkyusho > a {
background-image: url(../images/icon_kenkyusho.svg);
background-position: 6px center;
background-repeat: no-repeat;
background-size: 30px;
}

.spnav > li.li_school > a {
background-image: url(../images/icon_school.svg);
background-position: 6px center;
background-repeat: no-repeat;
background-size: 30px;
}

.spnav > li.li_book > a {
background-image: url(../images/icon_book.svg);
background-position: 6px center;
background-repeat: no-repeat;
background-size: 30px;
}

.spnav > li.li_kamishibai > a {
background-image: url(../images/icon_kamishibai.svg);
background-position: 6px center;
background-repeat: no-repeat;
background-size: 30px;
}

.spnav > li.li_contact > a {
background-image: url(../images/icon_contact02.svg);
background-position: 6px center;
background-repeat: no-repeat;
background-size: 30px;
}

.spnav > li > a:hover {
color: #FFF;
background-color: #f8c758;
}

.spnav > li.li_kenkyusho > a:hover {
color: #FFF;
background-color: #9966cc;
}

.spnav > li.li_school > a:hover {
color: #FFF;
background-color: #378669;
}

.spnav > li.li_book > a:hover {
color: #FFF;
background-color: #3270d6;
}

.spnav > li.li_kamishibai > a:hover {
color: #FFF;
background-color: #ff7ba1;
}

.spnav > li.li_contact > a:hover {
color: #FFF;
background-color: #f99569;
}


.spnav > li > ul{
  display: none;
margin: 0.3em 0;
}

.spnav > li > ul > li{
  line-height: 1.0;
  text-align: left;
}

.spnav > li > ul > li > a {
  display: block;
  padding: 10px 20px 10px 50px;
color: #5d3826;
font-weight:700;
  text-decoration: none;
  background-image: url(../images/icon_arrow.svg);
  background-repeat: no-repeat;
  background-position: 16px center;
  background-size: 13px;
}

.spnav > li.li_kenkyusho ul > li > a {color: #9966cc;}
.spnav > li.li_school ul > li > a {color: #378669;}
.spnav > li.li_book ul > li > a {color: #3270d6;}
.spnav > li.li_kamishibai ul > li > a {color: #ff7ba1;}

.spnav > li > ul > li > a:hover {
color: #FFF;
background-color: #3E603B;
border-radius: 23px;
}

.spnav > li.li_kenkyusho ul > li > a:hover {background-color: #9966cc;}
.spnav > li.li_school ul > li > a:hover {background-color: #378669;}
.spnav > li.li_book ul > li > a:hover {background-color: #3270d6;}
.spnav > li.li_kamishibai ul > li > a:hover {background-color: #ff7ba1;}


#sp_search {
margin: 1em;
text-align:center;
}

@media screen and (min-width: 769px) {
  .spmenu{
  display: none !important;
  }
}
.menu {
		display: block; /* PC版では通常のメニュー表示 */
	}

@media screen and (max-width: 768px) {
	.menu {
	display:none;
	}
	.sp_menu {
	display: block;
	}
}