:root {
  --main-width: 950px;
  /* --content-spacing: clamp(20px, 24vw, max(calc(50vw - var(--main-width) / 2), 12px)); */
  --content-spacing: clamp(20px, 24vw, max(calc((100vw - var(--main-width)) / 2), 12px));
  --content-spacing: clamp(20px, 24vw, max(calc((100% - var(--main-width)) / 2), 12px));
  --rals-color: #f3951a;
  --text-coler: #231815;
  --orange-coler: #c4500e;
  --link-text-color: #136;
  --link-hover-color: #930201;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.onlyPC {
  display: none !important;
}
.onlySP {
  display: block !important;
}
@media (min-width: 768px) {
  .onlySP {
    display: none !important;
  }
  .onlyPC {
    display: block !important;
  }
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-coler);
  background-color: #f9f9f9;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* レイアウト */

.main__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .main__inner {
    margin-inline: var(--content-spacing);
  }
}

.section-separator {
  height: 1px;
  width: 100%;
  background-color: #e6e1da;
  border: none;
}

.top-section {
  /* padding-inline: var(--content-spacing); */
}
@media (min-width: 768px) {
  .top-section {
    padding-inline: 0;
  }
}

.top-section__inner {
  display: flex;
  align-items: center;
  display: grid;
  gap: 32px 0;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: 42px auto;
  grid-template-areas:
    'rengo rengo introduction'
    'image title title';
}
@media (min-width: 768px) {
  .top-section__inner {
    padding-top: 30px;
    display: grid;
    gap: 5px 10px;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: repeat(2, auto);
    grid-template-areas:
      'image title introduction'
      'image rengo rengo';
  }
}
.top-section__image {
  grid-area: image;
  flex-shrink: 0;
  padding-left: var(--content-spacing);
}
@media (min-width: 768px) {
  .top-section__image {
    padding-left: 0;
  }
}

.top-section__title {
  grid-area: title;
  color: #000;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  padding: 12px 12px;
  border-radius: 9999px;
  background-color: #fff;
  border: 1px solid #e6e1da;
  display: flex;
  flex-wrap: wrap;
  margin-right: var(--content-spacing);
}
@media (min-width: 768px) {
  .top-section__title {
    border: none;
    background: none;
    padding: 0;
    margin-right: 0;
  }
}
.top-section__rengo {
  grid-area: rengo;
  padding-left: var(--content-spacing);
  align-self: stretch;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(35, 24, 21, 0.24);
}
.top-section__rengo img {
  height: 18px;
}
@media (min-width: 768px) {
  .top-section__rengo {
    padding-left: 0;
    border-bottom: none;
  }
  .top-section__rengo img {
    height: auto;
  }
}
.top-section__introduction {
  grid-area: introduction;
  padding-right: var(--content-spacing);
  align-self: stretch;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(35, 24, 21, 0.24);
}
@media (min-width: 768px) {
  .top-section__introduction {
    padding-right: 0;
    border-bottom: none;
  }
}
.top-section__introduction-link {
  font-size: 12px;
  color: var(--link-text-color);
}
.top-section__introduction-link:hover {
  color: var(--link-hover-color);
}
.top-section__introduction-link::before {
  content: '';
  width: 8px;
  height: 12px;
  vertical-align: middle;
  margin-right: 0.5em;
  background: url(//www.rals.net/contents/img/common/pc/ico_beginner_01.svg) no-repeat 50% 50% / contain;
  display: inline-block;
}

/* 地域リスト */
.region-section {
  padding-inline: var(--content-spacing);
}

@media (min-width: 768px) {
  .region-section {
    padding-inline: 0;
  }
}

@media (min-width: 768px) {
  .region-section {
    display: grid;
    grid-template-columns: 1fr 275px;
    gap: 15px;
  }
}
.region-section__image {
  display: none;
}

@media (min-width: 768px) {
  .region-section__image {
    display: block;
    position: sticky;
    top: 24px;
    align-self: start;
    /* height: min(465px, calc(100vh - 48px)); */
  }

  .region-section__image img {
    height: 100%;
    width: 100%;
    max-width: 275px;
    object-fit: contain;
  }
}

.region-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.region {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background-color: #f9f6f0;
  border-radius: 4px;
  border: 1px solid #e6e1da;
}

.region__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .region__header {
    align-items: flex-start;
  }
}

.region__header-inner {
  display: flex;
  align-items: center;
  gap: 5px;
}

.region__icon {
  display: flex;
  align-items: center;
  padding-top: 3px;
}

.region__icon-image {
  width: 18px;
  height: 24px;
}

.region__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .region__image {
    display: none;
  }
}

/* 連合隊グループ */
.union-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
}
@media (min-width: 990px) {
  .union-group {
    display: grid;
    grid-template-columns: 200px auto;
    gap: 16px 8px;
  }
}

.union-group__header {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
  border-radius: 3px;
}

.union-group__title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.union-group__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
}

@media (min-width: 505px) {
  .union-group__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(128px, 100%), 128px));
    gap: 8px;
  }
}
@media (min-width: 990px) {
  .union-group__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

.union-group__separator {
  grid-column: 1 / -1;
  height: 1px;
  width: 100%;
  background-color: #e6e1da;
}

/* 連合隊アイテム */
.union-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  min-height: 36px;
  background-color: #ffffff;
  border-radius: 3px;
  box-shadow: 0px 1px 0px 0px rgba(169, 156, 139, 0.5);
  transition: all 0.3s ease;
}

@media (min-width: 505px) {
  .union-item {
    min-width: 128px;
  }
}

.union-item:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0px 2px 4px rgba(169, 156, 139, 0.5);
}

.union-item__name {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

/* 物件セクション */
.property-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.property-section__header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

@media (min-width: 768px) {
  .property-section__header {
    justify-content: flex-start;
  }
}

.property-section__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 990px) {
  .property-section--ranking {
    padding-inline: 24px;
  }
}
.property-section__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

@media (min-width: 768px) {
  .property-section__content {
    display: grid;
    grid-template-columns: 142px 1fr;
    gap: 17px;
    margin: auto;
    min-height: 0;
    align-items: flex-start;
  }
}
.property-section__ranking {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .property-section__ranking {
    padding-top: 20px;
  }
}

.property-section__cta {
  display: flex;
  justify-content: center;
  padding-inline: var(--content-spacing);
}

@media (min-width: 768px) {
  .property-section__cta {
    padding-inline: 0;
  }
}

.property-section__separator {
  height: 1px;
  width: 100%;
  background-color: #e6e1da;
}

/* ランキング */
.ranking {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: auto;
  min-height: 0;
  max-height: 235px;
}

.ranking__period {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: #605343;
  letter-spacing: 0.02em;
  text-align: center;
}
.ranking__image {
  max-width: 304px;
}

/* 物件リスト */
.property-context {
  width: 100%;
  overflow: hidden;
  padding-top: 20px;
  padding-left: 24px;
}
@media (min-width: 768px) {
  .property-context {
    padding-left: 0;
  }
}

.property-list {
  width: 100%;
  height: 100%;
  align-items: flex-start;
}

@media (min-width: 990px) {
  .property-list {
    justify-content: flex-start;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(5, 1fr);
  }
}

/* 物件アイテム */
.property-item {
  width: 140px;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  background: #fff;
  padding-top: 6px;
  display: grid;
  grid-template-rows: auto 1fr;
  height: auto;
  min-height: 0;
  max-height: 100%;
}
@media (min-width: 990px) {
  .property-item {
    width: 100%;
    max-width: 140px;
  }
}
.property-item::before {
  content: '';
  width: 100%;
  height: 18px;
  background: no-repeat 0 0 / contain;
  display: block;
  position: absolute;
  top: -20px;
  left: 6px;
}
.property-item:nth-child(1)::before {
  background-image: url('../images/icon_rank1.png');
}
.property-item:nth-child(2)::before {
  background-image: url('../images/icon_rank2.png');
}
.property-item:nth-child(3)::before {
  background-image: url('../images/icon_rank3.png');
}
.property-item:nth-child(4)::before {
  background-image: url('../images/icon_rank4.png');
}
.property-item:nth-child(5)::before {
  background-image: url('../images/icon_rank5.png');
}

.property-item__link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.property-item:hover .property-item__image {
  opacity: 0.7;
}
.property-item__image {
  width: calc(100% - 12px);
  height: 100%;
  overflow: hidden;
  border-radius: 6px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.property-item__image-src {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-item__content {
  padding: 6px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.property-item__type {
  background-color: #d8ccb8;
  color: var(--text-coler);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  padding-block: 2px;
  text-align: center;
  border-radius: 3px;
}

.property-item__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.property-item__price {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--orange-coler);
}

.property-item__location {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.property-item__yield {
  display: flex;
  align-items: center;
  gap: 4px;
}

.property-item__yield-value {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  color: #930201;
}

.property-item__yield-label {
  font-size: 9px;
  font-weight: 400;
  line-height: 1.2;
  background-color: #f2f242;
  padding: 2px 3px;
  border-radius: 8px;
}

.property-item__details {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
}
.property-item__type,
.property-item__location,
.property-item__details {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.swiper-pagination,
.swiper-horizontal > .swiper-pagination {
  position: static;
  margin-right: 24px;
  width: calc(100% - 24px);
}
.swiper-pagination-bullet-active {
  background-color: var(--orange-coler);
}
@media (min-width: 990px) {
  .swiper-pagination {
    display: none;
  }
}

/* CTA */
.cta {
  gap: 8px;
  padding: 12px 16px;
  background-color: #ffffff;
  border-radius: 3px;
  border: 1px solid #c7b2ac;
  display: grid;
  grid-template-columns: auto auto;
}
@media (min-width: 768px) {
  .cta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
}
.cta:hover {
  border-color: var(--orange-coler);
  opacity: 0.7;
}

.cta__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  order: 1;
}

.cta__logo {
  height: 18px;
  order: 3;
}

.cta__logo-image {
}
.cta__arrow {
  order: 2;
  grid-row: span 2;
  align-self: center;
  fill: var(--text-coler);
}
@media (min-width: 768px) {
  .cta__arrow {
    order: 4;
    margin-left: 10px;
  }
}

/* その他の連合隊 */
.other-union {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-inline: var(--content-spacing);
}

@media (min-width: 768px) {
  .other-union {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    padding-inline: 0;
  }
}

.other-union__title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: #1a0b08;
}

.other-union__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
}

@media (min-width: 505px) {
  .other-union__items {
    display: flex;
    justify-content: center;
  }

  .other-union__items .union-item {
    min-width: 128px;
  }
}

@media (min-width: 768px) {
  .other-union__items {
    justify-content: flex-start;
  }
}

/* バナー */
.banner {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-inline: var(--content-spacing);
}

@media (min-width: 768px) {
  .banner {
    padding-inline: 0;
  }
}

.banner__link {
  display: block;
  width: 100%;
}
.banner__link:hover {
  opacity: 0.7;
}

.banner__image {
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  footer {
    background: #fff;
  }

  /*--------------------
  #footLogo
  --------------------*/
  #footLogo {
    padding: 14px 15px 11px;
    border-top: 2px solid #e97313;
    background: #fafafa;
  }
  #footLogo a {
    color: var(--text-coler);
    display: block;
  }
  #footLogo a span {
    display: block;
  }
  #footLogo a .footLogo01 {
    margin-left: 3px;
    font-size: 11px;
  }
  #footLogo a .footLogo02 {
    margin: 4px 0 10px 3px;
  }
  #footLogo a .footLogo02.footLogo02CompanyText {
    display: flex;
    font-size: 12px;
    gap: 10px;
    line-height: 1;
    vertical-align: top;
    align-items: flex-end;
  }
  #footLogo a .footLogo03 {
    font-size: 9px;
    color: #666;
  }

  /*--------------------
  #footLinkList01
  --------------------*/
  #footLinkList01 {
    padding: 0 15px 10px;
    background: #fafafa;
  }
  #footLinkList01 li {
    border-top: 1px solid #e8e8e4;
    list-style: none;
  }
  #footLinkList01 li a {
    line-height: 34px;
    color: #113366;
    background: url(../images/ico_arrow_03.png) no-repeat right 5px top 50%;
    background-size: 6px 10px;
    display: block;
    font-size: clamp(15px, 3.75vw, 12px);
  }

  /*--------------------
  #footGoodpointBnr
  --------------------*/
  #footGoodpointBnr {
    margin: 20px 15px 20px;
  }
  #footGoodpointBnr img {
    width: 100%;
    height: auto;
  }

  /*--------------------
  #allRengotaiList
  --------------------*/
  #allRengotaiList {
    padding: 20px 15px;
    background: #6c5e51;
  }
  #allRengotaiList:after {
    content: '';
    display: block;
    clear: both;
  }
  #allRengotaiList h1 {
    font-size: clamp(15px, 3.75vw, 12px);
    padding-bottom: 17px;
    font-weight: bold;
    color: #fafafa;
  }
  #allRengotaiList dt {
    font-size: clamp(15px, 3.75vw, 12px);
    padding-top: 5px;
    line-height: 22px;
    color: #fff;
    clear: both;
  }
  #allRengotaiList dt:before {
    content: '';
    margin-bottom: 5px;
    border-top: 1px solid #433a32;
    border-bottom: 1px solid #7e7369;
    display: block;
  }
  #allRengotaiList dt:first-child:before {
    display: none;
  }
  #allRengotaiList dd {
    font-size: clamp(15px, 3.75vw, 12px);
    float: left;
  }
  #allRengotaiList dd a {
    padding: 5px 18px 5px 10px;
    color: #d3cdc9;
    background: url(../images/ico_brown_01.png) no-repeat 0 50%;
    background-size: 4px 6px;
    display: block;
  }
  #allRengotaiList dd a img {
    display: inline-block;
  }

  /*--------------------
  #footDevice
  --------------------*/
  #footDevice {
    display: none;
  }

  /*--------------------
  #footPagetop
  --------------------*/
  #footPagetop {
    height: 50px;
    float: right;
  }
  #footPagetop a {
    height: 30px;
    margin: 10px 11px 0 0;
    padding: 0 8px;
    line-height: 28px;
    font-size: 11px;
    color: #000;
    border: 1px solid #e8e6db;
    border-radius: 5px;
    display: block;
    box-sizing: border-box;
  }
  #footPagetop a:before {
    content: '';
    width: 6px;
    height: 28px;
    margin-right: 8px;
    vertical-align: top;
    background: url('../images/ico_arrow_02.png') no-repeat 0 50%;
    background-size: 6px 4px;
    display: inline-block;
  }

  /*--------------------
  #copyright
  --------------------*/
  #copyright {
    padding-left: 15px;
    line-height: 50px;
    color: #000;
    background: #fafafa;
    clear: both;
  }
  #copyright small {
    font-size: 11px;
  }
}

@media (min-width: 768px) {
  /* =========================================================
ralsFooter
========================================================= */
  .ralsFooter {
    width: 100%;
    border-top: 1px solid #e5e3e1;
    background-color: #fafafa;
  }
  .ralsFooterInner {
    margin-inline: var(--content-spacing);
    padding: 30px 0 25px;
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 35px 0;
  }
  .ralsFooter a:hover img {
    opacity: 0.7;
  }

  /* RALSNETロゴ */
  .ralsLogo__link {
    margin-right: 10px;
    float: left;
  }
  .ralsLogo__name {
    line-height: 27px;
    font-size: 11px;
  }
  .ralsLogo__text {
    padding: 20px 0;
    line-height: 1.6;
    font-size: 11px;
    color: var(--text-coler);
    clear: both;
  }
  .ralsLogo__text--big {
    font-weight: bold;
    color: #5f5f52;
  }

  /* =========================================================
  #ftRengo
  ========================================================= */
  #ftRengo {
    background: #6c5e51 url(//www.rals.net/contents/img/common/pc/bg_line_03.png) repeat-x 0 0;
  }
  #ftRengoInner {
    margin: 0 var(--content-spacing);
    max-width: var(--main-width);
    overflow: hidden;
  }
  /*--------------------
  #rengoLink
  --------------------*/
  #rengoLink {
    width: 630px;
    margin-left: 0;
    padding-top: 26px;
    font-size: 13px;
    float: left;
  }
  #rengoLink iframe {
    display: block;
    overflow: hidden;
    border: none;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
  }
  #rengoLink h1 {
    padding: 0 0 12px 0;
    line-height: 20px;
    font-weight: bold;
    color: #fafafa;
  }
  #rengoLink dt {
    width: 92px;
    padding-top: 6px;
    line-height: 20px;
    color: #fff;
    float: left;
  }
  #rengoLink dd {
    padding-bottom: 5px;
    border-top: 1px solid #7e7369;
    border-bottom: 1px solid #433a32;
  }
  #rengoLink .rengoLinkLi_fst {
    border-top: 1px solid #6c5e51;
  }
  #rengoLink .rengoLinkLi_lst {
    border-bottom: none;
  }
  #rengoLink dd ul {
    overflow: hidden;
  }
  #rengoLink dd li {
    padding: 5px 18px 5px 10px;
    line-height: 20px;
    background: url(//www.rals.net/iframe/img/ico_brown_01.png) no-repeat 0 50%;
    float: left;
  }
  #rengoLink dd .rengoLinkLi01 {
    padding-right: 50px;
  }
  #rengoLink dd a {
    color: #d3cdc9;
  }
  #rengoLink dd a:hover {
    text-decoration: none;
    color: #fff;
  }

  /* RALSNETロゴ下部リンク */
  .ftrMenu {
    display: flex;
    list-style: none;
  }
  .ftrMenu__link {
    margin-right: 30px;
    padding: 5px 0;
    font-size: 12px;
    display: block;
    color: var(--link-text-color);
  }
  .ftrMenu__link:hover {
    color: var(--link-hover-color);
  }
  .ftrMenu__link::before {
    content: '';
    margin: -3px 10px 0 0;
    border: solid transparent;
    border-width: 3px 0 3px 4px;
    border-left-color: #007eb8;
    vertical-align: middle;
    display: inline-block;
  }

  .ftrBnrArea {
    display: flex;
    align-items: flex-end;
    gap: 20px;
  }

  /* 「不動産会社様へ」バナー */
  .ftrBnrArea__rengoReq {
    width: 380px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 84px;
    align-content: space-between;
  }
  .ftrBnrArea__rengoReq::before {
    content: '';
    display: block;
    width: 120px;
    height: 84px;
    background: url(//www.rals.net/contents/img/common/pc/img_rengo_view_01.png) no-repeat 0 0 / 117px 83px;
  }
  .ftrBnrArea__rengoReq__tit {
    font-size: 12px;
    color: var(--orange-coler);
  }
  .ftrBnrArea__rengoReq__txt {
    font-size: 14px;
    line-height: 1.3;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dotted #c8c4be;
  }
  .ftrBnrArea__rengoReq__link {
    width: 120px;
    height: 52px;
    border-radius: 2px;
    text-align: center;
    font-size: 12px;
    line-height: 1.25;
    color: #fff;
    background: #de7339;
    font-weight: bold;
    box-shadow: 0 3px #c3561c;
    box-sizing: border-box;
    margin-top: 22px;
    padding-top: 13px;
  }
  .ftrBnrArea__rengoReq__link:hover {
    color: #fff;
    opacity: 0.7;
  }

  /* 「不動産☆連合隊のいいところ募集！」バナー */
  .ftrBnrArea__goodBnr {
    margin-bottom: 7px;
  }
}
@media (min-width: 980px) {
  .ftrBnrArea {
    display: block;
  }
  .ftrBnrArea__goodBnr {
    width: 200px;
    margin: 5px 0 0;
    display: block;
  }
}
/* =========================================================
#copyRight
========================================================= */
#copyRight {
  padding: 10px 0;
  line-height: 20px;
  font-size: 11px;
  text-align: center;
  color: #d6d6d6;
  background: #433a32;
  clear: both;
}
