@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);
}
/* PC・タブレット：見出し（詳細は load_view_ods_form_heading_style.php のインライン style も参照） */
@media screen and (min-width: 481px) {
	h2.ods-order-form-heading {
		font-size: 2.15rem !important;
		font-weight: 800 !important;
		line-height: 1.35 !important;
		letter-spacing: 0.03em !important;
		color: var(--fontcolor-main) !important;
		margin-top: 2.25rem !important;
	}
}

#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;
	padding-left: 0.8em; /* ←アイコン幅＋余白分 */
}
.annotation li {
	position: relative;
	font-size: 12px;
	color: dimgray;
	line-height: 1.5;
}
.annotation li.highlight {
	color: crimson;
}
.annotation li::before {
	position: absolute;
	left: -0.8em; /* アイコンの位置 */
	top: 0.2em;
	font-family: "Font Awesome 5 Free";
	font-weight: 900; /* solidアイコン用 */
	content: "\f0da";
	color:#bbbbbb;
	font-size: 1.2rem;
	line-height: 1; /* アイコンの縦位置調整 */
}
.annotation a{
	color: var(--maincolor-link);
}
.annotation .fontawasome{
	color: #cfcfcf;
	font-size: 1.2rem;
	margin-right: 0.3rem;
	margin-left: 0rem;
}

.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;
	}
}


/* 選択済み用紙カード：レイアウト・バッジは load_css_paper_modal.css と共通 */



/* 箔押しセレクタ（選択済みカード：モーダルと同系のテキストエリア＋バッジ） */
div.css_selected_foil_container{
	border-radius: 8px;
	width: 250px;
	max-width: 100%;
	box-shadow: 0px 5px 10px 0 rgba(0, 0, 0, .3);
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	overflow: visible;
}
div.css_selected_foil_container .css_foil_image_txt_container{
	position: static;
	width: 100%;
	box-sizing: border-box;
	padding: 8px 6px;
	margin: 0;
	background: #3d3d3d;
	color: #fff;
	border-radius: 0 0 8px 8px;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}
div.css_selected_foil_container p.css_selected_foil_name{
	margin: 0;
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	width: 100%;
	box-sizing: border-box;
	font-size: 14px;
	text-align: left;
	line-height: 18px;
	font-weight: 600;
	word-break: break-word;
}
div.css_selected_foil_container .css_paper_meta_badges,
div.css_selected_foil_container .css_paper_notice_badges{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	margin: 6px 0 0;
	padding: 0;
}

.selected_foil_img{
	width: 100%;
	max-width: 250px;
	border-radius: 8px 8px 0 0;
	margin: 0;
	display: block;
	flex-shrink: 0;
	object-fit: cover;
}




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;
}
.jq_asobikami_front_foilstamp_elements,
.jq_asobikami_back_foilstamp_elements{
	display: none;
}
/*
.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: #d72525;
	padding: 7px 10px;
	font-weight: bold;
	margin: 1px 0;
	font-size: 1.4rem;
	margin-top: 5px;
	line-height: 1.3;
}
.p_alert_container.notice{
	background: #fcfcae;
	color: #a3a033;
	font-size: 1.2rem;
}
.p_alert_container .faws{
	font-size: 1.2rem;
}

/* ヘッダー　バナー */
/* 共通レイアウト */
.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;
}

/* ───── スマホ幅のみ SP 用（iPad 等 481px 以上は PC 用を表示） ───── */
@media (max-width: 480px){
	/* 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-go.is-calculating{
	cursor: wait;
	pointer-events: none;
	justify-content: center;
}
.submit-go .calc-dots{
	display: inline-flex;
}
.submit-go .calc-dots span{
	opacity: 0.2;
	animation: calc-dot-blink 1.2s infinite;
}
.submit-go .calc-dots span:nth-child(2){
	animation-delay: 0.2s;
}
.submit-go .calc-dots span:nth-child(3){
	animation-delay: 0.4s;
}
@keyframes calc-dot-blink{
	0%, 20%{
		opacity: 0.2;
	}
	40%{
		opacity: 1;
	}
	100%{
		opacity: 0.2;
	}
}
.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;
}

@media screen and (min-width: 768px) {
	#specpreset-ul{
		display: flex;
		gap: 10px;
	}

}

#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, #btn_previous_work_spec{
	position: relative;
}
.specModalWrapper{
	position: absolute;
	
	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{
	left: 0;
}
#previous_work_spec_wrapper{
	left: 50%;
  transform: translateX(-50%);
}

.specModalWrapper .row{
	display: grid;
	
	padding: 10px 10px;
	text-align: left;
}

.specModalWrapper .row:not(:first-child):not(:last-child) {
  border-bottom: 1px solid lightgray;
}

.specModalWrapper .history_row{
	grid-template-columns: 1fr 1fr 1fr;
}
.specModalWrapper .save_row{
	grid-template-columns: 2fr 1fr;
}

.specModalWrapper .no_data{
	color: black;
	text-align: center;
}

/* レスポンシブ時（タブレット〜）：モーダル幅をビューポートに収める */
@media screen and (max-width: 1024px){
	.specModalWrapper{
		width: 100%;
		max-width: min(100%, 800px);
		box-sizing: border-box;
	}
	.specModalWrapper .row{
    	display: flex;
		flex-direction: column;
		padding: 0;
  }
}


.specModalWrapper .header{
	font-weight: bold;
	text-align: center;
	background-color: #ebd264;
	padding: 10px 10px;
	border-radius: 1.0rem 1.0rem 0 0;
}
.specModalWrapper .date{
	color: var(--fontcolor-main);
}

.specModalWrapper .spec{
	color: black;
}
@media screen and (max-width: 768px) {
	.specModalWrapper .history_row.header{
		display: none;
	}
	.specModalWrapper .header{
		background-color: var(--maincolor);
	}
	.specModalWrapper .date{
		background-color: var(--maincolor);
		padding: 5px 10px;
		color: white;
	}
	
	.specModalWrapper .spec ul{
		justify-content: center;
		padding-top: 7px;
		padding-bottom: 2px;
	}
	
	.specModalWrapper .first-date{
		border-radius: 1.0rem 1.0rem 0 0;
	}
	.specModalWrapper .bottom{
		padding-top: 5px;
		padding-bottom: 1.3rem;
	}
	
	#save_spec_action{
		display: none;
	}
}

.specModalWrapper .center{
	text-align: center;
}
.specModalWrapper ul{
	list-style-type: none;
	display: flex;
	margin: 0;
}
.specModalWrapper ul li{
	background: none;
	width: fit-content;
	padding: 0;
}
.specModalWrapper 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, .btn_prev_work_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 5px 5px 0 rgba(0, 0, 0, .3);
	position: relative;
	padding: 0px;
}
/* 小口染加工不適合用紙選択時：モーダル開くエリアをグレーアウト */
.jq_selected_edge_dyeing_container.unselectable-edge-dyeing{
	opacity: 0.4;
	filter: grayscale(100%);
	cursor: not-allowed;
}
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;
}


/* バーの説明文 */
#maiwari_item_description {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  align-items: stretch;
}
#maiwari_item_description li {
  padding: 5px;
  text-align: center;
  font-weight: bold;
  display: flex; 
  align-items: center;
  justify-content: center;
}
#maiwari_item_description li.plan {
  width: 140px;          /* プラン用 */
  background-color: var(--maincolor);
}
#maiwari_item_description li.material {
  width: 105px;          /* 部材用 */
  background-color: var(--maincolor);
}
#maiwari_item_description li.schedule {
  width: 190px;          /* ご入稿日程用 */
  background-color: var(--maincolor);
}
#maiwari_item_description li.estimate {
  width: 355px;          /* お見積り金額用 */
  background-color: var(--maincolor);
}
#maiwari_item_description li.order_exp {
  width:210px;          /* ご発注用 */
  background-color: var(--maincolor);
  line-height: 1.5;
}
li.order_exp {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
}
#maiwari_item_description li .exp {
  font-weight: normal; 
  font-size: 11px;
  text-align: left;
  background-color: #ffffff;
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
  line-height: 1.5;
  margin-top: 5px;
}
.exp-highlight {
  background-color: var(--maincolor-);
  padding: 1px 2px; 
  border-radius: 2px;
  font-weight: bold;
}
#maiwari_item_description_sp {
  display: none;
}
@media (max-width: 1024px) {
  /* order_exp以外を非表示 */
  #maiwari_item_description{
	  display: none;
  }
  #maiwari_item_description_sp {
    display: block; /* 必要に応じてflexなど */
    background-color: var(--maincolor);
    margin: 0 10px 5px 10px;
    border-radius: 10px;
    padding: 5px;
  }
  #maiwari_item_description_sp p{
	  background-color: white;
	  border-radius: 6px;
	  padding: 5px 15px;
	  font-size: 1.3rem;
  }
}

/* iPad・タブレット：固定幅による横スクロールを防ぐ・左右余白 */
@media screen and (min-width: 481px) and (max-width: 1024px) {
	#container-wrapper {
		width: 100%;
		max-width: 1000px;
		margin-left: auto;
		margin-right: auto;
		padding-left: 1.5rem;
		padding-right: 1.5rem;
		box-sizing: border-box;
	}
	.banner-imageWrapper {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
	.banner-mainImage {
		width: 100%;
		max-width: 900px;
		height: auto;
	}
	.container {
		flex-wrap: wrap;
	}
	/* 2カラム行（content_2 + content_3）は縦に積む */
	.container .content.content_2,
	.container .content.content_3 {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	/* 3カラム相当の content_1 は折り返し可能に */
	.container .content.content_1 {
		flex: 1 1 calc(33.333% - 0.75rem);
		min-width: min(190px, 100%);
		width: auto;
		max-width: 100%;
		box-sizing: border-box;
	}
	.container .content.content_1.concatenation_1:not(:last-child) {
		flex: 1 1 200px;
		min-width: min(200px, 100%);
		width: auto;
		max-width: 100%;
	}
}




