/* CSS Document */
	
#nh-wrap{
	width:100%;
	padding:0 1%;
	}
	
.yy {
	background: #e1eeda;
	border-bottom: solid 1px #6aaa47;
	padding: 10px 5px 5px;
	font-size: 1.2em;
	color: #339900;
	text-align: center;
	margin: 0 0 20px;
	}

/*------納品トップページ----*/

.n-thumb_wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 40px;
}
.n-thumb{
	border:solid 1px #CCCCCC;
	width: 31%;
	height: auto;
	margin:0 0 25px;
	font-size: .9em;
	color: #747474;
	box-sizing: border-box;
	position: relative;
	line-height: 1.6;
	}
	
@media screen and (max-width: 567px) {
.n-thumb{
	border:solid 1px #CCCCCC;
	width: 48%;
	height: auto;
	margin:0 0 25px;
	box-sizing: border-box;
	}
}

.n-thumb img {
	display: block;
	margin: 0 auto 10px;
	}
.n-thumb a {
	display: block;
	padding: 15px 0 0;
	box-sizing: border-box;
	height: 100%;
	transition: .3s ease-in-out;
	}
.n-thumb a:hover {
	opacity: .7;
	}
.n-thumb dl dt {
	margin: 10px 4%;
	
	}
.n-thumb dl dd {
	margin: 10px 4%;
	
	}

/*---------------------------*/	
	
#nh-cate {
	width: 100%;
	margin: 10px 0 30px;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	}

#nh-cate .n-cate {
	width: 32%;
	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 2.5%;
	font-size: .9em;
}

#nh-cate .n-cate img {
	margin-bottom: 5px;
	width: calc(100% - 5px);
	max-width: 160px;
	height: auto;
	}
#nh-cate .n-cate:hover {
	opacity: .7;
	border:solid 1px #0d9106;
	}
#nh-cate .n-cate a:hover dl dt {
	color: #0d9106;
	}

@media screen and (max-width:576px) {#nh-cate .n-cate a {
	font-size: .85em;
}
}

#nh-cate::after {
	content: "";
	width: 32%;
	height: 0;
	display: block;
}



/*---------------------------*/
	
.nh-messege{
	width:100%;
	background: #fef5d4;
	margin-bottom: 30px;
	padding: 20px 4% !important;
	border-radius: 6px;
	box-shadow: 0 0 1px 1px #eedb97 inset;
	box-sizing: border-box;
	
	}	

.nh-messege p {
	margin: 0 0 10px;
	font-size: 1.0em;
	line-height: 1.6;
	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-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 a img {
	/*width: 125px;
	height: 83px;*/
	width: 48%;
	height: auto;
	object-fit: cover;
}
	
.sama{
	color: #5b5b5b;
	background: #fff;
	font-weight:bold;
	padding: 10px 15px;
	margin-bottom: 15px;
	border-radius: 6px;
	font-size: 1.1em !important;
	box-shadow: 0 0 1px 1px #eedb97 inset;
	}

.nh_headding{
	color: #5b5b5b;
	background: #fff;
	font-weight:bold;
	padding: 5px 5px 5px 10px;
	margin-bottom: 20px;
	font-size: 1.2em !important;
	border-bottom: 1px solid #5b5b5b;
	}
	
.nh-messege h4 {
	margin: 20px 0 10px;
	color: #737373;
	}	
	
	
.nh-image-box{
	width:100%;
	text-align:center;
	/*padding: 0 1%;*/
	}

.nh-image-box p{
	font-size: 1.0em;
	}
	
.nh-image-box p img{
	padding:4px;
	border:solid 1px #CCCCCC;
	margin: 0 0 20px;
	}

.nh_shouhin {
	font-size: 1.1em !important;
	background: #fef5d4;
	color: #5b5b5b;
	box-shadow: 0 0 1px 1px #eedb97 inset;
	margin: 20px 0;
	padding: 5px;
	font-weight: bold;
}	
.nh_shouhin + p {
	text-align: left;
	/*font-size: 1.0em;*/
}



.cmt{
	magin:10px 0 0 40px;
	}


/*------------ご購入商品リンク--------------*/

.nh-image-box ul:not(ul#thumbnail) {
	width: 100%;
	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 2.5% 15px 0;
	padding: 0 0 10px;
	text-align:center;
	width: 23%;
	font-size: .9em;
	transition: .3s ease-in-out;
	}


@media screen and (max-width:574px) {
	
.nh-image-box li:not(ul#thumbnail li) {
	margin: 0 2.5% 15px 0;
	width: 31.5%;
	font-size: .85em;
	}	

.nh-image-box li:nth-of-type(3n):not(ul#thumbnail li:nth-of-type(3n)) {
	margin:0 0 15px;
	}	
	
.nh-image-box li:nth-of-type(4n):not(ul#thumbnail li:nth-of-type(4n)) {
	margin:0 2.5% 15px 0 !important;
	}	
		
}


.nh-image-box li:nth-of-type(4n):not(ul#thumbnail li:nth-of-type(4n)) {
	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: 100%;
	max-width: 100px;
	height: auto;
	object-fit: cover;
	object-position: 50% 50%;
}



/*--------コメントマン--------*/

.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.4em !important;
	font-weight: bold;
	color: #545454;
}


.nh_before {
	font-size: 1.1em !important;
	background: #339;
	margin: 20px 0;
	padding: 5px;
	color: #f7f7f7;
	font-weight: bold;
}
.nh_after {
	font-size: 1.1em !important;
	background: #F60;
	margin: 20px 0;
	padding: 5px;
	color: #f7f7f7;
	font-weight: bold;
}


/*.nh_before2 {
	color:#0C0;
	font-size: 1.2em;
}
.nh_after2 {
	color:#F60;
	font-size: 1.2em;
}
*/
/*------------------お客様の声----------------*/

/*#koe{
	width:100%;
	border:solid 5px #C0D96A;
	padding:10px;
	font-size:0.8rem;
	}
#koe dl{
	}
#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;
	padding: 0 1%;
}

ul.nhform + p {
	font-size: 1.0em;
	font-weight: bold;
	text-align:justify;
  word-break:break-all; 
  text-justify:inter-ideograph;
  text-justify:inter-character;
  word-wrap:break-word;
  overflow-wrap:break-word;
}
ul.nhform li {
	list-style-image: url("../img/dotarrow.gif");
	margin-left: 10px;
	margin-bottom: 10px;
	line-height:1.6;
	font-size:1.0em;
}

p.nhform {
	line-height:1.6;
	font-size:1.0em;
	text-align:justify;
  word-break:break-all; 
  text-justify:inter-ideograph;
  text-justify:inter-character;
  word-wrap:break-word;
  overflow-wrap:break-word;
	}

p.nhform a {
	text-decoration: underline;
}

/*---ボタン-----*/

a.nh_btn {
	font-weight:bold;
	font-size:1.4em;
	display: block;
	width: 350px;
	padding: 0.8em;
	margin: 30px auto;
	border: 3px #ccc solid;
	text-align: center;
	text-decoration: none;
	color:#666;
	background:#E4F4AC;
	position:relative;
	transition:.3s ease-in-out;
	border-radius: 6px;
}

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: 88px;
	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: 92px;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	background: #E4F4AC;
	transition:.3s ease-in-out;
}

a.nh_btn:hover:after{
	background:#f7f7f7;
	right: 80px;
}
a.nh_btn:hover:before { 
	background:#666;
	right: 77px;
}
a.nh_btn:active{
	background:#8B8B8B;
	color:#fff;
}
a.nh_btn:active:after{
	background:#8B8B8B;
}

/*=============画像拡大==============*/

/*-------メイン画像表示（サイズ720×500）object-fit: contain;------------*/

#main_photo {/*高さバラバラを統一*/
	position: relative;
	margin: 0 auto;
	width: 100% !important;
	height: auto !important;
	padding-top: 75%;
	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: 500px;*/
	max-height: 540px;
	
	object-fit: contain;
	object-position: center center;
	box-sizing: border-box;
}

/*---------------------*/

#thumbnail {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	overflow: hidden;
	box-sizing: border-box;
	/*padding: 0 10px;*/
	margin: 20px 0 30px !important;
}

#thumbnail li {
	list-style: none;
	width: 76px !important;
	height: 76px;
	font-size: 0;
	margin: 0 4px 15px;
	box-sizing: border-box;
}

#thumbnail li img {
	opacity: .6;
	width: 76px;
	height: 76px;
	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;
	box-sizing: border-box;
}

#caption{
	padding: 10px 0;
	text-align: center;
	font-style: italic;
	font-size: 1.0em;
}

/*------------------*/

@media screen and (max-width:574px) {
	
#thumbnail {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	
}
#thumbnail li {
	margin: 0 1% 15px 0 !important;
	list-style: none;
	width: 60px !important;
	height: 60px !important;
	font-size: 0;
	box-sizing: border-box;
}
#thumbnail li img {
	width: 60px !important;
	height: 60px !important;
}
	
}
	
	
/*---------Before 画像-----------*/

.before_image {
	position: relative;
	margin: 0 auto;
	width: 100% !important;
	height: auto !important;
	padding-top: 75%;
	box-sizing: border-box;
	background: #f7f7f7;
}

.before_image 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: 500px;*/
	max-height: 540px;
	
	object-fit: contain;
	object-position: center center;
	box-sizing: border-box;
	
	
}	
	

/*---------納品例トップページ戻るボタン--------------*/

.hn_toplink {
	margin: 40px 0 0;
	height: 80px;
}

.hn_toplink a {
	display: block;
	width: 240px;
	text-align: center;
	text-decoration: none;
	margin: 0 auto;
	font-size: 1.2em;
	font-weight: bold;
    background: #F5F5EF;
    padding: 10px 15px;
	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;
}

