@charset "utf-8";
/* CSS Document */

@import url(https://fonts.googleapis.com/icon?family=Material+Icons);

/*　画像の拡大　*/
.zoomIn img {
  transform: scale(1);
  transition: .3s ease-in-out; /*移り変わる速さを変更したい場合はこの数値を変更*/
}
.zoomIn a:hover img { /*hoverした時の変化*/
  transform: scale(1.2); /*拡大の値を変更したい場合はこの数値を変更*/
}
/*　画像のマスク　*/
.mask {
  display: block;
  line-height: 0; /*行の高さを0にする*/
  overflow: hidden; /*拡大してはみ出る要素を隠す*/
}

h1.title{
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%);
	z-index: 99;
}
@media screen and (max-width: 767px) {
h1.title{
	top: 50%;
}
}

/* top
--------------------------------------------------------- */
mainvisual{
}

/* 画像レイアウト
--------------------------------------------------------- */
.bxslider {
	margin: 0 auto;
	width: 100%;
	position: relative;
}
.bx-wrapper {
	position: relative;
}
.bx-wrapper img {
	max-width: 100%;
	vertical-align: bottom;
}
.bx-viewport {
	max-width: 100%;
	max-height: 100%;
}
/* ページャー*/
.bx-pager {
		display: none;
}
.bx-pager-item, .bx-controls-auto-item {
	display: inline-block;
}
.bx-default-pager a {
	background: #58707B;
	text-indent: -9999px;
	display: block;
	width: 6px;
	height: 6px;
	margin: 0 6px;
	outline: 0;
	border-radius: 0px;
}
.bx-default-pager a:hover, .bx-default-pager a.active {
	background: #ececec;
}


/* arrows
--------------------------------------------------------- */
.arrows {
  width: 60px;
  height: 72px;
  position: absolute;
  left: 50%;
  margin-left: -30px;
  bottom: 22%;
  z-index: 9999;
}
@media screen and (max-width: 767px) {
	.arrows {
		display: none;
	}
}


.arrows path {
  stroke: #FFFFFF;
  fill: transparent;
  stroke-width: 1px;  
  animation: arrow 2s infinite;
  -webkit-animation: arrow 2s infinite; 
}

@keyframes arrow
{
0% {opacity:0}
40% {opacity:1}
80% {opacity:0}
100% {opacity:0}
}

@-webkit-keyframes arrow /*Safari and Chrome*/
{
0% {opacity:0}
40% {opacity:1}
80% {opacity:0}
100% {opacity:0}
}

.arrows path.a1 {
  animation-delay:-1s;
  -webkit-animation-delay:-1s; /* Safari 和 Chrome */
}

.arrows path.a2 {
  animation-delay:-0.5s;
  -webkit-animation-delay:-0.5s; /* Safari 和 Chrome */
}

.arrows path.a3 { 
  animation-delay:0s;
  -webkit-animation-delay:0s; /* Safari 和 Chrome */
}





/* lead
--------------------------------------------------------- */
section#lead{
margin-block-start:120px;
}
@media screen and (max-width: 767px) {
section#lead{
margin-block-start:40px;
}
}
section#lead .innerWrap{
  max-width: 800px;
  margin: 0 auto;
  padding-block-end: 120px;
  font-size: 1.65rem;
  letter-spacing: 0.1rem;
}
section#lead .lead_text h3{
font-size: 2.75rem;
font-weight: 400;
text-align: center;
}
section#lead .lead_text p{
  width: 100%;
  max-width: 700px;
  margin-inline-start: auto;
  margin-inline-end: auto;
  margin-block-start: 30px;
  margin-block-end: 30px;
  padding-inline-start: 10px;
  padding-inline-end: 10px;
  text-align: justify;
  text-justify: inter-ideograph;
  line-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
section#lead .lead_text h3.area {
font-size: 2.75rem;
font-weight: 400;
text-align: center;
padding-block-start:100px;
}
section#lead lead_photo{
}

img#lead_small{
	max-width: 400px;
	position: relative;
	/*right: 50px;*/
}

img#lead_big{
	max-width: 700px;
	position: relative;
	/*left: 50px;*/
}

span#lead_s, span#lead_b {
	display: flex;
	margin: 50px auto;
}

p .lead_text{
	display: flex;
	align-items: center;
}


/* spark
--------------------------------------------------------- */
section#spark {
  max-width: 800px;
  margin: 0 auto;
  padding-block-end: 120px;
  font-size: 1.65rem;
  letter-spacing: 0.1rem;
  display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
	justify-content: center;
}

#spark img{
	max-width: 300px;
}




/* plan
--------------------------------------------------------- */
section#plan {
background-color: #6B5D53;
padding-block-start:100px;
color: #ECE9E5;
width: 100vw;
/*margin: 0 calc(50% - 50vw)*/
}

img #plan{
	max-width: 980px;
}

/* slider
--------------------------------------------------------- */
img div.slider{
	width: 100%;
}

/* photo_list
--------------------------------------------------------- */
section#photo_gallery{
background-color: #D4CFC9;
/*padding-block-start:100px;*/
width: 100vw;
/*margin: 0 calc(50% - 50vw)*/
}
.photo_innerWrap {
  max-width: 980px;
  margin: 0 auto;
  font-size: 1.65rem;
  letter-spacing: 0.1rem;
}
.photo_txtarea {
  width: 100%;
  max-width: 580px;
  margin-inline-start: auto;
  margin-inline-end: auto;
  padding-inline-start: 20px;
  padding-inline-end: 20px;
  text-align: justify;
  text-justify: inter-ideograph;
  font-size: 1.675rem;
}


/* photos
--------------------------------------------------------- */
#photos {
  /*width: 100%;
  margin: 0 auto;*/
  padding: 0 0 200px 0;
  background-color: #D4CFC9;
  width: 100vw;
  /*margin: 0 calc(50% - 50vw)*/
}
#photos p {
  text-align: center;
  margin-bottom: 35px;
}
.photos_box{
width: 94%;
margin: 0 3%;
}
.photo_txt{
font-size: 1.65rem;
}
#photos .fadein {
  width: 90%;
  margin: 0 auto;
}
.fancybox_area {
  column-count: 6;
  column-gap: 10px;
}
.fancybox_area li a {
  display: inline-block;
  margin: 5px 0 0;
  position: relative;
}
.fancybox_area li a::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  font-family: 'Material Icons';
  content: '\e8b6';
  font-size: 3rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-around;
  opacity: 0;
  transition: all .5s ease;
}
.fancybox_area li a:hover::before {
  opacity: 1;
}
.fancybox_area img {
  width: 100% !important;
  height: auto !important;
  vertical-align: bottom;
}
@media (max-width: 767px) {
  #photos {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0 150px 0;
  }
  #photos p {
    width: 80%;
    margin: 0 auto 35px;
    text-align: start;
  }
  .fancybox_area {
    column-count: 3;
    width: 95%;
    margin: 0 auto;
  }
}

/* renovation plan
--------------------------------------------------------- */
#renoplan{
background-color: #58707B;
color: #FFFFFF;
padding-block-start:100px;
padding-block-end:100px;
}
#renoplan .section-title{
padding-block-end:40px;
}
.container {
  display: flex;
  flex-wrap: wrap;
}
.column_img {
  width: 100%;
}
.column_text {
  width: 100%;
  padding: 30px;
  line-height: 1.8;
}
.column_text h4.title{
font-size: 2.5rem;
font-weight: 500;
padding-block-end:20px;
}
@media (min-width: 767px) {
.column_img {
    width: 50%;
  }
  .column_text {
    width: 50%;
  }
}
.link{
font-size: 2.15rem;
}
.link a {
color:#FFFFFF;
text-decoration:underline;
}
.link a:hover {/*マウスが上に乗っている状態*/
color:#212A2D;
text-decoration:none;
}
.photo_container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
  padding-block-end:40px;
}
.photo_column {
  width: 100%;
}
@media (min-width: 767px) {
.photo_column {
    width: 50%;
  }
}

/* map
--------------------------------------------------------- */
section#map {
padding-block-start:100px;
display: flex;
align-items: center;
}

/* deg360
--------------------------------------------------------- */
section#deg360 {
	/*width: 100%;*/
	background-color: #D4CFC9;
	/*padding-block-start:100px;*/
	color: #707070;
	width: 100vw;
	margin: 0 calc(50% - 50vw)
}
section#deg360 .innerWrap{
	padding-block-end:100px;
}
section#deg360 p {
	text-align: center;
	margin-block-end: 20px;
	font-size: 1.55rem;
	letter-spacing: 0.05rem;
	line-height: 1.8;
}
section#deg360 .camera_box {
	max-width: 1080px;
	margin-inline-start: auto;
	margin-inline-end: auto;
}
section#deg360 p {
	text-align: center;
	margin-block-end: 20px;
	font-size: 1.6rem;
}

/* open
--------------------------------------------------------- */
section#open{
background-color: #ECE9E4;
/*padding-block-start:100px;*/
}
.open_innerWrap {
  max-width: 600px;
  margin: 0 auto;
  padding-block-end: 60px;
  font-size: 1.65rem;
  letter-spacing: 0.1rem;
}

section#open p.txt{
	font-size: 1.6rem;
	padding: 0 16px;
}

/* inquiry
--------------------------------------------------------- */
section#inquiry {}
.btn {
  width: 300px;
  padding: 20px 0 20px 0;
  font-size: 1.85rem;
  position: relative;
  text-align: center;
  text-decoration: none;
  display: block;
  margin: 0 auto;
  color: #fff;
	background-color: #6B5D53;
  line-height: 1;
  letter-spacing: 0.125rem;
  border-radius: 50px;
  transition: all .2s;
}
.btn .btn_txt {
  color: #fff;
}
.btn:hover {
  border-radius: 0px;
}

/* details　物件概要
---------------------------------------------------------------*/
section#details {
padding-block-start:100px;
}
dl {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	border-top: none;
}
dt {
	width: 18%;
	padding: 14px 8px 8px 8px;
	box-sizing: border-box;
	border-block-end: 1px solid #5e5e5e;
	font-weight: 600;
	font-family: "KokuMincho", serif;
}
dd {
	padding: 14px 8px 8px 8px;
	margin: 0;
	border-block-end: 1px solid #5e5e5e;
	width: 82%;
	box-sizing: border-box;
	font-family: "KokuMincho", serif;
}
.producer:after {
	content: "\0bb";
}

/* Google Map
--------------------------------------------------------- */
section#gmap {
	position: relative;
	width: 100%;
	height: 800px;
	margin: 0 auto;
}
#gmap iframe {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

/* pagetop */
.pagetop {
	position: fixed;
	bottom: 20px;
	right: 20px;
	display: none;
	z-index: 150;
	cursor: pointer;
}



/*===========================================================*/
/* sp*/
/*===========================================================*/
/* img */
@media screen and (min-width: 768px) {
	.sp-only {
		display: none;
	}
}
@media screen and (max-width: 767px) {
	.pc-only {
		display: none;
	}
}
@media screen and (max-width: 767px) {
	/* photo */
	section#photo_list {
		margin-inline-start: 3%;
	}
	section#photo_list div {
		padding: 3px 6px;
		width: 32%;
	}
	section#photo_list div:not(:nth-child(3n+3)) {
		margin-block-end: 1%;
	}
	/* deg360 */
	section#deg360 {
		width: 100%;
		margin: 0 auto;
	}
	section#deg360 .camera_box iframe {
		height: 440px;
	}
	/* details */
	section#details dt, dd {
		display: block;
		width: 100%;
		border: none;
	}
	dt {
		background-color: #D4CFC9;
	}
}

/* 全体のリセット */
html, body { margin: 0; padding: 0; }
img { /*max-width: 100%;*/ height: auto; display: block; }
ul, li { margin: 0; padding: 0; list-style: none; }

/* 本文を中央寄せする共通コンテナ */
.innerWrap {
  max-width: 1080px;        
  margin-inline: auto;
  padding-inline: 16px;      
}

/* —— mainvisualフル画面幅 —— */
#mainvisual {               
  width: 100%;
  margin: 0;
  padding: 0;
}

/* bxSlider が作るラッパーの中央寄せ＆最大幅制限を解除 */
.bx-wrapper {
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ビューポートも余白ナシ＆端まで */
.bx-wrapper .bx-viewport {
  left: 0 !important;
  right: 0 !important;
}

/* スライド画像は親幅にフィット＆下の隙間を消す */
#mainvisual .bxslider img {
  width: 100%;
  height: auto;
  display: block;
}

/* —— lead セクション：背景だけフル幅、中身は中央 —— */
#lead {
  background: #ECE9E4;      
  padding-block: 48px;       
  display: flex;
  flex-direction: column;
  align-items: center; 
}

/* #lead の中身は .innerWrap で中央寄せ（既にHTMLでclass付与済） */
/* 追加CSSは不要。必要なら .innerWrap にだけ余白・幅調整を。 */

#spark{
	display: flex;
  flex-direction: column;
  align-items: center; 
}

#plan{
	display: flex;
  flex-direction: column;
  align-items: center; 
}

#map{
	display: flex;
  flex-direction: column;
  align-items: center; 
}

#smallmap{
	display: flex;
  flex-direction: column;
  align-items: center; 
}

#photo_gallery p.txt{
	text-align: center;
}

/* PC：横並び */
span#lead_s,
span#lead_b {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* SP：縦並びに切り替え */
@media (max-width: 767px) {
  span#lead_s,
  span#lead_b {
    flex-direction: column;
    text-align: center;
  }

  img#lead_small,
  img#lead_big {
    max-width: 100%;
    position: static;
    left: 0;
    right: 0;
  }
	
  /* 1つ目の画像を最初に */
  #lead_small { order: 1; }
  /* 1つ目のテキストを次に */
  #lead_s p   { order: 2; }
  /* 2つ目の画像を3番目に */
  #lead_big   { order: 3; }
  /* 2つ目のテキストを最後に */
  #lead_b p   { order: 4; }
}

/* ========== h2 上の二重線 ========== */
#open .section-title {
  position: relative;
  text-align: center;
  margin-block: 40px 20px;
}

#open .section-title::before,
#open .section-title::after {
  content: "";
  display: block;
  width: 100vw;              
  height: 2px;               
  background-color: #6B5D53; 
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

#open .section-title::before {
  top: -20px;   /* 1本目 */
}

#open .section-title::after {
  top: -26px;   /* 2本目（少し上にずらす） */
}


/* ========== テキスト下の二重線 ========== */
#open .txtarea {
  position: relative;
  margin-block-end: 40px;
}

#open .txtarea::before,
#open .txtarea::after {
  content: "";
  display: block;
  width: 100vw;
  height: 2px;
  background-color: #6B5D53;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

#open .txtarea::before {
  bottom: -40px;   /* 1本目 */
}

#open .txtarea::after {
  bottom: -46px;   /* 2本目（少し下にずらす） */
}
 
/*スライダー*/

  .photo_innerWrap {
            width: 100%;
            margin: 0 auto;
            padding: 0;
            box-sizing: border-box;
        }

        .photo-slider {
            width: 100%; /* max-widthから変更 */
            max-width: 960px;
            margin: 0 auto;
            overflow: hidden;
            /*border-radius: 10px;*/
           /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
        }

        .slider-container {
            display: flex;
            gap: 30px; /* 写真間の間隔 */
            width: calc(800% + 210px); /* 8枚分の幅 + 間隔分 */
            animation: slide 30s linear infinite; /* 12秒で1周 */
        }

        .slide {
            width: 300px; /* 固定幅でカード風に */
            flex-shrink: 0;
            background: white;
            /*border-radius: 15px;*/
            overflow: hidden;
            /*box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);*/
        }

        .slide img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
        }

        /* スライドアニメーション */
        @keyframes slide {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(calc(-1200px - 120px)); /* 4枚分の幅 + 間隔分 */
            }
        }

        /* スマートフォン対応 */
        @media (max-width: 768px) {
            .photo_innerWrap {
                padding: 0 10px; /* 左右に適切な余白 */
            }

            .photo-slider {
                margin: 0; /* auto を削除 */
                /*border-radius: 5px;*/
            }

            .slider-container {
                gap: 20px; /* スマホでは間隔を狭く */
                width: calc(800% + 140px); /* 間隔調整 */
            }

            .slide {
                width: 250px; /* スマホ用のカード幅 */
                /*border-radius: 10px;*/
            }

            .slide img {
                height: 160px;
            }

            @keyframes slide {
                0% {
                    transform: translateX(0);
                }
                100% {
                    transform: translateX(calc(-1000px - 80px)); /* スマホ用調整 */
                }
            }
        }

        /* より小さな画面用 */
        @media (max-width: 480px) {
            .photo-slider {
                margin: 0 5px; /* 左右の余白を狭く */
            }

            .slider-container {
                gap: 15px; /* さらに狭く */
                width: calc(800% + 105px);
            }

            .slide {
                width: 180px; /* さらに小さく調整 */
            }

            .slide img {
                height: 120px; /* 高さも調整 */
            }

            @keyframes slide {
                0% {
                    transform: translateX(0);
                }
                100% {
                    transform: translateX(calc(-720px - 60px)); /* 幅に合わせて調整 */
                }
            }
        }


