/* hofu-hoyoin Document */
/* ----------------------------------------- */
/* レイアウト（ページ全般で使用）            */
/* ----------------------------------------- */

@media screen and (min-width : 468px){
    main article {
	    float:none;
	    width:96%;
    }
   aside {
	    display: none;
    }
    #top main article {
	    float:left;
	    width:72%;
    }
   #top aside {
	    display:inherit;
    }
}
@media screen and (min-width : 1100px){
    main article {
	    float:left;
	    width:72%;
    }
   aside {
	    display:inherit;
    }
}

header h1 { /* ヘッダーH1タイトル */
	font-size:86%;
	color:#333;
	text-align:left;
    padding-top:8px;
    padding-left:10px;
	z-index:5;
}

#titleLogo a { /* タイトルロゴ */
    display: block;
    margin:10px 0 0 30px;
}

/* page title */
#p_title {
    width:100%;
	height:130px;
    margin:36px 0 0 0;
    vertical-align: top;
    background-color: #fff;
	background-position:top left;
	background-repeat: no-repeat;
    text-shadow: 2px 2px 1px #fff,
    -2px 2px 1px #fff,
    2px -2px 1px #fff,
    -2px -2px 1px #fff;
}
#p_title h2 {
	padding:80px 20px 0 0;
    text-align:right;
	color:#2D2C2C;
    border:none;
}
#p_title.p00 { background-image:url(../images/h2_backimg00.jpg); }
/*#p_title.p00 h2 { background:#d9b0bf; }*/
#p_title.p01 { background-image:url(../images/h2_backimg01.jpg); }
/*#p_title.p01 h2 { background:#98BBF0; }*/
#p_title.p03 { background-image:url(../images/h2_backimg03.jpg); }
/*#p_title.p03 h2 { background:#FBDADA; }*/
#p_title.p05 { background-image:url(../images/h2_backimg05.jpg); }
/*#p_title.p06 h2 { background:#FBDADA; }*/
#p_title.p06 { background-image:url(../images/h2_backimg06.jpg); }
#p_title.p07 { background-image:url(../images/h2_backimg07-2.jpg); }


/* サイドバナー */
#side_bn { 
	margin:10px;
}
#side_bn a:hover {
	color:#FC3;
	filter:alpha(opacity=85);
	opacity:0.85; white-space:nowrap;
}

/* フッターバナー */
#footer_bn { 
	width:200px;
	height:50px;
	position:absolute;
	top:30px;
	right:60px;
}
#footer_bn a:hover {
	color:#FC3;
	filter:alpha(opacity=85);
	opacity:0.85; white-space:nowrap;
}

/*コンテンツサイド用タイトル */
aside #p_title_v {
    width:100%;
    height:250px;
    -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
}
aside #p_title_v h2 {
    width:230px;
	margin:20px 95px 0;
	color:#2D2C2C;
}

/* フッター情報 //////////////////////// */

tel a {
    color:#CFCEE8;
}

.contact {
	height:auto;
	text-align:left;
	line-height:1.35;
	margin:0 0 0 25px;
	padding:20px 0 10px 10px;
	font-size:92%;
}
.contact h5 {
	color:#fff;
    margin:0;
	padding:0 0 5px 0;
	font-size:1.1em;
}
.contact p {
	margin:0;
	padding:0;
	line-height:1.3;
}

.copyright { /* コピーライト */
	margin:0 auto;
	padding:0;
	clear:both;
	font-size:82%;
	letter-spacing:0;
	color:#2B5786;
	text-align:center;
}

/* ----------------------------------------- */
/* ページコンテンツ装飾（内容）              */
/* ----------------------------------------- */

.strong { /* 太字 */
  font-size:110%;
}

.red { /* 赤文字 */
  color:red;
}
.d_red { /* 紅色文字 */
  color:#992b2b;
}
.green { /* 緑文字 */
  color:green;
}
.darkgreen { /* 深緑文字 */
  color:#143018;
}

.blue { /* 青文字 */
  color:#366C97;
}

.orange { /* 橙文字 */
	color:#F90;
}

.txt_s { /* テキスト（小） */
	font-size: 70%;
	padding: 0 10px 3px 0;
}
.txt_ms { /* テキスト（やや小） */
  font-size: 86%;
  padding: 0 10px 3px 0;
}
.txt_m { /* テキスト(中) */
	font-size:118%;
} 
.txt_l { font-size:140%; } /* テキスト(大) */

/* 回り込み解除 */
.clear { clear:both; }

/* テキスト右寄せ */
.t_left {
	text-align:left !important;
}
/* テキスト右寄せ */
.t_right {
	text-align:right !important;
}
/* テキスト中央寄せ */
.t_center {
	text-align:center !important;
}
/* アンダーライン */
.u_line { border-bottom:#C00 1px solid; }

/* 枠 */
.frame {
	border:2px solid #f7b2b2;
	background:#fff;
	padding:8px 10px;
	margin:5px 35px 15px 15px;
	font-weight:bold;
	line-height:1.5;
}
/* 枠 */
.frame2 {
	border:1px solid #363;
	background:#fff;
	padding:8px;
	margin:5px 35px 15px 15px;
	line-height:1.2;
}

.txt_waku2 { /* 注意表記（赤枠つき）【div】 */
	color:#594b49;
	border:1px solid #ffe4e1; /* 枠色 LavenderBlush */
	background-color:#fff0f5; /* 背景色 misty rose */
	margin:15px 32px 15px 26px; padding:10px;
	line-height:1.6;
}

/* 反転文字 */
.txt_red {
	background:#F00;
	color:#FF6;
	padding:5px 10px;
}

/* ----------------------------------------- */
/* 装飾（H1〜H6）の書式設定                  */
/* ----------------------------------------- */
h1 {
	margin:0;
	padding:0;
}

h2 {
	font-size:1.8em;
	margin:5px 0;
	padding:10px 0 0 0;
	text-align:left;
	letter-spacing:5px;
	line-height:1.65;
	color:#30437F;
}

h3 {
	font-size:1.5em;
	letter-spacing:3px;
	line-height:1.5;
	margin:20px 0;
	padding:5px 0 2px 10px;
	/*color:#055FAA;*/
    color:#680d45;
    color:#314452;
    border-left:5px solid #680d45;
    border-left:5px solid #314452;
    /*background:url(../material/h3_back.png) 0 0 no-repeat;*/
}

h4 {
	font-size:1.2em;
	margin:25px 10px 5px 0px;
	/*color:#F63;*/
    color:#bc0a77;
}

h5 {
	font-size:1.1em;
	padding:10px 0 0 0;
	margin:0 0 0 15px;
	/*color:#F93;*/
}

/* ----------------------------------------- */
/* テーブル装飾                              */
/* ----------------------------------------- */

/* ノーマル・テーブルコンテンツ ///// */
table.normal { 
	margin:5px 0 10px 20px;
	line-height:1.45;
}
.normal td, .normal th { /* ノーマル */
	text-align:left;
	padding:5px;
	vertical-align:top;
}

caption {
    text-align:left;
    /*white-space:nowrap;*/
}

/* フォト・テーブルコンテンツ ///// */
table.photo {
    width:92%;
	margin:5px 0 10px 10px;
	line-height:1.45;
}
.photo td, .photo th {
    width:32%;
	padding:5px;
	vertical-align:top;
}
@media only screen and (min-width: 1200px) {
table.photo {
	max-width:1200px;
}
.photo td, .photo th {
    width:32%;
	padding:5px;
	vertical-align:top;
}
}
/* ライン付きテーブルコンテンツ (０)  //// */

table.cont0 { /* 枠つき・テーブルコンテンツ(table) */
  margin:6px 0 6px 10px;
  line-height:1.45;
  border-collapse:separate;
}
.cont0 td { /* クラスcont0設定 (td) 全般 */
  padding:5px 10px 5px 10px;
  vertical-align:middle;
  border-top: 1px solid #FFFFFF;
  border-right: 1px solid #61ADED;
  border-bottom: 1px solid #61ADED;
  border-left: 1px solid #FFFFFF;
  background:#E5F1F9;
  color:#4D2E33;
} 
.cont0 th { /* クラスcont0設定 (th) 全般 */
  padding:5px 6px 5px 12px;
  vertical-align:middle;
  border-top: 1px solid #FFFFFF;
  border-right: 1px solid #61ADED;
  border-bottom: 1px solid #61ADED;
  border-left: 1px solid #FFFFFF;
  background:#B0D1E0;
  color:#00244D;
  font-size:100%;
  font-weight:normal;
  text-align:left;
  letter-spacing:5px;
} 
.cont0 td.cont0 { /* クラスcont0設定 (td) */
  text-align:center;
  border-right: 1px solid #C2B5AB;
  border-bottom: 1px solid #C2B5AB;
  background:#FAF2F0;
  color:#3896D6;
}

.cont0 td.not { /* クラスnot設定 ラインなし(td) */
  border:none;
  background:none;
  color:#3896D6;
}

/* ライン付きテーブルコンテンツ (１)  //// */

table.cont1 { /* ライン付き(table) */
	margin:6px 0 6px 10px;
	line-height:1.45;
	border-collapse: collapse;
}

.cont1 td { /* ライン付き(td) */
	border: 1px solid #71838d;
	padding:5px;
	line-height:1.45;
	background-color:#f0faff;
}

.cont1 th { /* ライン付き(th) */
	font-size:100%;
	color:#fff;
    background:#3E87BD;
	border: 1px solid #71838d;
    border-right:1px solid #f0faff;
	padding:5px 2px;
    font-weight:normal;
	text-align:center;
}
.cont1 th.lst {
    border-right: 1px solid #71838d;
}
.cont1 .t0 { /* 項目タイトル */
	font-weight:bold;
	text-align:left;
	padding:5px 6px 5px 6px;
	vertical-align:middle;
}
td.cont1-t { /* ライン付きテーブルコンテンツ (１)- タイトル用 */
	font-weight:bold;
	border: 1px solid #71838d; 
	padding:3px;
	background-color:#3E87BD;
	color: #ffffff;
	vertical-align:top;
	text-align:center;
	letter-spacing:2px;
}

td.cont1-g { /* ライン付きテーブルコンテンツ (１)- 緑 */
	border: 1px solid #9a9; 
	padding:5px;
	background-color:#f6fffb;
	color: #117a11;
	text-align:center;  
}

/* アンダーライン型テーブル装飾 //////// */

table.cont-u { /* 下ライン付き(table) */
    width:94%;
	margin:8px 10px 20px 12px;
	border:none; 
	border-collapse: collapse;
	line-height:1.5;
}
.cont-u td { /* 下ライン付き(td) */
	vertical-align:top;
	border-bottom: 1px dotted #406081; 
	padding:6px 3px 5px 12px;
	/*font-family: monospace,"ＭＳ ゴシック","Osaka−等幅";*/
	letter-spacing:1px;
}
.cont-u th {
	vertical-align:top;
	text-align:left;
	padding:5px 8px 0 12px;
	letter-spacing:1px;
	font-weight:normal;
	border-bottom: 1px dotted #8b7d6b;
	/*background:#BBD6EF;*/
}
.cont-u .en {
	font-family:Arial, Helvetica, sans-serif;
}
.cont-u ul {
	margin-left:0;
}

/* ライン付きテーブルコンテンツ (2)  //// */

table.cont2 { /* 枠つき・テーブルコンテンツ(table) */
	margin:6px 0px 6px 10px;
	line-height:1.45;
	border-collapse:separate;
  
}
.cont2 td { /* クラスcont0設定 (td) 全般 */
	font-size:100%;
	text-align:center;
	padding:5px 8px;
	border-right: 1px solid #71838d;
	border-bottom: 1px solid #71838d;
	background:#eff5fc;
	color:#3896D6;
    color:#2c4965;
} 
.cont2 th { /* 表題 クラスcont0設定 (th)  */
	font-size:105%;
	text-align:center;
	padding:5px;
	vertical-align:middle;
	border-top: 1px solid #FFFFFF;
	border-right: 1px solid #71838d;
	border-bottom: 1px solid #71838d;
	border-left: 1px solid #FFFFFF;
	background:#b0bdc8;
	color:#00244D;
	letter-spacing:0;
} 
.cont2 td.t0 { /* 項目タイトル */
	font-size:110%;
	font-weight:bold;
	text-align:left;
	padding:5px 10px 5px 10px;
	vertical-align:middle;
	border-top: 1px solid #FFFFFF;
	border-right: 1px solid #71838d;
	border-bottom: 1px solid #71838d;
	border-left: 1px solid #FFFFFF;
	background:#e0ebf4;
    font-weight:normal;
	color:#000;
}

.t_middle td {
    vertical-align: middle;
    text-align:center;
}
.t_program {
    width:90%;
    min-width:800px;
}

/* ----------------------------------------- */
/* イメージ書式設定                          */
/* ----------------------------------------- */

.img_n { /* 写真(枠付き) */
	margin:8px 0 8px 10px;
	border:1px solid #aaa;
}
a:hover .img_n {
	border:1px solid #FF0000;
}

.img_n0 { /* 写真(枠なし) */
	margin:8px 0 8px 5px;
	border:none;
}
.img_n1 { /* 写真(枠あり・横間隔小) */
    max-width: 100%;
    height: auto;
	margin:0 5px 1px 0;
	border:1px solid #aaa;
}
.img_n2 { /* 写真(枠あり・横縦間隔なし) */
	margin:0 5px 3px 0;
	border:1px solid #aaa;
}

.img_n3 { /* 写真(枠なし・横縦間隔なし) */
	margin:0 5px 3px 0;
	border:none;
}

.img_l { /* 写真のテキスト回り込み（左） */
 	float:left;
  	margin:0 20px 10px 10px;
}

.img_r { /* 写真のテキスト回り込み（右） */
    max-width: 100%;
    height: auto;
 	float:right;
  	margin:0 10px 20px 20px;
}

.img_mid { /* イメージ中央揃え */ 
	vertical-align:middle;
}

/* ----------------------------------------- */
/* 印刷時の処理                             */
/* ----------------------------------------- */

@media print { 
    main article {
	    float:none;
	    width:99%;
    }
    aside,
    #TopMenu,
    #headerMenu,
    #sp-icon {
	    display: none !important;
    }
    header {
        height:auto;
    }
    body, header, main {
        background: none;
    }
    #titleLogo {
        height:auto;
    }
    #titleLogo a {
        margin:10px 0 0 10px;
    }
    #contactCall {}
    #p_title {
        height:auto;
        margin:0;
    }
    #p_title h2 {}
    #c03, #c04, #c05, #c06, #c07, #c10 {
        page-break-after: always;
    }
}

/* ----------------------------------------- */
/* その他                                    */
/* ----------------------------------------- */

/* アクセスマップ */
.accessmap {
	width:85%;
	height:auto !important;
	min-height:420px;
	margin:6px 0 6px 15px;
}
.accessmap img {
    max-width: 100%;
    height: auto;
}
#map1 {
    width:840px;
    height:600px;
}
.accessRoot {
    margin:5px 10px 10px 8px;
}

/* お問い合せ電話番号 */
#contactCall {
	position: absolute;
	top: 38px;
	right: 25px;
	width: 250px;
	height: 65x;
    z-index: 10;
}

/* リストの罫線（施設基準用） */
ul.bline {
	width:95%;
	margin:0;
	padding:4px 0 15px 4px;
}
.bline li {
	border-bottom:1px dotted #555;
	list-style-type:none;
	margin:5px 0 10px 15px;
	padding:3px;
	line-height: 1.2;
}

/* 採用 - 募集職種リスト */
#recruit ul {
    margin-left:10px;
}
#recruit li {
    font-size:110%;
}

/* Contact Form ////// */
#contactForm {
    width:96%;
}
#contactForm label {
    padding-right:8px;
}
#contactForm input, #contactForm textarea {
    margin:3px 0 6px 0;
    font-size:1.1em;
    padding:5px 6px;
}
#contactForm textarea {
    width:90%;
    height:100px;
    resize:vertical;
}
#contactForm h5 {
    padding:6px 0 0 0;
}
#contactForm p {
    margin:3px 8px;
}

/* topics photo */
figure {
    display: inline-block;
    margin:0 8px 5px 0;
    padding:0;
}
figure img {
    display: block;
    margin:3px !important;
}
figcaption {
    font-size:94%;
}

/*  gallery list */
.gallery_list {
	clear:left;
	margin:0;
	padding:15px 0;
	list-style:none;
	text-align:left;
	width:100%;
}
.gallery_list:after { /* floatボックスの後処理 */
    content: "";
    display: block;
    clear: both;
    height:0;
    overflow: hidden;
}
.gallery_list img {
    max-width:inherit !important;
}
.gallery_list ul {
	width:100%;	
	margin:0 auto;
}
.gallery_list li {
	/*width:250px;*/
	height:auto;
	list-style-type:none;
	float:left;
	margin:0 10px 10px 0;
	padding:0;
}
.gallery_list li a {
	display:inline-block;
    height: 150px;
	padding:0;
	margin:0;
	line-height:1.4;
	text-align:center;
	/* overflow:hidden; */
}
.gallery_list li div {
    text-align: center;
    font-size: 90%;
    letter-spacing: 0;
} 
.gallery_list li a img {
   /* width:100%;
    max-width: 100%;
    height: auto; */
    height: 100%;
 	border: 1px solid #999;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}
.gallery_list li a:hover {
	/* border: 1px solid red; */
	filter:alpha(opacity=85);
	opacity:0.85; white-space:nowrap;
}

/* 三段組のレイアウト */
.column3 {
    display: grid;
  	grid-template-columns: minmax(200px, 32%) minmax(200px, 32%) minmax(200px, 32%);
  	grid-template-rows: auto auto auto;
    grid-gap: .8em .5em; 
    margin:0;
    padding:0;
}

.costs td {
    text-align: left !important;
}