@charset 'UTF-8';
.dm_head{
	text-align:center;
	margin:0 0 50px 0;
}
@media screen and (max-width: 1024px){
	.dm_head{
		margin:70px 0 50px 0;
	}
}

.dm_head img{
	width:100%;
	height:auto;
}
.dm_head p{
	margin:40px 0;
}
.dm_head form{
	width:350px;
	margin:0px auto;
	border:1px solid #DDDDDD;
	border-radius: 50px;
	padding:10px 0;
	position:relative;
	text-align:left;
}
.dm_head form input[type="text"]{
	width:270px;
	border:none;
	margin:0 0 0 20px;
}
.dm_head form input[type="image"]{
	width:30px;
	height:auto;
	color:#df6d10;
	display:block;
	position:absolute;
	right:15px;
	top:8px;
}
@media screen and (max-width: 1024px){
	.dm_head form{
		width:94%;
	}
	.dm_head form input[type="text"]{
		width:88%;
	}
}
.dm_list_none{
	text-align:center;
	margin:0 0 80px 0;
}

.dm_list ul{
	display:flex;
	flex-wrap: wrap;
	align-content: space-between;
}
.dm_list ul li{
	width:31.3%;
	box-sizing: border-box;
	border:1px solid #B5A28E;
	padding:15px;
	margin:1%;
}
@media screen and (max-width: 1024px){
	.dm_list ul{
		margin:0 0 40px 0;
	}
	.dm_list ul li{
		width:48%;
		padding:10px;
	}
}
.dm_list ul li a{
	text-decoration:none;
}
.dm_list ul li img{
	width:100%;
	height:auto;
	margin:0 0 10px 0;
}
.dm_list ul li .icon{
	background:#4e3230;
	color:#FFF;
	padding:5px;
	border-radius: 5px;
}
.dm_list ul li h3{
	margin:10px 0;
	font-size:20px;
}
.dm_list ul li .price{
	text-align:right;
	font-size:20px;
	font-weight:bold;
	margin:0;
}

/*詳細ページ*/
.inner_s{
	width:1000px;
	margin:0px auto;
}
@media screen and (max-width: 1024px){
	.inner_s{
		width:94%;
		margin:0px auto;
	}
}
.dm_title{
	background:#DF6D10;
	color:#FFF;
	padding:10px 0;
	text-align:center;
	margin:0 0 20px 0;
	font-size:24px;
}
.dm_title span{
	font-size:18px;
	margin:0 0 0 20px;
}
.dm_title a{
	color:#FFF;
}
@media screen and (max-width: 1024px){
	.dm_title{
		margin:70px 0 20px 0;
	}
	.dm_title span{
		margin:0;
	}
}

.dm_icon1{
	display: inline-block;
	padding: .35em .65em;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .25rem;
	border:1px solid #4e3230;
	margin:0 0 10px 0;
}

.dm_icon2{
	display: inline-block;
	padding: .35em .65em;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .25rem;
	border:1px solid #4e3230;
	background:#4e3230;
	color:#FFF;
	margin:35px 0 10px 0;
}
.dm_detail h1{
	margin:10px 0;
}
.dm_detail ul{
	margin:30px 0;
}
@media screen and (max-width: 1024px){
	.dm_icon2{
		margin:10px 0;
	}
	.dm_detail ul{
		margin:0 0 20px 0;
		padding:0;
	}
}
.dm_detail ul li{
	width:50%;
	float:left;
	margin:5px 0;
	list-style:none;
}
.dm_detail ul li span{
	display:inline-block;
	background:#F8F4ed;
	padding:5px;
	width:90px;
	text-align:center;
	margin:0 10px 0 0;
}

.dm_detail ul li span.value{
    flex-grow: 1;             /* 残りのスペースを埋めるように広がる */
    max-width: calc(100% - 105px); /* 親の幅から項目名+マージンを引いた最大幅を設定 */
                                /* これにより、値の表示領域が固定幅の項目名に影響されず、最大幅に収まる */
    word-wrap: break-word;    /* 長い単語でも強制的に改行 */
    white-space: normal;      /* 通常の改行ルールを適用 */
    line-height: 1.5;         /* 行の高さを調整 */
}

.dm_detail table{
	width:100%;
	border-top:1px solid #4e3230;
	border-bottom:1px solid #4e3230;
}
.dm_detail table tr{
	border-top:1px dotted #4e3230;
}
.dm_detail table tr th,
.dm_detail table tr td{
	padding:10px;
}

.dm_price_p{
	text-align:center;
}
.dm_price_p h2{
	font-weight:bold;
}
@media screen and (max-width: 1024px){
	.dm_price_p{
		margin:40px 0 0 0;
	}
}
.dm_price{
	border:2px solid #4e3230;
	padding:0 20px;
	margin:0 0 50px 0;
	border-radius: 10px;
}
.dm_price ul{
	margin:0;
}
.dm_price ul li{
	padding:20px 0;
	display:flex;
	justify-content:space-between;
	align-items:center;
	border-bottom:1px dotted #4e3230;
}
@media screen and (max-width: 1024px){
	.dm_price ul li{
		flex-wrap: wrap;
	}
}
.dm_price ul li:last-child{
	border:none;
}
.dm_price ul li .dm_price_title{
	border:1px solid #4e3230;
	border-radius: 30px;
	padding:10px;
	box-shadow: none;
	display:block;
	width:240px;
	text-align:center;
	margin:0;
	font-weight:bold;
}
.dm_price_detail{
	flex:1;
	margin:0 0 0 30px;
}
@media screen and (max-width: 1024px){
	.dm_price_detail{
		flex:auto;
		width:100%;
	}
	.dm_price ul li .dm_price_title{
		padding:5px 10px;
		width:100%;
		margin:0 0 10px 0;
	}
	.dm_price_detail{
		margin:10px 0 0 0;
	}
}
.dm_price_detail .price_none{
	display:inline-block;
	margin:0;
}
.dm_price_detail .price_none .none{
	background-image: linear-gradient(transparent 0.1em, #e70000 0, #e70000 calc(0.1em + 1px), transparent 0, transparent calc(0.1em + 3px), #e70000 0, #e70000 calc(0.1em + 4px), transparent 0);
	text-decoration: none;
	padding: 0 2px;
	font-size:12px;
}
.dm_price_detail .price_none .large{
	font-weight:bold;
	font-size:20px;
}
@media screen and (max-width: 1024px){
	.dm_price_detail .price_none{
		margin:0 0 5px 0;
	}
}
.price_box{
	display:flex;
	align-items:center;
}

.dm_price_detail .price_off{
	display:flex;
	background:#EE0000;
	color:#FFF;
	padding:2px 0 2px 5px;
	position:relative;
	height:50px;
	width:80px;
	justify-content:center;
	align-items: center;
}
.dm_price_detail .price_off:before {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 25px 0 25px 20px;
	border-color: transparent transparent transparent #EE0000;
	position: absolute;
	top: 0;
	right: -20px;
	bottom: 0;
	margin: auto;
}

.dm_price_detail .price_off span{
	font-size:40px;
	font-weight:bold;
	display:inline-block;
	line-height:120%;
}
.dm_price_detail .price_off .price_off_tani{
	margin-top:0;
	line-height:100%;
}

.dm_price_detail .price{
	margin:0 0 0 30px;
	flex:1;
}
.dm_price_detail .price .price1{
	margin:0;
}
@media screen and (max-width: 1024px){
	.dm_price_detail .price_off{
		height:50px;
		width:70px;
	}
	.dm_price_detail .price_off span{
		font-size:32px;
	}
	.dm_price_detail .price_off .price_off_tani{
		font-size:13px;
	}
	.dm_price_detail .price_off:before {
		border-width: 25px 0 25px 20px;
	}
	.dm_price_detail .price_center{
		margin:0;
		text-align:center;
	}
	.dm_price_detail .price .price1{
		line-height:160%;
	}
}
.dm_price_detail .price .price1 span.large{
	font-size:38px;
	font-weight:bold;
	color:#EE0000;
	margin:0 0 0 5px;
}
@media screen and (max-width: 374px){
	.dm_price{
		padding:0 15px;
	}
	.dm_price_detail .price_off{
		width:65px;
	}
	.dm_price_detail .price_off:before {
		border-width: 25px 0 25px 15px;
		right: -15px;
		bottom: 0;
		margin: auto;
	}
	.dm_price_detail .price .price1 span.large{
		font-size:33px;
	}
}
.dm_price_detail .price .red{
	color:#EE0000;
	margin:0 0 0 5px;
}
.dm_price_detail .price .total_price{
	margin:0;
}

.dm_price ul li .dm_cart_btn{
}
.dm_price ul li .dm_cart_btn a{
	width:200px;
	text-align:center;
	display:block;
	background:#4EC622;
	color:#FFF;
	border:2px solid #FFF;
	box-shadow: 0 3px 3px rgba(0,0,0,.1);
	text-decoration:none;
	font-size:18px;
	font-weight:bold;
	padding:10px 0;
    border-radius:60px;
    transition: 0.3s;
	line-height:120%;
}
.dm_price ul li .dm_cart_btn a:hover{
	background-color: #449A1B;
}

@media screen and (max-width: 1024px){
	.dm_price ul li .dm_cart_btn{
		width:100%;
	}
	.dm_price ul li .dm_cart_btn a{
		width:100%;
		margin:10px auto;
	}
	.dm_price_detail .price .total_price{
		font-size:13px;
	}
}

/* 栄養価エリア：2カラム固定（スマホも） */
.dm_detail ul{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 常に2カラム */
  gap: 12px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.dm_detail ul li{
  float: none !important;
  width: auto !important;
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

/* ラベル（左側） */
.dm_detail ul li > span:first-child{
  width: 80px;        /* ← 値を広くしたいなら80〜85pxくらいがベスト */
  padding: 10px 6px;
  margin: 0;
  background: #F8F4ED;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  line-height: 1.4;
  box-sizing: border-box;
}

/* 値（右側） */
.dm_detail ul li span.value{
  flex: 1 1 auto;
  min-width: 0;
  background: transparent !important;
  padding: 10px 12px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center; /* 左寄せなら start に変更OK */
  line-height: 1.5;
  box-sizing: border-box;
  font-size: 15px;
}

/* 賞味期限などの表：見出し幅固定＆改行禁止 */
.dm_detail table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border-top: 1px solid #4e3230;
  border-bottom: 1px solid #4e3230;
}
.dm_detail table tr{ border-top: 1px dotted #4e3230; }
.dm_detail table th,
.dm_detail table td{ padding: 12px 10px; vertical-align: top; }

.dm_detail table th{
  width: 9em;
  white-space: nowrap;
  text-align: left;
  background: #F8F4ED;
  font-weight: 700;
  box-sizing: border-box;
}
