﻿:root {
    --primary-color: #2c3e50;
    --secondary-color: #e67e22;
    --accent-color: #f39c12;
    --bg-gradient-start: #fdfbfb;
    --bg-gradient-end: #ebedee;
    --card-bg: rgba(255, 255, 255, 0.85);
    --text-main: #333333;
    --text-muted: #666666;
    --transition-speed: 0.6s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
}

/* Background decorations */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.5;
}

body::before {
    width: 400px;
    height: 400px;
    background: #ffecd2;
    top: -100px;
    left: -100px;
}

body::after {
    width: 500px;
    height: 500px;
    background: #fcb69f;
    bottom: -150px;
    right: -100px;
}

.slider-container {
    width: 100%;
    max-width: 800px;
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

/* Base slide styling */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 80px); /* Leave room for controls */
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-y: auto;
    padding-bottom: 20px;
}

/* Scrollbar styling */
.slide::-webkit-scrollbar {
    width: 6px;
}
.slide::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
}
.slide::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 10;
}

.slide.exit-left {
    transform: translateX(-50px);
    opacity: 0;
}

.slide.exit-right {
    transform: translateX(50px);
    opacity: 0;
}

/* Glassmorphism Card */
.glass-effect {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Slide 0 (Cover) specific */
#slide-0 .glass-effect {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.badge {
    background: var(--secondary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

h1 {
    font-size: 2.2rem;
    line-height: 1.4;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
}

h1 .highlight {
    color: var(--secondary-color);
    position: relative;
}

h1 .highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 30%;
    background: rgba(243, 156, 18, 0.3);
    bottom: 0;
    left: 0;
    z-index: -1;
}

.intro-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Primary Button */
.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-family: inherit;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
}

.btn-primary span {
    transition: transform 0.3s ease;
}

.btn-primary:hover span {
    transform: translateX(5px);
}

/* Content slides header */
.card-header {
    border-bottom: 2px solid rgba(0,0,0,0.05);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.person-name {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.catchphrase {
    font-size: 1.8rem;
    color: var(--primary-color);
    line-height: 1.4;
    font-weight: 700;
}

/* Q&A blocks */
.qa-block {
    margin-bottom: 35px;
}

.question {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
}

.answer {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-main);
}

.motto {
    background: rgba(243, 156, 18, 0.08);
    padding: 25px;
    border-radius: 16px;
    border-left: 4px solid var(--secondary-color);
}

/* Floor Reaction */
.reaction-block {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 25px;
    margin-top: 20px;
}

.reaction-title {
    color: #495057;
    font-size: 1.05rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reaction-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6c757d;
    font-style: normal;
}

/* Epilogue card tweaks */
.epilogue-card {
    border: 2px solid rgba(230, 126, 34, 0.3);
}
.end-message {
    text-align: center;
    margin-top: 40px;
    font-weight: bold;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* Navigation Controls Fixed Bottom */
.nav-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 0 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    z-index: 100;
}

.nav-btn {
    background: transparent;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s, opacity 0.2s;
    padding: 10px;
}

.nav-btn:hover:not(:disabled) {
    color: var(--secondary-color);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-indicators {
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--secondary-color);
    transform: scale(1.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glass-effect {
        padding: 25px;
    }
    h1 {
        font-size: 1.8rem;
    }
    .catchphrase {
        font-size: 1.4rem;
    }
    .slide {
        height: calc(100% - 70px);
    }
}

/* Global Fixed Header */
.site-header {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 100;
}

.header-badge {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--primary-color);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: inline-block;
}

@media (max-width: 768px) {
    .site-header {
        top: 15px;
    }
    .header-badge {
        font-size: 0.85rem;
        padding: 6px 18px;
    }
}

/* === header 付近のスタイル === */

.osp-logo {
vertical-align: top ;
border: none ;
margin: 0px 10px;
}

.page-title1 {
color: #ff6600 ;
line-height: 2.0em ;
font-size: 175% ;
font-style: italic ;
}

.page-title2 {
color: #ff6600 ;
line-height: 2.0em ;
font-size: 150% ;
font-style: italic ;
}

/* === 本文、説明文などのスタイル === */

.maintext {
text-align: left !important ;
padding-left: 2em;
text-indent: 1em;
font-size: 100% ;
font-weight: normal ;
}

.elements {
text-align: left !important ;
padding-left: 2em;
color: #000000 ;
font-size: 100% ;
font-weight: bold ;
}

.note {
text-align: left !important ;
padding-left: 3em;
text-indent: -1em;
font-size: 90% ;
font-weight: normal ;
}

.list {
text-align: left !important ;
padding-left: 3em;
text-indent: -1em;
color: #000000 ;
font-size: 95% ;
font-weight: normal ;
}

/* === 汎用スタイル === */

.t-l {
text-align: left ;
}

.t-c {
text-align: center ;
}

.t-r {
text-align: right ;
}

.v-t {
vertical-align: top ;
}

.v-m {
vertical-align: middle ;
}

.v-b {
vertical-align: bottom ;
}


.padding20 {
padding: 0 0 0 20px ;
}

.padding40 {
padding: 0 0 0 40px ;
}

.padding60 {
padding: 0 0 0 60px ;
}

.padding80 {
padding: 0 0 0 80px ;
}

.padding100 {
padding: 0 0 0 100px ;
}

.padding120 {
padding: 0 0 0 120px ;
}


.l-h150 {
line-height: 1.5em ;
}

.l-h135 {
line-height: 1.35em ;
}

.l-h125 {
line-height: 1.25em ;
}

.l-h120 {
line-height: 1.20em ;
}

.l-h100 {
line-height: 1.0em !important ;
}

.l-h25 {
line-height: 0.25em ;
}


.f175 {
font-size: 175% ;
}

.f150 {
font-size: 150% ;
}

.f135 {
font-size: 135% ;
}

.f120 {
font-size: 120% ;
}

.f110 {
font-size: 110% ;
}

.f105 {
font-size: 105% ;
}

.f100 {
font-size: 100% ;
}

.f95 {
font-size: 95% ;
}

.f90 {
font-size: 90% ;
}

.f85 {
font-size: 85% ;
}

.f80 {
font-size: 80% ;
}

.f75 {
font-size: 75% ;
}


.w-b {
font-weight: bold ;
}

.w-n {
font-weight: normal !important ;
}

.f-i {
font-style: italic ;
}

.udl {
text-decoration: underline ;
}


.c-r {
color: #ff0000 ;
}

.c-o {
color: #ff6600 ;
}

.c-m {
color: #800000 ;
}

.c-g {
color: #008000 ;
}

.c-dg {
color: #005500 ;
}

.c-b {
color: #0000ff ;
}

.c-n {
color: #000080 ;
}

.c-b {
color: #000000 ;
}

.c-s {
color: #666666 ;
}

.c-mr {
color: #0066ff ;
}


.hr-100-2b {
width: 100% ;
height: 2px ;
border-color: #000 ;
border-style: solid ;
}

.hr-70-2b {
width: 70% ;
height: 2px ;
border-color: #000 ;
border-style: solid ;
}

.hr-50-2b {
width: 50% ;
height: 2px ;
border-color: #000 ;
border-style: solid ;
}

.hr-100-2s {
width: 100% ;
height: 2px ;
border-color: #666 ;
border-style: solid ;
}

.hr-70-2s {
width: 70% ;
height: 2px ;
border-color: #666 ;
border-style: solid ;
}

.hr-50-2s {
width: 50% ;
height: 2px ;
border-color: #666 ;
border-style: solid ;
}

.hr-400px-2s {
width: 400px ;
height: 2px ;
border-color: #666 ;
border-style: solid ;
}

.hr-300px-2s {
width: 300px ;
height: 2px ;
border-color: #666 ;
border-style: solid ;
}

.hr-200px-2s {
width: 200px ;
height: 2px ;
border-color: #666 ;
border-style: solid ;
}

.hr-100px-2s {
width: 100px ;
height: 2px ;
border-color: #666 ;
border-style: solid ;
}

.hr-50px-2s {
width: 50px ;
height: 2px ;
border-color: #666 ;
border-style: solid ;
}

