/*
=========================
Base
=========================
*/
:root {
  --link-color: #0d6efd;
  --link-hover-color: #0a58ca;
}
html {
  scroll-behavior: smooth;
}
body{
  font-family:'メイリオ', 'Meiryo', sans-serif;
}
img{
  max-width: 100%;
  height: auto;
}

/*
=========================
Layout
=========================
*/
.site-header {
  padding-top: 0.5rem;
}
.site-nav {
  max-width: 1000px;
  margin: 0 auto;
}
.site-main {
  padding: 0;
}
.site-img {
  width: 100%;
  max-width: 1000px;
  display: block;
  margin: 0 auto;
}
.content-wrap {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.content-wrap img {
  width: 100%;
  display: block;
  margin: 0 auto;
}
.site-footer {
  max-width: 1000px;
  padding-bottom: 1rem;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
}

/*
=========================
Pages
=========================
*/
/* サイトタイトル（スマホ用） */
.site-title-mobile {
  display: none;
}
@media (max-width: 768px) {
  .site-title-mobile {
    display: block;
    max-width: 1000px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    color: #111;
  }
}

/* Home */
.home-body {
  padding: 1.5rem;
  margin: 0 auto;
  text-align: center;
  line-height: 2.5rem;
}
@media (max-width: 768px) {
  .home-body {
    font-size: 0.9rem;
    line-height: 2rem;
  }
}

/* 事業内容 */
.business-head {
  padding: 1rem;
  padding-bottom: 0rem;
  line-height: 1.8rem;
}
.business-body {
  gap: 1.5rem;
  padding: 1rem;
  margin: 0 auto;
  line-height: 1.8rem;
}
.business-body .card {
  width: 400px;
  min-height: 220px;
  background: #fafafa;
}

/* 会社概要 */
.company-head {
  padding: 1rem;
  line-height: 1.8rem;
}
.company-body {
  padding: 0rem 1rem;
  margin: 0 auto;
  line-height: 1.8rem;
}
.company-grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: 1fr 1fr;
}
.company-grid .image {
  padding-bottom: 1rem;
}
.company-grid .text {
  padding: 0rem 1rem;
}
.company-grid .text-title{
  padding: 0.5rem 0rem;
  text-align: center;
}
.company-grid-sub {
  display: grid;
  overflow: hidden;
  grid-template-columns: 1fr 4fr;
}
@media (max-width: 768px) {
  .company-grid {
    flex-direction: column;
    grid-template-columns: 1fr;
  }
  .company-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
  }
  .company-grid .image-1 {
    order: 1;
    padding: 0;
  }
  .company-grid .text-1 {
    order: 2;
    padding: 0.15rem 0.3rem;
  }
  .company-grid .image-2 {
    order: 3;
    padding: 0;
  }
  .company-grid .text-2 {
    order: 4;
    padding: 0.15rem 0.3rem;
  }
}

/* 特定商取引法に基づく表記 */
.law-head {
  padding: 1rem;
  line-height: 1.8rem;
  text-align: center;
  font-size: 1.5rem;
}
.law-body {
  padding: 0rem 1rem;
  margin: 0 auto;
  line-height: 1.8rem;
}
.law-body th {
  width: 8rem;
}

/* 物件一覧 */
.properties-head {
  padding: 1rem;
  padding-bottom: 0rem;
  line-height: 1.8rem;
}
.properties-body {
  padding: 0rem 1rem;
  margin: 0 auto;
  line-height: 1.8rem;
}
.property-card {
  display: flex;
  gap: 1rem;
  padding: 0.7rem;
  margin-bottom: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.property-thumb {
  flex: 0 0 185px;
}
.property-thumb img {
  border-radius: 6px;
}
.property-content {
  flex: 1;
  line-height: 1.7;
}
.property-content hr {
  margin: 0.5rem 0;
}
.property-title-main {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}
.property-points {
  margin-bottom: 0;
  padding-left: 1.5rem;
}
.property-link {
  display: inline-block;
  margin-top: 0.5rem;
}
@media (max-width: 768px) {
  .property-card {
    flex-direction: column;
  }
  .property-thumb img {
    height: 200px;
    object-fit: cover;
  }
}

/* 物件詳細 */
.property-detail-head {
  padding: 1rem;
  padding-bottom: 0rem;
  line-height: 1.8rem;
}
.property-detail-body {
  padding: 0rem 1rem;
  margin: 0 auto;
  line-height: 1.8rem;
}
.property-detail-card {
  display: flex;
  gap: 1rem;
  padding: 0.7rem;
  margin-bottom: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.property-detail-thumb {
  flex: 0 0 150px;
}
.property-detail-thumb img {
  border-radius: 6px;
}
.property-detail-card-content {
  flex: 1;
  line-height: 1.7;
}
.property-detail-card-content hr {
  margin: 0.5rem 0;
}
.property-detail-title-main {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}
.property-detail-points {
  margin-bottom: 0;
  padding-left: 1.5rem;
}
.property-detail-section {
  margin-bottom: 3rem;
}
.property-detail-section-emphasis {
  padding-top: 0.3rem;
  padding-left: 0.6rem;
  border-left: 5px solid #999;
}
.property-detail-section h5 {
  margin-top: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-bottom: 1px solid #ccc;
  color: #333;
}
.property-detail-section-card {
  padding: 0.7rem;
  margin-bottom: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.property-detail-section-image img {
  display: block;
  padding-bottom: 0.5rem;
  max-width: 300px;
  border-radius: 6px;
}
.property-detail-section-title {
  padding-bottom: 0.3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #ccc;
  font-size: 1.4rem;
  color: #222;
  font-weight: 600;
}
.property-detail-section th {
  width: 6rem;
}
.property-detail-gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
}
.property-detail-gallery-card {
  display: flex;
  flex-direction: column;
  width: 160px;
  min-width: 100px;
  border: 1px solid #ccc;
}
.property-detail-gallery-card-caption {
  margin-top: 0.3rem;
  margin-bottom: 0.2rem;
  text-align: center;
  font-size: 1rem;
}
.property-detail-gallery-card-caption-small {
  font-size: 0.8rem;
}
@media (max-width: 768px) {
  .property-detail-card {
    flex-direction: column;
  }
  .property-detail-thumb img {
    height: 200px;
    object-fit: cover;
  }
}

/* 疑似テーブル（Grid） */
.room-grid {
  display: grid;
  grid-template-columns: 6rem 7rem 6rem 1fr;
  border: 1px solid #ccc;
  /* border-radius: 6px; */
  overflow: hidden;
}
.room-grid .cell {
  padding: 0.2rem 0.5rem;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.span-8 {
  grid-row: span 8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.room-no {
  font-weight: bold;
}
.room-plan img {
  max-width: 160px;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .room-grid {
    grid-template-columns: 
      minmax(3.5rem, auto)
      minmax(4.5rem, auto)
      minmax(4.5rem, auto)
      1fr;
  }
  .cell {
    padding: 0.15rem 0.3rem;
  }
}

/*
=========================
Parts
=========================
*/
/* タブメニュー（スマホ対応） */
@media (max-width: 768px) {
  .site-nav {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: none;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav .nav-link {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
    white-space: nowrap;
  }
}

/* リンクテキスト */
a,
.link-text {
  color: var(--link-color);
  text-decoration: none;
}
a:hover,
.link-text:hover {
  color: var(--link-hover-color);
  text-decoration: underline;
}
.nav-link {
  color: var(--link-color);
}
.nav-link:hover {
  color: var(--link-hover-color);
}

/* 外部リンクアイコン */
.external-link::after {
  content: "⧉";
  display: inline-block;
  font-size: 0.9em;
}

/* パンくず */
.breadcrumb {
	font-size: 1rem;
	margin-bottom: 1rem;
}
.breadcrumb-sep {
	margin: 0 0.4rem;
	color: #999;
}
.breadcrumb-current {
	color: #555;
}
@media (max-width: 768px) {
  .breadcrumb {
    display: none;
  }
}

/* 目次 */
.property-toc {
  padding: 0.5rem;
  margin: 1rem 0 2rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fafafa;
}
.property-toc-title {
  margin-bottom: 0rem;
}
.property-toc ul {
  margin-bottom: 0;
  padding-left: 1.5rem;
}
.property-toc li {
  margin-bottom: 0;
}
.property-toc a {
  text-decoration: none;
  color: #333;
}
.property-toc a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .property-toc {
    font-size: 0.9rem;
  }
}

/* トップへ戻る */
.back-to-top {
  text-align: right;
}
.back-to-top a {
  font-size: 0.9rem;
  color: #555;
  text-decoration: none;
}
.back-to-top a:hover {
  text-decoration: underline;
}

/* NEWラベル */
.label-new {
  display: inline-block;
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 1.5px 6px;
  border-radius: 14px;
  line-height: 1.6;
  vertical-align: middle;
  font-size: 10px;
  font-weight: bold;
  color: #fff;
  background-color: #ff8c00;
}

/* ステータスラベル */
.property-status {
  display: inline-block;
  padding: 2px 8px;
  margin: 4px 0px;
  border-radius: 8px;
  line-height: 1.6;
  vertical-align: middle;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
}
.status-open {
  background-color: #28a745;
}
.status-preparing {
  background-color: #555;
}

/* 画像表示モーダル */
.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.image-modal img {
  width: 90vw;
  max-width: 1000px;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
}
.image-modal.is-open {
  display: flex;
}
.image-modal.is-open img {
  transform: scale(1);
}
.image-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 32px;
  line-height: 1;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
  opacity: 0.85;
}
.image-modal-close:hover {
  opacity: 1;
}
@media (max-width: 768px) {
  .image-modal-close {
    font-size: 36px;
    top: 10px;
    right: 12px;
  }
}

/* 画像ズーム誘導UI */
.image-zoom {
  position: relative;
  cursor: zoom-in;
}
.zoom-hint {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 0px 6px;
  background: rgba(0,0,0,.4);
  color: #fff;
  font-size: 11px;
  border-radius: 16px;
  pointer-events: none;
  transition: opacity .2s ease;
}
.image-zoom:hover .zoom-hint {
  opacity: 0.85;
}

/* Google Map */
.map-wrap {
  width: 100%;
  max-width: 800px;
  margin: 1rem auto;
  background: #f5f5f5;
  padding: 0.5rem;
  border-radius: 8px;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}
@media (max-width: 768px) {
  .map-wrap {
    width: 100%;
  }
  .map-wrap iframe {
    height: 240px;
  }
}

/* Google Mapリンク */
.map-box {
  position: relative;
  max-width: 100%;
}
.map-box img {
  width: 100%;
  border-radius: 8px;
}
.map-link {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 12px;
  text-decoration: none;
}
.map-link:hover {
  opacity: 0.85;
}
@media (max-width: 768px) {
  .map-link {
    font-size: 0.75rem;
    padding: 3px 8px;
  }
}

/* QRコード */
.qr-block {
  text-align: center;
}
.qr-block img {
  width: 150px;
}
.qr-caption {
  font-size: 0.8rem;
  color: #555;
}
@media (max-width: 768px) {
  .qr-block {
    display: none;
  }
}

/* 情報カード（名刺） */
.info-card {
  max-width: 320px;
  padding: 0.75rem 0.9rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  background: #fafafa;
}
.info-card-left {
  margin-right: auto;
}
.info-card-right {
  margin-left: auto;
}
.info-card_title {
  font-size: 15px;
  padding-bottom: 0.3rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid #e0e0e0;
}
.info-card_list {
  display: grid;
  grid-template-columns: 5em 1fr;
  row-gap: 0.2rem;
  column-gap: 0.5rem;
  margin: 0;
}
.info-card_list dt {
  font-weight: normal;
  color: #555;
}
.info-card_list dd {
  margin: 0;
}
@media (max-width: 768px) {
  .info-card {
    max-width: 100%;
  }
  .info-card-left,
  .info-card-right {
    margin-left: 0;
    margin-right: 0;
  }
}
