/*
 Theme Name:   housoku_lp2
 Description:  Housoku LP2 Theme
 Author:       広伸
 Author URI:   http://ad-koushin.co.jp
 Template:     twentytwentyone
 Version:      1.0.2
*/


/*-----------------------------------
body
------------------------------------*/
div.container-fluid{
padding-right:0;
padding-left:0;
}

/*----------------------------
共通リンクデコレーション
-----------------------------*/
a:link,
a:visited,
a:active,
a:focus ,
a:hover{
      color: #fff!important;
      text-decoration: none!importants;
}

/*-----------------------------------
ヘッダー
------------------------------------*/
header{
width:100%;
padding:0;
margin:0;
}

header div.header_bk img{
width:40%;
margin:5px 10px;
}


/*-----------------------------------
物件タイプ、間取
------------------------------------*/
#bukken {
background-color:#000;
color:#fff;
padding:5px;
font-size:0.8em;
}



/*-----------------------------------
物件住所
------------------------------------*/
#place {
color:#000;
padding:5px;
font-size:1em;
text-align:center;
font-weight:bold;
margin-top:5px;
}

@media screen and (min-width: 36em) {
#place {
font-size:1.2em;
}
}

@media screen and (min-width: 48em) {
#place {
font-size:2em;
}
}

/*-----------------------------------
 360°動画
------------------------------------*/
#main_visual{
width:100%;
text-align:center;
padding:0 auto;
}

/*-----------------------------------
 メインビジュアル
------------------------------------*/

/* メインビジュアル：画像比率に応じて中央トリミング */
#main_visual.main-visual {
	width: 100%;
	max-width: 958px;
	height: 400px;
	margin: 0 auto;
	overflow: hidden;
}
#main_visual.main-visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

/*----------------------------
イベント日時
-----------------------------*/
div#date{
background-color:#ff0000;
color:#fff;
font-size:1.4em;
font-weight:bold;
text-align:center;
}

div.date-box{
clear:both;
display:block;
padding:0.5em 0;
}

div.prefix{
width:100%;
font-size:1.2em;
line-height:1em;
letter-spacing:0.05em;
padding-bottom:0.2em;
}

div.e_title{
width:100%;
font-size:1.8em;
line-height:1.1em;
letter-spacing:0em;
padding-bottom:0.2em;
}



div.e_date{
clear:both;
width:100%;
line-height:1em;
letter-spacing:-0.1em;
margin-bottom:0;
padding-bottom:0.2em;
}

div.e_date span.week{
margin-left:-0.5em;
font-size:0.7em;
}

div.e_time{
clear:both;
width:100%;
line-height:1em;
font-size:0.9em;
margin:0;
padding-bottom:0.2em;
}

div.att_text{
font-size:0.7em;
}


@media screen and (min-width: 424px) {
div#date{
font-size:1.5em;
}
}

@media screen and (min-width: 492px) {
div#date{
font-size:1.8em;
}
}

/* 日付エリアのBootstrap rowによる横はみ出しを防ぐ */
#date .row.date-box {
	margin-right: 0;
	margin-left: 0;
}

/*-----------------------------------
 キャッチコピー
------------------------------------*/
#copy {
color:#000;
padding:5px 0;
font-size:1em;
text-align:center;
font-weight:bold;
margin-top:20px;
}

@media screen and (min-width: 36em) {
#copy {
font-size:1.2em;
}
}

@media screen and (min-width: 48em) {
#copy {
font-size:2em;
}
}


/*-----------------------------------
 リード文
------------------------------------*/
#lead {
display:block;
color:#333;
padding:0 15px;
font-size:0.8em;
line-height: 1.8em;
margin-top:20px;
text-align:center;
}

#lead p {
text-align: justify;
}

@media screen and (min-width: 36em) {
#lead {
font-size:1em;
}
}
@media screen and (min-width: 48em) {
#lead {
font-size:1.6em;
}
}



/*-----------------------------------
 間取図
------------------------------------*/

#roomplan{
margin-top:50px;
margin-bottom:20px;
padding:0 7%;
text-align:center;
}

#roomplan img{
width:100%;
max-width:740px;
margin:5px 0;
}

/*-----------------------------------
 スライダー
------------------------------------*/

#slider{
display:block;
margin:50px 10px 20px;
padding:0 auto;
text-align:center;
}

/*-----------------------------------
 googleマップ
------------------------------------*/
div#map {
display:block;
margin:50px 10px 20px;
padding:0 auto;
text-align:center;
}

.acf-map {
    width: 100%;
    height: 300px;
    border: #ccc solid 1px;
}

// Fixes potential theme css conflict.
.acf-map img {
   max-width: inherit !important;
}



/*-----------------------------------
 物件概要表組
------------------------------------*/
div#list {
display:block;
margin:50px 10px 20px;
padding:0 auto;
}

div#list h3{
display:block;
width:100%;
min-width:300px;
max-width:740px;
font-size:0.8em;
margin-left:0.5em;
margin-bottom:0.5em;
}


div#list table{
clear:both;
font-size:0.7em;
width:100%;
min-width:300px;
max-width:740px;
}
div#list table tr{
border-bottom:solid 1px #666;
}

div#list table tr:first-child{
border-top:solid 1px #666;
}


div#list table th{
background-color:#eee;
color:#333;
border:none;
white-space: nowrap;
}

div#list table td{
border:none;
}

/*----------------------------
 お問い合せボタン
----------------------------*/
#toi{
margin:0;
}

div.toi_but{
background-color:#aa0000;
color:#fff!important;
border-bottom: solid 2px #880000;/*少し濃い目の色に*/
font-size:1em;
padding:0.5em 1.5em;
display:inline-block;
margin:2em 0;
text-align:center;
text-decoration: none;
border-radius: 5px;/*角の丸み*/
box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
font-weight: bold;
}

div.toi_but:hover,
div.toi_but:active {
background-color:#bb0000;
border-bottom: solid 2px #990000;
box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
-webkit-transform: translateY(2px);
transform: translateY(2px);
}

@media screen and (min-width: 424px) {
div.toi_but{
font-size:1.1em;
padding:1em 1.8em;
}
}

@media screen and (min-width: 492px) {
div.toi_but{
font-size:1.2em;
padding:1em 2em;
}
}

/*-------------
フッター
-------------*/

footer{
background-color:#000;
padding-top:10px;
padding-bottom:170px;
}


footer img.ft_logo{
margin:2em 0 0 0;
max-width:500px;
}

footer div.container{
text-align:center;
color:#fff;
}

footer p.ft-tex1{
font-size:1em;
font-weight:bold;
letter-spacing:0.3;
}

footer p.ft-tex2{
font-size:0.7em;
letter-spacing:0.2;
line-height:1.6;
margin:1em 0 0 0;
}

footer p.ft-tex3{
font-size:0.7em;
letter-spacing:0.2;
line-height:1.6;
margin:0;
}

footer p.ft-tex3 span.co-other-text{
font-size:0.7em;
letter-spacing:0;
line-height:1.4;
display:block;
margin-top:-0.4em;
}


footer p.ft-tex4{
font-size:0.7em;
line-height:1.6;
margin:0;
}


div.sns-btn{
margin-top:30px;
}

@media screen and (min-width: 424px) {
footer p{
font-size:1.0em;
}
}

@media screen and (min-width: 492px) {
footer{
font-size:1.2em;
}
}

/*------------------
フッターSNSボタン
--------------------*/

/* ボタン全体 */
.flowbtn17{
border-radius:50%;
position:relative;
display:inline-block;
width:50px;
height:50px;
font-size:30px;
text-decoration:none;
transition:.5s;
background-color:#444;
color:#fff!important;
}
/* ボタンマウスホバー時のテキスト指定 */
.flowbtn17:hover{
text-decoration:none;
}
/* アイコンをど真ん中に */
.flowbtn17 i{
position:absolute;
top:50%;
left:50%;
-ms-transform:translate(-50%,-50%);
-webkit-transform:translate(-50%,-50%);
transform:translate(-50%,-50%);
}
/* Twitterマウスホバー時 */
.flowbtn17.fl_tw2:hover{
background:linear-gradient(135deg, #13f1fc 0%,#0470dc 100%);
}
/* Instagramマウスホバー時 */
.flowbtn17.insta_btn2:hover{
background:-webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
background:linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;		
}
/* Facebookマウスホバー時 */
.flowbtn17.fl_fb2:hover{
background:-webkit-linear-gradient(top, #5c80c6 0%, #34528c 74%);	
background:linear-gradient(to bottom, #5c80c6 0%, #34528c 74%);
}

/* YouTubeマウスホバー時 */
.flowbtn17.fl_yu2:hover{
background:linear-gradient(135deg, #f5515f 0%,#c9293c 100%);
}
/* LINEマウスホバー時 */
.flowbtn17.fl_li2:hover{
background: linear-gradient(135deg, #3a9278 0%,#00c300 100%);
}

/* ulタグの内側余白を０にする */
ul.snsbtniti{
padding:0!important;
list-style-type:none!important;
margin:0;
}
/* ボタン全体の位置 */
.snsbtniti{
display:flex;
flex-flow:row wrap;
justify-content:flex-start;
}
/* ボタン同士の余白 */
.snsbtniti li{
margin:10px;
text-align:center !important;
}
/* ボタンにマウスを乗せた時 */
.flowbtn7:hover{
-webkit-transform:translateY(-5px);
-ms-transform:translateY(-5px);
transform:translateY(-5px);
}
/* X（旧Twitter）マウスホバー時 */
.flowbtn17.fl_tw2:hover {
	background: #000;
}

/* Xアイコンをボタン中央に配置 */
.flowbtn17 .x-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.78em;
	height: 0.78em;
	fill: currentColor;
	-ms-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
.flowbtn17:hover {
	-webkit-transform: translateY(-5px);
	-ms-transform: translateY(-5px);
	transform: translateY(-5px);
}
.flowbtn17.fl_tw2:hover {
	background: #000;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55);
}

/* 来場予約・固定ボタン */
.lp-reserve {
	position: fixed;
	left: 2%;
	bottom: 10px;
	z-index: 900;
	padding: 1em 2em;
	border-radius: 10px;
	background-color: rgba(241, 207, 0, 0.7);
	color: #000!important;
	text-align: center;
	transition: background-color .3s;
}

.lp-reserve a {
	color: inherit;
	text-decoration: none !important;
}

.lp-reserve .res1,
.lp-reserve .res2 {
	display: inline-block;
	margin: 0;
	padding: 0;
	font-weight: bold;
}

.lp-reserve .res1 {
	margin-bottom: 10px;
	font-size: 1.2em;
}

.lp-reserve .res2 {
	font-size: 1.8em;
}

.lp-reserve:hover {
	background-color: rgba(248, 225, 0, 0.9);
}
.lp-reserve,
.lp-reserve a,
.lp-reserve a:visited {
	color: #000 !important;
}

.lp-reserve a:hover {
	color: #000 !important;
	text-decoration: none;
}
/* モバイルでは画面下部いっぱいに固定 */
@media screen and (max-width: 48em) {
	.lp-reserve {
		right: 0;
		bottom: 0;
		left: 0;
		padding: .5em 0 calc(1em + env(safe-area-inset-bottom));
		border-radius: 0;
		background-color: rgba(241, 207, 0, 1);
	}

	.lp-reserve .res1 {
		margin-bottom: 8px;
		font-size: 1.1em;
	}

	.lp-reserve .res2 {
		font-size: 1.5em;
	}

	/* 固定ボタンが本文末尾を隠さないための余白 */
	body.single-mblp2 {
		padding-bottom: 120px;
	}
}


/* mblp2のみ：PCでもスマホ幅のLPとして中央表示 */
@media screen and (min-width: 768px) {
	body.mblp2-page {
		padding-bottom: 120px;
		background: #f3f3f3;
	}

	body.mblp2-page .lp-wrap {
		width: 390px;
		max-width: 100%;
		margin: 0 auto;
		overflow: hidden;
		background: #fff;
		box-shadow: 0 0 16px rgba(0, 0, 0, 0.12);
	}

	/* PC幅時に有効になる文字拡大を、スマホ用のサイズへ戻す */
	body.mblp2-page #place {
		font-size: 1em;
	}

	body.mblp2-page #date {
		font-size: 1.4em;
	}

	body.mblp2-page #copy {
		font-size: 1em;
	}

	body.mblp2-page #lead {
		font-size: 0.8em;
	}

	body.mblp2-page div.toi_but {
		padding: 0.5em 1.5em;
		font-size: 1em;
	}

	body.mblp2-page footer {
		font-size: 1rem;
	}

	/* 固定予約ボタンもLP本体と同じ横幅・位置にする */
	body.mblp2-page .lp-reserve {
		right: auto;
		bottom: 0;
		left: 50%;
		width: 390px;
		max-width: 100%;
		padding: 0.5em 0;
		border-radius: 0;
		background-color: rgba(241, 207, 0, 1);
		transform: translateX(-50%);
	}

	body.mblp2-page .lp-reserve .res1 {
		margin-bottom: 8px;
		font-size: 1.1em;
	}

	body.mblp2-page .lp-reserve .res2 {
		font-size: 1.5em;
	}
}