﻿@charset "utf-8";

*, *:before, *:after {
	box-sizing: border-box;
}
body {
	min-height: 100vh;
	font-size: 14px;
	font-family: Verdana, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;

	background: linear-gradient(135deg,
		rgba(240,183,161,1) 0%,
		rgba(140,51,16,1) 50%,
		rgba(117,34,1,1) 50%,
		rgba(191,110,78,1) 100%);
}
a {
	text-decoration: none;
}
p {
	line-height: 1.5em;
	word-break: break-all;
}
li {
	word-break: break-all;
}
hr {
	border: noone;
	border-top: 1px solid #aaa;
}

input,
select {
	padding: .75em;
	border: 1px solid #82a8b1;
	border-radius: 5px;
	background-color: white;
	vertical-align: middle;
}
input[type="text"],
input[type="password"],
input[type="tel"],
input[type="email"],
textarea {
	padding: .75em 1em;
	background-color: rgb(255, 255, 255);
	border: 1px solid rgb(130, 168, 177);
}
input[type="checkbox"] {
	margin: -1px 0.5em 0 0;
	vertical-align: middle;
}
button,
input[type="submit"] {
	margin: 0 1em;
	padding: .5em 3em;
	border-radius: 20px;
	font-weight: bold;
	cursor: pointer;
	outline: none;
}
button:hover,
input[type="submit"]:hover {
	transition-duration: .33s;
	background-color: transparent;
	color: #686868;
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: .85em 24px .85em 1em;
	border: 1px solid #82a8b1;
	background: url('../img/arrow-down.png');
	background-repeat: no-repeat;
	background-position: right center;
	background-size: 24px;
}

h1 {
	margin: 0;
	font-size: 1.55em;
}
h1.site-name {
	margin: 1em 0 1.75em;
	font-size: 1.75em;
	color: white;
	font-weight: bold;
	text-align: center;
	text-shadow: 2px 2px #461a08;
}
h2 {
	margin: 2em 0 1.5em;
	padding: 0 0 .4em .5em;
	font-size: 1.25em;
}

h3 {
	margin: .25em;
	font-size: 1em;
}

ul {
	list-style: none;
	padding: 0;
}


/** ブロック **/
#nav-container {
	position: fixed;
	z-index: 2;
	top: 0;
	left: 0;
	height: 100vh;
	width: 64px;
}
#nav-container nav {
	height: 100%;
	background-color: rgba(39, 21, 21, 0.9);
}
#nav-container nav ul {
	margin: 0;
}
#nav-container nav li+li:before {
	content: '';
	display: block;
	width: 75%;
	margin: 0 auto;
	border-bottom: 1px solid #5d3e3b;
}
#nav-container nav a {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 60px;
	padding-bottom: 6px;
	color: #ffffff;
	transition-duration: 0.25s;
	background-size: 50%;
	background-repeat: no-repeat;
	background-position: center 8px;
	font-size: 72%;
}
#nav-container nav a:hover {
	background-color: #916060;
}
nav .nav-home       { background-image: url('../img/icon/home.png'); }
nav .nav-history    { background-image: url('../img/icon/history.png'); }
nav .nav-trading    { background-image: url('../img/icon/trading.png'); }
nav .nav-account    { background-image: url('../img/icon/account.png'); }
nav .nav-withdrawal { background-image: url('../img/icon/withdrawal.png'); }
nav .nav-user       { background-image: url('../img/icon/user.png'); }
nav .nav-help       { background-image: url('../img/icon/help.png'); }
nav .nav-mainsite   { background-image: url('../img/icon/mainsite.png'); }
nav .nav-logout     { background-image: url('../img/icon/logout.png'); }

#wrapper {
	position: relative;
	z-index: 1;
}

#footer {
	margin: 3em auto 0;
	padding-bottom: 3em;
	text-align: center;
	color: #fff;
}
#wrapper #footer {
	margin-top: 0;	/** after login */
}

#content {
	margin: 0 0 0 64px;
	padding: 20px;
}

.messages {
	font-weight: bold;
}
.messages p {
	margin: 0 0 .5em 0;
}
.messages p:last-of-type {
	margin-bottom: 1em;
}

.panel-footer {
	padding: 1em 1.5em;
	border-top: 1px solid #d2d2d2;
}
.panel-footer div+div {
	margin-top: .5em;
}
.flex-panel {
	display: flex;
	flex-wrap: wrap;
}
.panel1 {
	width: 100%;
}
.panel2 {
	width: 50%;
}
.panel3 {
	width: 33%;
}
.panel4 {
	width: 67%;
}

.icon {
	height: 1em;
	cursor: pointer;
}

section {
	margin: 20px;
	background-color: white;
	box-shadow: 7px 5px 2px 1px rgba(0, 0, 0, 0.48);
}
section h2 {
	margin: 0;
	padding: 1em 1.5em;
	background-color: #705f5f;
	font-size: 16px;
	color: white;
	border-bottom: 4px solid #ffd503;
}
section > div {
	padding: 2em;
}

.button-panel {
	margin: 2em 0 0;
}
.inline-block {
	display:inline-block;
}

/** テーブル **/

table {
	border-collapse: collapse;
}

.horizontal tr:nth-of-type(even) {
	background-color: #f9f9f9;
}
.horizontal th,
.vertical th {
	text-align: left;
	border: 1px solid #c4c6e4;
	background-color: #f3f0ec;
	color: #2d3977;
	white-space: nowrap;
}
.horizontal th {
	padding: .7em .5em;
	text-align: center;
}
.vertical th {
	padding: .7em 1em;
	width: 30%;
}
.horizontal td,
.vertical td {
	border: 1px solid #cacaca;
	padding: .25em 1em;
}
.horizontal td input,
.horizontal td select,
.vertical td input,
.vertical td select {
	border: none;
}
.horizontal td input:hover,
.vertical td input:hover {
	outline: .75px solid #babfff;
}


/** 汎用 **/

.clearfix:after {
	clear: both;
	display: table;
	content: '';
}

.centering {
	margin-left: auto;
	margin-right: auto;
}

.hide {
	display: none;
}

.short  { width: 6em; }
.half   { width: 50%; }
.medium { width: 65%; }
.long   { width: 85%; }
.full   { width: 99%; }

.large	{ font-size: 1.5em; }
.small	{ font-size: .85em; }

.bold	{ font-weight: bold; }

.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

.float-left  { float: left; }
.float-right { float: right; }

a.mark {
	position: relative;
	display: inline-block;
}
a.mark::before {
	content: '';
	position: absolute;
	top: .25em;
	left: -1em;
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: .5em 0 .5em .5em;
	border-color: transparent transparent transparent #61ccd2;
}

/** 配色 **/

.info {
	color: #114ff8;
}
.success {
	color: #114ff8;
}
.danger {
	color: #ef0000;
}

.btn {
	border: 2px solid #e0e0e0;
	background-color: #e0e0e0;
	color: #787878;
}
.primary {
	border: 2px solid #22c4cc;
	background-color: #22c4cc;
	color: #fff;
}
.secondary {
	border: 2px solid #d24cc7;
	background-color: #d24cc7;
	color: #fff;
}
.auxiliary {
	border: 2px solid #ad935a;
	background-color: #ad935a;
	color: #fff;
}


/** 項目種類 **/

.date {
	width: 9em;
}
.money {
	text-align: right;
}
.money:after {
	margin-left: .25em;
	content: "\5186";
}
.money.usd:after,
.money.eur:after {
	display: none;;
}
.money.usd:before {
	content: "\ff04";	/** ＄ */
}
.money.eur:before {
	content: "\20ac";	/** € */
}

.asterisk:before {
	content: "\203b";	/** ※ */
}
.blacket:before {
	content: "\ff08";	/** （ */
}
.blacket:after {
	content: "\ff09";	/** ） */
}

.percent:after {
	content: "%";
}

.open-window:after {
	content: '';
	display: inline-block;
	margin-left: .5em;
	width: 1em;
	height: 1em;
	background-image: url('../img/open-window.png');
	background-size: 1em;
}

.blank-text:empty:after {
	content: attr(data-blank);
}
.colon:after {
	content: '\ff1a'; /** ： */
}
select.trader {
	min-width: 9em;
}
img.help {
	margin: -5px 0 0 .5em;
	height: 1.1em;
	cursor: pointer;
	vertical-align: middle;
}

[type="text"].border,
[type="password"].border,
[type="email"].border,
[type="tel"].border {
	border-bottom: 1px solid #d6d6d6;
}

/** ログイン前 **/
#login-container {
	padding-top: 100px;
}
#login-container h2 {
	margin: 1em 0;
	border: none;
}
#login-container a {
	color: white;
}

#panel-login {
	margin: 0 auto;
	width: 730px;
}

#panel-login-main {
	margin: 0  auto;
	padding: 2.5em 3.5em;
	min-height: 360px;
	width: 60%;
	max-width: 85%;
	border: 6px solid #b5551c94;
	background-color: rgb(255, 255, 255);
	box-shadow: 0 0 8px 3px rgba(68, 68, 68, 0.32);
}
#panel-login-sub,
#panel-login-small {
	margin-top: 30px;
	padding: 2.5em;
	height: 300px;
	width: 40%;
	background-color: rgba(0, 0, 0, .5);
	color: white;
}

/** 検索フォーム **/

.list-table {
	margin-left: 1em;
}
.list-table li {
	clear: both;
	margin-bottom: 4px;
}
.list-table li > span,
.list-table li > div {
	min-height: 2.75em;
	line-height: 2.75em;
}
.list-table li > span {
	display: block;
	float: left;
	width: 10em;
}
.list-table li > div {
	margin-left: 10em;
}

/** 一覧 **/
.history-table,
.trading-table,
.result-table {
	width: 100%;
}

.history-table td,
.trading-table td,
.result-table td {
	padding-top: .7em;
	padding-bottom: .7em;
}
.history-table .no-data,
.trading-table .no-data,
.result-table .no-data {
	padding: 3em;
	text-align: center;
}


/** jQuery-ui **/

.dialog {
	display: none;
}
.dialog-base {
	min-width: 420px;
	box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.33);
	border-radius: 0;
}
.dialog-base .dialog {
	padding: 0 2.5em 2em;
}
.dialog-base .ui-dialog-titlebar,
.dialog-base .ui-dialog-titlebar-close {
	border: none;
	background: none;
}

.ui-datepicker th {
	background-color: transparent;
}
.ui-datepicker td span, .ui-datepicker td a {
	padding: .4em .3em;
}
.ui-widget-overlay {
	background: #000;
	opacity: .45;
}

/** BlockUI */
.blockUI {
	background-image: url('../img/loadinfo.net.gif');
	background-repeat: no-repeat;
	background-position: center;
}


/** pagination **/

.pagination {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.pagination:empty {
	display: none;
}
.pagination li {
	width: 2.5em;
	margin: 0 .5em .3em 0;
	border: 1px solid #c0c0c0;
}
.pagination-container li.active {
	background-color: black;
}
.pagination-container li.active a {
	color: white;
}
.pagination-container li a {
	display: inline-block;
	width: 100%;
	line-height: 2.3em;
	text-align: center;
}


/**
 * IE only
 */
select::-ms-expand {
	display: none;
}
_:-ms-lang(x), select {
	padding: .7em 24px .7em .8em;
}
/**
 * Mozilla only
 */
@-moz-document url-prefix() {
	select {
		padding: .72em 28px .72em .75em;
	}
}