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

/*
 * テンプレートのタブレット用 CSS
 */


/* 変数 */
:root {
	--logoHeight-TBPC: 30px;
}

/* ヘッダー */
#HEAD {
    margin: 0;
}

#HEADRCONTENTS {
    height: 137px;
    background: url(../images/hd_bg2.webp);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
}

#HDBTN, #HDLOGO {
	width: auto;
}

#HDBTN {
    width: 30vw;
    top: 3vh;
}


#HDLOGO {
    height: 100px;
    padding-bottom: 18px;
    margin-bottom: var(--contentsPaddingSide);
}

/* グローバルナビゲーション */
@media (max-width: 1023.9px){
	#GNAVI {
		font-size: .8em;
	}
}
#GNAVICONTENTS01 .gNavi>a {
	color: var(--linkColor);
}
#GNAVICONTENTS01 .gNavi:hover>a {
	color: var(--linkColor-hover);
	background-color: #F0F0F0;
}
#GNAVICONTENTS01 a:before {
	content: '';
	visibility: hidden;
	opacity: 0;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: -1;
	transition: all .2s ease;
}
#GNAVICONTENTS01 a:hover:before {
	visibility: visible;
	opacity: 1;
	background-color: #e9e9e9;
}
#GNAVICONTENTS01 .gnaviContents > .gNavi > a:before {
	content: none;
}
#GNAVICONTENTS01 .sub-menu {
	display: flex;
	visibility: hidden;
	opacity: 0;
	transition: all 0s linear;
}
body.DCL #GNAVICONTENTS01 .sub-menu {
	transition: opacity .5s ease;
}
#GNAVICONTENTS01 .sub-menu.open {
	visibility: visible;
	opacity: 1;
}

/* グローバルナビ 動的背景対応 */
#GNAVICONTENTS01 {
	transition: background-color .6s cubic-bezier(.19,1,.22,1);
	padding-left: 10px;
	padding-right: var(--contentsPaddingSide);
	margin-right: calc(-1 * var(--contentsPaddingSide));
}
@media (min-width: 1400px){
	#GNAVICONTENTS01 {
		padding-right: calc((100vw - var(--PC_common_width)) / 2);
		margin-right: calc(-1 * (100vw - var(--PC_common_width)) / 2);
	}
}


/* サブページティザー */
.pageClassSubpage #sub_TH_ImgTitle {
	background-image: url("../images/top_slide_02.webp");
	background-position: center;
}


/* フッター */
#FOOTER {
	padding-bottom: 30px;
}
#FOOTER {
	--linkColor: #000000;
	padding-bottom: 30px;
}


.foot_info {
    display: flex;
    flex-direction: row;
    padding: 20px 0;
    gap: 25px;
    justify-content: space-around;
}

.footmap {
	width: 400px;
}

.sp_center {
    text-align: left;
    margin-bottom: 2em;
}



/* トップページ */
.STORY .bnrBox,
.PHOTO_GALLERY .bnrBox,
.PLAN .bnrBox {
	grid-template-columns: repeat(2, 1fr);
}
.STORY .bnrImg,
.PHOTO_GALLERY .bnrImg,
.PLAN .bnrImg {
	height: 230px;
	overflow: hidden;
}
.STORY .bnrImg img,
.PHOTO_GALLERY .bnrImg img,
.PLAN .bnrImg img{
	height: 100%;
	width: 100%;
	object-fit: cover;
	background-position: center;
}
.STORY .bnrContent .bottomBox,
.PHOTO_GALLERY .bnrContent .bottomBox {
	display: flex;
	flex-flow: column;
	flex: 1 0 auto;
	justify-content: space-evenly;
}

.PLAN .bnrContent .bottomBox {
    display: flex;
    flex-flow: column;
    flex: 1 0 auto;
    justify-content: space-evenly;
    margin: 30px auto;
}

.STORY .bnrContent .bottomBox .txtBox,
.PHOTO_GALLERY .bnrContent .bottomBox .txtBox,
.PLAN .bnrContent .bottomBox .txtBox {
	flex: 1 0 auto;
}


.kome_midashi {
    padding-top: 110px;
    padding-bottom: 65px;
    color: #C5968B;
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    background-image: url(../images/100kome_midashi_frame.webp);
    background-size: auto;
    background-repeat: no-repeat;
}


.wing_midashi {
    width: 100%;
	height: 80px;
    padding-bottom: 15px;
    font-size: 2em;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}



.box {
	margin-bottom: 5em;
}


/* NEWSページ */
#NEWS .newsItem {
	grid-template-columns: 3fr 1fr;
	gap: 30px;
	border: 1px solid #d6d6d6;
}
#NEWS .newsItem .imgBox {
	order: 2;
	padding-right: 1px;
	padding-left: 0;
}
#NEWS .newsItem .txtBox {
	order: 1;
	display: grid;
	grid-template-columns: 1fr 4fr;
	align-items: center;
	gap: 30px;
	padding: 10px 0 10px 10px;
	font-size: 1em;
}
#NEWS .newsItem .date {
	text-align: center;
	padding-bottom: 0.4em;
}
#NEWS .imgBox img {
	/*border-radius: 0 3px 3px 0;*/
}



/* 売買物件情報 ページ */
.propertyInfoBox {
	grid-template-columns: repeat(2, 1fr);
}



/* 会社概要 ページ */
.companyInfoBox {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-left: auto;
	margin-right: auto;
}
.companyInfoBox .infoTableBox th {
	min-width: 4.5em;
}
.companyInfoBox .gmapBox {
	height: 100%;
}



/* BUSINESS ページ */
#BUSINESS .businessItem .layoutBox {
	grid-template-columns: 45% auto;
	gap: 20px;
}
#BUSINESS .imgBox img {
	height: 100%;
	object-fit: cover;
	object-position: center;
}



/* WORKS ページ */
#Plan .planItem .layoutBox {
	grid-template-columns: 45% auto;
	gap: 20px;
}
#Plan .planItem .txtBox > .title {
	font-size: 1.2em;
}
#Plan .imgBox img {
	height: 100%;
	object-fit: cover;
	object-position: center;
}


/* GALLERYページ */
.gallery-lists {
	grid-template-columns: 1fr 1fr 1fr; /* 3列 */
}

.gallery-list img {
	height: 30vh;
}


/* LINEにてお問い合わせボタン */
.button-rink_line, .button-rink_line:visited {
    width: 300px;
}




/* Campaign */
.tokuten_box {
	grid-template-columns: 1fr 1fr 1fr;
}