@charset "UTF-8";


.gallery {
	max-width: 740px;
    width: 100%;
}

/* thumbs */

.thumbs {
	position: relative
}
.thumbs .thumb {
	position: relative;
	border: 1px solid #e3e3e3;
	overflow: hidden;
	background: #fff;
	cursor: pointer;
	 aspect-ratio: 37 / 23;
	margin: 0 6px;
}
.thumbs .thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #fff;
	pointer-events: none
}
.thumbs .thumb.is-active {
	box-shadow: 0 0 0 6px #46918d inset;
	border-color: #46918d
}
/* 外側マージンを相殺して左右の余白ゼロに、かつ覗き見なし */

.thumbs .slick-list {
	margin: 0 -5px;
	padding-right: 0 !important;
	overflow: hidden
}
/* カスタム矢印 */

.thumbs .thumbs-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 9999px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}
.thumbs .thumbs-arrow:focus-visible {
	outline: 3px solid #4cc3ff
}
.thumbs .thumbs-arrow.prev {
	left: -8px
}
.thumbs .thumbs-arrow.next {
	right: -8px
}

.thumbs.has-peek .slick-list{
  padding-right:12.5% !important;
  overflow:hidden;
}

@media (max-width:768px){
  .thumbs.has-peek .slick-list{
    padding-right:16.6667% !important;
  }
}

/* ------------------------------------------------------------------------ */

/*.housing-entry

/* ------------------------------------------------------------------------ */

.housing-entry h2{
    display: block;
    font-size: 34px;
    width: fit-content;
}

.housing-entry h3{
    position: relative;
    display: block;
    font-size: 26px;
    font-weight: 700;
    text-align: left;
    padding-left: 40px;
    margin-bottom: 29px;
    padding-bottom: 11px;
    border-bottom: 1px solid #000;
}

.housing-entry h3::before{
    content: "";
    display: block;
    position: absolute;
    width: 1px;
    height: 90px;
    background-color: #000;
    bottom: -20px;
    left: 20px;
}

.housing-entry .inner{
    max-width: 1200px;
    margin: 73px auto 100px;
}

.housing-entry .titles{
    display: flex;
    justify-content: flex-start;
    align-items:center;
    gap: 16px;
}

.housing-entry .now,.housing-entry .finish{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100px;
    width: 100%;
    height: 32px;
    font-size: 18px;
    font-weight: 700;

    border-radius: 4px;
}

.housing-entry .now{
    background-color: #cfe7a1;
}

.housing-entry .finish{
    background-color: #e7a2ac;
}

table .now,
table .finish{
    margin-inline: auto;
}

.housing-entry .property-number{
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    margin-top: 8px;
}

.housing-entry .about-flex{
    margin-top: 37px;
    display: flex;
    gap: 40px;
    justify-content: center;
}

.housing-entry .about-flex .main {
	position: relative;
	overflow: hidden;
	background: #f1f1f1;
  aspect-ratio: 37 / 23;
	margin-bottom: 20px
}

.housing-entry .about-flex .main img {
	position: absolute;
	display: block;
    max-width: 740px;
	width: 100%;
    height: 460px;
	object-fit: cover;

}

.housing-entry .overview{
    background-color: #e1faed;
    max-width: 420px;
    width: 100%;
    height: fit-content;
    padding: 33px 40px;
}

.housing-entry .overview h3{
    font-size: 26px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 20px;
    /* 共通無効css */
    padding-left: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.housing-entry .overview h3::before{
    display: none;
}

.housing-entry .overview dt{
    min-width: 65px;
    font-size: 16px;
    text-align: left;
    font-weight: 700;
}

.housing-entry .overview .flex{
    display: flex;
    padding-bottom: 5px;
    border-bottom: 1px solid #a9cbbb;
    margin-bottom: 6px;
}

.housing-entry .overview dd{
    font-size: 16px;
    font-weight: 500;
    padding-left: 17px;
}

@media screen and (max-width: 1250px) {
    .housing-entry .inner{
        margin: 50px 25px 0;
    }
}

@media screen and (max-width: 1250px){
    .gallery{
        max-width: 615px;
    }
}

@media screen and (max-width: 1000px){
    .housing-entry .about-flex{
        flex-direction: column;
        max-width: 600px;
        margin-inline: auto;
    }
    .housing-entry .about-flex .main img{
        max-width: 100%;
        height: 100%;
    }
    .housing-entry .overview{
        max-width: 100%;
    }
}

@media screen and (max-width: 786px) {
    .housing-entry h2{
        font-size: 24px;
    }

    .housing-entry .about-flex{
        gap: 30px;
    }

    .housing-entry .overview{
        padding: 20px 30px;
    }

    .housing-entry .overview h3{
        font-size: 20px;
    }

    .housing-entry .overview dt{
        font-size: 14px;
    }

    .housing-entry .overview dd{
        font-size: 14px;
    }

    .housing-entry h3{
        font-size: 20px;
        padding-left: 25px;
        margin-bottom: 20px;
    }

    .housing-entry h3::before{
        height: 60px;
        bottom: -11px;
        left: 15px;
    }
}

@media screen and (max-width: 500px) {
    .housing-entry h2{

    }
}

/* ------------------------------------------------------------------------ */

/*間取りタイプと家賃

/* ------------------------------------------------------------------------ */

.types{
    margin-top: 109px;
}

.types table{
    min-width: 800px;
}

.types table ,.types td,.types th {
	border: 1px solid #fff;
	border-collapse: collapse;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
}
.types td,.types th {
	padding: 24px 10px;
	width: 168px;
	height: 25px;
    border-bottom: 1px solid #cccccc;
}
.types th {
	background: #46918d;
    color: #fff;
    padding: 17px;
}
.types .even {
	background: #fbf8f0;
}
.types .odd {
	background: #fefcf9;
}

.types .note{
    margin-top: 36px;
    font-size: 16px;
    text-align: left;
}

@media screen and (max-width: 786px) {
    .types{
        margin-top: 60px;
    }

    .types table ,.types td,.types th{
        font-size: 14px;
        padding: 15px;
    }

    .types .note{
        font-size: 14px;
    }
}

/* ------------------------------------------------------------------------ */

/*主な設備

/* ------------------------------------------------------------------------ */

.equipment{
    margin-top: 120px;
}

.equipment-title {
  font-size: 1.6rem;
  font-weight: bold;
  border-bottom: 2px solid #ccc;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.equipment-table {
    display: flex;
    align-items: flex-start;
}

/* --- 表全体 --- */
.equipment-table table {
    font-size: 16px;

  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* --- セル共通 --- */
.equipment-table th,
.equipment-table td {
  border: 1px solid #d9d9d9;
  padding: 12px 10px;
  text-align: left;
  vertical-align: middle;
  word-break: break-word;
  min-height: 46px;
}

/* --- 左の見出しセル --- */
.equipment-table th {
  background-color: #d9d9d9;
  font-weight: 700;
 width: 160px;
}

/* --- 値セル --- */
.equipment-table td {

}

/* --- スマホ対応（1列表示） --- */
@media (max-width: 768px) {
  .equipment-table{
    gap: 15px;
  }
  .equipment-table table,
  .equipment-table tbody,
  .equipment-table tr,
  .equipment-table th,
  .equipment-table td {
    display: block;
    width: 100%;
    font-size: 14px;
  }

  .equipment-table tr {
    border: 1px solid #ccc;
    margin-bottom: 8px;
  }

  .equipment-table th {
    background-color: #d9d9d9;
    border-bottom: none;
    padding: 10px 8px;
  }

  .equipment-table td {
    border-top: none;
  }
}
@media (max-width: 480px) {
  .equipment-table{
    display: block;
  }
  .equipment-table tbody,
  .equipment-table tr {
    display: block;
    width: auto;
    font-size: 14px;
  }
  .equipment-table tr {
    margin-bottom: 0;
  }
  .equipment-table th,
  .equipment-table td {
    display: table-cell;
  }
  .equipment-table th{
    width: auto;
    min-width: 100px;
  }
  .equipment-table td{
    width: auto;
    border: none;
  }
}

@media screen and (max-width: 786px) {
    .equipment{
        margin-top: 60px;
    }
}


/* ------------------------------------------------------------------------ */

/*周辺設備

/* ------------------------------------------------------------------------ */

.neighborhood{
    margin-top: 120px;
}

.neighborhood .map{
    max-width: 1200px;
    height: 460px;
    margin-top: 30px;
}

.neighborhood .map iframe{
    width: 100%;
    height: 100%;
    border: none;
}

.neighborhood .info{
    text-align: left;
}


@media screen and (max-width: 786px) {
    .neighborhood{
        margin-top: 60px;
    }

    .neighborhood .map{
        max-width: 1200px;
        height: 300px;
        margin-top: 20px;
    }
}

.open-modal{
    text-decoration: underline;
    cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
}
.modal.active {
  display: flex;
}
.modal-content {
  position: relative;
  background: #fff;
  padding: 20px 80px;
  max-width: 90%;
  box-sizing: border-box;
}
.modal-content img {
  max-width: 100%;
  height: auto;
  display: block;
  max-height: calc(100vh - 200px);
}
.close-modal {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.close-modal::before {
  content: "";
  display: block;
  width: 60px;
  height: 60px;
  background-color: #00843c;
  position: relative;
}

.close-modal::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 60px;
  height: 60px;
}

.modal-bg {
  position: fixed;
  inset: 0;
}


.close-modal::after {
  content: "";
}

/* 疑似要素で×を作成（:before, :after両方使う） */
.close-modal::before,
.close-modal::after {
  transition: background 0.2s;
}

.close-modal::before {
  background-color: #00843c;
}

.close-modal::after {
  content: "";
}

/* ×マーク部分 */
.close-modal::after,
.close-modal::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 48px;
  height: 48px;
}

.close-modal::before {
  background-color: #00843c;
  z-index: 0;
}

.close-modal::after {
  content: "";
  z-index: 1;
}

.close-modal span::before,
.close-modal span::after {
  content: "";
  position: absolute;
  width: 36px;
  height: 4px;
  background: #fff;
  top: 23px;
  right: 0;
  left: 0;
  transform-origin: center;
  margin: 0 auto;
}

.close-modal span::before {
  transform: rotate(45deg);
}

.close-modal span::after {
  transform: rotate(-45deg);
}

/* 「閉じる」テキスト */
.close-text {
  margin-top: 58px;
  font-size: 16px;
  color: #00843c;
  line-height: 1;
  text-align: center;
}