/* CSS Document */

.error { color: red; }

/* entry_form
------------------------------------------------------------*/
#entry_form {
	background-color: #e5e5e5;
	padding-top: 50px;
	padding-bottom: 50px;
}
.entry_form_wrap {
	width: 940px;
	margin-left: auto;
	margin-right: auto;
}
#entry_form h2 {
	display: block;
	color: #fff;
	padding: 0.5em 1em;
	font-size: 28px;
	text-align: center;
	text-decoration: none;
	
	background: radial-gradient(circle, #eb727e 0, #c8616b 70%)
}

.step_list {
	margin: 40px 0;
	padding: 0;
	display: flex;
	justify-content: center;
}
.step_list li {
	list-style: none;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
}
.step_list li img {
	width: 148px;
}

.step_list li:not(:last-child)::after {
	content: '';
	display: block;
	background-image: url("../img/step_arrow.svg");
	background-position: center top 26px;
	background-repeat: no-repeat;
	background-size: 13px auto;
	width: 14px;
	height: 100%;
	margin: 0 15px;
}

.step_list + p {
    color: #eb727e;
    font-size: 14px;
    padding-left: 1em;
}
#entry_form form {
	background-color: #fff;
	padding: 30px 0;
}

.input_item_wrap {
	width: 828px;
	margin: 0 auto;
	display: flex;
	border-bottom: 1px dashed #000;
	padding: 0.5em;
	align-items: flex-start;
	font-size: 18px;
}
.input_item_wrap .input_item_label {
	padding: 1em 0.2em;
	width: 240px;
}
.confirm_wrap .input_item_wrap .input_item_input {
	padding: 1em 0.2em;
	width: 240px;
}
.input_item_wrap .input_item_label .empty {
	color: #eb727e;
}
.input_item_wrap .input_item_label p.kome {
	color: #eb727e;
	margin: 0.2em 0;
	padding: 0;
	font-size: 13px;
}
.input_item_wrap .input_item_input {
	padding: 0;
	flex: 1;
}
.input_item_wrap .input_item_input .item_wrap {
	padding: 0.5em;
	line-height: 2;
}
.input_item_wrap .input_item_input p {
	margin: 0.2em 0;
	padding: 0;
	font-size: 13px;
}
.input_item_wrap .input_item_input p.kome {
	
}
.input_item_wrap .input_item_input input[type="text"] {
	border: 1px solid #eb727e;
	height: 42px;
}
.input_item_wrap .input_item_input input[type="text"].size1 {
	width: 30%;
}
.input_item_wrap .input_item_input input[type="text"].date {
	width: 45%;
}
.input_item_wrap .input_item_input input[type="text"].size2 {
	width: 60%;
}
.input_item_wrap .input_item_input input[type="text"].size3 {
	width: 95%;
}
.input_item_wrap .input_item_input textarea {
	border: 1px solid #9d9e9e;
	width: 95%;
	height: 8em;
	font-size: 18px;
	line-height: 1.4;
}

.select_wrapper select {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	padding: 0 15px;
	color: #333;
	border: 1px solid #eb727e;
	background-color: #fff;
	cursor: pointer;
}
.select_wrapper select:focus{
  outline: none;
}
.select_wrapper {
	position: relative;
	display: inline-block;
	width: 45%;
}
.select_wrapper::after {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	content: '';
	width: 15px;
	height: 10px;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	background-color: #eb727e;
	pointer-events: none;
}


.btn_wrap {
	display: flex;
	justify-content: center;
	padding: 30px 0;
}
.btn_wrap a,
.btn_wrap button {
	color: #fff;
	border-radius: 5px;
	padding: 0.5em;
	min-width: 247px;
	margin-left: 0.5em;
	margin-right: 0.5em;
	border: none;
	display: inline-flex; 
	align-items: center;
	justify-content: center;
	text-decoration: none;
	background-color: #eb727e;
}
.btn_wrap a.send::after,
.btn_wrap button.send::after {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 0 5px 8px;
	border-color: transparent transparent transparent #fff; 
	margin-left: 0.5em;
}
.btn_wrap a.back::before,
.btn_wrap button.back::before {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 8px 5px 0;
	border-color: transparent #fff transparent transparent; 
	margin-right: 0.5em;
}
.btn_wrap a.back,
.btn_wrap button.back {
	background-color: #dadada;
}
.btn_wrap a.send,
.btn_wrap button.send {
	background-color: #eb727e;	
}

.input_item_wrap .input_item_input input[type="checkbox"],
.input_item_wrap .input_item_input input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: absolute;
    opacity: 0;
}

.input_item_wrap input[type="radio"] {
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;

    position: absolute;
    opacity: 0;
}

.input_item_wrap input[type="radio"] + label {
    display: inline-flex;
    align-items: flex-start;
    column-gap: 4px;
    cursor: pointer;
    line-height: 1.5;
    position: relative;
}

.input_item_wrap input[type="radio"] + label::before {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #aaaaaa;
    border-radius: 9999px;
    background-color: #fff;
    box-sizing: border-box;
	position: relative;
	bottom: -4px;
}
.input_item_wrap input[type="radio"]:checked + label::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 10px;
    transform: translate( -50%, 0);
    width: 12px;
    height: 12px;
    border-radius: 9999px;
    background-color: #eb727e;
}

.input_item_wrap input[type="radio"]:focus-visible + label::before {
    outline: 2px solid orange; 
    outline-offset: 2px;
}

.input_item_wrap input[type="checkbox"] {
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;

    position: absolute;
    opacity: 0;
}

.input_item_wrap input[type="checkbox"] + label {
    display: inline-flex;
    align-items: center;
    column-gap: 8px;
    width: fit-content;
    line-height: 1;
    cursor: pointer;
    position: relative;
}

.input_item_wrap input[type="checkbox"] + label::before {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #aaaaaa;
    border-radius: 2px;
    background-color: #fff;
    box-sizing: border-box;
    position: relative; 
}

.input_item_wrap input[type="checkbox"]:checked + label::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 4px;
    
    width: 14px;
    height: 7px;
    border-bottom: 3px solid #eb727e;
    border-left: 3px solid #eb727e;
    
    transform: rotate(-45deg); 
}

.input_item_wrap input[type="checkbox"]:focus-visible + label::before {
    outline: 2px solid orange; 
    outline-offset: 2px;
}

.thanks_wrap p {
	text-align: center;
}

@media only screen and (max-width: 1160px) {
	#entry_form h2 {
		font-size: calc(100vw * (28 / 1160));
	}
	.entry_form_wrap {
		width: calc(100vw * (940 / 1160));
	}
	.input_item_wrap {
		width: calc(100vw * (828 / 1160));
		font-size: calc(100vw * (18 / 1160));
	}
	.step_list li img {
		width: calc(100vw * (148 / 1160));
	}
	.step_list li:not(:last-child)::after {
		background-position: center top calc(100vw * (26 / 1160));
		background-size: calc(100vw * (13 / 1160)) auto;
		width: calc(100vw * (14 / 1160));
		margin: 0 calc(100vw * (15 / 1160));
	}

	.input_item_wrap .input_item_label {
		width: calc(100vw * (240 / 1160));
	}
	.input_item_wrap .input_item_input p {
		font-size: calc(100vw * (13 / 1160));
	}
	.input_item_wrap .input_item_input input[type="text"] {
		height: calc(100vw * (42 / 1160));
	}


	.input_item_wrap input[type="radio"] + label::before {
		width: calc(100vw * (20 / 1160));
		height: calc(100vw * (20 / 1160));
	}

	.input_item_wrap input[type="radio"]:checked + label::after {
		top: calc(100vw * (9/ 1160));
		left: calc(100vw * (10 / 1160));
		width: calc(100vw * (12 / 1160));
		height: calc(100vw * (12 / 1160));
	}

	
	.select_wrapper select {
		padding: 0 calc(100vw * (15 / 1160));
	}
	.select_wrapper {
		width: 45%;
	}
	.select_wrapper::after {
		right: calc(100vw * (10 / 1160));
		width: calc(100vw * (15 / 1160));
		height: calc(100vw * (10 / 1160));
	}
	
}
@media only screen and (max-width: 767px) {
	#entry_form h2 {
		font-size: calc(100vw * (20 / 390));
		width: 100%;
	}
	.entry_form_wrap {
		width: 100%;
	}
	#entry_form form,
	.entry_form_wrap  form {
		width: calc(100vw * (320 / 390));
		margin-left: auto;
		margin-right: auto;
		padding: 10px 0;
	}
	.step_list {
		width: calc(100vw * (275 / 390));
		display: flex;
		flex-wrap: wrap;
		margin: calc(100vw * (20 / 390)) auto;
	}
	.step_list li {
		margin-bottom: calc(100vw * (15 / 390));
	}
	.step_list li.step2::after {
		display: none;
	}
	.step_list li img {
		width: calc(100vw * (119 / 390));
	}
	.step_list li:not(:last-child)::after {
		background-position: center top calc(100vw * (20 / 390));
		background-size: calc(100vw * (10 / 390)) auto;
		width: calc(100vw * (10 / 390));
		margin: 0 calc(100vw * (8 / 390));
	}

	.input_item_wrap {
		width: calc(100vw * (300 / 390));
		font-size: calc(100vw * (14 / 390));
		flex-direction: column;
	}
	.input_item_wrap .input_item_label {
		width: 100%;
		padding-bottom: 0;
	}
	.input_item_wrap .input_item_input {
		width: 100%;
	}
	
	.input_item_wrap .input_item_input input[type="text"] {
		height: calc(100vw * (30 / 390));
	}
	.input_item_wrap .input_item_input p {
		font-size: calc(100vw * (13 / 390));
	}
	
	.btn_wrap button {
		font-size: calc(100vw * (13 / 390));
		width: calc(100vw * (280 / 390));
	}
	
	.input_item_wrap input[type="radio"] + label::before {
		width: calc(100vw * (16 / 390));
		height: calc(100vw * (16 / 390));
	}

	.input_item_wrap input[type="radio"]:checked + label::after {
		top: calc(100vw * (6 / 390));
		left: calc(100vw * (8 / 390));
		width: calc(100vw * (10 / 390));
		height: calc(100vw * (10 / 390));
	}
	
	.select_wrapper select {
		padding: 0 calc(100vw * (10 / 390));
	}
	.select_wrapper {
		width: 70%;
	}
	.select_wrapper::after {
		right: calc(100vw * (10 / 390));
		width: calc(100vw * (15 / 390));
		height: calc(100vw * (10 / 390));
	}
	.btn_wrap {
		flex-wrap: wrap;
	}
	.btn_wrap a, .btn_wrap button {
		width: calc(100vw * (300 / 390));
		margin-top: 0.5em;
		margin-bottom: 0.5em;
	}
}

.input_accordion {
	width: 828px;
	margin: 0 auto;
	font-size: 18px;
}

.detail_divider {
	display: none;
	border:none;
	border-bottom: 1px dashed #ccc;
}
#detail_fields {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out; 
}
#detail_fields.is-open {
    max-height: 2000px; 
}
.detail_header {
    cursor: pointer;
	font-size: 18px;
	font-weight: normal;
}
.detail_header span {
	display: block;
}
.detail_header > span:not(.note)::before {
	transition: transform 0.3s ease;
	display: inline-block;

	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 0 5px 8px;
	border-color: transparent transparent transparent #000;
	margin-right: 0.2em;
}
.detail_header.detail-open > span:not(.note)::before {
    transform: rotate(90deg);
}
.detail_header span.note {
	font-size: 14px;
	color: #eb727e;
}
.field_wedding_plan_scheduled {
	padding-left: 1em;
}
.field_wedding_plan_scheduled label::before {
	display: inline-block;

	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 0 5px 8px;
	border-color: transparent transparent transparent #000;
	margin-right: 0.2em;
}

@media only screen and (max-width: 767px) {
	.input_accordion {
		width: calc(100vw * (300 / 390));
		font-size: calc(100vw * (18 / 390));
	}

}