/* cmn001, cmn002で使用 */
.content {
  width: fit-content;
  height: fit-content;
  margin: 4em auto;
  padding: 3em 2em 2em 2em;
  background: #fafafa;
  border: 1px solid #ebebeb;
  box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px 0px, rgba(0, 0, 0, 0.09804) 0px 1px 2px 0px;
}
/* cmn001, cmn002で使用 */

* {
  box-sizing: border-box;
}

body {
  background: #eeeeee;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  height: 100vh;
  font-family: 'メイリオ';
}

.header {
  color: #63635A;
  font-weight: 800;
  font-size: 32px;
  text-align: center;
  margin-top: 2em;
}

.input {
  display: flex;
  align-items: flex-end;
}

/** ヘッダーバー **/
.header-bar {
  display: flex;
  width: 100%;
  height: 60px;
  flex-direction: row;
  background: #03b5bc;
  align-items: center;
}

/** ヘッダー：ロゴ **/
.header-logo {
  display: flex;
  font-weight: 800;
  font-size: 25px;
  height: 50px;
  padding: 0 20px;
  color: #0c4e4b;
  background-color: rgba(255,255,255,0.8);
  width: 100%;
}

/** ヘッダー：画面名 **/
span.screen-name {
  font-size: 16px;
  display: flex;
  color: #4d6fa2;
  align-items: center;
  margin-left: 10px;
}

/** ヘッダー：ハンバーガーメニュー **/
.hbg-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  background-color: #04868b;
  cursor: pointer;
}

.hbg-btn span,
.hbg-btn span:before,
.hbg-btn span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #ffffff;
  position: absolute;
}

.hbg-btn span:before {
  bottom: 8px;
}

.hbg-btn span:after {
  top: 8px;
}

.check-hbg:checked~.hbg-btn span {
  background-color: #ffffff;
}

.check-hbg:checked~.hbg-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}

.check-hbg:checked~.hbg-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}

.check-hbg {
  display: none;
}

.hbg-content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  background-color: #04868b;
}

.hbg-content ul {
  padding: 70px 10px 0;
}

.hbg-content ul li {
  border-bottom: solid 1px #ffffff;
  list-style: none;
}

.hbg-content ul li a {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color: #ffffff;
  text-decoration: none;
  padding: 9px 15px 10px 0;
  position: relative;
}

.hbg-content ul li a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: solid 2px #ffffff;
  border-right: solid 2px #ffffff;
  transform: rotate(45deg);
  position: absolute;
  right: 11px;
  top: 16px;
}

.hbg-content {
  width: 30%;
  height: 100%;
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 80;
  background-color: #04868b;
  transition: all 0.5s;
}

.check-hbg:checked~.hbg-content {
  right: 0;
}

button.hbg-menu-btn {
  color: #ffffff;
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  height: 40px;
  cursor: pointer;
}

button.hbg-menu-btn:hover {
  background: #ffffff5c;
}

.header-bar-button {
  display: flex;
  position: absolute;
  right: 0;
}

.header-bar-button button{
  color: #777777;
  border: none;
  outline: none;
  background: transparent;
  width: 120px;
  height: 60px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

.header-bar-button button:hover {
  background: #ffffff5c;
}

.main-content {
  display: flex;
  flex-direction: row;
  height: calc(100vh - 60px);
  padding: 10px 0px;
  font-size: 18px;
}

/* textarea エラー時背景色 */
textarea.input-error {
  background:#ffd0d0;
  color: #000000;
}

/* エラー時メッセージ */
.input-error-message {
  display: block;
  color: #ff4244;
  width: 100%;
}

/* システムメッセージ */
.item-top {
  width: 100%;
  height: auto;
  margin: 0px auto;
  margin-left: 6px;
}

.top-message {
  width: 99.5%;
  display: block;
  padding: 10px;
  border-left: solid 7px #03b5bc;
  margin-bottom: 9px;
  background: #ffffff;
  box-shadow: 0px 0px 5px 0px #00000040, inset 0px -1px 4px -2px #0000004d;
}

/* エリア1 エリア・店舗、集計項目選択部分 */
.area1 {
  display: flex;
  flex-direction: column;

  padding: 0px 10px;
  width: 350px;
}

.search-area1 {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* エリア1 エリア・店舗 */
.select-area {
  display: flex;
  flex-direction: column;
  height: 79px;
}

/* エリア1 集計項目 */
.select-column {
  display: flex;
  flex-direction: column;
  height: 89%;
  margin-top: 10px;
}

/* エリア1 集計項目 ラジオボタン */
.column-radio-box {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  overflow-y: scroll;
  border: 1px solid #999999;
  line-height: 30px;
}

.cp-ipradio .option-input {
	position: relative;
	position: relative;
	top: 4px;
	right: 0;
	bottom: 0;
	left: 0;
	width: 20px;
	height: 20px;
	margin-right: 0.5rem;
	cursor: pointer;
	transition: all 0.15s ease-out 0s;
	color: #ffffff;
	border: none;
	outline: none;
	background: #c2d0d1;
	-webkit-appearance: none;
	        appearance: none;
}
.cp-ipradio .option-input:hover {
	background: #04868b;
}
.cp-ipradio .option-input:checked {
	background: #04868b;
}
.cp-ipradio .option-input:checked::before {
	font-size: 10px;
	line-height: 20px;
	position: absolute;
	display: inline-block;
	width: 20px;
	height: 20px;
	content: '✔';
	text-align: center;
}
.cp-ipradio .option-input:checked::after {
	position: relative;
	display: block;
	content: '';
	-webkit-animation: click-wave 0.65s;
	        animation: click-wave 0.65s;
	background: #07d3db;
}
.cp-ipradio .option-input.radio {
	border-radius: 50%;
}
.cp-ipradio .option-input.radio::after {
	border-radius: 50%;
}
.cp-ipradio label {
	line-height: 30px;
	display: flex;
  justify-content: flex-start;
  align-items: baseline;
}
.cp-ipradio .option-input:disabled {
	cursor: not-allowed;
	background: #b8b7b7;
}
.cp-ipradio .option-input:disabled::before {
	font-size: 20px;
	line-height: 30px;
	position: absolute;
	display: inline-block;
	width: 30px;
	height: 30px;
	content: '✖';
	text-align: center;
}
.cp-ipradio .disabled {
	color: #9e9e9e;
}

/* 注力商品ラベル */
span.featured-product-label::after {
  content: "\6CE8\529B"; /* 注力 文字化け回避のためUnicodeで記述 */
  padding: 2px 4px;
  margin-right: 5px;
  font-size: 12px;
  font-weight: bold;
  background-color: #ffe59d;
  border-radius: 5px;
  color: #000000;
  vertical-align: top;
}

/* エリア1 集計項目 ラジオボタン */

/* エリア2 （集計結果表示部分）*/
.area2 {
  display: flex;
  flex-direction: column;
  width: calc(100% - 350px);
  padding: 0px 10px;
}

/* エリア2  ヘッダー(期間選択部分）*/
.area2-header {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

/* エリア2 期間選択 */
.search-area2 {
  display: flex;
  flex-direction: row;
}

/* エリア2 期間選択 */
.search-area2-col {
  display: flex;
  flex-direction: column;
}

/* ind003,str003 */
/* エリア （集計結果表示部分+選択項目部分）*/
.area {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0px 10px;
}

/* エリア  ヘッダー(期間選択部分）*/
.area-header {
  display: flex;
  width: 100%;
}

.area-header > .select-area{
  display: flex;
  flex-direction: column;
  width: 250px;
  margin-right: 25px;
}

.area-header > .select-staff{
  display: flex;
  flex-direction: column;
  width: 250px;
  margin-right: 25px;
}

/* ind003,str003 */

/* 期間選択ボタン　ind001,str001,str004 */
.period-select-button button{
  margin-bottom: 5px;
  margin-left: 5px;
  width: 90px;
  color: #777777;
  font-size: 18px;
  font-weight: bold;
  background: #ffffff;
  border: solid 1px #03b5bc;
  border-bottom: solid 2px #03b5bc;
}

.period-select-button button:hover {
  background-color: #03b5bc;
  color: #ffffff;
  border-color: #02b3b9;
  cursor: pointer;
}

.period-select-button button:active {
  transform: translateY(2px);
}
/* 期間選択ボタン　ind001,str001,str004 */

/* 期間選択ラジオ */
.period-select-radio{
  display: flex;
}

.period-select-radio label{
  margin-bottom: 5px;
  margin-left: 5px;
  width: 90px;
  color: #777777;
  font-size: 18px;
  font-weight: bold;
  background: #ffffff;
  border: solid 1px #03b5bc;
  border-bottom: solid 2px #03b5bc;
  text-align: center;
}

.period-select-radio input[type="radio"]{
  display: none;
}
.period-select-radio label{
  cursor: pointer;
}

.period-select-radio input[type="radio"]:checked + label {
  background-color: #03b5bc;
  color: #ffffff;
  border-color: #02b3b9;
}
/* 期間選択ラジオ */

/* その他ボタンエリア */
.oher-button-area button ,
.oher-button-area label {
  width: 100px;
  height: 60px;
}

.oher-button-area input[type="checkbox"]{
  display: none;
}

/* Excel 出力ボタン*/
button.excel_export{
  background: #129012;
  color: #ffffff;
  border: solid 1px #0f550f;
  border-bottom: solid 3px #0f550f;
}

button.excel_export:active {
  transform: translateY(2px);
}

/*** ツールチップ ***/
.tooltip {
  position: relative; /* ツールチップの位置の基準に */
  cursor: pointer; /* カーソルを当てたときにポインターに */
}

/* ツールチップのテキスト */
.tooltip-text {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  right: -1%;
  bottom: -215%;
  display: inline-block;
  padding: 5px;
  white-space: nowrap;
  font-size: 0.8rem;
  line-height: 1.3;
  background: #ffffff;
  color: #000000;
  border: solid 3px #03b5bc;
  border-radius: 3px;
  transition: 0.3s ease-in;
  text-align: left;
}

/* ホバー時にツールチップの非表示を解除 */
.tooltip:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
}

.tooltip-text:before {
  content: '';
  position: absolute;
  top: -28px;
  left: 75%;
  margin-left: -7px;
  border: 7px solid transparent;
  border-bottom: 20px solid #03b5bc;
}

/* 集計結果出力部分 */
.chart {
  overflow-y: scroll;
  overflow-x: auto;
  margin-top: 5px;
  background: #ffffff;
  border: solid 1px #999999;
  font-size: 16px;
}

.chart-height-max {
  height: 100%;
}

.chart-container{
  width: 100%;
  height: 100%;
}


/* 表⇔グラフ切り替えラベル ind003, str003 */
.switch_graph_table_label {
  background: #03b5bc;
  color: #ffffff;
  border: solid 1px #04868b;
  border-bottom: solid 3px #04868b;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  font-weight: bold;
}

.switch_graph_table_label:hover {
  cursor: pointer;
}
/* 表⇔グラフ切り替えラベル ind003, str003 */

/* 期間操作ボタン */
button.period-control {
  width: 30px;
  color: #716d6d;
  border: solid 1px #03b5bc;
  font-size: 18px;
  border-radius: 2px;
  font-weight: bold;
  border-bottom: solid 2px #03b5bc;
  background-color: #ffffff;
}

button.period-control:hover {
  background-color: #03b5bc;
  color: #ffffff;
  border: solid 1px #03b5bc;
  cursor: pointer;
}

button.period-control:active {
  transform: translateY(2px);
  box-shadow: none;
}