/* ===== リフォーム対応セクション ===== */
#shop-renovation {
  scroll-margin-top: 80px;
}

.renovation-section {
  padding: 80px 0;
}

.renovation-section .subtitle2 {
  /* 既存 subtitle2 スタイルに合わせる */
}

/* お客様対応ラベル */
.renovation-customer-note {
  text-align: center;
  margin: 20px auto 40px;
  max-width: 480px;
}
.renovation-customer-note p {
  display: inline-block;
  background: #333;
  color: #fff;
  font-size: 18px;
  padding: 8px 24px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}
.renovation-customer-note small {
  display: block;
  color: #666;
  font-size: 12px;
  margin-top: 6px;
}

/* グリッド */
.renovation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* カード */
.renovation-card {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}
.renovation-card.is-available {
  cursor: pointer;
}
.renovation-card.is-available:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.renovation-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: none;
}

.renovation-card__body {
  padding: 14px 16px;
}

.renovation-card__title {
  font-size: 18px;
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
  line-height: 1.4;
}

.renovation-card__link {
  font-size: 13px;
  color: #c9972a;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 4px;
}
.renovation-card__link::before {
  content: "＞";
  font-size: 11px;
}

.renovation-card__na {
  font-size: 12px;
  color: #999;
}

.renovation-card.is-na {
  opacity: 0.55;
}

/* ===== モーダル ===== */
.reno-modal__flex{
	display: flex;
    flex-direction: row-reverse;
	justify-content: space-between;
}
.reno-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.reno-modal-overlay.is-open {
  display: flex;
}

.reno-modal {
  background: #fff;
  border-radius: 8px;
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  padding: 40px 36px 36px;
}

.reno-modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 28px;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
}
.reno-modal__close:hover {
  color: #000;
}

.reno-modal__title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  border-left: 4px solid #c9972a;
  padding-left: 12px;
  margin-bottom: 20px;
}

/* 水廻りモーダル：縦並びレイアウト（左:画像 右:テキスト × 4行） */
.reno-modal .reno-modal__sub-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.reno-modal .reno-modal__sub-row {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px;
  align-items: flex-start;
}
.reno-modal .reno-modal__sub-row img {
  width: 160px !important;
  min-width: 160px !important;
  border-radius: 4px;
  flex-shrink: 0;
}
.reno-modal .reno-modal__sub-text {
  flex: 1;
}
.reno-modal .reno-modal__sub-text h4 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
}
.reno-modal .reno-modal__sub-text p {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* 通常モーダル */
.reno-modal__img {
  width: 48%;
  border-radius: 4px;
  margin-bottom: 20px;
}
.reno-modal__desc {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
	width: 48%;
}
.reno-modal__close.ver2{
	position: static;
	width: fit-content;
	margin-left: auto;
	display: none;
}
/* SP対応 */
@media screen and (max-width: 767px) {
.reno-modal__close.ver2{
	display: block;
	}
	.reno-modal__flex{
	display: block;
}
	.reno-modal__desc ,
	.reno-modal__img {
		width: auto;
	}
	.reno-modal__img {
		object-fit: cover;
	}
  .renovation-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 12px;
  }
  .renovation-card__img {
    height: 120px;
  }
  .reno-modal {
    padding: 32px 20px 24px;
  }
  .reno-modal .reno-modal__sub-row {
    flex-direction: column !important;
  }
  .reno-modal .reno-modal__sub-row img {
    width: 100% !important;
    min-width: unset !important;
  }
  .reno-modal__img {

  }
}
@media screen and (max-width: 400px) {
  .renovation-grid {
    grid-template-columns: 1fr;
  }
}
