:root {
  --green-900: #12320b;
  --green-800: #1f4c0b;
  --green-700: #2b6512;
  --gold-700: #8f6a1e;
  --gold-500: #c8a550;
  --gold-200: #eadcb0;
  --paper: #f3f1ea;
  --white: #ffffff;
  --ink: #1f1f1f;
  --muted: #5d5d5d;
  --border: #d7ccb0;
  --shadow: 0 18px 40px rgba(10, 24, 6, 0.12);
  --estate-visual-height: 420px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  background:
    linear-gradient(rgba(243, 241, 234, 0.95), rgba(243, 241, 234, 0.98)),
    url("https://www.chibagolf-kai.com/images/detail/common/bg_pt01.jpg");
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.notice-strip {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 10px 16px;
  background: linear-gradient(90deg, #0d49aa, #07357a);
  color: #fff;
  font-weight: 700;
  flex-wrap: wrap;
}

.notice-strip span {
  color: #ffe9a6;
}

.site-header {
  background: linear-gradient(180deg, #fefdf9, #ede8d7);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand img {
  width: 108px;
  object-fit: contain;
}

.brand-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.brand-copy h1 {
  margin: 4px 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
  color: var(--green-900);
}

.header-contact {
  text-align: right;
}

.header-contact p {
  margin: 0;
  color: var(--muted);
}

.tel-link {
  display: inline-block;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  font-weight: 900;
  color: var(--green-800);
  letter-spacing: 0.04em;
}

.nav-wrap {
  background:
    linear-gradient(rgba(31, 76, 11, 0.94), rgba(23, 54, 9, 0.96)),
    url("https://www.chibagolf-kai.com/images/detail/common/bg_pt01.jpg");
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.global-nav {
  display: flex;
  width: 100%;
}

.global-nav a {
  flex: 1;
  padding: 16px 10px;
  color: #fff;
  text-align: center;
  font-weight: 700;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.global-nav a:hover,
.global-nav a:focus-visible {
  background: rgba(145, 109, 31, 0.88);
}

.menu-toggle {
  display: none;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 8px;
  background: #111;
  padding: 12px;
  margin: 10px 0;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: #fff;
  margin: 6px 0;
}

.hero {
  background: #d9e3d0;
}

.hero-slider {
  position: relative;
  min-height: min(68vh, 720px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 29, 6, 0.74), rgba(10, 29, 6, 0.16));
}

.hero-slide img {
  width: 100%;
  height: min(68vh, 720px);
  object-fit: cover;
}

.hero-copy {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  z-index: 1;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  padding: 7px 14px;
  background: rgba(200, 165, 80, 0.92);
  color: #201701;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h2 {
  margin: 14px 0 8px;
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 1.1;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.35);
}

.hero-copy p:last-child {
  max-width: 680px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.hero-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -72px;
  position: relative;
  z-index: 2;
  padding-bottom: 20px;
}

.hero-button {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--green-900);
  font-size: 2rem;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.hero-dots {
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--gold-500);
}

.lead-grid,
.info-columns,
.market-panels,
.real-estate-grid,
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.lead-grid,
.info-columns,
.market-panels,
.real-estate-grid {
  margin-top: 36px;
}

.lead-grid {
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  align-items: stretch;
}

.lead-side {
  display: grid;
  gap: 24px;
  height: calc(var(--estate-visual-height) + 2px);
  align-self: start;
}

.market-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.real-estate-grid {
    grid-template-columns: 1.1fr 1fr 1fr;
    align-items: stretch;
}

.estate-feature {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.estate-visual {
  position: relative;
  height: var(--estate-visual-height);
  min-height: var(--estate-visual-height);
  background: #d6d0bf;
}

.estate-visual img {
  width: 100%;
  height: 100%;
  min-height: var(--estate-visual-height);
  object-fit: cover;
}

.estate-caption {
  padding: 14px 16px 8px;
  font-size: 1.1rem;
  border-top: 1px solid #ece4cf;
}

.panel {
    background: var(--white);
    border: 1px solid rgba(193, 173, 123, 0.42);
    box-shadow: 0 18px 38px rgba(13, 29, 7, 0.1);
    border-radius: 14px;
    transition:
      transform 0.35s ease,
      box-shadow 0.35s ease,
      border-color 0.35s ease;
    backdrop-filter: blur(4px);
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
    gap: 16px;
    padding: 15px 18px;
    background: linear-gradient(180deg, #17480c, #0f2f09);
    color: #fff;
    border-radius: 14px 14px 0 0;
    letter-spacing: 0.01em;
}

.panel-heading h2 {
  margin: 0;
  font-size: 1.1rem;
}

.panel-heading a,
.panel-heading span {
  color: #f2dea0;
  font-weight: 700;
}

.panel-scroll .scroll-area {
  max-height: 430px;
  overflow: auto;
  padding: 18px;
}

.panel-heading-news {
  background: linear-gradient(180deg, var(--green-800), var(--green-900));
}

.original-news-area {
  max-height: none;
  height: 100%;
  padding: 14px 18px 18px;
  background: linear-gradient(180deg, #fdfcf7, #f8f4e8);
}

.panel-scroll {
  display: flex;
  flex-direction: column;
  height: calc(var(--estate-visual-height) + 2px);
}

.panel-scroll .panel-heading {
  flex: 0 0 auto;
}

.panel-scroll .scroll-area {
  flex: 1 1 auto;
}

.original-news-block + .original-news-block {
  margin-top: 20px;
}

.original-news-title {
  margin: 0 0 6px;
  color: #ff0000;
  font-size: 1rem;
  line-height: 1.5;
}

.original-news-title.secondary {
  display: inline;
  margin-right: 8px;
}

.original-news-date {
  margin: 0 0 6px;
  color: #9a9a9a;
  font-size: 0.95rem;
}

.original-news-block p {
  margin: 0 0 4px;
}

.news-entry + .news-entry {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #ece4cf;
}

.news-entry h3,
.stack-list h3,
.recommend-body h3,
.property-list h3,
.updates p {
  margin: 0 0 8px;
}

.news-date {
  margin: 0 0 6px;
  color: var(--green-700);
  font-weight: 700;
}

.featured {
  padding: 16px;
  background: linear-gradient(180deg, #faf5e6, #fefefe);
  border: 1px solid #eadcb0;
}

.market-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: var(--market-card-height);
    padding-bottom: 0;
    overflow: hidden;
}

.market-panels {
    --market-card-height: 420px;
}

.market-heading-link {
    text-decoration: none;
    flex: 0 0 auto;
}

.market-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 0;
    padding: 16px 14px 14px;
    line-height: 0;
    background: linear-gradient(180deg, #faf7ef, #f5efe1);
}

.market-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #ded7c5;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.compact-panel {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    height: var(--market-card-height);
}

.ticker-list,
.buy-list,
.property-list,
.stack-list {
  padding: 18px;
}

.ticker-list {
  list-style: none;
  margin: 0;
  display: grid;
  gap: 12px;
}

.ticker-list li {
    padding: 12px 14px;
    border-left: 5px solid #d2a63e;
    background: linear-gradient(180deg, #faf7ef, #f4efe2);
    font-weight: 700;
    border-radius: 0 10px 10px 0;
}

.stack-list article,
.property-list article {
    padding: 14px 0;
    border-bottom: 1px solid #ede5d0;
}

.stack-list {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: auto;
}

.stack-list article:last-child {
    margin-top: auto;
}

.stack-list article:last-child,
.property-list article:last-child {
    border-bottom: 0;
}

.buy-list {
    list-style: none;
    margin: 0;
    display: grid;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.buy-list li {
    padding: 12px 14px;
    background: linear-gradient(180deg, #fcfbf7, #f2ecde);
    border: 1px solid #e4d8bc;
    border-radius: 10px;
}

.section-title {
  margin-bottom: 28px;
  text-align: center;
}

.section-title p {
  margin: 0;
  color: var(--gold-700);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section-title h2 {
  margin: 6px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--green-900);
}

.recommend-section .section-title p {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.section-title.light h2,
.section-title.light p {
  color: #fff;
}

.recommend-section {
    margin-top: 48px;
    padding: 56px 0;
    background:
      linear-gradient(rgba(16, 46, 8, 0.92), rgba(19, 44, 10, 0.92)),
      url("https://www.chibagolf-kai.com/images/detail/common/bg_pt01.jpg");
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.recommend-card {
    overflow: hidden;
    background: linear-gradient(180deg, #fffefb, #f8f3e8);
    border: 1px solid rgba(226, 214, 183, 0.65);
    border-radius: 20px;
    box-shadow: 0 18px 34px rgba(6, 19, 4, 0.16);
    transition:
      transform 0.35s ease,
      box-shadow 0.35s ease,
      border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}

.recommend-link {
    display: block;
}

.recommend-image {
    height: 220px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #f3efe4;
    border-bottom: 1px solid #eadfbe;
}

.recommend-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.recommend-body h3 a {
    color: inherit;
}

.recommend-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.78;
}

.txt-blue {
  color: #295fbe;
  font-weight: 700;
}

.txt-red {
  color: #d71818;
  font-weight: 700;
}

.txt-strong {
  font-weight: 800;
  color: #1f1f1f;
}

.txt-strong2 {
  font-weight: 800;
  color: #7a5a11;
}

.media-panel {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.embed-card {
  padding: 20px;
  background: linear-gradient(180deg, #faf7ef, #fff);
  border: 1px solid #e9dcc0;
}

.embed-card h2 {
  margin: 0 0 8px;
  color: var(--green-900);
}

.wanted-panel .panel-heading {
  background: linear-gradient(180deg, var(--green-800), var(--green-900));
}

.wanted-list {
    max-height: 244px;
    overflow: auto;
}

.property-feature-card {
    overflow: hidden;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
}

.property-feature-heading {
  padding: 10px 14px;
  text-align: center;
  color: var(--green-800);
  background: #fff;
  border-bottom: 1px solid var(--border);
  font-size: 1.65rem;
  font-weight: 800;
}

.property-feature-link {
    display: block;
    position: relative;
    color: inherit;
    height: 100%;
}

.property-feature-title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 10px 14px;
  background: rgba(26, 88, 18, 0.96);
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.property-feature-link img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: #eef1eb;
}

.property-feature-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  color: #fff;
  line-height: 1.45;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.85);
}

.property-feature-caption p {
  margin: 0;
}

.property-feature-price {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  color: #9ae56a;
  font-size: 2.2rem;
  font-weight: 900;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

.lower-links {
  margin-top: 42px;
  padding: 10px 0 0;
}

.lower-hero {
  position: relative;
  display: block;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.lower-hero img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.lower-hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 24px 30px;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.lower-hero-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.8vw, 2.35rem);
}

.lower-hero-copy p {
  margin: 0;
}

.lower-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
    align-items: stretch;
}

.lower-card {
    background: #fff;
    border: 1px solid rgba(193, 173, 123, 0.4);
    box-shadow: 0 18px 34px rgba(9, 22, 5, 0.11);
    padding: 18px 18px 20px;
    border-radius: 16px;
    transition:
      transform 0.35s ease,
      box-shadow 0.35s ease,
      border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}

.lower-card img {
    width: 100%;
    height: 230px;
    object-fit: contain;
    background: #f4f1e8;
    border-bottom: 4px solid var(--green-900);
}

.lower-card h3 {
  margin: 14px 0 10px;
  font-size: 1.5rem;
  color: var(--green-900);
}

.lower-card h3 a {
  color: inherit;
}

.lower-card p {
    margin: 0;
    line-height: 1.85;
}

.panel:hover,
.recommend-card:hover,
.lower-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 52px rgba(8, 22, 5, 0.18);
    border-color: rgba(200, 165, 80, 0.55);
}

.reveal-up {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
    transition:
      opacity 0.7s ease,
      transform 0.7s ease,
      box-shadow 0.35s ease,
      border-color 0.35s ease;
}

.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.news-band {
  margin-top: 48px;
  padding: 52px 0;
  background: linear-gradient(180deg, #7b5a1a, #4f3610);
}

.updates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.updates article {
    padding: 20px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
}

.updates time {
  display: block;
  margin-bottom: 10px;
  color: #ffe7ac;
  font-weight: 700;
}

.site-footer {
  position: relative;
  background: #141b11;
  color: #f6f2e5;
}

.footer-cta {
  background: linear-gradient(180deg, #214d10, #163509);
}

.footer-cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 32px 0;
}

.footer-label {
  margin: 0;
  color: #f0d285;
  font-weight: 700;
}

.footer-cta h2 {
  margin: 8px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.footer-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-grid {
  padding: 34px 0;
  grid-template-columns: 1fr 0.75fr 1.25fr;
}

.footer-grid h3 {
  margin-top: 0;
  color: #f0d285;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li + li {
  margin-top: 8px;
}

.footer-grid iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
}

.copyright {
  padding: 22px 16px 36px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
    background: linear-gradient(180deg, var(--gold-500), var(--gold-700));
    color: #241703;
    font-weight: 900;
    box-shadow: var(--shadow);
    border: 0;
    cursor: pointer;
    z-index: 30;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    opacity: 0;
    pointer-events: none;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.2);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 700;
  border: 1px solid transparent;
}

.cta-button.large {
  min-height: 52px;
  padding-inline: 22px;
}

.cta-button.gold {
  background: linear-gradient(180deg, #c7a24a, #8f680e);
  color: #fff;
}

.cta-button.dark {
  background: linear-gradient(180deg, #3b3b3b, #171717);
  color: #fff;
}

.cta-button.outline {
  border-color: var(--green-700);
  color: var(--green-900);
  background: transparent;
}

@media (max-width: 1024px) {
  .lead-grid,
  .info-columns,
  .market-panels,
  .real-estate-grid,
  .lower-grid,
  .recommend-grid,
  .updates,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-cta-inner,
  .header-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-contact {
    text-align: left;
  }

  .lead-grid {
    grid-template-columns: 1fr;
  }

  .lead-side,
  .panel-scroll {
    height: auto;
  }

  .market-panels {
    --market-card-height: auto;
  }

  .market-card,
  .compact-panel {
    height: auto;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-shell {
    justify-content: space-between;
    padding: 0 0 10px;
  }

  .global-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    flex-direction: column;
    background: #1f4c0b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow);
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav a {
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-controls {
    margin-top: -58px;
  }

  .hero-copy {
    bottom: 10%;
  }

  .estate-visual,
  .estate-visual img {
    height: 320px;
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 20px, 1180px);
  }

  .brand {
    align-items: flex-start;
  }

  .brand img {
    width: 80px;
  }

  .hero-slider,
  .hero-slide img {
    min-height: 72svh;
    height: 72svh;
  }

  .hero-copy h2 {
    font-size: 1.85rem;
  }

  .notice-strip {
    font-size: 0.9rem;
  }

  .hero-button {
    width: 44px;
    height: 44px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}
