a {text-decoration:none;}
a:link {color:#000;}
a:visited {color:#000;}
a:hover {color:#533;}
a:active {color:#000;}

input.nodisplay {
  display: none;
}

input[type="radio"]+label img {
  vertical-align:top;
  border: 3px solid #fff;
}
input[type="radio"]:checked+label img{
  border: 3px solid red;
}

div.page-header{
  border-style:none none solid none;
  border-width:thin;
  margin-bottom:0.5em;
  padding:0.5em;
  font-weight:bold;
  font-size:larger;
}
div.page-body{
  margin:0.5em;
}
div.stat-box{
  width:3em;
  text-align:center;
  border-width:thin;
  border-style:solid;
  display:inline-block;
  background-color:#eee;
  font-weight:bold;
  padding:0 0.2em;
}
div.border-block{
  border-width:thin;
  border-style:solid;
  padding:0.5em;
  display:inline-block;
}
div.gr-box{
  background-color:#f0f0f0;
  padding:1em;
  margin:1em 0;
  border-radius:16px;
}
.c-button {
  color: #fff;
  font-weight: bold;
  font-size: medium;
  background: #4676d7;
  min-width: 80px;
  min-height: 30px;
  text-align: center;
  border: 1px solid #4676d7;
  border-radius: 5px;
  position: relative;
  z-index: 1;
  display: inline-block;
  overflow: hidden;
  transition: .3s;
}

.c-button::before {
  content: "";
  width: 100%;
  position: absolute;
  top: 0;
  right: -60px;
  z-index: -1;
  border-right: 60px solid transparent;
  border-bottom: 60px solid #050ab1;
  transform: translateX(-100%);
  transition: transform ease .3s;
}
.c-button:hover {
  color: #fff;
}
.c-button:hover::before {
  transform: translateX(0);
}

.line-button {
	display:inline-flex;
	align-items:center;
	width:196px;
	padding:0;
	border:0;
	border-radius:5px;
	background-color:#06c755;
	color:#fff;
	text-align:center;
}
.line-button::before {
	content:url(/img/line_32.png);
	width:32px;
	height:32px;
	padding:3px;
	border:0;
	margin:0;
	border-right:1px solid rgba(0,0,0,0.08);
	vertical-align: bottom;
}

.line-button:hover {
	background-color:#05b34c;
}

hr.or-hr {
    border: none;
    border-top: 3px double #333;
    color: #333;
    overflow: visible;
    text-align: center;
    height: 5px;
}

hr.or-hr::after {
    background: #fff;
    content: 'or';
    padding: 0 4px;
    position: relative;
    top: -13px;
}





/*------------------------------------
- COLOR primary
------------------------------------*/
.alert-primary {
    color: #8f320c;
    background-color: #fcece6;
    border-color: #fbded3;
}

.alert-primary hr {
    border-top-color: #f9cdbc;
}

.alert-primary .alert-link {
    color: #602108;
}

.badge-primary {
    color: #fff;
    background-color: #EC622B;
}

.badge-primary[href]:hover, .badge-primary[href]:focus {
    color: #fff;
    background-color: #d14912;
}

.bg-primary {
    background-color: #FFA202 !important;
}

a.bg-primary:hover, a.bg-primary:focus,
button.bg-primary:hover,
button.bg-primary:focus {
    background-color: #d14912 !important;
}

.border-primary {
    border-color: #EC622B !important;
}

.btn-primary {
    color: #fff;
    background-color: #EC622B;
    border-color: #EC622B;
}

.btn-primary:hover {
    color: #fff;
    background-color: #df4d14;
    border-color: #d14912;
}

.btn-primary:focus, .btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(236, 98, 43, 0.5);
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #EC622B;
    border-color: #EC622B;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #d14912;
    border-color: #c34411;
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(236, 98, 43, 0.5);
}

.btn-outline-primary {
    color: #EC622B;
    background-color: transparent;
    border-color: #EC622B;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #EC622B;
    border-color: #EC622B;
}

.btn-outline-primary:focus, .btn-outline-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(236, 98, 43, 0.5);
}

.btn-outline-primary.disabled, .btn-outline-primary:disabled {
    color: #EC622B;
    background-color: transparent;
}

.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, .show > .btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #EC622B;
    border-color: #EC622B;
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(236, 98, 43, 0.5);
}

.list-group-item-primary {
    color: #8f320c;
    background-color: #fbded3;
}

.list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus {
    color: #8f320c;
    background-color: #f9cdbc;
}

.list-group-item-primary.list-group-item-action.active {
    color: #fff;
    background-color: #8f320c;
    border-color: #8f320c;
}

.table-primary,
.table-primary > th,
.table-primary > td {
    background-color: #fbded3;
}

.table-hover .table-primary:hover {
    background-color: #f9cdbc;
}

.table-hover .table-primary:hover > td,
.table-hover .table-primary:hover > th {
    background-color: #f9cdbc;
}

.text-primary {
    color: #EC622B !important;
}

a.text-primary:hover, a.text-primary:focus {
    color: #d14912 !important;
}


/* フッター用の背景色 */
.footer-bg-red {
    background-color: #F55300 !important;
}
