/* ---------------------------------
共通
---------------------------------- */
#content {
  z-index: 2;
  padding-top: 0;
  margin-bottom: 60px;
}

#main_content {
  margin-top: unset !important;
}

/* 基本要素を隠す */
.p-articleHead.c-postTitle,
.p-articleMetas.-top,
.p-toc,
.p-articleThumb,
.inquiry-enter-sign {
  display: none;
}

.post_content {
  margin-top: 0 !important;
  z-index: 2;
}

/* pr */
.pr-container.sp_only {
  padding: 0 !important;
}

h2 {
  margin-bottom: 40px !important;
}

.single .p-breadcrumb__item:last-child > span.p-breadcrumb__text {
  display: block;
}

/* テーブル */
table {
  line-height: 1.4;
}

th,
td {
  padding: 10px;
  letter-spacing: 0;
}

th {
  font-size: 15px;
}

td {
  font-size: 14px;
}

table a {
  color: var(--gh_blue);
  margin-left: 2px;
}

.two-col table td:first-child {
  width: 33.333%;
}

.two-col table td:last-child {
  width: 66.666%;
}

.two-col td:first-child {
  background-color: var(--gh_contents_list_bg);
}

.three-col table td:first-child {
  width: 20%;
}

.three-col table td:nth-child(2) {
  width: 40%;
}

.three-col table td:last-child {
  width: 40%;
}

/* ======================================== */

/* ---------------------------------
トップのイメージスライド
---------------------------------- */
/* .p-slider,
.p-cards {
  display: flex !important;
} */
.p-slider,
.p-cards {
  display: flex !important;
}

.p-slider .slick-list .p-cards .slick-list {
  visibility: hidden;
}

.p-slider .slick-track .p-cards .slick-track {
  width: fit-content !important;
}

.p-slider.slick-initialized .slick-list,
.p-slider.slick-initialized .p-card__img,
.p-slider.slick-initialized span,
.p-cards.slick-initialized .slick-list,
.p-cards.slick-initialized .p-card__img {
  visibility: visible !important;
}

.top-img-slider_container {
  padding: 0 !important;
}

.top-img-slider_container .slick-slider {
  position: static;
}

.top-img-slider_container .slick-list.draggable {
  margin: 0 auto;
}

.top-img-slider_container > .l-article {
  padding: 0;
  margin: 0;
  max-width: none;
  width: 100%;
}

.slick-prev-bottom,
.slick-next-bottom {
  z-index: 3;
  cursor: pointer;
  border: none;
  font-size: 0;
  background-position: center center;
  background-repeat: no-repeat;
}

.slick-prev-bottom {
  background-image: url("/wp-content/uploads/2024/02/icon_arrow.svg");
}

.slick-next-bottom {
  background-image: url("/wp-content/uploads/2024/02/Icon_Arrow_Right.svg");
}

/* トップのイメージスライド：上段 */
.img-slider_top_wrapper {
  margin: 0;
  background-color: var(--gh_black);
  position: relative;
  max-width: none;
}

.img-slider_top_wrapper .slick-slide {
  position: relative;
}

.img-slider_top_wrapper .slick-slide .p-cards__item-wrapper {
  position: static;
  display: flex;
  justify-content: center;
}

.img-slider_top_wrapper .p-cards__item-wrapper > span {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 3;
  color: var(--gh_white);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  white-space: normal;
  word-break: break-all;
}

.img-slider_top_wrapper .p-cards__item-wrapper .p-card__img {
  min-height: 250px;
  max-width: 810px;
  height: 540px;
  aspect-ratio: 1.5;
  object-fit: contain;
  width: 100%;
}

.img-slider_top_wrapper .p-card__img img {
  width: 100%;
  height: 100%;
}

.img-slider_top_wrapper .p-card__img::after {
  width: 100%;
  height: 25%;
  background: rgb(0, 0, 0);
  background: linear-gradient(
    360deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(255, 255, 255, 0) 95%
  );
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
}

.slick-num {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--gh_border);
  color: var(--gh_footer_darkgray_border);
  padding: 5px;
  font-size: 12px;
  letter-spacing: -0.05em;
}

.img-slider_top_wrapper .slick-prev-bottom,
.img-slider_top_wrapper .slick-next-bottom {
  width: 21px;
  height: 29px;
  background-color: var(--gh_category_mokuji_bg);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.img-slider_top_wrapper .slick-prev-bottom {
  left: 20px;
}

.img-slider_top_wrapper .slick-next-bottom {
  right: 20px;
}

/* トップのイメージスライド：下段 */
.img-slider_bottom_wrapper {
  margin: 0;
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.img-slider_bottom_wrapper .slick-list {
  overflow: visible;
  padding: 0 50px;
}

.img-slider_bottom_wrapper .slick-track .p-cards__item {
  cursor: pointer;
  padding: 0 5px;
}

.img-slider_bottom_wrapper .p-cards__item .p-card__img {
  width: 78px;
  height: 52px;
}

.img-slider_bottom_wrapper .p-cards__item .p-card__img img {
  width: 78px;
  height: 52px;
  /* object-fit: cover; */
}

/* イメージの個数が、「イメージスライド：下段」より少ない時 */
.not-move-slide .slick-track {
  transform: unset !important;
  margin: unset;
  width: 100%;
}

.not-move-slide.img-slider_top_wrapper button,
.not-move-slide.img-slider_bottom_wrapper .arrow_bottom button {
  cursor: not-allowed;
}

/* トップのイメージスライド：下段のボタン */
.img-slider_bottom_wrapper .arrow_bottom {
  position: static;
}

.img-slider_bottom_wrapper .arrow_bottom .slick-arrow {
  top: 0;
  position: absolute;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  cursor: pointer;
}

.img-slider_bottom_wrapper .arrow_bottom .slick-prev-bottom {
  left: 0px;
}

.img-slider_bottom_wrapper .slick-track {
  display: flex;
}

.img-slider_bottom_wrapper .arrow_bottom .slick-next-bottom {
  right: 0px;
}

.top-img-slider_container .slick-disabled {
  cursor: not-allowed;
  pointer-events: none;
}

/* ======================================== */

/* ---------------------------------
上段フルワイド(トップのイメージスライドのすぐ下)
---------------------------------- */
.page-content-top_container {
  padding-top: 20px !important;
  padding-bottom: 40px !important;
  font-weight: 700;
  margin-bottom: 60px;
}

/* 上段フルワイドのラベル */
.page-content-top_container p[class*="label"] {
  background-color: var(--gh_footer_darkgray_border);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--gh_white);
  padding: 2px 4px;
  margin-right: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
}

/* 募集中 */
.page-content-top_container .is-recruit {
  padding: 0;
  margin: 0 0 14px 0;
  width: fit-content;
}

.page-content-top_container .is-recruit > div > p {
  padding: 4px;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--gh_white);
}

.page-content-top_container .is-recruit .recruit_true {
  background-color: var(--gh_blue);
}

.page-content-top_container .is-recruit .recruit_false {
  background-color: var(--gh_red);
}

/* 物件説明テキスト */
.page-content-top_container h2.garage-info-desc {
  margin: 0 !important;
  padding: 0;
  border-bottom: none;
}

.page-content-top_container h2.garage-info-desc > strong {
  font-size: 24px;
}

/* 物件名 */
.page-content-top_container h1.garage-name {
  margin: 0 0 20px;
  font-size: 18px;
}

/* 上段フルワイド：募集中、物件名以外のコンテナー */
.page-content-top_container .other-info {
  border-left: 1px solid var(--gh_black);
  padding-left: 15px;
}

.page-content-top_container .other-info > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-content-top_container .other-info > div > * {
  margin-bottom: 0 !important;
}

.page-content-top_container .other-info .is-row {
  gap: 0;
}

/* 所在地 */
.page-content-top_container .garage-location {
  font-size: 14px;
  font-style: normal;
}

/* 賃料 */
.page-content-top_container .other-info__fee-rental {
  align-items: center;
}

.page-content-top_container .other-info__fee-rental > p:nth-child(2) {
  font-size: 18px;
}

.page-content-top_container .other-info__fee-rental > p:last-child {
  font-size: 14px;
}

/* 共益費、敷、礼 */
.page-content-top_container .common-expense-wrapper {
  gap: 20px !important;
}

/* 共益費、敷、礼の値 */
.page-content-top_container .common-expense-wrapper .overview-label ~ span,
.page-content-top_container .common-expense-wrapper .overview-label ~ p {
  font-size: 14px;
}

/* 更新日 */
.page-content-top_container .last-edited-wrapper {
  color: var(--gh_blue);
  line-height: 1.4;
}

/* 更新日：アイコン */
.page-content-top_container .last-edited-wrapper .swl-inline-icon {
  margin-right: 6px;
  font-size: 14px;
}

/* 更新日：日付 */
.page-content-top_container .last-edited {
  font-size: 12px;
  font-weight: 400;
  display: flex;
  align-items: center;
}

/* ======================================== */

/* ---------------------------------
概要情報、物件詳細情報（テーブル） 共通
---------------------------------- */
div.table-container-overview table > tbody > tr:first-child > td:last-child,
div.table-container-condition table > tbody > tr:first-child > td:last-child,
div.first-information-container table > tbody > tr:first-child > td:last-child {
  color: var(--gh_blue);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

div.table-container-room table > tbody > tr > td:last-child {
  color: var(--gh_blue);
}

/* ======================================== */

/* ---------------------------------
概要情報
---------------------------------- */
.summary-info-container {
  margin-bottom: 60px;
}

.summary-info-container > div > * {
  margin-bottom: 40px !important;
}

.summary-info-container > div > *:last-child {
  margin-bottom: 0;
}

.summary-info-container .table-container-room th {
  font-weight: 400;
}

/* 設備・こだわり */
.summary-info-container .condition-list-container {
  gap: 18px;
  flex-wrap: wrap;
}

.summary-info-container .condition-list-container > figure {
  width: 80px;
}

.condition-list-container > figure:not(.selected-condition) img {
  opacity: 0.4;
  filter: grayscale(100%);
}

.condition-list-container figcaption {
  font-size: 10px;
  line-height: 1.2;
}

.condition-list-container .sp-no-br br {
  display: none;
}

/* ======================================== */

/* ---------------------------------
物件詳細情報（テーブル）
---------------------------------- */
.detail-info-container th {
  --thead-color--txt: var(--gh_white);
  letter-spacing: 0.01em;
  font-size: 15px;
}

.table-container-summary tbody tr:first-child td:last-child,
.table-container-summary tbody tr:nth-child(2) td:last-child,
.table-container-summary tbody tr:nth-child(8) td:last-child {
  letter-spacing: -0.05em;
}

/* ======================================== */

/* ---------------------------------
お問合せはこちら
---------------------------------- */
/* お問合せはこちら コンテナー */
.property-inquiry-container {
  border: 2px solid var(--gh_blue) !important;
  padding: 45px 40px 40px;
  position: relative;
  text-align: center;
  margin-bottom: 60px !important;
}

.property-inquiry-container.sp_only {
  padding: 30px 2em;
}

.property-inquiry-container > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 80%;
}

.property-inquiry-container > div > div {
  width: 100%;
}

/* お問合せはこちらの 全てのアイコン */
.property-inquiry-container span.swl-inline-icon,
.property-inquiry-container span.swl-inline-icon::after {
  width: 40px;
  height: 40px;
  max-width: none;
  margin: 0;
}

.sp_only.property-inquiry-container span.swl-inline-icon,
.sp_only.property-inquiry-container span.swl-inline-icon::after {
  transform: scale(0.9);
}

.sp_only.property-inquiry-container span.swl-inline-icon:first-child {
  position: absolute;
  left: 0.5em;
}

.sp_only.property-inquiry-container span.swl-inline-icon:last-child {
  position: absolute;
  right: 0.1em;
}

/* お問合せはこちらの 「お問合せボタン」と「電話番号ボタン」 共通 */
.property-inquiry-container .property-inquiry-btn {
  margin-bottom: 10px;
}

.property-inquiry-container .property-inquiry-btn a,
.property-inquiry-container .phone-number a {
  width: 100%;
}

.sp_only.property-inquiry-container .property-inquiry-btn a,
.sp_only.property-inquiry-container .phone-number a {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.property-inquiry-container .property-inquiry-btn a > span,
.property-inquiry-container .phone-number a > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-weight: 700;
}

.sp_only.property-inquiry-container .property-inquiry-btn a > span,
.sp_only.property-inquiry-container .phone-number a > span {
  gap: 0;
}

/* お問合せはこちらの 上段の文句 */
.property-inquiry-container h4 {
  background-color: var(--gh_white);
  font-family: serif;
  color: var(--gh_blue);
  font-weight: 600;
  letter-spacing: 0.05em;
  position: absolute;
  margin: 0;
  padding: 4px 15px;
  top: 0;
  transform: translateY(-50%);
  line-height: 1.4;
  font-size: 22px;
}

/* お問合せはこちらの 「お問合せボタン」 */
.property-inquiry-container .property-inquiry-btn a {
  padding: 1.5em !important;
}

.property-inquiry-container .property-inquiry-btn a > span {
  font-size: 24px;
}

.property-inquiry-container.sp_only .property-inquiry-btn a > span {
  font-size: 22px;
}

/* お問合せはこちらの 「電話番号ボタン」  */
.property-inquiry-container .phone-number a {
  padding: 0 !important;
}

.property-inquiry-container .phone-number a {
  background-color: var(--gh_white);
  color: var(--gh_blue);
}

.property-inquiry-container .phone-number a > span {
  font-size: 32px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  justify-content: flex-end;
}

.sp_only.property-inquiry-container .phone-number span {
  font-size: 0.88em;
  letter-spacing: 0.05em;
}

.sp_only.property-inquiry-container .phone-number {
  margin-bottom: 10px !important;
}

.sp_only.property-inquiry-container .phone-number a {
  font-size: 30px;
  border: 2px solid var(--gh_blue);
}

.sp_only.property-inquiry-container .phone-number a span:first-child {
  justify-content: center;
  left: 0.2em !important;
  transform: rotate();
}

/* お問合せはこちらの 中間の文句 */
.property-inquiry-container .property-inquiry-msg {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gh_blue);
  margin-bottom: 25px;
}

/* お問合せはこちらの 営業時間、電話番号 コンテナー */
.property-inquiry-container .property-inquiry-info {
  gap: 0 !important;
  border-left: 1px solid var(--gh_blue);
}

.property-inquiry-container.sp_only .property-inquiry-info {
  border-left: none;
  border-top: 1px solid var(--gh_blue);
  border-bottom: 1px solid var(--gh_blue);
  padding: 6px 0;
}

.property-inquiry-container .property-inquiry-info > div {
  border-left: 1px solid var(--gh_blue);
}

.property-inquiry-container .property-inquiry-info > div:first-child {
  border-left: none;
}

/* お問合せはこちらの 営業時間 コンテナー */
.property-inquiry-container .property-inquiry-info > div > div {
  gap: 4px !important;
}

.property-inquiry-container .property-inquiry-info > div > div > div {
  flex-direction: row !important;
}

/* お問合せはこちらの 営業時間 : 支店 */
.property-inquiry-container .property-inquiry-info .branch {
  font-size: 14px;
  gap: 3px;
  align-items: center;
}

/* お問合せはこちらの 営業時間 : 営業時間 */
.property-inquiry-container .property-inquiry-info .operating-hour {
  font-size: 13px;
  gap: 5px;
  align-items: center;
}

.property-inquiry-info .operating-hour > p:last-child {
  font-size: 16px;
  font-weight: 500;
}

/* ---------------------------------
フリーテキスト
---------------------------------- */
.free-text {
  margin-bottom: 60px;
}

.free-text div > * {
  margin-bottom: 40px;
}

.free-text div > *:last-child {
  margin-bottom: 0;
}

.free-text div > p {
  font-size: 14px;
  line-height: 1.6;
}

/* ---------------------------------
マップ
---------------------------------- */
.map-container h6 {
  color: var(--gh_white);
  background-color: var(--gh_dark_gray);
  padding: 10px;
  font-size: 15px;
}

.map-container .acf-map {
  height: 500px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ---------------------------------
物件一覧 ４列 同じエリア、新着物件
---------------------------------- */
/* 同じエリア、新着物件 */
.area-list .area-list-item {
  margin-bottom: 60px !important;
}

.area-list .area-list-title {
  border: none;
  margin-top: 0;
  margin-bottom: 40px !important;
}

.area-list .area-list-title h2 {
  font-size: 24px;
  border-bottom: none;
}

.area-list .swell-block-button__link {
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 60px;
  font-size: 16px;
  line-height: 1.4;
}

/* ---------------------------------
spモードの時に現れる下段のボタン
---------------------------------- */
.bottom-fixed-btn {
  z-index: 999;
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  background-color: var(--gh_black_alpha);
  padding: 1.2em 1.5em;
}

.bottom-fixed-btn > a {
  padding: 13px 15px 16px;
  width: 100%;
}

.bottom-fixed-btn > a > span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-align: center;
  font-weight: 700;
  line-height: 1.4;
}

.bottom-fixed-btn span.swl-inline-icon,
.bottom-fixed-btn span.swl-inline-icon::after {
  width: 30px;
  height: 30px;
  max-width: none;
  margin: 0;
}

.bottom-fixed-btn span.swl-inline-icon:first-child {
  transform: translateX(-50%);
}

.bottom-fixed-btn span.swl-inline-icon:last-child {
  position: absolute;
  right: 5px;
}

/* ======================================== */

/* ---------------------------------
概要情報
---------------------------------- */
#before_footer_widget {
  z-index: 0;
}

/* ======================================== */

/* ---------------------------------
@media query : max-width 599px(sp)
---------------------------------- */
@media screen and (max-width: 599px) {
  .property-inquiry-container.sp_only > div {
    max-width: none;
  }
}

/* ======================================== */

/* ---------------------------------
@media query : max-width 960px(sp ~ タブレット)
---------------------------------- */
@media screen and (max-width: 960px) {
  /* ---------------------------------
    トップのイメージスライド
    ---------------------------------- */
  /* トップのイメージスライド：上段 */
  .img-slider_top_wrapper {
    padding: 0 !important;
  }

  .img-slider_top_wrapper .slick-slide .p-cards__item-wrapper {
    padding: 0 !important;
  }

  .img-slider_top_wrapper .p-cards__item-wrapper .p-card__img {
    height: unset;
  }

  .img-slider_top_wrapper .slick-prev-bottom,
  .img-slider_top_wrapper .slick-next-bottom {
    background-color: var(--gh_category_mokuji_bg);
    transform: scale(0.9);
  }

  .img-slider_top_wrapper .slick-prev-bottom {
    left: 10px;
  }

  .img-slider_top_wrapper .slick-next-bottom {
    right: 10px;
  }

  /* トップのイメージスライド：下段 */
  .img-slider_bottom_wrapper .arrow_bottom {
    display: none;
  }

  .img-slider_bottom_wrapper .slick-list {
    padding: 0;
  }

  .img-slider_bottom_wrapper .p-cards__item .p-card__img {
    height: 50px;
  }

  /* ---------------------------------
    上段フルワイド(トップのイメージスライドのすぐ下)
    ---------------------------------- */
  .page-content-top_container {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
    font-weight: 700;
  }

  /* 上段フルワイドのラベル */
  /* 募集中 */
  .page-content-top_container p[class*="label"],
  .page-content-top_container .is-recruit > span {
    font-size: 10px;
    padding: 2px 4px;
    white-space: nowrap;
  }

  /* 募集中 */
  .page-content-top_container .is-recruit {
    margin-bottom: 10px;
  }

  /* 物件説明テキスト */
  .page-content-top_container h2.garage-info-desc > strong {
    font-size: 22px;
  }

  /* 物件名 */
  .page-content-top_container h1.garage-name {
    font-size: 16px;
  }

  /* 所在地 */
  .page-content-top_container .garage-location {
    font-size: 14px;
  }

  /* 賃料 */
  .page-content-top_container .other-info__fee-rental > p:nth-child(2) {
    font-size: 16px;
  }

  .page-content-top_container .other-info__fee-rental > p:last-child {
    font-size: 12px;
  }

  /* 共益費、敷、礼の値 */
  .page-content-top_container .common-expense-wrapper .overview-label ~ span,
  .page-content-top_container .common-expense-wrapper .overview-label ~ p {
    font-size: 13px;
  }

  /* ---------------------------------
    概要情報
    ---------------------------------- */
  .summary-info-container > div > * {
    margin-bottom: 20px !important;
  }

  /* 設備・こだわり */
  .summary-info-container .condition-list-container {
    gap: 10px;
  }

  .summary-info-container .condition-list-container > figure {
    width: 76px;
  }

  .summary-info-container .condition-list-container figcaption {
    font-size: 8px;
    line-height: 1.1;
  }

  /* ---------------------------------
    物件一覧 ４列 同じエリア、新着物件
    ---------------------------------- */
  /* 同じエリア、新着物件 */
  .area-list .area-list-title {
    display: flex;
    justify-content: center;
    font-size: 22px;
  }

  .area-list .area-list-title h2 {
    font-size: 22px;
    position: relative;
    width: fit-content;
    text-align: center;
  }

  .area-list .area-list-title h2::after {
    content: "";
    height: 2px;
    width: 100%;
    background-color: var(--gh_black);
    position: absolute;
    left: 0;
    bottom: -2px;
  }

  .area-list .swell-block-button__link {
    height: 40px;
    font-size: 12px;
  }

  /* ---------------------------------
    テーブル
    ---------------------------------- */
  .three-col table td:first-child {
    width: 23%;
  }

  .three-col table td:nth-child(2) {
    width: 48%;
  }

  .three-col table td:last-child {
    width: 29%;
  }

  /* ---------------------------------
    マップ
    ---------------------------------- */
  .map-container .acf-map {
    height: 350px !important;
  }
}

/* ---------------------------------
物件詳細ページ崩れ応急処置_20240404_神田
---------------------------------- */
.property-inquiry-container > div {
  margin-left: auto;
  margin-right: auto;
}

.page-content-top_container .is-recruit {
  margin: 0 0 14px 0 !important;
}

.page-content-top_container .other-info > div > * {
  width: 100%;
}

.two-col td:first-child {
  background-color: var(--gh_contents_list_bg);
}
