@import url("https://www.cncgroup.jp/60032601/wp-content/themes/multipress/style.css");
@import url("https://www.cncgroup.jp/60032601/wp-content/themes/multipress/theme.css");
@import url("https://www.cncgroup.jp/60032601/wp-content/themes/multipress/common.css");
@import url("https://www.cncgroup.jp/files/files_common.css");
@import url("https://www.cncgroup.jp/files/files_pc.css");
@import url("https://www.cncgroup.jp/files/files_mobile.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;
  background-color: var(--link_color);
  border-color: var(--link_color);
}


/* その他の調整
------------------------------------------------------------------------------------------------------------------- */
/* フォントの基準サイズ */
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-footerRole{
    background: url(https://www.cncgroup.jp/files/sp_footer_bg.png) repeat center center / cover;
    border: none;
  }
  .ec-drawerRole .ec-headerLinkArea,
  .ec-drawerRole,
  .ec-headerSearch .ec-headerSearch__category .ec-select.ec-select_search{
    background-color: var(--link_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-color: var(--easys_menu_off_background_color);
}

.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.cncgroup.jp/files/sp_btn_menu_on.png) no-repeat top center/100%;
}
.ec-footerTitle {
  background-color: var(--copyright_background_color);
  background: url(https://www.cncgroup.jp/files/sp_footer_bg.png) repeat center center / cover;
  padding: 15px 0;
  color: var(--copyright_characters_color);
  color: #fff;
}

.ec-headerRole {
padding: 0;
}
}



.ec-headerLinkArea .menu-item-has-children {
  position: relative;
}

.ec-headerLinkArea .menu-item-has-children span.accordionBtn {
  position: absolute;
  top: 2px;
  right: 3em;
  z-index: 100;
  display: inline-block !important;
  padding: 0 !important;
  width: 3em;
  height: 3em;
  height: 0;
  background: none;
  text-align: center;
  font-size: 115%;
}
.ec-headerLinkArea .menu-item-has-children span img {
  padding: 1em 0;
  width: 1em;
}
.ec-headerLinkArea  #Side_wrap ul#menu-sp_side li {
  width: 100%;
  transition: all 0.5s ease 0s;
}
.ec-headerLinkArea #menu-sp_side a {
  color: #fff;
  font-size: 16px;
}
.ec-headerLinkArea #menu-sp_side {
  margin-top: 13px;
}
.ec-headerLinkArea #menu-sp_side .menu-item a {
  display: block;
  padding: 15px 25px;
  width: 100%;
  height: 100%;
}
.ec-headerLinkArea #Side_wrap.hide_menu {
  display: none;
  width: 100%;
  transition: all 0.5s ease 0s;
}
.ec-headerLinkArea #Side_wrap.hide_menu ul#menu-sp_side li {
  width: 100%;
  transition: all 0.5s ease 0s;
}
.accordionBtn {
  width: 3em!important;
  height: 2.5em!important;
  background-color: var(--link_color) !important;
  background-image: url("https://www.cncgroup.jp/files/sp_submenu_btn_off.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 25% !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
.accordionBtn_active {
  background-image: url("https://www.cncgroup.jp/files/sp_submenu_btn_on.png")!important;
}
.no_click > a {
  pointer-events: none;
}
.ec-headerLinkArea .menu-item-has-children .sub-menu {
  padding-left: 15px;
}

/* 以下、案件ごとに追記で調整
------------------------------------------------------------------------------------------------------------------- */



/* SPハンバーガーメニューボタン調整
---------------------------------------*/
.ec-drawerRoleClose.is_active ,
.ec-headerNavSP {
  top:var(--easys_menu_y);
  left:inherit;
  right:var(--easys_menu_x);
  width:var(--easys_menu_size);
  height:var(--easys_menu_size);
  padding:0;
  border-radius:0;
  background:none transparent;
}

.fa-bars ,
.fa-times {
  display:none;
  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-color:var(--easys_menu_off_background_color);
}

.fa-times:before {
  background:none transparent;
}

/* PC時非表示 */
@media only screen and (min-width: 768px) {
  .ec-headerRole__navSP #ec_menuTrigger {
    display:none;
  }
}

#ec_menuTrigger {
  display:block;
  position:fixed;
  top:var(--easys_menu_y);
  right:var(--easys_menu_x);
  z-index:1001;
  width:var(--easys_menu_size);
  height:var(--easys_menu_size);
  pointer-events:none;
}
#ec_menuTrigger span {
  display:inline-block;
  position:absolute;
  left:0;
  right:0;
  width:var(--easys_menu_size_span_w);
  height:var(--easys_menu_size_span_h);
  margin:auto;
  box-sizing:border-box;
  transition:all 0.5s;
  background-color:var(--easys_menu_off_span_color);
}

#ec_menuTrigger span:nth-of-type(1) {
  top:33%;
}

#ec_menuTrigger span:nth-of-type(2) {
  top:0;
  bottom:0;
  margin:auto;
}

#ec_menuTrigger span:nth-of-type(3) {
  top:66%;
}



/*=============================
  メニューオープン時
  =============================*/
.ec-layoutRole.is_active .fa-bars:before {
  background:none transparent;
}

.ec-drawerRoleClose.is_active .fa-times:before {
  background-color:var(--easys_menu_off_background_color);
}

.ec-layoutRole.is_active span {
  background-color:var(--easys_menu_on_span_color);
}

.ec-layoutRole.is_active #ec_menuTrigger span:nth-of-type(1) {
  top:50%;
  -webkit-transform:rotate(45deg);
          transform:rotate(45deg);
}

.ec-layoutRole.is_active #ec_menuTrigger span:nth-of-type(2) {
  width:0;
  opacity:0;
}

.ec-layoutRole.is_active #ec_menuTrigger span:nth-of-type(3) {
  top:50%;
  -webkit-transform:rotate(-45deg);
          transform:rotate(-45deg);
}




/* コピーライト
---------------------------------------*/
.ec-footerRole {
  border:none;
}
.ec-footerTitle {
  padding:15px 0;
  color:var(--copyright_characters_color);
  background:url(https://www.cncgroup.jp/files/sp_footer_bg.png) repeat center center / cover;
}