@charset "UTF-8";

html, body {
    color: #000;
}
body {
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
}

.text-center {
    text-align: center;
}
#single-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 3px;
  color: #6A8DAD;
	font-size: 14px;
	margin: auto;
}
#single-header-left{
	padding-left:20px;
}
#single-header-right{
	padding-right:20px;
}
#single-page {
    padding: 50px 20px;
}

.single-title {
    color: #6A8DAD;
    font-size: 40px;
    font-weight: 600;
    margin: 0 auto 24px auto;
}
.add-history-form .single-title {
    text-align: center;
}
.single-content {
    color: #4E4F54;
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 80px;
    padding: 0 20px;
}
.single-h3 {
    font-size: 14px;
    font-weight: 600;
}
.caution {
    color: #E32F2B;
    font-size: 14px;
    font-weight: bold;
}

.blocks {
    display: flex;
    justify-content: center;
    flex-direction: row;
    text-align: center;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-bottom: 20px;
}
.blocks > input {
    width: 50px;
    height: 50px;
    border: 1px solid #D4D4D8;
    border-radius: 4px;
    color: #4E4F54;
    text-align: center;
}


.btn {
    background-color: #191970;
    color: #fff;
    text-align: center;
    width: 150px;
    height: 40px;
    line-height: 40px;
    border-radius: 10px;
	  border:1px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}
.btn:hover {
  background-color: #2A2AA0;
}
.btn-back {
  background-color: #A0A0A0;
}
.btn-back:hover {
  background-color: #777575;
}
.link a {
    text-decoration: none;
    display: inline-block;
    padding-top: 30px;
    font-size: 12px;
    color: #6A8DAD;
}
.add-history-form .btn {
    background: #fff;
    color: #3A4F63;
    border: 1px solid #3A4F63;
}
.add-history-form .buttons {
    justify-content: space-around;
}



.form-container {
    width: 100%;
    max-width: 440px;
    margin: auto;
    text-align: left;
    font-size: 14px;
}
.form-section-title {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}
.form-sub {
    font-size: 12px;
    margin-top: 0;
    margin-bottom: 30px;
}
.form-container dl {
    display: block;
    margin-bottom: 30px;
}
.form-container dt {
    margin: 0;
    padding: 0;
	  color:#6A8DAD;
}
.form-container dd {
    margin: 0;
    padding: 0;
}
.form-container dt label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}
.file-description {
    font-size: 11px;
    color: #3E3A3A;
}

input[type="text"].input,
textarea.input,
select.input
{
    border: 1px solid #D4D4D8;
    border-radius: 4px;
    width: 100%;
    padding: 0.25rem 0.5rem;
    box-sizing: border-box;
}
select.input,
input[type="text"].input {
    height: 30px;
}

.form-container .input-group {
    border: 1px solid #D4D4D8;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
}
.form-container .input-group .input {
    border: none;
}
.form-container .input-group label.in {
    white-space: nowrap;
    color: #6A8DAD;
}


.btn-history {
    font-size:16px;
    font-weight: normal;
    text-align: center;
    display: block;
    width:285px;
    height: 40px;
    line-height: 40px;
    border-radius: 10px;
    border: 1px solid #3A4F63;
    color: #3A4F63;
    text-decoration: none;
    margin: auto;
    margin-bottom: 30px;
	  cursor:pointer;
    transition: background-color 0.3s;
}
.btn-history:hover {
    background-color: #3A4F63;
    color: #fff;
}

.buttons {
    display: flex;
    justify-content: space-between;
}
.buttons a {
    display: inline-block;
    text-decoration: none;
}

.validate_err{
	max-width: 600px;
	border:1px #c71585 solid;
	text-align:center;
	margin:auto;
	padding:20px;
	margin-bottom:10px;
}

.validate_err li{
	list-style:none;
	font-size:14px;
	color:#c71585;
}

/*�������y�[�W�p*/

.form-container input[type=checkbox] {
  accent-color: #4682b4;
  transform: scale(1.5);
  margin-right:10px;
  margin-bottom:10px;
}
.form-container input[type=radio] {
  accent-color: #4682b4;
  transform: scale(1.5);
  margin-right:10px;
  margin-bottom:10px;
}

.face_img_box{
  width: 100%;
	max-width: 450px;
	text-align: center;
}
#face_file{ margin:auto; }

input[type="text"].input50{
	width:200px;
}

.file_input{
	display:block;
	width:200px;
	height:30px;
	margin:auto;
	color:#fff;
	border-radius: 5px;
	background-color: #191970;
	padding-top:20px;
	cursor:pointer;
  transition: background-color 0.3s;
}
.file_input:hover {
  background-color: #2A2AA0;
}

.file_input_btn{
	display:none;
}

#drop_area,#drop_area2 {
  width: 100%;
  max-width: 450px;
  height: 150px;
  border: 3px dashed #666666;
  border-radius: 10px;
  text-align: center;
  line-height: 10px;
  padding-top:20px;
  margin-bottom: 10px;
}
/* ���[�_���Ɣw�i�̎w�� */
.modal{
  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;
}

/* ���[�_���̋[���v�f�̎w�� */
.modal:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em;
}

/* �N���X���ǉ����ꂽ���̎w�� */
.modal.is-active{
  opacity: 1;
  visibility: visible;
}

/* ���[�_�������̎w�� */
.modal-container{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 600px;
  width: 90%;
}

/* ���[�_�������{�^���̎w�� */
.modal-close{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  color: #fff;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
}

/* ���[�_���̃R���e���c�����̎w�� */
.modal-content{
  background: #fff;
  text-align: left;
  line-height: 1.8;
  padding: 20px;
}

/* ���[�_���̃R���e���c�����̃e�L�X�g�̎w�� */
.modal-content p{
  margin: 1em 0;
}

#visit_list{
padding:0px;
line-height:10px;
margin:auto;
text-align:center;
}


/* �t�@�C���A�b�v���̔w�i�̎w�� */
#file_up_box{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,50%);
  background-image: url(/img/loading.gif);
  background-repeat: no-repeat;
  background-position: center;
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
}
/* �N���X���ǉ����ꂽ���̎w�� */
#file_up_box.is-active{
  opacity: 1;
  visibility: visible;
}

/* �o�^���̔w�i�̎w�� */
#entry_comp_box{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(255,255,255,70%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
 z-index:998;
}

/* ���[�_�������̎w�� */
#entry_comp_box .entry_inner{
  margin-top:100px;
 padding-top:100px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 600px;
  height:300px;
  width: 90%;
	background-color:#fff;
 border:1px #6A8DAD solid;
  border-radius: 10px;
}
.entry_inner span{
    color: #6A8DAD;
    font-size: 40px;
    font-weight: bold;
	background-color:#fff;
}

/* �N���X���ǉ����ꂽ���̎w�� */
#entry_comp_box.is-active{
  opacity: 1;
  visibility: visible;
}

dt .note{
	font-size:12px;
}
dd table th{
	vertical-align:top;
	padding-top:3px;
}
dd table td{
	padding-left:10px;
}

/* モバイル対応 */
@media screen and (max-width: 390px) { 
  .single-content {
    font-size: 14px;
  }
  .blocks > input {
    width: 45px;
    height: 45px;
  }
  #drop_area,#drop_area2 {
    height: 130px;
  }
  .btn {
    width: 120px;
  }
}

.delete-visit-btn{
  background: none;
    border: none;
    color: #007bff; /* ブラウザのaタグっぽい青 */
    text-decoration: underline;
    cursor: pointer;
    padding: 8px 0;
    font: inherit;
}