/* 出し分け */

.smhh_use-sp{
    display: none;
}
.smhh_use-pc{
    display: block;
}

/* ============================================================
   View A：展示場（会場）一覧画面
   ============================================================ */

.smhh_exhibit-view {
  display: block;
  padding: 0 15px 15px;
}

.smhh_area-selector {
  position: relative;
  border: 2px solid #E8E3DE;
  border-radius: 20px;
  background-color: #fff;
  box-sizing: border-box;
}


.smhh_area-selector__heading {
  position: absolute;
    top: -0.5em;
    left: 0;
    right: 0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smhh_area-selector__heading span{
  display: block;
    padding: 0 8px;
    margin-bottom: 16px;
    font-size: 16px;
    color: #8c7b6a;
    background: #FFF;
}

/* .smhh_area-selector__heading::before,
.smhh_area-selector__heading::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background-color: #e5d7c8;
}
.smhh_area-selector__heading::before { left: 0; }
.smhh_area-selector__heading::after { right: 0; } */

.smhh_area-selector__inner {
  display: flex;
  gap: 36px;
  width: 100%;
  padding: 40px 32px 32px;
}

.smhh_area-group {
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  overflow: hidden;
  background-color: #fdfdfd;
}

.smhh_area-group__title {
  margin: 0;
  padding: 18px 16px;
  font-size: 20px;
  color: #fff;
  text-align: center;
}

.smhh_area-group__title--kanto { background-color: #5C97C8; }
.smhh_area-group__title--kinki { background-color: #CE6D5C; }

.smhh_area-group__body{
    margin-top: 20px;
}

.smhh_area_syuto{
    width: 346px;
}
.smhh_area_syuto .smhh_area-group__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

.smhh_area_kinki{
    width: 524px;
}
.smhh_area_kinki .smhh_area-group__body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px 16px;
}

/* ラジオ本体は非表示 */
.smhh_area-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* ラベルスタイル */
.smhh_area-option {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 14px 10px;
  border-radius: 8px;
  border: 2px solid;
  background-color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}

.smhh_area-option__bullet {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid;
  background-color: #fff;
}

.smhh_area-option--kanto {
  border-color: #5C97C8;
  color: #2D6C9F;
}
.smhh_area-option--kanto .smhh_area-option__bullet {
  border-color: #D6E5F1;
  background-color: #D6E5F1;
}

.smhh_area-option--kinki {
  border-color: #CE6D5C;
  color: #CE6D5C;
}
.smhh_area-option--kinki .smhh_area-option__bullet {
  border-color: #F8CAC2;
  background-color: #F8CAC2;
}

.smhh_area-radio:checked + .smhh_area-option--kanto {
  background-color: #5C97C8;
  color: #fff;
}
.smhh_area-radio:checked + .smhh_area-option--kanto .smhh_area-option__bullet {
  border-color: #fff;
  background-color: transparent;
}
.smhh_area-radio:checked + .smhh_area-option--kinki {
  background-color: #CE6D5C;
  color: #fff;
}
.smhh_area-radio:checked + .smhh_area-option--kinki .smhh_area-option__bullet {
  border-color: #fff;
  background-color: transparent;
}


/* ============================================================
   展示場（会場一覧）
   ============================================================ */

.smhh_exhibit-selector {
  position: relative;
  margin-top: 50px;
  border: 2px solid #E8E3DE;
  border-radius: 20px;
  background-color: #fff;
  box-sizing: border-box;
}

.smhh_exhibit-selector__heading {
  position: absolute;
  top: -0.5em;
  left: 0;
  right: 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.smhh_exhibit-selector__heading span{
  display: block;
  padding: 0 8px;
  margin-bottom: 16px;
  font-size: 16px;
  color: #8c7b6a;
  background: #FFF;
}

/* .smhh_exhibit-selector__heading::before,
.smhh_exhibit-selector__heading::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background-color: #e5d7c8;
}
.smhh_exhibit-selector__heading::before { left: 0; }
.smhh_exhibit-selector__heading::after { right: 0; } */

.smhh_exhibit-placeholder {
  margin: 60px 0;
  text-align: center;
  font-size: 16px;
  color: #b39a84;
}

.smhh_exhibit-list {
  display: none;
  width: 100%;
  padding: 40px 32px 32px;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.smhh_exhibit-card,
.smhh_exhibit-card-link {
  /* flex: 1 1 calc(33.333% - 12px); */
  width: 286px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #F3EFEC;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-self: start;
  color: #35322F;
}

.smhh_exhibit-card-link a{
  color: #35322F;
  text-decoration: none;
}
.smhh_exhibit-card-link a:hover{
  text-decoration: none;
}

.smhh_exhibit-card__image{
  line-height: 0;
  overflow: hidden;
}

.smhh_exhibit-card__image img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.smhh_exhibit-card:hover .smhh_exhibit-card__image img,
.smhh_exhibit-card-link:hover .smhh_exhibit-card__image img{
  transform: scale(1.1);
}


.smhh_exhibit-card__body {
  padding: 12px 30px 10px 16px;
  position: relative;
}
.smhh_exhibit-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
.smhh_exhibit-card__subtitle {
  font-size: 12px;
  color: #777;
}
.smhh_exhibit-card__arrow {
  position: absolute;
  right: 12px;
  bottom: 0;
  width: 18px;
  height: 100%;
  background: url(/shared/img/common_parts/smhh_img/ico_arrow_right_circle.svg) center center no-repeat;
  background-size: contain;
}
.smhh_exhibit-card__window {
  position: absolute;
  right: 12px;
  bottom: 0;
  width: 18px;
  height: 100%;
  background: url(/shared/img/common_parts/smhh_img/ico_arrow_window_circle.svg) center center no-repeat;
  background-size: contain;
}


/* ============================================================
   View B：モデルハウス一覧
   ============================================================ */

.smhh_model-view {
  display: none;
  max-width: 1100px;
  padding: 0 12px 12px;
}

.smhh_model-header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.smhh_model-title {
  font-size: 24px;
  font-weight: 700;
  color: #97826D;
  margin: 0;
  line-height: 1;
}

.smhh_model-list__control{
  margin-top: 30px;
  padding: 20px 0;
  display: flex;
  border-top: 1px solid #E8E3DE;
}

.smhh_model-back {
  margin-right:  auto;
  background: #F4F0EC;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 16px;
}

.smhh_model-sort,
.smhh_model-filter{
  display: flex;
  align-items: center;
  column-gap: 10px;
}
.smhh_model-sort p,
.smhh_model-filter p{
  font-size: 16px;
  color: #97826D;
}

.smhh_model-filter{
  margin-left: 40px;
}

/* select box */

.smhh_model-selectbox {
    position: relative;
}

.smhh_model-selectbox::before,
.smhh_model-selectbox::after {
    position: absolute;
    content: '';
    pointer-events: none;
}

.smhh_model-selectbox::before {
    display: inline-block;
    right: 0;
    width: 34px;
    height: 100%;
    border-radius: 0 8px 8px 0;
    background-color: #6c5b60;
}

.smhh_model-selectbox::after {
    position: absolute;
    top: 50%;
    right: 1.4em;
    transform: translate(50%, -50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
}

.smhh_model-selectbox select {
    appearance: none;
    min-width: 230px;
    padding: .8em 3.6em .8em .8em;
    border: none;
    border-radius: 8px;
    background-color: #f4f0ec;
    color: #333;
    font-size: 16px;
    cursor: pointer;
}

.smhh_model-selectbox select:focus {
    outline: 2px solid #6c5b60;
}

.smhh_model-selectbox select option{
  text-align: center;
}

/* model house list */

.smhh_model-list {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 286px);
  gap: 32px;
  background: #F4F0EC;
  border-radius: 20px;
}

/* model house card */

.smhh_model-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
}

.smhh_model-card__image{
  flex-shrink: 0;
  position: relative;
  width: 100%;
  height: 199px;
  object-fit: cover;
  overflow: hidden;
}


.smhh_model-card__image img {
  width: 100%;
  transition: transform 0.3s ease;
}


.smhh_model-card__image a:hover img{
  transform: scale(1.1);
}

.smhh_model-card__image__link{
  position: absolute;
  display: block;
  right: 0;
  bottom: -1px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #FFF;
  background: rgb(0 0 0 / 0.35);
  border-top-left-radius: 4px;
  transition: background 0.3s ease;
}
.smhh_model-card__image__link:visited{
  color: #FFF;
}

.smhh_model-card__image a:hover .smhh_model-card__image__link{
  background: rgb(193 91 121 / 1);
}

.smhh_model-card__image__link span{
  display: block;
  position: relative;
  padding: 0.5em 2em 0.5em 1em;
}
.smhh_model-card__image__link span::after{
  content: "";
  position: absolute;
    top: 50%;
    right: 1.4em;
    transform: translate(50%, -50%) rotate(315deg);
    width: 6px;
    height: 6px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
}

.smhh_model-card__body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px;
  border-top: 2px solid #6C5B60;
}

.smhh_model-card__title {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.25;
}

.smhh_model-card__subtitle {
  padding-top: 0.5em;
  font-size: 14px;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #666;
}

.smhh_model-card__about{
  font-size: 12px;
  font-weight: 500;
  color: #625E59;
  line-height: 1.3;
  margin-bottom: 10px;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow-y: clip;
  hanging-punctuation: allow-end;
}

.smhh_model-card__btn {
  width: 100%;
  margin-top: auto;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  border-radius: 6px;
  border: none;
  background-color: #6C5B60;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.smhh_model-card__btn:hover{
  background: #c15b79;
}

.smhh_model-card__btn a{
  display: block;
  padding: 15px 0;
}

.smhh_model-card__btn a,
.smhh_model-card__btn a:visited{
  color: #fff;
}
.smhh_model-card__btn a:hover{
  text-decoration: none;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 768px) {
  .smhh_area-selector__inner {
    flex-direction: column;
  }
  .smhh_exhibit-list {
    flex-direction: column;
  }
  .smhh_exhibit-card,
  .smhh_model-card {
    flex: 1 1 100%;
  }
}