@charset "UTF-8";
/* CSS Document */

/* コモン */
.service_wrap{
color: #333 !important;
}
/* レンタルタイトル */
.rental-header {
  padding: 1rem 0rem;
}

.rental-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rental-title .icon {
  width: 20px;
  height: auto;
  flex-shrink: 0;
}

.rental-title h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
}

.rental-underline {
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, #000 30%, #ccc 70%);
  margin-top: 0.5rem;
}

/* 各エリアタイトル */
.area-heading {
  display: flex;
  align-items: center;
  gap: 0.5em; /* テキストと線の間隔 */
  margin: 2% 0 4% 0;
}

.area-label {
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}

.area-line {
  width: 40px; /* 短めの長さに調整 */
  height: 1px;
  background-color: #333;
  opacity: 0.5;
  flex-shrink: 0;
}


/* 物件カードエリア*/
/* 親グリッド */
.rental-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* カード全体 */
.cards_area {
display: flex;
flex-wrap: wrap;
gap: 2%;
}

.card_area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 48%;
  padding: 1%;
  box-sizing: border-box;
  background: #fff;
  min-height: 100%;
  margin-bottom: 10%;
}

/* 上部を固定化しやすく */
.card-top {
  margin-bottom: 1rem;
}

/* 中部：内容量が違ってもOK */
.card-middle {
  flex-grow: 1;
}

/* 下部：ボタンを下に固定 */
.card-bottom {
  margin-top: auto;
  padding-top: 2rem;
  text-align: center;
}

.rental-name{
font-weight: bold;
font-size: 101%;
padding-bottom: 0.5em;
border-bottom: solid 1px;
margin: 4% 0% 4% 0%;
}

.rental-point{
background: #333;
border-radius: 100px;
color: #fff;
padding: 1% 4%;
font-size: 72%;
display:inline-block;
margin-bottom: 3%;
}

.rental-info{
font-size: 68%;
line-height: 2;
}

.rental-bt {
  display: inline-block;
  text-align: center;
  background: #333;
  color: #fff;
  padding: 1em 2em;
  border-radius: 5px;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  margin-top: 4%;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.rental-bt:hover {
  background-color: #555;
  transform: scale(1.03);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.ac-point{
font-size: 70%;
margin-bottom: 3%;
}


.sns_movie_area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* スマホ対応 */
}

.sns-text {
  font-size: 0.9rem;
  margin: 0;
  flex: 1 1 auto;
}

.sns-icons {
  display: flex;
  gap: 0.5em;
  flex-shrink: 0;
}

.sns-icons a img {
  height: 24px;
  width: auto;
}


.sns-icons a img {
  height: 24px;
  width: auto;
  transition: all 0.2s ease;
  vertical-align: middle;
}

/* ホバー時のアクション */
.sns-icons a:hover img {
  transform: scale(1.1); /* 拡大 */
  opacity: 0.8;           /* 少し薄く */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); /* シャドウ */
}

/* スマホ用：768px以下で縦並び・左寄せに */
@media screen and (max-width: 768px) {
  .sns_movie_area {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
  }

  .sns-icons {
    justify-content: flex-start;
  }
}



/* ビフォーアフター */
.before-after-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.ba-buttons {
  margin-bottom: 1em;
}

.ba-btn {
  padding: 0.5em 1.2em;
  margin: 0 0.5em;
  border: none;
  background-color: #ddd;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.ba-btn.active {
  background-color: #333;
  color: #fff;
}

.ba-images {
  position: relative;
  margin-bottom: 1em;
}

.ba-image {
  display: none;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.ba-image.active {
  display: block;
}

.ba-thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ba-thumbnails .thumbs {
  display: none;
}

.ba-thumbnails .thumbs.active {
  display: flex;
  gap: 10px;
}

.ba-thumbnails img {
  width: 80px;
  height: auto;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.2s ease;
}

.ba-thumbnails img:hover {
  transform: scale(1.05);
}

.ba-images {
  position: relative;
  margin-bottom: 1em;
  width: 100%;
  aspect-ratio: 16 / 9; /* 横長比率に固定 */
  overflow: hidden;     /* 枠からはみ出た部分を非表示 */
  border-radius: 8px;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;    /* トリミング効果を有効に */
  object-position: center; /* 画像の中心を表示 */
  display: none;
}

.ba-image.active {
  display: block;
}

.ba-thumbnails img {
  width: 100px;               /* 横幅を固定 */
  aspect-ratio: 16 / 9;       /* 横長に見える比率を強制 */
  object-fit: cover;          /* はみ出しトリミング */
  object-position: center;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.ba-thumbnails {
  overflow-x: auto;         /* 横スクロールを許可 */
  white-space: nowrap;     /* 改行を防いで横一列に */
  padding-bottom: 0.5em;
  margin-bottom: 1em;
}

/* 各サムネイル画像を横並び＆固定サイズに */
.ba-thumbnails .thumbs.active {
  display: inline-flex;     /* 横並びを保つ */
  gap: 10px;
}

/* サムネイル画像本体 */
.ba-thumbnails img {
  width: 100px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: inline-block;
}

.ba-thumbnails {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 0.5em;
  margin: 1.5rem 0; /* ← 上下に余白を追加 */
}

.sns-video-section {
  text-align:center;
  margin: 1.5rem 0;
}

.sns-heading {
  font-size: 0.95rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.sns-icons {
  display: flex;
  justify-content: center; /* ← 中央揃え */
  gap: 16px;
  align-items: center;
}


.sns-icons a img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.sns-icons a:hover img {
  transform: scale(1.1);
}

/* お問い合わせボタン */
.card-bottom {
  text-align: center;
}

.rental-bt02 {
  display: inline-block;
  text-align: center;
  background: #333;
  color: #fff;
  padding: 1em 2em;
  border-radius: 5px;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 5%;
}

.rental-bt02:hover {
  background-color: #555;
  transform: scale(1.03);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}