@charset "utf-8";


/*全端末（PC・タブレット・スマホ）共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
body {
	margin: 0px;
	padding: 0px;
	color: #333;	/*全体の文字色*/
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-size: 14px;	/*文字サイズ*/
	line-height: 2;		/*行間*/
	background: #fff;	/*背景色*/
	-webkit-text-size-adjust: none;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form {margin: 0px;padding: 0px;font-size: 100%;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 95%;height: auto;vertical-align: middle;margin:5px;}
iframe {width: 100%;}

.frame-wrapper__video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;     /* 4:3の場合 padding-bottom: 75%; */
  overflow: hidden;
  margin-bottom: 20px;
}

.frame-wrapper__video iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.iframeWrap {position: relative;padding-bottom: 80%;height: 0;overflow: hidden;}
.iframeWrap iframe {position: absolute;top: 0;left: 0;width: 100% !important;height: 100% !important;}


.iframe-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow:auto; 
  -webkit-overflow-scrolling:touch;
  border:2px solid #ccc; 
}
.iframe-wrap iframe {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    border:none;
    display:block;
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #333;	/*リンクテキストの色*/
	-webkit-transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
	transition: 0.5s;			/*同上*/
}
a:hover {
	color: #409865;			/*マウスオン時の文字色*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}


#menu {
	max-width: 1180px;
	background: no-repeat url("../img/bg.jpg");
	background-position: right top;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

/*メインメニュー
#menu {
	max-width: 1180px;
	background: no-repeat url("../img/bg.jpg");
	background-position: right top;
	margin-top: 30px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
}
---------------------------------------------------------------------------*/

/*fixmenu設定（メニューが画面上部に到達した際のスタイル）
---------------------------------------------------------------------------*/
/*上部固定メニュー用fixmenu設定*/
body.is-fixed-menu .nav-fix-pos {
	width: 100%;z-index: 100;position: fixed;top: 0;left: 0;
}
body.is-fixed-menu header {
	margin-bottom: 80px;	/*#menubarのheightの数字を指定。#menubarのborderが1px分ありますが大差ないので80でOKです。*/
}
/*上の設定の「is-fixed-menu」を「is-fixed」に変更したものをそのまま記入します。fixmenuスクリプトを２つ使う為に必要な設定になります。*/
body.is-fixed .nav-fix-pos {
	width: 100%;z-index: 100;position: fixed;top: 0;left: 0;
}
body.is-fixed header {
	margin-bottom: 80px;
}


/*コンテンツ
---------------------------------------------------------------------------*/
/*main,sub,sideを囲むブロック設定*/
#contents {
	clear: left;
	max-width: 1180px;		/*最大幅*/
	margin: 0 auto;
	padding-top: 10px;
	color: #333;
}
/*main,subを囲むブロック設定*/
#contents-inner {
	float: left;	/*左に回り込み*/
	width: 76%;		/*ブロック幅*/
}

/*メインコンテンツ
---------------------------------------------------------------------------*/
#main {
	float: right;	/*contents-innerの中で右側に回り込み*/
	width: 76%;		/*幅*/
	overflow: hidden;
	padding: 0 0 20px;	/*上、左右、下へのボックス内の余白*/
    order: 1;
}

/*mainコンテンツのh2タグの設定*/
#main h2 {
	clear: both;
	margin-bottom: 10px;
	padding: 5px 15px;	/*上下、左右への余白*/
	background: #fff;	/*背景色（古いブラウザ用）*/
	background: linear-gradient(#fff, #eee);	/*グラデーション*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	background: url(../img/cala.png) no-repeat right center;	/*背景画像を設定*/
	border-radius: 5px;		/*角丸のサイズ*/
}

/*mainコンテンツのh2タグの１文字目への設定*/
#main h2::first-letter {
	border-left: 3px solid #409865;	/*左側のアクセント用ラインの幅、線種、色*/
	padding-left: 10px;	/*アクセントラインと文字の間にとる余白*/
}

/*mainコンテンツのh3タグの設定*/
#main h3 {
	clear: both;
	margin-bottom: 10px;	/*上下、左右への余白*/
	border: 1px solid #ccc;	/*線の幅、線種、色*/
	border-radius: 5px;	/*角丸のサイズ*/
	padding-top: 5px;
	padding-right: 15px;
	padding-bottom: 3px;
	padding-left: 15px;
	margin-top: 10px;
}

/*mainコンテンツの段落タグ設定*/
#main p {
	padding: 0px 20px 15px;	/*上、左右、下への余白*/
	margin-left: 20px;	/*上下、左右への余白*/

}
#main h2 + p {
	margin-top: -5px;
	margin-left: 15px;	/*上下、左右への余白*/
	padding-left: 15px;
}

#main h3 + p {
	margin-top: -5px;
	margin-left: 15px;	/*上下、左右への余白*/
	padding-left: 15px;
}

/*mainコンテンツのh4タグの設定*/
#main h4 {
	clear: both;
	margin-bottom: 10px;
	padding: 5px 15px;	/*上下、左右への余白*/
	background: #fff;	/*背景色（古いブラウザ用）*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	background: url(../img/now.png) no-repeat left center;	/*背景画像を２種類設定、背景色*/
	border-radius: 5px;		/*角丸のサイズ*/
}

#main h4 + p {
	margin-top: -5px;
	padding-left: 40px;
}

/*---------------------------------------------------------------------------*/
/*mainコンテンツのh5タグの設定*/

#main h5 {
	clear: both;
	margin-bottom: 10px;
	padding: 5px 15px;	/*上下、左右への余白*/
	color: #ff0000;	/*文字色*/
	font-size: 16px;	/*文字サイズ*/
	background: #f4677f;	/*背景色（古いブラウザ用）*/
	background: linear-gradient(#ff7f95, #f4677f);		/*グラデーション*/
	background: url(../img/cala.png) no-repeat right center;	/*背景画像を設定*/
	border: 1px solid #f4677f;		/*枠線の幅、線種、色*/
	box-shadow: 1px 2px 7px rgba(0,0,0,0.4);	/*影の設定。右・下・ぼかし幅。0,0,0は黒の事で0.4は透明度40%の事。*/
	border-radius: 5px;		/*角丸のサイズ*/
}
/*h2タグの１文字目への追加設定*/
#main h5::first-letter {
	border-left: 3px solid #ff69b4;	/*左の線の幅、線種、色*/
	padding-left: 10px;				/*線とテキストとの余白*/
}
/*


#main h5 + p {
	margin-top: -5px;
	margin-left: 15px;	/*上下、左右への余白*/
	padding-left: 15px;
}

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

/*Cast用の各ブロック
---------------------------------------------------------------------------*/
/*各キャストボックスの設定*/
.list {
	position: relative;
	overflow: hidden;
	float: left;		/*左に回り込み*/
	font-size: 11px;	/*文字サイズ*/
	line-height: 1.5;
	width: 23%;		/*ボックスの幅*/
	margin-left: 1.25%;
	margin-bottom: 15px;
	border: 1px solid #ccc;	/*枠線の幅、線種、色。*/
}
.list a {
	text-decoration: none;
	display: block;
	overflow: hidden;
	padding: 10px;	/*ボックス内の余白*/
	height: 170px;	/*高さ*/
}
/*マウスオン時の背景色*/
.list a:hover {
	background: #eef8f3;
}

/*ボックス内のp(段落)タグ設定*/
.list p {
	padding: 0px !important;
}
/*ボックス内のh4タグ設定*/
.list h4 {
	padding: 0px;
	color: #409865;	/*文字色*/
}

/*スタッフ詳細ページ　staff.html
---------------------------------------------------------------------------*/
/*左側ボックス*/
#main .staff .left {
	float: left;	/*左に回り込み*/
	width: 35%;		/*幅*/
	padding-bottom: 15px;
}
/*左側ボックス内のp(段落)タグ*/
#main .staff .left p {
	padding: 0px;
}
/*右側ボックス*/
#main .staff .right {
	width: 60%;		/*幅*/
	float: right;	/*右に回り込み*/
	padding-bottom: 15px;
}
/*テーブルタグの左側の見出し（※幅以外は下の方にある「テーブル１」のスタイルで設定しています）*/
#main .staff .right .ta1 th {
	width: 100px;	/*幅*/
}

/*sub,sideコンテンツ
---------------------------------------------------------------------------*/
/*subブロック*/
#sub {
	float: left;	/*contents-innerの中で左に回り込み*/
	width: 23%;	/*幅*/
    order: 2;
}

/*sideブロック*/
#side {
	float: right;	/*contentsの中で右に回り込み*/
	width: 23%;		/*幅*/
    order: 3;
}

/*sub,sideコンテンツ内のh2タグ設定*/
#sub h2,
#side h2 {
	color: #fff;	/*文字色*/
	text-align: center;	/*内容をセンタリング*/
	padding: 15px 0 10px;	/*上、左右、下へのボックス内の余白*/
	border-radius: 10px 10px 0px 0px;	/*角丸のサイズ。左上、右上、右下、左下の順番。*/
	background: #409865 url(../images/bg_lace.png) repeat-x center bottom;	/*背景色と背景画像の読み込み。（古いブラウザ用）*/
	background: url(../images/bg1.png) repeat center center, url(../images/bg_lace.png) repeat-x center bottom, linear-gradient(#6fbd93, #409865);	/*背景画像の読み込み、グラデーション*/
}
/*sub,sideコンテンツ内のpタグ設定*/
#sub p,
#side p {
	padding: 0px 0px 15px;
}

/*sub,sideコンテンツ内のメニュー
---------------------------------------------------------------------------*/
/*メニュー全体の設定*/
#sub ul.submenu,
#side ul.submenu {
	margin-bottom: 15px;	/*メニューブロックの下に空けるスペース*/
	overflow: hidden;
	border-top: solid 1px #ccc;	/*上の線の線種、幅、色*/
}
/*メニュー１個ごとの設定*/
#sub ul.submenu li a,
#side ul.submenu li a{
	background: #fff;	/*背景色*/
	text-decoration: none;
	display: block;
	padding: 5px 10px;	/*メニュー内の余白。上下、左右への設定。*/
	border-bottom: solid 1px #ccc;	/*下の線の線種、幅、色*/
	border-left: solid 1px #ccc;	/*左の線の線種、幅、色*/
	border-right: solid 1px #ccc;	/*右の線の線種、幅、色*/
}
/*マウスオン時の背景色*/
#sub ul.submenu li a:hover,
#side ul.submenu li a:hover {
	background: #eef8f3;
}
/*h2直下にsubmenuが続いた場合のみ、submenuの上の線を消す設定*/
#sub h2 + ul.submenu,
#side h2 + ul.submenu {
	border-top: none;
}

/*sub,sideコンテンツ内のbox1
---------------------------------------------------------------------------*/
#sub .box1,
#side .box1 {
	padding: 10px;			/*ボックス内の余白*/
	margin-bottom: 15px;	/*ボックスの下に空けるスペース*/
	border: solid 1px #ccc;	/*線の線種、幅、色*/
}
/*h2直下にbox1が続いた場合のみ、box1の上の線を消す設定*/
#sub h2 + .box1,
#side h2 + .box1 {
	border-top: none;
}

/*list-subボックス
---------------------------------------------------------------------------*/
/*ボックス１個あたりの設定*/
.list-sub {
	overflow: hidden;
	font-size: 11px;	/*文字サイズ*/
	line-height: 1.5;	/*行間*/
	border-bottom: 1px solid #ccc;	/*下線の幅、線種、色*/
}
.list-sub a {
	display: block;overflow: hidden;text-decoration: none;
	padding: 10px 0px;	/*上下、左右へのボックス内の余白*/
}
/*画像*/
.list-sub img {
	float: left;	/*左に回り込み*/
	width: 30%;		/*幅*/
	margin-right: 10px;	/*画像の右側に空けるスペース*/
}
/*最後のボックスへの追加設定*/
.list-sub:nth-last-of-type(1) {
	margin-bottom: 15px;	/*ボックスの下にあけるスペース*/
}

/*フッター設定
---------------------------------------------------------------------------*/
footer {
	clear: both;
	background: #409865;	/*背景色*/
	color: #fff;	/*文字色*/
	font-size: 85%;	/*文字サイズ*/
}
footer a {
	color: #fff;
}
footer a:hover {
	color: #fff;
}
footer .pr {
	display: block;
	font-size: 80%;
}

/*フッターメニュー
---------------------------------------------------------------------------*/
/*ボックス全体*/
#footermenu {
	max-width: 1000px;	/*最大幅*/
	margin: 0 auto;
	overflow: hidden;
	padding: 20px 0;
}
/*１行分の設定*/
#footermenu ul {
	float: left;	/*左に回り込み*/
	width: 18%;		/*幅。今回は５列作ったのでここの幅18%と下のpadding(合計の2%)でトータル20%になるよう設定。列に応じて調整して下さい。*/
	padding-right: 1%;
	padding-left: 1%;
}

/*コピーライト
---------------------------------------------------------------------------*/
#copyright {
	clear: both;
	text-align: center;
	background: #333;	/*背景色*/
}
#copyright a {
	text-decoration: none;
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
#new dl {
	padding-left: 15px;
	margin-bottom: 15px;
	height: 170px;	/*高さ*/
	overflow: auto;	/*上で設定した高さを超えた場合にスクロールを出す設定。全部表示させていたいなら、この行と上の高さの行を削除する。*/
}
/*日付設定*/
#new dt {
	font-weight: bold;	/*太字にする設定。標準がいいならこの行削除。*/
	float: left;
	width: 8em;
}
/*記事設定*/
#new dd {
	padding-left: 8em;
}



/*トップページのNEWアイコン
---------------------------------------------------------------------------*/
.newicon {
	background: #F00;
	color: #FFF;
	font-size: 70%;
	line-height: 1.5;
	padding: 2px 5px;
	border-radius: 2px;
	margin: 0px 5px;
	vertical-align: text-top;
}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 55px;
}
.pagetop a {
  display: block;
  width: 50px;
  height: 50px;
  background-color: #409865; /*●の色*/
  border-radius: 50px;
  text-align: center;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  line-height: 50px;
}
.pagetop a:hover {
text-decoration: none;
background: #a4edc8;　/*マウスが乗った時の●の色*/
}

/*その他
---------------------------------------------------------------------------*/
.look {background: #e5e5e5;padding: 5px 10px;border-radius: 4px;}
.mb15,.mb1em {margin-bottom: 15px;}
.clear {clear: both;}
ul.disc {
	list-style: disc;
	padding-top: 0px;
	padding-right: 25px;
	padding-bottom: 15px;
	padding-left: 50px;
}
ul.disc2 {
	list-style: none;
	padding-top: 0px;
	padding-right: 25px;
	padding-bottom: 15px;
	padding-left: 50px;
}
.color1, .color1 a {color: #409865;}
.pr {font-size: 10px;}
.wl {width: 96%;}
.ws {width: 50%;}
.c {text-align: center;}
.r {text-align: right;}
.l {text-align: left;}
img.fc { display: block;
 margin-left: auto;
 margin-right: auto;}
img.fr {float: right;margin-left: 10px;margin-bottom: 10px;}
img.fl {float: left;margin-right: 10px;margin-bottom: 10px;}
.big1 {font-size: 24px;letter-spacing: 0.2em;}
.mini1 {font-size: 11px;display: inline-block;line-height: 1.5;}
.sh {display: none;}
.sns{
  text-align: center;
}
.sns li{
  display: inline;
}

/*マウスが乗った時要素を浮かせる（右側コンテンツ）
---------------------------------------------------------------------------*/
.img_wrap{
  transition-duration: 0.5s;
}

.img_wrap:hover{
  box-shadow: 10px 10px 10px rgba(0,0,0,0.5);
  transform: translateY(-10px);
  transition-duration: 0.5s;
}



/*画面幅1040px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:1040px){

/*コンテンツ
---------------------------------------------------------------------------*/
/*main,sub,sideを囲むブロック設定*/
#contents {
	margin: 0 10px 0;
}

#side li img{ width: 100%; }


}

/*画面幅800px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:800px){

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	margin-bottom: 10px;
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*スマホ用メニューを非表示から表示に切り替える*/
#menubar-s {
	display: block;
	overflow: hidden;
	margin-bottom: 20px;
}
/*メニュー１個あたりの設定*/
#menubar-s li {
	float: left;	/*左に回り込み*/
	width: 50%;		/*メニュー幅*/
}
#menubar-s li a {
	border-bottom: 1px solid #ccc;	/*下線の幅、線種、色*/
	margin: 0 10px;	/*メニューの左右にあける余白*/
}
/*PC用メニューを非表示にする*/
#menubar {
	display: none;
}

/*３本バーアイコン設定
---------------------------------------------------------------------------*/
/*３本バーブロック*/
#menubar_hdr {
	display: block;
	position: absolute;
	top: 25px;		/*上から25pxの場所に配置*/
	right: 10px;	/*右から10pxの場所に配置*/
	width: 30px;	/*幅*/
	border: 1px solid #000;	/*枠線の幅、線種、色*/
	border-radius: 4px;	/*角丸のサイズ*/
	padding: 12px 10px 5px;	/*上、左右、下へのボックス内余白*/
	background: #fff;
}
/*３本のバー（1本あたり）*/
#menubar_hdr span {
	display: block;
	border-top: 3px solid #000;	/*枠線の幅、線種、色*/
	margin-bottom: 7px;	/*バー同士の余白*/
}

/*コンテンツ
---------------------------------------------------------------------------*/
/*main,sub,sideを囲むブロック設定*/
#contents {
	width: auto;
}



/*main,subを囲むブロック設定*/
#contents-inner {
	float: none;
	width: auto;
}


/*main,sub,sideコンテンツ
---------------------------------------------------------------------------*/
#main, #sub, #side {
	float: none !important;
	width: auto !important;
}

/*Cast用の各ブロック
---------------------------------------------------------------------------*/
/*各キャストボックスの設定*/
.list a {
	padding: 15px;
	height: 190px;
}

/*sub,sideコンテンツ内のメニュー
---------------------------------------------------------------------------*/
/*メニュー１個ごとの設定*/
#sub ul.submenu li,
#side ul.submenu li {
	width: 50%;		/*半分の幅にする*/
	float: left;	/*左に回り込み*/
}
/*偶数番目のメニューの左のラインを消す設定*/
#sub ul.submenu li:nth-child(even) a,
#side ul.submenu li:nth-child(even) a {
	border-left: none;
}

/*list-subボックス
---------------------------------------------------------------------------*/
/*ボックス１個あたりの設定*/
.list-sub {
	font-size: 14px;	/*文字サイズ*/
	line-height: 2;	/*行間*/
}
/*画像*/
.list-sub img {
	width: 20%;		/*幅*/
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
section#new h2.open {
	background: url(../img/btn_minus.png) no-repeat right center/34px 34px, linear-gradient(#fff, #eee);
}
section#new h2.close {
	background: url(../img/btn_plus.png) no-repeat right center/34px 34px, linear-gradient(#fff, #eee);
}

/*フッターメニュー
---------------------------------------------------------------------------*/
/*ボックス全体*/
#footermenu {
	width: auto;
}

/*テーブル
---------------------------------------------------------------------------*/
.ta-box {overflow-x: auto;}
.ta1 {overflow-x: auto;min-width: 800px;}

/*その他
---------------------------------------------------------------------------*/
body.s-n #sub,body.s-n #side,body.s-n #footermenu,.m-n {display: none;}
.fl-half{float:left;width:45%;margin-left:3%;}
.sh {display:block;}
.pc {display:none;}

}



/*画面幅600px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:600px){

/*Cast用の各ブロック
---------------------------------------------------------------------------*/
/*各キャストボックスの設定*/
.list {
	float: none; 
	width: auto;
	margin: 0;
	border: none;
	border-top: 1px solid #eee;
}
.list:last-child {
	margin-bottom: 15px;
	border-bottom: 1px solid #eee;
}
.list a {
	padding: 10px !important;
	height: auto !important;
}
/*画像*/
.list figure {
	float: left;	/*左に回り込み*/
	width: 15%;		/*画像幅*/
	margin-right: 10px;
}



/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){

/*全体の設定
---------------------------------------------------------------------------*/
body {
	font-size: 12px;	/*文字サイズ*/
	line-height: 1.5;		/*行間*/
}

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ロゴ画像*/
header #logo {
	width: 200px;	/*ロゴ画像の幅*/
	margin-top: 35px; /*ロゴの上にあける余白*/
}

/*Cast用の各ブロック
---------------------------------------------------------------------------*/
.list figure {
	width: 30%;	/*画像幅*/
}

/*スタッフ詳細ページ　staff.html
---------------------------------------------------------------------------*/
/*左側ボックス、右側ボックス*/
#main .staff .left,
#main .staff .right {
	float: none;
	width: auto;
}
#main .left {
	text-align: center;
}
#main .left figure img {
	width: 70%;	/*写真を少しだけ小さくする。この行を削除すると幅一杯になる。*/
}

/*sub,sideコンテンツ内のメニュー
---------------------------------------------------------------------------*/
/*メニュー１個ごとの設定*/
#sub ul.submenu li,
#side ul.submenu li {
	width: auto;
	float: none;
}
/*偶数番目のメニューの左のラインを戻す設定*/
#sub ul.submenu li:nth-child(even) a,
#side ul.submenu li:nth-child(even) a {
	border-left: 1px solid #ccc;
}

/*sub,sideコンテンツ内のメニュー
---------------------------------------------------------------------------*/
#sub ul.submenu li a,
#side ul.submenu li a{
	padding: 10px;	/*メニュー内の余白*/
}

/*list-subボックス
---------------------------------------------------------------------------*/
/*ボックス１個あたりの設定*/
.list-sub {
	font-size: 12px;	/*文字サイズ*/
	line-height: 1.5;	/*行間*/
}

/*フッターメニュー
---------------------------------------------------------------------------*/
/*ボックス全体*/
#footermenu {
	display: none;
}



/*その他
---------------------------------------------------------------------------*/
.ws,.wl {width: 94%;}
img.fr,img.fl {float: none;margin: 0;width: 100%;}
.fl-half{float:none;width:100%;margin-left:0;}

}
