/* CSS Document */


a:hover{color:#FF3300;}

#secondary-nav div.dateac{margin-left: 8px;margin-bottom: 16px; text-align: left;}

/* 一般用品 */

*html body .item-left{margin:10px 0 10px 5px; padding:0;width:300px;float: left;color:#006633;font-size: 12px;}

.item-left{margin:10px 0 10px 10px; padding:0;width:376px;float: left;color:#006633;font-size:12px;}
div.backk{background:url(../image/backk.gif) no-repeat; width:116px; height:93px;padding-left:12px; padding-top:9px;float:left;}
.item-left a{font-weight: bold; font-size:14px; line-height:150%;}
.item-left a:hover{color:#FF3300;}
.item-left p{margin:0px; padding:4px 0 0;line-height:130%; color:#000000;}
.item-left p.topprice{font-weight: bold; color:#FF0000;}

/*.item-right{margin:10px auto 10px 10px; padding:0;width:300px;float:left;color:#006633;}
.item-right a{background:url(../image/topimg-bga.gif) no-repeat left center; font-weight: bold; font-size:14px; line-height:150%;}
.item-right a:hover{background:url(../image/topimg-bgah.gif) no-repeat left center;color:#FF3300;}
.item-right p{margin:0px; padding:4px 0 0;line-height:130%; color:#000000;}
.item-right p.topprice{font-weight: bold; color:#FF0000;}*/

.item-4{margin:0 0 10px 10px; padding:0;width:142px;float: left;color:#006633;font-size:12px;}
div.back4{background:url(../image/backk.gif) no-repeat; width:116px; height:93px;padding-left:12px; padding-top:9px;}
.item-4 a{font-weight: bold; font-size:13px; line-height:150%;}
.item-4 a:hover{color:#FF3300;}
.item-4 p{margin:0; padding:0;line-height:150%; color:#006633;text-align: center;}
.item-4 p.topprice{font-weight: bold; color:#FF0000;}
.item-4 p.toplprice{font-weight: bold; color:#FF0000;text-align:left;}
.item-4 p.milblack{color:black; margin-right: 10px;text-align:left; line-height: 120%;}


/* 書籍 */
.topsetb{margin:10px 0 10px 10px; padding:0;width:250px;float:left;color:#006633; text-align: center;font-size: 13px;}
div.backb{margin: 0;text-align:center;background:url(../image/backb.gif) no-repeat 0px 0px; width:250px; height:118px;padding-left:0px; padding-top:9px;}
/*div.backb img{margin-left:8px;}*/
.topsetb a{font-weight: bold; font-size:14px; margin-top:30px;line-height:150%;}
.topsetb a:hover{color:#FF3300;}
.topsetb a:hover img{border: 1px solid #FF3300;}
.topsetb p{margin:0px; padding:4px 0 0;line-height:120%; color:#000000;}
.topsetb p.topprice{font-weight: bold; color:#FF0000;}

p.comm{clear: left;
   margin: 0 10px 6px;
   padding: 0;
   border-left: 3px #999999 solid;
   text-indent: 1em;
   font-size: 13px;
   }
   
   
h1{color: #666666;
   font-size: 15px;
   margin: 0 10px 0;
   padding: 0;
   border-bottom: 2px solid #999999;}

h2{margin: 5px 10px 10px;
   padding: 0;
   color: #333333;
   font-size:14px;
   letter-spacing: 1px!important;
   font-weight: normal!important;
   }
   
h3.tpv{clear: left;
   margin: 30px 6px 15px 10px;
   padding-left: 6px;
   color: #666666;
   font-weight: bold;
   font-size: 16px;
   border-bottom: 2px solid #d9d9d9;}
   

/* 新着情報 */
.newsheader{background: url('../image/newspains.gif') no-repeat left top!important;}
   
div.title_news{margin:0px 10px 8px 11px;
   padding: 0;
   border-top:2px solid #d9d9d9;
   border-bottom:2px solid #d9d9d9;
   background-color: #ffffff;
   overflow: auto;
   height:170px;}

.title_news img{margin-top: 3px; margin-right: 8px;}
   
.title_news p{padding :4px 5px 4px;
   margin: 0;
   border-bottom:#083c73 1px solid;
   line-height: 120%;
   font-size: 12px;}


/* 利用別カテゴリ */

div.bunrui{clear: both;margin: 0 0 0 16px;
  padding-top:16px;background: url(../image/tpsepaup.gif) no-repeat left top;}

.bunrui h4{margin: 0 0 10px;padding: 0;
   font-size:16px;color: #006600;}
   
.bunrui strong{font-size: 16px;}

.bunrui div.bunsei{width: 250px;
   float: left;
   margin:0;}
   
.bunrui div.bunsei a{}
.bunrui div.bunsei a:hover{color:#FF3300;}

.kaijo{clear:left; margin:0;padding: 0;}
.bunrui ul {
	list-style: none;
	margin: 0px 0px 20px 0px;
	padding-left: 0px;
	text-align: left;
	font-size: 13px;
}

.bunrui ul li{	width: 100%;font-size:13px;
	margin-bottom: 1px;background: url(../image/tpbunrui_ya.gif) no-repeat left center;text-indent: 12px;
	   line-height: 1.8em;
}

#m34{margin-top: 31px;}
.bunrui p{margin: 0;padding: 0; clear: both;}

a.mob{font-size:14px; margin-left: 10px;background:url(../image/topimg-bga.gif) repeat-x left center;}
a.mob:hover{background:url(../image/topimg-bgah.gif) repeat-x left center;color:#FF3300;}



/*  商品紹介かこい　半分　　*/
*html body .lamphalf{float:left;margin-left:5px;margin-top: 20px;margin-bottom: 20px;
    width: 286px;
	padding: 5px 5px 8px;
    border: 1px solid #c2c2c2;
	background:url(../image/lamp_bg.jpg) repeat-x left top;
	font-size:13px;}

.lamphalf{float:left;margin-left:10px;margin-top: 20px;margin-bottom: 20px;
    width: 366px;
	padding: 5px 5px 8px;
    border: 1px solid #c2c2c2;
	background:url(../image/lamp_bg.jpg) repeat-x left top;
	font-size:13px;}
.lamphalf strong{font-size: 15px;}
.lamphalf p{text-align: left;margin: 0;}
.lamphalf a img{border: 1px solid #0a498b;}
.lamphalf a:hover img{border: 1px solid #FF3300;}


   
/*  送料無料　　*/
.freecost{clear: left;
   margin-left:10px;
   padding: 5px;
   width: 594px;
   line-height: 160%;
   font-size: 13px;
   border: 1px solid #c2c2c2;background:url(../image/lamp_bg.jpg) repeat-x left top;}
   
.freecost h4{margin: 0 0 6px;font-size: 15px;}

/*  一行リンク　　*/

h5{margin: 0 16px 16px;
   padding: 0;
   font-size: 15px;
   font-weight: bold;}

.newmes{margin: 0 16px 16px;
   padding: 0;
   font-size: 15px;
   font-weight: bold;
   color: red;}
   
h6{margin: 0 10px 6px;
   padding: 0;
   font-size: 12px;
   font-weight: bold;}
   
.chance{margin: 0 10px 10px 20px;
   padding: 3px;
   border-bottom: 1px dotted #FF3333;}
   
/*  お知らせ　　*/

.en{margin: 2px 15px 15px 15px;
   padding: 8px;
   border: 1px solid #FF0000;
   background-color: #FFE4E1;
   font-size: 15px;}
   
/* ==================================================
   TOPページ専用：メインバナーエリア
   ================================================== */
   
   /* メインコンテンツ内のバナーエリア */
.main-banner-area {
  margin-bottom: 30px; /* 下のコンテンツとの隙間 */
}

.main-banner-area img {
  width: 100%; /* 820pxいっぱいに広げる */
  height: auto;
  display: block;
  margin-bottom: 10px;
}

/* 2枚並べるバナー用 */
.sub-banner-wrapper {
  display: flex; /* 横に並べる設定 */
  justify-content: space-between; /* 両端に寄せる */
}

.sub-banner-wrapper a {
  width: 49%; /* 隙間を考えて約半分 */
}

.sub-banner-wrapper img {
  width: 100%;
  height: auto;
}

/* ==================================================
   TOPページ専用：目的別ナビゲーション
   ================================================== */
.purpose-nav-area {
  margin-bottom: 40px; /* 下のコンテンツとの隙間 */
  width: 100%;
}

.purpose-nav-area h3 {
  font-size: 18px;
  font-weight: bold;
  color: #006633; /* サイト全体の緑色 */
  margin-bottom: 15px;
  border-left: 5px solid #ff6600; /* オレンジ色のアクセント */
  padding-left: 10px;
}

.purpose-nav {
  display: flex;
  justify-content: space-between; /* 均等配置 */
  gap: 10px; /* ブロック間の隙間 */
}

/* 各項目 */
.purpose-item {
  width: 24%; /* 4列の場合。3列なら32% */
  text-align: center;
  background-color: #f9f9f9; /* 薄いグレーの背景 */
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: all 0.3s; /* ホバー時のアニメーション */
  padding-bottom: 10px;
}

/* マウスホバー時に少し浮かせる演出 */
.purpose-item:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.purpose-item a {
  text-decoration: none;
  color: #333;
  display: block;
}

/* 画像の設定 */
.purpose-item img {
  width: 100%; /* 枠いっぱいに */
  height: auto;
  border-radius: 5px 5px 0 0; /* 上側だけ丸く */
  margin-bottom: 10px;
}

/* テキスト（キャッチコピー）の設定 */
.purpose-item h4 {
  font-size: 14px;
  margin: 0;
  padding: 0 5px;
  line-height: 1.4;
  font-weight: bold;
  color: #333;
}

/* ==================================================
   TOPページ専用：売れ筋ランキングエリア
   ================================================== */
.ranking-area {
  margin-bottom: 40px;
}

/* ランキングの目立つ見出し */
.ranking-title {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background-color: #e60012; /* 目立つ赤色 */
  padding: 10px 15px;
  margin-bottom: 20px;
  border-radius: 5px;
  text-align: center;
  letter-spacing: 2px;
}

/* --- バッジを重ねるための魔法のCSS --- */
/* item-4自体を基準点にするための設定を上書き（追加） */
.item-4-rank {
  position: relative; /* ここが基準点になります */
}

/* メダルバッジの共通設定 */
.rank-badge {
  position: absolute; /* 画像から浮かせて自由な位置に配置 */
  top: -10px;         /* 少し左上に飛び出させる */
  left: -10px;
  width: 44px;
  height: 44px;
  border-radius: 50%; /* 完全な丸にする */
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  line-height: 44px; /* 文字を上下中央に */
  text-align: center;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* 影をつけて立体感を出す */
  z-index: 10;
}

/* 順位ごとの色設定 */
.rank-1 { background: linear-gradient(#ffe066, #f39c12); border: 2px solid #fff; } /* ゴールド */
.rank-2 { background: linear-gradient(#e0e0e0, #95a5a6); border: 2px solid #fff; } /* シルバー */
.rank-3 { background: linear-gradient(#f1a9a0, #d35400); border: 2px solid #fff; } /* ブロンズ */
.rank-4, .rank-5 { background-color: #7f8c8d; } /* 4位と5位はグレー */

/* `float:left`を解除して次の段の崩れを防ぐための設定 */
.clear-fix {
  clear: both;
}


