﻿@charset "UTF-8";

/* ----テーブル---- */

.table,
.table td,
.table th {
  border-collapse: collapse;
  border: 1px solid var(--table-border-color);
}

.table {
  table-layout: fixed;
  width: 100%;
}

.table td,
.table th {
  padding: 5px;
}

.table th {
  font-weight: normal;
  background-color: var(--theme-color-tertiary);
  width: 35%;
  text-align: left;
}

.table td {
  background-color: #fff;
}

/* ----テキストカラー----*/

.text-muted {
  color: #777;
}

.text-warning {
  color: #8a6d3b;
}

.text-danger {
  color: var(--text-color-danger);
}

.default-price {
  text-decoration: line-through ;
}


/* ----パネル---- */

.panel {
  padding: 10px;
  overflow: hidden;
  border: solid 1px var(--table-border-color);
  background: #fff;
}

/* ----バッジ---- */

.badge {
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
  text-align: center;
  border-radius: 10px;
  color: #fff;
  background-color: #777;
}

.badge:empty {
  display: none;
}

/* ----画像センタリング配置---- */

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

.img-center img {
  text-align: center;
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
}

/* ----ツールチップ---- */

.balloontip {
  min-width: 20px;
  max-width: 100%;
  padding: 10px;
  border-radius: 6px;
  opacity: 1;
  z-index: 32767;
  text-align: left;
  font-size: 12px;
  border: 1px solid rgb(119, 119, 119);
  box-shadow: rgb(85, 85, 85) 4px 4px 4px;
  color: rgb(255, 255, 255);
  background: #333;
}

/* ----ドロップダウン---- */

.dropdown {
  z-index: 11000;
}

.dropdown li {
  background: #444;
}

.dropdown li span {
  display: block;
  padding: 13px 15px;
  margin: 0;
  text-decoration: none;
  line-height: 1;
  color: #fff;
  cursor: pointer;
}

.dropdown li span:hover {
  background: #616d0b;
}

/* ----モーダルダイアログ---- */

body:not(.page-contentspages) .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-background-color);
  z-index: 10000;
}

body:not(.page-contentspages) .modal-overlay-alert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-background-color);
  z-index: 10002;
}

body:not(.page-contentspages) .modal-alert {
  width: calc(100% - 2 * var(--sp-padding-left-or-right));
  z-index: 10003;
}

body:not(.page-contentspages) .modal-dialog {
  width: calc(100% - 2 * var(--sp-padding-left-or-right));
  z-index: 10001;
}

body:not(.page-contentspages) .modal-header {
  font-size: 14px;
  font-weight: bold;
  clear: both;
  border-bottom: none;
  line-height: 1;
  color: var(--text-color-primary);
  background-color: #fff;
}
body:not(.page-contentspages) .modal-header .modal-title{
  padding: 10px 25px;
  display: block;
}
body:not(.page-contentspages) .modal-content {
  background: #fff;
  position: relative;
  padding: 25px 0;
}
body:not(.page-contentspages) .modal-content > .modal-body {
  max-height: 80dvh;
  overflow-y: scroll;
  overscroll-behavior-y: contain;
  padding: 25px 22px 0 22px;
}
body:not(.page-contentspages) .modal-border-list > li{
  border-top: 1px solid var(--table-border-color);
}
body:not(.page-contentspages) .modal-border-list > li:last-of-type{
  border-bottom: 1px solid var(--table-border-color);
}
body:not(.page-contentspages) .modal-body p {
  margin-bottom: 10px;
}
body:not(.page-contentspages) .modal-body textarea{
  font-size: 0.75rem;
}
body:not(.page-contentspages) .modal-footer {
  padding: 0 10px 10px;
}

body:not(.page-contentspages) .modal-footer .btn {
  margin-top: 5px;
  width: 100%;
}

.js-header-warning-close,
body:not(.page-contentspages) .modal-close {
  display: block;
  background-image: url('../../img/usr/common/close-black.png');
  background-repeat: no-repeat;
  background-size: contain;
  height: 15px;
  width: 15px;
  position: absolute;
  top: 25px;
  right: 25px;
  padding: 0;
  background-color: transparent;
  border:none;
  border-radius: 0;
  z-index: 1;
}
/* ----ヘッダー警告---- */

.header-warning {
  position: relative;
  padding: 10px;
  background: #fffacd;
  border-bottom: 1px solid #b0c4de;
}

.header-warning-contents {
  display: block;
  padding-right: 18px;
  text-align: center;
  background: transparent;
}

.header-warning-close {
  display: block;
  position: absolute;
  width: 18px;
  cursor: pointer;
  font-weight: bold;
  top: 10px;
  right: 10px;
  background: transparent;
}

/* ----検索エンジン向けH1タグ---- */

.optimaized-h1 {
  margin: 0;
  padding: 0;
  font-size: 10px;
}

/* ----レビュー---- */

.star-base {
  float: left;
  width: 60px;
  height: 15px;
  background: url("../../img/usr/user_review/star.png");
}

.star-select {
  width: 60px;
  height: 15px;
  background: url("../../img/usr/user_review/star.png");
  background-repeat: no-repeat;
}

.star-select-link {
  color: #66f;
  float: left;
  margin-left: 5px;
}

/* ----注文ステータス---- */

.status-order,
.status-cancel,
.status-income,
.status-reserve,
.status-rship,
.status-delivery,
.status-verify,
.status-return,
.status-status_,
.status-status_1,
.status-status_2,
.status-status_3,
.status-status_4,
.status-status_8,
.status-status_9 {
  height: auto;
  min-height: 50px;
  border: var(--table-border-color) solid 1px;
  padding: 5px 0;
}

.status-message,
.status-percentage {
  display: table-cell;
  vertical-align: middle;
  padding: 0 5px;
}

.status-message {
  width: 70%;
  font-size: 12px;
}

.status-percentage {
  width: 100%;
  color: #031241;
  font-weight: bold;
  font-size: 24px;
  text-align: center;
  display:block;
}

[class^="status-progress"] {
  display: block;
  position: relative;
  width: 96%;
  height: 14px;
  margin: 0 auto;
  background: #ccc;
}

[class^="status-progress"]:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 14px;
  border-right: #031241 solid 4px;
  background: #1e5799;
}

.status-progress-20:after {
  width: 20%;
}

.status-progress-40:after {
  width: 40%;
}

.status-progress-60:after {
  width: 60%;
}

.status-progress-80:after {
  width: 80%;
}

.status-progress-100:after {
  width: 100%;
}

.status-reserve .status-message,
.status-cancel .status-message,
.status-return .status-message,
.status-status_ .status-message,
.status-status_1 .status-message,
.status-status_2 .status-message,
.status-status_3 .status-message,
.status-status_4 .status-message,
.status-status_9 .status-message {
  width: 100%;
}

.status-reserve [class^="status-progress"]:after {
  border-right: #ea7500 solid 4px;
  background: #f79800;
}

.status-return [class^="status-progress"]:after {
  border-right: #028900 solid 4px;
  background: #00ab0b;
}

/* ----ホワイトスペース制御----*/

.white-space-pre-wrap {
  white-space: pre-wrap;
}

/* ----カテゴリ・ジャンルツリー----*/

.expand-tree-open i:before {
  content: "\f068";
}

/* ----Google reCAPTCHAロゴ位置---- */
.grecaptcha-badge {
  margin-bottom: 60px;
}

/* ---- !!!! ここより下にスタイルを追加しないこと !!!! */

/* ----表示・非表示---- */

.hidden {
  display: none;
}

.show {
  display: block;
}
