﻿@charset "UTF-8";

/* ----モーダルダイアログ---- */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.5;
  z-index: 10000;
}

.modal-overlay-alert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.5;
  z-index: 10002;
}

.modal-alert {
  width: 400px;
  z-index: 10003;
}

.modal-dialog {
  width: 600px;
  z-index: 10001;
}

.modal-header {
  padding: 15px 20px 15px;
  font-size: 14px;
  font-weight: bold;
  clear: both;
  border-bottom: none;
  line-height: 1;
  color: #fff;
  background-color: #333;
}

.modal-content {
  background: #eee;
}

.modal-body {
  padding: 20px;
}

.modal-body p {
  margin-bottom: 10px;
  font-size: 20px;
}

.modal-body li {
  border-bottom: 1px dotted #444;
}

.modal-body li a {
  padding: 12px;
  color: #4da7ba;
  display: flex;
  max-width: 560px;
  font-size: 16px;
}
.modal-body li a i {
  margin: 0 10px 0 auto;
  color: #444;
  font-size: 16px;
}

.modal-body li a:hover {
  text-decoration: none;
}

.modal-body li a:hover i {
  color: #4da7ba;
  text-decoration: none;
}

.modal-footer {
  padding: 0 10px 15px;
}

.modal-alert .modal-footer {
  text-align: center;
}

.modal-alert .modal-footer input {
  width: 40%;
}

.modal-close {
  display: block;
  width: 18px;
  cursor: pointer;
  float: right;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: #fff;
}

.modal-dialog .modal-footer {
  text-align: center;
}

.modal-dialog .modal-footer .btn {
  min-width: 150px;
  margin-right: 5px;
}

.modal-footer .btn {
  display: inline-block;
  margin: 0;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  white-space: nowrap;
  padding: 4px 10px;
}

.modal-footer .btn:hover,
.modal-footer .btn:focus {
  text-decoration: none;
}

.modal-footer .btn-primary {
  border: 1px solid #d53100;
  color: #fff;
  background: #d53100;
}

.modal-footer .btn-secondary {
  border: 1px solid #9d9896;
  color: #fff;
  background: #9d9896;
}

/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container-goods{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	background: rgba(0,0,0,50%);
	padding: 40px 20px;
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transition: .3s;
    box-sizing: border-box;
    z-index: 100;
}

/*モーダル本体の擬似要素の指定*/
.modal-container-goods:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}

/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container-goods.active{
	opacity: 1;
	visibility: visible;
}

/*モーダル枠の指定*/
.modal-body-goods{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	max-width: 500px;
	width: 90%;
}

/*モーダルを閉じるボタンの指定*/
.modal-close-goods{
	position: absolute;
	display: flex;
    align-items: center;
    justify-content: center;
	top: -40px;
	right: -40px;
	height: 40px;
	font-size: 40px;
	color: #fff;
	cursor: pointer;
}

/*モーダル内のコンテンツの指定*/
.modal-content-goods{
	background: #fff;
	text-align: left;
	padding: 30px;
}
