@charset "utf-8";

/* カード風 */
.person { border:1px solid #ccc; border-radius:8px; box-shadow:0 2px 5px rgba(0,0,0,0.1); margin:10px 0; overflow:hidden; }
.toggle_header { cursor:pointer; background:#f7f7f7; padding:10px 15px; font-weight:bold; border-bottom:1px solid #ccc; display:flex; align-items:center; }
.toggle_header::after { content:'▼'; font-size:12px; }
.toggle_header.collapsed::after { content:'▲'; }
.person_body { padding:10px 15px; background:#fff; }

.toggle_header > .person_title{
  flex:1;
}

.toggle_header > .delete_person{
  margin: 0 2em 0 0;
}
.person>h3 {
  margin-top: 0;

}

.person>h3 {

}
.control-button-wrapper {
	
	display:flex;
	flex-direction: row;
	align-items:center;
	justify-content: center;
}
.person .error-msg {    
    color: red;
    margin: 0 0 0 0.5em;
    padding: 0;
    font-weight: bold;
}

.confirm-parson {
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin: 10px 0;
  overflow: hidden;
}
.confirm-parson > h3{
  margin:0;
  cursor: pointer;
  background: #f7f7f7;
  padding: 10px 15px;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: space-between;
  align-items: center;

}
.confirm-parson > table {
  margin:0.5rem;
}


.confirm-parson > table th {
  text-align: left;
}


.confirm-parson > table td {
  padding:0.2rem 0.5rem;
}
/* 入力欄 */
input[type=text], select { display:block; width:100%; padding:7px 10px; margin:5px 0; border:1px solid #ccc; border-radius:4px; box-sizing:border-box; }
input[type=checkbox] { margin-right:5px; }

/* ボタン */
button { margin:10px 5px 10px 0; padding:8px 15px; border:none; border-radius:5px; background:#007acc; color:#fff; cursor:pointer; }
button:hover { background:#005fa3; }
/* ボタン */
button.delete_person { 
  margin: 10px 5px 10px 0; 
  padding: 8px 15px; 
  border: none; 
  border-radius: 5px; 
  background: #dc3545; /* 警告・削除を表す赤 */
  color: #fff; 
  cursor: pointer; 
}

button.delete_person:hover { 
  background: #a71d2a; /* ホバー時に少し暗い赤 */
}
/* レスポンシブ */
@media (max-width:600px) {
  .person_body { padding:8px 10px; }
  input[type=text], select { font-size:14px; }
  button { width:100%; margin-bottom:10px; }
}
.tel2 .item {
  display:flex;
  align-items:center;
  gap:5px;
}

.tel2 input[type=text] {
  width:auto;
  display:inline-block;
}	
button {
  width:auto;
  min-width:140px;   /* お好みで */
}	
.display_no {
    display: none;
}