* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}
:root {
    --bg: #f2f2f7;
    --text: #1d1d1f;
    --gray: #86868b;
    --blue: #007aff;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    background: var(--bg);
    overflow-x: hidden;
    position: relative;
}

.pc-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #e0f2fe, #f0f9ff, #f5f3ff);
    opacity: 0.8;
    animation: gradientFlow 15s ease infinite;
    background-size: 400% 400%;
}
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    z-index: 999;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeDown 0.6s ease forwards 0.2s;
}
.nav-logo { 
    height: 36px;
    cursor: pointer;
}
.contact-btn {
    font-size: 15px;
    color: var(--blue);
    font-weight: 600;
    border: none;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal.show { display: flex; }
.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
}
.modal-content img {
    width: 200px;
    height: 200px;
    border-radius: 12px;
}
.modal-content p {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.hero {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 20px 40px;
    gap: 20px;
}
.hero-text {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.4s;
}
.hero h1 {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 12px;
}
.hero p {
    font-size: 14px;
    color: var(--gray);
    max-width: 320px;
    margin: 0 auto;
}

.main-btn {
    display: inline-block;
    padding: 10px 28px;
    background: var(--blue);
    color: #fff;
    font-size: 15px;
    border-radius: 20px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    outline: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.main-btn:active {
    background: #0066cc;
    transform: scale(0.98);
    transition: background-color 0.1s ease, transform 0.1s ease;
}
.mobile-btn-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.6s;
}
.pc-btn-wrap {
    display: none;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.6s;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: scale(0);
    animation: rippleAnim 0.6s forwards;
    pointer-events: none;
}
@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}

.swiper-section {
    width: 100%;
    max-width: 380px;
    position: relative;
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInScale 0.8s ease forwards 0.8s;
}
.swiper-container {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}
.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease-out;
}
.swiper-slide {
    width: 100%;
    flex-shrink: 0;
    aspect-ratio: 16/9;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}
.slide-title {
    display: none;
    margin-top: 12px;
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}
.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ddd;
    transition: background 0.3s ease;
}
.dot.active {
    background: var(--blue);
}

.section {
    padding: 60px 20px;
    background: #fff;
    border-radius: 40px 40px 0 0;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}
.section.animate {
    opacity: 1;
    transform: translateY(0);
}
.section-title {
    font-size: 24px;
    margin-bottom: 16px;
}
.slogan-sub {
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 20px;
}
.slogan-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
    max-width: 880px;
    margin: 0 auto 40px;
}
.slogan-desc p {
    margin: 0;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.item {
    background: var(--bg);
    padding: 24px;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.item-img {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 16px;
}
.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.item.animate {
    opacity: 1;
    transform: translateY(0);
}
.item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.item p {
    font-size: 14px;
    color: var(--gray);
}

.go {
    padding: 60px 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease 0.2s;
}
.go.animate {
    opacity: 1;
    transform: translateY(0);
}
.go h2 {
    font-size: 24px;
    margin-bottom: 20px;
}
.tribute-text {
    margin-top: 30px;
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
}

.footer {
    background: #fff;
    padding: 20px 20px 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.3s;
}
.footer.animate {
    opacity: 1;
    transform: translateY(0);
}
.footer-copyright {
    font-size: 13px;
    color: var(--gray);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@media (min-width: 768px) {
    .slogan-desc p {
        white-space: nowrap;
    }

    .footer {
        padding: clamp(1vw, 20px, 1.5vw) clamp(1vw, 20px, 1.5vw) clamp(1vw, 20px, 1.5vw);
    }
    .footer-copyright {
        font-size: clamp(0.7vw, 14px, 1vw);
    }

    .pc-bg { display: block; }
    .nav {
        padding: clamp(0.8vw, 16px, 1.2vw) clamp(4vw, 80px, 5vw);
        background: rgba(255,255,255,0.7);
    }
    .nav-logo { height: clamp(1.8vw, 36px, 2.5vw); }
    .contact-btn { font-size: clamp(0.75vw, 15px, 1.1vw); }

    .container {
        max-width: clamp(83.3vw, 1600px, 93.7vw);
        padding: 0 clamp(1vw, 20px, 1.5vw);
    }

    .modal-content {
        padding: clamp(1.5vw, 30px, 2.5vw);
        border-radius: clamp(1vw, 20px, 1.8vw);
    }
    .modal-content img {
        width: clamp(10vw, 200px, 15vw);
        height: clamp(10vw, 200px, 200px);
        border-radius: clamp(0.6vw, 12px, 1vw);
    }
    .modal-content p {
        margin-top: clamp(0.5vw, 10px, 1vw);
        font-size: clamp(0.7vw, 14px, 1vw);
    }

    .hero {
        padding: 8vh clamp(2vw, 40px, 3vw) clamp(3vw, 60px, 4vw);
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        margin-top: -3vw; 
    }
    .hero-text {
        margin-top: clamp(9.3vw, 180px, 12vw);
        text-align: center;
    }
    .hero h1 {
        font-size: clamp(1.8vw, 36px, 2.5vw);
        margin-bottom: clamp(0.8vw, 16px, 1.2vw);
    }
    .hero p {
        font-size: clamp(0.88vw, 17px, 1.3vw);
        max-width: clamp(31.2vw, 600px, 40vw);
        margin-bottom: clamp(2vw, 40px, 3vw);
    }

    .pc-btn-wrap { display: block; }
    .mobile-btn-wrap { display: none; }
    .main-btn {
        padding: clamp(0.6vw, 12px, 1vw) clamp(1.8vw, 36px, 2.5vw);
        font-size: clamp(0.88vw, 17px, 1.3vw);
        border-radius: clamp(1.2vw, 24px, 1.8vw);
    }
    .main-btn:hover { background: #0066cc; }

    .swiper-section {
        max-width: 100%;
        margin-bottom: clamp(1vw, 20px, 1.5vw);
        width: 100%;
    }
    .swiper-wrapper {
        display: flex;
        gap: clamp(0.6vw, 12px, 1vw);
        transform: none !important;
    }
    .swiper-slide {
        width: calc(20% - 9.6px);
        flex-shrink: 0;
        animation: float 3s infinite ease-in-out;
    }
    .slide-title {
        display: block;
        margin-top: clamp(1.5vw, 30px, 2vw);
        font-size: clamp(0.7vw, 14px, 1vw);
    }
    @keyframes float {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-8px); }
        100% { transform: translateY(0px); }
    }
    .pagination { display: none; }

    .section {
        margin-top: clamp(8vw, 160px, 12vw);
        padding: clamp(3vw, 30px, 4vw) clamp(1vw, 20px, 1.5vw);
        border-radius: clamp(2vw, 40px, 3vw) clamp(2vw, 40px, 3vw) 0 0;
        background: rgba(255,255,255,0.9);
    }
    .section-title {
        font-size: clamp(1.2vw, 24px, 1.8vw);
        margin-bottom: clamp(1vw, 20px, 1.5vw);
    }
    .slogan-sub {
        font-size: clamp(0.9vw, 18px, 1.2vw);
        margin-bottom: clamp(1vw, 20px, 1.5vw);
    }
    .slogan-desc {
        font-size: clamp(0.8vw, 16px, 1vw);
        line-height: 1.8;
        max-width: 880px;
        margin: 0 auto clamp(2vw, 40px, 3vw);
    }
    .grid {
        grid-template-columns: repeat(4, 1fr);
        gap: clamp(1vw, 20px, 1.5vw);
    }
    .item {
        padding: clamp(1.2vw, 24px, 1.8vw);
        border-radius: clamp(1vw, 20px, 1.5vw);
        background: rgba(242, 242, 247, 0.8);
    }
    .item:nth-child(1) { transition-delay: 0.2s; }
    .item:nth-child(2) { transition-delay: 0.4s; }
    .item:nth-child(3) { transition-delay: 0.6s; }
    .item:nth-child(4) { transition-delay: 0.8s; }
    .item-img {
        margin-top: clamp(0.8vw, 16px, 1.2vw);
        border-radius: clamp(0.6vw, 12px, 1vw);
        aspect-ratio: 16/9;
    }
    .item h3 {
        font-size: clamp(0.9vw, 18px, 1.5vw);
        margin-bottom: clamp(0.4vw, 8px, 0.8vw);
    }
    .item p {
        font-size: clamp(0.7vw, 14px, 1.1vw);
    }

    .go {
        padding: clamp(3vw, 60px, 4vw) clamp(1vw, 20px, 1.5vw);
    }
    .go h2 {
        font-size: clamp(1.2vw, 24px, 1.8vw);
        margin-bottom: clamp(1vw, 20px, 1.5vw);
    }
    .tribute-text {
        font-size: clamp(0.8vw, 16px, 1vw);
        margin-top: clamp(2vw, 40px, 3vw);
    }
}

@media (min-width: 1600px) {
    .container { max-width: clamp(93.7vw, 1800px, 100vw); }
}