/* ============================================================
   MATSUMOTO BASE Theme — Editorial Minimal v3
   税理士法人松本 オンラインストア
   ============================================================ */

/* ---------- Design Tokens v3 — Monotone ---------- */
:root {
  --c-accent: #3D3630;
  --c-black: #1A1613;
  --c-dark: #3D3630;
  --c-mid: #8C857D;
  --c-light: #B8B2AA;
  --c-mute: #E6E2DD;
  --c-faint: #F4F2EF;
  --c-white: #FFFFFF;
  --c-red: #D63B0E;
  --c-gold: #8C857D;
  --c-teal: #8C857D;
  --ff: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --tr: 0.25s ease;
}

/* ---------- Reset ---------- */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6,
object, iframe, pre, code, p, blockquote, form, fieldset, legend,
table, th, td, caption, tbody, tfoot, thead,
article, aside, figure, footer, header, hgroup, menu, nav, section,
audio, video, canvas {
  margin: 0;
  padding: 0;
}
article, aside, figure, figcaption, footer, h1, h2, h3, h4, h5, h6,
header, hgroup, menu, nav, section {
  display: block;
}
html, body { height: 100%; width: 100%; }
a {
  color: var(--m-text);
  -webkit-font-smoothing: antialiased;
  transition: color var(--m-duration) var(--m-ease);
  text-decoration: none;
}
a:hover, a:active { color: var(--m-primary); }
h1, h2, h3, h4, h5, h6 { font-size: 100%; }
li { list-style: none; }
fieldset { border: none; }
input, textarea, select, label {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}
textarea { overflow: auto; }
legend { display: none; }
img { border: none; vertical-align: top; }
object { outline: none; vertical-align: middle; }
em, strong { font-style: normal; font-weight: bold; }
small { font-size: 100%; }
abbr, acronym { border: none; font-variant: normal; }
.boxRight { float: right !important; }
.clearfix { zoom: 1; }
.clearfix:after { clear: both; content: ""; display: block; }
.show { display: block !important; }
.hide { display: none !important; }

/* ---------- Base ---------- */
body {
  background: var(--m-gradient-warm);
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--m-text);
  -webkit-text-size-adjust: none;
}

body.shop {
  font-size: 14px;
  line-height: 1.7;
  word-break: break-all;
}

body.shop .wrapper {
  margin: 0 auto 60px;
  padding: 0 16px;
}
@media(min-width: 769px) {
  body.shop .wrapper { width: 1000px; }
}

/* ---------- Overlay ---------- */
.overlayBackground {
  background-color: rgba(35, 29, 21, 0.5);
  backdrop-filter: blur(4px);
  cursor: pointer;
  display: none;
  height: 100%;
  left: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
}

/* ---------- i18n ---------- */
#i18 {
  z-index: 2005;
  left: 10px;
  position: fixed;
  top: calc(var(--information-banner-height, 0px) + 10px);
}
#i18 .lang { float: left; margin: 0 5px 0 0; position: relative; }
#i18 .lang:before,
#i18 .currency:before {
  background: url("{BASEURL}/img/shop/arrow.gif") no-repeat;
  background-size: 10px 7px;
  content: "";
  height: 7px;
  position: absolute;
  right: 13px;
  top: 12px;
  width: 10px;
}
#i18 .currency { float: left; position: relative; }
#i18 select {
  appearance: none;
  background-color: #fff;
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius-sm);
  color: var(--m-text);
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  line-height: 18px;
  min-width: inherit;
  padding: 5px 25px 5px 10px;
  vertical-align: middle;
}

/* ---------- Legal Pages ---------- */
#privacy, #law {
  background-color: #fff;
  box-sizing: border-box;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 1.8;
  margin: 0 auto;
  padding: 40px;
  text-align: left;
  width: 960px;
  border-radius: var(--m-radius-lg);
  box-shadow: var(--m-shadow-sm);
}
#privacy h2, #law h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 0;
  padding: 0 0 16px;
  color: var(--m-text);
  border-bottom: 2px solid var(--m-primary-pale);
}
#privacy h3, #privacy dt { font-weight: 700; margin: 15px 0 8px; }
#privacy .privacy_intro { margin: 0 0 20px; }
#law h3 { font-weight: 700; margin: 20px 0 5px; }
#law .law_attention {
  padding: 16px;
  margin-top: 12px;
  line-height: 1.6;
  background-color: var(--m-bg-light);
  border-radius: var(--m-radius-sm);
}
@media(min-width: 769px) {
  #law .law_attention { padding: 20px; margin-top: 16px; }
}
#law .atobaraiTerm { margin: 20px 0; }
#law .atobaraiTerm .atobaraiTerm__title { margin-bottom: 8px; }
#law .atobaraiTerm .atobaraiTerm__body { padding-left: 20px; }
#law .atobaraiTerm p { font-size: 100%; line-height: 1.5; margin: 0 0 10px; }

/* ---------- Colorbox ---------- */
.itemCb #cboxPrevious {
  background: url("{BASEURL}/i/controls.png") no-repeat 0 0;
  bottom: 0; height: 20px; left: 0;
  overflow: visible; text-indent: -9999px; width: 20px;
}
.itemCb #cboxNext {
  background: url("{BASEURL}/i/controls.png") no-repeat -22px 0;
  bottom: 0; height: 20px; left: 30px !important;
  overflow: visible; text-indent: -9999px; width: 20px;
}
.itemCb #cboxClose {
  background: url("{BASEURL}/i/controls.png") no-repeat -52px 0;
  height: 20px; overflow: visible; text-indent: -9999px; width: 20px;
}
.itemCb #cboxContent button { border: none; }
.itemCb:focus { outline: none; }
a.cboxElement:focus { outline: none; }

/* ---------- BASE Menu ---------- */
#baseMenu {
  box-sizing: border-box;
  position: fixed;
  right: 25px;
  top: calc(var(--information-banner-height, 0px) + 5px);
  z-index: 2002;
}
#baseMenu > ul > li { float: left; list-style: none; }
#baseMenu > ul > li.base { margin: 0 10px 0 0; }
#baseMenu > ul > li a {
  background-color: #fff;
  border-radius: var(--m-radius-sm);
  box-shadow: var(--m-shadow-sm);
  cursor: pointer;
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 1px 0 0;
  padding: 5px 15px;
  text-decoration: none;
  transition: all var(--m-duration) var(--m-ease);
}
#baseMenu > ul > li a:hover {
  box-shadow: var(--m-shadow-md);
  transform: translateY(-1px);
}

/* ---------- Cart Badge ---------- */
.cart { position: relative; }
.cart-badge { display: block !important; }
.cart-qty {
  position: absolute;
  top: 2px;
  right: 3px;
  padding: 0 4px;
  min-width: 16px;
  background: var(--m-gradient-primary);
  border-radius: var(--m-radius-full);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(241, 133, 0, 0.3);
}

/* ---------- Icon Fonts ---------- */
@font-face {
  font-family: "baseicon";
  font-style: normal; font-weight: normal;
  src: url("https://static.thebase.in/font/v1/baseicon.eot?317xhh");
  src: url("https://static.thebase.in/font/v1/baseicon.eot?317xhh#iefix") format("embedded-opentype"),
       url("https://static.thebase.in/font/v1/baseicon.ttf?317xhh") format("truetype"),
       url("https://static.thebase.in/font/v1/baseicon.woff?317xhh") format("woff"),
       url("https://static.thebase.in/font/v1/baseicon.svg?317xhh#baseicon") format("svg");
}
@font-face {
  font-family: "shopicon";
  font-style: normal; font-weight: normal;
  src: url("https://static.thebase.in/font/v1/shopicon.eot?317xhh");
  src: url("https://static.thebase.in/font/v1/shopicon.eot?317xhh#iefix") format("embedded-opentype"),
       url("https://static.thebase.in/font/v1/shopicon.ttf?317xhh") format("truetype"),
       url("https://static.thebase.in/font/v1/shopicon.woff?317xhh") format("woff"),
       url("https://static.thebase.in/font/v1/shopicon.svg?317xhh#baseicon") format("svg");
}
[class^="icon-"], [class*=" icon-"] {
  font-family: "baseicon" !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-style: normal; font-variant: normal;
  font-weight: normal; line-height: 1;
  speak: none; text-transform: none;
}
.icon-cart:before { content: "\e900"; }
.icon-search:before { content: "\e912"; }
.icon-information:before { content: "\e919"; }
.icon-tipi:before { content: "\e922"; }
.icon-pin:before { content: "\e929"; }

/* ---------- Fixed Header ---------- */
#fixedHeader ul li { float: left; }
#fixedHeader li.topRightNavLi a {
  background-color: #fff;
  border-radius: var(--m-radius-sm);
  box-shadow: var(--m-shadow-sm);
  display: block;
  -webkit-font-smoothing: antialiased;
  margin: 1px 0 0;
  padding: 5px 15px;
  transition: all var(--m-duration) var(--m-ease);
}
#fixedHeader li.topRightNavLi a:hover {
  box-shadow: var(--m-shadow-md);
  transform: translateY(-1px);
}
#fixedHeader li.topRightNavLi.base { margin: 0 10px 0 0; }
#reportBtn a.cboxElement button { cursor: pointer; }

/* ============================================================
   HEADER — Pop & Refined
   ============================================================ */
body.shop #mainHeader {
  margin: 0 auto 0;
}

body.shop #fixedHeader {
  padding: 5px 10px;
  position: fixed;
  right: 0;
  top: 0;
}

body.shop #shopHeader h1 {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  margin: 32px 0 20px;
}
body.shop #shopHeader h1 a {
  display: inline-block;
  transition: opacity var(--m-duration) var(--m-ease);
}
body.shop #shopHeader h1 a:hover { opacity: 0.8; }
body.shop #shopHeader h1 img {
  max-width: 960px;
  width: 100%;
  vertical-align: top;
}

/* --- Nav Bar --- */
body.shop #shopHeader nav {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--m-bg);
  border-top: 1px solid var(--m-border-light);
  border-bottom: none;
  margin: 0;
  position: relative;
}
body.shop #shopHeader nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--m-gradient-primary);
  border-radius: 3px 3px 0 0;
}

body.shop #shopHeader nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
}
body.shop #shopHeader nav ul li {
  display: block;
  width: max(33%, min(33%));
  height: 44px;
  line-height: 22px;
  text-align: center;
  position: relative;
}
body.shop #shopHeader nav ul li a {
  display: block;
  padding: 11px 10px;
  color: var(--m-text-sub);
  transition: all var(--m-duration) var(--m-ease);
}
body.shop #shopHeader nav ul li:hover a,
body.shop #shopHeader nav ul li a:hover {
  color: var(--m-primary);
}
body.shop #shopHeader nav ul li::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 3px;
  background: var(--m-gradient-primary);
  border-radius: 3px;
  transition: transform var(--m-duration) var(--m-ease);
  z-index: 1;
}
body.shop #shopHeader nav ul li:hover::before {
  transform: translateX(-50%) scaleX(1);
}
body.shop #shopHeader nav ul li:hover {
  border-bottom: none;
  height: 44px;
}

/* Search in Nav */
body.shop #shopHeader nav ul li.itemSearch {
  width: 100%;
  padding: 0 16px;
}
body.shop #shopHeader nav ul li.itemSearch form {
  box-sizing: border-box;
  border: none;
  display: inline-block;
  padding: 0 30px 0 0;
  position: relative;
  width: 100%;
  height: 44px;
}
body.shop #shopHeader nav ul li.itemSearch form input {
  width: 100%;
  background-color: transparent;
  box-sizing: border-box;
  box-shadow: none;
  border: none;
  display: inline-block;
  margin: auto;
  padding: 0 0 0 8px;
  position: absolute;
  top: 0; left: 0; bottom: 0;
  height: 20px;
  font-size: 12px;
}
body.shop #shopHeader nav ul li.itemSearch form .itemSearch__btn {
  background-color: transparent;
  border-style: none;
  display: block;
  font-size: 15px;
  position: absolute;
  top: 0; right: 5px; bottom: 0;
  width: auto;
  cursor: pointer;
  color: var(--m-text-sub);
  transition: color var(--m-duration) var(--m-ease);
}
body.shop #shopHeader nav ul li.itemSearch form .itemSearch__btn:hover {
  color: var(--m-primary);
}

@media(min-width: 769px) {
  body.shop #shopHeader nav ul li.itemSearch form { width: 80px; }
}
@media(min-width: 481px) {
  body.shop #shopHeader nav ul {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 4px;
  }
  body.shop #shopHeader nav ul li {
    flex: 0 1 auto;
    width: auto;
  }
}

/* ---------- Search Result Title ---------- */
.titleForSearchResult {
  font-size: 14px;
  font-weight: 500;
  margin: -10px auto 0;
  padding: 0 0 30px;
  text-align: center;
  width: 100%;
  color: var(--m-text-sub);
}
@media(min-width: 769px) {
  .titleForSearchResult { width: 1000px; }
}

/* ============================================================
   FOOTER — Pop & Refined
   ============================================================ */
body.shop #mainFooter {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  margin: 80px auto 60px;
  padding: 32px 0 0;
  position: relative;
}
body.shop #mainFooter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--m-gradient-primary);
  border-radius: var(--m-radius-full);
}

body.shop #mainFooter .footerMenu ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
body.shop #mainFooter .footerMenu ul li {
  width: 100%;
  margin-bottom: 8px;
  color: var(--m-text-sub);
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  vertical-align: middle;
}
body.shop #mainFooter .footerMenu ul li a {
  color: var(--m-text-sub);
  transition: color var(--m-duration) var(--m-ease);
  padding: 4px 8px;
  border-radius: var(--m-radius-sm);
}
body.shop #mainFooter .footerMenu ul li a:hover {
  color: var(--m-primary);
  background-color: var(--m-primary-pale);
}
body.shop #mainFooter .footerMenu li.boxRight > div {
  display: flex;
  justify-content: center;
}
body.shop #mainFooter .footerMenu .twitter { margin: 0 0 0 8px; }

@media(min-width: 769px) {
  body.shop #mainFooter .footerMenu ul {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 16px;
  }
  body.shop #mainFooter .footerMenu ul li {
    width: auto;
    margin-right: 0;
  }
  body.shop #mainFooter .footerMenu li.boxRight { flex: 1; }
  body.shop #mainFooter .footerMenu li.boxRight > div { justify-content: flex-end; }
}

body.shop #mainFooter .footerMenu li .fb-like { margin-top: -5px; }

/* ---------- Pinned Blog ---------- */
.pinnedBlog { padding: 0 0 28px; }
.pinnedBlog .pinnedBlog_title {
  font-size: 13px;
  text-align: center;
  background: var(--m-primary-pale);
  padding: 10px 20px;
  border-radius: var(--m-radius-full);
  display: inline-block;
  margin: 0 auto;
}
.pinnedBlog .pinnedBlog_title::before {
  content: "\e919";
  font-family: "shopicon";
  padding: 0 6px 0 0;
  color: var(--m-primary);
}
.pinnedBlog .pinnedBlog_title a {
  color: var(--m-primary);
  display: inline;
  font-weight: 600;
}
.pinnedBlog .pinnedBlog_title a:hover { color: var(--m-red); }
.publish_date.blog_pinned::before {
  content: "\e929";
  font-family: "shopicon";
  padding: 0 2px 0 0;
}

/* ============================================================
   ITEM LIST (Top Page) — Pop Card Design
   ============================================================ */
body#shopTopPage .itemList {
  margin: 0 auto;
  overflow: visible;
  width: calc(100% - 32px);
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

body#shopTopPage .item {
  box-sizing: border-box;
  text-align: center;
  width: calc(50% - 8px);
  background: var(--m-bg);
  border: 1px solid var(--m-border-light);
  border-radius: var(--m-radius-md);
  overflow: hidden;
  transition: all var(--m-duration) var(--m-ease);
  box-shadow: var(--m-shadow-card);
  position: relative;
}
body#shopTopPage .item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--m-gradient-primary);
  opacity: 0;
  transition: opacity var(--m-duration) var(--m-ease);
  z-index: 1;
}
body#shopTopPage .item:hover {
  box-shadow: var(--m-shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
body#shopTopPage .item:hover::before { opacity: 1; }

@media(min-width: 481px) and (max-width: 768px) {
  body#shopTopPage .item { width: calc(33.333% - 11px); }
}
@media(min-width: 769px) {
  body#shopTopPage .itemList {
    width: 1000px;
    gap: 24px;
  }
  body#shopTopPage .item {
    width: calc(25% - 18px);
    padding: 0;
    margin: 0;
  }
  body#shopTopPage .item a .itemTitle h2 { width: auto; }
  body#shopTopPage .item .itemImg {
    height: auto;
    line-height: normal;
    width: 100%;
  }
  body#shopTopPage .item .itemImg img {
    max-height: none;
    max-width: 100%;
  }
}

body#shopTopPage .item .itemTitle {
  margin: 0;
  padding: 12px 12px 4px;
  text-align: left;
}
body#shopTopPage .item a { color: var(--m-text); }
body#shopTopPage .item:hover a { color: var(--m-primary); }

body#shopTopPage .item a .itemTitle h2 {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
}

body#shopTopPage .item .itemImg {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  overflow: hidden;
  padding: 0;
  vertical-align: middle;
  background: var(--m-bg-light);
}
body#shopTopPage .item:hover .itemImg {
  border: none;
  padding: 0;
}
body#shopTopPage .item .itemImg a {
  display: block;
  position: relative;
  overflow: hidden;
}
body#shopTopPage .item .itemImg a::before {
  content: '';
  display: block;
  padding-top: 100%;
}
body#shopTopPage .item .itemImg img.image-resize {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--m-ease);
}
body#shopTopPage .item:hover .itemImg img.image-resize {
  transform: scale(1.05);
}

body#shopTopPage .item .itemImg a .soldout_cover {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}
body#shopTopPage .item .itemImg a .soldout_cover p {
  color: var(--m-red);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.15em;
  padding: 8px 20px;
  border: 2px solid var(--m-red);
  border-radius: var(--m-radius-sm);
}

/* Price */
body#shopTopPage .item .itemDetail {
  padding: 0 12px 14px;
  text-align: left;
}
body#shopTopPage .item .itemDetail .itemPrice {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--m-primary);
  letter-spacing: 0.02em;
  text-align: left;
}
body#shopTopPage .item .itemDetail .discountPrice {
  color: var(--m-red);
  margin: 0;
}
body#shopTopPage .item .itemDetail .discountPrice__ratio {
  background: var(--m-red);
  color: #fff;
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  margin-right: 6px;
  padding: 0 6px;
  border-radius: var(--m-radius-sm);
}
body#shopTopPage .item .itemDetail .discountPrice__calcPrice {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.8;
  white-space: nowrap;
}

/* Status Badges */
body#shopTopPage .item .comingSoon {
  color: var(--m-teal);
  font-size: 12px;
  font-weight: 600;
  margin: 8px 12px;
  padding: 4px 10px;
  background: rgba(17, 190, 174, 0.08);
  border-radius: var(--m-radius-full);
  display: inline-block;
}
body#shopTopPage .item .preOrder,
body#shopTopPage .item .lottery,
body#shopTopPage .item .takeout,
body#shopTopPage .item .community {
  border: 1.5px solid var(--m-gold);
  border-radius: var(--m-radius-full);
  color: var(--m-gold);
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  margin: 6px 12px 12px;
  letter-spacing: 0.04em;
}
body#shopTopPage .item .community {
  background: var(--m-gradient-gold);
  border: none;
  color: #fff;
}

/* ============================================================
   ITEM DETAIL PAGE — Pop & Refined
   ============================================================ */
body#shopDetailPage #mainContent {
  background-color: var(--m-bg);
  margin-bottom: 50px;
  border-radius: var(--m-radius-lg);
  box-shadow: var(--m-shadow-md);
}

body#shopDetailPage .itemImg {
  display: flex;
  height: calc(100vw - 80px);
}
body#shopDetailPage .itemImgSlide { flex: 1; }

body#shopDetailPage #slideImg .imgBox {
  border-radius: var(--m-radius-md);
  text-align: center;
  overflow: hidden;
}
body#shopDetailPage #slideImg .imgBox img {
  width: 100%;
  vertical-align: middle;
}
body#shopDetailPage #slideImg .imgBox img.label_image { width: auto; }

body#shopDetailPage #slideImgPager {
  float: left;
  overflow: hidden;
  padding: 0 0 0 10px;
  width: 64px;
}
body#shopDetailPage #slideImgPager li + li { margin-top: 10px; }
body#shopDetailPage #slideImgPager .smallImgBox {
  height: 64px;
  line-height: 64px;
  text-align: center;
  width: 64px;
  border-radius: var(--m-radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--m-duration) var(--m-ease);
  cursor: pointer;
}
body#shopDetailPage #slideImgPager .smallImgBox:hover {
  border-color: var(--m-primary);
}
body#shopDetailPage #slideImgPager .smallImgBox img {
  max-height: 64px;
  max-width: 64px;
  vertical-align: middle;
}
body#shopDetailPage #slideImgPager .mCSB_inside > .mCSB_container { margin: 0; }

body#shopDetailPage #mainContent .purchase {
  border-bottom: 1px solid var(--m-border);
  border-top: 1px solid var(--m-border);
  box-sizing: border-box;
  padding: 24px 0;
}

body#shopDetailPage header h1.itemTitle {
  color: var(--m-text);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.5;
}

body#shopDetailPage #purchase_form {
  color: var(--m-text);
  margin-bottom: 35px;
}
body#shopDetailPage #purchase_form select { cursor: pointer; }
body#shopDetailPage #purchase_form #purchaseSelect { margin: 0; }
body#shopDetailPage #purchase_form .purchaseElement {
  margin: 5px 0 15px;
  overflow: hidden;
}
body#shopDetailPage #purchase_form input,
body#shopDetailPage #purchase_form select {
  width: 100%;
  display: block;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  transition: border-color var(--m-duration) var(--m-ease);
}
body#shopDetailPage #purchase_form input:focus,
body#shopDetailPage #purchase_form select:focus {
  border-color: var(--m-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(241, 133, 0, 0.12);
}
body#shopDetailPage #purchase_form #itemSelect input::placeholder {
  font-size: 14px;
  color: #CCCCCC;
}
body#shopDetailPage #purchase_form label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--m-text);
  margin: 16px 0 8px 0;
  line-height: 1em;
  display: block;
}
body#shopDetailPage #purchase_form .itemOptionElement,
#variationSelectWrap { max-width: 100%; }
body#shopDetailPage #purchase_form .itemOption__caption {
  font-size: 12px;
  margin: 8px 0;
  line-height: 1.5em;
  display: block;
  color: var(--m-text-sub);
}
body#shopDetailPage #purchase_form .itemOption__bottomCaptionBlock { overflow: hidden; }
body#shopDetailPage #purchase_form .itemOption__caption--error {
  float: left;
  font-size: 12px;
  line-height: 1em;
  display: block;
  color: var(--m-red);
}
body#shopDetailPage #purchase_form .itemOption__count {
  float: right;
  font-size: 12px;
  line-height: 1em;
  display: block;
  color: var(--m-text-light);
}
body#shopDetailPage #purchase_form .itemOption__count--error { color: var(--m-red); }
body#shopDetailPage #purchase_form #itemSelect .itemOption__input[data-dirty="true"][data-has-error="true"] {
  border: var(--m-red) 1px solid;
}

body#shopDetailPage #purchase_form #itemSelect select.itemOption__select,
body#shopDetailPage #purchase_form #itemSelect #valiationSelect,
body#shopDetailPage #purchase_form #itemSelect #amountSelect {
  height: auto;
  white-space: normal;
  max-width: 100%;
  min-height: 2.1em;
  appearance: none;
  padding-right: 1em;
  line-height: initial;
  background-repeat: no-repeat;
  background-position: right 0.35em center;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2210%22%20height%3D%226%22%20viewBox%3D%220%200%2010%206%22%3E%0A%20%20%3Cdefs%3E%0A%20%20%20%20%3Cstyle%3E%0A%20%20%20%20%20%20.cls-1%20%7B%0A%20%20%20%20%20%20%20%20fill%3A%20%23fafafa%3B%0A%20%20%20%20%20%20%20%20fill-rule%3A%20evenodd%3B%0A%20%20%20%20%20%20%20%20filter%3A%20url(%23filter)%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%3C%2Fstyle%3E%0A%20%20%20%20%3Cfilter%20id%3D%22filter%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2210%22%20height%3D%226%22%20filterUnits%3D%22userSpaceOnUse%22%3E%0A%20%20%20%20%20%20%3CfeFlood%20result%3D%22flood%22%20flood-color%3D%22%23333%22%20flood-opacity%3D%220.50%22%2F%3E%0A%20%20%20%20%20%20%3CfeComposite%20result%3D%22composite%22%20operator%3D%22in%22%20in2%3D%22SourceGraphic%22%2F%3E%0A%20%20%20%20%20%20%3CfeBlend%20result%3D%22blend%22%20mode%3D%22multiply%22%20in2%3D%22SourceGraphic%22%2F%3E%0A%20%20%20%20%3C%2Ffilter%3E%0A%20%20%3C%2Fdefs%3E%0A%20%20%3Cpath%20id%3D%22icon-arrow-down%22%20class%3D%22cls-1%22%20d%3D%22M5%2C6l5-6H0Z%22%2F%3E%0A%3C%2Fsvg%3E");
}
body#shopDetailPage #purchase_form #amountSelect {
  width: auto;
  max-width: 375px;
}
body#shopDetailPage #purchase_form .purchaseElement label {
  color: var(--m-text);
  font-size: 14px;
  margin-right: 10px;
}

body#shopDetailPage .report { text-align: left; }
body#shopDetailPage .report a {
  color: var(--m-text-light);
  display: block;
  font-size: 11px;
  margin-right: 15px;
  padding-top: 3px;
  text-align: right;
}
body#shopDetailPage .report a:hover { text-decoration: underline; color: var(--m-text-sub); }

/* --- Price Display --- */
body#shopDetailPage .itemPrice h2 {
  display: grid;
  gap: 24px;
  color: var(--m-text);
  font-weight: normal;
  letter-spacing: 0.5px;
  margin: 24px 0;
  text-align: left;
}
body#shopDetailPage .itemPrice h2 .price { display: grid; gap: 8px; }
body#shopDetailPage .itemPrice h2 .price[data-proper] { gap: 12px; }
body#shopDetailPage .itemPrice h2 .price__row { white-space: nowrap; }
body#shopDetailPage .itemPrice h2 .price__row > *:not(wbr) {
  display: inline-block;
  vertical-align: middle;
}
body#shopDetailPage .itemPrice h2 .price__row > span:not(:first-child) { margin-left: 4px; }
body#shopDetailPage .itemPrice h2 .price[data-proper] .price__row > span:not(:first-child) { margin-left: 8px; }

body#shopDetailPage .itemPrice h2 .price__discountRate {
  background: var(--m-red);
  color: #fff;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  padding: 0 8px;
  border-radius: var(--m-radius-sm);
}
body#shopDetailPage .itemPrice h2 .price__label { font-weight: 400; line-height: 1.2; }
body#shopDetailPage .itemPrice h2 .price__value {
  font-weight: 700;
  line-height: 1.2;
  color: var(--m-primary);
}
body#shopDetailPage .itemPrice h2 .price__mainLabel { font-size: 16px; }
body#shopDetailPage .itemPrice h2 .price__mainValue { font-size: 28px; color: var(--m-primary); }
body#shopDetailPage .itemPrice h2 .price__subLabel { font-size: 12px; }
body#shopDetailPage .itemPrice h2 .price__subValue { font-size: 14px; }
body#shopDetailPage .itemPrice h2 .price__properLabel { font-size: 14px; }
body#shopDetailPage .itemPrice h2 .price__properValue { font-size: 16px; }
body#shopDetailPage .itemPrice h2 .price__subProperLabel { font-size: 12px; }
body#shopDetailPage .itemPrice h2 .price__subProperValue { font-size: 14px; }
body#shopDetailPage .itemPrice h2 .price__value.price__value--proper {
  text-decoration: line-through;
  color: var(--m-text-light);
}
body#shopDetailPage .itemPrice h2 .price__value.price__value--discount { color: var(--m-red); }
body#shopDetailPage .itemPrice[data-soldout] h2 .price__value {
  text-decoration: line-through;
  color: var(--m-text-light);
}
body#shopDetailPage .itemPrice h2 .price__tax {
  font-size: 12px;
  color: var(--m-text-sub);
}

/* Sold Out / Coming Soon */
body#shopDetailPage .purchase .soldout {
  color: var(--m-red);
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  margin-top: -16px;
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 2px solid var(--m-red);
  border-radius: var(--m-radius-sm);
  letter-spacing: 0.1em;
}
body#shopDetailPage .purchase .comingSoon {
  color: var(--m-teal);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 20px;
}

/* Pre-order / Lottery badges */
body#shopDetailPage .preOrder, body#shopDetailPage .lottery,
body#shopDetailPage .takeout, body#shopDetailPage .community { margin: 16px 0; }
body#shopDetailPage .preOrder__label,
body#shopDetailPage .lottery__label,
body#shopDetailPage .takeout__label {
  border: 1.5px solid var(--m-gold);
  border-radius: var(--m-radius-full);
  color: var(--m-gold);
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  margin: 0 0 4px 0;
}
body#shopDetailPage .preOrder__data, body#shopDetailPage .lottery__data {
  font-size: 12px;
  color: var(--m-text);
}
body#shopDetailPage .takeout .takeout__data {
  font-size: 12px;
  margin-top: 4px;
  display: block;
}
body#shopDetailPage .lottery > * { margin-bottom: 8px; }

/* Item Attention */
body#shopDetailPage #itemAttention {
  color: var(--m-text-sub);
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 25px;
}
body#shopDetailPage #itemAttention .attention a { color: var(--m-text-sub); }
body#shopDetailPage #itemAttention .attention a:hover { text-decoration: underline; }
body#shopDetailPage #itemAttention .attention.deliveryShortestDay {
  border: 1.5px solid var(--m-teal);
  border-radius: var(--m-radius-full);
  color: var(--m-teal);
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 25px;
  padding: 6px 16px;
  width: auto;
  text-align: center;
}
body#shopDetailPage #itemAttention .attention.free { font-weight: 700; }
body#shopDetailPage #itemAttention .attention.free .free__text {
  color: var(--m-teal);
  font-weight: 700;
}
body#shopDetailPage #itemAttention .takeout__text {
  color: var(--m-text);
  cursor: pointer;
  font-weight: 700;
  margin: 0 3px;
  text-decoration: underline;
}
body#shopDetailPage #itemAttention .attention.salesPeriod--term {
  background: rgba(17, 190, 174, 0.06);
  border: 1.5px solid var(--m-teal);
  color: var(--m-teal);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 36px;
  padding: 12px 16px;
  border-radius: var(--m-radius-sm);
}
body#shopDetailPage #itemAttention .attention.salesPeriod--willStart {
  background: rgba(17, 190, 174, 0.06);
  border: 1.5px solid var(--m-teal);
  color: var(--m-teal);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 30px;
  padding: 12px 16px;
  text-align: center;
  border-radius: var(--m-radius-sm);
}
body#shopDetailPage #itemAttention .attention.salesPeriod--finish {
  border: 1.5px solid var(--m-text-light);
  color: var(--m-text-light);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 36px;
  padding: 12px 16px;
  text-align: center;
  border-radius: var(--m-radius-sm);
}

/* Item Description */
body#shopDetailPage .itemDescription {
  margin: 48px 0 24px 0;
}
body#shopDetailPage .itemDescription p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 2.1;
  color: var(--m-text-sub);
}

body.shop #embedded-tag {
  font-size: 14px;
  letter-spacing: 0.5px;
  line-height: 24px;
  padding: 20px 0 0;
}
body#shopDetailPage #embedded-tag p {
  color: var(--m-text);
  margin: 0 0 5px;
}
body#shopDetailPage #embedded-tag textarea {
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius-sm);
  color: var(--m-text-sub);
  padding: 8px;
  width: 100%;
}

/* ============================================================
   PURCHASE BUTTON — Pop Gradient
   ============================================================ */
body#shopDetailPage #purchase_form .purchaseButton {
  margin: 24px 0 0;
  text-align: center;
}
body#shopDetailPage #purchase_form .purchaseButton .purchaseButton__btn {
  background: var(--m-gradient-primary);
  border: none;
  border-radius: var(--m-radius-lg);
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  outline: none;
  padding: 18px 0;
  text-align: center;
  text-decoration: none;
  transition: all var(--m-duration) var(--m-ease);
  width: 100%;
  box-shadow: var(--m-shadow-glow);
  position: relative;
  overflow: hidden;
}
body#shopDetailPage #purchase_form .purchaseButton .purchaseButton__btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s var(--m-ease);
}
body#shopDetailPage #purchase_form .purchaseButton .purchaseButton__btn:hover::after {
  left: 100%;
}
body#shopDetailPage #purchase_form .purchaseButton .purchaseButton__btn:hover {
  background: linear-gradient(135deg, var(--m-red) 0%, var(--m-red-light) 100%);
  box-shadow: 0 4px 24px rgba(235, 73, 7, 0.25);
  transform: translateY(-2px);
}
body#shopDetailPage #purchase_form .purchaseButton .purchaseButton__btn.purchaseButton__btn--outOfStock {
  color: #fff;
  background: #ccc;
  box-shadow: none;
}
body#shopDetailPage #purchase_form .purchaseButton .purchaseButton__btn.purchaseButton__btn--comingSoonStay:disabled,
body#shopDetailPage #purchase_form .purchaseButton .purchaseButton__btn.purchaseButton__btn--comingSoonStay {
  background: var(--m-bg-light);
  color: var(--m-text-light);
  cursor: not-allowed;
  box-shadow: none;
}
body#shopDetailPage #purchase_form .purchaseButton .purchaseButton__btn.purchaseButton__btn--notApplying:disabled,
body#shopDetailPage #purchase_form .purchaseButton .purchaseButton__btn:disabled,
body#shopDetailPage #purchase_form .purchaseButton .purchaseButton__btn--disabled {
  background: var(--m-bg-light);
  color: var(--m-text-light);
  cursor: not-allowed;
  box-shadow: none;
}
body#shopDetailPage #purchase_form .purchaseButton .purchaseButton__btn:disabled:hover,
body#shopDetailPage #purchase_form .purchaseButton .purchaseButton__btn--disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Share Buttons */
body#shopDetailPage .shareButtons { display: flex; gap: 8px; margin-top: 16px; }
body#shopDetailPage .shareButtons > div { margin-right: 0; }

@media(min-width: 769px) {
  body#shopDetailPage #mainContent {
    padding: 60px;
    width: 880px;
  }
  body#shopDetailPage #mainContent .item {
    float: left;
    position: relative;
    width: 493px;
  }
  body#shopDetailPage #mainContent .purchase {
    margin: 0 0 0 520px;
    width: 310px;
  }
  body#shopDetailPage header h1.itemTitle {
    font-size: 22px;
    margin-bottom: 40px;
  }
  body#shopDetailPage #mainContent .item .itemImg { height: 400px; }
  body#shopDetailPage #mainContent .item .itemImgSlide { float: left; width: 400px; }
  body#shopDetailPage #mainContent .item .bx-wrapper { float: left; width: 400px; }
  body#shopDetailPage #slideImg .imgBox {
    height: 400px;
    line-height: 400px;
    text-align: center;
    width: 400px;
  }
  body#shopDetailPage #slideImg .imgBox img {
    max-height: 400px;
    max-width: 400px;
    vertical-align: middle;
    object-fit: contain;
  }
  body#shopDetailPage #slideImgPager {
    float: left;
    height: 400px;
    overflow: hidden;
    padding: 0 0 0 10px;
    width: 83px;
  }
}

#widget { margin: 0 !important; }
#reportBtn { padding-bottom: 20px; }
#twitter-widget-0 { width: 75px; }
#twitter-widget-1 { width: 75px; }

/* ============================================================
   ABOUT PAGE — Pop & Refined
   ============================================================ */
.main {
  background: var(--m-bg);
  height: auto;
  margin: 0 auto;
  text-align: left;
  width: 960px;
  border-radius: var(--m-radius-lg);
}
.main #about {
  color: var(--m-text-sub);
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0 auto;
  padding: 60px 0;
  width: 820px;
}
.main #about h2 {
  color: var(--m-text);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  text-align: left;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 16px;
}
.main #about h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--m-gradient-primary);
  border-radius: var(--m-radius-full);
}
@media(min-width: 769px) {
  .main #about h2 { font-size: 28px; margin-bottom: 48px; }
}
.main #about h3 { font-size: 24px; }
.main #about p { font-size: 14px; line-height: 2.1; }
.main #about .social {
  margin: 40px 0 0;
  text-align: center;
  width: 100%;
}
.main #about .social > ul { display: inline-flex; gap: 12px; }
.main #about .social ul li { margin-right: 0; }
.main #about .social ul li:last-child { margin-right: 0; }
.main #about .social ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--m-bg-light);
  transition: all var(--m-duration) var(--m-ease);
}
.main #about .social ul li a:hover {
  background: var(--m-primary-pale);
  transform: translateY(-2px);
  box-shadow: var(--m-shadow-sm);
}

body.shop #mainFooter .footerMenu ul .social_btn { float: right; width: 215px; }
body.shop #mainFooter .footerMenu ul .social_btn li { margin: 0; }
body.shop #mainFooter .footerMenu ul .social_btn li.twitter { margin: -5px 0 0 0; }

/* ============================================================
   INQUIRY / CONTACT — Pop & Refined
   ============================================================ */
.inquirySection { padding: 60px; }
.inquirySection h1 {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--m-text);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  margin: 0 0 20px;
  text-align: left;
  text-transform: uppercase;
}
.inquirySection p {
  color: var(--m-text-sub);
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}
.inquirySection form { width: 100%; }
@media(min-width: 769px) {
  .inquirySection form { margin: 40px auto 0; width: 652px; }
}
.inquirySection dl { text-align: left; }
.inquirySection dl dt {
  color: var(--m-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}
.inquirySection dl dt span {
  color: var(--m-red);
  font-size: 11px;
  margin-left: 5px;
  vertical-align: baseline;
}
.inquirySection dl dd { margin-bottom: 20px; }
.inquirySection dl dd input {
  box-sizing: border-box;
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius-md);
  padding: 12px 16px;
  width: 100%;
  font-size: 14px;
  transition: border-color var(--m-duration) var(--m-ease);
}
.inquirySection dl dd input:focus {
  border-color: var(--m-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(241, 133, 0, 0.12);
}
.inquirySection dl dd textarea {
  box-sizing: border-box;
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius-md);
  height: 160px;
  padding: 12px 16px;
  width: 100%;
  font-size: 14px;
  transition: border-color var(--m-duration) var(--m-ease);
}
.inquirySection dl dd textarea:focus {
  border-color: var(--m-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(241, 133, 0, 0.12);
}
@media(min-width: 769px) {
  .inquirySection dl dd input { width: 630px; }
  .inquirySection dl dd textarea { width: 630px; }
}

.inquirySection .control-panel input#buttonLeave {
  background: var(--m-gradient-primary);
  border: none;
  border-radius: var(--m-radius-lg);
  color: #fff;
  display: inherit;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 40px auto 0;
  padding: 18px 0;
  transition: all var(--m-duration) var(--m-ease);
  width: 290px;
  cursor: pointer;
  box-shadow: var(--m-shadow-glow);
}
.inquirySection .control-panel input#buttonLeave:hover {
  background: linear-gradient(135deg, var(--m-red) 0%, var(--m-red-light) 100%);
  box-shadow: 0 4px 24px rgba(235, 73, 7, 0.25);
  transform: translateY(-2px);
}

#inquiryConfirmSection p { color: var(--m-text); font-size: 13px; line-height: 1.4; }
#inquiryConfirmSection dd { font-size: 12px; padding-left: 15px; }
#inquiryCompleteSection p { line-height: 1.6; margin: 30px 0 0; }
#inquiryCompleteSection a {
  background: var(--m-gradient-primary);
  border-radius: var(--m-radius-lg);
  color: #fff;
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 35px auto 0;
  padding: 18px 0;
  text-align: center;
  transition: all var(--m-duration) var(--m-ease);
  width: 290px;
  box-shadow: var(--m-shadow-glow);
}
#inquiryCompleteSection a:hover {
  background: linear-gradient(135deg, var(--m-red) 0%, var(--m-red-light) 100%);
  box-shadow: 0 4px 24px rgba(235, 73, 7, 0.25);
  transform: translateY(-2px);
}

@media(max-width: 769px) {
  .main, #privacy, #law {
    width: 92%;
    margin: 0 auto;
    padding: 24px 16px;
  }
  .main #about, .main .inquirySection {
    width: 100%;
    padding: 32px 0;
  }
}

/* ============================================================
   CATEGORY MENU — Pop Dropdown
   ============================================================ */
.template #category-menu { display: block; }
.template #category-menu span { cursor: pointer; }
.template #category-menu .category-list { display: none; }
.template #category-menu:hover .category-list {
  display: block;
  padding: 12px 0 0;
  position: absolute;
  z-index: 9999;
}
.template #category-menu .category-list ul {
  background-color: #fff;
  border: 1px solid var(--m-border-light);
  border-radius: var(--m-radius-md);
  box-shadow: var(--m-shadow-lg);
  cursor: pointer;
  margin: 0;
  max-width: 260px;
  padding: 8px;
}
.template #category-menu .category-list ul li {
  border: none;
  float: none;
  height: auto;
  line-height: 26px;
  margin: 0;
  padding: 0;
  position: relative;
  text-align: left;
  width: 100%;
  border-radius: var(--m-radius-sm);
}
.template #category-menu .category-list ul li a {
  display: inline;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 18px;
  white-space: nowrap;
}
.template #category-menu .category-list ul li a:hover {
  border-bottom: none;
  text-decoration: none;
  color: var(--m-primary);
}

body.shop #shopHeader nav ul#appsItemCategoryTag { display: block; }
body.template #category-menu span {
  display: block;
  -webkit-font-smoothing: antialiased;
  padding: 11px 10px;
  text-transform: uppercase;
  transition: color var(--m-duration) var(--m-ease);
}
body.template #category-menu:hover .category-list ul {
  border: 1px solid var(--m-border-light);
  border-radius: var(--m-radius-md);
  padding: 4px;
}
body.template #category-menu:hover .category-list ul li:hover {
  background-color: var(--m-primary-pale);
  border-bottom: none;
  height: auto;
  border-radius: var(--m-radius-sm);
}
body.template #category-menu:hover .category-list ul li a {
  display: block;
  margin: 0;
  max-width: 250px;
  overflow: hidden;
  padding: 10px 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--m-text);
}
body.template #category-menu:hover .category-list ul li:hover a { color: var(--m-primary); }
body.template #category-menu:hover .category-list ul li a:hover { text-decoration: none; }

.template #category-menu .appsItemCategoryTag_child .appsItemCategoryTag_lowerchild { display: none; }
@media(min-width: 769px) {
  .template #category-menu .appsItemCategoryTag_child .appsItemCategoryTag_lowerchild {
    display: none;
    left: 99%;
    position: absolute;
    top: 0;
    z-index: -1;
  }
  .template #category-menu .appsItemCategoryTag_lowerchild:hover,
  .template #category-menu .appsItemCategoryTag_child:hover .appsItemCategoryTag_lowerchild {
    display: block;
  }
}

/* Category Title */
.categoryTitle01 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 32px 0 0;
  text-align: center;
  color: var(--m-text);
}
.childCategoryList01 { padding: 16px 0 0; text-align: center; }
.childCategoryList01_child {
  display: inline-block;
  font-size: 13px;
}
.childCategoryList01_link {
  display: inline-block;
  letter-spacing: normal;
  line-height: 2;
  padding: 4px 12px;
  color: var(--m-text-sub);
  border-radius: var(--m-radius-full);
  transition: all var(--m-duration) var(--m-ease);
}
.childCategoryList01_link:hover {
  text-decoration: none;
  color: var(--m-primary);
  background: var(--m-primary-pale);
}

body.template .etc-menu span {
  display: block;
  -webkit-font-smoothing: antialiased;
  text-transform: uppercase;
  transition: color var(--m-duration) var(--m-ease);
}

#appsItemDetailCustom #appsItemDetailCustomTag .appsItemDetailCustomTag_description {
  font-size: 13px;
}

/* Community responsive */
@media(max-width: 768px) {
  .main .communityMain { width: 100%; padding: 0; }
  .main .communityMain .communityTitle { font-size: 18px; }
  .main .communityMain #limitedItem,
  .main .communityMain #limitedUrl { width: 100%; }
  .main .communityMain .communityItems,
  .main .communityMain #productsLimitedUrl {
    display: flex; flex-wrap: wrap; justify-content: space-between;
  }
  .main .communityMain .communityItems .communityItem {
    width: 31%; margin: 0 0 12px 0;
  }
  .main .communityMain .communityItems .communityItem .communityImageContainer {
    position: relative; width: 100%; height: auto;
  }
  .main .communityMain .communityItems .communityItem .communityImageContainer::before {
    content: ''; display: block; padding-top: 100%;
  }
  .main .communityMain .communityItems .communityItem .communityImageContainer .communityImageResize {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; object-fit: contain;
  }
  .main .communityMain #productsLimitedUrl .urlBox {
    width: 44%; margin: 0 0 12px 0 !important;
  }
}
@media(max-width: 480px) {
  .main .communityMain .communityContent { flex-direction: column; }
  .main .communityMain .communityContent .communityOverview,
  .main .communityMain .communityContent .communityNav { width: 100%; margin: 0; }
  .main .communityMain .communityItems .communityItem { width: 49%; }
  .main .communityMain #productsLimitedUrl .urlBox {
    width: 100%; margin: 0 0 12px 0 !important;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
body#shopTopPage .item {
  animation: fadeInUp 0.5s var(--m-ease) both;
}
body#shopTopPage .item:nth-child(1) { animation-delay: 0.05s; }
body#shopTopPage .item:nth-child(2) { animation-delay: 0.1s; }
body#shopTopPage .item:nth-child(3) { animation-delay: 0.15s; }
body#shopTopPage .item:nth-child(4) { animation-delay: 0.2s; }
body#shopTopPage .item:nth-child(5) { animation-delay: 0.25s; }
body#shopTopPage .item:nth-child(6) { animation-delay: 0.3s; }
body#shopTopPage .item:nth-child(7) { animation-delay: 0.35s; }
body#shopTopPage .item:nth-child(8) { animation-delay: 0.4s; }

/* Smooth scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--m-bg-light); }
::-webkit-scrollbar-thumb {
  background: var(--m-border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--m-text-light); }
