/* --- ダイアログ --- */

#del-article-dialog{
  width: 400px;
  border: none;
  border-radius: 5px;
}

dialog .action-dialog button{
  color: #fff;
  background: #444444;
  border:none;
  padding: 2px 10px;
}

dialog .title-dialog,
dialog .contents-dialog,
dialog .action-dialog
{
    position: relative;
    width: 100%;
}
dialog .action-dialog{
    height: 20px;
}
dialog .title-dialog h3{
    display: inline-block;
    width: 150px;
    margin: 0px;
}
dialog .contents-dialog textarea{

    resize: none;
    width: 100%;
    height: 200px;
    max-height: 200px;
}
dialog .title-dialog button,
dialog .action-dialog button
{
    position: absolute;
    right: 0px;
}

dialog .title-dialog .close-dialog {
    border: none;
    background: #fff;
}

dialog .title-dialog .close-show-message-dialog {
  border: none;
  background: #fff;
}

/* ------ */

.year-c::after{
	content: "年";
}
.last-name{
	display: flex;
}
.last-name::before{
	content: "姓";
}
.first-name{
	display: flex;
}
.first-name::before{
	content: "名";
}
.addr1,
.addr2,
.addr3{
	display: flex;
  white-space:nowrap;
}
.addr1::before{
	content: "都道府県";
}
.addr2::before{
	content: "市区町村";
}
.addr3::before{
	content: "番地、建物名、部屋番号";
}

.history{
	display: inline !important;
}
.history dt{
	font-weight: 1000;
}

.history-view-table {
  width: 100%;
}
.history-view-table th, .history-view-table td {
  padding-top: .75rem;
  padding-bottom: .75rem;
}
.history-view-table tr ~ tr th,
.history-view-table tr ~ tr td {
  border-top: solid 1px #C7C7C7;
}
.history-view-table th {
  font-weight: bolder;
  white-space: nowrap;
  padding-right: 1rem;
  vertical-align: top;
}

.history-table th,
.history-table td {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.history-table tr ~ tr th,
.history-table tr ~ tr td {
  border-top: solid 1px #C7C7C7;
}
.history-table th {
	width: 130px;
  vertical-align: top;
}
.history-table td {
  padding-left: 1rem;
}
.history-table td textarea {
  float: left;
  width: calc(100% - 30px - 1rem);
}
.history-table td .history-button {
  width: 30px;
  height: 30px;
  float: right;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.history-table td .history-button.add {
  color: #fff;
  background-color: #198754;
  border-color: #198754;
}
.history-table td .history-button.add:hover {
  color: #fff;
  background-color: #157347;
  border-color: #146c43;
}
.history-table td .history-button.add:focus {
  color: #fff;
  background-color: #157347;
  border-color: #146c43;
  box-shadow: 0 0 0 0.25rem rgba(60,153,110,.5);
}

.history-table td .history-button.delete {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}
.history-table td .history-button.delete:hover {
  color: #fff;
  background-color: #bb2d3b;
  border-color: #b02a37;
}
.history-table td .history-button.delete:focus {
  color: #fff;
  background-color: #bb2d3b;
  border-color: #b02a37;
  box-shadow: 0 0 0 0.25rem rgba(225,83,97,.5);
}

.history-table-user th,
.history-table-user td {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.history-table-user th {
	width: 130px;
  vertical-align: top;
}
.history-table-user td {
  padding-left: 1rem;
}
.history-table-user td textarea {
  float: left;
  width: calc(100% - 30px - 1rem);
}
.history-table-user td .history-button {
  width: 30px;
  height: 30px;
  float: right;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.history-table-user td .history-button.add {
  color: #fff;
  background-color: #198754;
  border-color: #198754;
}
.history-table-user td .history-button.add:hover {
  color: #fff;
  background-color: #157347;
  border-color: #146c43;
}
.history-table-user td .history-button.add:focus {
  color: #fff;
  background-color: #157347;
  border-color: #146c43;
  box-shadow: 0 0 0 0.25rem rgba(60,153,110,.5);
}

.history-table-user td .history-button.delete {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}
.history-table-user td .history-button.delete:hover {
  color: #fff;
  background-color: #bb2d3b;
  border-color: #b02a37;
}
.history-table-user td .history-button.delete:focus {
  color: #fff;
  background-color: #bb2d3b;
  border-color: #b02a37;
  box-shadow: 0 0 0 0.25rem rgba(225,83,97,.5);
}

.history-table2 th,
.history-table2 td {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.history-table2 th {
	width: 130px;
  vertical-align: top;
}
.history-table2 td {
  padding-left: 1rem;
}
.history-table2 td textarea {
  float: left;
  width: calc(100% - 30px - 1rem);
}
.history-table2 td .history-button {
  width: 30px;
  height: 30px;
  float: right;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.history-table2 td .history-button.add {
  color: #fff;
  background-color: #198754;
  border-color: #198754;
}
.history-table-2 td .history-button.add:hover {
  color: #fff;
  background-color: #157347;
  border-color: #146c43;
}
.history-table-2 td .history-button.add:focus {
  color: #fff;
  background-color: #157347;
  border-color: #146c43;
  box-shadow: 0 0 0 0.25rem rgba(60,153,110,.5);
}

.history-table2 td .history-button.delete {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}
.history-table-2 td .history-button.delete:hover {
  color: #fff;
  background-color: #bb2d3b;
  border-color: #b02a37;
}
.history-table2 td .history-button.delete:focus {
  color: #fff;
  background-color: #bb2d3b;
  border-color: #b02a37;
  box-shadow: 0 0 0 0.25rem rgba(225,83,97,.5);
}