/* =======================================
   宮崎産直 EC-CUBE customize.css（安定クリーン版）
======================================= */

/* ---------------------------------------
   1) 共通（背景色 / フォント）
--------------------------------------- */
body {
    background: #faf8f5;
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial,
                 "Noto Sans JP", "ヒラギノ角ゴ ProN",
                 "Hiragino Kaku Gothic ProN", "メイリオ",
                 Meiryo, sans-serif;
}

/* メイン背景も統一 */
main,
.ec-layoutRole,
.ec-layoutRole__main,
.ec-layoutRole__contents,
.ec-layoutMain {
    background: #faf8f5;
}

/* ---------------------------------------
   2) ヘッダー
--------------------------------------- */

.site-header {
    border-bottom: none !important;
    box-shadow: none !important;
}

.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.header-inner {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 20px;
    gap: 32px;
}

.header-logo img {
    height: 60px;
    width: auto;
    display: block;
}

/* ▼ 検索ボックス */
.header-search {
    width: 500px;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 2px;
}
.header-search input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #cccccc;
    font-size: 14px;
}

/* ▼ 右側アイコン群 */
.header-right {
    margin-left: auto;
    margin-top: 1px;
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
}

.header-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    color: #333 !important;
}

.header-item .icon {
    font-size: 20px;
}

.header-item .text {
    font-size: 14px;
    margin-top: 3px;
}

/* =========================
   ▼ SNS（買い物かごと同等サイズ）
========================= */

.sns-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* SNSアイコン：オリジナルページと視覚サイズを統一（28px） */
.sns-icons img,
.sns-icons svg {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    display: block;
}


/* 縦位置のブレ防止 */
.sns-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    cursor: pointer;
}

/* ---------------------------------------
   3) カテゴリーバー（黒帯）
--------------------------------------- */

.global-category-bar {
    margin-bottom: 30px !important;
}

/* 黒帯全体 */
.category-bar {
    background: #111;
    padding: 6px 0;
}

/* メニュー */
.category-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-main > li > a {
    display: block;
    padding: 12px 10px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}
.category-main > li > a:hover {
    text-decoration: underline;
}

/* ▼ ドロップダウン */
.category-sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 999;
}
.category-sub a {
    display: block;
    padding: 8px 15px;
    font-size: 13px;
    color: #222;
}
.category-sub a:hover {
    background: #f2f2f2;
}
.dropdown:hover .category-sub {
    display: block;
}

/* ---------------------------------------
   4) フッター
--------------------------------------- */
.site-footer {
    width: 100%;
    background: #1e1e1e;
    color: #fff;
    padding: 28px 0 25px;
    margin-top: 80px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-sns-icon {
    width: 22px;
    height: 22px;
}

/* ---------------------------------------
   5) ログインページ
--------------------------------------- */
body#page_mypage_login {
    font-size: 14px;
}
body#page_mypage_login .ec-pageHeader h1 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 24px;
    text-align: left;
}
body#page_mypage_login .ec-login {
    background: #f7f7f7;
    padding: 40px 50px 48px;
    max-width: 640px;
    margin: 0 auto 80px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* ---------------------------------------
   6) EC-CUBE 標準UI の「謎の線」排除
--------------------------------------- */

.ec-pageHeader,
.ec-pageHeader::before,
.ec-pageHeader::after,
.ec-layoutRole__header,
.ec-layoutRole__header::before,
.ec-layoutRole__header::after,
.ec-layoutRole__content,
.ec-layoutRole__content::before,
.ec-layoutRole__content::after,
.ec-tabNav,
.ec-tabNav li,
.ec-tabNav__item,
.ec-tabNav__item a {
    border: none !important;
    box-shadow: none !important;
}

/* ヘッダー直下の線だけ完全に消す */
.ec-headerNavArea,
.ec-headerNavArea::before,
.ec-headerNavArea::after,
header.site-header::after {
    border: none !important;
    box-shadow: none !important;
}

/* ---------------------------------------
   7) レスポンシブ
--------------------------------------- */
@media screen and (max-width: 768px) {

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

    .header-right {
        justify-content: space-between;
        margin-left: 0;
        margin-top: 6px;
    }

    .header-search {
        width: 100%;
        margin-top: 2px;
    }

    .site-footer {
        margin-top: 40px;
    }
}
