body {

    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.8;
    color: #fff;
    
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
   
    background-image: url('images/bg-monstera.png'); 
    
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

header {
    position: relative;
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
}

header h1 {
    font-size: 3rem;
    font-family: "Black Han Sans", sans-serif;
    /*sans-serif もし指定したフォントが読み込めなかったら、標準のゴシック体を使ってね！*/
}
header p {
    position: relative; 
}

section {
    /* 背景を白の半透明に */
    background: rgba(255, 255, 255, 0.15); 
    
    /* 背後をぼかす */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* 枠線（ほんのり緑を混ぜるとヘッダーと馴染みます） */
    border: 1px solid rgba(22, 55, 203, 0.2);
    border-radius: 12px;
    
    padding: 30px;
    margin-top: 30px;
    
    /* 影を柔らかく */
    box-shadow: 0 8px 32px 0 rgba(39, 174, 96, 0.1);
    
    transition: transform 0.3s ease, background 0.3s ease;
    color: #fff;
}

/* ホバー時の演出もグラス感をアップ */
section:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.5); /* 少し明るく */
}

section:hover {
    transform: translateY(-5px);
}

h2 {
    color: #ffffff;
    font-size: 1rem;
    border-bottom: 2px solid #9fae9b;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

/* リストアイテム：線形探索法～、バブル～ */
li {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.65);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    border-left: 4px solid #2c4135;

    /* 【追加】ガラスの輪郭をうっすら引き締める、細い白線（上・右・下に適用されます） */
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

#works li {

/* 線形探索法アルゴリズム */
    color: #2c4135;
}

/* バブルソート */
#works li strong {
    color: #2c4135;
}

/* リンクボタン */
.button-group a {
    color: rgb(255, 255, 255); 

    background-color: rgba(96, 126, 66, 0.4);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(96, 126, 66, 0.6);

    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(96, 112, 103, 0.2);
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 40px 0;
    color: #636e72;
}
