@charset "utf-8";

body {
    background-color: #000;
    color: #ccc;
    font-family: "MS 明朝", "MS Mincho", serif;
    font-weight: normal;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    font-size: 14px;
    /* Scaled up from 12px */
}

html {
    overflow-y: scroll;
    /* Scrollbar shift fix */
}

a {
    color: #ccc;
    text-decoration: none;
}

a:hover {
    color: #fff;
}

/* Base layer class for 1920x1080 transparent PNGs -> scaled to 70% (1344x756) */
.layer {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1344px;
    height: 756px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    pointer-events: none;
}

/* Header Section */
.header-container {
    position: relative;
    width: 100%;
    height: 175px;
    overflow: hidden;
    margin: 0 auto;
}

/* Hover Effect */
.nav-hover-layer {
    opacity: 0;
    z-index: 2;
}

/* Default Active States */
.header-container.active-home .nav-hover-layer {
    opacity: 1;
    transform: translateX(calc(-50% - 224px));
}

.header-container.active-blog .nav-hover-layer {
    opacity: 1;
    transform: translateX(calc(-50% - 112px));
}

.header-container.active-music .nav-hover-layer {
    opacity: 1;
    transform: translateX(-50%);
}

.header-container.active-comic .nav-hover-layer {
    opacity: 1;
    transform: translateX(calc(-50% + 119px));
}

.header-container.active-about .nav-hover-layer {
    opacity: 1;
    transform: translateX(calc(-50% + 240px));
}

/* Hover Overrides */
.header-container:has(.nav-home:hover) .nav-hover-layer {
    opacity: 1;
    transform: translateX(calc(-50% - 224px));
}

.header-container:has(.nav-blog:hover) .nav-hover-layer {
    opacity: 1;
    transform: translateX(calc(-50% - 112px));
}

.header-container:has(.nav-music:hover) .nav-hover-layer {
    opacity: 1;
    transform: translateX(-50%);
}

.header-container:has(.nav-comic:hover) .nav-hover-layer {
    opacity: 1;
    transform: translateX(calc(-50% + 119px));
}

.header-container:has(.nav-about:hover) .nav-hover-layer {
    opacity: 1;
    transform: translateX(calc(-50% + 240px));
}

/* Navigation Clickable Areas */
.css-nav-block {
    position: absolute;
    top: 87px;
    left: 50%;
    transform: translateX(-50%);
    width: 599px;
    height: 33px;
    margin-left: 7px;
    background: linear-gradient(to bottom, #2c2c2c 0%, #232323 50%, #1a1a1a 100%);
    border-top: 2px solid #b1b1b1;
    border-left: 2px solid #cbcbcb;
    border-bottom: 2px solid #090909;
    border-right: 2px solid #060606;
    box-shadow: inset 0 1px 0 #575757, inset 1px 0 0 #7e7e7e;
    box-sizing: border-box;
    z-index: 0;
}

.nav-links-container {
    position: absolute;
    top: 95px;
    left: 50%;
    transform: translateX(-50%);
    width: 1344px;
    height: 28px;
    z-index: 10;
}

.nav-links-container a {
    position: absolute;
    height: 100%;
    display: block;
}

.nav-home {
    left: 406px;
    width: 84px;
}

.nav-blog {
    left: 525px;
    width: 70px;
}

.nav-music {
    left: 630px;
    width: 84px;
}

.nav-comic {
    left: 749px;
    width: 84px;
}

.nav-about {
    left: 868px;
    width: 91px;
}

/* Main Content Section */
.main-content {
    width: 595px;
    margin: 0 auto;
    position: relative;
    left: 4px;
    padding: 20px;
    box-sizing: border-box;
    min-height: 200px;
    background-color: transparent;
    text-align: left;
    border: 1px solid #333;
    border-radius: 4px;
}

/* Pagination Layout */
.pagination-container {
    position: relative;
    width: 595px;
    height: 48px;
    margin: 20px auto 40px auto;
    left: 4px;
}

.page-numbers-group {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 6px;
    align-items: center;
}

.page-arrows-group {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 33px;
    display: flex;
    gap: 6px;
    align-items: center;
    /* left will be set by JS */
}

.css-num-btn {
    width: 32px;
    height: 33px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    background: linear-gradient(to bottom, #383838 0%, #161616 100%);
    border-top: 1px solid #7d7d7d;
    border-left: 1px solid #a1a1a1;
    border-bottom: 1px solid #050505;
    border-right: 1px solid #030303;
    box-shadow: inset 0 1px 0 #383838, inset 1px 0 0 #5d5d5d;
    box-sizing: border-box;
    cursor: pointer;
    font-family: "MS 明朝", "MS Mincho", serif;
}

.css-num-btn.active {
    /* Same OUTSET bevel direction, lighter body - NOT inset! */
    background: linear-gradient(to bottom, #7d7d7d 0%, #4f4f4f 100%);
    border-top: 1px solid #a1a1a1;
    border-left: 1px solid #a1a1a1;
    border-bottom: 1px solid #7b7b7b;
    border-right: 1px solid #505050;
    box-shadow: inset 0 1px 0 #919191, inset 1px 0 0 #a1a1a1;
    color: #fff;
}

.page-arrows-group a {
    display: flex;
    align-items: center;
    height: 33px;
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    font-weight: normal;
    padding: 0 4px;
    white-space: nowrap;
    box-sizing: border-box;
}

.page-links-container a {
    width: 32.9px;
    height: 33.6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15.4px;
    font-weight: bold;
}

.page-link-dots,
.page-link-older,
.page-link-oldest {
    width: 32.9px;
    height: 32.9px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.page-jump-input {
    width: 33px;
    height: 33px;
    background: #111;
    color: #fff;
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    border-bottom: 2px solid #666;
    border-right: 2px solid #666;
    text-align: center;
    font-size: 12px;
    outline: none;
    box-sizing: border-box;
}
.page-jump-input::-webkit-outer-spin-button,
.page-jump-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.page-jump-input[type=number] {
  -moz-appearance: textfield;
}

/* Specific Page Layouts */
.home-text {
    line-height: 2;
    text-align: left;
    /* 左揃え */
}

/* History Table */
.history-table {
    border: 2px outset #444;
    background: #1e1e1e;
    width: 100%;
    font-size: 11px;
    margin-top: 10px;
}

.history-row {
    display: flex;
    border-bottom: 1px inset #222;
}

.history-row:last-child {
    border-bottom: none;
}

.history-date {
    padding: 6px 12px;
    color: #999;
    font-family: monospace;
    width: 80px;
    border-right: 1px inset #222;
    flex-shrink: 0;
    text-align: center;
}

.history-content {
    padding: 6px 12px;
    color: #ccc;
    flex: 1;
}

.blog-layout {
    display: flex;
    gap: 3%;
}

.blog-main {
    flex: 1;
    padding-right: 3%;
}

.blog-sidebar {
    width: 25%;
}

.blog-sidebar .year {
    color: #ddd;
    margin-bottom: 5px;
}

.blog-sidebar .months {
    font-size: 0.9em;
    color: #888;
}

.year-group {
    margin-bottom: 15px;
}

.music-grid {
    position: relative;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 0;
    min-height: 450px;
}

.music-item {
    position: relative;
    width: calc(50% - 7.5px);
    padding: 6px;
    display: flex;
    gap: 10px;
    box-sizing: border-box;
    margin-bottom: 0px;
    background-color: #1a1a1a;
    border-top: 2px solid #4e4e4e;
    border-left: 2px solid #777777;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    height: 70px;
}

.music-item img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border: 0px solid #333;
}

.music-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 0px;
}

.music-title {
    font-weight: bold;
    font-size: 11px;
    margin-bottom: 0px;
    line-height: 1;
}

.music-title a {
    color: #fff;
    text-decoration: none;
}

.music-title a:hover {
    text-decoration: underline;
}

.music-vocal {
    font-size: 9px;
    color: #aaa;
    line-height: 1;
    margin-top: 2px;
}

.music-date {
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 9px;
    color: #888;
}

.about-section {
    margin-bottom: 20px;
}

.about-section h2 {
    font-size: 1.1em;
    font-weight: normal;
    color: #aaa;
    margin-bottom: 5px;
}

.download-content {
    display: flex;
    gap: 20px;
}

.download-jacket {
    width: calc(50% - 10px);
    flex-shrink: 0;
}

.download-jacket img {
    width: 100%;
    height: auto;
}

.download-info {
    flex: 1;
}

.download-title {
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 0px;
    line-height: 1;
}

.download-author {
    color: #ccc;
    font-size: 0.8em;
    line-height: 1;
    margin-top: 4px;
}

.download-vocal {
    color: #ccc;
    margin-bottom: 15px;
    font-size: 0.8em;
    line-height: 1;
    margin-top: 4px;
}

.lyrics {
    white-space: pre-wrap;
    line-height: 2;
    margin-bottom: 20px;
}

.btn-download {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #555;
    color: #ccc;
    margin-right: 5px;
    border-radius: 4px;
}

.btn-download:hover {
    background-color: #333;
    color: #fff;
}

/* Markdown Element Styles */
.blog-main h1, .blog-main h2, .blog-main h3, .blog-main h4, .blog-main h5, .blog-main h6 {
    margin: 1em 0 0.3em 0;
    color: #fff;
    font-weight: bold;
    line-height: 1.2;
}

.blog-main h1 { font-size: 1.8em; }
.blog-main h2 { font-size: 1.5em; }
.blog-main h3 { font-size: 1.3em; }
.blog-main h4 { font-size: 1.1em; }
.blog-main h5 { font-size: 1em; }
.blog-main h6 { font-size: 0.9em; color: #aaa; }

.blog-main p {
    margin: 0 0 0.5em 0;
}

.blog-main ul,
.blog-main ol {
    margin: 0.5em 0 1em 0;
    padding-left: 1.5em;
}

.blog-main li {
    margin-bottom: 0.3em;
}

.blog-main blockquote {
    border-left: 3px solid #555;
    padding-left: 10px;
    color: #999;
    margin: 1em 0;
}