/****************************************
* main.css :トップページ、各固定ページのデザインを記載
* 役割：各ページで独自で適用するデザインを記載する。
***************************************/
/* 基本カラー var(--)で呼び出し */
:root {
  /* color */
  /* brand */
  --primary-color : #2b4e78;
  --secondary-color : #42444C;
  
  /* text */
  --color-text: #222222;
  --color-text-light: #666666;
  --color-text-white: #ffffff;
  --color-text-gray:#42444C;
  --color-text-red:#FF0000;


  /* background */
  --color-bg: #ffffff;
  --color-bg-dark: #42444C;
  --color-bg-gray: #EDF4FD;
  --color-after-line:#A7BCD6;
  
  /* gradation */
  --color-grad1: #2e5eb4;
  --color-grad2: #3D74CC ;
  --color-grad3: #4b8ee4;
  --color-grad-tmplate:linear-gradient(183deg, var(--color-grad1) 0%, var(--color-grad3) 100%);

}

/* トップページ */
:root {
  --kv-scroll-vh: 280; /* PC用のスクロール量(vh) */
}

.p-top-kv {
    position: relative;
    height: calc(var(--kv-scroll-vh) * 1vh);
}

.p-top-kv__scene {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh; /* アドレスバーの伸縮に影響されない安定値（対応ブラウザで上書き） */
  overflow: hidden;
}

@media (max-width: 768px) {
  .p-top-kv {
    height: calc(60vh + 100vh); /* スクロール量はここで調整 */
  }

  .p-top-kv__copy {
    transition: opacity 0.4s ease;
  }

  .p-top-kv__concept-overlay {
    opacity: 0; /* 初期状態は必ず透明 */
    transition: opacity 0.4s ease;
  }
}

.p-top-kv__copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 140px;
  max-width: 600px;
  will-change: transform, opacity;
  transform-origin: left center;
}

/* 全画面背景動画 */
.p-top-kv__bg {
  position: absolute;
  inset: 0;
  transform-origin: center center;
  will-change: transform;
}
.p-top-kv__bg video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* 動画上のグラデーションオーバーレイ（テキスト可読性） */
.p-top-kv__scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .9) 38%, rgba(255, 255, 255, .4) 80%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.p-top-kv__headline { 
    font-family: var(--font-mincho);
    font-weight: 700;
    line-height: 80px;
    letter-spacing: 7.7px;
    display: flex;
    align-items: flex-start; /* 文字サイズが違っても下端で揃う */
}

.p-top-kv__headline--lg { 
    font-size: 65px; color: var(--lw-navy); 
}
.p-top-kv__headline--md { font-size: 55px; color: var(--lw-black); margin-top: 4px; }

.p-top-kv__sub {
  font-family: var(--font-mincho);
  font-size: 18px;
  color: var(--lw-black);
  line-height: 2.3;
  letter-spacing: .12em;
  margin-top: 28px;
}

/* SCROLLインジケーター */
.p-top-kv__scroll {
  position: absolute;
  bottom: 40px;
  right: var(--inner-pad);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.p-top-kv__scroll-text {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: bold;
  letter-spacing: .2em;
  color: var(--lw-navy);
  writing-mode: vertical-rl;
}
.p-top-kv__scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: var(--lw-navy);
  animation: c-scroll-line 1.8s ease-in-out infinite;
  transform-origin: top center;
}
@keyframes c-scroll-line {
  0%   { transform: scaleY(0); opacity: 1; }
  60%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.p-kv__badge {
  position: absolute;
  bottom: 0;
  right: var(--inner-pad);
  width: 240px;
  height: 240px;
  z-index: 3;
  animation: lw-spin 20s linear infinite;
}

/* コンセプトテキスト表示 */
.p-top-kv__concept-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 2;
    pointer-events: none;
}

.p-top-kv__concept-group {
    position: absolute;
    z-index: 3;
    top: 53%;
    left: 50%;
    width: 100%;
    max-width: 760px;
    padding: 0 24px;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.p-top-kv__concept-text {
    text-align: center;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

.p-top-kv__concept-text.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.p-top-kv__concept-title {
    font-family: var(--font-mincho);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.6;
}

.p-top-kv__concept-body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.9;
}

.p-top-kv__concept-more {
    margin-top: 40px;
}

.kv-fade-anim {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.kv-fade-anim--show {
  opacity: 1;
}

@media (max-width: 768px) {
   .p-top-kv {
    height: calc(120vh + 100vh); /* 40vh → 100vh に拡大、要調整 */
  }

  .p-top-kv__copy {
    padding-left: 24px;
    padding-right: 24px;
    max-width: none;
    justify-content: center;
  }

  .p-top-kv__headline {
    line-height: 1.4;
    letter-spacing: 2px;
    align-items: flex-end; /* 文字サイズが違っても下端で揃う */
  }

  .p-top-kv__headline--lg {
    font-size: 32px;
  }

  .p-top-kv__headline--md {
    font-size: 26px;
  }

  .p-top-kv__sub {
    font-size: 14px;
    line-height: 1.9;
    margin-top: 20px;
  }

  .p-top-kv__scroll {
    display: none; /* スマホでは非表示 */
  }

  .p-kv__badge {
    width: 110px;
    height: 110px;
    top: -55px !important;
    left: 10px !important;
  }

  /* コンセプトテキスト(スクロール後に出てくる部分) */
  .p-top-kv__concept-group {
    max-width: none;
    padding: 0 24px;
  }

  .p-top-kv__concept-title {
    font-size: 22px;
  }

  .p-top-kv__concept-body {
    font-size: 14px;
    line-height: 1.8;
  }
}

/* ── LocaWeave: TOP ABOUT ── */
.p-top-about { 
    background: linear-gradient(180deg, #FFF 0%, #F5F5F7 100%);
    padding: 120px 0;
    overflow: hidden;
}

.p-top-about__head {
  margin-bottom: 40px;
}

.p-top-about__inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 var(--inner-pad);
}

.p-top-about__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Grid列が画像の実サイズに引っ張られて広がるのを防ぐ */
.p-top-about__img {
  min-width: 0;
  overflow: hidden;
}

/* ── テキスト左・画像右ブロック（右端までブリード）──
   画像の大きさは width の vw 数値だけ変えれば調整できる */
.p-top-about__item--bleed-right {
  position: relative;
  display: block; /* gridではなくテキストエリアだけ幅指定して、画像はabsoluteで独立させる */
  min-height: 600px; /* ← ここの数値で全体の高さ(=画像の見える高さ)を調整できる */
}

.p-top-about__item--bleed-right .p-top-about__text-area {
  width: 45%;
  padding: 60px 0;
}

.p-top-about__item--bleed-right .p-top-about__img {
  position: absolute;
  top: 0;
  right: calc(-50vw + 50%);
  height: 100%;
  width: 48vw;
}

.p-top-about__item--bleed-right .p-top-about__img img {
  border-radius: 28px 0 0 28px;
  height: 100%;
  width: 100%;
  object-fit: cover; /* 画像が縦に潰れず、はみ出た分は自動でトリミングされる */
}

.p-top-about__text-area { 
    padding: 20px 0; 
}

.p-top-about__body { 
    font-family: var(--font-en); 
    font-size: 16px; 
    color: var(--lw-black); 
    line-height: 2.5; 
}

.p-top-about__body__head {
    font-family: var(--font-mincho);
    font-size: 32px;
}

.p-top-about__more { margin-top: 48px; }

@media (max-width: 768px) {
  .p-top-about {
    padding: 80px 0 0;
  }

  .p-top-about__inner {
    padding: 0 24px;
  }

  .p-top-about__head {
    margin-bottom: 32px;
  }

  .p-top-about__item--bleed-right {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .p-top-about__item--bleed-right .p-top-about__text-area {
    width: 100%;
    padding: 0;
    order: 1; /* テキストを上に */
  }

  .p-top-about__item--bleed-right .p-top-about__img {
    position: static;
    width: 120%;
    height: 400px;
    order: 2; /* 画像を下に */
    margin-top: 24px;
  }

  .p-top-about__body__head {
    font-size: 22px;
  }

  .p-top-about__body {
    font-size: 14px;
    line-height: 2.2;
    margin-top: 0;
  }

  .p-top-about__more {
    margin-top: 32px;
  }
}
/* ── LocaWeave: TOP LOCATION ── */
.p-top-location {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 var(--inner-pad);
}

.p-top-location__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.p-top-location__item--bleed {
  gap: 0;
  margin: 0 0 160px 0;
}

.p-top-location__img {
  min-width: 0;
  overflow: hidden;
}

.p-top-location__item--bleed .p-top-location__img {
  margin-left: calc(-1 * var(--inner-pad) - max(0px, (100vw - var(--inner-max)) / 2));
  width: calc(100% + var(--inner-pad) + max(0px, (100vw - var(--inner-max)) / 2));
}

.p-top-location__img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 0 28px 28px 0;
  display: block;
}

.p-top-location__text-area {
  padding-left: 60px;
  padding-right: var(--inner-pad);
}

.p-top-location__tag { 
    display: inline-block; 
    font-family: var(--font-en); 
    font-size: 13px; 
    color: var(--lw-navy); 
    letter-spacing: .15em; 
    text-transform: uppercase; 
    margin-bottom: 8px; 
}

.p-top-location__body__head {
  font-family: var(--font-mincho);
  font-size: 32px;
}

.p-top-location__body__text {
  font-family: var(--font-mincho);
  font-size: 32px;
  font-family: var(--font-en);
  font-size: 16px;
  color: var(--lw-black);
  line-height: 2.5;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .p-top-location {
    padding: 40px 24px;
  }

  .p-top-location__item--bleed {
    display: flex;
    flex-direction: column;
    margin: 0 0 60px 0;
  }

  .p-top-location__item--bleed .p-top-location__img {
    margin-left: -24px; /* 画面端までブリード（左右の余白分だけマイナスに） */
    width: calc(100% + 48px);
  }

  .p-top-location__item--bleed .p-top-location__img img {
    border-radius: 20px;
    height: 240px;
  }

  .p-top-location__item--bleed .p-top-location__text-area {
    padding-left: 0;
    padding-right: 0;
    margin-top: 24px;
  }

  .p-top-location__body__head {
    font-size: 22px;
  }

  .p-top-location__body__text {
    font-size: 14px;
    line-height: 2.2;
    margin-top: 24px;
  }
}

/* ── TOP SERVICE ── */
.p-top-service {
  background: #fff;
  padding: 120px 0 0;
  position: relative;
}

.p-top-service__head {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 var(--inner-pad);
  margin-bottom: 119px;
  text-align: center;
}

/* Serviceセクションでの位置 */
.p-top-service .p-kv__badge {
  top: -120px;
  right: 14%;
}

.p-top-service__list {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 var(--inner-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.p-top-service__card {
  position: relative;
  background: #fff;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: transform .4s ease, box-shadow .4s ease;
}

.p-top-service__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.p-top-service__card-img {
  position: relative;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
}
.p-top-service__card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.p-top-service__card:hover .p-top-service__card-img img { transform: scale(1.03); }

.p-top-service__card-body { margin-top: 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.p-top-service__card-title { font-family: var(--font-mincho); font-size: 24px; font-weight: 700; color: var(--lw-black); line-height: 1.5; flex: 1; }
.p-top-service__card-text { font-family: var(--font-en); font-size: 15px; color: var(--lw-black); line-height: 1.9; margin-top: 12px; }

@media (max-width: 768px) {
  .p-top-service {
    padding: 80px 0 0;
  }

  .p-top-service__head {
    padding: 0 24px;
    margin-bottom: 60px;
  }

  /* バッジの位置調整 */
  .p-top-service .p-kv__badge {
    top: -56px !important;
    right: 26px !important;
    left: auto !important;
    width: 110px;
    height: 110px;
  }

  .p-top-service__list {
    padding: 0 24px;
    grid-template-columns: 1fr; /* 2列 → 1列 */
    gap: 40px;
  }

  .p-top-service__card {
    padding: 36px;
    border-radius: 20px;
  }

  .p-top-service__card:hover {
    transform: none; /* スマホはタップ操作なのでホバー演出は不要 */
  }

  .p-top-service__card-img {
    height: 220px;
    border-radius: 14px;
  }

  .p-top-service__card-body {
    margin-top: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .p-top-service__card-title {
    font-size: 20px;
  }

  .p-top-service__card-text {
    font-size: 14px;
    line-height: 1.8;
    margin-top: 8px;
  }
}

/* ── TOP PROPERTY ── */
.p-top-property {
  background: #fff;
  padding: 0 0 240px;
  overflow: hidden; /* これを追加 */
}

.p-top-property__head {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 var(--inner-pad);
  margin-top: 20px;
  margin-bottom: 80px;
  position: relative;
  align-items: flex-end;
  justify-content: space-between;
}

/* スライダーナビボタン */
.p-top-property__nav { display: flex; gap: 10px; align-items: center; padding-bottom: 4px; }
.p-top-property__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--lw-dark);
  background: transparent;
  color: var(--lw-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, color 0.25s;
}
.p-top-property__nav-btn:hover { background: var(--lw-dark); color: #fff; }

.p-top-property__list {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-left: max(var(--inner-pad), calc((100vw - var(--inner-max)) / 2 + var(--inner-pad)));
  padding-right: 0;
  margin-right: calc(-50vw + 50%);
  width: calc(100% + 50vw - 50%);
}
.p-top-property__list::-webkit-scrollbar { display: none; }

.p-top-property__card {
  width: 475px;
  flex-shrink: 0; /* カードが縮まないよう固定（スクロール動作に必須） */
  scroll-snap-align: start;
  overflow: hidden;
}

.p-top-property__card-img { 
    height: 370px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}
.p-top-property__card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.p-top-property__card:hover .p-top-property__card-img img { transform: scale(1.04); }
.p-top-property__card-body { 
    padding: 18px 20px 24px 0px; 
}
.p-top-property__card-title { font-family: var(--font-mincho); font-size: 24px; font-weight: normal; color: var(--lw-black); }
.p-top-property__card-text { font-family: var(--font-en); font-size: 16px; color: var(--lw-black); line-height: 1.9; margin-top: 8px; opacity: .75; }

/* propertyセクションでの位置 */
.p-top-property .p-kv__badge {
  top: 100px;
  right: 220px;
}

@media (max-width: 768px) {
  .p-top-property {
    padding: 0 0 100px;
  }

  .p-top-property__head {
    padding: 0 24px;
    margin-top: 0;
    margin-bottom: 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* PC用のナビボタンはスマホでは非表示（スワイプ操作に任せる） */
  .p-top-property__nav {
    display: none;
  }

  .p-top-property__list {
    gap: 20px;
    margin-left: 30px;
    padding: 0 24px 20px;
    overflow-x: auto; /* 横スクロールを許可 */
    scroll-snap-type: x mandatory; /* スワイプでカードごとにピタッと止まる */
    -webkit-overflow-scrolling: touch;
  }

  .p-top-property__list::before {
    display: none; /* PC用の左余白スペーサーは不要 */
  }

  .p-top-property__card {
    width: 280px; /* カード幅を縮小 */
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .p-top-property__card-img {
    height: 220px;
  }

  .p-top-property__card-body {
    padding: 14px 0 0;
  }

  .p-top-property__card-title {
    font-size: 20px;
  }

  .p-top-property__card-text {
    font-size: 14px;
    margin-top: 4px;
  }
}

/* サブページ---共通ヘッダー */
.p-page-header {
  text-align: center;
  padding: 160px 0 100px;
  background-image: url('../img/common/sub_kv.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.p-page-header__title {
  font-family: "Shippori Mincho B1", serif;
  font-size: 40px;
  font-weight: 400;
  color: #343434;
}

.p-page-header__sub {
  font-size: 16px;
  color: #343434;
  margin-top: 8px;
}

/* サブページ---company */

/* 共通見出し */
.c-heading.-center {
  text-align: center;
  margin-bottom: 48px;
}

/* ── About（当社について） ── */
.p-company-about {
  padding: 100px 24px;
  position: relative;
}

.p-company-about__text {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: #343434;
}

/* ── Profile（会社概要） ── */
.p-company-profile {
  padding: 80px 24px;
  max-width: 940px;
  margin: 0 auto;
}

.p-company-profile__photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 80px;
}

.p-company-profile__photo--main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.p-company-profile__photo-sub {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
}

.p-company-profile__photo-sub .p-company-profile__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.p-company__badge-wrap {
  position: absolute;
  right: 7%;
  bottom: -170px;
  z-index: 3;
}

.p-company-hero__card-name {
  text-align: right;
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: 0.12em;
  margin-top: 2rem;
}
.p-company-hero__card-name-role {
  font-size: 16px;
  margin-right: 16px;
}

/* ── Access（アクセス） ── */
.p-company-access {
  padding: 80px 24px 180px;
  max-width: 940px;
  margin: 0 auto;
}

.p-company-access__address {
  font-style: normal;
  font-size: 16px;
  color: #343434;
  line-height: 2;
  margin-bottom: 24px;
}

.p-company-access__address a {
  color: #343434;
  text-decoration: none;
  display: inline;
}

.p-company-access__map {
  aspect-ratio: 940 / 457;
  border-radius: 8px;
  overflow: hidden;
}

.p-company-access__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .p-page-header {
    padding: 80px 24px 24px;
  }

  .p-page-header__title {
    font-size: 28px;
  }

  .p-company-about{
    padding: 80px 20px 0;
  }

  .p-company-profile{
    padding: 80px 20px;
  }

  .p-company-access {
    padding: 40px 20px 160px;
  }

  .c-heading__en {
    font-size: 24px;
  }

  .p-company-access__map {
    aspect-ratio: 4 / 3;
  }

  .p-company-profile__photos {
      grid-template-columns: 1fr;
  }

  .p-company-profile__photo--main img {
      height: 320px;
  }

  .p-company-profile__photo-sub {
      gap: 16px;
  }

  .p-company-profile__photo-sub .p-company-profile__photo img {
      height: 150px;
  }

  .p-company__badge-wrap {
    position: static;
    display: flex;
    justify-content: end;
    margin-top: 40px;
    right: auto;
    bottom: auto;
  }
}

@media (max-width: 375px) {
  .p-company__badge-wrap {
    right: 20px;
    bottom: -810px;
  }
}

/* ── About LocaWeaveページ（代表挨拶）── */
.p-company__greeting {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.p-company__greeting-body-wrap {
  flex: 1;
}

.p-company__greeting-body {
  font-size: 15px;
  line-height: 2;
  color: #343434;
  margin-bottom: 32px;
}

.p-company__greeting-name {
  font-size: 14px;
  line-height: 1.8;
  font-weight: 700;
  color: #343434;
}

.p-company__greeting-img {
  flex: 0 0 340px;
}

.p-company__greeting-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .p-company__greeting {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .p-company__greeting-img {
    flex: none;
    width: 100%;
  }
}

/* サブページ---about */
.p-about__intro {
  position: relative;
  overflow: hidden;
}

.p-about__intro-row {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 160px 0 160px;
  display: flex;
  justify-content: center;
}

.p-about__intro-photo-left {
  position: absolute;
  left: calc(-50vw + 50%);
  top: 100px;
  width: 360px;
  height: 450px;
  overflow: hidden;
  border-radius: 10px;
}

.p-about__intro-photo-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-about__intro-text {
  flex: 0 1 640px;
  padding-top: 10px;
  text-align: center;
}

.p-about__intro-heading {
  font-family: var(--font-mincho);
  font-size: 36px;
  font-weight: 400;
  color: #343434;
  line-height: 1.6;
  white-space: nowrap;
}

.p-about__intro-sep {
  display: block;
  width: 100%;
  max-width: 560px;
  height: 1px;
  background: var(--lw-gray);
  margin: 24px auto;
}

.p-about__intro-body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--lw-black);
  line-height: 2.5;
}

.p-about__intro-right {
  position: absolute;
  right: calc(-50vw + 50%);
  top: 10px;
  width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.p-about__intro-photo-right {
  width: 100%;
  height: 230px;
  overflow: hidden;
  border-radius: 10px;
}

.p-about__intro-photo-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-about__intro-bg {
  height: 400px;
  overflow: hidden;
}

.p-about__intro-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.75;
}


/* ─────────────────────
   Strong point 見出し
────────────────────────── */
.p-about__feature-head {
  text-align: center;
  padding: 100px 24px 0;
}

.p-about__feature-head-en {
  font-family: var(--font-mincho);
  font-size: 32px;
  font-weight: 400;
  color: var(--lw-black);
}

.p-about__feature-head-ja {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--lw-black);
  margin-top: 8px;
}

/* ─────────────────────
   各強みセクション
────────────────────────── */
.p-about__feature {
  background: var(--lw-white);
  padding: 160px 0;
  overflow: hidden;
}

.p-about__feature-inner {
  position: relative;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 var(--inner-pad);
  min-height: 300px;
  display: flex;
  align-items: center;
}

.p-about__feature.-rev .p-about__feature-inner {
  justify-content: flex-end;
}

.p-about__feature-text {
  flex: 0 1 clamp(280px, 38vw, 500px);
}

.kv-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px) translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--kv-delay, 0ms);
}

.kv-char--show {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}

.js-fade-after-title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js-fade-after-title.is-show {
  opacity: 1;
  transform: translateY(0);
}

.p-about__feature-title {
  font-family: var(--font-mincho);
  font-size: 34px;
  font-weight: 500;
  color: var(--lw-black);
  margin-bottom: 32px;
}

.p-about__feature-accent {
  color: var(--lw-navy);
  font-weight: 700;
}

.p-about__feature-plain {
  color: var(--lw-black);
  font-weight: 500;
}

.p-about__feature-body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--lw-black);
  line-height: 1.85;
}

.p-about__feature-img {
  position: absolute;
  top: 0;
  right: calc(-50vw + 50%);
  width: clamp(320px, 49vw, 720px);
  height: 460px;
  border-radius: 28px 0 0 28px;
  overflow: hidden;
}

.p-about__feature.-rev .p-about__feature-img {
  right: auto;
  left: calc(-50vw + 43%);
  border-radius: 0 28px 28px 0;
}

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

/* ─────────────────────
   選ばれる理由
────────────────────────── */
.p-about__reasons {
  background: linear-gradient(to bottom, #fff, var(--lw-bg));
  padding: 0 0 240px;
}

.p-about__reasons-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 var(--inner-pad);
}

.p-about__reasons-head {
  text-align: center;
  margin-bottom: 60px;
}

.p-about__reasons-en {
  font-family: var(--font-mincho);
  font-size: 32px;
  font-weight: 400;
  color: var(--lw-black);
}

.p-about__reasons-ja {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--lw-black);
  margin-top: 8px;
}

.p-about__reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.p-about__reasons-card-title {
  font-family: var(--font-mincho);
  font-size: 24px;
  font-weight: 400;
  color: var(--lw-black);
  margin-bottom: 20px;
  text-align: center;
}

.p-about__reasons-card-img {
  height: 240px;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 16px;
}

.p-about__reasons-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.p-about__reasons-card:hover .p-about__reasons-card-img img {
  transform: scale(1.04);
}

.p-about__reasons-card-body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--lw-black);
  line-height: 1.85;
  text-align: left;
}


.p-about__hero {
  position: relative;
  padding: 80px 0 200px;
  overflow: hidden;
}

.p-about__hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.p-about__hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
}

.p-about__hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-about__hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-left: 210px; /* KVと同じ左位置に統一 */
  padding-right: var(--inner-pad);
}

.p-about__hero-head {
  font-family: "Shippori Mincho B1", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--lw-black);
  line-height: 1.9;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  text-shadow: 0 2px 6px rgba(255, 255, 255, 0.9);
}

.p-about__hero-text {
  font-family: "Shippori Mincho B1", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--lw-black);
  line-height: 1.9;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  text-shadow: 0 2px 6px rgba(255, 255, 255, 0.9);
}

.p-about__hero-divider {
  width: 40px;
  height: 2px;
  background: #b18a40;
  border: none;
  margin: 24px 0;
}

.p-about__hero-text.js-inview {
  --inview-y: 0px; /* 上下移動を無効化、opacityだけの変化にする */
}

@media (max-width: 768px) {
  .p-about__hero {
    padding: 80px 20px 160px;
  }

  .p-about__hero-inner {
    margin: 0;
    padding: 0;
  }

  .p-about__hero-text {
    font-size: 15px;
    line-height: 1.9;
  }
}

/* ─────────────────────
   SP
────────────────────────── */
@media (max-width: 768px) {
  .p-about__intro-row {
    display: block;
    padding: 0 20px 24px;
  }

  .p-about__intro-photo-left {
    position: static;
    width: 100%;
    height: 220px;
    margin-bottom: 20px;
  }

  .p-about__intro-text {
    padding-top: 0;
  }

  .p-about__intro-heading {
    font-size: 20px;
    white-space: normal;
  }

  .p-about__intro-sep {
    height: 1px;
    max-width: 240px;
  }

  .p-about__intro-body {
    font-size: 14px;
    line-height: 2.2;
  }

  .p-about__intro-right {
    position: static;
    width: 100%;
    margin-top: 20px;
  }

  .p-about__intro-photo-right {
    width: 100%;
    height: 200px;
  }

  .p-about__intro-bg {
    height: 200px;
  }

  .p-about__feature {
    padding: 40px 0;
  }

  .p-about__feature-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 20px;
    min-height: 0;
  }

  .p-about__feature.-rev .p-about__feature-inner {
    flex-direction: column-reverse;
    justify-content: flex-start;
  }

  .p-about__feature-head {
    padding: 80px 24px 0;
  }

  .p-about__feature-text {
    flex: none;
    width: 100%;
  }

  .p-about__feature-title {
    font-size: 24px;
  }

  .p-about__feature-img {
    position: static;
    width: 100%;
    height: 240px;
    border-radius: 20px;
  }

  .p-about__feature.-rev .p-about__feature-img {
    border-radius: 20px;
  }

  .p-about__reasons-card-title{
    text-align: left;
  }

  .p-about__reasons-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .p-about__hero-head {
  font-size: 18px;
}
}

/* サブページ---service */
.p-service {
  padding: 80px 0 0;
}

.p-service__section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 420px;
  padding-left: calc((100vw - var(--inner-max)) / 2);
}

.p-service__section-text {
  width: 45%;
  max-width: 480px;
  padding-right: 60px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.p-service__section-title {
  font-family: var(--font-mincho);
  font-size: 32px;
  font-weight: 700;
  color: var(--lw-black);
  line-height: 1.4;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #d9d9d9;
}

.p-service__section-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45%;
  border-radius: 20px 0 0 20px;
  overflow: hidden;
}

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

.p-service__section-body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--lw-black);
  line-height: 1.85;
}

.p-service__badge-wrap {
  position: absolute;
  right: 12%;
  bottom: -126px;
  z-index: 3;
}

/* ── 店舗賃貸仲介の流れ ── */
.p-service__flow {
  background: linear-gradient(to bottom, #fff, var(--lw-bg));
  padding: 80px 0;
}

.p-service__flow-head {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 var(--inner-pad);
  text-align: center;
  margin-bottom: 60px;
}

.p-service__flow-title {
  font-family: var(--font-mincho);
  font-size: 32px;
  color: var(--lw-black);
  font-weight: 400;
}

.p-service__flow-sub {
  font-family: var(--font-en);
  font-size: 16px;
  color: var(--lw-black);
  margin-top: 10px;
}

.p-service__flow-list {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 var(--inner-pad);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.p-service__flow-connector {
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

.p-service__flow-connector::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #bbb;
}

.p-service__flow-step {
  background: #fff;
  border-radius: 10px;
  padding: 28px 40px 28px 170px;
  position: relative;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-service__flow-step-badge {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #2B4E78;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-service__flow-step-badge img {
  width: 40px;
  height: auto;
}

.p-service__flow-step-num {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  color: var(--lw-black);
  background: var(--lw-light);
  border-radius: 50px;
  padding: 4px 14px;
  position: absolute;
  left: 32px;
  top: 16px;
}

.p-service__flow-step-title {
  font-family: var(--font-mincho);
  font-size: 24px;
  font-weight: 700;
  color: var(--lw-navy);
}

.p-service__flow-step-body {
  font-family: var(--font-en);
  font-size: 16px;
  color: var(--lw-black);
  line-height: 1.8;
  margin-top: 10px;
}

/* ── FAQ ── */
.p-service__faq {
  padding: 80px 0;
  background: var(--lw-bg);
}

.p-service__faq-head {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 var(--inner-pad);
  text-align: center;
  margin-bottom: 48px;
}

.p-service__faq-title {
  font-family: var(--font-mincho);
  font-size: 32px;
  color: var(--lw-black);
  font-weight: 400;
}

.p-service__faq-sub {
  font-family: var(--font-en);
  font-size: 16px;
  margin-top: 8px;
}

.p-service__faq-list {
  width: 100%;
  max-width: 940px;
  margin-left: auto !important;
  margin-right: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.p-service__faq-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.p-service__faq-q {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 16px;
  padding: 24px 30px;
  cursor: pointer;
  transition: background .2s;
}

.p-service__faq-q:hover {
  background: var(--lw-bg);
}

.p-service__faq-q-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--lw-navy);
  color: #fff;
  font-family: var(--font-mincho);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-service__faq-q-text {
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 700;
  color: var(--lw-black);
  line-height: 1.4;
}

.p-service__faq-q-arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--lw-gray);
  border-bottom: 2px solid var(--lw-gray);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .25s;
  margin: auto;
}

.p-service__faq-item.is-open .p-service__faq-q-arrow {
  transform: rotate(-135deg) translateY(3px);
}

.p-service__faq-a {
  display: none;
  padding: 30px 30px 28px 82px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--lw-black);
  line-height: 1.9;
  font-weight: 300;
}

.p-service__faq-item.is-open .p-service__faq-a {
  display: block;
}

/* ── LM（リージングマネジメント） ── */
.p-service__lm {
  padding: 80px 0 160px;
  background: linear-gradient(to bottom, #fff, var(--lw-bg));
}

.p-service__lm-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 80px 0 240px;
}

.p-service__lm-title {
  font-family: var(--font-mincho);
  font-size: 28px;        /* 32px → 28px */
  font-weight: 700;
  color: var(--lw-black);
  text-align: center;
  padding-bottom: 24px;   /* 追加 */
  margin-bottom: 60px;
  border-bottom: 1px solid #d9d9d9;  /* 追加 */
}

.p-service__lm-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;  /* 1fr 1fr → 0.85fr 1.15fr */
  gap: 60px;    /* 80px → 60px */
  align-items: start;  /* flex-start → start */
  margin-bottom: 80px;
}
.p-service__lm-problem-title {
  font-family: var(--font-mincho);
  font-size: 22px;  /* 24px → 22px */
  font-weight: 700;
  color: var(--lw-navy);
  margin-bottom: 24px;
}

.p-service__lm-problem-list {
  list-style: none;
  padding: 0;
}

.p-service__lm-problem-list li {
  font-family: var(--font-en);
  font-size: 16px;
  color: var(--lw-black);
  line-height: 1.85;
  padding-left: 20px;
  position: relative;
  margin-bottom: 14px;
}

.p-service__lm-problem-list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lw-navy);
  position: absolute;
  left: 0;
  top: 8px;
}

.p-service__lm-solution-title {
  font-family: var(--font-mincho);
  font-size: 22px;  /* 24px → 22px */
  font-weight: 700;
  color: var(--lw-navy);
  margin-bottom: 24px;
  text-align: center;
}

.p-service__lm-solution-body {
  font-family: var(--font-en);
  font-size: 16px;
  color: var(--lw-black);
  line-height: 2;
  text-align: left;  /* 追加 */
}

.p-service__lm-img {
  height: 320px;      /* 400px → 320px */
  border-radius: 12px; /* 20px → 12px */
  overflow: hidden;
}

.p-service__lm-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── SP ── */
@media (max-width: 768px) {
  .p-service__section {
    flex-direction: column;
    align-items: stretch;
    padding-left: var(--inner-pad);
    padding-right: var(--inner-pad);
    min-height: auto;
  }

  .p-service__section-text {
    width: 100%;
    max-width: none;
    padding-right: 0;
    margin-bottom: 24px;
  }

  .p-service__section-title {
    font-size: 22px;
  }

  .p-service__section-img {
    position: static;
    width: 100%;
    height: 240px;
    border-radius: 20px;
  }

  .p-service__badge-wrap {
    right: 20px;
    bottom: -60px;
  }

  /* ── 賃貸仲介の流れ ── */
  .p-service__flow {
    padding: 60px 0;
  }

  .p-service__flow-head {
    padding: 0 var(--inner-pad);
    margin-bottom: 40px;
  }

  .p-service__flow-title {
    font-size: 24px;
  }

  .p-service__flow-list {
    padding: 0 var(--inner-pad);
    gap: 16px;
  }

  .p-service__flow-step {
    padding: 30px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* 全体を中央揃えに */
  }

  .p-service__flow-step-num {
    position: static;
    order: 1;
    margin-bottom: 12px;
  }

  .p-service__flow-step-badge {
    position: static;
    transform: none;
    width: 100px;
    height: 100px;
    order: 2;
    margin-bottom: 16px;
  }

  .p-service__flow-step-badge img {
    width: 50px;
  }

  .p-service__flow-step-title {
    order: 3;
    font-size: 20px;
    margin-bottom: 8px;
    text-align: center;
  }

  .p-service__flow-step-body {
    order: 4;
    font-size: 16px;
    line-height: 1.7;
    text-align: left; /* 本文だけ左揃えに戻す */
    width: 100%; /* 左揃えでも幅いっぱいに広がるように */
  }

  /* ── FAQ ── */
  .p-service__faq {
    padding: 60px 0;
  }

  .p-service__faq-head {
    padding: 0 var(--inner-pad);
    margin-bottom: 32px;
  }

  .p-service__faq-title {
    font-size: 24px;
  }

  .p-service__faq-list {
    padding: 0 var(--inner-pad);
  }

  .p-service__faq-q {
    grid-template-columns: 28px 1fr 24px;
    gap: 12px;
    padding: 18px 20px;
  }

  .p-service__faq-q-icon {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .p-service__faq-q-text {
    font-size: 16px;
  }

  .p-service__faq-a {
    padding: 20px 20px 20px 60px;
    font-size: 16px;
  }

  /* ── LM ── */
  .p-service__lm-layout {
      grid-template-columns: 1fr; gap: 32px;
  }

  .p-service__lm-inner {
    max-width: var(--inner-max);
    margin: 0 auto;
    padding-bottom: 80px;
    padding-top: 40px;
  }

  .p-service__lm-img {
      height: 220px;
    }

  .p-service__lm-title {
    font-size: 22px; margin-bottom: 40px;
  }

  .p-service__lm-solution {
    margin-top: 40px;
    padding-left: var(--inner-pad);
    padding-right: var(--inner-pad);
    min-height: auto;
    margin-bottom: 60px;
  }
}

/* サブページ---archive-property */
.p-property_inner {
    max-width: var(--inner-max);
    margin: 0 auto;
    padding: 80px var(--inner-pad) 100px;
}

.p-property-archive-title {
  text-align: center;
  margin-bottom: 48px;
}

.p-property-archive__title {
  display: inline-block;
  min-width: 280px; /* この数値を大きくすれば線が長くなる */
  font-family: var(--font-mincho);
  font-size: 32px;
  font-weight: 700;
  color: var(--lw-black);
  line-height: 1.4;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #d9d9d9;
}

.p-property_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.p-property_list_item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.p-property_image_wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: #f0f0f0;
}

.p-property_image_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.p-property_list_item a:hover .p-property_image_wrapper img {
    transform: scale(1.05);
}

.p-property_card_body {
    padding: 16px 4px 0;
}

.p-property_type {
    display: inline-block;
    font-size: 12px;
    color: var(--lw-navy);
    letter-spacing: 0.08em;
    border: 1px solid var(--lw-navy);
    border-radius: 20px;
    padding: 2px 12px;
    margin-bottom: 8px;
}

.p-property_title {
    font-size: 17px;
    font-weight: 700;
    color: var(--lw-black);
    margin-bottom: 8px;
    line-height: 1.5;
}

.p-property_text {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.p-property_empty {
    text-align: center;
    color: #777;
    padding: 80px 0;
    font-size: 15px;
}

/* ページネーション */
.c-pagination {
    margin-top: 64px;
}

.c-pagination-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.c-pagination-inner .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--lw-black);
    text-decoration: none;
    border: 1px solid #ddd;
    transition: background 0.2s ease, color 0.2s ease;
}

.c-pagination-inner .page-numbers:hover {
    background: var(--lw-navy);
    color: #fff;
    border-color: var(--lw-navy);
}

.c-pagination-inner .page-numbers.current {
    background: var(--lw-navy);
    color: #fff;
    border-color: var(--lw-navy);
}

.c-pagination-inner .page-numbers.dots {
    border: none;
}

/* サブページ---single-property */
.p-property-single_inner {
    max-width: 940px;
    margin: 0 auto;
    padding: 160px 0;
}

.p-property-single_post_header {
    margin-bottom: 32px;
}

.p-property-single_post_type {
    display: inline-block;
    font-size: 12px;
    color: var(--lw-navy);
    letter-spacing: 0.08em;
    border: 1px solid var(--lw-navy);
    border-radius: 20px;
    padding: 2px 12px;
    margin-bottom: 12px;
}

.p-property-single_post_title {
    font-family: var(--font-mincho);
    font-size: 28px;
    color: var(--lw-black);
    line-height: 1.5;
}

.p-property-single_postkv {
    margin-bottom: 48px;
}

.p-property-single_postkv img {
    width: 100%;
    height: 480px;
    object-fit: contain;
    background: #f5f5f5;
    border-radius: 8px; /* 追加 */
    display: block;
}

.p-property-single_section {
    margin-bottom: 48px;
}

.p-property-single_section_title {
    font-size: 18px;
    font-weight: 700;
    color: var(--lw-black);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lw-navy);
    display: inline-block;
}

.p-property-single_section_text {
    font-size: 15px;
    line-height: 2;
    color: #444;
}

.p-property-single_gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.p-property-single_gallery_item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

/* 物件情報テーブル */
.p-property_profile {
    margin-bottom: 48px;
}

.p-property-table {
    width: 100%;
    border-collapse: collapse;
}

.p-property-table tr {
    border-bottom: 1px solid #e5e5e5;
}

.p-property_profile-table-th,
.p-property_profile-table-td {
    padding: 18px 16px;
    text-align: left;
    font-size: 15px;
    vertical-align: top;
}

.p-property_profile-table-th {
    width: 180px;
    font-weight: 700;
    color: var(--lw-black);
    background: #f8f8f8;
}

.p-property_profile-table-td {
    color: #444;
}

/* ボタン */
.p-property_btn-wrap {
    text-align: center;
    margin-top: 24px;
}

.c-btn {
    display: inline-block;
    padding: 16px 48px;
    border-radius: 32px;
    font-size: 15px;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.c-btn:hover {
    opacity: 0.8;
}

.c-btn_contact {
    background: var(--lw-navy);
    color: #fff;
}

.c-btn_return {
    background: transparent;
    color: var(--lw-navy);
    border: 1px solid var(--lw-navy);
}

/* スマホ用（既存のメディアクエリ内を修正） */
@media (max-width: 768px) {
    .p-property_inner,
    .p-property-single_inner {
        padding: 80px 20px 100px;
    }

    .p-property-archive__title{
      font-size: 24px;
    }

    .p-property_list {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .p-property-single_post_title {
        font-size: 22px;
    }

    .p-property-single_postkv {
        margin-bottom: 32px;
    }

    .p-property-single_postkv img {
        height: 220px;
        border-radius: 8px;
    }

    .p-property-single_section {
        margin-bottom: 32px;
    }

    .p-property-single_gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 32px;
    }

    .p-property-single_gallery_item img {
        height: 130px;
        border-radius: 6px;
    }

    .p-property_profile-table-th {
        width: auto;
        display: block;
        padding-bottom: 4px;
        border-bottom: none;
        background: none;
    }

    .p-property_profile-table-td {
        display: block;
        padding-top: 4px;
    }

    .p-property-table tr {
        display: block;
        padding: 12px 0;
    }

    .p-property_btn-wrap {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .c-btn {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* サブページ---news */
.p-news {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 60px var(--inner-pad) 240px;
}

.p-news__main {
  flex: 1;
  min-width: 0;
}

.p-news__empty {
  text-align: center;
  padding: 80px 0;
  font-size: 15px;
  color: #343434;
}

.p-news__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-news__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 1px 3px 6px rgba(0, 0, 0, 0.08);
}

.p-news__card-link {
  display: block;
  padding: 24px 32px;
  text-decoration: none;
}

.p-news__card-date {
  display: block;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  font-size: 16px;
  color: #abc1c5;
  margin-bottom: 8px;
}

.p-news__card-title {
  font-family: "Shippori Mincho B1", serif;
  font-size: 24px;
  color: #2b4e78;
  margin-bottom: 24px;
}

.p-news__card-excerpt{
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--lw-black);
  line-height: 1.85;
}

.p-news__side {
  flex: 0 0 271px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-news__side-block {
  background: #ffffff;
  border-radius: 10px;
  padding: 32px 24px;
  box-shadow: 1px 3px 6px rgba(0, 0, 0, 0.08);
}

.p-news__side-title {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  font-size: 24px;
  color: #2b4e78;
  margin-bottom: 24px;
}

.p-news__side-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-news__side-item a {
  display: block;
  text-decoration: none;
}

.p-news__side-date {
  display: block;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-size: 16px;
  color: #abc1c5;
  margin-bottom: 4px;
}

.p-news__side-item-title {
  display: block;
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  color: #343434;
  line-height: 1.5;
}

.p-news__side-list.-archive .p-news__side-item a {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-size: 16px;
  color: #343434;
}

@media (max-width: 768px) {
  .p-news {
    flex-direction: column;
    padding: 80px 20px 100px;
    gap: 40px;
  }

  .p-news__main {
    width: 100%;
  }

  .p-news__card-link {
    padding: 40px;
  }

  .p-news__card-date {
    font-size: 14px;
  }

  .p-news__card-title {
    font-size: 20px;
    line-height: 1.6;
  }

  .p-news__side {
    flex: none;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .p-news__side-block {
    flex: 1 1 100%;
    padding: 24px 20px;
  }

  .p-news__side-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .p-news__side-date{
    font-size: 14px;
  }

  .p-news__side-item-title,
  .p-news__side-list.-archive .p-news__side-item a {
    font-size: 16px;
  }
}


/* ── LocaWeave: お知らせ詳細ページ ── */

.p-news__article {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 1px 3px 10px rgba(0, 0, 0, 0.08);
  padding: 40px 32px;
}

.p-news__article-date {
  display: block;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  font-size: 16px;
  color: #abc1c5;
  margin-bottom: 12px;
}

.p-news__article-title {
  font-family: "Shippori Mincho B1", serif;
  font-size: 24px;
  font-weight: 700;
  color: #343434;
  line-height: 1.6;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e0e0e0;
}

.p-news__article-body {
  font-size: 15px;
  line-height: 2;
  color: #343434;
}

.p-news__article-body img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
  border-radius: 8px;
}

.p-news__back-wrap {
  text-align: center;
  margin-top: 60px;
}

/* ─────────────────────
   ページネーション
────────────────────────── */
.c-pagination {
  margin-top: 40px;
}

.c-pagination ul,
.c-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  list-style: none;
  font-family: "Shippori Mincho B1", serif;
  font-size: 16px;
}

.c-pagination .page-numbers a {
  color: #2b4e78;
  text-decoration: none;
}

.c-pagination .page-numbers span {
  color: #fff;
  text-decoration: none;
}

.c-pagination .prev,
.c-pagination .next {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: #2b4e78;
}

.c-pagination .current {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2b4e78;
  color: #ffffff;
}

/* サブページ---contact */
.p-contact_inner {
  padding: 80px 24px 120px;
}

.p-contact_head_text_wrapper {
  text-align: center;
  margin-bottom: 3rem;
}

.p-contact_head_text {
  font-size: 20px;
  font-family: "Shippori Mincho B1", serif;
  line-height: 2 !important;
}

.p-contact_bg {
  background: #EBF6FB;
}

.p-contact_content {
  width: 760px;
  margin: 0 auto;
  background: #F7F8FA;
  border-radius: 30px;
  padding: 3rem 5rem;
  box-shadow: 0px 3px 6px 0px rgb(0 0 0 / 16%);
}

.p-contact_content_list {
  width: 850px;
}

.p-contact_content_list_item {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 8rem;
  margin-bottom: 2rem;
}

.p-contact_content_list_item:last-child {
  align-items: flex-start;
}

.p-contact_text {
  width: 30%;
  display: flex;
  font-family: "Shippori Mincho B1", serif;
  justify-content: space-between;
  font-size: 18px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.p-contact_sub_text {
  display: inline-block;
  font-size: 13px;
  margin-left: 2rem;
  padding: 0.3rem 0.9rem;
  border-radius: 5px;
}

.p-contact_sub_text.required {
  background: var(--lw-navy);
  color: #fff;
}

.p-contact_sub_text.any {
  background: #B4B7BC;
}

.p-contact_input {
  width: 43%;
  font-size: 14px;
}

.p-contact_input textarea {
  resize: none;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  font-size: 16px;
  color: #707171 !important;
  background: #F5F5F5 !important;
  padding: 0.5rem 1rem;
  border: solid #E1E1E1 1px;
  border-radius: 5px;
}

::placeholder {
  font-size: 16px;
  color: #B8B9BA !important;
  border: none;
}

input:-internal-autofill-selected {
  background: #F5F5F5 !important;
}

.p-contact_text_sub {
  font-size: 15px;
  margin-bottom: 1rem;
}

.p-contact_text_sub a {
  color: var(--lw-navy);
}

.p-contact_content_footer {
  margin-top: 8rem;
  text-align: center;
}

.p-contact_content_footer .p-contact_text_sub:not(:last-of-type) {
  margin-bottom: 1rem;
}

.p-contact_content_footer .p-contact_text_sub:last-of-type {
  margin-bottom: 3rem;
}

.wpcf7 .contact_submit {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #fff !important;
  background-color: var(--lw-navy) !important;
  border-radius: 30px;
  margin: 0 auto;
  padding: 0.8rem 6rem;
  width: auto;
  height: auto;
  box-shadow: inset 0 0 0 1px transparent;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.p-contact_submit {
  position: relative;
}

.p-contact_submit:hover .contact_submit {
  color: var(--lw-navy) !important;
  background: #fff !important;
  box-shadow: inset 0 0 0 1px var(--lw-navy);
  cursor: pointer;
}

/* サブページ---contact-complete */
/* ── お問い合わせ完了ページ ── */
.p-contact-complete {
  padding: 120px 24px;
}

.p-contact-complete .p-contact__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.p-contact-complete__head {
  font-family: "Shippori Mincho B1", serif;
  font-size: 24px;
  font-weight: 700;
  color: #343434;
  margin-bottom: 40px;
}

.p-contact-complete__text {
  font-size: 15px;
  line-height: 2;
  color: #343434;
  text-align: center;
  margin-bottom: 24px;
}

.p-contact-complete__btn-wrap {
  margin-top: 56px;
}

@media (max-width: 768px) {
  .p-contact_inner {
    padding: 60px 20px 80px;
  }

  .p-contact-complete {
    padding: 60px 20px;
  }

  .p-contact-complete__head {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .p-contact-complete__text {
    font-size: 14px;
  }

  .p-contact-complete .p-sub_pc_on {
    display: none;
  }
}

/* サブページ---privacy-policy */

.l-inner.p-privacy_inner {

}

.p-privacy-policy_head_text_wrapper {
  margin-bottom: 80px;
}

.p-privacy-policy_head_text {
  font-size: 16px;
}

.p-privacy-policy_body_text_wrapper {
  background: #fff;
}

.p-privacy-policy_text_wrapper {
  margin-bottom: 3rem;
}

.p-privacy-policy_text_wrapper:last-child {
  margin-bottom: 0;
}

.post_content h3 {
  margin: 0;
  line-height: 1.5;
}

.p-privacy-policy_title {
  font-size: 24px !important;
  color: var(--primary-color);
  padding-bottom: 0.5rem !important;
  margin-bottom: 1rem !important;
  font-weight: bold !important;
}

.p-privacy-policy_text {
  font-size: 16px;
}

/* ── 404ページ ── */
.p-404 {
  padding: 120px 24px;
}

.p-404_inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.p-404_text {
  color: var(--lw-black);
  font-size: 15px;
  line-height: 2;
}

.p-404_btn-wrap {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .p-404 {
    padding: 60px 20px;
  }

  .p-404_text {
    font-size: 14px;
  }
}

/* サブページ---privacy */
.p-privacy {
  max-width: 940px;
  margin: 0 auto;
  padding: 60px 24px 120px;
}

.p-privacy__lead {
  font-size: 16px;
  line-height: 2;
  color: #343434;
  margin-bottom: 64px;
}

.p-privacy__section {
  margin-bottom: 48px;
}

.p-privacy__section-title {
  font-size: 18px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.p-privacy__text {
  font-size: 15px;
  line-height: 2;
  color: #343434;
}

.p-privacy__text p + p {
  margin-top: 16px;
}

.p-privacy__contact {
  margin-top: 16px;
}

.p-privacy__contact a {
  color: #343434;
  text-decoration: none;
}

.c-list.-dot {
  margin-top: 16px;
}

.c-list.-dot li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.c-list.-dot li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2b4e78;
}

@media (max-width: 768px) {
  .p-privacy {
    padding: 40px 20px 80px;
  }

  .p-privacy__lead {
    margin-bottom: 40px;
  }

  .p-privacy__section {
    margin-bottom: 36px;
  }

  .p-privacy__section-title {
    font-size: 16px;
  }

  .p-privacy__text {
    font-size: 14px;
  }
}

/* ── CTA ── */
.p-cta {
  position: relative;
  padding: 85px 0;
}

/* ctaセクションでの位置 */
.p-cta .p-kv__badge {
  top: -120px;
  left: 4%;
}

.p-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.p-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7);
}

.p-cta__card {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  padding: 60px 50px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.p-cta__catch {
  font-family: var(--font-mincho);
  font-size: 24px;
  color: var(--lw-black);
  margin-bottom: 30px;
  text-align: center;
  grid-column: 1 / -1;
}

.p-cta__tel-area {
  border-right: 1px solid var(--lw-navy);
  padding-right: 10px;
  text-align: center;
}

.p-cta__tel-label {
  font-family: var(--font-mincho);
  font-size: 16px;
  color: var(--lw-black);
  margin-bottom: 6px;
}

.p-cta__tel-num {
  font-family: var(--font-mincho);
  font-size: 40px;
  color: var(--lw-black);
  letter-spacing: .02em;
  display: block;
}

.p-cta__tel-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.p-cta__tel-hours {
  font-family: var(--font-mincho);
  font-size: 16px;
  color: var(--lw-dark);
  margin-top: 4px;
}

.p-cta__btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 30px;
}

.p-cta__btn {
  width: 330px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--lw-navy);
  color: #fff;
  font-family: var(--font-en);
  font-size: 15px;
  border-radius: 50px;
  padding: 14px 40px;
  border: 1px solid var(--lw-navy);
  box-sizing: border-box;
  transition: background-color .2s, color .2s;
  position: relative;
}

.p-cta__btn:hover {
  background: transparent;
  color: var(--lw-navy);
}

.p-cta__btn--line {
  background: #06C755;
  border-color: #06C755;
}

.p-cta__btn--line:hover {
  background: transparent;
  color: #06C755;
}

.p-cta__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 33px;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 7px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transition: border-color .5s cubic-bezier(0,0,0,1);
}

@media (max-width: 768px) {
  .p-cta {
    padding: 60px 0;
  }

  .p-cta__card {
    padding: 40px 24px;
    grid-template-columns: 1fr; /* 横並び → 縦積みに */
    gap: 0;
    margin: 0 20px;
    overflow: hidden; /* 念のため、角丸からのはみ出し防止 */
  }

  .p-cta__card > div:empty {
    display: none;
  }

  .p-cta__catch {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .p-cta__tel-area {
    border-right: none;
    border-bottom: 1px solid var(--lw-navy);
    padding-right: 0;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .p-cta__tel-num {
    font-size: 32px;
  }

  .p-cta__btns {
    padding-left: 0;
  }

  .p-cta__btn {
    width: 100%;
    height: auto;
    padding: 14px 0;
  }
}