﻿:root {
    --text: #000;
    --muted: #666;
    --line: #ececec;
    --shadow: 0 10px 24px rgba(0,0,0,.06);
}

html, body {
    height: 100%;
}

body {
    color: var(--text);
    background: #fff;
    display: flex;
    flex-direction: column;
    font-family: 'Noto Sans JP','Arial',sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== Header（PC/SP共通で使える形） ===== */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.site-header-inner {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hdr-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 10px;
    font-weight: 650;
}

    .hdr-link:hover {
        background: #f6f6f6;
    }

    .hdr-link i {
        font-size: 19px;
    }

    .hdr-link small {
        font-size: 14px;
        display: block;
    }

    .hdr-link .sp {
        display: none;
    }

.hdr-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== Main（見た目） ===== */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #FFF;
}

.hero {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 72px 16px 32px;
    background: #fff;
}

.hero-inner {
    width: 100%;
    max-width: 980px;
    text-align: center;
}

.brand-title {
    height: 75px;
}

    .brand-title img {
        height: 100%;
    }

.brand-sub {
    font-size: 16px;
}

/* Search */
.search-wrap {
    max-width: 720px;
    margin: 0 auto 18px;
}

.search-box {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

    .search-box input {
        border: 0;
        padding: 18px 16px;
        font-size: 16px;
        outline: none;
        flex: 1;
        min-width: 0;
    }

    .search-box button {
        border: 0;
        border-left: 1px solid #ededed;
        background: #fff;
        width: 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

        .search-box button:hover {
            background: #fafafa;
        }

        .search-box button i {
            font-size: 18px;
            color: #444;
        }

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 18px 0 26px;
    flex-wrap: wrap;
}

.tab {
    position: relative;
    padding: 10px 2px;
    color: #333;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

    .tab.active::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 2px;
        background: #111;
        border-radius: 2px;
    }

.hint {
    font-size: 12px;
    margin-top: 18px;
}

/* ===== Footer ===== */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -2px 8px rgba(0,0,0,.06);
}

.site-footer-inner {
    height: 67px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9a9a9a;
    font-size: 12px;
    text-align: center;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    z-index: 100;
}

/* ===== SP最適化（画像の見た目に寄せる） ===== */
@media (max-width: 767px) {
    .site-header-inner {
        height: 72px;
    }

    .hdr-link {
        padding: 10px 8px;
        flex-direction: column;
        gap: 0px;
    }

        .hdr-link small {
            font-size: 8px;
        }

        .hdr-link .sp {
            display: block;
        }

    .hero {
        padding: 24px 12px 12px;
    }

    .brand-title {
        height: 50px;
    }

    .brand-sub {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .search-wrap {
        max-width: 100%;
    }
}
