/* お問い合わせフォーム（/contact/）の見た目。デジタル庁デザインシステムの入力欄の決まり（文字16px・押せる大きさ48px以上・枠の濃さ・誤りの文）をもとに、サイトの色に合わせた */
#form_normal .tbl-contact td{vertical-align:middle}
#form_normal .tbl-contact tr td:first-child{font-weight:700;font-size:16px;line-height:1.5}
#form_normal .tbl-contact label{cursor:pointer}
#form_normal .nk-req,#form_normal .nk-opt{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:4px;font-size:13px;line-height:1.4;font-weight:700;vertical-align:2px;white-space:nowrap}
#form_normal .nk-req{background:#b5482a;color:#fff}
#form_normal .nk-opt{border:1px solid #767676;color:#595959;background:#fff;font-weight:400}
#form_normal .forms input[type=text],#form_normal .forms input[type=tel],#form_normal .forms input[type=email],#form_normal .forms select,#form_normal .forms textarea{box-sizing:border-box;width:100%;min-height:48px;padding:10px 12px;font-size:16px;line-height:1.5;color:#333;background:#fff;border:1px solid #767676;border-radius:6px;-webkit-appearance:none;appearance:none}
#form_normal .forms select{padding-right:40px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23333' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center}
#form_normal .forms textarea{min-height:180px;resize:vertical}
#form_normal .forms ::placeholder{color:#767676;opacity:1}
#form_normal .forms input:focus,#form_normal .forms select:focus,#form_normal .forms textarea:focus{outline:3px solid #8c6a2f;outline-offset:1px;border-color:#8c6a2f}
#form_normal .forms .wpcf7-not-valid{border-color:#c00;border-width:2px}
#form_normal .wpcf7-not-valid-tip{display:block;margin-top:6px;color:#c00;font-size:15px;font-weight:700;line-height:1.5}
#form_normal .nk-form-send{max-width:560px;margin:0 auto;text-align:center}
#form_normal .nk-consent{margin:0 0 6px;font-size:16px;line-height:1.6}
#form_normal .nk-consent .wpcf7-list-item{margin:0}
#form_normal .nk-consent label{display:inline-flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}
#form_normal .nk-consent input[type=checkbox]{display:inline-block;-webkit-appearance:checkbox;appearance:auto;width:22px;height:22px;margin:0;accent-color:#8c6a2f;flex:0 0 auto;cursor:pointer}
#form_normal .nk-consent a{color:#7a5a24;text-decoration:underline}
#form_normal .nk-consent-note{margin:0 0 20px;font-size:14px;line-height:1.6;color:#595959;word-break:auto-phrase;text-wrap:balance}
#form_normal .nk-turnstile{display:flex;justify-content:center;min-height:65px;margin:0 0 16px}
#form_normal .nk-submit{position:relative;margin:0}
#form_normal .nk-submit .wpcf7-submit{display:block;box-sizing:border-box;width:100%;max-width:320px;height:56px;margin:0 auto;padding:0 20px;font-size:18px;font-weight:700;letter-spacing:.1em;line-height:56px;color:#fff;background:#8c6a2f;border:none;border-radius:6px;cursor:pointer}
#form_normal .nk-submit .wpcf7-submit:hover{background:#6f5322}
#form_normal .nk-submit .wpcf7-submit:focus-visible{outline:3px solid #333;outline-offset:3px}
#form_normal .nk-submit .wpcf7-submit:disabled{background:#b3a283;cursor:not-allowed}
#form_normal .nk-submit .wpcf7-spinner{position:absolute;left:50%;bottom:-36px;margin:0 0 0 -12px}
#form_normal .wpcf7-response-output{margin:28px auto 0!important;max-width:640px;padding:14px 16px!important;border-radius:6px;font-size:16px;line-height:1.6;text-align:left}
#form_normal .wpcf7 form.sent .wpcf7-response-output{border-color:#197a4b!important;background:#eef7f1;color:#1d4d33}
#form_normal .wpcf7 form.invalid .wpcf7-response-output,#form_normal .wpcf7 form.failed .wpcf7-response-output,#form_normal .wpcf7 form.spam .wpcf7-response-output{border-color:#c00!important;background:#fff4f4;color:#8a1010}
@media only screen and (min-width:768px){
	#form_normal .tbl-contact tr td:first-child{width:250px}
}
@media only screen and (max-width:767px){
	#form_normal .tbl-contact tr td:first-child{padding-top:16px}
}
/* プライバシーポリシーをページの上に重ねる窓で開く（nk-contact.js）。中の本文の見た目は nk-policy.css */
html.nk-dlg-open{overflow:hidden}
.nk-pol-dlg{box-sizing:border-box;width:min(760px,calc(100vw - 32px));max-width:none;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);margin:auto;padding:0;border:none;border-radius:10px;background:#fff;color:#372820;box-shadow:0 10px 40px rgba(0,0,0,.3)}
.nk-pol-dlg[open]{display:flex;flex-direction:column}
.nk-pol-dlg::backdrop{background:rgba(30,20,10,.6)}
.nk-pol-dlg-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;padding:8px 8px 8px 24px;border-bottom:1px solid #e2d9cc}
.nk-pol-dlg-title{margin:0;font-size:18px;font-weight:700;line-height:1.5;letter-spacing:.05em}
.nk-pol-dlg-x{flex:0 0 auto;width:48px;height:48px;padding:0;border:none;border-radius:6px;background:transparent;color:#372820;font-size:28px;line-height:48px;cursor:pointer}
.nk-pol-dlg-x:hover{background:#f3ede4}
.nk-pol-dlg-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 24px;-webkit-overflow-scrolling:touch}
.nk-pol-dlg-body .nk-policy{max-width:none;padding:8px 0 24px}
.nk-pol-dlg-msg{margin:24px 0;font-size:16px;line-height:1.7}
.nk-pol-dlg-msg a{color:#7a5a24;text-decoration:underline}
.nk-pol-dlg-foot{flex:0 0 auto;padding:12px 16px;border-top:1px solid #e2d9cc;text-align:center}
.nk-pol-dlg-close{min-width:200px;height:48px;padding:0 24px;border:none;border-radius:6px;background:#8c6a2f;color:#fff;font-size:16px;font-weight:700;letter-spacing:.1em;cursor:pointer}
.nk-pol-dlg-close:hover{background:#6f5322}
.nk-pol-dlg-x:focus-visible,.nk-pol-dlg-close:focus-visible,.nk-pol-dlg-body:focus-visible{outline:3px solid #8c6a2f;outline-offset:2px}
@media only screen and (max-width:767px){
	.nk-pol-dlg{width:calc(100vw - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}
	.nk-pol-dlg-head{padding-left:16px}
	.nk-pol-dlg-body{padding:0 16px}
}
