/****************** why ******************/
body{
    background-color: var(--background-color);
    margin-top: 120px;
}
#why-synapse {
    margin-bottom: 10vh;
    position: relative;
    padding: 0; /* 余白を取り消し */
}

#why-synapse .section-title {
    text-align: center;
    margin-bottom: 5vh;
}

.why-container {
    display: flex;
    flex-direction: row; /* スマホでは縦並び */
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 15vh;
}

.why-container {
    scroll-margin-top: 120px; /* ヘッダーの高さに応じて調整 */
}

.why-number-for-SP{
    display: none;
}

.why-number {
    width: 22%;
    text-align: center;
    font-size: 76px;
    color: white;
    margin: 0;
    padding: 0;
}

.why-contents {
    width: 50%;
    background-color: transparent;
    text-align: center;
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0; /* 上下にパディングを追加して内容のための空間を確保 */
}

.why-frame {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: fill; /* fill を使用して縦横比を無視し完全に埋める */
    z-index: 0; /* コンテンツの背後に配置 */
}

.why-title {
    position: absolute; 
    text-align: center;
    font-size: 24px;
    font-weight: 300;
    transform: translateY(-50%);
    top: 0;
    margin: 0; /*  */
    z-index: 1; /* フレームの上に表示 */
}

.why-text {
    position: relative; /* inherit から relative に変更 */
    text-align: left;
    color: var(--text-color);
    line-height: 1.6;
    margin: 10% 15%;
    z-index: 1; /* フレームの上に表示 */
}
.why-img{
    position: relative;
    width: 20%;
}

#why-img-01{
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    right: 0;
    object-fit: cover;
    z-index: -1;
}

#why-img-02{
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 130%;
    left: 0;
    object-fit: cover;
    z-index: -1;
}

#why-img-03{
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 105%;
    right: 0;
    object-fit: cover;
    z-index: -1;
}





/* メディアクエリ（スマホ表示） */
@media screen and (max-width: 767px) {
    .why-container{
        margin-bottom: 10vh;
    }

    .why-number{
        display: none;
    }

    .why-number-for-SP{
        position: absolute;
        display: block;
        color: white;
        text-align: center;
        top: 50%;
        left: 50%;
        margin: 0;
        padding: 0;
        transform: translate(-50%,-50%);
        z-index: -1;
        font-size: 108px;
    }

    .why-contents{
        width: 90%;
    }
    .why-img{
        display: none;
    }

    .why-title{
        font-size: 18px;
    }
    .why-text{
        font-size: 12px;
    }

}


/****************** member ******************/
#member {
    padding: 0 10%;
    text-align: center;
    margin-bottom: 10vh;
}

.member-message{
    text-align: left;
    margin-bottom: 10vh;
}

.img-container{
    position: relative;
    width: 56%;
    margin: 10vh auto;
}

.team-img{
    width: 100%;
    border-radius: 100px;
    display: block;
    height: auto;
}

.team-frame{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: fill;
}

#members {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.member {
    background-color: white;
    border-radius: 20px;
    padding: 5%;
    width: 30%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.member-name {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.member-text {
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
}

/* メディアクエリ（スマホ表示） */
@media screen and (max-width: 767px) {
    .member-message{
        text-align: left;
        margin: 0;
    }
    .img-container{
        width: 90%;
        margin: 10vh auto;
    }
    .member {
        width: 90%;
        margin: 5vh auto;
    }
}