/* ==========================================================================
   Mimosa Court（ミモザコート）LP
   ========================================================================== */

:root {
  --ivory: #FAF7F1;
  --beige: #F2E9DC;
  --beige-deep: #E1D3BE;
  --green: #93A587;
  --green-deep: #6E8264;
  --green-pale: #E5EBDF;
  --yellow: #E8C25A;
  --yellow-pale: #F6EACB;
  --text: #4A4038;
  --text-sub: #8A8074;
  --white: #FFFFFF;

  --font-serif: 'Shippori Mincho', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--ivory);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 16px 20px;
  background: rgba(250, 247, 241, 0.9);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.site-header.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.site-header__inner {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.site-header__name {
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 0.05em;
  color: var(--green-deep);
}
.site-header__sub {
  font-size: 11px;
  color: var(--text-sub);
  letter-spacing: 0.1em;
}

/* ---------- 1. ファーストビュー ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-image: url('mimosa-court-main.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40, 34, 28, 0.35) 0%, rgba(40, 34, 28, 0.25) 35%, rgba(40, 34, 28, 0.75) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 24px 90px;
  color: var(--white);
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  margin: 0 0 18px;
  opacity: 0.9;
}
.hero__title {
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero__title-en {
  font-family: var(--font-serif);
  font-size: clamp(34px, 9vw, 56px);
  letter-spacing: 0.04em;
}
.hero__title-ja {
  font-size: 14px;
  letter-spacing: 0.35em;
  font-weight: 400;
}
.hero__copy {
  font-family: var(--font-serif);
  font-size: clamp(20px, 5.2vw, 28px);
  line-height: 1.6;
  margin: 0 0 16px;
}
.hero__desc {
  font-size: 14px;
  letter-spacing: 0.03em;
  line-height: 1.9;
  opacity: 0.95;
  margin: 0 0 28px;
}
.hero__badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.hero__badges li {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(3px);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.hero__scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.2em;
}
.hero__scroll span {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: scrollLine 1.8s infinite ease-in-out;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ---------- 共通セクション ---------- */
.section { padding: 104px 24px; max-width: 1120px; margin: 0 auto; }
.section__head { text-align: center; margin-bottom: 64px; }
.section__label {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--green-deep);
  margin: 0 0 12px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.section__label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4.5vw, 32px);
  line-height: 1.6;
  margin: 0;
  color: var(--text);
}
.sp-only { display: none; }

/* ---------- コンセプト ---------- */
.concept { background: var(--ivory); padding-bottom: 40px; }
.concept__text {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  font-size: 15px;
  line-height: 2.1;
  color: var(--text-sub);
}

/* ---------- 2. おすすめポイント ---------- */
.points { background: var(--ivory); padding-top: 40px; }
.points__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.points__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--beige-deep);
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--text);
  box-shadow: 0 8px 20px rgba(140, 120, 90, 0.06);
}
.points__icon { font-size: 18px; }

/* ---------- 3. 暮らしをイメージ ---------- */
.lifestyle { background: var(--beige); }
.lifestyle__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 88px;
}
.lifestyle__row:last-child { margin-bottom: 0; }
.lifestyle__row--reverse { direction: rtl; }
.lifestyle__row--reverse > * { direction: ltr; }
.lifestyle__image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
}
.lifestyle__image img { width: 100%; height: 100%; object-fit: cover; }
.lifestyle__tag {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--green-deep);
  margin: 0 0 14px;
  text-transform: uppercase;
}
.lifestyle__title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3.6vw, 25px);
  line-height: 1.7;
  margin: 0 0 18px;
}
.lifestyle__desc {
  font-size: 14px;
  color: var(--text-sub);
  margin: 0;
  line-height: 2;
}

/* ---------- 4. 写真ギャラリー ---------- */
.gallery { background: var(--ivory); }
.gallery__full {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(140, 120, 90, 0.1);
}
.gallery__full img {
  display: block;
  width: 100%;
  height: auto;
}
.gallery__full figcaption {
  padding: 16px 20px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--text-sub);
  text-align: center;
}

/* ---------- 5. 設備・仕様 ---------- */
.equipment { background: var(--green-pale); }
.equipment__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.equipment__item {
  background: var(--white);
  border-radius: 16px;
  padding: 26px 16px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text);
  box-shadow: 0 8px 22px rgba(140, 120, 90, 0.07);
}
.equipment__icon {
  display: block;
  font-size: 26px;
  margin-bottom: 12px;
}

/* ---------- 6. 間取り・物件概要 ---------- */
.overview { background: var(--ivory); }
.overview__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.overview__plan {
  background: var(--white);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(140, 120, 90, 0.08);
}
.overview__plan img { border-radius: 10px; width: 100%; }
.overview__plan-caption {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--green-deep);
  margin: 16px 0 4px;
  letter-spacing: 0.05em;
}
.overview__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(140, 120, 90, 0.08);
}
.overview__table tr { border-bottom: 1px solid var(--beige); }
.overview__table tr:last-child { border-bottom: none; }
.overview__table th,
.overview__table td {
  text-align: left;
  padding: 16px 22px;
  font-size: 14px;
  font-weight: 400;
}
.overview__table th {
  width: 38%;
  color: var(--text-sub);
  letter-spacing: 0.04em;
  background: var(--ivory);
}
.overview__table td { color: var(--text); }

/* ---------- 7. アクセス ---------- */
.access { background: var(--beige); }
.access__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.access__map {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background: repeating-linear-gradient(45deg, var(--beige-deep), var(--beige-deep) 10px, var(--green-pale) 10px, var(--green-pale) 20px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.access__map span {
  background: var(--white);
  color: var(--green-deep);
  font-family: var(--font-serif);
  letter-spacing: 0.2em;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 999px;
}
.access__address {
  font-family: var(--font-serif);
  font-size: 18px;
  margin: 0 0 20px;
  color: var(--text);
}
.access__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.access__list li {
  font-size: 14px;
  color: var(--text-sub);
  padding-left: 20px;
  position: relative;
}
.access__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.access__note {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.9;
  margin: 0;
}

/* ---------- 8. まとめ ---------- */
.closing {
  background: linear-gradient(160deg, var(--green-deep), var(--green));
  color: var(--white);
  text-align: center;
  padding: 100px 24px;
}
.closing__inner { max-width: 620px; margin: 0 auto; }
.closing__label {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.3em;
  opacity: 0.85;
  margin: 0 0 20px;
}
.closing__title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.7;
  margin: 0 0 30px;
}
.closing__text {
  font-size: 14px;
  line-height: 2.1;
  opacity: 0.95;
  margin: 0;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 56px 24px 36px;
}
.site-footer__logo {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--white);
  margin: 0 0 4px;
}
.site-footer__logo-sub {
  font-size: 11px;
  letter-spacing: 0.3em;
  opacity: 0.7;
  margin: 0 0 18px;
}
.site-footer__tagline {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--yellow);
  letter-spacing: 0.05em;
  margin: 0 0 28px;
}
.site-footer__disclaimer {
  font-size: 12px;
  line-height: 1.9;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0.7;
}

/* ==========================================================================
   レスポンシブ（タブレット・スマートフォン）
   ========================================================================== */
@media (max-width: 860px) {
  .equipment__list { grid-template-columns: repeat(2, 1fr); }
  .lifestyle__row,
  .lifestyle__row--reverse { grid-template-columns: 1fr; }
  .lifestyle__row--reverse { direction: ltr; }
  .overview__wrap,
  .access__wrap { grid-template-columns: 1fr; }
  .section { padding: 80px 20px; }
}

@media (max-width: 520px) {
  .sp-only { display: inline; }
  .section { padding: 64px 18px; }
  .section__head { margin-bottom: 40px; }
  .equipment__list { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .points__list { gap: 10px; }
  .points__item { padding: 11px 18px; font-size: 13px; }
  .lifestyle__row { gap: 22px; margin-bottom: 52px; }
  .hero__content { padding: 32px 20px 70px; }
  .hero__badges { gap: 8px; }
}
