﻿@charset "utf-8";
/* ------------------------------------------------ */
/* 1.共通
/* ------------------------------------------------ */

/* ボックスサイズの計算方法を指定 */
* {
	box-sizing: border-box;
}

/* ページ全体の基本スタイル */
body {
	color: #4d4d4d;
	font-size: 14px;
	font-family: メイリオ,Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック",sans-serif;
	line-height: 1.6;
	background-color: #f5f5f5;
}

/* 段落の基本スタイル */
p {
	padding-bottom: 1.5em;
}

/* 2等分で横並び */
.col-6 {
	width: 50%;
}

/* 3等分で横並び */
.col-4 {
	width: 33.33%;
}

/* 等分無し */
.col-8 {
	width: 100%;
}

/* リンクの基本スタイル */
a {
	color: #007de1;
	transition: 0.5s;
}

/* リンクにマウスが乗ったときのスタイル */
a:hover {
	opacity: 0.7;
}

/* 画像の基本スタイル */
img {
	vertical-align: bottom;
}

/* 写真のフレーム */
.photoframe {
	height: 160px;
    width: 280px;
	border: 1px solid #eeeeee;
	border-radius: 4px;
	box-shadow: 1px 1px 1px #999999;
	padding: 5px;
    float: right;
    margin-top:-50px;
    margin-right:25px;
}

/* ページトップへ戻るボタン */
.pagetop {
	position:fixed;
	bottom:20px;
	right:20px;
}
.pagetop a {
	background:#a5a5a5;
	border-radius:5px;
	color:#FFF;
	padding:20px;
}
.pagetop a:hover {
	background: #5a5a5a;
}

/* ------------------------------------------------ */
/* 2.レイアウト
/* ------------------------------------------------ */

/* ページ全体を囲む枠 */
#wrapper {
	margin: 0 auto;
	width: 960px;
}

/* ------------------------------------------------ */
/* 3.ヘッダー
/* ------------------------------------------------ */

/* エリア外枠のスタイル */
header {
	padding-top: 15px;
	padding-bottom: 25px;
}

/* 見出しのスタイル */
h1 {
	color: #262626;
	font-size: 12px;
	font-weight: normal;
	margin-bottom: 15px;
}

/* ロゴのスタイル */
#header-logo img {
	width: 200px;
	height: 40px;
}

/* ------------------------------------------------ */
/* 4.グローバルナビゲーション
/* ------------------------------------------------ */

/* エリア外枠のスタイル */
#gNav {
	margin-bottom: 25px;
}

/* メニューリストを囲む枠 */
#gNav ul {
	display: -webkit-flex;	/* safari用 */
	display: flex;
}

/* メニューリストの共通スタイル */
#gNav li {
	height: 45px;
	text-align: center;
	width: 25%;
}

/* メニューのリンクスタイル */
#gNav a {
	color: #4d4d4d;
	display: block;
	font-size: 14px;
    font-weight: bold;
    padding:8px;
	line-height: 2;
	height: 45px;
	text-decoration: none;
	background: -moz-linear-gradient(top,#DDD 0%,#DDD);
	background: -ms-linear-gradient(top,#DDD 0%,#DDD);
	background: -o-linear-gradient(top,#DDD 0%,#DDD);
    background: -webkit-gradient(linear, left top, left bottom, from(#DDD), to(#DDD));
	border: 1px solid #999;
}

/* メニューにマウスを乗せたときのスタイル */
#gNav a:hover {
	color: #00FF00;
}

/* 現在ページのメニュースタイル */
#gNav .current-menu-item a, #gNav .current-menu-item a span {
	background: -moz-linear-gradient(top,#111 0%,#bbb);
	background: -ms-linear-gradient(top,#ccc 0%,#bbb);
	background: -o-linear-gradient(top,#ccc 0%,#bbb);
	background: -webkit-gradient(linear, left top, left bottom, from(#111), to(#777));
	border: 1px solid #DDD;
	color: #ffffff;
}

/* ------------------------------------------------ */
/* 5.コンテンツ
/* ------------------------------------------------ */

/* エリア外枠のスタイル */
#contents {
	margin-bottom: 60px;
}

/* エリア内枠のスタイル */
#contents .inner {
	margin-bottom: 25px;
}

/* 中見出し */
h2 {
	background-color: #00ff00;
	color: #ffffff;
	font-size: 18px;
    font-weight: bold;
	margin-bottom: 25px;
	padding: 0.5em 1em;
	border-radius: 4px;
	border: 0;
}

/* 小見出し */
h3 {
	font-size: 16px;
	border: 1px solid #eeeeee;
	border-radius: 4px;
	box-shadow: 1px 1px 1px #999999;
	font-weight: bold;
    letter-spacing: 2px;
	margin-bottom: 15px;
	padding: 0.2em 1em;
}

h4 {
	border: 1px solid #ffffff;
	border-radius: 4px;
	box-shadow: 1px 1px 1px #ffffff;
	font-weight: bold;
	margin-bottom: 25px;
	padding: 0.2em 1em;
    color: #ffffff;
}

/* 事業内容のボックス */
.biz-box {
	padding: 0px 25px;
	margin-bottom: 0px;
}
.biz-box0 {
	padding: 0px 25px;
	margin-bottom: 40px;
}

/* 事業内容の見出し */
.biz-box h3 {
	text-align: center;
}

/* 事業内容の画像 */
.biz-box img {
	margin-bottom: 25px;
	width: 100%;
}

/* ------------------------------------------------ */
/* 6.フッター
/* ------------------------------------------------ */

/* エリア外枠のスタイル */
footer {
	background: -moz-linear-gradient(top,#FFF 0%,#CCC);
	background: -ms-linear-gradient(top,#FFF 0%,#CCC);
	background: -o-linear-gradient(top,#FFF 0%,#CCC);
	background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#CCC));
	border: 1px solid #DDD;
	color: #4d4d4d;
    font-weight: bold;
	padding: 25px;
	display: -webkit-flex;	/* safari用 */
	display: flex;
	border-radius: 4px;
	border: 0;
}

/* ロゴのスタイル */
#footer-logo img {
	width: 200px;
	height: 40px;
}

/* エリア左側のボックス */
#footer-left {
	width: 320px;
}

/* エリア右側のボックス */
#footer-right {
	width: 600px;
}

/* 商号 */
#company-name {
	font-size: 14px;
}

/* 会社所在地 */
#address {
	font-size: 12px;
}

/* 著作権表記 */
#copyright {
	text-align: right;
	display: block;
}

/* ------------------------------------------------ */
/* 7.フッターナビゲーション
/* ------------------------------------------------ */

/* エリア外枠のスタイル */
#fNav {
	margin-bottom: 30px;
}

/* メニューリストを囲む枠 */
#fNav ul {
	display: -webkit-flex;	/* safari用 */
	display: flex;
	width: 650px;
	margin-left: auto;
}

/* メニューリストの共通スタイル */
#fNav li {
	padding: 0 15px;
	border-right: 1px solid #000000;
}

/* 一番最後のメニュー */
#fNav li:last-child {
	border-right: none;
	padding-right: 0;
}

/* メニューリンクの共通スタイル */
#fNav a {
	color: #000000;
	text-decoration: none;
}

/* メニューリンクにマウスを乗せたときのスタイル */
#fNav a:hover {
	color: #00ff00;
	opacity: 1;
}

/* ------------------------------------------------ */
/* 8.トップページ専用スタイル
/* ------------------------------------------------ */

/* メインビジュアル */
#main_visual {
	width: 100%;
    height: 380px;
}

h4 {
    color: #110000;
}

/* 新着情報のリスト */
#news li {
	border-bottom: 1px dotted #aaaaaa;
	padding: 0.2em;
}

/* 事業内容の枠 */
#our-business {
	display: -webkit-flex;		/* safari用 */
	display: flex;
	-webkit-flex-wrap: wrap;	/* safari用 */
	flex-wrap: wrap;
}

/* 画像と文字を重ねる */
.relative {
    position: relative;		/* 相対位置指定 */
}
.relative span {
	position: absolute;		/* 絶対位置指定 */
	bottom: 280px;
	left: 0px;
    width: 100%;
/*	color: #fff; */
    color:#4d4d4d;
/*	line-height: 150%; */
/* 	background:	rgba(0,0,0,0.4);	/* 帯の透明度 */
    text-align: center;
    color:#000000;
    font-size: 200%;
    font-weight: bold;
    font-family: 游明朝;
/*	text-shadow: 2px 2px 1px #999999 */
}
.relative img {
    border-radius: 4px;
    border: 0;
}

#management-philosophy h3, #Values h3 {
    width: 33.33%;
}

#management-philosophy p, #Values p {
}

/* ------------------------------------------------ */
/* 9.事業内容ページ専用スタイル
/* ------------------------------------------------ */

/* 署名 */
.ceo-signature {
	text-align: right;
    margin-right: 10px;
}

#consulting h3, #making h3, #regulation h3, #inspection h3 {
    margin-left: 25px;
    width: 33.33%;
}

h4 {
    color: #110000;
}

#consulting p, #making p, #regulation p, #inspection p {
    margin-left: 25px;
}


/* 画像と文字を重ねる */
.business-relative {
    position: relative;		/* 相対位置指定 */
}
.business-relative span {
	position: absolute;		/* 絶対位置指定 */
	bottom: 80px;
    padding-left: 30px;
    left: 0px;
    width: 100%;
    color:#000000;
    text-align: left;
    font-size: 200%;
    font-weight: bold;
    font-family: 游明朝;
}
.business-relative img {
    border-radius: 4px;
    border: 0;
}

/* ------------------------------------------------ */
/* 10.会社概要ページ専用スタイル
/* ------------------------------------------------ */

/* 会社概要のテーブル */
#company-prof {
	margin: 0 auto;
	width: 80%;
}

/* 会社概要のテーブルセル */
#company-prof th ,#company-prof td {
    border-bottom: 1px solid #aaaaaa;
	padding: 1em;
}

/* 会社概要の見出しセル */
#company-prof th {
	white-space: nowrap;
	background-color: #ffffff;
	color: initial;
	border-bottom: 1px solid #aaaaaa;
}

/* 最終行の見出しセルの境界線を着色 */
#company-prof tr:last-child th {
	border-bottom: 1px solid #aaaaaa;
}

#company_visual {
	width: 100%;
    height: 190px;
}

/* 画像と文字を重ねる */
.company-relative {
    position: relative;		/* 相対位置指定 */
}
.company-relative span {
	position: absolute;		/* 絶対位置指定 */
	bottom: 30px;
    padding-left: 45px;
    left: 0px;
    width: 100%;
    color:#000000;
    text-align: left;
    font-size: 200%;
    font-weight: bold;
    font-family: 游明朝;
}
.company-relative img {
    border-radius: 4px;
    border: 0;
}

/* ------------------------------------------------ */
/* 11.アクセスページ専用スタイル
/* ------------------------------------------------ */

/*  */
#mapField {
	margin-left: 25px;
}

/* 画像と文字を重ねる */
.access-relative {
    position: relative;		/* 相対位置指定 */
}
.access-relative span {
	position: absolute;		/* 絶対位置指定 */
	bottom: 95px;
    padding-left: 30px;
    left: 0px;
    width: 100%;
    color:#000000;
    text-align: left;
    font-size: 200%;
    font-weight: bold;
    font-family: 游明朝;
}
.access-relative img {
    border-radius: 4px;
    border: 0;
}

/* ------------------------------------------------ */
/* 12.プライバシーポリシーページ専用スタイル
/* ------------------------------------------------ */

/* プライバシーポリシーのリスト枠 */
#our-policy ol {
	margin-bottom: 25px;
}

/* プライバシーポリシーのリスト */
#our-policy li {
	list-style: decimal inside;
}

/* 画像と文字を重ねる */
.policy-relative {
    position: relative;		/* 相対位置指定 */
}
.policy-relative span {
	position: absolute;		/* 絶対位置指定 */
	bottom: 95px;
    padding-left: 30px;
    left: 0px;
    width: 100%;
    color:#000000;
    text-align: left;
    font-size: 200%;
    font-weight: bold;
    font-family: 游明朝;
}
.policy-relative img {
    border-radius: 4px;
    border: 0;
}

/* ------------------------------------------------ */
/* 13.お問い合わせページ専用スタイル
/* ------------------------------------------------ */

/* お問い合わせフォームのフレーム */

#contact h3 {
    margin-left: 25px;
    width: 33.33%;
}

#contact p {
	font-size: 180%;
    margin-left: 50px;
}

#change-text-size {
    font-size: medium;
}

/* 画像と文字を重ねる */
.contact-relative {
    position: relative;		/* 相対位置指定 */
}
.contact-relative span {
	position: absolute;		/* 絶対位置指定 */
	bottom: 95px;
    padding-left: 30px;
    left: 0px;
    width: 100%;
    color:#000000;
    text-align: left;
    font-size: 200%;
    font-weight: bold;
    font-family: 游明朝;
}
.contact-relative img {
    border-radius: 4px;
    border: 0;
}

/* ------------------------------------------------ */
/* レスポンシブ（768px以上のタブレット/PC）
/* ------------------------------------------------ */
@media only screen and (min-width:768px) {

	/* ------------------------------------------------ */
	/* 1.共通
	/* ------------------------------------------------ */

	/* PC専用コンテンツを表示 */
	.pc {
		display: block;
	}

	/* スマホ専用コンテンツを非表示 */
	.sp {
		display: none;
	}
}

/* ------------------------------------------------ */
/* レスポンシブ（767px以下のスマホ）
/* ------------------------------------------------ */
@media only screen and (max-width:767px) {

	/* ------------------------------------------------ */
	/* 1.共通
	/* ------------------------------------------------ */

	/* PC専用コンテンツを非表示 */
	.pc {
		display: none;
	}

	/* スマホ専用コンテンツを表示 */
	.sp {
		display: block;
	}

	/* グリッド型のボックスを縦並びにする */
	.col-4, .col-6, .col-8 {
		display: block;
		width: 100%;
	}

	/* ------------------------------------------------ */
	/* 2.レイアウト
	/* ------------------------------------------------ */

	/* ページ全体を画面の横幅に合せる */
	#wrapper {
		width: 100%;
	}

	/* ------------------------------------------------ */
	/* 3.ヘッダー
	/* ------------------------------------------------ */

	/* 見出しを非表示 */
	h1 {
		display: none;
	}

	/* ロゴを中央寄せ */
	#header-logo {
		text-align: center;
	}

	/* ------------------------------------------------ */
	/* 4.グローバルナビゲーション
	/* ------------------------------------------------ */

	/* ------------------------------------------------ */
	/* 5.コンテンツ
	/* ------------------------------------------------ */

	/* エリア内枠のスタイル */
	#contents .inner {
		padding: 0 0.5em;
	}

	/* 見出しを左右中央寄せ */
	h2 {
		text-align: center;
		font-size: 16px;
	}

	/* 事業内容のボックス */
	.biz-box {
		padding: 0 0;
	}
	.biz-box0 {
		padding: 0 0;
	}

	/* ------------------------------------------------ */
	/* 6.フッター
	/* ------------------------------------------------ */

	/* エリアの外枠 */
	footer {
		display: block;
		padding: 25px 10px;
	}

	/* エリア左側のボックス */
	#footer-left {
		margin-bottom: 15px;
		text-align: center;
		width: 100%;
	}

	/* エリア右側のボックス */
	#footer-right {
		width: 100%;
	}

	/* 著作権表記 */
	#copyright {
		text-align: center;
		font-size: 12px;
	}

	/* ------------------------------------------------ */
	/* 7.フッターナビゲーション
	/* ------------------------------------------------ */

	/* メニューを縦並びにする */
	#fNav ul {
		display: block;
		width: 100%;
	}

	/* 各メニュー要素の装飾 */
	#fNav li {
		background-color: #ffffff;
		margin-bottom: 1px;
		position: relative;
		padding: 10px;
	}

	/* 各メニューのリンク領域を枠いっぱいに広げて上下中央寄せ */
	#fNav a {
		color: #ffffff;
		display: block;
	}

	/* 各メニュー右端のリンクボタン */
	#fNav li:after {
		background-color: #2AA8E5;
		border: 2px solid #ffffff;
		border-radius: 50%;
		content: '>';
		height: 20px;
		line-height: 20px;
		padding: 0;
		position: absolute;
		right: 7px;
		top: 10px;
		width: 20px;
		text-align: center;
	}

	/* 一番最後のメニューにもリンクボタンをつける */
	#fNav li:last-child:after {
		content: '>';
	}

	/* ------------------------------------------------ */
	/* 8.トップページ専用スタイル
	/* ------------------------------------------------ */

	/* メインビジュアル */
	#contents .inner#main_visual {
		padding: 0 0;
	}

	/* 事業内容 */
	#our-business {
		display: block;
	}

	.relative {
		position: relative;
	}
	.absolute {
    	position: absolute;
    	bottom: 500px;
    	color: #fff;
    	background: rgba(0,0,0,.6);
    	width: 100%;
    	max-width: 600px;
    	padding: 1em 0;
	}
	.absolute p {
    	margin: 0;
    	padding: 0 0.8em;
    	font-size: 150%;
    	text-align: center;
	}

	/* ------------------------------------------------ */
	/* 9.事業内容ページ専用スタイル
	/* ------------------------------------------------ */

	/* ------------------------------------------------ */
	/* 10.会社概要ページ専用スタイル
	/* ------------------------------------------------ */

	#contents .inner#ceo-signature {
		text-align: right; 
	}

	/* 表を枠いっぱいに広げる */
	#company-prof {
		width: 100%;
	}

	/* 表の各セルをブロック要素に変更して縦並びにする */
	#company-prof th,#company-prof td {
		display: block;
	}

	/* 表の見出しセル */
	#company-prof th {
		border: 1px solid #eeeeee;
		border-radius: 4px;
		box-shadow: 1px 1px 1px #999999;
		font-weight: bold;
		padding: .2em 1em;
		background-color: #ffffff;
		color: initial;
		text-align: left;
	}

	/* 最終行の見出しセルは境界線を表示する */
	#company-prof tr:last-child th {
		border-bottom: 1px solid #aaaaaa;
	}

	/* 表のデータセルは境界線を表示しない */
	#company-prof td {
		border: none;
	}

	/* ------------------------------------------------ */
	/* 11.プライバシーポリシーページ専用スタイル
	/* ------------------------------------------------ */

	/* ------------------------------------------------ */
	/* 12.お問い合わせページ専用スタイル
	/* ------------------------------------------------ */
	
}
