/* ========================================
   ドッグラン 共通ヘッダー
   現行サイトのデザインを再現
======================================== */

.dogrun-site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #cad8df;
    color: #333333;
    font-family: "Hiragino Kaku Gothic ProN",
                 "Hiragino Sans",
                 "Helvetica Neue",
                 Arial, Meiryo, sans-serif;
    box-sizing: border-box;
}

.dogrun-site-header *,
.dogrun-site-header *::before,
.dogrun-site-header *::after {
    box-sizing: border-box;
}

/* 上部のピンク色の案内帯 */
.dogrun-header-top {
    display: flex;
    align-items: center;
    height: 26px;
    padding: 0 24px;
    background: #e57e83;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.5;
}

/* メイン部分 */
.dogrun-header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 24px;
}

/* ロゴ */
.dogrun-header-logos {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.dogrun-header-logos a {
    display: block;
    flex-shrink: 0;
}

.dogrun-header-logos img {
    display: block;
    width: 255px;
    max-width: 100%;
    height: auto;
}

.dogrun-header-logos a:hover {
    opacity: 0.6;
    transition: opacity 0.3s;
}

/* 検索フォーム */
.dogrun-header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin: 0;
}

.dogrun-header-search select,
.dogrun-header-search input {
    height: 40px;
    background: #ffffff;
    border: 1px solid #cad8df;
    color: #333333;
    font-size: 16px;
    font-family: inherit;
}

.dogrun-header-search select {
    width: 120px;
    padding: 0 12px;
    border-radius: 20px 0 0 20px;
}

.dogrun-header-search input {
    width: 280px;
    padding: 0 16px;
    border-radius: 0 20px 20px 0;
}

.dogrun-header-search input::placeholder {
    color: #333333;
    opacity: 0.4;
}

.dogrun-header-search button {
    width: 76px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 20px;
    background: #e57e83;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.dogrun-header-search button:hover {
    opacity: 0.6;
    transition: opacity 0.3s;
}

/* ========================================
   スマートフォン・タブレット
======================================== */

@media screen and (max-width: 1023px) {

    .dogrun-header-main {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px;
    }

    .dogrun-header-top {
        padding: 0 12px;
    }

    .dogrun-header-logos {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }

    .dogrun-header-logos img {
        width: 154px;
    }

    .dogrun-header-search {
        width: 100%;
    }

    .dogrun-header-search select {
        width: 105px;
        flex-shrink: 0;
    }

    .dogrun-header-search input {
        width: 100%;
        min-width: 0;
        flex: 1;
    }

    .dogrun-header-search button {
        width: 48px;
        min-width: 48px;
    }
}

@media screen and (max-width: 480px) {

    .dogrun-header-logos img {
        width: 140px;
    }

    .dogrun-header-search select {
        width: 95px;
    }

    .dogrun-header-search input {
        padding: 0 8px;
        font-size: 13px;
    }
}