/* Labriller page: white header from load, keep MV below header */
body.page-labriller header.header {
  background: #fff;
}
body.page-labriller main {
  padding-top: calc(var(--header-height) + 20px);
}

/* Labriller LP - scoped under .labriller-lp */
.labriller-lp {
  color: var(--ink, #2d332f);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  background: #fff;
  line-height: 1.8;
  max-width: 100%;
  overflow-x: hidden;
}
.labriller-lp *,
.labriller-lp *::before,
.labriller-lp *::after { box-sizing: border-box; }
.labriller-lp a { color: inherit; text-decoration: none; }
.labriller-lp img { display: block; max-width: 100%; height: auto; }

.labriller-lp{
  --ink:#2d332f;
  --deep:#315a4f;
  --deep2:#23483f;
  --green:#547668;
  --gold:#b6975d;
  --cream:#f7f2e9;
  --ivory:#fffdf9;
  --mint:#eef4f0;
  --line:#dedfd8;
  --muted:#6b716d;
  --shadow:0 18px 44px rgba(49,90,79,.08);
  --soft-aqua:#dff1ef;
  --soft-aqua-2:#eaf7f6;
  --soft-aqua-3:#f2fbfb;
  --aqua-text:#2f5f5a;
}

.labriller-lp .container {
  width: min(1160px, calc(100% - 36px));
  margin: auto;
}

.labriller-lp .btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 24px;
  border-radius:999px;
  background:var(--deep);
  color:#fff;
  font-weight:700;
  box-shadow:0 12px 28px rgba(49,90,79,.18);
}
.labriller-lp .btn.outline{
  background:rgba(255,255,255,.74);
  color:var(--deep);
  border:1px solid rgba(49,90,79,.42);
  box-shadow:none;
}

.labriller-lp .mid-reserve{
  display:flex;
  justify-content:center;
  margin-top:36px;
}

.labriller-lp .hero{
  position:relative;
  min-height:760px;
  overflow:hidden;
  isolation:isolate;
  background:var(--cream);
}
.labriller-lp .hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(90deg,
      rgba(255,253,249,.985) 0%,
      rgba(255,253,249,.94) 18%,
      rgba(255,253,249,.62) 31%,
      rgba(255,253,249,.12) 44%,
      rgba(255,253,249,.00) 56%,
      rgba(255,253,249,0) 68%),
    url('../img/labriller/labriller-mv-desktop.webp');
  background-repeat:no-repeat;
  background-size:cover;
  background-position: center 0%, center 100%;
}
.labriller-lp .hero::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:240px;
  background:linear-gradient(180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.78) 32%,
    rgba(255,255,255,.96) 58%,
    rgba(255,255,255,1) 74%,
    rgba(255,255,255,1) 100%);
}
.labriller-lp .hero-inner{
  position:relative; z-index:2;
  min-height:760px;
  display:flex;
  align-items:center;
}
.labriller-lp .hero-copy{
  width:min(54%,620px);
  padding:72px 0 110px;
}
.labriller-lp .kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#6e5c38;
  font-size:14px;
  font-weight:700;
  letter-spacing:.13em;
  margin-bottom:18px;
}
.labriller-lp .kicker::before, .labriller-lp .kicker::after{
  content:"";
  width:34px; height:1px; background:var(--gold);
}
.labriller-lp .hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid rgba(182,151,93,.55);
  background:rgba(255,255,255,.72);
  color:#6a5d43;
  font-size:13px;
  margin-bottom:18px;
}
.labriller-lp .hero h2{
  margin:0 0 22px;
  font-family:"Yu Mincho","Hiragino Mincho ProN",Georgia,serif;
  font-size:clamp(42px,5.25vw,72px);
  font-weight:500;
  line-height:1.25;
  letter-spacing:.025em;
}
.labriller-lp .hero h2 .gold {
  font-family:"Yu Mincho","Hiragino Mincho ProN",Georgia,serif;
  color: var(--gold);
}
.labriller-lp .hero h2 .green {
  font-family:"Yu Mincho","Hiragino Mincho ProN",Georgia,serif;
  color: var(--deep);
}
.labriller-lp .hero-lead{
  max-width:540px;
  margin:0 0 28px;
  font-size:18px;
  color:#4f5752;
}
.labriller-lp .hero-points{
  display:flex; flex-wrap:wrap; gap:10px; margin-bottom:30px;
}
.labriller-lp .hero-points span{
  padding:9px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.76);
  border:1px solid rgba(49,90,79,.14);
  color:#435d55;
  font-size:14px;
  font-weight:700;
}
.labriller-lp .hero-actions{ display:flex; gap:12px; flex-wrap:wrap; }

.labriller-lp .feature-strip{
  position:absolute; z-index:3; left:50%; bottom:22px; transform:translateX(-50%);
  width:min(1160px,calc(100% - 36px));
  display:grid; grid-template-columns:repeat(3,1fr);
  border:1px solid rgba(182,151,93,.22);
  background:rgba(255,253,249,.88);
  backdrop-filter:blur(12px);
  border-radius:24px;
  box-shadow:0 18px 40px rgba(70,62,46,.08);
  overflow:hidden;
}
.labriller-lp .feature-item{
  display:flex; align-items:center;
  padding:20px 24px;
  border-right:1px solid rgba(182,151,93,.20);
}
.labriller-lp .feature-item:last-child{ border-right:0; }
.labriller-lp .feature-item strong{ display:block; color:#665735; font-size:16px; margin-bottom:2px; }
.labriller-lp .feature-item span{ display:block; color:#74746d; font-size:12px; line-height:1.5; }

.labriller-lp .section{ padding:96px 0; }
.labriller-lp .section.soft{ background:var(--cream); }
.labriller-lp .section.mint{ background:var(--mint); }
.labriller-lp .section-head{
  text-align:center;
  margin:0 auto 48px;
}
.labriller-lp .section-head .en{
  font-family:Georgia,serif;
  color:var(--gold);
  letter-spacing:.18em;
  font-size:13px;
}
.labriller-lp h2{
  font-family:"Yu Mincho","Hiragino Mincho ProN",Georgia,serif;
  font-size:clamp(30px,4vw,48px);
  line-height:1.4;
  margin:10px 0 14px;
  font-weight:500;
}
.labriller-lp .zero-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:22px;
}
.labriller-lp .card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:32px;
  box-shadow:0 16px 40px rgba(49,90,79,.06);
}
.labriller-lp .zero-num{
  font-family:Georgia,serif;
  color:var(--gold);
  font-size:56px;
  line-height:1;
}
.labriller-lp .card h3{ margin:10px 0 8px; font-size:22px; }

.labriller-lp .case-list{ display:grid; gap:30px; }
.labriller-lp .case-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:24px;
  box-shadow:0 18px 44px rgba(49,90,79,.08);
}
.labriller-lp .case-top{
  display:flex; justify-content:space-between; align-items:center; gap:14px;
  margin-bottom:16px;
}
.labriller-lp .case-top h3{ margin:0; font-size:24px; }
.labriller-lp .tag{
  border-radius:999px;
  padding:7px 12px;
  background:#edf5f1;
  color:var(--deep);
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
}

.labriller-lp .compare{
  --pos:50%;
  position:relative;
  aspect-ratio:3/2;
  border-radius:22px;
  overflow:hidden;
  background:#eef1ef;
  border:1px solid var(--line);
}
.labriller-lp .compare img{
  width:100%; height:100%;
  object-fit:cover;
  user-select:none;
  -webkit-user-drag:none;
  pointer-events:none;
}
.labriller-lp .compare-before, .labriller-lp .compare-after{
  position:absolute; inset:0;
}
.labriller-lp .compare-after{
  width:var(--pos);
  overflow:hidden;
}
.labriller-lp .compare-after img{
  width:100vw;
  max-width:none;
  height:100%;
  object-fit:cover;
}
.labriller-lp .compare-line{
  position:absolute; top:0; bottom:0; left:var(--pos);
  width:2px; transform:translateX(-1px);
  background:#fff;
  box-shadow:0 0 0 1px rgba(0,0,0,.08);
  pointer-events:none;
  z-index:3;
}
.labriller-lp .compare-knob{
  position:absolute; left:var(--pos); top:50%;
  transform:translate(-50%,-50%);
  width:58px; height:58px; border-radius:50%;
  background:#fff;
  color:var(--deep);
  display:grid; place-items:center;
  font-size:23px;
  box-shadow:0 12px 26px rgba(0,0,0,.18);
  pointer-events:none;
  z-index:4;
}
.labriller-lp .compare-label{
  position:absolute; top:16px; z-index:5;
  padding:6px 12px;
  border-radius:999px;
  color:#fff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
}
.labriller-lp .compare-label.before{ left:16px; background:rgba(35,72,63,.94); }
.labriller-lp .compare-label.after{ right:16px; background:rgba(182,151,93,.95); }
.labriller-lp .compare input{
  position:absolute; inset:0;
  width:100%; height:100%;
  opacity:0;
  cursor:ew-resize;
  z-index:6;
  margin:0;
}
.labriller-lp .compare-help{ margin-top:10px; color:var(--muted); font-size:13px; }
.labriller-lp .compare-fallback{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:0;
}
.labriller-lp .compare-fallback figure{
  margin:0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
}
.labriller-lp .compare-fallback figcaption{
  font-family:Georgia,serif;
  font-size:12px;
  letter-spacing:.08em;
  color:var(--muted);
  padding:10px 12px 0;
}
.labriller-lp .compare-fallback img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:3/2;
  object-fit:cover;
}
@media (max-width:640px){
  .labriller-lp .compare-fallback{
    grid-template-columns:1fr;
  }
}
.labriller-lp .meta{
  display:grid; grid-template-columns:1.1fr 1.3fr 1fr .9fr; gap:12px;
  margin-top:18px;
}
.labriller-lp .meta div{
  padding:15px 16px;
  border-radius:16px;
  background:#f9fbf9;
  border:1px solid var(--line);
}
.labriller-lp .meta b{ display:block; color:var(--deep); margin-bottom:4px; }
.labriller-lp .risk{
  margin-top:12px;
  padding:14px 16px;
  border-radius:16px;
  background:#fffaf2;
  border:1px solid #ead9b5;
  font-size:14px;
}

.labriller-lp .price-wrap{
  display:grid; grid-template-columns:1fr 1fr; gap:26px; align-items:start;
}
.labriller-lp .featured{
  background:linear-gradient(135deg,var(--deep2),var(--deep));
  color:#fff;
  border-radius:28px;
  padding:38px;
  box-shadow:0 20px 48px rgba(35,72,63,.18);
}
.labriller-lp .badge{
  display:inline-block;
  border-radius:999px;
  padding:7px 12px;
  background:var(--gold);
  font-size:12px;
  font-weight:700;
}
.labriller-lp .price{
  font-family:Georgia,serif;
  font-size:52px;
  line-height:1.1;
  margin:14px 0 8px;
}
.labriller-lp table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
}
.labriller-lp th, .labriller-lp td{ padding:16px 18px; border-bottom:1px solid var(--line); text-align:left; }
.labriller-lp th{ background:#f5f8f5; }
.labriller-lp tr:last-child td{ border-bottom:0; }

.labriller-lp .price-table{
  width:100%;
}
.labriller-lp .price-table tr.is-popular strong{
  color:#111;
  font-size:inherit;
}
@media (max-width:767px){
  .labriller-lp .price-table{
    border:0;
    background:transparent;
    border-radius:0;
    overflow:visible;
  }
  .labriller-lp .price-table thead{ display:none; }
  .labriller-lp .price-table tbody{
    display:grid;
    gap:12px;
  }
  .labriller-lp .price-table tr{
    display:grid;
    gap:8px;
    padding:16px 18px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow:0 10px 28px rgba(49,90,79,.05);
  }
  .labriller-lp .price-table tr.is-popular{
    border-color:rgba(182,151,93,.45);
    box-shadow:0 12px 30px rgba(154,125,58,.12);
  }
  .labriller-lp .price-table td{
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    gap:12px;
    padding:0;
    border:0;
    font-size:13px;
    line-height:1.5;
  }
  .labriller-lp .price-table td::before{
    content:attr(data-label);
    flex:0 0 auto;
    color:var(--muted);
    font-size:12px;
    font-weight:600;
  }
  .labriller-lp .price-table td:first-child{
    display:block;
    padding-bottom:6px;
    margin-bottom:2px;
    border-bottom:1px solid var(--line);
    font-size:15px;
    font-weight:700;
    color:var(--deep);
  }
  .labriller-lp .price-table td:first-child::before{ display:none; }
  .labriller-lp .price-table td:not(:first-child){
    text-align:right;
  }
}

.labriller-lp .cta{
  background:linear-gradient(135deg,var(--deep2),var(--deep));
  color:#fff;
  border-radius:34px;
  padding:52px;
  text-align:center;
  box-shadow:0 24px 52px rgba(35,72,63,.18);
}




@media (max-width: 980px) {
  .labriller-lp .hero {
    min-height: 790px;
  }
  .labriller-lp .hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(255, 253, 249, 0.97) 0%,
        rgba(255, 253, 249, 0.78) 24%,
        rgba(255, 253, 249, 0.18) 38%,
        rgba(255, 253, 249, 0) 52%
      ),
      url('../img/labriller/labriller-mv-mobile.webp');
    background-position: center, center 0%;
    background-size: cover, auto 88%;
  }
  .labriller-lp .hero-inner {
    min-height: 790px;
    align-items: flex-start;
  }
  .labriller-lp .hero-copy {
    width: 100%;
    padding: 46px 0 300px;
  }
  .labriller-lp .feature-strip {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: min(1160px, calc(100% - 36px));
    margin: 18px auto 0;
    grid-template-columns: 1fr;
    background: #fffdf9;
  }
  .labriller-lp .feature-item {
    border-right: 0;
    border-bottom: 1px solid rgba(182, 151, 93, 0.20);
  }
  .labriller-lp .feature-item:last-child {
    border-bottom: 0;
  }
  .labriller-lp .zero-grid,
  .labriller-lp .price-wrap,
  .labriller-lp .meta {
    grid-template-columns: 1fr;
  }
  .labriller-lp .case-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .labriller-lp .hero {
    min-height: 760px;
  }
  .labriller-lp .hero-copy {
    padding-top: 34px;
    padding-bottom: 285px;
  }
  .labriller-lp .hero h2 {
    font-size: 40px;
  }
  .labriller-lp .hero-lead {
    font-size: 16px;
  }
  .labriller-lp .hero-actions .btn {
    width: 100%;
  }
  .labriller-lp .compare {
    aspect-ratio: 1/1;
  }
  .labriller-lp .compare-after img {
    width: 100vw;
  }
}

/* v10.1: ラブリエ導入説明セクション */
.labriller-lp .intro-story {
  padding: 72px 0 68px;
  background: #fff;
}
.labriller-lp .intro-story-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.labriller-lp .intro-story .intro-label {
  font-size: 12px;
  letter-spacing: .18em;
  color: #6f9b95;
  font-weight: 700;
  margin-bottom: 14px;
}
.labriller-lp .intro-story h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.45;
  margin: 0 0 26px;
  color: #24413d;
}
.labriller-lp .intro-story .intro-quote {
  font-size: clamp(19px, 2.7vw, 25px);
  font-weight: 700;
  line-height: 1.8;
  color: #3a4d49;
  margin: 0 0 24px;
}
.labriller-lp .intro-story .intro-copy {
  max-width: 790px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 2.05;
  color: #52615e;
}
.labriller-lp .intro-story .intro-copy p {
  margin: 0 0 16px;
}
.labriller-lp .intro-story .intro-copy p:last-child {
  margin-bottom: 0;
}
.labriller-lp .intro-story strong {
  color: #2f7068;
}
@media (max-width: 640px) {
  .labriller-lp .intro-story {
    padding: 52px 0 48px;
  }
  .labriller-lp .intro-story-inner {
    text-align: left;
  }
  .labriller-lp .intro-story h2 {
    font-size: 27px;
    line-height: 1.55;
  }
  .labriller-lp .intro-story .intro-quote {
    font-size: 19px;
    line-height: 1.75;
  }
  .labriller-lp .intro-story .intro-copy {
    font-size: 15px;
    line-height: 1.95;
  }
}

/* v10.3 症例導線 */
.labriller-lp .top-case6 {
  padding: 34px 0 52px;
  background: #fff;
}
.labriller-lp .top-case6 .mini-head {
  text-align: center;
  margin-bottom: 20px;
}
.labriller-lp .top-case6 .mini-head .en {
  font-size: .78rem;
  letter-spacing: .18em;
  color: var(--gold);
  margin-bottom: 8px;
}
.labriller-lp .top-case6 .mini-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0;
  color: var(--ink);
}
.labriller-lp .top-case6 .mini-head p {
  margin: 10px 0 0;
  color: var(--muted);
}
.labriller-lp .top-case6-card {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.labriller-lp .top-case6 .compare {
  margin: 0;
}
.labriller-lp .more-cases-toggle-wrap {
  display: flex;
  justify-content: center;
  margin: 34px 0 0;
}
.labriller-lp .more-cases-toggle{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-width:min(100%,380px);
  padding:16px 32px;
  border:1px solid #7fb5ae;
  border-radius:999px;
  background:#fff;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(66,113,107,.18);
  transition:background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.labriller-lp .more-cases-toggle .more-cases-toggle-label{
  color:#6eaea5;
  font-size:16px;
  font-weight:700;
  letter-spacing:.06em;
  line-height:1.4;
}
.labriller-lp .more-cases-toggle:hover{
  background:#f3faf8;
  box-shadow:0 14px 32px rgba(66,113,107,.22);
}
.labriller-lp .more-cases-toggle:active{
  transform:translateY(1px);
}
.labriller-lp .more-cases-toggle:focus-visible{
  outline:3px solid rgba(47,95,90,.45);
  outline-offset:3px;
}
.labriller-lp .more-cases-toggle .arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#6eaea5;
  position:relative;
  top:0;
  transition:transform .25s ease;
}
.labriller-lp .more-cases-toggle .arrow::before{
  content:"";
  width:7px;
  height:7px;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:translateY(-1.5px) rotate(45deg);
}
.labriller-lp .more-cases-toggle[aria-expanded="true"] .arrow{
  transform:rotate(180deg);
}
.labriller-lp .extra-cases {
  display: none;
  margin-top: 28px;
  gap: 28px;
}
.labriller-lp .extra-cases.is-open {
  display: grid;
}
.labriller-lp .extra-cases[hidden] {
  display: none !important;
}
.labriller-lp .case-card {
  scroll-margin-top: calc(var(--header-height, 140px) + 36px);
}
@media (max-width: 768px) {
  .labriller-lp .top-case6 {
    padding: 22px 0 34px;
  }
  .labriller-lp .top-case6-card {
    margin: 0 16px;
    padding: 14px;
    border-radius: 22px;
  }
  .labriller-lp .top-case6 .mini-head {
    padding: 0 20px;
  }
  .labriller-lp .top-case6 .mini-head p {
    font-size: .92rem;
  }
  .labriller-lp .more-cases-toggle-wrap {
    margin-top: 26px;
  }
  .labriller-lp .more-cases-toggle {
    width: 100%;
    min-width: 0;
    padding: 15px 20px;
  }
  .labriller-lp .more-cases-toggle .more-cases-toggle-label {
    font-size: 15px;
  }
}



/* v10.4: clinic reasons */
.labriller-lp .clinic-reasons{
  background:#fff;
}
.labriller-lp .clinic-reasons .section-head{
  margin-bottom:34px;
}
.labriller-lp .reason-list{
  max-width:980px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.labriller-lp .reason-item{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:22px 24px;
  border:1px solid rgba(115,145,138,.25);
  border-radius:22px;
  background:linear-gradient(180deg,#fff 0%,#fbfdfc 100%);
  box-shadow:0 12px 28px rgba(41,66,59,.05);
}
.labriller-lp .reason-num{
  flex:0 0 auto;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(215,231,228,.72);
  color:var(--green);
  font-weight:700;
  font-size:.9rem;
}
.labriller-lp .reason-item h3{
  margin:1px 0 6px;
  color:var(--green);
  font-size:1.05rem;
  line-height:1.55;
}
.labriller-lp .reason-item p{
  margin:0;
  color:var(--muted);
  font-size:.92rem;
  line-height:1.7;
}
.labriller-lp .reason-item:last-child{
  grid-column:1 / -1;
}
@media (max-width:768px){
  .labriller-lp .clinic-reasons .section-head{
    margin-bottom:24px;
  }
  .labriller-lp .reason-list{
    grid-template-columns:1fr;
    gap:12px;
  }
  .labriller-lp .reason-item, .labriller-lp .reason-item:last-child{
    grid-column:auto;
  }
  .labriller-lp .reason-item{
    padding:18px 17px;
    border-radius:18px;
    gap:13px;
  }
  .labriller-lp .reason-num{
    width:34px;
    height:34px;
    font-size:.82rem;
  }
  .labriller-lp .reason-item h3{
    font-size:1rem;
    margin-bottom:4px;
  }
  .labriller-lp .reason-item p{
    font-size:.88rem;
    line-height:1.65;
  }
}



/* ===== FINAL RESPONSIVE SAFETY LAYER v11 ===== */

.labriller-lp video,
.labriller-lp iframe,
.labriller-lp svg {
  max-width: 100%;
  height: auto;
}

.labriller-lp .container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.labriller-lp .case-card,
.labriller-lp .featured-case,
.labriller-lp .reason-card,
.labriller-lp .price-card,
.labriller-lp .card {
  min-width: 0;
}

.labriller-lp .case-list,
.labriller-lp .reason-grid,
.labriller-lp .price-wrap,
.labriller-lp .zero-grid,
.labriller-lp .meta {
  min-width: 0;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .labriller-lp .container {
    width: min(920px, calc(100% - 48px));
  }
  .labriller-lp .hero-inner {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .labriller-lp .hero-copy {
    max-width: 650px;
  }
  .labriller-lp .hero h2 {
    font-size: clamp(46px, 6.2vw, 68px);
    line-height: 1.18;
  }
  .labriller-lp .hero-lead {
    max-width: 620px;
  }
  .labriller-lp .feature-strip {
    width: min(920px, calc(100% - 48px));
    margin-inline: auto;
  }
  .labriller-lp .section {
    padding-top: 84px;
    padding-bottom: 84px;
  }
  .labriller-lp .section-head h2 {
    font-size: clamp(34px, 4.4vw, 48px);
  }
  .labriller-lp .case-list {
    gap: 34px;
  }
  .labriller-lp .compare {
    min-height: 420px;
  }
  .labriller-lp .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .labriller-lp .price-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1025px) {
  .labriller-lp .container {
    width: min(1180px, calc(100% - 80px));
  }
  .labriller-lp .hero-inner {
    min-height: 720px;
  }
  .labriller-lp .feature-strip {
    width: min(1180px, calc(100% - 80px));
    margin-inline: auto;
  }
  .labriller-lp .section {
    padding-top: 108px;
    padding-bottom: 108px;
  }
  .labriller-lp .case-list {
    max-width: 1040px;
    margin-inline: auto;
  }
  .labriller-lp .compare {
    min-height: 520px;
  }
  .labriller-lp .reason-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
  }
}

@media (min-width: 1440px) {
  .labriller-lp .hero-copy {
    max-width: 720px;
  }
  .labriller-lp .hero h2 {
    font-size: 78px;
  }
  .labriller-lp .section-head h2 {
    font-size: 54px;
  }
}

@media (max-width: 767px) {
  .labriller-lp .container {
    width: calc(100% - 32px);
  }
  .labriller-lp .hero-inner {
    padding-left: 0;
    padding-right: 0;
  }
  .labriller-lp .hero h2 {
    overflow-wrap: anywhere;
  }
  .labriller-lp .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .labriller-lp .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }
  .labriller-lp .feature-strip {
    width: calc(100% - 32px);
    margin-inline: auto;
  }
  .labriller-lp .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .labriller-lp .section-head h2 {
    overflow-wrap: anywhere;
  }
  .labriller-lp .case-card {
    border-radius: 24px;
  }
  .labriller-lp .compare {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
  .labriller-lp .meta {
    grid-template-columns: 1fr;
  }
  .labriller-lp .reason-grid,
  .labriller-lp .price-wrap,
  .labriller-lp .zero-grid {
    grid-template-columns: 1fr;
  }
  .labriller-lp .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.45;
  }
}

/* --- block 2 --- */
/* Final layout corrections */
.labriller-lp .feature-strip {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 auto !important;
  width: min(1160px, calc(100% - 36px)) !important;
  background: #fffdf9 !important;
}

.labriller-lp .hero {
  overflow: hidden !important;
}

.labriller-lp #flow {
  padding-bottom: 24px !important;
}

.labriller-lp #contact {
  padding-top: 0 !important;
}

.labriller-lp .section-head h2 .heading-line {
  display: block;
}
@media(max-width:980px){
  .labriller-lp .feature-strip{
    margin:0 auto !important;
  }
  .labriller-lp .hero{
    min-height:760px !important;
  }
  .labriller-lp .hero-inner{
    min-height:760px !important;
  }
  .labriller-lp .hero-copy{
    padding-bottom:285px !important;
  }
}
@media(max-width:640px){
  .labriller-lp .hero{
    min-height:735px !important;
  }
  .labriller-lp .hero-copy{
    padding-bottom:270px !important;
  }
  .labriller-lp #flow{padding-bottom:14px !important;}
  .labriller-lp #contact{padding-top:0 !important;}
}

/* --- block 3 --- */
.labriller-lp{
  --soft-aqua:#dff1ef;
  --soft-aqua-2:#eaf7f6;
  --soft-aqua-3:#f2fbfb;
  --aqua-text:#2f5f5a;
}

/* Hero and section separation */
.labriller-lp .hero-break{
  height:28px;
  background:#ffffff;
}
.labriller-lp .feature-strip{
  background:var(--soft-aqua-3) !important;
  border-color:#cfe6e4 !important;
  box-shadow:0 12px 28px rgba(90,125,120,.07) !important;
  z-index:10 !important;
}
.labriller-lp .feature-item{
  border-right:1px solid #d8ecea !important;
}
.labriller-lp .feature-item strong{
  color:#355f5a !important;
}
.labriller-lp .feature-item span{
  color:#5b7b77 !important;
}

/* Remove any residual image feeling around the strip/cards */
.labriller-lp #features{
  background:#ffffff !important;
  padding-top:54px !important;
}
.labriller-lp .section.mint{
  background:#f4fbfb !important;
}

/* Main buttons and green elements -> pale aqua */
.labriller-lp .btn{
  background:linear-gradient(135deg,var(--soft-aqua),#cfe9e7) !important;
  color:var(--aqua-text) !important;
  box-shadow:0 10px 24px rgba(66,113,107,.10) !important;
}
.labriller-lp .btn.outline{
  background:#ffffff !important;
  color:var(--aqua-text) !important;
  border:1px solid #b7d8d4 !important;
  box-shadow:none !important;
}
.labriller-lp .hero-points span{
  background:#ffffff !important;
  border-color:#cfe3e0 !important;
  color:#406a65 !important;
}
.labriller-lp .compare-label.before{
  background:#d8eeeb !important;
  color:#325e58 !important;
}
.labriller-lp .featured{
  background:linear-gradient(135deg,var(--soft-aqua),#cee6e4) !important;
  color:#2f5551 !important;
  box-shadow:0 18px 40px rgba(70,110,105,.10) !important;
}
.labriller-lp .featured .price, .labriller-lp .featured h3, .labriller-lp .featured p, .labriller-lp .featured div{
  color:#2f5551 !important;
}
.labriller-lp .featured .badge{
  background:#c4aa6b !important;
  color:#fff !important;
}
.labriller-lp .cta{
  background:linear-gradient(135deg,var(--soft-aqua),#cee6e4) !important;
  color:#2f5551 !important;
  box-shadow:0 18px 40px rgba(70,110,105,.10) !important;
}
.labriller-lp .cta h2, .labriller-lp .cta p{
  color:#2f5551 !important;
}






/* Keep gold phone button if inline background existed */
.labriller-lp a.btn[style*="background:var(--gold)"], .labriller-lp a.btn[style*="background:#c9a56a"]{
  background:#c4aa6b !important;
  color:#fff !important;
}

/* Heading line breaks and spacing */
.labriller-lp .section-head h2{
  line-height:1.45 !important;
}
.labriller-lp .section-head h2 br{
  display:block !important;
}
@media(max-width:980px){
  .labriller-lp .hero-break{
    height:16px;
  }
  .labriller-lp #features{
    padding-top:36px !important;
  }
}

/* --- block 4 --- */
@media(max-width:980px){
  .labriller-lp .hero::after{
    height:300px !important;
    background:linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.88) 28%,
      rgba(255,255,255,.98) 52%,
      rgba(255,255,255,1) 68%,
      rgba(255,255,255,1) 100%) !important;
  }
}
@media(max-width:640px){
  .labriller-lp .hero::after{
    height:340px !important;
    background:linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.92) 24%,
      rgba(255,255,255,.99) 44%,
      rgba(255,255,255,1) 58%,
      rgba(255,255,255,1) 100%) !important;
  }
}

/* --- block 5 --- */
@media(max-width:980px){
  .labriller-lp .hero{
    min-height:660px !important;
  }
  .labriller-lp .hero-inner{
    min-height:660px !important;
  }
  .labriller-lp .hero-copy{
    padding-bottom:185px !important;
  }
  .labriller-lp .hero::after{
    height:225px !important;
    background:linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.90) 18%,
      rgba(255,255,255,.985) 38%,
      rgba(255,255,255,1) 52%,
      rgba(255,255,255,1) 100%) !important;
  }
  .labriller-lp .hero-break{
    height:0 !important;
  }
}
@media(max-width:640px){
  .labriller-lp .hero{
    min-height:620px !important;
  }
  .labriller-lp .hero-inner{
    min-height:620px !important;
  }
  .labriller-lp .hero-copy{
    padding-bottom:160px !important;
  }
  .labriller-lp .hero::after{
    height:205px !important;
    background:linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.92) 14%,
      rgba(255,255,255,.99) 32%,
      rgba(255,255,255,1) 46%,
      rgba(255,255,255,1) 100%) !important;
  }
  .labriller-lp .hero-break{
    height:0 !important;
  }
}

/* --- block 6 --- */
/* Requested final mobile-first adjustments only */
@media(max-width:980px){
  .labriller-lp .hero::before{
    background-position:center, calc(50% + 110px) 0% !important;
  }
  .labriller-lp .hero{
    min-height:610px !important;
  }
  .labriller-lp .hero-inner{
    min-height:610px !important;
  }
  .labriller-lp .hero-copy{
    padding-bottom:130px !important;
  }
  .labriller-lp .hero::after{
    height:165px !important;
    background:linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.93) 12%,
      rgba(255,255,255,.99) 28%,
      rgba(255,255,255,1) 42%,
      rgba(255,255,255,1) 100%) !important;
  }
  .labriller-lp .hero-break{
    height:0 !important;
    margin:0 !important;
    padding:0 !important;
  }
}
@media(max-width:640px){
  .labriller-lp .hero::before{
    background-position:center, calc(50% + 96px) 0% !important;
  }
  .labriller-lp .hero{
    min-height:575px !important;
  }
  .labriller-lp .hero-inner{
    min-height:575px !important;
  }
  .labriller-lp .hero-copy{
    padding-bottom:105px !important;
  }
  .labriller-lp .hero::after{
    height:135px !important;
    background:linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.95) 10%,
      rgba(255,255,255,.995) 24%,
      rgba(255,255,255,1) 36%,
      rgba(255,255,255,1) 100%) !important;
  }
  .labriller-lp .hero-break{
    height:0 !important;
    margin:0 !important;
    padding:0 !important;
  }
}

/* --- block 7 --- */
.labriller-lp .compare.js-compare{
  touch-action:none !important;
  -webkit-user-select:none !important;
  user-select:none !important;
  cursor:ew-resize;
}
.labriller-lp .compare.js-compare:focus{
  outline:none;
}
.labriller-lp .compare.js-compare:focus-visible{
  outline:3px solid #c9a45b;
  outline-offset:4px;
}
.labriller-lp .compare.js-compare.is-dragging{
  cursor:grabbing;
}
.labriller-lp .compare.js-compare .compare-after{
  width:var(--pos);
}
.labriller-lp .compare.js-compare .compare-after img{
  max-width:none !important;
  pointer-events:none !important;
}
.labriller-lp .compare.js-compare .compare-knob{
  pointer-events:none !important;
}
.labriller-lp .compare.js-compare .compare-line, .labriller-lp .compare.js-compare .compare-label, .labriller-lp .compare.js-compare img{
  pointer-events:none !important;
}

/* --- block 8 --- */
/* v10 responsive expansion: iPad + desktop.
   Mobile behavior is preserved as-is. */

/* iPad portrait / large tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  .labriller-lp .container{
    width:min(940px, calc(100% - 48px));
  }

  

  

  .labriller-lp .hero{
    min-height:820px !important;
  }

  .labriller-lp .hero-inner{
    min-height:820px !important;
  }

  .labriller-lp .hero-copy{
    width:58%;
    max-width:620px;
    padding:72px 0 240px !important;
  }

  .labriller-lp .hero::before{
    background-position:center, calc(50% + 70px) 4% !important;
    background-size:cover, auto 96% !important;
  }

  .labriller-lp .hero h2{
    font-size:58px;
    line-height:1.22;
  }

  .labriller-lp .hero-lead{
    font-size:18px;
    max-width:560px;
  }

  .labriller-lp .hero-actions{
    max-width:560px;
  }

  .labriller-lp .hero-actions .btn{
    min-width:250px;
  }

  .labriller-lp .feature-strip{
    width:min(940px, calc(100% - 48px)) !important;
    grid-template-columns:repeat(3,1fr) !important;
  }

  .labriller-lp .feature-item{
    padding:22px 20px;
    border-right:1px solid #d8ecea !important;
    border-bottom:0 !important;
  }

  .labriller-lp .feature-item:last-child{
    border-right:0 !important;
  }

  .labriller-lp .section{
    padding:88px 0;
  }

  .labriller-lp .section-head{
    margin-bottom:44px;
  }

  .labriller-lp .zero-grid{
    grid-template-columns:repeat(3,1fr);
    gap:18px;
  }

  .labriller-lp .card{
    padding:26px;
  }

  .labriller-lp .case-card{
    padding:28px;
  }

  .labriller-lp .compare{
    aspect-ratio:16/10;
  }

  .labriller-lp .meta{
    grid-template-columns:1.1fr 1.3fr 1fr .9fr;
  }

  .labriller-lp .price-wrap{
    grid-template-columns:1fr 1fr;
  }

  

  

  
}

/* Desktop / laptop */
@media (min-width: 1025px) {
  .labriller-lp .container{
    width:min(1180px, calc(100% - 64px));
  }

  

  

  

  .labriller-lp .hero{
    min-height:780px !important;
  }

  .labriller-lp .hero-inner{
    min-height:780px !important;
  }

  .labriller-lp .hero-copy{
    width:50%;
    max-width:620px;
    padding:92px 0 132px !important;
  }

  .labriller-lp .hero::before{
    background-size:cover, auto 118% !important;
  }

  .labriller-lp .hero h2{
    font-size:68px;
    line-height:1.2;
  }

  .labriller-lp .hero-lead{
    font-size:19px;
    max-width:560px;
  }

  .labriller-lp .hero-actions .btn{
    min-width:240px;
  }

  .labriller-lp .feature-strip{
    width:min(1180px, calc(100% - 64px)) !important;
    grid-template-columns:repeat(3,1fr) !important;
  }

  .labriller-lp .feature-item{
    padding:24px 26px;
    border-right:1px solid #d8ecea !important;
    border-bottom:0 !important;
  }

  .labriller-lp .feature-item:last-child{
    border-right:0 !important;
  }

  .labriller-lp .section{
    padding:104px 0;
  }

  .labriller-lp .section-head{
    margin-bottom:52px;
  }

  .labriller-lp h2{
    font-size:48px;
  }

  .labriller-lp .zero-grid{
    grid-template-columns:repeat(3,1fr);
    gap:24px;
  }

  .labriller-lp .case-list{
    gap:34px;
  }

  .labriller-lp .case-card{
    padding:30px;
  }

  .labriller-lp .case-top h3{
    font-size:26px;
  }

  .labriller-lp .compare{
    aspect-ratio:16/9;
  }

  .labriller-lp .compare-knob{
    width:64px;
    height:64px;
  }

  .labriller-lp .meta{
    grid-template-columns:1.1fr 1.4fr 1fr .9fr;
    gap:16px;
  }

  .labriller-lp .price-wrap{
    grid-template-columns:1fr 1fr;
    gap:32px;
  }

  .labriller-lp .featured{
    position:sticky;
    top:116px;
  }

  

  

  
}

/* Wide desktop */
@media (min-width: 1440px) {
  .labriller-lp .container{
    width:1240px;
  }

  .labriller-lp .hero-copy{
    max-width:650px;
  }

  .labriller-lp .hero::before{
    background-size:cover, auto 122% !important;
  }

  .labriller-lp .hero h2{
    font-size:74px;
  }

  .labriller-lp .feature-strip{
    width:1240px !important;
  }
}

.labriller-lp .cta .eyebrow {
  letter-spacing: 0.18em;
  font-size: 13px;
  margin-bottom: 10px;
  color: #9a7d3a;
}

.labriller-lp .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.labriller-lp a.btn[href^="tel"] {
  background: #c4aa6b !important;
  color: #fff !important;
}

.labriller-lp .section-head p {
  color: var(--muted);
}

.labriller-lp .card p {
  color: var(--muted);
  margin: 0;
}

.labriller-lp .hero h2 .gold {
  color: var(--gold);
}

.labriller-lp .hero h2 .green {
  color: var(--deep);
}

/* JS有効/無効の表示切り替え（このブロックはファイル末尾に置く） */
html:not(.labriller-js) .labriller-lp .js-compare,
html:not(.labriller-js) .labriller-lp .compare-help,
html:not(.labriller-js) .labriller-lp .js-only-help,
html:not(.labriller-js) .labriller-lp .more-cases-toggle-wrap {
  display: none !important;
}
html:not(.labriller-js) .labriller-lp .extra-cases[hidden] {
  display: grid !important;
}
html.labriller-js .labriller-lp .compare-fallback,
html.labriller-js .labriller-lp .no-js-help {
  display: none !important;
}
html.labriller-js .labriller-lp .more-cases-toggle-wrap {
  display: flex;
}
