@charset "utf-8";
/*==========================
header
==========================*/
.nav__item:nth-of-type(4) {
    color: var(--primary-skyBlue);
    position: relative;
}

.nav__item:nth-of-type(4)::before {
    content: '';
    display: inline-block;
    width: 24%;
    height: 1px;
    background-color: var(--primary-skyBlue);
    position: absolute;
    top: 50%;
    transform: translateY(-50%); 
}

/* header pc */
@media screen and (min-width:769px) {
    .nav__item:nth-of-type(4) a {
        text-decoration: underline var(--primary-skyBlue);
        text-underline-offset:5px;
    }

    .nav__item:nth-of-type(4)::before {
        display: none;
    }
}/* pc 769px */

/*==========================
philosophy
==========================*/
.flex--philosophy div {
    margin: 0 auto;
    padding: 0 8.8%;
}

.philosophy__img {
    box-shadow: 10px 10px 0 0 var(--primary-blue);
}

.philosophy__name {
    font-size: 1.6rem;
    font-weight: 400;
    margin-top: 25px;
}

.topic--philosophy {
    display: block;
    font-family: "Noto Serif JP";
    font-size: 2rem;
    font-weight: 700;
    line-height: 2;
    writing-mode: vertical-rl;
    margin: 40px auto 0;
}

/* philosophy pc */
@media screen and (min-width:769px) {
    .flex--philosophy {
        display: flex;
        justify-content: center;
    }

    .flex--philosophy div {
        width: 50%;
        margin: 0;
        padding: 0;
    }

    .philosophy__img {
        box-shadow: 30px 30px 0 0 var(--primary-blue);
    }

    .philosophy__name {
        font-size: 2rem;
        margin-top: 60px;
    }

    .topic--philosophy {
        font-size: 3.2rem;
        margin: 0 0 0 11%;
    }
}/* pc 769px */

/*==========================
profile
==========================*/
.profile__list {
    display: block;
    width: 276px;
    margin: 0 auto;
}

.profile__flex {
    display: flex;
    margin-top: 40px;
}

.profile__topic {
    font-size: 1.6rem;
    font-weight: 500;
    width: 64px;
}

.profile__txt {
    font-size: 1.6rem;
    font-weight: 400;
    margin-left: 20px;
}

.profile__txt__address {
    line-height: 1.5;
    margin-top: 15px;
}

.profile__txt__address:first-of-type {
    margin-top: 0;
}

.profile_address {
    display: block;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 10px;
}

/* profile pc */
@media screen and (min-width:769px) {
    .profile__list {
        margin: 80px auto 0;
        width: 583px;
    }

    .profile__flex {
        margin-top: 50px;
    }

    .profile__topic {
        font-size: 2rem;
        width: 80px;
    }

    .profile__txt {
        font-size: 2rem;
        margin-left: 120px;
    }

    .profile__txt__address {
        line-height: 1.5;
        margin-top: 30px;
    }

    .profile__txt__address:first-of-type {
        margin-top: 0;
    }

    .profile_address {
        margin-bottom: 10px;
    }
}/* pc 769px */

/*==========================
photoes
==========================*/
.flex--photoes {
    display: flex;
    justify-content: center;
    gap: 2%;
}

.photoes__img1,
.photoes__img2 {
    width: 40%;
}

/* photoes pc */
@media screen and (min-width:769px) {
    .flex--photoes {
        gap: 1.5%;
    }

    .photoes__img1,
    .photoes__img2 {
        width: 31%;
    }
}/* pc 769px */

/*==========================
history
==========================*/
.history__list {
    display: block;
    margin: 40px auto 0;
    width: 276px;
}

.history__flex {
    margin-top: 40px;
    font-size: 1.6rem;
    font-weight: 400;
}

.history__date {
    font-weight: 400;
}

.history__txt1 {
    line-height: 1.5;
    margin-top: 13px;
}

.history__txt {
    margin-top: 15px;
}

/* profile pc */
@media screen and (min-width:769px) {
    .history__list {
        margin: 80px auto 0;
        width: 746px;
    }

    .history__flex {
        display: flex;
        margin-top: 50px;
        font-size: 2rem;
    }

    .history__date {
        width: 156px;
    }

    .history__txt1,
    .history__txt {
        line-height: 1;
        margin: 0 0 0 130px;
    }
}/* pc 769px */

/*==========================
footer
==========================*/
.footerNav__item:nth-of-type(4) {
    color: var(--primary-skyBlue);
    position: relative;
}

.footerNav__item:nth-of-type(4)::before {
    content: '';
    display: block;
    width: 24%;
    height: 1px;
    background-color: var(--primary-skyBlue);
    position: absolute;
    top: 50%;
}

/* footer pc */
@media screen and (min-width:769px) {
    .footerNav__item:nth-of-type(4) a {
        text-decoration: underline var(--primary-skyBlue);
        text-underline-offset:5px;
    }

    .footerNav__item:nth-of-type(4)::before {
        display: none;
    }
}/* pc 769px */