/* Libra upload styles — consolidated without changing cascade order */

/* === base === */
:root{--orange:#f57c1f;--orange-deep:#e86412;--cream:#fff8ef;--ink:#202020;--muted:#666;--line:#efd2bd;}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",Meiryo,sans-serif;color:var(--ink);background:radial-gradient(circle at 12% 8%, rgba(245,124,31,.10), transparent 34%),linear-gradient(180deg,#fffdf9 0%,#fff8ef 100%);line-height:1.8;}
a{color:inherit;text-decoration:none}
.header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid rgba(245,124,31,.15);box-shadow:0 8px 22px rgba(96,51,15,.08);}
.header-inner{width:min(1080px,92%);margin:0 auto;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;}
.logo img{width:188px;max-width:48vw;display:block}
.back-actions{display:flex;gap:10px;align-items:center;}
.back-link,.contact-link{display:inline-flex;align-items:center;justify-content:center;padding:9px 15px;border-radius:999px;font-size:13px;font-weight:900;white-space:nowrap;}
.back-link{color:#fff;background:linear-gradient(135deg,var(--orange),var(--orange-deep));box-shadow:0 8px 20px rgba(245,124,31,.22);}
.contact-link{color:#d96a18;background:#fff4ea;border:1px solid rgba(245,124,31,.18);}
.main{width:min(960px,92%);margin:0 auto;padding:58px 0 78px;}
.page-title{text-align:center;margin-bottom:34px;}
.kicker{color:var(--orange);font-weight:900;letter-spacing:.18em;font-size:13px;margin-bottom:8px;}
h1{margin:0;font-size:clamp(34px,7vw,52px);line-height:1.25;color:var(--orange);letter-spacing:.06em;}
.lead{margin:18px auto 0;max-width:720px;color:#333;font-weight:700;}
.form-card{background:rgba(255,255,255,.92);border:1px solid rgba(245,124,31,.18);border-radius:30px;box-shadow:0 18px 46px rgba(92,48,14,.10);padding:38px;}
.notice{text-align:center;color:#555;margin:0 0 14px;font-weight:700;}
.subnote{margin:0 auto 30px;max-width:640px;text-align:center;color:#6a5a4c;font-size:14px;line-height:1.8;font-weight:700;}
.form-row{margin-bottom:22px;}
label{display:block;margin-bottom:8px;font-weight:900;color:#333;}
.required{color:var(--orange);margin-right:2px;}
.optional{color:#8a7768;font-size:12px;font-weight:700;margin-left:6px;}
input, textarea{width:100%;border:1px solid #d9c9bd;background:#fff;border-radius:12px;padding:14px 15px;font-size:16px;font-family:inherit;outline:none;transition:border-color .18s ease, box-shadow .18s ease;}
input[type=file]{padding:12px;background:#fffaf6;}
textarea{min-height:150px;resize:vertical;}
input:focus, textarea:focus{border-color:var(--orange);box-shadow:0 0 0 4px rgba(245,124,31,.12);}
.file-note{margin-top:8px;color:#7b6757;font-size:13px;line-height:1.7;font-weight:700;}
.submit-wrap{text-align:center;margin-top:32px;}
button{appearance:none;border:0;border-radius:999px;background:linear-gradient(135deg,var(--orange),var(--orange-deep));color:#fff;font-size:17px;font-weight:900;letter-spacing:.06em;padding:16px 58px;min-width:260px;cursor:pointer;box-shadow:0 14px 28px rgba(245,124,31,.25);}
.helper-links{margin-top:18px;text-align:center;font-size:14px;color:#555;}
.helper-links a{color:var(--orange);font-weight:900;}
.footer{text-align:center;color:#8c6b55;padding:28px 0 38px;font-size:13px;}
@media(max-width:560px){.header-inner{width:min(100% - 28px,1080px);}.logo img{width:170px;}.back-actions{gap:8px;}.back-link,.contact-link{font-size:12px;padding:8px 12px;}.main{width:min(100% - 30px,960px);padding:42px 0 62px;}.form-card{padding:28px 18px;border-radius:26px;}button{width:100%;min-width:0;}}

/* === libra-subpage-desktop-modern-polish-v1 === */
/* PC表示だけを整える。スマホ表示は既存のまま維持 */
@media (min-width: 900px){
  body{
    background:
      radial-gradient(circle at 8% 8%, rgba(245,124,31,.10), transparent 28%),
      radial-gradient(circle at 92% 16%, rgba(245,124,31,.08), transparent 30%),
      linear-gradient(180deg,#fffaf5 0%,#fff8ef 48%,#fff 100%) !important;
  }
  .header{
    background:rgba(255,255,255,.88) !important;
    border-bottom:1px solid rgba(245,124,31,.18) !important;
    box-shadow:0 14px 36px rgba(96,51,15,.08) !important;
  }
  .header-inner{
    width:min(1240px, calc(100% - 96px)) !important;
    min-height:92px !important;
  }
  .logo img{
    width:230px !important;
    max-width:none !important;
  }
  .back-link,
  .contact-link{
    min-height:42px !important;
    padding:0 22px !important;
    font-size:15px !important;
  }
  .main{
    width:min(1040px, calc(100% - 96px)) !important;
    padding:78px 0 104px !important;
  }
  .page-title{
    margin-bottom:44px !important;
  }
  .kicker{
    font-size:15px !important;
    letter-spacing:.18em !important;
  }
  h1{
    font-size:58px !important;
    line-height:1.15 !important;
  }
  .lead{
    max-width:780px !important;
    font-size:18px !important;
    line-height:2 !important;
  }
  .form-card{
    max-width:920px !important;
    margin:0 auto !important;
    padding:52px 64px !important;
    border-radius:34px !important;
    border:1px solid rgba(245,124,31,.18) !important;
    box-shadow:0 24px 58px rgba(96,51,15,.10) !important;
  }
  .notice{
    font-size:16px !important;
  }
  .subnote{
    max-width:720px !important;
    font-size:15px !important;
  }
  .form-row{
    margin-bottom:26px !important;
  }
  label{
    font-size:16px !important;
  }
  input,
  textarea{
    font-size:17px !important;
    padding:16px 18px !important;
    border-radius:14px !important;
  }
  textarea{
    min-height:220px !important;
  }
  button{
    min-width:320px !important;
    min-height:56px !important;
    font-size:18px !important;
  }
  .footer{
    padding:34px 0 46px !important;
  }
}

/* === libra-bg4-global-network-background === */
/* 背景4：地球＋ネットワーク 奥行きパララックス版
   表面コンテンツのスクロール速度に対して、背景は約30%だけ動く。 */
:root{
  --libra-bg-parallax-y: 0px;
}
html{
  background:#fff8f1 !important;
}
body{
  background:#fff8f1 !important;
  position:relative;
}
#libraBgParallax{
  position:fixed;
  left:0;
  top:0;
  width:100%;
  height:100vh;
  z-index:0;
  pointer-events:none;
  transform:none;
  will-change:background-position;
  background-color:#fff8f1;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.58) 0%, rgba(255,248,241,.48) 44%, rgba(255,239,224,.46) 100%),
    url('assets/bg4-network.png');
  background-repeat:repeat-y;
  background-size:100% auto;
  background-position:center var(--libra-bg-parallax-y);
}
body > *:not(#libraBgParallax){
  position:relative;
  z-index:1;
}
.live-header,
header.live-header{
  z-index:50 !important;
  background:rgba(255,255,255,.97) !important;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.hero,
.section,
.trust-voice-section,
.area-card + .section,
#service,
#about,
#works,
#contact{
  background:transparent !important;
}
.about-card,.side-card,.service-card,.area-card,.contact-card,.update-card,.voice-card,.trust-stat-card{
  background:rgba(255,255,255,.80) !important;
  backdrop-filter:blur(1.5px);
  -webkit-backdrop-filter:blur(1.5px);
}
.logo-slider, .logo-item, .logo-image-card{
  background:rgba(255,255,255,.76) !important;
}
.footer-info{
  background:rgba(255,250,244,.90) !important;
}
footer{
  background:#f57c1f !important;
}
@media (max-width: 760px){
  #libraBgParallax{
    top:0;
    height:100vh;
    background-image:
      linear-gradient(180deg, rgba(255,255,255,.50) 0%, rgba(255,248,241,.42) 42%, rgba(255,239,224,.40) 100%),
      url('assets/bg4-network.png');
    background-size:100% auto;
    background-position:center var(--libra-bg-parallax-y);
  }
  .about-card,.side-card,.service-card,.area-card,.contact-card,.update-card,.voice-card,.trust-stat-card{
    background:rgba(255,255,255,.78) !important;
  }
}
@media (prefers-reduced-motion: reduce){
  #libraBgParallax{
    background-position:center top !important;
  }
}

/* === libra-footer-white-final-fix === */
/* フッター情報欄はロゴの白背景と馴染ませるため、背景画像を完全に遮断 */
.footer-info,
section.footer-info{
  position:relative !important;
  z-index:5 !important;
  background:#ffffff !important;
  background-image:none !important;
  box-shadow:none !important;
  border-top:0 !important;
}
.footer-info::before,
.footer-info::after{
  content:none !important;
  display:none !important;
  background:none !important;
}
.footer-info .container,
.footer-info .footer-grid,
.footer-info .footer-logo,
.footer-info .footer-logo-img{
  background:#ffffff !important;
  background-image:none !important;
}
.footer-info .container{
  position:relative !important;
  z-index:6 !important;
}
.footer-info + footer{
  position:relative !important;
  z-index:5 !important;
}

/* === libra-shake-style === */
@keyframes libraTabPulse{
0%,86%,100%{transform:scale(1)}
90%{transform:scale(1.018)}
94%{transform:scale(0.998)}
97%{transform:scale(1.006)}
}
.live-contact,.live-upload,.more-btn,.contact-button-only-link,.contact-upload-link{
animation:libraTabPulse 2s infinite;
transform-origin:center;
will-change:transform;
}
@media (prefers-reduced-motion: reduce){
.live-contact,.live-upload,.more-btn,.contact-button-only-link,.contact-upload-link{
animation:none;
}
}
