@charset "utf-8";

.title {
    height: 310px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--main-text-color);
    text-shadow: 1px 1px 10px #4b2c14;
}
.title h1 {
    font-family: 'Montserrant',sans-serif;
    font-size: 32px;
    font-weight: bold;
}
.title p {
    font-size: 14px;
    margin-top: 15px;
}
.completion h2 {
    font-size: 22px;
    font-weight: bold;
    line-height: 30px;
    color: var(--main-text-color);
}
.cpmpletion h2::after {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background-color: #000;
    margin-top: 20px;
}
.completion {
    width: 930px;
    max-width: 90%;
    margin-top: 200px;
    margin-bottom: 200px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}
.completion-text {
    color:var(--main-text-color);
    padding: 10px;
    font-size: 15px;
    line-height: 20px;
    margin-top: 30px;
}


/* ▼▼▼ ここから追加：戻るボタン ▼▼▼ */

/* ボタンを包む領域（右寄せ） */
.completion-back-area {
    margin-top: 50px;
    text-align: left;
}

/* 戻るボタン本体 */
.completion-back-btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    border: 2px solid #000;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

/* ホバー時（PC） */
.completion-back-btn:hover {
    background-color: #000;
    color: #fff;
}

/* キーボードフォーカス（アクセシビリティ） */
.completion-back-btn:focus {
    outline: 3px solid rgb(255, 123, 0);
    outline-offset: 3px;
}

/* ▲▲▲ ここまで追加 ▲▲▲ */



/* レスポンシブ */
@media (max-width:800px) {

    .completion {
        margin-top: 120px;
        margin-bottom: 120px;
        width: 95%;
    }

    .completion-text {
        font-size: 18px;
        margin-top: 20px;
        padding: 8px;
        line-height: 20px;
    }

    /* スマホ向け戻るボタン調整 */
    .completion-back-btn {
        width: 80%;
        max-width: 300px;
        padding: 14px 0;
        font-size: 18px;
    }
}
