@charset "UTF-8";

/*
Theme Name: theme-kosato
Theme URI: http://www.magical-remix.co.jp/
Description: こさと木工様専用テーマ
Author: Igarashi
Author URI: http://www.magical-remix.co.jp/
Version: 1.0
*/

/* body,Anchor
------------------------------------------------*/
* { box-sizing: border-box; }
body {
	background: #fff;
	margin: 0;
	padding: 0;
	line-height: 1.8;
	font-weight: normal;
	font-style: normal;
	font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
	font-size: 16px;
	color: #333;
}
a { overflow: hidden; }
a:link,
a:visited { color: #005481; }
a:hover { text-decoration: none; color: #005481; }
input,textarea {
	-webkit-appearance: none;
	border: 1px solid #ccc;
	padding: 3px;
	font-size: 16px;
}
.inner {
	width: 990px;
	margin: 0 auto;
}
.flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.flex.row {
	flex-direction: row-reverse;
}
.sp-block {
	display: none;
}
.btn {
	text-align: center;
}
.btn a {
	display: inline-block;
	background: #837064;
	height: 44px;
	border-radius: 2px;
	margin: 0 auto;
	padding: 0 30px;
	line-height: 44px;
	text-align: center;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: bold;
	color: #fff !important;
}
.btn a:hover {
	color: #FFA45A !important;
}
.btn span {
	position: relative;
	padding: 0 10px 0 0;
}
.btn span:after {
	content: '';
	position: absolute;
	top: 50%;
	right: -10px;
	width: 8px;
	height: 8px;
	border-left: 1px solid #fff;
	border-top: 1px solid #fff;
	-webkit-transform: translate(0, -50%) rotate(135deg);
	transform: translate(0, -50%) rotate(135deg);
}
#pagescroll {
	margin: 0;
}
#pagescroll a {
	position: fixed;
	bottom: 50px;
	right: 1%;
	z-index: 200;
	background: #555;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin: 0 0 0 -50px;
	padding: 10px;
	text-align: center;
	font-weight: bold;
	color: #fff;
	opacity: 0.8;
}
#pagescroll a:after {
	content: '';
	position: absolute;
	top: 55%;
	left: 50%;
	width: 15px;
	height: 15px;
	border-left: solid 1px #fff;
	border-top: solid 1px #fff;
	-webkit-transform: translate(-50%, -50%) rotate(45deg);
	transform: translate(-50%, -50%) rotate(45deg);
}
#pagescroll a:hover {
	background: #111;
	transition: 0.3s;
}
@media screen and (max-width:767px) {
	body,input,textarea {
		font-size: 14px;
	}
	.inner {
		width: 100%;
		padding: 0 20px;
	}
	.flex {
		display: block;
	}
	.sp-block {
		display: block;
	}
	.pc-block {
		display: none;
	}
	#pagescroll a {
		bottom: 10px;
	}
	.wrap_box {
		position: relative;
		height: 0;
		padding-top: 56.25%;
	}
	.wrap_box iframe,
	.wrap_box object,
	.wrap_box embed {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
}

/* header
------------------------------------------------*/
#header {
	display: flex;
	align-items: center;
	padding: 15px 50px;
	font-size: 15px;
}
#header p {
	margin: 0;
}
#header #logo {
	margin: 0 40px 0 0;
	line-height: 1;
}
#header #logo a:hover img {
	opacity: 0.8;
}
@media screen and (max-width:767px) {
	#header {
		display: block;
		padding: 15px 20px;
		font-size: 13px;
	}
	#header p {
		text-align: center;
	}
	#header #logo {
		margin: 0 0 10px;
	}
}

/* nav
------------------------------------------------*/
#nav ul {
	display: flex;
	justify-content: space-between;
	background: #837064;
	list-style: none;
	margin: 0;
	padding: 20px 30px;
}
#nav ul + ul {
	justify-content: flex-end;
	background: #fff;
	padding: 10px 30px;
}
#nav ul + ul li {
	margin: 0 0 0 15px;
}
#nav ul a {
	text-decoration: none;
	font-size: 15px;
	color: #fff;
}
#nav ul a:hover {
	color: #FFA45A;
}
#nav ul + ul a {
	font-size: 13px;
	color: #888;
}
#nav ul + ul a:hover {
	color: #333;
}

@media screen and (max-width:767px) {
	#nav ul {
		display: block;
		display: none;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 1000;
		width: 100%;
		padding: 40px 0 0;
	}
	#nav ul li {
		border-bottom: 1px solid #bdb3ad;
	}
	#nav ul li:first-child {
		border-top: 1px solid #bdb3ad;
	}
	#nav ul a {
		display: block;
		padding: 15px 20px;
		font-size: 16px;
	}
	#nav ul li:last-child a,
	#nav ul li:nth-last-child(2) a {
		background: #9a887d;
		padding: 10px 20px;
		font-size: 13px;
		color: #fff;
	}
	.menu-trigger,
	.menu-trigger span {
		display: inline-block;
		transition: all .4s;
	}
	.menu-trigger {
		cursor: pointer;
		position: absolute;
		top: 0;
		right: 0;
		z-index: 1002;
		background: #fff;
		width: 40px;
		height: 35px;
	}
	.menu-trigger.close {
		background: #837064;
	}
	.menu-trigger span {
		position: absolute;
		left: 0;
		width: 52%;
		height: 1px;
		background: #837064;
		margin: 0 24%;
	}
	.menu-trigger span:nth-of-type(1) {
		top: 10px;
	}
	.menu-trigger span:nth-of-type(2) {
		top: 17px;
	}
	.menu-trigger span:nth-of-type(3) {
		bottom: 10px;
	}
	.menu-trigger.close span:nth-of-type(1) {
		-webkit-transform: translateY(20px) rotate(-45deg);
		transform: translateY(20px) rotate(-45deg);
		top: -2px;
		background: #fff;
	}
	.menu-trigger.close span:nth-of-type(2) {
		opacity: 0;
	}
	.menu-trigger.close span:nth-of-type(3) {
		-webkit-transform: translateY(-20px) rotate(45deg);
		transform: translateY(-20px) rotate(45deg);
		bottom: -4px;
		background: #fff;
	}
}

/* title
------------------------------------------------*/
#title {
	background: url(img/mainvis.jpg) no-repeat center;
	background-size: cover;
	height: 410px;
}
#title .inner {
	display: flex;
	align-items: center;
	height: 410px;
}
#title .page-title {
	display: inline-block;
	background: rgba(0,0,0,0.6);
	margin: 0;
	padding: 30px 50px;
	line-height: 1;
	font-size: 40px;
	color: #fff;
}
/* 制作事例 */
.single-product #title,
.post-type-archive-product #title,
.tax #title {
	background: #777;
	height: auto;
	padding: 30px 0;
}
.single-product #title .inner,
.post-type-archive-product #title .inner,
.tax #title .inner {
	height: auto;
}
.single-product #title .page-title,
.post-type-archive-product #title .page-title,
.tax #title .inner .page-title {
	background: none;
	padding: 0;
}
@media screen and (max-width:767px) {
	#title,
	#title .inner {
		height: 300px;
	}
	#title .inner {
		padding: 0;
	}
	#title .page-title {
		padding: 20px;
		font-size: 30px;
	}
	.single-product #title,
	.post-type-archive-product #title,
	.tax #title {
		padding: 30px 20px;
	}
}
@media screen and (max-width:480px) {
	#title,
	#title .inner {
		height: 200px;
	}
	#title .page-title {
		font-size: 26px;
	}
}

/* path
------------------------------------------------*/
#path {
	background: #FAF6F4;
	padding: 10px 0;
	font-size: 14px;
	color: #888;
}
#path a:link,
#path a:visited {
	color: #888;
}
@media screen and (max-width:767px) {
	#path {
		font-size: 12px;
	}
}

/* main
------------------------------------------------*/
#main {
	display: block;
}
#main ul.cat {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}
#main ul.cat li {
	background: #837064;
	margin: 0 10px 10px 0;
	padding: 5px;
	line-height: 1;
	font-size: 14px;
	color: #fff;
}
#main ul.cat li a {
	display: block;
	text-decoration: none;
	color: #fff;
}
#main ul.cat li a:hover {
	color: #FFA45A;
}
#main .product-post {
	margin-bottom: 50px;
}
#main .product-post .box {
	width: 49%;
	border: 0;
	margin: 0 0 20px;
	padding: 0;
}
#main .product-post .box a {
	display: block;
	background: #fff;
}
#main .product-post .box p {
	margin: 0 0 20px;
}
#main .product-post .box p + p {
	padding: 0 30px;
}
#main .product-post .box ul {
	margin: 0 30px 30px;
}
#main .box a {
	display: flex;
	justify-content: space-between;
	text-decoration: none;
	color: #333;
}
#main .box a:hover {
	opacity: 0.8;
}
#main .box a img {
	max-width: 100%;
	height: auto;
}
#main .box .image {
	width: 46%;
	margin: 0;
}
#main .box .text {
	width: 49%;
}
#main .box .text dl {
	margin: 0;
}

@media screen and (max-width:767px) {
	#main img {
		display: block;
		max-width: 100%;
		height: auto;
		margin: 0 auto;
	}
	#post ul.cat li {
		margin-bottom: 10px;
		font-size: 12px;
	}
	#main .product-post.flex {
		display: flex;
	}
	#main .product-post .box p + p {
		padding: 0 20px;
	}
	#main .product-post .box ul {
		margin: 0 20px 10px;
	}
	.table_wrap {
		max-width: 700px;
		overflow-x: auto;
	}
	.table_wrap:-webkit-scrollbar {
		height: 5px;
	}
	.table_wrap:-webkit-scrollbar-track {
		background: #F1F1F1;
	}
	.table_wrap:-webkit-scrollbar-thumb {
		background: #BCBCBC;
	}
	.table_wrap table {
		table-layout: fixed;
		min-width: 100%;
	}
	.table_wrap table th {
		width: 150px;
		min-width: 150px;
	}
	.table_wrap table td {
		width: 150px;
		min-width: 150px;
	}
}
@media screen and (max-width:480px) {
	#main .product-post.flex {
		display: block;
	}
	#main .product-post .box {
		width: 100%;
	}
	#main .box a {
		display: block;
	}
	#main .box .image {
		width: 100%;
		margin: 0 0 10px;
	}
	#main .box .text {
		width: 100%;
	}
}

/* footer
------------------------------------------------*/
#footer {
	background: #FAF6F4;
	padding: 100px 0 50px;
}
#footer .inner {
	position: relative;
	padding-bottom: 100px;
}
#footer a {
	text-decoration: none;
	color: #333;
}
#footer a:hover {
	color: #888;
}
#footer h3 {
	margin: 0 0 50px;
	text-align: center;
	letter-spacing: 0.05em;
	font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
	font-size: 30px;
	font-weight: normal;
}
#footer h3 + p {
	margin: 0 0 50px;
	text-align: center;
	font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
	font-size: 18px;
}
#footer .flex {
	justify-content: center;
	align-items: center;
}
#footer dl {
	margin: 0;
}
#footer dt {
	display: flex;
	align-items: center;
	line-height: 1.2;
	font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}
#footer dt span {
	font-size: 18px;
}
#footer dt span + span {
	margin: 0 0 0 10px;
	font-size: 40px;
}
#footer dd {
	margin: 0;
	font-size: 14px;
}
#footer ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}
#footer ul li {
	margin: 0 0 0 20px;
}
#footer ul li a {
	display: block;
	height: 70px;
	padding: 0 35px;
	border-radius: 5px;
	line-height: 70px;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
}
#footer ul li:nth-child(1) a {
	background: #837064 url(img/icon-mail.svg) no-repeat left 20px center;
	background-size: 30px auto;
	padding: 0 35px 0 60px;
}
#footer ul li:nth-child(1) a:hover {
	color: #FFA45A;
}
#footer ul li:nth-child(2) a {
	background: #00B900;
}
#footer ul li:nth-child(2) a:hover {
	color: #FFFF50;
}
#footer ul li a span {
	position: relative;
	padding: 0 20px 0 0;
}
#footer ul li a span:after {
	content: '';
	position: absolute;
	top: 50%;
	right: -10px;
	width: 8px;
	height: 8px;
	border-left: solid 1px #fff;
	border-top: solid 1px #fff;
	-webkit-transform: translate(0, -50%) rotate(135deg);
	transform: translate(0, -50%) rotate(135deg);
}
#footer .flex + p,
#footer small {
	position: absolute;
	bottom: 0;
	margin: 0;
	font-size: 14px;
}
#footer .flex + p {
	left: 0;
}
#footer small {
	right: 0;
	color: #888;
}
@media screen and (max-width:767px) {
	#footer {
		padding: 70px 0 20px;
	}
	#footer h3 {
		margin: 0 0 30px;
		font-size: 26px;
	}
	#footer h3 + p {
		margin: 0 0 40px;
		font-size: 16px;
	}
	#footer dl {
		margin: 0 0 20px;
		text-align: center;
	}
	#footer dt {
		justify-content: center;
	}
	#footer ul {
		justify-content: center;
	}
	#footer ul li a {
		font-size: 18px;
	}
	#footer .flex + p {
		left: 20px;
	}
	#footer small {
		right: 20px;
	}
@media screen and (max-width:480px) {
	#footer {
		padding: 50px 0 10px;
	}
	#footer .inner {
		text-align: center;
		padding: 0 20px;
	}
	#footer h3 {
		margin: 0 0 20px;
		font-size: 20px;
	}
	#footer h3 + p {
		margin: 0 0 30px;
		font-size: 13px;
	}
	#footer dt span {
		font-size: 12px;
	}
	#footer dt span + span {
		font-size: 30px;
	}
	#footer dd {
		font-size: 12px;
	}
	#footer ul {
		display: block;
		margin: 0 0 30px;
	}
	#footer ul li {
		margin: 0 0 10px;
		text-align: center;
	}
	#footer ul li:nth-child(1) a {
		padding: 0 35px;
	}
	#footer ul li a span {
		width: 7em;
		display: inline-block;
	}
	#footer .flex + p,
	#footer small {
		position: relative;
		right: auto;
		left: auto;
	}
	#footer .flex + p {
		margin: 50px 0 20px;
	}
}
