/* CSS Document */
#nh-wrap{
	width:720px;
	margin: 0;
	float:right;
	}
	
.yy {
	background: #e1eeda;
	border-bottom: solid 1px #6aaa47;
	padding: 10px 5px 5px;
	font-size: 1.3em;
	color: #339900;
	text-align: center;
	margin: 0 0 20px;
	}	
	


.nh-messege {
	margin-bottom: 30px;
	padding: 30px 5%!important;
	background: #fef5d4;
	box-shadow: 0 0 1px 1px #eedb97 inset;
	border-radius: 6px;
	box-sizing: border-box;
	
	}


.nh-messege-page {/*商品ページの納品事例*/
	margin: 10px 0 0;
	background: #fef5d4;
	padding: 20px;
	border-radius: 6px;
	border: 1px solid #eedb97;
	
	text-align:justify;
  word-break:break-all; 
  text-justify:inter-ideograph;
  text-justify:inter-character;
  word-wrap:break-word;
  overflow-wrap:break-word;
	}
.nh-messege-page p {
	margin: 0 0 5px;
}
.nh-messege-page p img {
	width: 125px;
	height: 83px;
	object-fit: cover;
}


.sama{
	color: #5b5b5b;
	background: #fff;
	font-weight:bold;
	padding: 10px 20px !important;
	margin-bottom: 15px;
	border-radius: 6px;
	font-size: 1.2em !important;
	box-shadow: 0 0 1px 1px #eedb97 inset;
	}

.nh_headding {/*index/quo*/
	color: #5b5b5b;
	background: #fff;
	font-weight:bold;
	padding: 5px 5px 5px 10px;
	margin-bottom: 20px;
	font-size: 1.3em !important;
	border-bottom: 1px solid #5b5b5b;
	}


.nh-messege h4 {
	margin: 20px 0 10px;
	color: #737373;
	}		
	
.nh-messege p {
	font-size: 1.1em;
	margin: 0 0 10px;
	line-height: 1.8;
	text-align:justify;
  word-break:break-all; 
  text-justify:inter-ideograph;
  text-justify:inter-character;
  word-wrap:break-word;
  overflow-wrap:break-word;
}
.nh-messege p:last-of-type {
	margin: 0;
}

.nh-image-box{
	width:720px;
	text-align: center;
	}	

/*----------------------------*/
	
.nh_shouhin {
	font-size: 1.3em;
	background: #fef5d4;
	box-shadow: 0 0 1px 1px #eedb97 inset;
	margin: 20px 0;
	padding: 5px;
	color: #5b5b5b;
	font-weight: bold;
}
.nh_shouhin + p {
	text-align: left;
}

.nh-image-box p img{
	padding: 4px;
	border:solid 1px #ccc;
	margin: 0 0 10px;
	box-sizing: border-box;
	}
	
/*------------ご購入商品リンク--------------*/

.nh-image-box ul:not(ul#thumbnail) {
	display: flex;
	flex-wrap: wrap;
	margin: 15px 0 0;
	box-sizing: border-box;
	}	
.nh-image-box li:not(ul#thumbnail li) {
	border: solid 1px #CCC;
	margin: 0 15px 15px 0;
	padding: 0 0 10px;
	font-size: .9em;
	text-align:center;
	width: 18%;
	transition: .3s ease-in-out;
	
	}
.nh-image-box li:nth-of-type(5n):not(ul#thumbnail li:nth-of-type(5)) {
	margin:0 0 15px;
	}
.nh-image-box li:hover:not(ul#thumbnail li:hover)  {
	border:solid 1px #36f;
	opacity: .7;
}
.nh-image-box li a:not(ul#thumbnail li a) {
	display: block;
	padding: 10px 10px 0;
	height: 100%;
	transition: .3s ease-in-out;
	box-sizing: border-box;
	
	overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
	}
.nh-image-box li a:hover:not(ul#thumbnail li a:hover) {
	color: #36f !important;
}
.nh-image-box li a img:not(ul#thumbnail li a img) {
	width: 100px;
	height: 100px;
	object-fit: cover;
	object-position: 50% 50%;
}


	
/*---------------------------*/	
	
#nh-cate{
	width:720px;
	margin:10px 0 30px;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	}

#nh-cate::after {
	content: "";
	width: 24%;
	height: 0;
	display: block;
}
#nh-cate::before {
	content: "";
	width: 24%;
	height: 0;
	display: block;
	order: 1;
}


#nh-cate .n-cate{
	width: 24%;
	position: relative;
	text-align: center;
	box-sizing: border-box;
	border:solid 1px #CCC;
	margin:0 0 30px;
	transition: .3s ease-in-out;
	}

#nh-cate .n-cate a {
	display: block;
	padding: 15px 5px 10px;
}

#nh-cate .n-cate img {
	margin-bottom: 5px;
	width: calc(160px - 4%);
	height: auto;
	}
#nh-cate .n-cate:hover {
	opacity: .7;
	border:solid 1px #0d9106;
	}
#nh-cate .n-cate a:hover dl dt {
	color: #0d9106;
	}

/*------納品トップページ-------*/

.n-thumb_wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 40px;
}
.n-thumb{
	width: 31%;
	height: auto;
	margin:0 0 25px;
	box-sizing: border-box;
	position: relative;
	line-height: 1.8;
	}
.n-thumb img {
	display: block;
	margin: 0 auto 10px;
	}
.n-thumb a {
	border:solid 1px #ccc;
	display: block;
	padding: 15px 0 0;
	height: 100%;
	font-size: 1.0em;
	color: #747474;
	transition: .3s ease-in-out;
	box-sizing: border-box;
	
	}
.n-thumb a:hover {
	opacity: .7;
	border: 1px solid #390;
	}
.n-thumb dl dt {
	margin: 10px;
	
	}
.n-thumb dl dd {
	margin: 10px;
	font-size: .975em;
	line-height: 1.6;
	}
.cmt{
	magin:10px 0 0 40px;
}

/*--------コメントマン--------*/

.nh_comment {
	margin: 10px 0;
}
.nh_comment::before {
	content: '';
	display: inline-block;
	width: 16px;
	height: 20px;
	background-image: url(../planning/img/advice_man.svg);
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: middle;
	margin: 0 5px 0 0;
}
/*-------ビフォーアフター----*/

.sekou {
	font-size: 1.2em;
	font-weight: bold;
	color: #545454;
}

.nh_before {
	font-size: 1.2em;
	background: #339;
	margin: 20px 0;
	padding: 5px;
	color: #f7f7f7;
	font-weight: bold;
}
.nh_after {
	font-size: 1.2em;
	background: #f60;
	margin: 20px 0;
	padding: 5px;
	color: #f7f7f7;
	font-weight: bold;
}


/*.nh_before2 {
	color:#0C0;
	font-size: 1.3em;
}
.nh_after2 {
	color:#F60;
	font-size: 1.3em;
}*/

/*---------お客様の声-------*/

/*#koe{
	width:690px;
	border:solid 5px #C0D96A;
	padding:20px 0;
	}
#koe dl{
	width:600px;
	margin:0 0 0 40px;
	}
#koe dt{
	font-weight:bold;
	color:#484848;
	margin:0 0 6px 0;
	}
#koe dd{
	letter-spacing:0.1em;
	line-height:1.4;
	border-bottom:dotted 1px #CCCCCC;
	margin-bottom:30px;
	padding-bottom:30px;
	}*/
	
/*-----納品投稿フォーム-----*/

ul.nhform {
	margin: 0 0 30px;
}

ul.nhform + p {
	font-size: 1.1em;
	font-weight: bold;
}
ul.nhform li {
	list-style-image: url("../img/dotarrow.gif");
	margin-left: 10px;
	margin-bottom: 10px;
	line-height:1.8;
	font-size:1.1em;
}

p.nhform {
	line-height:1.8;
	font-size:1.1em;
	}

p.nhform a {
	text-decoration: underline;
}
.link_center {
	margin: 0 auto 20px;
	width: 300px;
}

/*----------ボタン----------*/

a.nh_btn {
	font-weight:bold;
	font-size:1.5em;
	display: block;
	margin: 30px auto;
	width: 400px;
	padding: 0.8em;
	border: 3px #ccc solid;
	text-align: center;
	text-decoration: none;
	color:#5b5b5b;
	background:#E4F4AC;
	position:relative;
	border-radius: 6px;
	transition:.3s ease-in-out;
}

a.nh_btn:hover{
	background:#f7f7f7;
	text-decoration: underline;
	border: 3px solid #8B8B8B;
}

a.nh_btn:before { 
	display: block;
	content: "";
	position: absolute;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	top: 50%;
	right: 126px;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	background: #5b5b5b;
	transition:.3s ease-in-out;
}
a.nh_btn:after {
	display: block;
	content: "";
	position: absolute;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	top: 50%;
	right: 130px;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	background: #E4F4AC;
	transition:.3s ease-in-out;
}

a.nh_btn:hover:after{
	background:#f7f7f7;
	right: 87px;
}
a.nh_btn:hover:before { 
	background:#666;
	right: 84px;
}
a.nh_btn:active{
	background:#8B8B8B;
	color:#fff;
}
a.nh_btn:active:after{
	background:#8B8B8B;
}

/*===============画像拡大===============*/

/*-------メイン画像表示（720×540）------------*/

#main_photo {
	position: relative;
	
	/*width: 100%;
	max-width: 720px;
	height: auto;
	max-height: 540px;*/
	
	width: 720px;
	height: 540px !important;
	
	margin: 0 auto;
	box-sizing: border-box;
	background: #f7f7f7;
}

#main_photo img{
	position: absolute;
	top: 10px;
	left: 0;
	bottom: 0;
	right: 0;
	margin: 0 auto;
	
	width: calc(100% - 20px);
	max-width: 680px;
	height: calc(100% - 20px);
	max-height: 540px;
	
	/*max-width: 720px;
	height: auto;
	max-height: 520px !important;*/
	
	
	/*max-width: 720px;
	height: auto;
	max-height: 540px;*/
	
	
	object-fit: contain;
	object-position: center center;
	box-sizing: border-box;
}

/*-------------------*/	

#thumbnail{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	overflow: hidden;
	box-sizing: border-box;
	margin: 20px 0 0;	
	
}
#thumbnail li{
	margin: 0 10px 15px !important;
	list-style: none;
	width: 86px;
	
}
#thumbnail li img {
	opacity: .6;
	width: 86px;
	height: 86px;
	border: 1px solid #fff;
	object-fit: cover;
	box-sizing: border-box;	
	transition: .3s ease-in-out;
}

#thumbnail li img:hover {
	border: 1px solid #3bbd00;
	opacity: 1;
}

#thumbnail li.current img{
	border: 2px solid #3bbd00;
	opacity: 1;
	object-fit: cover;
	object-position: center center;
	transition: .3s ease-in-out;
}

#caption{
	padding: 10px 0;
	text-align: center;
	font-style: italic;
	font-size: 1.1em;
}

/*---------サムネイル表示無の場合-----------*/

/*.nh_photo {
	border: solid 10px #fff;
	box-shadow: 0 1px 8px #ccc;
	box-sizing: border-box;
}*/

/*---------Before 画像-----------*/

.before_image {
	margin: 0 auto;
	box-sizing: border-box;
	background: #f7f7f7;
	padding: 10px;
}
.before_image img {
	/*width: auto;
	height: 540px;*/
	
	width: inherit;
	/*max-width: 680px;*/
	height: calc(100% - 20px);
	max-height: 540px;
	
}

/*---------納品例トップページ戻るボタン--------------*/

.hn_toplink {
	margin: 40px 0 0;
	height: 80px;
}

.hn_toplink a {
	display: block;
	width: 280px;
	text-align: center;
	text-decoration: none;
	margin: 0 auto;
	font-size: 1.4em;
	font-weight: bold;
    background: #F5F5EF;
    padding: 12px 24px;
	color: #339900;
    border-radius: 6px;
    transition: all .1s ease-in-out;
	
    border-top: 1px solid #D9D8BD;
    border-right: 1px solid #D9D8BD;
    border-left: 1px solid #D9D8BD;
    border-bottom: 4px solid #D9D8BD;
	box-shadow: 0 0 2px #D9D8BD;
}

.hn_toplink a:hover {
	color: #6C0 !important;
    border-top: 4px solid #D9D8BD;
    border-right: 1px solid #D9D8BD;
    border-left: 1px solid #D9D8BD;
    border-bottom: 1px solid #D9D8BD;
	box-shadow: 0 0 0 #D9D8BD;
}
