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

    ヘッダー　TOPページとデザインが違う

--------------------------------------------------------------------------------------------- */
header {
	background: #10327A;
	position: static;
}

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

    MV

--------------------------------------------------------------------------------------------- */
.page-mv {
	background-image: url("../img/page_mv.jpg");
	background-size: cover;
	background-position: center;
	position: relative;
	height: 400px;
}

/* 開発商品一覧・詳細 */
.page-template-page-items-child .page-mv,
.page-template-page-items .page-mv {
	background-image: url("../img/page_mv2.jpg");
}

/* 研究機器 一覧・詳細*/
.page-template-page-equipment-child .page-mv,
.page-template-page-equipment .page-mv {
	background-image: url("../img/page_mv3.jpg");
}

/* 採用情報 */
.recruit .page-mv {
	background-image: url("../img/page_mv4.jpg");
}

.page-mv h2 {
	font-size: 48px;
	z-index: 1;
	color: #fff;
	position: relative;
	display: flex;
	justify-content: center;
	height: 100%;
	align-items: center;
}

.page-mv:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(16, 50, 122, 0.6);
}

h2 {
	font-size: 3em;
	font-weight: bold;
}

h2 span {
	display: block;
	/*font-size: 0.5em;*/
}

@media only screen and (max-width: 768px) {
	.page-mv {
		height: 200px;
	}

	h2 {
		font-size: 2.3em;
		font-weight: bold;
	}

	.page-mv h2 {
		font-size: 30px;
		padding: 10px;
	}
}

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

    MVなしページ　プライバシーポリシー・お問い合わせなど

--------------------------------------------------------------------------------------------- */
.contact h2 span,
.privacy h2 span,
.category h2 span {
	display: block;
	font-size: 0.5em;
}

.contact h2,
.privacy h2,
.category h2 {
	margin-top: 50px;
}

.contact section,
.privacy section,
.category section {
	padding-top: 50px;
}

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

	.contact h2,
	.privacy h2,
	.category h2 {
		margin-top: 20px;
	}
}

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

    サブページ共通

--------------------------------------------------------------------------------------------- */
section {
	padding: 100px 0;
}

.-w-wrapper {
	max-width: 1200px;
	margin: auto;
}

.-w-main-title li {
	font-size: 19px;
}

.-w-left,
.-w-image,
.-w-right {
	width: 50%;
}

@media only screen and (max-width: 768px) {
	.br_pconly {
		display: none;
	}

	section {
		padding: 60px 0 100px;
	}

	.-w-all {
		display: inherit;
	}

	.-w-left,
	.-w-image,
	.-w-right {
		width: 100%;
	}

	.-w-wrapper {
		padding: 0 15px;
	}
}

@media only screen and (min-width: 769px) {
	.br_sponly {
		display: none;
	}
}

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

    会社概要

--------------------------------------------------------------------------------------------- */
.-w-ttl_wrap {
	margin-bottom: 30px;
}

.-w-ttl_wrap ul {
	margin-bottom: 1rem;
}

.-w-all {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: 100%;
	margin-top: 50px;
}

.company .-w-right,
.company .-w-left {
	width: 66%;
}

.company .-w-right_text,
.company .-w-left_text {
	margin: 0;
}

.company .-w-right_text p,
.company .-w-left_text p {
	margin-bottom: 1em;
	line-height: 1.8;
}

.company .-w-image {
	width: 30%;
}

.-w-left_text {
	margin: 2em 0;
}

span.name {
	font-weight: bold;
	font-size: 200%;
}

table {
	width: 100%;
	margin: 0 auto;
	border-collapse: collapse;
}

table tr {
	border-top: solid 1px #000;
	border-bottom: solid 1px #000;
}

table th {
	width: calc(100% / 4);
	padding-left: 2.9375em;
}

table th,
table td {
	padding: 1.25em;
	vertical-align: middle;
	text-align: left;
}

#patents dd {
	margin-bottom: 1em;
}

#patents .certificate {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

@media only screen and (max-width: 768px) {
	.company .-w-all.first_part .-w-image {
		margin-bottom: 1em;
	}

	.company .-w-all.second_part {
		margin-top: 0;
	}

	.company .-w-all.third_part {
		margin-top: 1em;
	}

	.company .-w-all.third_part .-w-image {
		order: -1;
	}

	.company .-w-left,
	.company .-w-image,
	.company .-w-right {
		width: 100%;
	}

	#patents {
		padding-top: 0;
	}

	#patents .certificate {
		flex-direction: column;
	}
}

@media only screen and (max-width: 1023px) {
	.-w-all {
		flex-wrap: wrap-reverse;
	}

	.company table th,
	.company table td {
		display: block;
		padding: 0.5em 1.25em;
	}

	.company table th {
		width: 100%;
	}
}

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

    recruit

--------------------------------------------------------------------------------------------- */
.recruit-mv {
	margin: 60px 0;
}

.recruit-mv li {
	width: 30%;
}

.recruit .message {
	background: #10327A;
	color: #ffffff;
}

.message .-x-text {
	line-height: 1.8;
}

.message .-x-text p {
	margin-top: 1em;
}

.message .-w-title-main {
	display: block;
	color: red;
	font-size: 2.3em;
	font-weight: bold;
}

.message .-w-right {
	background: #fff;
	color: #000;
	padding: 2em 1.6em;
}

.requirement {
	background: hsla(0, 0%, 94%, 1);
}

.requirement table th {
	background: #10327a;
	color: #fff;
	text-align: center;
	width: 200px;
}

.requirement table tr {
	border-top: solid 1px hsla(0, 0%, 94%, 1);
	border-bottom: solid 1px hsla(0, 0%, 94%, 1);
	background: #fff;
}

.month-picker-month-table .ui-button {
	padding: 0.4em 0.5em;
}

.ui-datepicker td a {
	width: 2.5em;
}

@media only screen and (max-width: 768px) {
	.recruit-mv li {
		width: 100%;
	}

	.message .-w-right {
		padding: 2em 1.0em;
	}

	.message .-w-title-main {
		font-size: 2em;
	}

	.requirement table th,
	.requirement table td {
		display: block;
		width: 100%;
	}
}

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

    エントリーフォーム

--------------------------------------------------------------------------------------------- */
#form table tr th {
	border: 1px solid;
	border-color: #aaaaaa;
	background: #eeeeee;
	color: #313131;
	width: 30%;
	padding: 28px 37px 25px;
	font-weight: bold;
	vertical-align: middle;
	text-align: right;
}

#form table tr td {
	border: 1px solid;
	border-color: #aaaaaa;
	background: #ffffff;
	background: hsla(0, 0%, 100%, 1);
	color: #313131;
	color: hsla(0, 0%, 19%, 1);
	width: 70%;
	padding: 28px 37px 25px;
	vertical-align: middle;
}

#form input,
#form textarea,
#form select {
	border: solid 1px;
	border-color: #dddddd;
	height: 48px;
}

#form .-w-rules-agree input {
	height: 20px;
}

.-w-rules-body {
	height: 8em;
	overflow-y: scroll;
	border: 1px solid #aaa;
	margin: 2rem auto;
	padding: 1rem;
}

.-w-rules-body p {
	margin-bottom: 1em;
}

.-w-rules-body p.title {
	font-weight: bold;
	font-size: 1.2em;
	text-align: center;
}

.-w-rules-body dd {
	margin-bottom: 1em;
	padding-left: 1em;
}

.-w-require,
.require {
	display: inline-block;
	border-radius: 2px;
	margin-left: 10px;
	font-size: 0.8em;
	font-weight: normal;
	padding: 5px 8px;
	background: #CE0000;
	color: hsla(0, 100%, 40%, 1);
	color: #fff;
	color: hsla(0, 0%, 100%, 1);
}

.zip {
	width: 15%;
	margin: 0 5px;
}

#form .margin {
	margin-top: 15px;
}

input.nameform {
	width: 45% !important;
	margin-right: 2%;
}

input.address {
	width: 100% !important;
}

.zip-button {
	/* margin-bottom: 10px; */
	padding: 4px 13px 4px;
	box-sizing: border-box;
	display: inline-block;
	border: 0;
	color: #ffffff;
	background: #245CAA;
	vertical-align: middle;
}

select {
	appearance: auto;
	width: 170px;
}

textarea {
	min-height: 120px;
	width: 100%;
}

.complete .btn {
	display: flex;
	justify-content: center;
	margin-top: 10px;
	background-color: #245CAA;
	color: #ffffff;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	margin: 60px auto 0;
	padding: 1em 3rem;
	transition: all 0.2s;
	font-weight: bold;
	letter-spacing: 0.05rem;
	border-radius: 2rem;
}

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

	#form table tr th,
	#form table tr td {
		display: block;
		width: 100%;
		padding: 25px 10px;
	}

	#form table tr th {
		text-align: left;
	}

	#form input,
	#form textarea,
	#form select {
		width: 100%;
	}

	input.nameform {
		width: 100% !important;
	}

	#form .mwform-radio-field input {
		width: 10% !important;
		height: 15px !important;
	}

	.mwform-tel-field input {
		width: 30% !important;
	}
}

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

    お問い合わせ　contact

--------------------------------------------------------------------------------------------- */
/*コンタクトフォーム*/
.contact table tr th {
	border: 1px solid;
	border-color: #aaaaaa;
	background: #eeeeee;
	color: #313131;
	width: 30%;
	padding: 28px 37px 25px;
	font-weight: bold;
	vertical-align: middle;
	text-align: right;
}

.contact table tr td {
	border: 1px solid;
	border-color: #aaaaaa;
	background: #ffffff;
	background: hsla(0, 0%, 100%, 1);
	color: #313131;
	color: hsla(0, 0%, 19%, 1);
	width: 70%;
	padding: 28px 37px 25px;
	vertical-align: middle;
}

.contact input,
.contact textarea,
.contact select {
	border: solid 1px;
	border-color: #dddddd;
	height: 48px;
}

/* .contact .wpcf7-list-item {
	display: block;
} */

/* .contact .mw_wp_form .horizontal-item + .horizontal-item {
    margin-left: 0;
} */
.contact .margin {
	margin-top: 15px;
}

input[type="checkbox"] {
	margin-right: 15px;
	width: 20px;
	height: 20px;
}

input[type="submit"] {
	text-align: center;
	display: inline-block;
	text-decoration: none;
	position: relative;
	transition: 0.3s;
	background: #ffffff;
	color: #cccccc;
	margin-top: 30px;
	width: 200px !important;
	height: 50px !important;
	pointer-events: none;
}

input.wpcf7-previous.return {
	text-align: center;
	display: inline-block;
	text-decoration: none;
	position: relative;
	transition: 0.3s;
	background: #ffffff;
	color: #000;
	margin-top: 30px;
	width: 200px !important;
	height: 50px !important;
	margin-right: 3rem;
}

.confirm input[type="submit"],
input[type="submit"].checked {
	background: #245CAA;
	color: #ffffff;
	pointer-events: auto;
	cursor: pointer;
}

.contact .btn {
	display: flex;
	justify-content: center;
	margin-top: 10px;
	background-color: #245CAA;
	color: #ffffff;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	margin: 60px auto 0;
	padding: 1em 3rem;
	transition: all 0.2s;
	font-weight: bold;
	letter-spacing: 0.05rem;
	border-radius: 2rem;
}

.-w-rules-body ul li p {
	margin-bottom: 0;
}

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

	.contact table tr th,
	.contact table tr td {
		display: block;
		width: 100%;
		padding: 25px 10px;
	}

	.contact input,
	.contact textarea {
		width: 100%;
	}

	.wpcf7-list-item {
		margin: 0;
	}

	.sex .wpcf7-list-item {
		width: 30%;
	}

	.contact table tr th {
		text-align: left;
	}

	#form input[type="radio"] {
		width: 20%;
		vertical-align: middle;
	}

	#form select {
		background-image: url("../common/img/select_arrow.png");
		background-repeat: no-repeat;
		background-size: 16px auto;
		background-position: right 12px center;
		-webkit-appearance: none;
		appearance: none;
	}

	.zip {
		width: 40% !important;
	}

	.-w-rules-agree .require {
		display: block;
		margin-inline: auto;
		width: -webkit-fit-content;
		width: -moz-fit-content;
		width: fit-content;
	}

	.-w-rules-agree input[type="checkbox"] {
		margin-inline: auto;
		display: block;
		width: 20px !important;
	}

	input[type="submit"] {
		display: block;
		margin-inline: auto;
		margin-top: 1rem;
	}

	input.wpcf7-previous.return {
		margin-right: 0;
	}

	.contact input[type="radio"] {
		width: 2rem;
		height: 20px;
	}
}

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

    カテゴリ　category

--------------------------------------------------------------------------------------------- */
#articles {
	margin: 60px 0;
}

#articles li {
	border-bottom: 1px solid #aaa;
	font-size: 16px;
	display: flex;
	padding: 10px;
}

#articles li h3 {
	font-size: 16px;
}

#articles li a {
	margin-left: 60px;
	color: #0000ee;
}

@media only screen and (max-width: 768px) {
	#articles {
		margin: 30px 0;
	}

	#articles li {
		display: block;
	}

	#articles li a {
		display: block;
		margin: 5px 0 0;
	}
}

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

    お知らせ　single

--------------------------------------------------------------------------------------------- */
.single h2 {
	font-size: 1.4em;
	padding-bottom: 2px;
	border-bottom: 3px solid #333;
}

.single .time {
	margin: 20px 0;
}

.single .eyeCatch {
	margin-bottom: 30px;
}

.single p {
	margin: 20px 0;
}

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

    研究機器 PRODUCTS 開発商品 items
    ※ページスラッグは研究機器がequipment、開発商品がinstruments

--------------------------------------------------------------------------------------------- */
section#items {
	padding-top: 50px;
}

.items_note {
	margin-top: 50px;
	padding: 1em;
	color: red;
	font-weight: bold;
	border: 8px double red;
}

.products li {
	width: 32%;
	margin-top: 30px;
	border: solid 1px;
	display: flex;
	flex-direction: column;
}

#items .flex-pconly::after,
#products .flex-pconly::after {
	display: block;
	content: "";
	width: 32%;
}

.products li p {
	padding: 0 20px;
	margin-bottom: 20px;
}

.products li h3 {
	display: block;
	color: red;
	font-size: 1.7em;
	margin: 10px 0;
}

.products li h4 {
	font-weight: bold;
	padding: 0 20px;
	margin-bottom: 15px;
}

.products li .btn {
	display: flex;
	justify-content: center;
	margin-top: 10px;
	background-color: #245CAA;
	color: #ffffff;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	margin: 30px auto;
	padding: 1em 3rem;
	transition: all 0.2s;
	font-weight: bold;
	letter-spacing: 0.05rem;
	border-radius: 1.5rem;
	margin-top: auto;
}

.products li img {
	width: 100%;
}

@media only screen and (max-width: 768px) {
	.products li {
		width: 100%;
	}
}

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

    研究機器詳細 開発商品詳細

--------------------------------------------------------------------------------------------- */
.page-template-page-equipment-child .contents h3,
.page-template-page-items-child .contents h3 {
	display: block;
	font-size: 1.8em;
	font-weight: bold;
	margin: 30px 0;
}

.page-template-page-equipment-child .contents .btn,
.page-template-page-items-child .contents .btn {
	display: flex;
	justify-content: center;
	margin-top: 10px;
	background-color: #245CAA;
	color: #ffffff;
	width: fit-content;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	margin: 30px auto;
	padding: 1em 3rem;
	transition: all 0.2s;
	font-weight: bold;
	letter-spacing: 0.05rem;
	border-radius: 2rem;
}

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

    プライバシーポリシー

--------------------------------------------------------------------------------------------- */
.-w-wrapper p {
	margin-bottom: 1em;
}

.-w-wrapper p.title {
	font-weight: bold;
	font-size: 1.2em;
	text-align: center;
}

.-w-wrapper dd {
	margin-bottom: 1em;
	padding-left: 1em;
}



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

    実績・事例

--------------------------------------------------------------------------------------------- */
.case dl {
	margin-top: 60px;
}

.case dt {
	font-size: 20px;
	text-decoration: underline;
	margin-bottom: 10px;
}

.case dd {
	display: none;
	margin-bottom: 30px;
}

.case dd a {
	text-decoration: underline;
	text-decoration-color: #b30505;
	margin-left: 30px;
}

/*404*/
.error404 .btn {
	display: flex;
	justify-content: center;
	margin-top: 10px;
	background-color: #245CAA;
	color: #ffffff;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	margin: 60px auto 0;
	padding: 1em 3rem;
	transition: all 0.2s;
	font-weight: bold;
	letter-spacing: 0.05rem;
	border-radius: 2rem;
}