/* トップページ（index.html）専用スタイル - common.css の後に読み込む */
body.page-top {
  font-family: var(--font-sans);
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #fcfcfc;
  overflow-x: hidden;
}

/* トップ：ヘッダーをヒーロー上に重ねる */
body.page-top .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: rgba(255, 255, 255, 1);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(232, 236, 241, 0.75);
}

/* メインビジュアル + 検索（FV） */
.hero-fv {
  position: relative;
  min-height: clamp(520px, 70vh, 720px);
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: visible;
}

.hero-fv-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #1a2332;
  background-image: url("../img/property-fv01.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-fv-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  min-height: inherit;
  padding: max(88px, env(safe-area-inset-top)) clamp(16px, 4vw, 40px) 0;
  box-sizing: border-box;
}

/* キャッチ：中央配置・半透明パネル */
.hero-fv-copy-wrap {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 12px 32px;
  min-height: 0;
}

.hero-fv-copy {
  width: 100%;
  max-width: 785px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3.5vw, 2.75rem);
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 2px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.85s ease 0.12s, transform 0.85s ease 0.12s;
}

.hero-fv-copy.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-fv-copy h1 {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.8vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin: 0 0 1rem;
  padding: 0;
  color: #fff;
  text-shadow: none;
  border: none;
  text-align: center;
}

.hero-fv-copy p {
  font-family: var(--font-sans);
  font-size: clamp(0.8125rem, 1.35vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.85;
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: none;
}

/* 検索カード：上端を少しだけ MV に重ね、大半は下のセクション側へ */
.hero-fv-search {
  flex: 0 0 auto;
  width: 100%;
  margin-top: 0;
  margin-bottom: clamp(-190px, -12vw, -170px);
  position: relative;
  z-index: 2;
  background: #fff;
  border: 2px solid #1565c0;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(17, 24, 39, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  color: #333;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease 0.35s, transform 0.9s ease 0.35s;
}

.hero-fv-search.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-fv-copy,
  .hero-fv-search {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hero-fv-search-filters {
  flex: 1 1 320px;
  padding: 22px 24px 24px;
  box-sizing: border-box;
}

.hero-fv-search-action {
  flex: 0 0 auto;
  min-width: 200px;
  padding: 22px 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-left: 1px solid #e2e8f0;
  background: #fafbfc;
  box-sizing: border-box;
}

.fv-invest-row {
  margin-bottom: 18px;
}

.fv-label {
  display: block;
  font-size: 0.9125rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}

.fv-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.fv-seg-item {
  position: relative;
  cursor: pointer;
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
}

.fv-seg-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.fv-seg-face {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  border: 2px solid #cfd8e6;
  border-radius: 5px;
  background: #fff;
  color: #333;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.fv-seg-item input:checked + .fv-seg-face {
  border-color: #1565c0;
  background: rgba(21, 101, 192, 0.06);
  color: #0d47a1;
  box-shadow: inset 0 0 0 1px rgba(21, 101, 192, 0.15);
}

.fv-seg-item input:checked + .fv-seg-face::before {
  content: "✓";
  margin-right: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1565c0;
}

.fv-seg-item input:focus-visible + .fv-seg-face {
  outline: 2px solid #1565c0;
  outline-offset: 2px;
}

.fv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 14px;
  align-items: stretch;
}

.fv-field {
  min-width: 0;
}

.fv-field label {
  display: block;
  font-size: 0.9125rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.fv-select {
  width: 100%;
  padding: 10px 32px 10px 12px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: #333;
  border: 1px solid #cfd8e6;
  border-radius: 6px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E") no-repeat right 10px center;
  background-size: 12px;
  appearance: none;
  cursor: pointer;
}

.fv-select:focus {
  border-color: #1565c0;
  outline: none;
  box-shadow: 0 0 0 2px rgba(21, 101, 192, 0.2);
}

.fv-count {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.04em;
}

.fv-count strong {
  font-size: 1.525rem;
  font-weight: 700;
  color: #0d47a1;
}

.fv-search-btn {
  width: 100%;
  max-width: 280px;
  padding: 14px 24px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: #e85d5d;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(232, 93, 93, 0.35);
  transition: background 0.2s, transform 0.15s;
}

.fv-search-btn:hover {
  background: #d64545;
}

.fv-search-btn:active {
  transform: scale(0.98);
}

/* PC: ラベル 16px / プルダウン幅 200px */
@media (min-width: 769px) {
  .fv-label,
  .fv-field label {
    font-size: 16px;
  }
  .fv-select {
    width: 200px;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* 検索カードが重なる分、お知らせの上余白を確保 */
body.page-top .announcements-section {
  padding-top: clamp(210px, 16vw, 240px);
}

@media (max-width: 900px) {
  .hero-fv-search {
    flex-direction: column;
  }
  .hero-fv-search-action {
    border-left: none;
    border-top: 1px solid #e2e8f0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }
  .fv-search-btn {
    max-width: none;
    flex: 1 1 auto;
  }
  /* 狭い幅でも4項目は横一列（横スクロール） */
  .fv-grid {
    display: flex;
    flex-wrap:wrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    margin: 0 -4px;
    padding-left: 4px;
    padding-right: 4px;
    scrollbar-gutter: stable;
  }
  .fv-field {
    flex: 0 0 calc((100% - 30px) / 4);
    min-width: 0;
  }
}

/* タブレット幅：4列横スクロール時だけ最小幅を確保（768以下は下記ブロックで上書き） */
@media (max-width: 900px) and (min-width: 769px) {
  .fv-field {
    min-width: 132px;
  }
}

@media (max-width: 768px) {
  body.page-top {
    letter-spacing: 0.05em;
  }
  body.page-top .announcements-section {
    padding-top: clamp(410px, 58vw, 440px);
  }
  .hero-fv-copy h1 {
    font-size: clamp(1.1rem, 4.2vw, 1.5rem);
    letter-spacing: 0.06em;
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }
  .hero-fv-copy p {
    font-size: clamp(0.75rem, 3.1vw, 0.9375rem);
    letter-spacing: 0.05em;
    line-height: 1.75;
  }
  .hero-fv {
    min-height: 563px;
  }
  .hero-fv-bg {
    background-image: url("../img/property-fv01_sp.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }
  .hero-fv-inner {
    padding: max(76px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
    min-height: 563px;
  }
  .hero-fv-copy-wrap {
    padding: 12px 4px 20px;
  }
  .hero-fv-copy {
    max-width: none;
    padding: 1rem 1rem;
  }
  .hero-fv-search {
    margin-top: 0;
    margin-bottom: clamp(-400px, -55vw, -380px);
  }
  /* 投資種別：固定200px×3だとはみ出すため縦並び・フル幅 */
  .fv-seg {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .fv-seg-item {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .fv-seg-face {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 0 10px;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .fv-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin: 0 -2px;
    padding-left: 2px;
    padding-right: 2px;
    scroll-snap-type: x proximity;
  }
  .fv-field {
    box-sizing: border-box;
    /* 2列＋ gap 8px：50%×2+gap が100%を超えないよう控除。min-width は 0 にして flex-basis を優先 */
    flex: 0 0 min(42vw, calc(50% - 4px));
    min-width: 0;
    max-width: min(42vw, calc(50% - 4px));
    scroll-snap-align: start;
  }
  .fv-select {
    font-size: 0.8125rem;
    padding: 9px 28px 9px 10px;
  }
  .hero-fv-search-filters {
    min-width: 0;
    padding: 18px 16px;
  }
  .hero-fv-search-action {
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .fv-count {
    text-align: center;
  }
  .fv-search-btn {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 768px) and (min-width: 481px) {
  /* タブレット縦：件数とボタンを横並びに戻して余白を有効活用 */
  .hero-fv-search-action {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  .fv-count {
    text-align: left;
    flex: 1 1 auto;
  }
  .fv-search-btn {
    width: auto;
    flex: 0 1 auto;
    min-width: 200px;
    max-width: 280px;
  }
}

/* カテゴリバナー（PC は 4 枚を 1 列・コンパクトに） */
.top-navcards-section {
  background: #fff;
  padding: 48px 20px 48px;
}

.top-navcards-inner {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
}

.top-navcards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.top-navcard {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: #333;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.top-navcard:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.top-navcard-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 570 / 230;
  overflow: hidden;
  background: #e2e8f0;
}

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

.top-navcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: #e8edf3;
}

.top-navcard-label {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: #333;
  line-height: 1.45;
  letter-spacing: 0.03em;
}

.top-navcard-arrow {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(-45deg);
  margin-left: 4px;
}

@media (max-width: 1024px) {
  .top-navcards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .top-navcard-foot {
    padding: 16px 18px;
    gap: 14px;
  }

  .top-navcard-label {
    font-size: 0.9375rem;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 768px) {
  .top-navcards-section {
    padding: 40px 16px 40px;
  }
  .top-navcards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .top-navcard-foot {
    padding: 18px 20px;
    gap: 16px;
  }

  .top-navcard-label {
    font-size: 1rem;
    letter-spacing: 0.04em;
  }
}

/* お知らせ欄（白背景・日付 / カテゴリバッジ / タイトル） */
.announcements-section {
  background: #fff;
  color: #333;
  padding: 48px 20px 56px;
}

.announcements-inner {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
}

.announcements-heading {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 20px;
  padding: 0;
  color: #333;
  border: none;
}

.announcements-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.announcements-item {
  border-bottom: 1px solid #0e63c4;
}



.announcements-link {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 16px 0;
  text-decoration: none;
  color: #333;
  transition: opacity 0.2s ease;
}

a.announcements-link:hover {
  opacity: 0.75;
}

a.announcements-link:hover .announcements-title {
  text-decoration: underline;
}

.announcements-date {
  font-weight: 400;
  color: #333;
  flex: 0 0 auto;
  letter-spacing: 0.02em;
}

.announcements-kind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 5px 10px;
  background: #eceff1;
  border-radius: 3px;
  color: #333;
  line-height: 1.3;
}

.announcements-title {
  flex: 1;
  min-width: 160px;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
}

.announcements-loading,
.announcements-empty {
  padding: 20px 0;
  color: #666;
  font-size: 0.9375rem;
}

/* おすすめ投資物件（お知らせの下） */
.top-recommend-section {
  background: #e6ecf2;
  padding: 44px 20px 88px;
}

.top-recommend-inner {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
}

.top-recommend-heading {
  margin: 0 0 18px;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1f2937;
}

.top-recommend-track-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
}
.top-recommend-track-btn-wrap {
  order: 2;
  position: static;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px 48px;
  width: 100%;
  margin-top: 20px;
  padding: 0 8px;
  box-sizing: border-box;
}

.top-recommend-track {
  order: 1;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px 12px;
  margin-left: 0;
}

.top-recommend-track::-webkit-scrollbar {
  display: none;
}

.top-recommend-card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 320px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.08);
  display: flex;
  flex-direction: column;
}

@media (min-width: 1025px) {
  .top-recommend-track-wrap {
    --recommend-side-bleed: max(0px, calc(50vw - 580px));
    width: calc(100% + (var(--recommend-side-bleed) * 2));
    margin-left: calc(var(--recommend-side-bleed) * -1);
    max-width: none;
  }

  /* 4列時：1枚分の半分だけ左へ（親幅はトラックと同じ基準） */
  .top-recommend-track {
    margin-left: calc((48px - 100% + (var(--recommend-side-bleed) * 2)) / 8);
  }

  /* 左右の余白分だけトラックを拡張し、カードは通常幅基準で並べる */
  .top-recommend-card {
    flex: 0 0 calc((100% - (var(--recommend-side-bleed) * 2) - 48px) / 4);
    min-width: 240px;
  }
}

.top-recommend-thumb-wrap {
  position: relative;
  background: #e2e8f0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.top-recommend-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* PC：トラックの transform と重なると画像が遅延描画しやすいので合成レイヤーを安定させる */
@media (min-width: 601px) {
  .top-recommend-thumb {
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
}

.top-recommend-yield {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #b9850c;
  background: #fff;
  border-radius: 9999px;
  padding: 4px 10px;
}

.top-recommend-body {
  padding: 14px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.top-recommend-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.75rem;
  color: #4b5563;
}

.top-recommend-name {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-recommend-price {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #db5051;
}

.top-recommend-specs {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid #c7cedb;
}

.top-recommend-specs div {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 0.95rem;
  color: #1f2937;
  min-width: 0;
}

.top-recommend-specs dt {
  flex: 0 0 auto;
  font-weight: 700;
}

.top-recommend-specs dd {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-recommend-actions {
  margin-top: 4px;
  display: flex;
  gap: 10px;
}

.top-recommend-btn {
  flex: 1 1 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.top-recommend-btn.detail {
  color: #fff;
  background: #e15259;
}

.top-recommend-btn.contact {
  color: #1565c0;
  border: 1px solid #1565c0;
  background: #fff;
}

.top-recommend-btn.detail:hover {
  background: #cc3f47;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(204, 63, 71, 0.28);
}

.top-recommend-btn.contact:hover {
  background: #1565c0;
  color: #fff;
  border-color: #1565c0;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(21, 101, 192, 0.24);
}

.top-recommend-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.top-recommend-nav {
  position: relative;
  right: auto;
  left: auto;
  bottom: auto;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #1565c0;
  cursor: pointer;
  z-index: 21;
  pointer-events: auto;
}


.top-recommend-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.top-recommend-nav.prev::before {
  transform: translate(-50%, -50%) rotate(-135deg);
}

.top-recommend-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.top-recommend-loading,
.top-recommend-empty {
  margin: 0;
  padding: 18px 0 8px;
  color: #4b5563;
}

@media (max-width: 600px) {
  .top-recommend-section {
    padding: 34px max(16px, env(safe-area-inset-left)) 64px max(16px, env(safe-area-inset-right));
  }
  .top-recommend-heading {
    font-size: 1.3rem;
    margin-bottom: 14px;
  }

  /* カルーセル下にナビ（左半分・右半分の中央） */
  .top-recommend-track {
    width: 100%;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* SP：先頭カードの左半分ずらしはしない（PC/タブのみ） */
    margin-left: 0;
  }
  .top-recommend-track-btn-wrap {
    gap: 10px;
  }
  .top-recommend-nav {
    width: 44px;
    height: 44px;
  }

  /* 1件ずつフル幅表示（2枚目のチラ見えを防ぐ） */
  .top-recommend-card {
    flex: 0 0 100%;
    min-width: 0;
    max-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .top-recommend-name {
    font-size: 1.1rem;
  }
  .top-recommend-price {
    font-size: 1.8rem;
  }
  .top-recommend-specs div {
    font-size: 0.875rem;
  }
  .announcements-section {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
    padding-bottom: 48px;
  }
  .announcements-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .announcements-date {
    min-width: 0;
  }
  .announcements-title {
    min-width: 0;
    width: 100%;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .top-recommend-track {
    margin-left: calc((16px - 100%) / 4);
  }
  .top-recommend-card {
    flex-basis: calc((100% - 16px) / 2);
  }
}

/* フッター上のバナー */
.top-banner-section {
  padding: 0px 0 64px;
}
.top-banner {
  display: block;
  width: 728px;
  max-width: 100%;
  margin: 0 auto;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}
.top-banner:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  transform: translateY(-3px);
}
.top-banner-img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.35s ease, filter 0.25s ease;
}
.top-banner:hover .top-banner-img {
  transform: scale(1.03);
  filter: brightness(1.06);
}
@media (max-width: 600px) {
  .top-banner-section {
    padding: 0px 10px 40px;
  }
}
