.total_price{
	min-width: 150px;
	position: fixed;
	z-index: 999;
	top:20%;
	right: 20px;
	text-align: right;
	padding:20px;
	border:1px solid #fff;
	background: #00a672;
	color:#fff;
}

.cat_pos_color ul,
.div_pos_color ul{
	display: flex;
	flex-wrap: wrap;
	margin-left:-5px;
	margin-right:-5px;
}

.cat_pos_color li,
.div_pos_color li{
	position: relative;
	margin-left:5px;
	margin-right:5px;
	cursor: pointer;
	margin-bottom:10px;
}

.cat_pos_color li:hover .cc_p,
.div_pos_color li:hover .cc_p,
.cat_pos_color li.div_on .cc_p,
.div_pos_color li.div_on .cc_p{
	border:4px solid #000;
}

.cat_size{
	display: flex;
	flex-wrap: wrap;
	margin-left:-5px;
	margin-right:-5px;
}

.cat_size li{
	width:150px;
	margin-left:5px;
	margin-right:5px;
}

.cat_size li .div_size{
	padding:10px 5px;
	border:1px solid #ccc;
	display: flex;
	align-items: center;
}

.cat_size input{
	margin-left:5px;
	width:60px;
	border:1px solid #666;
	border-radius:5px;
	padding:5px;
	text-align: right;
}

.cat_material img{
	border:1px solid #666;
	cursor: pointer;
}

.cat_material img:hover,
.cat_material img.div_on{
	background:#66caaa;
}


.cat_color{
	display: flex;
	flex-wrap: wrap;
	margin-left:-5px;
	margin-right:-5px;
}

.cat_color li{
	position: relative;
	margin-left:5px;
	margin-right:5px;
	cursor: pointer;
	margin-bottom:10px;
}

.cc_p{
	width: 60px;
	height: 60px;
	border:4px solid #eee;
}

.ccp_txt{ font-size:7pt;margin-top:3px;line-height:110%;text-align:center; }
.cat_color li:hover .cc_p,
.cat_color li.div_on .cc_p{
	border:4px solid #000;
}

.cat_color li span{
	z-index: 1;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
}

.cat_color .color_white span{ color:#141414; }

.cat_genre{
	display: flex;
	flex-wrap: wrap;
	margin-left:-5px;
	margin-right:-5px;
}

.cat_genre li{
	width: 200px;
	margin-left:5px;
	margin-right:5px;
	padding:5px;
	border:1px solid #ccc;
	text-align: center;
	cursor: pointer;
	margin-bottom:10px;
}

.cat_genre li:hover,
.cat_genre li.li_sel{
	background:#66caaa;
	color:#fff;
}

.cat_material{ _display: none; }
.step02{_display: none; }
.step03{_display: none; }
.step04{_display: none; }
.cat_pos_color{ _display:none; }
.step{ display:none; }

.div_on{ display:block !important; }

.cat_pos,.div_pos{
	display: flex;
	flex-wrap: wrap;
	margin-left:-5px;
	margin-right:-5px;
}

.cat_pos li,.div_pos li{
	width: calc(10% - 10px);
	margin-left:5px;
	margin-right:5px;
	cursor: pointer;
}


.cat_pos li img,
.div_pos li img{ border:1px solid #666; }
.cat_pos li:hover img,
.div_pos li:hover img,
.cat_pos li.div_on,
.div_pos li.div_on{ background:#66caaa; }

.btn_pdf_none{ display:none; }
.btn_pdf a{
	display: inline-block;
	padding:10px;
	margin-top:10px;
	background: #fff;
}

.add_btn{
	cursor: pointer;
	display: inline-block;
	border:1px solid #66caaa;
	color:#66caaa;
	padding:5px 10px;
}

p:hover.add_btn{
	background:#66caaa;
	color:#fff;
}

/* モーダルの外枠 */
.custom-modal {
    display: none; /* 初期状態では非表示 */
    position: fixed; /* 画面全体に表示される */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 背景色を暗く */
    z-index: 9999;
}

/* モーダルを中央配置するラッパー */
.custom-modal-wrapper {
    position: absolute; /* 親要素として絶対位置指定 */
    top: 50%; /* 縦方向中央 */
    left: 50%; /* 横方向中央 */
    transform: translate(-50%, -50%); /* 親要素の中心を画面中央に合わせる */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center; /* 横方向に中央寄せ */
    align-items: center; /* 縦方向に中央寄せ */
}

/* モーダルのコンテンツ */
.custom-modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-sizing: border-box; /* パディングが幅に含まれる */
}

/* ボタンのスタイル */
.custom-modal-btn {
  padding: 10px 20px;
  margin: 5px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  min-width: 100px;
  text-align: center;
  transition: 0.3s ease-in-out;
}
button:hover.custom-modal-btn{ opacity:0.80; }
.custom-modal-btn.yes {
  background-color: #4CAF50;
  color: #fff;
}

.custom-modal-btn.no {
  background-color: #f44336;
  color: #fff;
}

.custom-modal-btn.url {
  background-color: #fdae14;
  color: #fff;
}


.body_on{
	background:rgba(0,0,0,1);
	width: 100%;
	height: 100lvh;
}

.txt_calc_close{
	cursor: pointer;
	background: #666;
	color: #fff;
	text-align: center;
	padding:5px;
}

.list_color_inner{
	display: inline-block;
	padding:10px;
	border:1px solid #999;
}

.other_shirt_body{ display:none !important; }