@charset "utf-8";

/* ----------------------------------------------
  ! contents elements
 ---------------------------------------------- */

#contents {
	width: 100%;
	padding: 0 15px 50px;
	box-sizing: border-box;
	color: #555;
}

#main a {
	color: #555;
	text-decoration: underline;
}

#main a:hover {
	text-decoration: none;
}

#main *:before, #main *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}

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

	#contents {
		width: 980px;
		padding: 0;
		margin: 0 auto;
	}

	#main {
		float: right;
		width: 710px;
	}

	#sidebar {
		float: left;
		width: 230px;
	}

}

/* ----------------------------------------------
  ! page head visual elements
 ---------------------------------------------- */

#page-head-visual {
	/*background-color: #f4f5f7;
	border-top: solid 4px #f3645e;
	background-size: cover;*/
}

#page-head-visual-wrap {
	width: 100%;
}

#page-head-visual h1 {
	width: 100%;
	text-align: center;
	font-size: 38px;
	font-weight: normal;
	box-sizing: border-box;
}

#page-head-visual h1 img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

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

	#page-head-visual {
		background-repeat: no-repeat;
		background-position: center;
		background-size: auto;
	}

	#page-head-visual-wrap {
		width: 980px;
		margin: 0 auto;
	}

	#page-head-visual h1 {
		padding: 0;
	}

	#page-head-visual h1 img {
		margin: 0;
	}

}


/* ----------------------------------------------
  ! page content elements
 ---------------------------------------------- */

#main .page-contents .waku {
	margin: 0 0 1.5em 0;
	padding:1em 1em 0.5em 1em;
	list-style-type: decimal;
	border:solid 1px #e7e7e7;
	border-radius:10px;
}

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

	#main .page-contents .waku {
		margin: 0 0 1.5em 0;
		padding:1em 2em 0.5em 2em;
		list-style-type: decimal;
		border:solid 1px #e7e7e7;
		border-radius:10px;
	}

}

/*

a

***********************************/
a {
	word-break: break-all;
}


/*

img

***********************************/

#main .page-contents img {
	/*display: inline-block;*/
	max-width: 100%;
}


/*

h1 - h6

***********************************/

#main .page-contents h1 {
	background: #e8413b;
	color: #fff;
	margin-bottom: 1.5em;
	padding: 10px 10px 4px 26px;
	font-size: 1.5em;
	line-height: 1.4;
	font-weight: bold;
	position: relative;
	border-radius: 5px;
}
#main .page-contents h1:before {
	content: "";
	display: block;
	border-left: solid 4px #fff;
	height: 24px;
	position: absolute;
	top:12px;
	left:12px;
}

#main .page-contents h2 {
	margin-top: 1em;
	margin-bottom: 1em;
	padding: 10px 0 4px 26px;
	font-size: 1.3em;
	line-height: 1.4;
	font-weight: bold;
	position: relative;
	border-bottom: solid 2px #e7e7e7;
}
#main .page-contents h2:before {
	content: "";
	display: block;
	border-left: solid 4px #e8413b;
	height: 24px;
	position: absolute;
	top:12px;
	left:2px;
}

#main .page-contents h3 {
	margin-top: 1.2em;
	margin-bottom: 1em;
	padding: 10px 0 4px 26px;
	font-size: 1.1em;
	line-height: 1.4;
	font-weight: bold;
	position: relative;
	border-bottom: solid 2px #e7e7e7;
}
#main .page-contents h3:before {
	content: "";
	display: block;
	border-left: solid 4px #c8c8c8;
	height: 20px;
	position: absolute;
	top:10px;
	left:6px;
}

#main .page-contents h4 {
	margin-top: 1.2em;
	margin-bottom: 1em;
	padding: 10px 0 0;
	font-size: 1.1em;
	line-height: 1.4;
	font-weight: bold;
}

#main .page-contents h5 {
	margin-bottom: 10px;
	padding: 10px 0 0;
	font-size: 1.1em;
	line-height: 1.4;
	font-weight: bold;
}

#main .page-contents h6 {
	margin-bottom: 10px;
	font-size: 1.1em;
	line-height: 1.4;
	font-weight: bold;
}

#main .page-contents p {
	margin-bottom: 1em;
	font-size: 100%; /* 16px */
	line-height: 1.6;
}

#main .page-contents ul {
	margin: 0 0 1.5em 0;
	list-style: none;
}

#main .page-contents ul li {
	margin-bottom: 1em;
	padding-left: 1.4em;
	font-size: 100%; /* 16px */
	line-height: 1.6;
	position: relative;
}
#main .page-contents ul li:before {
	content: "●";
	position: absolute;
	top: 0;
	left: 0.1em;
	color: #f88f8b;
}

#main .page-contents ul li:last-child {
	margin-bottom: 0;
}

#main .page-contents ol {
	margin: 0 0 2em 0;
	list-style-type: decimal;
	list-style:none;
	counter-reset:number;
}

#main .page-contents ol li {
	margin-bottom: .5em;
    padding:0 0 0 1.8em;
	font-size: 100%; /* 16px */
	line-height: 1.6;
	position: relative;
}

#main .page-contents ol li:last-child {
	margin-bottom: 0;
}

#main .page-contents ol li:before {
	counter-increment: number;
	content: counter(number) ;
	font-family: FontAwesome;
	font-weight: bold;
	font-size: 0.85em;
	line-height: 1.8;
	text-align: center;
	display: inline-block;
	width: 22px;
	height: 22px;
	border-radius: 4px;
	background-color: #f0f0f0;
	position: absolute;
	top:0;
	left:0;
}

/* ------ 

#main .page-contents hr {
	margin-bottom: 3em;
	border: none;
}

#main .page-contents table {
	width: 100%;
	margin-bottom: 30px;
	border-collapse: collapse;
}

#main .page-contents table th {
	padding: 15px;
	text-align: center;
	vertical-align: top;
	border: solid 1px #dfe0df;
}

#main .page-contents table td {
	padding: 15px;
	border: solid 1px #dfe0df;
}

*/
/*

table

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


/* responsive scroll */

#main .table-responsive {
	width: 100%;
	margin-bottom: 15px;
	overflow-y: hidden;
	-ms-overflow-style: -ms-autohiding-scrollbar;
	border: 1px solid #ddd;
	-webkit-overflow-scrolling: touch;
}

#main .table-responsive::-webkit-scrollbar {
	height: 5px;
}

#main .table-responsive::-webkit-scrollbar-track {
	border-radius: 5px;
	background: #eee;
}

#main .table-responsive::-webkit-scrollbar-thumb {
	border-radius: 5px;
	background: #ccc;
}

#main .table-responsive>.tableStyle {
	margin-bottom: 0;
}

#main .table-responsive>.tableStyle>thead>tr>th,
#main .table-responsive>.tableStyle>tbody>tr>th,
#main .table-responsive>.tableStyle>tfoot>tr>th,
#main .table-responsive>.tableStyle>thead>tr>td,
#main .table-responsive>.tableStyle>tbody>tr>td,
#main .table-responsive>.tableStyle>tfoot>tr>td {
	white-space: nowrap;
}

/* table */

#main table th ,
#main table td {
	/*font-size: 0.9em;*/
    vertical-align: top;
    line-height: 1.5;
}

#main table ul,
#main table ol {
	padding-left: 1.5em;
	margin-bottom: 0;
}

#main table th.bgBlue,
#main table td.bgBlue {
	background: #deeaf1;
}

#main table th.bgYellow,
#main table td.bgYellow {
	background: #f6f4e8;
}

#main .tableStyle {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2em;
}

#main .tableStyle th {
	background: #eaeaea;
	padding: 6px 8px;
	color: #374252;
	text-align: left;
	vertical-align: middle;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	white-space: nowrap;
}

#main .tableStyle th:first-child {
	border-left: 0 none;
}

#main .tableStyle td {
	background: #fff;
	padding: 6px 8px;
	text-align: left;
	vertical-align: middle;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
}

#main .noticeBox .tableStyle td {
	background: #fff;
	border-top: 1px solid #dae4e7;
	border-left: 1px solid #dae4e7;
}

#main .tableStyle td:first-child,
#main .noticeBox .tableStyle td:first-child {
	border-left: 0 none;
}

#main .tableStyle tr:first-of-type th,
#main .noticeBox .tableStyle tr:first-of-type td {
	border-top: 0 none;
}

#main .tableStyle.block th,
#main .tableStyle.block td {
	display: block;
	width: 100%;
	border-left: none;
}


/* inner */

#main .tableStyleInner th {
	padding: 5px;
	border-top: none;
	border-left: none;
	text-align: left;
	vertical-align: top;
	white-space: nowrap;
}

#main .tableStyleInner td {
	padding: 5px;
	border-top: none;
	border-left: none;
	text-align: left;
	vertical-align: top;
}

#main .tableStyle.block .tableStyleInner th {
	display: table-cell;
	width: auto;
}

#main .tableStyle.block .tableStyleInner td {
	display: table-cell;
	width: auto;
}

@media screen and (min-width: 769px) {

	/* table responsive */

	#main .table-responsive>.tableStyle>thead>tr>td,
	#main .table-responsive>.tableStyle>tbody>tr>td,
	#main .table-responsive>.tableStyle>tfoot>tr>td {
		white-space: normal;
	}

	/* table */

	#main .tableStyle {
		width: 100%;
		border-collapse: collapse;
	}
	#main .tableStyle.block th,
	#main .tableStyle.block td {
		display: table-cell;
		width: auto;
	}
	#main .tableStyle.body>th,
	#main .tableStyle.body>td {
		font-size: 16px;
	}
	#main .tableStyle.note th,
	#main .tableStyle.note td {
		font-size: 14px;
	}
	#main .tableStyle.memo th,
	#main .tableStyle.memo td {
		font-size: 12px;
	}
	#main .tableStyle th {
		padding: 12px 15px;
		color: #374252;
		text-align: left;
		vertical-align: middle;
	}
	#main .tableStyle th:first-child {
		border-left: 0 none;
	}
	#main .tableStyle td {
		padding: 12px 15px;
		text-align: left;
		vertical-align: middle;
		border-bottom: dotted 1px #ccc;
		border-top: dotted 1px #ccc;
	}
	#main .noticeBox .tableStyle td {
		background: #fff;
	}
	#main .tableStyle td:first-child,
	#main .noticeBox .tableStyle td:first-child {
		border-left: 0 none;
	}
	/*#main .tableStyle tr:first-of-type th,
	#main .tableStyle tr:first-of-type td,
	#main .noticeBox .tableStyle tr:first-of-type td {
		border-top: 0 none;
	}*/
	/* inner */
	#main .tableStyleInner th {
		padding: 5px;
		border-top: none;
		border-left: none;
		text-align: left;
		vertical-align: top;
		white-space: nowrap;
	}
	#main .tableStyleInner td {
		padding: 5px;
		border-top: none;
		border-left: none;
		text-align: left;
		vertical-align: top;
	}
}

/*

grid

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

#main .columnBlock {
	max-width: 745px;
}

#main .columnSet {
	position: relative;
	width: 100%;
	overflow: hidden;
}

#main .columnSet  img {
	display: block;
	margin: 0 auto 0;
}

#main .columnSet .column1-2,
#main .columnSet .column1-3,
#main .columnSet .column2-3,
#main .columnSet .column1-4,
#main .columnSet .column3-4 {
	width: 100%;
	margin-bottom: 1em;
}

#main .columnSet.noMb .column1-2,
#main .columnSet.noMb .column1-3,
#main .columnSet.noMb .column2-3,
#main .columnSet.noMb .column1-4,
#main .columnSet.noMb .column3-4 {
    margin-bottom: 0;
}

#main .columnSet .columnSet .column1-2 img,
#main .columnSet .column1-3 img,
#main .columnSet .column1-4 img {
	max-width: 68.75vw;
}

@media screen and (min-width: 769px) {
	#main .columnSet .columnSet .column1-2 img,
	#main .columnSet .column1-3 img,
	#main .columnSet .column1-4 img {
		max-width: 100%;
	}
	#main .flexWrap {
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-justify-content: flex-start;
		justify-content: flex-start;
		-webkit-align-items: stretch;
		align-items: stretch;
		position: relative;
		width: 100%;
	}
	#main .flexNowrap {
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-justify-content: flex-start;
		justify-content: flex-start;
		-webkit-align-items: stretch;
		align-items: stretch;
		position: relative;
		width: 100%;
	}
	#main .columnSet {
		width: 745px;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-justify-content: flex-start;
		justify-content: flex-start;
		-webkit-align-items: stretch;
		align-items: stretch;
		position: relative;
		width: calc(100% + 24px);
		margin: 0 0 24px 0;
	}
	#main .columnSet .column1-2 {
		width: calc(50% - 24px);
		margin-right: 24px;
	}
	#main .columnSet .column1-3 {
		width: calc(33.3333% - 24px);
		margin-right: 24px;
	}
	#main .columnSet .column2-3 {
		width: calc(66.6666% - 24px);
		margin-right: 24px;
	}
	#main .columnSet .column1-4 {
		width: calc(25% - 24px);
		margin-right: 24px;
	}
	#main .columnSet .column1-5 {
		width: calc(20% - 24px);
		margin-right: 24px;
	}
	#main .columnSet .column1-6 {
		width: calc(16.6666% - 24px);
		margin-right: 24px;
	}
	#main .columnSet .column3-4 {
		width: calc(75% - 24px);
		margin-right: 24px;
	}
	#main .reverse {
		-webkit-flex-direction: row-reverse;
		flex-direction: row-reverse;
	}
	#main .columnBtm > div {
		margin-bottom: 24px;
	}
	#main .columnSet:last-child {
		margin-bottom: 0;
	}
	#main .columnSet img {
		max-width: 100%;
		height: auto;
	}
}

/*

history

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

#main .fonunder {
	text-align: center;
}

#main .page-contents p.founderLogo {
	display: inline-block;
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "ＭＳ 明朝", serif;
	font-size: 1.3em;
	position: relative;
	margin: 0 auto 0.5em;
	padding-left: 50px;
	text-align: center;
}

#main .page-contents p.founderLogo:before {
	display: inline-block;
	content: "";
	background: url(../images/about/maruyamakai_logo.png) no-repeat 0 0 transparent;
	background-size:40px auto;
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 40px;
}

#main .page-contents p.founderName {
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "ＭＳ 明朝", serif;
	font-size: 1.8em;
}

#main .page-contents p.historyRedLine {
	background: #e8413b;
	color: #fff;
	padding: 0.5em 1em;
	font-size: 1.1em;
}

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

	#main .fonunder {
		text-align: right;
		padding-top: 80px;
	}

	#main .page-contents p.founderLogo {
		font-size: 1.8em;
		padding-left: 80px;
	}

	#main .page-contents p.founderLogo:before {
		background-size:60px auto;
		width: 60px;
		height: 60px;
	}
	#main .page-contents p.historyRedLine {
		text-align: center;
		font-size: 1.2em;
	}

}


/*

faq

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

/*#main .page-contents ul.q_block li,
#main .page-contents ul.a_block li {
	margin-bottom: 1em;
	padding:0.5em 0.5em 0.5em 2.4em;
	border-bottom: dotted 1px #ccc;
}

#main .page-contents ul.q_block li:before,
#main .page-contents ul.a_block li:before {
	font-size: 1em;
	position: absolute;
	top: 0.3em;
	left: 0.1em;
	width: 28px;
	height: 28px;
	line-height: 28px;
	text-align: center;
	border-radius: 14px;
}

#main .page-contents ul.q_block li:before {
	content: "Q";
	background: #e8413b;
	color: #fff;
}

#main .page-contents ul.a_block li:before {
	content: "A";
	background: #f1f1f1;
	color: #555;
}
*/



#main .page-contents dl.q_block,
#main .page-contents dl.q_block {
	border-bottom: dotted 1px #ccc;
	padding-bottom: 1em;
	margin-bottom: 1em;
	line-height: 1.6;
}

#main .page-contents dl.q_block dt,
#main .page-contents dl.q_block dd {
	margin-bottom:0;
	padding:1em 0.5em 0.5em 2.4em;
	position: relative;
}

#main .page-contents dl.q_block dt:before,
#main .page-contents dl.q_block dd:before {
	font-size: 1em;
	position: absolute;
	top: 0.8em;
	left: 0.1em;
	width: 28px;
	height: 28px;
	line-height: 28px;
	text-align: center;
	border-radius: 14px;
}

#main .page-contents dl.q_block dt:before {
	content: "Q";
	background: #e8413b;
	color: #fff;
}

#main .page-contents dl.q_block dd:before {
	content: "A";
	background: #f1f1f1;
	color: #555;
}










/* ----------------------------------------------
  ! entry content elements
 ---------------------------------------------- */

/* entry archives elements */

#main .page-contents .entry-list {
	width: 100%;
	margin-bottom: 30px;
	border-bottom: solid 1px #dcdddd;
	box-sizing: border-box;
}

#main .page-contents dl.entry-list {
	margin: 0;
	padding: 15px 0;
	border-bottom: dotted 1px #b6b6b6;
}

#main .page-contents dl.entry-list.new dt:after {
	content:"　";
	display:inline-block;
	margin-left:0.5em;
	width:32px;
	height:20px;
	background: url(../images/top/icon_new_sp.gif) no-repeat;
	background-size:32px auto;
}

#main .page-contents .entry-list dt {
	display: block;
}

#main .page-contents .entry-list dd {
	padding: 0;
	line-height: 1.4;
}

	@media screen and (min-width : 768px){
		#news .news-title {
			margin-bottom: 20px;
		}
				
		#main .page-contents dl.entry-list {
			margin: 0;
			padding: 20px 0 35px;
			border-bottom: dotted 1px #b6b6b6;
		}
		#main .page-contents dl.entry-list.new {
			background: url(../images/top/icon_new_pc.gif) no-repeat 112px 22px;
		}
		#main .page-contents dl.entry-list.new dt:after {
			content: initial;
		}
	
		#main .page-contents dl.entry-list dt {
			width: 132px;
			float: left;
			line-height: 1.4;
		}
	
		#main .page-contents dl.entry-list dt {
			display: inherit;
		}
	
		#main .page-contents dl.entry-list dd {
			margin-left: 166px;
			padding: 0;
			line-height: 1.4;
		}
	}

#main .page-contents .page-nav {
	clear: both;
	margin-bottom: 50px;
}

/* entry single elements */

#main .page-contents .meta {
	margin-bottom: 20px;
	text-align: right;
	font-size:  88%; /* 14px */
	line-height: 1.4;
}


/* ----------------------------------------------
  ! search result elements
 ---------------------------------------------- */

#main .page-contents .result-list {
	margin: 0;
	list-style-type: none;
}

#main .page-contents .result-list li {
	font-size: 100%; /* 16px */
	line-height: 1.4;
	border-bottom: dotted 1px #b6b6b6;
	background-image: none;
	margin-bottom: 0;
	padding: 0;
}

#main .page-contents .result-list li a {
	display: block;
	padding: 20px 20px;
	background-image: url(../images/common/arrow_2.png);
	background-repeat: no-repeat;
	background-position: 0px center;
}

#main .page-contents .result-list li:hover {
	background-color: #efefef;
}

#main .page-contents .result-list li:hover a {
	color: #f4655f;
	text-decoration: none;
}


/* #main .page-contents .flex */


#main .page-contents .flex img {
	max-width: 100%;
	border: none;
	vertical-align: bottom;
}

#main .page-contents .flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	width: 100%;
	margin: 0 auto;
	margin-bottom: 20px;
	overflow: hidden;
	position: relative;	
}

#main .page-contents .flex>div {
	position: relative;
}

#main .page-contents .flex>div>div:last-child {
	margin-bottom: 0;
}

/* #main .page-contents .flex.equable */

#main .page-contents .flex.equable {
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

#main .page-contents .flex.equable>div {
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
	padding-left: 20px;
}

#main .page-contents .flex.equable>div:first-child {
	padding-left: 0;
}

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

/* #main .page-contents .flex */

#main .page-contents .flex {
	display: block;
	margin-bottom: 10px;
}

#main .page-contents .flex>div {
	margin-bottom: 10px;
}

/* #main .page-contents .flex.equable */

#main .page-contents .flex.equable {
}

#main .page-contents .flex.equable>div {
	padding-left: 0;
}

}



/* link icon */

#main .page-contents .linkicon {
	background-image: url(../images/common/linkicon.gif);
	background-repeat: no-repeat;
	background-position: 0px 5px;
	margin-bottom: 1em;
	padding-left: 1.2em;
	font-size: 100%; /* 16px */
	line-height: 1.6;
}

#main .page-contents ul.linklist li {
	background-image: url(../images/common/linkicon.gif) !important;
	background-repeat: no-repeat;
	background-position: 0px 5px;
}

#main .page-contents ul.medicallist li {
	background-image: url(../images/common/linkicon.gif) !important;
	background-repeat: no-repeat;
	background-position: 0px 5px;
	width:30%;
	display:inline-table;
}

/* 20171120 add ▼▼▼*/
#main .page-contents .pdficon, #main .page-contents .xlsicon, #main .page-contents .dlfileicon, #main .page-contents .docicon {
    background-repeat: no-repeat;
    background-position: 0px -2px;
    margin-bottom: 1em;
    padding-left: 1.5em;
    font-size: 100%;
    line-height: 1.6;
}

#main .page-contents .pdficon, #main .page-contents ul.pdficon li, #main .page-contents ul.pdflist li {
    background-image: url(../images/common/pdf_icon.png) !important;
}
/* 20171120 add ▲▲▲*/



/* ----------------------------------------------
  ! form entry elements
 ---------------------------------------------- */

label,
input[type="radio"],
input[type="checkbox"],
input[type="button"],
input[type="submit"],
input[type="image"],
select,
textarea {
    cursor: pointer;
    font-size: 16px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    height: 10em;
    box-sizing: border-box;
    line-height: 1.5;
}

input[type="text"],
textarea {
    max-width: 100%;
}

input[type="text"],
textarea,
select {
    border: solid 1px #ccc;
}

label,
input[type="text"],
input[type="button"],
textarea,
select {
    padding: 0.5em;
    margin-bottom: 0.2em;
    display: inline-block;
    width: 100%;
}

/*input[type="text"].shortbox {
    width: 20% !important;
}*/

input[type="radio"] {
    margin-right: 0.5em;
}

label {
    display: block;
    margin-bottom: 0.2em;
}

label.checked {}

label span {
    padding-left: 0.5em;
    vertical-align: middle;
}

label.big span {
    font-size: 120%;
    font-weight: bold;
}

input[type="radio"],
input[type="checkbox"] {
    vertical-align: -2px;
}

label {
    background-color: #fff;
    border: solid 1px #ddd;
}

label.checked {
    background-color: #f8eae9;
    border: solid 1px #ddd;
}

#form .require {
    margin-left: 3px;
    color: #e55a3b;
}

#form .error {
    color: #e55a3b;
}

#form .shortbox {
    width: 40%;
}
@media screen and (min-width : 768px){
	#form .shortbox {
	    width: 20%;
	}
}

.mw_wp_form .horizontal-item,
.mw_wp_form .horizontal-item + .horizontal-item {
	display: block;
    margin-left: 0px !important;
    margin-bottom: 5px;
}

/**/

#form .half {
    width: 100%;
    margin-bottom: 0.2em;
}

@media screen and (min-width : 768px){
    .half {
        width: 35% !important;
    }
}

#form {
	margin-bottom: 20px;
}

#form dl {
    width: 100%;
    border-collapse: collapse;
    border-bottom:solid 1px #ddd;
    border-right:solid 1px #ddd;
    border-left:solid 1px #ddd;
}

#form dl:first-child {
    border-top:solid 1px #ddd;
}

#form dl:nth-child(odd) {
	background: #f5f5f5;
}

#form dt {
    width: 100%;
    padding: 10px;
    font-weight: bold;
    border-bottom: dotted 1px #ccc;
}

#form dd {
    width: 100%;
    padding: 10px;
    line-height: 1.5;
}

/**/

#main #form .columnSet > div,
#main #form .form_container {
	margin-bottom: 0;
	display: table;
	border-collapse: separate;
}

#main #form .form_container {
	margin-bottom: 5px;
}

#form .form_block {
	display: table-cell;
	white-space: nowrap;
}

.mw_wp_form_confirm #form .form_block{
	display: inline-block;
}

#main .mwform-zip-field {
	display: block;
	margin-bottom: 5px;
}


/* button*/

#form .formButton {
	margin-top:20px;
    text-align: center;
}

#form .formButton input {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    display: inline-block;
    background: #e8403b;
    padding: 0.5em 3em;
    color: #fff;
    font-weight: bold;
    border: 0;
    font-size: 1.1em;
}

#form .formButton input.btn-form-back {
    margin-right: 1em;
    background: #999;
}

#form .formButton input:hover {
    opacity: 0.8;
}


/* thanks button */

#form .formButton a {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    display: inline-block;
    background: #f2941f;
    padding: 0.8em 3em;
    color: #fff;
    font-weight: bold;
    border: 0;
    font-size: 1.1em;
}

#form .formButton a:hover {
    opacity: 0.8;
}

#form .btn-back {
    margin-right: 1em;
}


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

	#form dl {
	    width: 100%;
	    border-collapse: collapse;
	    overflow: hidden;
	}

	#form dt {
	    width: 30%;
	    float: left;
	    padding: 10px;
	    font-weight: bold;
	    border-bottom: none;
	    line-height: 1.5;
	}

	#form dd {
	    width: 70%;
	    float: right;
	    padding: 10px;
	    border-left:none;
	}

}


/* ----------------------------------------------
  ! introduction page elements
 ---------------------------------------------- */
#main .introduction a {
	display: block;
	padding: 5px;
	text-decoration: none;
}

#main .introduction a:before {
    content: "\0025b6";
    width: 16px;
    height: auto;
    display: inline-block;
    background-size: 6px auto;
    color: red;
    font-size: small;
    margin-right: 5px;
}

#main .introduction a:hover {
    opacity: 0.5;
    transition: all 0.7s ease 0s;
}

#main .introduction .h2-red {
	color: #f1807c;
}

#main .introduction h2.h2-red  {
	border-bottom: solid 2px #f1807c;
}

#main .introduction h2.h2-red::before {
	border-left: solid 4px #f1807c;
}

#main .introduction .red{
	display: table;
	border-bottom: solid 3px #f1807c;
	border-top: solid 3px #f1807c;
}

#main .introduction .h2-green {
	color: #7bcbbe;
}

#main .introduction h2.h2-green {
	border-bottom: solid 2px #7bcbbe;
}

#main .introduction h2.h2-green::before {
	border-left: solid 4px #7bcbbe;
}

#main .introduction .green{
	display: table;
	border-bottom: solid 3px #7bcbbe;
	border-top: solid 3px #7bcbbe;
}

#main .introduction .h2-gray {
	color: #a4a4a4;
}

#main .introduction h2.h2-gray {
	border-bottom: solid 2px #a4a4a4;
}

#main .introduction h2.h2-gray::before {
	border-left: solid 4px #a4a4a4;
}

#main .introduction .h2-yellow {
	color: #e7b34d;
}

#main .introduction h2.h2-yellow  {
	border-bottom: solid 2px #e7b34d;
}

#main .introduction h2.h2-yellow::before {
	border-left: solid 4px #e7b34d;
}

#main .introduction .yellow {
	display: table;
	border-bottom: solid 3px #e7b34d;
	border-top: solid 3px #e7b34d;
}

#main .introduction .moss {
	display: table;
	border-bottom: solid 3px #b9d15f;
	border-top: solid 3px #b9d15f;
}

#main .introduction .blue {
	display: table;
	border-bottom: solid 3px #73bfe3;
	border-top: solid 3px #73bfe3;
}

#main .introduction .h2-pink {
	color: #f4a5de;
}

#main .introduction h2.h2-pink  {
	border-bottom: solid 2px #f4a5de;
}

#main .introduction h2.h2-pink::before {
	border-left: solid 4px #f4a5de;
}

#main .introduction .pink {
	display: table;
	border-bottom: solid 3px #f4a5de;
	border-top: solid 3px #f4a5de;
}

#main .introduction .purple {
	display: table;
	border-bottom: solid 3px #ae82bf;
	border-top: solid 3px #ae82bf;
}


.introduction_dl { padding:0 0 10px; }
.introduction_dl dt { display:inline-block; vertical-align:top; padding:0 10px 15px; }
.introduction_dl dd { display:inline-block; vertical-align:top; padding:0 10px 15px; }

@media screen and (max-width : 675px){
	.introduction_dl {
		text-align: center;
	}
	.introduction_dl dt {
    	display: block;
	}
}


#main .introduction .map {
	position: relative;
}

#main .introduction .map li {
    position: absolute;
    margin: 0;
	padding: 0;
	letter-spacing: -0.05em;
	color: #ff6567;
	font-size: 16.5px;
}

#main .introduction .map li::before {
	content: none;
}

#main .introduction .map .title_01 {
	top: 68px;
    left: 442px;
}
#main .introduction .map .link_01 {
	top: 92px;
    left: 439px;
}
#main .introduction .map .link_02 {
	top: 119px;
    left: 439px;
}
#main .introduction .map .link_03 {
	top: 169px;
    left: 439px;
}
#main .introduction .map .link_04 {
	top: 197px;
    left: 439px;
}
#main .introduction .map .link_05 {
	top: 225px;
    left: 439px;
}
#main .introduction .map .link_06 {
	top: 253px;
    left: 439px;
}
#main .introduction .map .title_02 {
    top: 46px;
    left: 16px;
}
#main .introduction .map .link_07 {
    top: 69px;
    left: 13px;
}
#main .introduction .map .title_03 {
    top: 113px;
    left: 16px;
}
#main .introduction .map .link_08 {
    top: 137px;
    left: 13px;
}
#main .introduction .map .link_09 {
    top: 165px;
    left: 13px;
}
#main .introduction .map .title_04 {
    top: 311px;
    left: 16px;
}
#main .introduction .map .link_10 {
    top: 335px;
    left: 13px;
}
#main .introduction .map .title_05 {
	top: 500px;
    left: 227px;
}
#main .introduction .map .link_11 {
	top: 524px;
    left: 224px;
}
#main .introduction .map .title_06 {
	top: 517px;
    left: 494px;
}
#main .introduction .map .link_12 {
	top: 540px;
    left: 491px;
}
#main .introduction .map .title_07 {
	top: 356px;
    left: 537px;
}
#main .introduction .map .link_13 {
	top: 380px;
    left: 534px;
}

#main .introduction .map a {
	font-size: 15px;
}

#main .introduction .map a::before {
    content: ">";
    margin-right: 0;
    font-size: 100%;
    color: #ff6567;
}

@media screen and (max-width: 768px){
	#main .introduction .map li {
	    position: static;
	    letter-spacing: 0;
	    margin: 0 5%;
	    background-color: #fff;
	    border-top: solid 1px #ccc;
	    padding: 1.25% 5%;
	}

	#main .introduction .map ul {
		background-color: #fff0ef;
	}

	#main .introduction .map .prefectures_01,
	#main .introduction .map .prefectures_02,
	#main .introduction .map .prefectures_03 {
		background-color: #ff6567;
	    color: #fff;
	    font-size: 1.2em;
	    padding: 1% 5%;
	    margin: 0 auto;
	}

	#main .introduction .map .prefectures_02,
	#main .introduction .map .prefectures_03 {
		border-top: solid 3.9114vw #fff;
	}

	#main .introduction .map .title_01,
	#main .introduction .map .title_02,
	#main .introduction .map .title_03,
	#main .introduction .map .title_05,
	#main .introduction .map .title_07 {
		border-top: solid 3.9114vw #fff0ef;
		padding-top: 1.8%;
		padding-bottom: 1.8%;
	}

	#main .introduction .map .link_10,
	#main .introduction .map .link_12,
	#main .introduction .map .link_13 {
		border-bottom: solid 3.9114vw #fff0ef;
	}

}

/* ----------------------------------------------
  ! seminar page elements
 ---------------------------------------------- */
.tc {
	background-color: #f3deb9;
	padding: 35px 10px 0;
	margin-bottom: 1em;
}

.tc-head {
	background-image: url(../images/seminar/seminar_traning01.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 8px 10px 6px 38px;
    font-weight: bold;
    color: #604c3f;
}

.tc-head::before {
	content: "Q";
    color: #e8413b;
    font-size: 130%;
    margin-right: 10px;
    margin-left: -28px;
}

.tc li {
	font-size: 87.5% !important;
	padding: 0 0 0 2em !important;
}

.tc ol li::before {
	line-height: 2 !important;
	border-radius: 50% !important;
	background-color: #fff !important;
	color: #e8413b;
}

.tc .flex {
    margin-bottom: 0 !important;
	padding-bottom: 20px !important;
}

.tc .flex.equable>div {
    padding-left: 2px !important;
}

.tc .separation {
	border-top: solid 1px #604c3f;
    padding-top: 20px;
}


@media screen and (max-width: 768px){
	.seminar .flex.equable {
	    text-align: center;
	}

	.tc .flex {
	    text-align: center;
	}

	.tc .flex.equable>div {
	    padding-left: 0 !important;
	    text-align: center;
	    display: inline-block;
	}
}

/* ----------------------------------------------
  ! seminar message page elements
 ---------------------------------------------- */
.tc-message {
	padding-bottom: 1em;
}

.tc-message figure{
	width: 100%;
	text-align: center;
	margin-right: 0;
}

.tc-message figcaption{
	text-align: center;
	padding-top: 5px;
}

.tc-m-profile ul li::before {
	content: none !important;
}

.tc-m-profile ul li {
    padding: 0 !important;
}

.tc-m-profile ul li span {
    color: #e8413b;
    font-weight: bold;
}

.tc-m-profile ul li ul li {
    text-indent: -1em;
    padding: 0 0 0 1em !important;
    font-size: 100% !important;
}

.tc-m-profile ul li ul li span {
    color: #604c3f;
}


@media screen and (min-width : 768px){
	.tc-message figure{
		width: auto;
		text-align: left;
		margin-right: 10px;
	}
}

/* ----------------------------------------------
  ! form page elements
 ---------------------------------------------- */
.f-page .contact-bg {
    display: table;
    margin: 0 auto;
    background-color: rgba(244,101,95,0.2);
    border: solid 1px #cdcdcd;
    padding: 5px;
    font-size: 1.5em !important;
}

.f-page .mw_wp_form p {
    overflow: hidden;
    position: relative;
    padding-bottom: 1em;
    border-bottom: dotted 2px #d5d5d5;
}

.f-page .mw_wp_form .form-cap {
    display: inline-block;
    vertical-align: top;
}

.f-page .mw_wp_form input[type="text"], .f-page .mw_wp_form input[type="email"], .f-page .mw_wp_form textarea, .f-page .mw_wp_form select {
    width: 98%;
    max-width: 350px;
    float: right;
	padding: 0.5em;
    margin-bottom: 0.2em;
}

.f-page .mwform-zip-field, .f-page .mwform-tel-field {
    float: right;
}

.f-page .mwform-zip-field input[type="text"] {
    width: auto;
    float: none;
}


/* #main.recruitment_info */

#main.recruitment_info .page-contents h2 {
	margin-top: 1em;
	margin-bottom: 1em;
	padding: 0;
	position: relative;
	display: block;
	width: 100%;
	border-bottom: solid 3px #cccccc;
}

#main.recruitment_info .page-contents h2 span.title {
	display: block;
	font-size: 1.0em;
	line-height: 1.4;
	font-weight: bold;
}

#main.recruitment_info .page-contents h2 span.meta {
	display: block;
	margin-bottom: 0;
	font-size: .7em;
	line-height: 1.4;
	font-weight: normal;
}

#main.recruitment_info .page-contents h2:before {
	content: "";
	top: auto;
	left: 0;
	bottom: -3px;
	border: none;
	border-bottom: solid 3px #e8413b;
	width: 30px;
	height: 0;
}

#main.recruitment_info .page-contents h3 {
	padding: 10px 20px;
	background-color: #fdeceb;
	border: none;
}

#main.recruitment_info .page-contents h3:before {
	display: none;
}

#main.recruitment_info .page-contents p {
	padding: 0 1em;
	font-size: .9em;
}

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

	#main.recruitment_info .page-contents h2 {
		display: table;
	}

	#main.recruitment_info .page-contents h2 span.title,
	#main.recruitment_info .page-contents h2 span.meta {
		display: table-cell;
	}

	#main.recruitment_info .page-contents h2 span.meta {
		width: 145px;
		vertical-align: bottom;
	}

	#main.recruitment_info .page-contents p {
		padding: 0 2em;
	}

}

/* #main.recruitment_info_list */

#main.recruitment_info_list .title_image {
	margin-bottom: 2em;
}

#main.recruitment_info_list .search_form .tableStyle {
	margin-bottom: 0;
}

#main.recruitment_info_list .search_form .tableStyle th,
#main.recruitment_info_list .search_form .tableStyle td {
	padding: 0;
	border: solid 10px #fff;
}

#main.recruitment_info_list .search_form .tableStyle th {
	padding: 20px;
	text-align: center;
	background-color: #fdeceb;
}

#main.recruitment_info_list .search_form label {
	display: inline-block;
	width: auto;
	background-color: #fff;
	border: none;
}

#main.recruitment_info_list .search_form .search_form_submit {
	text-align: center;
}

#main.recruitment_info_list .search_form .search_form_submit input {
	padding: 10px 50px;
	color: #fff;
	background-color: #e8413b;
	border: none;
}

#main.recruitment_info_list .search_form .search_form_submit input:hover {
	opacity: .6;
}

#main.recruitment_info_list .result_box {
	margin: 30px 0;
	border: solid 1px #ccc;
}

#main.recruitment_info_list .result_box h2 {
	margin-top: 0;
	margin-bottom: 1em;
	padding: .5em;
	position: relative;
	display: block;
	width: 100%;
	border-bottom: solid 2px #e8413b;
	background-color: #f7f7f7;
}

#main.recruitment_info_list .result_box h2 span.title {
	display: block;
	padding-left: 30px;
	font-size: .9em;
	line-height: 1.4;
	font-weight: bold;
}

#main.recruitment_info_list .result_box h2 span.new {
	display: block;
	margin-bottom: 5px;
	vertical-align: bottom;
}

#main.recruitment_info_list .result_box h2 span.new:before {
	content: "NEW";
	display: block;
	width: 50px;
	margin-right: 0;
	margin-left: auto;
	font-size: .6em;
	font-weight: normal;
	line-height: 20px;
	text-align: center;
	color: #fff;
	background-color: #e8413b;
}

#main.recruitment_info_list .result_box h2 span.meta {
	display: block;
	margin-bottom: 0;
	font-size: .7em;
	line-height: 1.4;
	font-weight: normal;
}

#main.recruitment_info_list .result_box h2:before {
	content: "";
	top: 18px;
	left: 15px;
	width: 8px;
	height: 8px;
	background-color: #e8413b;
	border: none;
}

#main.recruitment_info_list .result_box .tableStyle {
	width: calc(100% - 20px);
	margin: 0 10px;
}

#main.recruitment_info_list .result_box .tableStyle th {
	text-align: center;
	background-color: #fdeceb;
}

#main.recruitment_info_list .result_box .tableStyle td {
	border: none;
	border-top: 1px solid #fff;
}

#main.recruitment_info_list .result_box .result_button {
	text-align: center;
}

#main.recruitment_info_list .result_box .result_button a {
	display: block;
	width: 150px;
	margin: 20px auto;
	padding: 10px 0;
	color: #e8413b;
	border: solid 1px #e8413b;
	text-decoration: none;
}

#main.recruitment_info_list .result_box .result_button a:hover {
	opacity: .6;
}

#main.recruitment_info_list .not_found {
	padding: 4em 0;
	text-align: center;
}

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

	#main.recruitment_info_list .search_form .tableStyle th {
		width: 15%;
	}

	#main.recruitment_info_list .result_box h2 {
		display: table;
	}

	#main.recruitment_info_list .result_box h2 span.title,
	#main.recruitment_info_list .result_box h2 span.new,
	#main.recruitment_info_list .result_box h2 span.meta {
		display: table-cell;
	}

	#main.recruitment_info_list .result_box h2 span.meta {
		width: 150px;
		vertical-align: bottom;
	}

	#main.recruitment_info_list .result_box .tableStyle {
		width: calc(100% - 40px);
		margin: 0 20px;
	}

}
