
/* CSS Document */

/*==================================================

top-contents
=================================================*/

table.gr th{
	border-bottom:1px solid #04a160;
	width: 200px;
	font-weight: 400;
	white-space: nowrap;
}

article .inner{
	margin: 6% auto;
}

h3.catch{
	text-align: center;
	font-family: 'Noto Serif JP', serif;
	position: relative;
	padding: 20px;
	margin-bottom: 5%;
}
h3.title{
	text-align: center;
	position: relative;
	padding: 0;
	margin-bottom: 5%;
	font-size: 2.6rem;
    display: flex;
    align-items: center;
}
h3.title:before,
h3.title:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #666;
}
 
h3.title:before {
    margin-right: 1rem;
}
 
h3.title:after {
    margin-left: 1rem;
}
h4{
	margin: 8% auto 5%;
	text-align: left;
	padding: 5px 10px;
	font-weight: 500;
	font-size: 2.0rem;
	/*border-bottom: 1px solid #2e1c15;*/
}
h5{
	text-align: center;
	font-family: 'Noto Serif JP', serif;
	position: relative;
	margin-bottom: 3%;
	color: #ea5724;
	font-weight: 400;
}

.Omoi{
	margin: 0 auto 8%;
	max-width: 980px;
}
.Omoi .Photo{
	width: 50%;
	padding: 0 20px 0 0;
}
.Omoi .Txt{
	width: 50%;
	padding: 0 0 0 20px;
}


.Historywaku{
	margin: 3% auto;
	background: #fff;
	border: 1px solid #dfdfdf;
	padding: 50px 30px;
	position: relative;
	max-width: 980px;
}

.Historywaku .year{
	position: absolute;
	top: -20px;
	left: 5%;
	font-size: 2.4rem;
	font-family: 'Noto Serif JP', serif;
	font-weight: 400;
}

.Historywaku .Photo{
	width: 30%;
}
.Historywaku .Txt{
	width: 70%;
	padding-left: 30px;
}
.Historywaku h4{
	font-family: 'Noto Serif JP', serif;
	margin-bottom: 5%;
	font-weight: 400;
}
.Historywaku h4 .dai{
	color: #ea5724;
}

.outline .Flexboxtitle,
.access .Flexboxtitle{
	display: flex;
	align-items: center;
}
.outline .Flexboxtitle .ico,
.access .Flexboxtitle .ico{
	padding: 0px 20px 0 30px;
}
.outline .Flexboxtitle .ico img,
.access .Flexboxtitle .ico img{
	width: 60px;
}
.outline .Flexboxtitle h4,
.access .Flexboxtitle h4{
	line-height: 1.6em;
	font-weight: 400;
}
.outline .Flexboxtitle span,
.access .Flexboxtitle span{
	color: #04a160;
	font-family: 'Tajawal', sans-serif;
	display: block;
	font-weight: 300;
	line-height: 1.2em;
	font-size: 1.8rem;
}
.access p{
	padding: 2% 0 0 0;
}
.access .map{
	width: 100%;
	margin: 2% auto;
}

/*
.message h4{
	padding: 10px 10px;
	margin: 4% auto 0;
	font-family: 'Noto Serif JP', serif;
	font-weight: 400;
	color: #04a160;
}*/
.message p{
	padding: 20px;
}
.message .signsp{
	display: none;
}
.message .sign{
	margin: 5% 0 3% auto;
	text-align: right;
}
.message .sign img{
	width: 250px;
}
.message .Txt{
	width: 60%;
	order: 2;
}
.message .Photo{
	width: 40%;
	padding: 30px;
	order: 1;
}
.message .photoback{
	padding: 0 40% 0 0;
	background: url("../img/company/c_img_greeting02.png") right bottom no-repeat;
	background-size: 40%;
}

.staffleft,
.staffright{
	margin: 2% auto;
	background: #fff;
	max-width: 1600px;
	position: relative;
}
.staffleft .Photo{
	width: 50%;
}
.staffleft .Txt{
	width: 50%;
	padding: 20px;
	display: flex;
	justify-content: center;
}
.staffright .Photo{
	width: 50%;
	order: 2;
}
.staffright .Txt{
	width: 50%;
	padding: 20px;
	order: 1;
	display: flex;
	justify-content: center;
}
.gstaff{
	width: 50%;
}

@media only screen and (min-width:1px) and (max-width: 960px) {


.office_table .maplink{
	position: absolute;
	right: inherit;
	left: -120px;
	top: 50px;
}
.office_table .maplink img{
	width: 120px;
}
	
}

@media only screen and (min-width:1px) and (max-width: 768px) {

h3.title{
	font-size: 2.2rem;
}
h4{
	font-size: 1.8rem;
}

h3.catch{
	padding: 0 20px 10px;
}
table.gr th{
	width: 100%;
	color: #04a160;
}
	
.outline .Flexboxtitle .ico,
.access .Flexboxtitle .ico{
	padding: 0px 20px 0 20px;
}
.outline .Flexboxtitle .ico img,
.access .Flexboxtitle .ico img{
	width: 40px;
}
	
.message h4{
	margin: 3% auto 0;
}
.message .sign{
	display: block;
	width: 50%;
	padding: 10px 0;
}

.message .photoback{
	padding: 0 0 60% 0;
	background: url("../img/company/c_img_greeting02.png") right bottom no-repeat;
	background-size: 70%;
}	
	
}

@media only screen and (min-width:1px) and (max-width: 530px) {
h3.toggle{
	font-size: 1.8rem;
}
h3.title{
	font-size: 2.0rem;
}
h4{
	font-size: 1.6rem;
}
.close ul li{
	list-style: circle;
	width: 100%;
}	
	
.Omoi .Photo{
	width: 80%;
	padding: 20px 0;
	order: 2;
}
.Omoi .Txt{
	width: 100%;
	order: 1;
	display: flex;
	padding: 20px 0;
	justify-content: center;
}


.Historywaku{
	margin: 3% auto;
	padding: 30px 20px;
}

.Historywaku .year{
	position: absolute;
	top: -20px;
	left: 5%;
	font-size: 2.0rem;
	font-family: 'Noto Serif JP', serif;
	font-weight: 400;
}

.Historywaku .Photo{
	width: 50%;
	order: 2;
	padding-top: 20px;
		
}
.Historywaku .Txt{
	width: 100%;
	padding-left: 0px;
	order: 1;
}
.message .Txt{
	width: 100%;
	order: 2;
}
.message .Photo{
	width: 60%;
	padding: 20px;
	order: 1;
}
}
	
@media only screen and (min-width:1px) and (max-width: 480px) {
	

}




/** Full Calendar **/


#loading {
	display: none;
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	color: #888;
	text-align: center;
}
#calendar {
	margin: 20px auto;
	max-width: 980px;
	min-height: 500px;
		height: auto !important;
		height: 500px;
	overflow: hidden;
	font-size:1.4rem;
}
#calendar table_ {
	min-height: 90px;
		height: auto !important;
		height: 90px;
}
.fc-view-container {
	background: #FFF;
}
.fc-toolbar h2 {
	margin-bottom: 21px;
	font-size: 18px;
}
.fc-state-default {
	background-color: #F5F5F5;
	background-image: -moz-linear-gradient(top, #FFF, #FFF);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#FFF), to(#FFF));
	background-image: -webkit-linear-gradient(top, #FFF, #FFF);
	background-image: -o-linear-gradient(top, #FFF, #FFF);
	background-image: linear-gradient(to bottom, #FFF, #FFF);
	border-color: #E6E6E6;
	border-color: rgba(0, 0, 0, 0.1);
	color: #333;
	text-shadow: none;
	box-shadow: none;
}
.fc-state-hover,
.fc-state-down,
.fc-state-active,
.fc-state-disabled {
	color: #333;
	background-color: #FFF;
	border-color: #888;
	border-color: rgba(0, 0, 0, 0.4);
}