@charset "utf-8";

/* ============================
About
==============================*/
.section--about {
    padding-bottom: 100px;
}

.aboutTop__wrapper {
    position: relative;
    background-image: url(../images/about__top.webp);
    background-size: cover;
    background-position:60%;
    background-repeat: no-repeat;
    width: 100%;
    height: 56vh;
}

.aboutTopic__wrapper {
    position: absolute;
    bottom: -87px;
    right: 0;
    padding: 0 70px 30px 30px;
    background-color: rgba(42, 59, 32, 0.7);
    width: fit-content;
}

.aboutTopic__wrapper::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: 24px;
  width: 1px;
  height: 100px;
  background: var(--primary-gray);
  animation: liner 2.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes liner {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }
    30% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }
    70% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }
    100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
    }
}

.about__subtopic {
    margin: 180px auto 100px;
    padding: 0 20px;
}

.topic__about {
    color: var(--primary-white);
    font-size: 3rem;
}

.subtopic__about {
    color: var(--primary-white);
    margin-top: -10px;
}

.about__item {
    margin-top: 60px;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about__item--hidden {
    opacity: 0;
    transform: translateY(30px);
}

.about__item--visible {
    opacity: 1;
    transform: translateY(0);
}

.aboutNumber__wrapper {
    width: fit-content;
    margin: 0 auto;
}

.about__number {
    width: 90px;
}

.aboutTxt__container {
    max-width: 500px;
    padding: 0 20px;
    margin: 20px auto;
}

.about__title {
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
}

.about__txt {
    margin: 10px 0 30px;
}

.aboutImage__wrapper {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
    padding-left: 20px;
}

.about__img {
    border-radius: 50px 0 0 0;
}

@media screen and (min-width: 769px) {
    .section--about {
        padding-bottom: 100px;
    }

    .aboutTop__wrapper {
        height: 80vh;
    }

    .aboutTopic__wrapper {
        bottom: -160px;
        padding: 0 300px 50px 60px;
        background-color: rgba(42, 59, 32, 0.7);
    }

    .aboutTopic__wrapper::after {
        bottom: -60px;
        right: 60px;
        height: 160px;
     }

    .scrollbar_05::after {
        bottom: -310px;
        width: 2px;
        height: 190px;
    }

    .about__subtopic {
        margin: 300px auto 60px;
        padding: 0 20px;
        font-size: 2.4rem;
    }

    .subtopic__about {
        margin-top: -16px;
        
    }

    .section--about {
        padding-bottom: 0;
    }

    .section__wrapper {
        background-color: var(--primary-white);
        padding: 0 0 200px;
    }

    .curbImg__wrapper {
        display: none;
    }

    .topic__about {
        font-size: 6rem;
    }

    .subtopic__about {
        font-size: 2.4rem;
    }

    .about__item {
        display: flex;
        margin-top: 200px;
        justify-content: flex-end;
        flex-direction: row-reverse;
        align-items: center;
    }

    .about__item:nth-of-type(3) {
        flex-direction: row;
    }

    .about__number {
        width: 12.5vw;
    }

    .aboutTxt__wrapper {
        margin-top: 50px;
        padding: 0 20px;
        width: 50%;
        margin: 0 auto;
    }

    .aboutTxt__container {
        max-width: 1000px;
        padding: 0 40px;
        margin: 20px auto;
    }

    .about__title {
        font-size: 3rem;
        margin-top: 20px;
    }

    .about__txt {
        font-size: 2rem;
        margin-top: 20px;
    }

    .aboutImage__wrapper {
        justify-content: flex-end;
        margin-left: 0;
        width: 50%;
    }

    .about__img {
        border-radius: 0 50px 0 0;
    }

    .about__item:nth-of-type(3) .about__img {
        border-radius: 50px 0 0 0;
    }
}/* pc 769px */

@media screen and (min-width: 447px) {
    @media screen and (max-width: 768px) {
        .about__item {
            margin-bottom: 100px;
        }

        .aboutImage__wrapper {
            justify-content: center;
            width: 100%;
        }

        .aboutTop__wrapper {
            height: 400px;
        }

        .message__bg {
            margin: 0 40px;
        }

        .aboutTopic__wrapper {
            padding-right: 100px;
        }

        .aboutImage__wrapper {
            margin: 0 auto;
        }

        .about__img {
            border-radius: 30px;
            width: 60vw;
        }

        .brSp {
            display: none;
        }
    }
}/* pc 447-768px */


/* ============================
Message
==============================*/
.message__bg {
    width: 90vw;
    max-width: 500px;
    background-color: var(--primary-gray);
    padding: 20px 0 50px;
    margin:0 auto;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.topic--message {
    padding-top: 10px;
}

.message__subtopic {
    margin-top: -10px;
}

.messageImage__wrapper {
    width: fit-content;
    margin: 30px auto;
    padding: 0 6vw;
}

.message__img {
    width: 340px;
}

.message__txtBox {
    max-width: 500px;
    margin: 0 auto;
}

.message__txt {
    margin: 20px 6vw 0;
}

.message__txt:first-of-type {
    margin-top: 50px;
}

.message__txt:last-of-type {
    margin-top: 30px;
}

.message__txt__name {
    margin: 20px 6vw;
    text-align: end;
    position: relative;
}

.message__txt__name::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.2);
    top: 40px;
    left: 0;
}

.message__img-frame{
   position: relative;
   width: 90%;
   max-width: 500px;
   aspect-ratio: 16 / 9;
   overflow: hidden;
   margin:40px auto 100px;
   transition: opacity 0.6s ease, transform 0.6s ease;
}

.message__fade--hidden {
    opacity: 0;
    transform: translateY(30px);
}

.message__fade--visible {
    opacity: 1;
    transform: translateY(0);
}

.message__img-01, .message__img-02, .message__img-03{
   position: absolute;
   top:0;
   left:0;
   width: 100%;
   height: 100%;
   background-size: cover;
   background-repeat: no-repeat;
}
.message__img-01{
   background-image: url(../images/message__img01.webp);
   animation: slide-animation-01 24s infinite;
}
.message__img-02{
   background-image: url(../images/message__img02.webp);
   animation: slide-animation-02 24s infinite;
}
.message__img-03{
   background-image: url(../images/message__img03.webp);
   animation: slide-animation-03 24s infinite;
}
@keyframes slide-animation-01 {
    0% {opacity: 1; transform: scale(1.0);}
  30% {opacity: 1;}
  40% {opacity: 0; transform: scale(1.15);}
  90% {opacity: 0}
100% {opacity: 1; transform: scale(1.0);}
}
@keyframes slide-animation-02 {
    0% {opacity: 0;}
  30% {opacity: 0; transform: scale(1.1);}
  40% {opacity: 1;}
  60% {opacity: 1;}
  70% {opacity: 0; transform: scale(1.0);}
100% {opacity: 0;}
}
@keyframes slide-animation-03 {
    0% {opacity: 0;}
  60% {opacity: 0;  transform: scale(1.0);}
  70% {opacity: 1;}
  90% {opacity: 1;}
100% {opacity: 0; transform: scale(1.1);}
}

@media screen and (min-width: 769px) {
    .message__bg {
        width: 70vw;
        max-width: 1000px;
        margin: 0 auto 100px;
    }

    .message__bg::after {
        bottom: 0;
    }

    .topic--message {
        padding-top: 60px;
    }

    .messageImage__wrapper {
        margin-top: 60px;
    }

    .message__img {
        width: 800px;
    }

    .message__txtBox {
        max-width: 1000px;
        margin: 30PX auto 40PX;
    }

    .message__txt {
        margin-top: 40px;
        font-size: 2rem;

    }

    .message__txt:first-of-type {
        margin-top: 80px;
    }

    .message__img-frame{
        width: 70vw;
        max-width: 1000px;
        margin:80px auto 160px;
    }
}/* pc 769px */
