@import url("https://www.baka-shoujiki.com/60026675/wp-content/themes/multipress/style.css");
@import url("https://www.baka-shoujiki.com/60026675/wp-content/themes/multipress/theme.css");
@import url("https://www.baka-shoujiki.com/60026675/wp-content/themes/multipress/common.css");
@import url("https://www.baka-shoujiki.com/files/files_common.css");
@import url("https://www.baka-shoujiki.com/files/files_pc.css");


/* 上記CSS読込で崩れる部分の調整
------------------------------------------------------------------------------------------------------------------- */
/* vertical-align */
.ec-layoutRole__contentTop *,
.ec-layoutRole__contents * {
  vertical-align: baseline;
}
/* margin */
.ec-layoutRole__contentTop ol,
.ec-layoutRole__contentTop ol,
.ec-layoutRole__contents ul,
.ec-layoutRole__contents ul {
  margin-top: 0;
  margin-bottom: 10px;
}
.ec-layoutRole__contentTop .h1,
.ec-layoutRole__contentTop .h2,
.ec-layoutRole__contentTop .h3,
.ec-layoutRole__contentTop h1,
.ec-layoutRole__contentTop h2,
.ec-layoutRole__contentTop h3,
.ec-layoutRole__contents .h1,
.ec-layoutRole__contents .h2,
.ec-layoutRole__contents .h3,
.ec-layoutRole__contents h1,
.ec-layoutRole__contents h2,
.ec-layoutRole__contents h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}
/* モーダルのフォント */
#ec-modal-header {
  font-size: 16px;
}
.ec-inlineBtn--action,
.ec-blockBtn--action,
.ec-blockBtn--cancel {
  color: #ffffff !important;
}


/* その他の調整
------------------------------------------------------------------------------------------------------------------- */
/* フォントの基準サイズ */
html {
  font-size: 16px;
}
/* 商品詳細のマージン */
#page_product_detail .ec-categoryNaviRole {
  margin-bottom: 70px;
}
/* 標準のページトップ非表示 */
.ec-blockTopBtn {
  display: none !important;
}
/* 標準の背景色 */
.ec-layoutRole {
  background: none;
}
/* カテゴリ */
.ec-itemNav__nav li a {
  margin: 5px;
  padding: 6px;
  background: #eeeeee;
}
/* 関連商品 */
#RelatedProduct-product_title {
  margin: 50px 0 30px;
  padding: 10px 10px 10px 20px;
  background: #525263;
  color: #ffffff;
  font-size: 21px;
}
/* 詳細不明 */
.ec-borderedDefs dd {
  line-height: 2;
}
/* 商品カテゴリプルダウン▽位置調整 */
.ec-headerSearch .ec-headerSearch__category .ec-select.ec-select_search::before {
  position: absolute;
  top: 0;
  right: 1.4em;
  bottom: 0;
  margin: auto;
}
/* ご注文手続き画面の合計金額ウィンドウ */
.ec-orderRole .ec-orderRole__summary {
  margin-top: 0 !important;
}
.ec-totalBox {
  position: sticky;
  top: 0;
}


/* PC
------------------------------------------------------------------------------------------------------------------- */
@media screen and (min-width:768px) {
  /* 標準のロゴとコピーライト非表示 */
  .ec-headerRole,
  .ec-footerRole {
    display: none;
  }
  /* ティザーとフッターからのマージン */
  .ec-layoutRole__contentTop,
  .ec-layoutRole__footer {
    margin-top: 70px;
  }
}


/* SP
------------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width:768px) {
  /* PC専用の要素を非表示 */
  #branding_box,
  #branding_box #site-description,
  #branding_box #header_information,
  #branding_box #header_information .main_header,
  #branding_box #access,
  #main_teaser,
  #footer_block,
  #footer_block .fixed_btn,
  .ec-headerNaviRole,
  .ec-footerTitle__logo {
    display: none !important;
    height: 0 !important;
  }
  /* 幅調整、背景非表示 */
  body {
    min-width: inherit !important;
    background: none !important;
  }
  /* ハンバーガーメニューの文字はみ出し対策 */
  .ec-drawerRole .ec-headerLinkArea .ec-headerLink__item {
    display: flex;
  }
  /* カートに入れるボタンの文字はみ出し対策 */
  .ec-blockBtn--action {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
    line-height: 1.2em;
  }
  /* iPhoneでハンバーガーメニューが見切れる不具合対応 */
  .ec-headerLinkArea {
    padding-bottom: 20vw;
  }
}


/* 以下、案件ごとに追記で調整
------------------------------------------------------------------------------------------------------------------- */


/*ハンバーガーメニュー*/
.ec-drawerRoleClose.is_active ,
.ec-headerNavSP {
  left:inherit;
  right:10px;
  color:var(--body_text_color);
  background-color:var(--basic_background_color);
}

/* 全ての商品ボタン */
.ec-headerSearch .ec-headerSearch__category .ec-select.ec-select_search {
  background-color:var(--link_color);
}
.ec-drawerRole ,
.ec-drawerRole .ec-headerLinkArea {
  color:var(--body_text_color);
  background-color:var(--basic_background_color);
}
.ec-drawerRole .ec-headerCategoryArea .ec-headerCategoryArea__heading {
  color:var(--body_text_color);
}
/* ボーダー */
.ec-drawerRole .ec-headerLinkArea .ec-headerLink__list {
  border-top:1px solid var(--border_color);
}
/* メニューリンク */
.ec-drawerRole .ec-headerLinkArea .ec-headerLink__item {
  color:var(--body_text_color);
  border-bottom:1px solid var(--border_color);
}


/* ボタン画像版 */
.ec-drawerRoleClose.is_active ,
.ec-headerNavSP {
  top:20px;
  left:inherit;
  right:20px;
  width:12.5vw;
  height:12.5vw;
  padding:0;
  border-radius:0;
  background:none transparent;
}

.fa-bars ,
.fa-times {
  display:block;
  width:100%;
  height:100%;
}

.fa-bars:before ,
.fa-times:before {
  content:"";
  display:block;
  position:absolute;
  top:0;
  left:0;
  z-index:1;
  width:100%;
  height:100%;
}

.fa-bars:before {
  background:url(https://www.baka-shoujiki.com/files/sp_btn_menu_off.png) no-repeat top center/100%;
}

.fa-times:before {
  background:none transparent;
}


/* メニューオープン時 */
.ec-layoutRole.is_active .fa-bars:before {
  background:none transparent;
}

.ec-drawerRoleClose.is_active .fa-times:before {
  background:url(https://www.baka-shoujiki.com/files/sp_btn_menu_on.png) no-repeat top center/100%;
}


/* コピーライト */
.ec-footerRole {
  border: none;
}
.ec-footerTitle {
  background: url(https://www.baka-shoujiki.com/files/sp_footer_bg.png) repeat center center / cover;
  padding: 15px 0;
  color: #fff;
}