/* トップページ・ヒーロー帯（ヘッダーナビとは別ブロック） */

body.page-index {
    background-color: #eef2f7;
}

body.page-index main.container {
    background-color: transparent;
}

.home-hero {
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
    padding: 1.75rem 1.25rem 2rem;
    border-radius: 14px;
    background: linear-gradient(145deg, #1e3a8a 0%, #1e40af 52%, #3b82f6 100%);
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 28px rgba(30, 58, 138, 0.2);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.home-hero-body {
    flex: 1 1 0;
    min-width: 0;
}
.home-hero-visual {
    flex: 0 0 260px;
    display: none;
}
.home-hero-visual img {
    width: 100%;
    height: auto;
}

.home-hero-title {
    font-size: clamp(1.2rem, 4vw, 1.65rem);
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.75rem;
    color: #fff;
}

.home-hero-lead {
    text-align: left;
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    line-height: 1.65;
    margin: 0 0 0.5rem;
    color: rgba(255, 255, 255, 0.92);
}

.home-hero-hint {
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.home-hero-tutorial-btn {
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.12);
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.home-hero-tutorial-btn:hover,
.home-hero-tutorial-btn:focus {
    color: #1e3a8a;
    background: #fff;
    border-color: #fff;
}

.home-hero-tutorial-btn:active {
    transform: translateY(1px);
}

@media (min-width: 768px) {
    .home-hero {
        padding: 2rem 2rem 2.25rem;
        text-align: left;
    }
    .home-hero-visual {
        display: block;
    }
}
