/* カスタマイズ用CSS */

:root {
  --font-color: #333;
  --bg-body: #e5e4e6;
  --bg-menu: #28A3CD;
  --bg-footer: #D0CFD1;
  --border-color: #dcdcdc;
  --link-color: #5C8FB9;
}

/* レイアウト */
/*
.ec-cartRole {
  margin-bottom: 30px;
}
*/

.ec-cartRole,
.ec-registerRole,
.ec-contactCompleteRole,
.ec-contactConfirmRole,
.ec-mypageRole,
.ec-contactRole,
.ec-withdrawRole {
  padding: 16px;
  max-width: none;
}

.ec-registerCompleteRole {
  background: #fff;
  padding: 30px;
  max-width: none;
}

@media screen and (min-width:1025px) {
  .ec-layoutRole {
    background-color: var(--bg-body);
  }

  .ec-layoutRole__contents {
    padding-bottom: 60px;
  }

  .ec-layoutRole__contentBottom {
    max-width: 1150px;
    margin:  0 auto;
  }

  .ec-role {
    background-color: white;
    padding: 30px;
    margin: 0;
    max-width: 1150px;
  }

  .ec-cartRole {
    background-color: white;
    padding: 30px;
    max-width: none;
  }

  .ec-mypageRole {
    background-color: white;
    padding: 30px;
    /* margin-bottom: 20px; */
  }

  .ec-withdrawRole {
    background-color: white;
    padding: 30px;
    margin-bottom: 20px;
  }
}

/* ヘッダー */
.ec-headerNaviRole {
  padding: 0 20px 0 60px;
  height: 60px;
}

@media screen and (min-width:768px) {
  .ec-headerNaviRole {
    padding: 0 20px;
    height: 80px;
  }
}

@media screen and (min-width:1025px) {
  .ec-headerNaviRole {
    padding: 0;
    max-width: 1150px;
    height: 140px;
  }
}

.ec-headerRole__title h1 {
  margin-top: 10px;
}

.ec-headerNav .ec-headerNav__itemIcon {
  margin-right: 5px;
  margin-left: 5px;
}

@media only screen and (min-width: 768px) {
  .ec-headerNav {
    margin: 0 20px;
  }

  .ec-headerNav .ec-headerNav__itemIcon {
    margin-right: 5px;
    margin-left: 5px;
  }

  .ec-headerNaviRole .ec-headerNaviRole__search {
    display: none;
  }
}

@media screen and (min-width:1025px) {
  .ec-headerNaviRole .ec-headerNaviRole__search {
    display: inline-block;
  }
}

.header-search__sp {
  background-color: var(--bg-body);
  padding: 20px;
}

.header-search-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  border: 1px solid #777777;
  border-radius: 6px;
}

.header-search-form input {
  width: calc(100% - 50px);
  height: 45px;
  padding: 5px 15px;
  border: none;
  box-sizing: border-box;
  font-size: 1em;
  outline: none;
}

.header-search-form input::placeholder{
  color: #B6B6B6;
}

.header-search-form button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 45px;
  border: none;
  background-color: white;
  cursor: pointer;
}

.header-search-form button img {
  width: 30px;
}

@media screen and (min-width:1025px) {
  .header-search__sp {
    display: none;
  }
}

/* ヘッダー下メニュー */
.global_nav {
  display: none;
}

@media screen and (min-width:1025px) {
  .global_nav {
    display: block;
    position: relative;
    background-color: var(--bg-menu);
    margin-bottom: 40px;
  }
}

.global_nav__inner {
  max-width: 1150px;
  margin: 0 auto;
}
.global_nav__menu {
  display: flex;
  list-style: none;
}

.global_nav__menu li {
  line-height: 60px;
  padding: 0 30px;
}

.global_nav__menu a {
  color: white;
  font-size: 16px;
  font-weight: bold;
  display: block;
}

.global_nav__menu a:hover {
  color: #f3f3f3;
  text-decoration: underline;
}

.gnav_sub {
  list-style: none;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: white;
  display: none;
  z-index: 100;
  border-bottom: 1px solid #dcdcdc;
}

.gnav_sub a {
  padding: 0;
  color: var(--font-color);
  font-weight: normal;
}

.gnav_sub a:hover {
  color: var(--bg-menu);
}

.gnav_sub li {
  position: relative;
  line-height: 2.2;
  padding: 0 15px;
  display: block;
}
.gnav_sub li a {
  font-size: 15px;
}

.gnav_sub li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background-color: var(--bg-menu);
}

.gnav_sub__inner {
  width: 1080px;
  height: auto;
  margin: 0 auto;
  padding: 40px 0 50px;
}

.sub_a__inner {
  display: flex;
  justify-content: space-between;
}

.sub_a__col {
  width: calc( 33.33%);
}

.gnav_sub__a .col_1,
.gnav_sub__a .col_2,
.gnav_sub__a .col_3 {
  position: relative;
  padding: 0 30px;
  font-weight: 400;
}

/* スライダー */
.ec-sliderRole {
  max-width: 100%;
  padding: 0;
  margin-bottom: 30px;
}

@media screen and (min-width:1025px) {
  .ec-sliderRole {
    margin-bottom: 40px;
  }

  .ec-sliderRole .slick-slide {
    margin-right: 10px!important;
    margin-left: 10px!important;
  }
}

/* トップページ */
.top-section {
  padding: 20px 20px;
}

@media screen and (min-width:1025px) {
  .top-section {
    background-color: white;
    margin: 0 0 20px;
    padding: 30px;
  }
}

.top-section img {
  width: 100%;
  max-width: 100%;
}

.top-heading h2 {
  position: relative;
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 20px;
  color: var(--font-color);
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
}

.top-heading h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 50px;
  height: 1px;
  background-color: var(--font-color);
}

@media screen and (min-width:1025px) {
  .top-heading h2 {
    font-size: 22px;
    text-align: left;
    margin: 10px 0 25px;
    padding-bottom: 0;
  }

  .top-heading h2::after {
    display: none;
  }
}

.ec-newsRole {
  padding: 0;
}

/* 商品リストスライダー 設定 */
.slick-prev,
.slick-next {
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background-color: rgba(255,255,255,0.9);
  z-index: 10;
}
.slick-prev:hover,
.slick-next:hover,
.slick-prev:focus,
.slick-next:focus {
  background-color: white;
}

.slick-prev {
  left: -8px;
}

.slick-next {
  right: -8px;
}

.slick-prev::before,
.slick-next::before {
  content: '';
  position: absolute;
  top: 13px;
  display: block;
  width: 12px; 
  height: 12px;
  border-top: 1px solid var(--font-color);
  border-right: 1px solid var(--font-color);
}

.slick-prev::before {
  transform: rotate(225deg);
  left: 15px;
}

.slick-next::before {
  transform: rotate(45deg);
  left: 10px;
}

.top-feature .slick-slide,
.top-ranking .slick-slide,
.top-newitem-auto .slick-slide,
.top-newitem .slick-slide,
.top-recommend .slick-slide,
.top-recently .slick-slide,
.related-product .slick-slide {
  margin-right: 5px;
  margin-left: 5px;
}

@media screen and (min-width:1025px) {
  .top-feature .slick-slide,
  .top-ranking .slick-slide,
  .top-newitem-auto .slick-slide,
  .top-newitem .slick-slide,
  .top-recommend .slick-slide,
  .top-recently .slick-slide,
  .related-product .slick-slide {
    margin-right: 10px;
    margin-left: 10px;
  }
}

.card-item a {
  color: var(--font-color);
}

.card-item a img {
  border: 1px solid var(--border-color);
}

.card-item__title {
  font-weight: bold;
  margin: 10px 0 5px;
  font-size: 14px;
}

.card-item__price {
  font-size: 13px;
}

@media screen and (min-width:1025px) {
  .card-item__title {
    margin: 16px 0 8px;
  }
}


.card-ranking a {
  color: var(--font-color);
}

.card-ranking__number img {
  width: 30px;
  margin: 0 auto 10px;
}

.card-ranking__thumnail img {
  border: 1px solid var(--border-color);
}

.card-ranking__title {
  font-weight: bold;
  margin: 10px 0 5px;
  font-size: 14px;
}

.card-ranking__price {
  font-size: 13px;
}

@media screen and (min-width:1025px) {
  .card-ranking__number img {
    width: 36px;
  }

  .card-ranking__title {
    margin: 16px 0 8px;
  }
}


/* トップページ - 人気カテゴリ */
.top-category__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.top-category__listItem {
  width: calc(50% - 5px);
}

@media screen and (min-width:1025px) {
  .top-category__list {
    gap: 20px;
  }

  .top-category__listItem {
    width: calc(33.33% - 20px);
  }
}

.top-category__btn {
  margin-top: 30px;
  text-align: center;
}

.top-category__btn a {
  position: relative;
  display: inline-block;
  color: var(--font-color);
  padding: 15px 10px;
  border: 1px solid var(--font-color);
  width: 80%;
  transition: .3s ease-in-out;
}

.top-category__btn a::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px; 
  height: 10px;
  border-top: 1px solid var(--font-color);
  border-right: 1px solid var(--font-color);
}

.top-category__btn a:hover {
  background-color: var(--font-color);
  color: white;
}

.top-category__btn a:hover::after {
  border-color: white;
}

@media screen and (min-width:1025px) {
  .top-category__btn a {
    padding: 18px 10px;
    width: 40%;
  }
}

/* トップページ - 取り扱いメーカー */
.top-maker__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.top-maker__list li {
  width: calc(33.33% - 10px);
}

@media screen and (min-width:1025px) {
  .top-maker__list li {
    width: calc(16.6% - 10px);
  }
}

.ec-pageHeader h1,
.ec-pageHeader .h1 {
    margin: 0 0 16px;
    border-top: 0;
}

/* トップページ - 新着情報 */
#news_readmore {
  margin-top: 20px;
}

/* サイド - ナビ */
.sidenav {
  margin: 0 20px 20px 0;
  background-color: white;
  padding: 20px;
}

.sidenav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100px;
}

@media screen and (min-width:768px) {
  .sidenav-menu > li {
    position: relative;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    font-weight: bold;
    width: 20vw;
    padding: 12px 0;
  }
}

@media screen and (min-width:1025px) {
  .sidenav-menu > li {
    width: 227px;
  }
}

.sidenav-menu > li a {
  display: block;
  color: var(--font-color);
}

.sidenav-menu > li a:hover {
  color: var(--link-color);
}

.sidenav-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 0;
  left: 100%;
  display: none;
  background-color: var(--bg-footer);
  min-width: 100px;
  z-index: 100;
}

.sidenav-submenu li {
  padding: 12px 12px;
  border-bottom: 1px solid white;
  width: 230px;
}

.sidenav-submenu li:last-child {
  border-bottom: none;
}

.sidenav-menu > li:hover > .sidenav-submenu {
  display: block;
}

/* サイド - 検索 */
.side-search {
  margin: 0 20px 20px 0;
  background-color: white;
  padding: 20px;
}

.side-search p {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
}

.side-search-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  border: 1px solid #777777;
  border-radius: 3px;
}

.side-search-form input {
  width: 250px;
  height: 45px;
  padding: 5px 15px;
  border: none;
  box-sizing: border-box;
  font-size: 1em;
  outline: none;
}

.side-search-form input::placeholder{
  color: #B6B6B6;
}

.side-search-form button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 45px;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

/* サイド - カレンダー */

.side-calendar p.heading {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}

.side-calendar {
  margin: 0 20px 20px 0;
  background-color: white;
  padding: 20px;
}

.ec-calendar__month {
  margin-bottom: 20px;
}

.ec-calendar__month tr {
  border-left: 1px solid #f3f3f3;
  border-right: 1px solid #f3f3f3;
}

.ec-calendar__month tr:first-of-type {
  border-left: none;
  border-right: none;
  background-color: var(--bg-body);
}

@media screen and (min-width:768px) {
  .ec-calendar__month th,
  .ec-calendar__month td {
    border-top: 1px solid #f3f3f3;
    border-bottom: 1px solid #f3f3f3;
    padding: 4px;
    text-align: center;
    vertical-align: middle;
  }
}

@media screen and (min-width:1025px) {
  .ec-calendar__month th,
  .ec-calendar__month td {
    padding: 8px;
  }
}

/* フッター */
.ec-footerRole {
  background-color: var(--bg-footer);
  margin: 0;
  padding: 40px 20px;
  border-top: none;
}

@media screen and (min-width:1025px) {
  .ec-footerRole {
    padding: 40px 0;
  }

  .ec-footerRole .ec-footerRole__inner {
    padding: 0!important;
    max-width: 1150px;
  }
}

.ec-footerNavi .ec-footerNavi__link {
  display: block;
}

.ec-footerNavi .ec-footerNavi__link a {
  color: var(--font-color);
}

.ec-footerSitemap {
  display: flex;
  flex-direction: column;
}

.ec-footerSitemap__box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ec-footerSitemap__box ul li a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--font-color);
  font-size: 13px;
}

@media screen and (min-width:1025px) {
  .ec-footerSitemap {
    flex-direction: row;
    justify-content: space-between;
  }

  .ec-footerSitemap__box {
    background-color: var(--bg-body);
    padding: 30px;
    width: calc( 33.33% - 20px);
  }

  .ec-footerSitemap__box ul li a {
    font-size: 14px;
  }
}

.ec-footerTitle {
  display: flex;
  flex-direction:column;
  justify-content: center;
  color: var(--font-color);
}

@media screen and (min-width:1025px) {
  .ec-footerTitle {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media screen and (min-width:768px) {
  .ec-footerTitle__logo img {
    width: 320px!important;
  }
}

.ec-blockTopBtn {
  background-color: var(--font-color);
  color: white;
}

/* 商品一覧ページ */
.productList_wrap {
  padding: 0 0 40px;
}

@media screen and (min-width:1025px) {
  .productList_wrap {
    background-color: white;
    padding: 20px;
  }
}

.ec-shelfGrid__item a {
  transition: .3 ease-in-out;
}

.ec-shelfGrid__item a:hover {
  opacity: .7;
}

.ec-shelfGrid__item p.name {
  font-weight: bold;
  font-size: 14px;
  margin: 10px 0 0;
}

.ec-shelfGrid__item p.descripstion {
  font-size: 13px;
  margin: 10px 0 0;
}

.ec-shelfGrid__item p.price02-default {
  font-size: 15px;
  font-weight: bold;
  margin: 10px 0 0;
}

/* 商品詳細ページ */
.ec-productRole__detail {
  padding: 40px 0 60px;
}

.ec-productRole__detail p.heading {
  font-weight: bold;
  font-size: 18px;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

.ec-productRole__detail p.subtitle {
  font-size: 16px;
  font-weight: bold;
  margin: 1em 0 0;
  color: var(--bg-menu);
}

.ec-productRole__detail h4 {
  position: relative;
  margin: 0;
  font-weight: bold;
  font-size: 16px;
  padding-left: 18px;
}

.ec-productRole__detail h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background-color: var(--bg-menu);
}

.ec-productRole__detail p {
  font-size: 14px;
  line-height: 1.8;
}

.ec-productRole__detail ul {
  padding-left: 1em;
}

.ec-productRole__detail ul li {
  line-height: 1.8;
}

@media screen and (min-width:768px) {
  .ec-productRole {
    padding: 40px;
  }
}

@media screen and (min-width:1025px) {
  .ec-productRole__detail {
    padding: 0 0 20px;
  }
  
  .ec-productRole__detail p.heading {
    font-size: 22px;
    margin-bottom: 40px;
  }

  .ec-productRole__detail p.subtitle {
    font-size: 20px;
  }

  .ec-productRole__detail p {
    line-height: 1.8;
    font-size: 16px;
  }

  .ec-productRole {
    background-color: white;
    color: var(--font-color);
    padding: 40px;
    margin: 0 0 40px;
    max-width: 1150px;
  }

  .ec-layoutRole__contentBottom {
    margin: 0 auto 60px;
  }
}

/* 商品詳細ページ - レビュー欄 */
.ec-rectHeading h4 {
  font-size: 17px;
}

@media screen and (min-width:1025px) {
  .ec-rectHeading h4 {
    font-size: 20px;
  }
}

/* 商品詳細ページ - 注意書き */
.sales-restrictions {
  font-size: 14px;
}

.sales-restrictions span {
  font-size: 15px;
  padding-bottom: 10px;
}

/* 商品詳細ページ - 注意書きモーダル */
.ec-modal .ec-modal-wrap {
  padding: 40px 20px;
}

@media screen and (min-width:768px) {
  .ec-modal .ec-modal-wrap {
    padding: 40px 20px;
    width: 80%;
  }
}

@media screen and (min-width:1025px) {
  .ec-modal .ec-modal-wrap {
    padding: 40px 40px;
    width: 50%;
  }
}

.ec-modal-wrap #ec-modal-header {
  font-weight: bold;
  margin-bottom: 1em;
  font-size: 16px;
}

.ec-modal .ec-modal-box {
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

.ec-modal .ec-modal-box p {
  margin-bottom: 1em;
}

.ec-modal .ec-modal-box ul {
  padding-left: 1em;
  margin-bottom: 1em;
}

.ec-modal-box__btn {
  text-align: center;
}

@media screen and (min-width:1025px) {
  .ec-modal-wrap #ec-modal-header {
    font-size: 20px;
  }

  .ec-modal .ec-modal-box {
    font-size: 16px;
  }
}

/* メルマガ登録バナー */
.area-mailmagazine {
  /* margin-bottom: 20px; */
  background: #fff;
  padding: 16px;
}
.area-mailmagazine img {
  width: 100%;
}

@media screen and (min-width:1025px) {
  .area-mailmagazine {
    padding: 30px;
  }
}

/* レビュープラグイン */
#reviewContent p {
    margin-bottom: 1em;
}

/* 旧サイトstye */
.detail_t {
    font-size: 18px;
    font-weight: bold;
    border-bottom: #DCE0E5 1px solid;
    line-height: 1.8em;
    margin-bottom: 5px;
}

.detail_text {
    overflow: hidden;
    padding-top: 3px;
    padding-bottom: 15px;
}

.ec-productRole__detail img {
    width: auto !important;
}

/* ボタン */
.ec-blockBtn--action:disabled,
.ec-blockBtn--action.disabled,
.btn-check:checked + .ec-blockBtn--action,
.btn-check:active + .ec-blockBtn--action,
.ec-blockBtn--action:active,
.ec-blockBtn--action.active,
.show > .ec-blockBtn--action.dropdown-toggle,
.ec-blockBtn--action:focus,
.ec-blockBtn--action:active:focus,
.ec-blockBtn--action {
  background-color: #28A3CD;
  border-color: #28A3CD;
  box-shadow: none;
  border-radius: 4px;
}

.ec-blockBtn--action:hover {
  background-color: #28A3CD;
  border-color: #28A3CD;
  opacity: 0.80;
}

.btn-check:checked + .ec-blockBtn--cancel,
.btn-check:active + .ec-blockBtn--cancel,
.ec-blockBtn--cancel:active,
.ec-blockBtn--cancel.active, .show > .ec-blockBtn--cancel.dropdown-toggle,
.ec-blockBtn--cancel:focus,
.ec-blockBtn--cancel:active:focus,
.ec-blockBtn--cancel {
  background-color: #F27581;
  border-color: #F27581;
  box-shadow: none;
  border-radius: 4px;
}

.ec-blockBtn--cancel:hover {
  background-color: #F27581;
  border-color: #F27581;
  opacity: 0.80;
}

.ec-blockBtn--cancel:disabled:hover,
.ec-blockBtn--cancel.disabled:hover {
    background-color: #525263;
    border-color: #525263;
}

.ec-blockBtn:active:focus,
.ec-blockBtn {
  box-shadow: none;
  border-radius: 4px;
}

.ec-inlineBtn--action {
  border-radius: 4px;
}

.ec-inlineBtn:focus,
.ec-inlineBtn:active:focus {
  box-shadow: none;
}

/* MYページ請求書ボタン */
.ec-color-accent,
#ec-printBtnArea {
  background: #F3F3F3;
  padding: 16px !important;
}

#page_mypage_history .ec-totalBox {
    margin: 0;
}