@charset "utf-8";
/*
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
株式会社サンロイヤル新潟　カスタム対応
	ver.2025.05.30.Custom-SunroyalNiigata
	施設のご紹介ページ　スタイルシート
────────────────────────────────────────
FileName:		/resources/css/price.css
Editor:			TRUSTEC
Description:	施設のご紹介ページ
────────────────────────────────────────
2025/05/30:		サンプル開発開始。
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
*/


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

@media(max-width: 767px){
    #price-page-title {
        background-image: url(../images/price/price-intro-background.jpg);
        padding-top: 1rem !important;
    }
}
@media(max-width: 767px){
	.page-innder-button{
        margin-top: .5em;
	}
}
.room-article-title .num{
    color: #00813d;
    font-size: max(1.8rem, 2.1vw);
    font-family: var(--common-subtitle-font);
    font-weight: 900;
    margin-bottom: 0.5em;
}
.room-article-title .title-short{
    color: var(--common-article-title-color1);
    font-size: max(1.35rem, 1.2vw);
    font-weight: 900;
    letter-spacing: var(--common-letter-spacing-title);
    text-align: center;
    display: flex;
    align-items: center;
    font-family: var(--common-title-font);
}

.section-title-row{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
#price-guide-residence-article .section-title-row{
	background-color: #cee8d7 !important;
}
#price-guide-care-center-article .section-title-row{
	background-color: #e2edba !important;
}


.price-guide-care-center-map-wrapper {
}
.care-center-map-img {
    max-width: 80%;
    max-height: 80vh;
    height: auto !important;
    width: auto !important;
    margin: auto !important;
}
@media(max-width: 991px){
	.care-center-map-img {
		max-height: 500px;
	}
}
@media(max-width: 576px){
	.care-center-map-img {
		max-height: 290px;
	}
}



.search-nav{
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    justify-content: center;
    align-items: flex-end;
    border-bottom: 3px solid #00813d;
}
.search-nav-1,
.search-nav-2,
.search-nav-3 {
	background-color: #00813d;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    margin-bottom: -2px;
	margin-left: 0.3em;
    margin-right: 0.3em;
}
.search-nav-1:has(.active),
.search-nav-2:has(.active),
.search-nav-3:has(.active){
    padding-top: 1em;
}
.search-nav-1:has(.active) + .nav-link,
.search-nav-2:has(.active) + .nav-link,
.search-nav-3:has(.active) + .nav-link {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.nav-tabs .nav-link {
    margin-bottom: -1px;
    background: 0 0;
    border: 1px solid transparent;
    font-size: max(.9rem, 1.4vw);
    padding: .5em 1.5em;
	color: #ffffff;
}
.nav-tabs .nav-link .active{
	color: var(--common-color);

}
.nav-tabs .nav-link:not(.active):focus,
.nav-tabs .nav-link:not(.active):hover {
    padding-bottom: .7em;
    border-bottom:  none;
	transition: all 0.1s;
}
.nav-item button {
    padding: .8rem 1.5rem 2rem 1.5rem;
    font-size: 1rem;
    text-align: center;
    font-family: var(--common-title-font);
    display: block;
    border-top: solid 3px #00813d !important;
    border-left: solid 3px #00813d !important;
    border-right: solid 3px #00813d !important;
    border-bottom:  none;
}

.price-guide-residence-contents-section{
	margin: auto;
}
.floor-plan-header {
    width: 1000px;
    margin: auto;
}
.price-guide-residence-wrap-wrapper {
	display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}
.running-cost-wrapper,
.moving-in-cost-wrapper,
.price-guide-residence-wrap-wrapper {
	width: 960px;
	margin: auto;
}
.running-cost-wrapper,
.moving-in-cost-wrapper{
	margin-top: calc(var(--common-margin-width)/2);
}
.floor-plan-img {
	width: 460px;
    height: 460px;
	margin: 0 1rem;
}
.floor-plan-img img {
	width: 460px;
    max-height: 460px;
	margin: auto;
    object-fit: contain;
}
.price-guide-residence-table-wrapper{
	width: 500px;
    max-height: 70vh;
    height: auto;
    margin: 0;
}
.table-moving-in-cost-care,
.table-moving-in-cost,
.table-running-cost,
.table-running-cost-care,
.table-period_years{
	width: 960px;
	margin: auto;
}
.running-cost-img {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    height: max-content;
	margin-top: 1em;
	margin-bottom: 2em;
}
.table-running-cost-care{
	margin: 0 !important;
}
.running-cost-img .price_monthly_fee_value{
    flex: 2;
    flex-grow: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    justify-content: center;
	font-size: 1.2rem;
    line-height: 1.5em;
}
.running-cost-img .img-plus {
    flex: 1;
    flex-grow: 1;
	display: flex;
    align-items: center;
    justify-content: center;
}
.running-cost-img .table-running-cost-care {
    flex: 2;
    flex-grow: 4;
    table-layout: auto;
}
.running-cost-img .img-plus .fa-plus {
    font-size: 2em;
}
.running-cost-img .price_monthly_fee_value::after {
	position: absolute;
	content: "";
    background-color: #e1f1e6;
    height: 90%;
    width: 90%;
    top: 5%;
    left: 5%;
    z-index: -10;
    border-radius: 0.5rem;
}
@media(max-width: 1199px){
	.floor-plan-header {
		width: 900px;
		margin: auto;
	}
	.price-guide-residence-wrap-wrapper {
		display: flex;
		align-items: center;
		flex-direction: row;
		justify-content: center;
	}
	.running-cost-wrapper,
	.moving-in-cost-wrapper,
	.price-guide-residence-wrap-wrapper {
		width: 900px;
		margin: auto;
	}
	.running-cost-wrapper,
	.moving-in-cost-wrapper{
		margin-top: var(--common-margin-width);
	}
	.floor-plan-img {
		width: 300px;
		height: 484px;
	}
	.floor-plan-img img {
		width: 300px;
		height: 484px;
		object-fit: contain;
	}
	.price-guide-residence-table-wrapper{
		width: 500px;
		max-height: 70vh;
	}
	.table-horizontal{
		width: 900px !important;
	}
	.table-moving-in-cost,
	.table-running-cost,
	.table-period_years{
		width: 900px;
		margin: auto;
	}

}
@media(max-width: 991px){
	.running-cost-wrapper,
	.moving-in-cost-wrapper,
	.price-guide-residence-wrap-wrapper {
		width: 720px;
		margin: auto;
	}
	.running-cost-wrapper,
	.moving-in-cost-wrapper{
		margin-top: 3em;
	}
	.price-guide-residence-wrap-wrapper {
		display: flex;
		align-items: center;
		flex-direction: column;
		margin-top: 0;
		height: fit-content;
	}
	.floor-plan-img {
		width: 100%;
		height: fit-content;
		margin-bottom: 2em;
	}
	.price-guide-residence-table-wrapper{
		width: 720px;
		height: fit-content;
		max-height: unset;
		margin: 0;
	}
	.table-horizontal{
		width: 720px !important;
	}
	.table-room-information{
		width: 650px;
		margin: auto;
		margin-top: 3em;
	}
	.table-moving-in-cost,
	.table-running-cost,
	.table-period_years{
		width: 720px;
		margin: auto;
	}

}
@media(max-width: 767px){
	.running-cost-wrapper,
	.moving-in-cost-wrapper,
	.price-guide-residence-wrap-wrapper {
		width: 520px !important;
		margin: auto;
	}
	.running-cost-wrapper,
	.moving-in-cost-wrapper{
		margin-top: 3em;
	}
	.price-guide-residence-wrap-wrapper {
		display: flex;
		align-items: center;
		flex-direction: column;
		margin-top: 0;
	}
	.table-room-information{
		width: 500px;
		margin: auto;
		margin-top: 3em;
	}
	.table-moving-in-cost,
	.table-running-cost,
	.table-period_years{
		width: 500px;
		margin: auto;
	}
	.floor-plan-img {
		width: 100%;
		height: fit-content;
		margin-bottom: 2em;
	}
	.floor-plan-img img {
		width: auto;
		width: 520px !important;
		max-width: 300px;
		margin: auto;
	}
	.table-horizontal{
		width: 520px !important;
	}
	.price-guide-residence-table-wrapper{
		width: 520px !important;
		max-height: none;
		height: fit-content;
	}
	.running-cost-img{
		flex-direction: column;
	}
}
@media(max-width: 575px){
	.search-nav-1,
	.search-nav-2,
	.search-nav-3 {
		margin-left: 0;
	}
	.running-cost-wrapper,
	.moving-in-cost-wrapper,
	.price-guide-residence-wrap-wrapper {
		width: 100% !important;
		margin: auto;
	}
	.running-cost-wrapper,
	.moving-in-cost-wrapper{
		margin-top: 3em;
	}
	.floor-plan-img {
		width: 100% !important;
		height: 450px;
	}
	.floor-plan-img img {
		width: 100% !important;
		height: 450px;
		object-fit: contain;
	}
	.price-guide-residence-table-wrapper{
		width: 100% !important;
		max-height: none;
	}

}
.carousel-inner{
    max-height: 70vh;
}

.carousel-inner,
.carousel-item,
.carousel-item img {
	border-radius: 1rem;
}

.moving-in-cost-title,
.running-cost-title {
	width: fit-content;
	position: relative;
	padding-left: 1.5em;
    font-family: var(--common-title-font);
    font-weight: 900;
    letter-spacing: var(--common-letter-spacing-title);
	margin-right: auto;
	margin-bottom: .5em;
}
.moving-in-cost-title::before,
.running-cost-title::before {
	content: '';
	width: 1em;
	height: 1em;
	background-color: #569546;
	border-radius: 0.2em;
	display: block;
	position: absolute;
	left: 0;
	top: 0;
}
.table-vertical td {
	padding: .5em;
    font-size: max(0.9rem, 1vw);
}
.table-vertical .shared_area {
    font-size: max(0.8rem, 0.9vw);
}
@media(max-width: 575px){
	.table-vertical td {
		font-size: max(1rem, 1vw);
	}
	.table-vertical .shared_area {
		font-size: max(1rem, 1vw);
	}
}
.table-vertical th {
	font-weight: 700;
	width: 6em;
    white-space: nowrap;
	background-color: #cee8d7 !important;
	vertical-align: middle !important;
}
.table-vertical tbody, .table-vertical td, .table-vertical tfoot, .table-vertical thead, .table-vertical tr {
	width: 100%;
}
.table-room-information .tr_price_lump_sum {
	border: none;
}
.caption_price_lump_sum {
    vertical-align: top !important;
    padding-top: 0.7em !important;
}
.table-room-information .option_price_lump_sum {
    font-size: max(0.8rem, 0.9vw) !important;
	width: 6.5em;
	display: inline-block;
}
/* 償却期間 */
.table-running-cost-care,
.table-running-cost,
.table-period_years {
    margin-top: 2em;
    margin-bottom: 2em;
}
.table-running-cost-care td,
.table-running-cost td,
.table-moving-in-cost td,
.table-moving-in-cost-care th,
.table-moving-in-cost-care td,
.table-running-cost th,
.table-running-cost td,
.table-period_years th,
.table-period_years td,
.table-moving-in-cost th,
.table-moving-in-cost td {
	width: 1%;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    text-align: justify;
    vertical-align: middle;
}


/* 入居時の支払い費用 */
/* 入居後の支払い費用 */
.table-moving-in-cost-care-wrapper{
	overflow-x: scroll;
}
.sticky {
  position: sticky;
  top: 0;
  left: 0;
  background: none;
  border-left: none;
  border-right: none;
}
.sticky::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-left: 1px solid rgba(0, 0, 0, 0.3);
  border-right: 1px solid rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  background: #cee8d7;
  z-index: -1;
}

.table-running-cost-care{
    /*border-radius: 10px;*/
    border-spacing: 0;
    /*border: 1px solid rgba(0, 0, 0, 0.3);*/
}
.table-running-cost-care,
.table-running-cost,
.table-moving-in-cost {
    border-radius: 10px;
    border-spacing: 0;
    border: 1px solid rgba(0, 0, 0, 0.3);
    margin-top: 2em;
}
.table-running-cost tr>*,
.table-moving-in-cost tr>*{
    padding: 5px 10px;
    border: none;
    border-right: 1px solid rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
.table-running-cost-care tr:first-child,
.table-running-cost tr:first-child,
.table-moving-in-cost tr:first-child{
    border-radius: 0 10px 0 0;
}
.table-running-cost-care tr:first-child>*:last-child,
.table-running-cost tr:first-child>*:last-child,
.table-moving-in-cost tr:first-child>*:last-child{
	border-right: none;
}
.table-running-cost-care tr:first-child,
.table-running-cost tr:first-child,
.table-moving-in-cost tr:first-child{
    border-top: none;
}

.table-running-cost-care tr:last-child>*:first-child,
.table-running-cost-care tr:first-child{
	border-left: transparent;
}
.table-running-cost-care>:not(caption)>*{
    border-bottom: transparent;
}
.table-running-cost-care tr:first-child>*:last-child,
.table-running-cost tr:first-child>*:last-child,
.table-moving-in-cost tr:first-child>*:last-child{
    border-radius: 0 10px 0 0;
}
.table-running-cost tr:last-child>*:first-child,
.table-moving-in-cost tr:last-child>*:first-child{
    border-radius: 0 0 0 10px;
}
.table-running-cost-care tr:last-child>*:last-child,
.table-running-cost tr:last-child>*:last-child,
.table-moving-in-cost tr:last-child>*:last-child{
    border-radius: 0 0 10px 0;
	border-right: none;
}
.table-running-cost-care tr{
	width: 100%;
}
.table-running-cost-care th,
.table-running-cost-care td{
	width: 1%;
}

.table-running-cost-care th,
.table-running-cost th,
.table-moving-in-cost th {
    padding: 1em 0 !important;
    text-align: center;
    vertical-align: middle !important;
	border-bottom: none;
}
.table-running-cost-care td,
.table-running-cost td,
.table-moving-in-cost td {
    padding: 1.5em 0.2em !important;
    text-align: center;
    vertical-align: middle !important;
    font-family: var(--common-title-font);
    font-weight: 500;
    letter-spacing: var(--common-letter-spacing-title);
    font-size: max(1.5rem, 1.9vw);
    line-height: 1.08em;
}
.table-running-cost .food_cost2,
.table-running-cost .management_fee_value2,
.table-moving-in-cost .price_lump_sum .price_lump_sum_value2,
.table-moving-in-cost .price_lump_sum .price_lump_sum_value2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: max(1.2rem, 1.5vw);
}
.table-running-cost .food_cost2 .option_price_lump_sum,
.table-running-cost .management_fee_value2 .option_price_lump_sum,
.table-moving-in-cost td .price_lump_sum_value2 .option_price_lump_sum {
    margin: 1.5em 0;
    margin-bottom: 0.5em;
    font-family: var(--common-subtitle-font);
    font-size: max(.9rem, .9vw);
    line-height: 1em;
}
.table-running-cost-care .caption_price_lump_sum,
.table-running-cost .caption_price_monthly_fee_value,
.table-moving-in-cost .caption_price_lump_sum{
    border-top-left-radius: 10px;
}
.table-running-cost-care .caption_price_lump_sum,
.table-running-cost .caption_price_monthly_fee_value,
.table-moving-in-cost .caption_price_lump_sum,
.table-period_years .caption_management_fee_value,
.table-period_years .caption_period_years,
.table-period_years .caption_age {
	background-color: #cee8d7 !important;
}
.table-running-cost-care .caption_management_fee_value,
.table-running-cost .caption_price_lump_sum,
.table-moving-in-cost .caption_price_monthly_fee_value{
	background-color: #e2edba !important;
}
.table-running-cost .caption_management_fee_value,
.table-moving-in-cost .caption_management_fee_value{
	background-color: #e1f1e6 !important;
}
.table-moving-in-cost-care th {
	vertical-align: middle;
	text-align: center;
	background-color: #cee8d7 !important;
	white-space: nowrap;
}
.table-moving-in-cost-care td {
	text-align: center;
    vertical-align: middle;
	white-space: nowrap;
}

@media(max-width: 991px){
	.table-room-information{
		margin-top: 0;
	}
	.table-room-information th,
	.table-room-information td {
		display: block;
		width: 100%;
	}
	.table-room-information th{
		text-align: start !important;
	}
	.tr_price_lump_sum {
		border-bottom: none;
		border-top: none;
	}
}
@media(max-width: 767px){
	.table-moving-in-cost {
		margin-top: 0;
	}
	.tbody
	.table-running-cost tr,tbody{
		display: inline-table;
	}
	.table-running-cost tr,
	.table-moving-in-cost tr {
		width: 100%;
	}
	.table-running-cost td,
	.table-moving-in-cost td {
		border-bottom: none;
	}
	.table-running-cost tr:last-child>*:first-child,
	.table-moving-in-cost tr:last-child>*:first-child {
		border-radius: 0;
		border-right: none;
	}
	.table-running-cost-care .caption_price_lump_sume,
	.table-running-cost .caption_price_monthly_fee_value,
	.table-running-cost .price_monthly_fee_value,
	.table-moving-in-cost .caption_price_monthly_fee_value,
	.table-moving-in-cost .price_monthly_fee_value {
		border-radius: 0;
		border-right: none;
	}
	.table-running-cost-care .caption_price_lump_sum,
	.table-running-cost .caption_price_monthly_fee_value,
	.table-moving-in-cost .caption_price_lump_sum{
		border-right: none;
	    border-top-right-radius: 10px;
	}
	.table-running-cost .caption_price_monthly_fee_value{
		border-top-left-radius: 10px;
	}
	.table-running-cost tr,
	.table-moving-in-cost tr {
		border-bottom: none;
	}
	.table-running-cost th,
	.table-running-cost td{
		border-right: none;
	}
	.table-running-cost-care th,
	.table-running-cost-care td,
	.table-running-cost th,
	.table-running-cost td,
	.table-moving-in-cost th,
	.table-moving-in-cost td {
		text-align: center !important;
		display: block;
		width: 100%;
	}
	.running-cost-img .price_monthly_fee_value {
        padding-top: 4em;
        padding-bottom: 4em;
	}
	.running-cost-img .price_monthly_fee_value::after{
		height: 100%;
		width: 100%;
		top: 0;
		left: 0;
	}
	.running-cost-img .img-plus{
		margin-top: 1em;
		margin-bottom: 1em;
	}
}


#annotation_flg_close {
	border-radius: 1em;
	border: 5px solid #c23b3b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	width: fit-content;
	padding: 3.5em 5em;
	margin-top: calc(clamp(4rem, 7vw, 8rem) / 3);
	margin-bottom: calc(clamp(4rem, 7vw, 8rem) / 1.5);
}
.caption_flg_close {
	line-height: 1.5em;
    font-size: max(1.5rem, 1.7vw);
    font-family: var(--common-title-font);
    font-weight: 900;
    margin-bottom: .5em;
	width: fit-content;
	text-align: center;
	letter-spacing: .1em;
}
.caption_flg_close::before {
	content: '\f071';
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	margin-right: .5em;
	color: #c23b3b;
}

.text_flg_close {
    font-size: max(1.1rem, 1.1vw);
	margin-top: 1em;
	width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
	letter-spacing: .07em;
}
.text_flg_close p {
	margin-bottom: 0;
	width: fit-content;
}
.flg_close_strong {
	line-height: 1.5em;
	letter-spacing: .11em;
    display: block;
	font-size: 1.2em;
	margin-top: .5rem;
	margin-bottom: .5rem;
	font-weight: 900;
    position: relative;
	width: fit-content;
	padding-bottom: .3em;
}
.flg_close_strong::after {
	background-color: #c23b3b;
	bottom: 0;
	content: "";
	height: 4px;
	left: 0;
	position: absolute;
	width: 100%;
}

@media(max-width: 767px){
	#annotation_flg_close {
		border-radius: 1em;
		border: 5px solid #c23b3b;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: fit-content;
		padding: 3.5em 0.5em;
		width: 100%;
	}
}

@media(max-width: 575px){
	.caption_flg_close{

	}
	.caption_flg_close::before {
	}
}

#room-guide-residence-num,
#room-guide-residence-title,
#room-guide-residence-short-title,
#price-guide-residence-price-title,
#price-guide-residence-price-line-1,
#price-guide-residence-price-line-2,
#price-guide-residence-price-line-3,
#price-guide-care-price-title,
#price-guide-care-price-line-1,
#price-guide-care-price-line-2,
#price-guide-care-price-line-3,
#annotation_flg_close,
#room-care-center-num,
#room-care-center-title,
#room-care-center-short-title {
	filter: opacity(0);
	transition: all 0.8s;
	will-change: opacity;
}