/* ==========================================================================
   RESET & BASE STYLE (MODERN DEFAULT)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

body {
    background-color: #ffffff;
    color: #111111;
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   BACKGROUND VIDEO STYLE (images/sky.mp4)
   ========================================================================== */
.bg-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.3s;
}

/* ==========================================================================
   MODERN LAYOUT (DEFAULT)
   ========================================================================== */
.site-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.mode-toggle-container {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.toggle-btn {
    background-color: #111111;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.toggle-btn:hover {
    background-color: #333333;
    transform: translateY(-1px);
}

/* 💡 平常時は平成装飾を非表示にする */
.heisei-decorations {
    display: none;
}
.heisei-footer-text {
    display: none;
}

/* ヘッダー */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eeeeee;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo-img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s;
}

.site-logo-img:hover {
    transform: scale(1.03);
}

.nav-area {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #111111;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0066cc;
}

/* ページメインエリア */
.main-content {
    padding: 80px 0;
    flex: 1;
    animation: fadeIn 0.5s ease;
}

.page-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.page-body {
    font-size: 16px;
    line-height: 1.8;
    color: #444444;
}

.works-description {
    margin-bottom: 25px;
}

/* ==========================================================================
   SLIDESHOW (CAROUSEL) STYLE - MODERN DEFAULT
   ========================================================================== */
.slideshow-container {
    max-width: 900px;
    width: 100%;
    position: relative;
    margin: 0 auto 40px auto;
    overflow: hidden;
    background-color: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.slides-wrapper {
    display: flex;
    width: 100%;
    height: auto;
}

#thumb .slides-wrapper {
    aspect-ratio: 16 / 9;
    background-color: #000000;
}

.slide, .hp-slide {
    min-width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.slide.active, .hp-slide.active {
    display: flex;
    animation: fadeEffect 0.4s ease;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* HP配信用スライドスタイル */
.hp-slideshow {
    background-color: transparent !important;
}

.hp-slide {
    padding: 30px;
}

.hp-mock-pair {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 800px;
}

.mock-device {
    background-color: #1e1e1e;
    border: 12px solid #1e1e1e;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.device-screen {
    width: 100%;
    overflow-y: auto;
    background-color: #ffffff;
}

.device-screen::-webkit-scrollbar {
    width: 4px;
}
.device-screen::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 2px;
}

.device-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.device-pc {
    flex: 2.5;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.device-pc .device-screen {
    aspect-ratio: 16 / 10;
}

.device-stand {
    width: 100px;
    height: 40px;
    background-color: #333333;
    margin: 0 auto;
    position: relative;
    border-bottom: 6px solid #111;
    border-radius: 0 0 10px 10px;
}

.device-sp {
    width: 180px;
    border-radius: 24px;
    border-top-width: 24px;
    border-bottom-width: 30px;
    position: relative;
    margin-bottom: 20px;
}

.device-sp .device-screen {
    height: 280px;
}

.device-home-btn {
    width: 16px;
    height: 16px;
    border: 1px solid #555;
    border-radius: 50%;
    position: absolute;
    bottom: -23px;
    left: 50%;
    transform: translateX(-50%);
}

/* MUSIC & VIDEO 専用共通スタイル */
.music-works-container, .video-works-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.music-section, .video-section {
    width: 100%;
}

.music-sub-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111111;
}

.music-section-desc {
    font-size: 14px;
    color: #666666;
    margin-bottom: 20px;
}

.video-responsive-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    height: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.video-responsive-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.heisei-music-comment, .heisei-video-comment {
    display: none;
}

/* FunkLove専用モダンデザイン */
.membership-lead {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.membership-features {
    background-color: #f8f9fa;
    padding: 35px;
    border-radius: 12px;
    margin-bottom: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.membership-features h3, .membership-plans-container h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    border-left: 4px solid #111111;
    padding-left: 12px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-list li {
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
}

.membership-plans-container {
    margin-bottom: 50px;
}

.plan-notice {
    font-size: 14px;
    color: #666666;
    margin-bottom: 25px;
}

.plan-tables-wrapper {
    display: flex;
    gap: 25px;
}

.plan-card {
    flex: 1;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: transform 0.2s;
}

.plan-card:hover {
    transform: translateY(-3px);
}

.plan-premium {
    border-color: #111111;
    background: linear-gradient(180deg, #ffffff, #fdfdfd);
}

.plan-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.plan-premium .plan-name {
    color: #0066cc;
}

.plan-price {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 15px;
    font-family: 'Courier New', Courier, monospace;
}

.plan-price span {
    font-size: 14px;
    font-weight: 500;
    color: #666666;
}

.plan-desc {
    font-size: 13px;
    color: #555555;
    line-height: 1.6;
}

/* TOOLS ページ専用モダンデザイン */
.tools-top-banner {
    background: #ff4d4d;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 13px;
}

.tools-lead-text {
    text-align: center;
    margin-bottom: 40px;
    color: #666666;
}

.tools-tabs-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.tool-tab-btn {
    background-color: #f0f0f0;
    border: none;
    color: #555555;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.2s ease;
}

.tool-tab-btn.active, .tool-tab-btn:hover {
    background-color: #111111;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tool-tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.tool-tab-panel.active {
    display: block;
}

.tool-tab-panel h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.tool-description-text {
    font-size: 14px;
    color: #666666;
    margin-bottom: 30px;
}

.tool-app-box {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    width: 100%;
}

/* カラオケリクエスト */
.karaoke-two-column {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    width: 100%;
}

.karaoke-client-side {
    flex: 1;
    background-color: #fcfcfc;
    border: 1px solid #eaeaea;
    padding: 20px;
    border-radius: 8px;
    max-width: 100%;
}

.karaoke-admin-side {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    max-width: 100%;
}

.karaoke-client-side h4, .panel-header h4 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.quick-pick-area {
    margin-bottom: 20px;
    font-size: 12px;
    color: #666;
}

.quick-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.q-btn {
    background-color: #ffffff;
    border: 1px solid #00ccff;
    color: #0099cc;
    padding: 8px 12px;
    text-align: left;
    font-size: 13px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    width: 100%;
}

.q-btn:hover {
    background-color: #e6f9ff;
}

.karaoke-input-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.karaoke-input-form input {
    padding: 10px 12px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
}

#karaoke-send-btn {
    background-color: #00ccff;
    color: #ffffff;
    border: none;
    padding: 12px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
    width: 100%;
}

#karaoke-send-btn:hover {
    background-color: #00b3e6;
}

.obs-ticker-screen {
    background-color: #000000;
    border-left: 6px solid #00ccff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.1);
    width: 100%;
    max-width: 100%;
}

.obs-ticker-label {
    color: #00ccff;
    font-family: monospace;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.obs-ticker-content {
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex: 1;
}

.karaoke-dashboard-panel {
    background-color: #2a2a2a;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 8px;
    color: #ffffff;
    width: 100%;
    max-width: 100%;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #444;
    padding-bottom: 8px;
}

.panel-header h4 {
    color: #00ccff !important;
    margin-bottom: 0;
}

#karaoke-reset-btn {
    background-color: #555555;
    color: white;
    border: none;
    padding: 6px 12px;
    font-size: 11px;
    cursor: pointer;
    border-radius: 4px;
}

.request-list-box {
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.req-item-card {
    background: #333333;
    padding: 12px 15px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #444;
    width: 100%;
}

.req-info {
    flex: 1;
    min-width: 0;
    margin-right: 15px;
}

.req-info .req-title-text {
    font-weight: bold;
    font-size: 15px;
    color: #00ccff;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.req-info .req-sub-text {
    font-size: 12px;
    color: #aaaaaa;
    margin-top: 2px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sing-action-btn {
    padding: 8px 16px;
    background-color: #00ccff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    font-size: 13px;
    flex-shrink: 0;
}

.sing-action-btn:hover {
    background-color: #00b3e6;
}

.ad-box {
    margin-top: 25px;
    padding: 15px;
    border: 2px dashed #dddddd;
    text-align: center;
    border-radius: 8px;
    font-size: 13px;
    width: 100%;
}

.ad-box a {
    color: #00ccff;
    text-decoration: none;
    font-weight: bold;
}

/* Living Studio */
.living-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: center;
}

.env-btn {
    padding: 10px 20px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    cursor: pointer;
    font-weight: bold;
    border-radius: 6px;
    transition: all 0.2s;
}

.env-btn.active {
    background-color: #0066cc;
    color: #ffffff;
    border-color: #0066cc;
}

.living-stage-window {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #000;
    border-radius: 8px;
}

#outside-view, #room-foreground {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: background-image 2s ease-in-out, filter 2s linear;
}

#outside-view { z-index: 1; }
#room-foreground { z-index: 2; pointer-events: none; }

.stage-overlay-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 10;
    color: rgba(255,255,255,0.4);
    font-size: 11px;
    font-family: monospace;
}

/* 時計ステーション */
.clock-display-area {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    width: 100%;
}

.clock-showcase-block {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.clock-sub-label {
    font-size: 13px;
    font-weight: bold;
    color: #777777;
    letter-spacing: 1px;
}

.html-analog-clock {
    position: relative;
    width: 200px;
    height: 200px;
    border: 4px solid #111111;
    border-radius: 50%;
    background-color: #ffffff;
}

.clock-face-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 10px; height: 10px;
    background-color: #111111;
    border-radius: 50%;
    z-index: 15;
}

.hand {
    position: absolute;
    bottom: 50%; left: 50%;
    background-color: #111111;
    transform-origin: bottom center;
    border-radius: 4px 4px 0 0;
    z-index: 10;
}

.hour-hand {
    width: 6px; height: 50px;
    margin-left: -3px;
}

.minute-hand {
    width: 4px; height: 75px;
    margin-left: -2px;
}

.second-hand {
    width: 2px; height: 85px;
    background-color: #ff3333;
    margin-left: -1px;
}

.heisei-clock-word-brand {
    display: none;
}

.neon-clock-container {
    background-color: #0b0f19;
    padding: 25px 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 25px rgba(0, 204, 255, 0.15);
    border: 1px solid rgba(0, 204, 255, 0.2);
    width: 100%;
    max-width: 320px;
}

.neon-date-box {
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    font-weight: bold;
    color: #00ccff;
    text-shadow: 0 0 8px rgba(0, 204, 255, 0.6);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.neon-time-box {
    font-family: 'Courier New', Courier, monospace;
    font-size: 38px;
    font-weight: 900;
    color: #00ccff;
    text-shadow: 0 0 12px rgba(0, 204, 255, 0.8), 0 0 20px rgba(0, 204, 255, 0.4);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.neon-day-box {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    font-weight: bold;
    color: #ff00ff;
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.6);
    letter-spacing: 2px;
}

/* 📅 予定表ジェネレーター */
.generator-app-wrapper {
    width: 100%;
}

.generator-two-column {
    display: flex;
    gap: 30px;
    width: 100%;
}

.generator-settings-side {
    flex: 1;
    background-color: #fcfcfc;
    border: 1px solid #eaeaea;
    padding: 20px;
    border-radius: 8px;
    max-height: 600px;
    overflow-y: auto;
}

.generator-preview-side {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
    min-width: 0;
}

.gen-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 2px solid #ddd;
}
.gen-section-header:first-of-type { margin-top: 0; }

.section-title {
    font-size: 0.95rem;
    font-weight: bold;
    color: #2c3e50;
}

.btn-clear {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

.btn-reset-each {
    background-color: #7f8c8d;
    color: white;
    border: none;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

.file-label-v2 {
    display: block;
    background: #e1e4f5;
    color: #4a51b6;
    padding: 10px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.gen-form-group {
    margin-bottom: 15px;
}

.gen-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 4px;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
}

.day-input-container {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 4px solid #3498db;
}

.form-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.btn-layout-switch {
    flex: 1;
    text-align: center;
    padding: 5px 0;
    cursor: pointer;
    background: #fff;
    color: #7f8c8d;
    border: 1px solid #ddd;
    font-weight: bold;
    font-size: 0.8rem;
}
.btn-layout-switch.active {
    background: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.slot-input-row {
    margin-bottom: 10px;
}

.slot-label {
    font-size: 0.75rem;
    font-weight: bold;
    color: #7f8c8d;
    margin-bottom: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.type-switcher {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    width: 120px;
}

.btn-switch {
    flex: 1;
    padding: 3px 0;
    font-size: 0.7rem;
    text-align: center;
    background: #fff;
    cursor: pointer;
    user-select: none;
}
.btn-switch.active {
    background: #3498db;
    color: white;
    font-weight: bold;
}

.icon-picker-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    background: #fff;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 4px;
}

.icon-option {
    text-align: center;
    font-size: 1.1rem;
    padding: 4px 0;
    cursor: pointer;
    border-radius: 3px;
    border: 1px solid transparent;
}
.icon-option.active {
    background: #e3f2fd;
    border-color: #2196f3;
    transform: scale(1.1);
}

.design-select-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}

.btn-select {
    padding: 6px 2px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    text-align: center;
}
.btn-select.active {
    background-color: #3498db;
    color: #fff;
    font-weight: bold;
}

.color-picker-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.btn-color {
    height: 30px;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}
.btn-color.active {
    border-color: #333;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.preview-scale-wrapper {
    transform: scale(0.48);
    transform-origin: top center;
    width: 1280px;
    height: 720px;
    margin-bottom: -340px; 
}

#schedule-card {
    width: 1280px;
    height: 720px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

#avatar-layer {
    position: absolute;
    top: 0;
    right: 0;
    width: 440px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}

#schedule-avatar {
    max-height: 95%;
    transform-origin: bottom center;
    display: none;
}

.card-body-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 1280px;
    height: 720px;
    z-index: 3;
}

.card-header {
    position: absolute;
    left: 50px;
    top: 25px;
    width: 740px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.card-title {
    font-weight: 900;
    white-space: nowrap;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.card-period {
    font-weight: bold;
    white-space: nowrap;
    letter-spacing: 0.02em;
    margin-top: 4px;
}

.day-box {
    position: absolute;
    width: 350px;
    height: 120px;
    backdrop-filter: blur(4px);
    border: none !important;
    padding: 0 !important;
}

.day-box[data-day-idx="0"] { left: 50px;  top: 135px; } 
.day-box[data-day-idx="1"] { left: 420px; top: 135px; } 
.day-box[data-day-idx="2"] { left: 50px;  top: 270px; } 
.day-box[data-day-idx="3"] { left: 420px; top: 270px; } 
.day-box[data-day-idx="4"] { left: 50px;  top: 405px; } 
.day-box[data-day-idx="5"] { left: 420px; top: 405px; } 
.day-box[data-day-idx="6"] { left: 50px;  top: 540px; } 
.day-box.free-space        { left: 420px; top: 540px; } 

.day-name {
    position: absolute;
    left: 15px;
    top: 12px;
    width: 320px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 0 !important;
}

.slot-split-wrapper {
    position: absolute;
    left: 15px;
    top: 45px;
    width: 320px;
    height: 65px;
}

.slot {
    position: absolute;
    width: 320px;
    height: 30px;
    margin-bottom: 0 !important;
}
.slot-am { top: 0; }
.slot-pm { top: 32px; }

.slot-ampm {
    position: absolute;
    left: 0;
    top: 3px;
    width: 45px;
    height: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 3px;
    text-align: center;
    line-height: 18px;
    margin: 0 !important;
}

.slot-text {
    position: absolute;
    left: 55px;
    top: 3px;
    width: 265px;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: pre-wrap;
    word-break: break-all;
    line-height: 1.4;
    color: var(--text);
    display: block;
}

.slot-single-wrapper {
    position: absolute;
    left: 15px;
    top: 42px;
    width: 320px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-mode-text {
    width: 100%;
    font-size: 1.05rem;
    font-weight: bold;
    white-space: pre-wrap;
    word-break: break-all;
    line-height: 1.4;
    color: var(--text);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-icon-render {
    font-size: 1.6rem;
    line-height: 1;
    display: inline-block;
    filter: drop-shadow(1px 1px 0px rgba(0,0,0,0.1));
}

.single-icon-render {
    font-size: 3.4rem !important; 
    line-height: 1;
    display: inline-block;
    filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.15));
    text-align: center;
}

#view-free-content {
    position: absolute;
    left: 15px;
    top: 45px;
    width: 320px;
    height: 65px;
    font-size: 0.85rem;
    white-space: pre-wrap;
    word-break: break-all;
    line-height: 1.4;
    color: var(--text);
}

#schedule-card[data-color="pink"] { --main: #ff79c6; --bg: rgba(255, 240, 245, 0.88); --accent: #ff4757; --text: #2c3e50; }
#schedule-card[data-color="blue"] { --main: #54a0ff; --bg: rgba(240, 245, 255, 0.88); --accent: #2e86de; --text: #2c3e50; }
#schedule-card[data-color="cyan"] { --main: #00d2d3; --bg: rgba(230, 255, 255, 0.88); --accent: #01a3a4; --text: #2c3e50; }
#schedule-card[data-color="green"] { --main: #1dd1a1; --bg: rgba(240, 255, 240, 0.88); --accent: #10ac84; --text: #2c3e50; }
#schedule-card[data-color="yellow"] { --main: #feca57; --bg: rgba(255, 253, 240, 0.88); --accent: #ff9f43; --text: #2c3e50; }
#schedule-card[data-color="purple"] { --main: #9b5de5; --bg: rgba(248, 244, 255, 0.88); --accent: #5f27cd; --text: #2c3e50; }
#schedule-card[data-color="orange"] { --main: #ff9f43; --bg: rgba(255, 245, 235, 0.88); --accent: #ee5253; --text: #2c3e50; }
#schedule-card[data-color="red"] { --main: #ff6b6b; --bg: rgba(255, 241, 241, 0.88); --accent: #ee5253; --text: #2c3e50; }
#schedule-card[data-color="lime"] { --main: #10ac84; --bg: rgba(244, 251, 247, 0.88); --accent: #00d2d3; --text: #2c3e50; }
#schedule-card[data-color="monochrome"] { --main: #57606f; --bg: rgba(241, 242, 246, 0.88); --accent: #2f3542; --text: #2f3542; }

#schedule-card[data-design="type-a"] { background-color: #ffffff; border: 16px solid var(--main); }
#schedule-card[data-design="type-a"] .card-title { font-size: 2.6rem; color: var(--accent); letter-spacing: 2px; }
#schedule-card[data-design="type-a"] .card-period { font-size: 1.3rem; color: #777; border-bottom: 3px solid var(--main); padding-bottom: 2px; }
#schedule-card[data-design="type-a"] .day-box { background-color: var(--bg); border-radius: 8px; border-top: 6px solid var(--main); box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
#schedule-card[data-design="type-a"] .day-name { font-size: 1.4rem; color: var(--accent); }
#schedule-card[data-design="type-a"] .slot-ampm { background-color: var(--main); color: #fff; }
#schedule-card[data-design="type-a"] .schedule-icon-render, #schedule-card[data-design="type-a"] .single-icon-render { color: var(--accent); }

#schedule-card[data-design="type-b"] { background-color: #fff; background-image: radial-gradient(var(--main) 15%, transparent 15%); background-size: 24px 24px; }
#schedule-card[data-design="type-b"] .card-header { background: rgba(255,255,255,0.95) !important; border: 4px solid #333 !important; box-shadow: 4px 4px 0 #333 !important; border-radius: 20px !important; padding: 10px 25px !important; width: auto !important; max-width: 740px !important; }
#schedule-card[data-design="type-b"] .card-title { font-size: 2.0rem; color: var(--accent); text-shadow: 2px 2px 0 #333; -webkit-text-stroke: 1px #333; }
#schedule-card[data-design="type-b"] .card-period { font-size: 1.1rem; color: #333; margin-top: 4px; }
#schedule-card[data-design="type-b"] .day-box { background-color: rgba(255,255,255,0.92); border: 4px solid #333 !important; border-radius: 14px !important; box-shadow: 4px 4px 0 #333 !important; }
#schedule-card[data-design="type-b"] .day-name { font-size: 1.2rem; background-color: var(--bg); border-radius: 8px; padding: 2px 0; color: #333; border: 2px solid #333; top: 10px; }
#schedule-card[data-design="type-b"] .slot-split-wrapper, #schedule-card[data-design="type-b"] .slot-single-wrapper, #schedule-card[data-design="type-b"] #view-free-content { top: 52px; }
#schedule-card[data-design="type-b"] .slot-ampm { background-color: var(--accent); color: #fff; border: 1px solid #333; }
#schedule-card[data-design="type-b"] .slot-text { color: #333; }
#schedule-card[data-design="type-b"] .single-icon-render { color: #333; }

#schedule-card[data-design="type-c"] { background-color: #0b0c10; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 40px 40px; }
#schedule-card[data-design="type-c"] .card-title { font-size: 2.6rem; color: #fff; text-shadow: 0 0 10px var(--main), 0 0 20px var(--main); letter-spacing: 3px; }
#schedule-card[data-design="type-c"] .card-period { font-size: 1.1rem; color: var(--main); border: 1px solid var(--main) !important; padding: 4px 12px !important; box-shadow: inset 0 0 10px rgba(0,210,211,0.2) !important; background: transparent !important; border-radius: 0px !important; margin-top: 8px; }
#schedule-card[data-design="type-c"] .day-box { background-color: rgba(31, 40, 51, 0.85); border: 1px solid var(--main) !important; box-shadow: 0 0 12px rgba(0, 0, 0, 0.6); border-radius: 4px; }
#schedule-card[data-design="type-c"] .day-name { font-size: 1.3rem; color: #fff; text-align: left; border-left: 4px solid var(--main); padding-left: 8px; }
#schedule-card[data-design="type-c"] .slot-ampm { background-color: transparent; color: var(--main); border: 1px solid var(--main); }
#schedule-card[data-design="type-c"] .slot-text { color: #e0e6ed; }
#schedule-card[data-design="type-c"] .day-box.free-space { border: 1px dashed var(--main) !important; }
#schedule-card[data-design="type-c"] .schedule-icon-render, #schedule-card[data-design="type-c"] .single-icon-render { color: var(--main); text-shadow: 0 0 10px var(--main); }

#schedule-card[data-design="type-d"] { background-color: #110e16; border: 12px double var(--main); box-shadow: inset 0 0 0 4px #110e16; }
#schedule-card[data-design="type-d"] .card-header { border-bottom: 2px dashed var(--main) !important; padding-bottom: 4px !important; width: 740px !important; }
#schedule-card[data-design="type-d"] .card-title { font-size: 2.4rem; color: #ffffff; font-family: 'Georgia', serif; letter-spacing: 2px; }
#schedule-card[data-design="type-d"] .card-period { font-size: 1.2rem; color: var(--main); font-family: 'Georgia', serif; font-style: italic; margin-top: 4px; }
#schedule-card[data-design="type-d"] .day-box { background-color: rgba(27, 22, 34, 0.88); border: 1px solid rgba(255, 255, 255, 0.1) !important; border-bottom: 4px solid var(--main) !important; border-radius: 4px; }
#schedule-card[data-design="type-d"] .day-name { font-size: 1.3rem; color: #ffffff; border-bottom: 1px double var(--main); padding-bottom: 4px; font-family: 'Georgia', serif; }
#schedule-card[data-design="type-d"] .slot-ampm { background-color: #2c2235; color: var(--main); border: 1px solid var(--main); }
#schedule-card[data-design="type-d"] .slot-text { color: #e0dbe5; }
#schedule-card[data-design="type-d"] .day-box.free-space { background-color: rgba(0,0,0,0.4); }
#schedule-card[data-design="type-d"] .schedule-icon-render, #schedule-card[data-design="type-d"] .single-icon-render { color: var(--main); }

#schedule-card[data-design="type-e"] { background: linear-gradient(135deg, #ffffff 0%, rgba(255, 240, 245, 0.6) 100%); }
#schedule-card[data-design="type-e"]::before { content: "☁ * ☁ *"; position: absolute; top: 15px; left: 50px; right: 490px; font-size: 1.2rem; color: var(--main); opacity: 0.4; letter-spacing: 20px; text-align: center; }
#schedule-card[data-design="type-e"] .card-title { font-size: 2.4rem; color: var(--accent); text-shadow: 2px 2px 0px #fff; }
#schedule-card[data-design="type-e"] .card-period { font-size: 1.1rem; color: #fff; background-color: var(--main) !important; padding: 4px 18px !important; border-radius: 30px !important; border: none !important; margin-top: 6px; }
#schedule-card[data-design="type-e"] .day-box { background-color: rgba(255, 255, 255, 0.88); border: 3px dashed var(--main) !important; border-radius: 20px; box-shadow: 0 6px 12px rgba(0,0,0,0.03); }
#schedule-card[data-design="type-e"] .day-name { font-size: 1.3rem; color: var(--accent); }
#schedule-card[data-design="type-e"] .slot-ampm { background-color: rgba(255, 240, 245, 1); color: var(--accent); border-radius: 10px; }
#schedule-card[data-design="type-e"] .slot-text { color: var(--text); }
#schedule-card[data-design="type-e"] .schedule-icon-render, #schedule-card[data-design="type-e"] .single-icon-render { color: var(--accent); }

.gen-action-area {
    width: 100%;
    max-width: 600px;
    margin-top: 10px;
}
.btn-save-png {
    width: 100%;
    padding: 14px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.2);
}
.btn-save-png:hover { background-color: #219653; }

/* 左右ボタン */
.slide-prev-btn, .slide-next-btn { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(0, 0, 0, 0.5); color: #ffffff; border: none; padding: 16px; font-size: 18px; font-weight: bold; cursor: pointer; border-radius: 0 4px 4px 0; z-index: 10; }
.slide-next-btn { right: 0; border-radius: 4px 0 0 4px; }
.slide-prev-btn:hover, .slide-next-btn:hover { background-color: rgba(0, 0, 0, 0.8); }
.slide-dots { text-align: center; position: absolute; bottom: -5px; width: 100%; z-index: 10; }
#thumb .slide-dots { bottom: 15px; }
.dot, .hp-dot { cursor: pointer; height: 10px; width: 10px; margin: 0 4px; background-color: rgba(255, 255, 255, 0.5); border-radius: 50%; display: inline-block; transition: background-color 0.2s, transform 0.2s; }
.dot.active, .hp-dot.active { background-color: #ffffff; transform: scale(1.2); }
@keyframes fadeEffect { from { opacity: 0.6; } to { opacity: 1; } }

/* ==========================================================================
   平成の個人ブログモード (DARK MODE)
   ========================================================================== */
body.heisei-mode { background-color: #000000 !important; background-image: none !important; color: #00ff00 !important; font-family: "MS Pゴシック", "MS PGothic", sans-serif !important; }
body.heisei-mode .bg-video-overlay { background: rgba(0, 0, 51, 0.6) !important; }
body.heisei-mode .mode-toggle-container { display: block; margin: 20px auto; text-align: center; width: 100%; }
body.heisei-mode #mode-toggle-btn { background: linear-gradient(180deg, #ff00ff, #00ffff) !important; color: #ffffff !important; border: 4px outset #ffffff !important; border-radius: 0px !important; padding: 10px 20px; font-size: 16px; animation: flash 1s infinite; }
body.heisei-mode .heisei-decorations { display: block; width: 100%; background-color: #ff00ff; color: #ffffff; font-weight: bold; padding: 5px 0; border-bottom: 2px ridge #ffffff; }
body.heisei-mode .counter-area { display: block; margin-top: 30px; font-family: 'Courier New', Courier, monospace; font-size: 16px; color: #ffff00; }
body.heisei-mode .counter-number { background-color: #222222; color: #ff0000; padding: 2px 8px; border: 2px inset #ffffff; font-weight: bold; font-size: 20px; display: inline; }
body.heisei-mode .counter-label { display: inline; }
body.heisei-mode .site-wrapper { max-width: 900px; border: 10px double #00ffff; background-color: rgba(0, 0, 51, 0.85) !important; padding: 20px; margin: 20px auto; }
body.heisei-mode .main-header { flex-direction: column; border-bottom: 3px dashed #ff00ff; padding-bottom: 15px; }
body.heisei-mode .nav-area { flex-direction: column; width: 100%; }
body.heisei-mode .logo-link { margin-bottom: 15px; position: relative; }
body.heisei-mode .logo-link::before { content: "⚡Welcome to 幻の影影空間⚡\A"; font-size: 14px; color: #00ffff; display: block; text-align: center; white-space: pre; margin-bottom: 10px; }
body.heisei-mode .site-logo-img { max-height: 60px; border: 3px inset #ff00ff; padding: 2px; background-color: #000000; }
body.heisei-mode .nav-links { margin-bottom: 15px; }
body.heisei-mode .nav-links a { color: #00ffff !important; font-size: 16px; text-decoration: underline; margin: 0 5px; }
body.heisei-mode .nav-links a::before { content: " ［ "; }
body.heisei-mode .nav-links a::after { content: " ］ "; }
body.heisei-mode .page-title { font-size: 20px; background: linear-gradient(90deg, #ff0000, transparent); color: #ffffff !important; padding: 5px 10px; border-left: 10px solid #ffff00; }
body.heisei-mode .page-body { color: #ffffff !important; font-size: 14px; }
body.heisei-mode .slideshow-container { background-color: #000000 !important; border: 4px inset #00ffff !important; border-radius: 0px !important; box-shadow: none !important; }
body.heisei-mode .slides-wrapper { aspect-ratio: auto !important; height: auto !important; }
body.heisei-mode #thumb .slides-wrapper { height: 350px !important; }
body.heisei-mode .slide img { object-fit: contain !important; }
body.heisei-mode .hp-slide { padding: 15px !important; }
body.heisei-mode .hp-mock-pair { flex-direction: column !important; align-items: center !important; gap: 15px !important; }
body.heisei-mode .mock-device { background-color: #cccccc !important; box-shadow: none !important; border-radius: 0px !important; width: 100% !important; max-width: 400px !important; }
body.heisei-mode .device-screen { overflow-y: auto !important; border: 3px inset #888888 !important; background-color: #ffffff !important; }
body.heisei-mode .device-screen img { object-fit: contain !important; height: auto !important; }
body.heisei-mode .device-pc { border: 6px outset #ffffff !important; padding: 10px; }
body.heisei-mode .device-pc .device-screen { height: 240px !important; }
body.heisei-mode .device-pc .device-stand { width: 60px !important; height: 20px !important; background-color: #bbbbbb !important; border: 2px outset #ffffff !important; border-radius: 0px !important; }
body.heisei-mode .device-sp { margin-bottom: 0px !important; border: 4px outset #ffffff !important; padding: 5px; background: linear-gradient(135deg, #cccccc, #999999) !important; }
body.heisei-mode .device-sp .device-screen { height: 240px !important; border: 2px inset #000000 !important; }
body.heisei-mode .device-home-btn { position: relative !important; bottom: auto !important; left: auto !important; transform: none !important; width: 24px !important; height: 24px !important; background-color: #aaaaaa !important; border: 2px outset #ffffff !important; margin: 10px auto 0 auto !important; border-radius: 4px !important; }
body.heisei-mode .device-sp::after { content: "📞  1  2  3" !important; font-size: 10px; color: #111111; display: block; text-align: center; margin-top: 5px; font-family: monospace; }
body.heisei-mode .music-works-container, body.heisei-mode .video-works-container { gap: 40px !important; }
body.heisei-mode .music-sub-title { color: #ffff00 !important; font-size: 16px !important; border-bottom: 1px dashed #ffff00; padding-bottom: 4px; animation: flash 1.5s infinite; }
body.heisei-mode .music-section-desc { color: #ffffff !important; font-size: 12px !important; }
body.heisei-mode .video-responsive-box { padding-top: 0 !important; height: 240px !important; border: 4px inset #ffffff !important; border-radius: 0px !important; box-shadow: none !important; }
body.heisei-mode .heisei-music-comment, body.heisei-mode .heisei-video-comment { display: block !important; background-color: #000000; border: 1px dotted #00ff00; padding: 10px; margin-top: 10px; font-size: 12px; color: #00ff00 !important; line-height: 1.6; }
body.heisei-mode .heisei-music-comment .comment-heading, body.heisei-mode .heisei-video-comment .comment-heading { color: #ff00ff !important; font-weight: bold; margin-bottom: 5px; }

body.heisei-mode .membership-lead { color: #ffff00 !important; font-size: 14px !important; }
body.heisei-mode .membership-features { background-color: #000033 !important; border: 4px outset #ffffff !important; border-radius: 0px !important; }
body.heisei-mode .membership-features h3 { color: #ff00ff !important; border-left: 5px solid #00ffff !important; font-size: 16px !important; }
body.heisei-mode .feature-list li { color: #ffffff !important; font-size: 13px !important; }
body.heisei-mode .membership-plans-container h3 { color: #00ffff !important; border-left: 5px solid #ff00ff !important; font-size: 16px !important; }
body.heisei-mode .plan-tables-wrapper { flex-direction: column !important; gap: 15px !important; }
body.heisei-mode .plan-card { background-color: #111111 !important; border: 3px inset #00ff00 !important; border-radius: 0px !important; padding: 15px !important; }
body.heisei-mode .plan-premium .plan-price { color: #ff00ff !important; }
body.heisei-mode .plan-desc { color: #aaaaaa !important; }

body.heisei-mode .tools-top-banner { border-radius: 0px !important; border: 3px outset #ffffff !important; }
body.heisei-mode .tools-lead-text { color: #ffffff !important; }
body.heisei-mode .tools-tabs-container { gap: 5px !important; }
body.heisei-mode .tool-tab-btn { border-radius: 0px !important; border: 2px outset #ffffff !important; background-color: #333333 !important; color: #ffffff !important; font-size: 12px !important; padding: 8px 12px !important; }
body.heisei-mode .tool-tab-btn.active { background: #ff00ff !important; border: 2px inset #ffffff !important; color: #ffff00 !important; }
body.heisei-mode .tool-app-box { background-color: #000033 !important; border: 5px ridge #ff00ff !important; border-radius: 0px !important; padding: 20px !important; box-shadow: none !important; }
body.heisei-mode .tool-tab-panel h3 { color: #ffff00 !important; font-size: 18px !important; border-bottom: 1px dotted #ffff00; }
body.heisei-mode .tool-description-text { color: #ffffff !important; font-size: 12px !important; }

body.heisei-mode .karaoke-two-column { flex-direction: column !important; gap: 20px !important; }
body.heisei-mode .karaoke-client-side { background-color: #000000 !important; border: 3px inset #888888 !important; border-radius: 0px !important; }
body.heisei-mode .karaoke-client-side h4 { color: #ff00ff !important; }
body.heisei-mode .q-btn { background-color: #222222 !important; border: 2px outset #ffffff !important; color: #00ffff !important; border-radius: 0px !important; }
body.heisei-mode .q-btn:hover { background-color: #333333 !important; }
body.heisei-mode .karaoke-input-form input { background-color: #111111 !important; color: #ffff00 !important; border: 2px inset #00ffff !important; border-radius: 0px !important; }
body.heisei-mode #karaoke-send-btn { background-color: #0000ff !important; border: 2px outset #ffffff !important; border-radius: 0px !important; color: #ffffff !important; }
body.heisei-mode .karaoke-list-wrapper { background-color: #000000 !important; border: 3px double #00ff00 !important; border-radius: 0px !important; }
body.heisei-mode #karaoke-list-ul li { border-bottom: 1px dashed #555 !important; }
body.heisei-mode .obs-ticker-screen { border: 3px inset #ff00ff !important; background-color: #111111 !important; }
body.heisei-mode .obs-ticker-label { color: #ff00ff !important; }
body.heisei-mode .obs-ticker-content { color: #ff0000 !important; }
body.heisei-mode .env-btn { border-radius: 0px !important; border: 2px outset #ffffff !important; background-color: #555555 !important; color: #ffffff !important; }
body.heisei-mode .env-btn.active { background-color: #ff0000 !important; border: 2px inset #ffffff !important; color: #ffff00 !important; }
body.heisei-mode .living-stage-window { border: 6px double #00ffff !important; border-radius: 0px !important; }

body.heisei-mode .html-analog-clock { background-color: #000000 !important; border: 4px outset #00ff00 !important; border-radius: 0px !important; }
body.heisei-mode .clock-face-center { background-color: #ff00ff !important; }
body.heisei-mode .hand { border-radius: 0px !important; }
body.heisei-mode .hour-hand, body.heisei-mode .minute-hand { background-color: #00ffff !important; }
body.heisei-mode .second-hand { background-color: #ff00ff !important; }
body.heisei-mode .heisei-clock-word-brand { display: block !important; position: absolute; bottom: 10px; width: 100%; text-align: center; font-size: 10px; color: #ff00ff; font-family: monospace; letter-spacing: 2px; }
body.heisei-mode .neon-clock-container { background-color: #000000 !important; border: 3px inset #888888 !important; border-radius: 0px !important; box-shadow: none !important; padding: 15px !important; }
body.heisei-mode .neon-date-box { color: #00ff00 !important; text-shadow: none !important; }
body.heisei-mode .neon-time-box { color: #00ff00 !important; background-color: #111111; border: 1px inset #333333; padding: 5px 0; font-size: 28px !important; text-shadow: none !important; }
body.heisei-mode .neon-day-box { color: #00ff00 !important; text-shadow: none !important; font-size: 12px !important; }

body.heisei-mode .generator-two-column { flex-direction: column !important; gap: 20px !important; }
body.heisei-mode .generator-settings-side { background-color: #000000 !important; border: 3px inset #888888 !important; border-radius: 0px !important; max-height: none !important; }
body.heisei-mode .section-title { color: #ff00ff !important; }
body.heisei-mode .gen-form-group input, body.heisei-mode .gen-form-group textarea { background-color: #111111 !important; color: #ffff00 !important; border: 2px inset #00ffff !important; border-radius: 0px !important; }
body.heisei-mode .day-input-container { background: #111111 !important; border-left: 4px solid #ff00ff !important; }
body.heisei-mode .btn-layout-switch { background: #222; color: #888; border: 2px outset #fff !important; }
body.heisei-mode .btn-layout-switch.active { background: #00f; color: #ff0; border: 2px inset #fff !important; }
body.heisei-mode .grid-inputs { background: #222222 !important; }
body.heisei-mode .btn-clear, body.heisei-mode .btn-select, body.heisei-mode .btn-reset-each { border-radius: 0px !important; border: 2px outset #ffffff !important; background-color: #555555 !important; color: #ffffff !important; }
body.heisei-mode .btn-select.active { background: #ff00ff !important; color: #ffff00 !important; border: 2px inset #ffffff !important; }
body.heisei-mode .btn-switch { background: #333; color: #ccc; border: 1px solid #777; }
body.heisei-mode .btn-switch.active { background: #f0f; color: #ff0; }
body.heisei-mode .icon-picker-grid { background: #000; border: 2px inset #fff; }
body.heisei-mode .icon-option:hover { background: #444; }
body.heisei-mode .icon-option.active { background: #00f; border-color: #ff0; }
body.heisei-mode .preview-scale-wrapper { transform: scale(0.6) !important; margin-bottom: -280px !important; }
body.heisei-mode #schedule-card { border: 10px double #00ffff !important; background-color: #000033 !important; box-shadow: none !important; }
body.heisei-mode #schedule-card * { font-family: "MS Pゴシック", sans-serif !important; }
body.heisei-mode .btn-save-png { border-radius: 0px !important; border: 3px outset #ffffff !important; background-color: #006600 !important; }
body.heisei-mode .file-label-v2 { background: #333 !important; border: 2px outset #fff !important; color: #fff !important; border-radius: 0px !important; }

body.heisei-mode .ad-box { border-color: #ff00ff !important; }
body.heisei-mode .ad-box a { color: #00ffff !important; text-decoration: underline !important; }

body.heisei-mode .slide-prev-btn, body.heisei-mode .slide-next-btn { background: #555555 !important; color: #ffff00 !important; border: 2px outset #ffffff !important; border-radius: 0px !important; font-family: "MS Pゴシック" !important; padding: 8px 12px !important; }
body.heisei-mode .slide-prev-btn::before { content: "＜ 前の画像 "; font-size: 12px; }
body.heisei-mode .slide-next-btn::before { content: " 次の画像 ＞"; font-size: 12px; }
body.heisei-mode .dot, body.heisei-mode .hp-dot { background-color: #00ff00 !important; border-radius: 0px !important; width: 12px !important; height: 12px !important; }
body.heisei-mode .dot.active, body.heisei-mode .hp-dot.active { background-color: #ff00ff !important; }
body.heisei-mode .main-title { font-size: 28px; color: #ff00ff !important; }
body.heisei-mode .tabs-container { border-bottom: 2px solid #00ffff; }
body.heisei-mode .tab-btn { color: #ffffff; border: 2px outset #ffffff; background-color: #222222; padding: 5px 10px; font-size: 12px; }
body.heisei-mode .tab-btn.active { background-color: #ff00ff !important; border: 2px inset #ffffff; }
body.heisei-mode .cta-button { background-color: #ff0000 !important; color: #ffff00 !important; border: 3px outset #ffffff; border-radius: 0; }
body.heisei-mode .tool-demo-box { background-color: #000000; border: 3px double #00ff00; }
body.heisei-mode .tool-inputs input { background-color: #222222; color: #00ff00; border: 2px inset #ffffff; }
body.heisei-mode .tool-inputs button { background-color: #555555; border: 2px outset #ffffff; color: #ffffff; }
body.heisei-mode .dummy-form input, body.heisei-mode .dummy-form textarea { background-color: #111111; color: #ffff00; border: 2px inset #00ffff; }
body.heisei-mode .submit-btn { background-color: #0000ff; border: 2px outset #ffffff; color: #ffffff; }
body.heisei-mode .main-footer { border-top: 3px double #00ffff; }
body.heisei-mode .heisei-footer-text { display: block; color: #ff00ff; margin-top: 10px; }
@keyframes flash { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

.counter-number, .counter-label { display: none; }
body.heisei-mode .counter-number, body.heisei-mode .counter-label { display: inline; }