main{
	z-index:0;	
}
.ly_pageHead {
    overflow: hidden;
    border-bottom: 1px solid #cccaca;
    background: #fff;
}
.bl_pageTitle {
    min-height: 134px;
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    padding: 24px 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
	box-sizing: border-box;
	background-image: url('../../images/back.webp');
    background-size: cover;
    background-position: center;
	z-index:0;
}
.bl_pageTitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(180deg, rgba(0, 104, 183, 1) 0%, rgba(0, 167, 155, 1) 100%);
    opacity: 0.9;
}
.bl_pageTitle h1{
	color:#fff;
    z-index: 1;
	
}
.sp{
	display:none;
}
@media (max-width: 615px) {
	.bl_pageTitle h1{
 	   font-size: 1.5rem;
	}
	.sp{
		display:block;
	}
}
/*****************パンくず*******************/
#breadcrumbs{
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    width: 95%;
	padding: 0.5em 0;
}
#breadcrumbs span a{
	text-decoration:none;
	color: currentColor;
	transition: color 0.3s linear;
}
#breadcrumbs span a:hover{
	color:#005abb;
}
/*****************contents*******************/
.ly_content{
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    width: 95%;
	padding:5em 0 9em;
}
.ly_content p{
	line-height:2;
	color:#333;
}
.single-post .ly_content p{
	margin-bottom:30px;
}
@media (max-width: 615px) {
	.ly_content {
		width: 100%;
		padding: 5em 20px;
		box-sizing: border-box;
	}
}

/*-------------お知らせ一覧-----------------*/
.page-id-105 .ly_content h2 {
    font-family: "Noto Serif JP", serif;
    margin-bottom: 30px;
    font-family: "BIZ UDPGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 15px;
}
.post-item {
    margin-bottom: 15px;
    padding: 10px;
    border-bottom: 1px solid #cccaca;
    display: flex;
    align-items: center;
}
.post-meta {
    font-size: 16px;
    margin-right: 3em;
    display: flex;
    gap: 0.5em;
    align-items: center;
}
@media (max-width: 600px) {
    .post-item {
        display: block;
    }
    .post-meta {
        margin-right: 0;
        margin-bottom: 1em;
        font-size: 12px;
    }
	.post-title {
        font-size: 14px;
    }
	.post-item a{
		line-height: 1.8;
	}
}
/*-------------教授挨拶-----------------*/
.flex_right_img{
	display:flex;
	align-items: flex-start;
	flex-direction: row-reverse;
}
.flex_right_img img {
    margin-left: -3em;
    width: 30%;
    z-index: 0;
}
@media (max-width: 615px) {
	.flex_right_img {
		display:block;
	}
	.flex_right_img img{
		margin:auto;
		display:block;
		margin-bottom:20px;
		width:60%;
	}	
}
.page-id-8 section:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    content: "";
    width: 35.7%;
    height: 100%;
    background: linear-gradient(180deg, rgb(224 239 249) 100%, rgb(196 239 255) 100%);
}
.white_box {
    background: #fff;
    padding: 4em 3em;
    z-index: 1;
    margin-top: 60px;
}
@media (max-width: 615px) {
.white_box {
    padding: 2em 1em;
	margin-top:0;
}
}
.ly_content h2{
    color: #a1885c;
    font-family: "Noto Serif JP", serif;
    font-size: 2.5em;
    font-weight: 500;
	margin-bottom: 30px;
}
@media (max-width: 615px) {
.ly_content h2{
    font-size: 1.6em;
}
}
.greeting_name{
	margin-top:30px;
	text-align:right;
}
.name_professor{
    font-family: "Noto Serif JP", serif;
    font-size: 1.8em;
    display: block;
}
/*-------------当教室の特徴-----------------*/
.page-id-154 h2{
	text-align:center;
}
/*-------------教授のあゆみ-----------------*/
.page-id-10 section:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    content: "";
    width: 35.7%;
    height: 900px;
    background: linear-gradient(180deg, rgb(224 239 249) 100%, rgb(196 239 255) 100%);
}
.page-id-10 .white_box h2{
	text-align:center;
}
.txt_align{
	text-align:center;
}
.page-id-10 .white_box {
	padding: 4em 2em;
	margin-bottom:90px;
}
@media (max-width: 615px) {
.txt_align{
	text-align:left;
}
.page-id-10 section:before{
	display:none;
}	
}
.text_column{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	list-style:none;
	justify-content: space-between;
}
.text_column li {
    width: 33%;
    line-height: 4.6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ccc;
    margin-bottom: 10px;
	position: relative;
	box-sizing: border-box;
	overflow: hidden;
}
.text_column li::after {
    content: '\f054'; /* FontAwesomeのアイコンを指定（Unicode） */
    font-family: "Font Awesome 6 Free"; /* FontAwesomeフォントを指定 */
    font-weight: 900; /* アイコンを正しく表示するためにフォントウェイトを設定 */
    position: absolute; /* 右端に配置するために絶対位置を指定 */
    top: 50%; /* 親要素の縦中央に配置 */
	right: 9px; /* 右端に配置 */
    transform: translateY(-50%); /* 縦中央を正確に設定 */
    font-size: 16px; /* アイコンのサイズを調整 */
    color: #333; /* アイコンの色を設定 */
}
.text_column li a{
	text-decoration:none;
	color:#333;
	position: relative;
	margin-left: 66px;
	display: block;
	width: 100%;
	height:100%;
}
.age{
	font-size:13px;	
}
.gnt{
    background: #005abb;
    font-weight: bold;
    color: #fff;
    position: absolute;
    border-radius: 10px 0 0 10px;
    text-align: center;
    content: '';
    width: 56px;
}
@media (max-width: 1170px) {	
.text_column li {
    width: 48%;
}
}
@media (max-width: 815px) {
.page-id-10 .ly_content{
	padding:3em 20px;
}
.page-id-10 .white_box {
	padding:0;
	margin-top:30px;
}
.text_column{
	display:block;
}
.text_column li {
    width: 100%;
}
.age{
	font-size:11px;	
}
}
.past_prf{
	display:flex;
	flex-direction: row-reverse;
	border-bottom: 1px solid #ccc;
    padding: 30px 0;
}
.past_prf:last-child {
	border-bottom:none;
}
.past_prf img{
    width: 250px;
    margin: 20px 20px 0;
	align-self: flex-start;
}	
.prf_in{
    padding: 0 20px;
}
@media (max-width: 615px) {
.past_prf {
    display: block;
}
.past_prf img {
    width: 250px;
    margin: 0 auto;
    display: block;
}
.prf_in {
    padding: 20px 0px;
}
}
.past_prf h3{
    color: #a1885c;
    font-family: "Noto Serif JP", serif;
    font-size: 2.3em;
    font-weight: 500;
    margin-bottom: 30px;
}
.past_prf h3 span{
	font-size:14px;
	color:#fff;
	background:#a1885c;
    padding: 2px 10px;
	display: inline-block;
	font-family:"BIZ UDPGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}

/*-------------関連病院-----------------*/
.page-id-12 .ly_content{
    padding: 3em 0 9em;
}
.page-id-12 .ly_content h2{
	text-align:center;
}
.related_hospitals table{
	width:100%;
	min-width: auto;
}
.related_hospitals .tablepress td:nth-child(1), .related_hospitals .tablepress th:nth-child(1) {
    width: auto;
    vertical-align: middle;
    background-color: #f0f8fa !important;
	text-align: left;
}

@media (max-width: 615px) {
.page-id-12 .ly_content {
    padding: 3em 20px;
}
}
.tb_flex{
	/*display:flex;
	justify-content: space-between;*/
}
@media (max-width: 1199px) {
.tb_flex{
	display:block;
}
}
.related_hospitals{
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 60px;
	/*max-width:587px;*/
}
.related_hospitals th, 
.related_hospitals td,
.related_hospitals .tablepress td{
    border: 1px solid #ddd;
    padding:16px 10px;
    text-align: left;
}
.related_hospitals th,.related_hospitals .tablepress td:nth-child(1), .related_hospitals .tablepress th:nth-child(1)  {
    background-color:#f0f8fa;
    font-weight: bold;
	width:30%;
}
.related_hospitals .tablepress td:nth-child(2){
	color:#898989;
	font-size:14px;
	width: 20%;
}
.tb03 .related_hospitals .tablepress td:nth-child(2){
	color: inherit;
    width: auto;	
}

.related_hospitals th a,
.related_hospitals td a{
    text-decoration: none;
    color: #005abb;
}
.training th{
	width:30%;
}
.related_hospitals th a::after,
.related_hospitals td a::after{
    content: "\f35d"; /* FontAwesomeのUnicode */
    font-family: "Font Awesome 6 Free"; /* FontAwesomeのフォント指定 */
    font-weight: 900; /* 必須: FontAwesomeのアイコンを太字に */
    display: inline-block; /* インライン要素として表示 */
	margin-left:10px;
}
@media (max-width: 615px) {
.related_hospitals .tablepress td:nth-child(1){
    border-bottom: dashed 1px #ccc !important;
    width: auto;
    border-top: solid 1px #ccc !important;
}
.related_hospitals .tablepress tr{
	display: grid !important;
}
.related_hospitals .tablepress td{
	border-bottom:none !important;
	border-top:none !important;
	line-height:1.5;
	width: 100% !important;
}
.related_hospitals .tablepress td:nth-child(2){
	padding-bottom:0;
}
.tb03 .related_hospitals .tablepress td:nth-child(2){
	padding-bottom:16px;
}
.related_hospitals tr:last-child td:last-child {
	border-bottom: 1px solid #ddd !important;
}
.training th{
	width:auto;
}
}
/*-------------スタッフ紹介-----------------*/
.page-id-14 .ly_content h2{
	text-align:center;
}
.page-id-14 .ly_content h2::before{
	display:block;
	text-align:center;
	font-size:14px;
	content: attr(data-en);
}
.page-id-14 .ly_content h2:nth-child(n + 2){
	margin-top:60px;
}
.page-id-14 .ly_content h2:nth-of-type(4) {
    display: none;
}

/* スタッフ一覧のグリッドレイアウト */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列レイアウト */
    gap: 20px; /* カード間の余白 */
    padding: 20px;
}

/* スタッフカード */
.staff-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.staff-card a{
	text-decoration:none;
	text-align:left;
}
/* ホバー時のエフェクト */
.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 画像 */
.staff-card img {
    width: 100%;
    height: 70%;
    border-radius: 8px;
    object-fit: cover;
}

/* スタッフ名 */
.staff-card h3 {
    font-size: 24px;
    color: #005abb;
    font-family: "Noto Serif JP", serif;
    line-height: 1.2;
}

/* 役職 */
.staff-card p {
    font-size: 14px;
}
.staff-card .roma{
    color:#71a2d7;	
    font-family: "Noto Serif JP", serif;
}
/* レスポンシブ対応 */
@media (max-width: 1024px) { /* タブレット */
    .staff-grid {
        grid-template-columns: repeat(3, 1fr); /* 3列 */
    }
}

@media (max-width: 768px) { /* スマホ */
    .staff-grid {
        grid-template-columns: repeat(2, 1fr); /* 2列 */
    }
	.page-id-14 .ly_content h2{
	font-size:2.5em;
}
}
@media (max-width: 600px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-columns: repeat(2, 1fr);
        gap: 3px;
        padding: 0;
    }
	.staff-card h3 {
    font-size: 20px;
	}
	.staff-card {
    padding: 6px;
	}
}

.back_style:before{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    content: "";
    width: 35.7%;
    height: 100%;
    background: linear-gradient(180deg, rgb(224 239 249) 100%, rgb(196 239 255) 100%);
}
.staff_flex{
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
	justify-content: left;
}
.prof_content{
	background: #fff;
    padding: 4em 3em;
    z-index: 1;
    margin-top: 60px;
	width: 80%;
}
.prof_content h2{
	line-height: 1.2;
    padding-top: 10px;
}
.prof_content h2 span{
	display:block;
	font-size:16px;
}
.staff-info .flex{
	display:flex;
	border-bottom: 1px solid #cccaca;
}
.staff-info .flex dt{
	width:16%;
    padding: 12px 20px;
    background-color: rgb(228 248 255);
}
.staff-info .flex dd {
    padding: 12px 35px;
	width: 84%;
 }
.staff-textarea{
	padding:10px;
}
.staff-textarea p{
	line-height:1.5;
}

@media (max-width: 615px) {
	.staff_flex{
		display:block;
	}
    .prof_img img{
        display: block;
		margin:auto;
    }
	.prof_content{
        padding: 2em 1em;
        margin-top: 0;
		width: 100%;
        box-sizing: border-box;
    }
	.staff-info .flex {
		display: block;
	}
	.staff-info .flex dt,
	.staff-info .flex dd {
		width:100%;
		box-sizing: border-box;
		padding: 12px;
    	line-height: 2;
 	}
}
@media (max-width: 480px) {
	.staff-info .flex {
    border: none;
	}
	.single-staff .back_style:before {
    background:none;
}
}
/*非常勤医師のテーブル*/
.page-id-14 .tablepress{
	width: 100%;
    max-width: 900px !important;
	min-width: auto;
}
.page-id-14 .tablepress td:nth-child(1){
	background-color:#fff !important;
	text-align: left;
    padding: 16px;
    line-height: 2;
}

/*-------------患者の皆様へ-----------------*/
.page-id-20 section:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    content: "";
    width: 35.7%;
    height: 100%;
    background: linear-gradient(180deg, rgb(224 239 249) 100%, rgb(196 239 255) 100%);
}
.page-id-20 .ly_content h2{
	text-align:center;
}
.page-id-20 .ly_content h3{
    color: #005abb;
	padding:20px 0;
}
.page-id-20 .ly_content .wrap{
	background:#fff;
	padding:40px;
}
.page-id-20 .blue_back{
	padding: 20px;
    background-color: rgb(228 248 255);
	display: block;
	margin-bottom:20px;
}
.page-id-20 .ly_content ul{
    padding-left: 1em;
}
.page-id-20 .ly_content dl{
	background-color:#fff;
	margin-top: 30px;
}
.page-id-20 .ly_content dl dt{
	padding:20px;
	background-color: rgb(228 248 255);
}
.page-id-20 .ly_content dl dd{
	padding:20px;
}
@media (max-width: 615px) {
	.page-id-20 section:before {
	background:#fff;	
}
	.page-id-20 .ly_content h2 {
    font-size: 26px;
}
	.page-id-20 .ly_content h3 {
    text-align:center;
}
	.page-id-20 .ly_content .wrap {
    padding:0px;
}	
.page-id-20 .ly_content ul {
    line-height:1.8;
}	
.page-id-20 .ly_content ul li{
    padding-bottom: 1em;
}	
.page-id-20 .ly_content dl dd {
    line-height: 1.8;
}
}

/*-------------患者様の紹介について-----------------*/

.page-id-22 section:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    content: "";
    width: 35.7%;
    height: 100%;
    background: linear-gradient(180deg, rgb(224 239 249) 100%, rgb(196 239 255) 100%);
}
.page-id-22 .ly_content h2{
	text-align:center;
}
.page-id-22 .ly_content h3{
	padding: 20px;
    background-color: rgb(228 248 255);
	display: block;
	margin:20px auto;
}
.page-id-22 .ly_content .wrap{
	background:#fff;
	padding: 40px 40px 60px;
}
.page-id-22 .ly_content p{
	padding:20px 0;
}
.page-id-22 .ly_content .process{
	background: linear-gradient(180deg, #f2fdff 0%, #e9f4ff 70%, #ddf3ff 100%);
	padding: 3.3% 3.5%;
    margin-top: 60px;
}
.page-id-22 .ly_content .process h3{
	background:none;
	padding:0;
	color: #005abb;
    font-size: 1.8em;
    margin-top: 0;
	font-family: "Noto Serif JP", serif;
}
.page-id-22 .ly_content li{
    position: relative;
    padding-left: 1.27em;
	list-style: none;
	line-height: 2;
}
.page-id-22 .ly_content li:before {
    background:#005abb;
	position: absolute;
    top: 1em;
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    content: "";
    width: 0.77em;
    height: 0.77em;
}
.page-id-22 .ly_content li a{
	color:#005abb;
	text-decoration:none;
}
@media (max-width: 615px) {
	.page-id-22 section:before {
	background:#fff;	
}
	.page-id-22 .ly_content h2 {
    font-size: 26px;
}
	.page-id-22 .ly_content .wrap {
    padding:0px;
}	
	.page-id-22 .ly_content .process h3{
    font-size: 1.5em;
	text-align:center;
}
	.page-id-22 .ly_content li a {
    display: block;
}
}

/*-------------外来診療表-----------------*/
.scroll-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.scroll-btn{
    text-decoration: none;
    color: #fff;
    display: block;
    width: 100%;
    max-width: 325px;
    margin: 0;
    padding: 22px 16px;
    border: 1px solid #005abb;
    background: #005abb;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    -webkit-transition: color 0.3s linear, background 0.3s linear;
    transition: color 0.3s linear, background 0.3s linear;
    position: relative;
    box-sizing: border-box;
}
.scroll-btn::before {
    content: "";
    width: 30px;
    height: 6px;
    border-bottom: solid 1px #fff;
    border-right: solid 1px #fff;
    transform: skew(45deg);
    position: absolute;
    bottom: 0;
    top: 0;
    right: 20px;
    margin: auto;
    transition: transform 0.3s ease;
}

.scroll-btn:hover  {
    background-color: #ffffff;
    color: #333;
}
.scroll-btn:hover::before {
    transform: skew(45deg) translateX(10px);
    border-bottom: solid 1px #333;
    border-right: solid 1px #333;
}
.page-id-24 .ly_content h2{
	text-align:center;
}
.page-id-24 .ly_content h2:nth-child(n + 2){
	margin-top:90px;
}
.page-id-24 .ly_content .flex{
	display:flex;
	justify-content: space-between;
}
.page-id-24 .ly_content .flex p{
	width:30%;
	min-width: 390px;
}
.schedule{
    border-collapse: collapse;
    margin-bottom:30px;
    width: 100%;
	max-width: 760px;
}
.schedule th {
    background-color: #f0f0f1;
    font-weight: bold;
    width: 30%;
}
.schedule th, .schedule td {
    border: 1px solid #ccc;
    padding: 16px 10px;
    text-align: left;
}
/* TablePress 全体のカスタマイズ */
.tablepress {
    width: 100%; /* テーブルをページの幅にフィット */
    border-collapse: collapse; /* 枠線を統一 */
    border: 1px solid #ccc; !important;
}

/* ヘッダー（th）のスタイル */
.tablepress th {
    background-color: #f0f0f1 !important;
    font-weight: bold;
    padding: 10px;
    text-align: center !important;
    border: 1px solid #ccc !important;
}

/* 通常のセル（td）のスタイル */
.tablepress td {
    padding: 10px;
    text-align: center; /* 中央揃え */
    border: 1px solid #ccc !important;
}

/* 各列の横幅を固定（調整したい場合） */
.tablepress td:nth-child(1), .tablepress th:nth-child(1) { 
	width: auto;
	text-align: center;
    vertical-align: middle;
	background-color: #f0f0f1 !important;
} 
.tablepress th:nth-child(2) { width: 190px; } 
.tablepress th:nth-child(3) { width: 190px; } 
.tablepress th:nth-child(4) { width: 190px; } 
.tablepress th:nth-child(5) { width: 190px; } 
.tablepress th:nth-child(6) { width: 190px; }
.tablepress th:nth-child(7) { width: 190px; }
.scroll-indicator{
	display:none;
}
/* スマホ対応（画面幅768px以下の場合） */
@media (max-width: 768px) {
	.scroll-buttons {
		display: block;
	}
	.scroll-btn {
    	margin-bottom: 15px;
		width: 100%;
	}
	.page-id-24 .ly_content{
		padding: 3em 20px;
	}
	.page-id-24 .ly_content h2{
	font-size:2em;
	}
	.page-id-24 .ly_content .flex{
	display:block;
	}
	.page-id-24 .ly_content .flex p{
	width:100%;
	min-width: auto;
	}
	.schedule{
		margin-left:0;
		margin-top:20px;
		line-height: 1.5;
	}
	.schedule th, .schedule td {
    font-size: 12px;
	}
	.tablepress-wrapper {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* iOSのスムーズスクロール対応 */
    }
   .tablepress{
        width: 100% !important;
        min-width: 1200px; !important;
        font-size: 14px;
	   line-height: 1.5;
    }
    .tablepress td, .tablepress th {
        padding: 8px;
    }
    .scroll-indicator {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        color: #666;
        margin-bottom: 5px;
    }
    .scroll-indicator::after {
        content: "→";
        margin-left: 5px;
        font-size: 18px;
        animation: arrowMove 1.5s infinite ease-in-out;
    }

    @keyframes arrowMove {
        0% { transform: translateX(0); }
        50% { transform: translateX(5px); }
        100% { transform: translateX(0); }
    }
}
/*-------------専門外来各ページ-----------------*/
.single-special_clinic h2{
	text-align:center;
}
.single-special_clinic .tablepress{
    max-width:1000px;
}
.single-special_clinic .tablepress .column-3{
    width: 69%;
}
.single-special_clinic .tablepress .column-2{
	background-color: #f0f0f1 !important;
	text-align: left;
}
.clinic-image img{
	display:block;
	margin:auto;
	height: auto;
    max-width: 100%;
}
@media (max-width: 768px) {
	.clinic-topic h2{
		font-size:2em;
	}
	.single-special_clinic .tablepress {
		width: 100% !important;
		box-sizing: border-box;
		min-width: auto;
		font-size: 0.9em;
	}
}
@media (max-width:400px) {
    .clinic-topic h2 {
        font-size: 1.8em;
    }
}
/*-------------専門外来親ページ-----------------*/
.special-clinic_txt {
    padding: 0 0 60px;
    text-align: center;
}
/*-------------研修・キャリアパス-----------------*/
.page-id-30 {
	overflow-x: hidden;
}
.page-id-30 .ly_content h2{
	text-align:center;
}

.youtube-container {
    width: 100%;
    max-width: 800px; /* 必要に応じて変更 */
    margin: 0 auto 90px;
    aspect-ratio: 16 / 9;
}

.youtube-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.page-id-30 .ly_content h2 span{
    display: block;
    font-size: 14px;
}
.page-id-30 .ly_content h2:nth-child(n + 3){
	margin-top:60px;
}
.plan_back{
    background: rgb(237 248 255);
    padding: 30px 20px;
    margin: 0 calc(50% - 50vw);
	margin-top: 60px;
	margin-bottom:30px;
}
.flow_img {
    margin: 60px auto;
    max-width: 800px;
    display: block;
	width:100%;
}
.flow_tb{
    max-width: 800px;
	border-collapse: collapse;
	border: 1px solid #ccc;
	width: 100%;
    margin: auto;
}
.flow_tb th{
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
	background:#f0f0f1;
}
.flow_tb td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
	line-height: 1.8;
	background:#fff;
}
.page-id-30 .ly_content h3{
    color: #005abb;
    font-family: "Noto Serif JP", serif;
    font-size: 2em;
	position:relative;
	padding-left: 1em;
	margin-top:36px;
}
.page-id-30 .ly_content h3:before {
    position: absolute;
    top: 0.7em;
    left: 0;
    content: "";
    width: 14px;
    height: 1px;
    background: #005abb;
}
.st_btn{
    text-decoration: none;
    color: #fff;
    display: block;
    width:100%;
    max-width: 460px;
    margin: 36px auto;
    padding: 22px 16px;
    border: 1px solid #005abb;
    background: #005abb;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    -webkit-transition: color 0.3s linear, background 0.3s linear;
    transition: color 0.3s linear, background 0.3s linear;
	position:relative;	
	box-sizing: border-box;
}

/*-------------局員の声-----------------*/
.btn_area{
    display: flex;
    flex-wrap: wrap;
	justify-content: center;
}
.btn_area a{
	text-decoration:none;
}
.voice-btn{
    text-decoration: none;
    color: #fff;
    display: block;
    width:31%;
    max-width: 460px;
    margin: 0 10px 20px;
    padding: 22px 16px;
    border: 1px solid #005abb;
    background: #005abb;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    -webkit-transition: color 0.3s linear, background 0.3s linear;
    transition: color 0.3s linear, background 0.3s linear;
    position: relative;
    box-sizing: border-box;
}
.voice-btn::before{
    content: "";
    width: 30px;
    height: 6px;
    border-bottom: solid 1px #fff;
    border-right: solid 1px #fff;
    transform: skew(45deg);
    position: absolute;
    bottom: 0;
    top: 0;
    right: 20px;
    margin: auto;
    transition: transform 0.3s ease;
}

.voice-btn:hover {
    background-color: #ffffff;
    color: #333;
}
.voice-btn:hover::before {
    transform: skew(45deg) translateX(10px);
    border-bottom: solid 1px #333;
    border-right: solid 1px #333;
}
@media (max-width: 768px) {
.btn_area{
    display: block;
}
.voice-btn {
    width: 100%;
	margin:0 auto;
}
}

/*-------------局員の声（個別ページ内スタイル）-----------------*/
.ly_content .voice-question{
    border-bottom: 2px dashed;
	font-size:2.3em;
	color:#005abb;
	padding-bottom: 10px;
}
.voice-question .question-number {
    font-family: none;
}
.back_color:nth-child(odd) {
    background: linear-gradient(180deg, #f2fdff 0%, #e9f4ff 70%, #ddf3ff 100%);
}
.back_color:nth-child(even) {
    background-color: #fff; /* 偶数番目を水色 */
}
.back_color:nth-child(odd) .voice-question {
    text-align:right;
}
.back_color:nth-child(even) .voice-question {
    text-align:left;
}
.voice-group .flex{
    display: flex;
    align-items:start;
    gap: 20px; /* 画像と回答の間隔 */
}
.answer-image{
	width:30%;
}
.back_color:nth-child(even) .answer-image {
    order: 2; /* 画像を右側に */
	margin-top: -80px;
	box-shadow: 15px 15px 0px 0 rgb(60, 194, 235);
}
.back_color:nth-child(odd) .answer-image{
    order: 0; /* 画像を左側に */
	margin-top: -80px;
	box-shadow: -15px 15px 0px 0 rgb(60, 194, 235);
}
@media screen and (max-width: 768px) {
	.ly_content .voice-question {
    font-size: 1.5em;
	}
	.back_color:nth-child(odd) .voice-question,
	.back_color:nth-child(even) .voice-question {
		text-align:left;
	}
    .voice-group .flex {
        flex-direction: column;
	}    
    .answer-image {
        order: 0 !important;
        width: 100%; 
        max-width: 300px; 
		margin:0 auto !important;
    }
    .answer-text {
        max-width: 90%;
        text-align: left;
    }
    .answer-text::after {
        top: auto;
        bottom: -10px; /* 下側に矢印を配置 */
        left: 50%;
        transform: translateX(-50%);
        border: 10px solid transparent;
        border-top: 10px solid #f0f0f0; /* 上向き矢印 */
    }
}
/* 吹き出しのベース（デフォルト） */
.voice-answers{
    display: flex;
    flex-wrap: wrap;
	align-items: baseline;
}
.answer-text {
    position: relative;
    padding: 22px 38px 28px 33px;
    border-radius: 3px;
    max-width: 60%;
    font-size: 16px;
    color: #333;
}
.back_color:nth-child(even) .answer-text {
    background: #f5fcff;
	margin: 30px;
	border: 1px #91b3d7 solid;
	color: #101b4d !important;
}
.back_color:nth-child(odd) .answer-text {
    background: #fff;
	border: 1px #91b3d7 solid;
	margin: 30px;
}
.back_color:nth-child(even) .answer-text::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -20px; /* 右側に矢印を配置 */
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-left: 10px solid #f5fcff; /* 左向き矢印（水色） */
}
.back_color:nth-child(odd) .answer-text::after {
    content: "";
    position: absolute;
    top: 50%;
	left:-20px; /* 左側に矢印を配置 */
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-right: 10px solid #fff; /* 右向き矢印（白） */
}
/* 矢印にも枠線を追加 */
.back_color:nth-child(even) .answer-text::before {
    content: "";
    position: absolute;
	top:50%;
	right:-24px;
	transform: translateY(-50%);
    border: 12px solid transparent;
    border-left: 12px #91b3d7 solid; /* 矢印の枠線 */
}
.back_color:nth-child(odd) .answer-text::before {
    content: "";
    position: absolute;
	top:50%;
	left: -24px;
	transform: translateY(-50%);
    border: 12px solid transparent;
    border-right: 12px #91b3d7 solid; /* 矢印の枠線 */
}
.back_color:nth-child(even) .answer-text:nth-child(3n) {
    margin-left: 22%;
}
@media screen and (max-width: 768px) {
    .answer-text {
        max-width: 90%;
        text-align: left;
    }
    .back_color:nth-child(even) .answer-text::after,
	.back_color:nth-child(odd) .answer-text::after,
	.back_color:nth-child(odd) .answer-text::before,
	.back_color:nth-child(even) .answer-text::before{
        display:none;
    }	
	.back_color:nth-child(odd) .answer-text,
	.back_color:nth-child(even) .answer-text{
        margin: 10px auto !important;
        width: 100% !important;
        max-width: 100%;
        display: block;
    }
}


/*-------------研究紹介-----------------*/
.page-id-38 {
	overflow-x: hidden;
}
.page-id-38 .ly_content h2{
	text-align:center;
}
.back_bl{
    background: rgb(237 248 255);
    padding: 30px 20px;
    margin: 0 calc(50% - 50vw);
    margin-top: 60px;
}
h2#kiso {
	margin:60px auto;
}
.page-id-38 .ly_content h3{
    margin: 60px auto 30px;
    color: #fff;
    text-align: left;
    line-height: 1.5;
    background: linear-gradient(145deg, #00474f, #01918a, #009199);
    padding: 10px;
}
.back_bl .ly_content{
    padding: 3em 0;
}
@media (max-width: 768px) {
.back_bl .ly_content{
	padding:0;
}
}
/*-------------業績集-----------------*/
.jisseki_buttons {
    display: grid;
    grid-template-columns: repeat(10, 1fr); /* PCでは10列固定 */
    gap: 10px;
    width: 100%;
    max-width: 1200px; /* 10列が綺麗に収まるように最大幅を設定 */
    margin: 0 auto 20px auto; /* センター配置 */
    grid-auto-flow: row; /* 必ず左から詰めて配置する */
}
.jisseki_buttons br{
	display:none;
}
.jisseki_buttons a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    background-color:#005abb;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    height: 40px;
}

/* タブレット (5列) */
@media screen and (max-width: 1024px) {
    .jisseki_buttons {
        grid-template-columns: repeat(5, 1fr); /* 5列 */
    }
}

/* スマホ (1列) */
@media screen and (max-width: 768px) {
    .jisseki_buttons {
        grid-template-columns: 1fr; /* 1列 */
    }
}




.accordion {
    max-width: 1000px;
	width:100%;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

.accordion-item {
    border-bottom: 1px solid #ccc;
	margin-bottom: 12px;
}

.accordion-header {
    background: linear-gradient(145deg, #00474f, #01918a, #009199);
    color: #fff;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #005bb5;
}

.accordion-toggle {
    font-size: 20px;
    transition: transform 0.3s ease;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    background-color: #f9f9f9;
    padding: 0 20px;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.accordion-content.open {
    max-height: 500px; /* 任意の高さ（多めに設定） */
    padding: 15px 20px;
    transition: max-height 0.4s ease-in, padding 0.4s ease-in;
}


/*-------------見学・説明会のご案内-----------------*/
.page-id-34 .ly_content h2:nth-child(n + 3) {
    margin-top: 60px;
}
.page-id-34 .ly_content h2 {
    text-align: center;
}
.page-id-34 .ly_content h3 {
    margin: 60px auto 30px;
    color: #fff;
    text-align: left;
    line-height: 1.5;
    background: linear-gradient(145deg, #00474f, #01918a, #009199);
    padding: 10px;
}
.page-id-34 .ly_content a{
	text-decoration:none;
	color: #005abb;
}
.page-id-34 .ly_content a:hover{
	color: #005abb;	
}
@media (max-width: 768px) {
.page-id-34 .ly_content h3:nth-child(n + 3) {
    margin-top: 30px;
}
}




