/* ========================================
   New Arrivals
======================================== */
.na-list {
  position: relative;
}

.na-list .swiper-wrapper {
  align-items: stretch;
}

.na-list .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

/* ---------- Card ---------- */
.na-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

.na-card__image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3f3f3;
}

.na-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.na-card__flag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.na-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 16px 14px 14px;
}

.na-card__main {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  color: inherit;
  text-decoration: none;
}

.na-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.na-card__date {
  font-size: 12px;
  line-height: 1.5;
  color: #8a8a8a;
}

.na-card__kind {
  display: inline-flex;
  align-items: center;
  min-height: 17px;
  padding: 0 6px;
  background: #0d4a97;
  color: #fff;
  font-size: 10px;
  line-height: 1.4;
}

.na-card__title {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  color: #222;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.na-card__price {
  margin: 0 0 8px;
  color: #0d4a97;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
}

.na-card__price .priceUnit,
.na-card__price span {
  font-size: 16px;
}

.na-card__spec {
  margin: 0 0 14px;
  min-height: 1.5em;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.na-card__catch {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: #555;
}

.na-card__actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.na-card__actions > * {
  flex: 1 1 0;
}

.na-card__contact,
.na-card__favorite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 4px;
  box-sizing: border-box;
  text-decoration: none;
  text-align: center;
}

.na-card__contact {
  border: 1px solid #dfdfdf;
  background: #f7f7f7;
  color: #333;
}

.na-card__favorite {
  border: 0;
  background: #f5a000;
  cursor: pointer;
}

.na-card__favorite::before {
  content: "お気に入り";
  color: #fff;
  font-size: 0.9em;
  line-height: 1;
}

/* pagination */
.na-list__pagination {
  position: static;
  margin-top: 20px;
  text-align: center;
}

#newArrivals {
  overflow-x: hidden;
}

.na-list {
  position: relative;
}

/* pagination 共通 */
.na-list__pagination {
  position: static;
  margin-top: 16px;
  text-align: center;
}

/* ---------- PC ---------- */
@media screen and (min-width: 768px) {
  .na-list {
    overflow: visible;
  }

  .na-list .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    transform: none !important;
  }

  .na-list .swiper-slide {
    width: auto !important;
    margin-right: 0 !important;
  }

  .na-list__pagination {
    display: none !important;
  }
}

/* ---------- SP ---------- */
@media screen and (max-width: 767px) {
  #newArrivals .contents,
  #newArrivals .top_column_set {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .na-list {
    width: 100%;
    max-width: 100%;
    padding-left: 14px;
    padding-right: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .na-list .swiper-wrapper {
    align-items: stretch;
  }

  .na-list .swiper-slide {
    width: min(78vw, 320px) !important;
    flex-shrink: 0;
    box-sizing: border-box;
  }

  .na-card {
    width: 100%;
  }

  .na-card__image {
    aspect-ratio: 4 / 3;
  }

  .na-card__body {
    padding: 12px 12px 12px;
  }

  .na-card__meta {
    gap: 6px;
    margin-bottom: 8px;
  }

  .na-card__date {
    font-size: 11px;
  }

  .na-card__kind {
    min-height: 20px;
    padding: 2px 6px;
    font-size: 11px;
  }

  .na-card__title {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.45;
  }

  .na-card__price {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.35;
  }

  .na-card__price .priceUnit,
  .na-card__price span {
    font-size: 13px;
  }

  .na-card__spec {
    margin: 0 0 10px;
    min-height: 1.4em;
    font-size: 14px;
    line-height: 1.5;
  }

  .na-card__catch {
    font-size: 12px;
    line-height: 1.65;
  }

  .na-card__actions {
    gap: 8px;
    margin-top: 16px;
  }

  .na-card__contact,
  .na-card__favorite {
    min-height: 38px;
    padding: 0 8px;
    font-size: 12px;
  }

  .na-card__favorite::before {
    font-size: 13px;
  }

  .na-list__pagination {
    margin-top: 14px;
  }
}

/* ========================================
   新着物件：アクションボタン
======================================== */

/* 旧お気に入りUI・ツールチップ類を非表示 */
#newArrivals [id^="bookmark_"],
#newArrivals a[href^="javascript:void(0)"],
#newArrivals .bookmark,
#newArrivals .favorite_add,
#newArrivals .favoriteBalloon,
#newArrivals .favorite-balloon,
#newArrivals .favBalloon,
#newArrivals .fav-balloon,
#newArrivals .tooltip,
#newArrivals .ui-tooltip,
#newArrivals .balloon,
#newArrivals .hover-tip,
#newArrivals .na-card__actions a[href^="javascript:void(0)"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ボタン行 */
.na-card__actions {
  display: flex;
  gap: 10px;
}

.na-card__actions > * {
  flex: 1 1 0;
  min-width: 0;
}

/* 共通ボタン */
.na-card__contact,
.na-card__favorite {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 clamp(6px, 0.8vw, 10px);
  box-sizing: border-box;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  line-height: 1.2;
}

/* お問い合わせ */
.na-card__contact {
  border: 1px solid #ddd;
  background: #f7f7f7;
  color: #333;
  text-decoration: none;
  font-size: clamp(12px, 0.75vw, 14px);
  font-weight: 400;
}

/* お気に入り */
.na-card__favorite {
  position: relative;
  border: 0;
  background: #ff9900;
  cursor: pointer;
  overflow: hidden;

  /* 元文字や既存文字列を見せない */
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px;

  text-decoration: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
  outline: none;
}

/* 表示文字は擬似要素で固定 */
.na-card__favorite::before {
  content: "お気に入り";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-indent: 0;

  color: #fff;
  font-size: clamp(12px, 0.75vw, 14px);
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

/* hover / focus */
.na-card__main:hover,
.na-card__main:focus,
.na-card__contact:hover,
.na-card__contact:focus {
  text-decoration: none;
  opacity: .7;
}

.na-card__favorite:hover,
.na-card__favorite:focus,
.na-card__favorite:active {
  background: #f5a000 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
  outline: none;
}

.na-card__favorite:hover::before,
.na-card__favorite:focus::before,
.na-card__favorite:active::before {
  color: #fff !important;
  opacity: 1 !important;
  text-decoration: none !important;
}


/* ========================================
   Special Features
======================================== */
#special {
  overflow-x: hidden;
}

.spc-list {
  width: 100%;
  box-sizing: border-box;
}

/* ---------- PC ---------- */
@media screen and (min-width: 768px) {
  .spc-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }

  .spc-card {
    min-width: 0;
  }

  .spc-card__link {
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid #ddd;
    color: inherit;
    text-decoration: none;
    transition: opacity .2s ease;
  }

  .spc-card__link:hover {
    opacity: .85;
  }

  .spc-card__media {
    aspect-ratio: 260 / 185;
    overflow: hidden;
    background: #f3f3f3;
  }

  .spc-card__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .spc-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 76px;
    padding: 14px 16px;
    box-sizing: border-box;
  }

  .spc-card__title {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 700;
    color: #222;
  }

  .spc-card__arrow {
    flex: 0 0 auto;
    font-size: 24px;
    line-height: 1;
    color: #222;
  }
}

/* ---------- SP ---------- */
@media screen and (max-width: 767px) {
  .spc-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .spc-card__link {
    display: grid;
    grid-template-columns: 35% 1fr;
    min-height: 110px;
    background: #fff;
    border: 1px solid #ddd;
    color: inherit;
    text-decoration: none;
  }

  .spc-card__media {
    overflow: hidden;
    background: #f3f3f3;
  }

  .spc-card__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .spc-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px 16px 22px;
    box-sizing: border-box;
  }

  .spc-card__title {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
    color: #222;
  }

  .spc-card__arrow {
    flex: 0 0 auto;
    font-size: 40px;
    line-height: 1;
    color: #222;
    transform: translateY(-1px);
  }
}




/* ========================================
   Weekly Recommend
======================================== */
#weeklyRecommend {
  overflow-x: hidden;
}

.wk-list {
  position: relative;
  overflow: hidden;
}

.wk-list .swiper-wrapper {
  align-items: stretch;
}

.wk-list .swiper-slide {
  height: auto;
  box-sizing: border-box;
  min-width: 0;
}

.wk-card {
  height: 100%;
  background: #fff;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

.wk-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.wk-card__link:hover,
.wk-card__link:focus {
  text-decoration: none;
  opacity: .7;
}

.wk-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3f3f3;
}

.wk-card__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.wk-card__body {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 16px;
  box-sizing: border-box;
}

.wk-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.wk-card__date {
  font-size: 12px;
  line-height: 1.5;
  color: #8a8a8a;
}

.wk-card__kind {
  display: inline-flex;
  align-items: center;
  min-height: 17px;
  padding: 0 6px;
  background: #0d4a97;
  color: #fff;
  font-size: 10px;
  line-height: 1.4;
}

.wk-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
  color: #222;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.wk-card__price {
  margin: 0 0 8px;
  color: #0d4a97;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
}

.wk-card__price .priceUnit,
.wk-card__price span {
  font-size: 16px;
}

.wk-card__spec {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.wk-card__catch {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

.wk-card__catch p {
  margin: 0 0 2px;
}

.wk-list__pagination {
  position: static;
  text-align: center;
  line-height: 1;
}

.wk-list__pagination .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  margin: 0 7px !important;
  border-radius: 50%;
  background: #c7c7c7;
  opacity: 1;
  vertical-align: top;
}

.wk-list__pagination .swiper-pagination-bullet-active {
  background: #0d4a97;
}

/* ---------- PC ---------- */
@media screen and (min-width: 768px) {
  .wk-list {
    overflow: hidden;
  }

  .wk-list .swiper-slide {
    box-sizing: border-box;
    min-width: 0;
  }

  .wk-card__media {
    aspect-ratio: 4 / 3;
  }

  .wk-card__title {
    min-height: 4.35em;
  }

  .wk-card__catch {
    min-height: 6.8em;
  }

  .wk-list__pagination {
    margin-top: 22px;
  }
}

/* ---------- SP ---------- */
@media screen and (max-width: 767px) {
  #weeklyRecommend .contents,
  #weeklyRecommend .top_column_set {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .wk-list {
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .wk-list .swiper-slide {
    box-sizing: border-box;
    min-width: 0;
  }

  .wk-card__body {
    padding: 12px 10px 14px;
  }

  .wk-card__meta {
    gap: 6px;
    margin-bottom: 8px;
  }

  .wk-card__date {
    font-size: 11px;
  }

  .wk-card__kind {
    min-height: 20px;
    padding: 2px 6px;
    font-size: 11px;
  }

  .wk-card__title {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.45;
    -webkit-line-clamp: 3;
  }

  .wk-card__price {
    margin: 0 0 6px;
    font-size: 18px;
  }

  .wk-card__price .priceUnit,
  .wk-card__price span {
    font-size: 13px;
  }

  .wk-card__spec {
    margin: 0 0 8px;
    font-size: 14px;
  }

  .wk-card__catch {
    font-size: 12px;
    line-height: 1.65;
  }

  .wk-list__pagination {
    margin-top: 16px;
  }

  #weeklyRecommend .downLink {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 50px auto 70px;
  }

  #weeklyRecommend .downLink img {
    display: block;
    max-width: 100%;
    height: auto;
  }
}