@import url(https://fonts.googleapis.com/css?family=Pacifico);
@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Josefin+Sans);
/*
Theme Name: SaibienHP
Author: Harada Kazuya
License: Core Electronic Systems
Version: 1.0
*/
/*reset css*/
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
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 {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/*reset css*/

/*初期設定*/
body{
	/*font: 14px/1.8 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;*/
	font: 14px;
	line-height:1.8em;
	font-weight: 400 !important;
	-webkit-text-size-adjust:100%;
	overflow-x: hidden;
	color: #000;
	background-color: #fff;
}
#main{
	background-color: #fffbf0;
}
@keyframes fadeIn{
	0%{opacity:0}
	100%{opacity:1}
}

@-webkit-keyframes fadeIn{
	0%{opacity:0}
	100%{opacity:1}
}
a{
	color: #111;
	text-decoration: none;
}

a:hover, .active{
  text-decoration: none;
	color: #0000ff;
}

a:active, a:focus,input:active, input:focus{outline:0;}

img{
	width:100%;
	height:auto;
}
.outer{
	max-width: 1400px;
	margin: 0 auto;
}

/*初期設定*/

/*共通*/
/*h1, h2{
	font-family: 'Josefin Sans', 'Noto Sans JP',serif;
}
*/
section{
	 display: block;
    padding-top: 70px;
    margin-top: -70px;
	clear:both;
}
html{
	font-size:62.5%;
	font-weight: 400 !important;
}
h1{
	font-size:2.1rem;
	line-height:2.1em;
	font-weight: 600 !important;
}
h2{
	font-size:1.8rem;
	line-height:2.1em;
	font-weight: 500 !important;
}
h3{
	font-size:16px;
}
p{
	font-size:1.5rem;
	line-height:1.4em;
	font-weight: 400 !important;
}
.fp{
	text-align:left;
}
.clear{
	clear: both;
}
.contentpage-box4 a{
	color:#0066ff;
}
.contentpage-box1 a{
	color:#0066ff;
}
.contentpage-box13 a{
	color:#0066ff;
}
.contentpage-box15 a{
	color:#0066ff;
}
.green{
	color:#009933;
}
.under{
	border-bottom: 1px solid #111;
}
/*共通*/

/*ナビ・ロゴ*/

/*ナビ・ロゴ*/

/*ヘッダー*/
.hero{
	width:100%;
	position:relative;
}
.hero-cover{
	position:absolute;
	top:0;
	left:0;
}
#s-phone li{
	font-size:1.8rem;
	line-height:3em;
}
#s-phone a:hover{
	color: #0000ff;
}
/*ヘッダー*/

/*トップページ*/
#content{
	width:95%;
	margin: 0 2.5% 0 2.5%;
}
.topix{
	margin: 10px 0 0 10px;
	width:100%;
}
.topix-box{
	margin:10px auto;
	width:16.6666%;
	float:left;
}

.topix-box p{
	width:90%;
	text-align:center;
}
.topix-box img{
	width:90%;
}
@media only screen and (max-width:599px){
.topix ul li p{
	font-size:1rem;
}
}
#content-box1{
	width:100%;
}
.info{
	float:left;
	margin:10px auto 20px 10px;
	width:49%;
}
#info-box1{
	border: solid 3px #977f69 ;
	border-radius: 10px;
	width:100%;
	height: 210px;
}
#info-box2{
	width: 90%;
	font-size:14px;
	line-height:1.8em;
	margin: 10px 0 0 10px;
}

.button{
	float:right;
	width:40%;
	margin:60px 10px 0 0;
}
.button a{
	color:#402912;
}
.button a:hover{
	color: #0000ff;
}
.button1{
	background-color:#f9e79e;
	width:100%;
	height:70px;
	line-height:70px;
	text-align:center;
}

.button1 img{
	width:auto;
	height:70px;
	float:right;
}
.button2{
	background-color:#f1c69d;
	width:100%;
	height:70px;
	line-height:70px;
	text-align:center;
}
.button2 img{
	width:auto;
	float:right;
	height:70px;
}
.button3{
	background-color:#f1b39c;
	width:100%;
	height:70px;
	line-height:70px;
	text-align:center;
}
.button3 img{
	width:auto;
	height:70px;
	float:right;
}
.underline{
	font-size:1.9rem;
	border-bottom: dashed 3px #977f69;
}
@media only screen and (max-width:799px){
.info{
	float:none;
	margin:20px auto;
	width:90%;
}	
	.button{
	float:none;
	width:90%;
	margin:20px auto 0 auto;
}
	.button1{
	height:50px;
	line-height:50px;
}

.button1 img{
	width:auto;
	height:50px;
}
.button2{
	height:50px;
	line-height:50px;
}
.button2 img{
	width:auto;
	height:50px;
}
.button3{
	height:50px;
	line-height:50px;
}
.button3 img{
	width:auto;
	height:50px;
}
.topix-box{
	margin:10px auto;
	width:33.333%;
	float:left;
}

.topix-box p{
	width:90%;
	text-align:center;
}
.topix-box img{
	width:90%;
}
.topix-box p{
	width:90%;
	text-align:center;
	font-size:0.8rem;
}
}
/*トップページ*/
.underline-1{
	font-size:12px;
	border-bottom: solid 1px #977f69;
	margin:5px 0;
}
#use p{
	margin-left:5%;
	
}
#use img{
	width:300px;
	height:auto;
	margin-left:10%;
}
.protect{
	clear:both;
	width:10px;
	height:10px;
	padding:10px;
}

/*フッター*/
#footer{
	clear: both;
	width:100%;
	height: 200px;
	padding: 30px 0 30px 0;
}
#main-footer{
	width:100%;
	background-color:#bbe842;
	padding-bottom:20px;
}
#main-footer img{
	margin:10px 0 10px 45px;
	width:150px;
	float:left;
}
#main-footer p{
	width:100%;
	color:#000;
	clear:both;
	font-size:1.2rem;
}
.foot-wrap .menu-left, .menu-center, .menu-right {
    display: inline-block;
    width: 25%;
    margin: 0 10px 15px 10px;
}
.foot-wrap ul {
    list-style: none;
    padding: 0
    line-height:3em;
}
.foot-wrap {
    text-align: center;
	padding-bottom:10px;
}
.foot-wrap ul li{
	font-size:1.2rem;
	line-height:1.5em;
	font-weight:500!important;
}
.foot-wrap h3 {
    border-bottom: 5px solid #ffcccc;
    padding: 5px;
	color:#573f29;
	font-size:1.6rem;
	font-weight:600 !important;
}
#f-color1 h3{
	border-color:#ffcccc;
}
#f-color2 h3{
	border-color:#ffe6cc;
}
#f-color3 h3{
	border-color:#eeeeaa;
}
#f-color4 h3{
	border-color:#ccffd5;
}
#f-color5 h3{
	border-color:#ccffff;
}
#f-color6 h3{
	border-color:#eeccff;
}

.foot-wrap a {
    text-decoration: none;
    color: #111;
}
.foot-wrap a:hover {
    color: #0000ff;
}
@media only screen and (max-width:799px){
#main-footer img{
	margin:10px 0 10px 0;
	width:120px;
	float:left;
}
#main-footer p{
	font-size:9px;
	line-height:1.5em;
}
}
@media only screen and (max-width:599px){
.foot-wrap ul li{
	font-size:9px;
	line-height:1.5em;
}
	#main-footer p{
	font-size:9px;
	line-height:1.5em;
}
}
@media only screen and (max-width:399px){
.foot-wrap ul li{
	font-size:5px;
	line-height:2em;
}
#main-footer p{
	font-size:5px;
	line-height:2em;
}
}
/*フッター*/

/*コンテンツページ*/
.contentpage-box{
	margin: 10px 2.5% 0 2.5%;
	width:95%;
	font-size:1.4rem;
	font-weight:400 !important;
}
.contentpage-boxs{
	margin:10px auto 0 2.5%;
	width:97.5%;
}
	.contentpage-box14{
	margin:10px auto;
	width:33.3333%;
	float:left;
}

.contentpage-box14 p{
	width:90%;
	text-align:center;
}
.contentpage-box14 img{
	width:80%;
}
@media only screen and (max-width:799px){
	.contentpage-box{
	font-size:1.2rem;
	font-weight:400!important;
}
	.contentpage-boxs{
	margin:10px auto;
	width:100%;
}
}
/*about*/

.contentpage-box4 {
	margin:10px auto 0 2.5%;
	float:left;
	width:60%;
}
.contentpage-box5 {
	margin:10px 2.5% 0 auto;
	float:right;
	width:35%;
}
.contentpage-box5 img{
	width:100%;
}

.contentpage-box6 {
	margin:10px 2.5% 0 auto;
	float:right;
	width:55%;
}
.contentpage-box7 {
	margin:10px auto 0 2.5%;
	float:left;
	width:40%;
}
.contentpage-box7 img{
	width:90%;
}
#table1{
	float:right;
	border: solid 2px #977f69;
}
#table1 tr,#table1 td{
	border: solid 1px #977f69;
}
#table1 td{
	padding:10px;
}
.contentpage-box1{
	margin:10px auto 0 2.5%;
	width:50%;
	
	float:left;
}
.contentpage-box2{
	margin:40px 2.5% 0 2.5%;
	width:42.5%;
	float:left;
	}
.contentpage-box2 img{
	width:100%;
	float:right;
}
.contentpage-box3{
	margin:10px auto;
	width:33.3333%;
	float:left;
}
.contentpage-box3 p{
	width:90%;
	text-align: center;
}
.contentpage-box3 img{
	width:80%;
}
.fp p{
	text-align:left !important;
}
#table2{
	border: solid 2px #977f69;
}
#table2 tr,#table2 td{
	border: solid 1px #977f69;
}
#table2 td{
	padding:10px;
}
.contentpage-box13{
	width:47.5%;
	float:left;
	margin:10px auto 10px 2.5%;
}
@media only screen and (max-width:799px){
	.contentpage-box4 {
		margin:10px auto;
		float:none;
		width:100%;
	}
	.contentpage-box5 {
		display:none;
	}
	.contentpage-box5 img{
		display:none;
	}
	.contentpage-box6 {
	margin:10px auto;
	float:none;
	width:100%;
}
	#table1{
	float:none;
}
	.contentpage-box7 {
	display:none;
}
.contentpage-box7 img{
	display:none;
}
	.contentpage-box1{
	margin:10px auto;
	width:100%;
	float:none;
}
.contentpage-box2{
	margin:10px auto;
	width:90%;
	float:none;
	}
.contentpage-box2 img{
	width:100%;
	float:none;
}
.contentpage-box3{
	margin:10px auto;
	width:50%;
	float:left;
}
.contentpage-box3 p{
	width:90%;
	font-size:0.8rem;
	line-height:1.5em;
	text-align: center;
}
.contentpage-box3 img{
	width:80%;
}
.fp p{
	text-align:left !important;
}
.contentpage-box13{
	float:none;
	margin:10px auto;
	width:100%;
}
}
/*about*/

/*education*/

/*education*/

/*info*/

#kujyou{
	width:60%;
	margin:10px 20%;
}
@media only screen and (min-width:1000px){
	#kujyou{
	width:40%;
	margin:10px 30%;
}
}
/*info*/

/*access*/

/*access*/

/*contact*/
.contentpage-box12{
	width:100%;
	margin:10px 5% 0 5%;
}
.contentpage-box15{
	width:90%;
	margin-bottom:10px;
}
/*contact*/
.cbutton{
	height:100px;
}

.cbutton ul{
	display:flex;
}
.cbutton ul a{
	text-align: center;
	width:18%;
	background-color: #977f69;
	height: 40px;
	margin: 20px;
	line-height: 35px;
	border-radius:3px;
	color:#fff;
}.cbutton1{
	height:100px;
}

.cbutton1 ul{
	display:flex;
}
.cbutton1 ul a{
	text-align: center;
	width:23%;
	background-color: #977f69;
	height: 40px;
	margin: 20px;
	line-height: 35px;
	border-radius:3px;
	color:#fff;
}
.cbutton2 ul{
	display:flex;
}
.cbutton2 ul a{
	text-align: center;
	width:30%;
	background-color: #977f69;
	height: 40px;
	margin: 20px;
	line-height: 35px;
	border-radius:3px;
	color:#fff;
}

.contentpage-box8{
	width:25%;
	float:left;
}

.contentpage-box8 p{
	width:90%;
	text-align:center;
}
.contentpage-box8 img{
	width:80%;
}
.contentpage-box9{
	float:left;
	width:50%;
	height: 300px;
}
.contentpage-box10{
	float:left;
	width:50%;
	height: 300px;
}
.contentpage-box10 iframe{
	width:90%;
	height:300px; 
	frameborder:0; 
	border:0;  
	aria-hidden:false;
	tabindex:0;
}
.contentpage-box11 iframe{
	width:100%;
	height:300px; 
	frameborder:0; 
	border:0;  
	aria-hidden:false;
	tabindex:0;
	margin:0 0 10px 0;
}
.contentpage-box11{
	margin: 10px 5% 10px 5%;
	width:90%;
}
@media only screen and (max-width: 799px){
.contentpage-box8 p{
	width:90%;
	font-size:0.8rem;
	line-height:1.5em;
	text-align:center;
}
}
/*コンテンツページ*/

/*php関連*/

.label{
	width:100%;
	font-size:20px;
	text-align:center;
}
.labelbox{
	font-size:50px;
	text-align:center;
}
/*php関連*/
/*下ヤジルシ*/
.arrow{
  width: 15px;
  height: 15px;
  border: 3px solid;
  border-color: #977f69 #977f69 transparent transparent;
  transform: rotate(135deg);
	margin-top:-8px;
}
.arrow-center{
	margin:10px auto 5px auto;
	width:30px;
}
/*下ヤジルシ*/
/*RESPONSIVE 設定*/

@media only screen and (min-width: 800px){/*デバイスサイズが800pxより大きいとき*/
	
  a#menu{
		display:none;
	}	

	.panel{
		display:block !important ;
	}

	#mainnav{
		position:fixed;
		top: 0;
		width:100%;
		z-index:500;
		background: rgba(255,255,255,.40);
	}

	#mainnav ul{
		text-align: right;
	/*	padding-right: 30px;*/
	}

	#mainnav li{
		display: inline-block;
		/*padding: 45px 10px 20px;*/
		font-size: 14px;
		font-weight: 400!important;
	}
	
  #mainnav a{
		color: #000;
	}
	
	#mainnav.changeNav{
		background: rgba(255,255,255,.9);
		border-bottom: 1px solid #d1d1d1;
	}
	
	#mainnav.changeNav li{
	/*	padding: 20px 10px;*/
	}
	#s-phone li{
		display:none;
	}
	#logo2{
		display:none;
	}
	#logo{
	float:left;
/*	width:300px;*/
	width:250px;
	top:5px;
}
#logo img{
/*	width:300px;*/
	width:250px;
}
.panel{
	height: 70px;
}
.panel ul{
	float: right;
	margin:0;
}
.panel ul li{
	margin: 0;
	padding: 0;
	width:100px;
	height:70px;
}
}
/*デバイスサイズが800pxより大きいとき*/

@media only screen and (max-width: 799px){/*デバイスサイズが799pxより小さいとき*/
.fixed{
	position:fixed;
	right:0%;
	}
  a#menu{
  	display: inline-block;
  	position: relative;
  	width: 40px;
  	height: 40px;
  	margin: 10px;
	}

	#menuBtn{
  	display: block;
  	position: absolute;
  	top: 50%;
  	left: 50%;
  	width: 18px;
  	height: 2px;
  	margin: -1px 0 0 -7px;
  	background: #220000;
  	transition: .2s;
	}

	#menuBtn:before, #menuBtn:after{
  	display: block;
  	content: "";
  	position: absolute;
  	top: 50%;
  	left: 0;
  	width: 18px;
  	height: 2px;
  	background: #220000;
  	transition: .3s;
	}

	#menuBtn:before{
  	margin-top: -7px;
	}

	#menuBtn:after{
  	margin-top: 5px;
	}

	a#menu .close{
  	background: transparent;
	}

	a#menu .close:before, a#menu .close:after{
  	margin-top: 0;
	}

	a#menu .close:before{
  	transform: rotate(-45deg);
  	-webkit-transform: rotate(-45deg);
	}

	a#menu .close:after{
  	transform: rotate(-135deg);
  	-webkit-transform: rotate(-135deg);
	}

	.panel{
		width: 100%;
		display: none;
		overflow: hidden;
		position: relative;
		left: 0;
		top: 0;
		z-index: 100;
	}

	#mainnav{
		position:absolute;
		top: 0;
		right: 0;
		width: 100%;
		text-align: right;
		z-index:500;
	}

	#mainnav ul{
		border-bottom: 1px solid #ccc;
		background: rgba(255,255,255,.9);
		text-align: left;
	}

	#mainnav li a{
		position: relative;
		display:block;
		/*padding:15px 25px;*/
		border-bottom: 1px solid #ccc;
		color: #000;
		font-weight: 400!important;
	}

	#mainnav li a:before{
		display: block;
		content: "";
		position: absolute;
		/*top: 50%;
		left: 5px;
		width: 6px;
		height: 6px;
		margin: -4px 0 0 0;*/
		border-top: solid 2px #000;
		border-right: solid 2px #000;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	#pc li{
		display:none;
	}
	#logo{
		display:none;
	}
	#logo2{
	position: fixed;
	float:left;
/*	width:150px;*/
	width:100px;
	top:5px;
}
#logo2 img{
	/*	width:150px;*/
	width:100px;
}
#cover-f{
		width:100%;
		height:50px;
		top:0 ;
		left:0 ;
		position: fixed;
		background: rgba(255,255,255,.4);
		z-index:500;
	}
	.cbutton{
	height:90px;
}
		.cbutton1{
	height:90px;
}
	.cbutton ul a{
	font-size:11px;
	text-align: center;
	width:18%;
	background-color: #977f69;
	height: 30px;
	margin: 20px 15px;
	line-height: 30px;
	border-radius:3px;
	color:#fff;
}
.cbutton1 ul a{
	font-size:11px;
	text-align: center;
	width:23%;
	background-color: #977f69;
	height: 30px;
	margin: 20px 15px;
	line-height: 30px;
	border-radius:3px;
	color:#fff;
}
	.cbutton2 ul a{
	font-size:11px;
	text-align: center;
	width:30%;
	background-color: #977f69;
	height: 30px;
	margin: 20px 20px;
	line-height: 30px;
	border-radius:3px;
	color:#fff;
}
	
}
@media only screen and (max-width:999px) and (min-width:800px){
#logo{
	/*width:250px;*/
	width:200px;
}
#logo img{
	/*width:250px;*/
	width:200px;
}
.panel{
	height: 58px;
}

.panel ul li{
	margin: 0;
	padding: 0;
	width:82px;
	height:58px;
}
}
@media only screen and (max-width:999px){
#photo-navi{
		width:67px;
		height:48px;
	position: fixed;
	top:0 ;
		right:138px ;
	}
#photo-navi img{
		width:67px;
		height:48px;
	}
#photo-navi2{
		width:67px;
		height:48px;
	position: fixed;
	top:0 ;
		right:69px ;
	}
#photo-navi2 img{
		width:67px;
		height:48px;
	}
#cover-p{
	width:100%;
		height:50px;
		top:0 ;
		left:0 ;
		position: fixed;
		background: rgba(255,255,255,.4);
		z-index:500;
}
#logo3{
	width:130px;
	float:left;
	top:5px;
}
#logo3 img{
	width:130px;
}
}
@media only screen and (min-width:1000px){
#photo-navi{
		width:100px;
		height:70px;
	position: fixed;
		top:0 ;
		right:204px ;
	}
#photo-navi img{
		width:100px;
		height:70px;
	}
#photo-navi2{
		width:100px;
		height:70px;
	position: fixed;
		top:0 ;
		right:102px ;
	}
#photo-nav2 img{
		width:100px;
		height:70px;
	}
#logo3{
	float:left;
	width:200px;
	top:5px;
	
}
#logo3 img{
	/*width: 250px;*/
	width:200px;
}
#cover-p{
	width:100%;
		height:80px;
		top:0 ;
		left:0 ;
		position: fixed;
		background: rgba(255,255,255,.4);
		z-index:500;
}
}
@media only screen and (max-width:599px){
	.cbutton{
	height:70px;
}
	.cbutton1{
	height:70px;
}
.cbutton ul a{
	font-size:7px;
	text-align: center;
	width:18%;
	background-color: #977f69;
	height: 25px;
	margin: 20px 5px;
	line-height: 25px;
	border-radius:3px;
	color:#fff;
}
.cbutton1 ul a{
	font-size:7px;
	text-align: center;
	width:23%;
	background-color: #977f69;
	height: 25px;
	margin: 20px 5px;
	line-height: 25px;
	border-radius:3px;
	color:#fff;
}
	.cbutton2 ul a{
	font-size:7px;
	text-align: center;
	width:30%;
	background-color: #977f69;
	height: 25px;
	margin: 20px 5px;
	line-height: 25px;
	border-radius:3px;
	color:#fff;
}
}
@media only screen and (max-width:399px){
	#photo-navi{
		width:62px;
		height:44px;
	position: fixed;
		top:0 ;
		right:128px ;
	}
#photo-navi img{
		width:62px;
		height:44px;
	}
#photo-navi2{
		width:62px;
		height:44px;
	position: fixed;
		top:0 ;
		right:64px ;
	}
#photo-navi2 img{
		width:62px;
		height:44px;
	}
}
@media only screen and (max-width:350px){
.cbutton ul a{
	font-size:5px;
	text-align: center;
	width:18%;
	background-color: #977f69;
	height: 25px;
	margin: 20px 3px;
	line-height: 25px;
	border-radius:3px;
	color:#fff;
}
.cbutton1 ul a{
	font-size:5px;
	text-align: center;
	width:23%;
	background-color: #977f69;
	height: 25px;
	margin: 20px 3px;
	line-height: 25px;
	border-radius:3px;
	color:#fff;
}
	.cbutton2 ul a{
	font-size:5px;
	text-align: center;
	width:30%;
	background-color: #977f69;
	height: 25px;
	margin: 20px 3px;
	line-height: 25px;
	border-radius:3px;
	color:#fff;
}
}