/***************************
 ** テンプレート設定上書き
 */

/* ヘッダーをコンテンツ幅に合わせる */
.fs-l-header {
  padding-left: 8px;
  padding-right: 8px;
  max-width: 1016px;
  margin: 0 auto;
}

@media screen and (max-width: 1016px) {
  .fs-l-header {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ヘッダー右上メニューのアイコン修正 */
.fs-p-headerUtilityMenu__list a::before {
  border-width: 4px 6px;
  border-left-color: #039;
}

/* 電話番号 */
.fs-p-phoneOrder__phoneNum {
  font-size: 2.4rem;
  margin-left: 5px;
  padding-left: 28px;
  background: url("https://moritayakuhin.itembox.design/item/morita/icon_tel.png") no-repeat left center;
  background-size: 2rem 2rem;
}

/* 受付時間 */
.fs-p-phoneOrder__addition {
  font-size: 14px;
  margin-bottom: 1rem;
}

/* グローバルナビ */
.fs-p-headerNavBar {
  padding-right: 10px;
  border-bottom: none;
  margin-bottom: 10px;
}

@media screen and (min-width: 768px) {
  /* グローバルナビの各リンクボタン */
  .fs-p-headerNavigation__link {
    padding: 16px 8px;
    font-size: 16px;
  }
  
  /* 項目の頭についているアイコンのサイズ変更 */
  .fs-p-headerNavigation__link > i, .fs-p-headerNavigation__viewCartButton > i, .fs-p-headerNavigation__viewSubscriptionCartButton > i {
    font-size: 2em;
    font-weight: normal;
  }
}

/* コンテンツ幅を1000pxに */
.fs-l-main {
    max-width: 1016px;
}

/* リニューアル告知用のCSS */
.fs-pt-column--1 {
  grid-template-columns: 1fr;
  max-width: 60%;
  margin: 0 auto;
}

/* サイドバー */
@media print, screen and (min-width: 1016px) {
  .fs-l-sideArea {
    width: 100%;
    max-width: 240px;
  }
}

/* サイドバーのタイトル */
.fs-p-drawer__heading {
  border-bottom: 1px solid #039;
  font-size: 1.6rem;
  color: #039;
}

/* サイドバーのカテゴリーボタン */
.fs-p-sideMenu .fs-pt-menu__heading--lv1 {
  border: 1px solid #039;
}

.fs-p-sideMenu .fs-pt-menu__heading--lv1 a {
  color: #039;
  padding: 12px;
}

/*.fs-p-sideMenu .fs-pt-menu__heading--lv1 a:hover {
  color: #fff;
}*/

/* カテゴリーボタンの画像 */
@media screen and (min-width: 768px) {
  .fs-p-sideMenu .fs-pt-menu__heading--lv1 a {
    padding-left: 40px;
  }
  
  .fs-p-sideMenu .fs-pt_menu__item--class03 .fs-pt-menu__heading--lv1 a {
    background: url("https://moritayakuhin.itembox.design/item/morita/img_class03.png") no-repeat 5px center;
    background-size: 30px 30px;
  }
  
  .fs-p-sideMenu .fs-pt_menu__item--class02 .fs-pt-menu__heading--lv1 a {
    background: url("https://moritayakuhin.itembox.design/item/morita/img_class02.png") no-repeat 5px center;
    background-size: 30px 30px;
  }
  
  .fs-p-sideMenu .fs-pt_menu__item--designated_class02 .fs-pt-menu__heading--lv1 a {
    background: url("https://moritayakuhin.itembox.design/item/morita/designated_class02.png") no-repeat 5px center;
    background-size: 30px 30px;
  }
    .fs-p-sideMenu .fs-pt_menu__item--nutritionally_functional_food .fs-pt-menu__heading--lv1 a {
    background: url("https://moritayakuhin.itembox.design/item/morita/img_food.png") no-repeat 5px center;
    background-size: 30px 30px;
  }
   .fs-p-sideMenu .fs-pt_menu__item--softdrink .fs-pt-menu__heading--lv1 a {
    background: url("https://moritayakuhin.itembox.design/item/morita/img_softdrink.png") no-repeat 5px center;
    background-size: 30px 30px;
  }
  .fs-p-sideMenu .fs-pt_menu__item--cosmetics .fs-pt-menu__heading--lv1 a {
    background: url("https://moritayakuhin.itembox.design/item/morita/img_cosme.png") no-repeat 5px center;
    background-size: 30px 30px;
  }

  .fs-p-sideMenu .fs-pt_menu__item--quasi-drug .fs-pt-menu__heading--lv1 a {
    background: url("https://moritayakuhin.itembox.design/item/morita/img_quasi-drug.png") no-repeat 5px center;
    background-size: 30px 30px;
  }

  .fs-p-sideMenu .fs-pt_menu__item--fukuyamahoney .fs-pt-menu__heading--lv1 a {
    background: url("https://moritayakuhin.itembox.design/item/morita/img_honey.png") no-repeat 5px center;
    background-size: 30px 30px;
  }

  .fs-p-sideMenu .fs-pt_menu__item--microself .fs-pt-menu__heading--lv1 a {
    background: url("https://moritayakuhin.itembox.design/item/morita/img_microself.png") no-repeat 5px center;
    background-size: 30px 30px;
  }
}

/* メインカラム */
.fs-l-pageMain {
  max-width: 1016px;
  width: 100%;
}

/* サイドバーを伴うメインカラム */
@media print, screen and (min-width: 1016px) {
  .fs-l-sideArea + .fs-l-pageMain, .fs-l-pageMain + .fs-l-sideArea {
    max-width: 1016px;
  }
}

/* 第二階層以下のパンくずリスト */
.fs-c-breadcrumb {
  max-width: 1016px;
  margin: 0 auto;
  padding-left: 8px;
  padding-right: 8px;
}

/* フッター */
.fs-l-footer__contents {
  max-width: 1016px;
}

/* フッターの配送アイコン */
.fs-icon--delivery:before {
  color: #039;
  font-size: 2.4em;
  padding-left: 1em;
}

.fs-p-banner--postage .fs-p-banner__label--emphasis {
  font-weight: bold;
  align: center;
}

/* フッターコンテンツのタイトル */
.fs-p-footerNavigationItem__title {
  border-bottom: 2px solid #039;
  color: #039;
}

/* フッターのテキストリンクメニューのアイコン */
@media screen and (min-width: 768px) {
  .fs-p-footerUtilityMenu__list a::before {
    border-width: 4px 6px;
    border-left-color: #039;
  }
}

/* ブロックタイトルの装飾 */
.fs-p-heading--lv2 {
  border-bottom: 2px solid #039;
  color: #039;
  padding-left: 0.5em;
  padding-bottom: 0.5em;
}


/* トップページ　新規会員登録の会員サービス案内 */
.fs-p-card.member-service {
  border: 1px solid #039;
  background: #5f83ca;
  color: #fff;
}

.fs-p-card.member-service .fs-p-listWithCheckmark > li {
  background: rgba(255, 255, 255, 0.1);
}

.point_500 {
  font-size: 2.4em;
  font-weight: bold;
  display: inline-block;
  margin-right: 3px;
  color: #f8ff35;
}

.fs-p-card.member-service .fs-p-card__footer a {
  display: block;
  padding: 5px;
  background: #039;
  color: #fff;
  text-align: center;
  font-weight: bold;
}

.fs-p-card.member-service .fs-p-card__footer a::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  margin-left: 1em;
}

/* ★★★　商品の一言説明文を一時的にコメントアウト　★★★ */
.fs-c-productListItem__productDescription {
  display: none;
}

/* 価格表記を大きく */
.fs-c-productPrice__main__price .fs-c-price__value {
  font-size: 1.5em;
  font-weight: bold;
}

/* カートページのテーブルレイアウトが潰れるので縦積みに */
.fs-c-cartTable,
.fs-c-cartTable tr th,
.fs-c-cartTable tr td {
  display: block;
  border: none;
} 

.fs-c-cartTable tr th {
  display: none;
}

.fs-c-cartTable__actionButton__container.fs-c-cartTable__actionButton__container--buyItLater {
  padding-bottom: 0.5em;
  border-bottom: 1px solid #333;
}

.fs-c-cartTable__dataCell--point::before, .fs-c-cartTable__dataCell--quantity::before, .fs-c-cartTable__dataCell--subtotal::before {
  content: attr(data-cell-label);
  font-weight: bold;
  font-size: 0.8rem;
  margin-right: 8px;
  min-width: 2em;
}

@media screen and (min-width: 768px) {
  .fs-c-cartTable__actionButton__container.fs-c-cartTable__actionButton__container--buyItLater {
    border-bottom: none;
  }
}


/***************************
** 自動表示されるものを消す
*/

/* ロゴ下のショップ名テキストを消す */
.fs-p-logo__lead {
  display:none;
}

/***************************
** 記述追加
*/

/* トップページカルーセルの最大幅を設定 */
.fs-pt-carousel {
  max-width: 1016px;
  margin: 0 auto;
}

/* トップページの新着情報に付けるアイコン */
.fs-p-dateList a .info_icon {
  display: inline-block!important;
  color: #999;
  border: 1px solid #999;
  font-size: 0.8em;
  padding: 0 2px;
  margin-right: 0.5em;
  vertical-align: middle;
}

.fs-p-dateList a .shopinfo_icon {
  display: inline-block!important;
  color: #039;
  border: 1px solid #039;
  font-size: 0.8em;
  padding: 0 2px;
  margin-right: 0.5em;
  vertical-align: middle;
}

.ex_link::after {
  content: "";
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  background: url("https://moritayakuhin.itembox.design/item/morita/icon_exlink.png") no-repeat;
  background-size: 100% auto;
  margin-left: 0.5em;
  vertical-align: middle;
}

/***************************
** ページ
*/

/* 会員登録 */
#fs_Register .fs-c-inputTable tr th label {/* 登録フォーム見出し */
  font-size: 1.6rem;
}

#fs_Register .fs-c-inputTable .fs-c-inputField .fs-c-radio__label {/* ラジオボタンのラベル */
  font-size: 1.6rem;
}

/* 注釈・チェックボックスのテキスト */
#fs_Register .fs-c-inputField__explanation,
.fs-c-checkbox__labelText {
  font-size: 1.6rem;
}

/***************************
** フリーページ
*/

/* フリーページ　会社概要 */
.company_img {
  margin-bottom: 1rem;
  text-align: center;
}

.company_table {
  width: 100%;
}

.company_table tr th,
.company_table tr td {
  padding: 0.5rem;
  border-bottom: 1px solid #999;
}

.company_table tr th {
  white-space: nowrap;
  font-weight: bold;
  text-align: left;
}

/* フリーページ　お問い合わせ */
.contact_form_area h1 {
  display: none;
}
   
.contact_note {
  margin-bottom: 1rem;
}
   
.required_mark {
  color: #e2133d;
}
   
.form_parts > p:nth-child(odd) {
  font-weight: bold;
}
   
.form_parts > p:nth-child(even) {
  margin-bottom: 1rem;
}

.form_parts input[name="submit"] {
  background: #003399;
  border: 1px solid #003399;
  border-radius: 3px;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-size: 1.4rem;
  line-height: 1;
  text-decoration: none;
  text-align: center;
  padding: 0.8em 1.6em 0.6em;
  box-shadow: 0 0 2px #b2b2b2;
  min-width: 100%;
}

/* フリーページ　ショップからのお知らせ記事ページ */
.shopinfo_wrapper p:not(:last-child) {
  margin-bottom: 1em;
}

/* フリーページ 医薬品販売にあたっての表示義務の記載 */　
#obligation_table {
  width: 100%;
}

#obligation_table,
#in_table {
  border-top: 1px solid #b2b2b2;
  border-left: 1px solid #b2b2b2;
  border-collapse: collapse;
  border-spacing: 0;
}

#obligation_table tr th, 
#obligation_table tr td {
  padding: 0.8rem;
  border-bottom: 1px solid #b2b2b2;
  border-right: 1px solid #b2b2b2;
}

#obligation_table tr th {
  background: rgba(126, 126, 126, 0.08);
  font-weight: bold;
}

#obligation_table tr td {
  width: 80%;
}

#obligation_table tr .ttl_cel {
  background: #666;
  color: #fff;
  text-align: center;
  width: 100%;
}

#in_table {
  width: 100%;
  font-size: 0.875em;
  margin: 0.8rem 0;
}

#in_table tr th, 
#in_table tr td {
  padding: 0.4rem;
  text-align: center;
  vertical-align: middle;
}

#in_table tbody tr th,
#in_table tbody tr td {
  width: 25%;
}


/***************************
** フリーパーツ
*/

/* フリーパーツ　カート注意書き */
.cart_caution {
  margin: 0 1rem;
  padding: 1rem;
  border: 1px solid #ccc;
}
   
.cart_caution > p {
  margin-bottom: 1em;
}
   
.cart_caution_ttl {
  color: #e2133d;
  font-weight: bold;
}
   
.cart_caution_list dt {
  font-weight: bold;
}
   
.cart_caution_list dd {
  margin-bottom: 1em;
  margin-inline-start: 0;
}
   
.cart_caution_list dd ul li {
  list-style: circle;
  list-style-position: inside;
}
   
.cart_caution_list dd p {
  padding-left: 1em;
}

/* フリーパーツ　ヘッダーナビゲーション
※詳細検索を追加したのでレイアウト調整 */
.detail_search {
  display: inline-block;
  padding: 3px;
  background: #E5E5E5;
  color: #000!important;
  text-decoration: none;
}
.detail_search:hover {
  text-decoration: none;
}
#fs_p_headerNavigation {
  justify-content: flex-end;
}
.fs-p-headerNavigation__list {
  margin-right: auto;
}

/* フリーパーツ　詳細商品検索フォーム_オリジナル版
既存パーツの複製ののち動きに関わる部分を消去 */
.fs-p-productSearch__form {
  transform: none!important;
}

/* フリーパーツ　送料について */
.shipping_table {
  border-top: 1px solid #b2b2b2;
  border-left: 1px solid #b2b2b2;
  border-collapse: collapse;
  border-spacing: 0;
}

.shipping_table tr th,
.shipping_table tr td {
  padding: 4px;
  border-bottom: 1px solid #b2b2b2;
  border-right: 1px solid #b2b2b2;
}

.shipping_table tr th {
  background: rgba(126, 126, 126, 0.08);
  white-space: nowrap;
}


/***************************
** 商品ページ
*/
.red {
  color: #e2133d;
}

.bold {
  font-weight: bold;
}

.product_text_table {
  width: 100%;
  border-top: 1px solid #b2b2b2;
  border-left: 1px solid #b2b2b2;
  border-collapse: collapse;
  border-spacing: 0;
}

.product_text_table tr th, 
.product_text_table tr td {
  padding: 0.8rem;
  border-bottom: 1px solid #b2b2b2;
  border-right: 1px solid #b2b2b2;
}

.product_text_table tr th {
  background: rgba(126, 126, 126, 0.08);
  white-space: nowrap;
  font-weight: bold;
}

.product_text_table2 {
  width: 100%;
  border-top: 1px solid #b2b2b2;
  border-left: 1px solid #b2b2b2;
  border-collapse: collapse;
  border-spacing: 0;
}

.product_text_table2 tr th, 
.product_text_table2 tr td {
  padding: 0.8rem;
  border-bottom: 1px solid #b2b2b2;
  border-right: 1px solid #b2b2b2;
}

.product_text_table2 tr th {
  text-align: left;
  white-space: normal;
}

#page_top {
    position: fixed;
    right: 10px;
    width: 55px;
    height: 55px;
    background: #003399;
}

#page_top a::before {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 25px;
    height: 25px;
    margin: auto;
    color: #fff;
    font-family: "fs-icon" !important;
    font-weight: 900;
    content: '\e937';
    font-size: 25px;
    text-align: center;
}

.payment_img-box {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-top: 5px;
    width: 100%;
}

.payment_img-box img {
    height: 33px;
    width: auto;
}

html {
    scroll-behavior: smooth;
}
.pagetop {
    height: 35px;
    width: 35px;
    position: fixed;
    right: 15px;
    bottom: 10px;
    background: #fff;
    border: solid 2px #003399;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #003399;
    border-right: 3px solid #003399;
    transform: translateY(20%) rotate(-45deg);
}

@media (hover: hover) and (pointer: fine) {
    .pagetop:hover, .pagetop:hover .pagetop__arrow {
        border-color: #3293e7;
    }
}

.icon_history {
  max-width: 28px;
  max-height: 26px;
}

.box11{
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #5d627b;
    background: white;
    border-top: solid 5px #5d627b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.box11 p {
    margin: 0; 
    padding: 0;
}

#toppage_ranking .fs-c-productListCarousel.fs-c-slick {
    display: block;
}
#toppage_ranking span.fs-c-productListCarousel__ctrl {
    display: none !important;
}
#toppage_ranking .fs-c-productListCarousel__list {
    display: block;
}
#toppage_ranking div.slick-track {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    grid-gap: 16px;
    width: 100% !important;
    transform: none !important;
}
#toppage_ranking div.slick-track::before {
    content: none !important;
}
#toppage_ranking article.fs-c-productListCarousel__list__item.fs-c-productListItem {
    min-width: 100%;
    margin: 0;
}

.fs-p-scrollingCartButton {
    position: fixed;
    right: 0;
    bottom: 15%;
    z-index: 100;
}

.fs-l-header__drawerOpener {
    position: fixed;
    padding: 0 5px 0;
    margin: 0 0;
    border: 1px solid #003399;
    border-radius: 3px;
    background-color: #fff;
    top: 10px;
    z-index: 99999;
}

.fs-p-drawerButton {
    cursor: pointer;
    display: inline-block;
    padding: 5px;
}

.fs-p-drawer {
    background: #ffffff;
    box-shadow: 1px 1px 5px #b2b2b2;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    padding-bottom: 24px;
    transform: translateX(-101%);
    z-index: 2;
    transition-property: all;
    transition-duration: 0.2s;
    transition-timing-function: linear;
    transition-delay: 0s;
    z-index: 99999;
}

/* -------------------- */
/* ▼メニューバーの装飾 */
/* -------------------- */
ul.ddmenu_name {
   padding-left: 8px;
   padding-right: 8px;
   max-width: 1016px;
   margin: 0 auto;
   padding: 0px 0px 0px 15px; /* メニューバー内側の余白(左に15px) */
   margin-bottom: 1px; 
   font-weight: 500;
}

ul.ddmenu {
   padding-left: 8px;
   padding-right: 8px;
   max-width: 1016px;
   margin: 0 auto;
   padding: 0px 0px 0px 15px; /* メニューバー内側の余白(左に15px) */
   margin-bottom: 2px; 
}

/* -------------------------- */
/* ▼メインメニュー項目の装飾 */
/* -------------------------- */
ul.ddmenu li {
   width: 107px;           /* メニュー項目の横幅 */
   margin-right: 7px; 
   margin-top: 2px; 
   display: inline-block;  /* ★1:横並びに配置する */
   list-style-type: none;  /* ★2:リストの先頭記号を消す */
   position: relative;     /* ★3:サブメニュー表示の基準位置にする */
   border: 2px solid #003399;
   border-radius: 3px;
   z-index: 2;

}
ul.ddmenu a {
   background-color: #ffffff; /* メニュー項目の背景色 */
   color: #000000;              /* メニュー項目の文字色 */
   line-height: 40px;         /* メニュー項目のリンクの高さ(40px) */
   text-align: center;        /* メインメニューの文字列の配置(中央寄せ) */
   text-decoration: none;     /* メニュー項目の装飾(下線を消す) */
   font-weight: bold;         /* 太字にする */
   display: block;            /* ★4:項目内全域をリンク可能にする */
}
ul.ddmenu a:hover {
   background-color: #f0f8ff; /* メニュー項目にマウスが載ったときの背景色 */
   color: #000000;            /* メニュー項目にマウスが載ったときの文字色 */
}

/* -------------------- */
/* ▼サブメニューの装飾 */
/* -------------------- */
ul.ddmenu ul {
   display: none;       /* ★1:標準では非表示にする */
   margin-left:  0px;         /* ★2:サブメニュー外側の余白 */
   margin-top:  2px;
   padding: 0px;        /* ★3:サブメニュー内側の余白(ゼロ) */
   position: absolute;  /* ★4:絶対配置にする */
   border-radius: 3px;
   background-color: #ffffff;
   z-index: 2;
}

/* ---------------------------------- */
/* ▼サブメニューがある場合に開く処理 */   /* ※サブメニューが1階層しか存在しない場合の記述 */
/* ---------------------------------- */
ul.ddmenu li:hover ul {
   display: block;      /* ★5:マウスポインタが載っている項目の内部にあるリストを表示する */
   animation-name:fadeInAnime;
   animation-duration:0.5s;
   animation-fill-mode:forwards;
   opacity:0;
}

@keyframes fadeInAnime{
   from {
    opacity: 0;
  }

   to {
    opacity: 1;
  }
}

/* ------------------------ */
/* ▼サブメニュー項目の装飾 */
/* ------------------------ */
ul.ddmenu ul li {   /* ※A */
   width: 107px;               /* サブメニュー1項目の横幅 */
   border: 2px solid #003399; /* 項目上側の枠線 */
}
ul.ddmenu ul li a {   /* ※B */
   line-height: 35px;   /* サブメニュー1項目の高さ(35px) */
   text-align: left;    /* 文字列の配置(左寄せ) */
   padding-left: 5px;   /* 文字列前方の余白(5px) */
   font-weight: normal; /* 太字にはしない */
}
ul.ddmenu ul li a:hover {   /* ※C */
   background-color: #f0f8ff; /* サブメニュー項目にマウスが載ったときの背景色(淡い黄色) */
   color: #005500;            /* サブメニュー項目にマウスが載ったときの文字色(濃い緑色) */
}

@media screen and (min-width: 1016px) {
    .fs-l-header__welcomeMsg.is-ready {
        margin-left: 15%;
        display: block;
    }
}

.info_mailaddress {
   padding: 5px;
   color: red;
   border: 1px solid #d3d3d3;
   border-radius: 3px;
}

.ca_leaf {
   border: 1px solid #d3d3d3;
   padding: 6px
}

.ca_leaf_b {
   color: #0234a8;
   font-size: midium;
   font-weight: bold;
   text-align: center;
}

.ca_leaf_c {
   color: #0234a8;
   font-size: large;
   font-weight: bold;
   text-align: center;
}

.vx_leaf {
   border: 1px solid #d3d3d3;
   padding: 6px
}

.vx_leaf_b {
   background: linear-gradient(transparent 0%, transparent 50%, #ffe5f2 50%, #ffe5f2 100%);
}

.vx_leaf_c {
    font-size: large;
   text-align: center;
}