@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@700&display=swap');

.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 700px;
    padding: 0 1rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.search-bar {
    display: flex;
    background: #fff;
    border-radius: 9999px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    color: #374151;
}

.search-bar button {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 9999px;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    margin: 0.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.search-bar button:hover {
    background: #1d4ed8;
}

/* ===== おみくじバナー（ヒーロー右上） ===== */
.omikuji-banner {
    position: absolute;
    top: -8.5rem;
    right: -12rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    /* たこ焼きテーマ：濃い茶→中茶のグラデーション */
    background: linear-gradient(135deg, rgba(92,46,0,0.92), rgba(123,63,0,0.92));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(232,117,10,0.35);   /* --tako-orange 系 */
    border-radius: 0.875rem;
    padding: 0.65rem 1.1rem;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,200,120,0.15);
    transition: transform 0.15s, box-shadow 0.15s;
}

.omikuji-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,200,120,0.2);
    color: #fff;
}

/* タコアイコン */
.omikuji-banner-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}

.omikuji-banner-body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.3;
}

.omikuji-banner-label {
    font-size: 0.7rem;
    color: #f5c899;   /* fortune-hero p と同じ色 */
    letter-spacing: 0.08em;
}

.omikuji-banner-main {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1em;
}


.omikuji-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(74,222,128,0.6);
}

@media (max-width: 480px) {
    .omikuji-banner {
        top: -3.5rem;
        right: 0;
        padding: 0.55rem 0.8rem;
        gap: 0.4rem;
    }

    .omikuji-banner-body {
        display: none;
    }
}
