/* ==========================================================================
   Reset CSS — onoretty EC-CUBE
   EC-CUBEデフォルトstyle.css無効化後のベースリセット
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-base);
  font-size: 1rem;
  color: var(--color-text-base);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

dl, dt, dd {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  font-size: inherit;
}

/* EC-CUBE レイアウト構造のリセット */
.ec-layoutRole {
  width: 100%;
}

.ec-layoutRole__header {
  width: 100%;
}

.ec-layoutRole__contents {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.ec-layoutRole__main,
.ec-layoutRole__mainWithColumn,
.ec-layoutRole__mainBetweenColumn {
  width: 100%;
}

.ec-layoutRole__footer {
  width: 100%;
}

.ec-layoutRole__contentTop,
.ec-layoutRole__contentBottom {
  width: 100%;
}

/* ==========================================================================
   EC-CUBEデフォルトブロック非表示
   管理画面で配置されたデフォルトブロックをCSSで非表示にする。
   カスタムテンプレート（.header 等）には影響しない。
   ========================================================================== */
.ec-headerRole,
.ec-categoryNaviRole,
.ec-headerCategoryArea,
.ec-eyecatchRole,
.ec-topicRole,
.ec-newItemRole,
.ec-categoryRole,
.ec-newsRole,
.ec-headerTitle,
.ec-headerLink,
.ec-headerLinkArea,
.ec-headerSearch,
.ec-itemNav,
.ec-drawerRole,
.ec-drawerRoleClose,
.ec-overlayRole,
.ec-blockTopBtn {
  display: none !important;
}
