@media screen and (max-width:768px) { 
  html {
    font-size: 10px;
  }
}
@media screen and (min-width:768px) {
  html {
    font-size: 16px;
  }
}

body {
  overflow-x: hidden;
  font-family: 'YuMincho', 'Yu Mincho', sans-serif;
}
header {
  background-color: #E9E9E9CC;
  width: 100%;
  max-height: 100vh;
  overflow-y: scroll;
  font-size: 0.8rem;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 100002; /* chatplusの表示がz-index=100001なので、その上 */
}

a:hover {
  text-decoration: none;
}

button:focus, a:focus, input[type=submit]:focus {
  outline:1px solid #cccccc;
}

@media screen and (max-width:768px) {
  .header_top_cart {
    font-size: 1.2rem;
  }
  .header_top_cart_image {
    width: 1.6rem;
    margin-right: 0.8rem;
  }
}
@media screen and (min-width:768px) { 
  .header_top_cart_image {
    width: 1.25rem;
    margin-right: 1.25rem;
  }
}

.header_space {
  width: 100%;
  height: 3.75rem;
}

footer {
  background-color: #E9E9E9;
  width: 100%;
  font-size: 0.8rem;
}
.footer_link {
  padding: 0 1rem;
}
@media screen and (max-width:768px) { 
  .copyright {
    position: relative;
    top: 0.5rem;
  }
}

#header_hamburger {
  height: 100%;
  background-color: transparent;
  border: none;
  outline: none;
  padding: 0;
}
@media screen and (max-width:768px) { 
  #header_hamburger img {
    width: 20px;
    margin-left: 30px;
  }
}
@media screen and (min-width:768px) { 
  #header_hamburger img {
    width: 35px;
    margin-left: 50px;
  }
}
#header_logo {
  height: 80%;
}
#header_logo img {
  height: 100%;
}

section {
  width: 100%;
  text-align: center;
}

@media screen and (min-width:768px) { 
  .video_section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 3rem;
  }
}

.margin_section {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 3rem;
}
@media screen and (min-width:768px) { 
  .margin_section_only_pc {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 3rem;
  }
}

.section_title {
  margin: 2rem 0;
}
.section_description {
  font-size: 1.0rem;
  line-height: 2.0rem;
  text-align: center;
}

.a_button {
  display: inline-block;
  vertical-align: top;
  color: #242424;

}
.a_button:hover {
  color: #242424cc;
  background-color: #fcfcfc;
}

.a_button_inversion {
  display: inline-block;
  vertical-align: top;
  background-color: #242424;
  color: #FFFFFF;
}
.a_button_inversion:hover {
  color: #FFFFFF;
  background-color: #242424cc;
}

.a_button_normalsize {
  width: 12.5rem;
  height: 3.125rem;
  border: 1px solid #707070;
  margin: 1rem 0.25rem 1rem 0.25rem;
  font-size: 0.8rem;
}
.a_button_smallsize {
  width: 9.375rem;
  height: 2.5rem;
  border: 1px solid #707070;
  margin: 1rem 0.25rem 1rem 0.25rem;
  font-size: 0.8rem;
}

.middle_center_outer{
  display: flex;
  justify-content: center;
  align-items: center;
}

.middle_center_inner{
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.middle_outer{
  display: flex;
  align-items: center;
}

/* ハンバーガーメニュー */
#hamburger_menus {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}
.hamburger_menus {
  display: none;
}
.hamburger_menus_visible {
  display: block;
}
@media screen and (max-width:768px) { 
  .hamburger_menus__menu {
    line-height: 50px;
    font-size: 1.3rem;
    padding: 0 30px;
    border-bottom: solid 1px #E2E2E2;
  }
}
@media screen and (min-width:768px) { 
  .hamburger_menus__menu {
    line-height: 60px;
    padding: 0 50px;
    border-bottom: solid 1px #E2E2E2;
  }
}
.hamburger_menus__menu a {
  color: #151515;
}

/* 支持される理由セクションの厳選アイテム */
.special_item {
  margin-top: 2rem;
  margin-bottom: 4rem;
}
.special_item_text {
  text-align: left;
}
.special_item_title {
  margin: 2rem 0;
}
@media screen and (max-width:768px) { 
  .special_item_title {
    text-align: center;
  }
}
.special_item_description {
  line-height: 2rem;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.special_item_price {
  line-height: 3rem;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
@media screen and (max-width:768px) { 
  .special_item_price {
    line-height: 3rem;
    font-size: 0.8rem;
    text-align: center;
  }
}
.special_item_buttons {
  vertical-align: bottom;
}
@media screen and (max-width:768px) { 
  .special_item_buttons {
    text-align: center;
  }
}

/* おすすめ商品 */
.recommend_item {
  margin-top: 4rem;
}
.recommend_item_image {
  width: 100%;
  position: relative;
}
@media screen and (max-width:576px) {
  .recommend_item_title {
    width: 100%;
    min-height: 50px;
    padding: 5px 15px;
    border: 1px solid #FFFFFF;
    background-color: #E9E9E9;
    color: #000000;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .recommend_item_description {
    display: none;
    /* padding: 1rem 10%;
    line-height: 2rem;
    font-size: 0.9rem; */
  }
  .recommend_item_price {
    line-height: 3rem;
    font-size: 0.9rem;
    text-align: center;
  }
}
@media screen and (min-width:576px) {
  .recommend_item_title {
    width: 100%;
    min-height: 3.125rem;
    padding: 1.06rem;
    border: 1px solid #FFFFFF;
    background-color: #E9E9E9;
    color: #000000;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .recommend_item_description {
    padding: 1.5rem 10%;
    line-height: 2rem;
    font-size: 0.9rem;
  }
  .recommend_item_price {
    line-height: 3rem;
    font-size: 0.9rem;
    text-align: center;
  }
}

.recommend_item_buttons {
  vertical-align: bottom;
  text-align: center;
}

/* 改行用ボックス */
.word_inline_block {
  display: inline-block;
}


/* タブ */
#purchase_tab .nav-link {
  width: 12.5rem; 
  height: 2.5rem;
  text-align:center;
  color: #000000;
  position: relative;
  border-radius: 0px;
  font-size: 0.9rem;
}
#purchase_tab .nav-link.active {
  background-color: #DADADA;
  border-color: #DADADA;
}

#purchase_tab .nav-link.active::after {
  content: "";
  display:block;
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  transform: rotate(45deg);
  left: 5.5rem;
  top: 1.25rem;
  background-color: #DADADA;
  z-index: -1;
}

#purchase_tab .tab-pane {
  padding-top: 1.5rem;
}

/* どこでもカラーミーの「カートに入れる」 */
.cartjs_product_table {
  display: none;
}
.cartjs_cart_in input[type=submit] {
  display: block;
  background-color: #B29B94;
  color: #FFFFFF;
  font-size: 0; /* ボタンの表示文言を書き換える時にフォントサイズも変更する footer.php参照*/
  border: 0px;
  width: 12.5rem;
  height: 3.125rem;
  padding-left: 2.5rem;
  -webkit-appearance: none;
  border-radius: 0;
  position:relative;
  left: -4px;
}
.cartjs_cart_in input[type=submit]:hover {
  background-color: #B29B94cc;
}

/* カートに入れるボタン */
.add_to_cart_button {
  position: relative; 
  width: 12.5rem;
  height: 3.125rem;
  margin: 0 auto;
}
.add_to_cart_button_image {
  position: absolute; 
  left: 2rem; 
  top: 0.625rem;
  width: 1.375rem;
  z-index: 999;
}
@media screen and (max-width:768px) { 
  .add_to_cart_button_image {
    left: 1.5rem; 
  }
}

/* soldout表示 */
.soldout {
  position: relative; 
  width: 12.5rem;
  height: 3.125rem;
  margin: 0 auto;
  font-weight: 900;
  color: #E2041B;
}
@media screen and (max-width:768px) { 
  .soldout {
    font-size: 1.2rem;
  }
}

/* SNSのアイコン */
.sns_icon {
  width: 1.875rem;
}

/* slickの囲み線を消す */
.slick-slide {
  outline:none;
}

/* 商品カルーセル */
.slick_grid {
  display: none;
}
.slick_grid.slick-initialized { /*slickでは初期化が終わるとslick-initializedが付与されるみたい*/
  display: block; /*slick-initializedが付与されたら表示*/
}
.slick_grid_expl {
  padding: 2rem;
  font-size: 0.8rem;
  line-height: 1.4rem;
}

/* 商品詳細の1画像ずつ表示されるスライダー */
.slick_singleitem {
  display: none;
}
.slick_singleitem.slick-initialized { /*slickでは初期化が終わるとslick-initializedが付与されるみたい*/
  display: block; /*slick-initializedが付与されたら表示*/
}

.carousel_item_image {
  width: 100%;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center
}
.carousel_item_image:before {
  content:"";
  display: block;
  padding-top: 75%;
}
.carousel_item_title {
  position: absolute;
  left: 0;
  top: 0;
  width: 7.5rem;
  padding: 0.75rem;
  background-color: #E9E9E9;
  color: #000000;
  font-size: 0.7rem;
}
.carousel_item_img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}


/* 会社概要 */
#company_info {
  margin-top: 70px;
}

/* テーブルスタイル1 */
.table_style1 {
  width: 100%;
}
.table_style1 thead {
  font-size: 14px;
}
.table_style1 tbody {
  font-size: 12px;
}
.table_style1 tbody tr:nth-child(2n+1) td {
  background-color: #F2F2F2;
}
.table_style1 th, .table_style1 td {
  padding-left: 16px;
  padding-right: 16px;
  text-align: left;
  font-weight: 400;
  height: 35px;
  border: solid 1px #000000; 
  border-collapse: collapse;
}
.table_style1 thead th {
  vertical-align: middle;
  background-color: #000000;
  color: #FFFFFF;
}


/* 利用規約 */
#terms_of_service {
  margin-top: 70px;
  width: 100%;
  text-align: left;
  font-size: 14px;
}
#terms_of_service h1 {
  font-size: 14px;
}

#terms_of_service dl {
  margin-top: 1.5rem;
  padding: 1.5em 5%;
  background-color: #F2F2F2; 
}
#terms_of_service dt {
  padding: 1em 0;
}
#terms_of_service dd {
  padding: 1em 0 1.5em;
}

/* ログイン画面 */
.login_page {
  width: 100vw;
  height: 100vh;
  background-image: url('images/login_back.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center
}
.login_panel {
  width: 80%;
  max-width: 600px;
  background-color: #FFFFFFcc;
  border-radius: 20px;
  text-align: center;
  padding: 30px 30px 50px;
}
@media screen and (max-width:576px) {
  .login_panel__logo {
    width: 70px;
  }
  .login_panel__form {
    margin: 40px auto;
  }
}
@media screen and (min-width:576px) {
  .login_panel__logo {
    width: 100px;
  }
  .login_panel__form {
    width: 400px;
    margin: 20px auto;
  }
}
.login_panel_form__password {
  margin-bottom: 40px;
}
.login_panel_form__password_title {
  width: 100%;
  text-align: left;
  padding: 0px 10px;
  margin-bottom: 5px;
}
.login_panel_form__password_input {
  width: 100%;
  line-height: 2em;
  padding: 0px 10px;
}
.login_panel_form_login {
  margin-bottom: 20px;
}
.login_panel_form_login__button {
  width: 100%;
  line-height: 2.5em;
  background-color: #242424;
  color: #ffffff;
  outline: none;
  border: none;
  border-radius: 3px;
}
.login_panel_form_pass {
  margin-bottom: 20px;
}
.login_panel_form_pass__button {
  width: 100%;
  line-height: 2.5em;
  background-color: #d9b1b1;
  color: #ffffff;
  outline: none;
  border: none;
  border-radius: 3px;
}
.login_panel_form__desc {
  text-align: left;
  padding: 0px 10px;
}
.login_panel_form__error {
  color: #c92121;
  font-size: 0.9rem;
  padding: 0px 10px;
  text-align: left;
}

/* カテゴリごとの商品一覧ページ */
@media screen and (max-width:576px) {
  h1.category_title {
    font-size: 14px;
    text-align: center;
    margin-top: 20px;
  }
}
@media screen and (min-width:576px) {
  h1.category_title {
    font-size: 30px;
    text-align: center;
    margin-top: 30px;
  }
}