/* モーダルと背景の指定 */
#option_modal .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: 0.3s;
	box-sizing: border-box;
}

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

#option_modal{
	display: none;
}

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

/* モーダル内側の指定 */
#option_modal .modal-container {
	z-index: 9999;
	position: fixed;
	left: 0;
	top: 0;
	border: 1px solid #000;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

/* モーダルを閉じるボタンの指定 */
#option_modal .modal-close {
	position: absolute;
	right: 10px;
	top: -15px;
	font-size: 4.5rem;
	font-weight: bold;
	cursor: pointer;
}

/* モーダルのコンテンツ部分の指定 */
#option_modal .modal-content {
	background: #fff;
	text-align: left;
	line-height: 1.8;
	padding: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 600px;
	max-width: 100%;
	transform: translate(-50%, -50%);
}

/* 次に進むボタン */
.btn_area{
	display: flex;
}
.next_btn,
.prev_btn,
.remove_btn{
	width: 47%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	height: 45px;
	cursor: pointer;
	font-size: 14px;
	margin: 20px auto 0;
	position: relative;
}
.next_btn{
	background: #000;
	width: 49%;
	color: #fff;
}
.prev_btn,
.remove_btn{
	border: 1px solid #000;
	color: #000;
}
.prev_btn::after,
.remove_btn::after,
.next_btn::after{
	content: "";
	display: inline-block;
	--this-mask: var(--data-icon-btn-arrow) no-repeat center center / 100%;
	mask: var(--this-mask);
	-webkit-mask: var(--this-mask);
	background-color: var(--txt-c-base);
  aspect-ratio: 86 / 150;
	width: 6px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}
.prev_btn::after,
.remove_btn::after{
	left: 15px;
	transform: translateY(-50%) scale(-1,1);
}
.next_btn::after{
	right: 15px;
	background-color: var(--c-white);
}

/* ラッピング/熨斗を選択するボタン */
#option_modal_open_btn{
	color: #000;
	width: 100%;
	display: block;
	text-align: center;
	padding: 16px 0px 15px;
	cursor: pointer;
	font-size: 15px;
}


/* 選択結果用エリア */
#option_choice_result {
	margin-bottom: 20px;
}

#option_choice_result .option_choice_result_title {
	background-color: var(--c-white);
	font-size: 1.9rem;
	font-weight: bold;
	padding: 10px 15px;
}

#option_choice_result .option_choice_result_area {
	background-color: var(--c-white);
	display: flex;
	border-top: 1px solid #e2e2e2;
	justify-content: space-between;
	align-items: center;
	padding: 10px 15px;
	gap: 10px;
}

#option_choice_result .option_choice_result_area .title {
	font-weight: 600;
	width: 155px;
	position: relative;
	padding-left: 16px;
}
#option_choice_result .option_choice_result_area .title::after{
	content: '・';
	position: absolute;
	top: 0;
	left: 0;
}
#option_choice_result .option_choice_result_area .body {
	flex: 1;
}

#option_choice_result .option_choice_result_area .link {
	align-items: center;
	text-align: center;
	background-color: #767676;
	color: var(--c-white);
	border-radius: 10px;
	cursor: pointer;
	padding: 5px 8px;
	font-size: 80%;
	width: 66px;
}

#option_modal_step_1 .title{
	font-weight: bold;
	margin-bottom: 20px;
	font-size: 1.8rem;
}

#option_modal_step_1 .sub_title{
	font-weight: bold;
}

#option_modal_step_1 .sleeve_length_area{
	margin-bottom: 20px;
}

#option_modal_step_1 .add_price{
	color: red;
}

#option_modal_step_1 .btn_area{
	margin-bottom: 20px;
}

#option_modal_step_1 #option_modal_text_area_1{
	margin-bottom: 10px;
}

#option_modal_step_1 #option_modal_text_area_1 li{
	list-style: inside !important;
}

#option_modal_step_2{
	padding: 0 0 50px 0;
}

#option_modal_step_2 .title{
	font-weight: bold;
	font-size: 1.8rem;
}

#option_modal_step_2 .title_alert{
	font-weight: bold;
	font-size: 1.8rem;
	color: red;
}

#option_modal_step_2 .description{
	display: none;
}

#option_modal_step_2 .body{
	display: none;
}

#option_modal_step_2 .body dd div.fs-c-productOption__field{
	flex-direction: column !important;
}

#option_modal_step_2 .btn_area{
	display: none;
}

#option_modal_step_2 .sample{
	border: 1px solid #000;
	padding: 10px;
	margin: 10px 0;
}

#option_modal_step_2 .show_btn{
	border: 1px solid #000;
	color: #000;
	width: 49%;
	display: block;
	text-align: center;
	padding: 16px 0 15px;
	cursor: pointer;
	font-size: 15px;
	margin: 20px auto 0;
}

#option_modal_step_2 #option_modal_text_area_2{
	background-color: #fedfdf;
	padding: 10px;
	margin-bottom: 20px;
}

#option_modal_step_3 .title,
#option_modal_step_4 .title,
#option_modal_step_5 .title,
#option_modal_step_6 .title,
#option_modal_step_7 .title{
	font-weight: bold;
	font-size: 1.8rem;
}

#option_modal_step_3 .title_alert,
#option_modal_step_4 .title_alert,
#option_modal_step_5 .title_alert,
#option_modal_step_6 .title_alert,
#option_modal_step_7 .title_alert{
	font-weight: bold;
	font-size: 1.8rem;
	color: red;
}

#option_modal_step_3 .img,
#option_modal_step_4 .img,
#option_modal_step_5 .img,
#option_modal_step_6 .img,
#option_modal_step_7 .img{
	margin: 10px 0;
}

#option_modal_step_3 .btn_area,
#option_modal_step_4 .btn_area,
#option_modal_step_5 .btn_area,
#option_modal_step_6 .btn_area,
#option_modal_step_7 .btn_area{
	margin-bottom: 50px;
}
#option_modal_step_5 .body .fs-c-productOption__label,
#option_modal_step_6 .body .fs-c-productOption__label,
#option_modal_step_7 .body .fs-c-productOption__label{
	display: none;
}

#option_modal_step_5 .body dd div.fs-c-productOption__field,
#option_modal_step_6 .body dd div.fs-c-productOption__field,
#option_modal_step_7 .body dd div.fs-c-productOption__field{
	flex-direction: column !important;
}

#option_modal_step_1 .fs-c-productOption__name{
	text-align: center;
	padding:9px 0;
}
#option_modal_step_1 .fs-c-productOption__option{
	border:1px solid #8e8e8e;
	border-top: none;
	padding:15px;
}
#option_modal_step_1 .fs-c-productOption__field.fs-c-radioGroup{
	display: block;
}

#option_modal_step_1 .fs-c-productOption__option .fs-c-radio__label{
	margin-bottom: 13px;
}
#option_modal_step_1 .fs-c-productOption__option .fs-c-radio:last-child .fs-c-radio__label{
	margin-bottom:0;
}
@media screen and (min-width:768px) {
#option_modal .modal-content{
	padding:37px 50px 30px;
}
}
@media screen and (max-width:767px) {
#option_modal .modal-content{
	width: var(--inner-w);
	padding:37px 20px 30px;
}
}


.d-none{
	display: none;
}
.option_modal_step_area{
	max-height: 500px;
	overflow: scroll;
}

.option_modal_step_area .body{
	margin-block: 30px;
}

.main_choice_area{
	display: flex;
	flex-wrap: wrap;
}

.main_choice_area .main_choice_area_body{
	width: 68%;
	padding: 2px;
}

.main_choice_area .main_choice_area_img{
	padding: 2px;
}

.option_modal_text{
	display: none;
}

.modal-content{
	font-size: 14px;
}

#option_modal .title{
	padding-bottom: 5px;
	border-bottom: 1px solid var(--bd-c-gray);
	margin-bottom: 30px;
}

#option_modal .sub_title{
	margin-bottom: 5px;
	font-size: 16px;
}

[id*="option_modal_text_area"],
.radio_area{
	font-size: 14px;
}