@charset "utf-8";
/* CSS Document */

/* ----- index.htmlのデザイン用 ----- */

#index #main p {
	text-align: center;
}

#index #news {
	width: 50%;
	margin-left: 50%;
}

#index #news dl {
	margin-left: 30px;
	margin-bottom: 5px;
	line-height: 1.2;
}

#index #news dl dt {
	margin-bottom: 5px;
}

#index #news dl dd {
	margin-left: 15px;
}

/* ----- info.htmlのデザイン用 ----- */

#info #main {
	background-image: url(../images/bg_mainImg.jpg);
	background-repeat: no-repeat;
	background-position: top left;
}

#info article {
	padding-left: 250px;
	padding-bottom: 20px;
	line-height: 2;
}


/* infoページ部分のデザイン用 */

#info #newsTable dl {
	width: 600px;
}

#info #newsTable dt {
	width: 120px;
	padding-left: 5px;
	padding-right: 5px;
	background-color: rgba(70, 130, 180, .2);
	border-radius: 15px;
	font-size: 0.9rem;
	float: left;
	clear: both;
}

#info #newsTable dd {
	margin: 0 0 10px 120px;
	padding-left: 10px;
	border-bottom: 1px solid #808080;
}

/* infosubページ部分のデザイン用 */

.titleArea {
	padding: 12px 0 0;
	border-top: 3px solid #A0A0A0;
	border-bottom: 1px solid #A0A0A0;
}

.titleArea h2#sub {
	padding: 0 10px 12px;
	margin-top: 10px;
	line-height: 1;
	text-align: left;
}

.titleArea h3 {
	padding: 0 30px 12px;
	line-height: 1;
	text-align: left;
}

.bodyArea {
	padding: 0 10px;
	margin: 20px 0;
}

.bodyArea dl {
	margin: 0 0 30px;
}

.bodyArea dt {
	line-height: 1.8;
	float: left;
	clear: both;
}

.bodyArea dd {
	margin: 0 0 0 50px;
	line-height: 1.8;
}

.bodyArea p {
	margin: 20px 0 20px;
}

.hosoku dl {
	margin: 0 0 0 30px;
}

.hosoku dd {
	margin: 0 0 0 60px;
}

.center {
	text-align: center;
}

#hosokuArea img {
	float: left;
}

#hosokuArea #hosokuText {
	float: left;
	padding: 90px 0 0 0;
}

/* ----- about.htmlのデザイン用 ----- */

#about article h2 span {
	font-size: 0.9rem;
}

#about article h3 {
	margin-bottom: 20px;
	padding-left: 100px;
	font-size: 1.1rem;
}

#about section {
	padding-bottom: 10%;
	line-height: 2;
}

#about section#kagu {
	margin-bottom: 50px;
	padding-left: 50%;
	background-image: url(../images/bg_about_kagu.jpg);
	background-repeat: no-repeat;
	background-position: top left;
}

#about section#tukurite {
	padding-right: 50%;
	background-image: url(../images/bg_about_tukurite.jpg);
	background-repeat: no-repeat;
	background-position: top right;
}

#about section .textArea {
	padding: 5%;
}

#about section .textArea p {
	text-align: left;
}

#about section .textArea dl dt {
	width: 55px;
	float: left;
	clear: both;
}

#about section .textArea dl dd {
	margin: 0 0 0 60px;
}

/* ----- work.htmlのデザイン用 ----- */

#works #main #contents {
	width: 900px;
	margin: 30px 30px 0;
}

#works #main #contents section {
	height: 250px;
	display: flex;
	justify-content: space-between;
}

#works #main #contents p {
	margin-top: 65%;
	font-size: 1.2rem;
	font-weight: 900;
	letter-spacing: 0.1rem;
	color: #005566;
	text-shadow: 1px 1px 5px #999;
}

#works #main #contents p span {
	font-weight: 900;
	color: #971309;
}

#works #main #contents .front-box {
	width: 290px;
	height: 230px;
	margin: 0 auto;
}

/* 画像切替部分のデザイン用 */

.table {
	background: url("../images/bg_works_table.jpg") left top no-repeat;
}

.desk {
	background: url("../images/bg_works_desk.jpg") left top no-repeat;
}

.chair {
	background: url("../images/bg_works_chair.jpg") left top no-repeat;
}

.stool {
	background: url("../images/bg_works_stool.jpg") left top no-repeat;
}

.kids {
	background: url("../images/bg_works_kids.jpg") left top no-repeat;
}

.cabinet {
	background: url("../images/bg_works_cabinet.jpg") left top no-repeat;
}

.others {
	background: url("../images/bg_works_others.jpg") left top no-repeat;
}

.button {
	background: url("../images/bg_works_button.jpg") left top no-repeat;
}

.front-box a {
	width: 290px;
	height: 230px;
	display: block;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}

.front-box a:hover {
	background-position: right top;
}

/* works-subページ部分のデザイン用 */

#works-sub #main {
	width: 100%;
	/*height: 1050px;*/
}

#works-sub #main #contents {
	width: 100%;
	height: 1000px;
	margin: 0;
	display: flex;
	background-image: url("../images/bg_works_ptarea.jpg");
	background-repeat: no-repeat;
	background-size: cover;

}

#works-sub #main #contents #ptArea {
	width: 75%;
}

#works-sub #main #contents #sMenu {
	width: 25%;
}

#works-sub #main #sMenu ul li {
	margin-top: 20px;
	padding: 5px 0 5px 40px;
}

/* #sMenu li 背景切り替え */

#works-sub #main #sMenu ul li#table {
	background-image: url(../images/bg_submenu01_table.svg);
	background-repeat: no-repeat;
}

#works-sub #main #sMenu ul li#desk {
	background-image: url(../images/bg_submenu02_desk.svg);
	background-repeat: no-repeat;
}

#works-sub #main #sMenu ul li#chair {
	background-image: url(../images/bg_submenu03_chair.svg);
	background-repeat: no-repeat;
}

#works-sub #main #sMenu ul li#stool {
	background-image: url(../images/bg_submenu04_stool.svg);
	background-repeat: no-repeat;
}

#works-sub #main #sMenu ul li#cabinet {
	background-image: url(../images/bg_submenu05_cabinet.svg);
	background-repeat: no-repeat;
}

#works-sub #main #sMenu ul li#kids {
	background-image: url(../images/bg_submenu06_kids.svg);
	background-repeat: no-repeat;
}

#works-sub #main #sMenu ul li#goods {
	background-image: url(../images/bg_submenu07_goods.svg);
	background-repeat: no-repeat;
}

#works-sub #main #contents #ptArea .pt {
	height: 230px;
	margin: 10px 15px;
	display: flex;
	justify-content: space-around;
	}
#works-sub #main #contents #ptArea .two{
	justify-content: flex-start;/*サムネイルが2つ以下だった時*/
}
#works-sub #main #contents #ptArea .pt p {
	margin: 20px;
}
#works-sub #main #contents #ptArea .two p{
	margin: 20px 30px 20px 20px;/*サムネイルが2つ以下だった時*/
}
#works-sub #ptArea img:hover {
	opacity: 0.6;
	filter: alpha(opacity=60);
}


/* ----- memo.htmlのデザイン用 ----- */

#memo #main {
	padding-left: 30%;
	padding-bottom: 50%;
	background-image: url(../images/bg_mainImg.jpg);
	background-repeat: no-repeat;
	background-position: top left;
}

#memo #main #textArea {
	padding-bottom: 20px;
}

#memo #main ul.kijiList li {
	margin-bottom: 30px;
	line-height: 2;
}

#memo #main ul.kijiList .next {
	margin-left: 15px;
	padding: 1px;
	text-align: center;
	box-shadow: 1px 1px 10px #d3d3d3;
}

/* ----- contact.htmlのデザイン用 ----- */

#contact article {
	padding-left: 30%;
	background-image: url(../images/bg_contact.jpg);
	background-repeat: no-repeat;
	background-position: top left;
	font-size: 1.1rem;
	line-height: 1.5;
}

#contact article h3 {
	margin-bottom: 30px;
}

#contact article .textArea dl {
	margin-bottom: 30px;
}

#contact article .textArea dl dt {
	width: 60px;
	float: left;
	clear: both;
}

#contact article .textArea dl dd {
	margin: 0 0 0 60px;
}

#contact article .textArea dl dd small {
	font-size: 0.8em;
}

#contact article p {
	text-align: left;
}

#contact article .shop {
	padding: 5%;
}

#contact article .shop h3 {
	margin-bottom: 10px;
}

#contact article .shop dl {
	margin-left: 10px;
}

#contact article .shop dl dt {
	display: list-item;
	list-style-type: square;
	list-style-position: inside;
}

#contact article .shop dl dd {
	margin-left: 2rem;
}

#contact article .shop dl dd:nth-of-type(2n) {
	margin-bottom: 1rem;
}

/* --------- メディアクエリ　ここから　------------*/

/* 640px以上960px未満 */

@media screen and (max-width:960px) {

	#main #news {
		width: 90%;
		margin: 50px auto 0;
	}

	/* info.html部分 */
	#info #main {
		background-size: cover;
	}

	#info article {
		padding-left: 0;
		background-color: rgba(255, 255, 255, .7);
	}

	#info #newsTable dl {
		width: 90%;
		margin: 0 auto;
	}

	/* about.html部分 */
	#about section#kagu {
		padding-left: 0;
		padding-bottom: 0;
		background-position: bottom right;
		background-size: cover;
	}

	#about section#tukurite {
		padding-right: 0;
		padding-bottom: 0;
		background-position: top center;
		background-size: cover;
	}

	#about section .textArea {
		background-color: rgba(255, 255, 255, .8);
		line-height: 1.5;
	}

	/* works.html部分 */
	#works #main #contents {
		width: 90%;
		height: auto;
		margin: 30px auto 0;
		padding-bottom: 20px;
		background-position: center right;
	}

	#works #main #contents section .cap {
		display: none;
	}

	/* memo.html部分 */
	#memo #main {
		width: 100%;
		height: auto;
		padding: 0;
		background-size: cover;
	}

	#memo #main h2 {
		background-color: rgba(255, 255, 255, .7);
		margin-bottom: 0;
		padding-bottom: 20px;
	}

	#memo article {
		padding-left: 0;
		background-color: rgba(255, 255, 255, .7);
	}

	#memo #main ul.kijiList .next {
		border: solid 1px #d3d3d3;
		box-shadow: 1px 1px 7px #d3d3d3;
	}

	/* contact.html部分 */
	#contact article {
		padding-left: 0;
		padding-bottom: 0;
		background-position: bottom left;
		background-size: cover;
	}

	#contact article .textArea {
		padding: 5%;
		background-color: rgba(255, 255, 255, .8);
	}

	#contact article h2 {
		margin-bottom: 0;
		background-color: rgba(255, 255, 255, .8);
	}

	#contact article .shop {
		background-color: rgba(255, 255, 255, .8);
	}
}


/* 640px 未満 */

@media screen and (max-width:639px) {

	/* info.html部分 */
	#info article {
		line-height: 1.5;
	}

	#info #newsTable dd {
		float: none;
	}

	#info #newsTable dt {
		margin: 5px 0 15px;
	}

	/* works.html部分 */
	#works #main #contents section {
		height: auto;
		flex-direction: column;
	}

	#works #main #contents section .front-box {
		margin-bottom: 10px;
	}

	#works-sub #main #contents #ptArea {
		width: 60%;
	}

	#works-sub #main #contents #sMenu {
		width: 40%;
	}

	#works-sub #main #contents #ptArea .pt p {
		width: 92%;
		margin: 4%;
	}
}

/* 380px 未満 */

@media screen and (max-width:379px) {

	/* works.htmlサブページ部分 */
	#works-sub #main #contents #ptArea {
		width: 100%;
	}

	#works-sub #main #contents #sMenu {
		display: none;
	}

}
