/*
Theme Name: 不動産テーマ
Theme URI: 
Template: lightning
Description: 
Author: 
*/
:root{
    --vk-margin-block-bottom: 1rem;
}
/*基本レイアウト*/
.site-body.site-body--base--on {
    padding: 0rem 0 3.5rem;
}
.grecaptcha-badge { visibility: hidden; }
@media (min-width: 992px) {
    .main-section--col--two {
        width: 750px;
			padding:0;
				padding-left:10px;
    }
}
@media (min-width: 992px) {
    .sub-section--col--two {
        width: 210px;
			padding:0;
				padding-right:10px;
        float: right;
    }
}
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
}
.page-header{
    display: none;
}
.vk_posts {
    margin-left: 0; 
    margin-right: 0; 

}
/*Hタグ*/
.is-style-heading-origin1 {
        background: linear-gradient(to bottom, #ffffff 0%, #f1f1f1 50%, #e1e1e1 51%, #f6f6f6 100%);
        border: 1px solid #ccc;
        border-bottom: 2px solid #42A5FF;
        padding: 5px 0 0 10px;
        font-size: 1.2rem;
        font-weight: normal;
}
/* クラス is-style-heading-origin2 のスタイル定義 */
.is-style-heading-origin2 {
    position: relative; /* アイコンを左側に配置するために相対位置を設定 */
    color: #000; /* 文字色を黒に設定 */
    border:0px;
    border-bottom: 1px solid #42A5FF; /* 緑色の下線を設定 */
    padding-left: 20px; /* アイコン分のスペースを確保 */
    font-weight: bold; /* 太字を追加（任意） */
}

.is-style-heading-origin2::before {
    content: ''; /* テキストなし */
    position: absolute; /* 絶対位置で配置 */
    left: 0; /* テキストの左端に配置 */
    top: 50%; /* テキストの垂直中央に配置 */
    transform: translateY(-50%); /* 中央に合わせて調整 */
    border-top: 5px solid transparent; /* 上と下の透明な三角形 */
    border-bottom: 5px solid transparent;
    border-left: 7px solid red; /* 左側に赤い三角形 */
}
/*イメージにフレーム*/
.photo_frame {
    margin: 0 2px 3px;
    border: 1px solid #CCC;
    padding: 1px;
    background: #FFF;
    color: inherit;
}
/*登録日・更新日・投稿者情報を非表示*/
span.entry-meta-item.entry-meta-item-date{display: none;}
span.entry-meta-item.entry-meta-item-updated{display: none;}
span.entry-meta-item.entry-meta-item-author{display: none;}

/*フッター*/
.pcdr_footer_menu {
    font-size: 0.9rem;
}
.pcdr_footer_menu a{
  text-decoration:none;
}
.pcdr_footer_menu li{
  list-style-type:none;
  padding:0;
  margin:.4rem;

}
/*TOPメニュー*/
.h_navi_b {
    /*height: 50px;*/
    /*width: 100%;*/
    background: linear-gradient(to bottom, #ffffff 0%, #f1f1f1 50%, #e1e1e1 51%, #f6f6f6 100%);
    border-top: 1px solid #ccc;
    border-bottom: 2px solid #42A5FF !important;

}


.breadcrumb{
    border: 0px;
}

/*TOPスライダー幅*/
@media (min-width: 980px) {
  .ltg-slide picture,
  .ltg-slide .swiper-slide>a,
  .top-slider-page-content {
    max-width:var(--vk-width-container);
    display: block;
    margin: 0 auto;
  }
  .ltg-slide-text-set {
    max-width:var(--vk-width-container);
    padding: 0 15px;
  }
}
/*ピックアップ物件*/
.mcdr_pickup_qery_loop p{
    margin-bottom:0;
}
.picup-title{
    border-bottom: 1px dotted #cc0000;
    color:#cc0000;
}

/*オススメ物件*/
.recommend_price::before {
    content: "";
    display: inline-block;
    width: 12px; 
    height: 12px;
    background-image: url('/wp-content/uploads/2024/08/chin_icon.gif');
    background-size: cover;
    margin-right: 8px; 
    vertical-align: middle; 
}
.recommend_madori::before {
    content: "";
    display: inline-block;
    width: 12px; 
    height: 12px;
    background-image: url('/wp-content/uploads/2024/08/ma_icon.gif');
    background-size: cover;
    margin-right: 8px; 
    vertical-align: middle; 
}


        @media (max-width: 1024px) {
            .wp-block-query .wp-block-post-template {
                grid-template-columns: repeat(3, 1fr) !important; /* タブレットで2カラム */
            }
        }

        @media (max-width: 768px) {
            .wp-block-query .wp-block-post-template {
                grid-template-columns: repeat(2, 1fr) !important; /* モバイルで2カラム */
            }
        }

/*物件詳細***************/

/*スライダー*/
.slider-for{
margin-bottom:10px
}
.slider-for .slick-slide img{
	width:auto;
	height:50vw;
	object-fit:contain;
	max-height:560px;
	min-height:300px;
	margin:0 auto;
}
.slick-next:before, .slick-prev:before {
	    color: #2a2a4b;
}
.slider-nav .slick-list{
	margin:0 25px;
}
.slider-nav .slick-next{
	right:0;
}
.slider-nav .slick-prev{

	left:0;
}
.slider-nav .slick-slide{
	padding:0 2.5px;
}
.slider-caption{
    text-align: center;
}
/*バッジ*/
.watermark-badge {
    position: absolute;
    bottom: 10px; /* デフォルトは右下 */
    right: 10px;
    padding: 5px 10px;
    color: #fff; /* テキストの色は白に設定 */
    font-size: 2.5rem;
    font-weight: bold;
    border-radius: 3px;
    z-index: 10;
    opacity: .85;
    box-shadow: 0px 0px 5px -5px #000000;
}

.watermark-badge-list {
    position: absolute;
    top: -3px;
    right: -3px;
    bottom: auto;
    left: auto;
    padding: 2px 5px;
    color: #fff; /* テキストの色は白に設定 */
    font-size: .8rem;
    border-radius: 3px;
    z-index: 10;
    opacity: .85;
    box-shadow: 0px 0px 5px -5px #000000;
}
.recommend-img-groupe{
    position:relative;
}
.watermark-bardge-recommend{
    display: inline-block;
    position: absolute;
    top: 3px;
    right: -3px;
    bottom: auto;
    left: auto;
    padding: 2px 5px !important;
    color: #fff; /* テキストの色は白に設定 */
    font-size: 1rem;
    border-radius: 3px;
    z-index: 10;
    opacity: 0.95;
    box-shadow: 0px 0px 5px -5px #000000;
}
/* 表示位置を切り替えるクラス */
.watermark-badge.left-top {
    top: 10px;
    left: 10px;
    bottom: auto;
    right: auto;
}

.watermark-badge.right-top {
    top: 10px;
    right: 10px;
    bottom: auto;
    left: auto;
}

.watermark-badge.left-bottom {
    bottom: 10px;
    left: 10px;
    top: auto;
    right: auto;
}

	/*GoogleMap*/

.acf-map {
    width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0;
}

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




   
   /****************************** 物件 **************************/

   .gn_view_head{
   margin:0;
   color:#000;
   padding:0 10px;
   font-size:30px;
   font-weight:normal;
   margin-bottom:5px;
   }
   .gnn_cat_box {
       margin: 15px 0;
       border: 5px solid #ebebeb;
       padding: 10px 25px;
   }
   .gnn_cat1 {
               width: 195px;
               float: left;
               padding: 10px 10px;
               text-align: left;
   }
   
   .gnn_cat1 a{
               background:url(/uploads/myalbum/img/153.png) no-repeat left center;
               padding-left:15px;
               text-decoration:none;
               color:#333;
               text-shadow: 1px 1px 0px rgb(255, 255, 255);
   }
   .gnn_cat1 a:hover{color:#009999;position: relative; top:1px; left: 1px;}
   
   .gn_head_p1 {
       
    border: 1px solid #FFFFFF;
    color: #1d1d1d;
    line-height: 1.6em;
    padding: 5px;
    text-align: center;
    background: linear-gradient(to bottom,  #f8ffe8 0%,#e3f5ab 33%,#b7df2d 100%);
    font-size: 1rem;
    /*text-shadow: 1px 1px #ccc;*/
   }
   
   .td_fixed1 {width:120px;}
   .td_fixed4 {width:60px;}
   .td_fixed5 {width:15%;}




   
   #price,.price {
       color:#FF0000;
       font-weight:bold;
       font-size:1.5rem;
   }
   
   .gn_itemheader_price{
    text-align: center;
   }
   .gn_desc{
    padding:20px 10px;margin:20px 0;border:5px solid #ccc;
   }
   
   .gn_head {
    background: #ededed;
    border: 1px solid #330000;
    color: #000000;
    line-height: 1.6em;
    padding: 5px 0 4px;
    text-align: center;
    text-shadow: 1px 1px 0 #fff;
}

   
   @media print{
    .h_navi,
    .breadcrumb,
    .entry-meta,
    .sub-section,
    .next-prev,
    .site-footer,
    .entry-meta-data-list,
    .gn_print_btn_section,
    .entry-body{
        display: none !important;
    }
   }

   /*----common----*/
   
    
   #gn_desc {
       text-align:left;
       margin:4px;
   }
   
      
   .gn_outer {
       border:solid 1px #ccc;
       border-collapse: collapse;
       padding:4px 4px 4px 2px;
   }
   .gn_outer td{
       vertical-align:middle;
       border:solid 1px #ccc;
   }
   
   
   tr.gn_odd_tr_g {background-color:#f9f9f9;}
   
   
   tr.gn_odd_tr_g:hover,tr.gn_odd_tr:hover{
   background-color:#FFFF99;
   }
   
   .gn_odd {
       font-size:1rem;
       line-height:1.6em;
       padding:2px 2px 2px 5px;
       text-align:center;
   }
   .gn_oddpriceline {
       font-size:85%;
       line-height:1.6em;
       padding:2px 2px 2px 5px;
       text-align:center;
   
   }
   

   a.pickup_a{
       text-decoration:none;
       color:#333;
   }
   
   .pickup_card{
       padding:10px;
       border:1px solid #ccc;
       margin-bottom:10px;
   
   }
   
   .pickup_r{
       margin-left: 330px;
   }
   
   .pickup_card:hover{
   
   }
   .pickup_card　img{
   max-height:120px;
   width:190;
   }
   .pickup_photo{
       float:left;
       padding-right:10px;
       width:190px;
   }
   
   .pickup_ttl {
   font-size: 28px;
   color: #000000;
   text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
   }
   .pickup_desc{
       padding:5px 20px;
   }
   
   .pcdr_ms_cell{
    text-align: left;
}
.pcdr_ms_cell table{
    border: 0;
}
.pcdr_ms_cell th, .pcdr_ms_cell td {
    border: 1px solid #ddd; /* セルの枠線を設定 */
    padding: 2.5px; /* セル内の余白を設定 */
    text-align: left; /* テキストを左揃え */
}

.pcdr_ms_cell th {
    background-color: #87bfe48c; /* 見出しの背景色を淡いグレーに設定 */
    font-weight: bold; /* 見出しの文字を太字に設定 */
    white-space: nowrap;
    text-align: center; /* テキストを左揃え */
    width:25%;
}


    .fds-loop-img{
        width: 100%; /* 横幅を100%に設定 */
    height: auto; /* 高さを自動調整 */
    aspect-ratio: 4 / 3; /* アスペクト比を3:4に設定 */
    object-fit: cover; /* 画像のアスペクト比を保持しながら、要素を埋める */
        }

/******************************/
/** コンタクトフォームの装飾 **/
/******************************/
/* フォーム全体 */
/* フォーム全体のスタイル */
#cf7-area {
    width: 100%;
    max-width: 600px; /* フォームの最大幅を設定 */
    margin: 20px auto; /* 上下に余白を設定し、中央寄せ */
    font-family: Arial, sans-serif; /* フォームのフォントを設定 */
    border: 1px solid #ddd; /* フォームの境界線 */
    border-radius: 5px; /* 角丸にする */
    padding: 20px; /* フォームの内側余白 */
    background-color: #f9f9f9; /* 背景色を設定 */
}

/* 各フォーム項目のスタイル */
.cf7-item {
    display: flex; /* 横並びに表示 */
    justify-content: space-between; /* 項目を左右に配置 */
    align-items: center; /* 項目を中央揃え */
    padding: 10px 0; /* 上下の余白 */
    border-bottom: 1px solid #ddd; /* 各項目の区切り線 */
}

.cf7-item:last-child {
    border-bottom: none; /* 最後の項目の下の線を削除 */
}

/* 質問部分のスタイル */
.cf7-q {
    width: 30%; /* 質問部分の幅を設定 */
    font-weight: bold; /* フォントを太字に */
    color: #333; /* 質問の文字色 */
}

/* 回答部分のスタイル */
.cf7-a {
    width: 65%; /* 回答部分の幅を設定 */
}

/* 入力フィールドのスタイル */
#cf7-area input[type="text"],
#cf7-area input[type="email"],
#cf7-area textarea {
    width: 100%; /* フィールドの幅を全幅に設定 */
    padding: 5px; /* フィールドの内側余白 */
    border: 1px solid #ccc; /* 境界線の色 */
    border-radius: 3px; /* 角丸にする */
    background-color: #fff; /* 背景色 */
}

/* 入力フィールドのフォーカス時のスタイル */
#cf7-area input[type="text"]:focus,
#cf7-area input[type="email"]:focus,
#cf7-area textarea:focus {
    border-color: #66afe9; /* フォーカス時の境界線色 */
    outline: none; /* デフォルトのアウトラインを削除 */
    box-shadow: 0 0 5px rgba(102, 175, 233, 0.5); /* フォーカス時の影を追加 */
}

/* 送信ボタンのスタイル */
.cf7-submit input[type="submit"] {
    display: block; /* ブロック要素として表示 */
    width: 100%; /* 幅を全幅に設定 */
    padding: 10px; /* ボタンの内側余白 */
    font-size: 1em; /* フォントサイズ */
    color: #fff; /* 文字色 */
    background-color: #CC3366; /* ボタンの背景色 */
    border: none; /* 境界線を削除 */
    border-radius: 5px; /* 角丸にする */
    cursor: pointer; /* カーソルをポインターに */
    transition: background-color 0.3s ease; /* ホバー時のトランジション */
}

/* 送信ボタンのホバー時のスタイル */
.cf7-submit input[type="submit"]:hover {
    background-color: #EAABC1; /* ホバー時のボタンの色 */
}

/*What's news*/
/* What's News セクションの基本スタイル */
.whats-news {
    margin: 20px 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #ddd;
}

.whats-news li {
    display: flex; /* フレックスボックスで横並びに */
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap; /* 要素を折り返し可能に */
}

.whats-news li:last-child {
    border-bottom: none; /* 最後のアイテムの下線を削除 */
}

.whats-news .news-date,
.whats-news .news-category {
    font-size: 0.9em;
    color: #888;
    white-space: nowrap; /* 日付が折り返されないように */
    min-width: 80px; /* 固定幅を設定 */
}

/* 各投稿タイプごとのカテゴリの配色 */
.whats-news .news-category {
    text-align: center;
    font-size: 0.85em;
    border: 1px solid #ccc;
    margin-right: 5px;
    margin-bottom: 2px;
    padding: 1px 3px 0 3px;
    border-radius: 3px;
    color: #333;
    background: #ffffff;
    background: linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
    text-shadow: 1px 1px 1px #fff;

}

.whats-news .news-category-chintai {
    color: #ff9800; /* 通常の投稿タイプの色 */
}

.whats-news .news-category-tochi {
    color: #4CAF50; /* 'ie' カスタム投稿タイプの色 */
}

.whats-news .news-category-ie {
    color: #2196F3; /* 'tochi' カスタム投稿タイプの色 */
}

.whats-news .news-category-post {
    color: #333; /* 'chintai' カスタム投稿タイプの色 */
}

.whats-news .news-title {
    font-size: 1em;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
   
}

.whats-news .news-title:hover {
    color: #ff9800; /* ホバー時の色 */
    text-decoration: underline;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .whats-news li {
        flex-direction: row; /* 横並びに変更 */
        align-items: center;
    }

    .whats-news .news-date,
    .whats-news .news-category {
        margin-bottom: 0;
    }

    .whats-news .news-title {
        flex-basis: 100%; /* タイトルリンクのみ改行 */
        margin-top: 5px;
    }
}

