@charset "UTF-8";

/* ===== Extracted from archive-homes.php block 1 ===== */
.area-info,
  .c-title-homes {
    scroll-margin-top: 120px;
  }

/* ===== Extracted from archive-homes.php block 2 ===== */
.p-homesDesc .city span{
    font-size: 1.6rem;
    font-weight: var(--fw-bold);
}

/* ===== Extracted from archive-homes.php block 3 ===== */
/* 新着ホームリストをテーブル風にするスタイル */

/* 基本的なスタイルは既存のまま */
.p-homeNewsList {
  margin: 40px 0;
}

.p-homeNewsList__title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}

.p-homeNewsList__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
}

.p-homeNewsList__item {
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.2s ease;
  background-color: #fff;
}

.p-homeNewsList__item:last-child {
  border-bottom: none;
}

.p-homeNewsList__item:hover {
  background-color: #f8f9fa;
}

.p-homeNewsList__link {
  display: block;
  padding: 16px 20px;
  text-decoration: none;
  color: inherit;
}

.p-homeNewsList__link:hover {
  color: inherit;
  text-decoration: none;
}

/* PC用レイアウト（デフォルト表示） */
.p-homeNewsList__pc-layout {
  display: grid;
  grid-template-columns: 100px 80px 2fr 135px 85px;
  gap: 15px;
  align-items: center;
  min-height: 50px;
}

.p-homeNewsList__sp-layout {
  display: none;
}

/* 各セルのスタイル */
.p-homeNewsList__date,
.p-homeNewsList__prefecture,
.p-homeNewsList__facility,
.p-homeNewsList__opening,
.p-homeNewsList__vacancy {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

/* 日付セル */
.p-homeNewsList__date {
  justify-content: center;
}

.date-value {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

/* 都道府県セル */
.p-homeNewsList__prefecture {
  justify-content: center;
  width: 65px;
}

.prefecture-value {
  background-color: #e9ecef;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  color: #495057;
  white-space: nowrap;
}

/* 施設名セル */
.p-homeNewsList__facility {
  align-items: center;
}

.facility-label {
  display: none;
}

.facility-value {
  font-weight: bold;
  font-size: 16px;
  line-height: 1.3;
}

/* 開所日セル */
.p-homeNewsList__opening {
  flex-direction: column;
  align-items: start;
  font-size: 15px;
  line-height:1.3;
}

.opening-label {
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 2px;
}

/* 空室情報セル */
.p-homeNewsList__vacancy {
  justify-content: center;
}

.vacancy-label {
  display: none;
}

.vacancy-value {
  display: flex;
  justify-content: center;
}

/* 空室バッジのスタイル
.vacancy-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  color: white;
  text-align: center;
  min-width: 60px;
  position: static;
}
 */


.p-homeList .vacancy-badge {
    position: absolute;
}
/* タブレット対応 */
@media (max-width: 1024px) {
  .p-homeNewsList__pc-layout {
    grid-template-columns: 80px 100px 2fr 100px 80px;
    gap: 10px;
  }
}

/* スマホ対応 */
@media (max-width: 768px) {
  .p-homeNewsList__link {
    padding: 12px 16px;
  }
  
  /* PC用レイアウトを非表示、SP用レイアウトを表示 */
  .p-homeNewsList__pc-layout {
    display: none;
  }
  
  .p-homeNewsList__sp-layout {
    display: block;
  }
  
  /* SP用の行スタイル */
  .p-homeNewsList__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
  }
  
  .p-homeNewsList__row:last-child {
    border-bottom: none;
  }
  
  /* 日付と都道府県行 */
  .p-homeNewsList__date-prefecture .date-value {
    font-size: 14px;
    color: #666;
    font-weight: 500;
  }
  
  .p-homeNewsList__date-prefecture .prefecture-value {
    font-size: 14px;
    padding: 3px 6px;
  }
  
  /* 施設名行 */
  .p-homeNewsList__facility-sp .facility-value {
    font-size: 16px;
  }
  
  /* 開所日と空室情報行 */
  .p-homeNewsList__opening-vacancy {
    align-items: center;
  }
  
  .opening-info {
    display: flex;
    align-items: baseline;
    gap: 4px;
  }
  
  .opening-info .opening-label {
    font-size: 13px;
    color: #6c757d;
  }
  
  .vacancy-info .vacancy-badge {
    font-size: 14px;
    padding: 4px 8px;
    min-width: 50px;
  }
}

.area-info {
  text-align: center;
  margin: 2em 0;
}

.area-info__title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.5;
}

@media screen and (max-width: 650px) {
  .area_button_list li {
    width: 48%;
  }
  .p-homes .c-button {
    width: 100%;
  }
}

/* ===== Extracted from archive-homes.php block 5 ===== */
  @media screen and (max-width: 650px) {
    .c-title-homes {
      text-align:center;
    }
    .c-title-homes .ja38 {
      margin-top: 16px;
      font-size: 2.6rem;
      line-height: 1.4;
    }
  }


/* ===== Moved from pages/general.css :: homes ===== */
/* ===== Moved from pages/general.css :: homes ===== */
/* =============================================
   homes
   ============================================= */


/* articles */
.p-homes {
	padding-top: 60px;
}

@media (min-width: 501px) {
	.p-homes {
		padding-top: 80px;
	}
}

@media (min-width: 651px) {
	.p-homes {
		padding-top: 100px;
	}
}

.p-homes .c-button {
	margin: 30px auto 0;
}

@media (min-width: 811px) {
	.p-homes .c-button {
		margin: 50px auto 0;
	}
}

@media (min-width: 651px) {
	.p-homes .c-button {
		width: 260px;
	}
}

/* list */
.p-homeList {
	margin: 40px auto 0;
	display: flex;
	flex-wrap: wrap;
	gap: 50px 4%;
	flex-direction: column;
}

@media (min-width: 501px) {
	.p-homeList {
		margin: 50px auto 0;
		flex-direction: row;
	}
}

@media (min-width: 651px) {
	.p-homeList {
		margin: 60px auto 0;
		gap: 60px 3.5%;
	}
}

@media (min-width: 811px) {
	.p-homeList {
		margin: 100px auto 0;
	}
}

@media (min-width: 1081px) {
	.p-homeList {
		margin: 60px auto 0;
	}
}

.p-home__item {
	flex: 0 0 100%;
}

@media (min-width: 501px) {
	.p-home__item {
		flex: 0 0 48%;
	}
}

@media (min-width: 651px) {
	.p-home__item {
		flex: 0 0 31%;
	}
}

/* image ratio */
.p-home__image {
	width: 100%;
	height: 52vw;
}

@media (min-width: 501px) {
	.p-home__image {
		height: 32vw;
	}
}

@media (min-width: 651px) {
	.p-home__image {
		height: 22vw;
	}
}

@media (min-width: 1081px) {
	.p-home__image {
		height: 247px;
	}
}

/* 空室バッチ */
/* 親に相対配置を付与（念のため） */
.p-home__image {
	position: relative;
}

/* p-home__image配下のa要素には下線をつけない */
.p-home__image a {
	text-decoration: none;
}

/* バッジ共通 */
.vacancy-badge {
	position: static;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: inline-block;
	padding: 4px 8px;
	border-radius: var(--radius-1);
	font-size: var(--fs-sm);
	line-height: 1;
	font-family:var(--ff-sans);
	font-weight: var(--fw-normal);
	color: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

@keyframes badge-in {
	to {
		transform: translateY(0);
	}
}


.p-homeList .vacancy-badge {
    position: absolute;
}

/* 空室なし */
.vacancy-badge.is-none {
	background: #919ea8;;
}

/* 空室僅か */
.vacancy-badge.is-few {
	background: #f59e0b;
}

/* 空室あり */
.vacancy-badge.is-available {
	background: #16a34a;
}

/* 要確認（データなし） */
.vacancy-badge.is-check {
  background-color: #6c757d;
}



.p-homesDesc {
	margin-top: 10px;
}

@media (min-width: 501px) {
	.p-homesDesc {
		margin-top: 15px;
	}
}

.p-homesDesc .city {
	font-size: 1.6rem;
	line-height: 1.4;
}

@media (min-width: 501px) {
	.p-homesDesc .city {
		font-size: 1.7rem;
	}
}

.p-homesDesc .address {
	margin-top: 10px;
	font-size: 1.6rem;
}

@media (min-width: 501px) {
	.p-homesDesc .address {
		margin-top: 15px;
	}
}

.p-home__link {
	display: inline-block;
	width: 100%;
	height: 100%;
	z-index: 0;
	text-decoration: none;
}

.p-home__link img {
	transition: transform .3s;
}

.p-home__link:hover img {
	transform: scale(1.2);
}

.p-homeSearch {
	position: relative;
	margin: 30px auto 0;
	padding: 30px;
	max-width: 100%;
	width: 100%;
	background-color: #fcfaf5;
	z-index: 1;
}

@media (min-width: 811px) {
	.p-homeSearch {
		margin: 60px auto 0;
		padding: 30px;
		max-width: 100%;
		width: 100%;
	}
}

@media (min-width: 1081px) {
	.p-homeSearch {
		margin: 80px auto 0;
		padding: 50px;
		max-width: 670px;
		width: 80%;
	}
}

.p-searchWrap {
	display: flex;
	align-items: center;
	gap: 10px 0;
	flex-direction: column;
	align-items: start;
}

@media (min-width: 651px) {
	.p-searchWrap {
		flex-direction: row;
		align-items: center;
		gap: 0 15px;
	}
}

/* select */
.p-select {
	position: relative;
	width: 185px;
	z-index: 0;
	background-color: #fff;
}

.p-select .selectArrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 0;
	width: 40px;
	height: 100%;
	border-left: 1px solid #707070;
}

.p-select .selectArrow:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 10px solid #000;
	/* <=810 */
}

@media (min-width: 811px) {
	.p-select .selectArrow:before {
		border-left: 8.5px solid transparent;
		border-right: 8.5px solid transparent;
		border-top: 16px solid #000;
	}
}

.p-select select {
	padding: 0 20px;
	font-size: 1.6rem;
	max-width: 185px;
	width: 100%;
	height: 33px;
	border: 1px solid #707070;
	letter-spacing: -0.1em;
	line-height: 1;
	cursor: pointer;
	transition: background-color .3s;
}

.p-select option {
	background-color: #fff;
	color: #000;
}

/* keyword search */
.p-searchForm {
	max-width: 360px;
	width: 100%;
	height: 35px;
	border: 1px solid #707070;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #fff;
}

.p-searchForm input {
	padding: 0 15px;
}

.p-searchForm .searchButton {
	width: 50px;
	height: 33px;
	border-left: 1px solid #707070;
	white-space: nowrap;
	cursor: pointer;
	transition: opacity .3s;
}

.p-searchForm .searchButton:hover {
	opacity: .8;
}

/* search count */
.p-searchCount {
	margin-top: 25px;
	padding: 25px;
	background-color: #fff;
}

.p-searchCount .text {
	text-align: center;
	font-size: 2rem;
	line-height: 1;
}

/* prefectures map wrapper (ver.1) */
.p-prefectures {
	margin: 30px auto 0;
	width: 100%;
	overflow-x: auto;
	writing-mode: vertical-rl;
	background-color: #fbfbfb;
	padding-top: 10px;
}

@media (min-width: 651px) {
	.p-prefectures {
		overflow-x: visible;
		writing-mode: horizontal-tb;
		background: none;
		padding-top: 0;
		width: 80vw;
		margin: -180px 0 0 auto;
	}
}

@media (min-width: 811px) {
	.p-prefectures {
		margin: 30px auto 0;
		width: 80vw;
	}
}

@media (min-width: 981px) {
	.p-prefectures {
		margin: -100px 0 0 auto;
	}
}

@media (min-width: 1081px) {
	.p-prefectures {
		margin: -180px 0 0 auto;
		width: 80vw;
	}
}

/* テキスト表記 */
.p-prefecturesText {
	display: block;
	margin-top: 15px;
	text-align: center;
}

@media (min-width: 651px) {
	.p-prefecturesText {
		display: none;
	}
}

/* map */
.jp_map {
	position: relative;
	padding: 80% 0 0;
	z-index: 0;
	width: 800px;
	height: 500px;
}

@media (min-width: 651px) {
	.jp_map {
		width: auto;
		height: auto;
	}
}

.jp_map a {
	width: calc(50% - 6px);
	padding: 7px 0;
	border-radius: 8px;
	text-align: center;
	margin: 3px;
	color: #fff;
	transition: opacity .3s;
}

@media (min-width: 811px) {
	.jp_map a {
		border-radius: 10px;
	}
}

@media (min-width: 1081px) {
	.jp_map a {
		border-radius: 10px;
	}
}

.jp_map a:hover {
	opacity: .6;
}

.jp_map li a {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	width: 7%;
	height: 10%;
	border: solid #fff 2px;
	padding: 7px 0;
	font-size: 1.3rem;
	margin: 0;
	white-space: nowrap;
	text-decoration: none;
}

@media (min-width: 1081px) {
	.jp_map li a {
		font-size: 1.5rem;
	}
}

.jp_map li:nth-child(1) a {
	top: 0;
	left: 85%;
	width: 16%;
	background: #0465bf;
}

@media (min-width: 651px) {
	.jp_map li:nth-child(1) a {
		width: 16%;
	}
}

.jp_map li:nth-child(2) a {
	top: 10%;
	left: 85%;
	width: 14%;
	height: 6.5%;
	background: #51a6f9;
}

.jp_map li:nth-child(3) a {
	top: 16.5%;
	left: 92%;
	background: #51a6f9;
}

.jp_map li:nth-child(4) a {
	top: 26.5%;
	left: 92%;
	background: #51a6f9;
}

.jp_map li:nth-child(5) a {
	top: 16.5%;
	left: 85%;
	background: #51a6f9;
}

.jp_map li:nth-child(6) a {
	top: 26.5%;
	left: 85%;
	background: #51a6f9;
}

.jp_map li:nth-child(7) a {
	top: 36.5%;
	left: 92%;
	background: #51a6f9;
}

.jp_map li:nth-child(8) a {
	top: 46.5%;
	left: 92%;
	background: #01872b;
}

.jp_map li:nth-child(9) a {
	top: 46.5%;
	left: 85%;
	background: #01872b;
}

.jp_map li:nth-child(10) a {
	top: 46.5%;
	left: 78%;
	background: #01872b;
}

.jp_map li:nth-child(11) a {
	top: 56.5%;
	left: 85%;
	background: #01872b;
}

.jp_map li:nth-child(12) a {
	top: 56.5%;
	left: 92%;
	background: #01872b;
}

.jp_map li:nth-child(13) a {
	left: 85%;
	top: 66.5%;
	background: #01872b;
}

.jp_map li:nth-child(14) a {
	left: 78%;
	top: 66.5%;
	background: #01872b;
}

.jp_map li:nth-child(15) a {
	top: 36.5%;
	left: 78%;
	width: 14%;
	background: #70be40;
}

.jp_map li:nth-child(16) a {
	top: 36.5%;
	left: 71%;
	background: #70be40;
}

.jp_map li:nth-child(17) a {
	top: 36.5%;
	left: 64%;
	background: #70be40;
}

.jp_map li:nth-child(18) a {
	left: 64%;
	top: 46.5%;
	background: #70be40;
}

.jp_map li:nth-child(19) a {
	top: 56.5%;
	left: 78%;
	background: #70be40;
}

.jp_map li:nth-child(20) a {
	left: 71%;
	top: 46.5%;
	height: 20%;
	background: #70be40;
}

.jp_map li:nth-child(21) a {
	left: 64%;
	top: 56.5%;
	background: #70be40;
}

.jp_map li:nth-child(22) a {
	left: 71%;
	top: 66.5%;
	background: #70be40;
}

.jp_map li:nth-child(23) a {
	left: 64%;
	top: 66.5%;
	background: #70be40;
}

.jp_map li:nth-child(24) a {
	left: 57%;
	top: 66.5%;
	background: #f1c002;
}

.jp_map li:nth-child(25) a {
	left: 57%;
	top: 46.5%;
	background: #f1c002;
}

.jp_map li:nth-child(26) a {
	left: 50%;
	top: 46.5%;
	background: #f1c002;
}

.jp_map li:nth-child(27) a {
	left: 50%;
	top: 56.5%;
	background: #f1c002;
}

.jp_map li:nth-child(28) a {
	left: 43%;
	top: 46.5%;
	height: 20%;
	background: #f1c002;
}

.jp_map li:nth-child(29) a {
	left: 57%;
	top: 56.5%;
	background: #f1c002;
}

.jp_map li:nth-child(30) a {
	left: 50%;
	top: 66.5%;
	background: #f1c002;
}

.jp_map li:nth-child(31) a {
	left: 36%;
	top: 46.5%;
	background: #f28f19;
}

.jp_map li:nth-child(32) a {
	left: 29%;
	top: 46.5%;
	background: #f28f19;
}

.jp_map li:nth-child(33) a {
	left: 36%;
	top: 56.5%;
	background: #f28f19;
}

.jp_map li:nth-child(34) a {
	left: 29%;
	top: 56.5%;
	background: #f28f19;
}

.jp_map li:nth-child(35) a {
	left: 22%;
	top: 46.5%;
	height: 20%;
	background: #f28f19;
}

.jp_map li:nth-child(36) a {
	left: 36%;
	top: 78.5%;
	background: #fb9da8;
}

.jp_map li:nth-child(37) a {
	left: 36%;
	top: 68.5%;
	background: #fb9da8;
}

.jp_map li:nth-child(38) a {
	left: 29%;
	top: 68.5%;
	background: #fb9da8;
}

.jp_map li:nth-child(39) a {
	left: 29%;
	top: 78.5%;
	background: #fb9da8;
}

.jp_map li:nth-child(40) a {
	left: 14%;
	top: 46.5%;
	background: #eb5d57;
}

.jp_map li:nth-child(41) a {
	left: 7%;
	top: 46.5%;
	background: #eb5d57;
}

.jp_map li:nth-child(42) a {
	left: 0;
	top: 46.5%;
	background: #eb5d57;
}

.jp_map li:nth-child(43) a {
	left: 7%;
	top: 56.5%;
	background: #eb5d57;
}

.jp_map li:nth-child(44) a {
	left: 14%;
	top: 56.5%;
	background: #eb5d57;
}

.jp_map li:nth-child(45) a {
	left: 14%;
	top: 66.5%;
	background: #eb5d57;
}

.jp_map li:nth-child(46) a {
	left: 7%;
	top: 66.5%;
	background: #eb5d57;
}

.jp_map li:nth-child(47) a {
	left: 0;
	top: 76.5%;
	background: #f5c9ff;
}

/* area buttons */
.area_button_list {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin: 20px auto 80px;
}

.area_button_list li {
	width: 48%;
}

@media (min-width: 651px) {
	.area_button_list li {
		width: auto;
	}
}

.area_button_list .area_button_item {
	width: 80%;
	border-radius: 8px;
	text-align: center;
	transition: opacity .3s;
}

@media (min-width: 501px) {
	.area_button_list .area_button_item {
		width: 40%;
	}
}

@media (min-width: 851px) {
	.area_button_list .area_button_item {
		width: 20%;
	}
}

.area_button_list .area_button_item:hover {
	opacity: .6;
}

.area_button_list .area_button_item a {
	color: #fff;
	display: block;
	padding: 8px;
	font-size: 2.4rem;
	font-weight: 800;
}

/* titles */
.c-title .c-title_areainfo {
	text-align: center;
	line-height: 1.5;
}

.c-title-homes .ja38 {
	margin-top: 16px;
	font-size: 2.6rem;
	line-height: 1.4;
}

@media (min-width: 651px) {
	.c-title-homes .ja38 {
		font-size: 3.8rem;
		line-height: 1.5;
	}
}

.p-leadDesc {
	margin: 18px 0;
	width: 100%;
	font-size: 1.8rem;
	text-align: center;
}

@media (min-width: 651px) {
	.p-leadDesc {
		margin: 32px 0;
		max-width: 768px;
		font-size:  2.4rem;
		text-align: left;
	}
}

/* pager */
.p-pager {
	display: block;
	position: relative;
	margin: 60px auto 0;
	width: 300px;
}

@media (min-width: 501px) {
	.p-pager {
		margin: 70px auto 0;
		width: 380px;
	}
}

@media (min-width: 811px) {
	.p-pager {
		margin: 80px auto 0;
		width: 430px;
	}
}

.p-pager li {
	margin: 0 2px;
}

@media (min-width: 651px) {
	.p-pager li {
		margin: 0 4px;
	}
}

.page-numbers {
	display: flex;
	justify-content: center;
}

.page-numbers a,
.page-numbers span {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	font-size: 1.8rem;
	transition: background-color .3s, color .3s;
	line-height: 1;
	width: 30px;
	height: 30px;
	z-index: 2;
}

@media (min-width: 501px) {

	.page-numbers a,
	.page-numbers span {
		width: 35px;
		height: 35px;
		font-size: 2rem;
	}
}

.page-numbers a:not(.current):not(.prev):not(.next) {
	border: 2px solid #000;
	border-radius: 50%;
}

.page-numbers a:not(.current):not(.prev):not(.next):hover {
	color: #fff;
	background-color: #000;
}

.page-numbers .current {
	border: 2px solid #000;
	border-radius: 50%;
	color: #fff;
	background-color: #000;
}

.page-numbers .dots {
	pointer-events: none;
}

.page-numbers .prev,
.page-numbers .next {
	position: relative;
	width: 30px;
	height: 30px;
	transition: transform .3s;
}

@media (min-width: 501px) {

	.page-numbers .prev,
	.page-numbers .next {
		width: 40px;
		height: 40px;
	}
}

.page-numbers .prev::before,
.page-numbers .next::before {
	content: "";
	position: absolute;
	top: 50%;
	width: 5px;
	height: 5px;
	border: 1px solid;
	border-color: #000 #000 transparent transparent;
	transform: translateY(-50%) rotate(45deg);
	right: 12px;
}

/* single */

/* セクション */
.single-homes section {
	margin-bottom: 50px;
}

@media (max-width: 768px) {
	.single-homes section {
		margin-bottom: 30px;
	}
}

/* 見出し要素 */
.single-homes h2.homes__section-title,
.single-homes h3.homes__subsection-title,
.single-homes h2.homes__services-title,
.single-homes h2.homes__facilities-title,
.single-homes h2.homes__conditions-title,
.single-homes h2.homes__tour-title,
.single-homes h2.homes__recruit-title {
	font-size: var(--fs-md);
	font-weight: var(--fw-bold);
	padding: 15px 0;
	padding-bottom: var(--space-4);
	margin-bottom: var(--space-4);
	border-top: 2px solid var(--brand-accent-alt);
	border-bottom: 1px solid var(--brand-accent-alt);
	background-color: #fff7f7;
}

.single-homes h2.homes__section-title span,
.single-homes h3.homes__subsection-title span,
.single-homes h2.homes__services-title span,
.single-homes h2.homes__facilities-title span,
.single-homes h2.homes__conditions-title span,
.single-homes h2.homes__tour-title span,
.single-homes h2.homes__recruit-title span {
	font-size: var(--fs-md);
	font-weight: var(--fw-bold);
}



.single-homes h2.homes__tour-title {
	border-top: 2px solid var(--brand-accent);
	border-bottom: 1px solid var(--brand-accent);
	background-color: #fffcf7;
}

.single-homes h2.homes__recruit-title {
	border-top: 2px solid var(--brand-secondary);
	border-bottom: 1px solid var(--brand-secondary);
	background-color: #FDFFF7;
}

@media (min-width: 501px) {

	.single-homes h2.homes__section-title,
	.single-homes h3.homes__subsection-title,
	.single-homes h2.homes__services-title,
	.single-homes h2.homes__facilities-title,
	.single-homes h2.homes__conditions-title,
	.single-homes h2.homes__tour-title,
	.single-homes h2.homes__recruit-title {
		font-size: var(--fs-xl);
	}
}

/* 施設名・外観 */

.homes__hero {
	margin-top: 50px;
	width: 100vw;
	height: auto;
}

@media (min-width: 501px) {
	.homes__hero {
		margin-top: 50px;
	}
}

@media (min-width: 811px) {
	.homes__hero {
		margin-top: 50px;
		margin-bottom: 50px;
	}
}

@media (min-width: 1081px) {
	.homes__hero {
		margin-top: 90px;
		margin-bottom: 90px;
	}
}

.homes__hero-title {
	text-align: center;
	font-size: var(--fs-lg);
	line-height: 1.4;
	padding: 0 15px;
	margin-bottom: 2rem;
}

.homes__hero-area {
	display: block;
	font-family: var(--ff-sans);
	font-size: var(--fs-base);
	font-weight: var(--fw-normal);
	padding-bottom: var(--fs-md);
}

.homes__hero-name {
	font-size: var(--fs-lg);
}

@media (min-width: 501px) {
	.homes__hero-title {
		padding-bottom: var(--fs-xl);
	}

	.homes__hero-area {
		font-size: var(--fs-lg);
	}

	.homes__hero-name {
		font-size: var(--fs-xl);
	}
}

/* サムネイル画像 */
.p-homesMain__list {
	border-radius: 0;
	height: 46vw;
	max-height: 500px;
	overflow: hidden;
}

.p-homesMain__item.js-view {
	display: block;
}

.p-homesMain__item {
	width: 100%;
	height: 100%;
	display: none;
}

.p-homesSub__list {
	margin-top: 50px;
	display: flex;
	gap: 0 1%;
}

.p-homesSub__item {
	flex: 0 0 25%;
	height: 120px;
	cursor: pointer;
	position: relative;
	border-radius: 15px;
	overflow: hidden;
}

.p-homesSub__item:not(.js-view) img {
	filter: brightness(0.5);
}

@media (max-width: 500px) {
	.p-homesSub__list {
		margin-top: 20px;
		gap: 15px 4%;
		padding: 0 25px;
	}

	.p-homesSub__item {
		flex: 0 0 48%;
		height: 24vw;
		border-radius: 20px;
	}
}

/* 基本情報 */

.homes__basic-info {
	margin-top: 50px;
}

@media (min-width: 501px) {
	.homes__basic-info {
		margin-top: 60px;
	}
}

@media (min-width: 651px) {
	.homes__basic-info {
		margin-top: 80px;
	}
}

@media (min-width: 811px) {
	.homes__basic-info {
		margin-top: 90px;
	}
}

@media (min-width: 1081px) {
	.homes__basic-info {
		margin-top: 110px;
	}
}

.homes__basic-item {
	display: flex;
	flex-direction: column;
	gap: 5px 0;
	margin-bottom: 24px;
}

.homes__basic-item:nth-child(n+2) {
	margin-top: 30px;
}

@media (min-width: 651px) {
	.homes__basic-item:nth-child(n+2) {
		margin-top: 40px;
	}
}

.homes__basic-item .title {
	position: relative;
	padding-left: 1em;
}

@media (min-width: 811px) {
	.homes__basic-item .title {
		font-size: 1.8rem;
	}
}

.homes__basic-item a[href*="tel:"] {
	color: #8ec31f;
	pointer-events: all;
	cursor: auto;
	text-decoration: none;
}

@media (min-width: 501px) {
	.homes__basic-item a[href*="tel:"] {
		pointer-events: none;
		cursor: default;
		color: inherit;
	}
}

.homes__basic-item iframe {
	width: 100%;
	height: 55vw;
}

@media (min-width: 1081px) {
	.homes__basic-item iframe {
		height: 550px;
	}
}


.homes__basic-list {
	display: table;
	width: 100%;
	border-collapse: collapse;
}

.homes__basic-item {
	display: table-row;
}

.homes__basic-term,
.homes__basic-desc {
	display: table-cell;
	padding: 0.5em 1em;
	vertical-align: top;
	border-bottom: 1px solid #ddd;
}

.homes__basic-term {
	width: 30%;
	font-weight: bold;
	background: #f8f8f8;
}

.homes__basic-desc {
	width: 70%;
}

@media (min-width: 501px) {
	.homes__basic-term {
		width: 20%;
	}

	.homes__basic-desc {
		width: 80%;
	}
}

.homes__basic-list--optional .homes__basic-term {
	width: 37%;
}

@media (min-width: 501px) {
	.homes__basic-list--optional .homes__basic-term {
		width: 20%;
	}
}

/* 地図だけフル幅 */
.homes__basic-item--map {
	display: block;
	margin-top: 1.5em;
}

.homes__basic-item--map .homes__basic-term,
.homes__basic-item--map .homes__basic-desc {
	display: block;
	width: 100%;
	background: none;
	border: none;
	padding: 0;
}

.homes__basic-map iframe {
	width: 100%;
	height: 400px;
	border: 0;
}

.map-app-link {
	display: block;
	margin-top: 10px;
	margin-bottom: 30px;
	text-align: center;
}

.map-app-link a,
.map-app-link__disabled {
	display: inline-block;
	padding: 10px 14px;
	border-radius: 6px;
	text-decoration: none;
	background: var(--brand-primary);
	color: #fff;
	font-weight: 600;
}

.map-app-link__disabled {
	opacity: .5;
	pointer-events: none;
}

@media (min-width: 501px) {
	.map-app-link {
		display: none;
	}
}

/* form block spacing */
.p-homesForm {
	padding: 60px 0;
}

@media (min-width: 501px) {
	.p-homesForm {
		padding: 80px 0;
	}
}

@media (min-width: 811px) {
	.p-homesForm {
		padding: 100px 0;
	}
}

.p-homesForm .c-button {
	margin: 50px auto 0;
}

@media (min-width: 501px) {
	.p-homesForm .c-button {
		margin: 60px auto 0;
	}
}

@media (min-width: 811px) {
	.p-homesForm .c-button {
		margin: 80px auto 0;
	}
}


/* フォーム？ */
.from_top_text {
	text-align: center;
	margin-top: 80px;
	font-size: 2.0rem;
}


/*  サービス */

.homes__services-list {
	margin: 0;
	display: block;
}

.homes__services-item {
	display: block;
	padding: 16px 0;
	border-bottom: 1px solid #eee;
}

.homes__services-term {
	font-weight: 700;
	margin-bottom: 8px;
}

.homes__services-desc {
	margin: 0;
}

.homes__services-bullets {
	margin: 0;
	padding-left: 1.2em;
}

.homes__services-bullets li {
	position: relative;
	padding-left: 1.2em;
	margin-bottom: 0.5em;
}

.homes__services-bullets li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 0.5em;
	height: 0.5em;
	background-color: var(--brand-secondary);
	border-radius: 50%;
}

@media (min-width: 768px) {
	.homes__services-list {
		display: flex;
		flex-wrap: wrap;
		gap: 24px 32px;
	}

	.homes__services-item {
		flex: 1 1 calc(50% - 16px);
		min-width: 240px;
		border-bottom: 0;
		padding: 16px 0;
		display: grid;
		grid-template-columns: auto 1fr;
		gap: 0 16px;
		align-items: start;
	}

	.homes__services-term {
		margin-bottom: 0;
		white-space: nowrap;
	}
}


/*  設備情報 */
.homes__facilities-list {
	margin: 0;
}

.homes__facilities-item {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 12px 20px;
	padding: 16px 0;
	border-bottom: 1px solid #eee;
}

.homes__facilities-term {
	font-weight: 700;
}

.homes__facilities-desc {
	margin: 0;
	padding-left: 14px;
}

.homes__facilities-bullets {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
}

.homes__facilities-bullets li {
	position: relative;
	padding-right: 20px;
	margin-left: 0;
	white-space: nowrap;
}

/* 区切り線 */
.homes__facilities-bullets li:not(:last-child)::after {
	content: "";
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%) rotate(20deg);
	width: 1px;
	height: 1.2em;
	background-color: var(--brand-secondary);
}

@media (max-width: 768px) {
	.homes__facilities-item {
		grid-template-columns: 1fr;
	}
}

/*  入居条件 */

.homes__conditions-list {
	margin: 0;
}

.homes__conditions-item {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 12px 20px;
	padding: 16px 0;
	border-bottom: 1px solid #eee;
}

.homes__conditions-term {
	font-weight: 700;
}

.homes__conditions-desc {
	margin: 0;
	padding-left: 14px;
	line-height: 1.6;
}

@media (max-width: 768px) {
	.homes__conditions-item {
		grid-template-columns: 1fr;
	}
}

/*  見学の流れ */

.homes__tour {
	margin-top: 120px;
}

.homes__tour-list {
	margin: 0;
}

.homes__tour-item {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 12px 20px;
	padding: 16px 0;
	border-bottom: 1px solid #eee;
}

.homes__tour-term {
	font-weight: 700;
}

.homes__tour-desc {
	margin: 0;
	padding-left: 14px;
	line-height: 1.6;
}

@media (max-width: 768px) {
	.homes__tour-item {
		grid-template-columns: 1fr;
	}
}
