/*
Theme Name: Shikitensya
Author: sabira
*/


/* ************************************
 * Generl
 ************************************ */
body {
	color: #333;
}

dd,dl {
	margin: 0;
}

h1 {
	background-image: url('img/img_ttl_bg.gif');
	color: #cb5a34;
	font-size: 22px;
	margin-top: 8px;
	padding-left: 12px;
}

h2 { margin: 8px 0; }

h3 {
	border-bottom: 1px solid;
	color: #cb5a34;
	font-size: 19px;
	margin-bottom: 8px;
}

h3::before {
	content: '★';
}

header,
main,
.copyright,
.global_menu {
	margin: 0 auto;
	width: 850px;
}

main {
	display: flex;
	gap: 20px;
}

ol,ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

p { margin: 8px 0; }

.fs-23 { font-size: 23px; }

.fw-7 { font-weight: bold; }

.page_body,
.page_header,
.wrap { width: 600px; }

.sidebar { width: 230px; }


	/* Breadcrumb ******************* */	
	.breadcrumb {
		margin: 8px 0;
	}
	.breadcrumb ul {
		display: flex;
		margin: 0 auto;
		width: 850px;
	}

	.breadcrumb ul li:not(:last-child)::after {
		content: '≫';
		font-size: 10px;
		margin: 0 6px;
		position: relative;
			bottom: 2px;
	}

	.breadcrumb ul li a {
		color: #333;
	}

	.breadcrumb ul li a:hover {
		color: #9e9e9e;
	}


/* ************************************
 * Wordpress
 ************************************ */
.wp-block-table { margin: 0; }


/* ************************************
 * Header
 ************************************ */
header {
	display: flex;
}

header > div:first-child img {
	margin-top: 7px;
}

header > div:last-child {
	margin-left: auto;
}

header > div:last-child ul {
	text-align: center;
}

header > div:last-child ul li:nth-child(1) {
	letter-spacing: 1px;
}

header > div:last-child ul li:nth-child(3) {
	font-size: 14px;
	letter-spacing: -1px;
	margin-top: -5px;
}


	/* Navi ************************* */	
	.global_menu {
		display: flex;
		
	}

	.global_menu img {
		margin-left: auto;
	}

	.global_menu ul {
		display: flex;
		font-size: 14px;
		font-weight: bold;
		gap: 16px;
	}

	.global_menu ul li::before {
		background-image: url('img/mm_arrow.gif');
		content: '';
		display: inline-block;
		height: 24px;
		width: 21px;
	}

	.global_menu ul li a {
		color: #333;
		position: relative;
			top: -2px;
		text-decoration: none;
	}

	.global_menu ul li a:hover,
	.page-navi a:hover {
		color: #fb4a0f;
	}

	.page-navi {
		margin: 24px auto;
		text-align: right;
		width: 850px;
	}

	.page-navi a {
		color: #333;
		text-decoration: none;
	}

	.page-navi a:first-child {
		margin-right: 16px;
	}

	.navi {
		background-image: url('img/mm_bar.gif');
	}


/* ************************************
 * Page
 ************************************ */
	/* Home ************************* */
	.home figure { margin: 24px 0 3px; }

	.my-category-list {
	    background: #e7f5e0;
		display: flex;
		flex-wrap: wrap;
		gap: 4px;
		padding: 5px;
	}

	.my-category-list dl {
		background: #fff;
		display: flex;
		flex-wrap: wrap;
		padding: 2px 4px;
		width:136px;
	}

	.my-category-list dl dd img {
		border: 1px solid #bdbdbd;
		height: 48px;
		padding: 2px;
		width: 25%;
	}

	.my-category-list dl dd p {
		color: #333;
	    display: inline-block;
		font-size: 12px;
		margin: 0;
		vertical-align: top;
		width: 70%;
	}

	.my-category-list dl dt {
		color: #f97c17;
		font-size: 14px;
		line-height: 24px;
	    width: 100%;
	}


	/* Products ********************* */
	.event-list {
		list-style: numbers;
		margin-left: 24px;
	}

	.list-board {
		background: #e8f8e0;
		border: 3px solid #b5e69d;
		font-size: 14px;
		padding: 4px;
	}

	.list-board ol li {
		line-height: 24px;
	}

	.product-menu ul {
		background: #e8f8e0;
		display: flex;
		flex-wrap: wrap;
		font-size: 13px;
		padding: 6px;
	}

	.product-menu ul li:not(:last-child)::after {
		content: '/';
		margin: 0 4px;
	}

	.product-menu ul li a {
		color: #333;
	}

	.product-menu ul li a:hover {
		color: #9e9e9e;
	}


	/* Contact ********************** */
	form {
		background: #f2ffd2;
		display: flex;
		flex-wrap: wrap;
		padding: 8px;
	}

	form > div:nth-child(2),
	form > div:nth-child(3) {
		width: 50%;
	}

	form > div:nth-child(4) {
		width: 100%;
	}


	/* QA *************************** */
	.page-id-12 .wp-block-group:not(:first-child) {
		margin-top: 32px;
	}

	.page-id-12 .wp-block-group p {
		line-height: 32px;
		margin-left: 32px;
		padding-left: 6px;
	    text-indent: -32px;
	}

	.page-id-12 .wp-block-group p:first-child {
		background: #ffffe6;
		border-bottom: 1px solid #bdbdbd;
	}

	.page-id-12 .wp-block-group p::before {
		content: '';
		display: inline-block;
		height: 26px;
		position: relative;
    		top: 7px;
		margin-right: 6px;
		width: 26px;
	}

	.page-id-12 .wp-block-group p:first-child::before {
		background-image: url('img/img_faq-question.gif');
	}

	.page-id-12 .wp-block-group p:last-child::before {
		background-image: url('img/img_faq-answer.gif');
	}


	/* Company ********************** */
	.overview td {
		border: 1px solid #bdbdbd !important;
	}

	.overview td:first-child {
		background: #f2ffd2;
		width: 7rem;
	}


/* ************************************
 * Archive
 ************************************ */
.archive dl {
	width: 293px;
}

.archive dl dd {
	font-size: 13px;
	position: relative;
}

.archive dl dd span:last-child  {
	position: absolute;
		right: 6px;
		bottom: 6px;
}

.archive dl dd h3,
.archive dl dd table tr:not(:first-child),
.archive dl dd table tr:first-child td:first-child,
.archive dl dd .classification,
.archive dl dd .wp-block-column p { display: none; }

.archive dl dd .goods {
	height: 100px;
	margin: 0;
}

.archive dl dd .goods figure {
	text-align: center;
}

.archive dl dd .goods figure:not(:nth-child(1)) {
	display: none;
}

.archive dl dd .goods img {
	height: 80px;
}

.archive dl dt {
	font-size: 14px;
	line-height: 26px;
	padding-left: 12px;
}

.archive .page_body > div {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.archive .page_title {
	
}

.catch {
	margin-bottom: 12px !important;
}

.catch li::before {
	content: '';
	display: inline-block;
	height: 22px;
	margin-right: 4px;
	position: relative;
		top: 4px;
	width: 22px;
}

.catch li:nth-child(1)::before {
	background-image: url('img/img_for-sale_icon.gif');
}

.catch li:nth-child(2)::before {
	background-image: url('img/img_for-rent_icon.gif');
}

.catch li:nth-child(3)::before {
	background-image: url('img/img_other_icon.gif');
}

.other dl,
.rental dl,
.sale dl {
	width: 293px;
}

.other div:not(.relation) dl dt {
	background-image: url('img/img_other_tbl.gif');
}

.rental div:not(.relation) dl dt {
	background-image: url('img/img_rent_tbl.gif');
}

.sale div:not(.relation) dl dt {
	background-image: url('img/img_sale_tbl.gif');
}

.category-3 .catch li:nth-child(2),
.category-3 .catch li:nth-child(3) {
	display: none;
}

.category-1 .catch li:nth-child(1),
.category-1 .catch li:nth-child(3) {
	display: none;
}

.category-4 .catch li:nth-child(1),
.category-4 .catch li:nth-child(2) {
	display: none;
}


/* ************************************
 * Single
 ************************************ */
dl.other, dl.rental, dl.sale { width: 293px; }

dl.other dt { background-image: url('img/img_other_tbl.gif'); }

dl.rental dt { background-image: url('img/img_rent_tbl.gif'); }

dl.sale dt { background-image: url('img/img_sale_tbl.gif'); }

.classification {
	border: 1px solid #d7d7d7;
	border-bottom: none;
	display: block;
    height: 32px;
    width: 598px;
}

.goods {
	border: 1px solid #d7d7d7;
	padding: 8px;
}

.goods .wp-block-column:first-child p a {
	background: #d7d7d7;
	border: 1px solid;
	color: #333;
	display: block;
	text-align: center;
	text-decoration: none;
}

.goods .wp-block-column:last-child td {
	border: none;
}

.goods .wp-block-column:last-child td:first-child {
	vertical-align: top;
	width: 4rem;
}

.other .classification {
	background-image: url('img/img_other.gif');
}

.rental .classification {
	background-image: url('img/img_for-rent.gif');
}

.relation {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.relation dd {
	font-size: 13px;
	position: relative;
}

.relation dd span:last-child {
	position: absolute;
		right: 6px;
		bottom: 6px;
}

.relation dt {
	font-size: 14px;
	line-height: 26px;
	padding-left: 12px;
}

.relation h3 {
	width: 100%;
}

.relation .classification,
.relation .goods p,
.relation .goods figure:not(:first-child),
.relation .goods table tr td:first-child,
.relation .goods table tr:not(:first-child) {
	display: none;
}

.relation .goods {
	height: 100px;
	margin: 0;
}

.relation .goods img {
	height: 80px;
}

.sale .classification {
	background-image: url('img/img_for-sale.gif');
}

/* ************************************
 * Sidebar
 ************************************ */
.link li {
	line-height: 32px;
	list-style: circle;
	margin-left: 24px;
}


/* ************************************
 * Footer
 ************************************ */
footer { background-image: url('img/footer_bar.gif'); }

.copyright {
	text-align: right;
}

.copyright a {
	color: #333;
	text-decoration: none;
}

