body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    /* Neutral background */
    color: #333;
    /* Neutral text color */
    margin: 0;
    padding: 0;
    margin-bottom: 60px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px;
    background-color: #ff6d91;
    /* Shocking Pink */
    color: #fff;
    text-align: center;
    font-size: 24px;
    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    flex-wrap: wrap;
    z-index: 1010; /* Added this line */
}

nav {
    display: flex;
    gap: 10px;
    margin-right: 20px;
}

nav a {
    font-size: 16px;
    margin-right: 15px;
    color: white;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
    /* ホバー時にアンダーラインを追加 */
}

footer {
    width: 100%;
    background-color: #ff6d91;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: fixed;
    /* Add this line */
    bottom: 0;
    /* Add this line */
    left: 0;
    /* Add this line */
}

button {
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #ff6d91;
    /* Shocking Pink */
    color: #fff;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #e64d85;
    /* Slightly darker Shocking Pink */
    transform: translateY(-3px);
}

main {
    padding-top: 100px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 80px;
}

.control-group {
    margin-bottom: 15px;
}

label {
    font-weight: bold;
    /* Added font weight */
}

input[type="text"],
input[type="file"] {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.fixed-button {
    position: fixed;
    top: 65px;
    /* ヘッダーの高さに合わせて調整 */
    left: 15px;
    width: 90%;
    height: 70px;
    background-color: #fff;
    z-index: 1000;
    padding: 15px;
    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

#connectButton {
    margin-right: 20px;
    /* 右側のマージンを追加 */
}

button:disabled {
    filter: grayscale(100%);
}

details {
    margin-bottom: 20px; /* 項目間のスペースを増やす */
    border: 1px solid #ccc; /* 境界線を追加 */
    border-radius: 5px; /* 角丸を追加 */
    padding: 10px; /* 内側の余白を追加 */
    background-color: #f9f9f9; /* 背景色を薄く設定 */
}
summary {
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1.1em; /* タイトルのフォントサイズを大きく */
}
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
button {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    background-color: #ff6d91;
    color: white;
    cursor: pointer;
}
button:hover {
    background-color: #ff8da1;
}.keyboard-output-grouped-section {
    border: 2px solid #ff6d91; /* Shocking Pinkで境界線を設定 */
    padding: 20px; /* 内側の余白を追加 */
    margin: 20px; /* 外側の余白を追加 */
    border-radius: 10px; /* 角を丸くする */
}

/* アニメーション設定用のスタイル */
.animation-frame {
    margin-bottom: 10px;
    padding: 5px;
    border-bottom: 1px solid #eee;
}

.animation-frame:last-child {
    border-bottom: none;
}

.animation-frame label {
    display: inline-block;
    width: 60px;
}