.book-type-container {
	display: flex;
	gap: 20px;
	justify-content: center;
	margin: 20px 0;
}

.book-type {
	width: 150px;
	height: 150px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 2px solid #ccc;
	border-radius: 10px;
	cursor: pointer;
	transition: 0.3s;
	font-size: 1.2rem;
	text-align: center;
	background: #fafafa;
	position: relative;
}

.book-type img {
	width: 80px;
	height: 80px;
}

.book-type.disabled {
  position: relative;
  opacity: 0.8;
  pointer-events: none;
  background: #f8f8f8;
  border: 1px dashed #aaa;
  color: #595959;
}
.book-type.disabled::after {
  content: "準備中";
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ffea70;
  color: #333;
  font-size: 1rem;
  padding: 5px 10px;
  transform: rotate(-15deg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 8px;
}
.container h3{
	text-align: center;
	background: #000694;
	color:#ffffff;
}
.container{
	width: 90%;
  max-width: 1000px;
  min-width: 320px; /* 最小幅の保険 */
  margin: 50px auto;
}
.content_max{
/* 	background: #ffa8a8; */
	padding: 0
}
/* 日付入力フィールドのスタイル */
.form-item input[type="date"] {
    width: 100%; /* 親要素の幅を100%に設定 */
    padding: 10px; /* 内側の余白を確保 */
    font-size: 16px; /* フォントサイズを適切に */
    border: 1px solid #ccc; /* ボーダー色 */
    border-radius: 5px; /* 角を丸く */
    background-color: #fff; /* 背景色を白 */
    box-sizing: border-box; /* パディングをボックスサイズに含める */
    margin-bottom: 10px; /* 下に少し余白 */
    transition: border-color 0.3s ease-in-out; /* フォーカス時にボーダー色が変化 */
    cursor: pointer;
}

/* フォーカス時のスタイル */
.form-item input[type="date"]:focus {
    border-color: #007bff; /* フォーカス時のボーダー色 */
    outline: none; /* フォーカス時の外枠線をなくす */
}
.annotation {
    position: relative; /* 擬似要素を絶対位置で配置するために親要素をrelativeに */
    background-color: #ffdfdf; /* 明るいピンク色の背景 */
    border-radius: 8px; /* カードの角を丸く */
    padding: 15px; /* 内側の余白を確保 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 軽い影を付けて浮き上がるように */
    margin-top: 10px; /* 上部に余白 */
    color: #333; /* テキストカラーは落ち着いた色 */
    line-height: 1.6; /* 行間を広めにして読みやすく */
}

.annotation::before {
    content: ''; /* 擬似要素に内容はなし */
    position: absolute; /* 吹き出しをカードの左上に配置 */
    top: -6px; /* 上に少し浮かせる */
    left: 20px; /* 左側に少し余白を取る */
    width: 0; /* 幅は0 */
    height: 0; /* 高さも0 */
    border-left: 10px solid transparent; /* 左の境界線は透明 */
    border-right: 10px solid transparent; /* 右の境界線は透明 */
    border-bottom: 10px solid #ffdfdf; /* 下の境界線に背景色と同じ色を設定して三角形に */
}


.annotation li {
    margin-bottom: 8px; /* 各リスト項目の間に余白 */
    list-style: none;
    font-size: 13px; /* テキストサイズを適切に */
}

.annotation li:last-child {
    margin-bottom: 0; /* 最後のリスト項目には余白をつけない */
}

.annotation li strong {
    color: #d9534f; /* 強調したいテキスト（警告など）は赤みを帯びた色に */
}

.annotation ul {
    list-style-type: disc; /* 項目はディスク（丸）にする */
    padding-left: 20px; /* 左のインデント */
}

input[type="radio"] {
	display: none;
}

input[type="radio"]:checked + .book-type {
	border-color: #007bff;
	background: #e0f0ff;
	font-weight: bold;
}
h3 {
    margin-top: 0;
    background: #f4c842;
    padding: 10px;
    border-radius: 5px;
}

/* 全体のスタイル */
body {
    font-family: 'Arial', sans-serif;
    background-color: #eaf2ec;
    color: #333;
    margin: 0;
    padding: 0;
}
.form-group-title  {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
}
.form-step{
	background:#fafafa;
	border-radius: 10px;
	padding: 10px 20px 20px 20px;
	margin: 20px 0;
/* 	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); */
}
.form-group-title ::before,
.form-group-title ::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 2px;
    background: #333;
    position: absolute;
    top: 50%;
}

.form-group-title ::before { left: 10px; }
.form-group-title ::after { right: 10px; }

/* フレックスボックスで整列 */
.form-group  {
	width: 100%;
/*
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
*/
}

.form-item {
	width: 100%;
/*     flex: 1; */
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    transition: border 0.3s ease, background-color 0.3s ease;
}
.form-item img{
	width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	margin-top: 0;
}
.form-asobikami-item{
	width: auto;
}
.form-spin-item{
/* 	margin-bottom: 15px; */
    background-color: #fff;
/*     padding: 10px 20px 20px 20px; */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
/*     flex: 0 1 auto; */
/*     height: auto; */
    width: 250px;
}
.form-cloth-item {
    background-color: #fff;
    padding: 10px 20px 20px 20px;
    border-radius: 8px;
/*     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
    height: 200px;
    width: 100%;
}

.form-cloth-item img {
/* 	box-shadow:none; */
    height: 100%; /* 高さが親コンテナに収まるように */
    object-fit: contain;  /* 画像の比率を保ちながら親コンテナ内に収める */
}
.form-sozai-item{
	width: 100%;
	text-align: center;
	margin-bottom: 10px;
	margin: 10px auto;
}
.form-sozai-item select{
	width: 100%;
}
.css_selected_cloth_container{
	height: 150px;
/* 	background: #ffa4a4; */
}
.css_selected_paper_container{
	width: 100%;
/* 	background: #ffa4a4; */
}
.css_selected_spin_container{
	text-align: center;
	padding-top:15px;
/* 	background: #ffa4a4; */
}

.css_selected_paper_name{
/* 	text-align: center; */
	font-size: 12px;
/* 	background: #42e3ee; */
	width: 100%;
	margin: 0;
	margin-left: 5px;
	margin-bottom: 5px;
}
.css_foilstamp_setting_list{
	margin-top: 10px;
	display: flex;
	gap:12px;
	justify-content: space-between;
	flex-wrap: wrap;
/* 	background: aqua; */
	width: 100%;
}
.css_foilstamp_setting_list li{
	width: 45% !important;
	list-style: none;
	background: #ffffff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
.css_foilstamp_setting_list li div{
	margin: 5px 0;
}
.css_foilstamp_setting_list li p{
	margin: 0;
	text-align: center;
	font-weight: bold;
    margin-top: 10px; /* 画像とテキストの間に余白 */
    font-size: 14px; /* テキストサイズ調整 */
    color: #333; /* テキストカラー */
}
.jq_foilstamp_delete{
	width: 100%;
	background: #ff3968;
	color: #fff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: 0.3s;
	margin: 0;
	text-align: center;
	padding: 10px 0;
}
/* ラベルのスタイル */
label {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    text-align: center;
}
/* セレクトボックスのスタイル */
select {
	width: 100%;
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #ddd;
	background: #f9f9f9;
	cursor: pointer;
}
.css_flex_pc{
	display: flex;
	gap:15px;
}
/* セレクトボックスにホバーとフォーカスの効果を追加 */
select:hover, select:focus {
    border-color: #0056b3;
    background-color: #e6f0ff;
    outline: none;
}

/* オプションのスタイル */
option {
    padding: 10px;
}
.form-foil-item{
	width: 100%;
}
/* フォームアイテムのラベルとセレクトボックスの整列 */
.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: fadeIn 0.2s forwards;
    bottom: -30%;
    display: none;
}

/* 吹き出しの三角 */
.tooltip-arrow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(0, 0, 0, 0.8);
}
.book-option {
    border: 2px solid #ccc;
    padding: 15px;
    width: 160px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
    background: #f8f8f8;
}
/* フェードインアニメーション */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.book-form {
	display: none;
	margin-top: 20px;
}
.pricing_table_wrapeer{
	background: #fff;
	border-radius: 12px;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
	padding: 20px;
	max-width: 100%;
	margin:20px auto;
/* 	display: none; */
}
.pricing-header {
    background: #F5C518;
    color: #333;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.jq_pricing_table_ul{
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.jq_pricing_table_ul li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.jq_pricing_table_ul .price_detail_span{
    font-weight: bold;
    color: #333;
}

.jq_pricing_table_ul .total_amount{
    font-size: 18px;
    font-weight: bold;
    color: #d9534f; /* 合計金額を目立たせる */
    padding-top: 10px;
    border-top: 2px solid #ddd;
}
button {
	width: 100%;
	background: #007bff;
	color: #fff;
	border: none;
	padding: 10px;
	border-radius: 5px;
	cursor: pointer;
	transition: 0.3s;
}

button:hover {
  background: #0056b3;
}
/*
.css_cancel_text{
        color: red;
        font-size: 14px;
        cursor: pointer;
        margin-top: 5px;
}

.css_cancel_text:hover {
    text-decoration: underline;
}
*/
.css_paper_list_wrapper,.css_foil_list_wrapper,.css_cloth_list_wrapper,.css_spin_list_wrapper,.css_headband_list_wrapper{
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 半透明の黒背景 */
    z-index: 100;
    display: none;
}
/*
.modal_container{
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    height: 80vh;
    overflow-y: auto;
    position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
*/
.css_paper_image_ul,.css_foil_image_ul,.css_cloth_image_ul,.css_spin_image_ul,.css_headband_image_ul{
	display: flex;
    flex-wrap: wrap;
    justify-content:flex-start;
    gap: 26px;
    padding: 0;
    list-style: none;
}
.css_spin_image_ul{
	gap: 50px;
}
.css_foil_image_ul{
	justify-content:space-around;
}
.css_paper_image_ul li,.css_foil_image_ul li,.css_cloth_image_ul li {
    width:23%;  /* 3列の場合、16pxの隙間を除いた幅 */
    background: white;
    border-radius: 8px;
    text-align: center;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
}
.css_spin_image_ul li{
	width:10%;  /* 3列の場合、16pxの隙間を除いた幅 */
    background: white;
    border-radius: 8px;
    text-align: center;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
}
.css_foil_image_ul li{
	width:30%;
}
.css_paper_image_description_txt_container {
/*
  position: absolute;
  top: 10px;
  left: 10px;
*/
  background: rgba(0, 0, 0, 0.7); /* 半透明の背景 */
  color: white;
  padding: 10px;
  display: none; /* 初期状態では隠す */
  border-radius: 5px;
}
.description{
	font-size: 12px;
	text-align: left;
}

.css_paper_image_ul li img,.css_cloth_image_ul li img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: right center; /* 画像を右側にずらす */
    border-radius: 10px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.css_selected_foil_container img {
    width: 100%; /* 親要素に合わせて画像の幅を調整 */
/*     height: 100%; /* 親要素に合わせて高さを調整 */ */
    object-fit: cover; /* 画像の比率を保ちながら、親要素内に収まるように */
    object-position: right center; /* 画像を右側にずらす */
    display: block; /* 画像下部の余白を取り除く */
}
/* 選択時の強調 */
.css_paper_image_ul li.selected {
    border: 2px solid #007BFF;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

/* 用紙名と厚み */
.css_paper_image_txt_container p {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
}
#jq_asobikami_front_elements,#jq_asobikami_back_elements{
	display: none;
}
.jq_monobody_elements,.jq_colorbody_elements,.jq_cover_elements,.jq_special_size_wrapper{
	display: none;
}
.error_elements {
	border: 2px solid #f4c542; /* やわらかい注意色 */
	background-color: #fffbe6;
}
.spin-group input[type="radio"] {
    display: none; /* デフォルトのラジオボタンを非表示に */
}

.spin-group input[type="radio"]:checked + .custom-radio {
    background-color: #4caf50; /* 選択時の色 */
    border-color: #4caf50; /* 選択時の境界線 */
    color: white;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #bbb;
    margin-right: 10px;
    position: relative;
    display: inline-block;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.custom-radio::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background-color 0.3s ease;
}
input[type="submit"] {
	width: 100%;
	background: #ffe100;
	color: #575757;
	border: none;
	padding: 10px;
	border-radius: 5px;
	cursor: pointer;
	transition: 0.3s;
}

input[type="submit"]:hover {
 opacity: 0.9;
}
/* ラジオボタンが選ばれた時 */
input[type="radio"]:checked + .custom-radio::after {
    background-color: white;
}
.error_message {
    background: #ffe6e6; /* 薄い赤背景 */
    color: #d9534f; /* 濃いめの赤文字 */
    border-left: 4px solid #d9534f; /* 左側に赤のライン */
    padding: 10px;
    margin: 10px 0;
    list-style: none;
    border-radius: 5px;
    font-size: 14px;
}

.error_message li {
    margin: 5px 0;
    list-style: none;
}
.foil_alert{
	width: 100%;
}
.foil_alert li{
	width: 100%;
	list-style: none;
	background: #ff4545;
	color: #ffffff;
	padding: 5px 0;
}
.name{
	padding: 0;
	margin: 0;
}
.p_alert_container{
	margin-top: 5px;
	color: #ff3f3f;
	font-weight: bold;
}
.form-cloth-foil-item{
	width: 68.3%;
}
.css_foilstamp_setting_list li{
	width: 32%;
}
.form-endpaper-item{
	width: 50%;
	margin: 0 auto;
}
#spine_width{
	font-size: 24px;
	font-weight: bold;
	text-align: right;
}
/* 画面右上に固定 */
.fixed-position {
    position: fixed;
    top: 20px;        /* 上から20px */
    right: 20px;      /* 右から20px */
    font-size: 20px;  /* フォントサイズ */
    background-color: rgba(0, 0, 0, 0.5); /* 背景色 */
    color: white;     /* 文字色 */
    padding: 10px;    /* 余白 */
    border-radius: 5px;
}
.hard-jacket-foil-items dd{
	display: flex;
/* 	align-items: center; */
	justify-content: space-between;
}
.hard-jacket-foil-items .hard-jacket-foil-item{
	list-style: none;
	width: 30%;
	padding: 10px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
.hard-jacket-foil-items div{
	margin-bottom: 10px;
}
.hard-jacket-foil-title{
	font-weight: bold;
	text-align: center;
}
select:disabled {
    background-color: #f0f0f0;
    color: #ccc;
}

.alert-message {
    color: red;
    font-weight: bold;
    margin-top: 10px;
}
button:disabled {
    background-color: #eee;
    color: #aaa;
    cursor: not-allowed;
}
.hardbook_jacket_foil_form{
	display: none;
}
.unselectable::before{
	content: "表2・3印刷不可";
	position: absolute;
	top: 5px;
	left: 5px;
	color: white;
	font-weight: bold;
	background: red;
	padding: 0 5px;
}

.jq_ul_monobody_paper_list .unselectable::before{
	content: "マット感優先印刷不可";
}
.price-block {
	margin-bottom: 20px;
	padding: 15px;
	border-radius: 8px;
	list-style: none;
}

.tsukuyomi-block {
	background-color: #f0f8ff; /* 薄い青 */
}

.niizato-block {
	background-color: #fff7e6; /* 薄いオレンジ */
}

.price_detail_span {
	float: right;
}

.total-line {
	margin: 10px 0;
	font-weight: bold;
	border-top: 1px solid #ccc;
	padding-top: 8px;
}

.large {
	font-size: 1.2em;
}
/*
.step-progress {
  display: flex;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 8px;
}
*/
.progress-bar-container{
	 display: flex;
  justify-content: space-between;
  margin: 20px 0;
  padding: 40px 0px 10px 0px;
/*   counter-reset: step; */
/*   background: aqua; */
}
.step {
  position: relative;
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 15px 10px;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
  transition: transform 0.2s ease, opacity 0.3s ease;
  opacity: 0.2;
  transform: scale(0.97);
}
.step.inactive {
  opacity: 0.7;
  transform: scale(1.05); /* 5%拡大 */
}
.step-wrapper {
  position: relative;
  flex: 1;
}
.bubble {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #fffbe6;
/*   border: 1px solid #f4c542; */
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 8px;
  white-space: nowrap;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: none;
}
/* 吹き出しの矢印 */
.bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #fff6da transparent transparent transparent;
}
/* 色分け */
.progress-bar-container .step-wrapper:nth-child(1) .step { background: #1abc9c; }
.progress-bar-container .step-wrapper:nth-child(2) .step { background: #3498db; }
.progress-bar-container .step-wrapper:nth-child(3) .step { background: #9b59b6; }
.progress-bar-container .step-wrapper:nth-child(4) .step { background: #f1c40f; }
.progress-bar-container .step-wrapper:nth-child(5) .step { background: #e67e22; }
.progress-bar-container .step-wrapper:nth-child(6) .step { background: #e74c3c; }
.progress-bar-container .step-wrapper:nth-child(7) .step { background: #34495e; }

/*
.step.active {
  transform: scale(1.05);
  opacity: 1;
  z-index: 1;
}
.step.active {
  border-color: #3498db;
  font-weight: bold;
}
*/
.step-wrapper:has(.step.inactive) .bubble {
	animation: shake 0.6s ease-in-out 1;
}
@keyframes shake {
  0%, 100% { transform: translateX(-50%) translateX(0); }
  25% { transform: translateX(-50%) translateX(-5px); }
  75% { transform: translateX(-50%) translateX(5px); }
}
.form-step {
  display: none;
}
.form-step.active {
  display: block;
}
.form-navigation{
	display: flex;
	justify-content: space-between;
	padding: 0 10px;
}
.form-navigation button{
	width: 48px;
  height: 48px;
  font-size: 22px;
  border-radius: 50%;
  border: none;
  background-color: #f0f0f0;
  color: #333;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: background-color 0.2s;
}
.form-navigation button:hover{
	background-color: #e0e0e0;	
}
.book-form-container {
	display: flex;
	align-items: flex-start; /* 高さのズレを防ぐ */
	gap: 20px;
}
.form-left {
	width: 35%;
	flex: 1;
}
.form-right {
	width: 45%;
	position: sticky;
	top: 1rem; /* スクロール追従 */
}
.jq_spine_width_table_ul {
  display: flex;
  justify-content: flex-end;
  gap:10px;
  align-items: center;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px 16px;
  width: 100%;
  font-family: sans-serif;
  margin-bottom: 1em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.jq_spine_width_table_ul .label {
  font-size: 14px;
  color: #555;
  margin: 0;
}

.jq_spine_width_table_ul .spine_width {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  margin: 0;
}
.form-guidance {
  background-color: #fefbe8;
  border: 1px solid #f4c542;
  padding: 1em;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #444;
}

.form-guidance .required-info,
.form-guidance .custom-info {
  margin-bottom: 0.8em;
}

.form-guidance .icon {
  margin-right: 0.4em;
}

.form-guidance ul {
  margin: 0.5em 0 0 1.4em;
  padding: 0;
  list-style: none;
}

/*
@media screen and (min-width:481px){
	.css_paper_list_wrapper .modal_container{
		width: fit-content;
		height: 80vh;
	}
	.css_paper_image_ul{
		list-style-type: none;
		padding: 20px 30px;
	}
	.css_paper_image_ul li{
		margin-bottom: 20px;
		margin-top: 10px;
	}
	.css_paper_image_ul{
		list-style-type: none;
		padding: 20px;
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		gap: 10px;
	}
}
*/
.spec-modal-overlay {
  	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.spec-modal {
	position: relative;
  background: white;
  width: 90%;
  max-width: 600px;
  max-height: 80vh; /* 高さを固定 */
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.spec-modal-header {
	border-radius: 8px 8px 0 0;
  background: #fafafa;
/*   padding: 12px 16px; */
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 10;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* 見出し */
.spec-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}

/* 本文リスト */
/* 閉じるボタン */
.jq-spec-modal-close-btn {
  background: none;
  border: none;
  color: black;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  width: 50px;
  position: absolute;
  top: 10px;
  right:0;
  z-index: 20;
  font-weight: bold;
}
.jq-spec-modal-close-btn:hover{
	opacity: 0.6;
	background: none;
}

/* リスト部分をスクロールさせる */
.spec-list {
  list-style: none;
  margin: 0;
  padding: 16px;
  overflow-y: auto;
  flex: 1;
}

/* リストの項目レイアウト */
.spec-list li {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 6px 0;
  border-bottom: 1px dotted #ddd;
}

.spec-list .label {
  min-width: 7em;
  font-weight: bold;
  color: #333;
  text-align: center;
  background: #e9e9e9;
  padding: 3px 0;
}

.spec-list .value {
  flex: 1;
  color: #444;
}

.card-container-header {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  padding: 20px 0px;
  margin: 15px auto;
  background: linear-gradient(135deg, #2b5876, #4e4376);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
.mobile-total-bar {
  display: none;
  flex-direction: column;
  gap: 8px;
  background-color: #fff;
  padding: 12px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  border-top: 1px solid #ddd;
  font-size: 14px;
}

.summary-text-area {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-total-price,
.mobile-delivery-date {
  font-weight: bold;
  color: #333;
}

.mobile-total-price {
  font-size: 16px;
}

.jq_show_quote_modal_btn,
.jq_order_form_location_btn {
  width: 100%;
  padding: 10px 0;
  font-size: 15px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.jq_show_quote_modal_btn:hover,
.jq_order_form_location_btn:hover {
  background-color: #0056b3;
}
.modal-header{
	display: none;
}
.jq_total_price_table_ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  color: #333;
  border-top: 1px solid #ddd;
}

.jq_total_price_table_ul li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.jq_total_price_table_ul .label {
  font-weight: 500;
  color: #555;
  font-size: 18px;
}

.jq_total_price_table_ul .value {
  font-weight: bold;
  color: #000;
}

.jq_total_price_table_ul .large {
  font-size: 18px;
}
.jq_total_price_table_ul .label i {
  margin-right: 6px; /* ← アイコンと文字の間に余白を作る */
  color: #888;       /* （任意）アイコンの色も調整可能 */
}
.total_amount span{
	color: #dd4c4c !important;
}
.scroll-hint {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
  display: none;
}
/*
.newEstimatedDate .value{
	color: #020a71;
}
*/
.mobile-quote-message{
	width: 80%;
	color: #ba0000;
}
.css_submit_btn_container{
	max-width: 600px;
    margin: 2em auto;
    display: flex;
    justify-content: space-between;
    font-family: sans-serif;
}
.css_submit_btn_container div{
	width: 40%;
}
.css_submit_btn_container button{
	width: 100%;
}
.submit-base {
	padding: 14px;
	font-size: 16px;
	border-radius: 8px;
	border: none;
	width: 100%;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}
.submit-back {
	background-color: #eaeaea;
	color: #333;
}
.submit-back:hover {
	background-color: #cfcfcf;
	color: #333;
}
.submit-go {
	background-color: #2b7cff;
	color: #fff;
}
.annotation-detail {
  display: none;
  margin-top: 5px;
  font-size: 12px;
  color: #555;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px;
}
.annotation.special-color li {
  cursor: pointer;
  margin-bottom: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  background-color: #f5f8ff;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  font-weight: bold;
}

.annotation.special-color li:hover {
  background-color: #e0ecff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.reset-btn-container{
	display: none;
}
.reset-btn-container .reset-btn{
	background: #ff6767;
	padding: 2px 0;
	font-size: 14px;
}
.reset-btn-container .reset-btn:hover{
	background: #eb5454;
	cursor: pointer;
}
.jq_asobikami_selected_container div{
	margin: 15px 0;
}
.selected_edge_dyeing_img {
  height: 150px !important;
}
#selected_edge_dyeing{
	padding: 0;
	margin: 0;
}
.css_selected_paper_name.edge_dyeing{
	margin: 0;
	text-align: center;
	font-weight: bold;
	margin: 5px 0;
	background: dimgray;
	color: #ffffff;
	border-radius: 10px;
}
#btn_edge_dyeing_reset{
	padding: 2px;
	background: #ff3968;
}
.edge-dyeing-button {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-align: center;
  user-select: none;
}

.edge-dyeing-button:hover {
  background-color: #eaeaea;
  border-color: #999;
}

.edge-dyeing-button:active {
  background-color: #ddd;
  transform: scale(0.98);
}

@media screen and (max-width:480px){
	.book-form-container {
		display: block;
	}
	.form-left {
		width: 90%;
		margin: 0 auto;
	}
	.form-right {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: #fff;
		z-index: 2000;
		overflow-y: auto;
		padding: 20px;
		box-shadow: 0 0 10px rgba(0,0,0,0.3);
	}
	.form-right.active {
		display: block;
	}
	.modal-header{
		position: fixed;
		top: 0;
		right: 0;
		z-index: 1001;
		background-color: #eee;
		border: none;
/* 		border-radius: 20px; */
		width: 100%;
		height: 60px;
		text-align: center;
		line-height: 60px;
		cursor: pointer;
/* 		padding: 10px 0; */
	}
	.form-right-close {
	  background: none;
	  border: none;
	  font-size: 24px;
		font-weight: bold;
		color: #333;
	  cursor: pointer;
	  transition: color 0.2s ease;
	}
	.form-right-close:hover{
		background: none;
	}
	.form-item{
		width: 100%;
		margin: 10px auto;
	}
	.,.css_foil_image_ul,.css_cloth_image_ul{
		display: block;
	}
	.css_paper_image_ul li,.css_foil_image_ul li,.css_cloth_image_ul li {
		width: 90%;
		margin: 10px auto;
	}
	.css_foilstamp_setting_list{
		display: block;
	}
	.css_foilstamp_setting_list li{
		width: 95%;
		margin: 10px auto;
	}
	.css_flex_pc{
		display: block;
	}
	.css_flex_pc div{
		margin: 10px 0;
	}
	.form-sozai-item select{
		width: 100%;
	}
	.container h3{
		width: 90%;
		margin: 0 auto;
	}
	input[type="submit"] {
		width: 90%;
		padding: 20px 0;
	}
	.quote_btn{
		text-align: center;
	}
	.css_spin_image_ul{
		justify-content: space-around;
	}
	.css_spin_image_ul li{
		width: 30%;
		margin: 10px 0;
	}
	.card-container-header {
		width: 100%;
	}
	.mobile-total-bar {
		display: flex;
	}
	.modal-header{
		display: block;
	}
	.container{
		margin-bottom: 200px;
		border-radius: 10px;
		padding: 15px;
/* 		background: aqua; */
	}
	.plus-button {
	  width: 70px;
	  height: 40px;
	  padding: 5px 10px;
	  border: none;
	  background-color: #53b467;
	  color: #fff;
	  font-size: 20px;
	  line-height: 1;
	  text-align: center;
	  cursor: pointer;
	  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	  transition: background-color 0.2s ease;
	}
	.plus-button:hover{
		background-color: #53b467;
	}
	.summary-container{
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.pricing_table_wrapeer{
		margin-top: 50px;
	}
	.form-navigation{
		margin-top: 20px;
	}
	
	.progress-bar-container {
		display: flex;
		overflow-x: auto; /* 横スクロールを許可 */
		-webkit-overflow-scrolling: touch; /* iOSでスムーズに */
		white-space: nowrap;
		padding: 45px 12px 10px 12px;
		margin-bottom: 0px;
		/*   gap: 12px; */
		/*   border-bottom: 1px solid #ddd; */
	}
	/* 各ステップ */
	.step-wrapper {
		display: inline-block;
		flex: 0 0 auto; /* 幅が縮まないように */
		text-align: center;
		min-width: 80px;
	}
	.scroll-hint {
		display: block;
	}
	.css_foilstamp_setting_list li{
		width: 100% !important;
	}
	.css_submit_btn_container{
		display: block;
	}
	.css_submit_btn_container div{
		width: 100%;
		margin-bottom: 20px;
	}
}
