@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


/* ===== LPヘッダー専用ボタン ===== */
@import url("https://use.fontawesome.com/releases/v5.13.0/css/all.css");

/* --- ヘッダー基盤 --- */
.single-lp .lp-top-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: var(--lp-header-bg, #fff);
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

/* --- PC・スマホ共通：3Dボタンデザイン --- */
.single-lp .btn-wrap {
  position: relative;
  margin: 0;
}

.single-lp .btn-c {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  background: var(--btn-color);
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;

}

.single-lp .btn-c::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--btn-color);
  filter: brightness(80%);
  border-radius: 6px;
  z-index: -1;
  transition: top 0.2s ease;
}

/* マイクロコピー（バッジ） */
.single-lp .btn-c span {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: max-content;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--btn-color);
  background: #fff;
  border: 2px solid var(--btn-color);
  border-radius: 4px;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
}

.single-lp .btn-c:hover {
  transform: translateY(3px);
  opacity: 1;
  color: #fff;
}

.single-lp .btn-c:hover::before {
  top: 2px;
}

.single-lp .btn-c i {
  margin-left: 8px;
}

/* --- 【PC版】（769px以上） --- */
@media screen and (min-width: 769px) {
  .single-lp .lp-top-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 40px 12px 38px; 
    min-height: auto;
  }

  .single-lp .lp-top-header__logo img {
    max-height: 60px;
    width: auto;
  }

  .single-lp .lp-top-header__buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 0;
    margin: 0;
  }
}

/* ================================
  LPボタンを iso-grid にも適用
================================ */

/* --- PC・スマホ共通：3Dボタンデザイン --- */
.single-lp .btn-wrap,
.is-lpbtn .btn-wrap {
  position: relative;
  margin: 0;
}

.single-lp .btn-c,
.is-lpbtn .btn-c {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  background: var(--btn-color);
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
}

/* ボタンの厚み（シャドウ） */
.single-lp .btn-c::before,
.is-lpbtn .btn-c::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--btn-color);
  filter: brightness(80%);
  border-radius: 6px;
  z-index: -1;
  transition: top 0.2s ease;
}

/* マイクロコピー（バッジ） */
.single-lp .btn-c span,
.is-lpbtn .btn-c span {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: max-content;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--btn-color);
  background: #fff;
  border: 2px solid var(--btn-color);
  border-radius: 4px;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
}

.single-lp .btn-c:hover,
.is-lpbtn .btn-c:hover {
  transform: translateY(3px);
  opacity: 1;
  color: #fff;
}

.single-lp .btn-c:hover::before,
.is-lpbtn .btn-c:hover::before {
  top: 2px;
}

.single-lp .btn-c i,
.is-lpbtn .btn-c i {
  margin-left: 8px;
}



/* --- 【スマホ版】（768px以下）：上下追従の修正版 --- */
@media screen and (max-width: 768px) {
  
  /* 1. 上部ヘッダー（ロゴエリア）を最上部に固定 */
  .single-lp .lp-top-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
  }

  .single-lp .lp-top-header__inner {
    display: flex;
    padding: 10px 20px;
    align-items: center;
  }

  /* ロゴが表示されない問題を解消 */
  .single-lp .lp-top-header__logo img {
    display: block !important;
    max-height: 24px;
    width: auto;
  }

  /* 2. 下部ボタンエリアの固定 */
  .single-lp .lp-top-header__buttons {
    position: fixed !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    padding: 15px 12px 10px !important;
    display: flex !important;
    gap: 10px !important;
    background: #fff !important;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1) !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
  }

  .single-lp .btn-wrap {
    flex: 1;
  }

  .single-lp .btn-c {
    width: 100%;
    padding: 12px 5px;
    font-size: 13px;
  }

  /* 3. FV上部の余計なpadding/隙間を解消 */
  .single-lp #lp-content {
    margin-top: 44px !important; 
    padding-top: 0 !important;
  }
}
.single-lp #body_wrap {
  padding-top: 0;
}
@media screen and (max-width: 768px) {
  .single-lp #body_wrap {
    padding-bottom: 110px;
  }
  .postid-37 .lp-top-header__logo img {
    max-height: 44px;
  }
}

/* ==========================================================
   1. 検索ボックスとグリッド間隔調整 (SP版)
========================================================= */
@media (max-width: 768px) {
  .filterBox { 
    transform: translateY(-30%) !important;
    margin-bottom: 0 !important; 
    z-index: 10;
  }
  #iso-grid-wrap { 
    margin-top: -60px !important;
  }
}

/* ==========================================================
   2. 物件カード共通設定
========================================================= */
.grid-item { cursor: pointer !important; transition: transform 0.3s ease; }
.grid-item:hover { transform: translateY(-5px); }

.iso-grid .grid-item.is-vertical { display: flex; flex-direction: column; }

.grid-item__inner-flex {
  display: flex; flex-direction: column;
  min-height: auto !important;
  height: auto !important;
  background: #fff; position: relative;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* --- 画像エリア --- */
.grid-item__left-img { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.grid-item__left-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- キャンペーンバッジ --- */
.ribbon-wrapper {
  position: absolute;
  top: 5px;
  left: 10px;
  z-index: 20;
}

.ribbon1 {
  display: inline-block !important;
  padding: 4px 8px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: #b03821 !important;
  border-radius: 3px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}
/* --- ボタンエリアの柔軟性確保 --- */
.grid-item__buttons .btn-c {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  padding: 8px 5px;
  text-decoration: none;
}

/* --- 情報・テキストエリア --- */
.grid-item__right-info {
  display: flex; flex-direction: column; flex: 1 1 auto;
  padding: 6px 16px 12px !important; /* 上余白 6px */
  position: relative;
}
.grid-item__title {
  margin: 0 0 6px 0 !important; /* 下余白 6px */
  font-weight: bold; line-height: 1.4;
}
.grid-item__info-top { flex: 1 1 auto; min-height: 0; }

/* --- ボタン・三角マーク --- */
.grid-item__buttons {
  margin-top: auto; display: flex; gap: 8px;
  padding: 0 20px 8px 0; /* 三角を避ける余白 */
  z-index: 2;
}
.grid-corner {
  position: absolute; right: 10px; bottom: 10px; width: 18px; height: 18px; z-index: 1;
}
.grid-corner::before {
  content: ""; position: absolute; inset: 0; background: #2a8f86;
  clip-path: polygon(100% 0, 0 100%, 100% 100%); border-radius: 1px;
}

/* ==========================================================
   3. PC版：横長レイアウト (769px以上)
========================================================= */
@media (min-width: 769px) {
  .iso-grid .grid-item { width: 100%; }

  .grid-item__inner-flex {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: auto;
    height: auto;
    position: relative;
    padding-bottom: 0;
  }

  .grid-item__left-img {
    width: 50%;
    height: auto;
    min-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    margin: 0;
    border-radius: 8px 0 0 8px;
  }

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

  .grid-item__right-info {
    width: 50%;
    margin-left: 50%;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .grid-item__title {
    margin: 0 0 10px 0;
    font-weight: bold;
    line-height: 1.4;
  }

  /* 情報の中身（交通など） */
  .grid-item__info-top {
    flex: 1 1 auto;
    min-height: 0;
  }

  /* ボタンエリア */
  .grid-item__buttons { 
    margin-top: auto;
    padding: 20px 0 0 0;
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 2; 
  }
}

/* もっと見るボタンのデザイン */
.load-more-container {
  text-align: center;
  margin: 40px 0 60px;
}
.load-more-btn {
  display: inline-block;
  background: #2a8f86;
  color: #fff;
  padding: 14px 60px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.load-more-btn:hover {
  background: #1e6b64;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* 表示制限用のクラス */
.grid-item.is-hidden {
  display: none !important;
}