@charset "UTF-8";
/* ============================================
   application.css  参加申込・選考試験（/application/）専用
   ver261014  新設。common.css / detail.css / form.css の後に読み込む
   ============================================ */

.appCta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

/* --- お申込みから受験まで --- */
.appSteps {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.appSteps__item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    align-items: start;
    padding: 20px 24px;
    background: var(--white);
    border-radius: 14px;
}

.appSteps__num {
    font-family: "Fraunces", serif;
    font-size: 28px;
    line-height: 1.2;
    color: var(--accent);
}

.appSteps__item h3 {
    margin: 0 0 6px;
    font-size: 17px;
}

.appSteps__item p {
    margin: 0;
    line-height: 1.85;
}

/* --- 申込フォーム --- */
.appForm {
    max-width: 820px;
    margin: 0 auto;
}

.appForm__group {
    margin: 28px 0 0;
    padding: 0;
    border: 0;
}

.appForm__legend {
    display: flex;
    align-items: baseline;
    gap: 12px;
    width: 100%;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    font-size: 18px;
    font-weight: 700;
}

.appForm__legend span {
    font-family: "Fraunces", serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
}

.appForm__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    align-items: start;
}

.appForm__grid > * {
    grid-column: 1 / -1;
}

.appForm__grid > .appForm__half {
    grid-column: auto;
}

.appForm__sub {
    margin: 10px 0 -4px;
    font-weight: 700;
}

.appForm select.detailFormMock__input {
    appearance: auto;
}

/* 確認画面では区分の見出しも隠す（form.css は欄だけ隠すため、見出しが中身なしで並んだ・富田さん指摘 10/14） */
.appForm.contactForm--confirm .appForm__group,
.appForm.contactForm--confirm .appForm__sub {
    display: none;
}

/* refButton の display が [hidden] に勝ってしまうため（既存の資料請求フォームも同じ症状） */
.appForm .contactForm__back[hidden] {
    display: none;
}

@media (max-width: 767px) {
    .appSteps__item {
        grid-template-columns: 44px 1fr;
        gap: 12px;
        padding: 16px 18px;
    }

    .appSteps__num {
        font-size: 22px;
    }

    .appForm__grid {
        grid-template-columns: 1fr;
    }
}
