/* --- Reset & Base --- */
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
}

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

h1, h2, h3 {
    font-weight: 700;
    color: #2c3e50;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.subtitle {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
}

/* --- Header --- */
.header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 上揃えに変更 */
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
}

.logo img {
    max-height: 150px; /* ロゴの最大高さを150pxに制限 */
    width: auto;
    vertical-align: middle;
}

.nav-link {
    margin: 0 15px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #3498db;
}

/* --- Buttons --- */
.cta-button {
    background: #3498db;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #2980b9;
}

.nav-cta {
    padding: 8px 18px;
}

/* --- Hero Section --- */
.hero {
    padding: 80px 0;
    text-align: center;
    background: #fff;
}

.hero h1 {
    line-height: 1.3;
}

.hero .subtitle {
    margin-bottom: 30px;
}

.cta-group a {
    margin: 0 10px;
}

.hero-image-placeholder {
    margin-top: 50px;
}

.hero-image-placeholder svg {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* --- Features Section --- */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: start;
    text-align: center;
}

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

.feature-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-image {
    margin-bottom: 20px;
}

.feature-image img {
    width: 100%;
    max-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- Gallery Section --- */
.gallery {
    padding: 80px 0;
    background: #fff;
}

.gallery .subtitle {
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

.gallery-item svg {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- Download Section --- */
.download {
    padding: 80px 0;
    text-align: center;
}

.download .cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* --- Footer --- */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
/*    padding: 40px 0; */
    padding: 5px 0;
    text-align: center;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

.footer p {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* --- Animations --- */
.anim-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.anim-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .header .container {
        flex-direction: column;
    }

    .logo {
        width: 80%;
        margin: 0 auto 15px;
    }

    .logo img {
        width: 100%;
        max-height: none;
        height: auto;
    }

    .header nav {
        margin-top: 15px;
    }

    .hero {
        padding: 40px 0;
    }

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

/* --- Video Section --- */
.video {
    padding: 80px 0;
    background: #fff;
}

.video-container {
    max-width: 60%;
    margin: 0 auto; /* 中央揃え */
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: none; /* 境界線を消す */
}