/* =================================================================
   TOP
   ================================================================= */

/* -----------------------------------
   header / common
   ----------------------------------- */

/* --- メニューナビ --- */
#menu ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

#menu ul li a {
    color: #222;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}
#menu ul li a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    #menu ul {
        margin: 0 -0.5rem 1.5rem;
    }
}

@media screen and (max-width: 400px) {
    #menu ul li a {
        font-size: 0.7rem;
    }
}

/* --- メインビジュアル --- */
#mainvisual img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top;
}

@media screen and (max-width: 768px) {
    #mainvisual img {
        height: 200px;
        object-position: 80%;
    }
}


/* --- 共通レイアウト --- */
#main .section {
    padding: 3.5rem 0;
}

#main .section .section-title {
    font-size: 1.75rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-align: center;
}

#main .section .section-text {
    font-size: 0.85rem;
    line-height: 2.0;
    text-align: center;
}

#main .section .section-text li {
    margin: auto;
    width: fit-content;
}

@media screen and (max-width: 767px) {
    #main .section {
        padding: 3rem 0;
    }

    #main .section .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    #main .section p.section-text,
    #main .section .section-text li {
        text-align: left;
    }
}


/* -----------------------------------
   profile / プロフィール
   ----------------------------------- */
#profile .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

#profile .profile-img {
    width: 140px;
}

#profile .profile-text {
    max-width: 38rem;
    margin-left: 3.5rem;
}

#profile .profile-text .name {
    font-weight: normal;
}

#profile .profile-text .name span {
    font-size: 1.25rem;
    letter-spacing: 0.03em;
}

#profile .profile-text ul {
    font-size: 0.85rem;
    line-height: 2.0;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    #profile .container {
        flex-direction: column;
    }
    
    #profile .profile-img {
        width: 130px;
        margin-bottom: 1rem;
    }

    #profile .profile-text {
        margin-left: 0;
    }

    #profile .profile-text .name {
        font-size: 1.15rem;
        font-weight: bold;
        text-align: center;
    }

    #profile .profile-text ul li {
        margin-top: 0.25rem;
    }
}


/* -----------------------------------
    concept / コンセプト
   ----------------------------------- */
#concept {
    background-image: url(../img/index_concept_bg_pc.jpg);
    background-attachment: fixed;
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
}

#concept .concept-text {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(3px);
    padding: 2rem;
}

#concept .concept-text p {
    line-height: 2.0;
}

#concept .concept-text p+p {
    margin-top: 1.5rem;
}

@media screen and (max-width: 767px) {
    #concept {
        background-image: url(../img/index_concept_bg_sp.jpg);
        background-position: left bottom;
        background-attachment: scroll;
    }

    #concept .concept-text {
        background-color: rgba(255, 255, 255, 0.7);
        backdrop-filter: none;
        padding: 1.8rem;
    }

    #concept .concept-text p {
        text-align: justify;
    }

    #concept .concept-text p+p {
        margin-top: 1.1rem;
    }

    #concept .concept-text p br {
        display: none;
    }
}


/* -----------------------------------
    service / サービス
   ----------------------------------- */
#service .service-list {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

#service .service-list .item .title {
    font-size: 1.15rem;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

#service .service-list .item .menu {
    font-size: 0.85rem;
    line-height: 2.0;
}

@media screen and (max-width: 767px) {
    #service .service-list {
        flex-direction: column;
        gap: 2.5rem;
    }

    #service .service-list .item {
        width: 300px;
        margin: 0 auto;
    }
}
