body {
    font-family: "Yu Gothic", sans-serif;
}

.light_blue_color {
	color: #447FFA;
}

.pink_flamingo_color {
	color: #ec55ad;
}

#containerWrapper {
    max-width: 430px;
    background-color: #ffffff !important;
    display: flex;
    flex-direction: column;
    position: relative;
}

#contentHeader {
    border-bottom: unset;
    line-height: unset;
    background-color: #ffffff;
}

#containerWrapper .box_head_inquiry {
	text-align: center;
    padding: 0;
    margin: 40px auto;
    width: 100%;
}

#containerWrapper .box_head_inquiry h1 {
	font-size: 30px;
	font-weight: bold;
	color: black;
}

#containerWrapper .box_head_inquiry h2 {
    font-size: 17px;
    font-weight: bold;
    line-height: 24px;
}

#containerWrapper #contentMain {
    flex: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#containerWrapper #contentMain::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
  }

.sec_form dd ul li label:not(.staff_label) {
	display: flex;
	align-items: center;
	font-weight: bold;
	padding: 5px;
    height: 30px;
	border: 2px solid #808080;
    background-color: #FFFFFF;
	border-radius: 8px;
}

.sec_form input.input_check_custom {
    accent-color: #447FFA;
    cursor: pointer;
    width: 30px;
    height: 30px;
    -webkit-transform: scale(1, 1);
}

.sec_form dd ul li input[type="checkbox"] {
    margin-right: 10px;
    margin-left: 1px;
}

.sec_form dd ul li label:has(.input_check_custom:checked) {
	border: 2px solid #003A89;
	border-radius: 8px;
    background-color: #E5EBF3;
}

 .sec_form .textarea_shosai {
	height: 130px !important;
	display: none;
}
 .sec_form #show_textarea_shosai {
	color: #003B95;
    font-size: 17px;
}
 .sec_form dd input[type="text"],
 .sec_form dd input[type="email"],
 .sec_form dd input[type="tel"],
 .sec_form dd textarea {
	width: 100%;
	box-sizing: border-box;
	border: 2px solid #AFAFAF;
	border-radius: 8px;
	transition: border-color 0.2s;
	box-shadow: none;
	color: #000;
	-webkit-box-shadow: none;
    font-family: "Yu Gothic", sans-serif;
}

.sec_form dd input[type="email"],
.sec_form dd input[type="tel"],
.sec_form dd input[type="text"] {
    height: 50px;
    font-size: 16px;
}

.sec_form dd input[type="text"]:focus,
.sec_form dd input[type="tel"]:focus,
.sec_form dd textarea:focus,
 .sec_form dd input[type="email"]:focus {
    outline: none;
	border-color: #84C1FF;
 }

.sec_form dd input[type="text"]:focus,
.sec_form dd input[type="tel"]:focus,
 .sec_form dd input[type="email"]:focus {
    padding: 0 13px 0;
 }

.sec_form dd input:is(:read-only):focus {
    border-color: #AFAFAF;
    padding-right: 0;
 }

input::-webkit-input-placeholder {
  color: #808080;
}
input:-moz-placeholder {
  color: #808080;
}
input::-moz-placeholder {
  color: #808080;
}
input:-ms-input-placeholder {
  color: #808080;
}
input::placeholder {
  color: #808080;
}

textarea::-webkit-input-placeholder {
  color: #808080;
}
textarea:-moz-placeholder {
  color: #808080;
}
textarea::-moz-placeholder {
  color: #808080;
}
textarea:-ms-input-placeholder {
  color: #808080;
}
textarea::placeholder {
  color: #808080;
}

 .mod_ttl_bar {
	font-size: 20px;
}

 .sec_form > dd {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}
 .sec_form > dd > p {
	margin-top: 15px;
}
 .sec_form > dd > p.shop_name {
	font-weight: bold;
	padding: 15px 25px;
	margin: 0;
    height: 15px;
    font-size: 15px;
}

.sec_form {
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 15px;
	border-bottom: none;
	padding-bottom: 0;
}

.sec_form.input_text_form {
    margin-bottom: 15px;
}

.sec_form + input[type="text"] {
    margin-bottom: 20px;
}


 .form-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.required-tag {
    font-weight: bold;
    font-size: 12px;
    background-color: #ffffff;
    color: #EC55AD;
    padding: 2px 9px 1px 9px;
    border: 2px solid #EC55AD;
    border-radius: 5px;
    height: 17px;
}

.not-required-tag {
    font-weight: bold;
    font-size: 12px;
    background-color: #ffffff;
    color: #808080;
    padding: 2px 9px 1px 9px;
    border: 2px solid #AFAFAF;
    border-radius: 5px;
    height: 17px;
}

.label-text {
    font-weight: bold;
    font-size: 20px;
    color: #000;
}

.shopconfirm #contentHeader,
 #contentHeader {
	border-bottom: unset;
	line-height: unset;
	background-color: #ffffff;
}

.shopconfirm #contentMain,
 #contentMain {
	border-bottom: unset;
    padding-bottom: 0;
}

.shopconfirm #contentFooter,
 #contentFooter {
	background-color: #ffffff;
}

.btn_footer_container .btn_footer a {
    padding-top: 18px;
    padding-bottom: 18px;
}

 .btn_footer a.disabled {
	background-color: #D3D8E3;
	color: white;
	cursor: default;
	opacity: 1;
	cursor: not-allowed !important;
	pointer-events: none;
}

 .btn_footer a.disabled::before {
	border-color: #d6dbe3;
}

 .sec_form dd > ul li:first-child {
	padding-top: 0px;
}

 .sec_form > dt {
	margin-top: 0px;
	margin-bottom: 10px;
}

.sec_form > dt.input_text_dt {
    margin-bottom: 10px;
}

.btn_a {
    position: absolute;
    bottom: 120px;
    width: 400px;
    left: calc(50% - 200px);
}

.btn_footer a {
    width: 100%;
}

.step-container {
    display: inline-flex;
    align-items: center;  
    margin: 0 auto 10px;
    position: relative;
    bottom: 0;
    /* left: calc(50% - 85px); */
    justify-content: center;
    width: 100%;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    font-weight: normal;
    color: #000;
    flex: 0 0 auto; 
    position: relative;
    width: 62px;
}

.step-item p {
  margin-top: 10px;
  font-size: 10px;
}

.step-item.active p {
  font-weight: bold;
}

.circle {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #447FFA;
  background-color: white;
}

.step-item.active .circle {
  background-color: #447FFA;
}

.line {
	width: 37px;
	height: 2px;
	background-color: #447FFA;
	top: 7px;
	position: absolute;
}

.line-left {
	left: calc(50% - 50px);
}

.line-right {
	right: calc(50% - 50px);
}

.back-step {
    display: none;
    padding: 3px 16px;
    border: 2px solid #AFAFAF;
    border-radius: 38px;
    text-decoration: none;
    color: #808080;
    background-color: transparent;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 36px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    font-weight: 700;
    background-color: #ffffff;
}

.back-step.disabled {
    pointer-events: none;
}

.input_caution {
    background-color: #ffe1e4;
    color: #ff142a !important;
    font-weight: bold;
}

.input_invalid {
    background-color: rgb(255, 175, 175);
}

.back-step:hover {
	background-color: #f5f5f5;
}

.shopconfirm .contact-form {
	max-width: 366px;
    margin: 0 auto 30px auto;
}

.shopconfirm .form-row {
    display: flex;
    border-bottom: 1px solid rgb(211,216,227);
    position: relative;
    align-items: center;
    width: 100%;
}

.shopconfirm .form-row:first-child {
    border-top: 1px solid rgb(211,216,227);
}

.shopconfirm .form-header {
    flex: 0 0 146px;
    padding: 15px 10px;
    background-color: #ffffff;
    box-sizing: border-box;
    font-size: 14px;
}

.shopconfirm .form-title {
    font-weight: bold;
    position: relative;
    color: #000000;
}

.shopconfirm .form-content {
    flex: 1;
    padding: 15px 0 15px 15px;
    line-height: 1.6;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    color: #000000;
}

.shopconfirm .form-title::after {
    display: none;
}

.shopconfirm .form-row:first-child .form-title::after {
    display: none;
}

.shopconfirm .form-highlight {
    color: #000;
    font-weight: 500;
    position: relative;
}

.shopconfirm .form-highlight::after {
    display: none;
}

.shopconfirm .form-row:last-child::after {
    display: none;
}

.collapsible-panel {
    width: 100%;
    margin: 0 auto;
}

.collapsible-panel.open {
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.panel-header {
    width: 100%;
    background-color: #f4f4f4;
}

.panel-header h2 {
    position: relative;
    font-size: 20px;
    background-color: rgb(235,235,235);
    margin: 0;
    font-weight: bold;
    height: 45px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    color: #000000;
}

.toggle-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: #003B95;
    font-size: 17px;
    font-weight: 500;
}

.toggle-btn svg {
    margin-right: 4px;
    transition: transform 0.3s ease;
}

.collapsible-panel.open .toggle-btn svg {
    transform: rotate(180deg);
}

.panel-content {
    background-color: #fff;
    display: none;
}

.panel-iframe {
    border: 1px solid #e5e5e5;
}

.privacy-content {
    background-color: #fff;
    padding: 15px;
    height: 360px;
}

.checkbox-container {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.checkbox-input {
    display: none;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    border: 2px solid #808080;
    border-radius: 8px;
    padding: 8px;
    background-color: #FFFFFF;
    width: 100%; 
    box-sizing: border-box;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.15s ease-in-out;
    -webkit-tap-highlight-color: transparent;
    gap: 15px;
}

.checkbox-icon {
    width: 25px;
    height: 25px;
    background-size: cover;
    pointer-events: none;
    transition: background-image 0.1s ease-in-out;
    will-change: background-image;
    background-image: url('data:image/svg+xml;utf8,<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="30" height="30" rx="6" fill="%23AFAFAF"/><path d="M12.4 22.7L6 16.9L8.7 13.9L12 16.9L20.2 7L23.3 9.5L12.4 22.7Z" fill="white"/></svg>');
}

.checkbox-input:checked + .checkbox-label {
    border: 2px solid #003A89;
    background-color: #E5EBF4;
    font-weight: 700;
}

.checkbox-input:checked + .checkbox-label .checkbox-icon {
    background-image: url('data:image/svg+xml;utf8,<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="30" height="30" rx="6" fill="%23447FFA"/><path d="M12.4 22.7L6 16.9L8.7 13.9L12 16.9L20.2 7L23.3 9.5L12.4 22.7Z" fill="white"/></svg>');
}

.checkbox-label:active {
    transform: scale(1);
}

.checkbox-container .checkbox-text {
    flex: 1;
    font-size: 16px;
}

.sec_form dd > ul li {
    padding-top: 10px;
}

.sec_form > dt:first-child {
    margin-top: 0;
}


.radio-container {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.radio-input {
    display: none;
}

.radio-label {
    display: flex;
    /* align-items: center; */
    cursor: pointer;
    border: 2px solid #808080;
    border-radius: 6px;
    padding: 10px;
    background-color: #FFFFFF;
    width: 100%;
    box-sizing: border-box;
    font-family: '游ゴシック', sans-serif;
    font-weight: 500;
    font-size: 16px;
    height: 45px;
    transition: all 0.15s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}

.radio-icon {
    width: 22px;
    height: 22px;
    margin-right: 10px;
    background-size: cover;
    background-image: url('data:image/svg+xml;utf8,<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.7998 18.5C14.9419 18.5 18.2998 15.1421 18.2998 11C18.2998 6.85786 14.9419 3.5 10.7998 3.5C6.65767 3.5 3.2998 6.85786 3.2998 11C3.2998 15.1421 6.65767 18.5 10.7998 18.5Z" stroke="%23AFAFAF" stroke-width="2" stroke-miterlimit="10"/></svg>');
    pointer-events: none;
    transition: background-image 0.15s ease-in-out;
    will-change: background-image;
}

.radio-input:checked + .radio-label {
    border-color: #003B95;
    background-color: #E5EBF4;
    font-weight: 700;
}

.radio-input:checked + .radio-label .radio-icon {
    background-image: url('data:image/svg+xml;utf8,<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.7998 18.5C14.9419 18.5 18.2998 15.1421 18.2998 11C18.2998 6.85786 14.9419 3.5 10.7998 3.5C6.65767 3.5 3.2998 6.85786 3.2998 11C3.2998 15.1421 6.65767 18.5 10.7998 18.5Z" stroke="%23447FFA" stroke-width="6" stroke-miterlimit="10"/></svg>');
}

.radio-label:active {
    transform: scale(1);
}


:root {
			--page-padding: 15px;
		}

		body {
			margin: 0 auto;
			position: relative;
		}

		#containerWrapper {
			padding-left: var(--page-padding);
			padding-right: var(--page-padding);
            min-width: 320px;
            max-width: 430px;
            margin: 0 auto;
            box-sizing: border-box;
            padding-bottom: 200px;
		}

		#contentMain {
			position: relative;
			overflow-y: auto;
		}

		.form-content-scroll {
			padding-bottom: 20px;
		}

        .btn_footer_container {
            margin-bottom: 10px;
            display: flex;
            justify-content: center;
        }

		#contentFooter {
            position: fixed;
			bottom: 0;
			left: 0;
			right: 0;
			background-color: hsla(0,0%,100%,.8);
			padding: 25px var(--page-padding) 0;
			z-index: 100;
			margin: 0 auto;
			max-width: 430px;
		}

		.btn_footer {
			background-color: #ffffff;
			padding: 0;
			z-index: 10;
			max-width: 300px;
			margin: 0 auto;
            width: 100%;
		}

		.btn_footer:not(.btn_result) a {
			margin: 0 auto !important;
			display: block;
            padding: 0 !important;
		}

		input.input_text_custom, 
		textarea.textarea_shosai {
			width: 100%;
			box-sizing: border-box;
		}

		@media screen and (max-height: 600px) {
			#contentMain {
				max-height: calc(100vh - 150px);
			}
		}

.btn_footer.submit {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    max-width: unset;
}

.btn_footer.submit a {
    min-width: 300px;
    margin: 0;
    padding: 12px 0 !important;
    font-size: 16px;
}

h2.shop_name {
    font-size: 20px;
    height: 25px;
    align-items: center;
    display: flex;
    background-color: #FFDEF0;
}

.mod_btn_all_pink {
    border-color: #F25CA8;
    background-color: #F25CA8;
}

.mod_btn_all_pink:before {
    border-color: #F25CA8;
}

.confirm #contentFooter .btn_footer a {
    border: 2px solid #F25CA8;
}

.input-container {
    position: relative;
    width: 100%;
}

.input_invalid {
    background-color: rgb(255, 175, 175) !important;
}

.input_invalid:-webkit-autofill {
  box-shadow: 0 0 0 1000px rgb(255, 175, 175) inset !important;
}

.tooltip-warning {
    display: none;
    position: absolute;
    top: -28px;
    padding: 5px;
    border-radius: 5px;
    text-align: left;
    color: rgb(255, 255, 255);
    font-size: 12px;
    font-style: normal;
    line-height: normal;
    z-index: 100;
    width: auto;
    border: 1px solid rgb(0, 0, 0);
    background-color: rgb(0, 0, 0);
}

.input_invalid.show-tooltip + .tooltip-warning,
.input_invalid.show-tooltip ~ .tooltip-warning {
    display: block;
}

.input_invalid:focus + .tooltip-warning,
.input_invalid:focus ~ .tooltip-warning {
    display: block;
}

.sec_form.reservation .input_text_dt {
    margin-bottom: 10px;
}

.sec_form.reservation .inline-input-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 0;
}

.sec_form.reservation .inline-input-container .reservation-label {
    flex: 1;
}

.sec_form.reservation .inline-input-container .reservation-label label {
    text-align: center;
    font-size: 17px;
    font-weight: bold;
    margin-left: 50px;
}

.sec_form.reservation .inline-input-container input {
    flex: 1;
    word-break: break-word;
    text-overflow: ellipsis;
}

.sec_form.reservation .inline-input-container input:hover {
    cursor: pointer;
}

.sec_form.bg_pink {
    background-color: #FFF5FD;
}

.btn_footer.btn_result {
    margin: 5px auto;
}

#reservation_datetime, #staff_selection {
    height: 42px;
}

.calendarPopup, .staffPopup {
    z-index: 1000 !important;
}

.btn_footer img {
    width: 100%;
}

@media (max-width: 429px) {
    #containerWrapper .box_head_inquiry h2 {
        font-size: 15px;
        font-weight: bold;
        line-height: 24px;
    }
}

@media (max-width: 320px) {
    .sec_form.reservation .inline-input-container .reservation-label label {
        margin-left: 15px;
    }
}

#containerWrapper .box_head_inquiry_etccnf {
    text-align: center;
    padding: 0;
    margin: 30px auto 10px auto;
    width: 100%;
}

#containerWrapper .box_head_inquiry_etccnf .title {
    font-weight: bold;
    font-size: 28px;
    line-height: 32px;
}

#containerWrapper .box_body_inquiry_etccnf .label-text__sub {
    font-size: 16px;
    width: 64px;
}

#containerWrapper .box_body_inquiry_etccnf .space {
    height: 1;
    width: 46px;
}

#containerWrapper .box_body_inquiry_etccnf .input-container__sub {
    display: flex;
    flex: 1;
}

#containerWrapper .box_body_inquiry_etccnf .input-container__sub .input_sub {
    height: 42px;
    font-size: 14px;
}

#containerWrapper .box_body_inquiry_etccnf .wrap_input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 8px;
}

#containerWrapper .box_body_inquiry_etccnf .wrap_input_sub {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
}

#containerWrapper .box_body_inquiry_etccnf .mt-4 {
    padding-top: 16px;
}

#containerWrapper .box_body_inquiry_etccnf .select {
    width: 100%;
    box-sizing: border-box;
    color: rgb(0, 0, 0);
    box-shadow: none;
    font-family: "Yu Gothic", sans-serif;
    border-width: 2px;
    border-style: solid;
    border-color: rgb(175, 175, 175);
    border-radius: 8px;
    transition: border-color 0.2s;
    height: 42px;
    padding: 0px 6px;
    background: unset;
    appearance: none;
    -webkit-appearance: none;
    background-image: url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2210%22%20viewBox%3D%220%200%2014%2010%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M1.15625%200.996277L7.12425%207.99828L13.0913%200.996277%22%20stroke%3D%22%23003B95%22%20stroke-width%3D%222%22/%3E%3C/svg%3E);
    background-repeat: no-repeat;
    background-position: right 0.5em center;
    font-size: 14px;
}

#containerWrapper .box_body_inquiry_etccnf .select:focus-visible {
    border-color: #84c1ff;
    outline: #84c1ff auto 1px
}

#containerWrapper .box_body_inquiry_etccnf .custom-radio-label {
    min-height: 45px;
    height: auto;
}

#containerWrapper .box_body_inquiry_etccnf .radio-text {
    width: calc(100% - 22px);
}
