/* =====================================================
   CSS カスタムプロパティ
   ===================================================== */
:root {
  --bg:          #0a0a0a;
  --bg-alt:      #111111;
  --bg-card:     #1a1a1a;
  --text:        #ffffff;
  --text-muted:  #909090;
  --text-dim:    #777777;
  --line-green:  #25D366;
  --line-hover:  #1da851;
  --border:      #2a2a2a;
  --border-dim:  #1e1e1e;

  --font-ja:     'Noto Sans JP', sans-serif;
  --font-en:     'Cormorant Garamond', Georgia, serif;
  --font-ui:     'Inter', sans-serif;

  --max-w:       1100px;
  --header-h:    64px;
  --section-py:  96px;
}

/* =====================================================
   Reset & Base
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }

/* =====================================================
   Utility
   ===================================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.pc-br { display: none; }
@media (min-width: 768px) { .pc-br { display: block; } }

/* =====================================================
   Section 共通
   ===================================================== */
.section-label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-ja);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  margin-bottom: 56px;
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dim);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ロゴ */
.logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
  transition: opacity 0.2s;
  line-height: 1;
}
.logo:hover { opacity: 0.7; }
.logo-main {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.3em;
}
.logo-sub {
  font-family: var(--font-ja);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* ナビゲーション（PC） */
.nav {
  display: none;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}
.nav a {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }

/* LINE ボタン（ヘッダー） */
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--line-green);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 9px 18px;
  border-radius: 4px;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
.btn-line:hover {
  background: var(--line-hover);
  transform: translateY(-1px);
}
.btn-line:active { transform: translateY(0); }

/* ハンバーガー（スマホ） */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* スマホ時のナビオーバーレイ */
.nav.open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.98);
  padding: 40px 24px;
  gap: 28px;
}
.nav.open a {
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--text);
}

@media (min-width: 768px) {
  .hamburger { display: none; }
  .nav { display: flex; }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  height: clamp(500px, 72vh, 750px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 背景：左右2分割写真 */
.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
}
.hero-bg-left,
.hero-bg-right {
  flex: 1;
  background-size: cover;
  background-position: center;
}

/* 暗幕オーバーレイ（透明度で明るさ調整） */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

/* テキストコンテンツ（画像の上に重ねる） */
.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  padding-bottom: 80px;
}
.hero-label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-catch {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.0;
  margin-bottom: 28px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.catch-em {
  color: #d4a012;
}
.hero-sub {
  font-size: 13px;
  line-height: 2;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin-bottom: 40px;
}

/* CTAボタン */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.55);
  color: #fff;
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  transition: background 0.2s, border-color 0.2s;
  min-height: 48px;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}
.hero-line-btn {
  font-size: 14px;
  padding: 14px 28px;
  min-height: 48px;
}

/* 下部ラベルエリア */
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 28px 24px;
}
.hero-corner {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.hero-scroll:hover { color: rgba(255,255,255,0.9); }
.scroll-line {
  display: block;
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.25);
}

@media (min-width: 768px) {
  .hero-catch {
    font-size: clamp(4rem, 11vw, 8rem);
  }
}

/* =====================================================
   BUSINESS
   ===================================================== */
.business {
  padding: var(--section-py) 0;
  background: var(--bg-alt);
}

/* 事業ブロック共通 */
.biz-block {
  margin-bottom: 80px;
}
.biz-block:last-child { margin-bottom: 0; }

.biz-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.biz-num {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}
.biz-title {
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.1em;
}

/* アパレル写真グリッド */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}
@media (min-width: 600px) {
  .photo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

.photo-item { margin: 0; }
.photo-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.photo-item:hover .photo-img {
  transform: scale(1.04);
  opacity: 0.85;
}
.photo-item {
  overflow: hidden;
}

.biz-text {
  font-size: 14px;
  line-height: 2.1;
  color: var(--text-muted);
}

/* 中古車ビジュアル */
.car-visual {
  width: 100%;
  aspect-ratio: 16 / 7;
  background-color: #111;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.car-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.coming-soon {
  font-family: var(--font-ui);
  font-size: clamp(1.4rem, 5vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 0.5em;
  color: var(--text);
}
.coming-text {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* =====================================================
   COMPANY
   ===================================================== */
.company {
  padding: var(--section-py) 0;
  background: var(--bg);
}
.company-list {
  border-top: 1px solid var(--border);
  max-width: 640px;
}
.company-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
@media (min-width: 480px) {
  .company-row { grid-template-columns: 140px 1fr; }
}
dt {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding-top: 3px;
}
dd {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact {
  padding: var(--section-py) 0;
  background: var(--bg-alt);
}
.contact .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.contact-lead {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}
.btn-line--lg {
  font-size: 15px;
  font-weight: 600;
  padding: 18px 52px;
  border-radius: 6px;
  gap: 10px;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  min-height: 56px;
  width: 100%;
  justify-content: center;
}
@media (min-width: 480px) {
  .btn-line--lg {
    width: auto;
    justify-content: flex-start;
  }
}
.contact-tel a {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.contact-tel a:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  padding: 48px 0;
  background: var(--bg);
  border-top: 1px solid var(--border-dim);
  text-align: center;
}
.footer-logo {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  margin-bottom: 14px;
  opacity: 0.5;
}
.footer-copy {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

/* =====================================================
   アクセシビリティ: フォーカスリング
   ===================================================== */
:focus-visible {
  outline: 2px solid var(--line-green);
  outline-offset: 3px;
}

/* =====================================================
   スクロールバー（任意）
   ===================================================== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
