﻿/* 基本スタイル */
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #e3f2fd;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 650px;
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 87, 155, 0.15);
    margin-top: 40px;
}

h1 {
    text-align: center;
    color: #01579b;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 30px;
}

h2 {
    text-align: left;
    color: #0277bd;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3f2fd;
    font-size: 1.4rem;
}

.time-display {
    text-align: center;
    font-size: 4rem;
    color: #0d47a1;
    font-weight: 300;
    background-color: #f5faff;
    padding: 20px 10px;
    border-radius: 10px;
    margin-bottom: 35px;
    letter-spacing: 2px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

button {
    padding: 15px 0;
    width: 180px;
    font-size: 1.2rem;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

#clock-in {
    background: linear-gradient(45deg, #42a5f5, #1e88e5);
}

#clock-out {
    background: linear-gradient(45deg, #ff7043, #f4511e);
}

#log-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.95rem;
}

#log-table th, #log-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

#log-table th {
    color: #01579b;
    font-weight: 700;
}

#log-table tbody tr {
    transition: background-color 0.2s ease;
}

#log-table tbody tr:nth-child(even) {
    background-color: #f7f9fc;
}

#log-table tbody tr:hover {
    background-color: #e3f2fd;
}