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

.cms_list {
  width: min(1000px, 90%);
  margin: 0 auto 75px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
}
.cms_list li {
  display: flex;
  flex-direction: column;
}

.cms_list img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: contain;
  background-color: #e6e6e6;
}
.cms_list .photo_frame {
  position: relative;
  padding-top: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cms_list .photo_frame img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}
.cms_list.type1 a {
  width: 100%;
}
.cms_list.type1 .catch {
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0.75em 0 0;
  line-height: 1.25em;
}

.cms_list.type2 li {
  background-color: #fff;
  box-shadow: 4px 4px 0 0 #cccccc;
}
.cms_list.type2 .photo_frame {
  padding-top: 100%;
}
.cms_list.type2 .pad {
  padding: 4% 8% 9%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.cms_list.type2 .date {
  font-size: 0.75rem;
}
.cms_list.type2 .title {
  font-weight: 700;
  line-height: 1.25em;
  text-align: justify;
  margin-top: 0.5em;
}
.cms_list.type2 .text {
  line-height: 1.25em;
  text-align: justify;
  margin-top: 0.5em;
  margin-bottom: auto;
}
.cms_list.type2 .text + a {
  margin: 1.5em auto 0;
}

.cms_list.type3 li {
  border-top: dashed 1px #c5c5c5;
  padding: 36px 0 40px;
  box-sizing: border-box;
  scroll-margin-top: 100px;
}

.cms_list.type3 .cate_label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5em;
  padding: 6px 8px 7px;
  margin-bottom: 16px;
  border-radius: 5px;
  background-color: #4d7ab3;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.05em;
  line-height: 1;
  width: 100px;
}
.cms_list.type3 .title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.35;
}
.cms_list.type3 .sub {
  margin-top: 8px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: #333;
}
.cms_list.type3 .flex {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 16px;
}
.cms_list.type3 .flex > * {
  display: flex;
  flex-direction: column;
}
.cms_list.type3 .flex .L {
  width: 53%;
  flex-shrink: 0;
}
.cms_list.type3 .flex .L .pic {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 100%;
  overflow: hidden;
  background-color: #e6e6e6;
}
.cms_list.type3 .flex .L .pic img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.cms_list.type3 .flex .R {
  width: 52%;
  padding-left: 0;
  line-height: 1.25em;
}
.cms_list.type3 .flex .R .mini {
  display: block;
  padding: 10px 0;
  border-bottom: solid 1px #ddd;
}
.cms_list.type3 .flex .R .mini:first-child {
  border-top: solid 1px #ddd;
}
.cms_list.type3 .flex .R .mini + .mini {
  margin-top: 0;
}
.cms_list.type3 .flex .R .mini:last-of-type {
  margin-bottom: 16px;
}
.cms_list.type3 .flex .R .mini h4 {
  position: relative;
  margin: 0;
  padding-left: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #014192;
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.cms_list.type3 .flex .R .mini h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 3px;
  background-color: #014192;
}
.cms_list.type3 .flex .R .mini > div {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.cms_list.type3 .flex .R a.btn_theme {
  margin-top: auto;
  margin-left: auto;
  width: 140px;
  height: 40px;
  border-radius: 6px;
  gap: 0.4em;
  font-size: 14px;
  letter-spacing: 0.05em;
  background-color: var(--theme-color);
  border: solid 1px var(--theme-color);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}
/* .cms_list.type3 .flex .R a.btn_theme::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.15em;
} */
.cms_list.type3 .flex .R a.btn_theme:hover {
  background-color: #fff;
  color: var(--theme-color);
}

@media screen and (max-width: 820px) {
  .cms_list {
    flex-direction: column;
    align-items: center;
    grid-template-columns: 1fr;
    gap: 0;
    border-bottom: dashed 1px #c5c5c5;
  }
  .cms_list li {
    max-width: 100%;
  }
  .cms_list.type3 li {
    border-top: dashed 1px #c5c5c5;
    padding: 38px 0;
  }
  .cms_list.type3 li:first-child {
    border-top: none;
    padding-top: 0;
  }
  .cms_list.type3 .title {
    font-size: 18px;
  }
  .cms_list.type3 .sub {
    font-size: 15px;
  }
  .cms_list.type3 .flex {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }
  .cms_list.type3 .flex .L,
  .cms_list.type3 .flex .R {
    width: 100%;
  }
  .cms_list.type3 .flex .R .mini:last-of-type {
    margin-bottom: 24px;
  }
  .cms_list.type3 .flex .R .mini h4 {
    font-size: 15px;
  }
  .cms_list.type3 .flex .R .mini > div {
    font-size: 15px;
  }
  .cms_list.type3 .flex .R a.btn_theme {
    margin-inline: auto;
  }
}

.cms_jump {
  width: min(1200px, 90%);
  margin: 0 auto;
  color: #fff;
  border-radius: 10px;
}
.cms_jump .flex {
  width: min(700px, 90%);
  min-height: 56px;
  margin: auto;
  display: flex;
  justify-content: center;
}
.cms_jump .flex a {
  flex-grow: 1;
  position: relative;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cms_jump .flex a > div {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cms_jump .flex a > div::after {
  content: "";
  background-image: url(../img/common/btn/btn-arrow.svg);
  display: block;
  font-size: 12px;
  width: 0.75em;
  height: 1.25em;
  margin-top: 0.25em;
  margin-left: 0.75em;
}
@media screen and (min-width: 821px) {
  .cms_jump .flex a::after {
    content: "";
    display: block;
    height: 26px;
    border-right: solid 1px #ff0;
  }
  .cms_jump .flex a:first-child::before {
    content: "";
    display: block;
    height: 26px;
    border-left: solid 1px #ff0;
  }
}
@media screen and (max-width: 820px) {
  .cms_jump .flex {
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 5px 0;
  }
  .cms_jump .flex a {
    flex-grow: 1;
    width: 50%;
    height: 1.5em;
  }
}

.con_recruit {
  padding-bottom: 100px;
}
.search_set {
  width: min(1000px, 90%);
  margin: 90px auto 100px;
}
.search_set > a.shadowbtn {
  margin-top: 60px;
}
.search_set > a.shadowbtn > div:nth-child(1) {
  background: #d54727;
}
@media screen and (max-width: 820px) {
  .search_set > a.shadowbtn {
    margin-top: 40px;
  }
}

.search_set .frame {
  width: 100%;
  border: solid 2px #999999;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.search_set .frame + .frame {
  margin-top: 70px;
}
.search_set .frame .title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  background-color: #fff;
  min-width: 9em;
  padding: 0 0.4em;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  z-index: 1;
}
.search_set .frame .flex {
  padding: 4% 4.5%;
  padding-top: calc(4% + 0.65em);
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  box-sizing: border-box;
}
.search_set .frame .flex li {
  margin: 1% 0;
  display: flex;
  align-items: center;
}
.search_set .frame .flex[class*="col"] li:last-of-type {
  flex-grow: 1;
}
/* 種類・エリア：6列グリッド（件数が少ない場合は左から並び、右余白OK） */
.search_set .frame .flex.search_grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.4em 1.5%;
}
.search_set .frame .flex.search_grid li {
  width: auto;
  margin: 0;
}
/* エリアのみ1行目（三重県全域）を全幅 */
.search_set .frame .flex.search_grid li[num="1-0"] {
  grid-column: 1 / -1;
}
.search_set .frame .flex input {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5em;
  display: inline-block;
}
.search_set .freeword {
  margin: 70px 0 75px;
  width: 100%;
  display: flex;
  align-items: center;
}
.search_set .freeword > div {
  font-size: 20px;
  font-weight: 700;
  margin-right: 1.5em;
}
.search_set .freeword > input {
  border: solid 2px #999999;
  border-radius: 10px;
  font-size: 1rem;
  padding: 1em 1.25em;
  flex-grow: 1;
  max-width: 500px;
}
@media screen and (min-width: 821px) {
  .search_set .frame .flex.col4 li {
    width: 25%;
  }
  .search_set .frame .flex.col4 li[num="2-3"] {
    width: 50%;
  }
  .search_set .frame .flex.search_grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .search_set .frame .flex.col6 li[num="1-a1"] {
    width: calc(100% * 4 / 6);
  }
  .search_set .frame .flex.col7 li {
    width: calc(100% / 7);
  }
  .search_set .frame .flex.col7 li:nth-child(7n + 8) {
    margin-left: calc(100% / 7);
  }
}
@media screen and (max-width: 820px) {
  .search_set {
    margin-top: 45px;
  }
  .search_set .frame + .frame {
    margin-top: 35px;
  }
  .search_set .frame .title {
    font-size: 16px;
    line-height: 1.3;
    max-width: calc(100% - 2em);
  }
  .search_set .frame .flex {
    padding: 9% 5%;
    padding-top: calc(9% + 0.65em);
  }
  .search_set .frame .flex.search_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2em 4%;
  }
  .search_set .frame .flex.search_grid li {
    font-size: 15px;
  }
  .search_set .frame .flex.search_grid li[num="1-0"] {
    grid-column: 1 / -1;
  }
  .search_set .frame .flex.sp_col1 li {
    width: 100%;
  }
  .search_set .freeword {
    margin: 30px 0 35px;
    flex-direction: column;
    align-items: stretch;
  }
  .search_set .freeword > div {
    margin-right: auto;
    margin-bottom: 15px;
  }
}

.search_res_set {
  width: min(1000px, 90%);
  margin: 0 auto 40px;
  /*
	display: flex;
	align-items: baseline;
	*/
}
.search_res_set::after {
  content: "";
  display: block;
  clear: both;
}
.search_res_set .search_res {
  font-size: 25px;
  margin-right: 1.6em;
  font-weight: 700;
  float: left;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.search_res_set .search_res span {
  display: block;
  font-size: 38px;
  padding-bottom: 6px;
}
.search_res_set .filter {
  gap: 1em;
  padding-top: 0.5em;
  display: flex;
  flex-wrap: wrap;
}
.search_res_set .filter > * {
  background-color: #e6e6e6;
  height: calc(1em * 30 / 16);
  gap: calc(1em * 5 / 16);
  padding-left: calc(1em * 5 / 16);
  padding-right: 1em;
  font-weight: 700;
}
.search_res_set .filter > * > * {
  cursor: pointer;
}
.search_res_set .filter > * > *:nth-child(1) {
  background-color: #f3f3f3;
  color: #808080;
  width: 1.25em;
  height: 1.25em;
}
.search_res_set .filter > *,
.search_res_set .filter > * > *:nth-child(1) {
  border-radius: 2em;
  line-height: 1em;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 820px) {
  .search_res_set .search_res {
    margin-right: 0;
    margin-bottom: 1em;
    float: none;
    font-size: 20px;
  }
  .search_res_set .search_res span {
    font-size: 33px;
  }
  .search_res_set .filter {
    padding-top: 0;
  }
}

/* イベント・インフォ TOPカード（Swiper） */
.top_event .top_event_slider {
  width: min(1000px, 90%);
  margin: 0 auto;
  padding: 0 0 40px;
  position: relative;
}
.top_event .top_event_swiper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-bottom: 48px;
}
.top_event .top_event_swiper .swiper-slide {
  height: auto;
}
.top_event .top_event_swiper a {
  width: 100%;
  display: block;
  text-decoration: none;
  color: inherit;
}
.top_event .top_event_swiper .photo_frame {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 100%;
  overflow: hidden;
  background-color: #fff;
}
.top_event .top_event_swiper .photo_frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  display: block;
  background-color: transparent;
}
.top_event .top_event_swiper .title {
  margin-top: 1em;
  font-size: 18px;
  font-weight: 700;
  color: var(--theme-color);
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top_event .top_event_slider .swiper-button-prev,
.top_event .top_event_slider .swiper-button-next {
  width: 30px;
  height: 30px;
  margin-top: 0;
  top: 36%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: transparent;
  z-index: 2;
}
.top_event .top_event_slider .swiper-button-prev {
  left: -56px;
}
.top_event .top_event_slider .swiper-button-next {
  right: -56px;
}
.top_event .top_event_slider .swiper-button-prev::after,
.top_event .top_event_slider .swiper-button-next::after {
  display: none;
}
.top_event .top_event_slider .swiper-button-prev img,
.top_event .top_event_slider .swiper-button-next img {
  width: 30px;
  height: 30px;
  display: block;
}
.top_event .top_event_slider .swiper-button-prev img {
  transform: rotate(-90deg);
}
.top_event .top_event_slider .swiper-button-next img {
  transform: rotate(90deg);
}
.top_event .top_event_swiper .swiper-pagination {
  bottom: 8px;
}
.top_event .top_event_swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
}
.top_event .top_event_swiper .swiper-pagination-bullet-active {
  background: var(--theme-color);
}
@media screen and (max-width: 799px) {
  .top_event .top_event_slider {
    width: min(1000px, 70%);
    padding-bottom: 0;
  }
  .top_event .top_event_swiper .title {
    font-size: 16px;
  }
  .top_event .top_event_swiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
  }
  .top_event .top_event_slider .swiper-button-prev {
    top: 37%;
    left: -40px;
  }
  .top_event .top_event_slider .swiper-button-next {
    top: 37%;
    right: -40px;
  }

  .top_event .top_event_slider .swiper-button-prev img,
  .top_event .top_event_slider .swiper-button-next img {
    width: 20px;
    height: 20px;
  }
}

/* イベント・インフォ 詳細（hokusei detail.php 準拠） */
.dt_event {
  width: min(1000px, 90%);
  margin: 0 auto;
  padding-bottom: 130px;
  display: flex;
  justify-content: space-between;
}
.dt_event > .L {
  width: 100%;
}
.dt_event .inner > .title,
.dt_event .inner > .upload,
.dt_event .inner > .pager {
  padding: 50px 0;
}
.dt_event .inner > .subt,
.dt_event .inner > .dt_list,
.dt_event .inner > .kikan {
  padding: 0;
}
.dt_event .title {
  font-size: 25px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.05em;
  line-height: 1.25em;
  text-align: left;
}
.dt_event .pager,
.dt_event .back,
.dt_event .pager a,
.dt_event .back a {
  display: flex;
  justify-content: center;
  align-items: center;
}
.dt_event .upload {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: auto;
  padding: 0;
  min-height: 0;
  overflow: visible;
  background-color: transparent;
}
.dt_event .upload .media_modal_trigger {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: none;
  background: #fff;
  cursor: zoom-in;
  overflow: hidden;
}
.dt_event .upload img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  display: block;
}
@media screen and (min-width: 800px) {
  .dt_event .upload .media_modal_trigger {
    width: calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
  }
}
.dt_event .pager {
  gap: 4em;
  max-width: 400px;
  margin-inline: auto;
  padding-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dt_event .pager a,
.dt_event .back a {
  gap: 0.5em;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.dt_event .pager a img,
.dt_event .back a img {
  width: 25px;
  height: 25px;
  display: block;
}
.dt_event .pager .prev img {
  transform: scaleX(-1);
}
.dt_event .back a img {
  transform: scaleX(-1);
}
.dt_event .pager + .back {
  padding-top: 0;
}
.dt_event .back.dt_back {
  margin-top: 64px;
  text-align: center;
  display: block;
}
.dt_event .back.dt_back a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 190px;
  height: 45px;
  padding: 0 1em;
  color: #fff;
  border: solid 1px var(--theme-color);
  background-color: var(--theme-color);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s ease;
}
.dt_event .back.dt_back a:hover {
  background-color: #fff;
  color: var(--theme-color);
  opacity: 0.7;
}
.dt_event > .R {
  font-weight: 700;
}
.dt_event > .R .sponsor {
  margin-top: 12px;
}
.dt_event > .R .sponsor a {
  display: block;
  width: 215px;
  max-width: 100%;
}
.dt_event > .R .sponsor a img {
  width: 100%;
}
@media screen and (min-width: 821px) {
  .dt_event > .L {
    width: 685px;
    max-width: 68.5%;
  }
  .dt_event > .R {
    width: 215px;
    max-width: 21.5%;
    margin-left: auto;
  }
  .dt_event > .R .sponsor a:nth-child(n + 2) {
    margin-top: 18px;
  }
}
@media screen and (max-width: 820px) {
  .dt_event {
    flex-direction: column;
    padding-bottom: 88px;
  }
  .dt_event > .R {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .dt_event > .L + .R {
    margin-top: 48px;
  }
}
@media screen and (max-width: 799px) {
  .dt_event .inner > .title,
  .dt_event .inner > .upload,
  .dt_event .inner > .pager {
    padding: 30px 0;
  }
  .dt_event .title {
    font-size: 20px;
    text-align: left;
  }
  .dt_event .upload {
    padding: 30px 0;
    min-height: 0;
  }
  .dt_event .pager {
    gap: 1.25em;
  }
  .dt_event .back.dt_back {
    margin-top: 48px;
  }
}

body.is-media-modal-open {
  overflow: hidden;
}
.media_modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  pointer-events: none;
}
.media_modal[hidden] {
  display: none;
}
.media_modal__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: rgba(0, 0, 0, 0.8);
  pointer-events: auto;
}
.media_modal__dialog {
  position: relative;
  z-index: 2;
  width: min(1000px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: auto;
}
.media_modal__close {
  position: relative;
  margin-left: auto;
  margin-bottom: 12px;
  padding: 0;
  border: none;
  background: transparent;
  width: 32px;
  height: 32px;
  display: block;
  cursor: pointer;
}
.media_modal__close::before,
.media_modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 2px;
  background-color: #fff;
  transform-origin: center;
}
.media_modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.media_modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.media_modal__image {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: calc(100vh - 100px);
  margin: 0 auto;
  object-fit: contain;
}
.dt_housing > .L .dt_photos .media_modal_trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
}

.dt_housing {
  width: min(1000px, 90%);
  margin: 0 auto;
  padding-bottom: 130px;
  display: flex;
  justify-content: space-between;
}
.dt_housing > .L .cate_label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5em;
  width: 140px;
  padding: 6px 8px 7px;
  margin-bottom: 16px;
  border-radius: 6px;
  background-color: #4d7ab3;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1;
}
.dt_housing > .L .name {
  font-size: 30px;
  font-weight: 700;
  color: var(--theme-color);
  line-height: 1.4;
}
.dt_housing > .L .catch {
  margin-top: 1.4em;
  font-size: 16px;
  line-height: 1.5em;
}
/* 物件詳細：画像2列グリッド（最大4枚）背景グレー＋contain */
.dt_housing > .L .dt_photos {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 2%;
  list-style: none;
  padding: 0;
}
.dt_housing > .L .dt_photos .dt_photos_pic {
  width: 49%;
  margin: 0;
  aspect-ratio: 330 / 243;
  background-color: #e6e6e6;
  overflow: hidden;
}
.dt_housing > .L .dt_photos .dt_photos_pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
@media screen and (max-width: 799px) {
  .dt_housing > .L .dt_photos {
    margin-top: 30px;
    flex-direction: column;
    gap: 10px;
  }
  .dt_housing > .L .dt_photos .dt_photos_pic {
    width: 100%;
  }
}
.dt_housing > .L .slider {
  margin-top: 40px;
}
.dt_housing > .L .slider img {
  width: 100%;
  height: auto;
  display: block;
  background-color: #e6e6e6;
}
.dt_housing > .L .slider img + img {
  margin-top: 12px;
}
.dt_housing > .L .tag {
  margin-top: 2em;
  font-size: 12px;
  font-weight: 700;
  gap: 1em;
  display: flex;
  flex-wrap: wrap;
}
.dt_housing > .L .tag span {
  color: #fff;
  border-radius: 0.5em;
  padding: 0 0.5em;
  min-width: 80px;
  min-height: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.dt_housing > .L .subt,
.dt_event > .L .subt {
  margin-top: 100px;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
}
.dt_housing > .L .subt > span:first-child,
.dt_event > .L .subt > span:first-child {
  width: 0.6em;
  height: 0.6em;
  margin-right: 0.4em;
  flex-shrink: 0;
  display: block;
}
.dt_housing > .L .subt > span:last-child,
.dt_event > .L .subt > span:last-child {
  display: block;
  line-height: 1.2;
  font-size: 20px;
  font-weight: 700;
}
.dt_housing > .L .subt + .dt_list + .subt,
.dt_event > .L .subt + .dt_list + .subt {
  margin-top: 60px;
}

@media screen and (max-width: 799px) {
  .dt_housing > .L .name {
    font-size: 24px;
  }
  .dt_housing > .L .subt,
  .dt_event > .L .subt {
    margin-top: 56px;
    font-size: 18px;
  }
  .dt_housing > .L .subt + .dt_list + .subt,
  .dt_event > .L .subt + .dt_list + .subt {
    margin-top: 32px;
  }
  .dt_housing > .L .dt_list li,
  .dt_event > .L .dt_list li {
    flex-direction: column;
  }
}
.dt_housing > .L .dt_list,
.dt_event > .L .dt_list {
  margin-top: 20px;
  font-size: 16px;
}
.dt_housing > .L .dt_list li,
.dt_event > .L .dt_list li {
  line-height: 1.5;
  display: flex;
  align-items: stretch;
}
.dt_housing > .L .dt_list li > *,
.dt_event > .L .dt_list li > * {
  border-bottom: solid 1px #999999;
  flex-grow: 1;
}
.dt_housing > .L .dt_list li:nth-child(1) > *,
.dt_event > .L .dt_list li:nth-child(1) > * {
  border-top: solid 1px #999999;
}
.dt_housing > .L .dt_list li > *:nth-child(1),
.dt_event > .L .dt_list li > *:nth-child(1) {
  width: 165px;
  min-width: 7em;
  border-color: transparent;
  display: flex;
  align-items: center;
}
.dt_housing > .L .dt_list li > *:nth-child(1) > *,
.dt_event > .L .dt_list li > *:nth-child(1) > * {
  background-color: #ccd9e9;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0.75em 1em;
  font-weight: 700;
}
.dt_housing > .L .dt_list li > *:nth-child(2),
.dt_event > .L .dt_list li > *:nth-child(2) {
  box-sizing: border-box;
  width: 520px;
  padding: 0.75em 1em;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.dt_housing > .L .dt_list li > *:nth-child(2) a,
.dt_event > .L .dt_list li > *:nth-child(2) a {
  overflow-wrap: anywhere;
  word-break: break-all;
}
@media screen and (max-width: 799px) {
  .dt_housing > .L .dt_list,
  .dt_event > .L .dt_list {
    font-size: 14px;
  }
  .dt_housing > .L .dt_list li > *,
  .dt_event > .L .dt_list li > * {
    border-top: none;
    border-bottom: none;
  }
  .dt_housing > .L .dt_list li > *:nth-child(1),
  .dt_housing > .L .dt_list li > *:nth-child(2),
  .dt_event > .L .dt_list li > *:nth-child(1),
  .dt_event > .L .dt_list li > *:nth-child(2) {
    width: 100%;
    min-width: 0;
  }
  /* SP：項目名は上線テーマカラーのみ／内容は上線#999、下線は表の最下行のみ */
  .dt_housing > .L .dt_list li > *:nth-child(1),
  .dt_event > .L .dt_list li > *:nth-child(1) {
    border-top: solid 1px var(--theme-color);
    border-bottom: none;
  }
  .dt_housing > .L .dt_list li > *:nth-child(2),
  .dt_event > .L .dt_list li > *:nth-child(2) {
    border-top: solid 1px #999999;
    border-bottom: none;
  }
  .dt_housing > .L .dt_list li:last-child > *:nth-child(2),
  .dt_event > .L .dt_list li:last-child > *:nth-child(2) {
    border-bottom: solid 1px #999999;
  }
  .dt_housing > .L .dt_list li > *:nth-child(1) > *,
  .dt_event > .L .dt_list li > *:nth-child(1) > *,
  .dt_housing > .L .dt_list li > *:nth-child(2),
  .dt_event > .L .dt_list li > *:nth-child(2) {
    font-size: 14px;
  }
  .dt_housing > .L .dt_list li > *:nth-child(1) > *,
  .dt_event > .L .dt_list li > *:nth-child(1) > * {
    padding-block: 0.7em;
  }
  .dt_housing > .L .dt_list li > *:nth-child(2),
  .dt_event > .L .dt_list li > *:nth-child(2) {
    padding-block: 1em;
  }
}
.dt_housing > .L .dt_back {
  margin-top: 64px;
  text-align: center;
}
.dt_housing > .L .dt_back a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 190px;
  height: 45px;
  padding: 0 1em;
  color: #fff;
  border: solid 1px var(--theme-color);
  background-color: var(--theme-color);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}
.dt_housing > .L .dt_back a:hover {
  background-color: #fff;
  color: var(--theme-color);
}
.dt_housing > .L .map {
  margin-top: 50px;
  display: block;
  width: 100%;
  height: 400px;
}
.dt_housing > .L a.entry {
  margin-top: 55px;
}
.dt_housing > .L .kikan,
.dt_event > .L .kikan {
  margin-top: 32px;
  gap: 14px;
  display: flex;
  align-items: center;
}
.dt_housing > .L .kikan span,
.dt_event > .L .kikan span {
  background-color: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1em;
  width: 80px;
  height: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.dt_housing > .R {
  font-weight: 700;
}
.dt_housing > .R .sponsor {
  margin-top: 20px;
}
.dt_housing > .R .sponsor a {
  display: block;
  width: 215px;
  max-width: 100%;
}
.dt_housing > .R .sponsor a img {
  width: 100%;
}
@media screen and (min-width: 821px) {
  .dt_housing > .L {
    width: 685px;
    max-width: 68.5%;
  }
  .dt_housing > .R {
    width: 215px;
    max-width: 21.5%;
    margin-left: auto;
  }
  .dt_housing > .R .sponsor a:nth-child(n + 2) {
    margin-top: 16px;
  }
  /* .dt_housing > .R .sponsor a img{height:70px;} */
}
@media screen and (max-width: 820px) {
  .dt_housing,
  .dt_housing > .L .kikan,
  .dt_event > .L .kikan {
    flex-direction: column;
  }
  .dt_housing {
    padding-bottom: 88px;
  }
  .dt_housing > .L .dt_back {
    margin-top: 48px;
  }
  .dt_housing > .R {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .dt_housing > .L + .R {
    margin-top: 50px;
  }
  .dt_housing > .R .sponsor {
    width: 335px;
    margin-top: 20px;
    gap: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .dt_housing > .R .sponsor a {
    width: 160px;
  }
}

.cms_pager {
  padding-bottom: 60px;
}

@media screen and (max-width: 799px) {
  .cms_pager {
    padding-bottom: 40px;
  }
}
.cms_pager,
.cms_pager > div,
.cms_pager a {
  display: flex;
  justify-content: center;
  align-items: center;
}
.cms_pager,
.cms_pager > div {
  gap: 6px;
}
.cms_pager > div {
  flex-wrap: wrap;
}
.cms_pager img,
.cms_pager svg {
  width: auto;
  height: 11.2px;
}
.cms_pager svg > * {
  fill: none;
  stroke: #333;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2px;
  transition: all 0.3s ease;
}
.cms_pager a {
  border: solid 1px #999999;
  border-radius: 6px;
  width: 42px;
  height: 42px;
  transition: all 0.3s ease;
}
.cms_pager > a:last-of-type img,
.cms_pager > a:last-of-type svg {
  transform: scaleX(-1);
}
.cms_pager a:not([href]) {
  opacity: 0.5;
}
.cms_pager a[href]:hover,
.cms_pager a[href].current {
  background-color: #b0b0b0;
  color: #fff;
}
.cms_pager a[href]:hover svg > *,
.cms_pager a[href].current svg > * {
  stroke: #fff;
}

.cms_caution {
  padding-bottom: 110px;
}
.cms_caution p {
  font-size: 14px;
  line-height: 1.7;
}

@media screen and (max-width: 799px) {
  .cms_caution {
    padding-bottom: 74px;
  }
}

.preview_btn {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 6;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.preview_btn a {
  position: absolute;
  display: block;
  color: #fff;
  padding: 0.375em 1em;
  border-radius: 0 0 0.5em 0.5em;
  cursor: pointer;
}
@media screen and (max-width: 820px) {
  .preview_btn {
    display: none;
  }
}

/* 印刷プレビュー*/
@media print {
  .cms_jump,
  .search_set,
  .search_res_set,
  .dt_housing > .R,
  .preview_btn {
    display: none !important;
  }
  .cms_list {
    gap: 1.25em 0;
  }
  .cms_list li {
    width: 30%;
  }
  .cms_list:not([class*="col"]) li:last-of-type:nth-child(3n + 2) {
    margin-left: 5%;
    margin-right: auto;
  }
  .cms_list.col2 li {
    width: 47%;
  }
  .dt_housing > .L {
    width: 100%;
    max-width: 100%;
  }
  .dt_housing > .L .map {
    margin: 50px auto 0;
    background-color: #e6e6e6;
  }
}
