/*
Theme Name: Misono Rei LAMAC Style LP v19 Responsive
Theme URI: https://misono-rei.com/
Author: LP CRAFT
Description: 書道家 美苑 澪様向けのLPテーマ。スマホ動画参考の淡い生成り背景、細い罫線、縦書き見出し、黒背景ブロック、横線＋矢印CTAをベースに、テキスト・画像・リンク・料金・FAQをカスタマイザーから編集できます。
Version: 19.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: misono-rei-lp
*/

:root {
  --ink: #10110c;
  --ink-2: #171710;
  --paper: #eee8df;
  --paper-light: #f7f1e8;
  --paper-soft: #e8dfd4;
  --line: rgba(16, 17, 12, .18);
  --line-strong: rgba(16, 17, 12, .32);
  --white: #fffaf1;
  --muted: #756f66;
  --max: 1120px;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", "Times New Roman", serif;
  --sans: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  line-height: 2;
  letter-spacing: .06em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.lp-site {
  background:
    linear-gradient(90deg, rgba(16, 17, 12, .035) 1px, transparent 1px) 0 0 / min(25vw, 320px) 100%,
    var(--paper);
}

.lp-main { background: var(--paper); }

.lp-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 3.8vw, 42px);
  color: var(--white);
  transition: background .28s ease, color .28s ease, border-color .28s ease, height .28s ease;
}
.admin-bar .lp-header { top: 32px; }
.lp-header.is-scrolled,
body:not(.home) .lp-header {
  height: 64px;
  color: var(--ink);
  background: rgba(238, 232, 223, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.lp-brand span {
  display: inline-block;
  font-family: var(--sans);
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .23em;
}
.lp-header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lp-lang {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .22em;
  opacity: .88;
}
.lp-menu-button {
  appearance: none;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 10px 10px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .22em;
  cursor: pointer;
}
.lp-menu-button i {
  position: relative;
  display: block;
  width: 30px;
  height: 11px;
}
.lp-menu-button i::before,
.lp-menu-button i::after {
  content: "";
  position: absolute;
  right: 0;
  width: 30px;
  height: 1px;
  background: currentColor;
  transition: transform .24s ease, top .24s ease;
}
.lp-menu-button i::before { top: 0; }
.lp-menu-button i::after { top: 10px; width: 22px; }
body.is-menu-open .lp-menu-button i::before { top: 5px; transform: rotate(20deg); }
body.is-menu-open .lp-menu-button i::after { top: 5px; width: 30px; transform: rotate(-20deg); }

.lp-nav {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: grid;
  place-items: center;
  gap: 0;
  padding: 120px 34px 72px;
  background: rgba(16, 17, 12, .96);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .28s ease, transform .28s ease;
}
body.is-menu-open .lp-header { color: var(--white); background: transparent; border-color: transparent; }
body.is-menu-open .lp-nav {
  z-index: 90;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.lp-nav a {
  display: block;
  width: min(520px, 100%);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 250, 241, .18);
  font-size: clamp(18px, 5vw, 26px);
  letter-spacing: .12em;
}
.lp-nav a:first-child { border-top: 1px solid rgba(255, 250, 241, .18); }

.lp-hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.lp-hero-collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 30% 28% 42%;
}
.lp-hero-tile {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: var(--ink);
}
.lp-hero-tile-1 { grid-column: 1 / 2; grid-row: 1 / 2; }
.lp-hero-tile-2 { grid-column: 2 / 3; grid-row: 1 / 3; }
.lp-hero-tile-3 { grid-column: 1 / 2; grid-row: 2 / 3; }
.lp-hero-tile-4 { grid-column: 1 / 2; grid-row: 3 / 4; }
.lp-hero-tile-5 { grid-column: 2 / 3; grid-row: 3 / 4; }
.lp-hero-tile-6 { grid-column: 1 / 3; grid-row: 2 / 4; opacity: .15; mix-blend-mode: screen; }
.lp-hero-tile img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  opacity: .75;
  transform: scale(1.03);
}
.lp-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16,17,12,.18), rgba(16,17,12,.34) 35%, rgba(16,17,12,.62)),
    linear-gradient(90deg, rgba(16,17,12,.55), rgba(16,17,12,.12) 54%, rgba(16,17,12,.5));
}
.lp-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  width: min(var(--max), calc(100% - 44px));
  margin-inline: auto;
  padding: 108px 0 74px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: clamp(24px, 6vw, 80px);
}
.lp-hero-copy { align-self: end; }
.lp-hero-kicker {
  max-width: 470px;
  margin-bottom: clamp(16px, 3vw, 28px);
  font-family: var(--serif);
  font-size: clamp(11px, 1.3vw, 14px);
  line-height: 2.1;
  opacity: .92;
}
.lp-hero-title {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(46px, 11vw, 128px);
  line-height: .9;
  letter-spacing: .12em;
  font-weight: 800;
}
.lp-hero-sub {
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .16em;
  opacity: .86;
}
.lp-hero-vertical {
  writing-mode: vertical-rl;
  justify-self: end;
  align-self: center;
  font-size: clamp(24px, 4.4vw, 54px);
  line-height: 1.65;
  letter-spacing: .22em;
  text-shadow: 0 2px 16px rgba(0,0,0,.18);
}
.lp-hero-bottom {
  grid-column: 1 / 3;
  width: min(640px, 100%);
  justify-self: end;
}
.lp-hero-text {
  margin-bottom: 20px;
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 2.15;
  color: rgba(255, 250, 241, .9);
}
.lp-scroll {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 3vw, 42px);
  bottom: 28px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .28em;
  writing-mode: vertical-rl;
  opacity: .72;
}

.lp-section {
  position: relative;
  padding: clamp(86px, 12vw, 158px) 0;
}
.lp-section-inner {
  width: min(var(--max), calc(100% - 44px));
  margin-inline: auto;
}
.lp-narrow { width: min(860px, calc(100% - 44px)); }
.lp-section-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-family: var(--sans);
  color: var(--muted);
}
.lp-section-meta span {
  font-size: 11px;
  letter-spacing: .22em;
}
.lp-section-meta small {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.lp-section-heading {
  margin: 0 0 28px;
  font-size: clamp(28px, 5.2vw, 56px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: .1em;
}
.lp-vertical-heading {
  writing-mode: vertical-rl;
  margin: 0;
  min-height: 360px;
  font-size: clamp(32px, 5.8vw, 64px);
  line-height: 1.72;
  font-weight: 500;
  letter-spacing: .18em;
}
.lp-vertical-heading.is-short { min-height: 270px; }
.lp-section-text {
  font-size: clamp(13px, 1.25vw, 15px);
  line-height: 2.25;
  color: #292720;
}
.lp-line-link {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(520px, 100%);
  margin-top: 30px;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .08em;
}
.lp-line-link i {
  font-style: normal;
  font-family: var(--sans);
  transition: transform .22s ease;
}
.lp-line-link:hover i { transform: translateX(5px); }
.lp-line-link.is-white {
  color: var(--white);
  border-color: rgba(255, 250, 241, .45);
}

.lp-concept {
  background: var(--paper);
}
.lp-concept-layout {
  display: grid;
  grid-template-columns: minmax(260px, 42%) 1fr;
  gap: clamp(42px, 8vw, 106px);
  align-items: center;
}
.lp-concept-image {
  margin: 0;
  min-height: 410px;
  display: grid;
  place-items: center;
  background: rgba(255, 250, 241, .25);
  overflow: hidden;
}
.lp-concept-image img {
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  filter: grayscale(.15);
  opacity: .88;
}
.lp-concept .lp-section-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(34px, 5vw, 74px);
  align-items: start;
}
.lp-concept .lp-section-meta,
.lp-concept .lp-section-text,
.lp-concept .lp-line-link {
  grid-column: 2;
}
.lp-concept .lp-vertical-heading {
  grid-column: 1;
  grid-row: 1 / span 4;
}

.lp-profile-section {
  background: linear-gradient(180deg, var(--paper-light), var(--paper));
  min-height: 82vh;
}
.lp-profile-layout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 42%);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}
.lp-profile-name {
  margin: -14px 0 24px;
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: .16em;
}
.lp-profile-image {
  margin: 0;
  min-height: 560px;
  background: var(--paper-soft);
  overflow: hidden;
}
.lp-profile-image img {
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: grayscale(.25) contrast(.96);
}

.lp-menu-section {
  background: var(--paper-light);
  border-top: 1px solid var(--line);
}
.lp-section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
  margin-bottom: clamp(44px, 7vw, 90px);
}
.lp-section-head .lp-section-text {
  max-width: 640px;
  align-self: end;
}
.lp-section-head .lp-section-meta {
  grid-column: 1 / 3;
  margin-bottom: 0;
}
.lp-section-head .lp-vertical-heading { grid-column: 1; }
.lp-section-head > .lp-section-text { grid-column: 2; }
.lp-section-head.is-horizontal {
  grid-template-columns: minmax(260px, 43%) 1fr;
  border-bottom: 1px solid var(--line);
  padding-bottom: 36px;
}
.lp-section-head.is-horizontal .lp-section-meta { grid-column: auto; }
.lp-section-head.is-horizontal > div:first-child { grid-column: 1; }
.lp-section-head.is-horizontal > .lp-section-text { grid-column: 2; margin-top: 48px; }

.lp-menu-list {
  border-top: 1px solid var(--line-strong);
}
.lp-menu-card {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr minmax(210px, 34%);
  gap: clamp(20px, 4vw, 58px);
  align-items: center;
  min-height: 310px;
  padding: clamp(34px, 5.2vw, 70px) 0;
  border-bottom: 1px solid var(--line);
}
.lp-menu-number {
  align-self: start;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--muted);
}
.lp-menu-sub {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .28em;
  color: var(--muted);
}
.lp-menu-title {
  margin: 0 0 24px;
  font-size: clamp(24px, 4.1vw, 42px);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: .12em;
}
.lp-menu-image {
  margin: 0;
  height: 260px;
  background: var(--paper-soft);
  overflow: hidden;
}
.lp-menu-image img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(.25);
  opacity: .88;
}

.lp-gallery-section {
  background: var(--paper);
}
.lp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 34px);
  margin-bottom: 18px;
}
.lp-work-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.lp-work-image {
  margin: 0;
  aspect-ratio: 4 / 3;
  background: var(--paper-soft);
  overflow: hidden;
}
.lp-work-image img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(.12);
  transition: transform .35s ease;
}
.lp-work-card:hover .lp-work-image img { transform: scale(1.035); }
.lp-work-caption {
  padding: 16px 0 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.lp-dark-section {
  background: var(--ink);
  color: var(--white);
  padding: clamp(84px, 12vw, 150px) 0;
}
.lp-dark-section .lp-section-meta,
.lp-dark-section .lp-section-text {
  color: rgba(255, 250, 241, .72);
}
.lp-dark-head {
  width: min(760px, 100%);
  margin-bottom: 38px;
}
.lp-result-list {
  border-top: 1px solid rgba(255, 250, 241, .18);
}
.lp-result-list li {
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 250, 241, .14);
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: .08em;
}

.lp-flow-section {
  background: var(--paper);
}
.lp-flow-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.lp-flow-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.lp-flow-no {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--muted);
}
.lp-flow-item h3 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 25px);
  font-weight: 500;
  letter-spacing: .1em;
}
.lp-flow-item p {
  font-size: 13px;
  line-height: 2.1;
  color: var(--muted);
}

.lp-price-section {
  background: var(--paper-light);
  border-top: 1px solid var(--line);
}
.lp-price-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.lp-price-card {
  background: rgba(255, 250, 241, .3);
  padding: clamp(28px, 4vw, 44px);
}
.lp-price-card h3 {
  margin: 0 0 18px;
  font-size: clamp(19px, 2.6vw, 28px);
  font-weight: 500;
  letter-spacing: .1em;
}
.lp-price-value {
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: clamp(19px, 2.4vw, 28px);
  letter-spacing: .08em;
}
.lp-price-note {
  margin-top: 22px;
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
}

.lp-faq-section {
  background: var(--paper);
}

.lp-media-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 28px 0 28px;
  border-radius: 24px;
  background: rgba(16,17,12,.08);
  aspect-ratio: 16 / 9;
}

.lp-media-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lp-faq-list {
  margin-top: 34px;
  border-top: 1px solid var(--line-strong);
}
.lp-faq-item {
  border-bottom: 1px solid var(--line);
}
.lp-faq-q {
  appearance: none;
  border: 0;
  background: transparent;
  width: 100%;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  text-align: left;
  cursor: pointer;
  font-size: clamp(15px, 2vw, 18px);
  letter-spacing: .08em;
}
.lp-faq-q span {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
}
.lp-faq-a {
  display: none;
  padding: 0 0 28px 48px;
  font-size: 13px;
  line-height: 2.15;
  color: var(--muted);
}
.lp-faq-item.is-open .lp-faq-a { display: block; }

.lp-final-section {
  background: var(--paper-light);
  border-top: 1px solid var(--line);
}
.lp-final-layout {
  display: grid;
  grid-template-columns: minmax(260px, 43%) 1fr;
  gap: clamp(34px, 7vw, 90px);
  align-items: end;
}
.lp-final-title {
  margin: 0;
  font-size: clamp(34px, 6.7vw, 72px);
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: .16em;
}

.lp-footer {
  background: var(--ink);
  color: var(--white);
  padding: clamp(52px, 8vw, 92px) 0 46px;
}
.lp-footer-inner {
  width: min(var(--max), calc(100% - 44px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: 48px;
}
.lp-footer strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
  letter-spacing: .14em;
}
.lp-footer p {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(255, 250, 241, .62);
}
.lp-footer-nav {
  border-top: 1px solid rgba(255, 250, 241, .18);
}
.lp-footer-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 250, 241, .14);
  font-size: 13px;
  letter-spacing: .12em;
}

@media (min-width: 1024px) {
  .lp-nav {
    position: static;
    z-index: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: flex;
    place-items: initial;
    gap: clamp(18px, 2vw, 30px);
    padding: 0;
    background: transparent;
    color: inherit;
  }
  .lp-nav a {
    width: auto;
    padding: 8px 0;
    border: 0 !important;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .18em;
  }
  .lp-menu-button { display: none; }
}

@media (max-width: 900px) {
  .admin-bar .lp-header { top: 46px; }
  .lp-header { height: 66px; }
  .lp-lang { display: none; }

  .lp-hero-inner {
    width: min(100% - 32px, 680px);
    padding: 94px 0 72px;
    grid-template-columns: 1fr auto;
    gap: 22px;
  }
  .lp-hero-title { font-size: clamp(42px, 13vw, 72px); }
  .lp-hero-sub { font-size: 10px; }
  .lp-hero-vertical {
    font-size: clamp(24px, 7vw, 38px);
    line-height: 1.7;
  }
  .lp-hero-bottom {
    grid-column: 1 / 3;
    width: 100%;
  }

  .lp-section-inner,
  .lp-footer-inner,
  .lp-narrow {
    width: min(100% - 32px, 680px);
  }
  .lp-concept-layout,
  .lp-profile-layout,
  .lp-final-layout,
  .lp-section-head.is-horizontal,
  .lp-footer-inner {
    grid-template-columns: 1fr;
  }
  .lp-concept-image {
    min-height: 380px;
    order: 2;
  }
  .lp-concept-image img { min-height: 380px; }
  .lp-concept .lp-section-body {
    grid-template-columns: auto 1fr;
    order: 1;
  }
  .lp-profile-image {
    min-height: 440px;
    order: -1;
  }
  .lp-profile-image img { min-height: 440px; }
  .lp-section-head.is-horizontal > div:first-child,
  .lp-section-head.is-horizontal > .lp-section-text {
    grid-column: auto;
    margin-top: 0;
  }
  .lp-menu-card {
    grid-template-columns: 44px 1fr;
  }
  .lp-menu-image {
    grid-column: 2;
    width: 100%;
    height: 220px;
    margin-top: 22px;
  }
  .lp-gallery-grid,
  .lp-price-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  body { line-height: 1.95; }
  .lp-site {
    background:
      linear-gradient(90deg, rgba(16, 17, 12, .045) 1px, transparent 1px) 0 0 / 33.333vw 100%,
      var(--paper);
  }
  .lp-header {
    padding-inline: 17px;
  }
  .lp-brand span { font-size: 13px; letter-spacing: .18em; }
  .lp-hero-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 26% 24% 25% 25%;
  }
  .lp-hero-tile-1 { grid-column: 1 / 2; grid-row: 1 / 2; }
  .lp-hero-tile-2 { grid-column: 2 / 3; grid-row: 1 / 3; }
  .lp-hero-tile-3 { grid-column: 1 / 2; grid-row: 2 / 3; }
  .lp-hero-tile-4 { grid-column: 1 / 2; grid-row: 3 / 5; }
  .lp-hero-tile-5 { grid-column: 2 / 3; grid-row: 3 / 5; }
  .lp-hero-tile-6 { grid-column: 1 / 3; grid-row: 2 / 5; }
  .lp-hero-inner {
    min-height: 100svh;
    padding-top: 86px;
  }
  .lp-hero-kicker {
    margin-bottom: 14px;
    font-size: 10.5px;
  }
  .lp-hero-title {
    font-size: clamp(38px, 13.5vw, 56px);
    letter-spacing: .11em;
  }
  .lp-hero-vertical {
    align-self: start;
    margin-top: 24px;
    font-size: clamp(25px, 8vw, 34px);
    letter-spacing: .18em;
  }
  .lp-scroll {
    right: 15px;
    bottom: 22px;
  }
  .lp-section {
    padding: 78px 0;
  }
  .lp-section-meta {
    margin-bottom: 18px;
  }
  .lp-section-text {
    font-size: 12.5px;
    line-height: 2.25;
  }
  .lp-vertical-heading {
    min-height: 310px;
    font-size: clamp(28px, 10vw, 40px);
    line-height: 1.75;
  }
  .lp-concept .lp-section-body {
    gap: 24px;
  }
  .lp-section-heading {
    font-size: clamp(26px, 9vw, 38px);
  }
  .lp-profile-image,
  .lp-profile-image img {
    min-height: 390px;
  }
  .lp-menu-card {
    min-height: 0;
    padding: 38px 0;
    gap: 16px;
  }
  .lp-menu-title {
    font-size: clamp(22px, 7.2vw, 30px);
  }
  .lp-line-link {
    margin-top: 24px;
    padding: 15px 0 13px;
    font-size: 13px;
  }
  .lp-flow-item {
    grid-template-columns: 46px 1fr;
    gap: 18px;
  }
  .lp-price-card {
    padding: 28px 22px;
  }
  .lp-faq-q {
    grid-template-columns: 24px 1fr;
    gap: 12px;
    padding: 20px 0;
  }
  .lp-faq-a {
    padding-left: 36px;
  }
  .lp-final-title {
    font-size: clamp(30px, 10vw, 44px);
  }
  .lp-footer strong {
    font-size: 32px;
  }
}


/* v3: NEWS section */
.lp-news-section {
  background: var(--paper-light);
}

.lp-news-list {
  border-top: 1px solid var(--line);
}

.lp-news-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.lp-news-item time {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(16, 17, 12, .62);
}

.lp-news-item h3 {
  margin: 0 0 10px;
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 500;
}

.lp-news-item p {
  margin: 0;
  line-height: 2;
  color: rgba(16, 17, 12, .72);
}

@media (max-width: 760px) {
  .lp-news-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }
}



/* v4: video structure refinements */
.lp-section {
  position: relative;
  padding: clamp(88px, 14vw, 180px) clamp(22px, 5vw, 70px);
  border-bottom: 1px solid var(--line);
}
.lp-section-inner { width: min(var(--max), 100%); margin: 0 auto; }
.lp-narrow { width: min(840px, 100%); }
.lp-section-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(24px, 5vw, 58px);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--muted);
}
.lp-section-meta small { font-size: 10px; letter-spacing: .28em; }
.lp-section-heading {
  margin: 0 0 34px;
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: .16em;
}
.lp-section-text {
  font-size: clamp(14px, 2.8vw, 16px);
  line-height: 2.35;
  color: rgba(16,17,12,.78);
}
.lp-section-text.is-large { font-size: clamp(15px, 3.6vw, 18px); line-height: 2.55; }

.lp-hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #111;
}
.lp-hero-collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(5, 1fr);
  opacity: .92;
  filter: grayscale(1);
}
.lp-hero-tile { margin: 0; overflow: hidden; }
.lp-hero-tile img { height: 100%; object-fit: cover; opacity: .88; }
.lp-hero-tile-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.lp-hero-tile-2 { grid-column: 3 / 5; grid-row: 1 / 2; }
.lp-hero-tile-3 { grid-column: 3 / 5; grid-row: 2 / 4; }
.lp-hero-tile-4 { grid-column: 1 / 2; grid-row: 3 / 5; }
.lp-hero-tile-5 { grid-column: 2 / 4; grid-row: 3 / 6; }
.lp-hero-tile-6 { grid-column: 4 / 5; grid-row: 4 / 6; }
.lp-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.58)), radial-gradient(circle at 70% 40%, transparent, rgba(0,0,0,.36));
}
.lp-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: 112px clamp(24px, 6vw, 86px) 80px;
}
.lp-hero-title {
  margin: 8px 0 0;
  font-family: var(--sans);
  font-size: clamp(42px, 11vw, 118px);
  line-height: 1;
  letter-spacing: .18em;
  font-weight: 700;
}
.lp-hero-kicker,
.lp-hero-sub {
  font-family: var(--sans);
  font-size: clamp(11px, 2.4vw, 14px);
  letter-spacing: .24em;
}
.lp-hero-vertical {
  position: absolute;
  right: clamp(26px, 8vw, 120px);
  top: 14%;
  writing-mode: vertical-rl;
  font-size: clamp(24px, 5.4vw, 52px);
  line-height: 1.65;
  letter-spacing: .18em;
}
.lp-hero-bottom {
  width: min(520px, 80%);
  margin-top: clamp(36px, 8vw, 90px);
}
.lp-scroll {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: 32px;
  z-index: 3;
  writing-mode: vertical-rl;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .28em;
}

.lp-vertical-heading {
  margin: 0;
  writing-mode: vertical-rl;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .16em;
  font-size: clamp(32px, 7.5vw, 70px);
}
.lp-vertical-heading.is-medium { font-size: clamp(30px, 5.8vw, 54px); }
.lp-vertical-heading.is-short { font-size: clamp(30px, 6vw, 56px); }

.lp-concept-intro {
  min-height: 82svh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(115deg, rgba(255,255,255,.28), transparent 32%),
    var(--paper);
}
.lp-intro-inner {
  min-height: 62svh;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}
.lp-intro-title { justify-self: end; }
.lp-concept-copy { padding-top: clamp(70px, 10vw, 130px); }
.lp-copy-layout { display: grid; grid-template-columns: minmax(0, 700px); justify-content: start; }
.lp-line-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(420px, 100%);
  margin-top: 38px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-strong);
  font-size: 13px;
  letter-spacing: .14em;
}
.lp-line-link i { font-style: normal; transform: translateX(0); transition: transform .2s ease; }
.lp-line-link:hover i { transform: translateX(6px); }
.lp-line-link.is-white { border-color: rgba(255,250,241,.32); color: var(--white); }

.lp-profile-layout {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(280px, 1fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: center;
}
.lp-profile-image {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  filter: grayscale(1);
}
.lp-profile-image img { height: 100%; object-fit: cover; }
.lp-profile-name {
  margin: 28px 0 18px;
  font-size: 18px;
  letter-spacing: .18em;
}

.lp-section-head {
  min-height: 58svh;
  display: grid;
  grid-template-columns: 1fr auto minmax(260px, 430px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(48px, 8vw, 92px);
}
.lp-menu-list {
  border-top: 1px solid var(--line);
}
.lp-menu-card {
  display: grid;
  grid-template-columns: minmax(280px, 46%) 1fr;
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding: clamp(58px, 10vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}
.lp-menu-card:nth-child(even) .lp-menu-image { order: 2; }
.lp-menu-image {
  margin: 0;
  aspect-ratio: 1 / .78;
  overflow: hidden;
  filter: grayscale(1);
  background: rgba(255,255,255,.18);
}
.lp-menu-image img { height: 100%; object-fit: cover; }
.lp-menu-number {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--muted);
  margin-bottom: 24px;
}
.lp-menu-sub {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .28em;
  color: var(--muted);
}
.lp-menu-title {
  margin: 12px 0 28px;
  font-size: clamp(24px, 4.4vw, 42px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .14em;
}

.lp-works-section { background: var(--paper-light); }
.lp-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 48px 0 16px;
  background: var(--line);
  border: 1px solid var(--line);
}
.lp-work-item {
  margin: 0;
  background: var(--paper);
  padding: 16px;
}
.lp-work-item img {
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  filter: grayscale(1);
}
.lp-work-item figcaption {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.lp-dark-section {
  background: #11120e;
  color: var(--white);
}
.lp-dark-section .lp-section-text,
.lp-dark-section .lp-section-meta,
.lp-dark-section .lp-result-list { color: rgba(255,250,241,.76); }
.lp-dark-head {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  margin-bottom: 54px;
}
.lp-result-list {
  border-top: 1px solid rgba(255,250,241,.16);
}
.lp-result-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,250,241,.16);
  font-size: 14px;
}

.lp-news-list,
.lp-flow-list,
.lp-price-list,

.lp-media-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 28px 0 28px;
  border-radius: 24px;
  background: rgba(16,17,12,.08);
  aspect-ratio: 16 / 9;
}

.lp-media-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lp-faq-list {
  border-top: 1px solid var(--line);
  margin-top: 36px;
}
.lp-news-item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.lp-news-item time,
.lp-flow-item span {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--muted);
}
.lp-news-item h3,
.lp-flow-item h3,
.lp-price-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 400;
}
.lp-news-item p,
.lp-flow-item p,
.lp-price-card p,
.lp-note {
  font-size: 13px;
  line-height: 2.1;
  color: var(--muted);
}

.lp-flow-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.lp-price-card {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.lp-price-card strong {
  display: block;
  margin: 10px 0;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: .08em;
}
.lp-note { margin-top: 26px; }

.lp-faq-item { border-bottom: 1px solid var(--line); }
.lp-faq-q {
  width: 100%;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  text-align: left;
  padding: 25px 0;
  cursor: pointer;
}
.lp-faq-q span {
  font-family: var(--sans);
  color: var(--muted);
}
.lp-faq-a {
  display: none;
  padding: 0 0 28px 52px;
  font-size: 13px;
  line-height: 2.2;
  color: var(--muted);
}
.lp-faq-item.is-open .lp-faq-a { display: block; }

.lp-final-section {
  background: var(--paper-soft);
}
.lp-final-layout {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: clamp(32px, 6vw, 86px);
  align-items: end;
}
.lp-footer {
  background: #11120e;
  color: var(--white);
  padding: clamp(64px, 12vw, 120px) clamp(24px, 5vw, 70px);
}
.lp-footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 90px);
}
.lp-footer strong {
  display: block;
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: clamp(28px, 6vw, 54px);
  letter-spacing: .18em;
}
.lp-footer p { color: rgba(255,250,241,.58); font-size: 12px; }
.lp-footer-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,250,241,.14);
  color: rgba(255,250,241,.84);
}

@media (max-width: 720px) {
  .lp-section { padding: 86px 24px; }
  .lp-header { height: 62px; padding-inline: 22px; }
  .lp-lang { display: none; }
  .lp-hero-inner { padding: 96px 24px 72px; align-content: end; }
  .lp-hero-title { font-size: 42px; letter-spacing: .16em; }
  .lp-hero-vertical {
    top: 22%;
    right: 30px;
    font-size: 29px;
  }
  .lp-hero-bottom { width: 84%; margin-top: 42px; }
  .lp-intro-inner {
    min-height: 72svh;
    grid-template-columns: 1fr auto;
  }
  .lp-profile-layout,
  .lp-section-head,
  .lp-menu-card,
  .lp-dark-head,
  .lp-final-layout,
  .lp-footer-inner {
    grid-template-columns: 1fr;
  }
  .lp-section-head {
    min-height: 72svh;
    align-items: end;
  }
  .lp-menu-card:nth-child(even) .lp-menu-image { order: 0; }
  .lp-works-grid { grid-template-columns: 1fr; }
  .lp-news-item { grid-template-columns: 1fr; gap: 12px; }
  .lp-flow-item { grid-template-columns: 48px 1fr; }
  .lp-footer-nav a { font-size: 14px; }
}


/* =========================================================
   v5 reference structure: screenshots/video faithful mobile column
   ========================================================= */
body.lp-site {
  background: #d8d3ca;
}

.lp-main,
.lp-footer {
  width: min(100%, 430px);
  margin-inline: auto;
  background: #f5efe6;
}

.lp-header {
  left: 50%;
  right: auto;
  width: min(100%, 430px);
  transform: translateX(-50%);
  height: 62px;
  padding: 0 18px;
}

.lp-header.is-scrolled,
body:not(.home) .lp-header {
  height: 62px;
  background: rgba(245, 239, 230, .05);
  color: var(--white);
  border-bottom-color: transparent;
  backdrop-filter: blur(12px);
}

.lp-brand span {
  color: currentColor;
  font-size: 16px;
  letter-spacing: .2em;
}

.lp-lang {
  display: flex;
  color: currentColor;
}

.lp-menu-button {
  display: inline-flex !important;
  color: currentColor;
}

.lp-nav {
  position: fixed !important;
  z-index: -1 !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  padding: 98px 34px 54px !important;
  overflow: auto;
  background: #171714 !important;
  color: #f8f1e8 !important;
  opacity: 0;
  pointer-events: none;
  transform: translateX(16px);
  transition: opacity .28s ease, transform .28s ease;
}

body.is-menu-open .lp-nav {
  z-index: 90 !important;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

@media (min-width: 900px) {
  .lp-nav {
    left: calc(50% + 215px) !important;
    right: auto !important;
    width: 360px !important;
    min-height: 100vh;
  }
}

.lp-nav-close {
  margin: 0 0 48px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
}

.lp-nav-title {
  margin: 0 0 38px;
  font-family: var(--sans);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: .18em;
}

.lp-nav-links {
  margin-bottom: 24px;
}

.lp-nav a {
  display: block;
  width: 100%;
  padding: 14px 0 !important;
  border-bottom: 1px solid rgba(255, 250, 241, .15) !important;
  font-family: var(--serif);
  font-size: 13px !important;
  letter-spacing: .14em;
  line-height: 1.45;
}

.lp-nav a:first-child {
  border-top: 0 !important;
}

.lp-nav-cta {
  margin-top: 24px;
  padding: 18px 20px !important;
  border: 0 !important;
  background: #f8f1e8;
  color: #171714 !important;
  text-align: center;
  font-family: var(--sans) !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: .08em !important;
}

.lp-reference-hero {
  min-height: 100svh;
}

.lp-reference-hero .lp-hero-collage {
  filter: grayscale(1);
}

.lp-reference-hero .lp-hero-shade {
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.32) 38%, rgba(0,0,0,.72));
}

.lp-reference-hero .lp-hero-inner {
  width: calc(100% - 48px);
  min-height: 100svh;
  padding: 78px 0 62px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
}

.lp-reference-hero .lp-hero-kicker {
  grid-column: 1 / 3;
  align-self: start;
  max-width: 150px;
  font-size: 10px;
  letter-spacing: .14em;
  line-height: 1.9;
  opacity: .92;
}

.lp-reference-hero .lp-hero-vertical {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  margin-top: 25svh;
  writing-mode: vertical-rl;
  font-size: clamp(25px, 7vw, 32px);
  line-height: 1.65;
  letter-spacing: .12em;
  font-weight: 500;
}

.lp-reference-hero .lp-hero-bottom {
  grid-column: 1 / 3;
  align-self: end;
  margin-top: auto;
}

.lp-reference-hero .lp-hero-title {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: clamp(36px, 11vw, 48px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: .22em;
}

.lp-reference-hero .lp-hero-sub {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .26em;
  opacity: .75;
}

.lp-reference-hero .lp-hero-text {
  max-width: 250px;
  font-size: 12px;
  line-height: 2;
  letter-spacing: .08em;
}

.lp-scroll {
  right: 18px;
  bottom: 28px;
  font-size: 9px;
  letter-spacing: .26em;
}

.lp-ref-section {
  position: relative;
  min-height: 100svh;
  padding: 0;
  background: #f5efe6;
  border-bottom: 0;
}

.lp-ref-inner {
  position: relative;
  width: calc(100% - 48px);
  min-height: 100svh;
  margin-inline: auto;
  padding: 76px 0 54px;
}

.lp-ref-vertical-wrap {
  min-height: 42svh;
  display: flex;
  justify-content: flex-end;
}

.lp-ref-vertical-title {
  writing-mode: vertical-rl;
  margin: 0;
  font-size: clamp(25px, 7.2vw, 32px);
  line-height: 1.7;
  letter-spacing: .14em;
  font-weight: 500;
}

.lp-ref-concept .lp-ref-vertical-title {
  margin-right: 8px;
}

.lp-ref-bottom-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 54px;
}

.lp-section-meta {
  margin: 0 0 22px;
  gap: 8px;
  font-family: var(--sans);
  color: #a77931;
  line-height: 1.2;
}

.lp-section-meta span,
.lp-section-meta small {
  font-size: 10px;
  letter-spacing: .24em;
}

.lp-section-text {
  font-size: 12px;
  line-height: 2.25;
  letter-spacing: .09em;
}

.lp-line-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding: 0 0 13px;
  border-bottom: 1px solid rgba(16,17,12,.18);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .08em;
}

.lp-line-link i {
  color: #a77931;
  font-style: normal;
  font-size: 18px;
}

.lp-ref-profile .lp-ref-inner {
  min-height: 100svh;
  padding-top: 76px;
  display: flex;
  flex-direction: column;
}

.lp-ref-profile-image {
  margin: 22px 0 52px;
  width: 100%;
  height: 164px;
  overflow: hidden;
  background: rgba(16,17,12,.08);
}

.lp-ref-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-ref-profile-meta {
  margin-bottom: 26px;
}

.lp-ref-profile-title {
  margin-bottom: 18px;
  font-size: 29px;
  letter-spacing: .16em;
}

.lp-ref-profile-name {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .11em;
}

.lp-ref-profile-copy {
  margin-top: auto;
  padding-bottom: 0;
}

.lp-ref-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(16,17,12,.15);
}

.lp-ref-order-menu .lp-ref-inner {
  padding-top: 76px;
}

.lp-ref-menu-list {
  margin-top: 22px;
}

.lp-ref-menu-item {
  min-height: 58svh;
  padding: 28px 0 34px;
  border-bottom: 1px solid rgba(16,17,12,.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lp-ref-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.lp-ref-menu-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: .11em;
}

.lp-ref-menu-head span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .18em;
  color: #a77931;
}


.lp-ref-menu-top {
  width: 100%;
}

.lp-ref-menu-image {
  margin: 28px 0 0;
  width: 100%;
  overflow: hidden;
  background: rgba(16, 17, 12, .04);
}

.lp-ref-menu-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.lp-ref-menu-body {
  margin-top: auto;
}

.lp-ref-works .lp-ref-inner {
  padding-top: 78px;
}

.lp-ref-section-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: .1em;
}

.lp-ref-list {
  margin-top: 44px;
  border-top: 1px solid rgba(16,17,12,.15);
}

.lp-ref-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(16,17,12,.15);
  font-size: 12px;
  line-height: 1.8;
}

.lp-news-list {
  margin-top: 44px;
  border-top: 1px solid rgba(16,17,12,.15);
}

.lp-news-item {
  display: block;
  padding: 22px 0;
  border-bottom: 1px solid rgba(16,17,12,.15);
}

.lp-news-item time {
  display: block;
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 10px;
  color: #a77931;
  letter-spacing: .18em;
}

.lp-news-item h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}

.lp-news-item p {
  font-size: 12px;
  line-height: 2;
}

.lp-ref-faq .lp-ref-inner,
.lp-ref-media .lp-ref-inner,
.lp-ref-news .lp-ref-inner {
  min-height: auto;
  padding-bottom: 96px;
}


.lp-media-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 28px 0 28px;
  border-radius: 24px;
  background: rgba(16,17,12,.08);
  aspect-ratio: 16 / 9;
}

.lp-media-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lp-faq-list {
  margin-top: 34px;
  border-top: 1px solid rgba(16,17,12,.15);
}

.lp-faq-item {
  border-bottom: 1px solid rgba(16,17,12,.15);
}

.lp-faq-q {
  min-height: auto;
  padding: 18px 0;
  font-size: 13px;
  line-height: 1.8;
}

.lp-faq-a {
  padding: 0 0 22px 28px;
  font-size: 12px;
  line-height: 2;
}

.lp-final-button {
  display: block;
  margin-top: 42px;
  padding: 18px 20px;
  background: #171714;
  color: #f8f1e8;
  text-align: center;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.lp-footer {
  background: #171714;
  color: #f8f1e8;
}

.lp-footer-inner {
  width: calc(100% - 48px);
  padding: 62px 0;
}

@media (max-width: 430px) {
  .lp-main,
  .lp-footer,
  .lp-header {
    width: 100%;
  }
  .lp-ref-inner,
  .lp-reference-hero .lp-hero-inner,
  .lp-footer-inner {
    width: calc(100% - 40px);
  }
}

/* v7 adjustment: concept section spacing and hidden red-marked parts */
.lp-ref-concept {
  min-height: auto;
}
.lp-ref-concept .lp-ref-inner {
  min-height: auto;
  padding-top: 76px;
  padding-bottom: 46px;
}
.lp-ref-concept .lp-ref-vertical-wrap {
  min-height: 0;
  height: 300px;
  align-items: flex-start;
  margin-bottom: 46px;
}
.lp-ref-concept .lp-ref-bottom-copy {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
}
.lp-ref-concept .lp-section-meta,
.lp-ref-concept .lp-line-link {
  display: none;
}
.lp-ref-concept .lp-section-text {
  margin-top: 0;
}
@media (max-width: 540px) {
  .lp-ref-concept .lp-ref-inner {
    padding-top: 70px;
    padding-bottom: 40px;
  }
  .lp-ref-concept .lp-ref-vertical-wrap {
    height: 286px;
    margin-bottom: 42px;
  }
}



/* v11: LP設定から差し替えた画像が各セクションに自然に入るように調整 */
.lp-ref-section-image,
.lp-ref-menu-image,
.lp-ref-profile-image,
.lp-news-image,
.lp-ref-work-card {
  margin: 22px 0 0;
}

.lp-ref-section-image img,
.lp-ref-menu-image img,
.lp-ref-profile-image img,
.lp-news-image img,
.lp-ref-work-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.lp-ref-works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 28px;
}

.lp-ref-work-card {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.lp-ref-work-card figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.lp-ref-lead {
  margin-top: 22px;
}

.lp-news-image {
  width: 100%;
  margin-bottom: 16px;
}

.lp-news-link {
  margin-top: 16px;
}



/* v12: ファーストビューを1枚画像で全面表示 */
.lp-reference-hero .lp-hero-collage {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  filter: grayscale(1) !important;
  opacity: 1 !important;
}

.lp-reference-hero .lp-hero-tile {
  display: none !important;
}

.lp-reference-hero .lp-hero-tile-1 {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

.lp-reference-hero .lp-hero-tile-1 img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: .9 !important;
  transform: none !important;
}

.lp-reference-hero .lp-hero-shade {
  background:
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.22) 42%, rgba(0,0,0,.72) 100%) !important;
}

.lp-reference-hero {
  min-height: 100svh !important;
  background: #111 !important;
}

.lp-reference-hero .lp-hero-inner {
  min-height: 100svh !important;
}

/* カスタマイザーでの見え方を安定させる */
@supports not (height: 100svh) {
  .lp-reference-hero,
  .lp-reference-hero .lp-hero-inner {
    min-height: 100vh !important;
  }
}


/* v13: ご依頼内容4項目を画像＋縦タイトルの交互レイアウトに変更 */
.lp-ref-order-menu .lp-ref-inner {
  padding-top: 78px;
}

.lp-ref-menu-item {
  min-height: 82svh;
  padding: 38px 0 46px;
}

.lp-ref-menu-visual {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
}

.lp-ref-menu-item:nth-child(even) .lp-ref-menu-visual {
  flex-direction: row-reverse;
}

.lp-ref-menu-image {
  flex: 0 0 64%;
  width: 64%;
  margin: 84px 0 0;
  overflow: hidden;
  background: rgba(16, 17, 12, .04);
}

.lp-ref-menu-item:nth-child(even) .lp-ref-menu-image {
  margin-top: 82px;
}

.lp-ref-menu-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.lp-ref-menu-title-block {
  flex: 0 0 auto;
  min-height: 280px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.lp-ref-menu-number {
  order: 2;
  display: block;
  font-family: var(--sans);
  color: #a77931;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .18em;
  writing-mode: horizontal-tb;
  white-space: nowrap;
  margin-top: 2px;
}

.lp-ref-menu-vertical-title {
  order: 1;
  margin: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: clamp(22px, 6.5vw, 30px);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: .12em;
  white-space: nowrap;
}

.lp-ref-menu-body {
  margin-top: 72px;
}

.lp-ref-menu-head {
  display: none;
}

@media (max-width: 540px) {
  .lp-ref-menu-visual {
    gap: 24px;
  }

  .lp-ref-menu-image {
    flex-basis: 64%;
    width: 64%;
    margin-top: 76px;
  }

  .lp-ref-menu-title-block {
    min-height: 270px;
  }

  .lp-ref-menu-body {
    margin-top: 64px;
  }
}

@media (max-width: 380px) {
  .lp-ref-menu-visual {
    gap: 18px;
  }

  .lp-ref-menu-image {
    flex-basis: 62%;
    width: 62%;
  }

  .lp-ref-menu-vertical-title {
    font-size: 22px;
  }
}


/* v14: ご依頼内容の画像と本文の余白を詰める */
.lp-ref-menu-item {
  min-height: auto !important;
  padding: 38px 0 34px !important;
  justify-content: flex-start !important;
}

.lp-ref-menu-image {
  margin-top: 54px !important;
}

.lp-ref-menu-item:nth-child(even) .lp-ref-menu-image {
  margin-top: 54px !important;
}

.lp-ref-menu-title-block {
  min-height: 220px !important;
}

.lp-ref-menu-body {
  margin-top: 18px !important;
}

.lp-ref-menu-body .lp-section-text {
  margin-top: 0 !important;
}

.lp-ref-menu-body .lp-line-link {
  margin-top: 22px !important;
}

@media (max-width: 540px) {
  .lp-ref-menu-item {
    padding: 34px 0 30px !important;
  }

  .lp-ref-menu-image,
  .lp-ref-menu-item:nth-child(even) .lp-ref-menu-image {
    margin-top: 46px !important;
  }

  .lp-ref-menu-title-block {
    min-height: 210px !important;
  }

  .lp-ref-menu-body {
    margin-top: 14px !important;
  }
}

@media (max-width: 380px) {
  .lp-ref-menu-image,
  .lp-ref-menu-item:nth-child(even) .lp-ref-menu-image {
    margin-top: 40px !important;
  }

  .lp-ref-menu-title-block {
    min-height: 196px !important;
  }
}

/* v15: ご依頼内容リンク文言を本文寄りに短く調整 */
.lp-ref-menu-body .lp-line-link {
  width: min(240px, 56%) !important;
  margin-top: 18px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  gap: 12px !important;
  padding: 14px 0 !important;
  letter-spacing: .1em !important;
}

.lp-ref-menu-body .lp-line-link span {
  white-space: nowrap !important;
}

.lp-ref-menu-body .lp-line-link i {
  margin-left: auto !important;
}

@media (max-width: 540px) {
  .lp-ref-menu-body .lp-line-link {
    width: min(220px, 58%) !important;
    margin-top: 16px !important;
  }
}

/* v16: プロフィール画像を正方形表示に調整 */
.lp-ref-profile-image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

.lp-ref-profile-image img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  display: block !important;
}


/* =========================================================
   v19: PC / tablet / smartphone responsive auto sizing
   全セクションを画面幅に合わせて自動調整
   ========================================================= */
html {
  width: 100%;
  overflow-x: hidden;
}

body.lp-site,
body {
  width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

.lp-main,
.lp-footer,
.lp-header {
  width: 100%;
  max-width: none;
}

.lp-main,
.lp-footer {
  margin-inline: 0;
}

.lp-header {
  left: 0;
  right: 0;
  transform: none;
}

.lp-ref-inner,
.lp-reference-hero .lp-hero-inner,
.lp-footer-inner,
.lp-section-inner,
.lp-narrow {
  width: min(100% - clamp(40px, 8vw, 120px), var(--max));
  max-width: var(--max);
}

.lp-ref-section,
.lp-reference-hero {
  min-height: auto;
}

.lp-ref-inner {
  min-height: auto;
  padding-top: clamp(76px, 10vw, 132px);
  padding-bottom: clamp(72px, 9vw, 128px);
}

.lp-reference-hero .lp-hero-inner {
  padding-top: clamp(96px, 10vw, 140px);
  padding-bottom: clamp(76px, 9vw, 120px);
}

.lp-section-meta,
.lp-section-text,
.lp-ref-section-title,
.lp-ref-profile-name,
.lp-ref-list li,
.lp-news-item,
.lp-faq-q,
.lp-faq-a,
.lp-line-link,
.lp-final-button {
  overflow-wrap: anywhere;
}

.lp-section-text {
  font-size: clamp(12px, 1.15vw, 16px);
  line-height: clamp(2, 2.2vw, 2.35);
}

.lp-reference-hero .lp-hero-title {
  font-size: clamp(42px, 8vw, 104px);
}

.lp-reference-hero .lp-hero-text {
  max-width: min(520px, 100%);
  font-size: clamp(12px, 1.05vw, 15px);
}

.lp-ref-vertical-title,
.lp-reference-hero .lp-hero-vertical,
.lp-ref-menu-vertical-title {
  font-size: clamp(26px, 3.5vw, 48px);
}

.lp-ref-section-title {
  font-size: clamp(24px, 3vw, 42px);
}

.lp-line-link {
  width: min(420px, 100%);
}

.lp-media-video,
.lp-ref-section-image,
.lp-ref-menu-image,
.lp-ref-profile-image,
.lp-news-image,
.lp-ref-work-card {
  max-width: 100%;
}

.lp-media-video {
  border-radius: clamp(14px, 2vw, 24px);
}

.lp-ref-section-image img,
.lp-ref-menu-image img,
.lp-news-image img,
.lp-ref-work-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (min-width: 901px) {
  body.lp-site {
    background: var(--paper);
  }

  .lp-main,
  .lp-footer {
    width: 100%;
  }

  .lp-header {
    width: 100%;
    padding-inline: clamp(32px, 5vw, 72px);
  }

  .lp-nav {
    left: auto !important;
    right: clamp(24px, 5vw, 72px) !important;
    width: min(380px, calc(100vw - 48px)) !important;
  }

  .lp-reference-hero .lp-hero-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .lp-reference-hero .lp-hero-kicker {
    max-width: 360px;
    font-size: clamp(11px, .95vw, 14px);
  }

  .lp-reference-hero .lp-hero-vertical {
    margin-top: clamp(80px, 12vw, 170px);
  }

  .lp-reference-hero .lp-hero-bottom {
    width: min(760px, 100%);
  }

  .lp-ref-concept .lp-ref-inner,
  .lp-ref-profile .lp-ref-inner,
  .lp-ref-order-menu .lp-ref-inner,
  .lp-ref-media .lp-ref-inner,
  .lp-ref-news .lp-ref-inner,
  .lp-ref-faq .lp-ref-inner {
    width: min(100% - clamp(64px, 9vw, 140px), var(--max));
  }

  .lp-ref-concept .lp-ref-inner {
    display: grid;
    grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
    align-items: center;
    gap: clamp(56px, 8vw, 112px);
  }

  .lp-ref-concept .lp-ref-vertical-wrap {
    height: auto;
    min-height: clamp(360px, 46vw, 540px);
    margin-bottom: 0;
  }

  .lp-ref-concept .lp-ref-bottom-copy {
    max-width: 680px;
  }

  .lp-ref-profile .lp-ref-inner {
    display: grid;
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
    grid-template-areas:
      "meta image"
      "title image"
      "name image"
      "copy image";
    align-items: center;
    column-gap: clamp(48px, 7vw, 112px);
  }

  .lp-ref-profile-meta { grid-area: meta; }
  .lp-ref-profile-title { grid-area: title; }
  .lp-ref-profile-name { grid-area: name; }
  .lp-ref-profile-copy { grid-area: copy; margin-top: 0; }
  .lp-ref-profile-image {
    grid-area: image;
    margin: 0;
    align-self: center;
  }

  .lp-ref-menu-item {
    padding-block: clamp(48px, 7vw, 86px) !important;
  }

  .lp-ref-menu-visual {
    align-items: center;
    gap: clamp(38px, 6vw, 86px);
  }

  .lp-ref-menu-image {
    flex: 0 1 48%;
    width: 48%;
    margin-top: 0 !important;
  }

  .lp-ref-menu-title-block {
    min-height: clamp(280px, 34vw, 430px) !important;
  }

  .lp-ref-menu-body {
    width: min(680px, 100%);
    margin-top: clamp(28px, 4vw, 54px) !important;
  }

  .lp-ref-menu-body .lp-line-link {
    width: min(260px, 42%) !important;
  }

  .lp-news-list,
  .lp-ref-list,
  .lp-faq-list {
    width: min(820px, 100%);
  }

  .lp-media-video,
  .lp-ref-section-image {
    width: min(900px, 100%);
  }

  .lp-footer-inner {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 420px);
  }
}

@media (min-width: 541px) and (max-width: 900px) {
  .lp-main,
  .lp-footer,
  .lp-header {
    width: 100%;
  }

  .lp-ref-inner,
  .lp-reference-hero .lp-hero-inner,
  .lp-footer-inner,
  .lp-section-inner,
  .lp-narrow {
    width: min(100% - 48px, 760px);
  }

  .lp-reference-hero .lp-hero-bottom {
    width: min(620px, 100%);
  }

  .lp-ref-menu-image {
    flex-basis: 58%;
    width: 58%;
  }

  .lp-ref-menu-body .lp-line-link {
    width: min(260px, 52%) !important;
  }
}

@media (max-width: 540px) {
  .lp-main,
  .lp-footer,
  .lp-header {
    width: 100%;
    max-width: none;
  }

  .lp-header {
    left: 0;
    right: 0;
    transform: none;
    padding-inline: 17px;
  }

  .lp-ref-inner,
  .lp-reference-hero .lp-hero-inner,
  .lp-footer-inner,
  .lp-section-inner,
  .lp-narrow {
    width: calc(100% - 40px);
    max-width: none;
  }

  .lp-ref-inner {
    padding-top: 70px;
    padding-bottom: 72px;
  }

  .lp-reference-hero .lp-hero-inner {
    padding-top: 86px;
    padding-bottom: 72px;
  }

  .lp-reference-hero .lp-hero-kicker {
    max-width: min(170px, 55vw);
  }

  .lp-reference-hero .lp-hero-title {
    font-size: clamp(36px, 11.5vw, 52px);
    letter-spacing: .18em;
  }

  .lp-reference-hero .lp-hero-vertical {
    font-size: clamp(24px, 7.4vw, 34px);
  }

  .lp-ref-vertical-title,
  .lp-ref-menu-vertical-title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .lp-section-text {
    font-size: 12px;
    line-height: 2.2;
  }

  .lp-ref-menu-visual {
    gap: clamp(16px, 6vw, 24px);
  }

  .lp-ref-menu-image,
  .lp-ref-menu-item:nth-child(even) .lp-ref-menu-image {
    flex-basis: 62%;
    width: 62%;
  }

  .lp-ref-menu-title-block {
    min-height: clamp(190px, 58vw, 230px) !important;
  }

  .lp-ref-menu-body .lp-line-link {
    width: min(220px, 64%) !important;
  }

  .lp-media-video {
    border-radius: 14px;
  }

  .lp-faq-q {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .lp-faq-a {
    padding-left: 32px;
  }
}

@media (max-width: 360px) {
  .lp-ref-inner,
  .lp-reference-hero .lp-hero-inner,
  .lp-footer-inner,
  .lp-section-inner,
  .lp-narrow {
    width: calc(100% - 32px);
  }

  .lp-brand span {
    font-size: 12px;
    letter-spacing: .14em;
  }

  .lp-ref-menu-visual {
    gap: 14px;
  }

  .lp-ref-menu-image,
  .lp-ref-menu-item:nth-child(even) .lp-ref-menu-image {
    flex-basis: 60%;
    width: 60%;
  }

  .lp-ref-menu-body .lp-line-link {
    width: min(210px, 72%) !important;
  }
}
