/* =========================================
   TinyParade Contact
   ========================================= */
:root {
    --main: #f6f1eb;
    --focus: #d5c3ba;
    --black: #676767;
    --black2: #6f6f6f;
    --white: white;
    --pink: #ffbcc6;
}

body {
    background: linear-gradient(to top,
            var(--main),
            color-mix(in oklab, var(--main), white 20%));
    font-family: 'M PLUS 1p', 'Roboto', sans-serif, 'Noto Sans JP';
}

.contact-section>h2 {
    font-weight: normal;
    font-size: 4em;
    font-family: 'Raleway', sans-serif;
    margin: 40px auto 0;
    width: 500px;
    max-width: 90%;
    color: var(--black);
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-intro {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--black2);
}

.contact-section {
    position: relative;
    overflow: hidden;
    padding-bottom: 60px;
}

.contact-section,
.contact-content {
    position: relative;
    overflow: hidden;
}

.contact-content {
    position: relative;
}

.contact-form form {
    margin: 0 auto;
    width: 500px;
    max-width: 92%;
    padding-top: 10px;
    color: var(--black);
    position: relative;
}

.contact-form label,
.contact-form input,
.contact-form textarea {
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: none;
    border-radius: 20px;
    outline: none;
    padding: 10px 14px;
    font-family: 'M PLUS 1p', 'Roboto', sans-serif, 'Noto Sans JP';
    font-size: 15px;
    color: var(--black);
    border: 2px solid #e9e2db;
    box-sizing: border-box;
    transition: border 0.5s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 3px solid var(--focus);
}

.contact-form textarea {
    height: 100px;
    resize: none;
    overflow: auto;
}

.contact-form .btn {
    display: inline-block;
    width: 100%;
    border: none;
    border-radius: 20px;
    background-color: var(--black);
    color: #fff;
    height: 50px;
    cursor: pointer;
    margin-top: 30px;
    font-size: 15px;
    font-family: 'M PLUS 1p', 'Roboto', sans-serif, 'Noto Sans JP';
    transition: background-color 0.5s;
    text-align: center;
    line-height: 50px;
}

.contact-form .btn:hover {
    opacity: 0.8;
}

.contact-form label {
    font-size: 15px;
    margin-top: 20px;
    padding-left: 20px;
}

@media (max-width: 640px) {
    .contact-section {
        padding: 15px;
    }

    .contact-section>h2 {
        font-size: 55px;
        width: 90%;
    }

    .contact-section::after {
        top: 140px;
    }

    .contact-form label {
        font-size: 14px;
        padding-left: 12px;
    }

    .contact-form .form-group {
        background-size: 14%;
    }

    .contact-form .btn,
    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }
}

/* =========================================
   TinyParade Contact- menu-button
   ========================================= */
.menu-button {
    background-color: transparent;
}

.menu-line {
    background-color: var(--black) !important;
    opacity: 0.6;
}

.menu-button.active .menu-line:nth-child(1) {
    opacity: 1;
    background-color: var(--pink) !important;
}

.menu-button.active .menu-line:nth-child(2) {
    opacity: 0;
    background-color: var(--pink) !important;
}

.menu-button.active .menu-line:nth-child(3) {
    opacity: 1;
    background-color: var(--pink) !important;
}

/* =========================================
   TinyParade Contact - server message
   ========================================= */
.form-message {
    margin-top: 15px;
    padding: 25px 35px;
    font-size: 15px;
}

.form-message.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.form-message.warning {
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
}

@media (max-width: 640px) {
    .form-message {
        padding: 25px 15px !important;
        font-size: 14px;
    }
}

/* =========================================
   TinyParade Contact - front message
   ========================================= */
.error-message {
    padding-left: 10px;
    font-size: 13px;
    color: var(--black2);
}

@media (max-width: 640px) {
    .error-message {
        font-size: 12px;
    }
}
/* =========================================
   TinyParade - footer
   ========================================= */
   .common-minimal-footer {
    bottom: 20px;
    left: auto;
    right: auto;
    padding: 40px 20px 40px 20px;
    background: transparent;
}

.common-divider {
    width: 80%;
    height: 2px;
    background-color: var(--focus);
    opacity: 0.3;
    margin: 0 auto 100px auto;
}

.common-footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.common-social-name {
    color: var(--focus);
    opacity: 0.7;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    font-family: 'Roboto', sans-serif, 'Noto Sans JP';
    align-items: flex-end;
}

.common-footer-left a {
    font-size: 0.9rem;
}

.common-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.common-footer-link {
    color: var(--focus);
    text-decoration: none;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.1em;
    font-family: 'Roboto', sans-serif, 'Noto Sans JP';
    margin-bottom: 10px;
}

.common-footer-link:hover {
    text-decoration: underline;
}

.common-footer-link:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .common-minimal-footer {
       padding: 60px 40px 30px 40px
    }

    .common-divider {
        width: 100%;
        margin: 0 auto 50px auto;
    }

    .common-footer-content {
        flex-direction: row;
        text-align: left;
    }

    .common-social-name {
        margin-bottom: 0;
        font-size: 10px;
    }

    .common-footer-left a {
        font-size: 11px;
    }

    .common-footer-links {
        align-items: flex-end;
    }

    .common-footer-link {
        font-size: 15px;
    }
}