@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

:root {
    --primary: #2d5a4a;
    --primary-light: #4a8b73;
    --secondary: #d4a574;
    --accent: #e8d5c4;
    --dark: #1a1a1a;
    --light: #faf8f5;
    --gray: #6b6b6b;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Makuake Header */
.makuake-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid #e5e5e5;
}

.makuake-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 100%;
    height: 50px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-menu span {
    width: 18px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

.makuake-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 22px;
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link-text {
    font-size: 0.8rem;
    color: #666;
}

.nav-link-text:hover {
    color: #333;
}

.login-btn {
    font-size: 0.8rem;
    color: var(--white);
    font-weight: 500;
    padding: 6px 16px;
    background: #333;
    border-radius: 4px;
}

.login-btn:hover {
    background: #555;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light) 0%, var(--accent) 100%);
    padding-top: 60px;
}

.hero-bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    top: 50%;
    left: 30%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-5deg); }
    75% { transform: translate(20px, 10px) rotate(3deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    padding: 40px 0;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 25px;
    animation: slideInLeft 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--dark);
    animation: slideInLeft 0.8s ease 0.2s both;
}

.hero-title span {
    color: var(--primary);
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--secondary);
    opacity: 0.4;
    z-index: -1;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 35px;
    animation: slideInLeft 0.8s ease 0.4s both;
}

.hero-price {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 30px;
    animation: slideInLeft 0.8s ease 0.5s both;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-original {
    font-size: 1.2rem;
    color: var(--gray);
    text-decoration: line-through;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: slideInLeft 0.8s ease 0.6s both;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 90, 74, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--dark);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--dark);
    color: var(--white);
}

.hero-image {
    position: relative;
    animation: slideInRight 1s ease 0.3s both;
}

.hero-image img {
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: 30px;
    top: 20px;
    left: 20px;
    z-index: -1;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-text {
    color: var(--gray);
    font-size: 0.95rem;
}

.gallery {
    background: linear-gradient(180deg, var(--light) 0%, var(--accent) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 90, 74, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 500;
}

.specs {
    background: var(--dark);
    color: var(--white);
}

.specs .section-tag {
    color: var(--secondary);
}

.specs .section-title {
    color: var(--white);
}

.specs .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.specs-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.specs-image {
    border-radius: 20px;
    overflow: hidden;
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.spec-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.spec-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--white);
}

.spec-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.benefits {
    background: var(--white);
    position: relative;
}

.benefits-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-card {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--light);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.benefit-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
}

.benefit-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.benefit-content p {
    color: var(--gray);
    font-size: 0.95rem;
}

.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -250px;
    right: -100px;
}

.cta .section-title {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.cta-price span {
    font-size: 1rem;
    opacity: 0.8;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Makuake Footer */
.makuake-footer {
    background: var(--white);
}

.footer-app-section {
    background: linear-gradient(135deg, #00d4aa 0%, #7dd3c0 50%, #ffe066 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.footer-app-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
}

.app-promo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.app-text {
    text-align: center;
}

.app-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

.app-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.app-buttons a img {
    height: 40px;
    border-radius: 6px;
}

.app-image img {
    height: 180px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15));
}

.footer-links-section {
    background: #f5f5f5;
    padding: 30px 0;
}

.footer-links-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-link-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.link-label {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
}

.footer-cta-btn {
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.footer-cta-btn.yellow {
    background: #ffe066;
    color: #333;
}

.footer-cta-btn.yellow:hover {
    background: #ffd633;
}

.footer-help-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 0.9rem;
    color: #333;
    background: var(--white);
}

.footer-help-btn:hover {
    background: #f9f9f9;
}

.footer-help-btn i:first-child {
    font-size: 1.1rem;
}

.footer-help-btn i:last-child {
    font-size: 0.7rem;
    color: #999;
}

.footer-bottom-section {
    background: var(--white);
    padding: 30px 0;
    border-top: 1px solid #e5e5e5;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-nav a {
    font-size: 0.85rem;
    color: #666;
}

.footer-nav a:hover {
    color: #333;
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specs-content {
        grid-template-columns: 1fr;
    }
    
    .app-promo {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .makuake-nav {
        padding: 8px 12px;
    }
    
    .nav-link-text {
        display: none;
    }
    
    .logo-img {
        height: 18px;
    }
    
    .hero {
        padding-top: 70px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .benefits-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-links-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-link-group {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .app-image {
        display: none;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-price .price-current {
        font-size: 2rem;
    }
    
    .cta-price {
        font-size: 2.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:nth-child(1) {
        grid-column: span 1;
    }
}
