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

.pagetop{
	display: none;
}

.cart-content-sample{
	margin-bottom: 0%;
}

.cart-content{
	margin-top: 50px;
}


.cart-content-sample-list > .sample-list-innnar{
    border: solid 1px;
	border-color: rgba(67, 71, 72, 0.1);
}
.sample-title > h3{
	background: #750205;
    margin-top: 3%;
    line-height: 4rem;
	text-align: center;
	color: #fff;
	letter-spacing: 0.1em;
}

.sample-title > p{
/*    padding-left: 4%;*/
	text-align: center;

}

.cart-content-sample > .cart-content-sample-list{
	display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 5%;
}

.sample-list-innnar{
	width: 48%;
}

.sample-list-innnar-title{
	text-align: center;
}

.sample-list-innnar-title p:nth-child(1){
	font-weight: bold;
}

.sample-list-innnar-title p:nth-child(2){
	font-size: 0.7em;
    line-height: 0.3;
    padding-bottom: 10%;
}

.sample-list-innnar > .sample-counter-container {
	display: flex;
    justify-content: center;
}

.sample-list-innnar > .sample-select{
    border: solid #333 1px;
    display: block;
    text-align: center;
    width: 80%;
margin: 0% auto 7%;
    line-height: 2.5rem;
	
}

.sample-list-innnar img{
	width: 50%;
    margin: 12% auto;
	
}

.sample-counter-container > .sample-count{
	margin-right: 3%;
	line-height: 2;
}

.sample-counter-container > .sample-minus-button{
	width: 21px;
    background: #171717;
    border: none;
    border-radius: 6px 0 0 6px;
    padding: 0 7px 4px;
    color: #fff;
}

.sample-counter-container > .sample-contbox{
    width: 30px;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    background-color: #ffffff;
    border: 1px solid #dfdfdf;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
	color: #333;
    text-align: center;
	align-items: center;
	text-align-last: center;
}

.sample-counter-container > .sample-plus-button{
	width: 21px;
    background: #171717;
    border: none;
    border-radius: 0 6px 6px 0;
    color: #fff;
}

.cart-content-sample > .sample-attention-text{
	color: #959595;
    font-size: 0.8em;
    margin-top: 1%;
}

/* モーダルを開くボタン */
.modal-open{
	align-items: center;
    color: #959595;
    background: #00000000;
    border: none;
    cursor: pointer;
    display: flex;
    text-decoration: underline;
	gap: 4px;
	width: 100%;
    justify-content: right;
}

/* モーダルと背景の指定 */
.modal{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,50%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
  z-index: 4;
}

.modal-attention{
	font-size: 0.8rem;
}

/* モーダルの擬似要素の指定 */
.modal:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em;
}

/* クラスが追加された時の指定 */
.modal.is-active{
  opacity: 1;
  visibility: visible;
}

/* モーダル内側の指定 */
.modal-container{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 600px;
  width: 90%;
}

/* モーダルを閉じるボタンの指定 */
.modal-close{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 8%;
    right: 5px;
    width: 30px;
    height: 30px;
    color: #333;
    background: rgba(67, 71, 72, 0.1);
    border-radius: 50%;
    cursor: pointer;
}

.modal-content{
	background-color: #fff;
	border-radius: 4%;
    padding: 6%;
	margin-top: 10%;
}

.modal-contents-wrapper{
	display: flex;
    gap: 10px;
}

.modal-contents-wrapper > .modal-small-contents{
	background-color: #f2dada;
    color: #333;
    border-radius: 15px;
    padding: 0 3%;
    font-size: 0.8em;
	white-space: nowrap;
}

.modal-content-title{
	font-size: 1.5rem;
    padding:5% 0;
    font-weight: 400;
}

.modal-content ul li{
	display: flex;
    text-align: left;
	border-bottom: 1px solid;
	border-bottom-color: rgba(67, 71, 72, 0.1);
	padding-bottom: 5%;
    margin-top: 5%;
    gap: 10px;
}

.modal-content ul li:last-child{
	border-bottom: none;
}

.modal-img{
   width: 25%;
}

.modal-text p:first-of-type{
	font-weight:bold;
}

.modal-inner{
	line-height: 1;
	    margin-top: 1%;
}

#selected-samples-container{
	margin: 15px 0;
    font-size: 1rem;
    color: #333;
}

#selected-samples-container > p{
background-color: #f2dada;
    color: #333;
    border-radius: 15px;
    padding: 1% 3%;
    white-space: nowrap;
    margin-bottom: 4%;
    display: block;
    width: fit-content;
}

.sample-slot{
	display: flex;
    align-items: center;
    margin-bottom: 2%;
	gap:1%;
}

.sample-label{
	    color: #333;
    border-radius: 0px;
    padding: 1% 1%;
    white-space: nowrap;
    border: 1px solid #333;
    font-size: 1rem;
}

/* 商品名と削除ボタンを囲むエリア(.sample-name)をflexコンテナにする */
.sample-name {
  display: flex;
  justify-content: flex-start;
  align-items: center;            /* 上下中央揃え */
  width: 100%;                    /* 横幅いっぱいまで広げる */
}

/* 削除ボタンの見た目を調整（任意） */
.sample-name .list-item__delete-button {
  margin-left: 10px;  /* ボタンの左側に余白を追加 */
  flex-shrink: 0;     /* ボタンが縮まないようにする */
	    padding: 1%;
}


@media screen and (min-width: 768px) {
	
.cart-content-sample > .cart-content-sample-list{
	display: flex;
    gap: 10px;
    flex-wrap: nowrap;
	width: 60%;
        margin: 3% auto 7%;
        justify-content: space-between;
}	
	
.sample-counter-container > .sample-contbox{
	height: fit-content;
    line-height: 2;	
}
	
.modal-content ul{
	display: flex;
}
.modal-content ul li{
	display: block;
	border-right: 1px solid;
	border-right-color: rgba(67, 71, 72, 0.1);
    padding: 0 1%;
	width: 90%;
    margin-top: 0%;
    border-bottom: none;
}	
	.modal-content ul li:first-child{
    padding-left:1%;
}
.modal-content ul li:last-child{
    padding-left:1%;
	border-right: none;
}

.modal-img{
	width: 120px;
    margin: 0 auto;
    padding: 10% 0;
}
.modal-container {
    max-width: 900px;
    margin-top: 10%;
}
.modal-close{
top: 95px;
    right: 15px;
    width: 40px;
    height: 40px;
}
	.modal-text{
		font-size: 0.7em;
        margin-bottom: 6%;
        text-align: center;
}
.modal-content{
	border-radius: 20px;
}
.modal-content-title{
	font-size: 2rem;
    padding: 1% 0 2%;
}
	
.modal-contents-wrapper{
    justify-content: center;
}	
	
	.modal-inner{
		margin-top: 10%;
	}
	.sample-slot{
    margin-bottom: 1%;
		        font-size: 1.3rem;
	}
	
	.sample-label{
		    margin-bottom: 0%;
    padding: 0.5%;
	}
	
	#selected-samples-container > p{
		margin-bottom: 2%;
		    border-radius: 75px;
		font-size: 1.5rem;
		    padding: 0% 2%;
	}
	
	.sample-name .list-item__delete-button {
		padding: 0.5%;
	}
	
	
}








