@charset "utf-8";

.contents {
    margin: 80px 18% 0;
    display: flex;
    gap: 10%;
    align-items: flex-start;

}

.profile {
    margin-top: 129px;
}

.title span {
    font-size: 1.6rem;
    margin-top: 10px;
}


.name h2 {
    font-family: Lora;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 3rem;
    letter-spacing: 0.12rem;
}

.name span {
    font-size: 1.6rem;
    letter-spacing: 0.08rem;
    margin-top: 8px;
}

.contents__text img {
    margin-top: 16px;
}

.contents__text p {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.07rem;
    margin-top: 48px;
}

.contents__l {
    flex: 1;
    margin-top: 100px;
}

.contents__l img {
    width: 16px;
    height: auto;
}

.contents__r {
    width: 100%;
    max-width: 447px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.contents__r img {
    width: 100%;
    height: auto;
    display: block;
}


/* 1110px〜769px：画像をセンター */
@media screen and (min-width: 769px) and (max-width: 1110px) {
    .contents {
        flex-direction: column; /* 👈 縦並び */
        align-items: center; /* 👈 全体をセンター */
    }
    
    .contents__r {
        width: clamp(350px, 50vw, 447px);
        margin: 0 auto 40px; /* 👈 センター配置 */
        order: -1; /* 👈 画像を上に */
    }
    
    .contents__l {
        order: 1;
        margin-top: 0;
    }
}

/* sp 1110px */
@media screen and (max-width:768px) {
    .profile {
        margin-top: 41px;
    }

    .contents {
        flex-direction: column;
        margin: 80px 0 0;
    }

    .contents__r {
        width: clamp(280px, 84vw, 447px);
        height: auto;
        align-self: flex-end;
        order: -1;
    }

    .contents__r img {
        width: 100%;
        height: auto;
        aspect-ratio: 315 / 220;
        object-fit: cover;
    }

    .contents__l {
        order: 1;
        margin: 40px 7% 0;

    }
}

/* contents sp */

/* =================================
挨拶
================================== */

.aisatsu {
    margin: 200px 26% 0;
    text-align: center;
    max-width: 681px;
}

.vertical-title {
    display: inline-block;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 3rem;
    letter-spacing: 0.6rem;
    position: relative;
    padding-top: 79px;
}

.vertical-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 64px;
    background-color: #494B4D;
}

.aisatsu__txt {
    margin-top: 80px;
    text-align: start;
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.aisatsu__txt p {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.1rem;

}

/* sp 768px */

@media screen and (max-width:768px) {
    .aisatsu {
        margin: 120px 7% 0;
    }

    .aisatsu__txt p {
        font-size: 1.3rem;
        gap: 35px;
    }
}

/* sp aisatsu */

/* =================================
timeline
================================== */

.timeline {
    margin-top: 200px;
    background: linear-gradient(0deg, rgba(51, 51, 51, 0.80) 0%, rgba(51, 51, 51, 0.80) 100%), url(../img/keireki_bg.jpg) lightgray 50% / cover no-repeat;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

.timeline--container {
    max-width: 1133px;
    margin: 0 auto;
    padding: 193px 0;
    display: flex;
    justify-content: space-between;
}

.timeline .vertical-title::before {
    background-color: #fff;
}

.timeline__l {
    padding: 0 20px;
}

.timeline__r {
    max-width: 618px;
    position: relative;
    padding-left: 36px;

}

.timeline__r p {
    color: rgba(255, 255, 255, 0.80);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.05px;
}

.event {
    margin-top: 80px;
    position: relative;

}

.event:first-child {
    margin-top: 0;
}

.event__txt {
    margin-top: 15px;
}

.timeline__r::before {
    content: '';
    position: absolute;
    left: -0.5px;
    top: 7px;
    bottom: 0;
    width: 1px;
    background-color: #ddd;
}

.event::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #fff;
    transform: translateX(-50%);
}

/* sp 768px */

@media screen and (max-width:768px) {
    .timeline {
        margin-top: 80px;
    }

    .timeline--container {
        display: block;
        padding: 37px 7%;
    }

    .timeline__l {
        display: flex;
        padding: 0;
        justify-content: center;
    }

    .timeline__r {
        margin-top: 101px;
    }

    .event {
        margin-top: 64px;
    }
}

/* sp timeline  */

/* =================================
jisseki
================================== */

.jisseki {
    margin-top: 200px;
    text-align: center;
}

.jisseki__contents {
    margin: 58px auto 0;
    max-width: 270px;
}

.jisseki__contents .item {
    font-size: 1.6rem;
    line-height: 1.9;
    letter-spacing: 0.08rem;
    padding-top: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid#EBEFF2;
}

.jisseki__contents .right {
    text-align: right;
}

.jisseki__contents .right p {
    font-size: 1.4rem;
    line-height: 2;
    letter-spacing: 0.14rem;

}


/* sp 768px */

@media screen and (max-width:768px) {
    .jisseki {
        margin-top: 80px;
    }

    .jisseki__contents .item {
        font-size: 1.5rem;
    }
}

/* sp jisseki */

/* =================================
contact-recommend
================================== */

.contact-recommend {
    margin: 216px auto 0;
    width: 90%;
    max-width: 570px;
    text-align: justify;
    padding-left: 27px;
    box-sizing: border-box;
}

.contact-recommend h2 {
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.28rem;
    position: relative;
    display: inline-block;
    padding-left: 67px;
}

.contact-recommend h2::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 56px;
    height: 1px;
    background-color: #494B4D;
}

.list {
    margin-top: 80px;
}

.list li {
    font-size: 1.8rem;
    line-height: 1.7;
    letter-spacing: 0.2rem;
    text-align: start;
    position: relative;
    padding-left: 32px;
    margin-top: 18px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.list li.show {
    opacity: 1;
    transform: translateY(0);
}

.list li:first-of-type {
    margin-top: 0;
}

.list li::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 16px;
    height: 16px;
    color: #494B4D;
    background-image: url(../img/checkbox.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}



/* sp 650px */

@media screen and (max-width:650px) {
    .contact-recommend {
        margin-top: 120px;
        text-align: center;
        

    }

    .contact-recommend h2 {
        padding-left: 38px;
        font-size: 1.6rem;
        line-height: 1.9;
        letter-spacing: 0.2rem;
    }

    .contact-recommend h2::before {
        width: 27px;
    }

    .list{
        margin-top: 40px;
        text-align: left; /* 👈 リスト内は左揃え */
        display: inline-block; /* 👈 必須！ */
        width: auto; /* 👈 コンテンツ幅に */
    }



    .list li {
        font-size: 1.3rem;
    }
}