/** Shopify CDN: Minification failed

Line 1482:0 Unexpected "}"
Line 2555:0 Unexpected "}"

**/
/* =============================================
   カスタムレイアウト全体設定
============================================= */

body.custom-layout {
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-image: url('/cdn/shop/files/f3f419eff9a41fb47d16cc7ffa655f97.png?v=1777392362');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  z-index: 0;
}

/* =============================================
   3カラム固定レイアウト
============================================= */

.custom-wrapper {
  display: flex;
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

/* =============================================
   左ナビ
============================================= */

.custom-left {
  width: calc((100vw - 600px) / 2);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  gap: clamp(6px, 1.2vh, 16px);
  background: rgba(255,255,255,0.7);
  z-index: 100;

  padding: 0 10px;
  box-sizing: border-box;
}

/* 左ロゴ */
.custom-logo {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  margin-top: 18px;
  margin-bottom: 20px;

  z-index: 200;
}

.custom-logo img {
  width: clamp(220px, 20vw, 380px) !important;
  height: auto !important;
  display: block !important;
}

/* 左ボタン群の位置 */
.custom-left .nav-btn:first-of-type {
  margin-top: 40px;
}

/* =============================================
   右パネル
============================================= */

.custom-right {
  width: calc((100vw - 600px) / 2);
  height: 100vh;
  position: fixed;
  right: 0;
  top: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  gap: clamp(6px, 1.2vh, 16px);
  background: rgba(255,255,255,0.7);
  z-index: 20;

  padding: 0 10px;
  box-sizing: border-box;
}

/* 右ボタン群の位置 */
.custom-right .right-panel.active {
  margin-top: 150px;
}


/* =============================================
   左右丸ボタン
============================================= */

.nav-btn,
.action-btn {
  width: clamp(
    60px,
    min(14vh, calc((100vw - 600px) / 3.2)),
    120px
  ) !important;

  height: clamp(
   60px,
   min(14vh, calc((100vw - 600px) / 3.2)),
   120px
  ) !important;

  border-radius: 50%;
  border: 2px solid #e0e0e0;
  background: #fff;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;

  gap: clamp(2px, 0.5vh, 4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);

  padding: 0 !important;
  flex-shrink: 0;
}


.nav-btn:hover,
.nav-btn.active {
  background: #1a1a2e;
  color: #fff;
  border-color: #1a1a2e;
  transform: scale(1.02);
}

/* 右ボタン hover / active */
#panel-mizumushi .action-btn:hover,
#panel-footcare .action-btn:hover,
#panel-nailcare .action-btn:hover,

#panel-mizumushi .action-btn.active,
#panel-footcare .action-btn.active,
#panel-nailcare .action-btn.active{

  background: #1a1a2e;

  color: #fff;

  border-color: #1a1a2e;

  transform: scale(1.05);
}
#panel-mizumushi .action-btn:hover .btn-icon,
#panel-footcare .action-btn:hover .btn-icon,
#panel-nailcare .action-btn:hover .btn-icon,

#panel-mizumushi .action-btn.active .btn-icon,
#panel-footcare .action-btn.active .btn-icon,
#panel-nailcare .action-btn.active .btn-icon{

  color: #fff;
}

.nav-btn .nav-icon,
.action-btn .btn-icon {
  font-size: clamp(
    20px,
    min(5vh, calc((100vw - 600px) / 7)),
    45px
  ) !important;
  line-height: 1;
}

.nav-btn .nav-label,
.action-btn .btn-label {
  font-size: clamp(
    9px,
    min(2vh, calc((100vw - 600px) / 18)),
    18px
  ) !important;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* =============================================
   右パネル内部
============================================= */

.right-panel {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px, 1.2vh, 16px);
  animation: fadeInRight 0.3s ease;
}

.right-panel.active {
  display: flex;
}

.right-section-label {
  font-size: clamp(10px, 0.8vw, 14px);
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 1px;
  margin-top: 8px;
  margin-bottom: 4px;
  text-align: center;
}

/* 水虫薬パネルのみ2列レイアウト */
#panel-mizumushi {
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: clamp(6px, 0.8vw, 8px) !important;
  align-content: flex-start !important;
}

#panel-mizumushi .right-section-label {
  width: 100%;
  flex-basis: 100%;
  flex-shrink: 0;
}
/*
#panel-mizumushi .action-btn {
  width: clamp(60px, min(7vh, calc((100vw - 600px) / 5)), 96px) !important;
  height: clamp(60px, min(7vh, calc((100vw - 600px) / 5)), 96px) !important;
  flex: 0 0 clamp(60px, min(7vh, calc((100vw - 600px) / 5)), 96px);
}
  */

/* =============================================
   中央コンテンツ
============================================= */

.custom-center {
  width: 600px;
  height: 100vh;
  margin: 0 auto;
  margin-left: calc((100vw - 600px) / 2);
  overflow-y: auto;
  position: relative;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 0 20px rgba(0,0,0,0.08);
  z-index: 100;
  padding-top: 80px;
  box-sizing: border-box;
}


/* =============================================
   メインコンテンツ
============================================= */

main,
#MainContent {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.shopify-section:has(.slideshow),
.slideshow {
  z-index: 100 !important;
  position: relative !important;
}

.shopify-section {
  position: relative !important;
  z-index: 100 !important;
}

/* =============================================
   アニメーション
============================================= */

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.4s cubic-bezier(0.25,0.46,0.45,0.94) both;
}

.slide-in-left {
  animation: slideInLeft 0.4s cubic-bezier(0.25,0.46,0.45,0.94) both;
}

/* =============================================
   Shopifyヘッダー
============================================= */

@media screen and (min-width: 990px) {

  .header-wrapper {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;

    width: calc((100vw - 600px) / 2) !important;
    height: 80px !important;

    background: transparent !important;
    box-shadow: none !important;
    z-index: 9999 !important;
  }

  .header {
    width: 100% !important;
    height: 80px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;

    background: transparent !important;
  }

  .header__heading,
  .header__inline-menu,
  .header-drawer,
  .menu-drawer-container,
  .desktop-localization-wrapper {
    display: none !important;
  }
}

/* 重複している旧アイコンを削除 */
.right-header-icons,
.header-icons,
.custom-header-icons {
  display: none !important;
}

/* Shopify純正ロゴを完全削除 */
.header__heading,
.header__heading-link,
.header__heading-logo,
.header__heading-logo-wrapper{
  display:none !important;
}

/* =============================================
   989px以下：純正ヘッダー崩れ対策
============================================= */

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

  .header__heading,
  .header__heading-link {
    display: none !important;
  }

  .header__inline-menu,
  .header-drawer,
  .menu-drawer-container {
    display: none !important;
  }

  .header-wrapper {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;

    width: calc((100vw - 600px) / 2) !important;
    min-width: 160px !important;
    height: 67px !important;

    background: transparent !important;
    box-shadow: none !important;
    z-index: 9999 !important;
  }

  .header {
    height: 67px !important;
    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .header__icons {
    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 18px !important;
  }
}

/* =============================================
   バナー下の余白を詰める
============================================= */

.custom-center .shopify-section:first-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.custom-center .shopify-section:first-child + .shopify-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.custom-center .banner,
.custom-center .slideshow,
.custom-center .banner__media,
.custom-center .slideshow__media {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.custom-center .shopify-section:nth-child(2) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* =============================================
   レスポンシブ
============================================= */

@media (max-width: 768px) {

  .custom-left,
  .custom-right {
    display: none;
  }

  .custom-center {
    width: 100%;
    margin-left: 0;
  }

  .custom-logo {
    display: none;
  }
}

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

  main,
  #MainContent,
  .custom-center {
    margin-top: 67px !important;
    padding-top: 0 !important;
  }

  .custom-center,
  .shopify-section {
    z-index: auto !important;
  }
}

@media screen and (min-width: 750px) {

  .custom-center {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .custom-center::-webkit-scrollbar {
    display: none !important;
  }

  html,
  body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    display: none !important;
  }
}

/* =============================================
   右下 漫画ビューア
============================================= */

.manga-widget {
  width: min(86%, 220px);

  margin-top: auto;
  margin-bottom: 70px;

  padding: 14px;

  background:#f5f0eb;

  border: 1px solid #d8cfc3;
  border-radius: 14px;

  box-shadow: 0 2px 10px rgba(0,0,0,0.08);

  text-align: center;

  z-index: 150;
}

.manga-title {
  background:transparent;
  font-size: 15px;
  font-weight: 600;

  margin-bottom: 12px;

  color: #444;
}

.manga-frame {
  width: 100%;
  aspect-ratio: 3 / 4;

  overflow: hidden;

  border-radius: 10px;
  background: #fff;
  display:block;
}

.manga-frame img {
  width: 100%;
  height: auto;

  object-fit: contain;

  display: block;
}

.manga-controls {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 10px;

  margin-top: 8px;
}

.manga-controls button {
  width: 28px;
  height: 28px;

  border-radius: 50%;
  border: 1px solid #d8cfc3;

  background: #fff;

  cursor: pointer;

  font-size: 20px;
  line-height: 1;
}

.manga-controls span {
  font-size: 12px;
  color: #555;
}

.manga-link {
  display: inline-block;

  margin-top: 10px;

  font-size: 12px;
  font-weight: 700;

  color: #333;
  text-decoration: none;

  border-bottom: 1px solid #333;
}

/* =============================================
   右下 広告画像枠
============================================= */

.side-promo-box {
  width: min(86%, 220px);

  margin-top: auto;
  margin-bottom: 70px;

  padding: 10px;

  background: rgba(255,255,255,0.88);

  border: 1px solid #d8cfc3;
  border-radius: 14px;

  box-shadow: 0 2px 10px rgba(0,0,0,0.08);

  text-align: center;

  z-index: 150;
}

.side-promo-title {
  font-size: 14px;
  font-weight: 700;

  margin-bottom: 8px;

  color: #333;
}

/* 漫画枠と同じ比率 */
.side-promo-image-wrap {
  width: 100%;

  aspect-ratio: 3 / 4;

  overflow: hidden;

  border-radius: 10px;

  background: #fff;
}

.side-promo-image {
  width: 100%;
  height: 100%;

  object-fit: contain;

  display: block;
}

.side-promo-link {
  display: inline-block;

  margin-top: 8px;

  font-size: 12px;
  font-weight: 700;

  color: #333;
  text-decoration: none;

  border-bottom: 1px solid #333;
}

/* =============================================
   フッター 左下固定・整理版
============================================= */

.footer {
  position: fixed !important;
  left: 18px !important;
  bottom: 14px !important;

  width: auto !important;
  max-width: 520px !important;

  background: transparent !important;
  z-index: 300 !important;
}

.footer__content-top,
.footer__content-bottom,
.footer__content-bottom-wrapper {
  margin: 0 !important;
  padding: 0 !important;
}

.footer__content-bottom-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

/* コピーライト全体 */
.footer__copyright {
  margin: 0 !important;
  padding: 0 !important;

  text-align: left !important;
  color: #555 !important;

  font-size: 11px !important;
  line-height: 1.35 !important;
}

/* 各テキスト行 */
.footer__copyright .copyright__content {
  display: block !important;

  margin: 0 !important;
  padding: 0 !important;

  text-align: left !important;

  font-size: 10px !important;
  line-height: 1.35 !important;

  color: #555 !important;
}

.footer__copyright a {
  color: #555 !important;
  text-decoration: none !important;
}

/* PayPalなど支払いアイコン */
.list-payment {
  display: flex !important;
  justify-content: flex-start !important;

  margin: 4px 0 0 0 !important;
  padding: 0 !important;
}

/* ポリシー一覧 */
.policies {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;

  list-style: none !important;

  margin: 2px 0 0 0 !important;
  padding: 0 !important;

  gap: 6px !important;
}
/* 区切り点 */

.policies li:not(:last-child)::after{
  content:"・";
  margin-left:6px;
  color:#555;
}

.policies li {
  display: inline-flex !important;

  width: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;

  line-height: 1.2 !important;
}

.policies .copyright__content,
.policies a {
  display: block !important;

  width: auto !important;
  white-space: nowrap !important;

  margin: 0 !important;
  padding: 0 !important;

  text-align: left !important;

  font-size: 10px !important;
  line-height: 1.2 !important;

  color: #555 !important;
  text-decoration: none !important;
}

/*水虫薬内の右ボタンの位置調整*/
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

/* =============================================
   ホーム以外は角丸長方形
============================================= */

/* 水虫薬・フットケア・ネイルケア */
/* ホーム以外のパネルは通常は非表示 */
#panel-mizumushi,
#panel-footcare,
#panel-nailcare {
  display: none;
}

/* active のパネルだけ表示 */
#panel-mizumushi.active,
#panel-footcare.active,
#panel-nailcare.active {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));

  gap: 12px;

  width: 100%;
  max-width: 640px;

  margin: 0 auto;

  justify-items: center;

  align-content: start;
  padding-top: 120px;
}
/* =============================================
   水虫薬 見出し
============================================= */

#panel-mizumushi .right-section-label{

  grid-column: 1 / -1;

  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  font-size: 24px;
  font-weight: 700;

  line-height: 1.2;

  margin-top: 10px; /*-部位-の上下位置*/
  margin-bottom: 8px;

  color: #222;

  white-space: nowrap;
}

/* ー 部位 ー / ー 剤形 ー */
#panel-mizumushi .right-section-label::before,
#panel-mizumushi .right-section-label::after{

  content: "";

  flex: 1;
  height: 2px;

  background: #222;

  max-width: 190px;
  min-width: 20px;

  margin: 0 clamp(6px, 2vw, 18px);
}

/* ホーム以外のボタン */
#panel-mizumushi .action-btn,
#panel-footcare .action-btn,
#panel-nailcare .action-btn{

  width: 100%;
  max-width: 150px;

  height: 82px;

  border-radius: 18px;

  padding: 10px;

  gap: 6px;

  border: 2px solid rgba(20, 30, 50, 0.18);

  box-shadow: 0 4px 10px rgba(0,0,0,0.06);

  background: #fff;
}

/* アイコン */
#panel-mizumushi .btn-icon,
#panel-footcare .btn-icon,
#panel-nailcare .btn-icon{

  font-size: 28px;
}

/* ラベル */
#panel-mizumushi .btn-label,
#panel-footcare .btn-label,
#panel-nailcare .btn-label{

  font-size: 14px;
  line-height: 1.3;

  text-align:center;
}

/* 選択中 */
#panel-mizumushi .action-btn.active,
#panel-footcare .action-btn.active,
#panel-nailcare .action-btn.active{

  background: #1a1a2e;

  color: #fff;

  border-color: #1a1a2e;
}

/*会社概要等*/
.company-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 16px;
  line-height: 1.9;
  color: #333;
}

.company-page h2 {
  font-size: 28px;
  margin-bottom: 24px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 12px;
}

.company-page h3 {
  font-size: 22px;
  margin-top: 48px;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 5px solid #2f6f5e;
}

.company-page h4 {
  font-size: 18px;
  margin-top: 32px;
  margin-bottom: 14px;
  color: #333;
}

.company-info-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
  margin: 0;
}

.company-info-row dt {
  font-weight: 700;
  color: #444;
}

.company-info-row dd {
  margin: 0;
}

.company-page img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.company-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.company-page th,
.company-page td {
  border: 1px solid #ddd;
  padding: 12px;
  vertical-align: top;
}

.company-page th {
  background: #f7f7f7;
  font-weight: 700;
}

.company-page a {
  color: #1f6f8b;
  text-decoration: underline;
}

.company-note-red {
  color: #d93025;
  font-weight: 600;
}

@media screen and (max-width: 749px) {
  .company-info-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .company-info-row dt {
    font-size: 14px;
  }
}

.company-page h3 {
  margin-top: 56px;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: #f3f6f5;
  border-left: 6px solid #2f6f5e;
  border-radius: 8px;
  font-size: 22px;
  font-weight: 700;
}

/*配送ポリシー*/
.policy-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 16px;
  line-height: 1.9;
  color: #333;
}

.policy-page h2 {
  margin-bottom: 32px;
  padding: 18px 22px;
  background: #f3f6f5;
  border-left: 6px solid #2f6f5e;
  border-radius: 10px;
  font-size: 28px;
  font-weight: 700;
}

.policy-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 22px 0;
  margin: 0;
  border-bottom: 1px solid #e5e5e5;
}

.policy-row dt {
  font-weight: 700;
  color: #444;
}

.policy-row dd {
  margin: 0;
}

@media screen and (max-width: 749px) {
  .policy-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }
}

/* =============================================
   カート通知ポップアップ
============================================= */

cart-notification,
.cart-notification {
  position: fixed !important;
  bottom: 40px !important;
  top: auto !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;

  width: 420px !important;
  max-width: 90vw !important;

  margin: 0 !important;
  z-index: 10000 !important;
}

/* ========================================
   スマホ用：カート追加通知を中央表示
======================================== */
@media screen and (max-width: 768px) {

  cart-notification,
  .cart-notification {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;

    transform: translate(-50%, -50%) !important;

    width: calc(100vw - 32px) !important;
    max-width: 360px !important;

    z-index: 10050 !important;

    margin: 0 !important;
  }

  .cart-notification-wrapper {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10049 !important;
    pointer-events: none !important;
  }

  .cart-notification-wrapper cart-notification,
  .cart-notification-wrapper .cart-notification {
    pointer-events: auto !important;
  }
}


/* =============================================
   スマホ用：スライドショー画像を切らずに表示
   ※ custom-layout.css用なので {{ section.id }} は使わない
============================================= */

@media screen and (max-width: 768px) {
  .slideshow,
  .slideshow.banner,
  .slideshow__slide,
  .slideshow__media,
  .slideshow__media.media {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .slideshow__media img {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
    display: block !important;
  }
}


/* =============================================
   スマホ用：基本表示切り替え
============================================= */

.mobile-top-nav,
.mobile-header-custom,
.mobile-bottom-nav {
  display: none;
}


/* =============================================
   スマホ用：上部ヘッダー・下部固定ナビ
============================================= */

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

  /* PC用左右パネルを非表示 */
  .desktop-layout-parts,
  .custom-left,
  .custom-right,
  .left-panel,
  .right-panel,
  .left-nav,
  .right-nav,
  .floating-bubbles,
  .desktop-only {
    display: none !important;
  }

  /* 3分割解除：中央エリアを全幅化 */
  .custom-layout,
  .custom-wrapper,
  .custom-center,
  main,
  #MainContent {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .custom-center,
  #MainContent {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* Shopify標準ヘッダーの余白を詰める */
  .section-header,
  .shopify-section-header-sticky,
  .header-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .header {
    min-height: 48px !important;

    padding-top: 6px !important;
    padding-bottom: 6px !important;

    display: grid !important;

    grid-template-columns: 1fr auto !important;

    align-items: center !important;
  }

  .header__icons {
    justify-self: end !important;
    padding-right: 10px !important;
  }

  .header::after,
  .header-wrapper::after {
    display: none !important;
  }

  .header__heading,
  .header__inline-menu,
  .header__search,
  .header__icons {
    margin: 0 !important;
    padding: 0 !important;
  }

  .header > *:empty {
    display: none !important;
  }

  slideshow-component {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }


  /* =============================
     スマホ上部ナビ
  ============================= */

  .mobile-top-nav {
    display: block;
    width: 100%;

    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);

    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .mobile-header-custom {
    display: block;
    width: 100%;
    background: #fff;
    margin: 0;
    padding: 0;
  }


  .mobile-header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    min-height: 56px !important;
    height: 56px !important;

    padding: 0 12px !important;
    margin: 0;

    box-sizing: border-box;
    background: #fff;
  }

  .mobile-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    flex: 0 0 auto;

    text-decoration: none;

    margin: 0 !important;
    padding: 0 !important;
  }

  .mobile-logo img {
    display: block;

    width: auto;
    max-width: 250px !important;
    max-height: 42px !important;

    height: auto !important;

    margin: 0 !important;
  }

}

  .mobile-header-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 12px;
    margin-left: auto;

    flex: 0 0 auto;
  }

  .mobile-icon-link {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    text-decoration: none;
    color: #222;

    font-size: 20px;
    line-height: 1;
  }

  .mobile-cart-icon {
    position: relative;
  }

  .mobile-cart-count {
    position: absolute;
    top: -7px;
    right: -8px;

    min-width: 17px;
    height: 17px;
    padding: 0 4px;

    border-radius: 999px;

    background: #222;
    color: #fff;

    font-size: 10px;
    line-height: 17px;
    text-align: center;
    font-weight: 700;
  }




  /* =============================
     スマホ下部固定ナビ
  ============================= */

  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;

    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.12);

    z-index: 9999;

    padding-bottom: env(safe-area-inset-bottom);

    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  }

  .mobile-bottom-nav a {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    text-decoration: none;

    color: #222;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;

    border-right: 1px solid rgba(0, 0, 0, 0.06);
  }

  .mobile-bottom-nav a:last-child {
    border-right: none;
  }

  body {
    padding-bottom: calc(52px + env(safe-area-inset-bottom));
  }
}

/* =============================================
   スマホ用：下部固定ナビに本文が隠れないように余白を確保
============================================= */
@media screen and (max-width: 768px) {
  body {
    padding-bottom: 135px !important;
  }

  main,
  #MainContent {
    padding-bottom: 135px !important;
  }
}


/* =============================================
   PC表示
============================================= */

@media screen and (min-width: 769px) {
  .mobile-top-nav,
  .mobile-header-custom,
  .mobile-bottom-nav {
    display: none !important;
  }

  body {
    padding-bottom: 0;
  }
}

@media screen and (max-width: 768px) {
  .header {
    display: grid !important;
    grid-template-columns: 1fr auto auto !important;
    align-items: center !important;
    background: #fff !important;
    padding: 6px 10px !important;
  }

  .header > .header__search {
    grid-column: 2 !important;
    justify-self: end !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .header__icons {
    grid-column: 3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .header__heading {
    grid-column: 1 !important;
    margin: 0 !important;
  }

  .header__icon,
  .header__search,
  #cart-icon-bubble {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }



  .header-wrapper {
    min-height: 56px !important;
    height: 56px !important;

    padding: 0 !important;
    margin: 0 !important;

    overflow: hidden !important;
  }

  .header {
    min-height: 56px !important;
    height: 56px !important;

    padding: 0 8px !important;
    margin: 0 !important;

    display: grid !important;
    grid-template-columns: 1fr auto auto !important;

    align-items: center !important;

    box-sizing: border-box !important;
  }

  .header__heading {
    margin: 0 !important;
    padding: 0 !important;

    line-height: 1 !important;
  }

  .header__heading-link {
    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
  }

  .header__heading-logo {
    max-height: 18px !important;
    width: auto !important;

    display: block !important;
  }

  .header__icons {
    height: 56px !important;

    display: flex !important;
    align-items: center !important;

    gap: 10px !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .header__icon,
  .header__search,
  #cart-icon-bubble {
    width: 28px !important;
    height: 28px !important;

    min-width: 28px !important;
    min-height: 28px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #cart-icon-bubble svg {
    width: 45px !important;
    height: 45px !important;
  }

  .header__icon svg {
    width: 24px !important;
    height: 24px !important;
  }

  #cart-icon-bubble {
    position: relative !important;
    overflow: visible !important;
    transform: translateY(2px);
  }

  #cart-icon-bubble .cart-count-bubble {
    position: absolute !important;

    left: 10px !important;
    right: auto !important;
    top: 6px !important;

    transform: none !important;
    z-index: 10 !important;
  }
  
  
}

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

  .mobile-bottom-page-spacer {
    display: block !important;
    width: 100%;
    height: 135px !important;
    min-height: 135px !important;
    flex-shrink: 0 !important;
    position: relative !important;
    visibility: visible !important;
  }

}

@media screen and (min-width: 769px) {
  .mobile-bottom-page-spacer {
    display: none;
  }
}

/* =============================================
   スマホ用：ポリシーページ下部の隠れ対策
============================================= */
@media screen and (max-width: 768px) {

  .shopify-policy__container {
    padding-bottom: 80x !important;
  }

  .shopify-policy__body {
    padding-bottom: 80px !important;
  }

}

@media screen and (max-width: 768px) {
  .guide-title-wrap {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .guide-title {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }
}

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

  .contents-body {
    padding-top: 0 !important;
    margin-top: 0 !important;
    min-height: auto !important;
  }

  .company-image {
    margin-top: 12px !important;
    padding-top: 0 !important;
  }

  .company-image img {
    display: block;
    margin: 0 auto;
  }

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

  .guide-title-wrap + hr {
    margin: 8px 0 16px !important;
  }

}

/* ========================================
   商品ページ：商品名・価格・数量まわり調整
======================================== */

/* 商品名をできるだけ1行にする */
.product__title h1 {
  white-space: nowrap;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
}

/* 「大源製薬株式会社」などの商品上テキストを非表示 */
.product__text {
  display: none !important;
}

/* 価格の下余白を詰める */
.product__info-container #price-template--16202532913216__main {
  margin-bottom: 0;
}

/* 税込・送料表記を整える */
.product__tax {
  margin-top: 2px !important;
  font-size: 13px;
  line-height: 1.5;
}

/* スマホ：価格は 3,960円（税込）、送料は次行 */
@media screen and (max-width: 768px) {
  .product__tax {
    display: block;
  }

  /* 価格と送料表記修正 */

  /* 価格下の余白を詰める */
  .price {
    margin-bottom: 0 !important;
  }

  /* 送料行だけを下に表示 */
  .product__tax {
    display: block !important;
    margin-top: 2px !important;
    font-size: 13px !important;
    line-height: 1.4;
  }

  /* 税込表記は非表示（価格側に既にあるため） */
  .product__tax .tax-note,
  .product__tax span:first-child {
    display: none !important;
  }

  .product__tax {
    font-size: 13px;
  }
}

/* 数量ラベルと数量ボタンを横並び */
.product-form__quantity {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-top: 10px !important;
  margin-bottom: 12px !important;
}

.product-form__quantity .quantity__label {
  margin: 0 !important;
  min-width: auto;
}

.product-form__quantity .price-per-item__container {
  margin: 0 !important;
}

/* PC：数量とカート追加ボタンを横並び */
@media screen and (min-width: 769px) {
  .product__info-container {
    position: relative;
  }

  .product-form__quantity {
    width: 150px;
  }

  product-form.product-form {
    margin-top: -72px;
    margin-left: 170px;
  }

  product-form.product-form .product-form__buttons {
    max-width: 320px;
  }
}

.custom-price-with-tax{
  display:flex;
  align-items:baseline;
  gap:2px;
}

.custom-tax-inline{
  font-size:14px;
  white-space:nowrap;
}

.product__tax{
  margin-top:2px !important;
}

/* ========================================
   商品価格・送料表示
======================================== */

/* 価格＋税込 */
.custom-price-with-tax {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: flex-end !important;
  width: 100% !important;
}

/* （税込）を下付き風 */
.custom-tax-inline {
  font-size: 11px !important;
  position: relative;
  top: 3px;
  margin-left: 2px;
  color: #666;
}

/* 送料行全体 */
.product__tax.caption.rte {
  display: flex !important;
  justify-content: flex-end !important;
  width: 100% !important;
  margin-top: 2px !important;
  font-size: 12px !important;
  color: #666 !important;
}

/* 中のリンクまで右側に */
.product__tax.caption.rte * {
  text-align: right !important;
}

/* ========================================
   数量中央寄せ
======================================== */

.product-form__quantity {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: 100% !important;
}

.product-form__quantity .quantity__label {
  margin: 0 !important;
}

.product-form__quantity .price-per-item__container {
  margin: 0 !important;
}

/* 商品名中央寄せ */
.product__title {
  text-align: center !important;
}

.product__title h1 {
  text-align: center !important;
  width: 100%;
  margin: 0 auto 12px !important;
}

/* 長い商品名でも自然に */
.product__title a,
.product__title h2 {
  text-align: center !important;
}

/* ========================================
   商品ページ：商品名・価格・送料・購入エリア調整
======================================== */

/* 商品画像の下余白 */
.product__media-wrapper {
  margin-bottom: 8px !important;
}

/* 商品名 */
.product__title {
  text-align: center !important;
  margin-top: 0 !important;
  margin-bottom: 6px !important;
}

.product__title h1 {
  text-align: center !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

/* 価格＋税込 */
.custom-price-with-tax{
  display:block!important;
  width:100%!important;
  text-align:right!important;
  margin:0 0 4px!important;
}

.custom-price-with-tax .price,
.custom-price-with-tax .price__container,
.custom-price-with-tax .price__regular,
.custom-price-with-tax .price-item{
  display:inline!important;
  color:#222!important;
  font-size:22px!important;
  font-weight:700!important;
  line-height:1.2!important;
}

.custom-price-with-tax .price__sale,
.custom-price-with-tax .price__badge-sale,
.custom-price-with-tax .price__badge-sold-out{
  display:none!important;
}

.custom-tax-inline{
  display:inline!important;
  font-size:11px!important;
  color:#666!important;
  margin-left:3px!important;
}

/* 送料 */
.product__tax.caption.rte {
  display: flex !important;
  justify-content: flex-end !important;
  width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  font-size: 12px !important;
  color: #666 !important;
}

/* ========================================
   数量 + カート追加 + 今すぐ購入
======================================== */

.custom-purchase-area {
  display: grid !important;
  grid-template-columns: 118px 210px;
  grid-template-areas:
    "qty cart"
    "buy buy";
  column-gap: 8px;
  row-gap: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 4px;
  margin-bottom: 14px;
}

/* 数量 */
.custom-purchase-area .product-form__quantity {
  grid-area: qty;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin: 0 !important;
  width: 118px !important;
}

/* 数量ボックス */
.custom-purchase-area .quantity {
  width: 82px !important;
  min-height: 44px !important;
}

.custom-purchase-area .quantity__button {
  width: 26px !important;
}

.custom-purchase-area .quantity__input {
  width: 30px !important;
}

/* buy-buttonsの中身をgridに参加させる */
.custom-purchase-area .custom-buy-buttons,
.custom-purchase-area product-form,
.custom-purchase-area form,
.custom-purchase-area .custom-product-buttons {
  display: contents !important;
}

/* カートに追加 */
.custom-add-to-cart {
  grid-area: cart;
  width: 210px !important;
  min-width: 210px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  white-space: nowrap !important;
}

/* 今すぐ購入 / PayPal / Apple Pay / Google Pay */
.custom-dynamic-checkout {
  grid-area: buy;
  width: 100% !important;
}

.custom-dynamic-checkout .shopify-payment-button {
  width: 100% !important;
  margin: 0 !important;
}

/* ========================================
   スマホ：商品一覧カード調整
======================================== */
@media screen and (max-width:768px){
  .card__information{
    position:relative!important;
    min-height:78px!important;
    padding:6px 2px 34px!important;
  }

  .card__heading,
  .card__heading a{
    font-size:clamp(11px,3vw,14px)!important;
    line-height:1.25!important;
    font-weight:600!important;
    letter-spacing:0!important;
    margin:0!important;
  }

  .card__heading a{
    display:block!important;
    overflow:visible!important;
    white-space:normal!important;
  }

  .price{
    position:absolute!important;
    right:6px!important;
    bottom:8px!important;
    text-align:right!important;
    margin:0!important;
  }

  .price-item,
  .price-item--regular{
    font-size:30px!important;
    font-weight:700!important;
    letter-spacing:0!important;
  }
}
@media screen and (max-width:768px){
  .card-discount-price__sale{
    font-size:20px!important;
    font-weight:800!important;
  }

  .card-discount-price__regular{
    font-size:12px!important;
  }

  .card__heading,
  .card__heading a{
    font-size:20px!important;
    line-height:1.3!important;
  }
}

/* ========================================
   左右ボタン統一（完成版）
   ・ロゴは変更しない
   ・カテゴリごとに色分け
   ・選択時は少し濃く
   ・ホバーで浮く
   ・文字白化しない
   ・黒枠完全削除
======================================== */


/* ========================================
   ロゴ固定
======================================== */

.custom-left .custom-logo,
.custom-left .custom-logo a,
.custom-left .custom-logo img{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  transform:none !important;
  border-radius:0 !important;
}



/* ========================================
   左ボタン共通
======================================== */

.custom-left .nav-btn{

  border-radius:50% !important;

  color:#333 !important;
  text-decoration:none;

  border:1px solid #ece6df;

  box-shadow:
  0 6px 16px rgba(0,0,0,.10),
  inset 0 2px 5px rgba(255,255,255,.9);

  transition:
  transform .25s ease,
  box-shadow .25s ease,
  background .25s ease;
}



/* ========================================
   左ボタン 通常色
======================================== */

.custom-left .nav-btn[data-panel="home"]{
background:linear-gradient(#fff,#f7f3ff)!important;
}

.custom-left .nav-btn[data-panel="mizumushi"]{
background:linear-gradient(#fff,#eef7ff)!important;
}

.custom-left .nav-btn[data-panel="footcare"]{
background:linear-gradient(#fff,#eefaf1)!important;
}

.custom-left .nav-btn[data-panel="nailcare"]{
background:linear-gradient(#fff,#fff1f7)!important;
}

.custom-left .nav-btn[data-panel="all_products"]{
background:linear-gradient(#fff,#fff8ec)!important;
}



/* ========================================
   左ボタン 選択時
======================================== */

.custom-left .nav-btn[data-panel="home"].active{
background:linear-gradient(#faf8ff,#eee8ff)!important;
}

.custom-left .nav-btn[data-panel="mizumushi"].active{
background:linear-gradient(#dff0ff,#bfe2ff)!important;
}

.custom-left .nav-btn[data-panel="footcare"].active{
background:linear-gradient(#def6e5,#c6ebd1)!important;
}

.custom-left .nav-btn[data-panel="nailcare"].active{
background:linear-gradient(#ffe2ef,#ffd0e5)!important;
}

.custom-left .nav-btn[data-panel="all_products"].active{
background:linear-gradient(#ffeccc,#ffe0a8)!important;
}



/* ========================================
   左ボタン ホバー
======================================== */

.custom-left .nav-btn:hover{

transform:
translateY(-4px)
scale(1.04);

}

.custom-left .nav-btn:hover,
.custom-left .nav-btn:hover *{

color:#333 !important;

}



/* ========================================
   右ボタン共通
======================================== */

.custom-right .action-btn{

border-radius:50%!important;

color:#333!important;

border:1px solid #ece6df;

box-shadow:
0 6px 16px rgba(0,0,0,.10),
inset 0 2px 5px rgba(255,255,255,.9);

transition:
transform .25s ease,
box-shadow .25s ease,
background .25s ease;

}



/* ========================================
   ホーム右ボタン
======================================== */

#panel-home .action-btn:nth-child(1){
background:linear-gradient(#fff,#fff8e7)!important;
}

#panel-home .action-btn:nth-child(2){
background:linear-gradient(#fff,#eef7ff)!important;
}

#panel-home .action-btn:nth-child(3){
background:linear-gradient(#fff,#fff2f7)!important;
}

#panel-home .action-btn:nth-child(4){
background:linear-gradient(#fff,#f5f2ff)!important;
}



/* ========================================
   水虫右ボタン
======================================== */

#panel-mizumushi .action-btn{
background:linear-gradient(#fff,#eef7ff)!important;
}


/* ========================================
   フットケア右ボタン
======================================== */

#panel-footcare .action-btn{
background:linear-gradient(#fff,#eefaf1)!important;
}


/* ========================================
   ネイルケア右ボタン
======================================== */

#panel-nailcare .action-btn{
background:linear-gradient(#fff,#fff1f7)!important;
}



/* ========================================
   右ボタン ホバー
======================================== */

.custom-right .action-btn:hover{

transform:
translateY(-4px)
scale(1.04);

}

.custom-right .action-btn:hover,
.custom-right .action-btn:hover *{

color:#333!important;

}



/* ========================================
   黒枠完全削除
======================================== */

.custom-left .nav-btn,
.custom-left .nav-btn:hover,
.custom-left .nav-btn:focus,
.custom-left .nav-btn:active,
.custom-left .nav-btn:focus-visible,

.custom-right .action-btn,
.custom-right .action-btn:hover,
.custom-right .action-btn:focus,
.custom-right .action-btn:active,
.custom-right .action-btn:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  border-color: transparent !important;
}


/* Shopify側疑似要素対策 */

.custom-right .action-btn::before,
.custom-right .action-btn::after,
.custom-right .action-btn:focus::before,
.custom-right .action-btn:focus::after,
.custom-right .action-btn:focus-visible::before,
.custom-right .action-btn:focus-visible::after{

outline:none !important;
box-shadow:none !important;
border-color:transparent !important;

}

/* ========================================
   商品一覧カード調整
======================================== */

/* 商品カード全体 */
.card-wrapper {
  height: 100%;
}

/* 商品カード内を縦並びにする */
.card__content {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  padding: 14px 16px 16px !important;
}

/* 商品名 */
.card__heading,
.card__heading a {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  color: #333 !important;
  text-decoration: none !important;
}

/* 価格を下に固定 */
.card-information {
  margin-top: auto !important;
}

/* 価格 */
.price,
.price-item {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  color: #333 !important;
}
.card-discount-price{
  display:flex;
  justify-content:flex-end;
  align-items:baseline;
  gap:6px;
  margin-top:4px;
}

.card-discount-price__sale{
  font-weight:700;
  font-size:18px;
}

.card-discount-price__regular{
  font-size:13px;
  color:#777;
}

/* ========================================
   スマホ：商品一覧カード調整
======================================== */
@media screen and (max-width:768px){

  /* 商品情報エリア */
  .card__information{
    position:relative !important;
    min-height:78px !important;
    padding:4px 2px 30px !important;
  }

  /* 商品名 */
  .card__heading,
  .card__heading a{
    font-size:clamp(13px,3.8vw,17px) !important;
    line-height:1.25 !important;
    font-weight:600 !important;
    letter-spacing:0 !important;
    margin:0 !important;
  }

  .card__heading a{
    display:block !important;
    white-space:normal !important;
    overflow:visible !important;
  }



  .price-item,
  .price-item--regular{
    font-size:16px !important;
    font-weight:700 !important;
    letter-spacing:0 !important;
  }
  .card-discount-price{
  display:flex;
  justify-content:flex-end;
  align-items:baseline;
  gap:6px;
  margin-top:auto;
  }

  .card-discount-price__sale{
    font-size:16px;
    font-weight:700;
  }

  .card-discount-price__regular{
    font-size:12px;
    color:#777;
  }

}

/* ========================================
   カート画面
======================================== */
.discounts.list-unstyled { display: none !important; }

/* 数量：inputの数字を見えるように */
.quantity__input {
  min-width: 3rem !important;
  width: 3rem !important;
  text-align: center !important;
  opacity: 1 !important;
  color: inherit !important;
}

/* スマホ：詳細列の幅を制限してtotalを右端に収める */
@media screen and (max-width: 749px) {
  .cart-item-card__details {
    max-width: calc(100vw - 72px - 80px - 30px) !important;
    overflow: hidden !important;
  }

  .cart-item-card__total {
    min-width: 80px !important;
    max-width: 80px !important;
    min-height: 50px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  .cart-item-card__total .cart-item__price-wrapper {
    display: block !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  .cart-item-card__total .cart-item__discounted-prices {
    display: block !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  .cart-item-card__total dd,
  .cart-item-card__total .price,
  .cart-item-card__total .price--end {
    display: block !important;
    position: static !important;
    transform: none !important;
    height: auto !important;
    width: auto !important;
    overflow: visible !important;
    line-height: 1.4 !important;
  }
}

}

.product-main-title {
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}


.product-direct-regular-price{
  font-size:14px!important;
  color:#777!important;
  margin-left:6px!important;
}

/* タブレット・PC版の商品名 */
@media screen and (min-width: 750px) {

  .product__title,
  .product__title h1,
  .product__title h2,
  .product-main-title,
  .product__title .h1 {
    text-align: left !important;
    text-align-last: left !important;
  }

  .product-main-title,
  .product__title .h1 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: auto !important;

    font-size: clamp(18px, 1.6vw, 28px) !important;
    line-height: 1.35 !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-wrap: auto !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

}