/*各ページ用CSS*/
.voice-item {
	display: flex;
	gap: 40px;
	margin-bottom: 80px;
}

.voice-item.single {
	flex-direction: column;
}

/* 画像部分 */
.voice-img img {
	border-radius: 4px;
	display: block;
}

/* 右側情報 */
.voice-detail h2 {
	font-size: 24px;
	margin-bottom: 20px;
}
/* リンク */
.voice-link a,
.voice-back a {
	display: inline-block;
	padding: 8px 24px;
	background: #1a4a7a;
	color: #fff;
	border-radius: 4px;
	text-decoration: none;
}

@media screen and (max-width: 768px){
    .voice-item{
        display: block;
    }
    .voice-item .voice-img{
        text-align: center;
    }
    .voice-item .voice-img img{
        display: block;
        margin: auto;
    }
}

/* FAQ wrap */
.faq-list {
	max-width: 900px;
	margin: 0 auto 120px;
}

/* 各項目 */
.faq-item {
	border-bottom: 1px solid #ddd;
	padding: 20px 0;
}

/* Q部分 */
.faq-question {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 20px;
	font-weight: 600;
	cursor: pointer;
	position: relative;
	padding-right: 40px;
}

/* 開閉アイコン（＋ / −） */
.faq-question::after {
	content: '+';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	transition: 0.2s;
}
.faq-item.open .faq-question::after {
	content: '−';
}

/* Qアイコン */
.faq-q {
	color: #1a4a7a;
	font-weight: bold;
}

/* A全体（閉じた状態） */
.faq-answer {
	display: none;
	padding-left: 1.8em;
	padding-top: 16px;
}
.faq-answer-inner{
    position: relative;
    padding-left: 1.8em;
}
.faq-answer-inner:before{
    content: "A.";
	color: #1a4a7a;
	font-weight: bold;
	margin-right: 6px;
    width: 1.5em;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 18px;
}

/* A表示中 */
.faq-item.open .faq-answer {
	display: block;
    margin-top: .7em;
}


.hospital-map {
	width: 100%;
	height: 450px;
	margin-bottom: 60px;
	border: 2px solid #ddd;
}

.map-title {
	margin: 40px 0 20px;
	font-size: 22px;
	font-weight: 700;
	color: #1a4a7a;
}
.hospital-map-container{
    width: 100%;
    max-width: 1200px;
    margin: auto;
}
.hospital-map-container a{
    color: #db7a2b;
    transition: all .3s ease-in-out;
}
.hospital-map-container a:hover{
    color: #000;
}
.post-type-archive-hospital .hospital-map-container .map-wrapper ul{margin:0;list-style:none !important;}
.post-type-archive-hospital .hospital-map-container .map-wrapper ul li{margin:0 0 5px 0; padding:20px; border:1px solid #ccc;}
.post-type-archive-hospital .hospital-map-container .map-wrapper ul li a{font-weight:bold; font-size:110%;}


.map-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
}
.map-tab {
	padding: 10px 20px;
	border: solid 1px #1a4a7a;
	background: #fff;
	color: #1a4a7a;
	cursor: pointer;
}
.map-tab.active {
	background: #1a4a7a;
	color: #fff;
}
.hospital-map {
	width: 100%;
	height: 400px;
	margin-bottom: 20px;
}
.hospital-list li {
	margin-bottom: 10px;
}
@media screen and (min-width: 1024px){
	span.br{
		display: block;
		text-indent: -9999;
		font-size: 0;
	}
	a[href^="tel:"] {
		pointer-events: none;
		cursor: default;
		text-decoration: none;
		color: #000;
        font-weight: normal;
	}
}


/*staff
----------------------------------------------------------------------*/
span.profttl{
	color: #039AB3;
	font-weight: bold;
	display: inline-block;
        width: 7em;
}
#staff_cntents ul {
	margin: 0 0 0 0 !important;
	padding-left: 0;
}
#staff_cntents ul li{
	display: inline-block;
	margin: 0 25px 5px 0;
	padding: 0 0 0 0;
}
#staff_cntents ul li:before{
	content: "●　";
	font-size: 12px;
	display: inline-block;
	vertical-align: middle;
	list-style: disc;
}

.staff_wrap{
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 30px;
    flex-wrap: wrap;
}
.staff_wrap .photo{
    width: 150px;
    text-align: center;
}
.staff_wrap .photo img{
    width: 100%;
    height: auto;
}
.staff_wrap .details{
    width: calc(100% - 150px);
    padding: 0 0 0 30px;
}
.staff_wrap .details .category{
    margin-bottom: 20px;
}
.staff_wrap .details .category span{
    display: inline-block;
    margin: 2px;
    border: 1px solid #ccc;
    font-display: 12px;
    padding: 5px 1em;
}
dl.staff{
	padding: 0 10px;
}
dl.staff dt{
	margin-top: 5px;
	padding: 7px 10px;
	color: #039AB3;
	font-weight: 600;
}
dl.staff dd{
	padding: 0 0 10px 0;
}
dl.staff dd{
	padding: 10px;
	border-bottom: 1px dotted #999;
}
@media screen and (max-width: 768px){
    .staff_wrap .photo,
    .staff_wrap .details{
        width: 100%;
    }
    .staff_wrap .details{
        padding: 30px 0 0;
    }
}

/* スタッフ一覧表形式スタイル */
.staff-table-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
    box-sizing: border-box;
}

.staff-table-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
    width: 100%;
}

.staff-table-group {
    width: 100%;
}

/* 1番目と2番目のグループは横幅いっぱい（2列を占有） */
.staff-table-group:nth-child(1),
.staff-table-group:nth-child(2) {
    grid-column: 1 / -1; /* グリッドの全列を占有 */
}

.staff-table-row {
    padding: 7px;
    font-size: 14px;
    line-height: 1.6;
}

.staff-table-header {
    background-color: #c3e5f5;
    font-weight: 700;
    color: #000;
}

.staff-table-name {
    background-color: #ffffff; /* 白 */
    color: #000;
    border-bottom: 1px solid #e0e0e0;
}

/* スタッフ名を3列で表示 */
.staff-table-name-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background-color: #ffffff;
}

.staff-table-name {
    padding: 7px;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
}

.staff-name-link {
    color: #000;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.staff-name-link:hover {
    color: #1a4a7a;
    text-decoration: underline;
}

.staff-table-name:nth-child(3n),
.staff-table-name-wrapper .staff-table-name:last-child{
    border-right: none;
}

/* モバイル対応 */
@media screen and (max-width: 768px){
    .staff-table-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .staff-table-row {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    /* モバイルでは1列表示 */
    .staff-table-name-wrapper {
        grid-template-columns: 1fr;
    }
    
    .staff-table-name {
        border-right: none;
    }
}

/*result
----------------------------------------------------------------------*/
.result-menu{
    margin: 40px auto;
}
.result-menu ul{
    display: flex;
    flex-wrap: wrap;
    margin: auto !important;
    justify-content: center;
    list-style: none !important;
}
.result-menu ul li:first-child{
    border-left: 1px solid #ccc;
}
.result-menu ul li{
    padding: 0 1em;
    border-right: 1px solid #ccc;
    margin: 7px 0;
}
.result-menu ul li a{
    color: #388EB1;
    text-decoration: none;
    display: inline-block;
    padding: 3px 0;
}
.result-menu ul li a.active{
    border-bottom: 1px solid #46AB3E;
    font-weight: bold;
}

/*news
----------------------------------------------------------------------*/
.archive-post{
    padding: 20px;
    border-bottom: 1px solid #ccc;
}
.archive-post .archive-post-title{
    font-size: 21px;
    font-weight: bold;
    background: #DBEAF0;
    margin-bottom: .5em;
}
.archive-post .archive-post-title a{
    color: #000;
    text-decoration: none;
    display: block;
    padding: 15px;
}
.archive-post .archive-post-meta{
    color: #929292;
    text-align: right;
    padding-bottom: 1em;
}
.archive-post-readmore a.btn-normal {
  display: block;
  padding: 1em 1.5em;
  width: 200px;
  text-align: center;
    margin: 0 0 0 auto;
    border-radius: 30px;
}
.single-news .post-meta{
    text-align: right;
    color: #929292;
    margin-bottom: 1em;
}
.single-news .post-content{
    padding: 0 0 40px 0;
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
}
.single-news .post-navigation{
    display: table;
    margin: auto;
}
.single-news .post-navigation .nav-previous,
.single-news .post-navigation .nav-next{
    display: table-cell;
    vertical-align: middle;
    padding: 0 1em;
}
.single-news .post-navigation .nav-previous a,
.single-news .post-navigation .nav-next a{
    color: #000;
    background: #f1f1f1;
    display: block;
    padding: .5em 1em;
    text-decoration: none;
}