/* =======================================
   staging.css (最終CSSテスト: 画像の垂直配置修正)
   ======================================= */

/* H1との重なり対策（念のため残す） */
.c_item_wrp {
    clear: both !important;
}

/* item内の画像を囲む要素の垂直位置を強制的にトップに設定 */
.c_item_wrp .item .img {
    /* インライン要素のずれを防ぐための定番 */
    display: block !important;
    vertical-align: top !important;
}

/* 画像自体にも適用 */
.c_item_wrp .item .img img {
    vertical-align: top !important;
}

.no_hover_wrapper .item:hover, 
.no_hover_wrapper .item a:hover {
    opacity: 1 !important; /* 不透明度変化を無効化 */
    transition: none !important; /* 遷移効果を無効化 */
    cursor: default; /* カーソルをデフォルトに戻す（必要な場合） */
}

/* past-archives 系統のカテゴリ見出しに対するホバー無効化の対応 */
.no_hover_wrapper .headline .title a:hover .icon_arw:before,
.no_hover_wrapper .headline .title a:hover .icon_arw:after {
    animation: none; /* headline のアニメーションを無効化 [5] */
}

/* サイトマップ用のアイコン共通設定 */
.sitemap_nav .nav_icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px; /* テキストとの間隔 */
}

/* 既存のアイコン定義をサイトマップにも適用 */
.nav_icon.icon_magazine {
    width: 26px; height: 18px;
    background: url(/common/images/assets/icon_nav/magazine.svg) no-repeat center/contain;
}
.nav_icon.icon_book {
    width: 17px; height: 22px;
    background: url(/common/images/assets/icon_nav/book.svg) no-repeat center/contain;
}
.nav_icon.icon_comic {
    width: 23px; height: 18px;
    background: url(/common/images/assets/icon_nav/comic.svg) no-repeat center/contain;
}
.nav_icon.icon_ebook {
    width: 19px; height: 24px;
    background: url(/common/images/assets/icon_nav/ebook.svg) no-repeat center/contain;
}
.nav_icon.icon_order {
    width: 21px; height: 22px;
    background: url(/common/images/assets/icon_nav/order.svg) no-repeat center/contain;
}
.nav_icon.icon_contact {
    width: 23px; height: 18px;
    background: url(/common/images/assets/icon_nav/contact.svg) no-repeat center/contain;
}

/* レスポンシブ（スマホ等でのサイズ調整） */
@media screen and (max-width: 767px) {
    .sitemap_nav .nav_icon {
        transform: scale(0.8); /* スマホでは少し小さく */
        margin-right: 5px;
    }
}
/* ----------------------------------------------------- */
/* サイトマップのカテゴリグループ間余白調整と文字サイズ調整 */
/* ----------------------------------------------------- */

/* カテゴリグループ間の余白を調整するためのクラス */
/* 既存のCSSで .headline に上下マージンがあるため、ここでは最小限の調整をします */
.sitemap_nav .sitemap_category_block {
    /* 必要であれば上下マージンをここで調整してください */
    margin-top: 20px; 
    margin-bottom: 30px;
}

/* 子カテゴリの文字サイズを拡大する */
.sitemap_nav .sub_category_list .txt {
    font-size: 1.1em; /* 既存のフォントサイズよりも少し大きく設定 */
    /* 1.1em は現在（おそらく）設定されているサイズに対して10%拡大の意味です */
    font-weight: 700; /* 必要であれば太字に */
}

/* 子カテゴリリストと親カテゴリタイトルの間の余白も調整が必要な場合があります */
.sitemap_nav .sub_category_list {
    margin-top: 15px; /* 親タイトルとの間に適切な余白を設定 */
}
/* ----------------------------------------------------- */
/* サイトマップ：フッターリンク専用スタイルの最終修正 */
/* ----------------------------------------------------- */

/* 1. 過剰な共通スタイル（ul/li）をリセットし、罫線（border-bottom）を無効化 */
.sitemap_nav .footer_menu li {
    /* 念のため li に適用されている可能性のある罫線を無効化 */
    border-bottom: none !important; 
    margin: 0;
    padding: 0;
}

/* 2. 境界線を持つ .headline の罫線を削除し、行間（パディング）を定義 */
.sitemap_nav .footer_menu li .headline {
    border-bottom: none !important; /* ★罫線を完全に削除★ */
    margin: 0;
    
    /* 適切な行間をパディングで設定し直す */
    padding-top: 1.1rem; 
    padding-bottom: 1.1rem;
}

/* 3. マージンとパディングをリセットしたことで行間が詰まった要素を再調整 */
/* 必要に応じて、前回の修正で追加した sitemap_list のリセットCSSも削除してください */
/* （もしあれば） */