/*
 Theme Name: taihoukai
 Description: taihoukai
 Author: WebScale
 Author URI: https://www.w-scale.com
 Version: 1.0
*/

body {
	height: 100%;
}

*{
	margin:0;
	padding:0;
}

a {
	display: block;
}

#header,
#container,
#footer {
	width: 100%;
	min-width: 1200px;
	text-align: center;
}

.inner {
	width: 1200px;
	margin: 0 auto;
}

#header {
	width: 100%;
	height: 170px;
	position: fixed;
	top: 0;
	left: 0;
	background-color: #e4e2a6;
	z-index: 1001;
}

#header .inner {
	margin-top: 30px;
}

#header p.title {
	margin-top: -10px;
}

#header p.title img{
	width: 30%;
	max-width: 350px;
}

#nav-toggle {
	display : block;
	position: fixed;
	z-index : 1002;
	right : 32px;
	top   : 32px;
	width : 52px;
	height: 52px;
	cursor: pointer;
	text-align: center;
	background-color: #ffffff;
	border: 2px solid #000000;
	border-radius: 50%;
}

#nav-toggle span {
	display : block;
	position: absolute;
	width   : 30px;
	height  : 2px ;
	left    : 10px;
	background : #555;
	-webkit-transition: 0.5s all;
	-moz-transition   : 0.5s all;
	transition        : 0.5s all;
}

#nav-toggle span:nth-child(1) {
	top	: 20px;
}

#nav-toggle span:nth-child(2) {
	top: 30px;
}

.open #nav-toggle span:nth-child(1) {
	top : 25px;
	left: 14px;
	width: 24px;
	-webkit-transform: rotate(-45deg);
	-moz-transform   : rotate(-45deg);
	transform        : rotate(-45deg);
}


.open #nav-toggle span:nth-child(2) {
	top: 25px;
	left:14px;
	width: 24px;
	-webkit-transform: rotate(45deg);
	-moz-transform   : rotate(45deg);
	transform        : rotate(45deg);
}

#nav-toggle::after {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	content: '';
	width: 52px;
	height: 52px;
	margin: -28px 0 0 -28px;
	border-radius: 50%;
	border: 2px solid rgba(0, 0, 0, 0);
	transition: all .75s;
}

.open #nav-toggle::after {
	border: 2px solid #555;
}

#nav-menu {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1001;
	width: 100%;
	height: 100vh;
	background: #e4e2a6;
	color: #000000;
	text-align: center;
	transform: translateX(100%);
	transition: all 0.6s;
	overflow-y: auto;
	-webkit-overflow-scrolling:touch;
}

#nav-menu-inner {
	margin-top: 10vh;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
}

#nav-menu-inner ul {
	width: 50%;
	list-style: none;
}

#nav-menu-inner ul li {
	font-size: 2em;
	line-height: 1em;
	padding: 30px 0;
}

#nav-menu-inner ul li span {
	font-size: 0.5em;
}

#nav-menu-inner ul li a {
	text-decoration: none;
	color: #000000;
}

#nav-menu-inner .menu-info {
	width: 40%;
	font-size: 1.3em;
}

#nav-menu-inner .menu-info img {
	width: 96%;
}

.open #nav-menu {
	transform: translateX(0%);
}

#container {
	margin-top: 180px;
}

#footer {
	width: 100%;
	background-color: #e4e2a6;
	color: #676159;
}

#footer iframe {
	width: 100%;
	height: 250px;
	margin-top: 10px;
}

#footer #menu {
	width: 100%;
	text-align: center;
}

#footer #menu ul {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	padding: 0;
}

#footer #menu ul li {
	width: 15%;
	margin: 0.5%;
	padding: 10px 0px;
	background-color: #8c8479;
	list-style: none;
	border-radius: 5px;
}

#footer #menu ul li a {
	text-decoration: none;
	color: #ffffff;
}

/* フッター上へ */
#to-top {
	position: fixed;
	width: 60px;
	height: 45px;
	padding-top: 15px;
	text-align: center;
	bottom: 50px;
	right: 10px;
	color: #ffffff;
	background-color: rgba(0,0,0,.8);
	border: 3px solid #ffffff;
	border-radius: 50%;
	z-index: 1000;
}

#to-top img {
	width: 50%;
	max-width: 100%;
	height: auto;
}

#to-top a {
	color: #722f03;
	width: 100px;
	text-align: center;
	display: block;
	border-radius: 5px;
}

#to-top a:hover {
}

.clearfix:after {/* clearfix */
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

.clearfix{/* clearfix for ie7 */
	display: inline-block;
}

.clearfix {
	display: block;
}

h1 {
	font-size: 0.8em;
	text-align: left;
	color: #676159;
}

h2 {
	position: relative;
	text-align: center;
	border: 3px solid #000;
}

h2:before,
h2:after {
	position: absolute;
	content: '';
}

h2:before {
	top: 4px;
	left: 4px;
	width: calc(100% - 8px);
	height: calc(100% - 8px);
	background: #422E05;
}

h2 span {
	position: relative;
	display: block;
	padding: 1rem;
	letter-spacing: .05em;
	color: #fff;
}

h2 span:before,
h2 span:after {
	position: absolute;
	left: 10px;
	width: calc(100% - 20px);
	height: 2px;
	content: '';
	background: #422E05;
}

h2 span:before {
	top: 15px;
}

h2 span:after {
	bottom: 15px;
}


h3 {
	position: relative;
	overflow: hidden;
	padding: 1rem 10px 1rem 135px;
	border: 2px solid #d2c59c;
	border-radius: 15px;
	font-size: 1.4em;
	background: #ffffff;
	margin-top: 50px;
	margin-bottom: 10px;
}

h3:before {
	position: absolute;
	top: -150%;
	left: -50px;
	width: 200px;
	height: 300%;
	content: '';
	-webkit-transform: rotate(25deg);
	transform: rotate(25deg);
	background: #d2c59c;
}

h3 span {
	font-size: 1.6em;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	display: block;
	padding-top: 10px;
	padding-left: 16px;
	color: #603720;
	text-align: center;
}
/*リスト*/
ul {
	padding: 0;
}

ul li {
	list-style: none;
}

.post-list h3,
.post-list-more h3,
.entry h3  {
	padding: 1rem 100px 1rem 130px;
}

.post-list h3:before,
.post-list-more h3:before,
.entry h3:before  {
	width: 500px;
	transform: rotate(30deg);
	top: -80%;
	left: -90px;
}

.post-list h3 span,
.post-list-more h3 span,
.entry h3 span {
	font-size: 1.2em;
	padding-top: 18px;
}


/*記事一覧（アーカイブページ）*/
.post-list-more {
	margin: auto;
}

.post-list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	width: 80%;
	margin: auto 10%;
}

.post-list h3 {
	width: 100%;
}

.post-list div {
	width: 31%;
	height: 300px;
	margin: 1% 0.72%;
	border: 1px solid #000000;
	border-radius: 5px;
	background: #ffffff;
	overflow: hidden;
	padding: 3px;
	text-align: center;
}

.post-list p {
	background-image: linear-gradient(90deg, rgba(237, 119, 128, 0) 0%, rgba(237, 119, 128, 0) 50%, #fff 0%, #fff 100%), linear-gradient(180deg, rgba(100, 100, 100, 0) 0%, rgba(100, 100, 100, 0) 97.5%, #646464 100%);
	background-size: 8px 100%,100% 2em;
	line-height: 2em;
	padding: 0 1em 0.2em 1em;
}

.post-list p a {
	color: #000000;
	text-decoration: none;
	font-weight: bold;
}

.post-list p a.moreread {
	text-decoration: none;
	border: 1px solid #000000;
	padding: 0px 10px;
	background: gray;
	border-radius: 5px;
	text-align: right;
	color: #ffffff;
}

/*ページング*/
.paging {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.paging div {
	width: 150px;
	margin: 0 20px;
	border: 1px solid #000000;
	padding: 10px;
	background: #ffffff;
}

.paging .prev:before {
	content: '←';
}

.paging .next:after {
	content: '→';
}

/*フォームパーツ*/
.contact-form table {
	width: 80%;
	margin: auto;
	border-collapse: separate;
	border-spacing: 30px 20px;
	text-align: left;
}

.contact-form table th {
	text-align: right;
}

button {
	padding: 10px 20px;
	font-size: 1em;
	border: 1px solid #000000;
	border-radius: 5px;
	background: gray;
	color: #ffffff;
}

select {
	padding: 10px 20px;
	font-size: 1em;
	border: 1px solid #000000;
	border-radius: 5px;
	color: #000000;
}

input {
	padding: 10px 20px;
	font-size: 1em;
	border: 1px solid #000000;
	border-radius: 5px;
	color: #000000;
}

form.post_password {
	font-size: 1.3em;
}

.post_password input {
	padding: 10px 0;
}

/* トップページ */
#institution-list {
	width: 100%;
	min-width: 100%;
	height: calc( 50vw * 0.6666 );
	margin-top: -45px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	position: relative;
	z-index: 100;
}

#institution-list a {
	text-decoration: none;
	color: red;
}

.institution.aritama,
.institution.h-mikata {
	width: 50%;
	height: calc( 50vw * 0.6666 );
	background-size: cover;
}

.institution-inner {
	width: 100%;
	height: 100%;
}

.institution.aritama {
	background-image: url(img/banner_aritama.jpg);
}

.institution.h-mikata {
	background-image: url(img/banner_h-mikata.jpg);
}

.institution p {
	padding-top: calc( 50vw * 0.3333 );
	text-align: center;
}

.banner-title {
	font-size: 2em;
	color: #5a3f1b;
	border: 4px double #ffffff;
	background-color: rgb(255,255,255,0.6);
	padding: 0 10px;
	height: 1.2em;
}

.institution-cover {
	pointer-events:none;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: 102;
	display: flex;
	align-items: center;
	justify-content: center;
}

.institution-cover img {
	height: 100%;
	width: auto;
	max-height: 400px;
}

#top-contents {
	width: 100%;
	background-color: #f7f3ed;
	color: #8c8479;
	min-height: 80px;
	padding: 20px 0;
	font-size: 1.2em;
	font-weight: bold;
	line-height: 2em;
}


/* ブログ・お知らせ */
#blog ul,
#news ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

#blog ul li,
#news ul li {
	width: 23.7%;
	height: 250px;
	margin: 1%;
	border: 1px solid #000000;
	border-radius: 5px;
	background: #ffffff;
}

#blog p.more,
#news p.more {
	float: right;
	width: 100px;
	text-align: center;
	background: #ffffff;
	padding: 10px;
	border: 1px solid #000000;
	border-radius: 3em .7em 2em .7em/.7em 2em .7em 3em;
}

p.more a {
	text-decoration: none;
}

#news ul li p {
	background-image: linear-gradient(90deg, rgba(237, 119, 128, 0) 0%, rgba(237, 119, 128, 0) 50%, #fff 0%, #fff 100%), linear-gradient(180deg, rgba(100, 100, 100, 0) 0%, rgba(100, 100, 100, 0) 97.5%, #646464 100%);
	background-size: 8px 100%,100% 2em;
	line-height: 2em;
	padding: 0 1em 0.2em 1em;
}

#news ul li p a.moreread {
	text-decoration: none;
	border: 1px solid #000000;
	padding: 0px 10px;
	background: gray;
	border-radius: 5px;
	text-align: right;
	color: #ffffff;
}

#blog img {
	width: 90%;
	max-width: 100%;
}

.photo-list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.photo-list div {
	width: 30%;
	margin: 1%;
}

.photo-list div img {
	width: 100%;
	max-width: 100%;
	height: auto;
}


/*個別ページ・個別投稿スタイル*/
.page,
.entry {
	width: 100%;
	padding: 40px 0;
	line-height: 2em;
}

/*法人の概要*/
.info table {
	width: 80%;
	margin: 30px auto;
} 

.info table th,
.info table td {
	border: 1px solid #333333;
	padding: 10px 0;
	background: #ffffff;
}

.info table th {
	background-color: #e2e3e1;
	width: 28%;
}

.info table td {
	width: 68%;
}

.photo-list.shisetsu {
}

/*情報開示*/
.kaiji-list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.kaiji-list div {
	width: 30%;
	margin: 1.2%;
	border: 1px solid #000000;
	padding: 10px 0;
}

/*苦情解決*/
.complaint table {
	width: 80%;
	margin: 30px auto;
} 

.complaint table th,
.complaint table td {
	border: 1px solid #333333;
	padding: 10px 0;
	background: #ffffff;
}

.complaint table th {
	background-color: #e2e3e1;
	width: 28%;
}

.complaint table td {
	width: 68%;
}

/*個人情報保護*/
.policy {
	width: 80%;
	margin: auto;
}

.policy p {
	padding-left: 150px;
	text-align: left;
}

/*書類ダウンロード*/
.download .download-files {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.download .download-files div {
	width: 40%;
	margin: 1%;
}

/*採用情報*/
.recruitentry h3 {
	margin-top: 0;
}

.recruitentry #entry-list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.recruitentry #entry-list div {
	width: 48%;
	margin: 10px 1%;
	height: 700px;
	margin-bottom: 50px;
}

.recruitentry #entry-list iframe {
	width: 100%;
	height: 90%;
}

.recruitentry #entry-list a {
	text-decoration: none;
	color: #000000;
	background-color: #e2e3e1;
	padding: 10px;
	border-radius: 5px;
}

.recruitentry ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
} 

.recruitentry ul li {
	width: 14%;
	margin: 1%;
	border: 2px solid #000000;
	padding: 20px 0;
	border-radius: 10px;
	background: #ffffff;
}

.recruitentry ul li a {
	text-decoration: none;
}

.recruitentry ul li:before {
	content: '▼';
}

.recruit table {
	width: 80%;
	margin: 30px auto;
} 

.recruit table th,
.recruit table td {
	border: 1px solid #333333;
	padding: 10px 0;
	background: #ffffff;
}

.recruit table th {
	background-color: #e1e3ce;
	width: 28%;
}

.recruit table td {
	width: 68%;
}

#to-contactform {
	display: inline-block;
	padding: 20px;
	border: 2px solid #000000;
	border-radius: 10px;
	margin: 10px 0;
	background: #ffffff;
}

#to-contactform a {
	text-decoration: none;
	color: #000000;
}



/*職員専用ページメニュー*/
#staff-menu {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
}

#staff-menu .icon,
#staff-menu .icon,
#staff-menu .icon {
	width: 40%;
	margin :0 5% 50px 5%;
	border-radius: 10px;
}

#staff-menu #document.icon {
	background-color: #837566;
}

#staff-menu #ins-info.icon {
	background-color: #dbc0a4;
}

#staff-menu #app-form.icon {
	background-color: #abbec4;
}

#staff-menu .icon a {
	text-decoration: none;
	color: #ffffff;
	padding-top: 1.5em;
}

#staff-menu .icon p {
	width :100%;
	margin-top: 1em;
}

#staff-menu .icon p.icon-title {
	font-size: 3em;
	color: #ffffff;
	text-align: center;
}

/*全職員投稿ページ*/
.entry .staff-only {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	text-align: left;
}

.entry .staff-only p {
	width: 100%;
}

.entry .staff-only div {
	width: 28%;
	margin-right: 2%;
}

.entry .staff-only object {
	width: 60%;
	height: 600px;
}

/*施設別職員投稿ページ*/
.entry .staff-contact {
	width:  80%;
	margin: 50px auto;
	border: 1px solid #000000;
	border-radius: 15px;
	padding: 20px 2%;
}

.entry .staff-contact p {
	background-image: linear-gradient(90deg, rgba(237, 119, 128, 0) 0%, rgba(237, 119, 128, 0) 50%, #fff 0%, #fff 100%), linear-gradient(180deg, rgba(100, 100, 100, 0) 0%, rgba(100, 100, 100, 0) 97.5%, #646464 100%);
	background-size: 8px 100%,100% 2em;
	line-height: 2em;
	padding: 0 1em 0.2em 1em;
}

/*全職員アーカイブページ*/
#rule.post-list div {
	width: 22%;
}

/*施設別職員アーカイブページ*/
.page.ins-staff-only {
	width: 80%;
	margin: auto;
}
