/* =============================================
   KUMAMOTO Real Estate Portal — CLEAN FINAL
   ============================================= */

:root{
  --accent:#8b6320;
  --line:#e5e7eb;
  --dark:#1a1a1a;
  --wrap:1000px;
}

/* ===============================
BASE
================================ */

*,*::before,*::after{box-sizing:border-box;}

body{
  margin:0;
  font-family:-apple-system,"Noto Sans JP",sans-serif;
  font-size:17px;
  line-height:1.85;
  color:#222;
  background:#fafafa;
}

.wrap{
  max-width:var(--wrap);
  margin:auto;
  padding:0 28px;
}

/* ===============================
NAV TOGGLE（重要）
================================ */

.nav-toggle{
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
  pointer-events:none;
}

/* ===============================
HEADER
================================ */

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:#fff;
  border-bottom:1px solid var(--line);
  box-shadow:0 2px 10px rgba(0,0,0,.07);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;
  max-width:var(--wrap);
  margin:auto;
  padding:0 28px;
  gap:24px;
}

/* ===============================
LOGO
================================ */

.logo a{display:block;line-height:0;}
.logo img{height:44px;width:auto;display:block;}

/* ===============================
PC NAV
================================ */

/* ナビレイアウト */
.main-nav ul{
  display:flex;
  align-items:center;
  gap:36px;
  list-style:none;
  margin:0;
  padding:0;
}

/* 共通リンク */
.main-nav a{
  text-decoration:none;
  color:#333;
  font-size:15px;
  font-weight:500;
  white-space:nowrap;
  transition:.15s;
}

/* 通常ナビ hover / active（CTA除外） */
.main-nav a:not(.nav-cta):hover,
.main-nav a:not(.nav-cta).active{
  color: var(--accent);
}

/* CTA（PC） */
.main-nav a.nav-cta{
  padding:8px 16px;
  background:#8b6320;
  color:#fff;
  border-radius:4px;
}

/* CTA hover */
.main-nav a.nav-cta:hover{
  background:#7a5519;
  color:#fff;
}
/* ===============================
CTA（共通）
================================ */

.nav-cta{
  display:inline-block;
  padding:8px 16px;
  background:#8b6320;
  color:#fff;
  border-radius:4px;
}

.nav-cta:hover{
  background:#7a5519;
  color:#fff;
}


/* ===============================
SP NAV
================================ */

@media (max-width:768px){

  /* ナビ縦並び */
  .main-nav ul{
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
  }

  /* フォント調整 */
  .main-nav a{
    font-size:16px;
  }

  /* CTA（スマホ） */
  .nav-cta{
    display:block;
    width:100%;
    text-align:center;
    margin-top:10px;
    padding:14px;
    border-radius:6px;
    font-size:16px;
  }

}

/* ===============================
HAMBURGER
================================ */

.hamburger{
  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  width:48px;
  height:48px;
  cursor:pointer;
}

.hamburger span{
  width:22px;
  height:2px;
  background:var(--dark);
  border-radius:2px;
  transition:.25s;
}

/* ===============================
DRAWER（プロ仕様）
================================ */

.nav-drawer{
  position:fixed;
  top:72px;
  left:0;
  right:0;
  background:#fff;
  border-bottom:1px solid var(--line);
  box-shadow:0 12px 30px rgba(0,0,0,.15);

  transform:translateY(-10px);
  opacity:0;
  pointer-events:none;
  transition:.25s;

  padding:12px 20px 24px;
  z-index:999;
}

.nav-drawer ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
}

.nav-drawer a{
  display:block;
  padding:14px;
  border-radius:6px;
  font-size:16px;
  text-decoration:none;
  color:#222;
}

.nav-drawer a:hover{
  background:#f8f3ea;
  color:var(--accent);
}

@media(max-width:768px){

  .nav-drawer a{
    font-size:18px;
    letter-spacing:.08em; /* ← 文字間隔 */
    text-transform:uppercase; /* ← 英語だけ大文字 */
    padding:10px 20px;
    font-weight:500;
  }

}
/* 開く */
#nav-toggle:checked ~ .nav-drawer{
  transform:translateY(0);
  opacity:1;
  pointer-events:auto;
}


/* ===============================
OVERLAY
================================ */

.nav-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.35);
  opacity:0;
  pointer-events:none;
  transition:.25s;
  z-index:998;
}

#nav-toggle:checked ~ .nav-overlay{
  opacity:1;
  pointer-events:auto;
}

/* ===============================
✕ ICON
================================ */

#nav-toggle:checked ~ .site-header .hamburger span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}
#nav-toggle:checked ~ .site-header .hamburger span:nth-child(2){
  opacity:0;
}
#nav-toggle:checked ~ .site-header .hamburger span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

/* ===============================
HERO
================================ */

.hero-invest{
  position:relative;
  height:60vh;
  min-height:400px;
  overflow:hidden;
}

.hero-invest img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-invest::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.48);
}

.hero-text{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:100%;
  padding:0 24px;
  text-align:center;
  color:#fff;
}

/* タイトル */
.hero-text h1{
  font-size:clamp(30px,4.2vw,48px);
  font-weight:600; /* ←少し締める */
  letter-spacing:0.04em; /* ←これ効く */
  line-height:1.3;
  color:#fff; /* ←明示的に入れる */
  margin:0 0 12px;
  text-shadow:0 4px 12px rgba(0,0,0,0.9); /* ←強め */
}

/* サブ */
.hero-text .hero-lead{
  font-size:clamp(14px,1.4vw,18px); /* ←固定20pxやめる */
  font-weight:400;
  letter-spacing:0.08em;
  color:rgba(255,255,255,0.9);
  line-height:1.8;
  color:#fff; /* ←明示的に入れる */
  margin-top:8px;
  text-shadow:0 2px 6px rgba(0,0,0,0.9);
}

/* 不要なので削除OK */
.hero-text p{
  font-size:20px !important;
}

/* PCならもう少し大きく */
@media(min-width:768px){
  .hero-lead{
    font-size:20px;
  }
}

/* ===============================
TYPOGRAPHY
================================ */

h1{font-size:36px;margin:40px 0 14px;}
h2{font-size:26px;margin:40px 0 25px;}
h3{font-size:19px;margin:0 0 14px;}
p{margin:0 0 15px;}

ul{
  padding-left:20px;
  line-height:1.9;
}

.lead{
  font-size:19px;
  position:relative;
  padding-left:22px;
}

.lead::before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  width:4px;
  height:70%;
  background:var(--accent);
}

/* ===============================
CARDS
================================ */

.cards{
  display:grid;
  gap:28px;
  margin-top:20px;
}

@media(min-width:680px){
  .cards{grid-template-columns:1fr 1fr;}
}

.card{
  border:1px solid var(--line);
  border-radius:12px;
  padding:28px 30px;
  background:#fff;
}

.card a{
  display:inline-block;
  background:var(--accent);
  color:#fff;
  padding:12px 22px;
  text-decoration:none;
  font-weight:500;
  letter-spacing:.05em;
  border-radius:4px;
}

/* ===============================
FOOTER
================================ */

footer{
  margin-top:50px;
  border-top:1px solid var(--line);
  font-size:14px;
  color:#666;
}

footer .wrap{
  padding:22px 28px;
}

/* ===============================
MOBILE
================================ */

@media(max-width:768px){

  body{font-size:16px;}

  .main-nav{display:none;}
  .hamburger{display:flex;}

  h2{font-size:22px;}

  .hero-invest{height:55vh;}
}

/* ===============================
FAQ
================================ */
.faq h3{
  font-size:18px;
  margin-top:28px;
  color:#111;
}

.faq p{
  margin:8px 0 0;
  color:#555;
}

.faq-section{
  margin-top:60px;
}

.faq-item{
  margin-bottom:24px;
}

.faq-item h3{
  font-size:17px;
  margin-bottom:6px;
  color:#111;
}

.faq-item p{
  margin:0;
  color:#555;
  line-height:1.8;
}

/* ===============================
パンくず
================================ */

.breadcrumb{
  font-size:13px;
  margin:12px 0 20px;
  color:#666;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
}

/* リンク */
.breadcrumb a{
  color:#333;
  text-decoration:none;
  transition:.2s;
}

.breadcrumb a:hover{
  color:var(--accent);
}

/* 区切り */
.breadcrumb .sep{
  margin:0 8px;
  color:#aaa;
}

/* 現在地 */
.breadcrumb .current{
  color:#111;
  font-weight:500;
}

.toc{
  border:1px solid var(--line);
  padding:18px;
  margin:25px 0 35px;
  background:#fff;
}

/* ===============================
目次
=============================== */
.toc{
  border:1px solid var(--line);
  padding:18px;
  margin:25px 0 35px;
  background:#fff;
}

.toc-title{
  font-weight:600;
  margin-bottom:10px;
}

.toc ul{
  display:flex;
  flex-wrap:wrap;
  gap:12px 24px;
  list-style:none;
  padding:0;
  margin:0;
}

.toc a{
  text-decoration:none;
  color:#333;
  padding:6px 10px;
  background:#f5f5f5;
  border-radius:4px;
  transition:.2s;
}

.toc a:hover{
  background:var(--accent);
  color:#fff;
}

/* ===============================
パンくず
=============================== */
.breadcrumb{
  font-size:13px;
  margin:12px 0 20px;
  color:#333;
}

.breadcrumb a{
  text-decoration:none;
  color:#333;
}

.breadcrumb a:hover{
  color:var(--accent);
}

.breadcrumb span{
  margin:0 6px;
}
.breadcrumb a + span::before{
  content:"›";
  margin:0 8px;
  color:#999;
}
/* ===
============================
FAQ
=============================== */
.faq-section{
  margin-top:60px;
}

.faq-item{
  margin-bottom:24px;
}

.faq-item h3{
  font-size:17px;
  margin-bottom:6px;
}

.faq-item p{
  margin:0;
  color:#555;
}

/* ===============================
スクロール補正
=============================== */
section{
  scroll-margin-top:100px;
}


/* ===============================
INCOME CARD
================================ */

.income-cards{
  display:grid;
  gap:28px;
  grid-template-columns:1fr;
}

@media(min-width:600px){
  .income-cards{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(min-width:1024px){
  .income-cards{
    grid-template-columns:repeat(3,1fr);
  }
}

.income-card{
position:relative;
background:#fff;
border:1px solid var(--line);
border-radius:10px;
overflow:hidden;
transition:.2s;
}

.income-card:hover{
transform:translateY(-4px);
box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.income-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  object-position:center 40%;
}

.card-body{
  padding:16px;
  text-align:center;
}

.property-area{
  font-size:20px;
  font-weight:600;
  margin:0 0 4px;
}

.property-type{
  font-size:19px;
  font-weight:500;
  color:#333;
  margin:0 0 10px;
}

/* 左だけグレー */
.spec li span:first-child{
  color:#444;
}

/* 右は黒に戻す */
.spec li span:last-child{
  color:#222;
}

/* CTA */
.income-cta{
background:#111;
color:#fff;
padding:30px 0 60px;
text-align:center;
}


.card-body{
  padding:18px;
	
}.card-body h3{
  font-size:20px;
  font-weight:600;
  line-height:1.4;
  margin-bottom:14px;
  word-break:keep-all; /* ←これ重要 */
}

.spec{
  margin:14px 0 18px;
}

.spec li{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
  border-bottom:1px solid #eee;
}

.spec span{
  font-size:15px;
  color:#888;
}

.spec strong{
  font-size:18px;
  font-weight:600;
  color:#111;
}

/* 利回りだけ強調 */
.spec li:nth-child(2) strong{
  font-size:22px;
  color:#c5a46d;
}


.btn-primary{
  display:inline-block;
  margin-top:20px;
  padding:14px 28px;
  background:var(--accent) !important;
  color:#fff !important;
  text-decoration:none;
  border-radius:6px;
  opacity:1 !important;
  filter:none !important;

  font-weight:600; /* ←追加 */
  letter-spacing:0.05em; /* ←追加 */
  transition:.2s ease; /* ←追加 */
}


/* hover */
.btn-primary:hover{
  transform:translateY(-2px); /* ←浮く */
  box-shadow:0 6px 18px rgba(0,0,0,0.15); /* ←高級感 */
}

.income-card{
  position:relative;
}

.income-card picture img{
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
}

.badge{
  position:absolute;
  top:10px;
  left:10px;
  background:#000;
  color:#fff;
  font-size:12px;
  padding:4px 8px;
  border-radius:4px;
}

.badge-private{
  background:#666;
  box-shadow:0 2px 8px rgba(0,0,0,.25);
}

.img-note{
  position:absolute;
  bottom:8px;
  right:10px;
  font-size:13px;
  color:#fff;
  background:rgba(0,0,0,.8);
  padding:2px 6px;
  border-radius:3px;
}

.note{
  margin-top:40px;
  font-size:12px;
  color:#444;
  line-height:1.6;
  padding-left:16px;
}
.note li{
  margin-bottom:4px;
}

.tight{
  letter-spacing:-0.02em;
  white-space:nowrap;
}

.loose{
  letter-spacing:0.08em;
  white-space:nowrap;
}

/* ===============================
HERO 2ページ以降
=============================== */
.hero-income{
  position:relative;
  width:100%;
}

/* 画像 */
.hero-income img{
  width:100%;
  height:55vh;
  object-fit:cover;
  object-position:center 60%; /* ←ここ調整 */
  display:block;
}

/* オーバーレイ */
.hero-income::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.35);
  z-index:1;
}

/* テキスト */
.hero-income .hero-inner{
  position:absolute;
  bottom:40px;
  left:0;
  right:0;
  z-index:2; /* ←これ重要 */
}

/* SP */
@media(max-width:768px){
  .hero-income img{
    height:45vh;
    object-position:center 45%; /* スマホは少し下 */
  }

  .hero-income .hero-inner{
    bottom:20px;
  }
}
/* CTA（改善版） */
.nav-cta{
  display:inline-block;       /* ← blockやめる */
  width:auto;                 /* ← これ超重要 */
  text-align:center;
  padding:12px 22px;          /* ← 余白しっかり */
  background:#8b6320;
  color:#fff !important;
  border-radius:8px;
  white-space:nowrap;
}

.nav-cta:hover{
  background:#7a5519;
  color:#fff !important;
}

@media (max-width:768px){

  .nav-cta{
    background:#8b6320 !important;
    color:#fff !important;

    display:block;
    width:100%;
    text-align:center;
    padding:14px;
    border-radius:6px;
  }

}


/* ===============================
　物件詳細ページ
=============================== */
.property-header{
  margin-bottom:40px;
  z-index: 100;
}

.property-header h1{
  font-size:26px;
  margin-bottom:10px;
}

.property-detail{
  margin-top: 50px; /* headerの高さ分 */
  margin-bottom: 50px; /* headerの高さ分 */
}

.property-grid{
  display:grid;
  gap:30px;
}


@media(min-width:768px){
  .property-grid{
    grid-template-columns:1fr 1fr;
    align-items:start;
  }
}

.property-image{
  aspect-ratio:4 / 3;
  overflow:hidden;
}

.property-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.yield{
  color:#c5a46d;
  font-weight:700;
}

.property-cta{
  background:#111;
  color:#fff;
  text-align:center;
  padding:30px 0 60px;
}

/* ===============================
物件カード専用
================================ */

.property-cards{
  display:grid;
  gap:24px;
}

/* PC 3列 */
@media(min-width:1024px){
  .property-cards{
    grid-template-columns:repeat(3,1fr);
  }
}

/* タブレット 2列 */
@media(min-width:600px) and (max-width:1023px){
  .property-cards{
    grid-template-columns:repeat(2,1fr);
  }
}

/* カード */
.property-card{
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  background:#fff;
  display:flex;
  flex-direction:column;
}

/* 画像 */
.property-card img{
  width:100%;
  height:auto;
}

/* 本文 */
.property-card .card-body{
  padding:18px;
  display:flex;
  flex-direction:column;
  height:100%;
}

/* ボタン下固定 */
.property-card .btn,
.property-card .btn-primary{
  margin-top:auto;
}

/* 特徴専用 */
.property-features{
  display:grid;
  gap:20px;
}

@media(min-width:768px){
  .property-features{
    grid-template-columns:repeat(3,1fr);
  }
}

.feature{
  border:1px solid var(--line);
  border-radius:10px;
  padding:20px;
  background:#fff;
}

/* 数値強調 */
.price{
  font-weight:700;
  font-size:17px;
}

.yield{
  color:var(--accent);
  font-weight:700;
}

/* ===============================
物件詳細ページ用
================================ */

.property-detail .spec li{
  padding:12px 0;
}

/* 値を強く */
.property-detail .spec li span:last-child{
  font-size:17px;
  font-weight:600;
  color:#111;
}

/* ラベル微調整 */
.property-detail .spec li span:first-child{
  font-size:14px;
}
/* ===============================
価格＋利回り（上部）
================================ */

.property-lead{
  display:flex;
  font-size:18px;
  align-items:center;
  gap:14px;
  margin-top:10px;
}

/* 価格（主役） */
.property-detail .price{
  font-size:22px;
  font-weight:700;
  letter-spacing:.02em;
}

/* 利回り（バッジ化） */
.property-detail .yield{
  background:#c5a46d;
  color:#fff;
  padding:6px 12px;
  border-radius:6px;
  font-size:15px;
  font-weight:700;
}
.property-info{
  text-align:center;
}

.contact-cta{
  display:flex;
  justify-content:center;
}

/* ===============================
2列スペック（完成版）
================================ */

.spec-2col{
  list-style:none;
  padding:0;
  margin:10px 0;
}

.spec-2col li{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;

  padding:10px 0;
  border-bottom:1px solid var(--line);
}

/* 各ブロック */
.spec-2col li div{
  display:flex;
  justify-content:space-between;
}

/* ラベル */
.spec-2col span{
  color:#444;
  font-size:13px;
}

/* 値 */
.spec-2col strong{
  font-size:15px;
  font-weight:500;
}

/* スマホ */
@media(max-width:768px){
  .spec-2col li{
    grid-template-columns:1fr;
    gap:6px;
  }
}
/* ===============================
PROPERTY DETAIL PAGE ONLY
================================ */

.property-detail-page{
  max-width:1000px;
  margin:auto;
  padding:0 20px;
}

/* 上部 */
.property-detail-page .property-top{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
  margin:0 0;
}

.property-detail-page .property-head h1{
  font-size:26px;
  margin-top:0;
}

.property-detail-page .lead{
  color:#555;
  line-height:1.7;
}

.property-detail-page .property-image img{
  width:100%;
  border-radius:6px;
}


/* 見出し */
.property-detail-page h2{
  font-size:20px;
  margin:40px 0 20px;
}


/* ===============================
3列グリッド仕様
================================ */

.property-detail-page .detail-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

/* PCだけ4列 */
@media(min-width:1200px){
  .property-detail-page .detail-grid{
    grid-template-columns:repeat(4,1fr);
    gap:40px;
  }
}

/* 各項目 */
.property-detail-page .spec-item{
  border-bottom:1px solid #eee;
  padding-bottom:12px;
}

/* ラベル */
.property-detail-page .spec-item span{
  display:block;
  font-size:13px;
  color:#444;
  margin-bottom:6px;
}

/* 値 */
.property-detail-page .spec-item strong{
  font-size:18px;
  font-weight:600;
  color:#222;
}


/* ===============================
レスポンシブ
================================ */

@media(max-width:1024px){
  .property-detail-page .detail-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:768px){
  .property-detail-page .detail-grid{
    grid-template-columns:repeat(2,1fr);
    gap:20px;
  }
}


/* ===============================
特徴
================================ */

.property-detail-page .feature-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.property-detail-page .feature-card{
  border:1px solid #eee;
  padding:20px;
  border-radius:8px;
  background:#fafafa;
}

.property-detail-page .feature-card h3{
  font-size:16px;
  margin-bottom:10px;
}


/* ===============================
テキスト
================================ */

.property-detail-page .location p,
.property-detail-page .note ul{
  color:#555;
  line-height:1.7;
}

.property-detail-page .note ul{
  padding-left:18px;
}


/* ===============================
レスポンシブ
================================ */

/* タブレット */
@media(max-width:1024px){
  .property-detail-page .detail-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* スマホ */
@media(max-width:768px){

  .property-detail-page .property-top{
    grid-template-columns:1fr;
  }

  .property-detail-page .detail-grid{
    grid-template-columns:repeat(2,1fr); /* ← スマホ2列 */
    gap:20px;
  }

  .property-detail-page .feature-grid{
    grid-template-columns:1fr;
  }

}

/* visually hidden（確実版） */
.visually-hidden{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

/* =============================================
   BtoB（事業者向け）セクション｜強化版
   ============================================= */

/* セクション全体（背景レイヤー） */
.partner-info{
  background:#f7f5f2;              /* 少し強めのベージュ */
  padding:80px 0;
  margin-top:80px;
}

/* 内側カード（主役） */
.partner-info .wrap{
  background:#fff;
  padding:40px;
  border-radius:10px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  position:relative;
}

/* 左アクセントライン（カード側に移動） */
.partner-info .wrap::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:5px;
  background:#c5a46d;
  border-radius:10px 0 0 10px;
}

/* 見出し */
.partner-info h2{
  font-size:24px;
  margin-bottom:18px;
  letter-spacing:-0.01em;
}

/* リード */
.partner-info .lead{
  font-size:17px;
  color:#444;
  margin-bottom:18px;
  line-height:1.85;
}

/* 本文 */
.partner-info p{
  font-size:15px;
  color:#555;
  line-height:1.9;
  margin-bottom:14px;
}

/* 注意書き */
.partner-info .note{
  font-size:14px;
  color:#444;
  margin-top:14px;
}

/* CTAボタン */
.partner-info .btn-primary{
  display:inline-block;
  margin-top:30px;
  padding:14px 30px;
  background:#7a5522; /* ←ここがポイント */
  color:#fff !important;
  text-decoration:none;
  border-radius:6px;
  font-size:16px;
  transition:.2s;
}

.partner-info .btn-primary:hover{
  background:#5f421a;
}

/* =============================================
   BtoBミニ導線（ページ下用）
   ============================================= */

.b2b-note{
  margin-top:30px;
  font-size:13px;
  color:#666;
  padding-top:15px;
  border-top:1px dashed #ddd;
}

/* =============================================
   スマホ調整
   ============================================= */

@media(max-width:768px){

  .partner-info{
    padding:50px 0;
    margin-top:60px;
  }

  .partner-info .wrap{
    padding:30px 22px;
  }

  .partner-info h2{
    font-size:19px;
  }

  .partner-info .lead{
    font-size:15px;
  }

  .partner-info p{
    font-size:14px;
  }

}

/* ===============================
サブボタン（ゴールド枠）
================================ */
.btn{
  display:inline-block;
  margin-top:14px;
  padding:12px 22px;

  background:#fff;                  /* ← 中は白 */
  border:1px solid var(--accent);   /* ← ゴールド枠 */
  color:var(--accent);            /* ← ゴールド文字 */

  font-size:14px;
  text-decoration:none;
  border-radius:6px;

  letter-spacing:.05em;
  font-weight:500;

  transition:.2s ease;
}

a.btn{
  background:#fff;
  border:1px solid var(--accent);
  color:var(--accent);
}

/* hover */
.btn:hover{
  background:var(--accent);  /* ← 塗りに変化 */
  color:#fff;                /* ← 白文字 */
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(0,0,0,.15);
}

/* ===============================
フォトギャラリー（完成版）
================================ */

.gallery-wrap{
  margin:50px　0;
}

/* 横スクロール */
.gallery-scroll{
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding-bottom:10px;
  -webkit-overflow-scrolling:touch;
}

.gallery-scroll::-webkit-scrollbar{
  display:none;
}

/* ===============================
画像（高さ基準に統一）
================================ */

.gallery-scroll img{
  flex:0 0 auto;
  width:auto;
  height:260px;          /* ← 少し下げるとバランス良い */
  object-fit:cover;
  border-radius:10px;
  scroll-snap-align:start;
}

/* hover（PCのみ） */
@media (hover:hover){
  .gallery-scroll img:hover{
    transform:scale(1.03);
  }
}

.gallery-wrap{
  position:relative;
}

/* 右フェード */
.gallery-wrap::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:60px;
  height:100%;
  pointer-events:none;

  background:linear-gradient(to right,
    rgba(255,255,255,0),
    #fff
  );
}
.scroll-hint{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  font-size:28px;
  color:#999;
  pointer-events:none;
}

/* ===============================
スマホ
================================ */

@media (max-width:768px){

  .gallery-scroll{
    gap:12px;
  }

  .gallery-scroll img{
    height:180px;        /* ← 少し余白感出る */
  }

}
.gallery-note{
  font-size:13px;
  color:#555;
  margin-top:6px;
  margin-bottom:24px;
  letter-spacing:.03em;
}

/* ===============================
土地カード（完成版）
PC：2列 / SP：1列
================================ */

/* 親グリッド */
.land-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}

/* カード */
.land-card{
  display:flex;
  gap:20px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:18px;
  align-items:center;
  transition:.2s ease;
}

/* hover */
.land-card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 26px rgba(0,0,0,.08);
}

/* 画像 */
.land-img{
  flex:0 0 180px;
}

.land-img img{
  width:100%;
  height:140px;
  object-fit:cover;
  border-radius:10px;
  display:block;
}

/* テキスト */
.land-content h2{
  margin:0 0 8px;
  font-size:18px;
  font-weight:600;
  letter-spacing:.02em;
}

.land-content p{
  margin:0;
  font-size:14px;
  line-height:1.8;
  color:#444;
}

/* ===============================
タブレット
================================ */
@media (max-width:1024px){
  .land-img{
    flex:0 0 150px;
  }

  .land-img img{
    height:120px;
  }
}

/* ===============================
スマホ
================================ */
@media (max-width:768px){

  .land-list{
    grid-template-columns:1fr;
  }

  .land-card{
    flex-direction:column;
    align-items:flex-start;
  }

  .land-img{
    width:100%;
  }

  .land-img img{
    width:100%;
    height:180px;
  }
}


/* ============================================================
   MJR熊本ザ・タワー 特設ページ導線バナー
   ============================================================ */
.mjr-banner-section {
    margin: 40px auto;
    max-width: 1000px;
    padding: 0 20px;
}

.mjr-special-banner {
    background: linear-gradient(135deg, #1a2a3a 0%, #3a4b5c 100%);
    color: #ffffff;
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.1);
}

.mjr-banner-sub {
    display: block;
    font-size: 14px;
    letter-spacing: 0.25em;
    margin-bottom: 15px;
    color: #d4af37; /* 高級感のあるゴールド */
    font-weight: bold;
}

.mjr-banner-title {
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 700;
}

.mjr-banner-text {
    font-size: 16px;
    margin-bottom: 35px;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
}

.mjr-banner-btn {
    display: inline-block;
    background-color: #936841;
    color: #ffffff !important;
    padding: 18px 50px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.mjr-banner-btn:hover {
    background-color: #bda075;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    text-decoration: none;
}

/* スマホ表示の調整 */
@media (max-width: 767px) {
    .mjr-special-banner {
        padding: 40px 20px;
    }
    .mjr-banner-title {
        font-size: 22px;
    }
    .mjr-banner-text {
        font-size: 14px;
    }
    .mjr-banner-btn {
        padding: 15px 30px;
        width: 100%;
        box-sizing: border-box;
    }
}

/* ============================================================
   Clearfix (フロート解除)
   ============================================================ */
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
/* ============================================================
   MJR特集：間取り図レイアウト設定
   ============================================================ */
.mjr-layout-container {
    margin: 0 auto 30px; /* 上マージン0 */
    text-align: center;
    line-height: 0;
}

.mjr-layout-box {
    display: inline-block;
    width: 50%; /* PCでは50% */
    vertical-align: top;
}

.mjr-layout-box picture img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #eee;
    display: block;
}

/* スマホ表示（768px以下） */
@media screen and (max-width: 768px) {
    .mjr-layout-box {
        width: 100% !important; /* スマホでは100% */
    }
    .mjr-layout-container {
        margin-bottom: 20px;
    }
}
/* ===============================
位置基準（超重要）
================================ */
.gallery-area{
  position:relative;
}

/* ===============================
矢印
================================ */
.scroll-hint{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:26px;
  color:#aaa;
  pointer-events:none;
  opacity:.8;
}

/* 左右位置 */
.scroll-hint.left{
  left:10px;
}

.scroll-hint.right{
  right:10px;
}

/* アニメーション */
@keyframes arrowMoveRight{
  0%{ transform:translateY(-50%) translateX(0); opacity:.6;}
  50%{ transform:translateY(-50%) translateX(6px); opacity:1;}
  100%{ transform:translateY(-50%) translateX(0); opacity:.6;}
}

@keyframes arrowMoveLeft{
  0%{ transform:translateY(-50%) translateX(0); opacity:.6;}
  50%{ transform:translateY(-50%) translateX(-6px); opacity:1;}
  100%{ transform:translateY(-50%) translateX(0); opacity:.6;}
}

.scroll-hint.right{
  animation:arrowMoveRight 1.6s infinite;
}

.scroll-hint.left{
  animation:arrowMoveLeft 1.6s infinite;
}

/* ===============================
スクロール滑らか
================================ */
.gallery-scroll{
  scroll-behavior:smooth;
}

/* ===============================
ホバーで消す
================================ */
.gallery-area:hover .scroll-hint{
  opacity:0;
}

/* ===============================
矢印ボタン（UI化）
================================ */
.scroll-hint{
  position:absolute;
  top:50%;
  transform:translateY(-50%);

  width:40px;
  height:40px;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:20px;
  font-weight:600;

  color:#333;

  background:rgba(255,255,255,0.85);  /* ← これ重要 */
  border-radius:50%;
  box-shadow:0 4px 12px rgba(0,0,0,.15);

  pointer-events:none;
  z-index:2;
}

/* 左右位置 */
.scroll-hint.left{ left:10px; }
.scroll-hint.right{ right:10px; }

/* hoverで少し強調（PC） */
@media (hover:hover){
  .gallery-area:hover .scroll-hint{
    background:#fff;
    transform:translateY(-50%) scale(1.05);
  }
}

.scroll-hint{
  cursor:default;
}

/* ===============================
2カラムレイアウト
================================ */
.property-flex{
  display:flex;
  gap:40px;
  margin-bottom:50px;
  align-items:flex-start;
  flex-wrap:wrap;
}

/* ===============================
左カード
================================ */
.property-card{
  flex:1;
  min-width:320px;
  background:#fff;
  border:1px solid #eee;
  border-radius:10px;
  padding:26px;
  box-shadow:0 4px 20px rgba(0,0,0,.04);
}

.property-card h4{
  margin:0 0 15px;
  font-size:18px;
  color:#1a2a3a;
  border-bottom:2px solid #c5a46d;
  padding-bottom:8px;
  letter-spacing:.05em;
}

/* 価格 */
.price{
  font-size:26px;
  font-weight:700;
  color:#8b6320;
  margin:10px 0 18px;
}

/* ===============================
スペック（←ここがプロ感）
================================ */
.spec{
  list-style:none;
  padding:0;
  margin:0;
}

.spec li{
  display:flex;
  justify-content:space-between;
  padding:10px 0;
  border-bottom:1px solid #eee;
  font-size:15px;
}

/* 左（ラベル） */
.spec li span:first-child{
  color:#444;
}

/* 右（値） */
.spec li span:last-child{
  font-weight:500;
  color:#222;
}

/* 利回りだけ強調 */
.spec .yield{
  color:#c5a46d;
  font-weight:700;
}

/* ===============================
レイアウト
================================ */
.property-flex{
  display:flex;
  gap:40px;
  margin-bottom:50px;
  align-items:flex-start;
  flex-wrap:wrap;
}

/* ===============================
左：カード
================================ */
.property-card{
  flex:1;
  min-width:320px;
  background:#fff;
  border:1px solid #eee;
  border-radius:12px;
  padding:28px;
  box-shadow:0 6px 24px rgba(0,0,0,.05);
}

.property-card h4{
  margin:0 0 18px;
  font-size:18px;
  color:#1a2a3a;
  border-bottom:2px solid #c5a46d;
  padding-bottom:10px;
  letter-spacing:.05em;
}

/* 価格 */
.price{
  font-size:28px;
  font-weight:700;
  color:#8b6320;
  margin:10px 0 20px;
}

/* ===============================
スペック
================================ */
.spec{
  list-style:none;
  padding:0;
  margin:0;
}

.spec li{
  display:flex;
  justify-content:space-between;
  padding:12px 0;
  border-bottom:1px solid #eee;
  font-size:15px;
}

/* ラベル */
.spec li span:first-child{
  color:#444;
}

/* 値 */
.spec li span:last-child{
  font-weight:500;
  color:#222;
}

/* 利回り強調 */
.spec .yield{
  color:#c5a46d;
  font-weight:700;
}

.form-lead {
  text-align: left; /* スマホでは左揃え */
  margin-bottom: 30px;
  font-size: 0.9em;
  line-height: 1.6;
}

/* PCサイズ（768px以上）の設定 */
@media screen and (min-width: 768px) {
  .form-lead {
    text-align: center; /* PCでは中央揃え */
  }
  .pc-only {
    display: inline;
  }
}

/* スマホで改行を無効化したい場合用 */
@media screen and (max-width: 767px) {
  .pc-only {
    display: none;
  }
}
/* ===============================
  レポート用 整理済みスタイル（レスポンシブ完全対応）
================================ */

/* 1. 基本設定 */
.report-container { padding: 40px 0; }
.report-item { margin-bottom: 60px; }

/* 画像が「切れる」「はみ出す」のを防ぐ設定 */
.img-fluid, 
.report-container img {
  max-width: 100% !important;
  height: auto !important;      /* 比率を維持して高さを自動調整 */
  display: block;
  margin: 0 auto 15px;
  object-fit: contain !important; /* 画像全体を表示する */
}

/* 2. 図表・キャプション */
.report-figure {
  margin: 0 0 25px 0;
  padding: 0;
  width: 100%;
  height: auto !important; /* 高さを固定しない */
}

.report-figure figcaption {
  font-weight: bold;
  margin: 10px 0 20px;
  font-size: 1.1em;
  color: #333;
  line-height: 1.4;
}

/* 3. テキスト装飾 */
.report-text { margin: 20px 0; line-height: 1.8; color: #444; }
.report-text h3 {
  font-size: 1.4em;
  margin-bottom: 20px;
  border-left: 5px solid #2c3e50;
  padding-left: 15px;
  line-height: 1.3;
}

/* 4. グリッドレイアウト（PCでは2枚、スマホでは1枚） */
.report-grid, 
.report-grid-half {
  display: flex;
  flex-wrap: wrap; /* 折り返しを許可 */
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start; /* 高さが違う画像が並んでも上揃えに */
}

/* PC：横に2枚並べる設定 */
.report-grid img, 
.report-grid-half img,
.report-grid .report-figure,
.report-grid-half .report-figure {
  flex: 1 1 calc(50% - 15px); /* 基本50%幅 */
  min-width: 0;                /* フレックスアイテムのはみ出し防止 */
  margin-bottom: 0;
}

/* 5. 特殊ボックス・装飾 */
.comparison-box { 
  background: #f4f4f4; 
  padding: 25px; 
  margin: 30px 0; 
  border-radius: 8px; 
}
.comparison-box .caption { 
  font-size: 0.85em; 
  text-align: center; 
  margin-top: 15px; 
  color: #666;
}

.sub-title { 
  font-size: 1.6em; 
  margin: 40px 0 30px; 
  text-align: center; 
  background: #eee; 
  padding: 15px; 
  border-radius: 4px;
}

.separator { 
  border: none; 
  border-top: 1px solid #ddd; 
  margin: 60px 0; 
}

/* 6. スマホ対応（767px以下） */
@media screen and (max-width: 767px) {
  .report-grid img, 
  .report-grid-half img,
  .report-grid .report-figure,
  .report-grid-half .report-figure {
    flex: 1 1 100% !important; /* 強制的に横幅いっぱい（1枚ずつ縦並び） */
  }

  .report-item { margin-bottom: 40px; } /* スマホでは間隔を少し詰める */

  .wrap {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .sub-title { font-size: 1.3em; padding: 12px; }
  .report-text h3 { font-size: 1.2em; }
}


