* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: 0.1em;
}

body {
    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-weight: 300;
    line-height: 1.6;
}

.site-background {
    position: fixed;
    inset: 0;
    background: url("images/top.jpg") no-repeat center center;
    background-size: cover;
    z-index: -1;
}

.contact-page {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.85);
}

.contact-back {
    position: fixed;
    top: 22px;
    right: 32px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: rgba(0, 0, 0, 0.7);
    background: none;
    border: none;
    padding: 6px 2px;
    cursor: pointer;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
    transition:
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.contact-back:hover {
    color: rgba(0, 0, 0, 0.95);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.6);
    transform: translateY(-0.5px);
}

.contact {
    width: 100%;
    max-width: 900px;
    padding: 70px;
}

.contact-title {
    text-align: center;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 50px;
}

.contact-lead {
    text-align: center;
    font-size: 16px;
    line-height: 2.6;
    margin-bottom: 55px;
}

.contact-form {
    max-width: 640px;
    margin: 0 auto;
}

.field {
    margin-bottom: 30px;
}

.field label {
    display: block;
    font-size: 13px;
    margin-bottom: 10px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    font-family: inherit;
    font-size: 14px;
    padding: 14px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: rgba(255, 255, 255, 0.6);
    outline: none;
}

.field textarea {
    resize: vertical;
    min-height: 180px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(0, 0, 0, 0.35);
}

.field select {
    color: #000;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(0, 0, 0, .5) 50%),
        linear-gradient(135deg, rgba(0, 0, 0, .5) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 13px) 50%;
    background-size: 5px 5px;
    background-repeat: no-repeat;
    padding-right: 40px;
}

.contact-submit {
    color: #000;
    margin-top: 6px;
    padding: 14px 22px;
    font-family: inherit;
    font-size: 14px;
    border: 1.2px solid rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.contact-submit:hover {
    background: rgba(255, 255, 255, 0.85);
}

.contact-note {
    margin-top: 18px;
    font-size: 12px;
    line-height: 2;
    opacity: 0.75;
}

@media (max-width: 767px) {

    .field input,
    .field select,
    .field textarea {
        font-size: 16px;
    }

    .contact-page {
        position: relative;
        align-items: flex-start;
        padding: 60px 0;
    }

    .contact-back {
        position: absolute;
        top: 14px;
        right: 18px;
        font-size: 11px;
        transform: none;
    }

    .contact-back:hover {
        transform: none;
    }

    .contact {
        padding: 40px 16px;
        width: 90%;
        margin-top: 10px;
    }

    .contact-title {
        font-size: 18px;
        margin-bottom: 45px;
    }

    .contact-lead {
        font-size: 14px;
        line-height: 2.4;
    }

    .contact-lead br,
    .contact-note br {
        display: none;
    }
}

#message::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

#message::-webkit-input-placeholder {
    color: rgba(0, 0, 0, 0.35);
}