/* ============================================
   お米特集 PC CSS
   /food/okome/_pc/css/style.css
   ============================================ */

/* ============ Okome Kanban Hero ============ */
.okome-kanban {
  overflow: hidden;
  width: 100%;
  background: #f5f0e8;
}

.okome-kanban-inner {
  display: grid;
  grid-template-columns: 1fr 300px 1fr;
  height: 380px;
  overflow: hidden;
}

/* 左右フォト共通 */
.okome-kanban-photo {
  overflow: hidden;
  position: relative;
}

.okome-kanban-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* 左：米粒・升 — 右寄り中央でトリミング */
.okome-kanban-photo-left img {
  object-position: 60% 55%;
  transform: scale(1.15);
}

/* 右：炊きたてごはん — 箸・ごはんを中心に */
.okome-kanban-photo-right img {
  object-position: 50% 35%;
  transform: scale(1.2);
}

/* 中央タイトルエリア */
.okome-kanban-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-left: 3px solid #ad9245;
  border-right: 3px solid #ad9245;
  position: relative;
  padding: 20px 20px 16px;
  gap: 0;
}

/* 金線装飾（上下） */
.okome-kanban-center::before,
.okome-kanban-center::after {
  content: "";
  display: block;
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: #ad9245;
}
.okome-kanban-center::before { top: 10px; }
.okome-kanban-center::after  { bottom: 10px; }

/* 上部エンブレム */
.okome-kanban-emblem {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  margin-bottom: 4px;
}
.okome-kanban-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* テキストグループ */
.okome-kanban-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* 「楽天市場」キャッチ — 非表示 */
.okome-kanban-catch {
  display: none;
}

/* メインタイトル */
.okome-kanban-title {
  font-size: 48px;
  font-weight: bold;
  color: #2c1a00;
  margin: 0;
  letter-spacing: 0.18em;
  line-height: 1.15;
  text-align: center;
  font-family: "游明朝", "YuMincho", "Yu Mincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", serif;
}

/* 仕切り線 */
.okome-kanban-text::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: #ad9245;
  margin: 2px auto;
}

/* サブキャッチ */
.okome-kanban-subtitle {
  font-size: 16px;
  color: #5c4a20;
  letter-spacing: 0.15em;
  margin: 0;
  font-weight: 500;
  text-align: center;
  font-family: "游明朝", "YuMincho", "Yu Mincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", serif;
}

/* ============ Base Layout ============ */
.main_contents {
  width: 100%;
  margin: 0 auto;
}

.win960 {
  width: 960px;
  margin: 0 auto;
}

/* ============ Kanban Note ============ */
.kanban_note {
  width: 960px;
  margin: 16px auto;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  text-align: center;
}

/* ============ Anchor Navigation ============ */
.index02 {
  width: 960px;
  margin: 0 auto 32px;
}

.index_box {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.anchorNav__menuItem {
  list-style: none;
}

.anchorNav__menuLink {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  background: #fff;
  border: 2px solid #ad9245;
  border-radius: 4px;
  color: #ad9245;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.anchorNav__menuLink:hover {
  background: #ad9245;
  color: #fff;
}

.rex-icon.chevron-down::after {
  content: "▼";
  font-size: 10px;
}

/* ============ Floating Navigation ============ */
/* ECMモジュール(ecm-floating)がレイアウトを管理するため、
   .floating_area へのposition/background指定は行わない */

.navi_text {
  display: block;
  font-size: 13px;
  text-align: center;
  font-weight: bold;
}

.navi_ic {
  display: block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #ad9245;
  margin-top: 4px;
}

/* ============ Section Common ============ */
.main_section {
  padding: 40px 0;
  border-bottom: 1px solid #ebebeb;
}

.main_section:last-child {
  border-bottom: none;
}

.main_ttl_wrap {
  text-align: center;
  margin-bottom: 32px;
  padding: 20px 0 0;
}

.main_ttl {
  display: inline-block;
  font-size: 26px;
  font-weight: bold;
  color: #2c1a00;
  position: relative;
  letter-spacing: 0.1em;
  padding-bottom: 16px;
}

.main_ttl span {
  position: relative;
}

.main_ttl::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #ad9245;
  margin: 12px auto 0;
  position: static;
}

.title02 {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin: 0 0 16px;
  padding: 8px 12px;
  border-left: 4px solid #ad9245;
  background: #f9f9f9;
}

.title02 ._text {
  display: inline;
}

/* ============ Merit Section h2 Icon ============ */
.merit_ttl_wrap::before {
  display: none; /* 縦線の代わりにアイコンを使用 */
}

.merit_ttl_icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.merit_ttl_icon svg {
  width: 100%;
  height: 100%;
}

/* ============ Category Section ============ */
.category_wrap {
  margin-bottom: 32px;
}

/* Search Alcor Grid */
.search_alcor_area {
  gap: 16px;
  margin-bottom: 16px;
}

/* Brand Category */
.con_area {
  margin-bottom: 24px;
}

.title04 {
  margin-bottom: 12px;
}

.title_text {
  font-size: 14px;
  font-weight: bold;
  color: #666;
  padding: 6px 12px;
  background: #f0f0f0;
  border-radius: 2px;
  margin: 0;
}

.category_con_box {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 12px;
}

.category_con {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.category_con:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.category_con a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  padding: 12px;
  gap: 12px;
}

.category_con_img {
  width: 80px;
  flex-shrink: 0;
}

.category_con_img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.category_con_txtbox {
  flex: 1;
  min-width: 0;
}

.category_con_bold {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.category_con_text {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* ============ Price Section ============ */
.price_area {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.price_box {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  background: #fff;
}

.price_alcor {
  margin-bottom: 16px;
}

/* ============ More Button ============ */
.button01 {
  text-align: center;
  margin-top: 16px;
}

.buttonLink {
  display: inline-block;
  padding: 10px 40px;
  border: 2px solid #ad9245;
  border-radius: 4px;
  color: #ad9245;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.buttonLink:hover {
  background: #ad9245;
  color: #fff;
}

/* ============ Keyword Section ============ */
.kyeword {
  text-align: center;
}

.search01 {
  max-width: 600px;
  margin: 0 auto 24px;
}

.search_box {
  display: flex;
  border: 2px solid #ad9245;
  border-radius: 4px;
  overflow: hidden;
}

.search_input {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
  border: none;
  outline: none;
}

.search_box_submit {
  width: 52px;
  min-width: 52px;
  background: #ad9245;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.search_box_submit .ecm-icon-search,
.search_box_submit .search_box_ic {
  display: block;
  line-height: 1;
  text-align: center;
}

.search_box_submit:hover {
  background: #a8832a;
}

.keyword01 {
  max-width: 760px;
  margin: 0 auto;
}

.keyword_list {
  gap: 12px;
}

/* ============ Ranking Section ============ */
.ranking_alcor {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ranking_box {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  background: #fff;
}

.rankingNote01 {
  margin-top: 40px;
  padding: 24px;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.rankingNote_Info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rankingNote_Info li {
  font-size: 11px;
  color: #888;
  line-height: 1.6;
  padding-left: 1em;
  text-indent: -1em;
}

.rankingNote_Info li::before {
  content: "※";
}

/* ============ Related Section ============ */
.related {
  padding: 40px 0;
}

.other_list01 {
  width: 960px;
  margin: 0 auto;
}

.other_list_box {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.other_list_box a {
  display: block;
  overflow: hidden;
  border-radius: 4px;
}

.other_list_box a img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.2s;
}

.other_list_box a:hover img {
  opacity: 0.85;
}

/* ============ Merit Cards ============ */
.merit_cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 8px;
}

.merit_card {
  border: 1px solid #e8dfc8;
  border-top: 3px solid #ad9245;
  border-radius: 6px;
  background: #fff;
  text-align: center;
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: box-shadow 0.2s;
}

.merit_card:hover {
  box-shadow: 0 4px 16px rgba(200,169,81,0.15);
}

.merit_card_icon {
  width: 108px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.merit_card_icon svg,
.merit_card_icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* 添付画像からスプライト表示 */
.merit_sprite {
  background-image: url('https://r.r10s.jp/evt/event/food/okome/_cmn/img/merit_sprite.jpg');
  background-repeat: no-repeat;
  background-size: 300% auto;
  width: 108px;
  height: 80px;
}

.merit_sprite--truck { background-position: 0% 50%; }
.merit_sprite--coin  { background-position: 50% 50%; }
.merit_sprite--bowl  { background-position: 100% 50%; }

.merit_card_num {
  font-size: 22px;
  font-weight: bold;
  color: #ad9245;
  margin: 0;
  letter-spacing: 0.1em;
  font-family: "Georgia", "游明朝", "YuMincho", "Yu Mincho", serif;
  line-height: 1;
}

.merit_card_title {
  font-size: 16px;
  font-weight: bold;
  color: #2c1a00;
  margin: 0;
  line-height: 1.6;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8dfc8;
  width: 100%;
}

.merit_card_text {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin: 0;
  text-align: left;
}

.merit_note {
  font-size: 12px;
  color: #666;
  margin: 12px 0 0;
  text-align: left;
}

/* ============ Alcor Section Common ============ */
.pickup,
.blend,
.brand,
.ranking,
.coupon {
  padding: 40px 0;
  border-bottom: 1px solid #ebebeb;
}

/* ============ Variety / Region Keyword ============ */
.variety,
.region,
.kyeword {
  padding: 40px 0;
  border-bottom: 1px solid #ebebeb;
}

.variety .ecm-pill,
.region .ecm-pill,
.kyeword .ecm-pill {
  text-align: center !important;
  justify-content: center !important;
  display: flex !important;
  align-items: center !important;
}

/* ============ More Button Wrap ============ */
.more_btn_wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.more_btn_wrap .ecm-pill-size-xl {
  padding: 16px 40px;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 320px;
}

.more_btn_wrap .ecm-pill-size-xl i {
  font-size: 18px;
}

/* ============ Anchor Nav - 7 items (4col × 2row) ============ */
.index_box-7 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.index_box-7 .anchorNav__menuLink {
  padding: 12px 10px;
  font-size: 14px;
}

/* ============ Related Grid ============ */
.related_grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.related_grid a {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.related_grid a:hover {
  opacity: 0.85;
}

.related_grid img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============ ECMコンポーネント ゴールド上書き ============ */
/* ecm-pill（キーワードボタン） */
.ecm-pill {
  border-color: #ad9245 !important;
  color: #ad9245 !important;
}
.ecm-pill:hover,
.ecm-pill:focus,
.ecm-pill.-active {
  background: #ad9245 !important;
  color: #fff !important;
  border-color: #ad9245 !important;
}

/* ecm-breadcrumb */
.ecm-breadcrumb-item a:hover {
  color: #ad9245 !important;
}
/* 現在ページ（お米特集）はゴールドにしない */

/* ecm-search（検索ボックス） */
.ecm-search-submit {
  background: #ad9245 !important;
}
.ecm-search-submit:hover {
  background: #a8832a !important;
}
.ecm-search-input:focus {
  outline-color: #ad9245 !important;
}

/* ecm-floating-navi */
.ecm-floating-navi-item:hover {
  color: #ad9245 !important;
}

.ecm-floating-navi-item.-active {
  border-color: #ad9245 !important;
}

/* ecm-alcor リンク */
.ecm-alcor-item-link:hover .ecm-alcor-name,
.ecm-alcor-shop-link:hover {
  color: #ad9245 !important;
}

/* ecm-ranking-alcor */
.ecm-ranking-alcor-rank-num {
  color: #ad9245 !important;
}

/* scroll-to-top ボタン: 白アイコン + ゴールド背景 */
[data-module-name="ecm-scroll-to-top"] {
  background: #ad9245 !important;
  border-color: #ad9245 !important;
  color: #fff !important;
}
[data-module-name="ecm-scroll-to-top"]:hover {
  background: #a8832a !important;
  border-color: #a8832a !important;
}
[data-module-name="ecm-scroll-to-top"] i,
[data-module-name="ecm-scroll-to-top"] .ecm-icon-chevron-up {
  color: #fff !important;
}
