/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #4D4D4D;
}

html {
	font-family: "メイリオ", Meiryo,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 14px;
    line-height: 1.8em;
	letter-spacing: 0.05em;
	height: 100%;
}

body {
	background-image: url("../img/bg.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 0 100%;
	margin: 0;
	padding: 0;
	position: relative;
	height: 100%;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: #4D4D4D;
	transition: all .8s;
}

a:hover {
	opacity: 0.7;
}
table {
	border-collapse:collapse;
}

iframe {
	max-width: 100%;
}

.clearfix:after {
  content: "";
  clear: both;
  display: block;
}

.fl_l {
	float: left;
}

.fl_r {
	float: right;
}

.br_sp {
	display: none;
}

.d_pc {
}

.d_s {
	display: none;
}

.d_m {
	display: none;
}

.ib {
	display: inline-block;
}

.print {
	display: none;
}



/* ==========================================================================

   ヘッダー

   ========================================================================== */

header {
	padding-top: 25px;
}

.logo {
	width: 18%;
}

.menu {
	width: 59%;
}

ul.nav {
	padding: 4px 0 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	list-style: none;
	margin: 0;
}

ul.nav li {
	text-align: center;
}

ul.nav .jp {
	display: block;
    font-size: 15px;
    letter-spacing: 0.08em;
    line-height: 1.2em;
	font-weight: bold;
}

ul.nav .en {
	color: #888;
    display: block;
    font-size: 11px;
	line-height: 1.4em;
}

ul.nav li a {
	text-decoration: none;
}

/* ==========================================================================

   フッター

   ========================================================================== */

footer {
	background-color: rgba(255, 255, 255, 0.4);
    bottom: 0;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
    padding: 15px 0 5px;
	margin-top: 80px;
    width: 100%;
}

.foot_logo {
	margin-bottom: 15px;
}

.foot_address {
	display: flex;
}

.foot_content {
	font-size: 12px;
    line-height: 1.3em;
}

.foot_content:nth-child(1) {
	margin-right: 5%;
}

.free_dial {
	margin-right: 2px;
}

.copyright {
	text-align: center;
	font-size: 11px;
	margin: 5px 0 0;
	color: #666;
}

.page_top {
	position: fixed;
	bottom: 50px;
	right: 30px;
	opacity: 0.5;
}

.page_top img {
	width: 55px;
}

/* ==========================================================================

   レイアウト

========================================================================== */
.wrapper {
	max-width: 980px;
	margin: 0 auto;
}

.top_concept {
	font-family: "游明朝体","Yu Mincho",YuMincho,"ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-size: 29px;
    font-weight: bold;
    letter-spacing: 0.3em;
    line-height: 2.2em;
    margin: 130px 0 140px;
    text-align: center;
}

.content {
	background-color: rgba(255,255,255,0.70);
	box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.14);
	border-radius: 5px;
	padding: 15px 4% 60px;
	margin-top: 50px;
}
.content h1 {
	font-size: 25px;
    margin: 40px 0 40px;
    text-align: center;
	letter-spacing: 0.08em;
}

.content h1 .en {
	display: block;
    font-size: 27px;
    font-weight: normal;
}

.content h1 .jp {
	display: block;
	font-size: 13px;
	color: #999;
	margin-top: 1px;
	font-weight: normal;
}

a.tel {
	text-decoration: none;
}

/* ==========================================================================

   トップページ

========================================================================== */

.front_nav ul.nav li {
	width: 18%;
}

.front_nav ul.nav li a {
	background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.14);
	border-radius: 3px;
    display: block;
    padding: 15px 0;
}

.front_nav ul.nav .jp {
	font-weight: normal;
	font-size: 14px;
}

.front_nav ul.nav .en {
	font-size: 10px;
}

.front_banner ul{
	max-width: 400px;
	margin: 6em auto;
	list-style: none;
	padding: 0;
}

.front_banner li{
	margin-bottom: 2em;
}
/* ==========================================================================

   メーカー一覧

========================================================================== */

.page_maker .content {
	background-color: #FFF;
}

ul.maler_list {
	padding: 0;
	margin: 0 2%;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

ul.maler_list li {
	width: 21%;
	margin-bottom: 35px;
}

ul.maler_list li:last-child:nth-child(4n+2) {
margin-right: calc(58% - 16% / 3)	
}

ul.maler_list li:last-child:nth-child(4n+3) {
margin-right: calc(37% - 16% / 3 * 2)	
}

ul.maler_list li h2 {
	font-size: 14px;
	margin: 8px 0 2px;
	line-height: 1.2em;
}

.maker_url {
	font-size: 11.5px;
	color: #666;
	margin: 1px 0 3px;
	line-height: 1.2em;
	word-wrap: break-word;
}

/* ==========================================================================

   会社概要

========================================================================== */
table.company_info {
	margin: 0 auto;
    max-width: 800px;
    width: 100%;
	border-top: 1px dotted #999;
}

table.company_info th {
	border-bottom: 1px dotted #999;
	padding: 10px;
	text-align: left;
	min-width: 6em;
}

table.company_info td {
	border-bottom: 1px dotted #999;
	padding: 15px 10px;
}

.company .free_dial {
	line-height: 14px;
    margin-right: 4px;
    vertical-align: middle;
}

.company_office {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
}

.office_adress {
	width: 51%;
}

.office_map {
	width: 48%;
	text-align: right;
}

.office_map iframe {
	border: 1px solid #CCC !important;
}

#map {
	width: 100%;
	height: 220px;
	border: 1px solid #CCC;
}

#map2 {
	width: 100%;
	height: 220px;
	border: 1px solid #CCC;
}

/* ==========================================================================

   お問い合わせ

   ========================================================================== */

.contact_txt {
	text-align: center;
	font-size: 13px;
	line-height: 1.4em;
}

table.contact_form {
	margin: 0 auto;
    max-width: 800px;
    width: 100%;
}

table.contact_form th {
	text-align: left;
	font-size: 14px;
	font-weight: normal;
	padding: 10px 15px;
	border: 1px solid #ddd;
	width: 12em;
	background-color: #f4f4f4;
}

table.contact_form td {
	padding: 10px 15px;
	border: 1px solid #ddd;
	background-color: #FFF;
}

table.contact_form input {
	width: 70%;
	border: 1px solid #999;
	padding: 5px;
}

table.contact_form textarea {
	border: 1px solid #999;
	padding: 5px;
}

.form_btn {
	text-align: center;
	margin-top: 40px;
}

label input {
	margin-right: 3px;
	vertical-align: middle;
}

.contact textarea {
	width: 98%;
}

.nessesary {
	background-color: #4787C6;
    color: #fff;
    display: inline-block;
    font-size: 11px;
    font-weight: normal;
    line-height: 1.7em;
    margin-left: 5px;
    padding: 0 5px;
    vertical-align: middle;
}

.submit_button {
	background-color: #4787c6;
    border: medium none;
    border-radius: 5px;
    color: #fff;
    padding: 15px 35px;
	cursor: pointer;
}

.submit_button:hover {
	opacity: 0.7;
}

/* ==========================================================================

   Media Queries

   ========================================================================== */
@media only screen and (max-width: 1020px) {
	.wrapper {
		margin-left: 4%;
		margin-right: 4%;
	}
}
@media only screen and (max-width: 768px) {

	.fl_l {
		float: none;
	}

	.fl_r {
		float: none;
	}

	.d_pc {
		display: none;
	}

	.d_s {
		display: block;
	}

	.br_sp {
		display: block;
	}
	
	ul.nav {
		flex-wrap: wrap;
		justify-content: center;
	}
	
	ul.nav li {
		width: 33%;
		margin-bottom: 10px;
	}
	
	.front_nav ul.nav li {
		margin: 0 2% 10px;
		width: 29%;
	}

	.logo {
		width: 100%;
		text-align: center;
		margin-bottom: 23px;
	}
	
	.logo img {
		width: 150px;
	}
	
	.menu {
		width: 100%;
		text-align: center;
	}
	
	ul.maler_list li {
		width: 28%;
	}
	
	ul.maler_list li:last-child:nth-child(3n+3) {
	margin-right: 0;
	}
	
	ul.maler_list li:last-child:nth-child(3n+2) {
	margin-right: calc(44% - 16% / 2);
	}
	.content h1 .en {
		font-size: 22px;
	}
	
	.content h1 .jp {
		font-size: 12px;
	}
	
	.content {
		margin-top: 30px;
	}
	
	.content h1 {
		margin: 30px 0;
	}
	
	.top_concept {
		margin: 90px 0 100px;
		font-size: 27px;
	}
	
	.company_office {
		display: block;
	}
	
	.office_adress {
		width: 100%;
	}
	
	.office_map {
		width: 100%;
	}
	
	.office_map iframe {
		width: 100%;
	}
		
	.no_maker_tab {
		display: none;
	}


}
@media only screen and (max-width: 480px) {

	.d_m {
		display: inline-block;
	}
	
	.content {
		margin-top: 20px;
	}
	
	.content h1 {
		margin: 15px 0 25px;
	}
	
	.content h1 .jp {
		font-size: 11px;
		line-height: 1.4em;
	}
	.content h1 .en {
		font-size: 20px;
	}
	
	ul.nav .jp {
		font-size: 13px;
	}
	
	ul.nav .en {
		font-size: 9px;
	}
	
	ul.maler_list li {
		width: 47%;
	}
	
	table.company_info th {
		padding-left: 5px;
		padding-right: 5px;
		width: 5.5em;
	}
	
	table.company_info td {
		padding-left: 5px;
		padding-right: 5px;
	}
	
	table.contact_form {
		border-bottom: 1px solid #ddd;
	}
	
	table.contact_form th {
		display: block;
		width: auto;
		border-bottom: none;
	}
	
	table.contact_form td {
		display: block;
		border-bottom: none;
	}
	
	table.contact_form input {
		width: 92%;
	}
	
	ul.maler_list li h2 {
		font-size: 13px;
	}
	
	.top_concept {
		font-size: 19px;
		margin: 40px 0 55px;
	}
	
	.front_nav ul.nav .jp {
		font-size: 13px;
	}
	
	footer {
		margin-top: 40px;
	}
	
	.foot_address {
		display: block;
	}
	
	.foot_content {
		margin-bottom: 10px;
	}
	
	.foot_content:nth-child(1) {
		margin-right: 0;
	}
	
	.page_top {
		right: 5px;
	}
	
	.page_top img {
		width: 35px;
	}
	
	.no_maker {
		display: none;
	}
	
}

@media only screen and (min-height: 800px) and (min-width: 760px) {
	
	body.home footer {
		/*position: absolute;*/
		bottom: 0;
	}
	
	body.home .main {
		bottom: 280px;
		/*position: absolute;*/
		width: 100%;
		z-index: -1;
	}
	
	
}


@media print {
	
	
	body.home {
		zoom: 60%;
	}
	
	body.home footer {
		display: none;
	}
	
	.print {
		display: block;
	}
	
	.no_print {
		display: none;
	}
	
	.pagetop {
		display: none;
	}
	
	.print .content {
		padding-bottom: 0;
	}
	
	.copyright {
		display: none;
	}
	
	body {
		background-size: contain;
		background-position: 0 0;
	}
	.menu,
	.front_nav {
		display: none;
	}
	
	.print_top_company {
		margin: 0 6%;
	}
	
	footer {
		position: absolute;
		bottom: 0;
		box-shadow: none;
	}
	
	.map_img {
		border: 1px solid #CCC;
	}
	
	body.company {
		zoom: 70%;
	}
	
	body.company footer {
		display: none;
	}
	
	.page_breake {
		page-break-after: always;
	}
	
	.page_maker .content {
		margin-top: 0;
		padding-left: 0;
		padding-right: 0;
		box-shadow: none;
	}
	
	ul.maler_list {
		justify-content: flex-start;
		overflow: hidden;
	}
	ul.maler_list li {
		width: 12%;
		margin-left: 2%;
		margin-right: 2%;
		margin-bottom: 20px;
	}
	
	ul.maler_list li:last-child:nth-child(3n+3) {
		margin-right: 2%;
	}
	
	ul.maler_list li:last-child:nth-child(3n+2) {
		margin-right: 2%;
	}
	
	ul.maler_list li:last-child:nth-child(4n+2) {
		margin-right: 2%;
	}
	
	ul.maler_list li:last-child {
		margin-bottom: 0;
	}
	
	ul.maler_list li h2 {
		font-size: 16pt;
		-webkit-transform: scale(0.5);
		-moz-transform: scale(0.5);
		-ms-transform: scale(0.5);
		-o-transform: scale(0.5);
		transform: scale(0.5);
		white-space: nowrap;
		text-align: center;
	}
	
	.maker_url {
		display: none;
	}
	
	.no_maker {
		display: none;
	}
	
	ul.maler_list li h2.maker_l {
		margin-left: -50px;
	}
	
	ul.maler_list li h2.maker_m {
		margin-left: -35px;
	}
	
	
	body.page_maker footer {
		display: none;
	}
	
	body.page_maker {
		zoom: 60%;
	}
	
	body.page_maker .content {
		margin-top: 20px;
		margin-bottom: 0;
		padding-bottom: 0;
	}
	
	body.page_maker h1 {
		margin: 0;
	}

	
	body.page_maker .wrapper {
		max-width: 100%;
	}
	
	body.page_maker ul.maler_list li {
	}
	
}