:root {
  --cream: #FFFBF0;        /* ベース背景 */
  --ink: #3B3B3A;          /* 本文色 */
  --heading: #363635;      /* 見出し色 */
  --blue: #23648C;         /* セクション帯・強みラベル・フッター */
  --blue-light: #5E93B7;   /* お問い合わせボタン */
  --blue-icon: #689ABA;    /* チェックアイコン */
  --gray-ph: #D9D9D9;      /* 画像プレースホルダー */
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;          /* 通常の明朝 */
  --shippori: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif; /* 「強み」ラベル専用 */
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 2;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.inner {
  max-width: 1244px;   /* コンテンツ実測 1196px + 左右padding */
  margin: 0 auto;
  padding: 0 24px;
  font-feature-settings: "palt";
}

/* ================= ヒーロー ================= */
.hero {
  position: relative;
  aspect-ratio: 1920 / 743;
  overflow: hidden;
  background: var(--cream);
}
.hero__slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  animation: heroFade2 12s infinite;   /* PCは2枚 */
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
}
.hero__slide:nth-of-type(2) { animation-delay: 6s; }
.hero__slide--sp { display: none; }    /* 3枚目はSPのみ */

@keyframes heroFade2 {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  50%  { opacity: 1; }
  58%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes heroFade3 {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  33%  { opacity: 1; }
  38%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide { animation: none; }
  .hero__slide:first-of-type { opacity: 1; }
}
.hero__mask {
  position: absolute;
  top: -1px;
  left: 0;
  height: 101%;
  z-index: 1;
  pointer-events: none;
  display: block;
}
.hero__mask img {
  height: 100%;
  width: auto;
  display: block;
}
.hero__title {
  position: absolute;
  top: 44%;
  left: 6.5vw;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 7vw, 90px);
  line-height: 1.55;
  letter-spacing: 0.08em;
  color: #2E2E2D;
  z-index: 2;
}
.hero__title .line { display: block; }

/* ================= リード文 ================= */
.lead {
  position: relative;
  padding: 96px 24px 130px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(16px, 1.15vw, 21px);
  line-height: 2.3;
}
.lead p + p { margin-top: 2.2em; }
.lead__illust {
  position: absolute;
  right: 8%;
  top: -60px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}
.lead__illust .tree  { width: clamp(70px, 8vw, 155px); }
.lead__illust .house { width: clamp(70px, 8vw, 153px); }

/* ================= 街並みバンド ================= */
.band {
  position: relative;
  background: url("../images/catch.png") center / cover no-repeat;
  min-height: clamp(260px, 23.3vw, 447px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 40, 50, 0.18);
}
.band__nav {
  position: relative;
  text-align: center;
  color: #fff;
  font-family: var(--serif);
}
.band__nav .band__text1 {
  display: inline-block;
  font-size: clamp(20px, 1.8vw, 30px);
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
  font-family: var(--sans);  
  font-weight: 500;    
}
.band__nav .band__text2 {
  display: inline-block;
  font-size: clamp(20px, 1.8vw, 30px);
  letter-spacing: 0.28em;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
  font-family: var(--sans);    
  font-weight: 500;    
}
.band__plus {
  margin: 18px 0;
  font-size: clamp(26px, 2.4vw, 40px);
  color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
  display: inline-block;
  font-family: var(--sans);  
  font-weight: 800;  
}
.band__center { display: flex; flex-direction: column; align-items: center; }

/* ================= 強みセクション ================= */
.strength { padding-bottom: clamp(56px, 6vw, 110px); }

/* 帯見出し */
.sec-band {
  background: linear-gradient(90deg, #21628C 0%, #4E81A0 50%, #799FB4 100%);
  color: #fff;
  padding: clamp(18px, 1.55vw, 30px) 0;
  margin-bottom: clamp(40px, 3.4vw, 64px);
}
.sec-band__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp( 1.3rem, 1.25vw, 24px);
  line-height: 1.5;
}
.sec-band__sub {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 0.9vw, 20px);
  line-height: 1.7;
  margin-top: 6px;
  font-weight: 300; 
}

/* 強みアイテム */
.point {
  display: grid;
  grid-template-columns: clamp(30px, 2.5vw, 48px) minmax(0, 590fr) clamp(240px, 22.3vw, 428px);
  column-gap: clamp(20px, 2.6vw, 50px);
  align-items: start;
  margin-bottom: clamp(48px, 4.6vw, 88px);
}
.point:last-child { margin-bottom: 0; }
.point--nophoto { grid-template-columns: clamp(30px, 2.5vw, 48px) minmax(0, 1fr); }
.point__photo { justify-self: end; }

/* 「強」「み」「1」を縦に積む */
.point__label {
  font-family: var(--shippori);
  color: #2D6B91;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 46px);
  line-height: 1.28;
  text-align: center;
  writing-mode: horizontal-tb;
  word-break: break-all;
  padding-top: 2px;
}
.point__label span { display: block; }

.point__heading {
  color: var(--heading);
  font-weight: 500;
  font-size: clamp(1.2rem, 1vw, 22px);
  letter-spacing: 0.04em;
  line-height: 1.7;
  margin-bottom: 26px;
}
.point__body p {
  font-size: clamp(1rem, 0.9vw, 18px);
  line-height: 2;
  letter-spacing: 0.03em;
}
.point__body p + p { margin-top: 1.7em; }
.point__body h4 {
  font-size: clamp(1rem, 0.9vw, 18px);
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-top: 1.9em;
}

.point__photo img,
.point__photo .ph {
  width: 100%;
  aspect-ratio: 428 / 284;
  object-fit: cover;
}


/* ================= 不動産サポート ================= */
.fudosan {
  position: relative;
  padding-bottom: 110px;
  isolation: isolate;
}
.fudosan::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/support_catch.jpg") center top / cover no-repeat;
}
/* 上ほどクリームが濃く、下へ向かって写真が見えてくる(カンプ実測) */
.fudosan::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    var(--cream) 0%,
    rgba(255, 251, 240, 0.85) 11%,
    rgba(255, 251, 240, 0.30) 26%,
    rgba(255, 251, 240, 0.18) 48%,
    rgba(255, 251, 240, 0.08) 70%,
    rgba(255, 251, 240, 0) 92%
  );
}

.sec-head {
  text-align: center;
  padding-top: 96px;
  margin-bottom: 56px;
}
.sec-head__icon {
  display: block;
  font-size: clamp(26px, 1.9vw, 36px);
  color: #6699B9;
  margin: 0 auto 22px;
}
.sec-head__title {
  font-weight: 500;
  font-size: clamp(1.4rem, 1.5vw, 28px);
  letter-spacing: 0.1em;
}

.fudosan__cards {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 1vw, 30px);
  margin-bottom: clamp(56px, 6.5vw, 125px);
}
.card {
  position: relative;
  display: block;
  width: min(480px, 100%);
  transition: opacity .25s;
}
.card:hover { opacity: .88; }
.card img { width: 100%; aspect-ratio: 600 / 180; object-fit: cover;   border-radius: 5px; }

/* 写真の上に重なる半透明の白帯(カンプ実測: 高さ25.6% / 白60%) */
.card__bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 38.3%;
  height: 25.6%;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1vw, 19px);
}
.card__text {
  font-weight: 500;
  font-size: clamp(1.2rem, 1vw, 20px);
  color: #2F2F2F;
  line-height: 1;
}
.card__bar i {
  font-size: clamp(15px, 1.25vw, 24px);
  color: #2F2F2F;
  background: #fff;
  border-radius: 50%;
  line-height: 1;
}

.contact {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  margin-bottom: 90px;
}
.contact__photo {
  width: min(480px, 100%);
  object-fit: cover;
  align-self: stretch;
}
.contact__box {
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
  padding: 44px 56px;
  text-align: center;
  width: min(480px, 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact__pill {
  display: inline-block;
  background: var(--blue-light);
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  padding: 8px 44px;
  border-radius: 999px;
  margin-bottom: 22px;
  transition: opacity .25s;
}
.contact__pill:hover { opacity: .85; }
.contact__box p {
  font-size: 1rem;
}

.renove { text-align: center; }
.renove__note {
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 26px;
}
.renove__logo { display: inline-block; }
.renove__logo img { width: min(300px, 100vw); }

/* ================= フッター ================= */
.footer {
  background: #21628C;
  color: #fff;
  text-align: center;
  font-size: clamp(14px, 0.83vw, 16px);
  letter-spacing: 0.1em;
  padding: clamp(30px, 7.6vw, 30px) 16px;
}
.footer .sep { margin: 0 1.4em; opacity: .8; }

/* ================= スクロールアニメーション ================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__title .line {
    opacity: 0;
    transform: translateY(0.35em);
    animation: rise .9s cubic-bezier(.22, 1, .36, 1) forwards;
  }
  .hero__title .line:nth-child(2) { animation-delay: .15s; }
  @keyframes rise {
    to { opacity: 1; transform: none; }
  }
}

/* ================= レスポンシブ ================= */
@media (max-width: 900px) {
  .point {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .point__photo {
    grid-column: 2;
    order: -1;
    max-width: 430px;
  }
  .point__label { font-size: 18px; }
  .point__label span { font-size: 26px; }
}

@media (max-width: 820px) {
  .hero__title { line-height: 1.45; }
  .lead { padding-top: 120px; }
  .lead__illust { top: -40px; right: 5%; }
  .contact__box { padding: 32px 24px; }
  .band { min-height: 250px; }
  .fudosan__cards { flex-wrap: wrap; } 
}


/* ================= スマートフォン (SPカンプ 480px基準) ================= */
@media (max-width: 767px) {
  html { font-size: 14px; }
  
  /* ヒーロー: 縦長(480 : 400)に切り替え、スライドは3枚 */
  .hero { aspect-ratio: 480 / 400; }
  .hero__slide {
    animation-name: heroFade3;
    animation-duration: 18s;
  }
  .hero__slide:nth-of-type(2) { animation-delay: 6s; }
  .hero__slide--sp {
    display: block;
    animation-delay: 12s;
  }
  .hero__slide img { object-position: center; }

  .hero__title {
    top: 62.5%;
    left: 7.5vw;
    font-size: 8.33vw;          /* カンプ 40px / 480px */
    line-height: 1.48;
    letter-spacing: 0.18em;
  }

  /* リード文: 左揃え・装飾イラストは非表示 */
  .lead {
    padding: 40px 5vw;
    text-align: left;
    font-size: clamp(1rem, 3.13vw, 17px);   /* カンプ 15px / 480px */
    line-height: 2;
  }
  .lead p + p { margin-top: 2em; }
  .lead__illust { display: none; }

  .point {
    grid-template-columns: 30px minmax(0, 1fr);
  }
  .point__heading {
    margin: 24px 0 10px;
  }
  .sec-band {
    margin-bottom: 24px;
  }  
}