@charset "utf-8";
/* 相模湖不動産 */

body,p,td,li, h5,h6 {
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 400;
	font-size: clamp(14px, 12.91px + 0.34vw, 18px);
	line-height:1.7;
}



h1,h2,h3,h4,.h1,.h2,.h3,.h4,.h5,.h6 {
	font-family: "Noto Serif JP", serif;
	font-weight:600;
	line-height:1.5em;
}

.font-g {
	font-family: "Noto Sans JP", sans-serif;
}

.font-m {
	font-family: "Noto Serif JP", serif;
}

.bold {
	font-weight:800;
}



/* 文字サイズ
==================================================== */
h1, .fs-h1 {
	font-size:clamp(1.75rem,1.2rem + 2vw,3rem);
}
h2, .fs-h2 {
	font-size:clamp(1.5rem,1.15rem + 1.2vw,2.5rem);
}
h3, .fs-h3 {
	font-size:clamp(1.25rem,1.05rem + 1vw,2rem);
}
h4, .fs-h4 {
	font-size:clamp(1.125rem,1rem + 0.5vw,1.5rem);
}
h5, .fs-h5 {
	font-size:clamp(1rem,0.95rem + 0.3vw,1.125rem);
}



/* マージン、パディング
==================================================== */
.mt-40 { margin-top:40px; }
.mb-40 { margin-bottom:40px; }
.pt-40 { padding-top:40px; }
.pb-40 { padding-bottom:40px; }
.mt-80 { margin-top:80px; }
.mb-80 { margin-bottom:80px; }
.pt-80 { padding-top:80px; }
.pb-80 { padding-bottom:80px; }
.ps-80 { padding-left:80px; }
.pe-80 { padding-right:80px; }
.mt-110 { margin-top:110px; }
.mb-110 { margin-bottom:110px; }
.pt-110 { padding-top:110px; }
.pb-110 { padding-bottom:110px; }
.ps-110 { padding-left: 110px; }

.my-80 { margin-top:80px; margin-bottom:80px; }
.my-110 { margin-top:110px; margin-bottom:110px; }
.py-80 { padding-top:80px; padding-bottom:80px; }
.px-80 { padding-left:80px; padding-right:80px; }
.py-110 { padding-top:110px; padding-bottom:110px; }

@media (max-width: 767.98px) {
	.mt-40, .mt-80, .mt-110 { margin-top:30px; }
	.mb-40, .mb-80, .mb-110 { margin-bottom:30px; }
	.pt-40, .pt-80, .pt-110 { padding-top:30px; }
	.pb-40, .pb-80, .pb-110 { padding-bottom:30px; }
	.ps-80, .ps-110 { padding-left:30px; }
	.pe-80, .pe-110 { padding-right:30px; }
	.my-80, .my-110 { margin-top:30px; margin-bottom:30px; }
	.py-80, .py-110 { padding-top:30px; padding-bottom:30px; }
	.mx-80 { margin-left:30px; margin-right:30px; }
}

.lh-1 { line-height: 1em; }
.lh-2 { line-height: 2em; }
.lh-3 { line-height: 3em; }



/* */
:root{
	--color-gr: #3eb157;
	--color-bl: #13569d;
}


/* 　共通設定
==================================================== */
a {
	color: #666;
	text-decoration: none;
}

footer a {
	color: #fff;
}

.container {
	max-width: 1140px;
	padding-left: 1.5em;
	padding-right: 1.5em
}

main .container-fluid,
main .container{
	padding-top: 5rem;
	padding-bottom: 5rem;
}
@media (max-width:575px){
	main .container-fluid,
	main .container{
		padding-top: 3rem;
		padding-bottom: 3rem;
	}	
}

h2{
	margin-bottom: 3rem;
}

.btn-link{
	text-align: right;
	margin-bottom: 0;
}
.btn-link a{
	position: relative;
	display:inline-block;
	background: var(--color-bl);
	color: #fff;
	padding: .6rem 3.5rem .6rem 2.5rem;
	text-decoration: none;
	border-radius: 30px;
	max-width: auto;
	margin-right: auto;
	margin-left: auto;
}
.btn-link a:after{
	position: absolute;
	margin-left: 1rem;
	content: '→';
}


/* ヘッダー
==================================================== */
header{
	position: relative;
	width: 100%;
  	background: #fff;
}
.logo{
	width: 46%;
	max-width: 400px;
	margin: 1rem 1rem;
}
@media (max-width: 767px){
	.logo{
		width: 60%;
	}
}
.head-about{
	width: 45%;
	max-width: 500px;
	text-align: right;
	display:block;
	margin: 1rem 1rem;
}
.head-tel img{
	width: 260px;
}
.head-mail img{
	width: 40px;
}

@media (max-width:767px){
	.logo{
		max-width: 230px;
	}
	.head-about{
		max-width: 300px;
		text-align: right;
		display: none;
	}
	.head-tel img{
		width: 200px;
	}
	.head-mail img{
		width: 30px;
	}
}

#navContents{
	display: block;
}
#navContents ul{
	margin-top: 1em;
	list-style: none;
	display:flex;
	padding-left: 0;
	gap: 5px;
	margin-top: 0;
}
#navContents ul li{
    flex:1 1 auto;
	text-align: center;
}
#navContents ul li a{
	display: inline-block;
	width: 100%;
	background: var(--color-gr);
	color: #fff;
	padding-top: 10px;
	padding-bottom: 10px
}
#navContents ul li a:hover{
	background: #999;
	transition: .3s;
}
@media (min-width: 767px){	
	#navContents ul li:nth-of-type(1){ flex:1; }
	#navContents ul li:nth-of-type(2){ flex:2.2; }
	#navContents ul li:nth-of-type(3){ flex:2.2; }
	#navContents ul li:nth-of-type(4){ flex:1.8; }
	#navContents ul li:nth-of-type(5){ flex:2; }
	#navContents ul li:nth-of-type(6){ flex:1.2; }
	#navContents ul li a{
		border-radius: 10px 10px 0 0;
	}
}
@media (max-width:959px){
	#navContents ul li a{
		font-size: clamp(14px, 1.67vw, 16px);
	}
}
@media (max-width:767px){
  #navContents {
    display: block;
    position: fixed;
    top: 0;
    right: -350px;
    width: 80%;
    height: 100vh;
    max-width: 350px;
    background: #fff;
    border-left: 1px solid #999;
    z-index: 999;
    padding-top: 40px;
    transition: .3s;
  }
  #navContents ul{
	  margin-top: 50px;
	  flex-wrap: wrap;
  }
  #navContents ul li {
    width: 100% !important;
    border-right: none;
    padding: 0;
  }
  #navContents ul li a {
    display: block;
    padding: 10px 15px;
  }
  #navContents.open {
    right: 0;
  }
}

header button#toggle {
  position: absolute;
  background: none;
  border: none;
  width: 40px;
  height: 32px;
  padding: 0;
  padding: 0;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  z-index: 9999;
  cursor: pointer;
}
header button#toggle span {
  display: block;
  width: 40px;
  height: 2px;
  background: #5f5f5f;
  top: 10px;
  transition: .3s;
}
header button#toggle span::after, header button#toggle span::before {
  content: "";
  display: block;
  position: relative;
  width: 100%;
  height: 2px;
  background: #5f5f5f;
  transition: .3s;
}
header button#toggle span::before {
  top: 10px;
}
header button#toggle span::after {
  top: -12px;
}
header button#toggle.open span {
  background: rgba(255, 255, 255, 0);
}
header button#toggle.open span::before {
  top: 2px;
  transform: rotate(225deg);
}
header button#toggle.open span::after {
  top: 0px;
  transform: rotate(-225deg);
}
header nav ul {
  padding-left: 0;
  display: flex;
  list-style: none;
  justify-content: end;
  background: #fff;
}
header nav ul li{
	width: auto !important;
}
a#navbarDropdown.dropdown-toggle::after{
	display:none;
}
#modal-bk{
	position: fixed;
	bottom: 0;
	left: 0;
	display: block;
	width:100vw;
	height: 100vh;
	transition: .3s;
	pointer-events: none;
	z-index: 9;
}
#modal-bk.open{
	background: #00000085;
}


header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.header-spacer {
  display: none;
}
.header-spacer.is-active {
  display: block;
}
header.is-fixed.is-hide {
  animation: slideUp 0.4s ease forwards;
	
}
@keyframes slideUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100px);
  }
}


/* INDEX
==================================================== */
#main-img{
	position: relative;
	width: 100%;
}
#main-img img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#main-img .main-text{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 15vw;
}
#main-img .main-img-link{
	position: absolute;
	right: 2em;
	bottom: -10%;
	width: 25%;
	min-width: 200px;
}
@media (max-width: 767px){
	#main-img .main-text{
		width: 20vh;
	}
}

.top-bnrnav div{
	position: relative;
	text-align: center;
}
.top-bnrnav span{
	position: absolute;
	width: 100%;
	left: 0;
	top: 52%;
	transform: translateY(-50%);
	color: #fff;
	z-index: 1;
	font-size: 3vw;
}
@media (max-width:767px){
	.top-bnrnav span{
		font-size: 5vw;
	}
}

.topinfo ul{
	margin-left: -1rem;
	margin-right: -1rem;
	padding-left:0;
	list-style: none;
}
.topinfo ul li{
	border-bottom: 1px solid #c7c8c8;
	padding: 1rem;
}

/* page
==================================================== */

ul.company{
	padding-left: 0;
	list-style: none;
}
ul.company li{
	border-bottom: 1px solid #d5d5d6;
	padding: 10px 0;
}
ul.company li:first-child{
	border-top: 1px solid #d5d5d6;
}



/* 相模湖界隈情報一覧
==================================================== */
.localinfo-list .card{
	border-radius: 0;
	border: none;
	background: none;
}
.localinfo-list .card-img{
  aspect-ratio: 80 / 55;
  max-width: 100%;
  background: #fff;
}
.localinfo-list .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.localinfo-list .card-body{
  background: #fff;
}
.localinfo-list .more {
	background: #fff;
	text-align: right;
}
.localinfo-list .more a{
	display: inline-block;
	background: var(--color-bl);
	color: #fff;
	width: auto;
	padding: 5px 10px 5px 20px;
	margin-left: auto;
	border-radius: 5px 0 0;
}
.localinfo-list .more img{
	position: relative;
	height: 1rem;
	top: -1px;
}

/* 物件一覧
==================================================== */
.bukken-list .card{
	border: none;
	border: 1px solid #ccc;
	width: 100%;
}
.bukken-list .card-img{
  aspect-ratio: 80 / 60;
  max-width: 100%;
}
.bukken-list .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bukken-list .card-body{
	border-radius: 0 0 5px 5px;
}
.bukken-list .card-body .price{
	color: #d84d54;
	font-weight: bold;
}
.card .deta{
	line-height: 110%;
}
.deta span{
	font-size: 0.9rem;
}
.deta span:not(:last-child){
	display: inline-block;
	border-right: 1px solid #ccc;
	padding-right: 5px;
	margin-left: 2px;
}

/* 物件詳細
==================================================== */
.summary p{
	margin-bottom: 5px;
}
.summary p.price{
	color: #d84d54;
	font-size: 1.8rem;
	font-weight: bold;
}
.summary p.price span{
	font-size: 1.3rem;
}



/* コピーライト
==================================================== */
#copyright {
	font-size:13px;
	padding-bottom:10px;
}

/* デザイン
==================================================== */
:root{
	--dl-table-border-color: #333;
	--dt-bk-color: #eee;
	--dd-bk-color: #eee;
	--dt-w: 150px;
	--dd-w: auto;
	--dl-padding: 10px;
}
.dl-table{
	display: flex;
	flex-wrap: wrap;
}
.dl-table.dl-border{
	border: .5px solid var(--dl-table-border-color);
}
.dl-table dt,
.dl-table dd{
	margin: 0;
	padding: var(--dl-padding);
	font-weight: normal;
}
.dl-table.dt-w dt{
	width: var(--dt-w);
}
.dl-table.dt-w dd{
	width: calc(100% - var(--dt-w));
}
.dl-table.dd-w dd{
	width: var(--dd-w);
}
.dl-table.dl-border dt,
.dl-table.dl-border dd{
	border: .5px solid var(--dl-table-border-color);;
}
.dl-table.dl-border-bottom dt,
.dl-table.dl-border-bottom dd{
	border-bottom: .5px solid var(--dl-table-border-color);;
}
.dl-table.dt-middle dt,
.dl-table.dd-middle dd{
	align-content: center;
}
.dl-table.dt-center dt,
.dl-table.dd-center dd{
	text-align:center;
	justify-content: center;
	align-content: center;
}
.dl-table.dt-bk dt{
	background: var(--dt-bk-color);
}
.dl-table.dd-bk dd{
	background: var(--dd-bk-color);
}

/* スワイプスライダー
==================================================== */
.swipe-slider-wrap {
  position: relative;
	padding: 0 1rem;
}
.swipe-slider-wrap .swipe-slider-inner{
  position: relative;
  overflow-x: hidden;
}
.swipe-slider-wrap .swipe-slider-arrow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  text-align: center;
}
.swipe-slider-wrap .swipe-slider-prevBtn, .swipe-slider-wrap .swipe-slider-nextBtn {
  display: inline-block;
  width: 30px;
  margin: 0 10px;
  font-size: 30px;
  cursor: pointer;
}
.swipe-slider-wrap .swipe-slider-prevBtn,
.swipe-slider-wrap .swipe-slider-nextBtn{
  position: absolute;
  width:40px;
  height: 40px;
  border-radius: 50%;
  background-size:40px;
  background: #001932c9;
}
.swipe-slider-wrap .swipe-slider-prevBtn {
  left: -.6rem;
}
.swipe-slider-wrap .swipe-slider-nextBtn {
  right: -.6rem;
  transform: rotate(180deg);
}
.swipe-slider-wrap .swipe-slider-prevBtn:after,
.swipe-slider-wrap .swipe-slider-nextBtn:after{
  display: block;
  content:'';
  width: 40px;
  height: 40px;
  background-image:url("/img/common/arrow.svg");
  background-repeat: no-repeat;
  background-position: center center;
}
.swipe-slider-wrap ul.swipe-slider-dotsUl {
  display: flex;
  justify-content: center;
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}
@media (min-width: 991px){
	.swipe-slider-wrap ul.swipe-slider-dotsUl{
		display: none;
	}
}
.swipe-slider-wrap ul.swipe-slider-dotsUl li{
  color: #ccc;
  width: 25px;
  text-align: center;
}
.swipe-slider-wrap ul.swipe-slider-dotsUl li:after{
  content: '●';
  cursor: pointer;
}
.swipe-slider-wrap ul.swipe-slider-dotsUl li.active{
  color: #1292ff;
}
@media (min-width: 768px){
	.swipe-slider-wrap ul.swipe-slider-dotsUl li:last-child{
		display: none;
	}
}

.swipe-slider {
  position: relative;
  display: flex;
  transition: .2s;
  gap: 10px
}
 .swipe-slider > div,
 .swipe-slider > article {
  width: 100%;
  min-width: 300px;
}
@media (min-width: 768px) {
  .swipe-slider > div,
  .swipe-slider > article {
    min-width: calc(100% / 2 - 5px);
  }
}
@media (min-width: 992px) {
  .swipe-slider > div,
  .swipe-slider > article {
    min-width: calc(100% / 3 - 7px);
  }
}

.card.slider-more{
	border:none;
	position: relative;
}
.slider-more a{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	height: 150px;
	width: 150px;
	border-radius: 100px;
	background: var(--color-bl);
	line-height: 150px;
	transition:.2s;
}
.slider-more a:hover{
	background: #5c5c5c;
}
.slider-more a img{
	width: 70%;
}
        

/* サムネイルスライダー
==================================================== */
.thumbs-slider-main {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: auto;
}
.thumbs-slider-viewport {
  overflow: hidden;
}
.thumbs-slider-track {
  display: flex;
  transition: transform 0.5s ease;
}
.thumbs-slider-track > div {
  min-width: 100%;
  aspect-ratio: 80 / 53;
  align-content: center;
}
.thumbs-slider-track > div p{
  margin-bottom: 0;
}
.thumbs-slider-track > div img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.thumbs-slider-prev,
.thumbs-slider-next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
}
.thumbs-slider-prev { left: 10px; }
.thumbs-slider-next { right: 10px; }

.thumbs-slider-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  margin-top: 10px;
  gap: 2px;
}
.thumbs-slider-thumbs .thumb {
  cursor: pointer;
  width: calc(20% - 2px);
  max-width: 150px;
  max-height: 100px;
}
.thumbs-slider-thumbs .thumb img{
  opacity: 0.5;
}
.thumbs-slider-thumbs .thumb.active img{
  opacity: 1;
}
.thumbs-slider-thumbs p{
	display:none;
}
.thumbs-slider-thumbs img {
  width: 100%;
  height: 100%;
  object-fit:contain ;
}


/* map-viewer
==================================================== */
.map-viewer{
	position: relative;
	touch-action:none;
    user-select:none;
}
.map{
    overflow:hidden;
    cursor:grab;
    touch-action:none;
    user-select:none;
	display:flex;
    justify-content:center;
    align-items:flex-start;
        height:70vh;
    overflow:hidden;
}

.map.dragging{
    cursor:grabbing;
    user-select:none;
}

.map svg{
    display:block;
    width: 100%;
    height: auto;
	touch-action:none;
    user-select:none;
}
.map svg a:hover{
	opacity: .7;
	transition: .2s
}
.map svg g[data-link] {
    cursor: pointer;
}
.map svg g[data-link]:hover {
    opacity: .7;
}

.viewer-btn{
	position: absolute;
	bottom: 10px;
	right: 10px;
	width: 50px;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 0 5px #00000061;
	touch-action:none;
    user-select:none;
}
.viewer-btn button{
	border: none;
	color: #333;
	width: 50px;
	height: 50px;
	background: #fff;
	font-size: 1.5rem;
	touch-action:none;
    user-select:none;
}
@media (max-width: 767px){
	.viewer-btn{
		width: 40px;
	}
	.viewer-btn button{
		width: 40px;
		height: 40px;
		font-size: 1rem;
	}
}
.map-popup {
	position: absolute;
	z-index: 20;
	width: min(280px, calc(100% - 30px));
	padding: 16px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, calc(-100% - 15px));
	transition: opacity 0.2s,visibility 0.2s;
}
.map-popup::after {
	content: "";
	position: absolute;
	top: 100%;
	left: var(--popup-arrow-left, 50%);
	border: 8px solid transparent;
	border-top-color: #fff;
	transform: translateX(-50%);
}
.map-popup.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
.map-popup-title {
	margin-bottom: 5px;
	font-weight: bold;
	line-height: 1.4;
}
.map-popup-close {
	position: absolute;
	top: -10px;
	right: -10px;
	border: 0;
	width: 35px;
	height: 35px;
	line-height: 26px;
	color: #ffffff;
	cursor: pointer;
	background: #5f5f5f;
	border-radius: 50%;
}
.map-popup-trigger {
	cursor: pointer;
}
a.map-popup-link{
	display: inline-block;
	margin-top: 10px;
}

/* メディアクエリ
==================================================== */
// X-Small devices (portrait phones, less than 576px)
// No media query for `xs` since this is the default in Bootstrap

// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) {}

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) {}

// Large devices (desktops, 992px and up)
@media (min-width: 992px) {}

// X-Large devices (large desktops, 1200px and up)
@media (min-width: 1200px) {}

// XX-Large devices (larger desktops, 1400px and up)
@media (min-width: 1400px) {}


// X-Small devices (portrait phones, less than 576px)
@media (max-width: 575.98px) {}

// Small devices (landscape phones, less than 768px)
@media (max-width: 767.98px) {}

// Medium devices (tablets, less than 992px)
@media (max-width: 991.98px) {}

// Large devices (desktops, less than 1200px)
@media (max-width: 1199.98px) {}

// X-Large devices (large desktops, less than 1400px)
@media (max-width: 1399.98px) {}
