

#contact .form {
    max-width: 1920px;
    margin: 0 auto;
    padding: 80px 0 90px;
}
#contact .form__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
#contact .form__inner .text {
    margin: 3em 0 0;
}
#contact .form__inner .text ul li {
    text-indent: -1em;
    padding: 0 0 0 1em;
}



#contact form {
	border: 1px solid #01a33e;
    background: #fff;
    padding: 50px;
    position: relative;
}
#contact form * {
    box-sizing: border-box;
}
#contact form::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: rgba(127, 190, 38, 0.35);
    width: 100%;
    height: 100%;
    z-index: -2;
}
#contact form dl {
    padding: 1.8em 0;
    /*border-bottom: 1px solid #e3e2e2;*/
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
#contact form dl:has(dd .mail),
#contact form dl:has(dd .pass),
#contact form dl:has(dd .address),
#contact form dl:has(dd .company),
#contact form dl.overseas,
#contact form dl:has(dd textarea) {
    align-items: baseline;
}
#contact form dl dt {
	width: 200px;
	font-weight: bold;
	line-height: 1;
    display: flex;
    gap: 1em;
    align-items: baseline;
    justify-content: space-between;
}
#contact form dl dt .required {
    width: 40px;
    height: 20px;
    color: #fff;
    background: #ec6182;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#contact form dl dd {
	width: calc(100% - 200px);
	padding: 0 0 0 2em;
	display: flex;
    gap: 1em 0;
    flex-direction: column;
}
#contact form input,
#contact form select,
#contact form textarea {
    width: 100%;
    height: 50px;
    padding: .5em 1em;
    background: #fff;
    border: 1px solid #b9b9b9;
    font-size: 18px;
    cursor: pointer;
}
#contact form input::placeholder,
#contact form select::placeholder,
#contact form textarea::placeholder {
	color: #666;
}
#contact form .select {
	width: 100%;
    position: relative;
}
#contact form .select::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    position: absolute;
    top: 45%;
    right: 1em;
    trans#contact form: rotate(45deg) translateY(-50%);
    pointer-events: none;
}
#contact form textarea {
    min-height: 160px;
    padding: 1em;
}
#contact form input:focus-visible,
#contact form select:focus-visible,
#contact form textarea:focus-visible {
    outline: none;
    border: 1px solid #01a33e;
}

#contact form .name {
	width: 100%;
    display: flex;
    gap: 1em;
}
#contact form .name input {
    max-width: 200px;
}

#contact form .tel {
	width: 100%;
    display: flex;
    gap: 0 .5em;
    align-items: center;
}
#contact form .tel input {
    max-width: 100px;
}

#contact form dl dd .mail {
    width: 100%;
}

#contact form .address {
    width: 100%;
}
#contact form .address dl {
    margin: 0;
    padding: 0;
    border: none;
    gap: 1em 0;
}
#contact form .address dl dt {
    width: 130px;
}
#contact form .address dl dd {
    width: calc(100% - 130px);
    padding: 0;
}
#contact form .address dl dd .zip {
    display: flex;
    gap: 0 .5em;
    align-items: center;
}
#contact form .address dl dd .zip input {
    max-width: 100px;
}
#contact form .address dl dd .zip .search {
    width: 100px;
    height: 50px;
    margin: 0 0 0 1em;
    color: #fff;
    background: #666;
    line-height: 1;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#contact form .address.overseas {
    display: flex;
    gap: 1em;
    flex-direction: column;
}

#contact form .company {
    width: 100%;
}
#contact form .company dl {
    margin: 0;
    padding: 0;
    border: none;
    gap: 1em 0;
}
#contact form .company dl dt {
    width: 70px;
}
#contact form .company dl dd {
    width: calc(100% - 70px);
    padding: 0;
}

#contact form .day {
    display: flex;
    align-items: center;
    gap: .5em;
}
#contact form .day .select {
    width: 100px;
}
#contact form .day .select.time {
    width: 150px;
}

#contact form .check,
#contact form .radio {
    display: flex;
    gap: .5em 1em;
    flex-wrap: wrap;
    align-items: center;
}
#contact form .check li input[type="checkbox"],
#contact form .radio li input[type="radio"] {
	display: none;
}
#contact form .check li label,
#contact form .radio li label {
	display: flex;
	gap: 0 .5em;
    align-items: center;
	cursor: pointer;
}
#contact form .check li label span,
#contact form .radio li label span {
    width: 25px;
    height: 25px;
    background: #fff;
    border: 1px solid #ddd;
    flex-shrink: 0;
    position: relative;
    transition: border 0.2s linear;
    -webkit-transition: border 0.2s linear;
	transition: background 0.2s linear;
	-webkit-transition: background 0.2s linear;
}
#contact form .radio li label span {
    border-radius: 100%;
}
#contact form .check li label span::before {
    content: "";
    width: 8px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    position: absolute;
	top: 50%;
    left: 30%;
    z-index: 1;
    trans#contact form: rotate(45deg) translate(-50%, -50%);
    -ms-trans#contact form: rotate(45deg) translate(-50%, -50%);
    -webkit-trans#contact form: rotate(45deg) translate(-50%, -50%);
    transition: opacity 0.2s linear;
    -webkit-transition: opacity 0.2s linear;
    opacity: 0;
}
#contact form .radio li label span::before {
	content: "";
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    trans#contact form: translate(-50%, -50%);
    -ms-trans#contact form: translate(-50%, -50%);
    -webkit-trans#contact form: translate(-50%, -50%);
    transition: opacity 0.2s linear;
    -webkit-transition: opacity 0.2s linear;
    opacity: 0;
}
#contact form .check li input:checked + label span,
#contact form .radio li input:checked + label span {
	background: #4b60ff;
    border: 1px solid #4b60ff;
}
#contact form .check li input:checked + label span::before,
#contact form .radio li input:checked + label span::before {
	opacity: 1.0;
}

#contact form .privacy {
    margin: 3em 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#contact form .privacy a {
    color: #ff00c8;
    text-decoration: underline;
}

#contact form .terms {
    margin: 3em 0;
    text-align: center;
    display: flex;
    gap: 1em;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
#contact form .terms a {
    color: #666;
    text-decoration: underline;
}

#contact form .forgot {
    margin: 1em 0 0;
    text-align: center;
}
#contact form .forgot a {
    color: #666;
    text-decoration: underline;
}

#contact form .submit {
    margin: 1em auto;
}
#contact form .submit ul {
    display: flex;
    gap: 0 2em;
    align-items: center;
    justify-content: center;
}
#contact form .submit ul li {
    width: 48%;
    max-width: 280px;
    position: relative;
    z-index: 10;
}
#contact form .submit ul li::after {
    content: "";
    width: 15px;
    height: 16px;
    background: url(../img/icon-arrow.svg) center / cover no-repeat;
    filter: invert(100%) grayscale(100%) brightness(200%);
    position: absolute;
    top: 50%;
    right: .8em;
    trans#contact form: translateY(-50%);
}
#contact form .submit ul li:has(.prev)::after {
    right: auto;
    left: .8em;
    trans#contact form: scale(-1,1) translateY(-50%);
}
#contact form .submit ul li input {
    width: 100%;
    height: 50px;
    margin: 0 auto;
    border: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
#contact form .submit ul li input.prev {
    background: #eee;
}
#contact form .submit ul li input.next,
#contact form .submit ul li input.send {
	color: #fff;
	background: #5cb531;
}
#contact form .submit ul li:has(.next, .send)::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1em;
    background: url(../img/common/icon_arrow_btn.png) no-repeat center center;
    width: 9px;
    height: 9px;
}
@media (max-width: 640px) {
	#contact .form {
		padding: 8% 0 10%;
	}
	#contact form {
        padding: 5% 3%;
    }
    #contact form dl {
	    padding: 0 0 2em;
	}
	#contact form dl dt {
	    width: 100%;
	    margin: 0 0 1em;
	    justify-content: initial;
	}
	#contact form dl dd {
	    width: 100%;
	    padding: 0;
	}
	#contact form input,
	#contact form select,
	#contact form textarea {
	    height: 40px;
	    font-size: 14px;
	}
	#contact form .address dl dt {
	    width: 100px;
	    margin: 0;
	    font-size: 14px;
	}
	#contact form .address dl dd {
	    width: calc(100% - 100px);
	}
	#contact form .address dl dd .zip .search {
	    width: 50px;
	    height: 40px;
	    font-size: 1.4rem;
	}
	#contact form .company dl dt {
	    width: 60px;
	    margin: 0;
	}
	#contact form .company dl dd {
	    width: calc(100% - 60px);
	}
	#contact form .day {
		gap: 1em .5em;
	    flex-wrap: wrap;
	}
	#contact form .day .select {
	    width: 70px;
	}
	#contact form .check,
	#contact form .radio {
	    gap: 1em;
	}
	#contact form .check li label span,
	#contact form .radio li label span {
	    width: 20px;
	    height: 20px;
	}
	#contact form .check li label span::before {
	    width: 6px;
	    height: 10px;
    }
    #contact form .radio li label span::before {
	    width: 10px;
	    height: 10px;
    }
	#contact form .submit ul {
	    gap: 1em 0;
	    flex-direction: column;
	}
	#contact form .submit ul li {
	    width: 80%;
	}
}

/* ------------------------------------------- */
