/*「種類用途から探す」と「キーワード検索」の幅を1対１に調整*/
#header #nav > ul > li {
    width: 50%;
}

/*「ログイン>」文言の位置及びカラー調整(未ログイン時)*/
@media (max-width:767px) {
.fs-l-page #header .inner .btn-login {
    display: block;
    height: 45px;
    text-indent: -115%;
    overflow: visible;
    right: 40px;
    transform: scale(0.9);
}
}
/*「ログイン>」文言の位置調整*/
@media (max-width:767px) {
.btn-loginText {
    position: absolute;
    right: 75px;
    font-size: 12px;
    font-weight: bold;
    color: #C40E25;
    transform: translateY(-65%);
    text-decoration: none;
    font-family: 'Hachi Maru Pop', cursive;
}
}

/*768px以上で、「ログイン>」を表示させないようにする。*/
@media screen and (min-width: 768px){
.btn-loginText {display:none}
}

/*ログイン後に「ログイン>」の文言を表示しないようにする*/
@media screen and (max-width: 767px){
.btn-loginText.true {display:none}
}

/*「ログイン後のユーザー名」の文言の位置調整*/
@media (max-width:767px) {
.btn-loginText_fullName {
    position: absolute;
    right: 75px;
    font-size: 12px;
    font-weight: bold;
    color: #C40E25;
    transform: translateY(-65%);
    text-decoration: none;
    font-family: 'Hachi Maru Pop', cursive;
}
}

/*768px以上で、「ログイン後のユーザー名」を表示させないようにする。*/
@media screen and (min-width: 768px){
.btn-loginText_fullName {display:none}
}

/*768px未満かつ未ログイン時に、「ゲスト」の名前を出さないようにする。*/
@media screen and (max-width: 767px){
.btn-loginText_fullName.false {display:none}
}

/*カートロゴの幅調整*/
@media (max-width:767px) {
.fs-l-page #header .inner .btn-cart {
    width: 35px;
}
}

/*3400px以上で、お知らせが崩れないように修正*/
@media (min-width:3000px) {
.fs-l-pageMain .block-news .inner header {
    width: 15%;
}
}

/*種類用途タグの枠の形変更*/
.inner .block-tab .tab li.tab-category {
    border-radius: 20px 20px 0 0;
}

/*種類用途タグの幅を100%*/
.inner .block-tab .tab li {
    width: 100%;
}

/*3100px以上の時、「お知らせ」UIが崩れないように修正*/
@media (min-width:3100px) {
.fs-l-pageMain .block-news .inner {
    max-width: 1200px;
}
}

/*種類・用途から探すタグをレスポンシブに対応*/
@media (max-width:767px) {
#header #nav > ul > li.nav-category > a {
    border-radius: 50px 50px 50px 50px;
    margin: 3px 4px 3px 0px;
}
}

/*種類・用途から探す：上　検索タグ：下*/
@media (max-width:767px) {
#header #nav > ul {
    display: inline;
}
}

/*検索タグ：横幅100%*/
@media (max-width:767px) {
.fs-l-page #header #nav > ul > li {
    width: 100%;
}
}

/*Home>ログイン　の位置を少し下に移動*/
@media (max-width:767px) {
.fs-l-page .fs-c-breadcrumb .fs-c-breadcrumb__list {
    margin-top: 5px;
}
}

/* 検索タグ：PC表示でも横幅100%*/
@media (min-width:767px) {
.fs-l-page #header #nav > ul > li {
      margin: 1px 10px 10px 10px;
}
}

/*種類・用途タグ：PCで表示した時に、非表示*/
/*@media screen and (min-width: 768px){
li.nav-category {display:none}
} */


/*ハンバーガーメニュー：PCで表示した時にも表示するように設定*/
@media screen and (min-width: 768px){
#header .pc-hide {
    display: inline;
}
}

/*サイドバー*/
@media screen and (min-width: 0px){
.drawer.active {
    opacity: 1;
    pointer-events: inherit;
    transform: translateX(0);
}
}

@media screen and (min-width: 0px){
.drawer {
    width: calc(100% - 60px);
}
}

@media screen and (min-width: 767px){
.fs-l-page .drawer .drawer-header {display:none}
}

/*サイドバー*/

/*検索タグの上下幅調整*/
@media screen and (min-width: 767px){
.fs-l-page #header #nav > ul > li {
    width: 100%;
}
}

@media screen and (min-width: 767px){
#header #nav > ul > li.nav-category > a {display:none}
}

/*おすすめ商品下の説明文 PC表示用*/
@media screen and (min-width: 767px) {
  .inner .bousai_font_pc {
    text-align: center;
    font-size: 20px;
    margin-bottom: 5%;
  }
  .inner .bousai_font_iphone {
    display: none;
  }
}

/*おすすめ商品下の説明文　スマホ表示用*/
@media screen and (max-width: 768px) {
  .inner .bousai_font_iphone {
    font-size: 14px;
    margin: 5% 10% 10% 10%;
  }
  .inner .bousai_font_pc {
    display: none;
  }
}

/*ほすぴマについてのフォントサイズ大きく*/
@media screen and (min-width: 767px) {
  .fs-l-pageMain .block-about p{
    font-size: 16px;
  }
}
/*ほすぴマについてのフォントサイズ大きく*/
@media screen and (min-width: 767px) {
  .fs-l-pageMain .block-about h2{
    font-size: 25px;
  }
}
/*ほすぴマについてのフォントサイズ大きく*/
@media screen and (min-width: 767px) {
  .fs-l-pageMain .ttl {
    font-size: 40px;
  }
}

/*トップページスクロール画像の上幅を少し空ける*/
@media screen and (max-width: 768px) {
  .fs-l-pageMain .block-kv {
    padding: 25px 0;
  }
}

/*トップページスクロール画像の上幅を少し空ける*/
@media screen and (min-width: 767px) {
  .fs-l-pageMain .block-kv {
    padding: 40px 0;
  }
}

/*おすすめ商品項目の上の幅を少し狭める*/
@media screen and (max-width: 768px) {
  .fs-l-pageMain .block-recommend {
    padding: 20px 0 40px;
  }
}


/*今月の特化カテゴリ下の説明文表示*/
@media screen and (max-width: 768px) {
  .fs-l-pageMain .bousai-pc .test_pc {
    margin: 10px;
    text-align: left;
    font-size: 15px;
  }
}

/*商品のお問い合わせボタンのレイアウト変更*/
button.buttom_layout.fs-c-button--inquiryAboutProduct.fs-c-button--plain {
  color: white;
  background-color: #c40e25;
  border-radius: 100vh;
  padding: 13px;
  text-decoration: none;
}

/*商品の申し込みはこちらボタンのレイアウト変更*/
seminar_inquiry {
  text-decoration: none;
}

/*文字を中央揃え*/
.password_certification {
  text-align: center;
}

/*検索バーの横幅調整*/
@media screen and (min-width: 767px){
.fs-l-page #header #nav > ul > li {
    width: 95%;
    margin-left: auto;
}
}

/*ハンバーガーメニューの位置調整*/
span.btn-menu {
  display: block;
  width: 40px;
  height: 40px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%20%3Cg%20id%3D%22%E3%82%B0%E3%83%AB%E3%83%BC%E3%83%97_639%22%20data-name%3D%22%E3%82%B0%E3%83%AB%E3%83%BC%E3%83%97%20639%22%20transform%3D%22translate(-306%20-12)%22%3E%20%3Crect%20id%3D%22%E9%95%B7%E6%96%B9%E5%BD%A2_305%22%20data-name%3D%22%E9%95%B7%E6%96%B9%E5%BD%A2%20305%22%20width%3D%2240%22%20height%3D%2240%22%20transform%3D%22translate(306%2012)%22%20fill%3D%22none%22%2F%3E%20%3Cg%20id%3D%22%E3%82%B0%E3%83%AB%E3%83%BC%E3%83%97_638%22%20data-name%3D%22%E3%82%B0%E3%83%AB%E3%83%BC%E3%83%97%20638%22%20transform%3D%22translate(-3.162%20-2.005)%22%3E%20%3Cpath%20id%3D%22%E3%83%91%E3%82%B9_298%22%20data-name%3D%22%E3%83%91%E3%82%B9%20298%22%20d%3D%22M0%2C0H25.621%22%20transform%3D%22translate(316.57%2027.057)%22%20fill%3D%22none%22%20stroke%3D%22%23c40e25%22%20stroke-width%3D%222%22%2F%3E%20%3Cline%20id%3D%22%E7%B7%9A_205%22%20data-name%3D%22%E7%B7%9A%20205%22%20x2%3D%2225.621%22%20transform%3D%22translate(316.57%2034.005)%22%20fill%3D%22none%22%20stroke%3D%22%23c40e25%22%20stroke-width%3D%222%22%2F%3E%20%3Cline%20id%3D%22%E7%B7%9A_206%22%20data-name%3D%22%E7%B7%9A%20206%22%20x2%3D%2225.621%22%20transform%3D%22translate(316.57%2040.954)%22%20fill%3D%22none%22%20stroke%3D%22%23c40e25%22%20stroke-width%3D%222%22%2F%3E%20%3C%2Fg%3E%20%3C%2Fg%3E%3C%2Fsvg%3E");
  cursor: pointer;
  position: absolute;
  margin: 0.7%;
}

/*ハンバーガーメニューの位置調整(スマホ版)*/
@media screen and (max-width: 768px) {
  span.btn-menu {
    position: absolute;
    transform: translate(10px, -50px);
  }
}


/*ハンバーガーメニューの表示*/
@media screen and (min-width: 767px){
#header .pc-hide {
    display: inline;
}
}

/*商品詳細レイアウトの個数選択に「数量：」を追記*/
.fs-body-product .fs-c-quantity {
  display: flex;
  align-items: center;
  position: relative;
}
.fs-body-product .fs-c-quantity::before {
  content: "数量：";
  white-space: nowrap;
}
.fs-body-product
  .fs-c-quantity__number:focus:not(.is-error)
  + .fs-c-quantity__message {
  left: calc(100% + 4px);
}

/*ハンバーガーメニューが閉じる実装*/
@media screen and (min-width: 0px) {
  #bg.active {
    pointer-events: inherit;
    opacity: 1;
  }
}

/*レビュー(星マーク)の位置移動*/
/* @media screen and (min-width: 768px) {
  .fs-c-productReview__aggregateRating.fs-c-aggregateRating {
    transform: translate(13%, -2330%);
  }
} */

/*送料表記の文言を表示*/
@media screen and (min-width: 0px) {
  .fs-l-page .drawer.active .drawer-header .block-copy {
    transform: translateX(0);
    opacity: 1;
  }
}

/*送料表記の空白を表示*/
@media screen and (min-width: 768px) {
  .fs-l-page .drawer .drawer-header {
    display: block !important;
    padding: 1% 0 0 0;
  }
}

/*医療従事者文言のレイアウト作成*/
.block-request-health {
  background: #c40e25;
  color: #fff;
  padding: 30px 20px 30px;
  text-align: center;
}

@media (min-width: 768px) {
  .health-ttl {
    font-size: 25px;
  }
}

.block-request-health .inner {
  display: flex;
  justify-content: center;
}

.btn-flex {
  margin: 10px;
}

.block-request-health .inner .btn-flex a {
  font-size: 17px;
  line-height: 1.6em;
  min-width: 280px;
}

@media (max-width: 767px) {
  .block-request-health .inner .btn-flex a {
    font-size: 12px;
    line-height: 1.2em;
    min-width: 100px;
  }
}

@media (max-width: 767px) {
  .health-ttl {
    font-size: 15px;
    font-weight: bold;
  }
}

/* 会員サービスカテゴリを未ログイン中は、非表示 */
.login.my-false { display: none !important; }

/* 会員サービスカテゴリをログイン済時は、表示(ハンバーガーメニュー) */
.fs-clientInfo:not(.is-ready) {
  display: block !important;
}

/*医療従事者モーダル用*/
.medical_modal {
  display: flex;
  justify-content: center;
  padding: 50px 0;
  font-family: YuGothic, "游ゴシック体", "Yu Gothic", "ヒラギノ角ゴ Pro",
    "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック",
    "MS PGothic", sans-serif;
  font-size: 16px;
  letter-spacing: 0.025em;
  line-height: 1.8;
  margin: 0;
}
@media screen and (max-width: 767px) {
  .medical_modal_font {
    font-size: 14px;
  }
}

/* ニックネーム　文字を見えないようにする。 */
#adj-password {
  color: white;
}

/* マイページ：会員サービスカテゴリ */
.list-adj-category {
    width: 150px;
    list-style: none;
    text-align: center;
    margin: 0 auto;
}

/* 他の企業ロゴ画像と高さを揃える */
.block-bnr .list-maker li img {
  height: 109px;
}

/* 企業ロゴ下の文字列崩れ修正 */
.block-bnr .list-maker li span {
  white-space: nowrap;
}

/* 文字色を黒に変更 */
.inner .block-copy {
    color: black;
    font-weight: bold;
}

/* 1200px以下で、文字改行 */
.inner .block-copy-iphone {
  color: black;
  font-weight: bold;
  text-align: center;
  padding-left: 11%;
  font-size: 1rem;
  line-height: 130%;
}
/* 1200px以上で、非表示 */
@media screen and (min-width: 1200px) {
  .fs-l-page .block-copy-iphone {
    display:none;
  }
}

/* 1200px以上で、非表示 */
@media screen and (max-width: 1200px) {
  .fs-body-top .drawer .drawer-header .block-copy {
    display: none !important;
  }
}

/* SNSロゴの配置調整 */
.fs-p-footerSnsLink li {
    margin: 10px;
}

/* 会社概要ページ用CSS */
.inner_company {
  display: block;
  width: 100%;
}

.section_company table {
  margin: 0 auto;
  width: 100%;
  border-spacing: 15px;
}

.section_company th {
  width: 30%;
  padding: 5%;
  background: #f9f7f3;
  font-size: 1.8rem;
}

.section_company td {
  padding: 5%;
  background: #f9f7f3;
  font-size: 1.8rem;
}
@media screen and (max-width: 768px) {
  .section_company th {
    font-size: 1.1rem;
    white-space: nowrap;
  }
}

@media screen and (max-width: 768px) {
  .section_company td {
    font-size: 1.1rem;
  }
}
/* 会社概要ページ用CSS */

/* 背景色の変更 */
.fs-l-page{
  background-image:url("https://hospima.itembox.design/item/img/texture.jpg?t=20240410102729new");
  background-repeat:repeat;
  background-size:100%;
}

/* おすすめ商品欄の背景色の変更 */
.fs-l-pageMain .block-recommend::after{
  background:none;
}

/* おすすめ商品欄の背景色の変更 */
.fs-l-pageMain .block-ranking::after{
  background:none;
}

/* トップページのキャッチコピーの色変更*/
.fs-c-productListItem__productName .fs-c-productName__copy{
  color:black !important;
}

/* お知らせ項目出現*/
.block-news{
  z-index:1;
}

/* お知らせ項目のボーダーの色をグレー*/
.fs-l-pageMain .list-news li{
  border-bottom:1px solid #696969 !important;
}

/* お知らせ項目の日付の色を黒色*/
.fs-l-pageMain .list-news li .date{
  color: black !important;
}

/* 商品詳細のキャッチコピーを黒色に*/
.fs-c-productNameHeading .fs-c-productNameHeading__copy{
  color:black !important;
}

/* 商品詳細の商品番号文字色を黒色*/
.item-text .fs-c-productNumber span{
  color:black;
}

.fs-body-custom.fs-body-about:before{
content: none;
}

.fs-l-main .block-search {
  background: none;
}

/* フッターの文字の高さを揃える　※各種SNS　文字黄色*/
#footer footer ul li p {
  height: 1.2em;
  margin: 0;
  padding: 0;
}
