@charset "utf-8";
/*
Theme Name:genetics
Author:genetics
Template:nano_tcd065
Version:1.4
*/
/*clearfix*/
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix {
  display:inline-block;
}

/* Hides from mac */
* html .clearfix {height: 1%;}
.clearfix{display:block;}
/*End hide from IE-mac*/


/** Navi **/
.p-megamenu02{
	z-index:3;
}

.p-article13__title{
	font-size:20px;
}

/** Top**/
.p-index-content03.p-cb__item{
	margin-top:45px;
}

/** Top three box**/

.p-three-box__item{
	height:auto;
}
.p-three-box__item.p-article12{
}
.p-three-box__item .p-article12__img{
	height:auto;
	transform: inherit;
	border-left:1px solid #ddd;
	border-bottom:1px solid #ddd;
	border-right:1px solid #ddd;
	padding-bottom:30px;
}
.p-three-box__item .p-article12__img img{
    display: block;
	object-fit: contain;
    width: 70%;
	max-width:300px;
    margin: auto;
	transition:.4s;
}
.p-three-box__item .p-article12__header{
	position:inherit;
	height:110px;
}
.p-article12 a:hover .p-article12__header{
	opacity:1;
}
.p-article12 a:hover .p-article12__title{
	color:#000;
}
.p-article12 a:hover .p-article12__sub{
	color:#377f16;
}
.p-three-box__item a:hover .p-article12__img img{
	opacity:.7;
}
.p-company-header .p-company-header__content{
	z-index:2;
}
.p-company-header .p-company-header__img::after{
	content:'';
	background:rgba(0,0,0,.3);
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	z-index: 1;
}

.p-entry__body table.staff_table th,
.p-entry__body table.staff_table td
	{
		padding-top:3px;
		padding-bottom:3px;
}

.p-entry__body table.staff_table{
	width:100%;
	max-width:850px;
	margin:auto auto 30px;
	text-align:left;
}
.p-entry__body table.staff_table a{
	text-decoration:underline;
}
.p-entry__body h2{
	font-size:120%;
	border-left:6px solid #064706;
	color:#377f16;
	padding:10px 10px 10px 15px;
	background:#f8f8f8;
}
.p-entry__body h3{
	font-size:110%;
	border-bottom:1px solid #064706;
	color:#377f16;
	padding:5px 5px 5px 15px;
}
.contact_box{
	line-height:1.8;
	text-align:center;
	font-size:120%;
	border:1px solid #ccc;
	padding:30px;
	margin-bottom: 35px;
}
.contact_box ul{
	margin:15px auto auto;
}
.contact_box ul li{
	display:inline-block;
	margin:10px;
	font-size:120%;
	color:#377f16;
}

@media (min-width: 601px) {
.p-entry__body table.staff_table.staff_table02 th .sp_only,
.p-entry__body table.staff_table.staff_table02 td .sp_only
	{
		display:none;
}
}


@media (max-width: 600px) {
	.p-entry__body table.staff_table{
		border-bottom: 1px solid #ddd;
	}	
.p-entry__body table.staff_table th,
.p-entry__body table.staff_table td
	{
		display:block;
		width:100%;
		font-size:90%;
		box-sizing:border-box;
		padding:2px 5px;
		border-bottom: none;
}
	.p-entry__body table.staff_table th,
	.p-entry__body table.staff_table td{
		line-height:1.8;
	}
.p-entry__body table.staff_table.staff_table02 th,
.p-entry__body table.staff_table.staff_table02 td{
		display:table-cell;
		width:auto;
}
.p-entry__body table.staff_table.staff_table02 th.pc_only,
.p-entry__body table.staff_table.staff_table02 td.pc_only{
		display:none;
}
	.p-entry__body table.staff_table.staff_table02 td .sp_only{
		display:block;
		font-size:80%;
	}
.p-entry__body table.staff_table.staff_table02 tr td{
	min-width:120px;
}
}


/** About Us **/

@media screen and (min-width: 992px){
	
.p-list__item a {
    line-height: 20px;
    padding: 9px 30px;
}
.p-list__item a .title_span{
	display:block;
	color:#dd9933;
}
}

span.letterspacing{
	letter-spacing:-.2em;
}

.p-company-header{
	margin-bottom:45px;
}

body.single-company #en{
	margin-top:60px;
}

.table_wrap{
}

table.introduction_table{
}
table.introduction_table th{
	background:#caeeca;
}
.p-entry__body table.introduction_table td, 
.p-entry__body table.introduction_table th{
	font-size: 80%;
	line-height:1.4;
	padding: 5px 10px 3px;
}


@media (max-width: 600px) {
.table_wrap{
	width:100%;
	overflow-x:scroll;
}
.table_wrap table.introduction_table{
	width:750px;
}
	header .c-logo img{
		width:200px;
	}
}

.lang_select{
	margin:auto auto 30px;
	padding-bottom:30px;
	text-align:right;
}

/** 遺伝学教室スマホ時トップのメニュー**/
@media (max-width: 767px) {
	body.single-company ul.p-list{
		position: static;
		margin-left: -20px;
	}
	body.single-company header.l-page-header{
padding-bottom:0;
	}
}

/**footer**/

.p-footer-widgets .widget_nav_menu ul{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.p-footer-widgets .widget_nav_menu ul li a{
display:block;
padding:4px;
margin:auto 2px;
}
@media (min-width: 768px) {
.p-footer-widgets__inner{
    border: none;
}
.p-footer-widgets__item {
    border: none;
    width: 90%;
    text-align: center;
	margin:auto;
}
}
@media (max-width: 768px) {
.p-footer-widgets__item.widget_nav_menu{
width:100%;
}
}
@media (max-width: 480px) {
.p-footer-widgets .widget_nav_menu ul li a{
font-size:80%;
}
.p-footer-nav li{
text-align: center;
font-size:80%;
}
	
/** Contact **/
	
@media (max-width: 480px) {
	.contact_box{
		font-size:100%;
	}
}
	
