﻿/* amg-style Styles
================================================== */

/* ===================================================================
	色変更 blue→red
=================================================================== */
/* common */
.page-header {
	background-color: #e60012;
}
.header-search:hover,
.header-search-x:hover {
	color: #e60012;
}


/* smartphone humberger */
.line-one,
.line-two,
.line-three {
	background-color: #e60012;
}

/* top slider */
nav.slider-button a.active,
nav.slider-button a:hover {
	background-color: #e60012;
}
.vivid {
	background-color: #e60012;
	border: 1px solid #e60012;
	color: #fff;
}

/* top 3column */
.our_feature .feature-icon {
	background-color: #e60012;
}
.our_feature .feature-title a:hover {
	color: #e60012;
}
.feature-content:hover .feature-icon {
	border-color: #e60012;
}

/* footer */
footer#colophon .widget ul li a:hover {
    color: #e60012;
}

.widget_contact ul li:hover:before,
.widget_contact ul li a:hover {
	color: #e60012;
}



/* ===================================================================
	Common 左写真・右テキスト
=================================================================== */
section.content {
	margin-bottom: 50px;
	padding-bottom: 30px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
section.content:last-child {
	border: 0;
}
.content-box {
	width: 100%;
	font-size: 0;
}

.content-box .content-left,
.content-box .content-right {
	display: inline-block;
	vertical-align: top;
	font-size: 16px;
}
.content-box .content-left {
	width: 40%;
}
.content-box .content-right {
	width: 60%;
	padding-left: 20px;
}
.content-box .content-right p {
	margin-bottom: 1em;
}

.content-box .content-right p:last-child {
	margin-bottom: 0;
}

/* All Mobile Screen ( smaller than 481px )
================================================== */
@media only screen and (max-width: 480px) {
	section .content-box .content-left,
	section .content-box .content-right {
		display: block;
		width: 100%;
	}
	section .content-box .content-left  {
		margin-bottom: 10px;
	}
	section .content-box .content-right {
		padding: 0;
	}
	section .content-box .content-right h1 {
		margin-bottom: 20px;
	}
}

/* ===================================================================
	カスタム投稿一覧 member
=================================================================== */
.member-box {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
article.member-list {
	width: 24%;
	margin-bottom: 10px;
}

article.member-list .member-list-photo {
	position: relative;
	margin-bottom: 5px;
}
article.member-list h1 {
	font-size: 16px;
	line-height: 1.5;
}
article.member-list h1 a {
	color: #747474;
	display: block;
}
article.member-list h1 a:hover {
	color: #e60012;
}

/* All Mobile Screen ( smaller than 768px )
================================================== */
@media only screen and (max-width: 767px) {
	article.member-list {
		width: 49%;
	}
}


/* All Mobile Screen ( smaller than 481px )
================================================== */
@media only screen and (max-width: 480px) {
	article.member-list {
		width: 100%;
		margin-bottom: 30px;
	}
}


/* photo ホバー */
.member-list-photo .blog-overlay {
	background: rgba(0, 0, 0, 0.30);
	color: #ffffff;
	font-size: 70px;
	font-weight: 200;
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
		-webkit-transition: all 0.3s ease 0s;
		-moz-transition: all 0.3s ease 0s;
		-o-transition: all 0.3s ease 0s;
		-ms-transition: all 0.5s ease 0s;
	transition: all 0.2s ease 0s;
		-webkit-transform: scale(0);
		-moz-transform: scale(0);
		-o-transform: scale(0);
		-ms-transform: scale(0);
	transform: scale(0);
	z-index: 1;
}
.member-list-photo:hover .blog-overlay {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-o-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
}
.member-list-photo .blog-overlay a {
	display: table;
	height: 100%;
	width: 100%;
}
.member-list-photo .blog-overlay span.ico-link {
	display: table-cell;
	vertical-align: middle;
}
.member-list-photo .blog-overlay span.ico-link:before {
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	font-size: 26px;
	line-height: 26px;
	color: #fff;
	font-family: 'Genericons';
	content: '\f442';
	border: 1px solid #fff;
	padding: 6px 6px 5px;
}



/* ===================================================================
	カスタム投稿 member-detail
=================================================================== */

.member-head .content-box .content-left {}

.member-paper1 .pdfemb-viewer,
.member-paper2 .pdfemb-viewer {
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: none;
	margin-bottom: 10px;
}
.member-paper1 .pdfemb-pagescontainer,
.member-paper2 .pdfemb-pagescontainer {
	background: none;
}

/* PDF表示
================================================== */
.pdf-box {
	width: 100%;
	padding-right: 20px;
}
.pdf-box .pdf-front,
.pdf-box .pdf-back {
	float: left;
	width: 50%;
	margin-right: 20px;
}
.pdf-box .pdf-back {
	margin-right: -20px;
}




/* All Mobile Screen ( smaller than 768px )
================================================== */
@media only screen and (max-width: 767px) {
	.pdf-box {
		padding-right: 0;
	}
	.pdf-box .pdf-front,
	.pdf-box .pdf-back {
		float: none;
		width: 100%;
		margin-right: 0;
		margin-bottom: 30px;
	}
}


/* All Mobile Screen ( smaller than 481px )
================================================== */
@media only screen and (max-width: 480px) {

}


/* ===================================================================
	会社概要
=================================================================== */
.company-tb ul {
	margin: 0px 0px 0 20px;
}


/* ===================================================================
	お問合せ
=================================================================== */

.wpcf7 input,
.wpcf7 textarea {
	padding:8px;
	font-size: 16px;
	margin-bottom: 5px;
	-webkit-appearance: none;
}
.wpcf7 input[type="reset"],
.wpcf7 input[type="button"],
.wpcf7 input[type="submit"] {
	background-color: #e60012;
}
.wpcf7 p {
	margin:0 0 30px;
	font-size:14px;
}
.wpcf7 .wpcf7-not-valid {
	background: #F2DEDE;
}
.wpcf7 span.wpcf7-not-valid-tip {
	font-size: 80%;
}
.wpcf7 .wpcf7-response-output {
	margin: 10px 0 40px;
	padding: 8px 35px 8px 14px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	border-radius: 5px;
}
.wpcf7 .wpcf7-validation-errors {
	color: #B94A48;
	background-color: #F2DEDE;
	border: 1px solid #EED3D7;
}
.wpcf7 .wpcf7-mail-sent-ok {
	color: #3A87AD;
	background-color: #D9EDF7;
	border: 1px solid #BCE8F1;
}
.wpcf7 .required { color: #f00;}
.wpcf7 .any{ color: #080;}

/* ===================================================================
	個人情報保護方針
=================================================================== */
p.privacy-des {
	margin-bottom: 40px;
}
.privacy-box section {
	margin-bottom: 30px;
}
.privacy-box section h2 {
	font-size: 18px;
	padding-bottom: 5px;
	line-height: 1.2;
}
.privacy-box p.sign-ichikawa {
	padding-top: 50px;
	text-align: right;
}


/* ===================================================================
	Link
=================================================================== */
a {
	color: #e60012;
}
.main-navigation a:hover,
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current_page_ancestor a,
.main-navigation ul li.current-menu-ancestor a,
.main-navigation ul li.current_page_item a,
.main-navigation ul li:hover > a {
	color: #e60012;
}
.main-navigation ul li ul li a:hover,
.main-navigation ul li ul li:hover > a,
.main-navigation ul li.current-menu-item ul li a:hover {
	color: #e60012;
}
.entry-title a:hover,
.entry-title a:focus,
.entry-title a:active {
    color: #e60012;
}
.entry-meta span:hover,
.entry-meta a:hover,
.cat-links a:hover,
.tag-links a:hover {
    color: #e60012;
}
.go-to-top a:hover {
	background-color: #e60012;
}