.fs-trial-header { display: none; }

:root {

  /* ========== カートボタン色：テキスト・背景・線 ========== */
  --qfsd-original-cartButton-color__text: #ffffff;
  --qfsd-original-cartButton-color__background: #9b190a;
  --qfsd-original-cartButton-color__border: #9b190a;

  /* ========== 定期・カートボタン色：テキスト・背景・線 ========== */
  --qfsd-original-subscription-cartButton-color__text: #ffffff;
  --qfsd-original-subscription-cartButton-color__background: #0e656c;
  --qfsd-original-subscription-cartButton-color__border: #0e656c;

  /* ========== セール価格（定価設定ありの販売価格）：テキスト色 ========== */
  --qfsd-original-price-color--sale: #fa5171;

  /* ========== 商品ページ：文字サイズ ========== */
  /* --qfsd-original-product-font-size: 15px; */

  /* ========== 商品説明：文字サイズ ========== */
  --qfsd-original-product-description-font-size: 1.4rem;

  /* ========== 商品ページ仕様表：文字サイズ・線色・見出しテキスト色・見出し背景色 ========== */
  /* --qfsd-original-product-spec-table-font-size: 15px; */
  /* --qfsd-original-product-spec-table-border-color: #cccccc; */
  /* --qfsd-original-product-spec-table-head-color: #ffffff; */
  /* --qfsd-original-product-spec-table-head-color__background: #000000; */

  /* ========== パンくずリスト：文字サイズ・テキスト色・背景色・区切り文字 ========== */
  /* --qfsd-original-breadcrumb-font-size: 12px; */
  /* --qfsd-original-breadcrumb-color__text: #ffffff; */
  /* --qfsd-original-breadcrumb-color__background: #000000; */
  /* --qfsd-original-breadcrumb-separator: "/"; */

  /* ========== 検索結果ページ：絞り込みボタン文字色・背景色（スマートフォン表示） ========== */
  /* --qfsd-original-search-filter-btn-color__text: #ffffff; */
  /* --qfsd-original-search-filter-btn-color__background: #000000; */

  /* ========== 検索結果ページ：絞り込みウィンドウ背景色（スマートフォン表示） ========== */
  /* --qfsd-original-search-overlay-color-background: rgba(255, 255, 255, 0.5); */
}



/*
 * その他カスタマイズ
------------------------------------------------*/
:root {
  --qfsd-header-bottom-height: 5px !important;
}
.fs-preview-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  margin: auto;
}

.qfsd-header {
  --qfsd-header-color-foreground: var(--qfsd-color-subcolor1__font);
  --qfsd-header-color-background: var(--qfsd-color-subcolor1);
}
.qfsd-header__bottom {
  background-color: var(--fs-color-maincolor);
}
.qfsd-header-nav .fs-pt-menu--lv2 {
  border-top: solid var(--qfsd-header-bottom-height) var(--fs-color-maincolor);
}
.qfsd-header-menu {
  --qfsd-header-color-foreground: var(--fs-color-maincolor__font);
  --qfsd-header-color-background: var(--fs-color-maincolor);
}

.qfsd-footer {
  --qfsd-footer-color-foreground: var(--qfsd-color-maincolor__font);
  --qfsd-footer-color-background: var(--qfsd-color-maincolor);
}
.qfsd-footer__main__group.qfsd-footer__main__group-1 {
  color: var(--qfsd-color-subcolor1__font, #ffffff);
  background: var(--qfsd-color-subcolor1, #004b86);
}

.jd-hasRecommend .qfsd-home-section-title {
  color: #134c87;
}
.qfsd-home-section.jd-hasNews {
  color: inherit;
  background: #97b6d3;
}

.fs-c-subSection__title, .fs-c-linkedServiceLogin__title {
  color: inherit;
}

.fs-c-accountService__page:not(.fs-c-accountService__page--accountDelete) .fs-c-accountService__pageLink__label::before {
  color: inherit;
}



/* ===== JetDrug Footer Branding Only ===== */

#qfsd-footer .qfsd-footer__brand {
  margin-bottom: 30px;
}

#qfsd-footer .qfsd-footer__logo {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

#qfsd-footer .qfsd-footer__desc {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.6;
}

/* PCだけ3カラムに軽く整える */
@media (min-width: 768px) {
  #qfsd-footer .qfsd-footer-menu {
    display: inline-block;
    width: 32%;
    vertical-align: top;
    margin-right: 2%;
  }
  #qfsd-footer .qfsd-footer-menu:last-of-type {
    margin-right: 0;
  }
}

/* ===== JetDrug Minimal Footer ===== */

.jet-footer-minimal {
  background: #f4f6f8;
  color: #2c3e50;
  padding: 60px 0 30px;
  border-top: 1px solid #e1e6eb;
}

.jet-footer-top {
  margin-bottom: 40px;
}

.jet-footer-brand {
  max-width: 400px;
}

.jet-footer-logo {
  width: 160px;
  margin-bottom: 15px;
}

.jet-footer-desc {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.85;
}

.jet-footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.jet-footer-grid .qfsd-footer-menu {
  flex: 1;
  min-width: 200px;
}

.jet-footer-grid a {
  color: #2c3e50;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.85;
}

.jet-footer-grid a:hover {
  opacity: 1;
  color: #ff7a00;
}

.jet-footer-bottom {
  border-top: 1px solid #dde3ea;
  padding-top: 20px;
  font-size: 12px;
  opacity: 0.7;
}

/* ===== JetDrug Footer Final Polish ===== */

.jet-footer-minimal {
  padding-top: 70px; /* 少し余裕を出す */
}

.jet-footer-logo {
  width: 190px;              /* 少し大きく */
  margin-bottom: 18px;
  transition: opacity .3s ease;
}

.jet-footer-logo:hover {
  opacity: 0.8;
}

.qfsd-footer-menu__head {
  font-weight: 600;          /* 見出しを少し強く */
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.jet-footer-grid {
  gap: 50px;                 /* カラム間を少し広げる */
}

.jet-footer-grid ul {
  padding-left: 0;
  list-style: none;          /* 黒丸を消す */
}

.jet-footer-grid li {
  margin-bottom: 8px;
}

.jet-footer-grid a {
  font-size: 14px;
  transition: color .2s ease, opacity .2s ease;
}

.jet-footer-grid a:hover {
  color: #ff7a00;            /* JetDrugアクセント */
}

.jet-footer-bottom {
  text-align: center;        /* センター寄せ */
  margin-top: 30px;
}

.jet-footer-bottom p {
  font-size: 12px;
  opacity: 0.6;
}



/* ===== JetDrug Trust Block ===== */

.jet-trust-block {
  background: #ffffff;
  padding: 70px 0;
  border-top: 1px solid #e6ebf0;
  border-bottom: 1px solid #e6ebf0;
}

.jet-trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.jet-trust-item {
  flex: 1;
  min-width: 220px;
  text-align: center;
}

.jet-trust-icon {
  font-size: 28px;
  margin-bottom: 15px;
  color: #ff7a00;
}

.jet-trust-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.jet-trust-item p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

/* ===== JetDrug Trust Block Pro ===== */

.jet-trust-block {
  background: #ffffff;
  padding: 80px 0;
  border-top: 1px solid #e6ebf0;
  border-bottom: 1px solid #e6ebf0;
}

.jet-trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
}

.jet-trust-item {
  flex: 1;
  min-width: 220px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.jet-trust-item:hover {
  transform: translateY(-6px);
}

.jet-trust-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #f2f5f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ff7a00;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}

.jet-trust-item:hover .jet-trust-icon {
  background: #ff7a00;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.jet-trust-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.jet-trust-item p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.8;
  max-width: 260px;
  margin: 0 auto;
}

/* ===== JetDrug Trust Block Final Tuning ===== */

.jet-trust-block {
  background: #f8fafc; /* 少し明るく */
  padding: 90px 0;
}

.jet-trust-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
}

.jet-trust-item p {
  font-size: 14px;
  opacity: 0.75;
}

.jet-trust-icon {
  width: 72px;
  height: 72px;
  font-size: 22px;
  background: #eef2f6;
}

.jet-trust-item:hover .jet-trust-icon {
  background: #ff7a00;
  transform: scale(1.05);
}


/* ===== Guide TOC ===== */

.guide-toc {
  background: #f8fafc;
  padding: 25px;
  border: 1px solid #e6ebf0;
  margin-bottom: 40px;
}

.guide-toc-title {
  font-weight: 700;
  margin-bottom: 15px;
}

.guide-toc ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
}

.guide-toc a {
  text-decoration: none;
  font-size: 14px;
  color: #2c3e50;
}

.guide-toc a:hover {
  color: #ff7a00;
}

.fs-c-documentArticle__heading {
  margin-bottom: 25px;
}

/* ===== Guide Button Force Style ===== */

.fs-c-documentArticle a.guide-link-btn {
  display: inline-block !important;
  padding: 10px 20px !important;
  border: 1px solid #2c3e50 !important;
  background: #ffffff !important;
  color: #2c3e50 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  transition: all .2s ease !important;
}

.fs-c-documentArticle a.guide-link-btn:hover {
  background: #2c3e50 !important;
  color: #ffffff !important;
}

/* ===== Guide Button Final Polish ===== */

.fs-c-documentArticle .guide-link-btn {
  border: 1px solid #2c3e50 !important;
  background: transparent !important;
}

.fs-c-documentArticle .guide-link-btn:hover {
  background: #2c3e50 !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* ===== Guide Button Force Override FINAL ===== */

article.fs-c-documentArticle a.guide-link-btn {
  background: transparent !important;
  color: #2c3e50 !important;
  border: 1px solid #2c3e50 !important;
  padding: 14px 32px !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  transition: all .25s ease !important;
  text-align: left; /* centerにもできる */
}

article.fs-c-documentArticle a.guide-link-btn:hover {
  background: #ff7a00 !important;
  border-color: #ff7a00 !important;
  color: #ffffff !important;
  transform: translateY(-3px);
}

.fs-c-documentArticle p:has(.guide-link-btn) {
  text-align: left; /* centerにもできる */
}

.guide-btn-wrap {
  margin-top: 30px;
  text-align: center;
}

.guide-link-btn {
  min-width: 200px;
}

/* ===== Guide Button Premium Finish ===== */

.guide-btn-wrap {
  margin-top: 35px;
  text-align: center;
}

article.fs-c-documentArticle a.guide-link-btn {
  background: #2c3e50 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 14px 40px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  letter-spacing: 0.05em;
  transition: all .25s ease !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

article.fs-c-documentArticle a.guide-link-btn:hover {
  background: #ff7a00 !important;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

article.fs-c-documentArticle a.guide-link-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 40px !important;
  background: #2c3e50 !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  text-align: center !important;
  font-weight: 600 !important;
}

article.fs-c-documentArticle a.guide-link-btn {
  font-weight: 700 !important;
}

article.fs-c-documentArticle a.guide-link-btn:hover {
  background: #ff7a00 !important;
}

/* ===== Return Policy Styling ===== */

.fs-c-documentArticle h3 {
  margin-top: 30px;
  font-size: 16px;
  font-weight: 700;
}

.guide-note-box {
  background: #f8fafc;
  padding: 18px;
  border-left: 4px solid #ff7a00;
  margin-top: 20px;
  font-size: 14px;
}

/* ===== Point Page Redesign ===== */

.point-hero {
  background: #f8fafc;
  padding: 50px 40px;
  text-align: center;
  margin-bottom: 50px;
  border: 1px solid #e6ebf0;
}

.point-hero h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.point-hero-sub {
  font-size: 16px;
  margin-bottom: 25px;
}

.point-highlight {
  font-size: 18px;
  font-weight: 700;
  background: #ff7a00;
  color: #fff;
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
}

.point-highlight strong {
  font-size: 22px;
}

.fs-c-documentArticle h3 {
  margin-top: 40px;
  font-size: 18px;
  font-weight: 700;
}

.point-highlight strong {
  font-size: 22px;
}

.point-note {
  background: #f4f6f8;
  padding: 20px;
  margin-top: 40px;
  font-size: 14px;
  border-left: 4px solid #ff7a00;
}

.point-big {
  font-size: 42px;
  font-weight: 800;
  color: #ff7a00;
}

.point-hero {
  background: #f8fafc;
  padding: 60px 40px;
  text-align: center;
  margin-bottom: 60px;
  border: 1px solid #e6ebf0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

/* ===== Point Button Hover Fix ===== */

a.point-highlight {
  display: inline-block !important;
  transition: all .25s ease !important;
}

a.point-highlight:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.15) !important;
}

.member-box {
  background: #f8fafc;
  padding: 30px;
  margin-top: 20px;
  border: 1px solid #e6ebf0;
}

/* ===== Coupon Section ===== */

.coupon-hero {
  background: #f8fafc;
  padding: 35px;
  margin-bottom: 40px;
  border: 1px solid #e6ebf0;
  text-align: center;
}

.coupon-hero h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.coupon-hero p {
  margin-bottom: 20px;
}

/* ===== Contact Section ===== */

.contact-box {
  background: #f8fafc;
  padding: 40px;
  border: 1px solid #e6ebf0;
}

.contact-divider {
  margin: 40px 0;
  border: none;
  border-top: 1px solid #e6ebf0;
}

.contact-small {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 10px;
}

/* ===== Guide Section Rhythm ===== */

.fs-c-documentArticle {
  padding: 70px 0;
}

.fs-c-documentArticle:nth-of-type(even) {
  background: #f8fafc;
}

.fs-c-documentArticle:nth-of-type(odd) {
  background: #ffffff;
}

.fs-c-documentArticle__heading {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 35px;
  letter-spacing: 0.04em;
}

.fs-c-documentArticle h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
}

.fs-c-documentArticle__content {
  max-width: 900px;
  margin: 0 auto;
}

.fs-c-documentArticle ul {
  margin-bottom: 20px;
}

.fs-c-documentArticle h3 {
  margin-top: 45px;
}

/* ===== Medicine Info Small Photos ===== */

.medicine-photo-small img {
  max-width: 180px;
  height: auto;
  border: 1px solid #dcdcdc;
  margin-right: 15px;
  margin-bottom: 15px;
}


/* ===== About points ===== */

.fs-c-documentArticle h1 {
  font-size: 26px;
  margin-bottom: 40px;
}

.fs-c-documentArticle h2 {
  font-size: 18px;
  margin-top: 35px;
  margin-bottom: 10px;
}

.fs-c-documentArticle__content p {
  line-height: 1.8;
}


.guide-detail-link {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.8;
}

.guide-detail-link a {
  text-decoration: underline;
}

.otc-hero {
  background: #f8fafc;
  border: 1px solid #e6ebf0;
  padding: 28px 28px;
  margin: 24px 0 36px;
}


.otc-type-grid {
  display: grid;
  gap: 24px;
  margin-top: 20px;
}

.otc-type-card {
  padding: 24px;
  border: 1px solid #e6ebf0;
  background: #f8fafc;
}

.otc-type-card h3 {
  margin-bottom: 10px;
}


.otc-hero {
  background: #f8fafc;
  border-left: 4px solid #2c3e50;
  padding: 28px;
  margin: 30px 0 40px;
}

.fs-c-documentArticle ol {
  padding-left: 20px;
}

.fs-c-documentArticle ol li {
  margin-bottom: 12px;
}


.fs-c-documentArticle ol li {
  font-weight: 500;
}


.fs-c-documentArticle ul {
  border-left: 3px solid #e6ebf0;
  padding-left: 15px;
}


.otc-type-card {
  border: 1px solid #e6ebf0;
  background: #ffffff;
}


.otc-type-card h3 {
  font-weight: 600;
}

/* =========================
   Contact Form
========================= */

form[name="form1"]{
  max-width:860px;
  margin:40px auto;
  font-size:14px;
  line-height:1.7;
}

/* タイトル */

form[name="form1"] h1{
  font-size:24px;
  margin-bottom:20px;
}

/* 必須説明 */

form[name="form1"] p{
  margin-bottom:8px;
}

/* 入力ブロック */

form[name="form1"] p + p{
  margin-bottom:24px;
}

/* 入力欄 */

form[name="form1"] input[type="text"],
form[name="form1"] textarea,
form[name="form1"] select{
  width:100%;
  padding:10px 12px;
  border:1px solid #d8dde3;
  border-radius:4px;
  font-size:14px;
  box-sizing:border-box;
}

/* 名前の横並び */

form[name="form1"] input[name="field_50455_sei"],
form[name="form1"] input[name="field_50455_mei"],
form[name="form1"] input[name="field_50463_sei"],
form[name="form1"] input[name="field_50463_mei"]{
  width:48%;
}

/* 電話番号 */

form[name="form1"] input[name="field_50460_1"],
form[name="form1"] input[name="field_50460_2"],
form[name="form1"] input[name="field_50460_3"]{
  width:80px;
}

/* テキストエリア */

form[name="form1"] textarea{
  min-height:140px;
  resize:vertical;
}

/* プルダウン */

form[name="form1"] select{
  height:42px;
}

/* 送信ボタン */

form[name="form1"] input[type="submit"]{
  background:#ff7a00;
  color:#fff;
  border:none;
  padding:12px 28px;
  border-radius:4px;
  cursor:pointer;
  margin-top:20px;
  transition:all .2s ease;
}

form[name="form1"] input[type="submit"]:hover{
  background:#2c3e50;
}

/* ===== Contact Form Layout ===== */

.contact-form{
  max-width:900px;
  width:90%;
  margin:60px auto;
}

.contact-title{
  font-size:26px;
  margin-bottom:20px;
}

.contact-note{
  background:#f7f9fb;
  border-left:4px solid #ff7a00;
  padding:16px;
  margin-bottom:30px;
  font-size:14px;
}

/* フォームブロック */

.form-group{
  margin-bottom:26px;
}

/* ラベル */

.form-group label{
  display:block;
  font-weight:600;
  margin-bottom:6px;
}

/* 入力欄 */

.contact-form input,
.contact-form textarea,
.contact-form select{
  width:100%;
  padding:12px 14px;
  border:1px solid #d8dde3;
  border-radius:4px;
  font-size:15px;
  box-sizing:border-box;
}

/* 名前 */

.form-row{
  display:flex;
  gap:12px;
}

.form-row input{
  flex:1;
}

/* 電話番号 */

.form-row.phone input{
  width:90px;
}

/* テキストエリア */

.contact-form textarea{
  min-height:150px;
}

/* ボタン */

.form-submit{
  margin-top:30px;
}

.form-submit input{
  background:#ff7a00;
  color:#fff;
  border:none;
  padding:14px 32px;
  border-radius:4px;
  font-size:15px;
  cursor:pointer;
}

.form-submit input:hover{
  background:#2c3e50;
}

/* お問い合わせページだけ幅を広げる */

.fs-p-contact .qfsd-container{
  max-width:1100px !important;
}

.fs-p-contact .contact-form{
  max-width:900px;
  margin:60px auto;
}

/* フォーム幅強制 */

.contact-form{
  width:90% !important;
  max-width:900px !important;
  margin:60px auto !important;
}

/* フォーム全体 */

.contact-form-wrap{
  max-width:1000px;
  margin:0 auto;
}

.contact-form{
  max-width:900px;
  margin:50px auto;
}

/* タイトル */

.contact-title{
  font-size:24px;
  margin-bottom:20px;
}

/* 注意 */

.contact-note{
  background:#f7f9fb;
  border-left:4px solid #ff7a00;
  padding:14px;
  margin-bottom:30px;
}

/* グループ */

.form-group{
  margin-bottom:24px;
}

.form-group label{
  display:block;
  font-weight:600;
  margin-bottom:8px;
}

/* 入力 */

.contact-form input,
.contact-form textarea,
.contact-form select{
  width:100%;
  padding:12px;
  border:1px solid #d8dde3;
  border-radius:4px;
  font-size:14px;
}

/* 横並び */

.form-row{
  display:flex;
  gap:12px;
}

.form-row input{
  flex:1;
}

/* 電話 */

.phone input{
  width:90px;
}

/* textarea */

.contact-form textarea{
  min-height:140px;
}

/* ボタン */

.form-submit{
  margin-top:30px;
}

.form-submit input{
  background:#ff7a00;
  color:#fff;
  border:none;
  padding:12px 30px;
  border-radius:4px;
  cursor:pointer;
}

.form-submit input:hover{
  background:#2c3e50;
}

/* 安心訴求アイコン：画像版サイズ調整 */
.jet-trust-block .jet-trust-icon {
  width: 156px;
  height: 156px;
  margin: 0 auto 18px;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  font-size: 0;
  box-shadow: none;
  transition: none;
}

.jet-trust-block .jet-trust-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jet-trust-block .jet-trust-item:hover .jet-trust-icon {
  background: transparent;
  color: inherit;
  box-shadow: none;
  transform: none;
}

@media screen and (max-width: 520px) {
  .jet-trust-block .jet-trust-icon {
    width: 96px;
    height: 96px;
    margin-bottom: 14px;
  }
}

.jet-trust-head {
  text-align: center;
  margin-bottom: 32px;
}

.jet-trust-head h2 {
  margin: 0;
  color: #003f8f;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
}

@media screen and (max-width: 520px) {
  .jet-trust-head h2 {
    font-size: 18px;
  }
}

/* 安心訴求エリア：見出し・余白 最終調整 */
.jet-trust-block {
  padding: 64px 0 58px;
  background: #f6f9fc;
  border-top: 1px solid #e3edf7;
  border-bottom: 1px solid #e3edf7;
}

.jet-trust-head {
  text-align: center;
  margin: 0 0 34px;
}

.jet-trust-head h2 {
  margin: 0;
  color: #003f8f;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.jet-trust-grid {
  align-items: flex-start;
}

.jet-trust-item {
  text-align: center;
}

.jet-trust-item h4 {
  margin: 0 0 12px;
  color: #003f8f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.jet-trust-item p {
  margin: 0;
  color: #444;
  font-size: 13px;
  line-height: 1.8;
}

@media screen and (max-width: 900px) {
  .jet-trust-block {
    padding: 52px 0 48px;
  }

  .jet-trust-head {
    margin-bottom: 28px;
  }

  .jet-trust-head h2 {
    font-size: 21px;
  }
}

@media screen and (max-width: 520px) {
  .jet-trust-block {
    padding: 42px 0 38px;
  }

  .jet-trust-head {
    padding: 0 18px;
    margin-bottom: 24px;
  }

  .jet-trust-head h2 {
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0;
  }

  .jet-trust-item h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .jet-trust-item p {
    font-size: 12px;
    line-height: 1.7;
  }
}

/* 安心訴求エリア：スマホ中央寄せ補正 */
@media screen and (max-width: 520px) {
  .jet-trust-block {
    padding: 42px 0 38px;
    overflow: hidden;
  }

  .jet-trust-block .qfsd-container {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .jet-trust-head {
    text-align: center;
    margin: 0 auto 30px;
  }

  .jet-trust-head h2 {
    text-align: center;
    font-size: 18px;
    line-height: 1.65;
  }

  .jet-trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    width: 100%;
    margin: 0 auto;
  }

  .jet-trust-item {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    box-sizing: border-box;
  }

  .jet-trust-block .jet-trust-icon {
    width: 104px;
    height: 104px;
    margin: 0 auto 14px;
  }

  .jet-trust-item h4 {
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 9px;
  }

  .jet-trust-item p {
    text-align: center;
    font-size: 13px;
    line-height: 1.75;
    margin: 0 auto;
    max-width: 300px;
  }
}

/* フッター：LINE公式アカウント導線 */
.jet-footer-line {
  margin-top: 18px;
}

.jet-footer-line__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 440px;
  padding: 12px 16px;
  border: 1px solid #d7ead0;
  border-radius: 12px;
  background: #f7fff4;
  color: #222;
  text-decoration: none;
  box-sizing: border-box;
  transition: 0.2s ease;
}

.jet-footer-line__link:hover {
  border-color: #06c755;
  background: #f0fff0;
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.10);
}

.jet-footer-line__icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jet-footer-line__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jet-footer-line__text {
  display: block;
  min-width: 0;
  flex: 1;
}

.jet-footer-line__text strong {
  display: block;
  margin-bottom: 2px;
  color: #008f3a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.jet-footer-line__text span {
  display: block;
  color: #444;
  font-size: 12px;
  line-height: 1.5;
}

.jet-footer-line__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

@media screen and (max-width: 520px) {
  .jet-footer-line {
    margin-top: 16px;
  }

  .jet-footer-line__link {
    display: flex;
    width: 100%;
    max-width: none;
    padding: 12px 13px;
    gap: 10px;
  }

  .jet-footer-line__icon {
    width: 34px;
    height: 34px;
  }

  .jet-footer-line__text strong {
    font-size: 13px;
  }

  .jet-footer-line__text span {
    font-size: 11.5px;
  }

  .jet-footer-line__button {
    padding: 6px 10px;
    font-size: 11.5px;
  }
}


/* フッター：LINE導線とメニューの間隔調整 */
.jet-footer-line {
  margin-top: 24px;
  margin-bottom: 60px;
}

.jet-footer-grid {
  margin-top: 0;
}

@media screen and (max-width: 520px) {
  .jet-footer-line {
    margin-top: 20px;
    margin-bottom: 38px;
  }

  .jet-footer-grid {
    margin-top: 0;
  }
}

/* 商品一覧：キャッチコピー・商品名・価格の視認性調整 */
.fs-c-productListItem .fs-c-productName__copy {
  display: block;
  margin: 0 0 5px;
  color: #666;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.fs-c-productListItem .fs-c-productName__name {
  display: block;
  margin: 0 0 8px;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.fs-c-productListItem .fs-c-productPrices {
  margin-top: 8px;
}

.fs-c-productListItem .fs-c-productPrice {
  display: block;
  color: #111;
  font-weight: 700;
  line-height: 1.35;
}

.fs-c-productListItem .fs-c-productPrice__main__label {
  display: block;
  margin-bottom: 2px;
  color: #666;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.fs-c-productListItem .fs-c-productPrice__main__price {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  color: #111;
  font-weight: 800;
  line-height: 1.2;
}

.fs-c-productListItem .fs-c-price__currencyMark {
  font-size: 14px;
  font-weight: 700;
}

.fs-c-productListItem .fs-c-price__value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.fs-c-productListItem .fs-c-productPrice__addon {
  display: inline-block;
  margin-left: 2px;
  color: #555;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

/* スマホ：商品一覧の文字サイズ調整 */
@media screen and (max-width: 520px) {
  .fs-c-productListItem .fs-c-productName__copy {
    font-size: 11.5px;
    line-height: 1.45;
    margin-bottom: 4px;
  }

  .fs-c-productListItem .fs-c-productName__name {
    font-size: 13.5px;
    line-height: 1.45;
    margin-bottom: 7px;
  }

  .fs-c-productListItem .fs-c-productPrice__main__label {
    font-size: 11.5px;
  }

  .fs-c-productListItem .fs-c-price__currencyMark {
    font-size: 12.5px;
  }

  .fs-c-productListItem .fs-c-price__value {
    font-size: 17px;
  }

  .fs-c-productListItem .fs-c-productPrice__addon {
    font-size: 11.5px;
  }
}

/* 商品一覧：テキスト幅・折り返し・価格改行の調整 */
.fs-c-productListItem {
  box-sizing: border-box;
  padding-left: 14px;
  padding-right: 14px;
}

.fs-c-productListItem .fs-c-productName {
  max-width: 100%;
  box-sizing: border-box;
}

/* キャッチコピー：最大2行で抑える */
.fs-c-productListItem .fs-c-productName__copy {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  color: #666;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
}

/* 商品名：最大3行で抑える */
.fs-c-productListItem .fs-c-productName__name {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  word-break: break-all;
}

/* 価格まわり */
.fs-c-productListItem .fs-c-productPrices {
  margin-top: 10px;
}

.fs-c-productListItem .fs-c-productPrice__main {
  display: block;
}

.fs-c-productListItem .fs-c-productPrice__main__label {
  display: block;
  margin-bottom: 2px;
  color: #666;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

/* 金額と税込を横並びで維持 */
.fs-c-productListItem .fs-c-productPrice__main__price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  color: #111;
  font-weight: 800;
  line-height: 1.2;
}

.fs-c-productListItem .fs-c-price__currencyMark {
  font-size: 14px;
  font-weight: 700;
}

.fs-c-productListItem .fs-c-price__value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* 税込表記を改行させない */
.fs-c-productListItem .fs-c-productPrice__addon {
  display: inline-flex;
  align-items: baseline;
  margin-left: 4px;
  color: #555;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}

.fs-c-productListItem .fs-c-productPrice__addon__label {
  white-space: nowrap;
}

/* PC：商品間の余白を少し確保 */
.fs-c-productList {
  column-gap: 28px;
  row-gap: 42px;
}

/* スマホ調整 */
@media screen and (max-width: 520px) {
  .fs-c-productListItem {
    padding-left: 8px;
    padding-right: 8px;
  }

  .fs-c-productListItem .fs-c-productName__copy {
    font-size: 11.5px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
  }

  .fs-c-productListItem .fs-c-productName__name {
    font-size: 13.5px;
    line-height: 1.45;
    -webkit-line-clamp: 3;
  }

  .fs-c-productListItem .fs-c-price__currencyMark {
    font-size: 12.5px;
  }

  .fs-c-productListItem .fs-c-price__value {
    font-size: 17px;
  }

  .fs-c-productListItem .fs-c-productPrice__addon {
    font-size: 11.5px;
    margin-left: 3px;
  }
}

/* 商品一覧：価格と税込を同じ行に表示 */
.fs-c-productListItem .fs-c-productPrice__main {
  display: block;
}

.fs-c-productListItem .fs-c-productPrice__main__label {
  display: block;
  margin-bottom: 3px;
  color: #666;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.fs-c-productListItem .fs-c-productPrice__main__price,
.fs-c-productListItem .fs-c-productPrice__addon {
  display: inline-flex;
  align-items: baseline;
  vertical-align: baseline;
}

.fs-c-productListItem .fs-c-productPrice__main__price {
  white-space: nowrap;
}

.fs-c-productListItem .fs-c-productPrice__addon {
  margin-left: 4px;
  color: #555;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}

.fs-c-productListItem .fs-c-productPrice__addon::before {
  content: "（";
}

.fs-c-productListItem .fs-c-productPrice__addon::after {
  content: "）";
}

.fs-c-productListItem .fs-c-productPrice__addon__label {
  white-space: nowrap;
}

.fs-c-productListItem .fs-c-price__currencyMark {
  font-size: 14px;
  font-weight: 700;
}

.fs-c-productListItem .fs-c-price__value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

@media screen and (max-width: 520px) {
  .fs-c-productListItem .fs-c-productPrice__main__label {
    font-size: 11.5px;
  }

  .fs-c-productListItem .fs-c-price__currencyMark {
    font-size: 12.5px;
  }

  .fs-c-productListItem .fs-c-price__value {
    font-size: 17px;
  }

  .fs-c-productListItem .fs-c-productPrice__addon {
    font-size: 11.5px;
    margin-left: 3px;
  }
}

/* 商品一覧：価格ラベルは上、金額と税込は同じ行 */
.fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 4px;
  row-gap: 0;
  line-height: 1.35;
}

.fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling .fs-c-productPrice__main {
  display: contents;
}

.fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling .fs-c-productPrice__main__label {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  margin: 0 0 3px;
  color: #666;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling .fs-c-productPrice__main__price {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  color: #111;
  font-weight: 800;
  line-height: 1.2;
}

.fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling .fs-c-price__currencyMark {
  font-size: 14px;
  font-weight: 700;
}

.fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling .fs-c-price__value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling .fs-c-productPrice__addon {
  display: inline-flex;
  align-items: baseline;
  margin: 0;
  color: #555;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}

.fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling .fs-c-productPrice__addon__label {
  white-space: nowrap;
}

@media screen and (max-width: 520px) {
  .fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling .fs-c-productPrice__main__label {
    font-size: 11.5px;
  }

  .fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling .fs-c-price__currencyMark {
    font-size: 12.5px;
  }

  .fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling .fs-c-price__value {
    font-size: 17px;
  }

  .fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling .fs-c-productPrice__addon {
    font-size: 11.5px;
  }
}

/* 商品一覧：商品名と価格の間隔を詰める */
.fs-c-productListItem .fs-c-productName__name {
  margin-bottom: 4px;
}

.fs-c-productListItem .fs-c-productPrices {
  margin-top: 4px;
}

.fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling {
  margin-top: 0;
}

/* キャッチコピー・商品名全体の下余白も調整 */
.fs-c-productListItem .fs-c-productName {
  margin-bottom: 4px;
}

@media screen and (max-width: 520px) {
  .fs-c-productListItem .fs-c-productName__name {
    margin-bottom: 3px;
  }

  .fs-c-productListItem .fs-c-productPrices {
    margin-top: 3px;
  }

  .fs-c-productListItem .fs-c-productName {
    margin-bottom: 3px;
  }
}

.fs-c-productName__copy {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;

  line-height: 1.5;
  max-height: 3em;

  font-size: 12px;
  color: #666;
  font-weight: 400;
  margin-bottom: 6px;
  word-break: break-word;
}

/* 商品一覧：キャッチコピーを2行で省略 */
.fs-c-productListItem .fs-c-productName__copy {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;

  overflow: hidden;
  white-space: normal;
  word-break: break-word;

  line-height: 1.5;
  max-height: 3em;

  font-size: 12px;
  color: #666;
  font-weight: 400;
  margin-bottom: 6px;
}

/* 商品一覧：キャッチコピーを2行で省略 */
.fs-c-productListItem .fs-c-productName__copy {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;

  overflow: hidden;
  white-space: normal;
  word-break: break-word;

  line-height: 1.5;
  max-height: 3em;

  font-size: 12px;
  color: #666;
  font-weight: 400;
  margin-bottom: 6px;
}

@media screen and (max-width: 520px) {
  .fs-c-productListItem .fs-c-productName__copy {
    font-size: 11.5px;
    line-height: 1.45;
    max-height: 2.9em;
    color: #666;
    margin-bottom: 4px;
  }
}

/* 商品一覧：商品カード同士の文字干渉を防ぐ */
.fs-c-productListItem {
  box-sizing: border-box;
  padding-left: 18px;
  padding-right: 18px;
}

/* 商品名ブロック全体をカード内で少し内側に収める */
.fs-c-productListItem .fs-c-productName {
  max-width: 92%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* キャッチコピーも横に広がりすぎないようにする */
.fs-c-productListItem .fs-c-productName__copy {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* 商品名も横に広がりすぎないようにする */
.fs-c-productListItem .fs-c-productName__name {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* 価格も商品名ブロックに合わせる */
.fs-c-productListItem .fs-c-productPrices {
  max-width: 92%;
  margin-left: auto;
  margin-right: auto;
}

/* PC：商品同士の横間隔を少し広げる */
.fs-c-productList,
.fs-c-productList__list {
  column-gap: 36px;
}

/* SPでは広げすぎない */
@media screen and (max-width: 520px) {
  .fs-c-productListItem {
    padding-left: 8px;
    padding-right: 8px;
  }

  .fs-c-productListItem .fs-c-productName,
  .fs-c-productListItem .fs-c-productPrices {
    max-width: 100%;
  }

  .fs-c-productList,
  .fs-c-productList__list {
    column-gap: 14px;
  }
}

/* 商品一覧：商品名は読みやすく、価格は少し左に戻す */
.fs-c-productListItem .fs-c-productName {
  max-width: 96%;
  margin-left: auto;
  margin-right: auto;
}

.fs-c-productListItem .fs-c-productPrices {
  max-width: 96%;
  margin-left: auto;
  margin-right: auto;
}

/* 価格ブロック内は左揃えを明確にする */
.fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling {
  justify-content: flex-start;
  text-align: left;
}

/* 商品一覧：価格を商品名の左端に揃える */
.fs-c-productListItem .fs-c-productName,
.fs-c-productListItem .fs-c-productPrices {
  max-width: 96%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling {
  justify-content: flex-start;
  text-align: left;
}

.fs-c-productListItem .fs-c-productPrice__main__label,
.fs-c-productListItem .fs-c-productPrice__main__price,
.fs-c-productListItem .fs-c-productPrice__addon {
  text-align: left;
}

/* 商品一覧：商品名と価格の左位置を揃える 強制版 */
.fs-c-productListItem .fs-c-productName,
.fs-c-productListItem .fs-c-productPrices {
  width: 96%;
  max-width: 96%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  box-sizing: border-box;
}

.fs-c-productListItem .fs-c-productPrices {
  display: block;
}

.fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: baseline;
  text-align: left;
}

.fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling .fs-c-productPrice__main {
  display: contents;
}

.fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling .fs-c-productPrice__main__label {
  flex: 0 0 100%;
  width: 100%;
  text-align: left;
}

.fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling .fs-c-productPrice__main__price {
  text-align: left;
}

.fs-c-productListItem .fs-c-productPrice.fs-c-productPrice--selling .fs-c-productPrice__addon {
  text-align: left;
}

/* 商品一覧：カートに入れるボタンだけ非表示 */
.fs-c-productListItem .fs-c-button--addToCart--list {
  display: none;
}

/* 商品一覧：お気に入りボタンを右寄せ表示 */
.fs-c-productListItem .fs-c-productQuantityAndWishlist {
  width: 96%;
  max-width: 96%;
  margin: 4px auto 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  box-sizing: border-box;
}

/* 商品一覧：お気に入りボタンの見た目調整 */
.fs-c-productListItem .fs-c-button--addToWishList--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: #005bac;
  line-height: 1;
  cursor: pointer;
}

/* 商品一覧：お気に入りボタンのテキストを非表示 */
.fs-c-productListItem .fs-c-button--addToWishList--icon .fs-c-button__label {
  display: none;
}

/* 商品一覧：お気に入りボタンのhover */
.fs-c-productListItem .fs-c-button--addToWishList--icon:hover {
  color: #003f8f;
}

/* 商品一覧：価格とお気に入りを同じ行風に配置 */
.fs-c-productListItem .fs-c-productPrices {
  width: 96%;
  max-width: 96%;
  margin: 4px auto 0;
  display: inline-block;
  vertical-align: bottom;
  box-sizing: border-box;
}

/* 価格＋お気に入りを横並びにするため、商品一覧カード内のボタンエリアを右寄せ */
.fs-c-productListItem .fs-c-productQuantityAndWishlist {
  width: 96%;
  max-width: 96%;
  margin: -30px auto 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* カートに入れるは非表示 */
.fs-c-productListItem .fs-c-button--addToCart--list {
  display: none;
}

/* お気に入りボタン */
.fs-c-productListItem .fs-c-button--addToWishList--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: #005bac;
  line-height: 1;
  cursor: pointer;
}

/* お気に入り文言は非表示 */
.fs-c-productListItem .fs-c-button--addToWishList--icon .fs-c-button__label {
  display: none;
}

.fs-c-productListItem .fs-c-button--addToWishList--icon:hover {
  color: #003f8f;
}

@media screen and (max-width: 520px) {
  .fs-c-productListItem .fs-c-productQuantityAndWishlist {
    width: 100%;
    max-width: 100%;
    margin: -28px auto 0;
  }

  .fs-c-productListItem .fs-c-button--addToWishList--icon {
    width: 26px;
    height: 26px;
  }
}

/* 商品グループ・カテゴリ一覧：詳細を見るボタンを非表示 */
.fs-c-productListItem .fs-c-button--viewProductDetail {
  display: none;
}

/* 商品グループ・カテゴリ一覧：カートに入れるボタンも念のため非表示 */
.fs-c-productListItem .fs-c-button--addToCart--list {
  display: none;
}

/* 商品グループ・カテゴリ一覧：ボタンエリアを価格右側に寄せる */
.fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer {
  width: 96%;
  max-width: 96%;
  margin: -30px auto 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* 商品グループ・カテゴリ一覧：お気に入りボタンの見た目 */
.fs-c-productListItem .fs-c-button--addToWishList--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: #005bac;
  line-height: 1;
  cursor: pointer;
}

/* 商品グループ・カテゴリ一覧：お気に入り文言は非表示 */
.fs-c-productListItem .fs-c-button--addToWishList--icon .fs-c-button__label {
  display: none;
}

.fs-c-productListItem .fs-c-button--addToWishList--icon:hover {
  color: #003f8f;
}

@media screen and (max-width: 520px) {
  .fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer {
    width: 100%;
    max-width: 100%;
    margin: -28px auto 0;
  }

  .fs-c-productListItem .fs-c-button--addToWishList--icon {
    width: 26px;
    height: 26px;
  }
}

/* 下層ページ：LINE友だち追加バー */
.jd-lower-linebar {
  display: block;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e3edf7;
  box-sizing: border-box;
}

.jd-lower-linebar__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 16px;
  box-sizing: border-box;
}

.jd-lower-linebar__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding: 6px 14px;
  border: 1px solid #d7ead0;
  border-radius: 999px;
  background: #f7fff4;
  color: #222;
  text-decoration: none;
  box-sizing: border-box;
  transition: 0.2s ease;
}

.jd-lower-linebar__link:hover {
  border-color: #06c755;
  background: #f0fff0;
  box-shadow: 0 3px 10px rgba(6, 199, 85, 0.08);
}

.jd-lower-linebar__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jd-lower-linebar__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jd-lower-linebar__text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #333;
  font-size: 13px;
  line-height: 1.4;
}

.jd-lower-linebar__text strong {
  color: #008f3a;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.jd-lower-linebar__text span {
  color: #444;
  font-size: 13px;
  font-weight: 400;
}

.jd-lower-linebar__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

/* SPでは非表示 */
@media screen and (max-width: 767px) {
  .jd-lower-linebar {
    display: none;
  }
}

/* トップページでは下層ページ用LINEバーを非表示 */
body.jd-page-home .jd-lower-linebar {
  display: none;
}

/* 下層ページ：LINEバー視認性アップ */
.jd-lower-linebar__inner {
  padding: 10px 16px;
}

.jd-lower-linebar__link {
  min-height: 44px;
  padding: 8px 18px;
  border-color: #bfe8c8;
  background: #f0fff2;
  box-shadow: 0 2px 8px rgba(0, 91, 172, 0.04);
}

.jd-lower-linebar__icon {
  width: 26px;
  height: 26px;
}

.jd-lower-linebar__text strong {
  font-size: 14px;
  color: #008f3a;
}

.jd-lower-linebar__text span {
  font-size: 13px;
  color: #333;
}

.jd-lower-linebar__button {
  padding: 6px 15px;
  font-size: 12.5px;
  background: #06c755;
}

/* お問い合わせ完了ページ */
.jd-contact-thanks {
  padding: 56px 16px 72px;
  box-sizing: border-box;
}

.jd-contact-thanks__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 42px 36px;
  border: 1px solid #d9e7f5;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-sizing: border-box;
}

.jd-contact-thanks h1 {
  margin: 0 0 22px;
  color: #003f8f;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}

.jd-contact-thanks p {
  margin: 0 0 16px;
  color: #333;
  font-size: 15px;
  line-height: 1.9;
}

.jd-contact-thanks__buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.jd-contact-thanks__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #005bac;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
}

.jd-contact-thanks__button--sub {
  background: #fff;
  color: #005bac;
  border: 1px solid #b7d7f2;
}

@media screen and (max-width: 520px) {
  .jd-contact-thanks {
    padding: 36px 12px 52px;
  }

  .jd-contact-thanks__inner {
    padding: 30px 18px;
  }

  .jd-contact-thanks h1 {
    font-size: 22px;
  }

  .jd-contact-thanks p {
    font-size: 14px;
    line-height: 1.8;
  }

  .jd-contact-thanks__buttons {
    display: block;
  }

  .jd-contact-thanks__button {
    width: 100%;
    margin-top: 10px;
  }
}

/* お問い合わせ完了ページ：ボタン色補正 */
.jd-contact-thanks__button,
.jd-contact-thanks__button:link,
.jd-contact-thanks__button:visited {
  background: #005bac;
  color: #ffffff !important;
  border: 1px solid #005bac;
  text-decoration: none;
}

.jd-contact-thanks__button:hover {
  background: #004a94;
  border-color: #004a94;
  color: #ffffff !important;
  text-decoration: none;
}

.jd-contact-thanks__button--sub,
.jd-contact-thanks__button--sub:link,
.jd-contact-thanks__button--sub:visited {
  background: #ffffff;
  color: #005bac !important;
  border: 1px solid #b7d7f2;
  text-decoration: none;
}

.jd-contact-thanks__button--sub:hover {
  background: #f3f9ff;
  border-color: #005bac;
  color: #003f8f !important;
  text-decoration: none;
}

/* 下層ページ：LINE友だち追加バー 微調整版 */
.jd-lower-linebar {
  display: block;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e3edf7;
  box-sizing: border-box;
}

/* 本文幅の80〜90%程度にする */
.jd-lower-linebar__inner {
  max-width: 1120px;
  width: 86%;
  margin: 0 auto;
  padding: 9px 0;
  box-sizing: border-box;
}

.jd-lower-linebar__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  padding: 7px 18px;
  border: 1px solid #bfe8c8;
  border-radius: 999px;
  background: #f0fff2;
  color: #222;
  text-decoration: none;
  box-sizing: border-box;
  transition: 0.2s ease;
}

.jd-lower-linebar__link:hover {
  border-color: #06c755;
  background: #eaffee;
  box-shadow: 0 3px 10px rgba(6, 199, 85, 0.10);
  text-decoration: none;
}

.jd-lower-linebar__icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jd-lower-linebar__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jd-lower-linebar__text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #333;
  font-size: 13.5px;
  line-height: 1.4;
}

.jd-lower-linebar__text strong {
  color: #008f3a;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}

.jd-lower-linebar__text span {
  color: #333;
  font-size: 13.5px;
  font-weight: 400;
}

.jd-lower-linebar__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.jd-lower-linebar__link:hover .jd-lower-linebar__button {
  background: #05b94f;
}

/* トップページでは非表示 */
body.jd-page-home .jd-lower-linebar {
  display: none;
}

/* SPでは非表示 */
@media screen and (max-width: 767px) {
  .jd-lower-linebar {
    display: none;
  }
}

/* お問い合わせ完了ページ：SP見出し改行調整 */
@media screen and (max-width: 520px) {
  .jd-contact-thanks h1 {
    font-size: 20px;
    line-height: 1.55;
    letter-spacing: 0;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .jd-contact-thanks__inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* SPハンバーガーメニュー：LINE友だち追加カード */
.jd-sp-line-menu {
  margin: 28px 28px 0;
}

.jd-sp-line-menu__link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 13px;
  border-radius: 12px;
  background: #f7fff4;
  border: 1px solid #c8efcf;
  color: #222;
  text-decoration: none;
  box-sizing: border-box;
}

.jd-sp-line-menu__link:hover {
  text-decoration: none;
  background: #f0fff0;
}

.jd-sp-line-menu__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jd-sp-line-menu__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jd-sp-line-menu__body {
  flex: 1;
  min-width: 0;
  display: block;
}

.jd-sp-line-menu__body strong {
  display: block;
  margin-bottom: 2px;
  color: #008f3a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.jd-sp-line-menu__body span {
  display: block;
  color: #333;
  font-size: 11.5px;
  line-height: 1.45;
}

.jd-sp-line-menu__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

/* PCの通常SNS表示では非表示 */
@media screen and (min-width: 768px) {
  .jd-sp-line-menu {
    display: none;
  }
}

/* 売れ筋アイテム：順位バッジ位置・サイズ調整 */
.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item::before {
  content: none !important;
}

/* 商品画像エリアを基準にする */
.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item__imageContainer {
  position: relative;
}

/* バッジ共通：画像右上に表示 */
.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item__imageContainer::before {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 5;
  width: 78px;
  height: 78px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

/* 1〜10位 */
.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(1) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-01.png");
}

.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(2) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-02.png");
}

.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(3) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-03.png");
}

.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(4) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-04.png");
}

.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(5) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-05.png");
}

.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(6) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-06.png");
}

.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(7) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-07.png");
}

.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(8) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-08.png");
}

.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(9) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-09.png");
}

.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(10) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-10.png");
}

/* SP調整 */
@media screen and (max-width: 520px) {
  .flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item__imageContainer::before {
    top: 2px;
    right: 2px;
    width: 58px;
    height: 58px;
  }
}

/* 売れ筋アイテム：1〜3位だけ少し大きく表示 */
.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(1) .fr3-item__imageContainer::before,
.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(2) .fr3-item__imageContainer::before,
.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(3) .fr3-item__imageContainer::before {
  width: 86px;
  height: 86px;
  top: -2px;
  right: -2px;
}

/* 4位以降は少し控えめに */
.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(n+4) .fr3-item__imageContainer::before {
  width: 68px;
  height: 68px;
  top: 4px;
  right: 4px;
}

@media screen and (max-width: 520px) {
  .flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(1) .fr3-item__imageContainer::before,
  .flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(2) .fr3-item__imageContainer::before,
  .flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(3) .fr3-item__imageContainer::before {
    width: 64px;
    height: 64px;
    top: -2px;
    right: -2px;
  }

  .flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(n+4) .fr3-item__imageContainer::before {
    width: 52px;
    height: 52px;
    top: 2px;
    right: 2px;
  }
}

/* =========================================================
   売れ筋アイテム：順位バッジ 画像エリア右上固定版
   既存の順位バッジCSSを上書き
========================================================= */

/* 既存のカード全体基準バッジを無効化 */
.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item::before {
  content: none !important;
  display: none !important;
  background-image: none !important;
}

/* 商品画像エリアをバッジ配置の基準にする */
.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item__imageContainer {
  position: relative;
  overflow: visible;
}

/* 順位バッジ共通：商品画像エリア右上に固定 */
.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item__imageContainer::before {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 5;
  width: 68px;
  height: 68px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

/* 1〜3位だけ少し大きく */
.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(1) .fr3-item__imageContainer::before,
.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(2) .fr3-item__imageContainer::before,
.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(3) .fr3-item__imageContainer::before {
  width: 86px;
  height: 86px;
  top: 0;
  right: 0;
}

/* 4位以降は少し控えめ */
.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(n+4) .fr3-item__imageContainer::before {
  width: 68px;
  height: 68px;
  top: 6px;
  right: 6px;
}

/* 1〜10位の画像指定 */
.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(1) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-01.png");
}

.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(2) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-02.png");
}

.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(3) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-03.png");
}

.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(4) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-04.png");
}

.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(5) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-05.png");
}

.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(6) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-06.png");
}

.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(7) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-07.png");
}

.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(8) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-08.png");
}

.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(9) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-09.png");
}

.flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(10) .fr3-item__imageContainer::before {
  background-image: url("https://jetdrug.itembox.cloud/item/ranking-badge-10.png");
}

/* SP調整 */
@media screen and (max-width: 520px) {
  .flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item__imageContainer::before {
    width: 52px;
    height: 52px;
    top: 4px;
    right: 4px;
  }

  .flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(1) .fr3-item__imageContainer::before,
  .flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(2) .fr3-item__imageContainer::before,
  .flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(3) .fr3-item__imageContainer::before {
    width: 64px;
    height: 64px;
    top: 0;
    right: 0;
  }
}

/* =========================
   SP版：売れ筋アイテム 調整
   ========================= */
@media screen and (max-width: 767px) {

  /* 売れ筋アイテムだけ対象 */
  .fwheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item {
    position: relative;
  }

  /* 商品画像エリアを基準にする */
  .fwheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item__imageContainer {
    position: relative;
  }

  /* 商品名の見え方調整 */
  .fwheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item__productName {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 8px;
    margin-bottom: 6px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* 3行で省略 */
    overflow: hidden;
  }

  /* 価格まわりの余白調整 */
  .fwheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item__productPrice {
    margin-top: 4px;
  }

  /* もしバッジ要素に独自classを付けている場合 */
  .fwheel-recommend__frame[data-frame-id="jd_cmranking"] .jd-ranking-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 42px;
    height: auto;
    z-index: 3;
    pointer-events: none;
  }
}

/* 売れ筋アイテム：SP順位バッジを商品画像に近づける */
@media screen and (max-width: 520px) {
  .flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item__imageContainer::before {
    top: 22px !important;
    right: 10px !important;
    width: 54px !important;
    height: 54px !important;
  }

  .flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(1) .fr3-item__imageContainer::before,
  .flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(2) .fr3-item__imageContainer::before,
  .flywheel-recommend__frame[data-frame-id="jd_cmranking"] .fr3-item:nth-child(3) .fr3-item__imageContainer::before {
    top: 18px !important;
    right: 8px !important;
    width: 62px !important;
    height: 62px !important;
  }
}

/* 商品一覧：レフトナビカテゴリ導線 */
.jd-product-side-nav {
  margin-bottom: 26px;
}

.jd-product-side-nav__section {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e3edf7;
}

.jd-product-side-nav__section:last-child {
  margin-bottom: 0;
}

.jd-product-side-nav__title {
  margin: 0 0 12px;
  padding-left: 9px;
  border-left: 3px solid #005bac;
  color: #003f8f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.jd-product-side-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jd-product-side-nav__list li {
  margin: 0;
  padding: 0;
}

.jd-product-side-nav__list a {
  display: block;
  padding: 7px 0;
  color: #333;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  border-bottom: 1px solid #f2f5f8;
  transition: 0.2s ease;
}

.jd-product-side-nav__list a:hover {
  color: #005bac;
  text-decoration: underline;
}

.jd-product-side-nav__list li:last-child a {
  border-bottom: none;
}

/* SPの絞り込みパネル内でも見やすくする */
@media screen and (max-width: 767px) {
  .jd-product-side-nav {
    margin-bottom: 22px;
  }

  .jd-product-side-nav__section {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .jd-product-side-nav__title {
    font-size: 15px;
  }

  .jd-product-side-nav__list a {
    padding: 8px 0;
    font-size: 14px;
  }
}

/* 商品一覧：レフトナビ見出し・文字サイズ統一 */
@media screen and (min-width: 768px) {
  .jd-product-side-nav__title {
    margin: 0 0 13px;
    padding-left: 9px;
    border-left: 3px solid #005bac;
    color: #003f8f;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
  }

  .jd-product-side-nav__list a {
    padding: 8px 0;
    color: #333;
    font-size: 14px;
    line-height: 1.55;
  }

  .jd-product-side-nav__section {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  /* FutureShop標準の検索項目見出しをJetDrug側に寄せる */
  .qfsd-searchForm__fields label,
  .qfsd-searchForm__fields legend,
  .qfsd-searchForm__fields .fs-c-fieldLabel,
  .qfsd-searchForm__fields .fs-c-formLabel,
  .qfsd-searchForm__fields .qfsd-searchField__label {
    color: #003f8f;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
  }

  /* キーワード・価格など各検索グループの余白調整 */
  .qfsd-searchForm__fields > * {
    margin-bottom: 22px;
  }

  .qfsd-searchForm input[type="text"],
  .qfsd-searchForm input[type="number"] {
    font-size: 14px;
  }
}

/* 商品一覧：レフトナビ標準検索項目の見出しを統一 */
.qfsd-search-group__head {
  margin: 0 0 12px;
  padding-left: 9px;
  border-left: 3px solid #005bac;
  color: #003f8f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

/* 標準検索グループの余白調整 */
.qfsd-search-group {
  margin: 0 0 24px;
}

/* 入力欄との距離を少し整える */
.qfsd-search-group__body {
  margin-top: 0;
}

/* 商品一覧：レフトナビ標準検索見出しを太字に統一 */
.qfsd-searchForm .qfsd-search-group__head {
  font-weight: 700 !important;
  color: #003f8f;
}

/* 商品一覧：在庫切れ時のお気に入り位置補正 */
.fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(button[disabled]),
.fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(.fs-c-button--disabled),
.fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(.fs-c-button--soldOut),
.fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(.fs-c-button--stockout) {
  width: 96%;
  max-width: 96%;
  margin: 6px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  box-sizing: border-box;
}

/* 在庫切れ表示は♡の分だけ幅を空ける */
.fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(button[disabled]) button[disabled],
.fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(.fs-c-button--disabled) .fs-c-button--disabled,
.fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(.fs-c-button--soldOut) .fs-c-button--soldOut,
.fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(.fs-c-button--stockout) .fs-c-button--stockout {
  flex: 1 1 auto;
  min-width: 0;
}

/* 在庫切れ時の♡を右端中央に固定 */
.fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(button[disabled]) .fs-c-button--addToWishList--icon,
.fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(.fs-c-button--disabled) .fs-c-button--addToWishList--icon,
.fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(.fs-c-button--soldOut) .fs-c-button--addToWishList--icon,
.fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(.fs-c-button--stockout) .fs-c-button--addToWishList--icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin: 0;
}

/* 在庫切れ時もお気に入り文言は非表示 */
.fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(button[disabled]) .fs-c-button--addToWishList--icon .fs-c-button__label,
.fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(.fs-c-button--disabled) .fs-c-button--addToWishList--icon .fs-c-button__label,
.fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(.fs-c-button--soldOut) .fs-c-button--addToWishList--icon .fs-c-button__label,
.fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(.fs-c-button--stockout) .fs-c-button--addToWishList--icon .fs-c-button__label {
  display: none;
}

@media screen and (max-width: 520px) {
  .fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(button[disabled]),
  .fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(.fs-c-button--disabled),
  .fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(.fs-c-button--soldOut),
  .fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(.fs-c-button--stockout) {
    width: 100%;
    max-width: 100%;
    margin-top: 6px;
    gap: 6px;
  }

  .fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(button[disabled]) .fs-c-button--addToWishList--icon,
  .fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(.fs-c-button--disabled) .fs-c-button--addToWishList--icon,
  .fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(.fs-c-button--soldOut) .fs-c-button--addToWishList--icon,
  .fs-c-productListItem .fs-c-productListItem__control.fs-c-buttonContainer:has(.fs-c-button--stockout) .fs-c-button--addToWishList--icon {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
  }
}

/* 商品一覧：在庫切れ商品の♡位置補正 */

/* 在庫切れ商品カードを基準化 */
.fs-c-productListItem:has(.fs-c-productListItem__outOfStock) {
  position: relative;
}

/* 在庫切れ表示を左側に寄せ、♡のスペースを確保 */
.fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fs-c-productListItem__outOfStock {
  width: 96%;
  max-width: 96%;
  margin: 6px auto 0;
  padding-right: 36px;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.4;
}

/* 在庫切れ商品の詳細を見るボタンは非表示 */
.fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fs-c-button--viewProductDetail {
  display: none;
}

/* 在庫切れ商品のボタンエリアを在庫切れ行の右側へ重ねる */
.fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fs-c-productListItem__control.fs-c-buttonContainer {
  width: 96%;
  max-width: 96%;
  margin: -64px auto 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

/* 在庫切れ商品の♡ボタン */
.fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fs-c-button--addToWishList--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  color: #005bac;
  line-height: 1;
}

/* ♡のテキストは非表示 */
.fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fs-c-button--addToWishList--icon .fs-c-button__label {
  display: none;
}

@media screen and (max-width: 520px) {
  .fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fs-c-productListItem__outOfStock {
    width: 100%;
    max-width: 100%;
    padding-right: 32px;
  }

  .fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fs-c-productListItem__control.fs-c-buttonContainer {
    width: 100%;
    max-width: 100%;
    margin-top: -26px;
  }

  .fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fs-c-button--addToWishList--icon {
    width: 26px;
    height: 26px;
  }
}

/* 商品一覧：在庫切れ商品の♡位置補正 SP専用 */
@media screen and (max-width: 520px) {
  .fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fs-c-productListItem__control.fs-c-buttonContainer {
    width: 100%;
    max-width: 100%;
    margin: -63px auto 0 !important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
  }

  .fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fs-c-button--addToWishList--icon {
    width: 26px;
    height: 26px;
    margin: 0;
  }
}

/* 商品一覧：在庫切れ商品の下余白を確保して、下部要素との重なりを防ぐ */

/* PC */
.fs-c-productListItem:has(.fs-c-productListItem__outOfStock) {
  padding-bottom: 42px;
  box-sizing: border-box;
}

.fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fs-c-productListItem__outOfStock {
  margin-bottom: 0;
}

/* SP */
@media screen and (max-width: 520px) {
  .fs-c-productListItem:has(.fs-c-productListItem__outOfStock) {
    padding-bottom: 60px;
  }
}

/* 商品一覧：在庫切れ表示の文字を横中央に戻す */
.fs-c-productListItem .fs-c-productListItem__outOfStock {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96%;
  max-width: 96%;
  margin-left: auto;
  margin-right: auto;
  padding: 3px 8px;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.3;
}

/* =========================================================
   商品一覧：在庫切れ商品のサムネイルをグレーアウト
   対象：在庫切れ表示がある商品カードのみ
========================================================= */

/* 商品画像エリアをマスク配置の基準にする */
.fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fs-c-productListItem__imageContainer,
.fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fr3-item__imageContainer {
  position: relative;
  overflow: hidden;
}

/* 商品画像を少し薄く・グレー寄りにする */
.fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fs-c-productListItem__image,
.fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fr3-item__image,
.fs-c-productListItem:has(.fs-c-productListItem__outOfStock) img {
  opacity: 0.9;
  filter: grayscale(30%);
}

/* 画像エリアに薄いグレーマスクを重ねる */
.fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fs-c-productListItem__imageContainer::after,
.fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fr3-item__imageContainer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(160, 160, 160, 0.06);
  pointer-events: none;
  z-index: 2;
}

/* SPでも同じ見え方にする */
@media screen and (max-width: 520px) {
  .fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fs-c-productListItem__image,
  .fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fr3-item__image,
  .fs-c-productListItem:has(.fs-c-productListItem__outOfStock) img {
    opacity: 0.9;
    filter: grayscale(30%);
  }

  .fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fs-c-productListItem__imageContainer::after,
  .fs-c-productListItem:has(.fs-c-productListItem__outOfStock) .fr3-item__imageContainer::after {
    background: rgba(160, 160, 160, 0.06);
  }
}

/* 商品詳細：まとめ買いリンク */
.jd-quantity-links {
  margin: 16px 0 15px;
  padding: 13px 15px;
  border: 1px solid #dcebf7;
  border-radius: 10px;
  background: #f9fcff;
  box-sizing: border-box;
}

.jd-quantity-links__title {
  margin: 0 0 9px;
  color: #003f8f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.jd-quantity-links__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jd-quantity-links__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid #bddaf2;
  border-radius: 999px;
  background: #fff;
  color: #005bac;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  box-sizing: border-box;
  transition: 0.2s ease;
  white-space: nowrap;
}

.jd-quantity-links__item:hover {
  border-color: #7fb6e8;
  background: #f3f9ff;
  color: #004a94;
  text-decoration: none;
}

.jd-quantity-links__item.is-current {
  background: #0068b7;
  border-color: #0068b7;
  color: #fff;
  pointer-events: none;
}

/* 既存テーマのリンク色上書き対策 */
.jd-quantity-links__item:link,
.jd-quantity-links__item:visited {
  text-decoration: none;
}

.jd-quantity-links__item.is-current:link,
.jd-quantity-links__item.is-current:visited {
  color: #fff;
}

@media screen and (max-width: 520px) {
  .jd-quantity-links {
    margin: 14px 0 13px;
    padding: 11px 11px;
  }

  .jd-quantity-links__title {
    margin-bottom: 8px;
    font-size: 13.5px;
  }

  .jd-quantity-links__list {
    gap: 7px;
  }

  .jd-quantity-links__item {
    min-width: 76px;
    height: 34px;
    padding: 0 10px;
    font-size: 12.5px;
  }
}