/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #2563eb;
}

/* Buttons */
.btn-primary {
    background: #2563eb;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-outline:hover {
    background: white;
    color: #2563eb;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
    min-height: 600px;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 3rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.iphone {
    width: 100%;
    max-width: 390px;
    height: auto;
    aspect-ratio: 390 / 844;
    border: 16px solid #222;
    border-radius: 60px;
    background: #000;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 210px;
    height: 30px;
    background: #000;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 2;
}

.screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 44px;
    padding: 80px 20px 20px;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 1;
}

.screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}

.nfc-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Scroll Prompt */
.scroll-prompt {
    position: absolute;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.scroll-prompt:hover {
    transform: translateY(-3px);
}

.scroll-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #2563eb;
    animation: scrollBounce 2s infinite;
    transition: all 0.3s ease;
}

.scroll-prompt:hover .scroll-arrow {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
    transform: scale(1.1);
}

.scroll-prompt:hover .scroll-text {
    color: #2563eb;
    opacity: 1;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(8px);
    }
    60% {
        transform: translateY(4px);
    }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: #fff;
}

.features h3 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.feature-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: #f8fafc;
}

.benefits h3 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 3rem;
    font-weight: 700;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.benefit-item h4 {
    font-size: 1.3rem;
    color: #2563eb;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: #fff;
}

.pricing h3 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
}

.pricing-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.pricing-image-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.pricing-chart {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

/* スマホ用ナビ調整 */
@media (max-width: 768px) {
    nav {
        display: none; /* 初期は非表示 */
        flex-direction: column;
        gap: 1rem;
        background: #fff;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }

    nav.active {
        display: flex; /* メニュー開いたとき */
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
        color: #2563eb;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}

/* スマホ幅でヒーローセクション縦並び */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero .hero-content {
        width: 100%;
        margin-bottom: 2rem;
    }

    .hero .iphone {
        width: 80%;
        max-width: 300px;
    }

    .hero .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
    }
}

/* スマホ幅でヒーローセクション縦並び */
@media (max-width: 768px) {
    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero .container .hero-content {
        width: 100%;
        margin-bottom: 2rem;
    }

    .hero .container .iphone {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        align-items: center;
    }
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.cta-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #e0e7ff;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.cta-buttons .btn-primary {
    background: white;
    color: #2563eb;
    font-weight: 700;
    padding: 1rem 2rem;
}

.cta-buttons .btn-primary:hover {
    background: #e0e7ff;
}

.cta-buttons .btn-outline {
    border-color: white;
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: #2563eb;
}

/* スマホ調整 */
@media (max-width: 768px) {
    .cta-content h3 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons a {
        width: 80%;
        text-align: center;
    }
}

/* Footer Section */
footer {
    background: #0f172a; /* 濃いネイビーカラー */
    color: #cbd5e1;
    padding: 3rem 0 1rem 0;
    font-size: 0.95rem;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

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

.footer-logo p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #60a5fa; /* 明るい青 */
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }

    .footer-content {
        gap: 1rem;
    }

    .footer-logo h4 {
        font-size: 1.3rem;
    }
}
