@charset "UTF-8";

:root {
    --ink: #12161c;
    --paper: #f7f6f3;
    --paper-dim: #eeece6;
    --gold: #b08d57;
    --gold-bright: #d3ad76;
    --text-main: #1c1f24;
    --text-mute: #6b6f74;
    --text-on-dark: #f2f0ea;
    --text-on-dark-mute: #a9adb3;
    --serif: 'Noto Serif JP', serif;
    --sans: 'Zen Kaku Gothic New', sans-serif;
    --accent-serif: 'Cormorant Garamond', serif;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --danger: #b3543f;
}

/* ---------- お問い合わせ ------------------------------------------------------------------------------------------------------------------------------------- */
.page-head {
    position: relative;
    height: 260px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(18, 22, 28, .35), rgba(18, 22, 28, .75)),
        url('img/問い合わせ背景.png') center 95%/cover no-repeat;
    display: flex;
    align-items: flex-end;
}

.page-head .wrap {
    padding-bottom: 40px;
    max-width: 1180px;
}

.page-head .crumb {
    font-family: var(--accent-serif);
    font-style: italic;
    font-size: 13px;
    color: var(--gold-bright);
    letter-spacing: .1em;
    margin-bottom: 10px;
}

.page-head h1 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(28px, 4vw, 40px);
    color: var(--text-on-dark);
    letter-spacing: .03em;
}

/* ---------- intro ---------- */
.form-page {
    padding: 80px 0 140px;
}

.form-intro {
    margin-bottom: 56px;
}

.form-intro p {
    font-size: 14.5px;
    color: var(--text-mute);
    line-height: 2.1;
}

.form-intro .req-note {
    display: inline-block;
    margin-top: 18px;
    font-size: 12.5px;
    color: var(--text-mute);
}

.form-intro .req-note b {
    color: #fff;
    background: var(--danger);
    font-size: 10.5px;
    padding: 2px 7px;
    border-radius: 2px;
    margin-right: 6px;
}

/* ---------- step indicator ---------- */
.steps {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 60px;
}

.step-dot {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--text-mute);
}

.step-dot .n {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--accent-serif);
    font-style: italic;
    font-size: 13px;
    color: var(--text-mute);
    transition: all .3s var(--ease);
}

.steps .sep {
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, .12);
}

.steps.at-1 .step-dot:nth-child(1) .n,
.steps.at-2 .step-dot:nth-child(1) .n,
.steps.at-2 .step-dot:nth-child(3) .n,
.steps.at-3 .step-dot:nth-child(1) .n,
.steps.at-3 .step-dot:nth-child(3) .n,
.steps.at-3 .step-dot:nth-child(5) .n {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.steps.at-1 .step-dot:nth-child(1) span,
.steps.at-2 .step-dot:nth-child(1) span,
.steps.at-2 .step-dot:nth-child(3) span,
.steps.at-3 .step-dot:nth-child(1) span,
.steps.at-3 .step-dot:nth-child(3) span,
.steps.at-3 .step-dot:nth-child(5) span {
    color: var(--text-main);
    font-weight: 600;
}

/* ---------- field system ---------- */
.f-block {
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
}

.f-block:first-of-type {
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.f-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    padding-top: 12px;
}

.f-label .req {
    display: inline-block;
    font-size: 10px;
    color: #fff;
    background: var(--danger);
    padding: 2px 7px;
    border-radius: 2px;
    margin-left: 8px;
    vertical-align: middle;
}

.f-label .multi-note {
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-mute);
    margin-left: 8px;
}

.f-input input[type="text"],
.f-input input[type="email"],
.f-input input[type="tel"],
.f-input select,
.f-input textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 3px;
    padding: 13px 14px;
    font-family: var(--sans);
    font-size: 14px;
    color: var(--text-main);
    background: #fff;
    transition: border-color .3s var(--ease);
}

.f-input input:focus,
.f-input select:focus,
.f-input textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.f-input textarea {
    min-height: 150px;
    resize: vertical;
}

.f-row3 {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 8px;
    align-items: center;
}

.f-row3 span {
    color: var(--text-mute);
}

.f-addr-row {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 8px;
    margin-bottom: 10px;
}

.f-addr-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.f-hint {
    font-size: 12px;
    color: var(--text-mute);
    margin-top: 8px;
}

.check-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 26px;
    padding-top: 10px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    cursor: pointer;
}

.check-item input {
    width: 16px;
    height: 16px;
    accent-color: var(--gold);
}

.f-submit-row {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ink);
    color: #fff;
    padding: 17px 46px;
    font-size: 14px;
    letter-spacing: .1em;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background .35s var(--ease), letter-spacing .35s var(--ease);
}

.btn-gold:hover {
    background: var(--gold);
    letter-spacing: .14em;
}

.btn-line-form {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-mute);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.btn-line-form:hover {
    color: var(--text-main);
}

.error-msg {
    display: none;
    background: #fbeceb;
    color: var(--danger);
    border: 1px solid rgba(179, 84, 63, .3);
    border-radius: 4px;
    padding: 16px 20px;
    font-size: 13px;
    margin-bottom: 36px;
}

.error-msg.show {
    display: block;
}

/* ---------- confirm screen ---------- */
#confirmScreen,
#thanksScreen {
    display: none;
}

.confirm-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.confirm-row:first-of-type {
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.confirm-row dt {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-mute);
}

.confirm-row dd {
    font-size: 14.5px;
    color: var(--text-main);
    white-space: pre-wrap;
    line-height: 1.9;
}

.confirm-note {
    background: var(--paper-dim);
    border-left: 3px solid var(--gold);
    padding: 20px 24px;
    font-size: 13px;
    color: var(--text-mute);
    margin: 40px 0;
    line-height: 1.95;
}

.thanks-box {
    text-align: center;
    padding: 60px 20px;
}

.thanks-box .mark {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 24px;
    color: var(--gold);
}

.thanks-box h2 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 18px;
}

.thanks-box p {
    font-size: 14px;
    color: var(--text-mute);
    line-height: 2;
    max-width: 52ch;
    margin: 0 auto;
}

@media (max-width:640px) {
    .form-page {
        padding: 60px 0 100px;
    }

    .page-head {
        height: 200px;
    }

    .f-block,
    .confirm-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .f-label {
        padding-top: 0;
    }

    .f-row3 {
        grid-template-columns: 1fr auto 1fr auto 1fr;
    }

    .f-addr-row {
        grid-template-columns: 1fr;
    }
}





/* =====================================
   Contact Form 7 用の補正
===================================== */

/* 通常入力 */
.f-input>.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* 電話番号 */
.f-row3>.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    min-width: 0;
}

.f-row3 .wpcf7-form-control-wrap input {
    width: 100%;
    box-sizing: border-box;
}

/* 住所 */
.f-addr-row>.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    min-width: 0;
}

.f-addr-row input,
.f-addr-row select {
    width: 100%;
    box-sizing: border-box;
}

/* チェックボックス */
.check-grid .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.check-grid .wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 26px;
    padding-top: 10px;
}

.check-grid .wpcf7-list-item {
    margin: 0;
}

.check-grid .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    cursor: pointer;
}

.check-grid input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--gold);
}

/* エラー文 */
.wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    font-size: 12px;
}


/* =====================================
   Contact Form 7
===================================== */

/* 裏側で使う本物の送信ボタン */
.cf7-real-submit {
    display: none !important;
}

/* CF7標準の緑色メッセージは見せない */
#toiawase .wpcf7-response-output {
    display: none !important;
}

/* CF7ローディングアイコン */
#toiawase .wpcf7-spinner {
    display: none !important;
}