/**************************/
/* ヘッダー */
/**************************/

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header a {
    text-decoration: none;
    font-size: 24px;
}

.x-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    border-radius: 50%;

    background: rgba(255, 253, 247, 0.65);

    transition:
            background-color 0.2s ease,
            box-shadow 0.2s ease;
}

.x-link img {
    transition: opacity 0.2s ease;
}

.x-link:hover {
    background: rgba(255, 253, 247, 0.9);

    box-shadow:
            0 2px 6px var(--color-shadow);
}

.x-link img:hover {
    opacity: 0.7;
}

/**************************/
/* 管理ナビ */
/**************************/

.admin-nav {
    display: flex;
    align-items: center;

    padding: 8px 0;

    border-bottom: 1px solid var(--color-border);
}

.admin-nav form {
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-links a {
    padding: 0 10px;

    color: var(--color-brown);
    text-decoration: none;

    border-right: 1px solid var(--color-border);
}

.nav-links a:first-child {
    padding-left: 0;
}

.nav-links a:last-child {
    border-right: none;
}

/**************************/
/* 更新情報 */
/**************************/

.update-info {
    width: min(1400px, calc(100% - 40px));
    margin: 10px 0 15px;

    border: 1px solid var(--color-border);
    border-radius: 10px;

    background-color: rgba(255, 253, 247, 0.9);

    box-shadow:
            0 3px 12px var(--color-shadow);
}


/* 見出し */
.update-info summary {
    padding: 10px 15px;

    font-weight: bold;
    color: var(--color-brown);

    cursor: pointer;

    transition: background-color 0.2s ease;
}

.update-info summary:hover {
    background-color: rgba(232, 213, 174, 0.35);
}


/* 最新情報 */
.update-latest {
    margin-left: 10px;

    font-weight: normal;
    color: var(--color-brown-light);
}


/* 更新一覧 */
.update-list {
    padding: 0 14px 12px;

    max-height: 150px;
    overflow-y: auto;
}


/* 更新項目 */
.update-item {
    display: flex;
    gap: 15px;

    margin-top: 6px;

    font-size: 0.9em;
}


/* 更新日 */
.update-date {
    color: var(--color-brown-light);

    white-space: nowrap;
}


.update-info-hr {
    border: 0;
    height: 1px;

    background: linear-gradient(
            to right,
            transparent,
            var(--color-gold-light),
            transparent
    );

    margin: 0;
}

/**************************/
/* フッター */
/**************************/

footer {
    margin-top: 40px;
    padding: 12px 0 20px;

    text-align: center;

    border-top: 1px solid var(--color-border);
}

footer .copyright {
    margin: 0;

    color: var(--color-brown-light);
    font-size: 12px;
    line-height: 1.8;
}