@charset "utf-8";

.sp-only
{
	display: none;
}


.subpage-title
{
	padding: 48px 0;
	text-align: center;
}

.subpage-title .title
{
	font-size: 32px;
	font-weight: 200;
	color: #4d4d4d;
}

.subpage-title .sub
{
	margin-top: 16px;

	font-family: 'Montserrat';
	font-size: 12px;
}


.detail-button
{
	display: block;
	box-sizing: border-box;
	margin: 0 auto;
	padding: 18px 0;

	width: 320px;

	text-align: center;

	border: 2px solid #e2e2e2;
}
.detail-button:hover
{
	text-decoration: none!important;
	color: #ffffff!important;
	background-color: #333333!important;
}

.detail-button img
{
	margin-right: 8px;
	vertical-align: text-bottom;
}

.pankuzu
{
	background-color: #ffffff;

	border-top: 1px solid #f0f0f0;
}

.pankuzu .list
{
	overflow: hidden;
	margin: 16px 0;
}

.pankuzu .list .item
{
	float: left;
	margin-left: 12px;
	padding-left: 20px;

	background: url(../images/common/pankuzu_margin.png) no-repeat;
	background-position: center left;
}
.pankuzu .list .item:first-child
{
	padding-left: inherit;

	background: inherit;
}

.pankuzu .list .item a,
.pankuzu .list .item span
{
	display: block;

	text-decoration: none;
}

.pankuzu .list .item a:hover
{
	color: #1ec0a2;
}

@media screen and (max-width:810px)
{
	.pankuzu .list
	{
		margin: 12px 0;
	}

	.pankuzu .list .item
	{
		margin-left: 12px;
		padding-left: 20px;

		font-size: 12px;
	}


	.detail-button
	{
		width: inherit;
		max-width: 320px;
	}
}







.submain-photo
{
	position: relative;
	box-sizing: border-box;
	height: 450px;

	background-repeat: no-repeat;
	background-size: 100% auto;
}

.submain-photo .title-bar
{
	position: absolute;
	left: 0;
	bottom: 0;
	overflow: hidden;

	width: 100%;
	height: 140px;

	background-color: rgba(0,0,107,0.60);
}

.submain-photo .title-bar .title
{
	float: left;
	margin-top: 32px;

	color: #fff;
	font-weight: 100;
	font-size: 36px;
}

.submain-photo .title-bar .title span
{
	display: block;
	font-size: 16px;
}

.submain-photo .title-bar .special-site
{
	float: right;
	display: table;
	margin-top: 50px;
	position: relative;

	width: 220px;
	height: 40px;

	text-align: center;

	background-repeat: no-repeat;
}

.submain-photo .title-bar .special-site a
{
	display: table-cell;
	vertical-align: middle;

	text-decoration: none;
}

.submain-photo .title-bar .special-site a:before
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border-radius:20px;
	background-color: rgba(0,0,0,0);

	-webkit-transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
	-moz-transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
	-o-transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
	transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

.submain-photo .title-bar .special-site a:hover:before{
	background-color: rgba(0,0,0,0.2);
}

.submain-photo .title-bar .special-site a img
{
	margin-top: 4px;
	padding-right: 8px;
}

.submain-content
{
	margin: 0 auto;
	width: 800px;
}


.submain-content .tab
{
	overflow: hidden;
	margin-top: 75px;
}

.submain-content .tab .item
{
	float: left;

	box-sizing: border-box;
	/*padding: 0 36px;*/
	width: 25%;
	text-align: center;

	border-right: 1px solid #dcdcdc;
}
.submain-content .tab .item:last-child
{
	border-right: inherit;
}


/* one item */
.submain-content .tab .item:first-child:nth-last-child(1)
{
	width: 100%;
}

/* two items */
.submain-content .tab .item:first-child:nth-last-child(2),
.submain-content .tab .item:first-child:nth-last-child(2) ~ .item
{
	width: 50%;
}

/* three items */
.submain-content .tab .item:first-child:nth-last-child(3),
.submain-content .tab .item:first-child:nth-last-child(3) ~ .item
{
	width: 33.3333%;
}

/* four items */
.submain-content .tab .item:first-child:nth-last-child(4),
.submain-content .tab .item:first-child:nth-last-child(4) ~ .item
{
	width: 25%;
}

/* five items */
.submain-content .tab .item:first-child:nth-last-child(5),
.submain-content .tab .item:first-child:nth-last-child(5) ~ .item
{
	width: 20%;
}


.submain-content .tab .item a
{
	display: inline-block;
	padding: 4px 0 4px 20px;

	text-decoration: none;

	background: url(../images/sub/pagemenu_arrow.png) no-repeat;
	background-position: center left;
}
.submain-content .tab .item a:hover
{
	color: #1ec0a2;
}

.submain-content .section
{
	margin-top: 40px;

	background: url(../images/sub/content_margin.png) no-repeat;
	background-size: 100% auto;
}

.submain-content .section .section-title
{
	margin-bottom: 32px;
	padding: 56px 0 20px;

	text-align: center;
	font-size: 30px;
	font-weight: 200;
	color: #333333;

	background: url(../images/sub/section_title_bg.png) no-repeat;
	background-position: bottom center;
}

.submain-content .section .text
{
	color: #505050;
	line-height: 26px;
	text-align: justify;
	font-weight: 300;
}
.submain-content .section .text+.text
{
	margin-top: 32px;
}

.submain-content .section .note
{
	margin-top: 28px;

	color: #19c06f;
	font-size: 12px;
}

.submain-content .section .pc-partition .sub-title
{
	margin-bottom: 24px;
	color: #333333;
}


.detail-button
{
	margin-top: 56px;
}


.other-content
{
	margin-top: 64px;
}

.other-content .other-title
{
	padding: 28px 0;

	text-align: center;
	font-size: 14px;
	font-weight: 200;

	border-top: 1px solid #dcdcdc;
	border-bottom: 1px solid #dcdcdc;
}

.other-content .pc-partition
{
	margin: 48px auto 0;
	width: 800px;
}

.other-content .pc-partition .partition-left,
.other-content .pc-partition .partition-right
{
	width: 372px;
}

.other-content .box
{
	padding: 25px;
	background-color: #fff;
}

.other-content .box .title
{
	color: #333333;
}

.other-content .box .text
{
	margin-top: 18px;
	text-align: justify;
}


@media screen and (max-width:810px)
{
	.sp-only
	{
		display: initial;
	}

	.pc-only
	{
		display: none;
	}

	.sp-pad
	{
		padding-left: 5%;
		padding-right: 5%;
	}

	.subpage-title .title
	{
		font-size: 20px;
	}

	.subpage-title .sub
	{
		margin-top: inherit;
		font-size: 8px;
	}

	.submain-photo
	{
		height: 300px;
		background-size: 160% auto;
		background-position: center 80%;
	}

	.submain-photo .title-bar
	{
		height: 100px;
	}

	.submain-photo .title-bar .title
	{
		margin-top: 20px;
		margin-left: 24px;

		font-weight: 100;
		font-size: 24px;
	}

	.submain-photo .title-bar .title span
	{
		font-size: 12px;
	}

	.submain-photo .title-bar .special-site
	{
		display: none;
	}

	.submain-content
	{
		padding: 0 5%;
		width: inherit;
	}

	.submain-content .image
	{
		margin-top: 20px;
	}

	.submain-content .image img
	{
		width: 100%;
		height: inherit;
	}

	.submain-content .tab
	{
		margin-top: 30px;
		text-align: center;
	}

	.submain-content .tab .item
	{
		display: inline-block;
		float: inherit;
		margin-top: 8px;
		padding: 0 16px;
		width: inherit !important;

		font-size: 12px;
	}

	.submain-content .tab .item a
	{
	    padding: 0 0 0 20px;
	}

	.submain-content .section .section-title
	{
		margin: 0 -2.5% 28px;

		padding: 32px 0 20px;
		text-align: center;
		font-size: 20px;
		letter-spacing: -0.04em;
	}

	.submain-content .section .note
	{
		line-height: 16px;
	}

	.submain-content .section .text
	{
		text-align: justify;
	}

	.submain-content .section .pc-partition .sub-title
	{
		margin-bottom: 12px;

		font-size: 16px;
	}

	.submain-content .pc-partition
	{
		margin-top: 28px !important;
	}

	.submain-content .pc-partition .partition-left,
	.submain-content .pc-partition .partition-right
	{
		width: inherit !important;
	}


	.button-area
	{
		margin: 0 5%;
	}


	.detail-button
	{
		margin: 48px auto 0;
	}


	.other-content .image img
	{
		width: 100%;
		height: inherit;
	}

	.other-content .pc-partition
	{
		margin-top: 28px !important;
	}

	.other-content
	{
		margin-top: 32px;
	}

	.other-content .pc-partition
	{
		overflow: hidden;
		margin: 48px 5% 0;
		width: inherit;
	}

	.other-content .box
	{
		padding: 12px;
	}

	.other-content .pc-partition .partition-left,
	.other-content .pc-partition .partition-right
	{
		box-sizing: border-box;
		width: 50%;
	}

	.other-content .pc-partition .partition-left
	{
		float: left;
		padding-right: 2%;
	}

	.other-content .pc-partition .partition-right
	{
		float: right;
		padding-left: 2%;
	}

	.other-content .pc-partition .partition-left .image,
	.other-content .pc-partition .partition-right .image
	{
		width: 100%;
		height: inherit;
	}

	.other-content .box .title
	{
		font-size: 15px;
	}

	.other-content .box .text
	{
		margin-top: 6px;
		line-height: normal;
	}
}


/*** otherpage's common parts ***/
/* recruit page */
.jobtype ul li a:hover
{
	color:#1ec0a2
}
.entry .entry-button a
{
	position: relative;
}
.entry .entry-button a:before
{
	content: "";
	width:100%;
	height: 100%;
	background-color: rgba(30, 97, 26, 0);
	position:absolute;
	display: block;
	top: 0;
	left: 0;
	border-radius: 1px;

  -webkit-transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
  -moz-transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
  -o-transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
  transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
}
.entry .entry-button a:hover:before
{
	background-color: rgba(30, 97, 26, 0.2);
}
