/*
Theme Name: Lightning Child Sample
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/
/* 全体設定 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

body,
p,
span,
li,
dt,
dd,
th,
td,
a {
  font-family: "NumberFont", "Noto Sans JP", YuGothic, "游ゴシック",
               "Hiragino Kaku Gothic ProN", "Hiragino Sans",
               Meiryo, sans-serif !important;
}
h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.page-header-title {
  font-weight: normal !important;
	font-weight: 500;
}

.global-nav-name {
  font-weight: normal !important;
	letter-spacing: 0.05em;
}
#breadcrumb{
	display:none;
}
/*footer-menu */
.site-footer .widget_nav_menu li a {
  transition: color 0.3s ease;
}
.site-footer .widget_nav_menu li a:hover {
   color:#ccc;
}

/* thumbnail */
.vk_post_imgOuter {
    background-image: url('/wp-content/themes/lightning-child-sample/images/noimage.jpg');
    background-size: cover;
    background-position: center;
    min-height: 200px;
}

/* ===============================
   ホーム
================================= */
.home .site-body-container {
  max-width: 1320px;
  margin: 0 auto;
}

.site-footer-copyright p:nth-child(2) {
	display:none;
}
.swiper-pagination,
.ltg-slide-button-prev.swiper-button-prev.swiper-button-white,
.ltg-slide-button-next.swiper-button-next.swiper-button-white{
	display:none;
}
/* ======== 強みセクション ======== */
.home-about .wp-block-columns .wp-block-column{
    width: 100% !important;
    max-width: 900px !important;
  margin: 0 auto;
	line-height: 1.9;
}

/* カード全体を縦flexにする */
.our-services .wp-block-column {
  display: flex;
  flex-direction: column;
}

/* テキスト部分を伸ばす */
.our-services .wp-block-column p {
  flex-grow: 1;
}

/* 画像を下に固定 */
.our-services .wp-block-image {
  margin-top: auto;
}

/* =========   取り扱い物件セクション =========== */

/* セクションは画面フル幅 */
.home .property-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 60px 0;
}

/* グリッド本体（中身は1320px） */
.home .property-section 
.wp-block-post-template.is-layout-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  gap: 0 !important; /* ← 途切れ防止 */
}

/* 各カード */
.home .property-section 
.wp-block-post-template.is-layout-grid > li {
  position: relative;
  padding: 60px 40px;
  margin: 0 !important;
}

/* ===== フル幅 横線 ===== */

/* 下線 */
.home .property-section 
.wp-block-post-template.is-layout-grid > li::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  bottom: 0;
  border-bottom: 1px solid #e5e5e5;
}

/* 一番上の線（1行目だけ） */
.home .property-section 
.wp-block-post-template.is-layout-grid > li:nth-child(-n+2)::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: 0;
  border-top: 1px solid #e5e5e5;
}

/* ===== 中央の縦線 ===== */
.home .property-section 
.wp-block-post-template.is-layout-grid > li:nth-child(odd) {
  border-right: 1px solid #e5e5e5;
}

/* 画像 */
.home .property-section img {
  width: 100%;
  height: auto;
  display: block;
}

/* ヘッダーロゴ調整 */
.site-header-logo img {
	max-height: 90px !important;}

/* --- 最新の不動産一覧-- */
.home li.estate-property {
    margin-bottom: 36px !important;
	padding: 2rem;
}

.home .excerpt{
	flex-basis: 90% !important;
}

/* =====　物件画像ホバー拡大　==== */

/* 画像を囲う要素をクリップ */
.home .property-section 
.wp-block-post-featured-image {
  overflow: hidden;
}

/* 画像にトランジション */
.home .property-section 
.wp-block-post-featured-image img {
  transition: transform 0.6s ease;
}

/* ホバーで拡大 */
.home .property-section 
.wp-block-post-template > li:hover 
.wp-block-post-featured-image img {
  transform: scale(1.05);
}

/* リンクボタン */
.home .property-section .vk_button a {
	width: 80%;
	display: block;
	text-align: left;
	padding: 1.2rem 2rem;
	border: 1px solid #000;
	background: transparent;
	letter-spacing: 0.15em;
	transition: background 0s, color 0s;
	margin: 0 auto 2rem auto;
}

.property-section .vk_button a:hover {
 	background: #fff !important;
	box-shadow: none !important;
	border: 1px solid #000 !important;
}
.property-section .vk_button a:hover span,.property-section .vk_button a:hover i{
	color: #2D1717 !important;
}
.home .property-section .vk_button a:hover span, .home .property-section .vk_button a:hover .vk_button_link_after{
	transform: translateX(4px);
	transition: transform 0.2s ease;
}

/* エリアリンク無効化 */
.wp-block-post-terms a {
  pointer-events: none;
  color: inherit;
  text-decoration: none;
}

/* ==== 都道府県画像動き　==== */

.scroll-up .wp-block-image {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.scroll-up.show .wp-block-image {
  opacity: 1;
  transform: translateY(0);
}

.scroll-up.show .wp-block-image:nth-child(1) { transition-delay: 0.1s; }
.scroll-up.show .wp-block-image:nth-child(2) { transition-delay: 0.3s; }
.scroll-up.show .wp-block-image:nth-child(3) { transition-delay: 0.5s; }
.scroll-up.show .wp-block-image:nth-child(4) { transition-delay: 0.7s; }

/* ======　contact ======= */

/* カバーフル幅 */
.info-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* 白ボックス */
.info-box-detail div {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 60px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* タイトル */
.info-box h3 {
  font-size: 28px;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

/* スマホ */
@media (max-width: 768px) {
  .info-box {
    padding: 40px 20px;
  }
}

.info-box-detail div{
	padding: 10px 60px !important;
}

.info-box-detail div p {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ======　blog ======= */
.wp-block-latest-posts__list li{
	display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
}
.wp-block-latest-posts__list li a{
	margin-bottom: 0;
	flex-basis: 75%;
}
.wp-block-latest-posts__post-date{
	flex-basis: 8em;
}
/* ======　お問い合わせ ======= */
 .wpcf7 table,
 .wpcf7 table thead,
 .wpcf7 table tbody,
 .wpcf7 table tr,
 .wpcf7 table th,
 .wpcf7 table td{
	border:none !important;
}
.wpcf7-checkbox .wpcf7-list-item {
  display: block;
  margin-bottom: 8px;
}
 .wpcf7 th {
  vertical-align: middle !important;
}
.ast{
background-color: #ed2e2e;
    border-color: #ed2e2e;
    color: #fff;
    border-radius: 10px;
    font-size: 9px;
    padding: 2px 5px;
    margin-right: 5px;
}
.pp{
		text-align:center;
	}
.pp a{
	color:#3376b8;
}
.btn-submit{
  display: block;
  margin: 0 auto;
	margin:0 auto;
	text-align: center;
}
.btn-submit input{
  background: #1f1d1d;
  color: #fff;
  padding: 12px 30px;
  border: none;
  transition: 0.3s;
  width: 500px;
    height: 4rem;
    font-size: 16px;
}
input[type=submit]:not(:disabled):hover{
	color: #251211;
    background-color: #fff;
    border: 1px solid #251211;
}
.tel-area .vk_alert_icon_icon>i{
	    font-size: 40px;
}
.tel-area .vk_alert_icon{
  width: 20%;
}
.tel-area .vk_alert_content{
	padding-left: 2.75rem !important;
}
.tel-area{
	 max-width: 800px;
	background-color: #f5f5f5;
    border-color: currentColor;
}

@media screen and (max-width: 768px) {
  /* テーブル全体を縦並び */
 .wpcf7 table,
 .wpcf7 table thead,
 .wpcf7 table tbody,
 .wpcf7 table tr,
 .wpcf7 table th,
 .wpcf7 table td{
    display: block;
    width: 100%;
  }
 .wpcf7 table th{
	text-align: left;
}
	.tel-area .vk_alert_content{
	text-align:center;
}
	.tel-area .vk_alert_content{
	padding-left: 0rem !important;
}

  /* セルごとの余白調整 */
 .wpcf7 table th,
 .wpcf7 table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e5e5e5;
  }
 .wpcf7 table p{
	 margin-bottom: 0;
	}
}


/* ======　footer ======= */
.site-footer {
	background-color: #1f1d1d;
}
.site-footer h4{
	color: #cbcbcb;
	font-size:15px;
    padding-bottom: 10px;
}
.site-footer-content a,.site-footer-content p{
	color:#fff;
	font-weight: 100;
}
.site-footer-content .widget_nav_menu li a{
	padding-top: 1.5em !important;
    padding-bottom: 0.7em !important;
	padding-left:0;
}

.site-footer-content p{
	line-height: 26px;
}
.site-footer .wp-block-image {
    display: inline-block;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

.site-footer .wp-block-image:hover {
    transform: scale(1.1);
}
.site-footer-copyright{
	color:#fff;
}

/* ===============================
  　　　　 会社概要
================================= */
.about-table{
	max-width: 850px;
    margin: 0 auto;
}

.about-table td:first-child{
	background-color:#e7ebf3;
}
.about-table td, .about-table tr{
	    border: unset !important;
}

.about-table td:first-child{
	padding: 1.5em;
}

.about-table td:nth-child(2){
	padding: 2.5em;
}

/* ===============================
  　　　　各固定ページ共通
================================= */
body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
}
/* h1, h2, h3 {
  font-family: 
    "Yu Mincho", 
    "Hiragino Mincho ProN", 
    "Noto Serif JP", 
    serif;
  font-weight: 500;
  letter-spacing: 0.05em;
} */

.page-id-141 h1,
.page-id-143 h1,
.page-id-114 h1,
.page-id-9 h1{
    text-align: left;
    font-size: 1rem;
    color: #5d5d5d;
}
.page-id-141 .page-header-inner,
.page-id-143 .page-header-inner,
.page-id-114 .page-header-inner,
.page-id-9 .page-header-inner{
	    padding-top: 2.5rem;
}
.page-id-141 .site-body,
.page-id-143 .site-body,
.page-id-114 .site-body,
.page-id-9 .site-body{
	padding-top:0;
	padding-top: 0rem;
}
/* ===============================
  　　　　 建築・リフォーム
================================= */

/* ===============================
 　　　　不動産一覧ページ
================================= */

.city .wp-block-cover__background.has-background-dim {
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

.city .wp-block-cover__background.has-background-dim:hover {
  opacity: 0 !important;
}


.wp-block-cover {
  overflow: hidden;
}

.wp-block-cover__image-background {
  transition: transform 0.6s ease;
}

.wp-block-cover:hover .wp-block-cover__image-background {
  transform: scale(1.05);
}

/* ===============================
 　　おすすめ不動産詳細ページ
================================= */

.single-estate-property .page-header{
	display:none;
}
.single-estate-property .entry-meta{
	display:none;
}
.single-estate-property h1{
	    font-size: 25px;
}
.single-estate-property h2{
	font-size:16px;
}
.n2-section-smartslider{
	max-width: 850px;
    margin: 0 auto;
}
iframe.lazyloaded {
    width: 100%;
}

.single-estate-property iframe+.wp-block-columns .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.single-estate-property iframe+.wp-block-columns .wp-block-image{
  width: 100% !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/* ===============================
 　　事例詳細ページ
================================= */

.single-works .entry-meta{
	display:none;
}

/* ========スマホ対応============ */
@media (min-width: 1200px) {
   .home .site-body {
        padding-bottom: 0;
    }
}
/* ===============================
   取り扱い物件セクション
================================= */
@media (max-width: 768px) {

  /* 1列に変更 */
  .home .property-section 
  .wp-block-post-template.is-layout-grid {
    grid-template-columns: 1fr !important;
  }

  /* 縦線を消す */
  .home .property-section 
  .wp-block-post-template.is-layout-grid > li {
    border-right: none !important;
  }

  /* 上の線を1件目だけに変更 */
  .home .property-section 
  .wp-block-post-template.is-layout-grid > li:nth-child(-n+2)::before {
    content: none;
  }

  .home .property-section 
  .wp-block-post-template.is-layout-grid > li:first-child::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    top: 0;
    border-top: 1px solid #e5e5e5;
  }
	
  .home .property-section 
  .wp-block-post-template.is-layout-grid > li {
    padding: 40px 20px;
  }

}
