/*物件の価格交渉もお任せ*/
.top-omakase-area{
	padding : 40px 0px 60px 0px;
	text-align : center;
	background : #fffef8;
}
.kuchikomi-umekomi{
	margin : 15px 0px;
}

@media screen and (max-width: 840px) {
.top-omakase-area{
	padding : 20px 15px 40px 15px;
	text-align : center;
	background : #fffef8;
}
}

/*口コミ埋め込み用*/
/* EmbedSocialを画面中央に */

.embedsocial-wrapper{
  width:100%;
  display:flex;
  justify-content:center;
	padding-left : 17%;
}

/***********************************
 * トップページCTA
 * *********************************/
.top-cta-area{
  background : #edf3f8;
  padding : 60px 0px;
}
.top-cta-box{
  max-width : 880px;
  margin : 10px auto;
  padding : 25px;
  border : 2px solid #2e8209;
  background : #ffffff;
  border-radius : 15px;
  box-sizing: border-box; /* 幅計算の安定化（余白は変えない） */
}

/* PC/SP出し分け（あなたの設計どおり） */
.pc{ display:block; }
.sp{ display:none; }

@media screen and (max-width: 840px){
  .pc{ display:none; }
  .sp{ display:block; }
}

/* 画像共通（潰れ・はみ出し防止） */
.top-cta-box img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* ボタン：PCは横並び2つ＋（SPは縦並びでTELも出る） */
.top-cta-btn{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0px auto;
  width: 100%;
  box-sizing: border-box;
}

/* ★ここが重要：PCで「画像2枚」を枠内に収める */
.top-cta-btn > img{
  width: calc((100% - 20px) / 2);
}

/* SP専用TEL（div.spの中のimg）はPCでは非表示、SPで出る */
.top-cta-btn > .sp{
  display:none; /* PCではTEL枠自体を消す */
}

@media screen and (max-width: 640px){
  .top-cta-area{
    background : #edf3f8;
    padding : 20px 0px;
  }
  .top-cta-box{
    width : auto;
    margin : 10px 15px;
    padding : 10px;
  }

  .top-cta-btn{
    flex-direction: column;
    gap: 2px;
  }

  /* SPでは2つのボタンも100%に */
  .top-cta-btn > img{
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  /* SPではTELボタンも表示して同じ幅に */
  .top-cta-btn > .sp{
    display:block; /* SPではTEL枠を出す */
  }
  .top-cta-btn > .sp img{
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}



/* ===============================
   お客様の声スライダー【CSS最終形】
   ※ JSは触らない
=============================== */

/* セクション */
.top-voice {
  padding: 60px 0;
}

/* 95%幅・右切れ防止 */
.top-voice-inner {
  width: 90%;
  margin: 0 auto;
  overflow: hidden;
}

/* Swiper */
.top-voice .swiper-slide {
  display: flex;
}

/* ===============================
   カード（高さ完全統一）
=============================== */
.top-voice-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  border : 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

/* 画像 */
.voice-image img {
  width: 100%;
  height: auto;
  object-fit: initial; 
	border-radius: 8px;
  display: block;
}

/* タイトル */
.voice-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;

  min-height: calc(1.4em * 2); /* ← ★これが肝 */
}


/* 名前 */
.voice-name {
  font-weight: 600;
  margin: 20px 0 10px 0;
  font-size : 13px;
}

/* テキスト（高さ吸収） */
.voice-text {
  font-size: 14px;
  line-height: 24px;
  flex-grow: 1;
  text-align : left;
}

/* ボタン */
.voice-btn {
  width: 100px;          /* ← 幅を固定 */
  margin: auto auto 0;   /* ← 下に揃えて中央寄せ */
  
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 13px;
  color: #fff;
  background: #444;

  padding: 6px 0;        /* 横paddingは使わない */
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
}

.voice-btn:hover{
	color : #fff;
}

/* ===============================
   矢印（黒半透明＋白）
=============================== */
.top-voice .swiper-button-prev,
.top-voice .swiper-button-next {
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
  background-image: none !important;
}

.top-voice .swiper-button-prev::after,
.top-voice .swiper-button-next::after {
  font-size: 18px;
  color: #fff;
  font-weight: bold;
}

.top-voice .swiper-button-prev::after { content: "◀"; }
.top-voice .swiper-button-next::after { content: "▶"; }

.top-voice .swiper-button-prev { left: 8px; }
.top-voice .swiper-button-next { right: 8px; }

/* ===============================
   スマホだけ：矢印二重 完全解決
=============================== */
@media (max-width: 768px) {

  /* Swiper標準の矢印（mask / icon）を殺す */
  .top-voice .swiper-button-prev,
  .top-voice .swiper-button-next {
    background-image: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  /* ::after をあなたの矢印で上書き固定 */
  .top-voice .swiper-button-prev::after,
  .top-voice .swiper-button-next::after {
    font-family: inherit !important;
    font-size: 18px !important;
    color: #fff !important;
    font-weight: bold !important;
    display: block !important;
  }

  .top-voice .swiper-button-prev::after { content: "◀" !important; }
  .top-voice .swiper-button-next::after { content: "▶" !important; }
}



/* ===============================
   ドット
=============================== */

/* Swiper本体に余白を作る */
.top-voice .top-voice-swiper {
  padding-bottom: 40px;
}

/* ドットを確実に下へ */
.top-voice .swiper-pagination {
  bottom: 0 !important;
}

.top-voice .swiper-pagination {
  display: none;
}

/* 自前ドット：サイズ最適化 */
.top-voice-dots {
  display: flex;
  justify-content: center;
  gap: 8px;          /* 間隔を詰める */
  margin-top: 0px; /* 下げすぎない */
}

.top-voice-dots button {
  width: 8px;       /* ← 小さく */
  height: 8px;      /* ← 小さく */
  border-radius: 50%;
  background: #bdbdbd;
  border: none;
  padding: 0;
  cursor: pointer;
}

.top-voice-dots button.is-active {
  background: #333; /* 目立ちすぎない濃グレー */
}



/* ===============================
   高さズレの最終修正（決定版）
=============================== */
.top-voice .swiper-wrapper {
  display: flex;
  align-items: stretch;
}


/* ===============================
   枚数制御（CSSのみ）
   PC：5枚固定・絶対に切れない
=============================== */
@media (min-width: 1024px) {
  .top-voice .swiper-slide {
    width: calc((100% - 20px * 4) / 5);
  }
}

/* スマホ：1枚 */
@media (max-width: 768px) {
  .top-voice {
    padding: 15px 0;
  }

  .top-voice .swiper-slide {
    width: 100%;
  }
}

/*************************************
 * 仲介手数料高いと思いませんか
 * **********************************/
.top-omoimasenka-area{
  background : #fffef8;
  padding : 30px 0px;
}
.top-omoimasenka-box{
  max-width : 880px;
  margin : 10px auto;
	text-align : center;
}
@media (max-width: 768px) {
.top-omoimasenka-area{
  background : #fffef8;
  padding : 10px;
}
.top-omoimasenka-box{
  width : auto;
  margin : 10px auto;
	text-align : center;
}	
}


/*************************************
 * トップページ口コミ
 * **********************************/
.top-kuchikomi-area{
  background : #fdf3eb;
  padding : 50px 0px;
}

@media (max-width: 768px) {
.top-kuchikomi-area{
  background : #fdf3eb;
  padding : 40px 0px 20px 0px;
}	
.review-slider {
  padding: 20px 0!important;
}
}

/*************************************
 * トップLINE相談
 * **********************************/
.top-line-soudan-area{
	background : #f7fef6;
	padding : 30px 0px;
	text-align : center;
	border-top : solid 3px #215b77;
	border-bottom : solid 3px #215b77;
}
@media (max-width: 768px) {
.top-line-soudan-area{
	padding : 30px 15px;

}
}

/*************************************
 * こんなご希望やお悩みありませんか？
 * **********************************/
.top-kibou-area{
	background : #ffffff;
	padding : 50px 0px 0 0;
	text-align : center;
}
.top-kibou-box{
  max-width : 880px;
  margin : 10px auto;
}

@media (max-width: 768px) {
.top-kibou-area{
	background : #ffffff;
	padding : 40px 0px 0 0;
	text-align : center;
}
.top-kibou-box{
  width : auto;
  margin : 10px 15px;
}
}

/*************************************
 * ５つの特徴
 * **********************************/
.top-tokutyou-area{
	background : #ffffff;
	padding : 0px;
}
.top-tokutyou-box{
  max-width : 880px;
  margin : 10px auto;
}
.top-tokutyou-box p{
	margin : 15px 0px;
	line-height : 180%
}

@media (max-width: 768px) {
.top-tokutyou-box{
  width : auto;
  margin : 10px 20px;
}
}

/*************************************
 * 住設あんしんサポート
 * **********************************/
	.top-anshinsupport-area{
	background : #ffffff;
	padding : 0px 15px 40px 15px;
}

/*************************************
 * お得になったお客様
 * **********************************/
.top-otokukyaku-area{
	background : #fefafc;
	padding : 30px 0px 10px 0px;
}
.top-otokukyaku-box{
	width : 1020px;
	margin : 0px auto;
}
.top-otokukyaku-box li{
	list-style : none;
	text-align : center;
	float : left;
	width : 50%;
}
.clear{
	clear : both;
}
@media (max-width: 768px) {
.top-otokukyaku-box{
	width : auto;
	margin : 20px 15px;
}
.top-otokukyaku-box li{
	list-style : none;
	text-align : center;
	float : none;
	width : auto;
}
}

/*************************************
 * 対応エリア
 * **********************************/
.top-taiou-area{
	background : #ffffff;
	padding : 50px 0px;
}
.top-taiou-box{
	width : 800px;
	margin : 20px auto;
	border : 3px solid #1c467d;
	padding : 20px 20px 0px 20px;
}
.top-taiou-box-in{
	width : auto;
}
.top-taiou-box-in li{
	float : left;
	width : 33%;
	text-align : center;
	list-style : none;
}
@media (max-width: 768px) {
.top-taiou-area{
	background : #ffffff;
	padding : 20px 0px 10px 0px;
}
.top-taiou-box{
	width : auto;
	margin : 20px 15px;
	padding : 15x;
}

.top-taiou-box-in li{
	float : left;
	width : 50%;
}
}

/*************************************
 * 一般的な不動産会社との違い
 * **********************************/
.top-chigai-area{
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 15px 15px; /* 格子の幅と高さを15pxに設定 */
    background-color: #fcfcfc; /* さらに薄いグレーの背景色 */
	padding : 40px 0px 40px 0px;
}
@media (max-width: 768px) {
.top-chigai-area{
	padding : 25px 0px 25px 0px;
}		
}
/*************************************
 * お客様の声（トップスライダー
 * **********************************/
.top-voice-area{
	background : #f6ffea;
	padding : 50px 0px;
}

@media (max-width: 768px) {
.top-voice-area{
	padding : 30px 0px;
}	
}
	
/*************************************
 *トップスタッフ
 * **********************************/
.top-staff-area{
	background : #ffffff;
	padding : 50px 0px;
}
	
/*************************************
 *トップ代表
 * **********************************/
.top-daihyou-area{
	background : #e5f2e8;
	padding : 20px 0px;
}
	.top-daihyou-box{
		max-width : 880px;
		background : #fff;
		margin : 20px auto;
		border : 1px solid #555151;
		border-radius : 15px;
		padding : 25px;
	}

@media (max-width: 768px) {
	.top-daihyou-box{
		width : auto;
		margin : 20px;
		padding : 15px;
	}	
	}

/*************************************
 *お引渡しの流れ
 * **********************************/
.top-flow-area{
	background : #fffef8;
	padding : 50px 0px;
}
	.top-flow-box{
		max-width : 1080px;
		margin : 20px auto;
		padding : 25px;
	}
@media (max-width: 768px) {
	.top-flow-box{
		width : auto;
		margin : 0px;
		padding : 15px;
	}	
	}
	/* フロー画像グリッド */
.top-flow-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC：3列 */
  gap: 20px;
	text-align : center;
}

/* 画像は枠いっぱい */
.top-flow-grid img{
  width: 100%;
  height: auto;
  display: block;
}

/* スマホ：1列 */
@media (max-width: 768px){
  .top-flow-grid{
    grid-template-columns: 1fr;
  }
}

/*************************************
 *よくある質問
 * **********************************/
.top-faq-area{
	background : #f3fcfc;
	padding : 50px 0px;
}

/* FAQ全体 */
.top-fax-box{
	max-width : 880px;
  margin:20px auto;
}

/* 1セット */
.top-fax-box .fax-faq-item{
  border:1px solid #ccc;
  margin-bottom:12px;
}

/* 質問 */
.top-fax-box .fax-faq-question{
  padding:14px 18px;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  position:relative;
	background : #fff;
}

/* ＋ */
.top-fax-box .fax-faq-question::after{
  content:"+";
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
}

/* 回答 */
.top-fax-box .fax-faq-answer{
  display:none;
  padding:14px 18px;
  border-top:1px solid #ccc;
  line-height:1.6;
}

/* 開いた状態 */
.top-fax-box .fax-faq-item.is-open .fax-faq-answer{
  display:block;
}

.top-fax-box .fax-faq-item.is-open .fax-faq-question::after{
  content:"−";
}
/* 質問：Q */
.top-fax-box .fax-faq-question::before{
  content:"Q";
  display:inline-block;
  margin-right:10px;
  font-weight:700;
  color:#2f7d32;   /* 緑 */
}

/* 回答：A */
.top-fax-box .fax-faq-answer::before{
  content:"A";
  display:inline-block;
  margin-right:10px;
  font-weight:700;
  color:#c0392b;   /* 赤 */
}


@media (max-width: 768px){
.top-fax-box{
	width : auto;
  margin:20px;
}	
}

