/* 橿原住宅 分譲ページ準拠／HPB20軽量編集版 */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #2f3c4d;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.75;
}
body { text-align: left; }
a { color: #2c76c0; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; border: 0; }

.chrome-shell {
  width: 760px;
  margin: 0 auto;
  background: #ffffff;
}
.site-brandbar {
  position: relative;
  height: 50px;
  padding: 0 14px;
  background: #ffffff;
  border-bottom: 1px solid #e1e5ea;
}
.site-brand {
  position: absolute;
  top: 15px;
  left: 14px;
  height: 20px;
  white-space: nowrap;
}
.site-brand img { display: block; width: 132px; height: auto; }
.site-brandbar p {
  margin: 0;
  padding-top: 15px;
  color: #6b7280;
  font-size: 11px;
  line-height: 20px;
  text-align: right;
  letter-spacing: 0;
}
.chrome-fixed {
  width: 760px;
  background: #ffffff;
  border-bottom: 1px solid #e4e8ee;
}
.chrome-inner {
  padding: 10px 0 14px;
  background: #ffffff;
}
.chrome-pad { padding: 0 14px; }
.breadcrumb {
  margin: 0 0 12px;
  padding: 0;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.45;
}
.breadcrumb a { color: #2c76c0; font-weight: bold; }
.breadcrumb .sep { display: inline-block; margin: 0 5px; color: #9aa8b8; }
.breadcrumb .current { color: #344255; font-weight: bold; }

.topnav { width: 100%; border-collapse: separate; border-spacing: 6px 0; table-layout: fixed; }
.topnav td { width: 16.6667%; padding: 0; vertical-align: top; }
.topnav a {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0;
  color: #334155;
  background: #f3f6f9;
  border: 1px solid #d8e0e8;
  text-align: center;
  font-size: 12px;
  line-height: 38px;
  font-family: Meiryo, "メイリオ", sans-serif;
  font-weight: bold;
  text-decoration: none;
}
.topnav a span { display: block; }
.topnav td:first-child a {
  padding-top: 5px;
  line-height: 14px;
}
.topnav a:hover {
  color: #243b56;
  background: #e4ebf3;
  border-color: #9db1c6;
}
.topnav a.active {
  color: #ffffff;
  background: #315f8b;
  border-color: #274f78;
}

.page-body { width: 760px; margin: 0 auto; padding: 24px 0 46px; background: #ffffff; }
.content-card {
  margin: 0 20px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #e7ebf0;
}
.section-head {
  margin: 0 0 20px;
  padding: 10px 14px;
  color: #324255;
  background: #e8eef4;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
}
.subhead { margin-top: 30px; }

.hero-title-row { width: 100%; margin-bottom: 18px; border-collapse: collapse; }
.hero-title-row td { vertical-align: top; }
.hero-title-cell { width: 70%; vertical-align: middle; }
.project-logo { width: auto; border-collapse: collapse; }
.project-logo td { padding: 0; vertical-align: middle; }
.project-logo .project-name-image { width: 127px; }
.project-logo .project-logo-gap { width: 8px; }
.project-logo .logo-small {
  display: block;
  font-size: 13px;
  line-height: 1.1;
  letter-spacing: 1px;
}
.project-logo strong {
  display: block;
  margin-top: 2px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 3px;
}
.project-logo .stage-number {
  width: 35px;
  padding-left: 0;
}
.with-court { margin: 0 0 2px; color: #7f8fa0; font-family: Georgia, serif; font-size: 10px; letter-spacing: 3px; }
h1 { margin: 0; color: #365f89; font-size: 17px; line-height: 1.1; font-weight: normal; letter-spacing: 1px; }
h1 strong { display: inline-block; margin-top: 5px; font-size: 34px; letter-spacing: 4px; }
h1 b { display: inline-block; margin-left: 8px; color: #ef7d35; font-family: Georgia, serif; font-size: 34px; font-weight: normal; }
.stage { margin: 4px 0 0; color: #8492a0; font-family: Georgia, serif; font-size: 11px; letter-spacing: 2px; }
.hero-note { display: inline-block; margin-top: 9px; padding: 5px 12px; color: #5f4c2e; background: #f6f1e7; border: 1px solid #e7dcc8; font-weight: bold; }
.hero-status { width: 30%; padding-top: 8px; text-align: right; }
.hero-status strong { display: block; color: #4b5a6b; font-size: 15px; }
.hero-status span { display: inline-block; margin-top: 8px; padding: 4px 9px; color: #a55d17; background: #fff4e8; border: 1px solid #f1d4b7; font-size: 11px; font-weight: bold; }

.main-visual { padding-top: 6px; text-align: center; }
.main-visual img { display: block; width: 100%; height: auto; background: #ffffff; border: 1px solid #eceff3; }
.project-lead { margin-top: 18px; padding: 14px 18px; color: #46576a; background: #fafbfd; border-left: 4px solid #365f89; }
.project-lead strong { color: #2f4f70; }
.project-lead p { margin: 3px 0 0; font-size: 12px; }

.intro-box { margin: 0 0 20px; padding: 18px 20px; color: #4d4030; background: #faf8f2; border: 1px solid #ece3d5; }
.intro-box p { margin: 0 0 4px; line-height: 1.25; }
.intro-box p span { color: #ef7d35; font-size: 16px; }
.intro-box p strong { color: #ef7d35; font-size: 34px; font-weight: normal; }
.intro-box > b, .intro-box > small { display: block; }
.intro-box > small { margin-top: 8px; color: #6c6254; }

.plan-panel { display: block; width: 100%; padding: 14px; background: #ffffff; border: 1px solid #e8ecf1; text-align: center; }
.plan-panel img { display: block; width: 100%; height: auto; margin: 0 auto; }
.plan-panel span { display: block; margin-top: 5px; color: #315f90; font-size: 10px; }
.caption { margin: 8px 0 0; color: #7b8794; font-size: 11px; }

.outline-wrap { width: 100%; }
.outline-table { width: 100%; border-collapse: collapse; background: #ffffff; }
.outline-table td { padding: 10px; vertical-align: top; border-bottom: 1px solid #eef2f6; font-size: 13px; line-height: 1.5; }
.outline-table .label { width: 28%; color: #4a5a6a; background: #f7f9fc; font-weight: bold; }
.outline-table .value { width: 72%; }
.outline-table .unknown { color: #9a671f; font-weight: bold; }
.lot-note { margin-top: 18px; padding: 15px 17px; color: #4d4030; background: #faf8f2; border: 1px solid #ece3d5; }
.lot-note p { margin: 3px 0 0; font-size: 12px; }

.map-panel { padding: 14px; background: #ffffff; border: 1px solid #e8ecf1; text-align: center; }
.map-panel img { display: block; width: 100%; height: auto; }
.pending-box { padding: 18px 20px; color: #5f594f; background: #faf8f2; border: 1px solid #ece3d5; }
.pending-box p { margin: 4px 0 0; font-size: 12px; }

.footer { padding: 24px 12px 34px; color: #8b94a1; background: #ffffff; font-size: 11px; text-align: center; }

/* 新しいブラウザだけで固定表示。HPB20の編集画面はこの指定を読みません。 */
@supports (position: sticky) {
  .chrome-fixed { position: sticky; top: 0; z-index: 10; }
}

@media screen and (max-width: 780px) {
  .chrome-shell, .chrome-fixed, .page-body { width: 100%; }
  .site-brandbar { padding: 0 12px; }
  .site-brand { left: 12px; }
  .site-brandbar p { display: none; }
  .chrome-pad { padding: 0 12px; }

  .content-card { margin: 0 12px; padding: 18px 14px 20px; }
  h1 strong, h1 b { font-size: 28px; }
}

/* 中三倉堂：全ページ同じ寸法。タイトルとナビを一体固定 */
.chrome-shell,.chrome-fixed,.page-body {width:760px;max-width:100%;}
.chrome-top {position:sticky;top:0;z-index:20;background:white;}
.chrome-top .chrome-fixed {position:static!important;top:auto!important;}
.page-body {padding:24px 0 22px;scroll-margin-top:160px;}
.content-card {margin:0 20px;padding:28px;width:auto;}
.content-card .content-body,.content-card .content-frame {max-width:100%;}
.content-card img {max-width:100%;height:auto;}
.content-card iframe {max-width:100%;}
.content-body table,.content-frame table {max-width:100%;}
.content-frame {overflow-x:auto;}
.content-body td,.content-body th {overflow-wrap:break-word;}
.content-body table[width="640"] {width:100%;max-width:640px;}
.hero-count {text-align:right;font-weight:bold;}
.main-visual img {max-width:100%;height:auto;}
/* 周辺環境の写真：3列で収める */
#around .content-body table {max-width:100%;}
#around .content-body img {max-width:200px;height:auto;}
@media screen and (max-width:780px) {
.chrome-shell,.chrome-fixed,.page-body {width:100%;}
.content-card {margin:0 12px;padding:18px 14px 20px;}
}

/* 中三倉堂：編集画面で物件タイトルが崩れないための簡潔な構造 */
.property-heading {width:100%;min-height:94px;position:relative;padding:6px 155px 14px 0;margin:0 0 12px;border-bottom:1px solid #e8ecf1;}
.property-heading-left {display:block;max-width:100%;}
.property-name {font-size:21px;font-weight:bold;color:#315f8b;line-height:1.5;letter-spacing:1px;}
.property-heading .hero-note {margin-top:10px;}
.property-heading-right {position:absolute;right:0;top:10px;width:145px;text-align:right;font-size:15px;font-weight:bold;color:#4b5a6b;}
#home .main-visual {padding-top:0;}
#home .main-visual img {width:100%;height:auto;display:block;border:1px solid #eceff3;}
@media screen and (max-width:500px) {
 .property-heading {padding-right:105px;}
 .property-name {font-size:17px;}
 .property-heading-right {width:100px;font-size:12px;}
}

/* 選択中の1ボタンだけを青く表示。hoverを選択色と混同しない */
.topnav a:not(.active):hover { background:#e4ebf3; color:#243b56; border-color:#9db1c6; }
.topnav a.active, .topnav a.active:hover { background:#315f8b; color:#ffffff; border-color:#274f78; }

/* 狭い画面は2列表示。HPB編集時は通常のtable表示を維持する */
@media screen and (max-width:560px) {
  .topnav,.topnav tbody,.topnav tr { display:block; width:100%; border-spacing:0; }
  .topnav td { display:inline-block; width:49%; margin-bottom:6px; vertical-align:top; padding:0 3px; }
  .chrome-pad { padding-left:12px; padding-right:12px; }
  .site-brandbar p { display:none; }
}


.topnav a {
  background:#E5F0F9 !important;
  border-color:#A9C6DD !important;
  color:#244F75 !important;
}

/* 分譲6ボタン統一：通常は淡いブルー、hover時だけ少し濃く、選択中は濃青 */
.topnav a:not(.active):not(.is-active):not(.kh-current):not([aria-current]):hover,
.topnav a:not(.active):not(.is-active):not(.kh-current):not([aria-current]):focus-visible {
  background:#CDDFF0 !important;
  border-color:#8AACC8 !important;
  color:#244F75 !important;
  transform:none !important;
}
.topnav a.active, .topnav a.is-active, .topnav a.kh-current,
.topnav a[aria-current], .topnav a.active:hover,
.topnav a.is-active:hover, .topnav a[aria-current]:hover {
  background:#315F8B !important;
  border-color:#274F78 !important;
  color:#fff !important;
  transform:none !important;
}
