/* ============================================================
 * PART 0: 製品専用デザイントークン
 * ============================================================ */
:root {
  /* --- 製品別メインカラー --- */
  --color-product-ff:    var(--color-secondary);          /* #f08300 (= field-respiratory と同一) */
  --color-product-ek:    #5fb65c;
  --color-product-dl:    var(--color-danger-alt);         /* #e40059 */
  --color-product-ls:    #00abdc;
  --color-product-lsint: var(--color-product-ls);         /* 共有 */
  --color-product-ly:    #311d5a;
  --color-product-pstg:  #00dc6e;
  --color-product-pssp:  #21c0c2;
  --color-product-psene: #009de4;
  --color-product-zm:    var(--color-product-psene);      /* 共有 */

  /* --- 製品サブカラー (cyan/blue系で横断使用) --- */
  --color-product-cyan-pale:  #53bae1;
  --color-product-cyan-soft:  #c6e7f6;
  --color-product-cyan-mid:   #4bacc6;
  --color-product-blue-bright:#00a1e9;
  --color-product-blue-deep:  #005bac;   /* #005aa0 と #005bac を統合 */

  /* --- グレースケール (contents.css 由来、稀少) --- */
  --color-gray-soft:  #ddd;
  --color-gray-light: #bbb;
  --color-gray:       #999;
  --color-gray-dark:  #707070;
}

/* ==============================================================
 * LAYER 0: Design Tokens
 * ============================================================== */

:root {
  /* --- Color: Brand --- */
  --color-primary:        #005cc5;
  --color-primary-dark:   #004fa9;
  --color-primary-bg:     #e5eef9;  /* primary のホバー背景 */
  --color-primary-border: #d9e7f6;  /* primary の淡いボーダー */

  --color-secondary:      #f08300;  /* オレンジ (検索ボタン・ホバー) */
  --color-accent-cyan:    #2aadde;  /* is_free 三角マーク */

  /* --- Color: Neutral --- */
  --color-white:          #fff;
  --color-black:          #000;
  --color-text:           #000;
  --color-text-muted:     #555;
  --color-text-subtle:    #666;
  --color-text-disabled:  grey;

  --color-bg-light:       #fafafa;  /* 見出し・パネルの淡背景 */
  --color-bg-soft:        #f2f2f2;  /* 検索欄等の背景 */
  --color-bg-mute:        #efefef;  /* Check/NoEntry 等の灰背景 */

  --color-border:         #d8d8d8;
  --color-border-soft:    #d9d9d9;
  --color-border-faint:   #dbdbdb;
  --color-border-pale:    #e8e7e7;
  --color-border-whisper: #eaeaea;

  --color-overlay:        rgba(0, 0, 0, 0.4);
  --color-overlay-soft:   rgba(0, 0, 0, 0.3);
  --color-overlay-mask:   rgba(0, 0, 0, 0.5);

  /* --- Color: Medical Fields (診療領域別) --- */
  --color-field-respiratory:       #f08300;
  --color-field-otorhinolaryngology:#e5005a;
  --color-field-urology:           #007fcc;
  --color-field-gastroenterology:  #00a051;
  --color-field-infection:         #8e1ac3;

  /* --- Color: Semantic --- */
  --color-danger:         #d90000;
  --color-danger-alt:     #e40059;
  --color-success:        #00a051;
}

/* ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans JP', sans-serif; font-size: 16px; color: #212121; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Header / Footer =====
   新チェーム共通（バナーヘッダー/バナーフッター モジュール＋/common/css/header-nav.css）で
   表示・整形するため、旧プレビュー用の .Header* / .Footer* 規則は撤去した。
   （以前は「プレビュー用。本番ではモジュールに置き換え」とされていた分）
   薬剤師ページは SubNav が無く header-nav.css 単体では .Header__bar の
   margin:0 auto が効かず左寄せになる（SubNav か base.css がある製品ページは成立）。
   そこで親 .Header を justify-content:center にして中央寄せを確定させる。
   ※ .Header__bar は header-nav.css 既定（max-width:1440 / width:auto=content幅）の
     ままにする。width:100% を付けると製品ページ(ff等)と違いフルブリード化して
     ロゴが左端・ログインが右端まで広がる「崩れ」になるため付けない。 */
.Header { justify-content: center; }

/* ===== Main ===== */
.Main { max-width: 1000px; margin: 0 auto; padding: 24px 0 80px; }

/* ===== TopicPath（パンくず） ===== */
.TopicPath { display: flex; list-style: none; font-size: 13px; color: #828282; line-height: 20px; gap: 4px; margin-bottom: 24px; }
.TopicPath a { color: #828282; }
.TopicPath a:hover { text-decoration: underline; }
.TopicPath li + li::before { content: '>'; margin-right: 4px; }

/* ===== Footer は header-nav.css（新チェーム）で整形するため、旧プレビュー用規則は撤去 ===== */

/* ===== PharmacistContent ===== */
.PharmacistContent { }

.PharmacistContent__title { font-size: 28px; font-weight: 700; line-height: 40px; letter-spacing: 0.56px; padding: 20px 15px; background: #fafafa; position: relative; margin-bottom: 40px; }
.PharmacistContent__title::before { content: ''; position: absolute; left: 0; top: 10px; width: 4px; height: calc(100% - 20px); background: #005CC5; }

/* ===== Section Heading ===== */
.PharmacistSection { margin-bottom: 48px; }

.PharmacistSection__heading { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 12px; border-bottom: 2px solid #d9e7f6; margin-bottom: 20px; }
.PharmacistSection__headingLeft { display: flex; align-items: baseline; gap: 12px; padding-left: 12px; position: relative; }
.PharmacistSection__headingLeft::before { content: ''; position: absolute; left: 0; top: 2px; width: 4px; height: calc(100% - 4px); background: #005CC5; }
.PharmacistSection__headingTitle { font-size: 20px; font-weight: 700; line-height: 30px; }
.PharmacistSection__headingSub { font-size: 13px; color: #828282; line-height: 20px; }
.PharmacistSection__headingMore { display: inline-block; font-size: 12px; font-weight: 700; color: #005CC5; background: #fff; border: 1px solid #005CC5; border-radius: 2px; padding: 6px 16px; line-height: 14px; text-decoration: none; }
.PharmacistSection__headingMore:hover { background: #005CC5; color: #fff; }
.PharmacistSection__empty { font-size: 14px; color: #828282; line-height: 24px; padding: 24px 0; text-align: center; border: 1px solid #e8e7e7; border-radius: 2px; background: #fafafa; }

/* ===== Webセミナー Card ===== */
.SeminarCard { display: flex; gap: 20px; padding: 20px 20px 20px 25px; background: #fff; border: 1px solid #e8e7e7; border-left: none; border-radius: 2px; position: relative; }
.SeminarCard::before { content: ''; position: absolute; left: 0; top: -1px; bottom: -1px; width: 5px; background: #005CC5; }

.SeminarCard__thumb { width: 120px; height: 170px; flex-shrink: 0; border: 1px solid #d8d8d8; overflow: hidden; }
.SeminarCard__thumb img { width: 100%; height: 100%; object-fit: cover; }

.SeminarCard__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.SeminarCard__label { display: inline-flex; align-items: center; padding: 4px 10px 4px 12px; background: #f5f5f5; font-size: 14px; font-weight: 700; color: #005CC5; line-height: 20px; position: relative; align-self: flex-start; }
.SeminarCard__label::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #005CC5; }

.SeminarCard__title { font-size: 16px; font-weight: 700; line-height: 26px; color: #000; margin-top: 10px; }

.SeminarCard__date { font-size: 13px; color: #828282; line-height: 20px; margin-top: 8px; }

.SeminarCard__speaker { font-size: 13px; color: #212121; line-height: 20px; margin-top: 4px; }

.SeminarCard__cta { display: inline-block; background: #005CC5; color: #fff; font-size: 13px; font-weight: 700; padding: 8px 20px; border-radius: 2px; line-height: 14px; text-decoration: none; align-self: flex-start; margin-top: 12px; }
.SeminarCard__cta:hover { opacity: 0.9; }

/* ===== 動画ライブラリ Cards ===== */
.MovieCards { display: flex; flex-wrap: wrap; gap: 20px; }

.MovieCard { flex: 0 1 calc((100% - 60px) / 4); min-width: 0; border: 1px solid #e8e7e7; border-radius: 2px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.MovieCard__thumb { width: 100%; aspect-ratio: 16 / 9; background: #282828; overflow: hidden; }
.MovieCard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.MovieCard__body { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.MovieCard__title { font-size: 14px; font-weight: 700; line-height: 22px; color: #000; }
.MovieCard__desc { font-size: 12px; color: #828282; line-height: 20px; margin-top: 6px; flex: 1; }
.MovieCard__pages { font-size: 11px; color: #9b9b9b; line-height: 18px; margin-top: 6px; }
.MovieCard__cta { display: block; background: #005CC5; color: #fff; font-size: 13px; font-weight: 700; padding: 10px; border-radius: 2px; line-height: 14px; text-decoration: none; text-align: center; margin-top: 12px; }
.MovieCard__cta:hover { opacity: 0.9; }

/* ===== 製品情報 Banners ===== */
.ProductBanners { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.ProductBanner { display: block; width: calc((100% - 40px) / 6); border-radius: 2px; overflow: hidden; }
.ProductBanner img { width: 100%; height: auto; display: block; }
.ProductBanner:hover { opacity: 0.85; }

/* ===== 製品情報 Text Links ===== */
.ProductLinks { list-style: none; }
.ProductLinks__item { font-size: 13px; line-height: 22px; padding-left: 8px; }
.ProductLinks__item + .ProductLinks__item { margin-top: 8px; }
.ProductLinks__item a { color: #005CC5; text-decoration: underline; }
.ProductLinks__item span { color: #212121; text-decoration: none; }

/* ===== 他領域リンク Banners ===== */
.AreaBanners { display: flex; gap: 12px; flex-wrap: wrap; }
.AreaBanner { display: block; width: calc((100% - 48px) / 5); border-radius: 2px; overflow: hidden; }
.AreaBanner img { width: 100%; height: auto; display: block; }
.AreaBanner:hover { opacity: 0.85; }

/* ===== SeminarDetail（ページタイトル） ===== */
.SeminarDetail { }

.SeminarDetail__title { font-size: 28px; font-weight: 700; line-height: 40px; letter-spacing: 0.56px; padding: 20px 15px; background: #fafafa; position: relative; margin-bottom: 24px; }
.SeminarDetail__title::before { content: ''; position: absolute; left: 0; top: 10px; width: 4px; height: calc(100% - 20px); background: #005CC5; }

/* ===== SeminarPoster（セミナーポスターカード） ===== */
.SeminarPoster { width: 100%; background: #fff; border: 1px solid #e8e7e7; border-radius: 2px; overflow: hidden; }

.SeminarPoster__visual { width: 100%; height: 240px; background: #d7dceb; display: flex; align-items: center; justify-content: center; }
.SeminarPoster__visual img { max-height: 100%; object-fit: contain; }
.SeminarPoster__visualPlaceholder { font-size: 14px; color: #828282; }

.SeminarPoster__body { padding: 28px 40px 40px; }

.SeminarPoster__date { font-size: 14px; color: #828282; line-height: 22px; }

.SeminarPoster__entryTitle { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; }
.SeminarPoster__entryTitleDot { width: 20px; height: 20px; min-width: 20px; background: #005CC5; border-radius: 50%; margin-top: 7px; }
.SeminarPoster__entryTitleText { font-size: 22px; font-weight: 700; line-height: 34px; color: #212121; }

.SeminarPoster__separator { height: 1px; background: #e8e7e7; margin-top: 20px; }

.SeminarPoster__speaker { display: flex; gap: 24px; margin-top: 20px; }

.SeminarPoster__speakerPhoto { width: 140px; height: 175px; min-width: 140px; background: #dcdcdc; border-radius: 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.SeminarPoster__speakerPhoto img { width: 100%; height: 100%; object-fit: cover; }
.SeminarPoster__speakerPhotoPlaceholder { font-size: 13px; color: #828282; }

.SeminarPoster__speakerInfo { flex: 1; min-width: 0; }
.SeminarPoster__speakerName { font-size: 20px; font-weight: 700; line-height: 30px; color: #212121; }
.SeminarPoster__speakerAffiliation { font-size: 14px; color: #828282; line-height: 22px; margin-top: 4px; }
.SeminarPoster__speakerCommentLabel { font-size: 12px; font-weight: 700; color: #505a8c; line-height: 18px; margin-top: 12px; }
.SeminarPoster__speakerComment { font-size: 13px; line-height: 22px; color: #212121; margin-top: 8px; }

.SeminarPoster__profile { margin-top: 20px; }
.SeminarPoster__profileLabel { font-size: 14px; font-weight: 700; color: #505a8c; line-height: 22px; }
.SeminarPoster__profileContent { font-size: 12px; color: #828282; line-height: 20px; margin-top: 8px; }

.SeminarPoster__note { font-size: 12px; color: #828282; line-height: 20px; margin-top: 20px; }

.SeminarPoster__cta { display: block; width: 100%; background: #005CC5; color: #fff; font-size: 16px; font-weight: 700; text-align: center; padding: 16px; border-radius: 4px; border: none; cursor: pointer; margin-top: 20px; box-shadow: 0 4px 12px rgba(0, 92, 197, 0.3); line-height: 1.5; }
.SeminarPoster__cta:hover { opacity: 0.9; }


/* ===== MovieContent ===== */
.MovieContent__title { font-size: 28px; font-weight: 700; line-height: 40px; letter-spacing: 0.56px; padding: 20px 15px; background: #fafafa; position: relative; margin-bottom: 16px; }
.MovieContent__title::before { content: ''; position: absolute; left: 0; top: 10px; width: 4px; height: calc(100% - 20px); background: #005CC5; }

.MovieContent__lead { font-size: 14px; line-height: 24px; color: #000; margin-bottom: 40px; }

/* ===== MovieSection（セクション見出し） ===== */
.MovieSection { margin-bottom: 48px; }

.MovieSection__heading { display: flex; align-items: baseline; gap: 12px; padding-left: 16px; padding-bottom: 12px; border-bottom: 2px solid #d9e7f6; margin-bottom: 20px; position: relative; }
.MovieSection__heading::before { content: ''; position: absolute; left: 0; top: 0; width: 4px; height: calc(100% - 12px); background: #005CC5; border-radius: 2px; }
.MovieSection__headingMain { font-size: 20px; font-weight: 700; line-height: 30px; color: #000; }
.MovieSection__headingSub { font-size: 13px; font-weight: 700; line-height: 20px; color: #d8d8d8; }

/* ===== MovieCards（カードグリッド） ===== */
.MovieCards { display: flex; flex-wrap: wrap; gap: 20px; }

/* ===== MovieCard（個別カード） ===== */
.MovieCard { flex: 0 1 calc((100% - 60px) / 4); min-width: 0; border: 1px solid #e8e7e7; background: #fff; border-radius: 2px; overflow: hidden; }

.MovieCard__link { display: block; text-decoration: none; color: inherit; }

.MovieCard__thumbnail { width: 100%; aspect-ratio: 16 / 9; background: #282828; overflow: hidden; }
.MovieCard__thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.MovieCard__content { padding: 12px; display: flex; flex-direction: column; gap: 8px; }

.MovieCard__title { font-size: 14px; font-weight: 700; line-height: 22px; color: #000; padding-bottom: 6px; border-bottom: 1px solid #000; }

.MovieCard__description { font-size: 12px; line-height: 18px; color: #828282; }

.MovieCard__cta { display: block; width: 100%; padding: 7px 0; background: #005CC5; color: #fff; font-size: 13px; font-weight: 700; text-align: center; border-radius: 2px; border: none; cursor: pointer; line-height: 18px; }
.MovieCard__cta:hover { opacity: 0.9; }



#kmbusercheckDialog {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100000;
}
#kmbusercheckDialog-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: #000;
  opacity: 0.5;
}
#kmbusercheckDialog__inner {
  position: absolute;
  z-index: 2;
  top: 15px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  overflow: auto;
  background: #fff;
}
#kmbusercheckDialog__inner .CheckContent {
  padding: 100px 15px;
}
@media screen and (max-width: 768px) {
  #kmbusercheckDialog__inner .CheckContent {
    padding: 15px;
  }
}


@media screen and (max-width: 767px) {
  #kmbusercheckDialog {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100000;
  }
  #kmbusercheckDialog-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    background: #000;
    opacity: 0.5;
  }
  #kmbusercheckDialog__inner {
    position: absolute;
    z-index: 2;
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    overflow: auto;
    background: #fff;
  }
  #kmbusercheckDialog__inner .CheckContent {
    padding: 100px 15px;
  }
}
@media screen and (max-width: 767px) and (max-width: 768px) {
  #kmbusercheckDialog__inner .CheckContent {
    padding: 15px;
  }
}

.CheckContent {
  margin: 0 auto;
  padding: 0 10px;
  max-width: 1000px;
}
.CheckContent__title {
  font-size: 1.25rem;
  position: relative;
  margin-bottom: 20px;
  padding: 0 0 6px 15px;
  background: url(/common/images/icon_dot01.svg) no-repeat 0 5px;
  background-size: 4px 16px;
}
.CheckContent__title::before {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  top: 100%;
  width: 128px;
  height: 2px;
  background-color: #005cc5;
  z-index: 2;
  content: "";
}
.CheckContent__title::after {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #d9e7f6;
  z-index: 1;
  content: "";
}
.CheckContent__summary {
  font-size: 0.812rem;
  margin-bottom: 20px;
}
.CheckContent__sec {
  padding: 20px;
  background-color: #efefef;
}
.CheckContent__secTitle {
  font-size: 1.25rem;
  margin: 10px 0 30px;
  text-align: center;
}
.CheckContent__secContents {
  display: flex;
  justify-content: space-between;
}
.CheckContent__secContentsContent {
  position: relative;
  padding: 30px 30px 25px;
  width: 49%;
  background-color: #fff;
}
.CheckContent__secContentsContent dt {
  font-size: 1.25rem;
  margin-bottom: 30px;
  text-align: center;
}
.CheckContent__secContentsContent li {
  margin-bottom: 15px;
}
.CheckContent__secContentsContent li a {
  font-size: 0.812rem;
  display: block;
  padding: 6px 20px 3px;
  border-radius: 3px;
  background-color: #005cc5;
  color: #fff;
  text-align: center;
  text-decoration: none;
  position: relative;
  padding: 10px 25px 10px 10px;
  transition: opacity 0.5s ease-out;
}
.CheckContent__secContentsContent li a:hover {
  opacity: 0.6;
}
.CheckContent__secContentsContent li a::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 10px;
  margin-top: -8px;
  width: 10px;
  height: 16px;
  background: url(/common/images/icon_arrow15.svg) no-repeat 0 0;
  background-size: 10px 16px;
  content: "";
}
.CheckContent__secContentsContent:nth-child(2) li a {
  background-color: #aaa;
}

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

  .CheckContent__secTitle {
    display: none;
  }
  .CheckContent__secContents {
    display: block;
  }
  .CheckContent__secContents .CheckContent__secContent {
    width: 100%;
  }
  .CheckContent__secContents .CheckContent__secContent:not(:last-child) {
    margin-bottom: 50px;
  }
  .CheckContent__secContents .CheckContent__secContent:not(:last-child)::after {
    display: block;
    position: absolute;
    bottom: -30px;
    left: -20px;
    width: calc(100% + 40px);
    height: 10px;
    background-color: #fff;
    content: "";
  }
  .CheckContent__secContents .CheckContent__secContent li a {
    font-size: 0.875rem;
  }
  .CheckContent__secContents .CheckContent__secContent:nth-child(2) li a {
    background-color: #f08300;
  }
}



@media screen and (max-width: 767px) {
  .CheckContent {
    margin: 0 auto;
    padding: 0 10px;
    max-width: 1000px;
  }
  .CheckContent__title {
    font-size: 1.25rem;
    position: relative;
    margin-bottom: 20px;
    padding: 0 0 6px 15px;
    background: url(/common/images/icon_dot01.svg) no-repeat 0 5px;
    background-size: 4px 16px;
  }
  .CheckContent__title::before {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    top: 100%;
    width: 128px;
    height: 2px;
    background-color: #005cc5;
    z-index: 2;
    content: "";
  }
  .CheckContent__title::after {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #d9e7f6;
    z-index: 1;
    content: "";
  }
  .CheckContent__summary {
    font-size: 0.812rem;
    margin-bottom: 20px;
  }
  .CheckContent__sec {
    padding: 20px;
    background-color: #efefef;
  }
  .CheckContent__secTitle {
    font-size: 1.25rem;
    margin: 10px 0 30px;
    text-align: center;
  }
  .CheckContent__secContents {
    display: flex;
    justify-content: space-between;
  }
  .CheckContent__secContentsContent {
    position: relative;
    padding: 30px 30px 25px;
    width: 49%;
    background-color: #fff;
  }
  .CheckContent__secContentsContent dt {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-align: center;
  }
  .CheckContent__secContentsContent li {
    margin-bottom: 15px;
  }
  .CheckContent__secContentsContent li a {
    font-size: 0.812rem;
    display: block;
    padding: 6px 20px 3px;
    border-radius: 3px;
    background-color: #005cc5;
    color: #fff;
    text-align: center;
    text-decoration: none;
    position: relative;
    padding: 10px 25px 10px 10px;
    transition: opacity 0.5s ease-out;
  }
  .CheckContent__secContentsContent li a:hover {
    opacity: 0.6;
  }
  .CheckContent__secContentsContent li a::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -8px;
    width: 10px;
    height: 16px;
    background: url(/common/images/icon_arrow15.svg) no-repeat 0 0;
    background-size: 10px 16px;
    content: "";
  }
  .CheckContent__secContentsContent:nth-child(2) li a {
    background-color: #aaa;
  }
}



@media screen and (max-width: 767px) and (max-width: 480px) {
  .CheckContent__secTitle {
    display: none;
  }
  .CheckContent__secContents {
    display: block;
  }
  .CheckContent__secContents .CheckContent__secContent {
    width: 100%;
  }
  .CheckContent__secContents .CheckContent__secContent:not(:last-child) {
    margin-bottom: 50px;
  }
  .CheckContent__secContents .CheckContent__secContent:not(:last-child)::after {
    display: block;
    position: absolute;
    bottom: -30px;
    left: -20px;
    width: calc(100% + 40px);
    height: 10px;
    background-color: #fff;
    content: "";
  }
  .CheckContent__secContents .CheckContent__secContent li a {
    font-size: 0.875rem;
  }
  .CheckContent__secContents .CheckContent__secContent:nth-child(2) li a {
    background-color: #f08300;
  }
}

.MovieCard__thumb {
  position: relative;
}

.MovieCard.-is-member-only .MovieCard__thumb::after,
.MovieCard.-is-member-only .MovieCard__thumb::before {
    display: block;
    position: absolute;
    content: "";
    z-index: 1;
}

.MovieCard.-is-member-only .MovieCard__thumb::after,
.MovieCard.-is-member-only .MovieCard__thumb::before {
    display: block;
    position: absolute;
    content: "";
    z-index: 1;
}

.MovieCard.-is-member-only .MovieCard__thumb::before {
    top: -50px;
    left: 0;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
    border-left: 50px solid var(--color-danger);
}

.MovieCard.-is-member-only .MovieCard__thumb::after {
    top: 3px;
    left: 6px;
    width: 13px;
    height: 18px;
    background: url(/common/images/icon_key01.svg) no-repeat 0 0;
    background-size: 13px 18px;
}

/* MovieCard レスポンシブ（多数カード時の折り返し） */
@media screen and (max-width: 767px) {
  .MovieCard { flex: 0 1 calc((100% - 20px) / 2); }
}

/* ============================================================
   薬剤師向けコンテンツ モバイル対応（2026-10-30 追加）
   製品情報バナー/テキストリンク・他領域バナー・動画カード・
   セミナーカード/ポスター・各種見出しを狭幅で破綻しないよう調整。
   ============================================================ */
@media screen and (max-width: 768px) {
  /* コンテンツ左右に余白（.Main は padding 左右0のため端に貼り付く） */
  .Main { padding: 20px 16px 56px; }

  /* 大見出し（ページタイトル系） */
  .PharmacistContent__title,
  .SeminarDetail__title,
  .MovieContent__title {
    font-size: 20px; line-height: 30px; letter-spacing: 0.4px;
    padding: 14px 12px; margin-bottom: 24px;
  }
  .MovieContent__lead { font-size: 13px; line-height: 22px; margin-bottom: 28px; }

  /* セクション見出し（タイトル＋「もっと見る」が1行に収まらない場合に折返す） */
  .PharmacistSection { margin-bottom: 36px; }
  .PharmacistSection__heading { flex-wrap: wrap; gap: 8px 12px; }
  .PharmacistSection__headingLeft { flex-wrap: wrap; gap: 2px 10px; }
  .PharmacistSection__headingTitle { font-size: 17px; line-height: 26px; }
  .MovieSection { margin-bottom: 36px; }
  .MovieSection__heading { flex-wrap: wrap; gap: 4px 12px; }
  .MovieSection__headingMain { font-size: 17px; line-height: 26px; }

  /* 製品情報バナー：6列 → 3列 */
  .ProductBanner { width: calc((100% - 16px) / 3); }
  /* 他領域リンクバナー：5列 → 3列 */
  .AreaBanner { width: calc((100% - 24px) / 3); }
  /* 製品情報テキストリンク：読みやすさ */
  .ProductLinks__item { font-size: 14px; line-height: 24px; }

  /* 動画カード：2列（タブレット幅でも） */
  .MovieCard { flex: 0 1 calc((100% - 20px) / 2); }

  /* Webセミナーカード：サムネを縮小して横並び維持 */
  .SeminarCard { gap: 14px; padding: 16px 16px 16px 20px; }
  .SeminarCard__thumb { width: 96px; height: 136px; }
  .SeminarCard__title { font-size: 15px; line-height: 24px; }

  /* セミナーポスター：発表者ブロックを縦積み・余白圧縮 */
  .SeminarPoster__visual { height: 180px; }
  .SeminarPoster__body { padding: 20px 16px 28px; }
  .SeminarPoster__entryTitleText { font-size: 18px; line-height: 28px; }
  .SeminarPoster__speaker { flex-direction: column; gap: 16px; }
  .SeminarPoster__speakerPhoto { width: 120px; height: 150px; min-width: 120px; }
  .SeminarPoster__speakerName { font-size: 18px; line-height: 28px; }
  .SeminarPoster__cta { font-size: 15px; padding: 14px; }
}

@media screen and (max-width: 480px) {
  /* 狭幅スマホ：バナーは2列、動画カードも2列維持 */
  .ProductBanner { width: calc((100% - 8px) / 2); }
  .AreaBanner { width: calc((100% - 12px) / 2); }
  .PharmacistContent__title,
  .SeminarDetail__title,
  .MovieContent__title { font-size: 18px; line-height: 28px; }
}
