body{
    color: #000000;
}
.clear{
	clear:both;
}
.top-line {
  border-top: 3px solid #28a745; /* グリーンで少し太めのライン */
  border-bottom: 3px solid #28a745; 
}
.border-green {
  border: 2px solid #28a745; /* Bootstrap標準のグリーン */
  border-radius: 15px;       /* 角丸を強調 */
}

.tt01 {
    display: flex;
    align-items: center;
    padding: .5em .7em;
    background-color: #f2f2f2;
    color: #333333;
}

.tt01::before {
    display: inline-block;
    width: 5px;
    height: 1.5em;
    margin-right: .5em;
    background-color: #25d028;
    content: '';
}

.tt02 {
    display: flex;
    justify-content: start;
    align-items: center;
    position: relative;
    padding: .5em .7em;
    overflow: hidden;
    border: 2px solid #25d0a5;
    border-radius: 5px;
    color: #333333;
}

.tt02:before {
    position: absolute;
    top: -50%;
    left: -30px;
    z-index: -1;
    transform: rotate(25deg);
    width: 100px;
    height: 200%;
    background-color: #25d0a5;
    content: '';
}

.tt02 span {
    margin-right: 2.1em;
    color: #fff;
    font-size: 1.1em
    
}

.tt03 {
    display: inline-block;
    position: relative;
    padding: .5em 1em;
    border-right: 27px solid #25d0a5;
    background-color: #f5f5f5;
    color: #333333;
}

.tt03::before {
    position: absolute;
    bottom: 2px;
    right: -20px;
    z-index: -1;
    transform: rotate(5deg);
    width: 100%;
    height: 50%;
    background-color: #d0d0d0;
    content: "";
    filter: blur(4px);
}

.tt04 {
  color: #000000;
  border: solid 3px #e4f8b6;
  padding: 0.5em;
  border-radius: 8em;
  background-color: #e4f8b6;
  width:50%;
    margin: 0 auto;
    text-align:center;
}

.tt05 {
  color: #000000;
  padding: 0.5em;
    margin: 0 auto;
    text-align:center;
}

.tt05 .txtit {
  color: #ff0000;
}

.button-01 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 350px;
    margin: 0 auto;
    padding: .9em 2em;
    border: 1px solid #25a72d;
    border-radius: 5px;
    background-color: #25a72d;
    color: #fff;
    font-size: 1em;
}

.button-01:hover {
    border: none;
    background-color: #f6fe13;
    color: #000000;
    font-weight: 600;
}

.button-01::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #25a72d;
    border-right: 2px solid #25a72d;
    content: '';
}

.button-01:hover::after {
    border-color: #fff;
}

.botton-02{
    border: 1px solid #25a72d;
    border-radius: 5px;
    background-color: #25a72d;
        color: #fff;
            font-size: 1em;
}

.step-cardleft {
background: white;
border-radius: 15px;
padding: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
position: relative;
z-index: 1;
width:40%;
float:left;
    background-color: #e4f8b6;
margin-left: 60px;
margin-top: 30px;
}

.step-cardright {
background: white;
border-radius: 15px;
padding: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
position: relative;
z-index: 1;
width:40%;
float:right;
margin-top: 60px;
margin-right: 60px;
margin-bottom: -30px;
    background-color: #e4f8b6;
    }

        .step-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 12px;
        }

        .step-number {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #ff9966;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 18px;
            flex-shrink: 0;
        }
        
        .step-title {
            font-size: 16px;
            font-weight: 700;
            color: #333;
            line-height: 1.3;
        }

        .step-subtitle {
            font-size: 13px;
            color: #666;
            margin-top: 3px;
        }

.frombox{
	clear:both;
	display:block;
	width:90%;
	text-align:left;
	margin:2px auto;
	padding:1% 0px;
	overflow:hidden;
	border-bottom:dotted 1px #cccccc;
	}
.f_left{
	float:left;
	display:block;
	line-height:2;
	text-align:left;
	padding:5px 5px 5px 30px;
	background: #11a46c;
	color:#ffffff;
	width:20%;
	}
	
.f_rigth{
	float:right;
	display:block;
	width:70%;
	line-height:2;
	padding:5px;
text-align:left;
	}
.fromboxcenter{
	display:block;
	width:100%;
	line-height:2;
	padding:5px;
text-align:center;
}
.fromboxcentertxt{
	display:block;
	width:100%;
	line-height:2;
	padding:5px;
text-align:center;
	background: #11a46c;
	color:#ffffff;
}

table#law{
width:90%;
 border-collapse:  collapse;
}

table#law td{
    border: solid 1px;  /* 枠線指定 */
    padding: 10px;      /* 余白指定 */
}



/* モバイル対応 */
	@media (max-width: 767px) {

.step-cardleft {
background: white;
border-radius: 15px;
padding: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
position: relative;
z-index: 1;
width:80%;
    background-color: #e4f8b6;
margin-top: 30px;
}

.step-cardright {
background: white;
border-radius: 15px;
padding: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
position: relative;
z-index: 1;
width:80%;
margin-top: 30px;
    background-color: #e4f8b6;
}
.frombox{
	clear:both;
	display:block;
	width:100%;
	text-align:left;
	margin:2px auto;
	padding:1% 0px;
	overflow:hidden;
	border-bottom:dotted 1px #cccccc;
	}
.f_left{
	display:block;
	line-height:2;
	text-align:left;
	padding:5px 5px 5px 30px;
  background: #11a46c;
color:#ffffff;
	width:100%;
	}
	
.f_rigth{
	display:block;
	width:100%;
	line-height:2;
	padding:5px;text-align:left;
	}
}

    .main-img {
      width: 100%;
      height: auto;
      border-radius: 5px;
      object-fit: cover;
    }
    .thumb-img {
      width: 120px;
      height: 120px;
      object-fit: cover; /* 画像を中央でトリミングして四角に */
      border: 3px solid transparent;
      transition: border-color 0.3s;
      cursor: pointer;
    }
.thumb-img:hover {
    border-color: #a67c52;
}

.thumb-img.active {
    border-color: #d32f2f;
}
    
.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(255, 255, 255, .9);
    border-radius: 45px;
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    border-radius: 45px;
    transition: .5s;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-icon {
    position: relative;
    margin: -50px 0 25px 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 100px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover .service-icon {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-img {
    position: relative;
}

.portfolio-img::before,
.portfolio-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    background: var(--dark);
    transition: .5s;
}

.portfolio-img::before {
    left: 50%;
}

.portfolio-img::after {
    right: 50%;
}

.portfolio-item:hover .portfolio-img::before {
    width: 51%;
    left: 0;
}

.portfolio-item:hover .portfolio-img::after {
    width: 51%;
    right: 0;
}

.portfolio-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 1;
    transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    transition-delay: .3s;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    border-radius: 8px 60px 0 0;
}

.team-item .team-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #FFFFFF;
    transition: .5s;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    color: #9B9B9B;
    border: 1px solid #9B9B9B;
    border-radius: 38px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #9B9B9B;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}




.notavailable{
font-weight: 500;
width:60%;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
color: white;  background-color:rgba(255,0,0,0.6); font-size: 150%; 
}


.photolist{
	height:auto;
	text-align:center;
position: relative;
}

@media print, screen and (min-width: 768px){ 



.inputlist{
	width:20%;
	float:left;
	border-bottom:solid 1px #cccccc;
	margin:5px;
	padding:5px;

}
.inputlist2{
	width:40%;
	float:left;	margin-left:30px;
	border-bottom:solid 1px #cccccc;
	margin:5px;
	padding:5px;

}
.inputlist3{
	width:65%;
	float:left;
	border-bottom:solid 1px #cccccc;
	margin:5px;
	padding:5px;
}

.estatelistt{
	width:90%;
	font-size:12px;
	font-weight:bold;
	color:#ffffff;
	background-color:#109954;
	margin:5px;
	padding:7px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	}

.estatelistt2{
	width:90%;
	font-size:14px;
	font-weight:bold;
	color:#ffffff;
	background-color:#ff6347;
	margin:5px;
	padding:7px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	}
.estatelisten{
	font-size:24px;
	width:100%;
	font-weight:bold;
	color:#ff6347;
	text-align:center;
}


}



@media screen and (max-width:767px){


.inputlist{
	display:block;
	width:100%;
	border-bottom:solid 1px #cccccc;
	margin:5px;
	padding:5px;

}
.inputlist2{
	display:block;
	width:100%;
	margin-left:30px;
	border-bottom:solid 1px #cccccc;
	margin:5px;
	padding:5px;

}
.inputlist3{
	display:block;
	width:100%;
	border-bottom:solid 1px #cccccc;
	margin:5px;
	padding:5px;

}

.estatelistt{
	width:95%;
	font-size:12px;
	font-weight:bold;
	color:#ffffff;
	background-color:#109954;
	padding:7px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	}

.estatelistt2{
	width:90%;
	font-size:14px;
	font-weight:bold;
	color:#ffffff;
	background-color:#ff6347;
	margin:5px;
	padding:7px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	}
.estatelisten{
	font-size:24px;
	width:100%;
	font-weight:bold;
	color:#ff6347;
	text-align:center;
}
}


        .title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 20px;
        }

        .price-section {
            display: flex;
            align-items: baseline;
            margin-bottom: 10px;
        }

        .price {
            font-size: 48px;
            font-weight: bold;
            color: #d32f2f;
            margin-right: 10px;
        }

        .price-unit {
            font-size: 18px;
            color: #d32f2f;
        }

        .property-info {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 15px;
            padding: 15px 0;
            border-top: 1px solid #e0e0e0;
        }

        .info-item {
            display: flex;
            gap: 5px;
            font-size: 14px;
        }

        .info-label {
            color: #666;
        }

        .info-value {
            font-weight: bold;
        }

        /* 説明セクション */
        .description {
            text-align: center;
            padding: 30px 20px;
            background-color: #fafafa;
        }

        .description h2 {
            font-size: 20px;
            margin-bottom: 15px;
        }

        .description p {
            font-size: 15px;
            line-height: 1.8;
        }

        /* ギャラリーセクション */
        .gallery-container {
            padding: 40px 20px;
            background-color: #f0f0f0;
        }

        .text-center {
            text-align: center;
        }

        .mb-3 {
            margin-bottom: 20px;
        }

        .mb-5 {
            margin-bottom: 40px;
        }

        .main-image-wrapper {
            position: relative;
            max-width: 800px;
            height: 500px; /* 高さ固定 */
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f9f9f9; /* 背景色（縦画像や小さい画像の余白を自然に見せる） */
            overflow: hidden;
        }

        .main-img {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain; /* 画像比率を保持して収まるように */
            display: block;
        }

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    -webkit-tap-highlight-color: transparent; /* スマホでタップ時の青い枠除去 */
}

.nav-button:focus {
    outline: none; /* フォーカス時のスクロール防止 */
}

        .nav-button.prev {
            left: 10px;
        }

        .nav-button.next {
            right: 10px;
        }

        .d-flex {
            display: flex;
        }

        .justify-content-center {
            justify-content: center;
        }

        .flex-wrap {
            flex-wrap: wrap;
        }

        .gap-2 {
            gap: 10px;
        }

        .thumb-img {
            cursor: pointer;
            border: 3px solid transparent;
            transition: border-color 0.3s;
            object-fit: cover;
        }

        .thumb-img:hover {
            border-color: #a67c52;
        }

        .thumb-img.active {
            border-color: #d32f2f;
        }

        /* 間取り・物件概要セクション */
        .content-section {
            padding: 40px 20px;
        }

        .overview-section {
            margin-top: 40px;
        }

        .overview-title {
            font-size: 22px;
            font-weight: bold;
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 2px solid #333;
        }

        .overview-table {
            width: 100%;
            border: 1px solid #ddd;
        }

        .overview-row {
            display: flex;
            border-bottom: 1px solid #ddd;
            min-height: 50px;
        }

        .overview-row:last-child {
            border-bottom: none;
        }

        .overview-label {
            background-color: #f5f5f5;
            padding: 15px;
            font-size: 14px;
            color: #666;
            width: 200px;
            min-width: 200px;
            display: flex;
            align-items: center;
            border-right: 1px solid #ddd;
        }

        .overview-value {
            background-color: white;
            padding: 15px;
            font-size: 14px;
            flex: 1;
            display: flex;
            align-items: center;
        }

        .overview-row.double {
            display: grid;
            grid-template-columns: 200px 1fr 200px 1fr;
        }

        .overview-row.double .overview-label {
            width: auto;
        }

        .overview-row.double .overview-value {
            border-right: 1px solid #ddd;
        }

        .overview-row.double .overview-value:last-child {
            border-right: none;
        }

        .link-text {
            color: #0066cc;
            text-decoration: none;
        }

        .note-text {
            font-size: 12px;
            color: #666;
            line-height: 1.8;
        }

        .small-text {
            font-size: 11px;
        }

/* Googleマップセクション */
        .map-section {
            padding: 40px 20px;
            background-color: #fafafa;
        }

        .map-container {
            max-width: 900px;
            margin: 0 auto;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .map-address {
            text-align: center;
            margin-top: 20px;
        }

        .map-address p {
            font-size: 15px;
            margin: 10px 0;
        }

        .map-note {
            font-size: 12px;
            color: #999;
        }

        /* レスポンシブデザイン */
        @media (max-width: 768px) {
            .price {
                font-size: 36px;
            }

            .property-info {
                flex-direction: column;
            }

            .thumbnails {
                grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
            }

            .nav-button {
                width: 40px;
                height: 40px;
                font-size: 18px;
            }

            .thumb-img {
                width: 80px !important;
            }


            .overview-table th,
            .overview-table td {
                padding: 10px;
                font-size: 13px;
            }

            .overview-table th {
                width: 40%;
            }

            .overview-table tr.double-column {
                display: table-row;
            }

            .overview-table tr.double-column th,
            .overview-table tr.double-column td {
                display: table-cell;
            }
        }

.map-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 50%; /* PCでは16:9 */
  height: 0;
  overflow: hidden;
}

.map-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 80% !important;
  border: 0;
}

/* スマホ用に高さを増やす */
@media screen and (max-width: 768px) {
  .map-wrap {
    padding-bottom: 100%; /* 縦を広げる（1:1比率） */
  }
}

/* 物件カード全体 */
.property-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
}

/* 画像エリアを固定アスペクト比に */
.property-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* または 3 / 2 など、画像に合わせて調整 */
    overflow: hidden;
    background-color: #f5f5f5;
}

.property-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.property-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-image:hover img {
    transform: scale(1.05);
}

/* グリッドアイテムの高さを揃える */
.portfolio-item {
    display: flex;
    margin-bottom: 0 !important; /* <br>タグの影響を完全に除去 */
}

.portfolio-item > div {
    width: 100%;
}

/* WOWアニメーションとの競合を防ぐ */
.portfolio-container.wow {
    visibility: visible !important;
    animation-name: none;
}

.portfolio-container.wow.fadeInUp {
    animation-name: fadeInUp;
}

/* カード全体の構造を安定化 */
.rental-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
}

.rental-card-header {
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}

.rental-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

/* 画像コンテナに固定の高さとアスペクト比を設定 */
.rental-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3; /* または 16/9 など、画像の比率に合わせる */
  overflow: hidden;
  margin-bottom: 1rem;
  background-color: #f0f0f0; /* 読み込み中の背景色 */
}

.rental-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキスト部分 */
.rental-text {
  flex-grow: 1;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* WOWアニメーションの調整 */
.portfolio-item {
  opacity: 1 !important; /* WOWアニメーション中の透明度問題を防ぐ */
}