@charset "utf-8";
/*
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
トラステック標準WEBサイト PHP + BootStrap
宮川動物病院　カスタム対応
	ver.2025.07.09.miyagawa-ah.com
	病院紹介　スタイルシート
────────────────────────────────────────
FileName:		/resources/css/facility.css
Editor:			TRUSTEC
Description:	個人情報の取扱い（プライバシーポリシー）のデザインスタイルシート。
────────────────────────────────────────
2025/05/30:		サンプル開発開始。
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
*/



/* :::::  [SECTION : MAIN] ::::: */



/* :::::  [SECTION : FACILITY] ::::: */

#facility-page-title {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../images/facility/facility-intro-background.jpg);
}

@media(max-width: 767px){
    #facility-page-title {
        background-image: url(../images/facility/facility-intro-background-md.jpg);
        padding-top: 1rem !important;
        background-position: right;
    }
}

#facility-message{
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding-bottom: calc(var(--common-margin-width) / 2);
}
#facility-message .title-short::before {
    content: url(../images/common/title-icon-8.png);
}
#facility-message .article-intro{
    font-size: max(1.2rem, 1.5vw);
    font-weight: 900;
    width: fit-content;
    color: var(--common-article-title-color1);
    margin-bottom: 1em;
    line-height: 1.8em;
}
#facility-message .article-intro strong{
    color: #6a9e5e;
}
#facility-message .article-title{
	margin: auto;
    margin-bottom: 1em;
	align-items: center;
}
@media(max-width: 767px){
	#facility-message .article-intro{
	}
	#facility-message .article-title{
		margin-bottom: 1rem;
	}
}



.facility-message-picture {
	overflow: hidden;
    max-width: 600px;
    height: 100%;
    border-radius: 1rem;
    margin: auto;
    padding-bottom: 2em;
}
@media(max-width: 767px){
	.facility-message-picture {
		width: 95%;
        max-width: 500px;
		margin-bottom: 1em;
		aspect-ratio: 3 / 2;
	}
}
.facility-message-picture .common-picture {
    border-radius: 1rem;
}
.order-1-text-wrapper{
	margin-left: 2rem;
	margin-bottom: 2em;
}
.order-2-text-wrapper{
	margin-right: 2rem;
	margin-bottom: 2em;
}
@media(max-width: 767px){
	.order-1-text-wrapper{
		margin-top: .5em;
	}
	.order-2-text-wrapper{
	margin-left: 2rem;
	}
}
.article-text:first-child {
	margin-top: 0;
}
.facility-message-article-wrapper .representative{
    font-size: max(1.1rem, 1.1vw);
	width: 100%;
	text-align: end;
	position: relative;
}
.facility-message-article-wrapper .representative::before{
    content: url(../images/common/title-icon-2.png);
    display: inline-block;
    margin-right: .5em;
}
@media (max-width: 767px) {
	.facility-message-article-wrapper{
		margin-left: 1em;
		margin-right: 1em;
	}
}
.facility-message-wrapper{
	position: relative;
	z-index: 2;
}
#facility-message .article-background-line-wrapper .footprint_1{
    height: auto;
    width: 100%;
    min-width: 1920px;
	top: 5%;
    position: absolute;
	opacity: .4;
}


#facility-our-philosophy .title-short::before {
    content: url(../images/common/title-icon-6.png);
}
#facility-our-philosophy .article-title{
	margin: auto;
	align-items: center;
}
#facility-our-philosophy{
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding-top: calc(var(--common-margin-width));
    padding-bottom: calc(var(--common-margin-width) * .8);
    background-color: #f5f8eb;
}
#facility-our-philosophy .philosophy-title{
    position: relative;
    z-index: 2;
}
#facility-our-philosophy .philosophy-title .title{
	color: #6a9e5e;
    font-size: max(1.3rem, 1.5vw);
	line-height: 1.5em;
    letter-spacing: var(--common-letter-spacing-title);
    text-align: center;
    display: flex;
    align-items: center;
    font-weight: 900;
	text-align: start;
}
#facility-our-philosophy .article-text {
    color: var(--common-article-title-color1);
    font-size: max(.9rem, 1vw);
    font-weight: 900;
    margin-bottom: 0;
    width: fit-content;
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 1.8em;
    position: relative;
    z-index: 2;
}
#facility-our-philosophy .philosophy-article{
    margin: 2em auto;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
	position: relative;
	z-index: 2;
}
#facility-our-philosophy .philosophy-text{
    width: 40%;
    max-width: 600px;
    position: relative;
    z-index: 2;
}
#facility-our-philosophy .philosophy-picture{
    width: 50%;
    max-width: 650px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}
#facility-our-philosophy .num-pic{
	height: clamp(7rem, 10vw, 11rem);
    width: auto;
    position: absolute;
    z-index: -1;
    bottom: 86%;
    left: -12%;
    z-index: 2;
}
#facility-our-philosophy .text-1,
#facility-our-philosophy .text-3{
    margin-left: clamp(1rem, 5vw, 8rem);
}
#facility-our-philosophy .text-2{
    margin-right: calc(clamp(1rem, 5vw, 8rem) / 2);
}
#facility-our-philosophy .article-3{
}
@media (max-width: 991px) {
	#facility-our-philosophy .philosophy-article{
		display: flex;
		flex-direction: row;
		align-items: flex-end;
		justify-content: center;
        margin: 2em 0;
	}
	#facility-our-philosophy .article-1,
	#facility-our-philosophy .article-3{
	}
	#facility-our-philosophy .article-2{
        justify-content: flex-end;
	}
	#facility-our-philosophy .philosophy-text{
		width: 50%;
		max-width: 420px;
	}
	#facility-our-philosophy .philosophy-picture{
		width: 45%;
		max-width: 400px;
		margin-bottom: 6rem;
	}
}
@media (max-width: 767px) {
    #facility-our-philosophy .philosophy-article {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 2em 0;
    }
    #facility-our-philosophy .philosophy-picture {
        width: 100%;
        max-width: 400px;
        margin-bottom: 4rem;
    }
    #facility-our-philosophy .philosophy-text {
        width: 100%;
        max-width: 420px;
    }
	#facility-our-philosophy .text-1,
	#facility-our-philosophy .text-2,
	#facility-our-philosophy .text-3{
		margin-left: 0;
		margin-right: 0;
	}
}
@media (max-width: 575px) {
    #facility-our-philosophy .philosophy-picture {
        width: 85%;
        max-width: 400px;
        margin-bottom: 4rem;
    }
    #facility-our-philosophy .philosophy-text {
        width: 85%;
        max-width: 420px;
    }
}
.facility-our-philosophy-wrapper{
    position: relative;
    z-index: 2;
}
.article-background-line-wrapper{
	position: absolute;
    overflow: visible;
    width: 100vw;
    height: 100%;
    top: 0;
    z-index: 1;
}
#facility-our-philosophy .article-background-line-wrapper .footprint_9{
    width: 103vw !important;
    min-width: 1920px;
    height: auto;
    bottom: 1%;
    left: -5%;
    position: absolute;
    opacity: .1;
}
@media (max-width: 575px) {
	#facility-our-philosophy .article-background-line-wrapper .footprint_9{
		min-width: unset;
		height: 100%;
		width: auto;
		bottom: 0;
	}
}



#facility-information .title-short::before {
    content: url(../images/common/title-icon-7.png);
}
#facility-information .article-title{
	margin-bottom: 1em;
}
#facility-information{
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding-bottom: calc(var(--common-margin-width) / 2);
}
.facility-information-wrapper{
	position: relative;
	z-index: 2;
}
.facility-company-picture{
    max-width: 600px;
    margin: auto;
    overflow: hidden;
    height: 100%;
    border-radius: 1rem;
}
.facility-company-picture-col{
    max-width: 600px;
}
#facility-company-table-1{
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
@media (max-width: 767px) {
	#facility-information .article-title {
		margin: auto;
	    margin-bottom: .5em;
		align-items: center;
	}
}
@media (max-width: 991px) {
	.facility-company-table-col {
		margin-top: 1.5em !important;
	}
}
.facility-company-table-col .table-responsive{
	width: 100%;
}
.table-information{
	margin-bottom: 0;
}
.table-information th{
	width: 7em;
}
.table-information th,
.table-information td{
	font-weight: 900;
	font-size: 1.05rem;
    padding: 1rem 0;
}
.facility-company-table-col .table-bordered>:not(caption)>*>*{
	border: none;
}
@media (max-width: 767px) {
	.facility-company-picture{
        margin: auto;
        width: 90%;
	}
	.table-information th,
	.table-information td{
        font-size: 1rem;
        width: 100%;
        display: block;
	}
	.table-information th{
		padding-bottom: .25em;
	}
	.table-information td{
		padding-top: .25em;
        font-weight: 500;
	}
}

#facility-information .article-background-line-wrapper .footprint_1{
    height: auto;
    width: 100%;
    min-width: 1920px;
    left: 0;
    position: absolute;
    opacity: .2;
}
@media (max-width: 575px) {
	#facility-information .article-background-line-wrapper .footprint_3{

	}
}



#facility-facilities-overview .title-short::before {
    content: url(../images/common/title-icon-3.png);
}
#facility-facilities-overview .article-title{
	margin: auto;
	align-items: center;
}
#facility-facilities-overview{
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding-bottom: calc(var(--common-margin-width) * 1.5);
}


.facilities-overview-list{
    list-style: none;
    margin: auto;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2em 3em;
    margin-top: 2em;
}
.facilities-overview-list-item{
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 20%;
    min-width: 250px;
}
@media (max-width: 767px) {
	.facilities-overview-list {
        gap: 2.5em 1em;
	    padding: 0 .5em;
	}
	.facilities-overview-list-item{
		width: 80%;
	}
}

.facilities-overview-list-item-picture{
    border-radius: .8rem !important;
    aspect-ratio: 5 / 4;
    width: 100% !important;
    height: auto !important;
	object-position: top !important;
}
.facilities-overview-list-item-button{
    overflow: hidden;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.facilities-overview-list-item-caption{
	color: var(--common-article-title-color1);
    font-size: max(1.08rem, 1.1vw);
    font-weight: 900;
    margin-bottom: 0;
    width: 100%;
    margin-top: .8em;
    margin-left: .5em;
    display: inline-block;
}

#facility-facilities-overview .article-background-line-wrapper .footprint_3{
    width: 103vw !important;
    min-width: 1920px;
    height: auto;
    top: -2%;
    left: 0;
    position: absolute;
	opacity: .2;
}
@media (max-width: 575px) {
	#facility-facilities-overview .article-background-line-wrapper .footprint_3{

	}
}
#facility-facilities-overview .article-background-line-wrapper .footprint_2{
    height: auto;
    width: 30%;
    bottom: -2%;
	transform: skew(-10deg, 10deg);
    min-width: 550px;
    left: -10%;
    position: absolute;
	opacity: .2;
}
#facility-facilities-overview .article-background-line-wrapper .footprint_1{
    height: auto;
    width: 100%;
    min-width: 1920px;
    bottom: 40%;
	transform: skew(-10deg, 10deg);
    left: -10%;
    position: absolute;
	opacity: .2;
}
@media (max-width: 575px) {
	#facility-facilities-overview .article-background-line-wrapper .footprint_2{

	}
}
