/* Libra index late overrides — consolidated without changing cascade order */

/* === libra-web-one-screen-luxury-style === */
/* Libra Web：1画面完結・高級感重視の導線 */
.libraweb-signature{
  --lw-ivory:#f4efe6;
  --lw-muted:rgba(244,239,230,.68);
  --lw-line:rgba(244,239,230,.18);
  --lw-gold:#c9a96e;
  position:relative;
  isolation:isolate;
  display:grid;
  place-items:center;
  min-height:clamp(650px,100svh,900px);
  overflow:hidden;
  padding:clamp(28px,5vw,72px) 20px;
  color:var(--lw-ivory);
  background:
    radial-gradient(circle at 82% 18%,rgba(201,169,110,.20),transparent 28%),
    radial-gradient(circle at 12% 88%,rgba(115,126,135,.16),transparent 32%),
    linear-gradient(145deg,#111315 0%,#181b1e 52%,#0c0e10 100%);
}
.libraweb-signature::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  opacity:.34;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom,transparent,black 18%,black 82%,transparent);
}
.libraweb-signature::after{
  content:"LW";
  position:absolute;
  right:-.05em;
  bottom:-.22em;
  z-index:-1;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(220px,40vw,620px);
  font-weight:700;
  line-height:1;
  letter-spacing:-.11em;
  color:rgba(255,255,255,.018);
  pointer-events:none;
}
.libraweb-signature-frame{
  width:min(1180px,100%);
  min-height:min(760px,calc(100svh - clamp(56px,10vw,144px)));
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:clamp(24px,4vw,56px);
  border:1px solid var(--lw-line);
  border-radius:clamp(22px,3vw,36px);
  background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.015));
  box-shadow:0 40px 100px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.libraweb-signature-top,
.libraweb-signature-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--lw-muted);
}
.libraweb-signature-brandblock{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.libraweb-signature-service{
  display:block;
  margin:10px 0 0 45px;
  color:rgba(201,169,110,.78);
  font-size:9px;
  font-weight:900;
  line-height:1;
  letter-spacing:.34em;
  white-space:nowrap;
}
.libraweb-signature-brand{
  display:inline-flex;
  align-items:center;
  gap:13px;
  color:var(--lw-ivory);
}
.libraweb-signature-brand::before{
  content:"";
  width:32px;
  height:1px;
  background:var(--lw-gold);
  box-shadow:12px 0 0 rgba(201,169,110,.38);
}
.libraweb-signature-main{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(290px,.65fr);
  align-items:end;
  gap:clamp(40px,7vw,100px);
  padding:clamp(34px,5.2vh,64px) 0;
}
.libraweb-signature-kicker{
  margin:0 0 22px;
  color:var(--lw-gold);
  font-size:12px;
  font-weight:900;
  letter-spacing:.24em;
}
.libraweb-signature-title{
  margin:0;
  max-width:760px;
  font-family:"Yu Mincho","Hiragino Mincho ProN","Hiragino Mincho Pro",Georgia,serif;
  font-size:clamp(46px,6.2vw,88px);
  font-weight:500;
  line-height:1.17;
  letter-spacing:-.045em;
}
.libraweb-signature-title-first{
  display:block;
  white-space:nowrap;
}
.libraweb-signature-title strong{
  display:block;
  margin-top:.06em;
  font-weight:500;
  color:#f6edda;
  background:linear-gradient(105deg,#fff 0%,#f3e6ca 48%,#d4b77d 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  text-shadow:0 0 34px rgba(201,169,110,.11);
}
.libraweb-signature-lead{
  margin:28px 0 0;
  max-width:670px;
  color:rgba(244,239,230,.82);
  font-size:clamp(14px,1.45vw,18px);
  font-weight:600;
  line-height:2;
  letter-spacing:.045em;
}
.libraweb-signature-lead::before{
  content:"";
  display:block;
  width:100%;
  height:1px;
  margin-bottom:24px;
  background:linear-gradient(90deg,var(--lw-gold) 0 22%,rgba(244,239,230,.18) 22% 100%);
}
.libraweb-signature-offer{
  position:relative;
  padding:32px 0 0;
  border-top:1px solid var(--lw-line);
}
.libraweb-signature-offer::before{
  content:"";
  position:absolute;
  top:-1px;
  left:0;
  width:72px;
  height:1px;
  background:var(--lw-gold);
}
.libraweb-signature-plan{
  margin:0 0 16px;
  color:var(--lw-muted);
  font-size:10px;
  font-weight:900;
  letter-spacing:.22em;
}
.libraweb-signature-price{
  display:flex;
  align-items:flex-end;
  gap:8px;
  white-space:nowrap;
}
.libraweb-signature-price small{
  padding-bottom:13px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  color:var(--lw-muted);
}
.libraweb-signature-price b{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(62px,7vw,94px);
  font-weight:400;
  line-height:.85;
  letter-spacing:-.055em;
}
.libraweb-signature-price span{
  padding-bottom:9px;
  font-size:15px;
  font-weight:800;
}
.libraweb-signature-note{
  margin:18px 0 28px;
  color:var(--lw-muted);
  font-size:13px;
  letter-spacing:.04em;
}
.libraweb-signature-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:62px;
  padding:0 22px 0 24px;
  border:1px solid rgba(255,255,255,.78);
  border-radius:999px;
  color:#141618;
  background:
    linear-gradient(115deg,rgba(255,255,255,.96) 0%,rgba(247,248,248,.98) 28%,rgba(222,225,227,.96) 58%,rgba(255,255,255,.98) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.98),inset 0 -1px 0 rgba(150,156,160,.22),0 14px 34px rgba(0,0,0,.18);
  font-size:14px;
  font-weight:900;
  letter-spacing:.08em;
  text-decoration:none;
  position:relative;
  overflow:hidden;
  transition:transform .25s ease,filter .25s ease,box-shadow .25s ease;
  animation:libraWebLuxuryPulse 2.8s ease-in-out infinite;
}
.libraweb-signature-link::before{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(105deg,transparent 8%,rgba(255,255,255,.72) 31%,transparent 48%);
  opacity:.62;
}
.libraweb-signature-link-label{
  position:relative;
  z-index:1;
  display:block;
  width:auto;
  height:auto;
  color:#141618;
  background:none;
  line-height:1.3;
}
.libraweb-signature-link > span:last-child{
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  flex:0 0 36px;
  width:36px;
  height:36px;
  border-radius:50%;
  background:#17191b;
  color:#fff;
  font-size:17px;
  transition:transform .25s ease;
}
.libraweb-signature-link:hover{
  transform:translateY(-2px);
  filter:brightness(1.035);
  box-shadow:inset 0 1px 0 rgba(255,255,255,1),0 20px 44px rgba(0,0,0,.24);
}
.libraweb-signature-link:hover > span:last-child{transform:translate(2px,-2px);}
.libraweb-signature-bottom{
  padding-top:20px;
  border-top:1px solid var(--lw-line);
  letter-spacing:.16em;
}
.libraweb-signature-tags{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px 18px;
}
.libraweb-signature-tags span{white-space:nowrap;}
@keyframes libraWebLuxuryPulse{
  0%,88%,100%{transform:scale(1)}
  93%{transform:scale(1.012)}
  97%{transform:scale(.999)}
}
.libra-contact-shortcut{
  padding:34px 20px 42px;
  background:#fff;
}
.libra-contact-shortcut-inner{
  width:min(980px,100%);
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:24px 28px;
  border:1px solid rgba(20,22,24,.10);
  border-radius:24px;
  background:rgba(255,255,255,.92);
  box-shadow:0 18px 54px rgba(20,22,24,.08);
}
.libra-contact-shortcut-copy small{
  display:block;
  margin-bottom:5px;
  color:#a16c22;
  font-size:10px;
  font-weight:900;
  letter-spacing:.18em;
}
.libra-contact-shortcut-copy strong{
  font-size:16px;
  letter-spacing:.04em;
}
.libra-contact-shortcut-actions{
  display:flex;
  gap:10px;
}
.libra-contact-shortcut-actions a{
  display:grid;
  place-items:center;
  min-width:150px;
  min-height:48px;
  padding:0 20px;
  border-radius:999px;
  font-size:13px;
  font-weight:900;
  text-decoration:none;
}
.libra-contact-shortcut-actions .contact-button-only-link{background:#17191b;color:#fff;}
.libra-contact-shortcut-actions .contact-upload-link{border:1px solid #d8d9da;background:#fff;color:#17191b;}
@media (max-width:760px){
  .libraweb-signature{
    min-height:clamp(660px,100svh,820px);
    padding:14px;
  }
  .libraweb-signature-frame{
    min-height:calc(100svh - 28px);
    padding:22px 20px;
    border-radius:24px;
  }
  .libraweb-signature-top{font-size:9px;letter-spacing:.16em;}
  .libraweb-signature-service{margin:8px 0 0 45px;font-size:7.5px;letter-spacing:.3em;}
  .libraweb-signature-top > span:last-child{display:none;}
  .libraweb-signature-main{
    flex:1;
    grid-template-columns:1fr;
    align-content:center;
    gap:28px;
    padding:30px 0 24px;
  }
  .libraweb-signature-title{
    font-size:clamp(35px,9.5vw,40px);
    line-height:1.18;
  }
  .libraweb-signature-lead{
    margin-top:20px;
    font-size:13px;
    line-height:1.82;
    letter-spacing:.018em;
  }
  .libraweb-signature-lead::before{margin-bottom:18px;}
  .libraweb-signature-offer{padding-top:24px;}
  .libraweb-signature-plan{margin-bottom:12px;}
  .libraweb-signature-price b{font-size:64px;}
  .libraweb-signature-note{margin:14px 0 20px;font-size:12px;}
  .libraweb-signature-link{min-height:58px;}
  .libraweb-signature-bottom{font-size:8px;padding-top:15px;}
  .libraweb-signature-tags{gap:8px 12px;}
  .libra-contact-shortcut{padding:22px 14px 30px;}
  .libra-contact-shortcut-inner{
    align-items:stretch;
    flex-direction:column;
    padding:20px;
    border-radius:20px;
  }
  .libra-contact-shortcut-copy{text-align:center;}
  .libra-contact-shortcut-actions a{flex:1;min-width:0;}
}
@media (max-width:380px), (max-height:700px) and (max-width:760px){
  .libraweb-signature-frame{padding:18px;}
  .libraweb-signature-main{gap:19px;padding:19px 0 15px;}
  .libraweb-signature-title{font-size:31px;}
  .libraweb-signature-lead{margin-top:14px;font-size:12px;line-height:1.62;letter-spacing:0;}
  .libraweb-signature-lead::before{margin-bottom:13px;}
  .libraweb-signature-price b{font-size:56px;}
  .libraweb-signature-note{margin:10px 0 15px;}
  .libraweb-signature-bottom{padding-top:12px;}
}
@media (prefers-reduced-motion:reduce){
  .libraweb-signature-link{animation:none;transition:none;}
}

/* === libra-message-reveal-style === */
/* Libraメッセージ：外枠幅いっぱいの背景画像で静的表示 */
.about-card .message.libra-message-reveal{
  position:relative !important;
  overflow:hidden !important;
  margin-top:30px !important;
  margin-left:-44px !important;
  margin-right:-44px !important;
  padding:38px 44px !important;
  border-radius:28px !important;
  border:0 !important;
  color:#fff !important;
  background:
    linear-gradient(90deg, rgba(5,15,25,.82) 0%, rgba(5,15,25,.66) 46%, rgba(5,15,25,.22) 100%),
    url('assets/libra-kobe-night-clean.jpg') center right / cover no-repeat !important;
  box-shadow:0 24px 58px rgba(20,24,32,.22) !important;
}
.about-card .message.libra-message-reveal::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.18);
  pointer-events:none;
}
#libra-message-reveal{
  position:relative;
  z-index:1;
  max-width:760px;
  color:rgba(255,255,255,.95);
  text-align:left;
  letter-spacing:.035em;
  line-height:2.05;
  font-weight:800;
  text-shadow:0 2px 18px rgba(0,0,0,.42);
}
#libra-message-reveal .reveal-block{
  display:block;
  opacity:1;
  transform:none;
  transition:none;
}
#libra-message-reveal .reveal-block + .reveal-block{
  margin-top:1.05em;
}
@media (min-width: 1100px){
  .about-card .message.libra-message-reveal{
    margin-left:-54px !important;
    margin-right:-54px !important;
    padding:44px 54px !important;
  }
}
@media (max-width: 900px){
  .about-card .message.libra-message-reveal{
    margin-left:-32px !important;
    margin-right:-32px !important;
    padding:34px 28px !important;
    background:
      linear-gradient(90deg, rgba(5,15,25,.86) 0%, rgba(5,15,25,.70) 58%, rgba(5,15,25,.34) 100%),
      url('assets/libra-kobe-night-clean.jpg') center right / cover no-repeat !important;
  }
  #libra-message-reveal{max-width:100%;}
}
@media (max-width: 640px){
  .about-card .message.libra-message-reveal{
    margin-left:-24px !important;
    margin-right:-24px !important;
    padding:30px 22px !important;
    border-radius:22px !important;
  }
  .about-card .message.libra-message-reveal::after{border-radius:22px;}
  #libra-message-reveal{
    line-height:1.95;
    letter-spacing:.02em;
  }
  #libra-message-reveal .reveal-block + .reveal-block{margin-top:.94em;}
}
@media (prefers-reduced-motion: reduce){
  #libra-message-reveal .reveal-block{
    opacity:1;
    transform:none;
    transition:none;
  }
}
