@media screen and (min-width:481px){
	#container-wrapper{
		width: 1000px;
		margin: 30px auto;
		
	}
	.container{
		display: flex;
	}
	.container:not(:last-child){
		margin-bottom: 10px;
	}
}
@media screen and (max-width:480px){
	#container-wrapper{
		width: 100%;
	}
}

h2{
	margin: 20px 0;
	text-align: center;
	color: var(--fontcolor-main);
}

#container-wrapper h3{
	text-align: left;
	padding: 7px 10px;
	background: #209cff;
	background-image: linear-gradient(270deg, rgba(233, 233, 233, 1), rgba(185, 186, 195, 1));
	font-size: 20px;
	font-weight: bold;
	color: white;
	margin-bottom: 5px;
	margin-top: 5px;
}

.content{
	background: white;
	text-align: left;
}
@media screen and (max-width: 768px) {
	#container-wrapper h3{
		padding-left: 17px;
	}
	.content{
		padding: 1px 7px;
		margin-bottom: 10px;
		}	
}

.css_cancel_text{
	color: crimson;
	cursor: pointer;
/*
	padding: 5px 10px;
	background: crimson;
	margin-top: 0 auto;
*/
}

@media screen and (min-width:481px){
	.content:not(:last-child){
		margin-right: 10px;
	}
	
	.content_1{
		width: 190px;
	}
	
	.content_2{
		width: 390px;
	}
	
	.content_3{
		width: 590px;
	}
	
	.content_max{
		width: 100%;
	}
	
	.concatenation_1:not(:last-child){
		margin-right: 0;
		width: 200px;
	}
}

.content dt{
	font-weight: bold;
	margin: 5px 10px 0;
}
.content dd{
	padding-top: 5px;
	padding-bottom: 5px;
	margin: 5px 10px 0;
}

@media screen and (min-width:481px){
	.content dd.css_flex_pc{
		display: flex;
	}
}

.content dd.css_flex div:not(:last-child){
	margin-right: 15px;	
}


.annotation{
	list-style-type: none;
	margin-top: 5px;
}
.annotation li{
	font-size: 12px;
	color: dimgray;
}
.annotation li.highlight{
	color: crimson;
}
.annotation .fontawasome{
	color: #cfcfcf;
	font-size: 1.2rem;
	margin-right: 0.3rem;
	margin-left: 0.5rem;
}
.css_paper_list_wrapper{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: none;
	z-index: 1000;
}

.css_paper_list_wrapper{
	background: white;
	border-radius: 10px;
	margin: 10vh auto 0;
	box-shadow: 0 10px 15px 0 rgba(0, 0, 0, .3);
	overflow-y: auto;
}

@media screen and (min-width:481px){
	.css_paper_list_wrapper{
		width: 90%;
		max-width: 1350px;
		height: 80vh;
	}
}

@media screen and (max-width:480px){
	.css_paper_list_wrapper{
		width: fit-content;
		height: 87vh;
	}
}

/*
@media screen and (max-width:480px){
	.css_paper_image_ul{
		list-style-type: none;
		padding: 20px 30px;
	}
	
	.css_paper_image_ul li{
		margin-bottom: 20px;
		margin-top: 10px;
	}
}
*/

.selected_foil_img{
	width: 250px;
}

/*
.css_paper_image_ul li{
	position: relative;
	width: fit-content;
}
*/


.unselectable{
	
}
/*
.css_paper_image_txt_container p.name{
	height: 28px;
}
*/
/*
.css_paper_image_txt_container p.thickness{
	padding-top: 5px;
}
*/


div.css_selected_paper_container{
	border-radius: 5px;
	width: fit-content;
	box-shadow: 0 10px 15px 0 rgba(0, 0, 0, .3);
	position: relative; 
}
div.css_selected_paper_container img{
	height: 120px;
	width: 280px;
	object-fit: cover;
	border-radius: 5px;
}

div.css_selected_paper_container p.css_selected_paper_name{
	position: absolute;
	left: 0;
	bottom: 0;
	border-radius: 0 0 5px 5px;
	background: dimgray;
	color: white;
	width: 100%;
	padding: 0 10px;
	box-sizing: border-box;
	font-size: 14px;
}
div.css_selected_foil_container p.css_selected_foil_name{
	/*
	position: absolute;
	left: 0;
	bottom: 0;
*/
	border-radius: 0 0 5px 5px;
	background: dimgray;
	color: white;
	width: 100%;
	padding: 4px 0px;
	box-sizing: border-box;
	font-size: 14px;
	text-align: center;
	line-height: 14px;
	font-weight: 600;
}
/* 箔押しセレクタ */
div.css_selected_foil_container{
	border-radius: 5px;
	width: fit-content;
	box-shadow: 0 10px 15px 0 rgba(0, 0, 0, .3);
}

ul.css_foilstamp_setting_list{
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}
ul.css_foilstamp_setting_list li{
	padding: 5px;
	border: solid 1px silver;
	border-radius: 3px;
}
ul.css_foilstamp_setting_list li:not(:last-child){
	margin-right: 10px;
}




.css_foilstamp_processing_area_container{
	margin-bottom: 5px;
}

/* モノクロ本文まわり */
.jq_monobody_elements{
	display: none;
}


/* カラー本文まわり */
.jq_colorbody_elements{
	display: none;
}

/* カバーまわり */
.jq_cover_elements{
	display: none;
}

/* 遊び紙まわり */
#jq_asobikami_front_elements,#jq_asobikami_back_elements{
	display: none;
	padding: 10px;
}
/*
.selecting{
	background: #ccffff;
}
*/


/* サブミット */
.css_submit_btn_container{
	text-align: center;
	
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	width: fit-content; 
	margin: 0 auto;
}
.css_submit_btn_container form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: fit-content;
  margin: 0 auto;
}


@media screen and (max-width: 768px) {
  .css_submit_btn_container {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
 }

/* エラーメッセージ */
ul.error_message{
	list-style-type: none;
	color: red;
	font-weight: bold;
}
.error_elements{
	background: pink;
}

button{
	padding: 3px 10px;
}

/* order画面 */
.css_width_100{
	width: 100%;
}

.css_delivery_h4{
	padding: 5px 15px;
	font-weight: bold;
}

.css_delivery_event_h4{
	background: lightskyblue;
	color: white;
}
.css_delivery_bookstore_h4{
	background: gold;
	color: white;
}
.css_delivery_home_h4{
	background: mediumaquamarine;
	color: white;
}
.jq_content_dd{
	padding: 0 10px;
}

#jq_btn_coupon_cancel{
	display: none;
}

.p_alert_container{
	border-radius: 3px;
	background: pink;
	color: red;
	padding: 3px 5px;
	font-weight: bold;
}



/* ヘッダー　バナー */
/* 共通レイアウト */
.banner-imageWrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

/* PC 用画像（デフォルト表示） */
.banner-mainImage{
    width: 900px;
    margin-top: -15px;
    margin-bottom: 5px;
}

/* スマホ用画像（デフォルト非表示） */
.banner-spImage{
    display: none;
}

/* ───── 768px 以下 ───── */
@media (max-width: 768px){
	/* PC 用を隠す */
	.banner-mainImage{
		display: none;
	}
	
	/* スマホ用を表示＋サイズ調整 */
	.banner-spImage{
		display: block;
		width: 90%;
		margin-top: 0;
		margin-bottom: 5px;
		border-radius: 10px;
	}
}


/* ボタン周り */
.submit-base{
	border: none; 
	box-shadow: none; 
  	outline: none; 
  	-webkit-appearance: none; 
  	-moz-appearance: none;
  	appearance: none;  
  
    border-radius: 50px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    margin-top: 1px;
    margin-bottom: 40px;
    padding: 15px 25px;
    transition: 0.3s ease-in-out;
    font-weight: 900;
    font-size: 1.8rem;  
    }
.submit-go{
	background: var(--maincolor);
    color: #313131;
    max-width: 500px;
    width: 500px;
}
.submit-padding{
	width: ;
}
@media screen and (max-width: 768px) {
  .submit-base {
    width: 90%;     /* ボタンの幅 */
    max-width: 500px; /* 任意：大きくなりすぎ防止 */
    margin: 0;
  }
  .submit-go{
	  padding: ;
  }
}
.submit-back{
	background-color: #d1d1d1;
    color: #313131;
}
.submit-base:hover {
  background: #2ab1e2;
  color: #FFF;
  cursor: pointer;
}
.submit-base:hover:after {
  border-color: #FFF;
}


/* 見積履歴から仕様のプリセット */
#specpreset-wrapper{
	margin: 0 0 10px 0;
}

#specpreset-ul{
	list-style-type: none;
	display: flex;
}
#specpreset-ul > li{
	width: 30%;
	padding: 10px 0;
	text-align: center;
	box-sizing: border-box;
	background-color:  #16bfef ;
	color: white;
	font-weight: bold;
	font-size: 1.8rem;
	border-radius: 5rem;
	letter-spacing: 0.2rem;
	margin-bottom: 1rem;
	transition: background-color 0.5s, color 0.5s;
}
#specpreset-ul > li:hover{
	cursor: pointer;
	background-color:var(--lightgray);
	transition: background-color 0.5s;
}

#specpreset-ul > li .faws{
	color: var(--fontcolor-main);
}
/* スマホ */
@media screen and (max-width: 768px) {
  #specpreset-ul > li{
  	width: 90%;
  	margin-left: auto;
  	margin-right: auto;
  	margin-top: 15px;
  }
}

#btn_estimate_spec_history{
	position: relative;
}
#estimate_spec_history_grid_table{
	position: absolute;
	left: 0;
	top: calc(100% + 10px);
	width: 800px;
	background:  var(--cell-lightgray);
	color: white;
	
	box-shadow: 0px 0px 10px #bdbdbd;
	border-radius: 1.0rem;
	
	z-index: 5000;
}

#estimate_spec_history_grid_table .row{
	display: grid;
	
	padding: 10px 10px;
	text-align: left;
}

#estimate_spec_history_grid_table .row:not(:first-child):not(:last-child) {
  border-bottom: 1px solid lightgray;
}

#estimate_spec_history_grid_table .history_row{
	grid-template-columns: 1fr 1fr 1fr;
}
#estimate_spec_history_grid_table .save_row{
	grid-template-columns: 2fr 1fr;
}

#estimate_spec_history_grid_table .no_data{
	color: black;
	text-align: center;
}

/* レスポンシブ時（幅768px以下）は縦並びに */
@media screen and (max-width: 768px){
	#estimate_spec_history_grid_table{
		width: 100%;
	}
	#estimate_spec_history_grid_table .row{
    	display: flex;
		flex-direction: column;
		padding: 0;
  }
}


#estimate_spec_history_grid_table .header{
	font-weight: bold;
	text-align: center;
	background-color: #ebd264;
	padding: 10px 10px;
	border-radius: 1.0rem 1.0rem 0 0;
}
#estimate_spec_history_grid_table .date{
	color: var(--fontcolor-main);
}

#estimate_spec_history_grid_table .spec{
	color: black;
}
@media screen and (max-width: 768px) {
	#estimate_spec_history_grid_table .history_row.header{
		display: none;
	}
	#estimate_spec_history_grid_table .header{
		background-color: var(--maincolor);
	}
	#estimate_spec_history_grid_table .date{
		background-color: var(--maincolor);
		padding: 5px 10px;
		color: white;
	}
	
	#estimate_spec_history_grid_table .spec ul{
		justify-content: center;
		padding-top: 7px;
		padding-bottom: 2px;
	}
	
	#estimate_spec_history_grid_table .first-date{
		border-radius: 1.0rem 1.0rem 0 0;
	}
	#estimate_spec_history_grid_table .bottom{
		padding-top: 5px;
		padding-bottom: 1.3rem;
	}
	
	#save_spec_action{
		display: none;
	}
}

#estimate_spec_history_grid_table .center{
	text-align: center;
}
#estimate_spec_history_grid_table ul{
	list-style-type: none;
	display: flex;
	margin: 0;
}
#estimate_spec_history_grid_table ul li{
	background: none;
	width: fit-content;
	padding: 0;
}
#estimate_spec_history_grid_table ul li:not(:last-child){
	margin-right: 5px;
}

.estimate_spec_btn_wrapper{
	position: relative;
	display: flex;
  justify-content: center; /* 横並び中央揃え */
  align-items: center;     /* 縦方向中央揃え */
  overflow: visible;
}

.btn_estimate_spec_btn_base{
	border: none; 
	box-shadow: none; 
  	outline: none; 
  	-webkit-appearance: none; 
  	-moz-appearance: none;
  	appearance: none;
	border-radius: 5px;
	color: white;
	min-width: 70px;
	font-weight: 900;
	
}
.btn_estimate_spec_select{
	margin-right: 8px;
	background-color: var(--maincolor-blue);
	}
.btn_estimate_spec_delete{
	background-color: #f05456;
	margin-left: 8px;
}
.btn_estimate_spec_save{
	background-color:  var(--maincolor-green);
}

.estimate_spec_save_modal{
	position: absolute;
	border-radius: 5px;
	box-sizing: border-box;
	padding: 10px;
	left: 0;
	top: 100%;
	background: #ffffff;
	margin-top: 8px;
	box-shadow: 0px 0px 5px #bdbdbd;
	z-index: 5500;
}
@media screen and (min-width: 769px) {
	.estimate_spec_save_modal{
		width: 400px;
	}
}
.estimate_spec_rename_container .faws-margin{
	margin-left: 8px;
	}
.estimate_spec_rename_container .blue{
	color:var(--maincolor-blue);
}
.estimate_spec_rename_container .green{
	color:var(--maincolor-green);
}
.estimate_spec_rename_submit,
.estimate_spec_save_submit{
	background-color: var(--maincolor-blue);
	font-weight: 900;
	font-size: 1.3rem;
	color: white;
	padding: 5px 8px;
	border-radius: 3px;
	margin-left: 5px;
}
.estimate_spec_rename_cancel,
.estimate_spec_save_cancel{
	background-color: #c3c3c3;
	font-weight: 900;
	font-size: 1.3rem;
	color: white;
	padding: 5px 8px;
	border-radius: 3px;
	margin-left: 5px;
}
.estimate_spec_save_name{
	margin-top: 3px;
	margin-bottom: 5px;
}

.faws_save{
	padding-right: 3px;
}
@media screen and (max-width: 769px) {
	.title-padding{
		padding: 10px 20px 5px 20px;
	}
	.save_header{
		background-color: aqua;
	}
}
/* 見積履歴から仕様のプリセットここまで */


/* 小口染 */
#btn_edge_dyeing_reset{
	margin-left: 10px;
}
#no_edge_dyeing{
	margin: 0px 20px;
}
div.css_selected_edge_dyeing_container{
	border-radius: 8px;
	width: fit-content;
	box-shadow: 0 10px 15px 0 rgba(0, 0, 0, .3);
	position: relative; 
}
div.css_selected_edge_dyeing_container img{
	height: 120px;
	width: 280px;
	object-fit: cover;
	border-radius: 5px;
}

div.css_selected_edge_dyeing_container p.css_selected_paper_name{
	position: absolute;
	left: 0;
	bottom: 0;
	border-radius: 0 0 5px 5px;
	background: dimgray;
	color: white;
	width: 100%;
	padding: 0 10px;
	box-sizing: border-box;
	font-size: 14px;
	text-align: center;
}

.selected_edge_dyeing_basecolor {
 	width: 280px;
 	height: 120px;
 	overflow: hidden;
  border-radius: 8px 8px 0 0;
  padding: 0;
  box-sizing: border-box;
}

.selected_edge_dyeing_img-on-top {
/*   position: absolute; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  margin: 0;
}
.css_selected_edge_dyeing_image_txt_container p{
	font-size: 14px;
	line-height: 14px; /* もしくは 14px など固定値 */
	background: dimgray;
	padding: 4px 0px;
	text-align: center;
	font-weight: 600;
	color: white;
	margin: 0;
	border-radius: 0px 0px 8px 8px;
}
.hidden{
	display: none;
}
