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