@charset "utf-8";
/*================================================================================================

* ナビゲーション *

================================================================================================*/
.nagano-nav {
	width: 100%;
	padding: 1.5rem 1rem;
	background: #fff;
	border-bottom: 40px solid #204A95;
}
.nagano-nav > .inner {
	width: 100%;
	max-width: 1024px;
	margin: 0 auto;
}

.nagano-nav .logo {
	width: 230px;
}
.nagano-nav .btn {
	width: 150px;
	padding: 0.25rem 0.5rem;
	text-align: center;
	border: 2px solid #204A95;
	border-left: 40px solid #204A95;
	background: #fff;
	display: block;
	font-weight: 700;
	font-size: 0.9rem;
	border-radius: 5px;
}

@media only screen and (max-width: 580px) {
.nagano-nav .logo {
	width: 150px;
}
.nagano-nav .btn {
	width: 130px;
	padding: 0rem 0.25rem;
	border-left: 20px solid #204A95;
	font-size: 0.8rem;
}
/********************/}

/*================================================================================================

* コンテンツ *

================================================================================================*/
section.nagano {
	width: 100%;
	padding: 4rem 1rem;
}
		section.nagano > .inner {
			width: 100%;
			max-width: 840px;
			margin: 0 auto;
		}
section.nagano .section-title {
    margin-top: 6rem;
}
section.nagano h1 {
	font-size: 1.6rem;
	color: #204A95;
	letter-spacing: 4px;
	border-bottom: 2px solid #204A95;
	text-align: center;
	padding-bottom: 1.5rem;
	margin-bottom: 3rem;
}
section.nagano p.main {
	font-size: 1.2rem;

}
section.nagano .item {
	width: 100%;
	margin-bottom: 3rem;
}
section.nagano .item:last-child {
	margin-bottom: 0rem;
}

/*================================================================================================

* 物件 *

================================================================================================*/

section.nagano .property-container {
    max-width: 900px;
    margin: 20px auto;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
}

/* ヘッダー部分 */
section.nagano .property-header {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

section.nagano .property-header > div {
    display: flex;
    align-items: center;
}

section.nagano .property-detail-link {
    color: #00469b;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    white-space: nowrap;
    padding: 4px 20px;
    border: 2px solid #00469b;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.3s;
    position: relative;
}

section.nagano .property-detail-link::after {
    content: '';
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-top: 2px solid #00469b;
    border-right: 2px solid #00469b;
    transition: right 0.3s, border-color 0.3s;
}

section.nagano .property-detail-link:hover {
    background-color: #00469b;
    color: #fff;
}

section.nagano .property-detail-link:hover::after {
    right: 6px;
    border-color: #fff;
}

section.nagano .property-label {
    background-color: #00469b; /* サイトの濃い青色 */
    color: #fff;
    padding: 2px 15px;
    font-size: 1rem;
    font-weight: bold;
    margin-right: 20px;
}

section.nagano .property-title {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
}

/* テーブル部分 */
section.nagano .property-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    table-layout: fixed;
}

section.nagano .property-table th, .property-table td {
    border: 1px solid #333;
    padding: 10px;
    text-align: left;
    font-size: 1rem;
}

section.nagano .label-bg {
    background-color: #f2f8ff; /* 薄い水色の背景 */
    width: 12%;
}

section.nagano .price-label {
    text-align: center !important;
}

section.nagano .price-value {
    color: #d32f2f; /* 赤色の価格表記 */
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    width: 25%;
}

section.nagano .empty-cell {
    border: none !important;
}

/* 写真グリッド */
section.nagano .photo-grid {
    display: flex;
    gap: 10px;
}

section.nagano .photo-main {
    flex: 1.2;
    background-color: #fff;
    border: 1px solid #333;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.nagano .photo-sub {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 9px; /* 画像の枠線を重ねるための設定 */
}

section.nagano .photo-item {
    border: 1px solid #333;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -0.5px; /* 枠線の重なりを調整 */
	overflow: hidden;
	height: 100%;
    width: 100%;
}
section.nagano .photo-item img {
	height: 100%;
	    object-fit: cover;

}

section.nagano .photo-placeholder, .photo-item {
    font-size: 1.1rem;
    color: #666;
}

/*================================================================================================

* 写真ポップアップ *

================================================================================================*/
section.nagano .photo-popup-trigger {
	cursor: pointer;
}

#photo-popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
	z-index: 9999;
	justify-content: center;
	align-items: center;
}
#photo-popup-overlay.on {
	display: flex;
}

#photo-popup-img {
	max-width: 90%;
	max-height: 85vh;
	object-fit: contain;
}

#photo-popup-close {
	position: absolute;
	top: 15px;
	right: 25px;
	font-size: 2.5rem;
	color: #fff;
	cursor: pointer;
	line-height: 1;
	z-index: 10000;
}

/*================================================================================================

* フッター *

================================================================================================*/
footer.nagano {
	padding-top: 3rem;
	position: relative;
}
footer.nagano::after {
	height: 0.25rem;
	background: #fff;
	content: "";
	position: absolute;margin: auto;top: 1rem;right: 0;left: 0;
}

/*================================================================================================

* メディアクエリ *

================================================================================================*/
@media only screen and (max-width: 1024px) {
/********************/}
@media only screen and (max-width: 768px) {
/********************/}
@media only screen and (max-width: 480px) {
/********************/}