@charset "UTF=8";
body {
    background-color: #e7e1de;
}
main {
    padding: 0 3rem 5rem 3rem;
}
#about .about__grid {
    padding-top: 10rem;
    padding-bottom: 3rem;
    height: 150vh;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
#about .grid__img { grid-area: 1 / 1 / 2 / 4; }
#about .grid__title { grid-area: 2 / 3 / 3 / 4; }
#about .grid__text { grid-area: 1 / 2 / 3 / 3; }
#about .grid__logo { grid-area: 2 / 1 / 3 / 2; }


#about .grid__img img {
    width: 90%;
    border: 0.2rem solid #222;
}
#about .grid__title {
    align-self: center;
}
#about .grid__text {
    writing-mode: vertical-rl; /* 縦書き */
    text-orientation: upright;
    letter-spacing: 1rem;
    font-size: 2.4rem;
    justify-self: center;
    align-self: center;
}
#about .grid__text h3 {
    font-weight: lighter;
}
#about .grid__logo {
    align-self: end;
}

#about .about__content {
    padding-top: 3rem;
    font-size: 1.6rem;
    text-align: left;
    line-height: 2;
}
#about .about__content p span {
    display: inline-block;
    padding-bottom: 1.5rem;
    text-align: left;
}
.button {
    color: #ffffff;
    border: 1px solid #c37b44;
}
.btn-center {
    display: flex;
    justify-content: center;
}
.btn__container {
    background-color: #c37b44;
    border: 1px solid #c37b44;
    line-height: 1;
}
.button:active {
    background-color: #c37b44;
}
.button:active .btn__container {
    background-color: #e7e1de;
    color: #c37b44;
}

#profile {
    text-align: center;
}
#profile .grid__title {
    display: flex;
    justify-content: center;
}
#profile .grid__img {
    text-align: left;
    font-size: 0;
}
#profile .grid__img .name-en {
    font-size: 1.6rem;
}
#profile .grid__img .name-jp {
    font-size: 2rem;
}
#profile .grid__img img {
    width: 100%;
    padding: 0;
    border: 0.2rem solid #222;
    display: block;
}
#profile .profile__list {
    font-size: 1.6rem;
    margin: 5rem 0;
}
#profile .profile__list li {
    margin-bottom: 6.7rem;
    position: relative;
}
#profile .profile__list li::after {
    content: "";
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 37px;
    background-image: url(../svg/profilelist.svg);
    background-size: cover; /* サイズを調整 */
    background-repeat: no-repeat;
    margin-top: 1.5rem;
}
#profile .profile__list li:last-child::after {
    content: none;
}
#profile .profile__list li:last-child {
    margin-bottom: 0;
}

@media screen and (min-width:768px) {
    #about .about__grid {
        padding-bottom: 5rem;
    }
    #about .grid__img {
        grid-area: 1 / 1 / 2 / 3; 
    }
    #about .grid__img img {
        width: 100%;
        border: 0.4rem solid #222;
    }
    #about .grid__text {
        font-size: 3.2rem;
    }
    #about .grid__title {
        justify-self: center;
    }
    #about .grid__logo {
        align-self: end;
        justify-self: end;
        width: 70%;
    }
    #about .about__content {
        padding-top: 5rem;
        font-size: 2rem;
        display: flex;
        justify-content: flex-end;
        letter-spacing: 0.4rem;
    }
    #about .about__content p span {
        padding-bottom: 5rem;
    }

    #profile .profile__grid {
        margin-top: 10rem;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        height: 70vh;
    }
    #profile .grid__title {
        justify-self: center;
        align-self: start;
        grid-area: 1 / 1 / 3 / 2;
    }
    #profile .grid__img {
        justify-self: end;
        align-self: end;
        grid-area: 1 / 2 / 3 / 3;
    }
    #profile .grid__img p {
        display: inline-block;
    }
    #profile .grid__img .name-en {
        font-size: 2rem;
    }
    #profile .grid__img .name-jp {
        font-size: 2.4rem;
    }
    #profile .grid__img img {
        border: 0.4rem solid #222;
        width: 80%;
    }
    #profile .profile__list {
        font-size: 2rem;
        margin: 10rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #profile .profile__list li {
        margin-bottom: 10rem;
        width: 80%;
    }
    #profile .profile__list li::after {
        margin-top: 3rem;
    }
}
@media screen and (min-width:1024px) {

    #about .grid__img {
        grid-area: 1 / 1 / 2 / 2; 
    }
    #about .grid__title {
        justify-self: end;
    }
    #about .grid__logo {
        width: 50%;
    }
    #about .about__content {
        font-size: 2.4rem;
    }
    #about .about__content--wrapper {
        width: 70%;
    }
    #profile .profile__grid {
        height: 100vh;
    }
    #profile .grid__title {
        justify-self: center;
        align-self: start;
    }
    #profile .grid__img {
        justify-self: end;
        align-self: end;
        grid-area: 1 / 2 / 3 / 3;
    }
    #profile .grid__img img {
        width: 60%;
    }
    #profile .grid__img .name-en {
        font-size: 2rem;
    }
    #profile .grid__img .name-jp {
        font-size: 2.4rem;
    }
    #profile .profile__list {
        font-size: 2.4rem;
    }
    #profile .profile__list li {
        width: 50%;
    }
    .button:hover {
        background-color: #ffffff00;
    }
    .button:hover .btn__container {
        background-color: #ffffff00;
        border: 1px solid #c37b44;
        color: #c37b44;
    }
}