/* ============================================================
   CLSC 物件サイト — clsc.jp のヘッダー・フッター ＋ WP用の調整
   site.css（静的HTMLの style.css）のあとに読む
   ============================================================ */

/* ============================================================
   clsc.jp 共通パーツ（ヘッダー・メニュー・CONTACT・パンくず・フッター）
   2026-10-09 に clsc.jp（STUDIO）の実画面から採取した値そのまま。
   ブレークポイントも STUDIO と同じ：PC >1140px / ≤1140px / ≤840px / ≤540px
   ============================================================ */

:root {
  --cj-ink: #130012;
  --cj-ease: cubic-bezier(0.4, 0.4, 0, 1);
  --cj-hd-h: 68px;
  /* STUDIO と同じく代替フォントを書かない（日本語は端末の標準フォントで表示される） */
  --cj-en: "Montserrat";
  --cj-zen: "Zen Kaku Gothic New";
}
@media (max-width: 840px) { :root { --cj-hd-h: 56px; } }
@media (max-width: 540px) { :root { --cj-hd-h: 50px; } }

/* 固定ヘッダーのぶん本文を下げる（STUDIO と同じ 68 / 56 / 50px） */
body { padding-top: var(--cj-hd-h); }

.material-icons {
  display: inline-flex;
  font-family: "Material Icons";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
}

/* ---------- ヘッダー ---------- */
.cj-hd {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  height: 68px;
  padding: 16px 20px;
  background: #fff;
  font: 400 16px/16px sans-serif;
  color: #000;
}
.admin-bar .cj-hd { top: 32px; }
@media (max-width: 782px) { .admin-bar .cj-hd { top: 46px; } }

.cj-hd__logo { display: flex; justify-content: center; align-items: center; margin-left: 4px; line-height: 0; color: #333; }
.cj-hd__logo img { display: block; width: 160px; height: 32px; }

.cj-hd__nav { display: flex; justify-content: center; align-items: center; gap: 8px; }
.cj-hd__link {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 8px;
  font: 600 14px/19.6px var(--cj-en);
  letter-spacing: 1.4px;
  color: var(--cj-ink);
  text-align: center;
  white-space: nowrap;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all .3s var(--cj-ease);
}
.cj-hd__link.is-pp { letter-spacing: normal; }
.cj-hd__link:hover { background: #000; color: #fff; padding: 8px 16px 6px; }
.cj-hd__sep {
  display: block;
  flex: 0 0 auto;
  width: 1px;
  height: 14px;
  background: var(--cj-ink);
  rotate: 30deg;
  transition: rotate .3s var(--cj-ease);
}
.cj-hd__nav:hover .cj-hd__sep { rotate: 0deg; }
.cj-hd__menu {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  font-size: 24px;
  line-height: 24px;
  color: #333;
  background: none;
  border: 0;
  cursor: pointer;
  transition: opacity .3s var(--cj-ease);
}
.cj-hd__menu:hover { opacity: .3; }

@media (max-width: 1140px) {
  .cj-hd { align-items: flex-end; background: transparent; }
  .cj-hd__logo { margin-left: 2px; }
  .cj-hd__nav { gap: 0; }
  .cj-hd__sep { display: none; }
  .cj-hd__link { padding: 8px 8px 6px; font-size: 12px; line-height: 16.8px; letter-spacing: 1.2px; }
}
@media (max-width: 840px) {
  .cj-hd { height: 54px; padding: 12px 16px; }
  .cj-hd__logo { margin-left: -2px; }
  .cj-hd__logo img { width: 140px; height: 28px; }
  .cj-hd__link { display: none; }
  .cj-hd__menu { width: 30px; height: 30px; font-size: 30px; line-height: 30px; }
}
@media (max-width: 540px) {
  .cj-hd { height: 46px; padding: 10px 14px; }
  .cj-hd__logo img { width: 130px; height: 26px; }
  .cj-hd__menu { width: 24px; height: 24px; font-size: 24px; line-height: 24px; }
}

/* ---------- メニュー・CONTACT 共通（STUDIO のモーダル） ---------- */
.cj-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
}
.cj-modal.is-open { visibility: visible; pointer-events: auto; }
.cj-modal__veil {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .4s var(--cj-ease);
}
.cj-modal.is-open .cj-modal__veil { opacity: 1; }

/* 出てくるときの動き（STUDIO の appear） */
.cj-appear { opacity: 0; translate: 3px; transition: opacity .6s var(--cj-ease) .2s, translate .6s var(--cj-ease) .2s; }
.cj-modal.is-open .cj-appear { opacity: 1; translate: 0; }

/* ---------- メニュー ---------- */
.cj-drawer__veil { background: rgba(0, 0, 0, .6); }
.cj-drawer__wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  height: 100%;
  opacity: 0;
  transition: opacity .4s var(--cj-ease);
  pointer-events: none;
}
.cj-modal.is-open .cj-drawer__wrap { opacity: 1; }
.cj-drawer__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 35%;
  height: 100%;
  overflow-y: auto;
  background: #fff;
  opacity: .95;
  pointer-events: auto;
}
.cj-drawer__body { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
.cj-drawer__big {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  padding: 32px;
  color: #333;
  transition: opacity .3s var(--cj-ease);
}
.cj-drawer__big:hover { opacity: .5; }
.cj-drawer__big--search { background: #0080a3; }
.cj-drawer__big--sell { background: #b60005; }
.cj-drawer__big-in { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: calc(90% - 1px); }
.cj-drawer__big-txt { display: flex; align-items: center; }
.cj-drawer__big-ja { margin-right: 12px; font: 600 28px/39.2px var(--cj-en); letter-spacing: 5.6px; color: #fff; }
.cj-drawer__big-en { font: 400 20px/28px var(--cj-en); letter-spacing: 1px; color: #fff; }
.cj-drawer__big img { display: block; width: 80px; height: 80px; flex-shrink: 0; }

.cj-drawer__menu { display: flex; flex-direction: column; align-items: flex-start; margin: 48px 0 0 64px; }
.cj-drawer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cj-drawer__nav a,
.cj-drawer__nav button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 0 4px;
  font: 600 15px/21px var(--cj-en);
  letter-spacing: 1.5px;
  color: var(--cj-ink);
  text-align: center;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all .3s var(--cj-ease);
}
.cj-drawer__nav button { padding: 8px 0 6px; }
.cj-drawer__nav a:hover,
.cj-drawer__nav button:hover { background: var(--cj-ink); color: #fff; padding: 8px 12px 6px; }
.cj-drawer__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  font-size: 28px;
  line-height: 28px;
  color: #000;
  background: none;
  border: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity .8s var(--cj-ease) .6s, color .3s var(--cj-ease);
  pointer-events: auto;
}
.cj-modal.is-open .cj-drawer__close { opacity: 1; }
.cj-drawer__close:hover { color: #bfbfbf; }

@media (max-width: 1140px) {
  .cj-drawer__panel { width: 45%; }
  .cj-drawer__big-ja { letter-spacing: 2.8px; }
  .cj-drawer__big-en { font-size: 18px; line-height: 25.2px; letter-spacing: .9px; }
  .cj-drawer__menu { margin: 48px 0 0 48px; }
  .cj-drawer__nav a,
  .cj-drawer__nav button { font-size: 13px; line-height: 18.2px; letter-spacing: 1.3px; }
}
@media (max-width: 840px) {
  .cj-drawer__panel { width: 70%; }
  .cj-drawer__big { padding: 48px 32px; }
}
@media (max-width: 540px) {
  .cj-drawer__panel { width: 100%; }
  .cj-drawer__big-en { font-size: 14px; line-height: 19.6px; letter-spacing: .7px; }
  .cj-drawer__big img { width: 60px; height: 60px; }
  .cj-drawer__menu { align-self: stretch; align-items: center; margin: 32px 0 0; }
  .cj-drawer__nav { align-items: center; }
  .cj-drawer__close { width: 30px; height: 30px; }
}

/* ---------- CONTACT（お問い合わせフォームの選択） ---------- */
.cj-contact__veil { background: rgba(0, 0, 0, .5); }
.cj-contact__wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  opacity: 0;
  transition: opacity .4s var(--cj-ease);
  pointer-events: none;
}
.cj-modal.is-open .cj-contact__wrap { opacity: 1; }
.cj-contact__box {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  box-sizing: border-box;
  max-width: calc(100% - 40px);
  margin: 20px;
  padding: 48px;
  background: #fff;
  border-radius: 8px;
  pointer-events: auto;
}
.cj-contact__in { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; width: 300px; max-width: 100%; }
.cj-contact__title { margin: 0 0 15px; font: 700 16px/22.4px "Noto Sans JP"; color: var(--cj-ink); text-align: left; }
.cj-contact__btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 6px;
  padding: 12px 20px;
  color: #333;
  background: #000;
  border: 1px solid #000;
  border-radius: 4px;
  transition: all .3s var(--cj-ease);
}
.cj-contact__label { font: 500 16px/22.4px "Noto Sans JP"; color: #fff; text-align: center; transition: color .3s var(--cj-ease); }
.cj-contact__arw {
  font-size: 18px;
  line-height: 18px;
  color: #fff;
  translate: -18px;
  transition: opacity .8s var(--cj-ease), translate .8s var(--cj-ease), color .3s var(--cj-ease);
}
.cj-contact__btn:hover { background: #fff; }
.cj-contact__btn:hover .cj-contact__label,
.cj-contact__btn:hover .cj-contact__arw { color: #000; }
.cj-contact__note {
  align-self: center;
  margin: 10px 0 0;
  font: 600 10px/14px "ヒラギノ角ゴ W3 JIS2004", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--cj-ink);
  text-align: center;
}
@media (max-width: 540px) {
  .cj-contact__box { padding: 32px; }
  .cj-contact__title { margin-bottom: 24px; }
  .cj-contact__btn { margin-bottom: 4px; }
  .cj-contact__note { margin-top: 13px; }
}

/* ---------- SNS ---------- */
.cj-sns { display: flex; justify-content: center; align-items: center; gap: 26px; }
.cj-sns a { display: flex; justify-content: center; align-items: center; color: var(--cj-ink); transition: all .3s var(--cj-ease); }
.cj-sns a:hover { opacity: .5; text-shadow: rgba(255, 255, 255, .2) 1px 1px 10px; }
.cj-sns .fa { font-size: 28px; line-height: 28px; }
.cj-sns .cj-sns__fb { font-size: 26px; line-height: 26px; }
.cj-sns__note img { display: block; width: 60px; height: 23px; }
.cj-sns--drawer { margin-top: 32px; }
@media (max-width: 1140px) {
  .cj-sns--footer .cj-sns__fb { font-size: 28px; line-height: 28px; }
}
@media (max-width: 840px) {
  .cj-sns .cj-sns__fb { font-size: 28px; line-height: 28px; }
  .cj-sns--drawer { margin-top: 24px; }
}
@media (max-width: 540px) {
  .cj-sns .fa,
  .cj-sns .cj-sns__fb { font-size: 24px; line-height: 24px; }
}

/* ---------- パンくず ---------- */
.cj-crumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0;
  background: #f5f5f5;
  font: 400 16px/16px sans-serif;
}
.cj-crumb__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 95%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cj-crumb__item { display: contents; }
.cj-crumb__ic { font-size: 16px; line-height: 16px; color: #646464; }
.cj-crumb__home,
.cj-crumb__link,
.cj-crumb__cur {
  display: flex;
  align-items: center;
  font: 600 12px/16.8px var(--cj-en);
  color: #646464;
  text-align: left;
}
.cj-crumb__home,
.cj-crumb__link { opacity: .5; transition: opacity .6s var(--cj-ease); }
.cj-crumb__home:hover,
.cj-crumb__link:hover { opacity: 1; }
@media (max-width: 1140px) { .cj-crumb__in { width: 90%; } }
@media (max-width: 840px) { .cj-crumb__in { gap: 6px; } }

/* ---------- フッター ---------- */
.cj-ft {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 24px;
  background: #fff;
  font: 400 16px/16px sans-serif;
  color: #000;
}
.cj-ft__in { display: flex; justify-content: center; align-items: flex-start; width: 90%; }
.cj-ft__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  width: 50%;
  padding-left: 80px;
}
.cj-ft__logo { display: block; width: 300px; max-width: 100%; color: #333; transition: opacity .3s var(--cj-ease); }
.cj-ft__logo img { display: block; width: 150px; max-width: 50%; height: auto; margin-top: 48px; transition: opacity .3s var(--cj-ease); }
.cj-ft__logo:hover img { opacity: .5; }
.cj-ft__name { display: flex; align-items: center; margin: 0; padding: 0 10px 10px; font: 400 16px/22.4px var(--cj-zen); color: #333; }
.cj-ft__sns { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; min-height: 28px; padding-left: 12px; }
.cj-ft__right { display: flex; align-items: flex-start; width: 50%; }
.cj-ft__nav { display: flex; flex: 0 0 auto; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0; box-sizing: border-box; }
.cj-ft__nav--office { width: 30%; margin: 48px 0; }
.cj-ft__nav--contents { width: calc(35% - 48px); margin: 48px 0 0 48px; }
.cj-ft__head {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 8px 8px 6px 0;
  font: 600 13px/18.2px var(--cj-en);
  letter-spacing: 1.3px;
  color: var(--cj-ink);
  text-align: center;
  border-bottom: 2px solid transparent;
  transition: all .3s var(--cj-ease);
}
.cj-ft__head:hover { background: transparent; color: #000; }
.cj-ft__rule {
  display: flex;
  align-self: stretch;
  box-sizing: border-box;
  height: 9px;
  margin: 0;
  padding: 8px 8px 0 12px;
  border-top: 1px solid #000;
  transition: all .3s var(--cj-ease);
}
.cj-ft__nav:hover .cj-ft__rule { height: 0; padding-top: 0; color: transparent; }
.cj-ft__addr {
  display: flex;
  align-items: center;
  font: 400 13px/20.8px var(--cj-zen);
  letter-spacing: 2.6px;
  color: var(--cj-ink);
  text-align: left;
  border-bottom: 2px solid transparent;
  transition: all .3s var(--cj-ease);
}
.cj-ft__addr:hover { color: #000; }
.cj-ft__links { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding-right: 10px; }
.cj-ft__links a {
  display: flex;
  align-items: center;
  font: 400 13px/15.6px var(--cj-zen);
  letter-spacing: 2.6px;
  color: var(--cj-ink);
  text-align: left;
  border-bottom: 2px solid transparent;
  transition: all .3s var(--cj-ease);
}
.cj-ft__links a:hover { background: #000; color: #fff; padding: 8px 16px 6px; }
.cj-ft__copy {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  align-self: stretch;
  padding: 30px 0 0;
  font: 300 15px/21px "Exo 2";
  letter-spacing: .75px;
  color: var(--cj-ink);
  text-align: center;
}

@media (max-width: 1140px) {
  .cj-ft__nav { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: flex-end; gap: 6px; }
  .cj-ft__nav--office { width: auto; max-width: calc(100% - 32px); margin: 32px 16px; }
  .cj-ft__nav--contents { width: calc(35% - 32px); margin: 32px 16px; }
  .cj-ft__rule { flex: 0 0 auto; width: 100%; }
}
@media (max-width: 840px) {
  .cj-ft { padding-bottom: 28px; }
  .cj-ft__in { flex-direction: column; justify-content: center; align-items: flex-start; }
  .cj-ft__left { width: 30%; padding-left: 0; }
  .cj-ft__logo { width: 100%; }
  .cj-ft__sns { align-items: flex-start; }
  .cj-ft__right { width: 70%; }
  .cj-ft__nav--office { width: 177px; }
  .cj-ft__nav--contents { width: auto; max-width: calc(100% - 32px); }
  .cj-ft__head,
  .cj-ft__rule,
  .cj-ft__addr,
  .cj-ft__links a { padding: 6px 10px; }
  .cj-ft__rule { height: 13px; }
  .cj-ft__copy { font-size: 12px; line-height: 16.8px; letter-spacing: .6px; }
}
@media (max-width: 540px) {
  .cj-ft__left { width: 80%; }
  .cj-ft__nav--office,
  .cj-ft__nav--contents { margin: 24px 0; max-width: 100%; }
  .cj-ft__copy { padding-top: 0; font-size: 11px; line-height: 15.4px; letter-spacing: .55px; }
}

/* ============================================================
   静的HTML（site.css）をWPで使うための調整
   ============================================================ */

/* 静的HTMLのヘッダーは重なり型だったので、上の余白を詰める（こちらのヘッダーは場所を取る） */
.page main > :first-child:not(.phero) { padding-top: clamp(1.6rem, 3vw, 2.4rem); }
.phero:not(.phero--lp) {
  padding-top: clamp(4.2rem, 8vw, 6rem);
  padding-bottom: clamp(3.4rem, 6vw, 4.6rem);
  min-height: clamp(220px, 30vh, 300px);
}

/* 静的HTMLのパンくず（.crumb）は使わない。clsc.jp の .cj-crumb を使う */
.crumb { display: none; }

/* ---------- 一覧 ---------- */
/* 写真 / 間取り 切り替えは削除したので、関連の部品は出さない */
.view-switcher, .ptile__switch-btn { display: none !important; }
.ptile__img.is-plan { display: none !important; }

.ptile__media { position: relative; }
.ptile__media.is-noimg { background: #f1efeb; }
.ptile__noimg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #b9b4ab;
}
/* 商談中・売却済・成約済（写真の右下） */
.ptile__state {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: .35em .9em;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(28, 29, 33, .78);
}
.ptile__state.is-sold { background: var(--tag-new); }

.pagination__gap { display: inline-flex; align-items: center; padding-inline: .2em; color: var(--g700); }

.prop-empty {
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  background: var(--g100);
  border-radius: var(--r-card);
}
.prop-empty__title { font-size: 1.1rem; font-weight: 700; margin: 0 0 .6rem; }
.prop-empty p { margin: 0 0 .4rem; color: var(--g700); }
.prop-empty__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.4rem; }

/* ---------- 詳細 ---------- */
/* コンテンツ幅を広げる（静的HTMLは 780px。2026-10-09 指示「もうちょっとあってもいい」） */
.prop .wrap--narrow { max-width: 1000px; }

.prop__preview {
  margin: 0 0 1rem;
  padding: .7em 1em;
  font-size: .9rem;
  color: #7a4b00;
  background: #fff6e0;
  border-radius: 8px;
}

.prop__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .6rem; }
.prop__chip {
  display: inline-flex;
  align-items: center;
  padding: .2em .75em;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--g700);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.prop__chip.is-flag { color: var(--g900); border-color: var(--g900); }

.prop__summary.is-price-only { grid-template-columns: 1fr; }
.prop__price--state { font-size: clamp(1.6rem, 3vw, 2rem) !important; }

.prop__gallery .swiper-slide.is-plan img {
  object-fit: contain !important;
  background: #fff;
  padding: 1.2rem;
}
.prop-thumb-swiper .swiper-slide.is-plan img { padding: 4px; }
.prop__gallery.is-single .prop-main-swiper { margin-bottom: 0; }

/* おすすめポイント */
.prop__reco {
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: var(--g100);
  border-radius: var(--r-card);
}
.prop__points { margin: 0 0 1rem; padding: 0; list-style: none; display: grid; gap: .55rem; }
.prop__points:last-child { margin-bottom: 0; }
.prop__points li {
  position: relative;
  padding-left: 1.9em;
  font-weight: 700;
  line-height: 1.6;
}
.prop__points li::before {
  content: "";
  position: absolute;
  left: .2em;
  top: .3em;
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  background: var(--g900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.prop__reco .prop__staff-text p { margin: 0 0 .8em; }
.prop__reco .prop__staff-text p:last-child { margin-bottom: 0; }

/* LINEボタンが無いときは「見学・資料請求」だけで横いっぱいに */
.prop-floating-bar.is-single .prop-floating-bar__in { grid-template-columns: 1fr; }

/* Swiper の矢印・点を青（Swiper既定）ではなくサイトの文字色に */
/* Swiper は --swiper-navigation-size をボタンの高さにも使うため、矢印の大きさは ::after で指定する。
   ボタンは 42px の正円（静的HTMLのデザインどおり） */
.prop__gallery { --swiper-theme-color: var(--g900); }
/* 写真の枚数表示（1 / 12）。Swiper の CSS が後から読まれて文字色が黒に戻っていたので明示（2026-10-09） */
.prop__gallery .prop-swiper-pagination,
.prop__gallery .prop-swiper-pagination span { color: #fff; --swiper-pagination-fraction-color: #fff; }
.prop__gallery .prop-swiper-btn {
  width: 42px;
  height: 42px;
  margin-top: -21px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}
.prop__gallery .prop-swiper-btn::after { font-size: 15px; font-weight: 900; }

/* ---------- お問い合わせ ---------- */
.contact-target {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 780px;
  margin: 0 auto 1.6rem;
  padding: .9rem 1.1rem;
  background: var(--g100);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .2s;
}
.contact-target:hover { border-color: #d8d4ce; }
.contact-target img { width: 96px; height: 72px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.contact-target span { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.contact-target small { font-size: .75rem; color: var(--g700); }
.contact-target b { font-size: 1rem; line-height: 1.5; }
.contact-target em { font-size: .85rem; color: var(--g700); }

/* Contact Form 7 の部品を静的HTMLのフォームに合わせる */
.clsc-cf7 .wpcf7 { margin: 0; }
.clsc-cf7 .field > .wpcf7-form-control-wrap {
  display: block;
  margin: 0;
  font-size: inherit;
  font-weight: 400;
}
.clsc-cf7 .clsc-readonly {
  background: #fff;
  color: var(--g700);
  border-style: dashed;
}
.clsc-cf7 .radios .wpcf7-form-control-wrap,
.clsc-cf7 .radios .wpcf7-list-item { display: inline; margin: 0; }
.clsc-cf7 .radios label { display: inline-flex; align-items: center; gap: .5em; font-size: .95rem; font-weight: 500; cursor: pointer; }
.clsc-cf7 .radios input[type="checkbox"] { width: 1.15em; height: 1.15em; margin: 0; accent-color: var(--blue-deep); }
.clsc-cf7 .wpcf7-list-item-label a { color: var(--indigo); text-decoration: underline; text-underline-offset: .15em; }
.clsc-cf7 .form__submit input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15em;
  padding: .95em 2.4em;
  font: 700 1rem/1.4 var(--font-jp);
  letter-spacing: .06em;
  color: #fff;
  background-image: var(--grad-dark);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.clsc-cf7 .form__submit input[type="submit"]:disabled { opacity: .5; cursor: not-allowed; }
.clsc-cf7 .wpcf7-spinner { display: block; margin: .8rem auto 0; }
.clsc-cf7 .wpcf7-not-valid-tip { margin-top: .35rem; font-size: .85rem; font-weight: 500; color: var(--red); }
.clsc-cf7 .wpcf7-not-valid { border-color: var(--red) !important; }
.clsc-cf7 .wpcf7-response-output {
  margin: 1.4rem 0 0 !important;
  padding: .8em 1em !important;
  font-size: .92rem;
  border-radius: 8px;
}

/* Cloudflare Turnstile（キー未設定で中身が無いときは枠ごと出さない） */
.clsc-cf7 .form__turnstile:not(:has(.cf-turnstile)) { display: none; }
/* ロボット防止は送信ボタンのすぐ上・中央（2026-10-09） */
.clsc-cf7 .form__turnstile { display: flex; justify-content: center; margin: 1.6rem 0 0; padding: 0; background: none; }
.clsc-cf7 .form__turnstile + .form__submit { margin-top: 1rem; }

/* ---------- 完了・404 ---------- */
.thanks { max-width: 46rem; margin-inline: auto; text-align: center; line-height: 1.95; color: var(--g700); }
.thanks p { margin: 0; }
.thanks p + p { margin-top: .9em; }
.thanks strong { color: var(--g900); font-weight: 700; }
.thanks__card { background: var(--g100); border-radius: 16px; padding: clamp(1.8rem, 5vw, 3rem) clamp(1.2rem, 5vw, 3rem); }
.thanks__title { font-size: clamp(1.05rem, 2.2vw, 1.3rem); font-weight: 700; color: var(--g900); line-height: 1.7; margin-bottom: 1.4rem !important; }
.thanks__target { display: inline-block; margin: 0 0 1.4rem !important; padding: .55em 1.2em; background: #fff; border-radius: 8px; color: var(--g900); font-weight: 700; font-size: .95rem; }
.thanks__target span { display: block; font-size: .75rem; font-weight: 500; color: var(--g700); }
.psec .thanks .thanks__h { margin: 0 0 1.8rem; font-size: 1.15rem; line-height: 1.5; color: var(--g900); }
.thanks__flow { margin-top: clamp(2.5rem, 6vw, 3.5rem); }
.thanks__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: left; }
.thanks__steps li { background: var(--g100); border-radius: 12px; padding: 1.3rem 1.2rem; font-size: .9rem; line-height: 1.8; }
.thanks__num { display: block; font: 700 .85rem/1 var(--font-en); letter-spacing: .08em; color: var(--blue); margin-bottom: .6rem; }
.thanks__step-title { font-weight: 700; color: var(--g900); font-size: .98rem; margin-bottom: .4rem !important; }
.thanks__note { margin-top: 2rem; padding: 1.2rem 1.4rem; border: 1px solid #e6e2db; border-radius: 12px; text-align: left; font-size: .88rem; line-height: 1.85; }
.thanks__note-title { font-weight: 700; color: var(--g900); margin-bottom: .3rem !important; }
.thanks__tel { margin-top: clamp(2.5rem, 6vw, 3.5rem); }
.thanks .pcta__tel { margin-top: .6rem !important; }
.thanks__small { font-size: .82rem; }
.thanks__closing { margin-top: clamp(2.5rem, 6vw, 3.5rem) !important; color: var(--g900); font-weight: 500; }
@media (max-width: 840px) {
  .thanks__steps { grid-template-columns: 1fr; }
}
/* site.css の「.psec p は左揃え」を、お礼の文面だけ中央揃えに戻す */
.psec .thanks :is(.thanks__title, .thanks__target, .thanks__card > p, .thanks__tel p, .thanks__closing) { text-align: center; }
.thanks .pcta__tel { justify-content: center; }
.thanks .btn--white { color: var(--g900); border-color: var(--g900); }
.thanks .btn--white .arw-l, .thanks .btn--white .arw { color: var(--g900); }
.thanks .btn--white:hover { background: var(--g100); }
.thanks .pcta__btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.thanks .sp-only { display: none; }
@media (max-width: 540px) {
  .thanks .sp-only { display: inline; }
  .psec .thanks .thanks__card > p:not(.thanks__title):not(.thanks__target) { text-align: left; }
  .thanks .pc-only { display: none; }
}
.thanks .pcta__btns,
.notfound .pcta__btns { margin-top: 2rem; justify-content: center; }
.notfound { text-align: center; padding-block: clamp(3rem, 8vw, 6rem); }
.notfound__en { margin: 0; font: 800 clamp(3.5rem, 10vw, 6rem)/1 var(--font-en); color: #ece9e4; }
.notfound h1 { margin: .3rem 0 1rem; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.notfound p { color: var(--g700); }

/* ---------- 印刷 ---------- */
@media print {
  .cj-hd, .cj-drawer, .cj-veil, .cj-modal, .cj-crumb, .cj-ft, .totop,
  .prop-floating-bar, .prop__tools, .pcta, .page-back, .prop__map-embed, .prop-thumb-swiper,
  .swiper-button-prev, .swiper-button-next, .swiper-pagination { display: none !important; }
  .prop .wrap--narrow { max-width: none; }
}

/* 読み上げ用（画面には出さない） */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
/* figure にしたのでブラウザ既定の余白を消しつつ、静的HTMLの上下の余白（2rem / 2.8rem）は残す */
.prop__gallery { margin: 2rem 0 2.8rem; }

/* ---------- 新着スライドショー（トップのみ。0.4.17〜） ---------- */
.newslider {
  /* 見出し画像のすぐ下から、うすいブルーの帯。上下に余白をとってカードを置く */
  background: #eef6fa;
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
  overflow-x: clip; /* スマホの全幅スライドで横スクロールが出ないように */
}
.newslider__head { display: flex; align-items: baseline; gap: .9rem; margin-bottom: 1.2rem; }
.newslider__en {
  font: 800 clamp(1.5rem, 3.2vw, 2rem)/1 var(--font-en);
  letter-spacing: .02em; color: var(--blue);
}
.newslider__title { margin: 0; font-size: clamp(1rem, 2vw, 1.15rem); font-weight: 700; color: var(--g900); }
.newslider__body { position: relative; }
/* Swiper のCSS（.swiper { margin: auto }）があとから読まれて打ち消されるので、.newslider を付けて強くしている */
.newslider .newslider__swiper { padding: 4px 4px 10px; margin: -4px; }  /* カードの影とホバーの持ち上がりが切れないように */
.newslider__swiper .swiper-slide { height: auto; display: flex; }
.newslider__swiper .ptile { height: 100%; }
.newslider__btn {
  position: absolute; top: 38%; z-index: 10;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(96, 82, 68, .09);
  background: rgba(255, 255, 255, .95);
  color: var(--g900);
  box-shadow: 0 4px 16px rgba(96, 82, 68, .13);
  cursor: pointer; transform: translateY(-50%);
  transition: color .18s, box-shadow .18s;
}
.newslider__btn:hover { color: var(--blue-deep); box-shadow: 0 6px 20px rgba(96, 82, 68, .16); }
.newslider__btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.newslider__btn.swiper-button-disabled { opacity: .35; cursor: default; }
.newslider__btn--prev { left: -22px; }
.newslider__btn--next { right: -22px; }
@media (max-width: 1100px) {
  .newslider__btn--prev { left: -8px; }
  .newslider__btn--next { right: -8px; }
}
@media (max-width: 640px) {
  .newslider__btn { display: none; }  /* スマホはスワイプ＋自動送り */
  /* スマホはスライドを画面の端から端まで（見出しは左右の余白をそのまま） */
  .newslider .newslider__swiper {
    margin-inline: calc(50% - 50vw);
    padding-inline: 0;
  }
}
@media print { .newslider { display: none !important; } }
