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

body {
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', 'Inter', 'Zen Kaku Gothic Antique', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #4e4b4c;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-img {
    height: 60px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: #4e4b4c;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.nav-list a:hover {
    color: #fd7066;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    background: #fff;
    padding: 120px 0 80px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(253, 112, 102, 0.25) 0%, rgba(253, 112, 102, 0.15) 30%, rgba(253, 112, 102, 0.05) 60%, transparent 100%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(40px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -25%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 181, 107, 0.2) 0%, rgba(255, 181, 107, 0.1) 40%, rgba(255, 181, 107, 0.03) 70%, transparent 100%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(60px);
}

.floating-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), rgba(253, 112, 102, 0.1), rgba(253, 112, 102, 0.02));
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.15), 0 0 20px rgba(253, 112, 102, 0.05);
    animation: float 4s ease-in-out infinite;
}

.bubble:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 5s;
}

.bubble:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 85%;
    animation-delay: 2s;
    animation-duration: 4s;
}

.bubble:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 15%;
    left: 75%;
    animation-delay: 4s;
    animation-duration: 6s;
}

.bubble:nth-child(4) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 15%;
    animation-delay: 1s;
    animation-duration: 4.5s;
}

.bubble:nth-child(5) {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 5%;
    animation-delay: 3s;
    animation-duration: 5.5s;
}

.bubble:nth-child(6) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    animation-delay: 5s;
    animation-duration: 5s;
}

.bubble:nth-child(7) {
    width: 90px;
    height: 90px;
    top: 70%;
    left: 60%;
    animation-delay: 6s;
    animation-duration: 6.5s;
}

.bubble:nth-child(8) {
    width: 110px;
    height: 110px;
    top: 30%;
    left: 90%;
    animation-delay: 2.5s;
    animation-duration: 5.5s;
}

.bubble:nth-child(9) {
    width: 50px;
    height: 50px;
    top: 85%;
    left: 40%;
    animation-delay: 4.5s;
    animation-duration: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.7;
    }
    33% {
        transform: translateY(-20px) translateX(10px) rotate(120deg);
        opacity: 1;
    }
    66% {
        transform: translateY(20px) translateX(-10px) rotate(240deg);
        opacity: 0.8;
    }
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4e4b4c;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.hero-description {
    font-size: 1.2rem;
    color: #4e4b4c;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fd7066;
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #4e4b4c;
    font-weight: 500;
    margin-top: 0.5rem;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
}

.btn-primary {
    background: #fd7066;
    color: #fff;
    box-shadow: 0 4px 15px rgba(253, 112, 102, 0.3);
}

.btn-primary:hover {
    background: #fc5a4d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 112, 102, 0.4);
}

.btn-secondary {
    background: #fff;
    color: #fd7066;
    border: 2px solid #fd7066;
}

.btn-secondary:hover {
    background: #fd7066;
    color: #fff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-image, .ralango-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-image {
    margin-top: 0;
}

.hero-img {
    width: 80%;
    height: auto;
}

.hero-placeholder, .feature-placeholder {
    background: linear-gradient(135deg, #fd7066, #ff9a8b);
    color: #fff;
    padding: 80px 40px;
    border-radius: 20px;
    text-align: center;
    font-size: 1.2rem;
    width: 100%;
}

.ralango-frame {
    background: linear-gradient(135deg, #fd7066, #ff9a8b);
    padding: 15px;
    border-radius: 20px;
    width: 100%;
}

.feature-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #4e4b4c;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin: 0 auto 3rem;
    max-width: 820px;
    line-height: 1.7;
    font-family: 'Noto Sans JP', sans-serif;
}

.service {
    padding: 80px 0;
    background: #fafafa;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    position: relative;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fd7066;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.service-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #4e4b4c;
    font-family: 'Zen Maru Gothic', sans-serif;
    line-height: 1.4;
}

.service-item p {
    color: #4e4b4c;
    line-height: 1.7;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
    text-align: left;
}

.ralango {
    padding: 80px 0;
    background: #fff;
}

.ralango-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-end;
    margin-bottom: 3rem;
}


.ralango-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ralango-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #4e4b4c;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.ralango-item p {
    color: #4e4b4c;
    line-height: 1.7;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
}

.ralango-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.about {
    padding: 80px 0;
    background: #fafafa;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #fdf5f4 0%, #fff 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fd7066;
}

.contact-info {
    padding: 2rem 0;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.contact-info p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #555;
}

.footer {
    background: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fd7066;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #ccc;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fd7066;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fd7066;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #999;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
        margin-top: 70px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
        align-items: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .ralango-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .hero-placeholder, .feature-placeholder {
        padding: 60px 30px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-item {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Demo Videos Page */
.demo-videos {
    padding: 120px 0 80px;
    margin-top: 80px;
    background: #fff;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #4e4b4c;
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.page-description {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin: 0 auto 4rem;
    max-width: 800px;
    line-height: 1.7;
    font-family: 'Noto Sans JP', sans-serif;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.video-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
    position: relative;
    width: 100%;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

.video-info {
    padding: 2rem;
}

.video-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4e4b4c;
    margin-bottom: 1rem;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.video-info p {
    color: #666;
    line-height: 1.7;
    font-family: 'Noto Sans JP', sans-serif;
}

.back-to-top {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .demo-videos {
        padding: 100px 0 60px;
        margin-top: 70px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-description {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .video-grid {
        gap: 3rem;
        margin-bottom: 3rem;
    }
    
    .video-info {
        padding: 1.5rem;
    }
    
    .video-info h3 {
        font-size: 1.3rem;
    }
    
    .back-to-top {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .video-grid {
        gap: 2rem;
    }
    
    .video-info {
        padding: 1.2rem;
    }
}

/* Contact Result Page */
.contact-result {
    padding: 120px 0 80px;
    margin-top: 80px;
    background: #fff;
}

.result-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.success-message, .error-message {
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 2rem;
}

.success-message {
    background: linear-gradient(135deg, #e8f5e8, #f0f9f0);
    border: 2px solid #28a745;
}

.success-message h1 {
    color: #155724;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.success-message p {
    color: #155724;
    font-size: 1.2rem;
    line-height: 1.7;
    font-family: 'Noto Sans JP', sans-serif;
}

.error-message {
    background: linear-gradient(135deg, #fdf2f2, #fef5f5);
    border: 2px solid #dc3545;
}

.error-message h1 {
    color: #721c24;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Zen Maru Gothic', sans-serif;
}

.error-message p, .error-message ul {
    color: #721c24;
    font-size: 1.2rem;
    line-height: 1.7;
    font-family: 'Noto Sans JP', sans-serif;
}

.error-message ul {
    text-align: left;
    margin: 0 auto;
    display: inline-block;
}

.error-message li {
    margin-bottom: 0.5rem;
}

.result-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .contact-result {
        padding: 100px 0 60px;
        margin-top: 70px;
    }
    
    .success-message, .error-message {
        padding: 2rem;
    }
    
    .success-message h1, .error-message h1 {
        font-size: 2rem;
    }
    
    .success-message p, .error-message p, .error-message ul {
        font-size: 1.1rem;
    }
    
    .result-buttons {
        gap: 1rem;
    }
}

/* Legal Pages (Privacy Policy, Terms of Service) */
.legal-page {
    padding: 120px 0 80px;
    margin-top: 80px;
    background: #fff;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #4e4b4c;
    margin-bottom: 1rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    border-bottom: 2px solid #fd7066;
    padding-bottom: 0.5rem;
}

.legal-section p {
    color: #666;
    margin-bottom: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    color: #666;
    margin-bottom: 0.5rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-info {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.legal-footer {
    border-top: 1px solid #ddd;
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.legal-footer p {
    color: #999;
    font-size: 0.9rem;
    font-family: 'Noto Sans JP', sans-serif;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
        margin-top: 70px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .legal-section h2 {
        font-size: 1.2rem;
    }
    
    .legal-section p, .legal-section li {
        font-size: 0.95rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .legal-section h2 {
        font-size: 1.1rem;
    }
    
    .legal-section ul {
        padding-left: 1.5rem;
    }
}

/* Mobile Drawer Menu */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    visibility: hidden;
    transition: visibility 0s linear 0.3s;
}

.mobile-drawer.active {
    visibility: visible;
    transition: visibility 0s linear 0s;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mobile-drawer.active .drawer-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 2001;
}

.mobile-drawer.active .drawer-content {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.drawer-logo {
    height: 35px;
    width: auto;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.3s ease;
}

.drawer-close:hover {
    color: #fd7066;
}

.drawer-nav {
    padding: 1rem 0;
}

.drawer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drawer-nav-list li {
    margin: 0;
}

.drawer-link {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #4e4b4c;
    font-weight: 500;
    font-size: 1.1rem;
    font-family: 'Noto Sans JP', sans-serif;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.drawer-link:hover {
    background: #f8f9fa;
    color: #fd7066;
    padding-left: 2rem;
}

/* Mobile Menu Button Animation */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 2100;
    position: relative;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #4e4b4c;
    margin: 3px 0;
    transition: 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        display: none;
    }
}

html {
    scroll-behavior: smooth;
}