* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;

    color: #6C7B91;
    background: radial-gradient(#E6EFF6, #C9DCEA);
}

header {
    width: 100%;
    display: flex;
    text-align: left;
    background: radial-gradient(#D5E0E8, #E8F2F7);
    border: 2px solid #DEE9F3;
    box-shadow:
        -5px -5px 30px rgba(255, 255, 255, 0.8),
        5px 5px 50px rgba(0, 40, 100, 0.3);
}

header .logo {
    margin: 1%;
    width: 50%;
}

h1 {
    margin-top: 10px;
    margin-bottom: 0;
}

main {
    width: 80%;
    max-width: 700px;
    height: 100%;
}

.today {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.today::before {
    content: "";
    position: absolute;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    background: radial-gradient(#ff6565, #ff7070);
    border: 1px solid #ff6565;
    z-index: -1;
}

.thisMonth {
    font-weight: bold;
    color: #ff6565 !important;
}

/* =========================
   日表示
========================= */
.timeTable-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
}

.timeTable-header {
    text-align: center;
    font-weight: bold;
    padding: 4px;
}

.timeTable-cell {
    aspect-ratio: 1 / 1;
    border: 2px solid #DEE9F3;
    box-shadow:
        -5px -5px 30px rgba(255, 255, 255, .8),
        5px 5px 50px rgba(0, 40, 100, .3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4px;
    cursor: pointer;
    transition: 0.1s 0.1s cubic-bezier(0, 0, 0, 1);
}

.timeTable-cell:hover {
    transform: scale(1.1);
}

.timeTable-className {
    aspect-ratio: 1 / 1;
    border: 2px solid #DEE9F3;
    box-shadow:
        -5px -5px 30px rgba(255, 255, 255, .8),
        5px 5px 50px rgba(0, 40, 100, .3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 16px;
    margin-bottom: 8px;
    padding: 4px;
}

.timeTable-cell,
.timeTable-className {
    margin-bottom: 8px;
}

/* =========================
   月表示
========================= */

.month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.month-grid a {
    text-decoration: none;
}

.day-header {
    text-align: center;
    font-weight: bold;
    padding: 4px;
}

.cell {
    aspect-ratio: 1 / 1;
    border: 2px solid #DEE9F3;
    box-shadow:
        -5px -5px 30px rgba(255, 255, 255, .8),
        5px 5px 50px rgba(0, 40, 100, .3);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px;
    cursor: pointer;
    transition: 0.1s 0.1s cubic-bezier(0, 0, 0, 1);
}

.cell:hover {
    transform: scale(1.1);
}

.empty {
    visibility: hidden;
}

/* =========================
   年表示
========================= */

.yearGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.yearGrid a {
    text-decoration: none;
}

.monthCard {
    padding: 4px;
    cursor: pointer;
    transition: 0.1s 0.1s cubic-bezier(0, 0, 0, 1);
}

.monthCard:hover {
    transform: scale(1.1);
}

.currentMonth {
    margin: 0px;
}

.monthGrid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: auto repeat(6, 1fr);
    gap: 2px;
    aspect-ratio: 1 / 1;
    border: 2px solid #DEE9F3;
    box-shadow:
        -5px -5px 30px rgba(255, 255, 255, .8),
        5px 5px 50px rgba(0, 40, 100, .3);
}

.weekHeader {
    text-align: center;
    padding: 2px;
}

.day {
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
}

.empty {
    visibility: hidden;
}

/* =========================
   footer
========================= */

a {
    color: #6C7B91;
}

footer {
    font-size: 0.9em;
    margin-bottom: 0;
    padding: 10px 0;
}

footer p {
    margin: 0;
}

footer a {
    margin: 0 2.5%;
}

.img-404 {
    margin-top: 10%;
    width: 50vw;
    max-width: 200px;
}

.img-notfound {
    margin: 2%;
    width: 80vw;
    max-width: 400px;
}

/* ©2026 tarutarusosu029 */