@charset "utf-8";

#local-navigation {
	clear: both;
	float: none;
	padding: 10px 0;
}

#local-navigation a {
	background: url(../../common/images/icon_arrow_small_left.png) no-repeat 0 center / 8px;
	padding: 0 0 0 15px;
}

#local-navigation a,
#local-navigation li {
	display: inline-block;
	margin-right: 15px;
}

/* ------------------------------------------------------------------------------- */

#product-name {
	margin-bottom: 35px;
	line-height: 0;
}

#product-name h1 {
	display: table-cell;
	position: relative;
	width: 350px;
	height: 136px;
	text-align: center;
	vertical-align: middle;
	margin: 0 0 30px;
	/*background: url(../images/detail_h1_frame.png) no-repeat left top;*/
}

#product-name h1:before,
#product-name h1:after {
	content: "";
	position: absolute;
	right: 0;
	left: 0;
	margin: auto;
	background-repeat: no-repeat;
	background-size: 100%;
	width: 100%;
	height: 10px;
}

#product-name h1:before {
	top: 0;
	background-image: url(../images/detail_h1_frame-top.png);
	background-position: top center;
}

#product-name h1:after {
	bottom: 0;
	background-image: url(../images/detail_h1_frame-bottom.png);
	background-position: bottom center;
}


#product-name img {
	padding-top: 9px;
	width: 100%;
}

#product-name h1 img {
	padding-top: 0px;
}

#product-name .to-onlineshop {
	background: url(../images/button_online_bg.png) no-repeat center center / 100%;
	position: absolute;
	display: block;
	right: 10px;
	top: -25px;
	padding: 0;
	width: 52px;
	height: 52px;
	text-align: center;
}

.ie6 #product-name h1,
.ie7 #product-name h1 {
	padding-top: 28px;
}

#product-name .to-onlineshop img {
	margin-top: 7px;
	position: relative;
	max-width: 24px;
}

#product-name .to-onlineshop,
#product-name .to-onlineshop img {
	-webkit-transform: rotate(0deg) translate(0);
	   -moz-transform: rotate(0deg) translate(0);
	        transform: rotate(0deg) translate(0);
	
	-webkit-transition-property: -webkit-transform, opacity;
	   -moz-transition-property:    -moz-transform, opacity;
	        transition-property:         transform, opacity;
	
	-webkit-transition-duration: 0.2s;
	   -moz-transition-duration: 0.2s;
	        transition-duration: 0.2s;
	
	-webkit-transition-timing-function: ease-in-out;
	   -moz-transition-timing-function: ease-in-out;
	        transition-timing-function: ease-in-out;
}

#product-name .to-onlineshop:hover {
	-webkit-transform-origin: 50%;
	   -moz-transform-origin: 50%;
	        transform-origin: 50%;
	
	-webkit-animation-duration: 1s;
	   -moz-animation-duration: 1s;
	        animation-duration: 1s;
	
	-webkit-animation-name: rotation-obverse;
	   -moz-animation-name: rotation-obverse;
	        animation-name: rotation-obverse;
}

#product-name .to-onlineshop:hover img {
	-webkit-transform: rotate(-5deg);
	   -moz-transform: rotate(-5deg);
	        transform: rotate(-5deg);
}

/* ------------------------------------------------------------------------------- */

#product-text h2:first-child {
	margin-top: 0 !important;
}

.product-text-wrap {
	width: 350px;
	position: relative;
	float: right;
	margin: 0 0 30px;
}

.product-text-wrap h2 {
	font-size: 1.2em;
	font-weight: bold;
	margin: 30px 0 0px;
}

.product-text-wrap h2 .limited-title {
	color: #F00;
}

.product-text-wrap h3 {
	font-weight: bold;
	color: #000;
	margin-top: 30px;
	padding-left: 12px;
	background: url(../../common/images/icon_indocator_dot.png) no-repeat left center;
}

.product-text-wrap h4 {
	font-weight: bold;
	color: #000;
	margin-top: 10px;
}

.product-text-wrap p {
	margin: 10px 0 20px;
	line-height: 1.8em;
	text-align: justify;
	text-justify: auto;
}

.product-text-wrap p:first-child {
	margin-top: 0 !important;
}

.product-text-wrap p span {
	font-weight: bold;
	display: inline-block;
}

.product-text-wrap p span.red {
	color: #ff0000;
}


.product-text-wrap p img {
	float: right;
	margin: 0 0 15px 15px;
	display: inline-block;
}

.product-text-wrap ul {
	list-style: disc;
	margin: 0 0 20px 1.3em;
	margin-bottom: 20px;
}

.product-text-wrap ol {
	list-style: decimal;
	margin: 0 0 20px 1.5em;
}

.showcase {
	overflow: hidden;
	clear: both;
	padding: 10px 0;
	line-height: 1.3em;
}

/*.showcase:first-child {
	background-color: #FF0000;
}*/

.showcase-txt {
	width: calc(100% - 120px);
	float: right;
}

.showcase h3 {
	margin: 0;
	padding: 0;
	background: none;
	font-weight: normal;
}

.showcase p {
	font-size: 0.9em;
	margin-bottom: 0;
}

.showcase figure {
	width: 100px;
	float: left;
	margin: 0;
	line-height: 0;
}

.showcase img {
	width: 100%;
}

.showcase-txt {
}

.attention{
	color:#c00;
	font-weight :bold;
}

/* ------------------------------------------------------------------------------- */


#data {
	clear: both;
	width: 350px;
	margin: 30px 0 0;
}

#data {
	background: url(../../common/images/contents_dotted_line_horizontal.png) no-repeat left bottom;
}

#data td,
#data th {
	background: url(../../common/images/contents_dotted_line_horizontal.png) no-repeat left top;
	padding: 10px 0;
	vertical-align: top;
}

table th {
	width: 110px;
}

table td {
	width: 240px;
}

.product-text-wrap #data ul,
.product-text-wrap #data ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.product-text-wrap #data ul.nutrient-list li {
	margin-bottom: 10px;
}

.product-text-wrap #data ul.nutrient-list li:last-child {
	margin-bottom: 0;
}

.product-text-wrap #data ul.nutrient-list li span {
	font-size: 0.9em;
	line-height: normal;
}

#data .to-onlineshop {
	width: 100%;
	display: block;
}

#data .to-onlineshop img {
	width: 100%;
}

.product-text-wrap #data .remarks ul {
	list-style: disc;
	margin: 0 0 0 1em;
	line-height: 1.5em;
}

.product-text-wrap #data .remarks li {
	margin: 0 0 5px 0;
}
.product-text-wrap #data .remarks .notice {
	margin-bottom: 15px;
	margin: 15px 0;
	list-style: none;
}

.product-text-wrap #data .remarks .notice li {
	margin: 0 0 5px 0;
	font-size: 0.9em;
	line-height: 1.3em;
}

.product-text-wrap #data .remarks .notice li:before {
	content: "※";
}

/* ------------------------------------------------------------------------------- */


.product-figure {
	float: left;
	/*width: 560px;*/
	width: calc(100% - 400px);
	line-height: 1.4em;
}

.main-image {
	/*min-width: 240px;*/
	margin-bottom: 20px;
	float: left;
}

.main-image img {
	border-radius: 2px;
	width: 100%;
}

#product-figure .main-image:nth-child(even) {
	
}

.product-figure figcaption {
	/*min-width: 240px;*/
	font-size: 0.9em;
	line-height: 1.4em;
	margin-top: 10px;
	width: 260px;
}

.main-image {
	float: none;
}

.main-image figcaption {
	width: auto;
}

.product-figure div {
	overflow: hidden;
}


/* ------------------------------------------------------------------------------- */


.product-text-wrap #sns-buttons {
	margin-top: 20px;
	clear: both;
	margin: 30px 0;
	padding: 0;
	overflow: hidden;
	display: block;
}
.product-text-wrap #sns-buttons li {
	float: left;
	list-style: none;
}

/* Twitter */
.product-text-wrap iframe.twitter-share-button {
	/*width: 64px !important;*/
}

.product-text-wrap #sns-buttons li#twitter-item {
	margin-right: 8px;
}

/* Pinterest */
.product-text-wrap #pinterest-item {
	margin-right: 10px;
}

/* facebook */
.product-text-wrap #sns-buttons li#facebook-item {
	margin-right: 7px;
}

/* mixi */
.product-text-wrap #sns-buttons li#mixi-item {
	clear: both;
	float: left;
	margin-right: 9px;
}

/* 20190821追記 */

#product-name {
	position: relative;
	width: 350px;
	float:right;
}

#product-mainfigure {
	float: left;
}

#product-figure {
	float:left;
	margin-bottom: 50px;
}

#product-detail {
	width: 350px;
	float:right;
}

.flexbox {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
}

.flex-item {
	width: calc(50% - 5px) !important;
	margin: 0 0 20px;
}

.flex-inner {
	width: calc(50% - 8px) !important;
	min-width: auto;
	margin-right: 0;
}

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

	#doc-title.detail {
		padding: 30px 0 3px;
	}

	#product-mainfigure,
	#product-figure {
		width: calc(100% - 390px);
		min-width: 165px;
	}

	.main-image {
		width: 100%;
		min-width: auto;
	}

	.main-image img {
		width: 100%;
	}

	#data {
		width: 100%;
	}

}

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

	#product-name {
		width: 400px;
		float: none;
		margin: 0 auto 35px;
	}

	#product-name h1 {
		width: 100%;
		display: block;
		height: auto;
		background-size: 100%;
	}

	#product-name h1 img {
		display: block;
		padding: 32px 0;
		width: 100%;
		margin: 0 auto;
		box-sizing: border-box;
	}

	#product-mainfigure,
	#product-figure {
		width: 100%;
		float: none;
	}

	#product-detail {
		width: 100%;
		float: none;
	}

	.product-text-wrap p {
		text-align: left;
	}

	#data {
		width: 100%;
	}

	.product-text-wrap #data .remarks ul {
		margin: 0 0 2em 1em;
	}

	#data td,
	#data th {
		width: 100%;
		display: block;
	}

	#data th {
		font-weight: 600;
		padding: 10px 0 5px
	}
	
	#data th br {
		display: none;
	}

	#data td {
		padding-top: 0;
		background-image: none !important;
	}

	.product-figure figcaption {
		width: 100%;
		min-width: auto;
	}

	.flex-inner {
		width:100% !important;
		margin-bottom: 20px;
	}

	.product-text-wrap #sns-buttons {
		display: none;
	}

	#data .to-onlineshop {
		width: 80%;
		max-width: 400px;
		margin: 0 auto 1em;
	}

}

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

	.container {
		margin-top: 140px;
	}

	#doc-title.detail {
		display: none;
	}
	
	#product-name {
		width: 100%;
	}

	#product-detail {
		margin-bottom: 60px;
	}

	#product-mainfigure {
		margin-bottom: 40px;
	}

	.main-image {
		margin-bottom: 30px;
	}

	.product-text-wrap #data .remarks ul {
		margin-bottom: 1.5em;
	}

	.showcase figure {
		margin: 0 0 15px;
	}

	.showcase-txt {
		width: calc(100% - 120px);
	}

}

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

	#data .to-onlineshop {
		width: 100%;
	}

}

.cart-anchor-icon {
	width: 25px;
}

/* ========================================================================== */
/* underIE9                                                                   */
/* ========================================================================== */

.ie6 #data {
	padding-top: 30px;
}
.ie6 #local-navigation a,
.ie6 #local-navigation li,
.ie7 #local-navigation a,
.ie7 #local-navigation li {
	display: inline;
}



