@charset "utf-8";
/*
Theme Name: EVERY Child
Theme URI:
Description: WordPressテーマ「EVERY」の子テーマ
Author:
Author URI:
Template: every_tcd075
Version: 1.0.0
Text Domain: tcd-w
*/

/* ここにカスタムCSSを記述してください */
div#text-6 .post_content p{
	line-height:0.6 !important;
}

.widget_text .post_content{
	line-height:1 !important;
}
.footer-wiz {
  font-size: 14px;
}

/*css*/


/* PC表示：SP用ロゴを非表示 */
.header_logo img + img,
.logo_area img:nth-child(2),
#header .logo_wrap img:nth-child(2) {
    display: none;
}

/* SP表示：PC用ロゴを非表示、SP用ロゴを表示 */
@media screen and (max-width: 768px) {
    .header_logo img:first-child,
    .logo_area img:first-child,
    #header .logo_wrap img:first-child {
        display: none;
    }
    .header_logo img + img,
    .logo_area img:nth-child(2),
    #header .logo_wrap img:nth-child(2) {
        display: block;
    }
}


/* ==========================================================
   2. サイドバー SNSアイコン（FOLLOW US エリア）
   テスト環境でアイコンが大きくなる問題の修正
   本番サイトは約50px、テストは約100px → 50pxに抑える
   ========================================================== */

#sidebar .widget_text img,
#sidebar .widget_custom_html img,
.sidebar .widget_text img,
.sidebar .widget_custom_html img {
    width: auto;
    max-width: 54px;
    height: auto;
}

/* LINEバナー・サイト紹介バナーは幅100%を維持 */
#sidebar .widget_text img[src*="line-"],
#sidebar .widget_text img[src*="about"],
#sidebar .widget_custom_html img[src*="line-"],
#sidebar .widget_custom_html img[src*="about"] {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}


/* ==========================================================
   3. フッターウィジェット
   ========================================================== */

/* 「河内長野市商店連合会」文字サイズ 14px */
#footer_widget #custom_html-3 strong,
#footer_widget .widget_text strong:first-of-type,
#footer_widget .widget_custom_html strong:first-of-type {
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
}

/* フッターウィジェット全体のテキスト */
#footer_widget .widget_text,
#footer_widget .widget_custom_html {
    font-size: 13px;
    line-height: 1.9;
}

/* フッターウィジェット内の電話リンク */
#footer_widget a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}

/* フッターウィジェットタイトル（メニュー・カテゴリー） */
#footer_widget .widget-title,
#footer_widget .widgettitle {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* フッターナビリスト */
#footer_widget .widget_nav_menu ul li a,
#footer_widget .widget_categories ul li a {
    font-size: 13px;
}


/* ==========================================================
   4. フッターロゴ
   テストサイトでGIF画像が2枚重複する問題の修正
   ========================================================== */

/* フッターロゴの重複画像を非表示（PC） */
#footer .logo_area img:nth-child(2),
.footer_inner .logo_area img:nth-child(2),
#footer_logo img:nth-child(2) {
    display: none;
}

@media screen and (max-width: 768px) {
    #footer .logo_area img:first-child,
    .footer_inner .logo_area img:first-child {
        display: none;
    }
    #footer .logo_area img:nth-child(2),
    .footer_inner .logo_area img:nth-child(2) {
        display: block;
    }
}


/* ==========================================================
   5. グローバルナビゲーション
   ========================================================== */

#gnavi .gnavi_inner ul > li > a {
    font-size: 13px;
}

/* ドロップダウンメニュー */
#gnavi .gnavi_inner ul li ul li a {
    font-size: 12px;
}


/* ==========================================================
   6. メインコンテンツ（投稿・固定ページ共通）
   ========================================================== */

/* 本文フォントサイズ */
.entry_body,
.post_content {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

/* 本文内 見出し */
.entry_body h2 {
    font-size: 18px;
    border-bottom: 2px solid #c0a96e;
    padding-bottom: 8px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.entry_body h3 {
    font-size: 16px;
    border-left: 3px solid #c0a96e;
    padding-left: 10px;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* 投稿タイトル */
.entry_title,
.post_title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
}

/* 投稿日付 */
.entry_date,
.post_date {
    font-size: 12px;
    color: #888;
}


/* ==========================================================
   7. トップページ 新着情報セクション
   ========================================================== */

/* セクション見出し「まちの新着情報」「NEWS」 */
.top_section .section_title,
.top_news_area .section_title,
.home .entry_body h2,
.home .entry_body h3 {
    font-size: 16px;
    font-weight: bold;
}

/* 新着投稿リスト 記事タイトル */
.post_list .post_title a,
.news_list .post_title a {
    font-size: 14px;
    color: #333;
}

/* 新着投稿リスト 日付 */
.post_list .post_date,
.news_list .post_date {
    font-size: 12px;
    color: #888;
}


/* ==========================================================
   8. お店一覧・カテゴリーページ
   ========================================================== */

/* サムネイル画像 */
.post_thumbnail img,
.entry_thumbnail img,
.shop_thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* カードの余白 */
.post_list_item,
.shop_list_item {
    margin-bottom: 20px;
}


/* ==========================================================
   9. サイドバーウィジェット全般
   ========================================================== */

/* ウィジェットタイトル */
#sidebar .widget-title,
#sidebar .widgettitle {
    font-size: 14px;
    font-weight: bold;
    padding: 8px 10px;
    margin-bottom: 10px;
}

/* ウィジェット内テキスト */
#sidebar .widget_text,
#sidebar .widget_custom_html {
    font-size: 13px;
    line-height: 1.8;
}

/* カテゴリーリスト */
#sidebar .widget_categories ul li,
#sidebar .widget_nav_menu ul li {
    font-size: 13px;
    line-height: 1.8;
}


/* ==========================================================
   10. プライバシーポリシー・サイトポリシー等 固定ページ
   ========================================================== */

.page .entry_body {
    font-size: 14px;
    line-height: 1.8;
}

.page .entry_body h2 {
    font-size: 18px;
    border-bottom: 2px solid #c0a96e;
    padding-bottom: 8px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page .entry_body h3 {
    font-size: 16px;
    border-left: 3px solid #c0a96e;
    padding-left: 10px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page .entry_body p {
    margin-bottom: 1em;
}


/* ==========================================================
   11. フッター全般
   ========================================================== */

/* フッターメニュー */
#footer_menu ul li a {
    font-size: 12px;
}

/* コピーライト */
#footer_copyright,
.copyright {
    font-size: 12px;
    text-align: center;
    padding: 10px 0;
}
/* =======================================
   お店をチェック エリア センタリング修正
   .top-noah-table1 / .top-noah-table2 専用
   ======================================= */

/* テーブル1（お店をチェック タイトル画像） */
table.top-noah-table1 {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0 !important;   /* ← テーブル下の隙間を削除 */
}

table.top-noah-table1 > tbody > tr > td {
    padding: 0 !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
    box-sizing: border-box;
}

table.top-noah-table1 > tbody > tr > td img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    float: none;
    margin-bottom: 0 !important;   /* ← img下の隙間も削除 */
}

/* テーブル2（エリアで探す・ジャンルで探す ボタン画像） */
table.top-noah-table2 {
    margin-left: auto;
    margin-right: auto;
}

table.top-noah-table2 > tbody > tr > td {
    text-align: center;
    padding: 5px 0 !important;
    padding-right: 20px !important;
    box-sizing: border-box;
    vertical-align: middle;
}

table.top-noah-table2 > tbody > tr > td:first-child {
    padding-left: 20px !important;
}

table.top-noah-table2 > tbody > tr > td a {
    display: block;
}

table.top-noah-table2 > tbody > tr > td img {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none;
    max-width: 100%;
    height: auto;
}

/* ==========================================================
   12. レスポンシブ（スマートフォン）
   ========================================================== */

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

    /* SPでのSNSアイコンサイズ調整 */
    #sidebar .widget_text img,
    #sidebar .widget_custom_html img {
        max-width: 44px;
    }

    /* SP投稿タイトル */
    .post_list .post_title a,
    .news_list .post_title a {
        font-size: 13px;
    }

    /* SP本文フォント */
    .entry_body,
    .post_content {
        font-size: 13px;
    }

}