@charset "UTF-8";

/*
****************************************************************
*
* .mainvisual
* メインビジュアル
*
****************************************************************
*/

.mainvisual {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.mainvisual__bg {
    width: 100%;
    height: 100%;
    background-image: url(../images/index/mv.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    z-index: -1;
}

.mainvisual__bg::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
}

.mainvisual__bg.appear {
    /* safari filter対策 */
    will-change: filter;
    /* or transform */
    animation: mv-appear 2s cubic-bezier(0.07, 0.68, 0.03, 0.75) forwards;
}

@keyframes mv-appear {
    0% {
        transform: scale(1.3);
        filter: blur(2px);
        -webkit-filter: blur(2px);
    }
    100% {
        transform: scale(1);
        filter: none;
        -webkit-filter: none;
    }
}

.mainvisual__container {
    position: absolute;
    top: 30%;
    left: 0;
    right: 0;
    margin: auto;
}

.mainvisual__title {
    font-family: var(--font-estonia);
    color: #fff;
    font-size: 10rem;
    text-align: center;
}

.mainvisual__subtitle {
    font-family: var(--font-hannari);
    font-size: 4rem;
    color: #fff;
    text-align: center;
    padding-top: 3.8rem;
}

.mainvisual__title span,
.mainvisual__subtitle span {
    display: inline-block;
    transform: scaleY(0) skewX(5deg) rotate(-5deg);
}

.mainvisual .scroll__link {
    bottom: 17.8rem;
}

@media (max-width: 768px) {
    .mainvisual__container {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 15vw;
        margin: auto;
        height: fit-content;
    }
    .mainvisual__title {
        font-size: 4.8rem;
    }
    .mainvisual__subtitle {
        font-size: 1.8rem;
        padding-top: 0.5rem;
    }
}


/*
****************************************************************
*
* .about
* PEACEについて
*
****************************************************************
*/

.about {
    /*margin-top: -10vh;*/
    background: #fff;
}

.about .sectionTitle::after {
    content: "About PEACE";
}

.aboutContainer {
    max-width: 128rem;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.aboutCard {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.aboutCard__textWrap {
    font-size: 1.8rem;
    font-family: var(--font-chikushi);
    padding: 7.8rem;
    background: #fff;
    position: relative;
    z-index: 1;
}

.aboutCard__title {
    font-weight: 800;
    padding-bottom: 2.4rem;
}

.aboutCard__text {
    font-weight: 400;
    line-height: 1.8;
}

.aboutCard__figure {
    overflow: hidden;
    display: block;
    position: relative;
    top: 0;
    right: 0;
}

.aboutCard__img {
    display: block;
    position: relative;
    margin-top: 0;
    width: 100%;
    height: calc(100% + 100px);
    object-fit: cover;
    object-position: center top;
    /* safari filter対策 */
    will-change: filter;
    /* or transform */
    filter: blur(4px);
    -webkit-filter: blur(4px);
    opacity: 0;
    transform: scale(1.2);
}

.aboutCard:nth-of-type(1) .aboutCard__textWrap {
    width: 62rem;
    right: -14.4rem;
    top: 8.7rem;
}

.aboutCard:nth-of-type(1) .aboutCard__figure {
    width: 73rem;
    height: 49rem;
}

.aboutCard:nth-of-type(2) {
    flex-direction: row-reverse;
    margin-top: -4rem;
}

.aboutCard:nth-of-type(2) .aboutCard__textWrap {
    width: 66rem;
    left: -7rem;
    top: 13.2rem;
}

.aboutCard:nth-of-type(2) .aboutCard__figure {
    width: 60rem;
    height: 40rem;
}

@media (max-width: 768px) {
    .aboutCard {
        display: flex;
        flex-direction: column-reverse !important;
        margin-top: 0;
        margin-bottom: 10vw;
    }
    .aboutCard:nth-of-type(1) .aboutCard__textWrap,
    .aboutCard:nth-of-type(1) .aboutCard__figure,
    .aboutCard:nth-of-type(2) .aboutCard__textWrap,
    .aboutCard:nth-of-type(2) .aboutCard__figure {
        width: 90vw;
        height: 59vw;
        right: auto;
        top: auto;
        left: auto;
        position: relative;
    }
    .aboutCard__textWrap {
        padding: 2.9rem;
        left: 10vw !important;
        top: -10vw !important;
    }
    .aboutCard__text,
    .aboutCard__title {
        line-height: 1.5;
        letter-spacing: 0;
    }
}


/*-------------------------------
.flowingText
-------------------------------*/

.flowingText {
    color: #707070;
    font-size: 16rem;
    letter-spacing: 0.1em;
    width: 30em;
    padding: 9rem 0 10rem;
}

.flowingText p {
    margin-left: 3em;
}


/*
****************************************************************
*
* .service
* PEACEの事業内容について
*
****************************************************************
*/

.service .sectionTitle::after {
    content: "About Services";
}

.serviceContainer {
    width: 100%;
    max-width: 128rem;
    position: relative;
    padding: 5.6rem 0 16.5rem;
    margin: 0 auto;
}

@media (min-width: 769px) and (max-width: 1280px) {
    .serviceContainer {
        max-width: 90vw;
    }
}

.serviceContainer::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -10;
    background-image: url(../images/index/total-support-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    position: fixed;
}

.serviceContainer::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -9;
    background: rgba(0, 0, 0, 0.32);
}

.sectionTitle,
.sectionSubTitle {
    background: inherit;
}

.service .sectionTitle,
.service .sectionSubTitle {
    background: #fff;
}

.serviceCard__wrap {
    width: 100%;
    max-width: 70rem;
    margin: 0 auto;
}

@media (min-width: 769px) and (max-width: 1280px) {
    .serviceCard__wrap {
        max-width: 90vw;
    }
}

.serviceContainer__title {
    font-size: 4.8rem;
    text-align: center;
    font-family: var(--font-serif);
    text-align: center;
    color: #fff;
    padding-bottom: 1em;
}


/*-------------------------------
readMore
-------------------------------*/

.readMore {
    font-size: 2rem;
    letter-spacing: 0.1em;
    color: #fff;
    position: relative;
    transition: all 0.6s;
}

.readMore::after {
    font-family: "icomoon";
    content: "\e905";
    padding-left: 0.5em;
}

.readMore::before {
    display: block;
    position: absolute;
    bottom: -0.8rem;
    right: 0;
    left: 0;
    width: 100%;
    height: 0.2rem;
    background-color: #fff;
    content: "";
    transition: all 0.6s;
}

.readMore:hover,
.readMore:focus {
    letter-spacing: 0.16em;
    transition: all 0.6s;
    opacity: 1;
}

.readMore:hover::before,
.readMore:focus::before {
    transition: all 0.6s;
    transform: scaleX(0.2);
}

.service .readMore {
    position: absolute;
    right: 0;
    bottom: 7.5rem;
}

@media (max-width: 768px) {
    .readMore {
        right: 5vw !important;
    }
}


/*
****************************************************************
*
* .works
* PEACEの制作
*
****************************************************************
*/

.works {
    background: #000;
    position: relative;
    z-index: 1;
}

.bg-text {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vw;
    z-index: -1;
}

.bg-text__text {
    position: absolute;
    top: 40rem;
    right: -1em;
    font-size: 16rem;
    color: #4e4a4b;
    transform: rotate(90deg);
    display: block;
    opacity: 0.3;
    z-index: 2;
    letter-spacing: 0.1em;
    text-align: left;
}

.bg-text__text--2 {
    right: -0.9em;
    top: 50rem;
}

.works .sectionTitle::after {
    content: "About Work";
}

.works .sectionTitle {
    color: #fff;
}

.works .sectionTitle__deco {
    background: #fff;
}

.worksCard {
    width: 100%;
    max-width: 100rem;
    margin: 14rem auto 25rem;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
}

@media (min-width: 769px) and (max-width: 1280px) {
    .worksCard {
        max-width: 90vw;
    }
}

.worksCard__figure {
    display: block;
    width: 30.5rem;
    height: 50.6rem;
    overflow: hidden;
    display: block;
    position: relative;
}

.worksCard__img {
    display: block;
    position: relative;
    margin-top: 0;
    width: 100%;
    height: calc(100% + 100px);
    object-fit: cover;
    object-position: center top;
    /* safari filter対策 */
    will-change: filter;
    /* or transform */
    filter: blur(4px);
    -webkit-filter: blur(4px);
    opacity: 0;
}

.worksCard__textWrap {
    width: 37.5rem;
    color: #fff;
    position: relative;
    padding-bottom: 12rem;
}

.worksCard__title {
    font-size: 4.8rem;
    font-family: var(--font-serif);
    padding-bottom: 3.8rem;
    letter-spacing: 0.04em;
}

.worksCard__title span {
    display: inline-block;
    transform: scale(1, 0) skewX(5deg) rotate(-5deg);
    transition: all 1s;
}

.worksCard__title.appeartext span {
    animation: appeartext 0.2s forwards;
    transition: all 1s;
}

@keyframes appeartext {
    0% {
        transform: scaleY(0) skewX(5deg) rotate(-5deg);
    }
    100% {
        transform: scaleY(1) skewX(0deg) rotate(0deg);
    }
}

.worksCard__text {
    font-size: 2rem;
    font-family: var(--font-chikushi);
    font-weight: 400;
    line-height: 1.6;
}

.works .readMore {
    position: absolute;
    right: 0;
    bottom: 0;
}

.worksCard__figure--01 {
    top: -3rem;
}

.worksCard__figure--02 {
    right: -14rem;
}

@media (max-width: 768px) {
    .works {
        padding-bottom: 20rem;
    }
    .worksCard {
        margin: 14rem auto 0;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
    }
    .worksCard__figure {
        width: 74.6vw;
        height: 108vw;
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    .worksCard__textWrap {
        width: 69.6vw;
        padding-bottom: 6rem;
        padding-top: 5rem;
        left: 5vw;
    }
    .worksCard__title {
        font-size: 3.4rem;
        padding-bottom: 2rem;
    }
    .bg-text__text {
        font-size: 10rem;
        right: -1.7em;
        position: relative;
        top: 60vw;
    }
    .bg-text__text--2 {
        top: 260vw !important;
    }
}


/*
****************************************************************
*
* .contact
* CONTACT
*
****************************************************************
*/

.contact {
    background: #fff;
    padding: 20rem 0 0;
}

.contact__text {
    width: 60rem;
    margin: 0 auto;
    line-height: 1.2;
    padding-bottom: 3rem;
    font-size: 1.8rem;
    font-family: var(--font-chikushi);
}

@media (max-width: 768px) {
    .contact__text {
        padding-left: 5vw;
        padding-right: 5vw;
        width: 100%;
        line-height: 1.5;
    }
}


/*
****************************************************************
*
* .message
* メッセージ
*
****************************************************************
*/

.message {
    background: #fff;
    padding-bottom: 7rem;
}

.message .sectionTitle::after {
    content: "Message";
}

.messageContainer {
    width: 100%;
    max-width: 128rem;
    margin: 0 auto;
    display: flex;
    padding-right: 0;
    flex-direction: row;
    justify-content: center;
    padding-top: 9.7rem;
}

@media (min-width: 769px) and (max-width: 1280px) {
    .messageContainer {
        max-width: 90vw;
    }
}

.messageCard__textWrap {
    width: 100%;
    max-width: 56rem;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-right: 7rem;
}

.messageCard__title {
    font-weight: bold;
    letter-spacing: 0.1em;
    padding-bottom: 5rem;
}

.messageCard__text {
    line-height: 1.5;
    letter-spacing: 0.1em;
}

.messageCard__text--alignRight {
    font-size: 1.8rem;
    text-align: right;
    padding-top: 5rem;
}

@media (max-width: 768px) {
    .messageContainer {
        flex-direction: column-reverse;
        max-width: 90vw;
    }
    .messageCard__figure {
        transform: translateY(-5rem);
        width: 60%;
        margin: 0 auto;
    }
    .messageCard__img {
        width: 100%;
        height: auto;
    }
    .messageCard__textWrap {
        line-height: 1.8;
    }
    .messageCard__title {
        padding-bottom: 2rem;
    }
}