/* ==========================================================================
   カタログページ専用：右側スクロール完了時に全幅フッターを表示するCSS（7:3版）
   ========================================================================== */

/* 全体の外枠 */
.l-catalog-container {
  display: flex;
  flex-direction: column; /* スマホ時は縦一列 */
  width: 100%;
  background-color: #f7f7f7;
}

@media screen and (min-width: 960px) {
  .l-catalog-container {
    display: block; /* PC時はブロック要素に切り替え */
    position: relative;
    width: 100%;
    min-height: 100vh;
  }
}

/* --------------------------------------------------------------------------
   左側：メインビジュアルエリア（★画面幅の70%に固定）
   -------------------------------------------------------------------------- */
#mainvisual.p-catalog-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

@media screen and (min-width: 960px) {
  #mainvisual.p-catalog-hero {
    position: fixed; 
    top: 0;
    left: 0;
    width: 70% !important;     /* ★70%に変更 */
    min-width: 70% !important; /* ★70%に変更 */
    height: 100vh !important;
    z-index: 10;
  }
}

/* Swiperの表示・フェード正常化（維持） */
#mainvisual.p-catalog-hero ._bg,
#mainvisual.p-catalog-hero ._bg .swiper,
#mainvisual.p-catalog-hero ._bg .swiper-wrapper,
#mainvisual.p-catalog-hero ._bg .image,
#mainvisual.p-catalog-hero ._bg .image picture {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
#mainvisual.p-catalog-hero ._bg .image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
#mainvisual.p-catalog-hero ._bg .swiper-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  transition: opacity 2s ease !important;
  z-index: 1 !important;
}
#mainvisual.p-catalog-hero ._bg .swiper-slide-active {
  opacity: 1 !important;
  z-index: 2 !important;
}
#mainvisual.p-catalog-hero ._logo,
#mainvisual.p-catalog-hero ._info {
  position: absolute !important;
  z-index: 5 !important;
}

/* --------------------------------------------------------------------------
   右側：カタログ・コンテンツエリア（★画面幅の30%に固定）
   -------------------------------------------------------------------------- */
.p-catalog-content {
  width: 100%;
  padding: 40px 20px;
  background-color: #f7f7f7;
  box-sizing: border-box;
}

@media screen and (min-width: 960px) {
  .p-catalog-content {
    display: block !important;
    width: 30% !important;        /* ★30%に変更 */
    min-width: 30% !important;    /* ★30%に変更 */
    margin-left: 70% !important;  /* ★左側が70%になったので、マージンも70%に変更 */
    
    padding: 60px 24px 120px;     /* 横幅が狭くなるため、左右の余白を40pxから24pxに微調整 */
    min-height: 100vh;
    background-color: #f7f7f7;
    position: relative;
    z-index: 15;
  }
}

/* カタログ 2列グリッド */
.p-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px; /* ★横幅が狭くなるため、カード同士の隙間を少しタイト（12px）に調整 */
  margin-bottom: 60px;
}
@media screen and (min-width: 960px) { .p-catalog-grid { gap: 16px; } }
.p-catalog-card {
  display: block;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.p-catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.p-catalog-card__img img { width: 100%; height: auto; display: block; }

/* RENOVATION エリア */
.p-catalog-renovation { text-align: center; margin-top: 40px; }
.p-catalog-renovation__title {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 20px; /* ★30%幅に合わせてフォントサイズをわずかに縮小（24px→20px） */
  font-weight: 400;
  color: #333;
  letter-spacing: 0.1em;
  margin: 0 0 20px;
}
.p-catalog-renovation__banner img { width: 100%; height: auto; box-shadow: 0 4px 15px rgba(0,0,0,0.04); }

/* --------------------------------------------------------------------------
   最下部：右側のスクロール完了時に下からせり上がる全幅（横幅100%）フッター
   -------------------------------------------------------------------------- */
footer {
  position: relative !important;
  width: 100% !important;
  background: #464646;
  clear: both !important;
}

@media screen and (min-width: 960px) {
  body.page-id-catalog footer,
  body.page-template-default footer,
  footer {
    position: relative !important;
    height: auto !important;
    z-index: 25 !important; 
    margin-left: 0 !important;
    display: block !important;
  }
}

.page-id-760 header ._logo{
  display: none;
}