@charset "UTF-8";
/*
Theme Name: theme-gotoh
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-style: normal;
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
	font-size: 16px;
	color: #333;
}
a { overflow: hidden;	text-decoration: none; }
a:link,
a:visited,
a:hover {color: #333; }
input,textarea {
	border: 1px solid #ccc;
	padding: 3px;
	font-size: 16px;
}
ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
img {
	vertical-align: bottom;
}
.inner {
	width: 66%;
	max-width: 800px;
	margin: 0 auto;
}
.flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.sp-block {
	display: none;
}
.align-center {
	text-align: center;
}
.clearfix:after {
	content: "";
	display: block;
	clear: both;
}
#pagescroll {
	margin: 0;
}
#pagescroll a {
	position: fixed;
	bottom: 10px;
	right: 20px;
	z-index: 200;
	background: #000;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin: 0 0 0 -50px;
	padding: 10px;
	opacity: 0.3;
}
#pagescroll a:after {
	content: '';
	position: absolute;
	top: 55%;
	left: 50%;
	width: 15px;
	height: 15px;
	border-left: solid 1px #fff;
	border-top: solid 1px #fff;
	transform: translate(-50%, -50%) rotate(45deg);
}
#pagescroll a:hover {
	opacity: 0.5;
	transition: 0.3s;
}
.morebtn {
	margin: 0;
}
.morebtn a,
.morebtn span {
	display: block;
	position: relative;
	background: #ab8f42;
	border-radius: 22px;
	width: 145px;
	height: 40px;
	margin: 0 0 0 auto;
	padding: 0 10px 0 0;
	text-align: center;
	line-height: 40px;
	font-size: 14px;
	color: #fff;
}
.morebtn a:after,
.morebtn span:after {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	right: 20px;
	width: 6px;
	height: 6px;
	border-left: solid 1px #fff;
	border-top: solid 1px #fff;
	margin: 1px 0 0;
	transform: translate(0, -50%) rotate(135deg);
}
.morebtn a:hover,
a:hover .morebtn span {
	opacity: 0.8;
}
@media screen and (max-width:767px) {
	body,input,textarea {
		font-size: 14px;
	}
	button,
	[type="button"],
	[type="reset"],
	[type="submit"] {
		-webkit-appearance: button;
	}
	.pc-block {
		display: none;
	}
	.sp-block {
		display: block;
	}
	.inner {
		width: 100%;
		max-width: none;
		padding: 0 20px;
	}
	#pagescroll a {
		bottom: 50px;
	}
	.morebtn a,
	.morebtn span {
		width: 135px;
		height: 30px;
		line-height: 30px;
		font-size: 12px;
	}
	.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%;
	}
}
@media screen and (max-width:480px) {
	.table_wrap {
		max-width: 700px;
		overflow-x: auto;
		margin-bottom: 20px;
		background: url(img/icon-scroll.png) no-repeat right bottom;
		background-size: auto 25px;
	}
	.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%;
	}
	
}
/* main
------------------------------------------------*/
#main .post-body {
	overflow: hidden;
}
#main .post-body:after {
	content: "";
	display: block;
	clear: both;
}
#main .post-body #path {
	margin: 20px 0 0;
	font-size: 14px;
}
#main .post-body #path a {
	text-decoration: underline;
	color: #005481;
}
#main .post-body #path a:hover {
	text-decoration: none;
}
#main .post-body h2 {
	position: relative;
	margin: 60px 0 40px;
	padding: 0 0 15px;
	line-height: 1.5;
	font-size: 28px;
	color: #ab8f42;
}
#main .post-body h2:after {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	background: #C8C2B3;
	width: 50px;
	height: 4px;
}
#main .post-body h3 {
	border-bottom: 2px solid #C8C2B3;
	margin: 40px 0 20px;
	padding: 0 0 5px;
	line-height: 1.5;
	font-size: 22px;
}
#main .post-body h4 {
	margin: 40px 0 10px;
	line-height: 1.5;
	font-size: 18px;
}
#main .post-body ul {
	margin: 1em 0;
	list-style: disc;
	padding: 0 0 0 1.5em;
}
#main .post-body ol {
	padding: 0 0 0 1.5em;
}
#main .post-body li {
	margin: 0 0 10px;
}
#main .post-body li li {
	margin: 10px 0 0;
}
#main .post-body table {
	margin: 30px 0;
	width: 100%;
	border-collapse: collapse;
}
#main .post-body table th,
#main .post-body table td {
	padding: 1em 1.5em;
	border: 1px solid #ccc;
}
#main .post-body table th {
	background: none;
}
#main .post-body .news {
	border-top: 1px solid #ccc;
	margin: 0 0 20px;
}
#main .post-body .news dt {
	clear: both;
	float: left;
	width: 130px;
	padding: 10px 0;
	color: #888;
}
#main .post-body .news dd {
	border-bottom: 1px solid #ccc;
	margin: 0;
	padding: 10px 0 10px 130px;
}
#main .post-body .toplinklist {
	display: flex;
	justify-content: space-between;
}
#main .post-body .toplinklist .box {
	width: 31.7%;
}
#main .post-body .toplinklist .box img {
	max-width: 100%;
	height: auto;
}
#main .post-body .toplinklist .box a {
	display: block;
}
#main .post-body .toplinklist .box a:hover {
	opacity: 0.8;
}
#main .post-body .toplinklist .box dl,
#main .post-body .toplinklist .box dd,
#main .post-body .toplinklist .box p {
	margin: 0;
	font-size: 14px;
}
#main .post-body .toplinklist .box dt {
	margin: 15px 0;
	text-align: center;
	font-size: 18px;
	font-weight: bold;
}
#main .post-body .toplinklist .box .morebtn span {
	margin: 20px auto 0;
}
#main .post-body .post-meta {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 60px 0;
	padding: 0;
	color: #888;
}
#main .post-body .post-meta li {
	margin: 0 10px 0 0;
	line-height: 1.2;
}
#main .post-body .post-meta li a {
	border: 1px solid #ccc;
	padding: 3px;
	font-size: 12px;
	color: #888;
}
#main .post-body .post-meta li a:hover {
	background: #f7f7f7;
	color: #666;
}
#main .post-body.postlist #path + .post {
	border-top: 1px solid #ccc;
	margin: 60px 0 0;
}
#main .post-body.postlist .post a {
	display: block;
	border-bottom: 1px solid #ccc;
	padding: 30px 0;
}
#main .post-body.postlist .post a:hover {
	opacity: 0.8;
}
#main .post-body.postlist .post dl {
	margin: 0 0 20px;
}
#main .post-body.postlist .post dt {
	font-size: 19px;
	font-weight: bold;
}
#main .post-body.postlist .post dd {
	margin: 10px 0 0;
	line-height: 1.2;
	color: #888;
}
#main .post-body.postlist .post dt + dd {
	display: flex;
	align-items: center;
}
#main .post-body.postlist .post dd ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}
#main .post-body.postlist .post dd ul li {
	border: 1px solid #ccc;
	margin: 0 0 0 10px;
	padding: 3px;
	font-size: 12px;
}
#main .post-body.postlist .post dd + dd {
	font-size: 14px;
}
@media screen and (max-width:767px) {
	#main .post-body #path {
		font-size: 13px;
	}
	#main .post-body h2 {
		margin: 40px 0 20px;
		font-size: 18px;
	}
	#main .post-body h3 {
		margin: 30px 0 10px;
		font-size: 17px;
	}
	#main .post-body h4 {
		margin: 30px 0 5px;
		font-size: 15px;
	}
	#main .post-body img {
		display: block;
		max-width: 100%;
		height: auto;
		margin: 0 auto;
	}
	#main .post-body .news dt {
		float: none;
		width: auto;
		padding: 10px 0 0;
	}
	#main .post-body .news dd {
		border-bottom: 1px solid #ccc;
		margin: 0;
		padding: 0 0 10px;
	}
	#main .post-body .toplinklist .box dl,
	#main .post-body .toplinklist .box dd,
	#main .post-body .toplinklist .box p {
		font-size: 12px;
	}
	#main .post-body .toplinklist .box dt {
		margin: 10px 0 5px;
		font-size: 16px;
	}
	#main .post-body .post-meta {
		margin: 30px 0;
	}
	#main .post-body .post-meta li a {
		font-size: 11px;
	}
	#main .post-body.postlist #path + .post {
		margin: 40px 0 0;
	}
	#main .post-body.postlist .post a {
		padding: 20px 0;
	}
	#main .post-body.postlist .post dl {
		margin: 0 0 15px;
	}
	#main .post-body.postlist .post dt {
		font-size: 16px;
	}
	#main .post-body.postlist .post dd {
		margin: 5px 0 0;
		line-height: 1.4;
	}
	#main .post-body.postlist .post dd ul li {
		font-size: 11px;
	}
	#main .post-body.postlist .post dd + dd {
		font-size: 13px;
	}
}
@media screen and (max-width:480px) {
	#main .post-body .toplinklist .box .morebtn span {
		width: 100%;
	}
}
/* pagenavi
------------------------------------------------*/
.wp-pagenavi {
	margin: 60px 0 0;
	font-size: 14px;
}
.wp-pagenavi span {
	display: inline-block;
	border: 0;
	margin: 5px;
	padding: 7px 10px;
	line-height: 1;
	vertical-align: middle;
}
.wp-pagenavi span.current {
	background: #ab8f42;
	border: 1px solid #ab8f42;
	color: #fff;
}
.wp-pagenavi a {
	display: inline-block;
	background: #fff;
	border: 1px solid #ccc;
	margin: 0 5px;
	padding: 7px 10px;
	vertical-align: middle;
	text-decoration: none;
	line-height: 1;
	color: #333;
}
.wp-pagenavi a:hover {
	background: #ab8f42;
	border: 1px solid #ab8f42;
	text-decoration: none !important;
	color: #fff;
}
.page-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 100px 0 -40px;
}
.page-nav .next_post,
.page-nav .prev_post {
	position: relative;
	width: 48%;
	margin: 0;
}
.page-nav a {
	display: block;
	position: relative;
	font-size: 14px;
	transition: opacity 0.3s;
}
.page-nav a:hover {
	opacity: 0.8;
}
.page-nav .prev_post a {
	padding: 0 0 0 20px;
}
.page-nav .next_post a {
	padding: 0 20px 0 0;
	text-align: right;
}
.page-nav .prev_post a:before,
.page-nav .next_post a:before {
	position: absolute;
	top: 50%;
	width: 5px;
	height: 5px;
	content: "";
	border-top: solid 1px #555;
	border-left: solid 1px #555;
}
.page-nav .next_post a:before {
	right: 2px;
	transform: translate(0, -50%) rotate(135deg);
}
.page-nav .prev_post a:before {
	left: 2px;
	transform: translate(0, -50%) rotate(-45deg);
}
@media screen and (max-width:767px) {
	.wp-pagenavi {
		margin: 30px 0 0;
	}
	.page-nav {
		display: block;
		margin: 60px 0 -20px;
	}
	.page-nav .next_post,
	.page-nav .prev_post {
		width: 100%;
	}
	.page-nav .prev_post + .next_post {
		border-top: 1px solid #ccc;
		margin: 20px 0 0;
		padding: 20px 0 0;
	}
}
/* widgets
------------------------------------------------*/
#widgets {
	margin: 100px 0 0;
}
#widgets dl,
#widgets dt,
#widgets dd {
	margin: 0;
}
#widgets dt.title {
	padding: 0 0 5px;
	border-bottom: 3px solid #ccc;
	font-size: 19px;
	font-weight: bold;
}
#widgets dd ul li {
	border-bottom: 1px solid #ccc;
}
#widgets dd ul li a {
	position: relative;
	display: block;
	padding: 10px 10px 10px 30px;
}
#widgets dd ul li a:before {
	position: absolute;
	top: 50%;
	left: 10px;
	width: 5px;
	height: 5px;
	content: "";
	border-top: solid 1px #555;
	border-left: solid 1px #555;
	transform: translate(0, -50%) rotate(135deg);
}
#widgets dd ul li a:hover {
	color: #111;
	background: #F8F8F8;
}
#widgets .archive {
	position: relative;
}
#widgets .archive:after {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 9px;
	-webkit-transform: translate(0, -50%) rotate(-135deg);
	transform: translate(0, -50%) rotate(-135deg);
	width: 5px;
	height: 5px;
	margin: -2px 0 0;
	border-left: 1px solid #555;
	border-top: 1px solid #555;
}
#widgets .archive select::-ms-expand {
	display: none;
}
#widgets .archive select {
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	background: #fff;
	border: 0;
	border-bottom: 1px solid #ccc;
	width: 100%;
	padding: 13px 10px 13px 30px;
	font-size: 16px;
	color: #333;
}
@media screen and (max-width: 767px) {
	#widgets {
		margin: 60px 0 0;
	}
	#widgets dt.title {
		font-size: 16px;
	}
	#widgets .archive select {
		font-size: 15px;
	}
}
/* title
------------------------------------------------*/
#title {
	background: url("img/bg-title.jpg") no-repeat center;
	background-size: cover;
}
#title .overlay {
	background: url("img/bg-title-overlay.png") repeat;
}
#title .inner {
	display: flex;
	align-items: center;
	height: 200px;
}
#title .page-title {
	line-height: 1;
	letter-spacing: 0.06em;
	font-size: 30px;
	color: #fff;
}
.home #title {
	background: none;
}
.home #title .slider img {
	max-width: 100%;
	height: auto;
}
@media screen and (max-width:767px) {
	#title .inner {
		height: 140px;
	}
	#title .page-title {
		font-size: 26px;
	}
}
@media screen and (max-width:480px) {
	#title .page-title {
		font-size: 23px;
	}
}
/* header
------------------------------------------------*/
#header {
	display: flex;
	align-items: center;
	height: 75px;
	padding: 0 30px;
}
#header a:hover {
	opacity: 0.8;
}
#header #logo {
	margin: 0;
	width: 190px;
	line-height: 1;
}
#header #nav {
	width: calc(100% - 190px);
}
#header #nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}
#header #nav ul li {
	margin: 0 0 0 30px;
	font-size: 14px;
	font-weight: bold;
}
#header #nav ul li a {
	display: block;
}
@media screen and (max-width:767px) {
	#header {
		padding: 0 20px;
		height: 55px;
	}
	.menu-trigger {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		z-index: 1002;
		background: #ab8f42;
		width: 56px;
		height: 56px;
		cursor: pointer;
	}
	.menu-trigger .toggle-name {
		position: absolute;
		left: 0;
		bottom: 5px;
		width: 100%;
		text-align: center;
		letter-spacing: 0.1em;
		font-family: Helvetica, Arial, "sans-serif";
		font-size: 10px;
		font-weight: bold;
		color: #fff;
	}
	.menu-trigger .toggle-name:before {
		content: "MENU";
	}
	.menu-trigger .toggle-bar,
	.menu-trigger .toggle-bar::before,
	.menu-trigger .toggle-bar::after {
		position: absolute;
		width: 22px;
		height: 2px;
		background: #fff;
		transition: all 0.2s;
		content: "";
	}
	.menu-trigger .toggle-bar {
		top: 20px;
		left: 17px;
	}
	.menu-trigger .toggle-bar::before {
		top: -8px;
	}
	.menu-trigger .toggle-bar::after {
		top: 8px;
	}
	.nav-open .toggle-name:before {
		content: "CLOSE";
	}
	.nav-open .toggle-bar {
		background: transparent;
	}
	.nav-open .toggle-bar::before,
	.nav-open .toggle-bar::after {
		top: 0;
	}
	.nav-open .toggle-bar::before {
		transform: rotate(45deg);
	}
	.nav-open .toggle-bar::after {
		transform: rotate(-45deg);
	}
	#header #nav ul {
		display: block;
		display: none;
		position: fixed;
		top: 55px;
		left: 0;
		z-index: 1000;
		width: 100%;
		height: 100%;
		border-top: 4px solid #ab8f42;
		padding: 50px 60px;
		background: #F7FEFF;
	}
	#header #nav ul li {
		border-bottom: 1px solid #ccc;
		margin: 0;
		font-size: 15px;
	}
	#header #nav ul li a {
		padding: 10px 0;
	}
}
/* footer
------------------------------------------------*/
#footer {
	background: #eee;
	margin: 80px 0 0;
	padding: 25px 0;
	font-size: 12px;
}
#footer .inner {
	position: relative;
	display: flex;
	justify-content: space-between;
}
#footer dl {
	margin: 0;
}
#footer dt {
	font-size: 18px;
	font-weight: bold;
}
#footer dd {
	margin: 10px 0 0;
}
#footer ul {
	display: flex;
	justify-content: flex-end;
}
#footer ul li {
	margin: 0 20px 0 0;
}
#footer ul li:last-child {
	margin: 0;
}
#footer a:hover {
	opacity: 0.8;
}
#footer small {
	position: absolute;
	right: 0;
	bottom: 0;
	display: block;
	font-size: 12px;
	color: #888;
}
@media screen and (max-width:767px) {
	#footer ul {
		display: block;
	}
	#footer ul li:last-child {
		margin: 5px 0 0;
	}
	#footer small {
		left: 0;
    right: auto;
    bottom: 5px;
    width: 100%;
    text-align: center;
	}
}
@media screen and (max-width:480px) {
	#footer {
		margin: 60px 0 0;
		padding: 15px 0;
	}
	#footer .inner {
		display: block;
	}
	#footer dt {
		font-size: 16px;
	}
	#footer ul {
		margin: 20px 0 0;
	}
}