.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/* ヤングアゲイン用追加メニュー */
#ya_menu1, #ya_menu2 {
  font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  list-style: none;
  height: 48px;
  width: 100%;
  margin: 0;
  background-image: url('https://img14.shop-pro.jp/PA01305/540/etc/ya_menu.jpg?cmsp_timestamp=20180328101642');
  display: table;
  line-height: 1.0;
}
#ya_menu1 li, #ya_menu2 li {
  display: table-cell;
  width: 33.33%;
  text-align: center;
  vertical-align: middle;
  border: dashed 1px #bbb;
  padding: 4px;
}
#ya_menu1 li a, #ya_menu2 li a {
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  line-height: 1.3;
}
.no_drop {
  padding: 12px 0 !important;
  background: #FFFCDB;
  position: relative;
  width: 33.33%;
  float: left;
  margin: 0;
  padding: 0;
  text-align: center;
  border-top: 2px solid;
  box-sizing: border-box;
  border-bottom: 2px solid;
  position: relative;
}
#oval_img {
  position: absolute;
  top: -11px;
  left: 0;
  right: 0;
  margin: auto;
  width: 150px;
  height: 70px;
  background-size: cover;
  background-image: url('https://img14.shop-pro.jp/PA01305/540/etc/oval-1.png?cmsp_timestamp=20180404213245');
  z-index: 999;
  text-align: center;
  background-position: center center;
  background-repeat: no-repeat;
}
#oval_img > a {
  font-weight: bold;
  font-size: 13px;
  color: #ffffff;
  padding: 33px 0;
  display: block;
  text-decoration: none;
  line-height: 1.1;
  text-align: center !important;
}
#oval_img a:hover {
  background-image: url('https://img14.shop-pro.jp/PA01305/540/etc/oval-2.png?cmsp_timestamp=20180404215129');
}
@media screen and (max-width: 410px) {
  .sp_none {
    display: none;
  }
  #oval_img > a {
    font-size: 12px;
  }  
}
@media screen and (max-width: 480px) {
  .no_drop {
    padding: 11.5px 0 !important;
  }
  #ya_menu1 li a, #ya_menu2 li a {
    font-size: 11px;
  }
}

/*ヤングアゲイン用プルダウンメニュー*/
#dropmenu {
  position: relative;
  list-style-type: none;
  width: 100%;
  margin: 0px;
  padding: 0;
  font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}
#dropmenu li {
  position: relative;
  width: 33.33%;
  float: left;
  margin: 0;
  padding: 0;
  text-align: center;
}
#dropmenu li a {
  display: block;
  margin: 0;
  padding: 12px 0;
  background: #FFFCDB;
  color: #65350F;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
}

#dropmenu li ul {
  list-style: none;
  position: absolute;
  z-index: 100;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 0;
  margin: 0;
  box-shadow: 0px 2px #EEE;
  border-radius: 5px;
}
/* メインメニュー */
.drop_li {
  border-top: 2px solid;
  box-sizing: border-box;
  border-bottom: 2px solid;
}
#dropmenu li ul li {
  overflow: hidden;
  width: 100%;
  height: 0;
  color: #fff;
  transition: .2s;
}
#dropmenu li ul li a {
  padding: 13px 15px;
  background: #FEFAC8;
  text-align: left;
  font-size: 12px;
  font-weight: normal;
}

#dropmenu > li:hover > a {
  background: #FEFAC8;
}
#dropmenu li:hover > ul > li {
  overflow: visible;
  height: 38px;
}
#dropmenu li ul li ul {
  top: 0;
  left: 100%;
}
#dropmenu li:last-child ul li ul {
  left: -100%;
  width: 100%;
}
#dropmenu li:hover ul li ul li:hover > a {
  background: #FFF;
  color: #85C5BE;
}
/*サブメニューホバー*/
#dropmenu li.drop_li ul.sub1 li a:hover {
  background: #73C0CB;
}
#dropmenu ul.sub2 li a {
  background-color: #73c0cb;
  border-bottom: 1px solid #FFF;
}
#dropmenu li.drop_li ul.sub2 li a:hover {
  color: #FFF;
}
#dropmenu li ul li ul::before {
  position: absolute;
  content: "";
  top: 13px;
  left: -20px;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left-color: transparent;
  border-left-color: #8a684b;
}
#dropmenu li:last-child ul li ul:before {
  position: absolute;
  content: "";
  top: 13px;
  left: 200%;
  margin-left: -20px;
  border: 5px solid transparent;
  border-right-color: #454e08;
}

#dropmenu li.drop_li:hover:after {
  content: url(https://img14.shop-pro.jp/PA01305/540/etc/icon_arrow_02.png);
}

.ani_ttl {
  margin-right: 5px;
}

/**/
.tokubana li {
  width: 47%;
  margin-right: 2%;
  margin-bottom: 10px;
  list-style-type: none;
  float: left;
}

.tokubana li.wide {
  width: 96%;
}

.tokubana li.wide img {
  min-width: 100%;
}

.otoku_img a img {
  float: left;
  width: 265px;
}

.otoku_img .saisyo img {
  margin-right: 10px;
}

#rank_tabsuma {
  display: none;
}

.deli_time {
  margin-left: 10px;
  width: 180px;
}

#con_bottom {
  margin-left: -60px;
}

.kodawari_ko a {
  color: black;
}

.kodawari_ko a:hover {
  color: orange;
}

.tokubana ul {
  margin-top: 10px;
  margin-left: 3%;
}

#contents {
  float: right;
  margin-top: 0;
  padding-left: 30px;
}

#con_wrapper {
  width: 740px;
  margin-top: 43px;
  margin-left: -60px;
}

// Firefox
@-moz-document url-prefix() {
  #con_wrapper {
    width: 700px;
    margin-top: -140px;
    margin-left: -60px;
  }
}

#left {
  margin-top: 570px;
}

#con_top {
  margin-top: -560px;
  margin-left: -258px;
}

.slider {
  width: 930px;
  height: 265px;
  margin-bottom: -50px;
}

#top_banners {
  width: 960px;
  margin-left: -25px;
  margin-top: 70px;
}

#top_banners ul li {
  width: 225px;
  height: 64px;
  margin-right: 10px;
  float: left;
  text-decoration: none;
  list-style-type: none;
  background-color: #aaa;
}

#top_banners ul li:nth-child(4n) {
  margin-right: -10px;
}

#top_banners ul li:nth-child(n+5) {
  margin-top: 10px;
}

.top_banner_kodawari {
  width: 930px;
  height: 60px;
  margin-top: 10px;
  position: relative;
}

#con_center {
  width: 540px;
  float: left;
  margin-top: -12px;
}

#con_center h2 {
  background-color: #AE0202;
  width: 98%;
  font-size: 13px;
  color: white;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: -17px;
  border-top-left-radius: 10px;
  -webkit-border-top-left-radius: 10px;
  -moz-border-top-left-radius: 10px-top-left;
  border-top-right-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-top-right-radius: 10px-top-right;
}

#con_right {
  margin-top: -12px;
  margin-left: 20px;
  margin-right: -40px;
  width: 180px;
  float: left;
}

#con_right h2 {
  width: 100%;
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
  color: white;
  font-weight: lighter;
  border-top-left-radius: 8px;
  -webkit-border-top-left-radius: 8px;
  -moz-border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  -moz-border-top-right-radius: 8px;
  font-size: 16px;
}

#news h2 {
  background-color: #FE970D;
}

#news {
  padding-bottom: 10px;
  background-color: #FAEEDE;
  border-top-left-radius: 8px;
  -webkit-border-top-left-radius: 8px;
  -moz-border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  -moz-border-top-right-radius: 8px;
}

#news ul {
  width: 88%;
  margin-left: 3%;
  margin-top: 0px;
  padding: 3%;
  height: 300px;
  overflow-x: scroll;
  background-color: white;
}

#news li {
  list-style: none;
}

#news h3 {
  font-size: 10px;
  margin-bottom: -15px;
  clear: both;
}
#news h4 {
  font-size: 12px;
  font-weight: normal;
}

.tbl_calendar {
  border: none !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  width: 100%;
  font-size: 12px;
}
.tbl_calendar th, .tbl_calendar td {
  padding: 4px !important;
  text-align: center !important;
  border: 1px solid #ccc !important;
  background-color: white;
}

#calendar h2 {
  background-color: #FE970D;
}

#calendar {
  background-color: #FAEEDE;
  text-align: center;
  font-size: 10px;
  border-top-left-radius: 8px;
  -webkit-border-top-left-radius: 8px;
  -moz-border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  -moz-border-top-right-radius: 8px;
}

#calendar .side_cal_memo {
  padding-top: 5px;
  padding-bottom: 5px;
}

#rankin col col-xs-12 col-lg-4 seller-unit pad_20 mar_b_30 txt_c {
  height: auto;
}

#rankin h2 {
  background-color: #FE970D;
}

#rankin {
  background-color: #FAEEDE;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

#rankin li {
  height: auto;
}

#rankin .item_li li {
  width: 180px;
  height: auto;
  margin-left: 0px;
  margin-bottom: -10px;
}

#rankin .item_li li img {
  width: 50px;
  float: left;
  height: auto;
  margin-left: -10px;
}

#rankin .li-font_title {
  font-size: 12px;
  font-weight: normal;
  text-decoration: underline;
  color: #2B99FF;
  float: right;
  text-align: left;
  width: 90px;
}

#rankin .li-font_price {
  font-size: 12px;
  color: #AE0202;
  font-weight: bold;
  float: right;
  width: 100%;
  margin: 5px 0;
}

#rankin .li-font_p {
  font-size: 10px;
  color: #222;
  text-align: left;
  width: 100%;
  clear: both;
}

@media (max-width: 960px) {
  .otoku_img a img {
    float: left;
    width: 49%;
    display: block;
  }

  .otoku_img .saisyo img {
    margin-right: 2%;
  }

  #left {
    margin-top: 430px;
  }

  #con_right {
    display: none;
  }

  #con_top {
    margin-left: -42%;
  }

  #con_wrapper {
    margin-left: 0px;
    width: 100%;
  }

  #con_center {
    width: 100%;
    margin-left: 0;
  }

  .slider {
    width: 98%;
    height: auto;
    margin-left: 2%;
  }

  #top_banners {
    width: 104%;
    height: auto;
    margin-left: -1.5%;
    margin-top: 60px;
  }

  #top_banners ul li {
    width: 23%;
    margin-right: 2%;
  }

  .top_banner_kodawari {
    width: 99%;
    margin-left: 1.5%;
  }

  #con_bottom {
    width: 100%;
    margin-left: 0px;
  }
}

@media (max-width: 768px) {
  #rank_tabsuma {
    display: block;
  }

  #con_top {
    margin-left: 0px;
  }

  .top_banner_kodawari {
    display: none;
  }

  #con_wrapper {
    margin-left: -20px;
    margin-top: 60px;
    width: 100%;
  }
  #con_center {
    width: 100%;
    margin-left: 0px;
  }
  #contents {
    width: 98%;
  }
  .slider {
    margin-top: 70px;
    margin-left: 0%;
  }

  #left {
    margin-top: 480px;
  }

  #top_banners, .top_banner_member {
    display: none;
  }
}

@media (max-width: 480px) {
  .otoku_img a img {
    clear: both;
    width: 100%;
  }

  .otoku_img .saisyo img {
    margin: 0px;
  }

  #con_center {
    width: 92%;
    margin-left: 7%;
  }
  #contents {
    float: right;
    margin-top: 0px;
    padding-left: 10px;
  }

  .tokubana li {
    width: 98%;
  }
  #dropmenu li:hover > ul > li {
    overflow: visible;
    height: auto;
  }
  #dropmenu li ul li a {
    padding: 13px 5px;
  }
  #dropmenu li ul li ul::before {
    left: -10px;
  }
  .ani_ttl {
    margin-right: 5px;
    height: 20px !important;
  }
  #dropmenu li ul {
    top: 66px;
  }
  #dropmenu li:last-child ul li ul::before {
    margin-left: -15px;
  }
}

div#floating-menu {
  display: none;
}

/* 追加のスタイル */
.top_banner_kodawari {
  margin-top: 0;
}

.top_banner_kodawari img {
  margin-bottom: 0;
}

.kodawari_ko {
  margin-top: 0;
  padding-top: 0;
}

.kodawari_ko h3 {
  margin-bottom: 5px; /* 必要に応じて調整 */
}

.kodawari_ko ul {
  margin-top: -10px; /* 必要に応じて調整 */
}

/* ミニバナーが全体的に見えるようにするスタイル */
#top_banners {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  margin-top: 110px;
}

#top_banners ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  list-style: none;
}

#top_banners ul li {
  width: 23%;
  height: auto;
  margin-bottom: 1px;
}

/* Add flexbox for equal height columns */
#con_wrapper {
  display: flex; /* Use flexbox to align columns */
  align-items: stretch; /* Equal height for all columns */
  margin-top: 43px;
  margin-left: -60px;
  width: 740px;
}

#con_left, #con_center, #con_right {
  flex: 1; /* Equal width for each column */
  padding: 10px; /* Optional padding */
  box-sizing: border-box; /* Include padding and border in width/height */
}

#con_left {
  width: 540px;
  float: left;
  margin-top: -12px;
}

#con_right {
  width: 180px;
  float: left;
  margin-top: -12px;
  margin-left: 20px;
  margin-right: -40px;
}
#rankin .item_li li img {
  width: 50px;
  float: left;
  height: auto;
  margin-left: -5px; /* Reduced left margin for closer spacing */
}

#rankin .item_li li {
  width: 180px;
  height: auto;
  margin-left: 0px;
  margin-bottom: -5px; /* Reduced bottom margin for closer spacing between items */
}

#top_banners ul {
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  padding: 0;
}

#top_banners li {
  flex: 1;
  margin: 0 10px;
  text-align: center;
  background-color: transparent; /* 背景色を透明に */
}

#top_banners img {
  width: 100%;
  height: 150px; /* ここで高さを固定します。適切な値に調整可能 */
  object-fit: cover; /* 画像を縦横比を保ちながらトリミング */
  background-color: transparent; /* 画像自体の背景を透明にするための設定 */
}
