/*
 * LP: 満池谷町II・7号地
 * Theme-shared header/footer WordPress template: page-lp_manchidani7.php
 * The scope prefix "m7-" prevents styles from affecting other pages.
 * Assets: /themes/cecela/images/lp_manchidani7/ (JPEG .jpg / PNG .png only)
 * Design reference: 満池谷7_LP1.pdf + 満池谷7_LP2.pdf
 *
 * Desktop content width ~81% of the viewport, as in the PDF.
 */

.manchi-lp {
  --m7-gold: #a37b3d;
  --m7-ink: #171411;
  --m7-muted: #6b6660;
  --m7-night: #07061d;
  --m7-sticky-top: 0px;
  --m7-nav-height: 62px;
  --m7-mincho: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", "MS PMincho", serif;
  --m7-gothic: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  width: 100%;
  min-width: 0;
  color: var(--m7-ink);
  background: #fff;
  font-family: var(--m7-mincho);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .06em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.manchi-lp *, .manchi-lp *::before, .manchi-lp *::after { box-sizing: border-box; }
.manchi-lp h1, .manchi-lp h2, .manchi-lp h3, .manchi-lp p,
.manchi-lp figure, .manchi-lp dl, .manchi-lp ul { margin: 0; padding: 0; }
.manchi-lp a { color: inherit; text-decoration: none; }
.manchi-lp a:hover { opacity: .78; }
.manchi-lp a:focus-visible, .manchi-lp summary:focus-visible { outline: 3px solid var(--m7-gold); outline-offset: 4px; }
.manchi-lp img { display: block; width: 100%; max-width: 100%; height: auto; border: 0; }
.manchi-lp button { font: inherit; }
.manchi-lp figure { display: block; }
.manchi-lp > #m7-main > section[id] { scroll-margin-top: calc(var(--m7-sticky-top) + var(--m7-nav-height) + 18px); }
.manchi-lp > #m7-main { display: block; width: 100%; max-width: none; margin: 0; padding: 0; background: transparent; }
.manchi-lp > #m7-main > section { margin: 0; }
.m7-skip {
  position: fixed; left: 16px; top: -100px; z-index: 10000;
  background: #fff; padding: 12px 18px; color: #151515;
}
.m7-skip:focus { top: 12px; }

/* Interior horizontal geometry: x ~185px when the PDF width is 1920px. */
.manchi-lp .m7-container { width: 80.7%; max-width: 1600px; margin-inline: auto; }
.manchi-lp .m7-section-pad { padding-block: clamp(95px, 7vw, 142px) clamp(110px, 9vw, 180px); }
.m7-section-eyebrow { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.m7-section-num {
  color: var(--m7-gold); font-family: var(--m7-mincho); font-size: clamp(32px, 2.8vw, 54px);
  line-height: 1.05; font-weight: 400; letter-spacing: .15em;
}
.m7-section-en { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(16px, 1.25vw, 24px); letter-spacing: .13em; line-height: 1.25; }
.m7-section-title {
  font-family: var(--m7-mincho); font-size: clamp(29px, 2.3vw, 44px);
  line-height: 1.73; font-weight: 400; letter-spacing: .135em;
  margin-top: clamp(35px, 2.7vw, 54px) !important;
}
.m7-body-text { font-size: clamp(15px, 1.02vw, 19px); line-height: 1.9; letter-spacing: .075em; }
.m7-copy-narrow { max-width: 570px; margin-top: 44px !important; }

/* White anchor navigation. Inline JS pins it below the shared theme header.
   It returns to the LP flow near the shared theme footer. */
#m7-anchor-nav {
  box-sizing: border-box;
  position: relative; /* In normal flow until JS pins it to the viewport. */
  z-index: 900;
  isolation: isolate;
  font-family: Georgia, "Times New Roman", serif;
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  background: #fff !important;
  border: 0;
  border-bottom: 1px solid #efede9;
  box-shadow: 0 3px 16px rgba(0,0,0,.04);
  padding: 10px 20px;
}
#m7-anchor-nav *, #m7-anchor-nav *::before, #m7-anchor-nav *::after { box-sizing: border-box; }
#m7-anchor-nav .m7-anchor-nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(13px, 2.25vw, 34px);
  max-width: 1600px;
  margin-inline: auto;
}
#m7-anchor-nav a {
  display: inline-block;
  flex: none;
  /* Matches the serif styling of the LOCATION heading in the supplied image. */
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(13px, 1.1vw, 17px);
  letter-spacing: .12em;
  line-height: 1.3;
  white-space: nowrap;
  color: #202020;
  text-decoration: none;
  padding-block: 2px;
}
#m7-anchor-nav a:hover,
#m7-anchor-nav a:focus-visible { color: var(--m7-gold); opacity: 1; }


#m7-anchor-nav.m7-is-floating {
  position: fixed !important;
  top: var(--m7-sticky-top, 0px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9800 !important;
  margin: 0 !important;
  background: #fff !important;
}
.m7-nav-slot { display: block; width: 100%; height: 0; }
.m7-header-slot { display: block; width: 100%; }

/* HERO ------------------------------------------------------- */
.m7-hero { width: 100%; background: var(--m7-night); color: #fff; }
.m7-hero-visual {
  position: relative;
  width: 100%; min-height: clamp(550px, 46.4vw, 925px);
  background-image: linear-gradient(90deg, rgba(4, 3, 27, .56), rgba(4, 3, 27, .13) 48%, transparent 78%), url('../images/lp_manchidani7/hero.jpg');
  background-repeat: no-repeat; background-size: cover; background-position: center center;
}
.m7-hero-inner { min-height: inherit; display: flex; align-items: flex-start; }
.m7-hero-copy { padding-top: clamp(145px, 13.4vw, 265px); width: min(720px, 54%); }
.m7-hero-copy h1 { font-size: clamp(37px, 3.1vw, 61px); line-height: 1.53; font-weight: 400; letter-spacing: .17em; }
.m7-hero-copy p { font-size: clamp(17px, 1.45vw, 28px); line-height: 1.75; letter-spacing: .09em; margin-top: 24px; }
.m7-hero-bar {
  position: relative; margin-top: -1px; background: linear-gradient(180deg, #09091f 0%, #05051a 100%);
  padding: 17px 0 clamp(33px, 3.1vw, 59px);
}
.m7-hero-facts { color: #fff; font-size: clamp(14px, 1.34vw, 26px); letter-spacing: .15em; line-height: 1.7; white-space: normal; }
.m7-facts-divider { opacity: .75; margin: 0 .34em; }
.m7-hero-bottom { display: flex; gap: 20px; align-items: flex-end; justify-content: space-between; margin-top: 12px; }
.m7-price { display: flex; align-items: baseline; white-space: nowrap; line-height: 1.1; color: #fff; }
.m7-price-number { font-family: Georgia, var(--m7-mincho); font-size: clamp(44px, 4.55vw, 88px); letter-spacing: .15em; }
.m7-price-unit { font-size: clamp(22px, 2.2vw, 42px); letter-spacing: .1em; margin-left: .23em; }
.m7-hero-ctas { display: grid; grid-template-columns: 1fr 1.2fr; width: 58%; gap: 28px; }
.m7-btn {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  min-height: clamp(62px, 5.4vw, 105px);
  padding: 12px 22px; text-align: center; letter-spacing: .12em;
  white-space: nowrap; font-size: clamp(14px, 1.15vw, 22px);
  transition: opacity .2s ease; font-family: var(--m7-mincho);
}
.m7-btn > span { margin-left: clamp(5px, 1vw, 20px); }
.m7-btn-gold { background: var(--m7-gold); color: #fff !important; }
.m7-btn-white { background: #fff; color: #15131a !important; }

/* 01 LOCATION ----------------------------------------------- */
.m7-location { background: #fff; }
.m7-location-photo {
  width: 100%; aspect-ratio: 1920 / 1100;
  min-height: 650px;
  background: url('../images/lp_manchidani7/location-main.jpg') center / cover no-repeat;
}
.m7-location-copy { padding-top: clamp(35px, 3.2vw, 65px); }
.m7-location-copy .m7-section-title { margin-top: 48px !important; }
.m7-location-copy .m7-body-text { margin-top: 34px !important; }
.m7-access-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px;
  padding-block: 68px clamp(92px, 9vw, 175px);
}
.m7-access-item img { aspect-ratio: 1.5; width: 100%; object-fit: cover; }
.m7-access-item figcaption { margin-top: 15px; font-size: clamp(12px, .77vw, 16px); letter-spacing: .025em; line-height: 1.6; }
.m7-access-item figcaption span { margin-left: .6em; white-space: nowrap; }

/* 02 LAND STORY -------------------------------------------- */
.m7-land { position: relative; min-height: clamp(760px, 72vw, 1380px); overflow: hidden; background: #fff; }
.m7-land-picture {
  position: absolute; top: 0; right: 0; bottom: 8%; width: 45.3%;
  background: url('../images/lp_manchidani7/land-story.jpg') center / cover no-repeat;
}
.m7-land-content { position: relative; z-index: 1; padding-top: clamp(80px, 6vw, 120px); }
.m7-land-copy { width: 49%; }
.m7-land-copy .m7-section-title { margin-top: 56px !important; }
.m7-land-copy .m7-body-text { margin-top: 40px !important; }

/* 03 PERFORMANCE ------------------------------------------ */
.m7-performance .m7-section-title { margin-top: 54px !important; }
.m7-performance-lead { max-width: 1450px; margin-top: 30px !important; }
.m7-performance-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 29px;
  margin-top: clamp(58px, 4.5vw, 87px);
}
.m7-performance-card { text-align: center; }
.m7-performance-card img { aspect-ratio: 1.51; object-fit: cover; }
.m7-performance-card h3 { font-size: clamp(21px, 1.42vw, 29px); letter-spacing: .06em; font-weight: 400; margin-top: 17px; }
.m7-performance-card p { margin-top: 18px; font-size: clamp(12px, .78vw, 16px); line-height: 1.66; letter-spacing: .025em; }

/* 04 CONCEPT ----------------------------------------------- */
.m7-concept {
  position: relative; width: 100%; color: #fff;
  height: clamp(670px, 62.7vw, 1205px);
  background-image: linear-gradient(90deg, rgba(8, 6, 10, .33), rgba(0, 0, 0, .05) 76%), url('../images/lp_manchidani7/concept-living.jpg');
  background-position: center; background-size: cover; background-repeat: no-repeat;
}
.m7-concept-inner { position: relative; height: 100%; padding-top: clamp(76px, 6.2vw, 120px); }
.m7-section-eyebrow-light .m7-section-num { color: #e1c49a; }
.m7-concept-copy { max-width: 840px; text-shadow: 0 1px 10px rgba(0,0,0,.25); }
.m7-concept-copy .m7-section-title { font-size: clamp(29px, 2.3vw, 46px); margin-top: 56px !important; }
.m7-concept-copy .m7-body-text { max-width: 620px; margin-top: 42px !important; }
.m7-concept-link {
  position: absolute; bottom: clamp(65px, 7.4vw, 143px); right: 0;
  display: flex; align-items: center; justify-content: center; gap: 24px;
  width: min(57%, 760px); min-height: clamp(80px, 8vw, 155px);
  border: 1.5px solid rgba(255,255,255,.85);
  text-align: center; font-size: clamp(18px, 1.38vw, 27px);
  color: #fff !important; padding: 17px 28px;
}
.m7-concept-link > span { margin-left: 15px; }

/* 05 DESIGN STORY ----------------------------------------- */
.m7-design .m7-section-title { margin-top: 50px !important; }
.m7-design-intro { margin-top: 26px !important; max-width: 1200px; line-height: 1.76; }
.m7-design-main { margin: 74px 2.7% 0 !important; }
.m7-design-main img { aspect-ratio: 1.5; object-fit: cover; }
.m7-design-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(105px, 8vw, 160px) clamp(44px, 3.2vw, 65px);
  margin: 55px 2.7% 0;
}
.m7-design-card { min-width: 0; position: relative; }
.m7-design-card-media { width: 100%; aspect-ratio: 1.75; overflow: hidden; }
.m7-design-card-media > img { width: 100%; height: 100%; object-fit: cover; }
.m7-design-media-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.m7-design-media-duo img { width: 100%; height: 100%; object-fit: cover; }
.m7-design-card-no {
  position: relative; width: clamp(72px, 5.7vw, 110px); height: clamp(72px, 5.7vw, 110px);
  margin-top: calc(-1 * clamp(37px, 2.85vw, 55px));
  margin-left: 25px; display: grid; place-items: center;
  color: #111; background: #f7f7f7;
  font-family: Georgia, var(--m7-mincho); font-size: clamp(39px, 2.7vw, 53px);
  line-height: 1; letter-spacing: .11em;
}
.m7-design-card h3 { margin-top: 35px; font-weight: 400; font-size: clamp(23px, 1.48vw, 30px); line-height: 1.6; letter-spacing: .06em; }
.m7-design-card p { margin-top: 10px; font-size: clamp(15px, .98vw, 20px); line-height: 1.82; letter-spacing: .05em; }

/* 06 MADORI PLAN ------------------------------------------- */
.m7-plan { padding-top: clamp(65px, 5vw, 100px) !important; }
.m7-plan .m7-section-title { margin-top: 55px !important; }
.m7-plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: clamp(100px, 9vw, 173px); }
.m7-plan-grid figure { min-width: 0; }
.m7-plan-grid img { width: 100%; height: auto; object-fit: contain; }
.m7-plan-grid figcaption { text-align: center; margin-top: 17px; color: #6f6760; font-family: Georgia,serif; letter-spacing: .2em; font-size: 14px; }

/* 07 GALLERY ---------------------------------------------- */
.m7-gallery { padding-top: clamp(70px, 5vw, 102px) !important; }
.m7-gallery-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 30px; margin-top: 85px; }
.m7-gallery-grid > figure { min-width: 0; line-height: 0; overflow: hidden; }
.m7-gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.m7-gallery-main { grid-column: span 4; grid-row: span 2; aspect-ratio: 1.76; }
.m7-gallery-side { grid-column: span 2; aspect-ratio: 1.76; }
.m7-gallery-bottom { grid-column: span 2; aspect-ratio: 1.72; }

/* 08 AREA GUIDE ------------------------------------------- */
.m7-area { padding-top: clamp(65px, 5vw, 100px) !important; }
.m7-area-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); column-gap: 30px; row-gap: 95px; margin-top: 72px; }
.m7-area-item img { aspect-ratio: 1.5; object-fit: cover; }
.m7-area-item figcaption { margin-top: 15px; font-size: clamp(14px, .98vw, 20px); line-height: 1.6; }

/* Property overview --------------------------------------- */
.m7-overview { padding-top: clamp(75px, 5.5vw, 115px) !important; padding-bottom: 120px !important; }
.m7-overview-en { font-family: Georgia,'Times New Roman',serif; font-size: clamp(17px, 1.25vw, 25px); letter-spacing: .17em; }
.m7-overview .m7-section-title { margin-top: 21px !important; }
.m7-overview-grid { display: grid; grid-template-columns: minmax(0, 1.64fr) minmax(0, 1fr); gap: 32px; margin-top: 65px; align-items: stretch; }
.m7-overview-table { width: 100%; border-spacing: 0; border-collapse: collapse; font-size: clamp(15px, 1.08vw, 21px); line-height: 1.55; letter-spacing: .055em; }
.m7-overview-table tr { border-top: 1px solid #bfc0bd; }
.m7-overview-table tr:last-child { border-bottom: 1px solid #bfc0bd; }
.m7-overview-table th, .m7-overview-table td { padding: clamp(13px, 1.15vw, 23px) 22px; vertical-align: top; text-align: left; font-weight: 400; }
.m7-overview-table th { width: 33%; min-width: 116px; background: #e8e8e8; }
.m7-overview-table td { background: #fff; }
.m7-overview-visual img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; }
.m7-final-ctas { display: flex; justify-content: center; align-items: center; gap: clamp(38px, 6vw, 120px); margin-top: clamp(85px, 7vw, 134px); }
.m7-final-ctas .m7-btn-gold { min-width: clamp(290px, 24vw, 450px); }
/* Bottom "request / inquiry" CTA: white background with a thin black outline. */
.m7-final-ctas .m7-btn-text {
  background: #fff;
  border: 1px solid #222;
  color: #171411 !important;
  min-width: clamp(290px, 24vw, 450px);
}


/* LAPTOP -------------------------------------------------- */
@media (max-width: 1399px) {
  .m7-hero-ctas { gap: 16px; width: 59%; }
  .m7-price-number { letter-spacing: .08em; }
  .m7-design-card p br.m7-wide-only { display: none; }
  .m7-overview-table th, .m7-overview-table td { padding-inline: 16px; }
}
@media (max-width: 1100px) {
  .m7-hero-visual { min-height: 615px; }
  .m7-hero-copy { padding-top: 160px; }
  .m7-hero-bottom { align-items: center; }
  .m7-hero-ctas { width: 60%; }
  .m7-btn { padding-inline: 14px; font-size: 14px; }
  .m7-land { min-height: 800px; }
  .m7-land-picture { width: 47%; }
  .m7-performance-grid { gap: 18px; }
  .m7-performance-card p { font-size: 12px; }
  .m7-design-grid { gap: 95px 34px; }
  .m7-area-grid { column-gap: 18px; row-gap: 65px; }
}

/* TABLET + MOBILE --------------------------------------- */
@media (max-width: 900px) {
  .manchi-lp .m7-container { width: calc(100% - 52px); }
  .manchi-lp .m7-section-pad { padding-block: 80px 100px; }
  .m7-hero-visual { min-height: 600px; background-position: 60% center; }
  .m7-hero-copy { width: 80%; padding-top: 148px; }
  .m7-hero-copy h1 { font-size: 40px; }
  .m7-hero-copy p { font-size: 19px; }
  .m7-hero-facts { font-size: 15px; line-height: 1.8; }
  .m7-hero-bar { padding-block: 24px 32px; }
  .m7-hero-bottom { align-items: flex-start; flex-direction: column; gap: 25px; }
  .m7-price-number { font-size: 55px; }
  .m7-price-unit { font-size: 28px; }
  .m7-hero-ctas { width: 100%; }
  .m7-access-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px 22px; padding-block: 42px 80px; }
  .m7-land { min-height: 670px; }
  .m7-land-copy { width: 55%; }
  .m7-land-picture { width: 45%; }
  .m7-performance-grid { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 28px; row-gap: 62px; }
  .m7-performance-card p { font-size: 14px; }
  .m7-concept { min-height: 690px; height: 760px; }
  .m7-concept-link { width: 66%; }
  .m7-design-grid { gap: 90px 30px; }
  .m7-design-card h3 { font-size: 20px; }
  .m7-design-card p { font-size: 14px; }
  .m7-plan-grid { gap: 25px; margin-top: 75px; }
  .m7-gallery-grid { gap: 18px; }
  .m7-area-grid { column-gap: 18px; }
  .m7-overview-grid { grid-template-columns: 1.5fr 1fr; gap: 18px; }
  .m7-overview-table { font-size: 14px; }
  .m7-overview-table th, .m7-overview-table td { padding: 13px; }
}

/* PHONES ------------------------------------------------- */
@media (max-width: 620px) {
  .manchi-lp { font-size: 15px; }
  .manchi-lp .m7-container { width: calc(100% - 40px); }
  .manchi-lp .m7-section-pad { padding-block: 73px 92px; }
  .m7-section-eyebrow { gap: 10px; }
  .m7-section-num { font-size: 33px; }
  .m7-section-en { font-size: 14px; }
  .m7-section-title { font-size: clamp(23px, 5.4vw, 30px); line-height: 1.65; letter-spacing: .08em; margin-top: 28px !important; }
  .m7-body-text { font-size: 14px; line-height: 1.88; letter-spacing: .035em; }
  .m7-copy-narrow { margin-top: 26px !important; }
  .m7-hero-visual { min-height: 590px; background-image: linear-gradient(90deg, rgba(4,3,24,.86), rgba(4,3,24,.22) 85%),url('../images/lp_manchidani7/hero.jpg'); background-position: 57% center; }
  .m7-hero-copy { width: 100%; padding-top: 130px; }
  .m7-hero-copy h1 { font-size: clamp(31px, 8.3vw, 43px); line-height: 1.57; letter-spacing: .13em; }
  .m7-hero-copy p { font-size: 16px; line-height: 1.92; margin-top: 27px; }
  .m7-hero-bar { padding-block: 18px 29px; }
  .m7-hero-facts { font-size: 12px; line-height: 2; letter-spacing: .03em; }
  .m7-facts-divider { margin-inline: 2px; }
  .m7-hero-bottom { gap: 22px; margin-top: 15px; }
  .m7-price-number { font-size: 48px; letter-spacing: .11em; }
  .m7-price-unit { font-size: 24px; }
  .m7-hero-ctas { gap: 9px; grid-template-columns: 1fr 1.35fr; }
  .m7-btn { min-height: 60px; padding: 9px 8px; font-size: 12px; line-height: 1.4; gap: 5px; white-space: normal; letter-spacing: .035em; }
  .m7-btn > span { margin-left: 2px; }
  .m7-location-photo { aspect-ratio: auto; min-height: 620px; background-position: 58% center; background-image: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0) 60%),url('../images/lp_manchidani7/location-main.jpg'); }
  .m7-location-copy { padding-top: 55px; }
  .m7-location-copy .m7-section-title { margin-top: 36px !important; }
  .m7-location-copy .m7-body-text { margin-top: 26px !important; max-width: 94%; }
  .m7-access-grid { gap: 28px 14px; padding-block: 35px 80px; }
  .m7-access-item figcaption { font-size: 11px; margin-top: 9px; line-height: 1.5; }
  .m7-access-item figcaption span { margin-left: 0; display: block; }
  .m7-land { min-height: 0; display: flex; flex-direction: column-reverse; }
  .m7-land-picture { width: 100%; height: 530px; position: relative; top: auto; bottom: auto; background-position: center center; }
  .m7-land-content { padding-block: 0 40px; }
  .m7-land-copy { width: 100%; }
  .m7-land-copy .m7-section-title { margin-top: 36px !important; }
  .m7-land-copy .m7-body-text { margin-top: 24px !important; max-width: 94%; }
  .m7-performance .m7-section-title { margin-top: 29px !important; }
  .m7-performance-lead { margin-top: 21px !important; }
  .m7-performance-grid { grid-template-columns: 1fr 1fr; column-gap: 13px; row-gap: 45px; margin-top: 42px; }
  .m7-performance-card h3 { font-size: 17px; margin-top: 11px; }
  .m7-performance-card p { font-size: 11px; line-height: 1.65; margin-top: 9px; }
  .m7-performance-card p br { display: none; }
  .m7-concept { height: 650px; min-height: 650px; background-image: linear-gradient(180deg, rgba(12,6,4,.58), rgba(12,6,4,.18) 65%,rgba(12,6,4,.44)), url('../images/lp_manchidani7/concept-living.jpg'); background-position: 60% center; }
  .m7-concept-inner { padding-top: 75px; }
  .m7-concept-copy .m7-section-title { font-size: 24px; margin-top: 35px !important; }
  .m7-concept-copy .m7-body-text { margin-top: 20px !important; }
  .m7-concept-link { left: 0; right: 0; bottom: 55px; width: 100%; min-height: 70px; font-size: 15px; gap: 10px; }
  .m7-design .m7-section-title { margin-top: 31px !important; }
  .m7-design-intro { margin-top: 20px !important; }
  .m7-design-intro br { display: none; }
  .m7-design-main { margin: 40px 0 0 !important; }
  .m7-design-grid { grid-template-columns: 1fr; gap: 64px; margin: 32px 0 0; }
  .m7-design-card-media { aspect-ratio: 1.67; }
  .m7-design-media-duo { gap: 11px; }
  .m7-design-card-no { width: 69px; height: 69px; margin-top: -33px; margin-left: 12px; font-size: 33px; }
  .m7-design-card h3 { font-size: 20px; margin-top: 19px; }
  .m7-design-card p { margin-top: 7px; font-size: 14px; }
  .m7-design-card p br { display: none; }
  .m7-plan .m7-section-title { margin-top: 28px !important; }
  .m7-plan-grid { grid-template-columns: 1fr; gap: 43px; margin-top: 47px; }
  .m7-plan-grid figcaption { margin-top: 8px; }
  .m7-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 39px; gap: 12px; }
  .m7-gallery-main { grid-column: span 2; grid-row: auto; aspect-ratio: 1.7; }
  .m7-gallery-side { grid-column: span 1; aspect-ratio: 1.15; }
  .m7-gallery-bottom { grid-column: span 1; aspect-ratio: 1.28; }
  .m7-gallery-bottom:last-child { grid-column: span 2; aspect-ratio: 1.85; }
  .m7-area-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 31px 13px; margin-top: 38px; }
  .m7-area-item figcaption { margin-top: 7px; font-size: 13px; }
  .m7-overview-en { font-size: 17px; }
  .m7-overview .m7-section-title { margin-top: 12px !important; }
  .m7-overview-grid { grid-template-columns: 1fr; gap: 23px; margin-top: 31px; }
  .m7-overview-table { font-size: 13px; letter-spacing: .02em; }
  .m7-overview-table th { min-width: 98px; width: 28%; }
  .m7-overview-table td, .m7-overview-table th { padding: 13px 10px; }
  .m7-overview-visual img { max-height: 430px; object-fit: cover; }
  .m7-final-ctas { flex-direction: column; gap: 12px; margin-top: 40px; }
  .m7-final-ctas .m7-btn { width: 100%; min-height: 62px; font-size: 15px; }
  .m7-final-ctas .m7-btn-text { min-width: 0; }
}

@media (max-width: 375px) {
  .m7-hero-copy h1 { font-size: 29px; }
  .m7-hero-copy p { font-size: 15px; }
  .m7-location-photo { min-height: 670px; }
  .m7-performance-card p { font-size: 10px; }
  .m7-concept-copy .m7-section-title { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .m7-btn { transition: none; }
}

/* Tablet/mobile: nav container stays sticky while its link row scrolls sideways. */
@media (max-width: 1180px) {
  #m7-anchor-nav {
    min-height: 54px;
    padding: 0;
  }
  #m7-anchor-nav .m7-anchor-nav-inner {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 13px 22px;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  #m7-anchor-nav a { font-size: 14px; letter-spacing: .11em; }
}
@media (max-width: 620px) {
  #m7-anchor-nav { min-height: 46px; }
  #m7-anchor-nav .m7-anchor-nav-inner { gap: 20px; padding: 11px 17px; }
  #m7-anchor-nav a { font-size: 13px; }
}


/* Horizontal gutters from section 01 onward: 1.5x the previous size.
 * Desktop: 9.65vw -> 14.475vw each side (80.7% -> 71.05% content).
 * Tablet: 26px -> 39px each side. Phone: 20px -> 30px each side.
 */
@media (min-width: 901px) {
  .manchi-lp #m7-main > section:not(.m7-hero) .m7-container {
    width: 71.05%;
    max-width: 1400px;
  }
}
@media (min-width: 621px) and (max-width: 900px) {
  .manchi-lp #m7-main > section:not(.m7-hero) .m7-container {
    width: calc(100% - 78px);
  }
}
@media (max-width: 620px) {
  .manchi-lp #m7-main > section:not(.m7-hero) .m7-container {
    width: calc(100% - 60px);
  }
}

/* ---------------------------------------------------------------------------
 * V9: common /bukken/ header follows scrolling on this LP only.
 * header-bukken.php already contains a normal header and a fixed copy:
 *   .boxBukkenHeader / .boxBukkenHeaderFixed.
 * The normal one stays untouched. JS toggles the fixed copy only on this page.
 * ------------------------------------------------------------------------- */
body.m7-lp-page header > .boxBukkenHeaderFixed {
  display: block !important;
  position: fixed !important;
  top: var(--m7-admin-top, 0px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9900 !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate3d(0, -120%, 0) !important;
  transition: none !important;
}
body.m7-lp-page.m7-shared-header-pinned header > .boxBukkenHeaderFixed {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translate3d(0, 0, 0) !important;
}
/* The smartphone hamburger panel must be above both fixed bars. */
body.m7-lp-page .boxHmbMenu { z-index: 10050 !important; }


/* V10 / MOBILE LP MENU ---------------------------------------------- */
/* The desktop/tablet horizontal section links remain unchanged above 767px. */
#m7-anchor-nav .m7-mobile-toggle { display: none; }
.m7-hero-facts .m7-sp-land-break { display: none; }
.m7-hero-facts .m7-land-label-mobile { display: none; }
.m7-performance-card .m7-sp-performance-break { display: none; }

/* Covers the full viewport, including the theme header, ONLY while open. */
html.m7-mobile-menu-open, body.m7-mobile-menu-open { overflow: hidden !important; }
body.m7-lp-page .m7-mobile-overlay[hidden] { display: none !important; }
body.m7-lp-page .m7-mobile-overlay {
  box-sizing: border-box;
  position: fixed !important;
  z-index: 11050 !important;
  inset: 0 !important;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex;
  flex-direction: column;
  color: #201b17;
  background: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  -webkit-font-smoothing: antialiased;
}
body.m7-lp-page .m7-mobile-overlay *, body.m7-lp-page .m7-mobile-overlay *::before,
body.m7-lp-page .m7-mobile-overlay *::after { box-sizing: border-box; }
.m7-mobile-overlay-head {
  min-height: 80px;
  padding: 18px 28px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  letter-spacing: .18em;
}
body.m7-lp-page .m7-mobile-close {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  background: none !important;
  color: #1b1714 !important;
  font: 400 39px/1 Georgia, serif;
  width: 46px;
  height: 46px;
  padding: 0 !important;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.m7-mobile-overlay-nav {
  width: min(100%, 540px);
  margin: auto;
  padding: 15px 28px 55px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.m7-mobile-overlay-nav a {
  min-height: 62px;
  width: 100%;
  padding: 10px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #e8e5df;
  color: #221d17 !important;
  text-decoration: none !important;
  font: 400 clamp(18px, 5.2vw, 23px)/1.3 Georgia, 'Times New Roman', serif;
  letter-spacing: .095em;
}
.m7-mobile-overlay-nav a span:last-child { color: #a37b3d; font-size: 16px; }
.m7-mobile-overlay button:focus-visible, .m7-mobile-overlay a:focus-visible {
  outline: 2px solid #a37b3d;
  outline-offset: 3px;
}
@media (max-width: 767px) {
  #m7-anchor-nav {
    min-height: 46px !important;
    padding: 0 !important;
    background: #fff !important;
  }
  #m7-anchor-nav .m7-anchor-nav-inner { display: none !important; }
  #m7-anchor-nav .m7-mobile-toggle {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 0 29px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #231e1a !important;
    background: #fff !important;
    cursor: pointer;
    line-height: 1;
  }
  #m7-anchor-nav .m7-mobile-toggle-label {
    font: 400 13px/1.2 Georgia, 'Times New Roman', serif;
    letter-spacing: .15em;
  }
  #m7-anchor-nav .m7-mobile-toggle-icon { width: 22px; height: 16px; display: flex; flex-direction: column; justify-content: space-between; }
  #m7-anchor-nav .m7-mobile-toggle-icon i { display: block; height: 1px; width: 22px; background: #1b1815; }
  #m7-anchor-nav .m7-mobile-toggle:focus-visible { outline: 2px solid var(--m7-gold); outline-offset: -3px; }
}
@media (max-width: 620px) {
  /* One independently replaceable photo for phone TOP (1920x895 placeholder). */
  .manchi-lp .m7-hero-visual {
    background-image: linear-gradient(90deg, rgba(4,3,24,.83), rgba(4,3,24,.18) 88%), url('../images/lp_manchidani7/hero-mobile.jpg');
    background-position: center center;
  }
  .m7-hero-facts .m7-facts-divider-before-land { display: none; }
  .m7-hero-facts .m7-land-label-desktop { display: none; }
  .m7-hero-facts .m7-land-label-mobile { display: inline; }
  .m7-hero-facts br.m7-sp-land-break { display: inline; }
  /* Preserve the UA and C line breaks while leaving the other cards unchanged. */
  .manchi-lp .m7-performance-card--ua p br,
  .manchi-lp .m7-performance-card--c p br,
  .manchi-lp .m7-performance-card--ua p br.m7-sp-performance-break,
  .manchi-lp .m7-performance-card--c p br.m7-sp-performance-break { display: inline; }
}
@media (max-height: 610px) and (max-width: 767px) {
  .m7-mobile-overlay-head { min-height: 58px; padding-block: 8px; }
  .m7-mobile-overlay-nav { padding-top: 0; padding-bottom: 16px; }
  .m7-mobile-overlay-nav a { min-height: 48px; font-size: 17px; }
}
