﻿@charset "utf-8";

/*===== 基本設定 =====*/
:root {
  --color-primary: #1E2A44;
  --color-secondary: #C6B7A3;
  --color-accent: #F5F4F0;
  --color-frame: #CCCCCC;	
  --color-text: #444444;
  --color-back: #E8D5CC;
  --color-light: #F5F5F5;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-sand: #B4A27B;	
  --color-pink: #D8A7A7;
  --color-mint: #A8C3A3;
  --color-blue: #A7C6D8;
  --color-green: #3E6C68;
  --color-attn: #D59B09;
  --color-sale: #A24C5A;
  --color-line: #3D863D;	
  --color-rakuten: #BF0000;
  --color-yahoo: #FF0033;
  --transition: all 0.4s ease
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box}

html {
  margin: 0;
  padding: 0}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-primary);
  line-height: 1.7;
  max-width: 1080px;
  margin: 0 auto;
  padding-top: var(--header-h);
}

main {
  padding: 0;
  background-color: var(--color-light)}

.head_main {
  padding: 0;
  background-color: var(--color-light)}

article {
  display: block;
  margin: 0 auto}

section {
  position: relative;
  overflow: hidden}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  transition: var(--transition)}

a {
  color: inherit; 
  text-decoration: none;
  transition: var(--transition)}

a[href^="mailto:"] {
  color: inherit !important}


a.btn, a.btn:link, a.btn:visited {
  color: var(--color-white)}
/*===== =====*/

/*===== タイポグラフィ =====*/
h1, h2, h3, h4, h5, h6 {
  font-family: '游明朝', 'Yu Mincho', 'Hiragino Mincho ProN', 'Hiragino Mincho Pro',
               'Times New Roman', 'Times', 'Georgia', serif;
  font-variant-numeric: lining-nums;
  line-height: 1.4;
}


h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  font-weight: 500}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: 1.75rem;
  font-weight: 500}

h3 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin-bottom: 1.5rem;
  font-weight: 500}

h4 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: 1.25rem;
  font-weight: 400}

h5 {
  font-size: clamp(0.8rem, 2.5vw, 1.25rem);
  margin-bottom: 0.9rem;
  font-weight: 300}

h6 {
  font-size: clamp(1rem, 2.75vw, 1.35rem);
  margin-bottom: 0.9rem;
  font-weight: 500}

/*===== h2見出し：新作/再販スライダー・ランキング・インスタ・特集バナー =====*/
.new-arrival h2,
.restock h2,
.ranking h2,
.recommend h2,
.instagram h2,
.feature-banner h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 24px}
/*===== =====*/

p {
  font-size: 0.875rem;
  margin-bottom: 20px}

.title-p {
    margin: -22px 0 28px 0;
    font-size: 0.8rem;
    letter-spacing: 0.4rem;
    text-align: center}

/*===== ヘッダー背景をグラデ基準色に統一 =====*/
header {
  background-color: var(--color-light);
}

/*===== 区切り =====*/
.hr-thin {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  height: 0;
  margin: 12px 16px;
  z-index: 999;
}

/*===== シャドウ =====*/
.shadow {
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1)}
		
/*===== アンダーバー =====*/
.u_bar {
  padding-bottom: 15px;
  border-bottom: 1.75px solid var(--color-frame)}

/*===== フェードイン＆アップ =====*/
.fade-in {
  opacity: 0.2;
  transform: translateY(20px); 
  transition: all 1s ease}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0)}

/*===== アイコン/矢印：サイズ/高さ調整 =====*/
.icon-adj {
  font-size: 0.8rem;
  vertical-align: 2px}

/*===== 点滅・テキスト =====*/
.blink-text {
  animation: blink 1.75s ease-in-out infinite;
  opacity: 1}

@keyframes blink {
  0, 100% {
    opacity: 1}
  50% {
    opacity: 0.6}
}

/*===== セール・テキスト =====*/
.sale-text {
  color: var(--color-sale) !important;}

/*===== 注目・テキスト =====*/
.attn-text {
  color: var(--color-attn) !important;}

/*===== Special week =====*/
.sp-event {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  background-color: var(--color-primary);
  font-size: 0.65rem;
}

.sp-event__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* 画像を右寄せ */
}

.sp-event__text {
  flex: 0 0 30%; /* スマホ時：左余白20% */
  display: flex;
  align-items: center;  /* 縦方向の中央揃え */
  justify-content: center; /* 横方向の中央揃え */
  text-align: center;
  color: var(--color-accent);
}

.sp-event img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

/* PC表示時 */
@media screen and (min-width: 768px) {
  .sp-event__text {
    flex: 0 0 464px; /* 左スペース固定幅 */
	font-size: 1rem;
  }
  .sp-event__text br {
    display: none; /* テキスト領域内の <br> を非表示に */
  }
}



/* ===== 問い合わせ・お買い物ガイド・TOP戻る共通円形ボタン ===== */
.circle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.2s ease, background-color 0.3s ease;
  z-index: 9999;
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  line-height: normal !important;
  vertical-align: baseline !important;
}

/* ===== お買い物ガイド（TOPページ用：右下） ===== */
.regina-btn {
  right: max(15px, env(safe-area-inset-right));
  background-color: rgba(234,193,79,0.95);
  border: none;
  color: var(--color-white);
  font-weight: bold;
}
.regina-btn:hover {
  transform: scale(1.05);
  background-color: rgba(213, 155, 9, 0.95);
}
.regina-btn > span {
  font-size: 0.65rem !important;
  font-weight: normal !important;
  line-height: 1.1;
  text-align: center;
  display: block;
  color:var(--color-text);
  pointer-events: none;
  transform: translateY(1px);
}

.back-to-top {
  left: max(15px, env(safe-area-inset-left));
  background-color: rgba(245, 244, 240,0.8);
  border: none;
}
.back-to-top:hover {
  background-color: rgba(150,150,150,0.9);
}

/* ===== お問い合わせ（商品ページ用：右下） =====
.inquiry-btn {
  right: max(15px, env(safe-area-inset-right));
  background-color: rgba(173,202,227,0.9) !important;
  border: none;
}
.inquiry-btn:hover {
  transform: scale(1.05);
  background-color: rgba(153,182,207,0.9) !important;
}
.inquiry-btn > span {
  font-size: 0.65rem !important;
  font-weight: normal !important;
  line-height: 1.1;
  text-align: center;
  display: block;
  color: var(--color-primary);
  pointer-events: none;
  transform: translateY(1px);
} */

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .circle-btn { width: 50px; height: 50px; }
  .arrow { font-size: 18px; }
  .text { font-size: 10px; }
  .inquiry-btn > span { font-size: 0.58rem; }
}
@media (max-width: 480px) {
  .circle-btn { width: 45px; height: 45px; bottom: 15px; }
  .back-to-top { left: 15px; }
  .inquiry-btn, .regina-btn { right: 15px; }
}


/*===== ハンバーガーメニューの中身 =====*/
.hamburger-content {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  margin: 0 auto;
  width: 90%;
  max-width: 800px;
  padding: 20px 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px) saturate(160%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 1200
}

.hamburger-content .menu-body {
  min-height: 100%;
  padding: 12px 16px 24px;
}

/* 背景ロック（ドロワーOPEN時） */
html.menu-open, body.menu-open { overflow: hidden; }

/* 100vh問題対策（モバイルアドレスバー） */
@supports (height: 100dvh) {
  .hamburger-content { height: calc(100dvh - var(--header-h)); }
}

/*===== ボタン・グループ =====*/
.button-group {
  width: 90%;
  max-width: 1080px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 0 auto 20px auto}

.button-group a {
  display: block;
  text-align: center;
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.4s ease, color 0.4s ease;
  text-decoration: none}

.button-group .mypage-btn {
  background-color: var(--color-white);
  color: var(--color-primary)}

.button-group .mypage-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary)}

.button-group .signup-btn {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border: 1px solid var(--color-secondary)}

.button-group .signup-btn:hover {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black)}

/*===== メニュー内：検索フォーム =====*/
.search-box {
  width: 90%;
  position: relative;
  margin: 0 auto 20px auto}
.search-box form {
  position: relative;
  width: 100%;
  display: block}
.search-box input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 40px 12px 15px;
  border: 1px solid var(--color-frame);
  border-radius: 25px;
  font-size: 1rem;
  -webkit-appearance: none}
.search-box i.fas.fa-search {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 1rem;
  cursor: pointer}
.search-box i.fas.fa-search:hover {
  color: var(--color-black)}
.search-box button {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer}
.search-box button i {
  color: var(--color-primary);
  font-size: 1rem}
.search-box button:hover i {
  color: var(--color-black)}

/*===== メニュー内：SNS =====*/
.menu_sns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0}
.menu_sns a {
  color: var(--color-primary);
  font-size: 24px;
  transition: color 0.4s ease}
.menu_sns a:hover {
  color: var(--color-black)}

/*===== メニュー内：カテゴリー（縦） =====*/
.menu-category {
  display: flex;
  max-width: 720px;
  flex-direction: column;
  margin: 0 0 20px 20px;
  gap: 10px;
}

.menu-category a {
  display: inline-block; 
  position: relative; 
  text-align: center;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.4s ease;
  padding-bottom: 5px;
}

.menu-category a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%); 
  width: 80%; 
  border-bottom: 1px dotted var(--color-frame);
}

.menu-category a:hover {
  color: var(--color-black);
}

/*===== カテゴリー横スクロール =====*/
.category-links-wrap {
  position: relative;
  overflow: hidden;
  margin: 5px auto;
  padding: 5px 15px;
}

/* 横スクロール本体 */
.category-links {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-links::-webkit-scrollbar {
  display: none;
}

.category-links ul {
  display: flex;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
}

.category-links li {
  flex: 0 0 auto;
  position: relative;
  padding-right: 1.2rem;
}

.category-links li::after {
  content: "│";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(30%, -50%);
  color: #ccc;
  font-size: 1rem;
  line-height: 1;
  pointer-events: none;
}

.category-links li:last-child::after {
  content: "";
  display: none;
}

.category-links a {
  display: block;
  padding: 8px 4px;
  text-decoration: none;
  font-size: 1rem;
  white-space: nowrap;
  transition: color 0.4s ease;
}

.category-links a:hover {
  color: var(--color-black);
}

/* 補助（矢印がある場合） */
.category-links-arrow {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  z-index: 3;
  pointer-events: none;
  user-select: none;
  cursor: pointer;
}

.category-links.dragging {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

/*===== PC：中央寄せで全表示／フェード・矢印なし =====*/
@media (min-width: 768px) {
  .category-links-wrap {
    overflow: hidden;
  }

  .category-links {
    overflow: visible;
  }

  .category-links ul {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.4rem;
    max-width: 100%;
  }

  .category-links-wrap::before,
  .category-links-wrap::after {
    content: none;
    display: none;
  }
}

/*===== スマホ：横スクロール＋右端固定グラデ＋小さい矢印 =====*/
@media (max-width: 767px) {
  .category-links-wrap {
    position: relative;
    overflow: hidden;
  }

  .category-links {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .category-links::-webkit-scrollbar {
    display: none;
  }

  .category-links ul {
    flex-wrap: nowrap;
  }

  .category-links a {
    font-size: 1rem;
  }

  /* 右端グラデ：スマホだけ固定 */
  .category-links-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 105px;
    height: 100%;
    background: linear-gradient(
      to left,
      var(--color-light) 0%,
      var(--color-light) 30%,
      rgba(255,255,255,0) 100%
    );
    pointer-events: none;
    z-index: 20;
    display: block;
  }

  /* 小さい矢印：スマホだけ固定 */
  .category-links-wrap::before {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-size: 1.25rem;
    line-height: 1;
    pointer-events: none;
    z-index: 21;
    opacity: 0.75;
    display: block;
  }
}

@media (max-width: 767px) {
  .category-links-wrap::after {
    width: 42px;
    height: 42px;
  }

  .category-links ul {
    padding-right: 48px;
  }
}
/*===== =====*/

/*===== ハッシュタグ・ウインドウ
.hashtag-section {
  display: none;
  padding: 20px;
  background-color: var(--color-white);
  border-top: 1px solid #ddd;
  margin-top: 0;
}

.hashtag-section.is-open {
  margin-top: 10px;
} =====*/

/* ===== ハッシュタグ（共通：構造だけ） ===== */
.hashtag-section {
  display: none;
}

/* ===== ハンバーガーメニュー内 ===== */
#menu-hashtags {
  padding: 20px;
  background-color: var(--color-white);
  border-top: 1px solid #ddd;
}

/* ===== Trend Word 展開用 ===== */
#trend-hashtags {
  margin: 8px 10px 0;
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.hashtag-category {
  margin-bottom: 20px}

.hashtag-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px}

.hashtag-category ul li a {
  background: var(--color-light);
  color: var(--color-primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid var(--color-frame);
  transition: 0.3s}

.hashtag-category ul li a:hover {
  background: var(--color-accent);
  color: var(--color-white)}
/*===== =====*/

/*===== ヘッダー1段目 =====*/
.header-top{
	max-width: 1080px;
	margin: 0 auto;
	position:fixed;
	top:0;left:0;right:0;
	z-index:1100;
	background:var(--color-light);
	backdrop-filter:saturate(160%) blur(6px);
	box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.header-inner{
	max-width:1080px;
	margin:0 auto 10px;
	display:flex;
	justify-content:space-between;
	align-items:center;
	padding:10px 15px;
}

/* スクロール時の視認性UP（影） */
.header-top.is-scrolled {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

@supports (padding-top: env(safe-area-inset-top)) {
  .header-top { padding-top: calc(10px + env(safe-area-inset-top)); }
} 

.brand-logo {
  max-width: 115px;
  height: auto;
  max-height: 28px;
  margin-left: 0.45rem;
  margin-bottom: 0.3rem;
  position: relative; 
  top: 0}

.brand-logo img {
  width: 100%;
  transition: opacity 0.4s ease}

.brand-logo img:hover {
  opacity: 0.8
}

.header-right {
  display: flex;
  gap: 17px;
  align-items: center
}

.header-right img, .header-right svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  display: inline-block;
}

.header-right i {
  width: 20px;
  height: 20px;
  display: inline-block;
  font-size: 20px;
  line-height: 20px;
  text-align: center;
}
/*=====  =====*/

.cart-icon,
.hamburger-menu {
  font-size: 20px;
  color: var(--color-primary);
  transition: color 0.4s ease}

.hamburger-menu i {
  transition: all 0.3s ease}

.hamburger-menu.active i::before {
  content: "\f00d"; 
  font-family: "Font Awesome 5 Free";
  font-weight: 900}

.cart-icon:hover,
.hamburger-menu:hover {
  color: var(--color-primary)}
/*===== =====*/


/*===== 250609：CLS対策追加 =====*/
@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/fa-solid-900.woff2') format('woff2');
  font-display: swap;
}

/*===== ヘッダー2段め =====*/
.header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px 10px 18px;
  background-color: var(--color-light);
  border-top: 1px solid #eee}

/*===== shopping guide ボタン =====*/
.shopping-guide {
  font-size: 0.75rem;
  font-weight: normal;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 5px 15px;
  border-radius: 25px;
  background: linear-gradient(145deg, rgba(255,255,255,0.7), rgba(240,240,240,0.4));
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: inset 0 1px 3px rgba(255,255,255,0.3),
              0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shopping-guide:active {
  transform: scale(0.95);
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.4),
              0 1px 4px rgba(0,0,0,0.2);
}

/*===== 250616：.icons CLS対策追加 =====*/
.header-bottom .icons i {
  width: 20px;
  height: 20px;
  display: inline-block;
  font-size: 20px;
  line-height: 20px;
  text-align: center;
}
/*===== =====*/

.icons {
  display: flex;
  gap: 17px}

.icons a {
  color: var(--color-primary);
  font-size: 20px;
  transition: color 0.4s ease}

.icons a:hover {
  color: var(--color-black)}
/*===== =====*/


/* ===== ヘッダー用アコーディオン ===== */
.hdr-accordion-box {
  border-bottom: 1px solid #ddd;
}

.hdr-accordion-header {
  cursor: pointer;
  position: relative;
  display: block;
  padding: 14px 16px;
  background-color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center; 
}

.hdr-accordion-header::after {
  content: '＋';
  position: absolute;
  right: 1rem;
  font-weight: 500;
}
.hdr-accordion-box.open .hdr-accordion-header::after {
  content: '－';
}

.hdr-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.hdr-accordion-box.open .hdr-accordion-content {
  max-height: 1000px;
}

/* 中のリンク部分：2カラム */
.hdr-accordion-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
  padding: 8px 16px 12px 16px;
}

.hdr-accordion-links a {
  font-size: 0.75rem;
  padding: 6px 0;
  border-bottom: 1px dotted #ccc;
  text-decoration: none;
  color: var(--color-primary);
  display: block;
  line-height: 1.4;
  text-align: left;
}

/* ===== ヘッダー用カテゴリ直リンク（＋無し） ===== */
.category-text {
  font-size: 0.8rem;
  font-weight: normal;
  text-align: center;
  padding: 14px 16px;
  background-color: var(--color-light);
  border-bottom: 1px solid #ddd;
}

.category-text a {
  display: block;
  color: var(--color-primary);
  text-decoration: none;
  padding: 6px 0;
}

.category-text a:hover {
  color: var(--color-black);
}

.category-border {
  border-bottom: 1px solid #ddd;  /* 下線を追加して区切る */
}
/* */

/*===== お詫びインフォメーション =====*/
.ap-text {
  color: var(--color-primary, #555555);
  text-align: center;
  text-decoration: underline;
  border-top: 1px dotted #ccc;
  border-bottom: 1px dotted #ccc;
  padding: 0.5em 0}
/*===== =====*/

/*===== 特報インフォメーション =====*/
.sp-text {
  color: var(--color-white)!important;
  text-align: center;
  text-decoration: underline;
  background: linear-gradient(90deg, #c86594, #e5adab);
  padding: 6px 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.sp-text a {
  color: white !important;
}

/*===== =====*/

/*===== モーダルウィンドウ =====*/
.modal-container {
  position: fixed;
  bottom: 12px; 
  right: 12px; 
  width: 32%;             
  max-width: 260px;       
  box-sizing: border-box; 
  background-color: rgba(255,255,255,0.9); 
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  padding: 3px;
  border-radius: 3px;
  opacity: 0;             
  visibility: hidden; 
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 999;
  backdrop-filter: blur(3px);
}

.modal-content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  font-size: 1.2rem;
  line-height: 1.25; 
  font-weight: bold;
  color: var(--color-white);
  opacity: 0.75; 
  z-index: 2; 
  text-align: center;
  pointer-events: none;
}

.close {
    position: absolute;
    top: -14px;   
    right: 10px; 
    font-size: 36px;
    color: #ffffff; 
    cursor: pointer;
    z-index: 100; 
    background: none; 
    border: none;
    font-weight: 300;
    display: flex;

    align-items: center;
    justify-content: center;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

.modal-container.show {
  opacity: 1;
  visibility: visible;
}

.modal-container.hide {
  opacity: 0;
  visibility: hidden;
}
/*===== =====*/


/* ===== 問い合わせボタン（円形モーダル風） =====
.inquiry-btn {
  position: fixed;
  bottom: 20px; 
  right: 20px; 
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.3);
  background-color: rgba(255,255,255,0.9); 
  box-shadow: 0 0 6px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.inquiry-btn:hover {
  transform: scale(1.05);
  background-color: rgba(255,255,255,1);
}

.inquiry-btn span {
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-primary);
  pointer-events: none;
} */


/*===== more info ボタン =====*/
.more-info {
  display: block; 
  width: fit-content; 
  margin: 32px auto; 
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-primary);
  text-decoration: none;
  padding: 7px 25px; 
  border-radius: 25px;
  background: linear-gradient(145deg, rgba(255,255,255,0.7), rgba(240,240,240,0.4));
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: inset 0 1px 3px rgba(255,255,255,0.3),
              0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.navy{
	background: var(--color-primary);
	color: var(--color-accent)!important;
}
.more-info:active {
  transform: scale(0.95);
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.4),
              0 1px 4px rgba(0,0,0,0.2);
}
/*===== =====*/

/*===== 特集バナー =====*/
.feature-banner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2;
  text-align: center;
  box-sizing: border-box;
  overflow: visible;
}
/*===== =====*/

/*===== 特集バナー：上段1カラム =====*/
.feature-banner .top-banner img {
  width: 100%;
  height: auto;
  border-radius: 0px;
  transition: transform 0.4s ease}

.feature-banner .top-banner img:hover {
  transform: scale(1.02)}
/*===== =====*/

/* ▼ ランキング見出し：タイトル左／Weekly Ranking右 */
.ranking-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: min(100%, 520px);
  margin: 0 auto 10px;
  padding: 0 8px;
  box-sizing: border-box;
}

/*===== 特集バナー：下段2カラム =====*/
.feature-banner .bottom-3banners.ranking-2col {
  display: flex;
  flex-wrap: wrap; 
  gap: 20px; 
  padding: 0; 
  list-style: none}

.feature-banner .bottom-3banners.ranking-2col li {
  flex: 1 1 calc(50% - 10px); 
  box-sizing: border-box; 
  min-width: calc(50% - 10px)}

.feature-banner .bottom-3banners.ranking-2col img {
  width: 100%;
  height: auto;
  border-radius: 0px;
  transition: transform 0.4s ease}

.feature-banner .bottom-3banners.ranking-2col img:hover {
  transform: scale(1.02)}
/*===== =====*/

/*===== 特集バナー：下段3カラム =====*/
.feature-banner .bottom-3banners {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap; 
  gap: 8px; 
  padding: 0; 
  list-style: none}

.feature-banner .bottom-3banners li {
  flex: 1 1 calc(33.333% - 8px); 
  box-sizing: border-box; 
  min-width: calc(33.333% - 8px)}

.feature-banner .bottom-3banners img {
  width: 100%;
  height: auto;
  padding: 0 5px;
  margin: 0;
  border-radius: 0px;
  transition: transform 0.4s ease}

.feature-banner .bottom-3banners img:hover {
  transform: scale(1.02)}

/*===== 特集バナー：下段4カラム =====*/
.feature-banner .bottom-4banners {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  max-width: 1080px;
  margin: 0 auto}

.feature-banner .bottom-4banners li {
  flex: 1 1 calc(25% - 9px); 
  box-sizing: border-box;
  min-width: calc(25% - 9px)}

.feature-banner .bottom-4banners img {
  width: 100%;
  height: auto;
  border-radius: 0px;
  transition: transform 0.4s ease}

.feature-banner .bottom-4banners img:hover {
  transform: scale(1.02)}

/*===== 特集バナー：下段5カラム =====*/
.feature-banner .bottom-5banners {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
  max-width: 1080px;
  margin: 0 auto}

.feature-banner .bottom-5banners li {
  flex: 1 1 calc(20% - 8px); 
  box-sizing: border-box;
  min-width: calc(20% - 8px)}

.feature-banner .bottom-5banners img {
  width: 100%;
  height: auto;
  border-radius: 0px;
  transition: transform 0.4s ease}

.feature-banner .bottom-5banners img:hover {
  transform: scale(1.02)}

.feature-banner .bottom-3banners li {
  position: relative}

/* ランキングの画像枠を先に確保してCLS防止 */
.feature-banner img {
  width: 100%;
  height: auto;
}

/* ===== ランキング上半分トリミング：完成形 ===== */

/* liは触らない（バッジ用） */
.bottom-3banners.trim50 li {
  position: relative;
}

/* a を「額縁」にする */
.bottom-3banners.trim50 li a {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;     /* ← まず高さを確定（CLS防止） */
  overflow: hidden;
  border-radius: 0px;
}

/* img は全面に広げて、上だけ見せる */
.bottom-3banners.trim50 li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;    /* ← 上半分トリミングの本体 */
  display: block;
  margin: 0;
  padding: 0;
}

/* ランクバッジを前面に */
.bottom-3banners.trim50 li .rank-badge {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 10;
}

/* =========================
   SERIES GRID
========================= */

.series-grid-wrap{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:10px;
  max-width:1080px;
  margin:40px auto;
  padding:0 14px;
}

/* =========================
   CARD
========================= */

.series-card{
  position:relative;
  overflow:hidden;
  display:block;
  background:#f5f5f5;
}

.series-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:
    transform .7s ease,
    filter .7s ease;
}

.series-card:hover img{
  transform:scale(1.03);
  filter:brightness(1.03);
}

/* =========================
   OVERLAY
========================= */

.series-overlay{
  position:absolute;
  inset:0;
  background:
  linear-gradient(
    to bottom,
    rgba(255,255,255,.04),
    rgba(0,0,0,.08)
  );
  z-index:1;
}

/* =========================
   LOGO
========================= */

.series-logo{
  position:absolute;
  right:16px;
  bottom:16px;
  z-index:2;
  max-width:45%;
  padding:8px 10px;
  background:rgba(255,255,255,.15);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
  border-radius:2px;
  box-shadow:
    0 2px 8px rgba(0,0,0,.08);
}

.series-logo img{
  width:100%;
  height:auto;
  object-fit:contain;
  display:block;
}

/* =========================
   PC LAYOUT
========================= */

.series-kirei{
  grid-column:1 / 7;
  aspect-ratio:1.45 / 1;
}

.series-specialite{
  grid-column:7 / 13;
  aspect-ratio:1.45 / 1;
}

.series-ray{
  grid-column:1 / 5;
  aspect-ratio:1 / 1.05;
}

.series-originals{
  grid-column:5 / 9;
  aspect-ratio:1 / 1.05;
}

.series-cardigan{
  grid-column:9 / 13;
  aspect-ratio:1 / 1.05;
}

/* =========================
   IMAGE POSITION
========================= */

.series-specialite img{
  object-position:center center;
}

.series-kirei img{
  object-position:center 70%;
}

/* =========================
   TABLET
========================= */

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

  .series-grid-wrap{
    gap:8px;
    padding:0 10px;
  }

  .series-logo{
    right:12px;
    bottom:12px;
    max-width:46%;
    padding:7px 8px;
  }
}

/* =========================
   SP
========================= */

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

  .series-grid-wrap{
    grid-template-columns:repeat(6,1fr);
    gap:4px;
    padding:0 6px;
    margin:20px auto;
  }

  /* ===== 1段目 ===== */

  .series-kirei{
    grid-column:1 / 4;
    aspect-ratio:1 / 1;
  }

  .series-specialite{
    grid-column:4 / 7;
    aspect-ratio:1 / 1;
  }

  /* ===== 2段目 ===== */

  .series-ray{
    grid-column:1 / 3;
    aspect-ratio:0.82 / 1;
  }

  .series-originals{
    grid-column:3 / 5;
    aspect-ratio:0.82 / 1;
  }

  .series-cardigan{
    grid-column:5 / 7;
    aspect-ratio:0.82 / 1;
  }

  /* ===== LOGO ===== */

  .series-logo{
    right:8px;
    bottom:8px;
    max-width:42%;
    padding:5px 6px;
    background:rgba(255,255,255,.30);
    backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
    border-radius:2px;
    box-shadow:
      0 2px 8px rgba(0,0,0,.08);
  }

  .series-card:hover img{
    transform:none;
  }
}

/* =========================
   SMALL SP
========================= */

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

  .series-grid-wrap{
    gap:3px;
    padding:0 4px;
  }

  .series-logo{
    right:6px;
    bottom:6px;
    padding:4px 5px;
  }
}

/*===== ブランドバナー =====*/
.brand-banner-scroll-wrap {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.brand-banner-scroll {
  display: flex;
  gap: 0.8rem; 
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; 
  -ms-overflow-style: none}

.brand-banner-scroll::-webkit-scrollbar {
  display: none}

.brand-banner-scroll li {
  flex: 0 0 auto;
  width: 25%; 
  height: 100%}

.brand-banner-scroll img {
  display: block;
  width: 80%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 2 / 1;
  margin-left: 10px}

.brand-banner-scroll-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 125px;
  height: 100%;
  background: linear-gradient(to left,  var(--color-light), transparent);
  pointer-events: none;
  z-index: 2}

.brand-banner-white-top {
  width: 100%;
  height: 10px;
  height: 10px;
  height: 10px;
  position: relative;
  z-index: 3}

.brand-banner-scroll.dragging {
  cursor: grabbing}
.brand-banner-scroll {
  cursor: grab}

@media (max-width: 767px) {
  .brand-banner-scroll li {
    flex: 0 0 25%; 
    min-width: 25%}

  .brand-banner-scroll {
    gap: 0.2rem; 
    padding: 0}
}

/*===== ランキング・バッジ =====*/
.rank-badge {
  position: absolute;
  top: 0.5px;
  left: 3.5px;
  width: 35px;
  height: 35px;
  font-size: 15px;
  font-weight: lighter;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  z-index: 1}

/* ランキングカラー */
.rank-badge.gold {
  background: #BFB378; /* ゴールド */
  color: #fff;
}

.rank-badge.silver {
  background: #C0C0C0; /* シルバー */
  color: #fff;
}

.rank-badge.bronze {
  background: #BF8773; /* ブロンズ */
  color: #fff;
}

/* 4位以降 */
.rank-badge {
  background: #888888; /* グレー */
  color: #fff;
}
/*===== =====*/

/*===== ランキングバッジ［レスポンシブ～767px］ =====*/
@media screen and (max-width: 767px) {
.rank-badge {
  position: absolute;
  top: 0px;
  left: 4.5px;
  width: 28px;
  height: 28px}
}

/*===== 特集バナー［レスポンシブ～480px］ =====*/
@media screen and (max-width: 480px) {
.feature-banner {
  padding: 0 10px}

.feature-banner .bottom-banners {
  flex-direction: row; 
  gap: 10px}

.feature-banner .bottom-banners li {
  flex: 1 1 calc(50% - 5px); 
  min-width: calc(50% - 5px)}
}
/*===== =====*/


/* ===== トレンドワード ===== */
.news-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background-color: var(--color-secondary);
  padding: 6px 10px;
  overflow:hidden;
}

.news-tag {
  order: 2;
  margin-left: auto;
  background-color: transparent;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.6;
  padding: 0;
  cursor: pointer;
  user-select: none;
}

.news-tag.active {
  opacity: 1;
  text-decoration: underline;
}

.news-tag:hover {
  opacity: 1;
  text-decoration: underline;
}

.news-box{
  flex:1;
  min-width:0;
}

.news-item{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  font-size:0.875rem;
}

.news-label{
  font-size:0.75rem;
  opacity:0.9;
  margin-right:4px;
  white-space:nowrap;
}

/* 検索ワード（囲い） */
.news-item a{
  display:inline-block;
  padding: 3px 8px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 999px;
  font-size: 0.75rem;
  text-decoration:none;
  color: var(--color-text);
  background: rgba(255,255,255,0.75);
  opacity:0.9;
}

.news-item a:hover,
.news-item a:focus{
  opacity:1;
  border-color: rgba(0,0,0,0.28);
}

/* More Word（右端） */
.news-tag{
  flex:0 0 auto;
  border:none;
  background: transparent;
  color: var(--color-text);
  font-size:0.75rem;
  font-weight:400;
  opacity:0.7;
  cursor:pointer;
  white-space:nowrap;
  padding:0;
}

.news-tag:hover{
  opacity:1;
  text-decoration:underline;
}

/* トレンドバー用ハッシュタグ一覧：余白と枠 */
.trend-hashtags{
  margin: 8px 10px 0;
  padding: 12px 12px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 10px;
}

/* ===== Trend Word：ハッシュタグ展開エリア ===== */
#trend-hashtags {
  display: none;              /* JSで開閉 */
  margin: 8px 10px 0;
  padding: 12px 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* 中のタグが横並び前提なら */
#trend-hashtags a {
  display: inline-block;
  margin: 6px 6px 0 0;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.05);
  text-decoration: none;
  color: var(--color-text);
}

#trend-hashtags a:hover {
  background: rgba(0,0,0,0.1);
}


/* ===== Trend Word : More Word 強制リセット ===== */
.news-bar .news-tag {
  all: unset;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-text); /* 濃色 */
  color: #fff;
  font-size: 0.75rem;
  opacity: 0.85;
  cursor: pointer;
}

.news-bar .news-tag:hover {
  opacity: 1;
}

.news-bar .news-tag:focus,
.news-bar .news-tag:active {
  outline: none;
  box-shadow: none;
}
/*===== トレンドワード End =====*/

/*===== Instagram自動更新
.insta_main {
  padding: 0 20px;
  margin: 40px auto;
  text-align: center;
  width: 100%;
  max-width: 800px;
  box-sizing: border-box}

.insta_list {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
  overflow: visible;
}

.insta_list li {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  flex: 1 1 calc(33.333% - 8px);
  box-sizing: border-box;
  min-width: calc(33.333% - 8px);
}

.insta_list li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0 5px;
  margin: 0;
  border-radius: 8px;
  transition: transform 0.4s ease;
  display: block;
}

.insta_list li img:hover {
  transform: scale(1.02);
} =====*/
/*===== =====*/


/* ================================
   サポート・ガイド
================================ */
.support-guide {
  padding: 40px 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
}

.support-item {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.3s ease;
}

.support-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.support-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-primary);
  margin-right: 16px;
}

.support-text h3 {
  font-size: 1.1rem;
  margin: 0 0 5px;
  font-weight: 600;
  color: #222;
}

.support-text p {
  font-size: 0.875rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* SP対応 */
@media (max-width: 768px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}
/*===== =====*/

/* ===============================
   PSI警告対策：transition: all をやめる
   色(color)はアニメさせない（合成されにくい）
================================ */
a,
a:link,
a:visited,
a:hover,
a:active{
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

/* もしリンクの色を変えるなら、色は即時変更（アニメ禁止） */
a:hover,
a:active,
a:focus{
  transition-property: opacity, transform, background-color, box-shadow, border-color !important;
}


/*===== フッター =====*/
footer {
  background-color: var(--color-primary);
  color: var(--color-white); 
  padding: 15px;
  text-align: center}

.footer-info h6 {
  font-size: 1.0rem;
  letter-spacing: 0.5em;
  margin: 30px 0 0 0}

.footer-logo {
  width: 150px;
  margin: 16px 0 8px}

.footer-info {
  margin-bottom: 18px}

.footer-info p {
  font-size: 0.8rem;
  margin-bottom: 1rem;
  margin: 30px 0 0 0}

.footer-info {
  margin-bottom: 18px}

.footer-info p {
  font-size: 0.8rem;
  margin-bottom: 1rem}

/*===== フッター ボタン+アイコン =====*/
.footer-bottom-wrap {
	width: 328px;
	max-width: 100%;
	margin: 15px auto}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px 0 10px;
  background-color: var(--color-primary)}

.icons-white {
  display: flex;
  gap: 20px}

.icons-white a {
  color: var(--color-white);
  font-size: 20px;
  transition: color 0.4s ease}

.icons-white a:hover {
  color: var(--color-primary)}
/*===== =====*/

/*===== PC/タブレット・マージン =====*/
.mb-10   { margin-bottom: 10px; }
.mb-20   { margin-bottom: 20px; }
.mb-30   { margin-bottom: 30px; }
.mb-40   { margin-bottom: 40px; }
.mb-50   { margin-bottom: 50px; }
.mb-75   { margin-bottom: 75px; }
.mb-100  { margin-bottom: 100px; }
.mb-125  { margin-bottom: 125px; }
.mb-150  { margin-bottom: 150px; }
.mb-200  { margin-bottom: 200px; }
/*===== =====*/

/*===== マイナス・マージン =====*/
.mb-n10   { margin-bottom: -10px; }
.mb-n20   { margin-bottom: -20px; }
.mb-n30   { margin-bottom: -30px; }
.mb-n40   { margin-bottom: -40px; }
.mb-n50   { margin-bottom: -50px; }
.mb-n75   { margin-bottom: -75px; }
.mb-n100  { margin-bottom: -100px; }
/*===== =====*/

/*===== レスポンシブ対応 =====*/
@media (max-width: 767px) {

/*===== スマホ マージン =====*/
.mb-10   { margin-bottom: 0.625rem; }
.mb-20   { margin-bottom: 1.25rem; }
.mb-30   { margin-bottom: 1.875rem; }
.mb-40   { margin-bottom: 2.5rem; }
.mb-50   { margin-bottom: 3.125rem; }
.mb-75   { margin-bottom: 4.6875rem; }
.mb-100  { margin-bottom: 6.25rem; }
.mb-125  { margin-bottom: 7.8125rem; }
.mb-150  { margin-bottom: 9.375rem; }
.mb-200  { margin-bottom: 12.5rem; }

/*===== スマホ マイナス・マージン =====*/
.mb-n10   { margin-bottom: -0.625rem; }
.mb-n20   { margin-bottom: -1.25rem; }
.mb-n30   { margin-bottom: -1.875rem; }
.mb-n40   { margin-bottom: -2.5rem; }
.mb-n50   { margin-bottom: -3.125rem; }
.mb-n75   { margin-bottom: -4.6875rem; }
.mb-n100  { margin-bottom: -6.25rem; }
}
/*===== =====*/

/* =========================================================
   TOP first-view ranking / promo：最終調整 v7
   - ShopServe側の見えないCSS干渉を避けるため、専用class配下だけで上書き
   - UIを「大きすぎる見出し＋巨大ボタン」から、1st view向けの軽い導線へ整理
========================================================= */
.ranking-top-block,
.ranking-promo-banners {
  width: min(100% - 32px, 800px) !important;
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.ranking-top-block {
  margin-top: 14px !important;
  margin-bottom: 0 !important;
}

.ranking-top-block .ranking-heading,
.ranking-promo-banners .ranking-promo-heading {
  width: 100% !important;
  max-width: none !important;
  min-height: 34px !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  margin: 0 0 -10px !important;
  padding: 0 !important;
}

.ranking-top-block .ranking-heading {
  justify-content: space-between !important;
  gap: 12px !important;
}

.ranking-top-block .ranking-heading h3,
.ranking-promo-banners .ranking-promo-heading h3 {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.15 !important;
  font-weight: 400 !important;
  letter-spacing: 0.015em !important;
  white-space: nowrap !important;
}

/* more-infoの既存margin/サイズが暴れないよう、ここだけ完全に小さめの導線へ */
.ranking-top-block .ranking-heading .ranking-heading-btn {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 6px 15px !important;
  border-radius: 999px !important;
  font-size: 0.82rem !important;
  line-height: 1.1 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18) !important;
}

.ranking-top-block .ranking-main-banner,
.ranking-promo-banners {
  text-align: left !important;
}

.ranking-top-block .ranking-main-banner,
.ranking-top-block .bottom-3banners.ranking-products,
.ranking-promo-banners .bottom-3banners.ranking-2col {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ranking-top-block .bottom-3banners.ranking-products,
.ranking-promo-banners .bottom-3banners.ranking-2col {
  display: flex !important;
  flex-wrap: nowrap !important;
  list-style: none !important;
  box-sizing: border-box !important;
}

.ranking-top-block .bottom-3banners.ranking-products {
  gap: 12px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.ranking-top-block .bottom-3banners.ranking-products li {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.ranking-top-block .bottom-3banners.ranking-products a,
.ranking-promo-banners .bottom-3banners.ranking-2col a {
  display: block !important;
  width: 100% !important;
}

.ranking-top-block .bottom-3banners.ranking-products img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: top center !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  opacity: 1 !important;
}

/* ランク数字も主張を少し抑える */
.ranking-top-block .rank-badge {
  top: 0 !important;
  left: 0 !important;
  width: 30px !important;
  height: 30px !important;
  font-size: 0.92rem !important;
  font-weight: 300 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18) !important;
}

.ranking-promo-banners {
  margin-top: 18px !important;
  margin-bottom: 14px !important;
}

.ranking-promo-banners .ranking-promo-heading {
  margin-bottom: 8px !important;
}

.ranking-promo-banners .bottom-3banners.ranking-2col {
  gap: 12px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.ranking-promo-banners .bottom-3banners.ranking-2col li {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.ranking-promo-banners .bottom-3banners.ranking-2col img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 5 / 1 !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* カテゴリ導線との距離を少しだけ確保して、塊の終わりを分かりやすく */
.ranking-promo-banners + .category-links-wrap {
  margin-top: 12px !important;
}

@media screen and (max-width: 767px) {
  .ranking-top-block,
  .ranking-promo-banners {
    width: calc(100% - 32px) !important;
  }

  .ranking-top-block {
    margin-top: 12px !important;
  }

  .ranking-top-block .ranking-heading,
  .ranking-promo-banners .ranking-promo-heading {
    min-height: 28px !important;
    margin-bottom: 6px !important;
  }

  .ranking-top-block .ranking-heading {
    gap: 8px !important;
  }

  .ranking-top-block .ranking-heading h3,
  .ranking-promo-banners .ranking-promo-heading h3 {
    font-size: 0.9rem !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
  }

  .ranking-top-block .ranking-heading .ranking-heading-btn {
    padding: 5px 10px !important;
    font-size: 0.7rem !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.16) !important;
  }

  .ranking-top-block .bottom-3banners.ranking-products {
    gap: 7px !important;
  }

  .ranking-top-block .rank-badge {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.78rem !important;
  }

  .ranking-promo-banners {
    margin-top: 14px !important;
    margin-bottom: 10px !important;
  }

  .ranking-promo-banners .bottom-3banners.ranking-2col {
    gap: 7px !important;
  }

  .ranking-promo-banners + .category-links-wrap {
    margin-top: 8px !important;
  }
}

@media screen and (max-width: 374px) {
  .ranking-top-block,
  .ranking-promo-banners {
    width: calc(100% - 24px) !important;
  }

  .ranking-top-block .ranking-heading h3,
  .ranking-promo-banners .ranking-promo-heading h3 {
    font-size: 0.9rem !important;
  }

  .ranking-top-block .ranking-heading .ranking-heading-btn {
    padding: 5px 8px !important;
    font-size: 0.66rem !important;
  }
}

/* =========================================================
   250602 TOP ranking mobile fine tune v8
   スマホ時だけ、Today's Best見出し下の余白を圧縮
   ========================================================= */
@media screen and (max-width: 767px) {
  .ranking-top-block .ranking-heading {
    margin-bottom: 8px !important;
  }

  .ranking-top-block .ranking-main-banner {
    margin-top: -22px !important;
  }

  .ranking-top-block .bottom-3banners.ranking-products {
    margin-top: 0 !important;
  }

  .ranking-promo-banners {
    margin-top: 10px !important;
  }
}

@media screen and (max-width: 374px) {
  .ranking-top-block .ranking-main-banner {
    margin-top: -24px !important;
  }
}

/* =========================================================
   250602 TOP first-view side alignment v9
   CSS only: Trend / Ranking / Coming Soon / Category / Series
   の左右基準線をスマホ中心にそろえる
   ========================================================= */
:root {
  --regina-top-gutter: 16px;
  --regina-top-max: 800px;
}

/* メインのランキングと2カラムバナーは同じ幅基準に固定 */
.ranking-top-block,
.ranking-promo-banners {
  width: min(calc(100% - (var(--regina-top-gutter) * 2)), var(--regina-top-max)) !important;
  max-width: var(--regina-top-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Trendバーは背景を残したまま、中身の左右だけ同じ基準線へ */
.news-bar {
  padding-left: var(--regina-top-gutter) !important;
  padding-right: var(--regina-top-gutter) !important;
  box-sizing: border-box !important;
}

/* 展開されたハッシュタグも同じ基準線へ */
#trend-hashtags.trend-hashtags {
  width: min(calc(100% - (var(--regina-top-gutter) * 2)), var(--regina-top-max)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* カテゴリ横スクロールもランキング・バナーと左端を合わせる */
.ranking-promo-banners + .category-links-wrap {
  width: min(calc(100% - (var(--regina-top-gutter) * 2)), var(--regina-top-max)) !important;
  max-width: var(--regina-top-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

/* 直後のシリーズ導線も同じ横基準へ寄せる */
.ranking-promo-banners + .category-links-wrap + .mb-10 + .series-grid-wrap,
.category-links-wrap + .mb-10 + .series-grid-wrap {
  width: min(calc(100% - (var(--regina-top-gutter) * 2)), var(--regina-top-max)) !important;
  max-width: var(--regina-top-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

@media screen and (max-width: 767px) {
  :root {
    --regina-top-gutter: 16px;
  }

  .news-bar {
    padding-left: var(--regina-top-gutter) !important;
    padding-right: var(--regina-top-gutter) !important;
  }

  .ranking-top-block,
  .ranking-promo-banners,
  .ranking-promo-banners + .category-links-wrap,
  #trend-hashtags.trend-hashtags {
    width: calc(100% - (var(--regina-top-gutter) * 2)) !important;
  }
}

@media screen and (max-width: 374px) {
  :root {
    --regina-top-gutter: 12px;
  }
}

/* =========================================================
   250602 TOP pill sizing v10
   CSS only: #More▼ と Weekly Ranking の高さ・文字サイズを統一
   ========================================================= */
:root {
  --regina-top-pill-height: 34px;
  --regina-top-pill-x: 16px;
  --regina-top-pill-font: 0.82rem;
}

.news-bar .news-tag,
.ranking-top-block .ranking-heading .ranking-heading-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  height: var(--regina-top-pill-height) !important;
  min-height: var(--regina-top-pill-height) !important;
  padding: 0 var(--regina-top-pill-x) !important;
  border-radius: 999px !important;
  font-size: var(--regina-top-pill-font) !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

/* Trendバー内で #More▼ だけが縦にズレないように固定 */
.news-bar .news-tag {
  flex: 0 0 auto !important;
  margin-left: auto !important;
}

@media screen and (max-width: 767px) {
  :root {
    --regina-top-pill-height: 28px;
    --regina-top-pill-x: 12px;
    --regina-top-pill-font: 0.76rem;
  }

  .news-bar .news-tag,
  .ranking-top-block .ranking-heading .ranking-heading-btn {
    height: var(--regina-top-pill-height) !important;
    min-height: var(--regina-top-pill-height) !important;
    padding: 0 var(--regina-top-pill-x) !important;
    font-size: var(--regina-top-pill-font) !important;
    line-height: 1 !important;
  }
}

@media screen and (max-width: 374px) {
  :root {
    --regina-top-pill-height: 26px;
    --regina-top-pill-x: 10px;
    --regina-top-pill-font: 0.72rem;
  }
}

/* =========================================================
   CATEGORY LINKS FIX
   右端グラデをカテゴリ横スクロールだけに固定
   矢印なし / 商品画像へのはみ出し防止 / シリーズ側グラデ無効
========================================================= */

/* PC：カテゴリは中央寄せ。グラデ・矢印なし */
@media screen and (min-width: 768px) {
  .category-links-wrap {
    position: relative !important;
    overflow: hidden !important;
  }

  .category-links {
    overflow: visible !important;
  }

  .category-links ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    row-gap: 0.4rem !important;
  }

  .category-links-wrap::before,
  .category-links-wrap::after {
    content: none !important;
    display: none !important;
  }
}


/* スマホ：カテゴリ横スクロール右端だけ白グラデ */
@media screen and (max-width: 767px) {
  .category-links-wrap {
    position: relative !important;
    overflow: hidden !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 5px auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .category-links {
    position: relative !important;
    height: 44px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .category-links::-webkit-scrollbar {
    display: none !important;
  }

  .category-links ul {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 0.55rem !important;
    height: 44px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 48px 0 0 !important;
    box-sizing: border-box !important;
  }

  .category-links li {
    flex: 0 0 auto !important;
    position: relative !important;
    padding-right: 1.2rem !important;
    white-space: nowrap !important;
  }

  .category-links li::after {
    content: "│" !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translate(30%, -50%) !important;
    color: #ccc !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    pointer-events: none !important;
  }

  .category-links li:last-child::after {
    content: "" !important;
    display: none !important;
  }

  .category-links a {
    display: block !important;
    padding: 8px 4px !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
  }

  /* 矢印は完全に消す */
  .category-links-wrap::before {
    content: none !important;
    display: none !important;
  }

  /* カテゴリ行の右端だけに白グラデ */
  .category-links-wrap::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 42px !important;
    height: 44px !important;
    background: linear-gradient(
      to left,
      var(--color-light) 0%,
      rgba(245, 245, 245, 0) 100%
    ) !important;
    pointer-events: none !important;
    z-index: 20 !important;
    display: block !important;
  }
}
