/* =========================================
   Hero — トップページ（スプリットレイアウト）
========================================= */

.platform-hero {
    background: #fff;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: stretch;
    min-height: 400px;
}

/* 左：テキストエリア */
.hero-content {
    flex: 0 0 56%;
    padding: 64px 56px 64px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-content h1 {
    font-family: 'Klee One', 'Hiragino Kaku Gothic ProN', cursive;
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 600;
    color: var(--navy-900);
    letter-spacing: 0.01em;
    line-height: 1.35;
    margin: 0 0 20px;
    position: relative;
    z-index: 2;
    -webkit-text-stroke: 0.35px var(--navy-900);
}

.transparent-word {
    display: inline-block;
    margin-left: 0.06em;
    padding: 0.04em 0.2em 0.1em;
    border-radius: 10px;

    /* ガラス質感グラデーション */
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(210, 230, 255, 0.55) 40%,
        rgba(185, 215, 255, 0.3) 65%,
        rgba(255, 255, 255, 0.78) 100%
    );

    /* フロストガラス */
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);

    /* ガラスの縁 — 上が明るく下がやや影 */
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-top: 1.5px solid rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(100, 150, 230, 0.28);

    /* 立体感：外側のドロップシャドウ + 内側のハイライト＆陰 */
    box-shadow:
        0 8px 28px rgba(20, 60, 180, 0.14),
        0 2px 8px rgba(0, 0, 0, 0.07),
        inset 0 1.5px 0 rgba(255, 255, 255, 1),
        inset 0 -3px 8px rgba(80, 130, 220, 0.16),
        inset 2px 0 6px rgba(255, 255, 255, 0.55);

    /* 透け感テキスト */
    color: rgba(10, 31, 68, 0.7);
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.92),
        0 2px 12px rgba(20, 60, 180, 0.2);
}

.hero-lead {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin: 0 0 36px;
    position: relative;
    z-index: 2;
}

/* 3つの特徴 */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.hero-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon {
    font-size: 0.95rem;
    color: var(--navy-700);
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.feature-title {
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.4;
}

.feature-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1px;
    line-height: 1.5;
}

/* 右：画像エリア */
.hero-image-wrap {
    flex: 1;
    background-image: url('../images/kokkaigizidou.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 320px;
}

.hero-image-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 100px;
    background: linear-gradient(to right, #fff 0%, transparent 100%);
    z-index: 1;
}

/* =========================================
   検索セクション
========================================= */
.search-section {
    background: var(--navy-900);
}

.search-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 80px;
    padding: 0 60px;
}

/* 検索バー */
.search-bar-group {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px 0 0 8px;
    padding: 0 16px;
    gap: 10px;
    height: 48px;
    min-width: 0;
}

.search-input-wrap i {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.search-input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.88rem;
    font-family: inherit;
    min-width: 0;
}

.search-input-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.search-submit-btn {
    background: var(--navy-700);
    color: #fff;
    border: none;
    padding: 0 24px;
    height: 48px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    font-family: inherit;
    transition: background 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.search-submit-btn:hover {
    background: #162d58;
}

/* 縦区切り */
.search-v-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 28px;
    flex-shrink: 0;
}

/* エリアリンク */
.area-link-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 0;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
}
.area-link-btn:hover .area-link-title { text-decoration: underline; }

.area-link-icon {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
}

.area-link-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 2px;
}

.area-link-title {
    font-size: 0.87rem;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}

.area-link-sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1;
}

.area-link-arrow {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    margin-left: 4px;
}

.search-result-tabs {
    max-width: 1200px;
    margin: 16px auto 0;
    padding: 0 60px;
    gap: 8px;
}

.search-result-tab {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-secondary);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.search-result-tab.active {
    background: var(--navy-900);
    color: #fff;
    border-color: var(--navy-900);
}

/* ── スマホ ─────────────────────────────── */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
    }

    .hero-content {
        flex: none;
        width: 100%;
        padding: 40px 24px 36px;
    }

    .hero-content h1 {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }

    .hero-lead {
        font-size: 0.88rem;
        margin-bottom: 28px;
    }

    .hero-image-wrap {
        min-height: 220px;
        width: 100%;
    }

    .hero-image-wrap::before {
        display: none;
    }

    .search-section-inner {
        flex-direction: column;
        height: auto;
        padding: 16px 20px;
        gap: 12px;
        align-items: stretch;
    }

    .search-bar-group {
        width: 100%;
    }

    .search-v-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .area-link-btn {
        padding: 4px 0;
    }

    .search-result-tabs {
        padding: 0 20px;
        margin-top: 12px;
        overflow-x: auto;
    }
}
