@import url("https://www.ougaku.net/60027965/wp-content/themes/multipress/style.css");
@import url("https://www.ougaku.net/60027965/wp-content/themes/multipress/theme.css");
@import url("https://www.ougaku.net/60027965/wp-content/themes/multipress/common.css");
@import url("https://www.ougaku.net/files/files_common.css");
@import url("https://www.ougaku.net/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;
    background-color: #204181;
  }
  .ec-headerSearch .ec-headerSearch__category .ec-select select {
  background-color: #204181;
}
  
  /* カートに入れるボタンの文字はみ出し対策 */
  .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 {
  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.ougaku.net/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.ougaku.net/files/sp_btn_menu_on.png) no-repeat top center/100%;
}


/* コピーライト */
.ec-footerRole {
  border: none;
}
.ec-footerTitle {
  background: url(https://www.ougaku.net/files/sp_footer_bg.png) repeat center center / cover;
  padding: 15px 0;
  color: var(--copyright_characters_color);
}

/*ボタン色調整
---------------------------------------*/
.ec-blockBtn--action {
  border-color:var(--link_color) !important   ;
  background-color:var(--link_color)!important   ;
}

.ec-blockBtn--action:hover {
  color:var(--easys_standard_value006) !important;
  border-color:#5D5425  !important;
  background-color:#5D5425!important  ;
}

/* キャンセルボタン */
.ec-blockBtn--cancel {
  color:var(--easys_standard_value006) !important;
  border-color:var(--link_color)!important ;
  background-color:var(--link_color)!important   ;
}
.ec-blockBtn--cancel:hover {
  color:var(--easys_standard_value006) !important;
  border-color:#5D5425  !important   ;
  background-color:#5D5425 !important    ;
}

/* ナビプルダウン表示 */
#access ul.menu ul.sub-menu li {
border-bottom: 1px dotted;
}

div#access ul.sub-menu li.sub-gnavi a ,
div#access ul.sub-menu li.sub-gnavi2 a {
  display:flex;
  line-height:initial;
  align-items:center;
  justify-content:center;
  text-align:center;
  text-indent:0;
  height:55px;
}

div#access ul.sub-menu li.sub-gnavi a:hover,
div#access ul.sub-menu li.sub-gnavi2 a:hover{
  text-decoration: underline;
}

/* コピーライト */
.ec-footerRole {
  border: none;
}
body {
  background: url(https://www.ougaku.net/files/body_bg_02.jpg) no-repeat center top/100%;
}
#main_teaser img {
  height: 400px;
}

.ec-footerTitle {
  background-color: var(--copyright_background_color);
  color: #fff;
  padding: 15px 0;
}