/* ============================================================
   失敗しない 中古リノベ相談会｜リノベ不動産 恵比寿南店
   ============================================================ */

:root {
  --rf-blue:   #be8b93;
  --rf-yellow: #e6cfc4;
  --rf-navy:   #5c5048;
  --rf-red:    #ae6e76;
  --rf-black:  #322e2a;
  --bg:        #fcfaf7;
  --ink:       #322e2a;
  --sub:       #8a817a;
  --line:      #e9e2da;
  --gray:      #f1ebe4;
  --gray2:     #faf5f0;

  --max-w:     1140px;
  --gutter:    clamp(18px, 5vw, 40px);
  --section-v: clamp(64px, 10vw, 110px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.9;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap   { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ── Typography helpers ── */
.sec-h {
  text-align: center; font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800; letter-spacing: .1em; line-height: 1.45; margin-bottom: 12px;
}
.sec-h.sm { font-size: clamp(20px, 2.8vw, 26px); }
.sec-desc { text-align: center; color: var(--sub); font-size: clamp(14px, 1.5vw, 15.5px); max-width: 680px; margin: 0 auto; }

/* ─────────────────────────────────────────────────────
   HEADER
───────────────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: clamp(60px, 8vw, 76px);
}
.logo { display: flex; align-items: center; gap: clamp(10px, 2vw, 16px); }
.logo-img { height: clamp(43px, 7.2vw, 56px); width: auto; flex-shrink: 0; }
.logo .store {
  font-size: clamp(12px, 1.5vw, 15px); font-weight: 700; letter-spacing: .06em;
  padding-left: clamp(10px, 1.5vw, 16px); border-left: 1px solid var(--line);
}
.head-tel { text-align: right; text-decoration: none; color: inherit; }
.head-tel small { display: block; font-size: 10px; color: var(--sub); letter-spacing: .1em; }
.head-tel b { font-size: clamp(15px, 2vw, 20px); letter-spacing: .04em; font-weight: 800; color: var(--rf-navy); }

/* ─────────────────────────────────────────────────────
   HERO CR（上=写真＋タイトル / 下=白パネル＋ギフト＋日程）
───────────────────────────────────────────────────── */
.hero-cr {
  height: auto;
  overflow: visible;
  background: #fff;
}

/* 上ゾーン：写真＋タイトル */
.hcr-photo {
  position: relative;
  height: clamp(360px, 50vw, 560px);
  overflow: hidden;
}
.hcr-photo > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.hcr-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.30) 38%, rgba(0,0,0,0) 70%);
}
.hcr-text {
  position: absolute; z-index: 2;
  left: var(--gutter); bottom: clamp(28px, 5vw, 56px);
  max-width: min(640px, 80%);
  color: #fff;
}
.hcr-top-row {
  display: flex; align-items: center; gap: clamp(12px, 2vw, 18px);
  margin-bottom: clamp(8px, 1.5vw, 14px);
}
.hcr-lead {
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 700; letter-spacing: .06em;
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.hcr-free {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rf-yellow); color: var(--rf-black);
  font-size: clamp(14px, 1.6vw, 18px); font-weight: 900; letter-spacing: .14em;
  padding: 6px 16px; border-radius: 3px;
}
.hcr-title {
  font-size: clamp(34px, 6.5vw, 76px);
  font-weight: 900; letter-spacing: .04em; line-height: 1.12;
  text-shadow: 0 3px 28px rgba(0,0,0,.5);
}

/* 下ゾーン：白パネル */
.hcr-panel {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
  gap: clamp(28px, 6vw, 72px);
  max-width: var(--max-w); margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) var(--gutter);
}

/* ギフト画像 */
.hcr-gift {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  flex-shrink: 0;
}
.hcr-gift img {
  width: 100%;
  display: block;
}

/* 日程 */
.hcr-date {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 4px;
  padding: clamp(18px, 2.5vw, 26px) clamp(24px, 3.5vw, 40px);
  border-left: 4px solid var(--rf-navy);
  background: var(--gray2);
}
.hcr-date-num {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 900; letter-spacing: .02em; line-height: 1;
  color: var(--rf-navy);
}
.hcr-date-time {
  font-size: clamp(14px, 1.6vw, 17px); font-weight: 700;
  letter-spacing: .04em; color: var(--ink); margin-top: 6px;
}
.hcr-reserve {
  display: inline-block; margin-top: 10px;
  background: var(--rf-red); color: #fff;
  font-size: clamp(12px, 1.3vw, 14px); font-weight: 800; letter-spacing: .1em;
  padding: 6px 16px; border-radius: 2px;
}

@media (max-width: 640px) {
  .hcr-photo { height: clamp(280px, 64vw, 380px); }
  .hcr-text { left: 16px; right: 16px; bottom: 18px; max-width: none; }
  .hcr-panel {
    gap: 22px; padding: 26px 18px;
    flex-direction: column;
  }
  .hcr-gift {
    width: 300px;
    max-width: 90vw;
  }
  .hcr-date {
    width: 100%; align-items: center; text-align: center;
    border-left: none; border-top: 4px solid var(--rf-navy);
  }
}

/* ─────────────────────────────────────────────────────
   HERO CTA BAR（ヒーロー下の申込ボタン）
───────────────────────────────────────────────────── */
.hero-cta-bar {
  background: #fff;
  padding: clamp(20px, 3.5vw, 32px) 0;
  text-align: center;
}
.hero-cta-btn {
  font-size: clamp(15px, 1.8vw, 17px);
  padding: clamp(16px, 2.5vw, 20px) clamp(36px, 6vw, 72px);
}
@media (max-width: 640px) {
  .hero-cta-bar { padding: 18px 20px; }
  .hero-cta-btn { width: 100%; font-size: 15px; padding: 17px 24px; }
}

/* ─────────────────────────────────────────────────────
   LEAD
───────────────────────────────────────────────────── */
.lead {
  padding: 32px 0 var(--section-v);
  text-align: center;
  background: var(--gray);
}
.lead h2 {
  font-size: clamp(20px, 2.8vw, 28px); font-weight: 800;
  letter-spacing: .08em; line-height: 1.6; margin-bottom: 24px;
}
.lead p { color: var(--ink); font-size: clamp(14px, 1.5vw, 15.5px); text-align: left; }

/* マーカー強調 */
.marker {
  font-weight: 800;
  background: linear-gradient(transparent 55%, rgba(190,139,147,.35) 55%);
  padding: 0 2px;
}

/* ─────────────────────────────────────────────────────
   LEARNS（わかること）
───────────────────────────────────────────────────── */
.learns { padding: var(--section-v) 0; }
.learns .sec-h { margin-bottom: 48px; }
.learn-list { list-style: none; display: flex; flex-direction: column; }
.learn-list li {
  display: grid; grid-template-columns: 52px 1fr;
  gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line);
  align-items: center;
}
.learn-list li:first-child { border-top: 1px solid var(--line); }
.learn-list .ln {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--rf-navy); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; letter-spacing: .04em;
}
.learn-list strong { display: block; font-size: clamp(15px, 1.8vw, 17px); font-weight: 800; }
.learn-list p      { font-size: clamp(13.5px, 1.4vw, 15px); color: var(--sub); }

@media (max-width: 640px) {
  .learns .sec-h { font-size: 18px; }
  .learns { padding-bottom: 0; }
  .learn-list li { grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; }
  .learn-list .ln { width: 40px; height: 40px; font-size: 11px; }
  .learn-list strong { font-size: 16px; }
  .learn-list p { font-size: 16px; }
}

/* ─────────────────────────────────────────────────────
   MAP
───────────────────────────────────────────────────── */
.map-section { padding: var(--section-v) 0; background: var(--gray); }
.map-section .sec-h { margin-bottom: 16px; }
.map-access {
  display: block;
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--sub);
}
.map-frame {
  width: 100%;
  height: 400px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 640px) {
  .map-frame { height: 260px; }
}

/* ─────────────────────────────────────────────────────
   GIFT
───────────────────────────────────────────────────── */
.gift { padding: var(--section-v) 0; }
.gift-box {
  background: #fff; border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: clamp(220px, 28%, 320px) 1fr;
  gap: clamp(28px, 5vw, 52px); align-items: center;
}
.gift-ribbon {
  display: inline-block; background: var(--rf-red); color: #fff;
  font-size: 12px; letter-spacing: .1em; padding: 7px 18px;
  border-radius: 2px; margin-bottom: 14px;
}
.date-chip {
  display: inline-block; background: var(--rf-navy); color: #fff;
  font-weight: 700; padding: 7px 16px; border-radius: 2px;
  margin-bottom: 16px; letter-spacing: .06em; font-size: 13px;
}
.gift h3 {
  font-size: 18px; font-weight: 800;
  line-height: 1.5; letter-spacing: .05em; margin-bottom: 12px;
}
.gift-img {
  display: block; aspect-ratio: 1/1; background: var(--gray);
  overflow: hidden;
}
.gift-img img { width: 100%; height: 100%; object-fit: cover; }
.notes { list-style: none; border-top: 1px solid var(--line); padding-top: 16px; }
.notes li { font-size: 12.5px; color: var(--sub); margin-bottom: 5px; }
.notes li.strong { font-weight: 700; color: var(--rf-red); font-size: 13px; }

@media (max-width: 760px) {
  .gift-box { grid-template-columns: 1fr; gap: 24px; padding: clamp(24px, 6vw, 36px); text-align: center; }
  .gift-img { max-width: 220px; margin: 0 auto; }
  .notes { text-align: left; }
}
.gift-cta {
  text-align: center;
  margin-top: clamp(28px, 4vw, 44px);
}
.gift-cta .btn { font-size: clamp(15px, 1.8vw, 17px); padding: clamp(16px, 2.5vw, 20px) clamp(36px, 6vw, 72px); }
@media (max-width: 640px) {
  .gift-cta .btn { width: 100%; padding: 18px 24px; font-size: 16px; }
}

/* ─────────────────────────────────────────────────────
   CONSULTATION CARDS
───────────────────────────────────────────────────── */
.consult { padding: var(--section-v) 0; }
.consult .sec-h { margin-bottom: 8px; }
.consult .sec-desc { margin-bottom: clamp(28px, 4vw, 44px); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}
.card {
  background: var(--gray);
  border-top: 3px solid var(--rf-yellow);
  padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 28px);
}
.card .q {
  display: block;
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--rf-navy);
  margin-bottom: 10px;
}
.card p {
  font-size: clamp(13px, 1.3vw, 14.5px);
  color: var(--sub);
  line-height: 1.8;
}
@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 20px 18px; }
}

/* ─────────────────────────────────────────────────────
   STORY
───────────────────────────────────────────────────── */
.story { padding: 0 0 var(--section-v); }
.story-band {
  position: relative; overflow: hidden;
  height: clamp(260px, 45vh, 480px); margin-bottom: clamp(48px, 7vw, 72px);
}
.story-band > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.story-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(92,80,72,.45) 0%, transparent 60%);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  max-width: 960px; margin: 0 auto;
}
.story-block {
  background: #fff; border: 1px solid var(--line);
  border-top: 3px solid var(--rf-blue);
  padding: clamp(24px, 3vw, 36px);
  border-radius: 2px;
}
.story-block h4 {
  font-size: clamp(16px, 1.8vw, 19px); font-weight: 800;
  letter-spacing: .05em; margin-bottom: 14px; line-height: 1.5;
}
.story-block h4 .accent { color: var(--rf-blue); }
.story-block p { color: var(--sub); font-size: clamp(13.5px, 1.4vw, 15px); }

@media (max-width: 760px) {
  .story-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────
   COMPARE
───────────────────────────────────────────────────── */
.compare { background: var(--gray); padding: var(--section-v) 0; }
.compare .inner { max-width: 960px; margin: 0 auto; padding: 0 var(--gutter); }
.ctable-scroll { overflow-x: auto; margin-top: 40px; -webkit-overflow-scrolling: touch; }
.ctable {
  width: 100%; border-collapse: collapse; background: #fff;
  font-size: clamp(13.5px, 1.5vw, 15.5px); min-width: 540px;
}
.ctable th, .ctable td { border: 1px solid var(--line); padding: clamp(10px, 1.5vw, 16px) 8px; text-align: center; }
.ctable thead th { font-weight: 700; letter-spacing: .04em; background: var(--gray); }
.ctable tbody th {
  text-align: center;
  padding-left: clamp(10px, 1.5vw, 18px); font-weight: 700;
  background: var(--gray2);
}
.ctable .o  { color: var(--rf-blue); font-size: 1.4em; font-weight: 900; }
.ctable .x  { color: #c8c8c8; font-size: 1.2em; }
.ctable .t  { color: var(--rf-yellow); font-size: 1.2em; }
.ctable tbody tr.main { background: #f5ecea; }
.ctable tbody tr.main th {
  background: #f5ecea; color: var(--ink);
}
.ctable tbody tr.main td { border-color: #e4d0d2; }
.ctable tbody tr.main .o { font-size: 1.6em; }
.compare .conc {
  text-align: center; margin-top: 28px;
  font-weight: 700; letter-spacing: .04em; color: var(--ink);
  font-size: clamp(14px, 1.5vw, 16px);
}
.conc-mark {
  background: linear-gradient(transparent 55%, var(--rf-yellow) 55%);
  color: inherit; padding: 0;
}
.ctable .th-short { display: none; }

@media (max-width: 640px) {
  .ctable { font-size: 9px; table-layout: fixed; min-width: 0; }
  .ctable th, .ctable td { padding: 6px 2px; }
  .ctable thead th { font-size: 9px; line-height: 1.25; }
  .ctable .th-full  { display: none; }
  .ctable .th-short { display: inline; }
  .ctable tbody th  { padding-left: 4px; white-space: normal; line-height: 1.2; width: 18%; font-size: 9px; }
  .ctable .o { font-size: 1.1em; }
  .ctable .x, .ctable .t { font-size: 1em; }
  .ctable tbody tr.main .o { font-size: 1.3em; }
}

/* ─────────────────────────────────────────────────────
   OUTLINE
───────────────────────────────────────────────────── */
.outline { padding: var(--section-v) 0; background: var(--gray); }
.dtable { margin-top: 48px; max-width: 840px; margin-left: auto; margin-right: auto; }
.dtable .row {
  display: grid; grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--line);
}
.dtable .row:first-child { border-top: 2px solid var(--rf-navy); }
.dtable dt {
  padding: clamp(16px, 2.5vw, 22px) 16px;
  font-weight: 800; font-size: 13.5px; letter-spacing: .06em;
  color: var(--rf-navy); background: rgba(2,55,95,.04);
}
.dtable dd {
  padding: clamp(16px, 2.5vw, 22px) 20px;
  color: var(--sub); font-size: 14.5px;
}
@media (max-width: 580px) {
  .dtable .row { grid-template-columns: 1fr; }
  .dtable dt { padding-bottom: 4px; background: none; }
  .dtable dd { padding-top: 0; }
}

/* ─────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────── */
.btn {
  display: inline-block; background: var(--rf-navy); color: #fff;
  font-weight: 800; font-size: clamp(15px, 1.6vw, 17px);
  letter-spacing: .08em; padding: clamp(16px, 2.5vw, 20px) clamp(36px, 5vw, 64px);
  border-radius: 3px; border: none; cursor: pointer;
  transition: background .22s, transform .18s, box-shadow .22s;
}
.btn:hover { background: #4a4039; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(92,80,72,.25); }
.btn:active { transform: translateY(0); }
.btn-cta {
  display: inline-block; font-size: clamp(15px, 1.8vw, 18px);
  padding: clamp(16px, 2.5vw, 22px) clamp(40px, 6vw, 72px);
}
@media (max-width: 640px) {
  .btn-cta { width: 100%; font-size: 16px; padding: 18px 24px; }
}

/* ─────────────────────────────────────────────────────
   FIXED CTA
───────────────────────────────────────────────────── */
.float-cta { position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 200; }
.float-cta a {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--rf-red); color: #fff;
  font-weight: 800; font-size: clamp(14px, 1.5vw, 15px);
  letter-spacing: .06em; padding: clamp(14px, 2vw, 18px) clamp(22px, 3vw, 32px);
  border-radius: 50px;
  box-shadow: 0 8px 28px rgba(174,110,118,.45);
  transition: transform .22s, box-shadow .22s;
}
.float-cta a:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(174,110,118,.5); }

@media (max-width: 640px) {
  .float-cta { left: 12px; right: 12px; bottom: 12px; }
  .float-cta a {
    width: 100%; justify-content: center;
    border-radius: 14px; padding: 18px 24px; font-size: 16px;
    box-shadow: 0 8px 28px rgba(174,110,118,.5);
  }
  body { padding-bottom: 80px; }
}

/* ─────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────── */
.footer {
  height: auto;
  min-height: 528px;
  position: relative;
  background-image: url('footer_bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 64px 20px 80px;
  color: #fff;
}
.footerOverlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,.75);
  z-index: 1;
}
.footerContainer {
  max-width: 544px;
  margin: 20px auto 0;
  position: relative;
  z-index: 2;
  padding: 0;
}
.footerContent {
  display: block;
  text-align: center;
}
.footerLogos {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-bottom: 64px;
  flex-direction: column;
}
.footerLogoMain { width: 240px; }
.footerLogoSub  { width: auto; max-height: 70px; }
.footerInfo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 32px;
}
.footerAddress  { font-size: 14px; font-weight: 700; margin: 0; }
.footerContact  { font-size: 20px; font-weight: 700; margin: 0; text-align: center; }
.footerContactTel {
  color: #119CDA;
  text-decoration: none;
}
.footerPrivacy  { font-size: 12px; font-weight: 500; margin-bottom: 40px; }
.footerPrivacyLink {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footerCopyright { font-size: 10px; font-weight: 400; }
