@charset "UTF-8";

/* =====================================================
   Concept House Detail Common
===================================================== */

:root {
  --text: #2f2f2f;
  --muted: #666;
  --brown: #7b6f63;
  --brown-light: #c9c0b5;
  --bg: #f7f4ef;
  --bg-light: #faf8f5;
  --border: #e4ddd4;
  --dark: #1f2f31;
  --inner: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =====================================================
   Common
===================================================== */

.concept-detail {
  overflow: hidden;
}

.detail-inner {
  width: min(var(--inner), calc(100% - 56px));
  margin: 0 auto;
}

.detail-section {
  padding: 90px 0;
  background: #fff;
}

.detail-section--light {
  background: var(--bg);
}

.detail-label {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--brown);
}

.detail-section h2,
.detail-next h2 {
  margin: 0 0 42px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.detail-section p {
  margin: 0;
  font-size: 15px;
  line-height: 2.15;
  color: #3f4648;
}

.detail-section p + p {
  margin-top: 24px;
}

.note {
  margin-top: 24px;
  font-size: 12px !important;
  line-height: 1.9 !important;
  color: #777 !important;
}

/* =====================================================
   FV
===================================================== */

.detail-fv {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
  background: #111;
}

.detail-fv__image {
  position: absolute;
  inset: 0;
}

.detail-fv__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.52) 0%,
      rgba(0, 0, 0, 0.28) 45%,
      rgba(0, 0, 0, 0.04) 100%
    );
}

.detail-fv__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-fv__content {
  position: relative;
  z-index: 1;
  width: min(var(--inner), calc(100% - 56px));
  min-height: 82vh;
  margin: 0 auto;
  padding: 120px 0 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.detail-fv__content .detail-label {
  color: #fff;
  margin-bottom: 26px;
}

.detail-fv__content h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.1em;
}

.detail-fv__content p {
  margin: 32px 0 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 2.1;
  color: #fff;
}

/* =====================================================
   Check List
===================================================== */

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 18px 20px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  font-size: 15px;
}

/* =====================================================
   Gallery
===================================================== */

.photo-scroll {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 0 0 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.photo-scroll figure {
  flex: 0 0 64%;
  max-width: 680px;
  margin: 0;
  scroll-snap-align: center;
}

.photo-scroll img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.photo-scroll figcaption {
  padding-top: 14px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.photo-scroll::-webkit-scrollbar {
  height: 6px;
}

.photo-scroll::-webkit-scrollbar-thumb {
  background: var(--brown-light);
  border-radius: 999px;
}

/* =====================================================
   Plan
===================================================== */

.plan-image {
  margin-top: 50px;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--border);
}

.detail-section:not(.detail-section--light) .plan-image {
  background: var(--bg-light);
}

.plan-image img {
  max-width: 900px;
  margin: 0 auto;
}

/* =====================================================
   VR
===================================================== */

.vr-wrap {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 46px auto 0;
  aspect-ratio: 850 / 550;
  background: #eee;
}

.vr-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =====================================================
   Exterior
===================================================== */

.exterior-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.exterior-grid figure {
  margin: 0;
}

.exterior-grid img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.exterior-grid figcaption {
  padding-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

/* =====================================================
   Price
===================================================== */

.price-box {
  width: min(100%, 520px);
  margin: 36px auto;
  padding: 28px 24px;
  border: 1px solid var(--border);
  background: #fff;
  text-align: center;
}

.price-box__label {
  margin: 0 0 8px !important;
  font-size: 13px !important;
  color: var(--muted) !important;
}

.price-box__price {
  margin: 0 !important;
  font-size: clamp(30px, 4vw, 44px) !important;
  font-weight: 600;
  line-height: 1.3 !important;
  color: var(--brown) !important;
  letter-spacing: 0.03em;
}

.price-box--total {
  background: var(--bg-light);
}

.price-list {
  width: min(100%, 520px);
  margin: 28px auto 0;
  padding: 22px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.price-list p {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 2 !important;
}

.price-list p + p {
  margin-top: 4px !important;
}

/* =====================================================
   Loan
===================================================== */

.loan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 24px;
}

.loan-card {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--border);
  text-align: center;
}

.loan-card p {
  margin: 0 !important;
  font-size: 13px !important;
  color: var(--muted) !important;
}

.loan-card strong {
  display: block;
  margin: 8px 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  color: var(--brown);
}

.loan-card span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

/* =====================================================
   Next
===================================================== */

.detail-next {
  padding: 110px 0;
  background: #fff;
  text-align: center;
}

.detail-next h2 {
  margin-bottom: 44px;
}

.detail-next__links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.detail-next__links a {
  min-width: 230px;
  padding: 16px 28px;
  border: 1px solid var(--dark);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.35s ease, color 0.35s ease;
}

.detail-next__links a:hover {
  background: var(--dark);
  color: #fff;
}

.detail-next__lead{
    max-width:700px;
    margin:0 auto 32px;
    line-height:2;
    color:#666;
}

.detail-next__divider{
    margin:80px auto;
    border:none;
    border-top:1px solid #ddd;
    max-width:800px;
}

/* =====================================================
   Footer
===================================================== */

.site-footer {
  padding: 100px 24px 84px;
  text-align: center;
  background: var(--bg);
}

.site-footer__text {
  margin: 0 0 34px;
  font-size: 14px;
  color: #4c4034;
}

.site-footer__logo {
  display: inline-block;
}

.site-footer__logo img {
  width: 220px;
  margin: 0 auto;
}

/* =====================================================
   Responsive
===================================================== */

@media (max-width: 768px) {
  .detail-inner {
    width: min(100% - 32px, 560px);
  }

  .detail-section {
    padding: 64px 0;
  }

  .detail-section h2,
  .detail-next h2 {
    margin-bottom: 34px;
    font-size: 27px;
    line-height: 1.75;
  }

  .detail-section p {
    font-size: 14px;
    line-height: 2.05;
  }

  .detail-fv {
    min-height: 86vh;
  }

  .detail-fv__image::after {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.56) 100%
      );
  }

  .detail-fv__content {
    width: calc(100% - 40px);
    min-height: 86vh;
    justify-content: flex-end;
    padding: 100px 0 84px;
  }

  .detail-fv__content h1 {
    font-size: 40px;
    line-height: 1.45;
  }

  .detail-fv__content p {
    font-size: 14px;
    line-height: 2;
  }

  .check-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .check-list li {
    padding: 16px 18px;
    font-size: 14px;
  }

  .photo-scroll {
    gap: 18px;
    margin-inline: -16px;
    padding: 0 16px 22px;
  }

  .photo-scroll figure {
    flex: 0 0 86%;
  }

  .plan-image {
    margin-top: 36px;
    padding: 20px;
  }

  .vr-wrap {
    margin-top: 34px;
  }

  .exterior-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .price-box {
    width: 100%;
    margin: 30px auto;
    padding: 24px 20px;
  }

  .price-list {
    width: 100%;
    padding: 20px;
  }

  .loan-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .loan-card {
    padding: 24px 20px;
  }

  .detail-next {
    padding: 82px 0;
  }

  .detail-next__links {
    flex-direction: column;
    align-items: center;
  }

  .detail-next__links a {
    width: 100%;
    max-width: 330px;
  }

  .site-footer {
    padding: 84px 24px 72px;
  }

  .site-footer__logo img {
    width: 200px;
  }
}