/*
Theme Name: Lightning
Text Domain: lightning
Theme URI: https://lightning.nagoya
Description: Lightning is a very simple & easy to customize theme which is based on the Bootstrap. It is also very friendly with custom post types and custom taxonomies. When you add a new one, the breadcrumbs will be adjusted and posts will look beautifully without editing or adding a template files.
Author: Vektor,Inc.
Author URI: https://www.vektor-inc.co.jp
Version: 13.7.2
Requires at least: 5.3
Tested up to: 5.6.0
Requires PHP: 5.6.0
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html


Lightning WordPress theme, Copyright (C) 2015-2019 Vektor,Inc.
Lightning WordPress theme is licensed under the GPL.
*/

/* 東内追加分 */
.siteHeader {
	background-color: #0984e2;
	color: #ffffff;
}
.menu-menu-container a {
	color: #ffffff;
}
.menu-menu-container a:hover {
	color: #ffda00;
	transition: all 0.25s;
}
.gMenu > li:before, .gMenu > li.menu-item-has-children::after {
	border-bottom-color: #ffffff;
}
.slide-01-a {
	font-size: 0.8em;
	text-shadow: 0px 0px 2px #f5f0ea, 0px 0px 4px #f5f0ea, 0px 0px 6px #f5f0ea;
}
.slide-01-b {
	font-size: 1.8em;
}
.slide-01-c img {
	width: 360px;
	height: auto;
}
.gMenu_outer {
	min-height: 1em; 
}
#menu-item-1438 {
	background-color: #ffda00;
}
#menu-item-1438 a {
	color: #0984e2;
}
#menu-item-1438:hover {
	background-color: #dfbf00;
	color: #0764ab;
}

h2.top-page {
	margin-bottom: 0px;
	border-bottom: none;
}
h3.top-page.vinyl {
	width: 100%;
	height: 216px;
/*	background-image: url("/wp-content/uploads/arrow_yellow_circle.png"), url("/wp-content/uploads/top_image_01.jpg");
	background-position: right bottom, left center;
	background-repeat: no-repeat, no-repeat;
	color: #ffffff;
	font-weight: 800;
	padding: 13% 16px 16px 16px; */
	box-sizing: border-box;
	margin-top: 0px;
}
h3.top-page.vinyl a {
	width: 100%;
	height: 100%;
	background-image: url("/wp-content/uploads/arrow_yellow_circle.png"), url("/wp-content/uploads/top_image_01.jpg");
	background-position: right bottom, left center;
	background-repeat: no-repeat, no-repeat;
	color: #ffffff;
	font-weight: 800;
	padding: 13% 16px 16px 16px;
	box-sizing: border-box;
	margin-top: 0px;
	position: absolute;
}
h3.top-page.vinyl a:hover {
	text-decoration: none;
	opacity: 0.7;
	transition: 0.3s;
	background-position: right -10px bottom, left center;
}
h3.top-page.vinyl:after {
	border-bottom: none;
}
.products_x3 div {
	padding: 0px;
	position: relative;
	width: 222px;
	height: 222px;
}
.products_x3 p {
	width: 100%;
	height: 100%;
	font-size: 1.3em;
	position: absolute;
	box-sizing: border-box;
	bottom: 0px;
	text-align: center;
	margin-bottom: 0px;
	vertical-align: text-bottom;
	line-height: 18.5em;
}
.products_x3 p.top-page.paper a, .products_x3 p.top-page.plastic a, .products_x3 p.top-page.calendar a {
	display: block;
	width: 100%;
	height: 100%;
	color: #ffffff;
	font-size: 15px;
	font-weight: 800;
	background-position: bottom right, center center , center center;
	background-repeat: no-repeat, no-repeat, no-repeat;
	background-size: 15%, auto, cover;
}
.products_x3 p.top-page.paper a {
	background-image: 
		url("/wp-content/uploads/arrow_yellow_circle_mini.png"), 
		linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 63%,rgba(0,0,0,1) 92%,rgba(0,0,0,1) 100%), 
		url("/wp-content/uploads/top_3_01c.jpg");
}
.products_x3 p.top-page.plastic a {
	background-image: 
		url("/wp-content/uploads/arrow_yellow_circle_mini.png"), 
		linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 63%,rgba(0,0,0,1) 92%,rgba(0,0,0,1) 100%), 
		url("/wp-content/uploads/top_3_02.jpg");
}
.products_x3 p.top-page.calendar a {
	background-image: 
		url("/wp-content/uploads/arrow_yellow_circle_mini.png"), 
		linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 63%,rgba(0,0,0,1) 92%,rgba(0,0,0,1) 100%), 
		url("/wp-content/uploads/top_3_03.jpg");
}
.products_x3 p.top-page a:hover {
	text-decoration: none;
	background-position: bottom right -10px, center center, center center;
	transition: 0.3s;
	opacity: 0.7;
}
.contact_txt {
	text-align: center !important;
}
.btn.btn-primary.btn-lg.contact_bt {
	margin-left: auto;
	margin-right: auto;
	display: block;
	width: 100%;
}

.require {
	color: #d60000;
}
#main table tr th {
	font-size: 1.0em;
	font-weight: 700;
}
ul.news li {
	display: flex;
}
ul.news li a {
	order: 1;
}
ul.news li time {
	order: 0;
	margin-right: 1.5em;
}

/** サイドバー **/
#block-4, #block-7 {
	border-top: 2px solid #0984e2;
	border-left: 1px solid #888888;
	border-right: 1px solid #888888;
	padding-top: 16px;
	padding-left: 16px;
	padding-bottom: 16px;
	margin-bottom: 0px;
	background-color: #f7f3ef;
}
#block-4 h4, #block-7 h4 {
	margin-bottom: 0px;
	font-weight: 700;
}
#block-6, #block-8 {
	border-top: 1px solid #888888;
	border-left: 1px solid #888888;
	border-right: 1px solid #888888;
	border-bottom: 1px solid #888888;
/*	padding-top: 16px; */
	background-color: #f7f3ef;
}
#block-6 ul, #block-8 ul {
	padding-left: 0px;
	margin-bottom: 0px;
}
#block-6 ul li, #block-8 ul li {
	border-bottom: 1px dotted #888888;
	padding-left: 16px;
	margin-bottom: 0px;
	list-style-type: none;
	background-image: url("/wp-content/uploads/arrow_yellow_circle_mini.png"); 
	background-position: right center;
	background-repeat: no-repeat;
	background-size: 26px;
}
#block-6 ul li:last-child, #block-8 ul li:last-child {
	border-bottom: none;
}
#block-6 ul li:hover, #block-8 ul li:hover {
	background-position: right -5px center;
	background-color: #e5c7a3;
	transition: all 0.3s;
}
#block-6 ul li a, #block-8 ul li a {
	display: block;
	width: 100%;
	height: 100%;
	padding-top: 8px;
	padding-bottom: 8px;
}
#block-6 ul li a:hover, #block-8 ul li a:hover {
	color: #ffffff;
}
#side-recruit {
	border: 2px solid rgba( 0,0,0,0.07);
	background-color: rgba( 0,0,0,0.02);
	width: 100%;
	height: auto;
	padding: 1.4em 1.3em;
	box-sizing: border-box;
}
#side-recruit h5 {
	font-weight: 700;
	font-size: 18px;
	text-align: center;
	letter-spacing: 2px;
}
.acc-btn.acc-btn-open {
	background-color: rgba(255,255,255,0.8);
}
.acc-btn.acc-btn-close {
	background-color: rgba(255,218,0,0.7);
	transition: all 0.3s;
}
/* クロージングバナー */
.closing {
	width: 700px;
	height: 100px;
	padding-top: 8px;
	padding-left: 280px;
	padding-right: 10px;
	color: #000000;
	font-size: 15px;
	line-height: 1.2em;
	background-image: url("/wp-content/uploads/cbn_back.jpg");
	box-sizing: border-box;
	margin-top: 30px;
	margin-left: auto;
	margin-right: auto;
}
.closing p {
	line-height: 1.3em;
}
.cl-box {
	display: flex;
}
.closing div p:nth-child(1) img {
	width: 179px;
	height: auto;
}
.closing p:nth-child(2) a {
	display: block;
	background-color: #0984e2;
	padding: 5px 27px 5px 27px;
	margin-left: 25px;
	color: #ffffff;
	position: relative;
	top: -4px;
	box-shadow: 2px 2px 3px #666666;
}


/****** ネットショップ ******/
#itempage {
	margin-bottom: 1em;
	padding: 0px 0px 40px 0px;
	background-color: #f3f3f3;
	box-shadow: 0px 0px 4px #999;
		-moz-box-shadow: 0px 0px 4px #999;
		-webkit-box-shadow: 0px 0px 4px #999;
	padding-bottom: 0px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
}
#itempage .itemimg {
	order: 2;
	padding-left: 18px;
	padding-right: 18px;
	width: 40%;
	height: auto;
	box-sizing: border-box;
	display: block;
}
#itempage .item_name {
	order: 1;
	margin-top: 0;
	margin-bottom: 18px;
	padding-left: 12px;
	padding-right: 12px;
	background-color: #0f5189;
	color: #ffffff;
	border-bottom: none;
	width: 100%;
	display: block;
}
#itempage .exp.clearfix {
	order: 3;
	width: 60%;
	padding-right: 12px;
	box-sizing: border-box;
}
#main #itempage form {
	order: 4;
	width: 100%;
	padding: 12px 12px 12px 18px;
	box-sizing: border-box;
}
#itempage .itemsubimg {
	order: 5;
	padding: 18px;
	width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#itempage .itemsubimg a {
	width: 23.5%;
	height: auto;
	margin-top: 12px;
}
#itempage .itemsubimg a img {
	width: 100%;
	height: auto;
}

#itempage .itemimg img {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
}
/*
#itempage .itemsubimg:before {
	content: '写真をクリックすると拡大表示します';
	font-size: 13px;
	color: #aaa;
}
*/
.description {
	position: relative;
	display: inline-block;
	margin: 0em 0px 1.5em 0px;
	padding: 1em;
	width: 100%;
	max-width: 100%;
	color: #555;
	font-size: 16px;
	background: #FFF;
	border: solid 2px #aaa;
	box-sizing: border-box;
}
.description:before {
	content: "";
	position: absolute;
	top: 50%;
	left: -24px;
	margin-top: -12px;
	border: 12px solid transparent;
	border-right: 12px solid #FFF;
	z-index: 2;
}
.description::after {
	content: "";
	position: absolute;
	top: 50%;
	left: -30px;
	margin-top: -15px;
	border: 15px solid transparent;
	border-right: 15px solid #aaa;
	z-index: 1;
}
#itempage .skuform div {
	display: flex;
	justify-content: flex-end;
}
#itempage .description ul > br {
	display: none;
}
#itempage .description > p + br {
	display: none;
}
#cart input.quantity {
	padding-left: 0.2em;
	padding-right: 0.2em;
	margin-left: auto;
	margin-right: auto;
}


@media (max-width: 1214px) {
	/* クロージングバナー */
	.closing {
		text-align: center;
		width: 85%;
		height: auto;
		padding-top: 8px;
		padding-left: 10px;
		padding-bottom: 8px;
		padding-right: 10px;
		background-image: none;
		background-color: #f0e2c5;
		box-sizing: border-box;
		margin-top: 20px;
	}
	.closing p {
		line-height: 1.4em;
	}
	.cl-box {
		display:flex;
		flex-direction: column;
	}
	.closing p:nth-child(2) a {
		display: block;
		background-color: #0984e2;
		padding: 10px 27px 10px 27px;
		margin-left: 0px;
		top: 0px;
	}
}

@media (min-width: 992px) {
	.header_scrolled .gMenu_outer {
		clear: both;
		z-index: 1000;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		min-height: unset;
		background-color: #0984e2;
		box-shadow: 0 1px 3px rgba(0,0,0,.1);
	}
}
@media (max-width: 1006px) {
	.slide-01-c img {
		width: 40%;
	}
	.products_x3 p {
		line-height: 22.5em;
	}
}
@media (max-width: 800px) {
	.products_x3 div {
		margin-bottom: 24px;
	}
	
}
@media (max-width: 600px) {
	#itempage {
		flex-direction: column;
	}
	#itempage .itemimg {
		width: 100%;
	}
	#itempage .exp.clearfix {
		width: 100%;
		padding: 18px;
	}
	.description:before {
		top: -24px;
		left: 50%;
		margin-top: 0px;
		margin-left: -15px;
		border-right: none;
		border: 12px solid transparent;
		border-bottom: 12px solid #FFF;
	}
	.description:after {
		top: -27px;
		left: 50%;
		margin-top: 0px;
		margin-left: -15px;
		border-right: none;
		border: 12px solid transparent;
		border-bottom: 13px solid #aaa;
	}
}
@media (max-width: 414px) {
	.slide-01-c img {
		width: 40%;
	}
	h3.top-page.vinyl a {
		padding-top: 90px;
		background-image: url("/wp-content/uploads/arrow_yellow_circle_mini.png"), url("/wp-content/uploads/top_image_01.jpg");
	}
	ul.news li {
		flex-direction: column;
	/*	text-align: center; */
	}
}