@charset "utf-8";

/**
 *
 *  ページ用CSS
 *　modelroom
 * 
 */

/*--------------------------------------------------------------------------
   Overwright
---------------------------------------------------------------------------*/	

:root {
  	--redev_beije: #f2edea;
  	--redev_beije2: #bba274;
  	--redev_gold: #baa343;
  	--redev_brown: #8c7446;
  	--redev_red: #840d13;
  	--redev_green: #356b6b;
}

.redevelopment.stickybg::before{
	background: var(--redev_beije) !important;
}

/*--------------------------------------------------------------------------
   Content
---------------------------------------------------------------------------*/

/* redevelopment
-----------------------------------------------------------------*/
.redevelopment{
	padding: 180px 0 200px;	
}
.redevelopment .txt-lead{
	margin-bottom: 120px;
	text-align: center;
	font-size: 4.5rem;
	line-height: 2;
	letter-spacing: .1em;
}
.redevelopment h2{
	text-align: center;
	display: block;
    font-size: 7.5rem;
	color: var(--redev_gold);
	margin-bottom: 40px;
}
.history{
	position: relative;
}
.history .his_ttl{
	padding: 120px 0 ;	
}
.history.past .his_ttl{
	background: var(--redev_red);
	color: var(--light);
}
.history.present .his_ttl{
	background: var(--redev_green);
	color: var(--light);
}
.history.future .his_ttl{
	background: var(--redev_beije2);
	color: var(--light);
}
.his_ttl h3{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	font-size: clamp(7rem, 13vw, 16rem);
	line-height: 1;
}
.his_ttl h3 .en{
	line-height: 1;
	display: block;
}
.his_ttl h3 .line{
	width: 30px;
	height: 5px;
	background: var(--light);
}
.his_ttl dl{
	margin-top: 20px;
}
.his_ttl dl dt{
	text-align: center;
	font-size: 5rem;
}
.his_ttl dl dd{
	text-align: center;
	font-size: 2.5rem;
	margin-top: 10px;
}


.his_contents{
	padding: 0;
}
.his_contents.bg{
	background-size: cover;
	background-position: center;
	color: var(--light);
}
.his_contents.pastbox1{
	background-image: url(../img/value/bg_01.webp);
}
.his_contents.pastbox3{
	background-image: url(../img/value/bg_02.webp);
}
.his_contents.presentbox1{
	background-image: url(../img/value/bg_03.webp);
}
.his_contents.presentbox3{
	background-image: url(../img/value/bg_04.webp);
}
.his_contents.futurebox1{
	background-image: url(../img/value/bg_05.webp);
}

.his_contents_box{
	max-width: 1000px;
	margin: auto;
}
.his_item{
	display: flex;
}
.rev .his_item{
	flex-direction: row-reverse;
}
.his_item dl{
	width: 50%;
	padding-top: 6%;
}
.bg .his_item dl{
	border-right: 1px solid var(--light) !important;
	border-left: none !important;
	color: var(--light) !important;
}
.past .his_item dl{
	border-left: 1px solid var(--redev_red);
	color: var(--redev_red);
}
.present .his_item dl{
	border-left: 1px solid var(--redev_green);
	color: var(--redev_green);
}
.future .his_item dl{
	border-left: 1px solid var(--redev_brown);
	color: var(--redev_brown);
}

.his_item dl dt{
	position: relative;
	font-size: 5rem;
	letter-spacing: .1em;
	line-height: 1.6;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.rev .his_item dl dt{
	justify-content: flex-start;
	gap: 3%;
}
.bg .his_item dl dt::after{
	content: '';
	display: block;
	width: 0; 
	height: 1px;
	/* 要素を右側に寄せる（右側固定） */
	margin-left: auto;
	/* アニメーションの変化時間を指定 */
	transition: width 0.5s ease-in-out;
}
.bg .his_item dl dt.mv::before,
.bg .his_item dl dt.mv::after {
	/* 伸ばしたい横幅を指定 */
	width: 20px;
}
.rev .his_item dl dt::before {
	content: '';
	display: block;
	/* 初期状態の横幅を0にしておく */
	width: 0; 
	height: 1px;
	/* アニメーションの変化時間を指定（例: 0.5秒かけて変化） */
	transition: width 0.5s ease-in-out;
}
.rev .his_item dl dt.delay01::before,
.bg .his_item dl dt.delay01::before,
.bg .his_item dl dt.delay01::after {
	transition: width 0.8s ease-in-out;
}
.rev .his_item dl dt.delay02::before,
.bg .his_item dl dt.delay02::before,
.bg .his_item dl dt.delay02::after {
	transition: width 1.2s ease-in-out;
}
.rev .his_item dl dt.delay03::before,
.bg .his_item dl dt.delay03::before,
.bg .his_item dl dt.delay03::after {
	transition: width 1.5s ease-in-out;
}
.rev .his_item dl dt.delay04::before,
.bg .his_item dl dt.delay04::before,
.bg .his_item dl dt.delay04::after {
	transition: width 1.8s ease-in-out;
}
.rev .his_item dl dt.mv::before {
	/* 伸ばしたい横幅を指定 */
	width: 20px;
}
.bg .his_item dl dt::after{
	background: var(--light) !important;
}
.past .his_item dl dt::before{
	background: var(--redev_red);
}
.present .his_item dl dt::before{
	background: var(--redev_green);
}
.future .his_item dl dt::before{
	background: var(--redev_beije2);
}
.his_item dl dd{
	font-size: 2rem;
	line-height: 1.4;
	letter-spacing: .1em;
}
.rev .his_item dl dd{
	padding-left: 7%;
}
.his_item dl dd:last-child{
	padding-bottom: 12%;
}
.his_item dl dd small{
	font-size: 80%;
}
.his_item dl dd:not(:last-child){
	margin-bottom: 7%;
}

.his_item .img.pc{
	width: 50%;
	padding-left: 3%;
	padding-top: 6%;
	padding-bottom: 6%;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.presentbox3 .his_item .img.pc,
.futurebox1 .his_item .img.pc{
	gap: 10px;
}
.futurebox2 .his_item .img.pc{
	gap: 10px;
}
.futurebox2 .his_item .img.pc .imgtxt{
	color: var(--redev_brown);
}
.rev .his_item .img.pc{
	padding-left: 0 !important;
	padding-right: 3%;
}
.his_item .img.pc .imgtxt{
	letter-spacing: .1em;
	font-size: 1.6rem;
}
.img{position: relative;}
.img .cap{
	position: absolute;
	bottom: 8px;
	left: 12px;
	color: var(--light);
	display: block;
	font-size: 1.4rem;
	letter-spacing: 0;
	line-height: 1.3;
	    text-shadow: 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 3px #000, 0px 0px 1px #000;
}
.img img{
	box-shadow: 3px 3px 10px rgba(0,0,0,.35);
}
.present .pastbox2 .img.pc{
	padding-top: 20%;
}



.value{
	position: relative;
}
.value_ttl{
	background: url(../img/value/value_ttl_bg.webp);
	background-position: center;
	background-size: cover;
	height: 75svh;
	max-height: 800px;
	padding: 100px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.value_ttl dl{
	text-align: center;
	color: var(--light);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 30px;
}
.value_ttl dl dt{
	    font-size: clamp(7rem, 10vw, 12rem);
		font-weight: 300;
		line-height: 1;
}
.value_ttl dl dd{
	font-size: 3rem;
}
.value_copy{
	background: var(--light);
	padding: 6% 0;
}
.value_copy_box{
	display: flex;
	justify-content: space-between;
	gap: 5%;
}
.value_copy_box .txt_area{
	flex: 1;
}
.value_copy_box .txt_area dl{
	display: flex;
	flex-direction: column;
	gap: 20px;
	color: #3e3a3a;
}
.value_copy_box .txt_area dt{
	font-size: 3rem;
}
.value_copy_box .txt_area dd{
	text-align: justify;
	font-size: 1.6rem;
	line-height: 2;
	letter-spacing: .3em;
}
.value_copy_box .img_area{
	width: 55%;
}
.district{
	position: relative;
}
.district img{
	width: 100%;
	box-shadow: none;
}
.district_txt{
	position: absolute;
	top: 3%; right: 3%;
	max-width: 54%;
}
.district_txt dl{
	background: var(--light);
	padding: 20px;
	display: flex;
	align-items: center;
	color: #3e3a3a;
	gap: 1.5%;
}
.district_txt dt{
	font-size: clamp(16px, 4vw, 2rem);
	text-align: center;
	white-space: nowrap;
	letter-spacing: .1em;
}
.district_txt dd{
	text-align: justify;
	font-size: clamp(12px, 4vw, 1.2rem);
	letter-spacing: .1em;
	line-height: 1.4;
	border-left: 1px solid #3e3a3a;
	padding-left: 1.5%;

}

.district_contetnts{
	background: var(--light);
	padding: 120px 0;
}
.district_contetnts_box{
	max-width: 1200px;
	margin: auto;
}
.district_contetnts_box img{box-shadow: none;}
.district_contetnts_box ul{
	display: flex;
	gap: 50px 5%;
	justify-content: center;
	flex-wrap: wrap;
}
.district_contetnts_box li{
	flex-basis: 47%;
}
.district_contetnts_box li .img{}
.district_contetnts_box li dl{}
.district_contetnts_box li dt{
	text-align: center;
	color: var(--light);
	font-size: 1.8rem;
	letter-spacing: .1em;
	line-height: 1.6;
	padding: 2% 4% 1%;
}
.district_contetnts_box li:nth-of-type(1) dt{background: #a64a62;}
.district_contetnts_box li:nth-of-type(2) dt{background: #1e6f97;}
.district_contetnts_box li:nth-of-type(3) dt{background: #306d6f;}
.district_contetnts_box li:nth-of-type(4) dt{background: #cfa203;}
.district_contetnts_box li dd{
	font-size: 1.6rem;
	text-align: justify;
	letter-spacing: .1em;
	line-height: 1.6;
	padding-top: 3%;
}
.district_contetnts_box li dd small{
	font-size: 1.3rem;
	display: block;
	padding-top: 1%;
}


.value_graf{
	padding: 120px 0 0;
	max-width: 1200px;
	margin: auto;
}
.value_graf h4{
	text-align: center;
	font-size: 4rem;
}
.value_graf dl{
	padding-top: 4%;
}
.value_graf dt{
	text-align: center;
	background: var(--redev_red);
	color: var(--light);
	font-size: 2.5rem;
	letter-spacing: .1em;
	padding: .8% 3% .5%;
}
.value_graf dd{
	text-align: center;
	padding-top: 2%;
	font-size: 2rem;
}
.value_graf ul{
	display: flex;
	justify-content: center;
	gap: 3%;
	flex-wrap: nowrap;
	margin-top: 5%;
}
.value_graf li{
	flex: 1;
}
.value_graf li .ttl{
	font-size: 1.4rem;
	letter-spacing: .1em;
	line-height: 1;
}
.value_graf li .graf{
	padding: 15px 0;
}
.value_graf li .graf img{width: 100%;}
.value_graf li .txt{
	font-size: 1.2rem;
	line-height: 1.4;
	letter-spacing: .1em;
}
.value_caption{
	font-size: 1.2rem;
}
.value_fix{
	margin-top: 6%;
	background: var(--redev_red);
	outline: 1px solid #fff;       /* 2pxの白い実線 */
  outline-offset: -10px;  
	padding: 4%;
}
.value_fix p{
	text-align: center;
	color: var(--light);
	    font-size: clamp(2rem, 3vw, 3rem);
}


/*--------------------------------------------------------------------------
   mobile
---------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {

	.page-ttl h1 .en {
			font-size: 4.5rem;
	}

/* modelroom
-----------------------------------------------------------------*/
	.redevelopment{
		padding: 40px 0 60px;	
	}
	.redevelopment .txt-lead{
		margin-bottom: 40px;
		font-size: 2.4rem;
		letter-spacing: .05em;
	}

.history .his_ttl{
	padding: 60px 0 ;	
}
.his_ttl h3 .line{
	width: 20px;
	height: 3px;
}
.his_ttl dl{
	margin-top: 10px;
}
.his_ttl dl dt{
	font-size: 3rem;
}
.his_ttl dl dd{
	font-size: 1.6rem;
}

.redevelopment h2 {
    font-size: 6rem;
    margin-bottom: 30px;
}

.his_item{
	display: flex;
}
.rev .his_item{
	flex-direction: row;
}
.his_item dl{
	width: 100%;
	padding-top: 6%;
}
.bg .his_item dl{
	border-right: none!important;
	border-left: 1px solid var(--light) !important;
}

.his_item dl dt{
	font-size: 4rem;
	line-height: 1.4;
	justify-content: flex-start;
	gap: 3%;
}
.rev .his_item dl dt{
	justify-content: flex-start;
	gap: 3%;
}
.bg .his_item dl dt::after{
	display: none;
}
.bg .his_item dl dt::before{
	content: '';
	display: block;
	width: 0; height: 1px;
}
.rev .his_item dl dt::before{
	content: '';
	display: block;
	width: 0; height: 1px;
}
.bg .his_item dl dt::before{
	background: var(--light) !important;
}
.his_item dl dd{
	font-size: 1.6rem;
}
.rev .his_item dl dd,
.bg .his_item dl dd{
	padding-left: 10%;
}
.his_item dl dd:last-child{
	padding-bottom: 12%;
}
.his_item dl dd:not(:last-child){
	margin-bottom: 12%;
}
.his_item dl dd span.img{
	margin-top: 5%;
}

.his_item .img.pc{display: none;}

.his_item dl dd .imgtxt{
	margin-top: 3%;
	font-size: 1.3rem;
	display: block;
}


.value{
	position: relative;
}
.value_ttl{
	height: 40svh;
	max-height: 320px;
	padding: 50px 0;
}
.value_ttl dl{
	gap: 15px;
}
.value_ttl dl dt{
	    font-size: clamp(3.5rem, 8vw, 12rem);
		font-weight: 300;
		line-height: 1;
}
.value_ttl dl dd{
	font-size: 1.5rem;
}
.value_copy{
	padding: 12% 0;
}
.value_copy_box{
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.value_copy_box .txt_area dl{
	display: flex;
	flex-direction: column;
	gap: 20px;
	color: #3e3a3a;
}
.value_copy_box .txt_area dt{
	font-size: 2.5rem;
}
.value_copy_box .txt_area dd{
	font-size: 1.4rem;
}
.value_copy_box .img_area{
	width: 100%;
}
.district{
	position: relative;
	background: var(--light);
}
.district img{
	width: 100%;
	box-shadow: none;
}
.district_txt{
	position: static;
	max-width: 100%;
}
.district_txt dl{
	background: var(--light);
	padding: 20px 30px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	color: #3e3a3a;
	gap: 20px;
}
.district_txt dt{
	font-size: clamp(16px, 4vw, 2rem);
	text-align: left;
	white-space: nowrap;
	letter-spacing: .1em;
	border-bottom: 1px solid #3e3a3a;
	width: 100%;
}
.district_txt dd{
	text-align: justify;
	font-size: clamp(12px, 4vw, 1.2rem);
	letter-spacing: .1em;
	line-height: 1.4;
	border-left: none;
	padding-left: 1.5%;

}

.district_contetnts{
	background: var(--light);
	padding: 60px 0;
}
.district_contetnts_box{
	max-width: 1200px;
	margin: auto;
}
.district_contetnts_box img{box-shadow: none;}
.district_contetnts_box ul{
	display: flex;
	flex-direction: column;
	gap: 50px;
	justify-content: center;
	flex-wrap: wrap;
}
.district_contetnts_box li{
	flex-basis: 100%;
}
.district_contetnts_box li .img{}
.district_contetnts_box li dl{}
.district_contetnts_box li dt{
	text-align: center;
	color: var(--light);
	font-size: 1.6rem;
	letter-spacing: .1em;
	line-height: 1.4;
	padding: 2% 4% 1%;
}
.district_contetnts_box li dd{
	font-size: 1.4rem;
	text-align: justify;
	letter-spacing: .1em;
	line-height: 1.6;
	padding-top: 6%;
}
.district_contetnts_box li dd small{
	font-size: 1.2rem;
	display: block;
	padding-top: 1%;
}


.value_graf{
	padding: 60px 0 0;
}
.value_graf h4{
	text-align: center;
	font-size: 2.4rem;
	line-height: 1.4;
}
.value_graf dl{
	padding-top: 8%;
}
.value_graf dt{
	text-align: center;
	background: var(--redev_red);
	color: var(--light);
	font-size: 1.8rem;
	line-height: 1.4;
	letter-spacing: .1em;
	padding: 2% 6% 1.5%;
}
.value_graf dd{
	text-align: center;
	padding-top: 6%;
	font-size: 1.4rem;
}
.value_graf ul{
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 50px;
	flex-wrap: nowrap;
	margin-top: 10%;
}
.value_graf li{
	flex: 1;
}
.value_graf li .ttl{
	font-size: 1.4rem;
	letter-spacing: .1em;
	line-height: 1;
}
.value_graf li .graf{
	padding: 15px 0;
}
.value_graf li .graf img{width: 100%;}
.value_graf li .txt{
	font-size: 1.2rem;
	line-height: 1.4;
	letter-spacing: .1em;
}
.value_caption{
	font-size: 1.2rem;
}
.value_fix{
	margin-top: 12%;
	background: var(--redev_red);
	outline: 1px solid #fff;       /* 2pxの白い実線 */
  outline-offset: -10px;  
	padding: 6%;
}
.value_fix p{
	text-align: center;
	color: var(--light);
	    font-size: clamp(1.8rem, 3vw, 3rem);
}



}


/* --- PC時は非表示 --- */
.zoom-plus-icon,
.map-modal {
  display: none;
}

/* --- スマホのみ適用 --- */
@media screen and (max-width: 767px) {
  
  .modal-trigger {
    position: relative;
    cursor: pointer;
    display: inline-block;
    width: 100%;
  }

/* 右上の「＋」マーク */
.zoom-plus-icon {
  display: flex;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background-color: var(--light);
  color: #3e3a3a;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 2;
}

.zoom-plus-icon::before {
  content: "+";
  line-height: 1; 
  transform: translateY(-2px); 
}

  /* モーダル背景 */
  .map-modal {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .map-modal.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  /* 右上の「×」閉じボタン */
  .modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000001;
  }
  .modal-close-btn::before,
  .modal-close-btn::after {
    content: '';
    position: absolute;
    top: 19px;
    left: 8px;
    width: 24px;
    height: 2px;
    background-color: #fff;
  }
  .modal-close-btn::before { transform: rotate(45deg); }
  .modal-close-btn::after { transform: rotate(-45deg); }

  /* ② 左右の端までスクロールできるようにスクロールコンテナ側の余白を調整 */
  .modal-scroll-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; /* 慣性スクロール時に綺麗に収まりやすくする設定 */
  }

  /* ② 左右の端をクリッピングさせないため、横幅を子要素のサイズ（max-content）に依存させる */
  .modal-content {
    position: relative;
    display: flex;
    height: 85vh;
    width: max-content; /* 画像の実際の最大幅に自動フィット */
    justify-content: center;
    align-items: center;
    padding: 0 20px; 
    box-sizing: border-box;
  }

  /* 縦85%を保ちつつ、横幅はアスペクト比を維持してはみ出す */
  .modal-content img {
    height: 100%;
    width: auto;
    max-width: none;
    display: block;
  }

  /* ① モーダル表示時に画面中央に固定されるスワイプアイコン */
  .modal-swipe-hint {
    display: block;
    position: fixed; /* 地図がスクロールしても画面の中央に留まる */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1000000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    animation: pulse 2s infinite;
    opacity: 1;
    visibility: visible;
  }
  .modal-swipe-hint img {
    width: 70px;
    height: auto;
  }
  
  /* ① スクリプトから追加してアイコンをフェードアウトさせるクラス */
  .modal-swipe-hint.is-hidden {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}