@charset "utf-8";
/* CSS Document */
.page-staff .wrapper .section .article h3.title_box {
    font-size: 18px;
    padding: 10px 18px;
    margin-bottom: 50px;
}

.page-staff .staff_list {
    display: flex;
    flex-wrap: wrap;
    gap: 50px 25px;
    margin-bottom: 50px;
}
.page-staff .staff_list .staff_list_box {
    width: calc((100% - 75px) / 4);
}
.page-staff .staff_list .staff_list_box a {
    display: block;
    transition: 0.1s linear all;
}
.page-staff .staff_list .staff_list_box a:hover {
    text-decoration: none;
    opacity: 0.8;
}
.page-staff .staff_list .staff_list_box a .staff_list_img {
    margin-bottom: 10px;
    line-height: 0;
}
.page-staff .staff_list .staff_list_box a .staff_list_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.page-staff .staff_list .staff_list_box a .staff_list_name {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
}
.page-staff .staff_list .staff_list_box a .staff_list_license {
    font-size: 13px;
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}
.page-staff .staff_list .staff_list_box a .staff_list_license span {
    min-width: 4em;
}
.page-staff .staff_list .staff_list_box a .staff_list_comment {
    font-size: 13px;
}
.page-staff .staff_list_appoint {
    font-size: 14px;
    line-height: 1.4;
    color: #00265F;
    margin-bottom: 50px;
}

.page-staff .staff_profile {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 50px;
}
.page-staff .staff_profile .staff_profile_R {
    width: 300px;
    height: 400px;
}
.page-staff .staff_profile .staff_profile_R img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-staff .staff_profile .staff_profile_L {
    width: calc(100% - 325px);
}
.page-staff .wrapper .section .article .staff_profile .staff_profile_L h3.title_box {
    margin-bottom: 15px;
}
.page-staff .staff_profile .staff_profile_L dl {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    border-bottom: 1px solid #ccc;
}
.page-staff .staff_profile .staff_profile_L dl dt {
    width: 78px;
    padding: 10px;
}
.page-staff .staff_profile .staff_profile_L dl dd {
    width: calc(100% - 78px);
    padding: 10px;
}
.page-staff .staff_profile .staff_profile_L h4.staff_profile_comment {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 16px;
}
.page-staff .staff_profile .staff_profile_L .btn {
    margin-top: 30px;
    text-align: center;
}
.page-staff .staff_profile .staff_profile_L .btn a {
    background: #E5004F;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    padding: 12px 33px;
    border-radius: 10px;
}
.page-staff .wrapper .section .article .search_result.staff_recommend {
    margin-bottom: 50px;
}
.page-staff .wrapper .section .article .search_result.staff_recommend ul li {
    border: none;
}
.page-staff .wrapper .section .article .staff_contact_form {
    margin-top: 50px;
    border-top: 1px solid #000;
    padding-top: 100px;
}
.page-staff .wrapper .section .article .staff_contact_form h3 {
    font-size: 27px;
    border-bottom: 4px solid #00265f;
    width: 325px;
    margin: 0 auto 40px;
    color: #00265f;
    text-align: center;
}
.page-staff .wrapper .section .article .staff_contact_form h4 {
    color: #00265f;
    background: #eee;
    padding: 10px 20px;
    font-size: 18px;
    border-bottom: none;
}
.page-staff .wrapper .section .article .staff_contact_form table {
    width: 100%;
    border-collapse: collapse;
}
.page-staff .wrapper .section .article .staff_contact_form table tr {
    border-bottom: 1px dotted #ccc;
}
.page-staff .wrapper .section .article .staff_contact_form table tr:last-child {
    border-bottom: none;
}
.page-staff .wrapper .section .article .staff_contact_form table tr th {
    text-align: left;
    font-weight: normal;
    padding: 20px 15px;
    width: 280px;
}
.page-staff .wrapper .section .article .staff_contact_form table tr td {
    padding: 20px 20px;
}
.page-staff .wrapper .section .article .staff_contact_form table tr td input[type="tel"],
.page-staff .wrapper .section .article .staff_contact_form table tr td input[type="email"],
.page-staff .wrapper .section .article .staff_contact_form table tr td input[type="text"] {
    padding: 8px;
    width: 40%;
}
.page-staff .wrapper .section .article .staff_contact_form table tr td input[name="addr"],
.page-staff .wrapper .section .article .staff_contact_form table tr td input[name="addr2"] {
    padding: 8px;
    width: 90%;
}
.page-staff .wrapper .section .article .staff_contact_form table tr td textarea {
    padding: 8px;
    width: 90%;
}
.page-staff .wrapper .section .article .staff_contact_form table tr td span.wpcf7-list-item {
    width: 100%;
    margin-left: 0;
    line-height: 1.8em;
}
.page-staff .wrapper .section .article .staff_contact_form .center {
    text-align: center;
    margin: 15px 0;
}
.page-staff .wrapper .section .article .staff_contact_form .center a {
    text-decoration: underline;
}
.page-staff .wrapper .section .article .staff_contact_form .center a:hover {
    text-decoration: none;
}
.page-staff .wrapper .section .article .staff_contact_form table tr th .imp{
	float:right;
	color:white;
	background:#e5004f;
	padding:2px 8px;
	border-radius:4px;
	border:none;
}
.page-staff .wrapper .section .article .staff_contact_form .submit{
	margin-top:30px;
	text-align: center;
}
.page-staff .wrapper .section .article .staff_contact_form .submit input[type="submit"]{
	width:300px;
	padding:20px 0;
	border:1px solid #e5004f;
	color:white;
	transition:0.1s linear all;
	background:#e5004f;
	font-size:27px;
	font-weight:bold;
	border-radius:15px;
}
.page-staff .wrapper .section .article .staff_contact_form .submit input[type="submit"]:hover{
	background:#c40044;
	color:white;
}

.admin_staff_list {
    margin-top: 50px;
}
.admin_staff_list .admin_staff_new {
    padding-left: 0;
}
.admin_staff_list .admin_staff_new a {
    background: #bbcadb;
    color: #00255f;
    padding: 6px 16px;
    border-radius: 4px;
    transition:0.1s linear all;
}
.admin_staff_list .admin_staff_new a:hover {
    text-decoration: none;
    background: #9cacbf;
}
.admin_staff_list table th:first-child {
    width: 45px;
}
.admin_staff_list table td.sort-cell {
    position: relative;
    height: 50px;
}
.admin_staff_list table td.sort-cell .sort-up,
.admin_staff_list table td.sort-cell .sort-down {
    display: block;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    cursor: pointer;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    transition: 0.1s linear all;
    box-sizing: content-box;
}
.admin_staff_list table td.sort-cell .sort-up {
    border-bottom-color: #bbcadb;
    top: 5px;
}
.admin_staff_list table td.sort-cell .sort-down {
    border-top-color: #bbcadb;
    bottom: 5px;
}
.admin_staff_list table td.sort-cell .sort-up:hover {
    border-bottom-color: #00265f;
}
.admin_staff_list table td.sort-cell .sort-down:hover {
    border-top-color: #00265f;
}

.admin_staff_list table td a {
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    margin-right: 10px;
}
.admin_staff_list table td a.staff_edit {
    background: #63a452;
}
.admin_staff_list table td a.staff_delete {
    background: #E5004F;
}

.admin_staff_edit {
    margin-top: 50px;
}
.admin_staff_edit .table tbody tr th {
    width: 220px;
}
.admin_staff_edit .table tbody tr td input[type="text"],
.admin_staff_edit .table tbody tr td textarea,
.admin_staff_edit .table tbody tr td label {
    width: 95%;
}
.admin_staff_edit .table tbody tr td .recommend {
    margin-top: 10px;
}
.admin_staff_edit .table tbody tr td .recommend input[type="text"] {
    width: 120px;
}
.admin_staff_edit .form_actions {
    text-align: center;
    margin: 50px 0;
}

@media screen and (max-width: 812px) {
    .page-staff .staff_list .staff_list_box {
        width: calc((100% - 50px) / 3);
    }
    .page-staff .wrapper .section .article .staff_contact_form table tr th{
		width: 200px;
	}
	.page-staff .wrapper .section .article .staff_contact_form table tr td input[type="tel"],
	.page-staff .wrapper .section .article .staff_contact_form table tr td input[type="email"],
	.page-staff .wrapper .section .article .staff_contact_form table tr td input[type="text"],
	.page-staff .wrapper .section .article .staff_contact_form table tr td input[name="addr"],
	.page-staff .wrapper .section .article .staff_contact_form table tr td input[name="addr2"],
	.page-staff .wrapper .section .article .staff_contact_form table tr td textarea {
		width: 95%
	}
	.page-staff .wrapper .section .article .staff_contact_form .center.sp{
		text-align: center;
		display: inline-block;
		width: 100%;
		margin: -5px 0 15px 0;
	}
	.page-staff .wrapper .section .article .staff_contact_form .submit.sp{
		display: inline-block;
		width: 100%;
	}

	.page-staff .wrapper .section .article .staff_contact_form .submit.sp input[type="submit"] {
		width: 360px;
		padding: 13px 0;
	}
}
@media screen and (max-width: 640px) {
    .pc,.pcimg {
      display: none;
    }
    .sp,.spimg {
      display: block;
    }

    .page-staff .staff_list .staff_list_box {
        width: calc((100% - 25px) / 2);
    }

    .page-staff .staff_profile .staff_profile_R {
        width: 100%;
        height: auto;
        text-align: center;
    }
    .page-staff .staff_profile .staff_profile_R img {
        max-width: 300px;
    }
    .page-staff .staff_profile .staff_profile_L {
        width: 100%;
    }
    .page-staff .wrapper .section .article .staff_contact_form table tr th{
		width: 48%;
		padding: 5px 4% 0;
		margin: 10px 0;
		display: block;
	}
	.page-staff .wrapper .section .article .staff_contact_form table tr td{
		width: 92%;
		padding: 0 4% 10px;
		display: block;
	}
	.page-staff .wrapper .section .article .staff_contact_form table tr th .imp{
		margin-right: 35px;
	}
	.page-staff .wrapper .section .article .staff_contact_form table tr td input[type="tel"],
	.page-staff .wrapper .section .article .staff_contact_form table tr td input[type="email"],
	.page-staff .wrapper .section .article .staff_contact_form table tr td input[type="text"],
	.page-staff .wrapper .section .article .staff_contact_form table tr td input[name="addr"],
	.page-staff .wrapper .section .article .staff_contact_form table tr td input[name="addr2"],
	.page-staff .wrapper .section .article .staff_contact_form table tr td textarea {
		width: 94%;
	}
	.page-staff .wrapper .section .article .staff_contact_form .center.sp{
		text-align: center;
		display: inline-block;
		width: 100%;
		margin: -5px 0 15px 0;
	}
	.page-staff .wrapper .section .article .staff_contact_form .submit.sp{
		display: inline-block;
		width: 100%;
	}

}
