﻿@charset "UTF-8";

/* ▼▼▼ 会社情報
=====================================*/
/* 共通 #contents
-------------------------------------*/
#title_area{
	background: url(../img/company/title_bg.jpg) no-repeat center/cover;
}
#contents{
	float: right;
	width: 72%;
}
#contents section:not(:last-of-type){
	padding-bottom: 50px;
}
#contents a{
	color: #0068B7;
	text-decoration: underline;
}
#contents a:hover{
	text-decoration: none;
}

/* サイドナビ
-------------------------------------*/
#side{
	width: 215px;
	float: left;
	font-weight: bold;
}
	.side_title{
		background: #0068B7;
		height: 60px;
		line-height: 60px;
		margin-bottom: 10px;
		color: #fff;
		text-align: center;
	}
	#side ul{
		border-bottom: 1px solid #C6C6C6;
		margin-bottom: 20px;
	}
	#side ul li{
		border: 1px solid #C6C6C6;
		border-bottom: none;
		position: relative;
	}
	#side ul li.active a:before{
		content: "";
		border-left: 5px solid #0068B7;
		height: 100%;
		position: absolute;
		left: 0;
	}
	#side ul li a{
		display: block;
		color: #000;
		text-align: center;
		height: 60px;
		line-height: 60px;
	}
	#side a:hover{
		opacity: 0.6;
	}
	#side .link_bnr{
		border: 1px solid #C6C6C6;
	}
	#side .link_bnr a{
		display: block;
		padding: 5px 0;
		color: #000;
		text-align: center;
	}

/* 会社概要
-------------------------------------*/
.table{
	width: 100%;
}
	.table th,
	.table td{
		padding: 30px 0;
	}
	.table th{
		width: 25%;
	}
	.table th{
	border-bottom: 1px solid #0068B7;
	}
	.table tr:first-child th{
		border-top: 1px solid #0068B7;
	}
	.table td{
		border-bottom: 1px solid #C7C7C7;
	}
	.table tr:first-child td{
		border-top: 1px solid #C7C7C7;
	}
	.table td img{
		max-width: 340px;
		width: 100%;
	}
	.table td p{
		margin-bottom: 20px;
	}
	.table td .space{
		padding-left: 30px;
	}

/* Googlemap */
.map_container {
	width: 100%;
	margin: 20px auto;
	position: relative;
}
	.google {
		width: 100%;
		height: 400px;
		margin-bottom: 10px;
	}

/* 事務所 */
#office h4.title_Lline:not(:nth-of-type(1)){
	margin-top: 50px;
}
	#office dl {
		margin-bottom: 20px;
	}
	#office dt{
		background: #E2F2FF;
		padding: 25px 40px;
		color: #0068B7;
		font-weight: bold;
		cursor: pointer;
		position: relative;
	}
	#office dt:before,
	#office dt:after{
		content: "";
		position: absolute;
		top: 45%;
	}
	#office dt:before{
		background: #fff;
		width: 20px;
		height: 20px;
		border-radius: 50%;
		right: 40px;
		margin-top: -4px;
	}
	#office dt:after{
		width: 7px;
		height: 7px;
		border-right: 1px solid #0068B7;
		border-bottom: 1px solid #0068B7;
		border-top: 0;
		border-left: 0;
		vertical-align: middle;
		transform: rotate(45deg);
		-webkit-transform: rotate(45deg);
		right: 46px;
	}
	#office dt.open:after{
		width: 7px;
		height: 7px;
		border-right: 0;
		border-bottom: 0;
		border-top: 1px solid #0068B7;
		border-left: 1px solid #0068B7;
		margin-top: 4px;
	}
	#office dd {
		display: none;
		background: #F5F5F5;
		padding: 30px 40px;
	}
	#office dd li:not(:last-child){
		border-bottom: 1px solid #ccc;
		margin-bottom: 30px;
		padding-bottom: 30px;
	}
	#office dd h5{
		color: #0068B7;
		margin-bottom: 20px;
	}
	#office dd .address{
		margin-bottom: 20px;
	}
	#office dd .more_btn{
		display: inline-block;
	}
	#office dd .more_btn a{
		border-color: #C6C6C6;
		background: #fff;
		width: 200px;
		height: 40px;
		line-height: 40px;
		color: #000!important;
		text-decoration: none!important;
	}
	#office dd .more_btn a:after{
		top: 15px;
	}

/* ごあいさつ
-------------------------------------*/
.message {
	overflow: hidden;
}
	.message .photo_area{
		float: right;
		max-width: 260px;
	}
	.message .photo_area .ceo{
		margin-top: 5px;
		font-size: 14px;
		text-align: right;
	}
	.message .photo_area .ceo strong{
		display: block;
		font-size: 16px;
		text-align: right;
	}
	.message .txt_area{
		float: left;
		width: 55%;
	}

/* 経営理念
-------------------------------------*/
.philosophy_read{
	border-bottom: 1px solid #0068b7;
	padding: 0 0 25px 0;
	margin-bottom: 30px;
	color: #0068B7;
	font-size: 30px;
	font-weight: bold;
	line-height: 2;
	}
	.philosophy_read img{
		padding: 0 0 5px 0;
		margin: 0 10px;
	}
	.philosophy_desc{
		font-weight: bold;
	}
	.philosophy_desc:not(:last-of-type){
		margin-bottom: 10px;
	}
	.sec_read{
		margin-bottom: 10px;
		color: #0068B7;
		font-weight: bold;
	}
	ol.count_list{
		counter-reset: item;
		font-weight: bold;
	}
	ol.count_list li:not(:last-child){
		margin-bottom: 10px;
	}
	ol.count_list li:before {
		counter-increment: item;
		content: counter(item)'.';
		padding-right: .5em;
		color: #0068B7;
	}

/* PDFリンク・txtリンク */
ul.link{
	margin-top: 30px;
}
	ul.link li:not(:last-child){
		margin-bottom: 15px;
	}
	ul.link li a{
		color: #3D58A2!important;
	}

/* キャラクター */
#character > div{
	display: table;
	margin: 0 auto;
	}
	#character > div > div{
		display: table-cell;
		vertical-align: middle;
	}
	#character .name_area{
		background: #E2F2FF;
		border-radius: 50%;
		width: 222px;
		height: 222px;
	}
	#character .name_area p{
		text-align: center;
		font-weight: bold;
	}
	#character .name_area p:last-child{
		margin-top: 10px;
		color: #0068B7;
		font-size: 26px;
	}

/* 沿革
-------------------------------------*/
section#inner_01,
section#inner_02,
section#inner_03{
	padding-top: 110px;
	margin-top: -110px;
}

/* ページナビ */
.inpage_nav{
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	margin-bottom: 50px;
	line-height: 1;
}
	#contents .inpage_nav li{
		border-left: 1px solid #C7C7C7;
	}
	#contents .inpage_nav li:last-child{
		border-right: 1px solid #C7C7C7;
	}
	#contents .inpage_nav li a{
		display: block;
		padding: 0 30px;
		color: #000;
		text-decoration: none;
	}
	#contents .inpage_nav li a::after{
		display: inline-block;
		content: "";
		width: 7px;
		height: 7px;
		border-right: 1px solid #000;
		border-top: 0;
		border-bottom: 1px solid #000;
		border-left: 0;
		transform: rotate(45deg);
		-webkit-transform: rotate(45deg);
		margin: 0 0 4px 10px;
	}

.history section > p:not(.photo){
	margin-bottom: 20px;
	line-height: 1.8;
}

/* 片山化学工業研究所の歴史 */
.episode_title{
	position: relative;
	padding-left: 20px;
	margin-bottom: 20px;
}
	.episode_title:before{
		display: inline-block;
		content: "";
		border-left: 5px solid #0068B7;
		height: 44px;
		vertical-align: middle;
		position: absolute;
		top: 3px;
		left: 0;
	}
.col_warp{
	overflow: hidden;
}
.col_warp > div{
	float: left;
}
	.col_warp .txt_area{
		width: 49%;
		margin-right: 5%;
		line-height: 1.8;
	}
	.col_warp .photo_area{
		width: 46%;
	}
	.history figure:not(:last-of-type){
		margin-bottom: 30px;
	}
	.history figcaption{
		margin-top: 5px;
		font-size: 14px;
		text-align: right;
	}

/* 沿革 */
.history .table th,
.history .table td{
	padding: 15px 0;
}

/* 片山ナルコとの関係 */
.bg_area{
	background: url(../img/company/history/bg.png) no-repeat center/contain;
	font-weight: bold;
	padding: 120px 0
}
	.bg_area p{
		text-align: center;
	}
	.bg_area .year{
		color: #0567C0;
		font-size: 46px;
	}
.bg_area + .photo{
	max-width: 333px;
	width: 100%;
	margin: 0 auto 50px;
}
div.bnr:hover{
	opacity: 0.6;
}

/* ▼▼▼ 768px
=====================================*/
@media screen and (max-width: 768px) {
/* 共通 #contents
-------------------------------------*/
#contents{
	float: none;
	width: 100%;
}
#contents section:not(:last-of-type){
	padding-bottom: 30px;
}
#contents .tel-moji a{
	color: #000;
	text-decoration: none;
}

/* サイドナビ
-------------------------------------*/
#side{
	display: none;
}

/* 会社概要
-------------------------------------*/
.table{
	display: block;
	}
	.table th,
	.table td{
		display: block;
		padding:20px 0;
		}
	.table th{
		border-bottom: 0 none;
		width: 100%;
		padding-bottom: 0;
	}
	.table tr:first-child th{
		border-top: 1px solid #C7C7C7;
		position: relative;
	}
	.table tr:first-child th:before{
		content: "";
		border-top: 1px solid #0068B7;
		width: 120px;
		height: 1px;
		position: absolute;
		top: -1px;
		left: 0;
	}
	.table td{
		position: relative;
		padding-top: 10px;
	}
	.table td:after{
		content: "";
		border-bottom: 1px solid #0068B7;
		width: 120px;
		height: 1px;
		position: absolute;
		bottom: -1px;
		left: 0;
	}
	.table tr:first-child td{
		border-top: 0 none;
	}
	.table td img{
		max-width: 340px;
		width: 100%;
	}
	.table td p{
		margin-bottom: 20px;
	}
	.table td .space{
		padding-left: 30px;
	}

/* Googlemap */
.map_container {
	margin: 10px auto;
}
	.google {
		height: 250px;
		margin-bottom: 5px;
	}

/* 事務所 */
#office h4.title_Lline:not(:nth-of-type(1)){
	margin-top: 30px;
}
	#office dt{
		padding: 20px;
	}
	#office dt:before{
		width: 18px;
		height: 18px;
		right: 20px;
	}
	#office dt:after{
		width: 5px;
		height: 5px;
		right: 26px;
		margin-top: 1px;
	}
	#office dt.open:after{
		width: 5px;
		height: 5px;
	}
	#office dd {
		padding: 20px;
	}
	#office dd li:not(:last-child){
		margin-bottom: 20px;
		padding-bottom: 20px;
	}
	#office dd h5{
		margin-bottom: 18px;
		margin-bottom: 10px;
	}
	#office dd .address{
		margin-bottom: 10px;
	}

/* ごあいさつ
-------------------------------------*/
.message {
	overflow: hidden;
}
	.message .photo_area{
		float: none;
		max-width: 80%;
		margin: 0 auto 20px;
	}
	.message .txt_area{
		float: none;
		width: 100%;
	}

	/* 経営理念
	-------------------------------------*/
	.philosophy_read{
		padding: 0 0 15px 0;
		margin-bottom: 20px;
		font-size: 22px;
		line-height: 1.8;
		}
		.philosophy_read img{
			margin: 0 5px 0 0;
			width: 40%;
		}
		.philosophy_desc{
			text-indent: -5em;
			padding-left: 5em;
		}
		.sec_read {
			margin-bottom: 5px;
		}
		ol.count_list li:not(:last-child){
			margin-bottom: 10px;
		}

	/* PDFリンク・txtリンク */
	ul.link{
		margin-top: 30px;
	}
		ul.link li:not(:last-child){
			margin-bottom: 10px;
		}
	/* キャラクター */
	#character > div{
		display: table;
		margin: 0 auto;
		}
		#character .name_area{
			width: 45vw;
			height: 45vw;
		}
		#character .name_area p{
			font-size: 12px;
		}
		#character .name_area p:last-child{
			margin-top: 10px;
			font-size: 18px;
		}

/* 沿革
-------------------------------------*/
section#inner_01,
section#inner_02,
section#inner_03{
	padding-top: 20px;
	margin-top: -20px;
}

/* ページナビ */
.inpage_nav{
	display: table;
	margin-bottom: 30px;
	font-size: 12px;
}
	#contents .inpage_nav li{
		display: table-cell;
		vertical-align: middle;
		width: 40%;
	}
	#contents .inpage_nav li:nth-child(2){
		width: 20%;
		text-align: center;
	}
	#contents .inpage_nav li a{
		padding: 0 10px 15px;
		position: relative;
		text-align: center;
	}
	#contents .inpage_nav li a::after{
		display: block;
		margin: 0;
		position: absolute;
		left: 43%;
		bottom: 0;
	}



.history section > p:not(.photo){
	margin-bottom: 15px;
	line-height: 1.6;
}
/* 片山化学工業研究所の歴史 */
.episode_title{
	padding-left: 15px;
	margin-bottom: 15px;
}
	.episode_title:before{
		height: 40px;
		top: 6px;
	}
.col_warp{
	overflow: hidden;
}
.col_warp > div{
	float: none;
}
	.col_warp .txt_area{
		width: 100%;
		margin: 0 0 20px;
		line-height: 1.6;
	}
	.col_warp .photo_area{
		width: 100%;
	}
	.history figure:not(:last-of-type){
		margin-bottom: 20px;
	}
	.history figcaption{
		font-size: 12px;
	}

/* 沿革 */
.history .table th{
	padding-bottom: 0;
}
.history .table td{
	padding-top: 10px;
}

/* 片山ナルコとの関係 */
.bg_area{
	background: url(../img/company/history/bg.png) no-repeat center top/80%;
	font-weight: bold;
	padding: 13vw 0
}
	.bg_area p{
		text-align: center;
	}
	.bg_area .year{
		font-size: 34px;
	}
.bg_area + .photo{
	width: 60%;
	margin: 0 auto 30px;
}
}
