@charset "utf-8";
/* ■■■■■■■■■■■■注目医療＆診療内容★★★★修正★★★★■■■■■■■■■■■■ */
/**************************** 注目医療 ****************************/
.medical_box {
    width: 1050px;
    margin: 0 auto 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}
.medical_box a {
    display: inline-block;
    text-decoration: none;
    overflow: hidden;
    margin: 0 10px 20px;
    position: relative;
}
.medical_box a div {
    width: 240px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.medical_box a div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    display: block;
}
.medical_box a p {
    padding: 15px;
    background-color: #fff;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    transition: transform 0.3s ease;
    transform-origin: center center;
}
/* ホバー効果 */
.medical_box a:hover div img {
    transform: scale(0.97); /* 縮小 */
    transition: transform 0.3s ease;
}
.medical_box a:hover p {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}
.medical_box a div span{
    width: 50px;
    height: 50px;
    position: absolute;
    left: 10px;
    bottom: 10px;
}
.medical_box a div span img {
	width: 100%;
    height: 100%;
}

@media screen and (max-width: 768px) {
.medical_box {
	width: 90%;
	margin: 0 auto 80px;
}
.medical_box a{
	width: 100%;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
}
.medical_box a div {
	width: 120px;
	height: 75px;
	flex-shrink: 0;
}
.medical_box a p {
	width: calc(100% - 150px);
	height: 45px;
	background-color: #cdf1f0;
	text-align: left;
}
.medical_box a:hover div img {
    transform: scale(1); /* 縮小 */
    transition: transform 0s ease;
}
.medical_box a:hover p {
    transform: translateY(0px);
    transition: transform 0s ease;
}
.medical_box a div span{
	width: 25px;
	height: 25px;
}
.medical_box a span{
	font-size: 12px;
}
.medical_box a .smalltext{
	line-height:1;
}
}



















/* ■■■■■■■■■■■■イントロ-低侵襲医療とは■■■■■■■■■■■■ */
.intro h2{
	width: 100%;
	text-align: center;
	font-size: 27px;
	font-weight: 700;
	padding: 0;
	margin: 0 auto 40px;
	line-height: 2.0;
}
.intro h2 span{
	font-size: 36px;
	background: linear-gradient(transparent 70%, #cdf1f0 30%);
}
.intro-box{
	width: 1100px;
	margin: 0 auto 50px;
	position: relative;
}
.intro-box p{
	width: 600px;
	margin: 0 auto 60px;
	font-size: 16px;
	line-height: 1.8;
}
.intro-box p a{
	font-size: 20px;
	color: #0abab5;
	text-decoration: underline;
	line-height: 1.8;
}
.ani01, .ani02{
	width: 300px;
	height: 300px;
	position: absolute;
	bottom: 0;
	z-index: -100;
}
.ani01{
	left: 0;
}
.ani02{
	right: 0;
}

@media screen and (max-width: 768px) {
/* 768pxまでの幅の場合に適応される */
.intro-box{
	width: 90%;
}
.intro-box p{
	width: 100%;
	margin: 0 auto 30px;
}
.intro .imgbox{
	display: flex;
	margin: 30px auto;
}
.ani01, .ani02{
	width: 50%;
	height: auto;
	position: static;
}
}
/********************************************************/



/* ■■■■■■■■■■■■診療科目アイコン■■■■■■■■■■■■ */
.infotxt02{
	width: 100%;
	text-align: center;
	font-size: 36px;
	font-weight: 700;
	margin: 0 0 50px;
}
.infotxt03{
	width: 600px;
	text-align: left;
	margin: 0 auto 50px;
}


/***診療科目***/
.information_box{
    max-width: 1050px;
	margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, 240px);
    gap: 20px;
    justify-content: center;
}

.department-card {
    width: 200px;
    height: 202px;
    background: linear-gradient(135deg, #1fb5b5 0%, #18d4d4 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    padding: 20px 20px 18px;
    transition: all 0.3s ease;
}

.department-icon {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.department-icon img {
    width: 80px;
    height: 80px;
}

.department-name {
    color: #fff;
    font-size: 27px;
    font-weight: 700;
    text-align: center;
    line-height: 1.15;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
}

.department-button {
    width: 180px;
    height: 42px;
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 21px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* ホバー効果 */
.department-card:hover .department-icon {
    transform: scale(1.2);
}

.department-card:hover .department-button {
    background-color: #fff;
    color: #1fb5b5;
}




@media screen and (max-width: 768px) {
/* 768pxまでの幅の場合に適応される */
.infotxt02{
	width: 100%;
	text-align: center;
	font-size: 36px;
	font-weight: 700;
	margin: 0 0 50px;
}
.infotxt03{
	width: 90%;
	text-align: left;
	margin: 0 auto 50px;
}



/***診療科目***/
.information_box{
    max-width: 90%;
	margin: 0 auto 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, 100px);
    gap: 20px;
    justify-content: center;
}

.department-card {
    width: 80px;
    height: 100px;
    background: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    padding: 20px 10px 18px;
    transition: all 0.3s ease;
}

.department-icon {
    width: 80px;
    height: 80px;
    background-color: #cdf1f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.department-icon img {
    width: 80px;
    height: 80px;
}

.department-name {
    color: #333;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: 1.15;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
}

.department-button {
    display: none;
}

/* ホバー効果 */
.department-card:hover .department-icon {
    transform: scale(1.0);
}

.department-card:hover .department-button {
    background-color: #fff;
    color: #1fb5b5;
}


}

