/* =========================================
    4. Hero Section (ファーストビュー)
========================================= */
.hero {
    position: relative;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--bg-base);
    padding-top: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/fv.jpg') center/cover no-repeat;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    width: 100%;
    max-width: 1000px;
    text-align: left;
    animation: fadeIn 1.5s ease-out forwards;
}

.hero-content * {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
}

.hero-catch-sub {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.hero-catch-main {
    font-size: clamp(20px, 6vw, 40px);
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: var(--text-main);
    border-bottom: 3px solid var(--primary-orange);
    display: inline-block;
    padding-bottom: 4px;
}

.hero-title {
    font-size: clamp(24px, 7vw, 64px);
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 35px;
    color: var(--text-main);
}

.hero-title span {
    color: var(--primary-orange);
}


.hero-logo-img {
    height: clamp(35px, 9vw, 55px);
    width: auto;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-brand {
    position: relative;
    margin-top: 15px; /* 余白も少しスッキリと */
}

/* --- 【ベース】全体（-PHOTO部分）を黒に --- */
.hero-brand h2 {
    /* 現在のスタイルはそのまま活かします */
    font-size: clamp(48px, 12vw, 100px); 
    line-height: 0.9;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -0.01em;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));

    /* これにより、s-photo が S-Photo になります */
    text-transform: capitalize; 
}

/* --- 【主役】Sだけをオレンジに --- */
.hero-brand h2 span {
    color: var(--primary-orange);
    /* Sのオレンジは明るいので、少し影を強めにしてさらに目立たせる */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* --- 【副役】エスフォト（ルビ）も黒＆程よいサイズに --- */
.hero-ruby {
    display: block;
    /* 大きすぎず小さすぎない絶妙なサイズ（最大18px） */
    font-size: clamp(14px, 2.5vw, 18px); 
    font-weight: 900;
   color: var(--text-main); /* エスフォトも黒に */
    letter-spacing: 0.5em; /* 字間をあけてスタイリッシュに */
    margin-top: 5px;
    padding-left: 5px;
    /* こちらも暗い背景対策で白い影を置く */
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
}

@media (max-width: 767px) {
    .hero-bg::after {
        /* 左を60%の白、右は完全に透明（0%）に */
        background: linear-gradient(to right, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 100%);
    }
}