.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	word-wrap: normal !important;
}

.wpcf7 .hidden-fields-container {
	display: none;
}

.wpcf7 form .wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900; /* Yellow */
}

.wpcf7-form-control-wrap {
	position: relative;
}

.wpcf7-not-valid-tip {
	color: #dc3232; /* Red */
	font-size: 1em;
	font-weight: normal;
	display: block;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
	position: relative;
	top: -2ex;
	left: 1em;
	z-index: 100;
	border: 1px solid #dc3232;
	background: #fff;
	padding: .2em .8em;
	width: 24em;
}

.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
	content: " ";
}

.wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	background-color: #23282d; /* Dark Gray 800 */
	opacity: 0.75;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 100%;
	padding: 0;
	margin: 0 24px;
	position: relative;
}

form.submitting .wpcf7-spinner {
	visibility: visible;
}

.wpcf7-spinner::before {
	content: '';
	position: absolute;
	background-color: #fbfbfc; /* Light Gray 100 */
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border: none;
	border-radius: 100%;
	transform-origin: 8px 8px;
	animation-name: spin;
	animation-duration: 1000ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner::before {
		animation-name: blink;
		animation-duration: 2000ms;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes blink {
	from {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.wpcf7 [inert] {
	opacity: 0.5;
}

.wpcf7 input[type="file"] {
	cursor: pointer;
}

.wpcf7 input[type="file"]:disabled {
	cursor: default;
}

.wpcf7 .wpcf7-submit:disabled {
	cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	direction: ltr;
}

.wpcf7-reflection > output {
	display: list-item;
	list-style: none;
}

.wpcf7-reflection > output[hidden] {
	display: none;
}.result_refine table.table_search_result{width:100%;margin:5px auto 15px;table-layout:fixed}.result_refine .tablenav{padding-top:10px}@media screen and (min-width: 900px){.result_refine .tablenav{padding-top:30px}}.table_search_result th,.table_search_result td{border:1px solid #ccc;vertical-align:middle;text-align:center;padding:10px}.table_search_result th{background-color:#475766;font-size:15px;color:#fff;font-weight:normal;padding:10px 5px}.table_search_result th a{color:#fff;opacity:0.4;text-decoration:none}.table_search_result th a.sorted{opacity:1}.table_search_result th:first-child{width:271px}.table_search_result td{font-weight:bold;font-size:16px}.table_search_result td p{text-align:left;font-weight:normal;font-size:16px}.number_colored{color:#BF0000}.result_header{display:flex;justify-content:space-between;flex-wrap:wrap;margin-bottom:15px}@media screen and (max-width: 900px){.result_header .result_posts{width:100%;margin-bottom:10px}}.result_header .result_refine{text-decoration:none}@media screen and (max-width: 900px){.result_header .result_refine{padding:4px 13px 4px 11px;border:1px solid #777;border-radius:5px;color:inherit}}@media screen and (min-width: 900px){.result_header .result_refine{display:inline-block;margin-left:auto;margin-right:20px}}.result_header .result_refine span{font-size:0.6em;margin-right:7px;vertical-align:3px;display:inline-block}.order_selector{padding:5px}.result_sort .selModalButton{width:auto;padding:6px 42px 6px 8px}.result_posts span{font-weight:bold;color:#BF0000}.wrap_result_button{margin-top:10px;display:flex}.wrap_result_button.buttons_2col{flex-direction:row;justify-content:center}.wrap_result_button.buttons_1col{flex-direction:column;justify-content:center}.mpnds_button{background-color:#666;color:#fff;border-radius:5px;display:inline-block;font-size:18px;font-weight:bold;position:relative;line-height:1.5;margin:5px 0;-webkit-transition:none;transition:none;overflow:hidden;padding:10px 15px;width:100%;text-decoration:none !important;text-align:center}@media screen and (min-width: 900px){.mpnds_button{padding:10px 30px}}.mpnds_button:hover{opacity:0.7}.round_button .mpnds_button{border-radius:100px}.mpnds_button-shadow{text-shadow:0 1px 1px rgba(0,0,0,0.3)}.mpnds_button+.mpnds_button{margin-left:10px}.buttons_1col .mpnds_button+.mpnds_button{margin-left:0}.wrap_result_label{text-align:left;margin:10px 0}.result_label{display:inline-block;font-size:12px;padding:3px 8px 2px;background-color:#efefef;color:#333;border-radius:5px;margin:2px 3px;font-weight:normal}.result_type{background-color:#de766b}.table_search_result .link_button_static{width:90px}.table_search_result .link_button_static .link_button_text_static{padding:13px 5px 13px 26px}.table_search_result .lb_width_normal .lb_icon_maru-sankaku:before,.table_search_result .lb_icon_maru-sankaku.lb_icon_center:before{left:3px}.table_search_result .result_product_img{vertical-align:top}.table_search_result .result_product_img img{max-width:250px;height:auto !important}table.table_search_result img,.d-article table.table_search_result img{vertical-align:text-bottom}.d-article .table_search_result_sp,.table_search_result_sp{margin-left:auto;margin-right:auto;width:100%;font-size:14px}.d-article .table_search_result_sp tr,.table_search_result_sp tr{height:auto}.d-article .table_search_result_sp th,.table_search_result_sp th{padding:14px 10px 5px;background-color:transparent;border:1px solid #ccc;border-bottom:none;color:#333;text-align:left;font-size:18px}.d-article .table_search_result_sp th a,.table_search_result_sp th a{text-decoration:none}.d-article .table_search_result_sp th.th_colored,.table_search_result_sp th.th_colored{padding-bottom:14px}.d-article .table_search_result_sp td,.table_search_result_sp td{padding:8px 8px;line-height:1.3}.d-article .table_search_result_sp .result_product_img,.table_search_result_sp .result_product_img{vertical-align:top;border-right:none;border-top:none;padding-right:0}.d-article .table_search_result_sp .result_product_img img,.table_search_result_sp .result_product_img img{max-width:calc(50vw - 15px);height:auto !important}@media screen and (max-width: 365px){.d-article .table_search_result_sp .result_product_img img,.table_search_result_sp .result_product_img img{max-width:calc(45vw - 15px)}}.d-article .table_search_result_sp .result_product_img+td,.table_search_result_sp .result_product_img+td{border-left:0}.d-article .table_search_result_sp .result_product_spec,.table_search_result_sp .result_product_spec{border-top:none}.d-article .table_search_result_sp .result_product_spec table,.table_search_result_sp .result_product_spec table{margin-left:0;margin-right:0;width:100%;font-size:inherit;table-layout:fixed}.d-article .table_search_result_sp .result_product_spec td,.table_search_result_sp .result_product_spec td{padding:8px 5px}.d-article .table_search_result_sp .result_content,.table_search_result_sp .result_content{padding:15px;text-align:left;font-size:16px;line-height:1.5}.not_found{text-align:center;margin-bottom:15px}@media screen and (min-width: 900px){.not_found{margin:0}}.refine_search{margin:5px auto 5px}@media screen and (max-width: 900px){.front_page_main{box-shadow:none}}.search_header{text-align:center;font-size:16px;font-weight:bold;background-color:#7ec1e0;padding:6px 10px 2px;color:#fff}#refine_searchform{padding:10px 15px 5px}.wrap_items_search_top{border:1px solid #ccc;border-radius:5px;margin:0 0 10px;display:table;width:100%}.head_search_top{display:table-cell;vertical-align:middle;padding:10px;font-weight:bold;width:120px}.wrap_items_search_tops{border:1px solid #ccc;border-radius:5px;margin:0 0 10px}@media screen and (max-width: 700px){.wrap_sortable_items{display:-webkit-flex;display:flex;-webkit-justify-content:space-between;justify-content:space-between}.wrap_sortable_items select{width:55px}.wrap_sortable_items div{margin:0 3px 0 0}.wrap_sortable_items div:first-child{margin:0 3px 0 0}.wrap_sortable_items .head_search_top{font-size:12px;width:auto;font-weight:normal}.wrap_items_search_tops{border:1px solid #ccc;border-radius:5px;padding:5px;text-align:center}.wrap_sortable_items .wrap_items_search_tops div{display:inline-block;padding:0;text-align:center}}@media screen and (max-width: 400px){.item_search_top label{display:block}.head_search_top{width:40%}}.item_search_top{display:table-cell;vertical-align:middle;padding:5px}input[type="submit"].submit_refine_search{background:#f8f8f8;background:url(//www.daigakumae.co.jp/presisn/wp-content/plugins/hannyabuilder-search-trial/css/images/post-commentx2.png),-webkit-gradient(linear, left top, left bottom, color-stop(0.88, #f8f8f8), color-stop(0, #fefefe));background:url(//www.daigakumae.co.jp/presisn/wp-content/plugins/hannyabuilder-search-trial/css/images/post-commentx2.png),-webkit-linear-gradient(top, #fefefe 0, #f8f8f8 88%);background:url(//www.daigakumae.co.jp/presisn/wp-content/plugins/hannyabuilder-search-trial/css/images/post-commentx2.png),-moz-linear-gradient(top, #fefefe 0, #f8f8f8 88%);background:url(//www.daigakumae.co.jp/presisn/wp-content/plugins/hannyabuilder-search-trial/css/images/post-commentx2.png),-o-linear-gradient(top, #fefefe 0, #f8f8f8 88%);background:url(//www.daigakumae.co.jp/presisn/wp-content/plugins/hannyabuilder-search-trial/css/images/post-commentx2.png),-ms-linear-gradient(top, #fefefe 0, #f8f8f8 88%);background:url(//www.daigakumae.co.jp/presisn/wp-content/plugins/hannyabuilder-search-trial/css/images/post-commentx2.png),-linear-gradient(to bottom, #fefefe 0, #f8f8f8 88%);background-repeat:no-repeat;background-size:22px, 100%;background-position:20px 10px, top left;border:1px solid #cfcfcf;border-top:1px solid #e3e3e3;border-bottom:1px solid #b4b4b4;color:#333;cursor:pointer;outline:0;appearance:none;-webkit-appearance:none;width:auto;padding:2px 20px 2px 25px;height:45px;font-size:16px;font-weight:bold;text-decoration:none;border-radius:3px;position:relative;text-align:left;margin:20px auto 5px;display:block}input[type="submit"].submit_refine_search:hover{border-color:rgba(0,0,0,0.3);border-color:#aaa;background:#fafafa;background-repeat:no-repeat;background-size:22px, 100%;background-position:20px 9px, top left;background-image:url(//www.daigakumae.co.jp/presisn/wp-content/plugins/hannyabuilder-search-trial/css/images/post-commentx2.png),-webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0%, #fefefe), color-stop(100%, #eee));background-image:url(//www.daigakumae.co.jp/presisn/wp-content/plugins/hannyabuilder-search-trial/css/images/post-commentx2.png),-moz-linear-gradient(top, #fefefe, #eee);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFFEFEFE', endColorstr='#FFEEEEEE');background-image:url(//www.daigakumae.co.jp/presisn/wp-content/plugins/hannyabuilder-search-trial/css/images/post-commentx2.png),linear-gradient(to bottom, #fefefe, #eee);opacity:1}.submit_refine_search:hover{opacity:0.8}@media screen and (min-width: 900px){.refine_search{width:1000px;margin:20px auto 10px}.artCont .refine_search{width:auto;margin:20px auto 30px}.search_header{text-align:center;font-size:20px;font-weight:bold;background-color:#7ec1e0;padding:10px 20px 5px;color:#fff;border-radius:10px 10px 0 0}#refine_searchform{border:1px solid #ccc;padding:15px;border-radius:0 0 10px 10px;border-top:none}.head_search_top{width:150px}.item_search_top label{display:inline}}.rf_form{margin-top:40px}.widget-msop_text .rf_form{margin-top:-20px}.rf_form-header{font-weight:bold;font-size:20px;padding:10px;text-align:left}.rf_form-header-center{text-align:center}.l-sidebar .rf_form-header,.sidebar .rf_form-header,.mpnds_form-narrow .rf_form-header{font-size:18px}.rf_form-form{font-size:14px}@media screen and (min-width: 900px){.rf_form-form{font-size:17px}}.rf_form-form.form_1col{display:grid}@media screen and (max-width: 900px){.rf_form-form.form_1col{column-gap:8px;row-gap:10px}.rf_form-form.form_1col.select_layout-1-sp{grid-template-columns:1fr}.rf_form-form.form_1col.select_layout-2-sp{grid-template-columns:1fr 1fr}.rf_form-form.form_1col.select_layout-3-sp{grid-template-columns:1fr 1fr 1fr}.rf_form-form.form_1col.select_layout-4-sp{grid-template-columns:1fr 1fr 1fr 1fr}.rf_form-form.form_1col.select_layout-5-sp{grid-template-columns:1fr 1fr 1fr 1fr 1fr}}@media screen and (min-width: 900px){.rf_form-form.form_1col{column-gap:15px;row-gap:15px}.rf_form-form.form_1col.select_layout-1{grid-template-columns:1fr}.rf_form-form.form_1col.select_layout-2{grid-template-columns:1fr 1fr}.rf_form-form.form_1col.select_layout-3{grid-template-columns:1fr 1fr 1fr}.rf_form-form.form_1col.select_layout-4{grid-template-columns:1fr 1fr 1fr 1fr}.rf_form-form.form_1col.select_layout-5{grid-template-columns:1fr 1fr 1fr 1fr 1fr}}.rf_form_item{border:1px solid #ccc;border-radius:5px;display:flex;overflow:hidden}@media screen and (min-width: 900px){.l-sidebar .rf_form_item,.sidebar .rf_form_item,.mpnds_form-narrow .rf_form_item{flex-direction:column}}.form_1col .rf_form_item{grid-column:1 / -1}@media screen and (max-width: 900px){.form_1col.select_layout-1-sp .rf_form_item.select_item{flex-direction:row;grid-column:1 / -1}.form_1col .rf_form_item.select_item{flex-direction:column}.form_1col[class*="select_layout-"] .rf_form_item.select_item{grid-column:auto}}@media screen and (min-width: 900px){.form_1col.select_layout-1 .rf_form_item.select_item{flex-direction:row;grid-column:1 / -1}.form_1col .rf_form_item.select_item{flex-direction:column}.form_1col[class*="select_layout-"] .rf_form_item.select_item{grid-column:auto}.l-sidebar .form_1col[class*="select_layout-"] .rf_form_item.select_item,.sidebar .form_1col[class*="select_layout-"] .rf_form_item.select_item,.mpnds_form-narrow .form_1col[class*="select_layout-"] .rf_form_item.select_item{grid-column:1 / -1}}.rf_form_item>div{padding:10px 0 10px 8px}@media screen and (min-width: 900px){.rf_form_item>div{padding:15px 10px 15px 20px}}.rf_form_item label{display:block;margin:5px 10px 5px 0;line-height:1.3;align-items:baseline;font-size:14px}@media screen and (min-width: 900px){.rf_form_item label{display:inline-flex;margin:5px 0 5px 0;font-size:17px}.l-sidebar .rf_form_item label,.sidebar .rf_form_item label,.mpnds_form-narrow .rf_form_item label{font-size:16px;display:block}}.rf_form_item input[type="text"]{width:100%}.rf_form_item select{width:100%;height:30px;padding:0}.rf_form_item .rf_form-check{width:1em;height:1em;margin-top:0;margin-right:5px;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid rgba(0,0,0,0.25);-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;color-adjust:exact;transition:background-color .15s ease-in-out, background-position .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out}.rf_form_item .rf_form-check[type="checkbox"]{border-radius:0}.rf_form_item .rf_form-check[type="radio"]{border-radius:50%}.rf_form_item .rf_form-check:checked{background-color:#0d6efd;border-color:#0d6efd}.rf_form_item .rf_form-check:checked[type="radio"]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.rf_form_item .rf_form-check:checked[type="checkbox"]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e")}.rf_form_item-title{width:33%;font-weight:bold;background-color:#efefef;flex-shrink:0;flex-grow:0;line-height:1.3}@media screen and (min-width: 900px){.rf_form_item-title{width:20%}}@media screen and (max-width: 900px){.form_1col[class*="select_"]:not(.select_layout-1-sp) .select_item .rf_form_item-title{width:100%;text-align:center;padding:15px 5px}}@media screen and (min-width: 900px){.l-sidebar .rf_form_item-title,.sidebar .rf_form_item-title,.mpnds_form-narrow .rf_form_item-title{width:100%}.form_1col[class*="select_"]:not(.select_layout-1) .select_item .rf_form_item-title{width:100%;text-align:center;padding:15px 5px}}.free_word_item .rf_form_item-title{display:flex;align-items:center}.rf_form_item-content{width:100%;line-height:0}.free_word_item .rf_form_item-content,.select_item .rf_form_item-content{padding:15px 10px}.rf_form_item-content button{font-size:17px}.form_2col.rf_form-form{display:grid;grid-template-columns:auto auto;column-gap:10px;row-gap:10px}@media screen and (min-width: 900px){.form_2col.rf_form-form{column-gap:15px;row-gap:15px}}.form_2col .rf_form_item{width:auto}.form_2col .rf_form_item-title{width:35%}.search_result_counter{text-align:center;margin:20px}.search_result_counter span{font-weight:bold;color:#BF0000}.mpnds_searchform .rf_form-submit{padding:10px 30px;display:block;margin:30px auto;font-weight:bold;border:none;font-size:20px;background-color:#3D88EF;color:#fff;border-radius:5px}.mpnds_searchform .rf_form-submit.round_button{border-radius:50px}.mpnds_searchform .rf_form-submit:hover{cursor:pointer;opacity:0.8}.rf_form_item-content .selModalButton{font-size:12px;padding:6px 15px 6px 6px;letter-spacing:-1px}.content_shadow .rf_form_item-content .selModalButton{padding:6px 13px 6px 5px}@media screen and (max-width: 365px){.rf_form_item-content .selModalButton{padding:6px 14px 6px 4px;white-space:nowrap}}@media screen and (max-width: 325px){.rf_form_item-content .selModalButton{padding:6px 13px 6px 3px;letter-spacing:-3px}}.rf_form_item-content .selModalButton::before,.rf_form_item-content .selModalButton::after{right:4px}@media screen and (max-width: 365px){.rf_form_item-content .selModalButton::before,.rf_form_item-content .selModalButton::after{right:3px}}@media screen and (max-width: 325px){.rf_form_item-content .selModalButton::before,.rf_form_item-content .selModalButton::after{right:2px}}.donut_spinner{display:inline-block;border:4px solid #ccc;border-left-color:inherit;border-radius:50%;width:20px;height:20px;animation:donut-spin 1.2s linear infinite;margin-right:3px}@keyframes donut-spin{to{transform:rotate(1turn)}}.popup-template .modal{opacity:0;transition:all .25s ease}.popup-template .modal.is-open{opacity:1;transition:all .25s ease}/*
Theme Name: REALESTATE ALG Design
Theme URI: https://algrit.co.jp/
Description: 株式会社アルグリットのワードプレステーマ
Version: 1.0
Author: ALGRIT
Author: https://algrit.co.jp/
*//* ===== REALESTATE ALG Design 用 カラムレイアウトカスタム ===== */
.custom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 2em 0;
}

.custom-col {
  box-sizing: border-box;
  background: #ffffff;    /* テーマの背景色に合わせる */
  padding: 20px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  font-size: 15px;
  line-height: 1.8;
}

/* 比率 */
.col-1-3 { flex: 0 0 calc(33.333% - 12px); }
.col-2-3 { flex: 0 0 calc(66.666% - 12px); }
.col-1-2 { flex: 0 0 calc(50% - 12px); }

/* 画像対策 */
.custom-col img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .custom-row {
    flex-direction: column;
  }
  .col-1-3,
  .col-2-3,
  .col-1-2 {
    flex: 0 0 100%;
  }
}
.custom-col ul {
  margin-top: 2em;       /* 上余白（調整ポイント） */
  margin-bottom: 2em;    /* 下余白 */
  padding-left: 1.5em;   /* 左のインデント */
}

.custom-col ul li {
  margin-bottom: 0.8em;  /* 箇条書き同士の間隔 */
  list-style-type: disc; /* 「•」を表示 */
}
/* ===== スタッフカード全体レイアウト ===== */
.staff-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* ===== カード本体 ===== */
.staff-card {
  background: linear-gradient(135deg, #ffffff, #f7f9fb);
  border: 1px solid #e3e3e3;
  border-radius: 18px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

/* ===== アイコン部分（共通） ===== */
.staff-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
}

/* 個別のカラー */
.staff-icon.icon-blue { background-color: #003366; }  /* 津野 */
.staff-icon.icon-green { background-color: #2d6a4f; } /* 税所 */
.staff-icon.icon-soft { background-color: #f9d8bf; }  /* 田中 */
.staff-icon.icon-fresh { background-color: #fbcce0; } /* 森本 */

/* ===== 名前・タイトル ===== */
.staff-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #002b4e;
  border-bottom: 2px solid #c8a25a; /* ゴールドライン */
  display: inline-block;
  padding-bottom: 3px;
}

.staff-title {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
}

/* ===== バッジ（資格） ===== */
.staff-badges {
  margin-bottom: 15px;
}
.badge {
  display: inline-block;
  background-color: #e6ecef;
  color: #003366;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  margin: 3px;
  border: 1px solid #cdd5d9;
}

/* ===== メッセージ部分 ===== */
.staff-message {
  background-color: #f5f9f8;
  padding: 15px;
  border-radius: 12px;
  line-height: 1.7;
  font-size: 0.92rem;
  color: #333;
  position: relative;
}
.staff-message:before {
  content: "“";
  font-size: 2rem;
  color: #c8a25a;
  position: absolute;
  top: -15px;
  left: 15px;
}
.staff-message {
  background-color: #f5f9f8;
  padding: 15px;
  border-radius: 12px;
  line-height: 1.7;
  font-size: 0.92rem;
  color: #333;
  position: relative;
  text-align: left;
}
.staff-message:before {
  content: "“";
  font-size: 2rem;
  color: #c8a25a;
  position: absolute;
  top: -15px;
  left: 15px;
}
@media screen and (max-width: 768px) {
  .staff-container {
    grid-template-columns: 1fr !important;
  }
}
/* 名前とふりがな位置調整 */
.staff-name-wrap {
  margin-bottom: 5px; /* 全体のバランスを整える */
}

/* ふりがな（氏名の上に小さく配置） */
.staff-furigana-top {
  font-size: 14px;       /* サイズ固定（変更しない） */
  color: #555;
  font-weight: normal;
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: -25px;  /* ←極限まで近づける。必要に応じて -10 や -14 にも調整可 */
  display: block;
  position: relative;
  top: 2px; /* さらに微調整：上方向から近づける */
}

/*==============================
  Swiper物件スライダーの高さ統一・白画面防止版
==============================*/

/* スライダーの高さを画像に合わせて制御 */
.property-slide {
    max-height: 600px !important;
    overflow: hidden;
}

/* Swiper本体は高さ自動（固定しない） */
.property-slide .swiper,
.property-slide .swiper-wrapper {
    height: auto !important;
}

/* 各スライドの高さのみを固定 */
.property-slide .swiper-slide {
    height: 600px !important;   /* ここが重要 */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
}

/* 画像の調整（白画面防止のため100%ではなくmax-height指定） */
.property-slide .swiper-slide img {
    max-height: 100% !important;  /* スライド枠いっぱいまで */
    max-width: 100% !important;   /* はみ出さず表示 */
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
}

/* サムネイルスライダーの見た目を調整 */
.thumb-slider {
    height: 120px;
    margin-top: 15px;
}

.thumb-slider .swiper-slide {
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s;
}

.thumb-slider .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #ff6600; /* 選択中サムネイルの強調 */
}

.thumb-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===============================
   メインスライダーは高さ固定のまま維持
=============================== */
.property-slide,
.property-slide .swiper {
    height: 600px !important;
    max-height: 600px !important;
    overflow: hidden;
    position: relative;
}

/* PC用（1024px以上）：高さ600px固定 */
@media (min-width: 1024px) {
  .property-slide,
  .property-slide .swiper,
  .property-slide .swiper-wrapper,
  .property-slide .swiper-slide {
      height: 600px !important;
  }
}

/* タブレット用（768px〜1023px）：高さ500px固定 */
@media (min-width: 768px) and (max-width: 1023px) {
  .property-slide,
  .property-slide .swiper,
  .property-slide .swiper-wrapper,
  .property-slide .swiper-slide {
      height: 500px !important;
  }
}

/* スマホ用（767px以下）：画面の50%の高さにする（固定pxは使わない） */
@media (max-width: 767px) {
  .property-slide,
  .property-slide .swiper,
  .property-slide .swiper-wrapper,
  .property-slide .swiper-slide {
      height: 50vh !important;   /* ★画面の50%の高さ */
      max-height: none !important;
      overflow: visible !important; /* Swiperが正しくスライドを扱えるようにする */
  }

  .property-slide img,
  .property-slide .swiper-slide img {
      height: 100% !important;
      width: auto !important;
      object-fit: contain !important; /* 画像の縦横比を維持 */
  }