@charset "UTF-8";

/* お問合せ：添付フォームのHTMLを変えずにレイアウトする。 */
@font-face {
    font-family: "Contact Arrow";
    src: url("https://use.fontawesome.com/releases/v5.11.2/webfonts/fa-solid-900.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    unicode-range: U+F105;
}
.contact-page header [aria-current="page"],
.contact-page footer [aria-current="page"] { color: var(--gold); }
.contact-intro .information-visual { object-position: center 48%; }
.contact-content { max-width: 1040px; margin: 62px auto 0; }
.contact-lead { margin-bottom: 44px; }
.contact-lead > p:first-child { font-size: 24px; letter-spacing: .04em; line-height: 1.9; }
.contact-personal-info { color: #737369; font-size: 14px; margin-top: 18px; }
.contact-mobile-break { display: none; }
.contact-content h2 { font-size: 27px; font-weight: 400; line-height: 1.8; letter-spacing: .05em; }
.contact-telephone { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px 36px; border-top: 1px solid #b79a5a80; border-bottom: 1px solid #b79a5a80; }
.contact-telephone-number { display: flex; flex-direction: column; align-items: flex-start; font: 32px/1.5 var(--serif); white-space: nowrap; letter-spacing: .03em; }
.contact-telephone-number span { color: #80652d; font: 12px/1.8 var(--sans); letter-spacing: .15em; }
.contact-telephone-number:hover { color: #80652d; }
.contact-mail { margin-top: 64px; }
.contact-mail-heading { margin-bottom: 24px; padding-left: 20px; border-left: 2px solid var(--gold); }
.contact-prototype-note { font-size: 13px; color: #737369; line-height: 1.9; margin-bottom: 22px; }
.contact-form table { width: 100%; table-layout: fixed; border-collapse: collapse; border-top: 1px solid #24251e33; }
.contact-form th, .contact-form td { border-bottom: 1px solid #24251e33; text-align: left; vertical-align: top; }
.contact-form th { width: 31%; padding: 30px 26px 30px 0; font-size: 15px; line-height: 1.9; font-weight: 400; }
.contact-form em { display: inline-block; margin-left: 12px; padding: 1px 7px; color: #80652d; border: 1px solid #b79a5a80; font: normal 11px/1.8 var(--sans); vertical-align: middle; white-space: nowrap; }
.contact-form td { padding: 24px 0; font-size: 15px; }
.contact-form input:not([type="hidden"]):not([type="submit"]), .contact-form textarea { display: inline-block; width: 100%; max-width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid #c9c7bf; border-radius: 0; background: #fff; color: var(--ink); font: 16px/1.7 var(--sans); box-shadow: none; appearance: none; }
.contact-form input::placeholder { color: #909087; opacity: 1; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid #80652d; outline-offset: 3px; }
.contact-form input.p-postal-code { width: 170px !important; margin: 0 0 12px 8px; }
.contact-form textarea { display: block; min-height: 240px; resize: vertical; }
.contact-form .bot, .contact-form .contact_button { margin: 40px 0 0; text-align: center; }
.contact-form input[type="submit"] { max-width: 100%; min-height: 60px; padding: 16px 42px; border: 1px solid var(--gold); border-radius: 0; background: var(--ink); color: var(--paper); font: 16px/1.7 var(--serif), "Contact Arrow"; letter-spacing: .07em; cursor: pointer; transition: background .2s, color .2s; appearance: none; }
.contact-form input[type="submit"]:hover { background: var(--gold); color: var(--ink); }
.contact-form-status { margin: 22px 0 0; padding: 18px 22px; border-left: 2px solid var(--gold); background: #ece8de; color: #515148; font-size: 14px; line-height: 1.9; }
@media (max-width: 900px) {
    .contact-content { margin-top: 48px; }
    .contact-telephone { padding-inline: 0; }
    .contact-content h2 { font-size: 24px; }
    .contact-form th { width: 34%; padding-right: 18px; }
    .contact-form em { margin-left: 8px; }
}
@media (max-width: 640px) {
    .contact-content { margin-top: 36px; }
    .contact-lead { margin-bottom: 30px; }
    .contact-lead > p:first-child { font-size: 20px; }
    .contact-mobile-break { display: initial; }
    .contact-personal-info { line-height: 1.9; font-size: 13px; }
    .contact-content h2 { font-size: 22px; }
    .contact-telephone { flex-direction: column; align-items: flex-start; gap: 16px; padding: 25px 0; }
    .contact-telephone-number { font-size: 32px; }
    .contact-mail { margin-top: 42px; }
    .contact-mail-heading { padding-left: 15px; margin-bottom: 20px; }
    .contact-form table, .contact-form tbody, .contact-form tr, .contact-form th, .contact-form td { display: block; width: 100%; }
    .contact-form th { padding: 22px 0 12px; border-bottom: 0; }
    .contact-form td { padding: 0 0 22px; }
    .contact-form .bot, .contact-form .contact_button { margin-top: 30px; }
    .contact-form input[type="submit"] { width: 100%; padding-inline: 12px; font-size: 15px; letter-spacing: .03em; }
}

/* 静的な確認画面。添付の#php_form内の構造・文言は変更しない。 */
.contact-preview-heading { margin-bottom: 34px; }
.contact-preview-content .contact-preview-heading h2 { font-size: 34px; line-height: 1.7; letter-spacing: .08em; margin-bottom: 20px; }
.contact-preview table { width: 100%; table-layout: fixed; border-collapse: collapse; border-top: 1px solid #24251e33; }
.contact-preview th, .contact-preview td { text-align: left; vertical-align: top; border-bottom: 1px solid #24251e33; padding: 28px 0; font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
.contact-preview th { width: 31%; padding-right: 28px; font-weight: 400; }
.contact-preview font[color="red"] { color: #a24936; }
.contact-preview form { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 40px; }
.contact-preview form > table { flex: 0 0 100%; margin-bottom: 22px; }
.contact-preview .bot { margin: 0; flex: 0 1 300px; }
.contact-preview input[type="submit"], .contact-preview input[type="button"] { width: 100%; min-height: 60px; padding: 16px 24px; border: 1px solid var(--gold); border-radius: 0; font: 16px/1.7 var(--serif); letter-spacing: .07em; cursor: pointer; appearance: none; transition: background .2s, color .2s; }
.contact-preview .bg01 input { background: var(--ink); color: var(--paper); }
.contact-preview .bg02 input { background: transparent; color: var(--ink); }
.contact-preview input:hover { background: var(--gold); color: var(--ink); }
.contact-preview input:focus-visible { outline: 2px solid #80652d; outline-offset: 3px; }
.contact-preview noscript a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) {
    .contact-preview-content .contact-preview-heading h2 { font-size: 27px; }
    .contact-preview-heading { margin-bottom: 26px; }
    .contact-preview table, .contact-preview tbody, .contact-preview tr, .contact-preview th, .contact-preview td { display: block; width: 100%; }
    .contact-preview th { padding: 20px 0 8px; border-bottom: 0; }
    .contact-preview td { padding: 0 0 20px; font-size: 14px; }
    .contact-preview form { flex-direction: column; gap: 14px; margin-top: 30px; }
    .contact-preview form > table { flex: none; margin-bottom: 16px; }
    .contact-preview .bot { flex: auto; }
}

/* 送信完了画面：添付HTMLを保持し、完了メッセージと戻るボタンを中央配置。 */
.contact-complete-content { max-width: 880px; }
.contact-complete-content > .contact-prototype-note { text-align: center; margin-bottom: 28px; }
.contact-complete { padding: 52px 32px; border-top: 1px solid #b79a5a80; border-bottom: 1px solid #b79a5a80; text-align: center; }
.contact-complete h3 { margin: 0 0 26px; font-size: 28px; font-weight: 400; line-height: 1.8; letter-spacing: .1em; }
.contact-complete .bot { margin: 0; font-size: 17px; line-height: 1.9; }
.contact-complete .bg01 { margin-top: 36px; }
.contact-complete input[type="button"] { max-width: 100%; min-height: 60px; padding: 16px 38px; border: 1px solid var(--gold); border-radius: 0; background: var(--ink); color: var(--paper); font: 16px/1.7 var(--serif); letter-spacing: .06em; cursor: pointer; appearance: none; transition: background .2s, color .2s; }
.contact-complete input[type="button"]:hover { background: var(--gold); color: var(--ink); }
.contact-complete input[type="button"]:focus-visible { outline: 2px solid #80652d; outline-offset: 3px; }
.contact-complete-fallback { margin-top: 20px; font-size: 14px; }
.contact-complete-fallback a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) {
    .contact-complete { padding: 36px 0; }
    .contact-complete h3 { font-size: 24px; margin-bottom: 20px; }
    .contact-complete .bot { font-size: 16px; }
    .contact-complete .bg01 { margin-top: 28px; }
    .contact-complete input[type="button"] { width: 100%; padding-inline: 16px; }
}

.contact-prototype-note a { color: #80652d; text-decoration: underline; text-underline-offset: 4px; }
.contact-prototype-note a:hover { text-decoration-thickness: 2px; }

/* 確認表と送信ボタンの間にreCAPTCHAを配置する。 */
.contact-preview .contact-recaptcha { flex: 0 0 100%; min-width: 0; text-align: center; }
.contact-preview .contact-recaptcha .g-recaptcha { display: flex; justify-content: center; }
.contact-preview #recaptcha-status { margin: 12px 0 0; color: #a24936; font-size: 14px; }
.contact-preview #recaptcha-status:empty { display: none; }
@media (max-width: 640px) {
    .contact-preview .contact-recaptcha { flex: none; overflow-x: auto; }
}