@charset "UTF-8";
/**********************
- ROOT
- BASE
- GENERAL
  -- FONT
  -- ALIGN
  -- FLEX
  -- LIST
  -- OTHER
- HEADER
- BREADCRUMB
- CONTAINER
- HEADING
- BUTTON
- FOOTER
- ARCHIVE
- SINGLE
- CONTACT
- FRONT
- PAGE PARTS
- LOADING
- COLOR
- MARGIN
- ANIMATION
- RESPONSIVE
***********************/

/**********************
* ブレイクポイント
* 560px/960px
**********************/


/*********************
ROOT
**********************/
:root {
    --base: #FAF7EE;
    --bg-1: #EBF1DF;
    --bg-2: #FEFBE5;
    --text-main: #5E5950;
    --bg-image: url(../../assets/image/common/texture.webp);


    --accent-color-1: #7CB180;
    --accent-color-2: #F0B43D;
    --gradient: linear-gradient(70deg, #5DC5F7, #FA966B);

    --font-jp: "fot-tsukubrdgothic-std", sans-serif;
    --font-en: "Bellefair", serif;
    --font-number: "Amiri", serif;
    --light: 300;
    --normal: 400;
    --bold: 700;

    --container: calc(1920px + 6%);
    --container-side: 3%;
    --container-ll: 1600px;
    --container-l: 1200px;
    --container-m: 960px;
    --container-s: 660px;
    --container-ss: 480px;

    --letter-spacing-en: .08em;
    --letter-spacing-nomal: .1em;
    --letter-spacing-wide: .24em;

}

/**********
message
**********/
section#message .container-l {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

section#message .image {
    width: 33.3%;
}

section#message .text {
    width: 58.3%;
    position: relative;
}

section#message .text::before {
    position: absolute;
    content: "";
    background-image: url(../../assets/image/common/accent02.webp);
    background-size: cover;
    top: 20%;
    right: 20%;
    transform: translate(50%, -50%);
    width: 103.4%;
    height: auto;
    aspect-ratio: 1/1;
    z-index: -1;
}

section#message .text>p {
    padding-top: 10rem;
}

section#message .name {
    font-size: 2rem;
    text-align: right;
    padding-top: 6rem;
}

@media screen and (max-width: 960px) {
    section#message .text::before {
        top: 30%;
        right: 13%;
        width: 75.4%;
    }

    section#message .text>p {
        padding-top: 6rem;
    }


    section#message .name {
        font-size: 1.8rem;
        padding-top: 4rem;
    }
}

@media screen and (max-width: 560px) {
    section#message .container-l {
        flex-direction: column;
    }

    section#message .image {
        width: 68.2%;
    }

    section#message .text {
        width: 100%;
        padding-top: 6rem;
    }

    section#message .text>p {
        padding-top: 4rem;
    }

    section#message .name {
        font-size: 1.6rem;
        padding-top: 2rem;
    }
}

/**********
about
**********/
section#about {
    position: relative;
    padding: 42rem 0;
    margin-bottom: 20rem;
}


section#about::before {
    position: absolute;
    content: "";
    top: -20rem;
    left: 0;
    width: 100%;
    height: 620px;
    background-image: url(../../assets/image/philosophy/about-accent.webp);
    background-size: cover;
    z-index: -1;
}

section#about::after {
    position: absolute;
    content: "";
    bottom: -20rem;
    left: 0;
    width: 100%;
    height: 620px;
    background-image: url(../../assets/image/philosophy/about-accent.webp);
    transform: scale(-1, -1);
    background-size: cover;
    z-index: -1;
}

section#about .about-top {
    position: absolute;
    top: 16rem;
}

section#about .content.bg {
    background: var(--bg-image), var(--bg-1);
    padding-bottom: 10rem;
}

ul.about-list {
    display: flex;
    flex-direction: column;
    gap: 12rem;
}

li.about-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

li.about-item:nth-child(even) {
    flex-direction: row-reverse;
}

li.about-item .text {
    width: 50%;
}

li.about-item .text .title {
    display: flex;
    justify-content: space-between;
    gap: 5.8%;
}

li.about-item .text .title .number {
    font-family: var(--font-number);
    font-size: 8rem;
    letter-spacing: 0;
    color: var(--accent-color-1);
    line-height: 100%;
}

li.about-item .text .title h3 {
    flex: 1;
    font-size: 2.4rem;
    font-weight: var(--bold);
}

li.about-item .text p {
    padding-top: 6rem;
}

li.about-item .image {
    width: 46vw;
    height: 533px;
    position: relative;
}

li.about-item:nth-child(odd) .image {
    margin-right: calc(46% - 50vw);
}

li.about-item:nth-child(even) .image {
    margin-left: calc(46% - 50vw);
}

li.about-item:nth-child(odd) .image img {
    border-radius: 60px 0 0 60px;
}

li.about-item:nth-child(even) .image img {
    border-radius: 0 60px 60px 0;
}

li.about-item .image::after {
    position: absolute;
    content: "";
    top: 0;
    right: -40%;
    transform: translate(-50%, -50%);
    width: clamp(200px, 21vw, 400px);
    height: auto;
    aspect-ratio: 1/1;
    background-image: url(../../assets/image/common/accent02.webp);
    background-size: cover;
}

li.about-item:nth-child(even) .image::after {
    left: -40%;
    transform: translate(50%, -50%);
}

ul.text-animation {
    display: flex;
    overflow: hidden;
    position: absolute;
    bottom: -10rem;
    left: 0;
}

ul.text-animation li {
    color: var(--bg-1);
    font-size: clamp(4rem, 14vw, 16rem);
    font-family: var(--font-en);
    text-transform: capitalize;
    padding-right: 4vw;
    white-space: nowrap;
    animation: loop 30s linear infinite;
}

@keyframes loop {
    0% {
        transform: translateX(0%);
    }

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


@media screen and (max-width: 960px) {
    section#about {
        padding: 22rem 0;
        margin-bottom: 16rem;
    }

    section#about::before {
        top: -16rem;
        height: 420px;
    }

    section#about::after {
        bottom: -16rem;
        height: 420px;
    }

    section#about .about-top {
        position: absolute;
        top: 8rem;
    }

    li.about-item .text .title {
        flex-direction: column;
    }

    li.about-item .text .title .number {
        font-size: 4rem;
    }

    li.about-item .text .title h3 {
        font-size: 1.8rem;
    }

    li.about-item .text p {
        padding-top: 2rem;
    }

    li.about-item .image {
        height: 320px;
    }


    li.about-item:nth-child(odd) .image img {
        border-radius: 40px 0 0 40px;
    }

    li.about-item:nth-child(even) .image img {
        border-radius: 0 40px 40px 0;
    }

    li.about-item .image::after {
        top: 0;
        right: -30%;
        width: clamp(140px, 16vw, 200px);
    }

    ul.text-animation {
        bottom: -6rem;
    }
}

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

    li.about-item,
    li.about-item:nth-child(even) {
        flex-direction: column-reverse;
    }

    li.about-item .image {
        width: 100%;
        height: auto;
        aspect-ratio: 3/2;
    }

    li.about-item .text {
        width: 100%;
        padding-top: 2rem;
    }

    li.about-item .text .title {
        flex-direction: row;
    }

    li.about-item .text .title h3 {
        font-size: 1.6rem;
    }

    ul.text-animation {
        bottom: 2rem;
    }
}

/**********
# history
**********/
ul.history-list {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: auto;
    padding-top: 10rem;
}

li.history-item {
    display: flex;
    justify-content: space-between;
    gap: 12.5%;
    padding-bottom: 8rem;
    position: relative;
}

li.history-item::before {
    position: absolute;
    top: 50px;
    left: 42px;
    content: "";
    display: block;
    width: 1px;
    height: calc(100% - 70px);
    position: absolute;
    background-color: #918D86;
}

li.history-item dt {
    font-size: 4rem;
    color: var(--accent-color-1);
    font-weight: var(--bold);
    font-family: var(--font-number);
    letter-spacing: 0;
    line-height: 100%;
    width: 140px;
}


li.history-item dd {
    flex: 1;
}

li.history-item dd .title {
    font-size: 2rem;
    font-weight: var(--bold);
}

li.history-item dd p {
    padding-top: 1rem;
}

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

    ul.history-list {
        padding-top: 8rem;
    }

    li.history-item {
        gap: 8%;
        padding-bottom: 6rem;
    }

    li.history-item::before {
        top: 40px;
        left: 34px;
        height: calc(100% - 60px);
    }

    li.history-item dt {
        font-size: 3.2rem;
        width: 110px;
    }

    li.history-item dd .title {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 560px) {
    ul.history-list {
        padding-top: 6rem;
        gap: 5.7%;
    }

    li.history-item dt {
        font-size: 2.4rem;
        width: 80px;
    }

    li.history-item::before {
        top: 30px;
        left: 26px;
        height: calc(100% - 40px);

    }
}