/** form **/
input,textarea,select,.wpcf7-not-valid-tip {
	font-family: var(--base-font-family) !important;
    font-weight: 500 !important;
} 
input[type="text"],input[type="tel"],input[type="email"],input[type="number"],textarea {
    display: block;
	font-size: 1em;
    line-height: 3em;
    height: 3em;
    outline: none;
    margin: 0;
	padding: 0 1em;
    border-radius: 0;
    border: 1px solid black;
    background-color: white;
    -webkit-transition: all .3s;
    transition: all .3s;
    width: 100%;
}
input[type="text"]::placeholder,
input[type="tel"]::placeholder,
input[type="email"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder {
    color: #666;
}
input[type="email"].email_confirm {
    margin-top: .75em;
}
textarea {
    width: 100%;
	height: 15em;
    line-height: 1.6em;
	box-sizing: border-box;
	margin: 0;
	padding: 1em;
}
.wpcf7-textarea.wpcf7c-conf {
    background-color: white;
    border: 1px solid black;
}
.wpcf7-radio input,
.wpcf7-checkbox input,
.wpcf7-acceptance input {
    display: none;
}
.wpcf7-radio label,
.wpcf7-checkbox label,
.wpcf7-acceptance label {
    padding-left: 2em;
    margin: 0;
    position: relative;
    cursor: pointer;
    display: block;
}
.wpcf7-list-item {
	display: inline-block;
	margin: 0 !important;
}
.wpcf7-checkbox,.wpcf7-radio {
    display: flex;
    flex-direction: column;
    gap: 1em;
    line-height: 1em;
}
.wpcf7-radio .wpcf7-list-item-label::before,
.wpcf7-checkbox .wpcf7-list-item-label::before,
.wpcf7-acceptance .wpcf7-list-item-label::before {
	content: " ";
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	width: 1.25em;
	height: 1.25em;
    transform: translateY(-50%);
	background-color: white;
    border: 1px solid black;
	box-sizing: border-box;
}
.wpcf7-checkbox .wpcf7-list-item-label::after,
.wpcf7-acceptance .wpcf7-list-item-label::after {
	content: " ";
	display: block;
    height: 1em;
    width: .5em;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    position: absolute;
    top: 50%;
    left: .5em;
    transform: translateY(-70%) rotate(40deg);
    opacity: 0;
}
.wpcf7-radio .wpcf7-list-item-label::after {
	background-color: black;
    border: none;
    height: .75em;
    width: .75em;
    position: absolute;
    top: 50%;
    left: .25em;
    transform: translateY(-50%);
    opacity: 0;
}
.wpcf7-acceptance input:checked + .wpcf7-list-item-label::after,
.wpcf7-acceptance input.wpcf7c-conf-hidden + .wpcf7-list-item-label::after,
.wpcf7-radio input:checked + .wpcf7-list-item-label::after,
.wpcf7-radio input.wpcf7c-conf-hidden + .wpcf7-list-item-label::after,
.wpcf7-checkbox input:checked + .wpcf7-list-item-label::after,
.wpcf7-checkbox input.wpcf7c-conf-hidden + .wpcf7-list-item-label::after {
	opacity: 1;
}
.acceptance__box {
    margin: 2.5em 0;
    text-align: center;
}
.submit__btn {
    display: grid;
    gap: 1em;
    align-items: center;
    justify-content: center;
}
.submit__btn input[type="submit"],
.submit__btn input[type="button"] {
  display: block;
  width: fit-content;
  padding: 1em 2.5em;
  border-radius: 2em;
  color: var(--color-green);
  border: 1px solid var(--color-green);
  font-weight: 700;
  transition: .3s;
  width: 21rem;
}
.submit__btn input[type="submit"],
.submit__btn input[type="button"]:hover {
    background-color: var(--color-green);
    color: white;
}
.submit__btn input[type="submit"]:hover {
    background-color: white;
    color: var(--color-green);
    border: 1px solid var(--color-green);
}
.wpcf7-spinner {
    position: absolute;
    bottom: -1.5em;
    left: -1.5em;
}
.wpcf7 table {
    width: 100%;
}
.wpcf7 table th {
    color: black;
    font-weight: 700;
    text-align: left;
    padding: 1.25em 0;
    vertical-align: middle;
}
.wpcf7 table th span {
    margin-left: 1em;
    color: var(--color-green);
}
.wpcf7 table td {
    padding: 1.25em 0;
}
.wpcf7-not-valid-tip {
    font-size: 1.4rem !important;
    color: var(--color-pink1) !important;
}
.address dt input[type="text"] {
    width: 10em;
    display: inline-block;
    margin-left: 1em;
}
.address dd {
    margin-top: 1em;
}
.yoyaku {
    display: flex;
    flex-direction: column;
    gap: .5em;
}
.yoyaku li {
    display: flex;
    align-items: center;
}
.yoyaku .yoyaku__th {
    width: 11em;
    display: inline-block;
}
.yoyaku li input[type="number"]{
    width: 8em;
    padding-right: 0;
}
.scrollable__wrap {
    width: 100%;
    margin: 1.5em auto 1em auto;
}
.scrollable {
    width: 100%;
    height: 23rem;
    display: block;
    background-color: white;
    border: 1px solid #CCC; 
    overflow-y: scroll;
    padding: .5em 1.5em 1.5em 1.5em;
    margin: 1em 0 1.5em 0; 
}
.scrollable::-webkit-scrollbar {
    width: 1rem;
    height: 1rem;
}
.scrollable::-webkit-scrollbar-track {
    background: var(--color-blue01);
}
.scrollable::-webkit-scrollbar-thumb {
    background: var(--color-blue);
    border-radius: .5em;
}
.scrollable h3 {
    margin: 1em 0;
    font-size: 1.25em;
}
.scrollable dl dt {
    font-weight: 700;
    margin: 1em 0 .5em 0;
}
/** sp **/
@media only screen and (max-width:767px){
    .wpcf7 table th,.wpcf7 table td {
        display: block;
        width: 100%;
    }
    .wpcf7 table th {
        position: relative;
        padding: 0;
    }
    .wpcf7 table th span {
        position: absolute;
        right: 0;
        top: 0;
    }
    .wpcf7 table td {
        padding: 1em 0 2em 0;
    }
}
/** pc **/
@media only screen and (min-width:768px){
    input[type="email"].email_confirm {
        margin-top: 1em;
    }
    .wpcf7__tbl {
        max-width: 90rem;
        display: block;
        margin: auto;
    }
    .wpcf7-checkbox,.wpcf7-radio {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .wpcf7 table th {
        width: 24rem;
        white-space: nowrap;
        padding-right: 2em;
        padding-top: 1.5em;
        vertical-align: top;
    }
    .scrollable__wrap {
        max-width: 90rem;
        margin: 3em auto 1.5em auto;
    }
    .scrollable {
        height: 30rem;
    }
    
}

