/* styles.css */
body {
    /* display: flex; */
    justify-content: center;
    align-items: center;
    height: 90vh;
    margin: 0;
    font-family: Arial, sans-serif;
}

.clock-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap; /* 追加 */
    justify-content: center; /* 追加 */
}

.clock-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px; /* 修正 */
}

.digital-clock {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center; /* 追加 */
}

.analog-clock {
    border: 1px solid #000;
    border-radius: 50%;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px; /* 修正 */
}

.input-group label {
    margin: 5px 0;
}

.input-group input {
    width: 50px;
    text-align: center;
}

/* スマホ用のスタイル */
@media (max-width: 600px) {
    .clock-container {
        flex-direction: column; /* 縦並びに変更 */
    }

    .clock-group {
        margin: 10px 0; /* 縦方向のマージンを調整 */
    }

    .input-group {
        margin: 10px 0; /* 縦方向のマージンを調整 */
    }

    .digital-clock {
        font-size: 18px; /* フォントサイズを調整 */
    }

    .analog-clock {
        width: 150px; /* サイズを調整 */
        height: 150px; /* サイズを調整 */
    }
}

#clock-set{
    margin: 5px 0;
    padding: 2px 0;
    width: -webkit-fill-available;
}
