/* =========================================================
   福岡夜職賃貸 見た目サンプル（v4）
   スマホ優先。768px〜タブレット、960px〜PC。
   フォント：見出し Zen Maru Gothic 700/900／本文 Noto Sans JP 400〜500／英語 DM Sans italic
   ========================================================= */
:root {
  --pink: #D6336C;        /* ボタン・強調（白文字が読める濃さ） */
  --pink-vivid: #E8357A;  /* 大きな見出しの強調ピンク */
  --pink-ink: #B0245A;    /* 白地の上のピンク文字 */
  --pink-shadow: #A21F4E;
  --pink-100: #FFF0F5;
  --pink-200: #FFDCE8;
  --lav-100: #F5F1FB;
  --lav-200: #E7DFF6;
  --lav-ink: #6B4FA0;
  --ink: #3A2E39;
  --sub: #6E5F6C;
  --line: #F0DDE6;
  --white: #FFFFFF;
  --line-green: #05873E;      /* LINEボタン（白文字が読める濃さの緑） */
  --line-green-dark: #03652E;
  --radius: 20px;
  --shadow: 0 6px 16px rgba(214, 51, 108, .12);
  --gutter: 20px;
  --maxw: 1080px;
  --maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "BIZ UDPGothic", sans-serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --en: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c.9 6 3.5 8.6 9.5 10.5-6 1.9-8.6 4.5-9.5 10.5-.9-6-3.5-8.6-9.5-10.5C8.5 10.1 11.1 7.5 12 1.5z'/%3E%3C/svg%3E");
  --scribble-pink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M4 9C40 3 74 12 110 7s62-4 86 1' fill='none' stroke='%23F59DBE' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
}
@media (max-width: 359px) { :root { --gutter: 16px; } }

/* ---------- 基本 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 16px; font-weight: 400; line-height: 1.8;
  -webkit-text-size-adjust: 100%; overflow-wrap: anywhere;
}
/* スマホの固定ボタンで本文・フッターが隠れないよう、下に余白を取る */
body.has-fixbar { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
img, svg { display: block; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--maru); font-weight: 700; margin: 0; }
p { margin: 0; }
b, strong { font-weight: 700; }
.page { position: relative; min-height: 100vh; overflow-x: clip; }
.inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 24px; height: 24px; flex: none; }
.sp { display: inline; }
.sample-bar { background: var(--ink); color: #fff; font-size: 12px; line-height: 1.5; text-align: center; padding: 6px 12px; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header > .inner { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; flex: none; }
.logo svg { width: 34px; height: 34px; }
.logo-text { font-family: var(--maru); font-weight: 700; font-size: 19px; letter-spacing: .04em; line-height: 1.15; }
.logo-text small { display: block; font-family: var(--en); font-style: italic; font-size: 11.5px; letter-spacing: .02em; color: var(--pink-ink); font-weight: 500; }
.site-header .gnav, .site-header .header-line { display: none; }
.menu-btn { width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 14px; background: var(--lav-100); color: var(--lav-ink); cursor: pointer; }
.drawer {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 25;
  background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(58, 46, 57, .08); padding: 8px var(--gutter) 16px;
}
.drawer a { display: flex; justify-content: space-between; align-items: center; padding: 14px 6px; border-bottom: 1px dashed var(--line); text-decoration: none; font-weight: 500; font-size: 15px; }
.drawer a span { color: var(--sub); font-size: 12px; }

/* ---------- 共通パーツ ---------- */
.mark { box-shadow: inset 0 -.42em 0 var(--pink-200); }
.note { font-size: 12.5px; line-height: 1.7; color: var(--sub); margin-top: 12px; font-weight: 400; }
.lead-text { font-size: 16px; line-height: 1.85; max-width: 40em; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 17px; line-height: 1.3; text-decoration: none; cursor: pointer;
}
/* LINEボタン：緑が主役、白い縁取り */
.btn-line {
  background: var(--line-green); color: #fff; border: 3px solid #fff;
  box-shadow: 0 4px 0 var(--line-green-dark), 0 8px 18px rgba(5, 135, 62, .25);
}
.btn-line:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--line-green-dark); }
.btn-ghost { background: #fff; color: var(--pink-ink); border: 2px solid var(--pink); }
.line-dot { width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--line-green); display: grid; place-items: center; flex: none; }
.line-dot svg { width: 17px; height: 17px; }

.ph {
  display: grid; place-items: center; align-content: center; gap: 6px; text-align: center;
  color: var(--lav-ink); font-size: 12.5px; line-height: 1.5;
  background: var(--lav-200); border: 2px dashed rgba(107, 79, 160, .3); border-radius: var(--radius); padding: 12px;
}
.ph .icon { width: 30px; height: 30px; opacity: .8; }
.ph.alt { background: var(--pink-200); color: var(--pink-ink); border-color: rgba(176, 36, 90, .25); }

/* 素材の枠（素材が入るとラベル・点線・仮背景が消える） */
.slot { position: absolute; display: grid; }
.slot img { width: 100%; height: 100%; display: block; }
/* 軽量版（AVIF＋予備）を <picture> で出すとき、枠の大きさの計算に影響させない */
.slot picture { display: contents; }
.slot-label { background: rgba(255, 255, 255, .88); color: var(--lav-ink); border-radius: 12px; padding: 3px 10px; font-size: 11px; font-weight: 500; line-height: 1.5; text-align: center; }
.slot:has(img) { background: none; border: 0; }
.slot:has(img) .slot-label { display: none; }

/* ---------- セクション共通 ---------- */
.sec { padding: 44px 0; }
.sec-soft { background: var(--pink-100); }
.sec-lav { background: var(--lav-100); }
.sec-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--en); font-style: italic; font-weight: 700; font-size: 15px; line-height: 1.4; letter-spacing: .02em; color: var(--pink); }
.sec-label::before { content: ""; width: 14px; height: 14px; background: #F2C94C; -webkit-mask: var(--sparkle) center / contain no-repeat; mask: var(--sparkle) center / contain no-repeat; }
.sec h2, .cta h2 { font-size: 23px; line-height: 1.5; margin: 6px 0 18px; }
.sub-h { font-size: 18px; line-height: 1.5; margin: 30px 0 14px; }

/* =========================================================
   2. メインビジュアル（参考画像の構図：左に大きな見出し、中央〜右に大きな女性、背面に街並み）
   ========================================================= */
.mv { position: relative; overflow: hidden; background: var(--pink-100); }
.slot-bg { inset: 0; z-index: 0; background: #F6EEF8; }
.slot-bg img { object-fit: cover; object-position: 35% 72%; }
/* 重ね色は控えめに（街並みと川の光を残す） */
.mv-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,240,245,.5) 0%, rgba(255,240,245,.12) 42%, rgba(255,240,245,0) 66%, rgba(255,240,245,.4) 100%); }
.mv-grid {
  position: relative; z-index: 2; display: grid;
  grid-template-areas: "copy" "visual" "cta";
  padding-top: 16px; padding-bottom: 24px;
}
.mv-copy { grid-area: copy; position: relative; isolation: isolate; z-index: 3; }
/* 見出しの背面の白い有機的な面 */
.mv-copy::before {
  content: ""; position: absolute; z-index: -1;
  left: -44px; right: -10px; top: -10px; bottom: -8px;
  background: rgba(255, 255, 255, .86);
  border-radius: 46% 54% 58% 42% / 42% 46% 54% 58%;
  box-shadow: 0 0 26px 16px rgba(255, 255, 255, .55);
}
.mv-bubble {
  position: relative; display: inline-block;
  background: #fff; border: 2px solid var(--pink); border-radius: 22px;
  padding: 7px 16px 8px; margin-left: 4px;
  font-family: var(--maru); font-weight: 700; font-size: 15.5px; line-height: 1.45; color: var(--pink-ink);
  transform: rotate(-3deg);
}
.mv-bubble::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 13px; height: 13px; background: #fff; border-right: 2px solid var(--pink); border-bottom: 2px solid var(--pink); transform: rotate(45deg); }
.heart { display: inline-block; width: 16px; height: 16px; vertical-align: -2px; margin-left: 3px; color: var(--pink); }
.mv-title {
  position: relative;
  font-weight: 900; font-size: clamp(30px, 9.3vw, 40px); line-height: 1.32; letter-spacing: .01em;
  margin: 16px 0 10px;
}
.mv-title .l { display: block; white-space: nowrap; }
.mv-title .l-last { position: relative; width: max-content; }
.mv-title em { font-style: normal; color: var(--pink-vivid); }
.scribble { position: absolute; z-index: -1; left: -.05em; bottom: -.1em; width: 100%; height: .3em; color: #F59DBE; }
.doodle { position: absolute; color: var(--pink-vivid); }
.doodle-1 { width: .85em; height: .85em; left: 4.5em; top: -.2em; transform: rotate(14deg); }
.doodle-2 { width: .7em; height: .7em; left: 6.6em; top: 2.75em; transform: rotate(-12deg); }
.mv-lead { font-size: 15px; line-height: 1.75; font-weight: 500; }

/* 人物：表示枠の大きさと位置で、顔と上半身を大きく見せる（画像は加工しない） */
.mv-visual { grid-area: visual; position: relative; z-index: 2; height: min(96vw, 440px); }
.slot-person {
  top: -4px; right: -12vw;
  height: min(124vw, 560px); aspect-ratio: 1122 / 1402;
  place-items: center;
}
.slot-person img { object-fit: contain; object-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 100%); mask-image: linear-gradient(to bottom, #000 86%, transparent 100%); }
.mv-round { position: absolute; left: 0; top: 16%; width: 104px; height: 104px; z-index: 3; }
.mv-round p {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center;
  border-radius: 50%; background: rgba(255, 255, 255, .94); border: 2px solid #B49BDA;
  font-family: var(--maru); font-weight: 700; font-size: 12.5px; line-height: 1.45; color: var(--lav-ink);
  transform: rotate(-6deg);
}
.mv-round .heart { width: 13px; height: 13px; color: var(--lav-ink); }
.mv-lines { position: absolute; right: -16px; top: -8px; width: 22px; height: 22px; color: var(--pink); transform: scaleX(-1); }
@media (max-width: 359px) { .mv-lines { display: none; } }
.mv-cta { grid-area: cta; position: relative; z-index: 3; margin-top: -72px; }
.btn-hero { position: relative; min-height: 64px; font-size: 19px; }
.btn-hero .line-dot { width: 34px; height: 34px; }
.btn-hero .line-dot svg { width: 20px; height: 20px; }
.chev { position: absolute; right: 22px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); }

/* =========================================================
   3. 新着物件 ＋ Instagramの写真帯
   ========================================================= */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 4px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.card-main { display: block; flex: 1; color: inherit; text-decoration: none; }
/* Instagramに投稿済みの物件だけに出る小さなリンク */
.card-ig { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 40px; padding: 6px 8px; border-top: 1px solid var(--pink-100); color: var(--pink-ink); font-size: 12.5px; font-weight: 700; text-decoration: none; }
.card-ig svg { width: 16px; height: 16px; flex: none; }
.card .ph { aspect-ratio: 1 / 1; border-radius: 0; border: 0; position: relative; font-size: 11.5px; }
.card .ph .icon { width: 24px; height: 24px; }
.new-chip { position: absolute; top: 8px; left: 8px; background: var(--pink); color: #fff; font-family: var(--en); font-style: italic; font-weight: 700; font-size: 11.5px; letter-spacing: .02em; line-height: 1; padding: 5px 9px; border-radius: 999px; }
.card-body { padding: 10px 11px 13px; }
.card-place { font-size: 12.5px; color: var(--sub); line-height: 1.55; }
.card-spec { font-size: 14px; font-weight: 500; line-height: 1.5; margin-top: 2px; }
.card-rent { font-family: var(--maru); font-weight: 700; color: var(--pink-ink); font-size: 13px; line-height: 1.35; margin-top: 2px; }
.card-rent b { font-size: 23px; }
.card-fee { font-size: 12.5px; color: var(--sub); line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.tags li { font-size: 11.5px; font-weight: 500; line-height: 1.45; color: var(--lav-ink); background: var(--lav-100); padding: 3px 8px; border-radius: 999px; }
.tags li.is-pay { color: var(--pink-ink); background: var(--pink-100); }
.empty { grid-column: 1 / -1; background: #fff; border-radius: 18px; padding: 20px; font-size: 14.5px; text-align: center; color: var(--sub); }

/* 新着見出し下の Instagram ボタン（小さめ・横幅は中身に合わせる） */
.sec-ig { margin-top: 12px; }
.btn.btn-ig { display: inline-flex; min-height: 42px; padding: 0 18px; font-size: 14.5px; gap: 6px; }
.btn-ig .ig-mark { width: 18px; height: 18px; flex: none; }
.btn-ig.is-pending { padding: 6px 14px; }

/* =========================================================
   4. 人物入りの特徴カード4枚
   左：アイコン・見出し・説明（HTML文字）／右：人物（素材待ちの枠）
   ========================================================= */
.features { background: #fff; }
.fc-list { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 4px; }
.fc {
  position: relative; overflow: hidden; min-height: 248px;
  padding: 20px 18px; border-radius: 26px; border: 4px solid #fff;
  box-shadow: 0 8px 22px rgba(214, 51, 108, .14);
}
.fc-pink { background: #FFE4EE; }
.fc-lav { background: #ECE4FA; }
.fc-blue { background: #E0F0FB; }
.fc-peach { background: #FFEEDF; }
.fc-text { position: relative; z-index: 2; width: 56%; }
.fc-icon { width: 54px; height: 54px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 3px 8px rgba(214, 51, 108, .15); }
.fc-icon svg { width: 32px; height: 32px; }
.fc h3 { margin-top: 10px; line-height: 1.25; }
.fc-small { display: block; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.fc-big {
  display: inline-block; font-weight: 900; font-size: 27px; line-height: 1.25; color: var(--pink-vivid);
  padding-bottom: 8px; background: var(--scribble-pink) left bottom / 100% 10px no-repeat;
}
.fc p { font-size: 13.5px; line-height: 1.7; margin-top: 8px; }
.fc .fc-point { font-weight: 500; margin-top: 6px; }
.fc .fc-point b { color: var(--pink-ink); font-size: 16px; white-space: nowrap; }
.fc .fc-note { font-size: 11.5px; color: var(--sub); margin-top: 4px; line-height: 1.5; }
.fc-person {
  z-index: 1; right: 0; bottom: 0; width: 44%; height: 88%;
  place-items: center; padding: 12px 6px 0;
  background: rgba(255, 255, 255, .5); border: 2px dashed rgba(176, 36, 90, .22); border-bottom: 0;
  border-radius: 999px 999px 0 0;
}
.fc-person img { object-fit: contain; object-position: right bottom; }
/* 人物画像が入ったら：枠を外し、カードの右下いっぱいに大きく置く（右側の髪は少し切れてよい）。
   画像の左端約12%は透明なので、文字の列とは重ならない */
.fc-person:has(img) { width: 54%; height: auto; aspect-ratio: 3 / 4; right: -10%; padding: 0; border-radius: 0; }

/* ---------- 5. 審査のご相談・対応経験 ---------- */
.worry { display: grid; gap: 12px; }
.worry li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 18px 16px; }
.ico-box { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--pink-200); color: var(--pink-ink); }
.ico-box .icon { width: 26px; height: 26px; }
.worry h3 { font-size: 16.5px; line-height: 1.5; margin-bottom: 4px; }
.worry p { font-size: 14.5px; line-height: 1.7; color: var(--sub); }
.promise { margin-top: 16px; padding: 18px; background: #fff; border: 2px dashed #CDBBEA; border-radius: 20px; }
.promise h3 { display: flex; align-items: center; gap: 8px; font-size: 16.5px; color: var(--lav-ink); margin-bottom: 8px; }
.promise p { font-size: 14.5px; line-height: 1.75; }

/* ---------- 6. 支払い方法 ---------- */
.pay { display: grid; }
.pay li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1.5px dashed var(--line); }
.pay li:first-child { border-top: 1.5px dashed var(--line); }
.pay .ico-box { width: 52px; height: 52px; border-radius: 50%; background: var(--lav-200); color: var(--lav-ink); }
.pay li > div b { display: block; font-size: 15.5px; line-height: 1.5; }
.pay li > div span { display: block; font-size: 14px; color: var(--sub); line-height: 1.65; }

/* ---------- 7. 無料送迎 ---------- */
.sougei { display: grid; grid-template-columns: 60px 1fr; gap: 14px; align-items: center; margin: 28px 0; padding: 18px; background: var(--pink); color: #fff; border-radius: 22px; box-shadow: 0 4px 0 var(--pink-shadow); }
.sougei .ico-circle { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--pink-ink); }
.sougei .ico-circle .icon { width: 34px; height: 34px; }
.sougei-title { font-family: var(--maru); font-weight: 700; font-size: 19px; line-height: 1.45; }
.sougei-sub { font-size: 12.5px; line-height: 1.5; margin-top: 2px; }

/* ---------- 8. 流れ ---------- */
.flow li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding-bottom: 20px; }
.flow li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 42px; bottom: 2px; border-left: 2px dotted var(--pink-200); }
.step-no { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--pink); color: #fff; font-family: var(--maru); font-weight: 700; font-size: 17px; }
.flow li > div b { display: block; font-size: 16px; line-height: 1.5; padding-top: 7px; }
.flow li > div span { display: block; font-size: 14.5px; color: var(--sub); line-height: 1.7; }

/* ---------- 9. FAQ ---------- */
.faq details { background: #fff; border-radius: 18px; box-shadow: var(--shadow); margin-bottom: 12px; }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 16px 48px 16px 54px; font-weight: 700; font-size: 15.5px; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq .a::before { position: absolute; left: 16px; top: 16px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--maru); font-size: 14px; font-weight: 700; line-height: 1; }
.faq summary::before { content: "Q"; background: var(--pink); color: #fff; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--pink-ink); }
.faq details[open] summary::after { content: "−"; }
.faq .a { position: relative; padding: 0 18px 18px 54px; font-size: 15px; line-height: 1.8; }
.faq .a::before { content: "A"; top: 0; background: var(--lav-200); color: var(--lav-ink); }

/* ---------- 10. LINE相談 ---------- */
.cta { padding: 44px 0 48px; text-align: center; }
.cta h2 { font-size: 24px; }
.cta-lead { font-size: 15px; line-height: 1.8; color: var(--sub); margin-bottom: 16px; }
.cta-sougei { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 8px; background: var(--pink-100); color: var(--pink-ink); font-weight: 700; font-size: 14px; line-height: 1.5; padding: 8px 16px; border-radius: 18px; margin-bottom: 20px; }
.cta-sougei span { font-weight: 400; font-size: 12px; color: var(--sub); }
.cta-sougei .icon { width: 22px; height: 22px; }
.btn-cta { max-width: 420px; margin: 0 auto; }
.tel-line { font-size: 14px; color: var(--sub); margin-top: 16px; }
/* LINEを主役に大きく、電話は控えめに（番号は表示しない） */
.btn-cta { max-width: 460px; min-height: 70px; font-size: 20px; }
.btn-cta .line-dot { width: 36px; height: 36px; }
.btn-cta .line-dot svg { width: 21px; height: 21px; }
/* 電話ボタン：LINEと同じ大きさ、サイト基調のピンク（番号は表示しない） */
.btn-tel-cta {
  max-width: 460px; min-height: 70px; margin: 14px auto 0; font-size: 20px;
  background: var(--pink); color: #fff; border: 3px solid #fff;
  box-shadow: 0 4px 0 var(--pink-shadow), 0 8px 18px rgba(214, 51, 108, .25);
}
.btn-tel-cta:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--pink-shadow); }
.tel-dot { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--pink); display: grid; place-items: center; flex: none; }
.tel-dot svg { width: 20px; height: 20px; }
.tel-line a { color: inherit; }

/* ---------- 11. フッター ---------- */
.site-footer { background: var(--ink); color: #F4EAF0; padding: 30px 0 26px; font-size: 13px; line-height: 1.8; }
.site-footer .logo-text { color: #fff; }
.site-footer .logo-text small { color: #CDBFCA; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 16px 0; }
.foot-links a { text-decoration: none; }
.foot-license { font-size: 12px; color: #CDBFCA; }
.copy { margin-top: 10px; font-size: 11.5px; color: #BFAFBB; }

/* ---------- 画面下の固定ボタン（スマホのみ） ---------- */
.fixbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: grid; grid-template-columns: 1fr 72px; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); }
.fixbar .btn { min-height: 52px; font-size: 16px; padding: 0 12px; }
.fixbar .btn-line { border-width: 0; }
.fixbar .btn-tel { flex-direction: column; gap: 0; border-radius: 16px; font-size: 11.5px; }
.fixbar .btn-tel .icon { width: 22px; height: 22px; }

/* =========================================================
   物件詳細
   ========================================================= */
.detail-page { padding-bottom: 8px; }
.back { display: inline-flex; align-items: center; gap: 4px; padding: 14px 0 0; font-size: 14px; color: var(--sub); text-decoration: none; }
.back .icon { width: 18px; height: 18px; }
.d-gallery { padding-top: 12px; }
.d-gallery .ph-main { aspect-ratio: 4 / 3; }
.d-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin-top: 8px; }
.d-thumbs .ph { aspect-ratio: 1 / 1; border-radius: 12px; font-size: 10.5px; padding: 4px; }
.d-thumbs .ph .icon { display: none; }
.d-head { padding: 20px 0 4px; }
.d-head h1 { font-size: 23px; line-height: 1.45; }
.d-station { font-size: 14.5px; color: var(--sub); margin-top: 2px; }
.d-rent { font-family: var(--maru); font-weight: 700; color: var(--pink-ink); font-size: 15px; margin-top: 10px; line-height: 1.3; }
.d-rent b { font-size: 34px; }
.d-rent span { font-family: var(--sans); font-size: 13.5px; color: var(--sub); font-weight: 400; margin-left: 8px; }
.d-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; }
.d-keys li { background: var(--pink-100); border-radius: 12px; padding: 8px 12px; font-size: 14.5px; font-weight: 500; line-height: 1.5; }
.d-keys li span { display: block; font-size: 11.5px; font-weight: 400; color: var(--sub); }
.d-dates { margin-top: 12px; background: var(--lav-100); border-radius: 12px; padding: 8px 12px; font-size: 13px; line-height: 1.7; }
.d-dates span { display: block; }
.d-head .tags { margin-top: 12px; }
.d-catch { font-family: var(--maru); font-weight: 700; font-size: 18px; line-height: 1.6; padding: 20px 0 6px; }
.d-text { font-size: 15.5px; line-height: 1.85; }
.d-sec { padding-top: 28px; }
.d-sec h2 { font-size: 18px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.d-sec h2::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.ph-plan { aspect-ratio: 1 / 1; max-width: 420px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; color: var(--sub); }
.ph-plan small { font-size: 11.5px; }
.d-plan .ph-plan img { width: 100%; height: 100%; object-fit: contain; }
/* 物件写真（bukken.js の photos に src があるとき。無いときは上の仮の枠のまま） */
.ph.has-img { display: block; padding: 0; border: 0; overflow: hidden; position: relative; background: var(--lav-100); }
.ph.has-img img { width: 100%; height: 100%; object-fit: cover; }
.d-thumbs button.ph { font: inherit; color: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; }
.d-thumbs .ph.has-img.is-current::after { content: ""; position: absolute; inset: 0; border: 3px solid var(--pink); border-radius: inherit; }
.d-thumbs .ph.has-img.is-current img { opacity: .85; }
.ph-plan.has-img { padding: 10px; background: #fff; border: 1.5px solid var(--line); }
.ph-plan.has-img img { object-fit: contain; }
.spec { margin: 0; }
.spec div { display: grid; grid-template-columns: 7em 1fr; gap: 10px; padding: 10px 0; border-bottom: 1.5px dashed var(--line); }
.spec dt { font-size: 13px; color: var(--sub); font-weight: 400; line-height: 1.6; }
.spec dd { margin: 0; font-size: 14.5px; font-weight: 500; line-height: 1.65; min-width: 0; }
.spec-sm dt { font-size: 12.5px; }
.spec-sm dd { font-size: 13.5px; font-weight: 400; }
.tbd { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 500; line-height: 1.5; color: var(--lav-ink); }
.d-ad h2 { font-size: 16px; }
.d-ad-link { display: inline-block; margin-top: 10px; font-size: 13.5px; color: var(--pink-ink); font-weight: 700; }
.legal { font-size: 12.5px; color: var(--sub); line-height: 1.7; padding-top: 14px; }
.d-cta { padding: 22px 18px; background: var(--pink-100); border-radius: 22px; text-align: center; }
.d-cta h2 { font-size: 19px; line-height: 1.5; margin-bottom: 6px; }
.d-cta p { font-size: 13.5px; color: var(--sub); margin-bottom: 16px; }
.d-cta code { font-family: var(--sans); font-weight: 700; color: var(--pink-ink); background: #fff; padding: 1px 8px; border-radius: 6px; }
.d-cta .btn { max-width: 420px; margin: 0 auto; }
.d-closed { margin: 32px 0; padding: 28px 20px; text-align: center; background: var(--lav-100); border-radius: 22px; }
.d-closed h1 { font-size: 20px; margin-bottom: 8px; }
.d-closed p { font-size: 14.5px; color: var(--sub); margin-bottom: 18px; }
.d-closed .btn { max-width: 420px; margin: 0 auto; }

/* =========================================================
   事業者情報
   ========================================================= */
.jg-page { padding: 32px 0 48px; }
.jg-page h1.jg-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 4px 0 28px; padding-bottom: 12px; border-bottom: 3px double #E4DAE1; }
.jg-title .en { position: relative; font-family: var(--en); font-style: italic; font-weight: 500; font-size: 22px; line-height: 1.2; color: var(--pink); }
.jg-title .en::after { content: ""; position: absolute; left: 0; right: -4px; bottom: -14px; height: 3px; background: var(--pink); }
.jg-title .ja { font-family: var(--maru); font-weight: 700; font-size: 24px; line-height: 1.3; color: var(--ink); }
.jg-brand { text-align: center; font-family: var(--maru); font-weight: 700; font-size: 20px; margin: 0 0 22px; }
.jg-table { margin: 0; display: grid; gap: 6px; }
.jg-table div { display: grid; grid-template-columns: 6.8em 1fr; gap: 10px; }
.jg-table dt { display: flex; align-items: center; background: var(--pink-100); border-radius: 8px; padding: 12px 10px; font-size: 13px; font-weight: 700; line-height: 1.5; }
.jg-table dd { margin: 0; padding: 12px 2px; font-size: 14.5px; line-height: 1.7; align-self: center; min-width: 0; }
.jg-table a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   タブレット（768px〜）
   ========================================================= */
@media (min-width: 768px) {
  .sp { display: none; }
  .mv-title { font-size: 42px; }
  .mv-lead { font-size: 16px; }
  .mv-visual { height: 470px; }
  .slot-person { right: 2%; height: 600px; }
  .mv-round { left: 4%; top: 18%; width: 120px; height: 120px; }
  .mv-round p { font-size: 14px; }
  .btn-hero { max-width: 460px; margin: 0 auto; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .fc-list { grid-template-columns: repeat(2, 1fr); }
  .worry { grid-template-columns: repeat(3, 1fr); }
  .worry li { grid-template-columns: 1fr; gap: 10px; }
  .pay { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .pay li, .pay li:first-child { grid-template-columns: 1fr; align-items: start; border: 0; background: var(--lav-100); border-radius: 18px; padding: 18px; }
  .faq { max-width: 820px; }
  .d-keys { grid-template-columns: repeat(4, 1fr); }
  .d-dates span { display: inline; }
  .d-dates span + span::before { content: "｜"; color: var(--sub); margin: 0 6px; }
  .jg-page .inner, .detail-page .inner { max-width: 820px; }
  .jg-table div { grid-template-columns: 11em 1fr; }
}

/* =========================================================
   PC（960px〜）
   ========================================================= */
@media (min-width: 960px) {
  body.has-fixbar { padding-bottom: 0; }
  .fixbar { display: none; }
  html { scroll-padding-top: 88px; }
  .site-header > .inner { height: 76px; }
  .site-header .gnav { display: flex; gap: 24px; margin-left: auto; font-size: 14.5px; font-weight: 500; }
  .gnav a { text-decoration: none; }
  .gnav a:hover { color: var(--pink-ink); }
  .site-header .header-line { display: inline-flex; min-height: 48px; padding: 0 20px; font-size: 15px; }
  .header-line .line-dot { width: 24px; height: 24px; }
  .menu-btn, .drawer { display: none !important; }

  /* ヒーロー：左に大きな見出し、中央〜右に大きな女性 */
  .mv-veil { background: linear-gradient(90deg, rgba(255,240,245,.5) 0%, rgba(255,240,245,.16) 40%, rgba(255,240,245,0) 62%); }
  .slot-bg img { object-position: center 64%; }
  .mv-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    grid-template-areas: "copy visual" "cta visual";
    column-gap: 24px; align-content: center;
    min-height: 640px; padding-top: 52px; padding-bottom: 60px;
  }
  .mv-copy { align-self: end; }
  .mv-copy::before { left: -90px; right: -36px; top: -34px; bottom: -26px; }
  .mv-bubble { font-size: 17px; }
  .mv-title { font-size: clamp(48px, 4.8vw, 64px); line-height: 1.3; margin-top: 22px; }
  .mv-lead { font-size: 18px; }
  .mv-visual { height: auto; min-height: 560px; }
  .slot-person { top: -34px; right: auto; left: -40px; height: 860px; }
  .mv-round { left: auto; right: -44px; top: -44px; width: 132px; height: 132px; }
  .mv-cta { align-self: start; margin-top: 30px; }
  .btn-hero { max-width: 420px; margin: 0; }

  /* セクション */
  .sec { padding: 80px 0; }
  .sec h2, .cta h2 { font-size: 30px; margin-bottom: 24px; }
  .sec-label { font-size: 16px; }
  .lead-text { font-size: 16.5px; }
  .sub-h { font-size: 21px; margin-top: 40px; }
  .cards { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .sougei { max-width: 760px; margin: 40px auto; grid-template-columns: 72px 1fr; padding: 22px 28px; }
  .sougei .ico-circle { width: 72px; height: 72px; }
  .sougei-title { font-size: 22px; }
  .flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .flow li { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 0; }
  .flow li:not(:last-child)::before { left: calc(50% + 28px); right: calc(-50% + 28px); top: 20px; bottom: auto; border-left: 0; border-top: 2px dotted var(--pink-200); }
  .flow li > div b { padding-top: 10px; }
  .cta { padding: 72px 0 88px; }
  .cta-lead { font-size: 16px; }
  .site-footer { padding: 40px 0 32px; }
  .site-footer .inner { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 40px; }
  .site-footer .logo-text { grid-row: 1 / 3; }
  .foot-links { margin: 0; justify-content: flex-end; }
  .foot-license, .copy { grid-column: 2; text-align: right; }

  /* 物件詳細 */
  .detail-page .inner { max-width: 1040px; }
  .d-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: start; margin-top: 8px; }
  .d-head { padding-top: 12px; }
  .d-head h1 { font-size: 28px; }
  .d-keys { grid-template-columns: 1fr 1fr; }
  .d-dates span { display: block; }
  .d-dates span + span::before { content: none; }
  .d-body { max-width: 760px; }
  .jg-page { padding: 56px 0 80px; }
}

/* 特徴カード：PCは4列（十分な幅があるとき） */
@media (min-width: 1024px) {
  .fc-list { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .fc { padding: 18px 14px; }
  .fc-text { width: 56%; }
  .fc-big { font-size: 25px; }
  .fc p { font-size: 13px; }
  .fc-person { width: 46%; height: 60%; }
  /* 4列のPCはカードが細いので、文字を上、人物を右下に大きく（文字の下に人物の場所を確保） */
  .fc { min-height: 300px; }
  .fc-person:has(img) { width: 64%; right: -18%; }
}

/* =========================================================
   v6 追加：準備中の表示・詳しく見る・物件の相談ボタン・合計表示
   ========================================================= */
/* 未接続のボタン（LINE・Instagram）：押してもどこへも移動しない */
.is-pending { opacity: .6; cursor: not-allowed; box-shadow: none !important; transform: none !important; }
.pending-chip { display: inline-block; margin-left: 8px; padding: 1px 9px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.6; }
.btn-ghost .pending-chip { background: var(--pink-100); color: var(--pink-ink); }
.pending-note { font-size: 12.5px; line-height: 1.6; color: var(--sub); margin-top: 10px; text-align: center; }
.pending-note[hidden] { display: none; }
/* 4つのサポート：詳しく見る（カード全体を押せる） */
.fc-more { display: inline-flex; align-items: center; gap: 2px; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--pink-ink); text-decoration: none; }
.fc-more svg { width: 14px; height: 14px; }
.fc.has-link .fc-more::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: 22px; }
.fc.has-link:hover { transform: translateY(-2px); transition: transform .15s; }
/* 物件詳細：賃料＋管理費の合計 */
.d-total { margin-top: 6px; font-size: 14px; line-height: 1.6; }
.d-total b { font-weight: 700; }
.d-total small { display: block; font-size: 12px; color: var(--sub); }
/* 物件詳細：LINE相談・コピー */
.d-consult { margin-top: 14px; }
.d-consult .btn-line { width: 100%; min-height: 58px; font-size: 17px; }
.btn-copy {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; min-height: 44px; margin-top: 8px;
  border: 1.5px solid var(--lav-200); border-radius: 999px; background: #fff; color: var(--lav-ink);
  font-family: var(--sans); font-size: 14px; font-weight: 500; cursor: pointer;
}
.btn-copy .icon { width: 18px; height: 18px; }
.d-cta .d-consult { max-width: 420px; margin: 0 auto; }
/* 個人情報の取り扱い（確認用の案） */
.pv .inner { max-width: 760px; }
.pv-banner { background: var(--lav-100); border: 1.5px dashed #CDBBEA; border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.pv h2 { font-size: 18px; line-height: 1.5; margin: 28px 0 8px; }
.pv p { font-size: 15px; line-height: 1.85; }
.pv ul { list-style: disc; padding-left: 1.4em; font-size: 15px; line-height: 1.85; }
.pv-tbd { margin-top: 6px; font-size: 13px !important; color: var(--lav-ink); background: var(--lav-100); border-radius: 8px; padding: 6px 10px; }
/* 準備中ボタンの文字が折り返さないように（文字は縮めず、余白とアイコンで調整） */
.pending-chip { white-space: nowrap; flex: none; }
.btn.is-pending { gap: 4px 8px; padding: 8px 14px; flex-wrap: wrap; }
.btn.is-pending .btn-label { white-space: nowrap; }
.btn-cta.is-pending .line-dot, .d-consult .is-pending .line-dot { width: 30px; height: 30px; }
.cta-lead { max-width: 30em; margin-left: auto; margin-right: auto; text-wrap: pretty; }

/* ---------- 物件をもっと見る（トップの新着の下）・全物件一覧 ---------- */
.more-wrap { display: flex; justify-content: center; margin: 18px 0 6px; }
.more-wrap[hidden] { display: none; }
.btn-more { min-width: 240px; }
.list-page { padding: 18px 0 40px; }
.list-page h1 { font-size: 26px; line-height: 1.4; margin-top: 8px; }
.list-count { font-size: 14px; color: var(--sub); margin-top: 4px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 22px 0 8px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; color: var(--pink-ink); background: #fff; border: 2px solid var(--pink-200); }
.pager a[aria-current="page"] { background: var(--pink); border-color: var(--pink); color: #fff; }
.pager .is-off { color: #C9B8C4; border-color: var(--line); }
.pager .pg-gap { border: 0; background: none; min-width: 20px; padding: 0; color: var(--sub); }

/* ---------- 物件詳細：紹介画像と拡大表示 ---------- */
.d-slides-note { font-size: 13px; color: var(--sub); margin: -2px 0 10px; line-height: 1.6; }
.slide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slide-btn { display: block; padding: 0; border: 0; background: var(--lav-100); border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 5; }
.slide-btn img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .slide-grid { grid-template-columns: repeat(5, 1fr); } }
html.viewer-open { overflow: hidden; }
.viewer { position: fixed; inset: 0; z-index: 100; background: rgba(30, 20, 28, .95); display: flex; flex-direction: column; }
.viewer[hidden] { display: none; }
.viewer-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; padding-top: max(10px, env(safe-area-inset-top)); color: #fff; }
.viewer-count { flex: 1; font-family: var(--en); font-size: 15px; font-weight: 700; }
.viewer-zoom { font: inherit; font-size: 13px; font-weight: 700; color: var(--pink-ink); background: #fff; border: 0; border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.viewer-close { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.viewer-stage { flex: 1; min-height: 0; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 0 8px 12px; -webkit-overflow-scrolling: touch; }
.viewer-img { max-width: 100%; max-height: 100%; width: auto; height: auto; cursor: zoom-in; border-radius: 6px; }
.viewer.is-zoom .viewer-stage { display: block; padding: 0; }
.viewer.is-zoom .viewer-img { max-width: none; max-height: none; width: 1080px; border-radius: 0; cursor: zoom-out; }
.viewer-prev, .viewer-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 68px; border: 0;
  background: rgba(255, 255, 255, .18); color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }
.viewer-prev { left: 0; border-radius: 0 14px 14px 0; }
.viewer-next { right: 0; border-radius: 14px 0 0 14px; }
.viewer.is-zoom .viewer-prev, .viewer.is-zoom .viewer-next { display: none; }
