/* リセット & ベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "HiraMinProN-W3", "HiraMinProN-W6", "Noto Serif JP", "Times New Roman", serif;
    line-height: 1.8;
    color: #333;
    overflow-x: hidden;
    cursor: none;
}

/* マウス追随する宇宙の要素 */
.cosmic-cursor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.cosmic-cursor-container.dark-mode {
    mix-blend-mode: screen;
}

.cosmic-cursor-container.light-mode {
    mix-blend-mode: multiply;
}

.cosmic-star {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    opacity: 0.8;
    transition: transform 0.1s ease-out, background 0.3s ease, box-shadow 0.3s ease;
    animation: starTwinkle 2s ease-in-out infinite;
}

.cosmic-cursor-container.dark-mode .cosmic-star {
    background: white;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 12px rgba(255, 255, 255, 0.5);
}

.cosmic-cursor-container.light-mode .cosmic-star {
    background: #333;
    box-shadow: 0 0 6px rgba(51, 51, 51, 0.8), 0 0 12px rgba(51, 51, 51, 0.5);
}

.cosmic-star-1 {
    width: 3px;
    height: 3px;
    animation-delay: 0s;
}

.cosmic-star-2 {
    width: 5px;
    height: 5px;
    animation-delay: 0.4s;
}

.cosmic-star-3 {
    width: 4px;
    height: 4px;
    animation-delay: 0.8s;
}

.cosmic-star-4 {
    width: 3px;
    height: 3px;
    animation-delay: 1.2s;
}

.cosmic-star-5 {
    width: 6px;
    height: 6px;
    animation-delay: 1.6s;
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

.cosmic-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 0.6;
    transition: transform 0.15s ease-out, background 0.3s ease, box-shadow 0.3s ease;
    animation: particlePulse 1.5s ease-in-out infinite;
}

.cosmic-cursor-container.dark-mode .cosmic-particle {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
}

.cosmic-cursor-container.light-mode .cosmic-particle {
    background: rgba(51, 51, 51, 0.6);
    box-shadow: 0 0 4px rgba(51, 51, 51, 0.6);
}

.cosmic-particle-1 {
    animation-delay: 0s;
}

.cosmic-particle-2 {
    animation-delay: 0.3s;
}

.cosmic-particle-3 {
    animation-delay: 0.6s;
}

.cosmic-particle-4 {
    animation-delay: 0.9s;
}

@keyframes particlePulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.cosmic-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.5;
    transition: transform 0.2s ease-out, background 0.3s ease;
    filter: blur(20px);
    animation: glowPulse 3s ease-in-out infinite;
}

.cosmic-cursor-container.dark-mode .cosmic-glow {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
}

.cosmic-cursor-container.light-mode .cosmic-glow {
    background: radial-gradient(circle, rgba(51, 51, 51, 0.3) 0%, transparent 70%);
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    background-image: 
        url('https://images.unsplash.com/photo-1446776653964-20c1d3a81b06?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80'),
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 40px 120px;
    color: white;
    overflow: hidden;
}

/* ネットワークパターンのような効果 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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: 50px 50px;
    opacity: 0.3;
    pointer-events: none;
}

.hero-top {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    font-size: 14px;
    z-index: 10;
}

.hero-top-left {
    font-weight: 500;
}

.hero-top-right {
    font-size: 12px;
    opacity: 0.9;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 10;
    position: relative;
}

.hero-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
    animation: titleFadeIn 1.5s ease-out, titleGlow 3s ease-in-out infinite alternate;
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 0, 0, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.9);
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.hero-title::before {
    content: '西中島小宇宙連合';
    position: absolute;
    top: 0;
    left: 0;
    color: rgba(255, 255, 255, 0.1);
    animation: titleShift 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes titleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 0 40px rgba(255, 255, 255, 0.1);
    }
    100% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 0 0 60px rgba(255, 255, 255, 0.2);
    }
}

@keyframes titleShift {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(3px, 3px);
    }
}

.hero-description {
    margin-bottom: 40px;
}

.hero-description p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.95;
    animation: descriptionFade 1.5s ease-out backwards;
    position: relative;
    text-shadow: 
        0 0 8px rgba(0, 0, 0, 0.8),
        0 0 16px rgba(0, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.9);
    background: rgba(0, 0, 0, 0.25);
    padding: 15px 25px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    display: inline-block;
}

.hero-description p:nth-child(1) {
    animation-delay: 0.3s;
}

.hero-description p:nth-child(2) {
    animation-delay: 0.6s;
}

.hero-description p::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    animation: underlineGrow 1.5s ease-out 1s forwards;
    transform: translateX(-50%);
}

@keyframes descriptionFade {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 0.95;
        transform: translateY(0) scale(1);
    }
}

@keyframes underlineGrow {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.hero-bullets {
    list-style: none;
    font-size: 16px;
    line-height: 2;
}

.hero-bullets li {
    margin-bottom: 8px;
    opacity: 0.9;
    animation: bulletFadeIn 1s ease-out backwards;
    position: relative;
    padding-left: 20px;
    text-shadow: 
        0 0 6px rgba(0, 0, 0, 0.8),
        0 0 12px rgba(0, 0, 0, 0.6),
        0 1px 2px rgba(0, 0, 0, 0.9);
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
    border-radius: 6px;
    backdrop-filter: blur(6px);
    display: inline-block;
}

.hero-bullets li:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-bullets li:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-bullets li::before {
    content: '・';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    animation: bulletDot 1s ease-out 0.3s backwards;
}

@keyframes bulletDot {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        transform: scale(1.5) rotate(180deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(360deg);
    }
}

@keyframes bulletFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 0.9;
        transform: translateY(0);
    }
}

@keyframes bulletLine {
    0% {
        width: 0;
    }
    100% {
        width: 12px;
    }
}

/* スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite, indicatorGlow 3s infinite;
    z-index: 10;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }
    40% {
        transform: translateX(-50%) translateY(-10px) rotate(5deg);
    }
    60% {
        transform: translateX(-50%) translateY(-5px) rotate(-5deg);
    }
}

@keyframes indicatorGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }
}

/* 浮遊する要素 */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.floating-text {
    position: absolute;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
    white-space: nowrap;
    animation: floatRandom 20s infinite linear;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.floating-text-1 {
    top: 20%;
    left: 10%;
    animation: floatRandom1 25s infinite linear;
    transform: rotate(-15deg);
}

.floating-text-2 {
    top: 60%;
    right: 15%;
    animation: floatRandom2 30s infinite linear reverse;
    transform: rotate(10deg);
}

.floating-text-3 {
    bottom: 30%;
    left: 20%;
    animation: floatRandom3 22s infinite linear;
    transform: rotate(-5deg);
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: floatCircle 15s infinite ease-in-out;
}

.floating-circle-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    right: 20%;
    animation: floatCircle1 18s infinite ease-in-out;
}

.floating-circle-2 {
    width: 120px;
    height: 120px;
    bottom: 25%;
    left: 10%;
    animation: floatCircle2 22s infinite ease-in-out;
}

.floating-circle-3 {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 50%;
    animation: floatCircle3 16s infinite ease-in-out;
}

@keyframes floatRandom1 {
    0% {
        transform: translate(0, 0) rotate(-15deg) scale(1);
    }
    25% {
        transform: translate(50px, -30px) rotate(-10deg) scale(1.1);
    }
    50% {
        transform: translate(100px, 20px) rotate(-20deg) scale(0.9);
    }
    75% {
        transform: translate(30px, 40px) rotate(-12deg) scale(1.05);
    }
    100% {
        transform: translate(0, 0) rotate(-15deg) scale(1);
    }
}

@keyframes floatRandom2 {
    0% {
        transform: translate(0, 0) rotate(10deg) scale(1);
    }
    33% {
        transform: translate(-60px, 50px) rotate(15deg) scale(1.2);
    }
    66% {
        transform: translate(-30px, -40px) rotate(5deg) scale(0.8);
    }
    100% {
        transform: translate(0, 0) rotate(10deg) scale(1);
    }
}

@keyframes floatRandom3 {
    0% {
        transform: translate(0, 0) rotate(-5deg) scale(1);
    }
    50% {
        transform: translate(70px, -50px) rotate(-10deg) scale(1.15);
    }
    100% {
        transform: translate(0, 0) rotate(-5deg) scale(1);
    }
}

@keyframes floatCircle1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(40px, -60px) scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translate(-30px, 40px) scale(0.8);
        opacity: 0.2;
    }
    75% {
        transform: translate(60px, 30px) scale(1.1);
        opacity: 0.4;
    }
}

@keyframes floatCircle2 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.2;
    }
    33% {
        transform: translate(-50px, 70px) scale(1.3) rotate(120deg);
        opacity: 0.4;
    }
    66% {
        transform: translate(80px, -40px) scale(0.7) rotate(240deg);
        opacity: 0.1;
    }
}

@keyframes floatCircle3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(100px, -80px) scale(1.5);
        opacity: 0.6;
    }
}

/* シュールなアニメーション要素 */
.surreal-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.surreal-element {
    position: absolute;
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.surreal-1 {
    top: 25%;
    left: 15%;
    animation: textDisappear 4s ease-in-out infinite, slideAway 6s ease-in-out infinite;
}

.surreal-2 {
    top: 65%;
    right: 20%;
    font-size: 40px;
    animation: rotateSlowly 8s linear infinite, scaleBreathe 3s ease-in-out infinite;
}

.surreal-3 {
    bottom: 30%;
    left: 25%;
    animation: textDisappear 5s ease-in-out infinite 1s, slideAway 7s ease-in-out infinite;
}

.surreal-4 {
    top: 45%;
    right: 15%;
    animation: textDisappear 3.5s ease-in-out infinite 0.5s, slideAway 5s ease-in-out infinite;
}

.surreal-5 {
    bottom: 50%;
    left: 50%;
    animation: textDisappear 4.5s ease-in-out infinite 1.5s, scaleBreathe 4s ease-in-out infinite;
}

/* セクション内のシュール要素 */
.content-section {
    position: relative;
}

.surreal-section-1,
.surreal-section-2,
.surreal-section-3,
.surreal-section-4,
.surreal-section-5 {
    position: absolute;
    color: rgba(51, 51, 51, 0.3);
    font-size: 24px;
    font-weight: 600;
    z-index: 1;
    pointer-events: none;
}

.surreal-section-1 {
    top: 10%;
    right: 5%;
    animation: textDisappear 5s ease-in-out infinite, rotateSlowly 12s linear infinite;
}

.surreal-section-2 {
    top: 20%;
    left: 5%;
    animation: textDisappear 4s ease-in-out infinite 1s, slideAway 8s ease-in-out infinite;
}

.surreal-section-3 {
    top: 15%;
    right: 10%;
    animation: textDisappear 6s ease-in-out infinite 0.5s, scaleBreathe 5s ease-in-out infinite;
}

.surreal-section-4 {
    top: 8%;
    left: 8%;
    animation: textDisappear 4.5s ease-in-out infinite 1.5s, rotateSlowly 10s linear infinite;
}

.surreal-section-5 {
    top: 12%;
    right: 8%;
    animation: textDisappear 5.5s ease-in-out infinite 2s, slideAway 9s ease-in-out infinite;
}

/* コンテンツセクション */
.content {
    background: white;
}

.content-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    animation: headingAppear 1s ease-out;
    transform-origin: left;
}

@keyframes headingAppear {
    0% {
        opacity: 0;
        transform: translateX(-30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #333;
}

.section-heading.left {
    text-align: left;
}

.section-heading.right {
    text-align: right;
}

.section-heading.center {
    text-align: center;
    display: block;
    transform-origin: center;
}

.section-heading.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-content {
    margin-top: 60px;
}

/* 会社概要セクション */
.company-section {
    position: relative;
}

.company-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.company-text-wrapper {
    max-width: 700px;
    text-align: right;
    position: relative;
}

.company-text {
    font-size: 17px;
    line-height: 2.2;
    color: #333;
    margin-bottom: 32px;
    position: relative;
    padding-right: 30px;
    text-align: justify;
    text-justify: inter-ideograph;
    animation: textReveal 1.5s ease-out backwards;
}

.company-text::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #333, transparent);
    animation: lineGrow 1s ease-out 0.5s backwards;
}

.company-text:nth-child(1) {
    animation-delay: 0.2s;
}

.company-text:nth-child(2) {
    animation-delay: 0.4s;
}

.section-content p {
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin-bottom: 24px;
    position: relative;
    padding-left: 20px;
    animation: textReveal 1.5s ease-out backwards;
}

.section-content p:nth-child(1) {
    animation-delay: 0.2s;
}

.section-content p:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-content p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #333;
    animation: lineGrow 1s ease-out 0.5s backwards;
}

@keyframes lineGrow {
    0% {
        height: 0;
        top: 50%;
    }
    100% {
        height: 100%;
        top: 0;
    }
}

.section-content.right {
    text-align: right;
}

/* ロゴセクション */
.logo-section {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

.logo-visual {
    flex: 0 0 auto;
    position: relative;
}

.logo-concept {
    width: 200px;
    height: 200px;
    animation: logoRotate 20s linear infinite, logoPulse 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes logoRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes logoPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.logo-content {
    flex: 1;
    min-width: 300px;
}

.section-text {
    margin-top: 40px;
}

.section-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 16px;
}

.section-text .note {
    font-size: 14px;
    color: #666;
    margin-top: 24px;
}

/* 掲載内容セクション */
.content-about-section {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

.content-left {
    flex: 0 0 auto;
}

.content-right {
    flex: 1;
    min-width: 300px;
}

.content-box {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 24px;
    animation: boxWiggle 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.content-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: boxShine 3s infinite;
}

@keyframes boxWiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(0.5deg);
    }
    75% {
        transform: rotate(-0.5deg);
    }
}

@keyframes boxShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.content-box p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 12px;
}

.content-box p:last-child {
    margin-bottom: 0;
}

.ellipsis {
    text-align: center;
    font-size: 24px;
    color: #333;
    letter-spacing: 8px;
    margin-top: 20px;
    animation: ellipsisBlink 2s infinite;
    position: relative;
}

.ellipsis::after {
    content: '...';
    animation: ellipsisDots 1.5s infinite;
}

@keyframes ellipsisBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes ellipsisDots {
    0% {
        content: '.';
    }
    33% {
        content: '..';
    }
    66%, 100% {
        content: '...';
    }
}

/* 謎のアニメーション要素 */
.mystery-element {
    position: absolute;
    font-size: 60px;
    color: rgba(51, 51, 51, 0.2);
    font-weight: 700;
    pointer-events: none;
    z-index: 1;
    animation: mysteryFloat 8s ease-in-out infinite;
    user-select: none;
}

.mystery-1 {
    top: 20%;
    right: 10%;
    animation: mysteryFloat1 10s ease-in-out infinite;
}

.mystery-2 {
    bottom: 30%;
    right: 5%;
    animation: mysteryFloat2 12s ease-in-out infinite;
    animation-delay: 2s;
}

.mystery-logo {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    color: rgba(51, 51, 51, 0.15);
    animation: mysteryRotate 15s linear infinite, mysteryPulse 3s ease-in-out infinite;
}

.mystery-3 {
    top: 50%;
    left: -5%;
    animation: mysteryFloat3 9s ease-in-out infinite;
    animation-delay: 1s;
}

.mystery-4 {
    bottom: 10%;
    right: 15%;
    animation: mysteryFloat4 11s ease-in-out infinite;
    animation-delay: 3s;
}

.mystery-faq {
    top: 10%;
    right: 5%;
    font-size: 100px;
    color: rgba(255, 255, 255, 0.1);
    animation: mysteryFloatFAQ 13s ease-in-out infinite;
}

@keyframes mysteryFloatFAQ {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.1;
    }
    25% {
        transform: translate(50px, -60px) rotate(90deg) scale(1.3);
        opacity: 0.2;
    }
    50% {
        transform: translate(-40px, 50px) rotate(180deg) scale(0.7);
        opacity: 0.05;
    }
    75% {
        transform: translate(60px, 40px) rotate(270deg) scale(1.1);
        opacity: 0.15;
    }
}

/* 今すぐ登録セクション */
.register-section {
    text-align: center;
    position: relative;
}

.register-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    position: relative;
}

.register-content {
    margin-top: 40px;
}

.register-text {
    font-size: 20px;
    line-height: 2;
    color: #333;
    margin-bottom: 20px;
    animation: registerTextFloat 4s ease-in-out infinite;
    position: relative;
}

.register-text:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes registerTextFloat {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-5px);
        opacity: 0.8;
    }
}

.register-button {
    position: relative;
    padding: 24px 60px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    background: transparent;
    border: 3px solid #333;
    border-radius: 50px;
    cursor: pointer;
    margin: 40px auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
    animation: registerButtonPulse 3s ease-in-out infinite;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "HiraMinProN-W3", "HiraMinProN-W6", "Noto Serif JP", "Times New Roman", serif;
}

.register-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(51, 51, 51, 0.1), transparent);
    transition: left 0.5s ease;
}

.register-button:hover::before {
    left: 100%;
}

.register-button:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 8px 24px rgba(51, 51, 51, 0.2);
    border-color: #666;
}

.register-button:active {
    transform: scale(0.98) rotate(-1deg);
}

.register-button-text {
    position: relative;
    z-index: 1;
}


@keyframes registerButtonPulse {
    0%, 100% {
        transform: scale(1);
        border-color: #333;
    }
    50% {
        transform: scale(1.02);
        border-color: #666;
    }
}

@keyframes registerIconSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.register-note {
    margin-top: 30px;
    font-size: 14px;
    color: #666;
    font-style: italic;
    animation: registerNoteFade 4s ease-in-out infinite;
}

@keyframes registerNoteFade {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

@keyframes mysteryFloat1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.2;
    }
    25% {
        transform: translate(30px, -40px) rotate(90deg) scale(1.2);
        opacity: 0.3;
    }
    50% {
        transform: translate(-20px, 30px) rotate(180deg) scale(0.8);
        opacity: 0.15;
    }
    75% {
        transform: translate(40px, 20px) rotate(270deg) scale(1.1);
        opacity: 0.25;
    }
}

@keyframes mysteryFloat2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.2;
    }
    33% {
        transform: translate(-50px, -30px) rotate(-120deg) scale(1.3);
        opacity: 0.3;
    }
    66% {
        transform: translate(30px, 50px) rotate(120deg) scale(0.7);
        opacity: 0.1;
    }
}

@keyframes mysteryRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.2);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}

@keyframes mysteryPulse {
    0%, 100% {
        opacity: 0.15;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes mysteryFloat3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: translate(60px, -50px) rotate(180deg);
        opacity: 0.3;
    }
}

@keyframes mysteryFloat4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.2;
    }
    25% {
        transform: translate(-40px, 30px) rotate(90deg) scale(1.1);
        opacity: 0.25;
    }
    75% {
        transform: translate(40px, -30px) rotate(-90deg) scale(0.9);
        opacity: 0.15;
    }
}

/* FAQセクション */
.faq-section {
    margin-top: 40px;
    position: relative;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    background-image: 
        url('https://images.unsplash.com/photo-1446776653964-20c1d3a81b06?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80'),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 100px 40px;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    pointer-events: none;
}

.faq-section .section-heading {
    color: white;
    position: relative;
    z-index: 10;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.faq-section .section-heading::after {
    background: white;
}

.faq-container {
    margin-top: 60px;
    position: relative;
    z-index: 10;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: faqFloat 6s ease-in-out infinite;
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: faqShine 4s infinite;
    z-index: 0;
}

@keyframes faqShine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.faq-item:nth-child(odd) {
    animation-delay: 0s;
}

.faq-item:nth-child(even) {
    animation-delay: 1s;
}

@keyframes faqFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-3px) rotate(0.2deg);
    }
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.faq-question {
    width: 100%;
    padding: 24px 32px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.faq-question:hover::before {
    left: 100%;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 36px;
}

.faq-q-text {
    flex: 1;
    line-height: 1.6;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform-origin: center;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg) scale(1.1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s ease,
                opacity 0.3s ease;
    opacity: 0;
    padding: 0 32px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
    padding: 0 32px 24px;
    animation: slideDown 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer-content {
    padding-top: 16px;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.4s ease 0.1s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer-content p {
    margin: 0;
    font-weight: 500;
}

/* フッター */
.footer {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    background-image: 
        url('https://images.unsplash.com/photo-1446776653964-20c1d3a81b06?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80'),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 80px 40px 60px;
    max-width: 100%;
    margin: 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    color: white;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    pointer-events: none;
}

.footer-left,
.footer-right {
    flex: 1;
    min-width: 250px;
    position: relative;
    z-index: 10;
}

.footer-org-name,
.footer-copyright {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    animation: footerTextGlow 3s ease-in-out infinite alternate;
}

.footer-org-desc,
.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

@keyframes footerTextGlow {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.2);
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px 100px;
    }

    .hero-top {
        flex-direction: column;
        gap: 12px;
        padding: 0 20px;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description p {
        font-size: 14px;
    }

    .hero-bullets {
        font-size: 14px;
    }


    .content-section {
        padding: 60px 20px;
    }

    .section-heading {
        font-size: 28px;
    }

    .logo-section {
        flex-direction: column;
        gap: 40px;
    }

    .content-about-section {
        flex-direction: column;
        gap: 40px;
    }
    
    .faq-question {
        padding: 20px 24px;
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 24px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 24px 20px;
    }

    .footer {
        padding: 60px 20px 80px;
        flex-direction: column;
    }
    
    .mystery-element {
        font-size: 40px;
    }
    
    .mystery-logo {
        font-size: 60px;
    }
    
    .mystery-faq {
        font-size: 70px;
    }
    
    .company-text {
        padding-right: 20px;
        font-size: 16px;
    }
    
    .register-button {
        padding: 20px 40px;
        font-size: 20px;
    }
    
    .register-text {
        font-size: 18px;
    }
    
    .register-note {
        font-size: 12px;
    }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .section-heading {
        font-size: 24px;
    }

    .logo-concept {
        width: 150px;
        height: 150px;
    }
}

