﻿@charset "utf-8";
/* CSS Document */

/*--------------------------------------
    main
--------------------------------------*/

main{
    padding-top: 100px;
    overflow-x: hidden;
}
@media (max-width: 768px) {
    main{
        padding-top: 60px;
    }
}

/*--------------------------------------
    visualArea
--------------------------------------*/

.visualArea{
    width:100%;
    height:140px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.visualArea .bg{
    width:100%;
    height:100%;
    position: absolute;
    top:0;
    left:0;
}
.visualArea .bg img{
    width:100%;
    height:100%;
    object-fit: cover;
}
.visualArea h2.page-title{
    font-size:30px;
    position: relative;
}
@media (max-width: 768px) {
    .visualArea{
        height:100px;
    }
    .visualArea h2.page-title{
        font-size:20px;
        position: relative;
    }
}

/*--------------------------------------
    anchorlinkArea
--------------------------------------*/

.anchorlinkArea{
    width:100%;
    padding:30px calc(50% - 500px);
    box-sizing: border-box;
    background: #F6F7EF;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:30px 40px;
}
.anchorlinkArea .point-list__item{
    width:100%;
    height:auto;
}
.anchorlinkArea .point-list__item a{
    width:100%;
    height:auto;
    display: block;
    font-size: 18px;
    position: relative;
    padding:10px 45px 10px 15px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 5px 5px 10px #CCCCCC;
    box-sizing: border-box;
}
.anchorlinkArea .point-list__item a::after{
    width:10px;
    height:10px;
    border:2px solid;
    border-color:transparent #1D2088 #1D2088 transparent;
    content: "";
    position: absolute;
    top:calc(50% - 10px);
    right:15px;
    transform: rotate(45deg);
}
@media (max-width: 768px) {
    .anchorlinkArea{
        width:100%;
        padding:20px;
        grid-template-columns: 1fr;
    }
}

/*--------------------------------------
    breadcrumbsArea
--------------------------------------*/

.breadcrumbsArea{
    width:100%;
    padding: 10px calc(50% - 500px);
    box-sizing: border-box;
}
.breadcrumbsArea ol.breadcrumbs__list{
    display: flex;
    gap:10px 40px;
    flex-wrap: wrap;
}
.breadcrumbsArea ol.breadcrumbs__list li:not(:last-child){
    position: relative;
}
.breadcrumbsArea ol.breadcrumbs__list li:first-child{
    display: flex;
    align-items: center;
    gap:10px;
}
.breadcrumbsArea ol.breadcrumbs__list li:first-child::before{
    content: "";
    width:20px;
    height:20px;
    display: block;
    background: url("../images/page/icon_breadcrumbs.png") no-repeat center center/contain;
}
.breadcrumbsArea ol.breadcrumbs__list li:not(:last-child):after{
    content: ">";
    position: absolute;
    top:0;
    left:calc(100% + 20px);
    bottom:0;
    transform: translate(-50%,0);
}
.breadcrumbsArea ol.breadcrumbs__list li span.breadcrumbs__current{
    border-bottom: 1px solid #707070;
}
@media (max-width: 768px) {
    .breadcrumbsArea{
        height:auto;
        padding: 10px 2%;
    }
    .breadcrumbsArea ol.breadcrumbs__list{
        gap:5px 20px;
    }
    .breadcrumbsArea ol.breadcrumbs__list li:not(:last-child):after{
        left:calc(100% + 10px);
    }
}

/*--------------------------------------
    mainContents
--------------------------------------*/

.mainContents{
    width:1000px;
    margin: 60px auto 0 auto;
}
@media (max-width: 768px) {
    .mainContents{
        width:96%;
        margin: 40px auto 0 auto;
    }

}

/*--------------------------------------
    figcaption
--------------------------------------*/

.wp-block-image :where(figcaption) {
    color:#1D2088;
}

/*--------------------------------------
    table
--------------------------------------*/

.wp-block-table .has-fixed-layout thead tr th,
.wp-block-table .has-fixed-layout thead tr td,
.wp-block-table .has-fixed-layout tbody tr td:first-child:not(.tdnormal){
    background: #5E60BE;
    color:#FFFFFF;
    border:1px solid;
    border-color:#5E60BE #FFFFFF #FFFFFF #FFFFFF;
}
.wp-block-table .has-fixed-layout tbody tr td{
    border:1px solid;
    border-color:#FFFFFF #FFFFFF #5E60BE #FFFFFF;
}
.wp-block-table .has-fixed-layout thead tr th:first-child{
    border-color:#5E60BE #FFFFFF #FFFFFF #5E60BE;
}
.wp-block-table .has-fixed-layout tbody tr td:first-child:not(.tdnormal){
    border-color:#FFFFFF #FFFFFF #FFFFFF #5E60BE;
}
.wp-block-table .has-fixed-layout tbody tr:last-child td:first-child:not(.tdnormal){
    border-color:#FFFFFF #FFFFFF #5E60BE #5E60BE;
}
.wp-block-table .has-fixed-layout thead tr th:last-child{
    border-color:#5E60BE #5E60BE #5E60BE #FFFFFF;
}
.wp-block-table .has-fixed-layout tbody tr td:last-child{
    border-color:#5E60BE #5E60BE #5E60BE #FFFFFF;
}
.wp-block-table .has-fixed-layout tbody tr:last-child td:last-child{
    border-color:#5E60BE #5E60BE #5E60BE #FFFFFF;
}
.wp-block-table{
    border:1px solid #5E60BE;
    border-radius: 5px;
}
@media (max-width: 768px) {
}

/*--------------------------------------
    tablepress
--------------------------------------*/

.tablepress{
    border-collapse: separate;
	border-spacing: 0;
}	
.tablepress thead td,
.tablepress thead th{
    color:#FFFFFF;
    background: #5E60BE;
    border:2px solid;
    text-align: center;
}
.tablepress thead th{
    width:15%;
    min-width: 131px;
}
.tablepress thead td{
    width:10%;
    min-width: 88px;
}
.tablepress thead td.column-1{
    border-left: 2px solid #5E60BE;
}
.tablepress thead td.column-7{
    border-right: 2px solid #5E60BE;
}
/* 本体セルの横線を消す（縦線だけ残す） */
.tablepress tbody td {
  border: none;
  border-left: 2px solid #5E60BE;
    text-align: center;
    vertical-align: middle;
}
.tablepress tbody td.column-1{
    background: #5E60BE;
    color:#FFFFFF;
    border-right: 2px solid #FFFFFF;
}
.tablepress tbody tr:first-child td.column-1{
  border-bottom: 2px solid #FFFFFF;
}
.tablepress tbody td.column-7{
    border-right: 2px solid #5E60BE;
}

/* .column-1 を含む行＝グループの先頭行だけ上線を引く */
.tablepress tbody tr:has(> .column-1) > * {
  border-top: 2px solid #5E60BE;
}

/* 一番下の線 */
.tablepress tbody tr:last-child > * {
  border-bottom: 2px solid #5E60BE;
}

/* 中身が全部空の行を非表示にする */
.tablepress tbody tr:not(:has(> :not(:empty))) {
  display: none;
}
@media (max-width: 768px) {    
    .tablepress {
		display: block;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/*--------------------------------------
    page_dock
--------------------------------------*/

.page_dock iframe{
    width:100%;
    height:500px;
}
@media (max-width: 768px) {
}

/*--------------------------------------
    page_group
--------------------------------------*/

.page_group .nobg{
    background: none !important;
    border:none !important;
}
@media (max-width: 768px) {
}

/*--------------------------------------
    page_endocrinology
--------------------------------------*/

.page_endocrinology .pattern-check-list > .wp-block-group__inner-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
}
@media (max-width: 768px) {
}

/*--------------------------------------
    page_anesthesiologist
--------------------------------------*/

.wp-block-table .has-fixed-layout thead {
    border-bottom: 1px solid #FFFFFF;
}
.page_anesthesiologist .wp-block-table .has-fixed-layout thead tr th:first-child{
    width:40%;
}
.page_anesthesiologist .wp-block-table .has-fixed-layout thead tr th:not(:first-child){
    width:15%;
}
@media (max-width: 768px) {
}

/*--------------------------------------
    page_greeting
--------------------------------------*/

.page_greeting .wp-block-table .has-fixed-layout tr td{
    background: #FFFFFF;
}
.page_greeting .wp-block-table .has-fixed-layout tr td:first-child{
    width:20%;
}
@media (max-width: 768px) {
}

/*--------------------------------------
    page_reserve
--------------------------------------*/

@media (max-width: 768px) {
.page_reserve .wpcf7-select[name="your-year"]{
    width:40%;
}
.page_reserve .wpcf7-select[name="your-month"],
.page_reserve .wpcf7-select[name="your-day"]{
    width:40%;
}
}

/*--------------------------------------
    page_dialysis-center
--------------------------------------*/

.page_dialysis-center .wp-block-table .has-fixed-layout tr td:first-child{
    width:20%;
}
@media (max-width: 768px) {
}

/*--------------------------------------
    linkArea
--------------------------------------*/

.linkArea{
    padding: 30px 0;
    margin-top: 100px;
    background: #F0F1FF;
}
.linkArea ul{
    width:1000px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:10px 20px;
    margin: 0 auto;
}
.linkArea ul li{
    width:100%;
    height: 60px;
}
.linkArea ul li a{
    font-size:18px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap:8px;
    background: #FFFFFF;
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
}
.linkArea ul li a:hover{
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    opacity: 1;
}
.linkArea ul li a span{
    display: flex;
    justify-content: center;
    align-items: center;
    width:32px;
    height:32px;
    transition: 0.3s;
}
.linkArea ul li a:hover span{
    transform: scale(1.1);
}
@media (max-width: 768px) {
.linkArea{
    padding: 20px 20px;
    margin-top: 50px;
}
.linkArea ul{
    width:100%;
    grid-template-columns: 1fr;
    gap:5px 20px;
}
.linkArea ul li{
    height: 50px;
}
}


/*--------------------------------------
    search
--------------------------------------*/

.search .mainContents article a.box{
    display: block;
    padding: 30px 0;
    border-bottom: 1px solid #000000;
    margin-bottom: 0;
}
.search .mainContents article a.box:last-child{
    border-bottom: none;
}
.search .mainContents article a.box .textArea{
    width:100%;
}
.search .mainContents article a.box h3{
    font-size:18px;
}
@media (max-width: 768px) {
    .search .mainContents article a.box{
        display: block;
    }
}


/*2026/09/15 寺本追記・フォーム切り替えの部分のCSSです*/
/*デザインに合わせて随時変更をお願いいたします。*/
		/*ここはご自由に*/
		ul#inquiryBtn{
			width: 100%;
		}
		/* 各ボタンのデフォルトスタイル　変更はご自由に */
		ul#inquiryBtn li{
			width: 30%;
			margin-right: 3%;
			float: left;
			list-style: none;
			border: 1px solid #ccc;
			background: #ddd;
			text-align: center;
			padding: 1% 0;
			transition: 0.5s;
		}
		/*上の計算だとはみ出るので調整　ご自由に変更ください　いらない場合は削除*/
		ul#inquiryBtn li:last-child{
			margin-right: 0;
		}
		/*ホバーしたときにマウスポインターを変更かつ色を変えてます　変更はご自由に*/
		ul#inquiryBtn li:hover{
			cursor: pointer;
			background: #ccc;
		}
		/* いまactiveなボタンだけスタイルチェンジ */
		ul#inquiryBtn li.active{
			background: #fff;
		}
		/* activeかつhoverした時のスタイルの変更 */
		ul#inquiryBtn li.active:hover{
			background: #333;
			color: #fff;
		}
		/*フォームの外枠・ご自由に*/
		div#forms{
			clear: both;
			padding: 8% 0;
		}
		/*フォームの内容のdivを一時不可視に*/
		div.inquiryForm_a,
		div.inquiryForm_b,
		div.inquiryForm_c{
			width: 100%;
			display: none;
		}
		/*フォームの内容のdivでclass="active"がついているものだけ表示*/
		div#forms div.active{
			display: block;
		}