@charset "utf-8";

/* ----------------------------------------------------------
    contact-area   パウチ3ページ・製品カテゴリページで使用
------------------------------------------------------------- */
@keyframes contact-slide1 {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100%);
    }
}

@keyframes contact-slide1-sp {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes contact-slide2 {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(100%);
    }
}

@keyframes contact-slide2-sp {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100%);
    }
}

.contact-area.lazyloaded {
    background: url("../img/product/cmnproduct-cv-bg.jpg")center/cover no-repeat;
}

.contact-area .contact-slide-pc {
    display: flex;
}

.contact-area div[class^="contact-slide0"] {
    flex-shrink: 0;
}

/*contact-slide01*/
.contact-area .contact-slide01 {
    margin-right: 40px;
}

.contact-area .contact-slide01 ul {
    animation: contact-slide1 30s infinite linear 1s both;
}

/*contact-slide02*/
.contact-area .contact-slide02 ul {
    animation: contact-slide2 30s infinite linear 1s both;
}

.contact-area [class^="contact-slide0"] li {
    border-radius: 5px;
    overflow: hidden;
    width: 240px;
    height: 260px;
    margin: 0 0 30px;
}

.contact-area [class^="contact-slide0"] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-area .contact-inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    height: 646px;
    overflow: hidden;
    flex-direction: row-reverse;
}

/*contact-elements--------------------*/
.contact-area .contact-elements {
    background: #fff;
    box-shadow: 0px 0px 15px -5px rgba(0,0,0,.2);
    border-radius: 10px;
    width: 630px;
    padding: 40px 50px 45px;
}

.contact-area .contact-elements .ttl {
    border-bottom: 1px solid var(--main);
    font-size: 2.7rem;
    font-weight: 750;
    color: var(--main);
    letter-spacing: .09em;
    line-height: 1.52;
    text-align: center;
    padding: 0 0 20px;
}

.contact-area .contact-elements .ttl span {
    font-size: 1.8rem;
    letter-spacing: 0;
}

.contact-area .contact-elements .note {
    margin: 20px 0 0;
    letter-spacing: .07em;
}

.contact-area .contact-elements .msg {
    margin: 20px 0 0;
    position: relative;
}

.contact-area .contact-elements .msg::before {
    content: "";
    position: absolute;
    width: 94px;
    height: 90px;
    background: url("../img/cmn-woman1.png")center/contain no-repeat;
    left: 0;
    bottom: 0;
    z-index: 2;
}

.contact-area .contact-elements .msg p::before {
    content: "";
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: -25px;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 25px solid #e5f0fd;
    border-left: 0;
}

.contact-area .contact-elements .msg p {
    background: #e5f0fd;
    border-radius: 10px;
    font-size: 1.5rem;
    letter-spacing: .05em;
    width: 420px;
    padding: 20px;
    position: relative;
    margin: 0 0 0 auto;
}


/*action------------------------------*/
.contact-area .contact-elements .action {
    align-items: center;
    gap: 25px;
    display: flex;
    margin: 28px 0 0;
}

.contact-area .contact-elements .action-tel {
    color: #333;
    display: flex;
    text-align: center;
    font-size: 1.5rem;
    flex-direction: column;
    gap: 4px;
    position: relative;
    letter-spacing: 0;
}

.contact-area .contact-elements .action-tel .num {
    align-items: center;
    font: 600 2.8rem /1 var(--en);
    display: flex;
    gap: 3px;
    letter-spacing: .05em;
}

.contact-area .contact-elements .action-tel i {
    font-size: 2.1rem;
}

.contact-area .contact-elements .action-tel .time-wrap {
    font-size: 1.4rem;
    line-height: 1;
}

.contact-area .contact-elements .action-tel .time {
    font-size: 1.6rem;
    margin: 0 3px;
}

.contact-area .contact-elements .action-form {
    align-items: center;
    border-radius: 60px;
    display: flex;
    background: var(--brightred);
    color: #fff !important;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 2.2rem;
    overflow: hidden;
    padding: 15px 48px 16px 26px;
    position: relative;
    line-height: 1;
    z-index: 0;
    width: 266px;
}

.contact-area .contact-elements .action-form::before {
    content: "";
    background: url(../img/cmn-arrow-white.svg)center/contain no-repeat;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 15px;
    width: 20px;
    height: 20px;
}

.contact-area .contact-elements .action-form span {
    background: #fff url(../img/cmn-mail-icon.svg)center/20px 15px no-repeat;
    border-radius: 100%;
    width: 36px;
    height: 36px;
    margin: 0 10px 0 0;
}

.contact-area .contact-elements .action-form::after {
    content: "";
    width: 0;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background: var(--red);
    transition: width cubic-bezier(0.23, 1, 0.32, 1) .8s;
    z-index: -1;
}

.contact-area .contact-elements .action-form:hover::after {
    left: 0;
    width: 100%;
}


@media screen and (max-width: 768px) {

    .contact-area .contact-inner {
        display: block;
        height: auto;
        padding: 20px;
    }

    .contact-area .contact-slide-pc {
        display: block;
    }

    .contact-area div[class^="contact-slide0"] {
        display: flex;
        margin: 0 !important;
    }

    .contact-area .contact-slide02 {
        display: none !important;
    }

    .contact-area .contact-slide03 {
        flex-direction: row-reverse;
    }

    .contact-area [class^="contact-slide0"] li {
        width: 150px;
        height: 145px;
        margin: 0 17px 0 0;
        ;
    }

    .contact-area [class^="contact-slide0"] ul {
        display: flex;
    }

    .contact-area .contact-slide01 ul {
        animation: contact-slide1-sp 25s infinite linear 1s both;
    }

    .contact-area .contact-slide03 ul {
        animation: contact-slide2-sp 25s infinite linear 1s both;
    }

    .contact-area .contact-elements {
        display: block;
        width: 100%;
        padding: 30px 20px;
        margin: 30px 0;
    }
    
    .contact-area .contact-elements .ttl {
        font-size: 1.9rem;
        letter-spacing: .05em;
        line-height: 1.4;
        padding: 0 0 10px;
        text-align: left;
    }
    
    .contact-area .contact-elements .note {
        margin: 15px 0 0;
        letter-spacing: .05em;
        font-size: 1.5rem;
    }
    
    .contact-area .contact-elements .msg {
        margin: 10px 0 0;
    }
    
    .contact-area .contact-elements .msg p {
        border-radius: 8px;
        font-size: 1.4rem;
        letter-spacing: .05em;
        width: 80%;
        padding: 12px 10px 10px 17px;
        line-height: 1.7;
    }
    
    .contact-area .contact-elements .msg p::before {
        left: -18px;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-right: 18px solid #e5f0fd;
    }
    
    .contact-area .contact-elements .msg::before {
        width: 74px;
        height: 70px;
    }
    
    .contact-area .contact-elements .action {
        flex-direction: column;
    }
    
    .contact-area .contact-elements .action-tel {
        text-decoration: none;
    }
    
    .contact-area .contact-elements .action-form {
        font-size: 2rem;
    }

}

