.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;
}