@charset "UTF-8";
html {
        scroll-behavior: smooth;
    }
    body {
        background-color: #fff8f8;
        font-family: sans-serif;
        margin: 0;
        padding: 0;
    }

    /* --- Header --- */
    .header-bar {
        background-color: transparent; 
        height: 75px;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 100;
        transition: all 0.5s ease;
    }

    .header-bar.scrolled {
        background-color: #fff8f8;
        box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.3);
    }

    .header-txt {
        height: 75px;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 102;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    .header-txt a {
        color: #ffffff;
        text-decoration: none;
        font-size: 18px;
        font-weight: 700;
        margin: 0 15px;
        display: inline-block;
        /* transition: all 0.3s ease;変形の時間 */
        position: relative; /* 下線の基準位置 */
    }

    .header-txt a::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -2px; /* 下線の位置 */
        width: 0; /* 初期状態の横幅 */
        height: 2px;
        background-color: #ffffff;
        transform: scaleX(0);
        transform-origin: right; /* 下線の伸びる方向 */
        transform: translateX(-50%);
        transition: all 0.3s ease;/* 変形の時間 */
    }

    .header-txt a:hover::after {
        width: 100%; /* 幅を100%に設定 */
    }

    /* .header-txt a:hover {
        color: rgb(192, 192, 192);
        letter-spacing: 0.05em;
    } */

    .header-txt.scrolled a {
        color: #21211f;
    }

    .header-txt.scrolled a::after {
        background-color: #21211f;
    }

    /* --- Banner --- */
    .banner {
        position: relative;
        /* z-index: 101; */
        background-image: url('../images/banner.jpg');
        background-size: cover;
        background-position: center;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        background-attachment: fixed;
        box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.3);
    }

    .banner-content h1 {
        font-size: 18vw;
        margin: 0;
        font-family: 'Montserrat', sans-serif;
        text-align: center;
        transform: scaleY(1.3);
        line-height: 1;
        user-select: none;
    }

    /* --- Common Layout --- */
    .inner-container {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .inner-container {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 20px;
        font-size : 20px;
    }

    section {
        padding: 60px 20px; /* セクション上下の余白 */
        scroll-margin-top: 0px; /* アンカーを使った際のスクロール位置の調整*/
    }

    h2 {
        font-size: 48px;
        margin-bottom: 20px;
    }

    /* --- Profile Section --- */
    #profile {
        position: relative;
        padding: 75px 0px;
    }

    .side-deco-about {
        position: absolute;
        left: 0;
        top: -20px;
        z-index: -1;
        font-family: 'Montserrat', sans-serif;
        font-size: 200px;
        font-weight: 700;
        color: rgba(0, 0, 0, 0.05);
        white-space: nowrap;
        pointer-events: none;
        padding: 75px 0;    /* ヘッダーの高さ分の余白を追加 */
    }

    .profile-container {
        display: flex;
        align-items: center;
        gap: 28px;
        padding: 25px 0;
    }

    .profile-container:hover .profile-image {
        transform: scale(1.05); /* ホバーで少し大きく */
    }

    .profile-image {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        flex-shrink: 0;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .profile-text h3 {
        margin: 0;
        font-size: 24px;
    }

    .profile-text p {
        margin: 10px 0 0;
        font-size: 22px;
    }

    /* --- Contributors Section (The Focus) --- */
    .contributors-background {
        background-color: #fff8f8; 
        width: 100%;
        margin: 0;
        padding: 40px 0;
    }

    .frend-container {
        display: flex;
        align-items: center;
        gap: 28px;
        padding: 25px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05); /* メンバー間の区切り線 */
    }

    .frend-container:last-child {
        border-bottom: none;
    }

    .frend-image {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        flex-shrink: 0;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .frend-container:hover .frend-image {
        transform: scale(1.05); /* ホバーで少し大きく */
    }

    .frend-text h3 {
        margin: 0;
        font-size: 24px;
    }

    .frend-text p {
        margin: 10px 0 0;
        font-size: 20px;
    }

    /* --- Activity & Others --- */
    #activity p {
        line-height: 2;
        border-left: 2px solid #4b4b4b;
        padding-left: 20px;
    }

    .site-footer {
        background-color: #333;
        color: white;
        padding: 60px 20px;
        text-align: center;
    }

    .footer-sns {
        margin-bottom: 30px;
        display: flex;
        justify-content: center;
        gap: 25px;
    }

    .footer-sns a {
        color: #bbb;
        text-decoration: none;
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        font-weight: 700;
        transition: 0.3s;
    }

    .footer-sns a:hover {
        color: white;
        letter-spacing: 0.2em;
    }

    .copyright {
        font-size: 12px;
        color: #777;
    }