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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: var(--line-height-normal);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/ロゴ/dango.png');
    background-repeat: repeat;
    background-size: 250px 250px;
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
    transform: rotate(-30deg);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: var(--space-xxl);
}

.section-title {
    font-size: var(--font-size-6xl);
    position: relative;
    font-weight: var(--font-weight-extrabold);
    letter-spacing: 0.15em;
    color: transparent;
    font-family: 'Arial Black', 'Helvetica', sans-serif;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8a80 25%, #ff5252 50%, #ff6b6b 75%, #ff8a80 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientFlow 4s ease-in-out infinite;
    display: inline-block;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ff6b6b, #ff8a80, #ff6b6b, transparent);
    border-radius: 2px;
    animation: underlineGlow 3s ease-in-out infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-scale.active {
    opacity: 1;
    transform: scale(1);
}

.fade-in-rotate {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-rotate.active {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

.page-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    z-index: var(--z-index-fixed);
}

.page-top.visible {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 200% 50%; }
    75% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes underlineGlow {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
        transform: translateX(-50%) scaleX(1);
    }
    50% { 
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.8);
        transform: translateX(-50%) scaleX(1.1);
    }
}

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

@media (max-width: 768px) {
    body {
        font-size: 17px;
        line-height: 1.6;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .section-title {
        letter-spacing: 0.1em;
    }
    
    .page-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .section-title {
        letter-spacing: 0.08em;
    }
    
    .page-top {
        width: 46px;
        height: 46px;
        bottom: 16px;
        right: 16px;
    }
}

@media (max-width: 360px) {
    body {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .section-title {
        letter-spacing: 0.05em;
    }
} 