:root {
  --bg: #0d1117;
  --surface: #ffffff;
  --surface-soft: #f5f7fa;
  --text: #15181d;
  --muted: #68707c;
  --line: rgba(18, 24, 32, 0.10);
  --accent: #b9914b;
  --accent-dark: #8a6a32;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.10);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(0,0,0,.50) 0%, rgba(0,0,0,.18) 68%, transparent 100%);
  border-bottom: 1px solid rgba(255,255,255,.10);
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.site-header.scrolled {
  background: rgba(12, 15, 19, .94);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255,255,255,.08);
  box-shadow: 0 8px 30px rgba(0,0,0,.20);
}

.header-inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 92px;
  padding: 0 34px;
}

.logo-area {
  flex: 0 0 auto;
}

.logo-area a {
  display: block;
}

.logo-area img {
  display: block;
  width: auto;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.24));
}

nav {
  position: relative;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}

.menu > li {
  position: relative;
}

.menu > li > a,
.toggle-submenu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 34px 11px 30px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .045em;
  cursor: pointer;
  transition: color .25s ease, opacity .25s ease;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.menu > li > a::after,
.toggle-submenu::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 22px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}

.menu > li:hover > a,
.menu > li:hover > .toggle-submenu {
  color: #f0d29a;
}

.menu > li:hover > a::after,
.menu > li:hover > .toggle-submenu::after {
  transform: scaleX(1);
}

.submenu {
  list-style: none;
  position: absolute;
  top: calc(100% - 10px);
  left: 50%;
  min-width: 220px;
  padding: 10px;
  background: rgba(18, 22, 27, .97);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.submenu li a {
  display: block;
  padding: 11px 14px;
  color: #f4f6f8;
  text-decoration: none;
  font-size: 13px;
  border-radius: 9px;
  transition: background .2s ease, padding-left .2s ease;
}

.submenu li a:hover {
  background: rgba(255,255,255,.08);
  padding-left: 18px;
}

.hamburger {
  display: none;
  border: 0;
  background: rgba(0,0,0,.18);
  border-radius: 10px;
  color: #fff;
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
  padding: 8px 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 720px;
  height: 100vh;
  max-height: 920px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  background: #111;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 1.1s ease-in-out, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,10,14,.68) 0%, rgba(7,10,14,.38) 45%, rgba(7,10,14,.28) 100%),
    linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.28) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.26));
}

.hero-text {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 48px));
  text-align: left;
  padding-top: 72px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s ease;
}

.hero-text.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #e2c48b;
}

.hero-text h1 {
  max-width: 820px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1.03;
  letter-spacing: .015em;
  font-weight: 800;
  text-shadow: 0 8px 30px rgba(0,0,0,.25);
}

.hero-text p {
  margin-top: 22px;
  max-width: 660px;
  font-size: clamp(16px, 2vw, 23px);
  letter-spacing: .08em;
  color: rgba(255,255,255,.92);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(185,145,75,.28);
}

.btn-primary:hover {
  background: #c7a05b;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(185,145,75,.35);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
  background: rgba(255,255,255,.05);
}

.btn-outline:hover {
  background: #fff;
  color: var(--text);
  transform: translateY(-3px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(0,0,0,.22);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .25s ease, transform .25s ease;
}

.hero-arrow:hover {
  background: rgba(0,0,0,.52);
  transform: translateY(-50%) scale(1.06);
}

.hero-arrow.left { left: 24px; }
.hero-arrow.right { right: 24px; }

/* ---------- Main sections ---------- */
section.content-section {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s ease;
}

section.content-section.show {
  opacity: 1;
  transform: translateY(0);
}

.intro {
  background: var(--surface);
  padding: 110px 24px;
}

.intro-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.intro h2 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.2;
  letter-spacing: .02em;
}

.intro-copy {
  padding-top: 10px;
}

.intro-copy p {
  margin-bottom: 18px;
  color: #4d5560;
  font-size: 16px;
}

.intro-copy strong {
  color: var(--text);
}

.service-grid-section {
  background: var(--surface-soft);
  padding: 100px 24px 110px;
}

.service-grid-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.service-grid-header {
  max-width: 650px;
  margin-bottom: 42px;
}

.service-grid-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.25;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 30px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(0,0,0,.05);
  text-decoration: none;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(185,145,75,.4);
}

.card-number {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-dark);
  letter-spacing: .18em;
}

.card h3 {
  margin-top: 54px;
  font-size: 24px;
}

.card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.card-arrow {
  position: absolute;
  right: 26px;
  bottom: 24px;
  font-size: 24px;
  transition: transform .25s ease;
}

.card:hover .card-arrow {
  transform: translateX(5px);
}

/* ---------- Footer ---------- */
footer {
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,.82);
  padding: 74px 24px;
  background-image: url("car4.jpg");
  background-size: cover;
  background-position: center 58%;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,8,11,.91), rgba(6,8,11,.70)),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.62));
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  font-size: 13px;
}

.footer-brand {
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: .05em;
  text-shadow: 0 4px 20px rgba(0,0,0,.35);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .header-inner {
    padding: 0 20px;
    min-height: 76px;
  }

  .logo-area img {
    height: 48px;
  }

  .hamburger {
    display: block;
  }

  nav {
    margin-left: auto;
  }

 .menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;

  height: auto;
  max-height: none;
  overflow: visible;

  flex-direction: column;
  align-items: stretch;
  gap: 0;

  padding: 8px 22px 18px;
  background: #0b0d10;

  z-index: 9998;
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
}

.site-header {
  position: relative;
  z-index: 9999;
}

nav.active .menu {
  display: flex;
}

.menu > li {
  width: 100%;
  margin: 0;
  padding: 0;
}

.menu > li > a {
  display: block;
  width: 100%;
  padding: 18px 10px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
  .menu > li > a::after,
  .toggle-submenu::after {
    display: none;
  }

  .submenu {
    position: static;
    min-width: 0;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 6px 0 10px 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .dropdown:hover .submenu {
    transform: none;
  }

  .submenu li a {
    padding: 10px 12px;
    color: rgba(255,255,255,.82);
  }

  .hero {
    height: 100vh;
    min-height: 650px;
  }

  .hero-text {
    width: min(100% - 44px, 880px);
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-arrow.left { left: 12px; }
  .hero-arrow.right { right: 12px; }

  .intro-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
  .lr-hero-bg{
  background-image:
    linear-gradient(rgba(0,0,0,.24),rgba(0,0,0,.24)),
    url('liberial-main-sp.png');

  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
}
}

@media (max-width: 640px) {
  .hero {
    min-height: 570px;
    max-height: none;
  }

  .hero-text h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .hero-text p {
    font-size: 15px;
    line-height: 1.9;
  }

  .hero-kicker {
    font-size: 11px;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 310px;
  }

  .hero-arrow {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .intro,
  .service-grid-section {
    padding: 78px 20px;
  }

  .card {
    min-height: 230px;
    padding: 26px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  footer {
    padding: 58px 20px;
    background-position: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


.liberial-footer{
  background:#050505;
  color:#fff;
  padding:80px 0 30px;
  border-top:1px solid rgba(255,255,255,.08);
}

.liberial-footer .footer-inner{
  width:min(100% - 72px,1240px);
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  gap:60px;
  align-items:flex-start;
}

.footer-brand{
  font-size:48px;
  font-weight:800;
  letter-spacing:-0.04em;
}

.footer-tagline{
  margin:10px 0 0;
  font-size:12px;
  letter-spacing:.18em;
  color:rgba(255,255,255,.55);
}

.footer-copy{
  margin:22px 0 0;
  font-size:14px;
  color:rgba(255,255,255,.72);
}

.footer-right{
  display:flex;
  flex-wrap:wrap;
  gap:26px;
}

.footer-right a{
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:700;
  letter-spacing:.12em;
}

.footer-right a:hover{
  opacity:.6;
}

.footer-bottom{
  width:min(100% - 72px,1240px);
  margin:60px auto 0;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.08);
}

.footer-bottom p{
  margin:0;
  font-size:11px;
  color:rgba(255,255,255,.45);
}

@media(max-width:760px){
  .liberial-footer .footer-inner{
    width:min(100% - 38px,1240px);
    flex-direction:column;
  }

  .footer-right{
    flex-direction:column;
    gap:16px;
  }

  .footer-bottom{
    width:min(100% - 38px,1240px);
  }

  .footer-brand{
    font-size:38px;
  }
}
/* ===== LibeRial Footer Size Adjustment ===== */

.liberial-footer{
  min-height:420px;
  padding:110px 0 45px;
}

.liberial-footer .footer-inner{
  width:min(calc(100% - 100px),1400px);
  min-height:240px;
  margin:0 auto;
  align-items:center;
}

.liberial-footer .footer-brand{
  font-size:64px;
  font-weight:800;
  line-height:1;
  margin-bottom:22px;
}

.liberial-footer .footer-tagline{
  font-size:20px;
  margin-bottom:14px;
}

.liberial-footer .footer-copy{
  font-size:18px;
  line-height:1.8;
}

.liberial-footer .footer-right{
  display:flex;
  gap:30px;
  align-items:center;
}

.liberial-footer .footer-right a{
  font-size:16px;
  font-weight:700;
  letter-spacing:.05em;
}

.liberial-footer .footer-bottom{
  margin-top:50px;
  font-size:14px;
}
/* ===== LibeRial Header Adjustment ===== */

.site-header{
  height:110px;
  background:#050505;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.site-header .header-inner{
  width:min(calc(100% - 100px),1600px);
  height:100%;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* ロゴ */
.site-header .logo-area{
  display:flex;
  align-items:center;
}

.site-header .logo{
  width:230px;
  height:auto;
  display:block;
}

/* メニュー */
.site-header .menu{
  display:flex;
  align-items:center;
  gap:46px;
  margin:0;
  padding:0;
  list-style:none;
}

.site-header .menu li{
  margin:0;
  padding:0;
}

.site-header .menu a{
  color:#fff;
  font-size:15px;
  font-weight:700;
  letter-spacing:.08em;
  text-decoration:none;
  position:relative;
  padding:12px 0;
  transition:opacity .25s ease;
}

.site-header .menu a:hover{
  opacity:.65;
}

/* 下線アニメーション */
.site-header .menu a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:4px;
  width:0;
  height:1px;
  background:#fff;
  transition:width .25s ease;
}

.site-header .menu a:hover::after{
  width:100%;
}

/* スマホ */
@media(max-width:900px){
  .site-header{
    height:88px;
  }

  .site-header .header-inner{
    width:calc(100% - 38px);
  }

  .site-header .logo{
    width:180px;
  }

  .site-header .menu{
    gap:20px;
  }
}
/* ===== LibeRial Mobile Header Final Fix ===== */
@media (max-width: 980px){

  /* 閉じているときは絶対に非表示 */
  .site-header nav .menu{
    display:none !important;

    position:fixed;
    top:88px;
    left:0;
    right:0;

    width:100%;
    height:auto;
    margin:0;
    padding:10px 24px 20px;

    flex-direction:column;
    align-items:stretch;
    gap:0;

    background:#0b0d10;
    box-shadow:0 18px 35px rgba(0,0,0,.35);
    z-index:9998;
  }

  /* 三本線を押したときだけ表示 */
  .site-header nav.active .menu{
    display:flex !important;
  }

  .site-header .menu > li{
    width:100%;
    margin:0;
    padding:0;
  }

  .site-header .menu > li > a{
    display:block;
    width:100%;
    padding:18px 10px;

    text-align:center;
    color:#fff;
    font-size:16px;
    font-weight:700;
    letter-spacing:.08em;

    border-bottom:1px solid rgba(255,255,255,.08);
  }

  .site-header .menu > li > a::after{
    display:none !important;
  }

  .site-header{
    z-index:9999;
  }
}
/* COLLECTION 商品画像サイズ調整 */
.lr-product-link{
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  color: inherit;
  text-decoration: none;
}

.lr-product-link .lr-product-visual{
  width: 100%;
  height: auto;
}

.lr-product-link .lr-product-visual img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* COLLECTION 商品画像の表示サイズを統一 */
.lr-product-visual{
  width: 100%;
  aspect-ratio: 1 / 1.25;
  overflow: hidden;
}

.lr-product-visual img{
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
}
