.container{
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.site-logo{
    width: 160px;
}

/* ====================================
   1. 基本コンテナとFlexboxレイアウト
   ==================================== */
.site-header {
    background-color: #ffffff; /* ヘッダーの背景色 */
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

/* ヘッダー内側の横並びコンテナ */
.header-inner {
    display: flex;
    justify-content: space-between; /* 要素を左右に配置 */
    align-items: center; /* 垂直方向の中央揃え */
    max-width: 1200px; /* サイトの最大幅に合わせて調整 */
    margin: 0 auto;
    padding: 0 15px; /* 左右の余白 */
}
.header_right{
    display: flex;
    column-gap: 20px;
}
/* ====================================
   2. A. ロゴ/キャッチフレーズ
   ==================================== */
.header-branding {
    /* 必要に応じて調整 */
}

.site-catchphrase {
    font-size: 11px;
    color: #f7a149; /* オレンジ系の色 */
    margin: 0;
}

.site-logo img {
    height: 35px; /* ロゴ画像の高さ調整 */
    width: auto;
}

/* ====================================
   3. B. 検索/電話 ブロック
   ==================================== */
.header-utility {
    display: flex;
    align-items: center;
    gap: 30px; /* 要素間のスペース */
}

/* エリア選択ドロップダウン */
.area-select select {
    padding: 8px 30px 8px 10px;
    border: 1px solid #ccc;
    background-color: #f5f5f5; /* 背景色をグレーに */
    border-radius: 4px;
    appearance: none; /* デフォルトの矢印を非表示にする（カスタムスタイル用） */
}

/* 電話番号ブロック */
.phone-contact {
    display: flex;
    align-items: center;
    background-color: #f5f5f5; /* 背景をライトグレーに */
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.contact-icon {
    font-size: 20px;
    color: #333;
    margin-right: 8px;
}

.contact-info p {
    margin: 0;
    font-size: 12px;
}

.contact-time {
    font-size: 14px;
    font-weight: bold;
    color: #cc4329; /* 目立つ赤系 */
}

/* ====================================
   4. C. ナビゲーションアイコン
   ==================================== */
.header-nav-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    position: relative;
    padding: 5px; /* クリックしやすいように */
}

.nav-icon span:first-child {
    font-size: 24px; /* アイコンのサイズ */
}

/* カートの件数表示（オレンジの丸） */
.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ff6600; /* オレンジ色 */
    color: white;
    font-size: 10px;
    border-radius: 50%;
    padding: 2px 5px;
    line-height: 1;
    font-weight: bold;
}

/* ====================================
   5. ハンバーガーメニュー ドロップダウン
   ==================================== */
.menu-dropdown-wrap {
    position: relative; /* ドロップダウンをこの要素に対して絶対配置 */
}

.header-menu-dropdown {
    /* 初期状態は非表示 */
    display: none; 
    position: absolute;
    top: 100%; /* メニューアイコンの下に配置 */
    right: 0; /* 右揃え */
    width: 250px; /* メニュー幅の調整 */
    background-color: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-menu-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-menu-dropdown li a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
}



/* ====================================
   0. 全体的な設定とリセット
   ==================================== */
.main-content-area {
    max-width: 1200px; /* サイトのメインコンテンツ幅に合わせる */
    margin: 20px auto;
    padding: 0 15px;
}

/* セクションタイトル */
.main-content-area h2 {
    font-size: 24px;
    font-weight: bold;
    border-left: 5px solid #ff6600; /* オレンジのアクセント */
    padding-left: 10px;
    margin: 40px 0 20px;
}

/* ====================================
   1. あなたへのおすすめ (トップPR枠)
   ==================================== */
.top-recommend-products {
    margin-bottom: 50px;
}

/* おすすめ商品のグリッド表示 (4列) */
.top-recommend-products .products-grid ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列に分割 */
    gap: 20px; /* グリッド間の隙間 */
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 個々の商品カードのスタイル調整 */
.top-recommend-products .products-grid ul.products li.product {
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
    transition: box-shadow 0.3s;
}

.top-recommend-products .products-grid ul.products li.product:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ====================================
   2. 新着店舗セクション
   ==================================== */
.new-stores-section {
    margin-bottom: 50px;
}

.new-stores-catch {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

/* 新着店舗カルーセル（Flexboxで横並び、はみ出した分はスクロール） */
.new-stores-carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto; /* 横スクロールを可能にする */
    padding-bottom: 15px; /* スクロールバーのための余白 */
    white-space: nowrap; /* 要素が折り返さないようにする */
}

.new-stores-carousel .store-card {
    display: inline-block;
    flex-shrink: 0; /* 幅を維持する */
    width: 150px; /* カードの幅 */
    height: 150px; /* カードの高さ */
    border-radius: 50%; /* 円形にする */
    overflow: hidden;
    border: 3px solid #ff6600; /* ロゴ周りの強調枠 */
}

.new-stores-carousel .store-logo-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像をボックスに合わせてトリミング */
}


/* ====================================
   3. メイン商品一覧 (評価・店舗情報の表示を想定)
   ==================================== */
.main-product-list-wrap {
    margin-top: 30px;
}

/* フィルタリング/ソートバー */
.product-filter-bar {
    display: flex;
    justify-content: flex-end; /* 右寄せ */
    gap: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.product-filter-bar a {
    text-decoration: none;
    color: #666;
    padding: 5px 0;
}

.product-filter-bar a:hover,
.product-filter-bar a.active {
    color: #ff6600;
    border-bottom: 2px solid #ff6600;
}

/* メイン商品一覧のグリッド（画像に合わせ4列） */
.main-product-list-wrap ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 20px; /* 上下左右の隙間を調整 */
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ⚠️ 重要: 商品カード内のカスタム情報表示用 */
/* 商品カード内の評価や店舗情報エリア */
.main-product-list-wrap .product .woocommerce-loop-product__title {
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
}

.main-product-list-wrap .product .store-info,
.main-product-list-wrap .product .rating-info {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.main-product-list-wrap .product .rating-info {
    color: #ffb700; /* 星の色 */
}

.main-product-list-wrap .product .price {
    color: #cc4329; /* 価格を強調 */
    font-weight: bold;
    font-size: 16px;
    display: block; /* 独立したブロックにする */
    margin: 5px 0;
}


/* ====================================
   ガイドページ共通スタイル
   ==================================== */
.store-guide-page {
    font-family: 'メイリオ', 'Meiryo', sans-serif;
    color: #333;
    line-height: 1.8;
}

.store-guide-page .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.store-guide-page section {
    padding: 60px 0;
}

.store-guide-page h2 {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    color: #cc4329; /* メインカラー（落ち着いた赤系） */
    position: relative;
    letter-spacing: 1px;
}

.store-guide-page h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #ff6600; /* アクセントカラー（オレンジ） */
    margin: 10px auto 0;
}

.store-guide-page p {
    max-width: 900px;
    margin: 0 auto 1.5em;
    text-align: justify;
}

/* プライマリボタン */
.button-primary {
    display: block;
    width: 300px;
    margin: 30px auto;
    padding: 15px 20px;
    background: #ff6600;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.button-primary.large {
    width: 380px;
    padding: 20px 20px;
    font-size: 18px;
}

.button-primary:hover {
    background: #cc4329;
}


/* ====================================
   セクション1: メインビジュアル＆キャッチコピー
   ==================================== */
.guide-hero {
    /* 実際には背景画像を貴社のメインビジュアル画像に変更してください */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), #333333 no-repeat center center;
    background-size: cover;
    padding: 100px 20px;
    color: #ffffff;
    text-align: center;
}

.guide-hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
}

.guide-hero .catchphrase {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 40px;
    max-width: none;
}

/* ====================================
   セクション2: 導入メリット
   ==================================== */
.guide-intro {
    background: #f7f7f7;
    padding: 60px 20px;
}

.guide-intro .intro-box,
.guide-intro .recommended-list {
    max-width: 900px;
    margin: 0 auto 40px;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.guide-intro .recommended-list h3 {
    color: #cc4329;
    border-bottom: 1px dashed #f7a149;
    padding-bottom: 5px;
}

.guide-intro .recommended-list ul {
    list-style: none;
    padding-left: 0;
}

.guide-intro .recommended-list li {
    background: url('チェックアイコンの画像パス') no-repeat left center; /* 実際にはCSSでアイコンを設定 */
    padding-left: 30px;
    margin-bottom: 10px;
    font-weight: bold;
}

.guide-intro .note {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    text-align: left;
}

/* ====================================
   セクション3: 選ばれる5つの理由
   ==================================== */
.guide-reasons {
    background: #ffffff;
}

.reason-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.reason-card {
    flex-basis: calc(33.33% - 20px); /* 3列表示 */
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    background: #fff;
    transition: transform 0.3s, border-color 0.3s;
    min-width: 250px;
}

.reason-card:hover {
    transform: translateY(-5px);
    border-color: #ff6600;
}

.reason-card .icon {
    font-size: 40px;
    color: #ff6600;
    margin-bottom: 10px;
}

.reason-card h3 {
    font-size: 20px;
    color: #cc4329;
    margin-bottom: 10px;
    font-weight: bold;
}

/* 5番目のカードが中央に来るように（デスクトップ）*/
@media (min-width: 1100px) {
    .reason-grid .reason-card:nth-child(5) {
        margin: 0 auto;
    }
}

/* ====================================
   セクション4: 加盟料金
   ==================================== */
.guide-pricing {
    background: #f7f7f7;
    padding: 60px 20px;
}

.pricing-table-wrap {
    overflow-x: auto;
}

.guide-pricing table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px; 
    background: #ffffff;
}

.guide-pricing th,
.guide-pricing td {
    padding: 15px;
    border: 1px solid #e0e0e0;
    text-align: center;
    vertical-align: top;
}

.guide-pricing th {
    background-color: #cc4329;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
}

.guide-pricing td p {
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    margin: 5px auto;
}

.guide-pricing .price-value {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: #ff6600;
    margin-bottom: 5px;
}

.guide-pricing .note-fee {
    font-weight: bold;
    color: #333;
    background: #fff8e1;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

/* ====================================
   モバイル対応
   ==================================== */
@media (max-width: 768px) {
    .guide-hero h1 {
        font-size: 32px;
    }
    .reason-grid {
        gap: 20px;
    }
    .reason-grid .reason-card {
        flex-basis: 100%; /* 1列表示 */
    }

    /* 料金テーブルを縦積み表示 */
    .guide-pricing thead {
        display: none;
    }
    .guide-pricing tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        background: #fff;
    }
    .guide-pricing td {
        display: block;
        text-align: left;
        border: none;
        border-bottom: 1px dashed #eee;
    }
    .guide-pricing td::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        color: #cc4329;
        margin-bottom: 5px;
    }
    .guide-pricing .price-value {
        text-align: left;
    }
}