@charset "UTF-8";
/* CSS Document */
/*//////////PCサイズ///////////*/
@media screen and (min-width: 768px) {

/* ==============================
 トピックス詳細ページ start
============================== */
.topicsDetailSection {
  background: #fff;
  padding: 10vw 5vw;
}

.topicsDetail__inner {
  max-width: 800px;
  margin: 0 auto;
  color: #333;
  font-size: 1rem;
  line-height: 2;
}

.topicsDetail__image img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
}

.topicsDetail__header {
}

.topicsDetail__title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: #0a3b78;
  margin: 0;
}

.topicsDetail__date {
  font-size: 0.9rem;
  color: #999;
  white-space: nowrap;
}

.topicsDetail__line {
  border: none;
  border-top: 1px solid #ccc;
  margin: 1.5rem 0;
}

.topicsDetail__body p {
	margin-bottom: 1.5rem;
	text-align: justify;
}

.topicsDetail__body a {
  color: #0a3b78;
  text-decoration: underline;
  font-weight: bold;
}
/* ==============================
 トピックス詳細ページ end
============================== */
body{
  background-color: #F2F2EF;
}
/* ==============================
 gallery Section start
============================== */

.gallery_Section {

  color: #000;
  padding: 6vw 0;
}
.gallery-hero{
  width: 90%;
  aspect-ratio: 16 / 10; /* これだけで高さが16:9に */
  overflow: hidden;
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center;     /* 縦方向の中央揃え */
  margin: auto;
}
.gallery-hero_tate{
  padding: 0 25vw;
    display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center;     /* 縦方向の中央揃え */
  margin: auto;
}
.gallery-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-content {
  padding: 5vw 7vw 3vw;
}

.gallery-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  padding:0 0 0.5rem 0;
}

.gallery-title h1 {
    font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
  color: #0a3b78;
  font-weight: 500;
}

.gallery-date {
  font-size: 1.2rem;
  color: #999;
}

.gallery-line {
  border: none;
  border-top: 1px solid #ccc;
  margin: 1rem 0 3rem;
}

.gallery-textwrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
gap: 2vw 0.5vw;
  align-items: stretch; /* 各セルの高さを揃える */
}

/* セルを縦並びのフレックスにして、画像エリアを残り全体に充当 */
.gallery-sideimg {
  display: flex;
  flex-direction: column;
  height: 100%;   /* gridのセル高にフィット */
  min-height: 0;  /* 子要素のはみ出し防止（重要） */
}

/* 画像を枠いっぱいにジャストフィット（上下左右にスキマなし） */
.gallery-sideimg img {
  flex: 1 1 auto;  /* 残り全体を埋める */
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
  min-height: 0;    /* Firefox対策 */
}

.gallery-text {
  width: 100%;
  font-size: 1.1rem;
  line-height: 2;
  padding-top: 0.3rem;
}
.gallery-sideimg .gallery-text{
  padding: 0 0.25vw;
}
 /* ビデオ枠 */
  .newvideo_container {
    margin: 5vw 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
	background-color: #000;
  }
  .video-container {
    position: relative;
   width: 100%;                  /* ← 親に対してピッタリ */
  padding-top: calc(100% * 9 / 16); /* ← 高さは16:9（56.25%でも可） */
    background-color: #000;
  }
.video-container iframe,
.video-container video {
  position: absolute;
  inset: 0;  /* top:0; right:0; bottom:0; left:0; と同義 */
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover; /* videoの場合に効く。iframeは無視されてもOK */
}
  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: url('../../images/play_bot.svg') no-repeat center center;
    background-size: contain;
    cursor: pointer;
    z-index: 1;
  }
/* ==============================
 gallery Section end
============================== */
/* ==============================
  物件紹介ボックス全体の枠 start
============================== */
.property-box {
  background-color: #fff;
  padding: 2rem;
  width: 90vw;
  margin: 0 auto 10vw auto;
  box-sizing: border-box;
}
.property-tags {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0 0 0;
}
.property-tags .tag {
  display: inline-block;
  font-size: 0.8rem;
  color: #000;
  padding: 0.2rem 0.6rem;
  border-radius: 0.2rem;
  text-decoration: none;
}
.tag.jp { background-color: #dec75c; }
.tag.gl { background-color: #dabbb2; }
.tag.dev { background-color: #cae0bf; }
.tag.mg { background-color: #d5c0cd; }
.tag.rel { background-color: #dcd7d2; }
.tag.csr { background-color: #124378; color: #fff; }
.property-title {    font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 500;
  margin: 1rem 0;
}
.property-info p {
  margin: 0 0;
  font-size: 1rem;
  line-height: 1.8;
}
.property-info a {
  color: #124378;
  text-decoration: underline;
  word-break: break-word;
}
/* ==============================
  物件紹介ボックス全体の枠 end
============================== */
}

/*//////////SPサイズ///////////*/
/*//////////SPサイズ///////////*/
/*//////////SPサイズ///////////*/
/*//////////SPサイズ///////////*/
@media screen and (max-width:767px) {
/* ==============================
 * gallery Section（SP） start
 * ============================== */
.gallery_Section {
  color: #000;
  padding: 0 0 8vw 0;
}

/* メイン画像（横長） */
.gallery-hero {
  width: 100vw;
  auto:auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 6vw;
  padding-top: 70px; /* ヘッダー高さ分の余白を確保 */

}
.gallery-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* 縦長画像用（左右余白あり） */
.gallery-hero_tate {
  width: 87vw;
  padding: 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 6vw;  padding-top: 70px; /* ヘッダー高さ分の余白を確保 */
}
.gallery-hero_tate img {
  max-width: 100%;
  height: auto;
  display: block;
}

.gallery-content {
  width: 87vw;
  margin: 0 auto;
  padding: 0 0 4vw;
}

.gallery-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 0 0 0.5rem 0;
}
.gallery-title h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  color: #0a3b78;
  font-weight: 500;
}
.gallery-date {
  font-size: 1rem;
  color: #999;
}

.gallery-line {
  border: none;
  border-top: 1px solid #ccc;
  margin: 1rem 0 2rem;
}

/* 画像＋キャプション（SPでは1カラム） */
.gallery-textwrap {
  display: flex;
  flex-direction: column;
  gap: 4vw;
  align-items: stretch;
}
.gallery-sideimg {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.gallery-sideimg img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.gallery-text {
  width: 100%;
  font-size: 0.8rem;
  line-height: 1.8;
  padding-top: 0.0rem;
}

/* 動画枠 */
.newvideo_container {
  margin: 8vw 0 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
}
.video-container {
  position: relative;
  width: 100%;
  padding-top: calc(100% * 9 / 16); /* 16:9比率 */
  background-color: #000;
}
.video-container iframe,
.video-container video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: url('../../images/play_bot.svg') no-repeat center center;
  background-size: contain;
  cursor: pointer;
  z-index: 1;
}
/* ==============================
 * gallery Section（SP） end
 * ============================== */

/* ==============================
 * 物件紹介ボックス（SP） start
 * ============================== */
.property-box {
  background-color: #fff;
  padding: 1.5rem;
  width: 87vw;
  margin: 0 auto 10vw auto;
  box-sizing: border-box;
  border-radius: 0.6rem;
  box-shadow: 0 0.2rem 0.6rem rgba(0,0,0,0.08);
}

.property-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem 0 0 0;
}
.property-tags .tag {
  display: inline-block;
  font-size: 0.8rem;
  color: #000;
  padding: 0.2rem 0.6rem;
  border-radius: 0.2rem;
  text-decoration: none;
}
/* 既存の正式色クラスを適用 */
.tag.jp { background-color: #dec75c; }
.tag.gl { background-color: #dabbb2; }
.tag.dev { background-color: #cae0bf; }
.tag.mg { background-color: #d5c0cd; }
.tag.rel { background-color: #dcd7d2; }
.tag.csr { background-color: #124378; color: #fff; }

.property-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 1rem 0;
}
.property-info p {
  margin: 0 0 0.2rem 0;
  font-size: 0.8rem;
  line-height: 1.8;
}
.property-info a {
  color: #124378;
  text-decoration: underline;
  word-break: break-word;
}
/* ==============================
 * 物件紹介ボックス（SP） end
 * ============================== */

}