@charset "utf-8";

/* =========================
contact
========================= */
.contact__textArea {
    margin: 50px auto 0;
    width: 333px;
}

.SNS__frame {
    padding-top: 15px;
    display: flex;
    gap: 15px;
}

.SNS {
    width: 40px;
    height: 40px;
    position: relative;
    display: inline-block;
}

.SNS__default {
    display: block;
    transition: opacity 0.3s ease;
}

.SNS__hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.SNS:hover .SNS__default {
    opacity: 0;
}

.SNS:hover .SNS__hover {
    opacity: 1;
}

.contact__textSup {
    margin-top: 10px;
    font-size: 1.2rem;
    letter-spacing: 0.10em;
    text-align: right;
}

.contact__textSup a {
    position: relative;
    display: inline-block;
}

.contact__textSup a::after {
    background-color: var(--textColor-bk);
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0px;
    transform-origin: left top;
    z-index: -1;
}

.contact__textSup a.animate::after {
    animation: linkLine 0.8s forwards;
}

@keyframes linkLine {
    0% {
        transform-origin: right top;
        transform: scaleX(1);
        /* 全表示 */
    }

    40% {
        transform-origin: right top;
        transform: scaleX(0);
        /* 右方向へ消える */
    }

    41% {
        transform-origin: left top;
        transform: scaleX(0);
        /* ここで起点を左に切替 */
    }

    100% {
        transform-origin: left top;
        transform: scaleX(1);
        /* 左→右へ再表示 */
    }
}

/* form area */
.contactArea {
    margin: 80px auto 0;
    width: 333px;
    font-size: 1.6rem;
    letter-spacing: 0.10em;
}

.contactForm {
    margin: 25px 0 25px 0;
}

.contactForm:first-of-type {
    margin-top: 0;
}

.contactForm:nth-of-type(5) {
    margin-bottom: 35px;
}

.contactForm:last-of-type {
    margin-top: 0;
    margin-bottom: 0;
}

.contactTitle {
    margin-bottom: 10px;
}

.contactTitle_req::after {
    content: "*";
}

.textBox {
    border: 0.5px solid var(--textColor-bk);
    width: 333px;
    height: 32px;
    padding: 0 5px 0 5px;
}

.textForm {
    border: 0.5px solid var(--textColor-bk);
    width: 333px;
    height: 352px;
    padding: 5px;
}

.btn--form {
    display: block;
    margin: 0 auto;
    padding: 13px 0;
    border: 0.5px solid var(--textColor-bk);
    border-radius: 100px;
    width: 231px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn--form:hover {
    color: var(--textColor-wh);
    background-color: var(--categoryColor-05);
}

button {
    font-size: 1.6rem;
    letter-spacing: 0.10em;
}

::placeholder {
  color: #c5c5c5;
  font-size: 1.5rem;
}

.contactError ul {
    margin-top: 50px;
    color: red;
}

/* PC 769px */
@media screen and (min-width: 769px) {
    .contact__textArea {
        width: 581px;
    }

    .contact__text {
        font-size: 1.6rem;
        letter-spacing: 0.10em;
    }

    .contact__textSup {
        margin-top: -19px;
        font-size: 1.3rem;
    }

    /* form area */
    .contactArea {
        width: 610px;
    }

    .textBox {
        width: 610px;
    }

    .textForm {
        width: 610px;
    }
}
/* PC 769px */