@charset "utf-8";
/*
Theme Name: 福島工芸
*/

@import "./css/nav.css";

img {
	max-width: 100%;
	height: auto;
}
div {box-sizing: border-box;}

.navi li {border-right: 1px solid  #127ebf;}
.cont01::after {
	clear: both;display: block;content: '';
}
.ttl_news{
	display: flex;
	align-items: center;
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	margin: 2em auto 1em;
}
.ttl_news::before,
.ttl_news::after{
	content:'';
	flex-grow: 1;
	border-bottom: 1px solid #127ebf;
}
.ttl_news::before{
	margin-right: 20px;
	padding-left: 15px;
}
.ttl_news::after{
	margin-left: 20px;
	padding-right: 15px;
}
.set_news {
	display: grid;
	gap:20px;
	grid-template-columns: 1fr 1fr 1fr;
}
.set_news li {
	background: #fff;
	padding: 15px;
}
.set_news li img {
	width: 100%;height: auto;
	transition: .2s;
}
.set_news li img:hover {opacity: .8;}
.news_log {text-align: right;}
.footer_menu a + a{
	margin-left: 2em;
}
.footer_contact {
	display: block;
	margin: 30px auto;
}
.wrap::before {content: '';clear: both;display: block;}
.navi,.wrap {
	max-width: 1040px;
	width: 96%;
}
.cont_frast,.cont01,.cont_jisseki_01 {
	max-width: 1040px;
	width: 100%;
}
.cont_frast + .cont01{
	display: grid;
	gap:20px;
	grid-template-columns: 1fr 1fr 1fr 1fr;
}

.wrap .cont01 .cont01_01,.wrap .cont01 .cont01_02,.wrap .cont01 .cont01_03,.wrap .cont01 .cont01_04 {
	margin: 0;
	width: 100%;
	height: 100%;
	padding-bottom: .5em;
	background-repeat: no-repeat;
	background-color: #fff;
	float: none;
}
.cont_jisseki_01 {
	display:grid;
	gap:20px;
	grid-template-columns: auto auto;
	height: auto;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}
.cont_jisseki_01 > * {
	float: none;
}
.cont_jisseki_01 > div {
	padding: 0 1.5em;
	width: auto;
}

.gaiyo_table {
	margin: 0 auto;
	width: 610px;
}
.gaiyo_table td {
	padding: 4px 1em;
}
.cont_jisseki_01.g02 {align-items: flex-start;}

.wpcf7-form > p {
	padding: 20px 5px;
}
.wpcf7-form input {padding: 5px;}

input.wpcf7-submit {
	display: block;
	width: 200px;
	margin: 0 auto;
	background: #127ebf;
	border: none;
	padding: 10px;
	color: #fff;
	letter-spacing: 5px;
	transition: .2s;
	font-size: 15px;
}
.wpcf7-submit:hover {opacity: .8;}
.wpcf7-textarea {width: 100%;}

body.page-id-32 .footer_contact {
	display: none;
}

.page-sub-header {
	padding: 40px 30px;
	background: linear-gradient(90deg,rgb(255, 255, 255) 60%, #127ebf)
}
.page-sub-header h1 {
	font-size: 30px;
	font-family: "A-OTF Shin Maru Go Pro M", "Hiragino Maru Gothic ProN W4", "Hiragino Maru Gothic Pro W4", HGMaruGothicMPRO, "Meiryo Bold";
	font-weight: bold;
	letter-spacing: 5px;
}
.breadcrumbs {padding: 15px;}
.page-sub-main {
	background: #fff;
	padding: 30px;
	background: #fff;
}
.list-article-simple {
	font-size: 14px;
	width: auto;
}
.list-article-simple li  {
	padding: 15px;
	font-size: 16px;
	display: grid;
	grid-template-columns: 6em 6em auto;
	gap:15px;
}
.list-article-simple li + li {
	border-top: 1px solid  #ccc;
}
.list-article-simple .ct {
	background: #127ebf;
	color: #fff;
	padding: 3px;
	font-size: 12px;
	text-align: center;
	display: block;
	margin-top: -2px;
}
.date.text-end {text-align: right;margin-bottom: 1em;color: #ccc;}

body.single .page-sub-header h1 {letter-spacing: 2px;}

.list-seisaku {
	margin-top: 30px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap:30px;
}
.list-seisaku li {
	background: #fff;
	text-align: center;
	padding: 20px;
}
.list-seisaku li img {
	width: 100%;
	transition: .2s;
}
.list-seisaku li img:hover {
	opacity: .8;
}
.list-seisaku .list-article-title {
	font-size: 1.2em;
	margin-top: .5em;
	display: block;
}
.cont_jisseki_col1 {
	max-width: 1040px;
	width: 100%;
	margin: 33px 0;
}
.cont_jisseki_col1 img {
	margin-bottom: 30px;
}
.cont_jisseki_col1 p + p {
	margin-top: 1.5em;
}
.fz-more {
	font-size: 1.4em;
	font-weight: bold;
}
.a-tel {
	font-weight: bold;	
	color: #127ebf;
}
span.req {
	background: #127ebf;	
	color: #fff;
	font-size: 12px;
	display: inline-block;
	padding: 5px;
	line-height: 1;
	vertical-align: middle;
	margin-top: -2px;
	margin-right: 10px;
}
.bx-wrapper .bx-viewport {height: auto !important;}

/* PC↑ */
@media (min-width: 1110px) {
	body.page-id-32 .cont_jisseki_col1 {padding: 0 20px;}
}
/* tablet↓ */
@media (max-width: 1109.8px) {
	.pc {display: none;}
	.cont_frast,.cont01 {height: auto;}
	.navi {height: auto;}
	.navi li {display: none;}
	.navi li.logo {display: block;border: none;width: 100%;text-align: center;}
	.cont_farst_pd {width: 100%;background: #fff url('img/top_about_kanban.jpg') 98% 95% no-repeat;padding: 20px 20px 160px;height: auto;box-sizing: border-box;}
	.cont_frast {position: relative;background: none;}
	.cont_frast::before {content: '';display: block;background: transparent url('img/top_about.png') 0 0 no-repeat;height: 80px;background-size: contain;}

	.cont_frast + .cont01{grid-template-columns: 1fr 1fr;}
	.wrap .cont01 .cont01_01,.wrap .cont01 .cont01_02,.wrap .cont01 .cont01_03,.wrap .cont01 .cont01_04 {background-position: 50% top;}
	
	.gaiyo_table {width: 100%;}
	.cont_jisseki_01 {grid-template-columns: 1fr;}
	
	.cont_jisseki_01 > div {width: 100%;}
	.cont_jisseki_01 > div > img {margin: 0 auto;display: block;}
	.h3br {height: auto;display: flex;padding: 8px 0;align-items: center;}
	.h3br img {padding: 5px;}
	.h3br p {float: none;line-height: 1.4;font-size: 18px !important;padding-left: 15px;}
	.footer_menu a {font-size: 15px;display: block;margin: 0 !important;padding: 5px;}
	.gaiyo_table th {white-space:nowrap;}
	
}

/* mobile */
@media (max-width: 575.8px) {
	body.page .wrap p {font-size: 14px;}
	.navi li.logo {width: calc(100% - 60px)}
	.cont_farst_pd {background-position: 50% 96%;}
	.cont_frast + .cont01 {grid-template-columns:1fr;}
	.set_news {grid-template-columns:1fr;}
	.gaiyo_table p {font-size: 14px;}
	table.formTable {border-top: 1px solid #ccc;}
	table.formTable th,table.formTable td {display: block;width: 100%;box-sizing: border-box;}
	table.formTable th {border-top: none;border-bottom: none;}
	.page-sub-header {padding: 20px;}
	.page-sub-header h1 {font-size: 20px;}
	.page-sub-main {padding: 20px;}
	.list-article-simple li {display: block;}
	.list-article-simple .date {float: left;}
	.list-article-simple .ct {float: right;margin-top: -5px;}
	.list-article-simple .ct + a::before {content: '';clear: both;display: block;height: 5px;}
  .bx-wrapper {margin-bottom: 40px;}
}
