/* ==========================================================================
   信幸ホーム株式会社 - Responsive Design System (Blue & Green Edition)
   Optimized for Mobile (Min-Width 375px) & High-End UX
   ========================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* --- Root Design Tokens --- */
:root {
  /* Color Palette - Luxury White & Logo Blue/Green */
  --primary-navy: #0c2340;           /* 品格のある深いネイビー */
  --primary-blue: #1b4d89;           /* ロゴマークのロイヤルブルー */
  --primary-accent-blue: #1b4d89;    
  
  --accent-green: #2e7d32;           /* 落ち着いた深みのあるグリーン */
  --accent-green-bright: #439639;    /* ロゴマークのフレッシュグリーン */
  --accent-green-hover: #1b5e20;     
  --accent-green-mint: #4caf50;      

  /* 後方互換性エイリアス（HTML/JS互換） */
  --accent-gold: var(--accent-green-bright);
  --accent-gold-hover: var(--accent-green-hover);
  --accent-cyan: var(--primary-blue);
  
  --bg-main: #ffffff;
  --bg-surface: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-surface-glass: rgba(255, 255, 255, 0.94);
  --bg-card: rgba(255, 255, 255, 0.98);
  
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-white: #ffffff;
  
  --border-light: rgba(15, 23, 42, 0.08);
  --border-gold: rgba(67, 150, 57, 0.35);
  --border-green: rgba(67, 150, 57, 0.35);

  --gradient-brand: linear-gradient(135deg, #1b4d89 0%, #0c2340 100%);
  --gradient-gold: linear-gradient(135deg, #1b4d89 0%, #439639 100%);
  --gradient-green: linear-gradient(135deg, #439639 0%, #2e7d32 100%);
  --gradient-blue-green: linear-gradient(90deg, #1b4d89 0%, #439639 100%);
  --gradient-hero: linear-gradient(135deg, #0c2340 0%, #1b4d89 100%);
  
  /* Fonts */
  --font-family: 'Noto Sans JP', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-serif: 'Noto Serif JP', 'Cormorant Garamond', serif;
  --font-display: 'Cormorant Garamond', 'Noto Serif JP', serif;
  
  /* Spacing & Layout */
  --container-max-width: 1200px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(9, 26, 47, 0.05);
  --shadow-md: 0 10px 24px -4px rgba(9, 26, 47, 0.1);
  --shadow-lg: 0 20px 40px -10px rgba(9, 26, 47, 0.16);
  --shadow-gold: 0 4px 18px rgba(16, 185, 129, 0.35);
  --shadow-green: 0 4px 18px rgba(16, 185, 129, 0.35);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  scroll-behavior: smooth;
  color: var(--text-primary);
  background-color: var(--bg-main);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px; /* 超小型スマホ画面でも横スクロールを防止 */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  word-break: auto-phrase;
  overflow-wrap: break-word;
}

.inline-block {
  display: inline-block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.15rem; /* 375pxスマホで圧迫感のない余白 */
  }
}

.section-padding {
  padding: 5.5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }
}

/* --- Headers & Typography --- */
.text-center { text-align: center; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.825rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent-green-bright);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
  transform: skewX(-25deg); /* ロゴのシャープな斜め線と連動 */
}

.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.85rem;
}

/* ロゴの青×緑と連動したシャープなリニアアンダーライン */
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--gradient-blue-green);
  border-radius: 2px;
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.85rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.55rem; /* 375pxで読みやすい見出しサイズ */
  }
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

@media (max-width: 480px) {
  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
}

/* --- Glass Cards --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-blue-green);
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  opacity: 0.85;
}

@media (max-width: 480px) {
  .glass-card {
    padding: 1.35rem; /* スマホカードのパディング最適化 */
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm); /* 建築・施工会社らしい端正な幾何学角丸 */
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .btn {
    width: 100%; /* スマホ画面で押しやすい全幅ボタン */
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
    white-space: normal;
  }
}

.btn-primary {
  background: var(--gradient-gold);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(14, 59, 100, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--accent-green-bright);
  color: var(--accent-green-bright);
  transform: translateY(-2px);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
}

/* ヘッダー下端のシャープなリニアアクセントライン */
.site-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-blue-green);
  opacity: 0.85;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1.5rem;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-symbol {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-logo-text {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary-navy);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: opacity var(--transition-fast);
}

.brand-logo-text:hover {
  opacity: 0.85;
}

.brand-logo-text span {
  color: var(--accent-green-bright);
}

@media (max-width: 480px) {
  .brand-logo-symbol {
    height: 26px;
  }
  .brand-logo-text {
    font-size: 1.0rem;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0.1rem;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--gradient-gold);
  transition: width var(--transition-fast);
  border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-gold);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

/* 769px〜1024px の中間画面サイズでもメニューをすっきり1行に収める最適化 */
@media (max-width: 1024px) and (min-width: 769px) {
  .header-container {
    gap: 0.75rem;
  }
  .brand-logo-symbol {
    height: 26px;
  }
  .brand-logo-text {
    font-size: 1.05rem;
  }
  .nav-menu {
    gap: 0.75rem;
  }
  .nav-link {
    font-size: 0.82rem;
    padding: 0.3rem 0;
  }
  .nav-menu .btn {
    padding: 0.45rem 0.9rem !important;
    font-size: 0.8rem !important;
  }
}

/* Mobile Navigation (768px以下のスマホサイズのみハンバーガーメニュー化) */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--text-primary);
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--bg-surface);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }

  .nav-menu.is-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu .btn {
    width: 100%;
    text-align: center;
  }
}

/* --- Hero Carousel & Header Section --- */
.hero-carousel-section {
  position: relative;
  min-height: 480px;
  background-color: var(--primary-navy);
  color: var(--text-white);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* 建築図面のような極細の線形グリッドオーバーレイ */
.hero-carousel-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 480px) {
  .hero-carousel-section {
    min-height: 420px;
  }
}

.carousel-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.carousel-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.18);
  transition: opacity 2.2s cubic-bezier(0.4, 0, 0.2, 1), transform 8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.carousel-bg-slide.active {
  opacity: 0.55;
  transform: scale(1);
}

/* --- Hero Section & Typography --- */
.hero-overlay-content {
  position: relative;
  z-index: 3;
  padding-top: 6rem;
  padding-bottom: 6.5rem;
  text-align: left; /* PC表示では標準の左寄せスタイル */
}

/* 下層ページ用バナー（高さを抑えつつ余白を最適化） */
.page-banner-section .hero-overlay-content {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  background: rgba(14, 59, 100, 0.45);
  border: 1px solid rgba(16, 185, 129, 0.6);
  color: var(--accent-green-mint);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-badge-tag::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-green-bright);
  border-radius: 1px;
  transform: rotate(45deg); /* ロゴの幾何学ひし形アクセント */
}

.hero-main-heading {
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  width: 100%;
}

.page-banner-title {
  font-size: clamp(1.4rem, 4.5vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.heading-line-1 {
  display: block;
  font-size: 3.1rem; /* PC表示での重厚で美しい大見出しサイズ */
  letter-spacing: -0.01em;
}

.heading-line-2 {
  display: block;
  font-size: 3.5rem;
  margin-top: 0.25rem;
}

.hero-sub-text {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 650px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ヒーローボタン領域 (PC表示) */
.hero-cta-wrapper {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: flex-start; /* PCでは左寄せ配置 */
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

/* ==========================================================================
   スマホ・タブレット表示制御 (画面幅 768px 以下で切り替え)
   ========================================================================== */
@media (max-width: 768px) {
  .hero-overlay-content {
    padding: 3.5rem 1.25rem 4rem 1.25rem;
    text-align: center; /* スマホ表示のみ中央寄せ */
  }

  .hero-badge-tag {
    font-size: 0.78rem;
    margin-bottom: 1.25rem;
  }

  .hero-main-heading {
    margin: 0 auto 2rem auto; /* 下の説明文との間をゆったりと拡張 */
    line-height: 1.25;
  }

  /* 1行目と2行目の文字サイズを大きく統一＆行間を縮小 */
  .heading-line-1,
  .heading-line-2 {
    display: block;
    font-size: clamp(1.25rem, 5.5vw, 2.05rem); /* サイズを大きめに最適化 */
    text-align: center;
    letter-spacing: -0.01em;
    overflow-wrap: break-word;
  }

  .heading-line-2 {
    margin-top: 0.15rem; /* 行間をキュッと狭く調整 */
  }

  .hero-sub-text {
    font-size: 0.95rem;
    max-width: 100%;
    margin: 0 auto 2rem auto;
    text-align: center;
    line-height: 1.75;
  }

  /* スマホでのボタンサイズをコンパクトに調整 */
  .hero-cta-wrapper {
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 260px; /* ボタン領域を小ぶりに絞る */
    margin: 1.25rem auto 0 auto;
  }

  .hero-cta-wrapper .btn {
    width: 100%;
    padding: 0.65rem 1.25rem; /* 小ぶりでスッキリしたパディング */
    font-size: 0.875rem; /* 小ぶりなフォントサイズ */
    text-align: center;
  }
}

/* 改行ヘルパークラス */
.pc-only { display: inline; }
.sp-only { display: none; }

@media (max-width: 768px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
}

/* --- Strengths List --- */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.strength-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.strength-card:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 10px 25px -5px rgba(14, 59, 100, 0.12);
  transform: translateY(-3px);
}

.strength-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-blue-green);
  z-index: 2;
}



.strength-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

@media (max-width: 480px) {
  .strength-img {
    height: 175px;
  }
}

.strength-body {
  padding: 1.65rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 480px) {
  .strength-body {
    padding: 1.25rem;
  }
}

.strength-number {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
}

.strength-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0.3rem 0 0.75rem 0;
  color: var(--text-primary);
}

.strength-desc {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.65;
}

/* --- Projects Grid --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- Home Projects Carousel (Swipeable) --- */
.projects-carousel-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.projects-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.25rem 1.25rem 0.25rem;
  scrollbar-width: none;
}
.projects-carousel::-webkit-scrollbar {
  display: none;
}

.projects-carousel .project-card {
  flex: 0 0 320px;
  max-width: 320px;
  scroll-snap-align: start;
}

@media (max-width: 640px) {
  .projects-carousel .project-card {
    flex: 0 0 82%;
    max-width: 82%;
  }
}

.carousel-nav-btn {
  position: absolute;
  top: calc(50% - 22px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-navy);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  font-size: 1.2rem;
  user-select: none;
}
.carousel-nav-btn:hover {
  background: var(--accent-green-bright);
  color: #ffffff;
  border-color: var(--accent-green-bright);
}
.carousel-nav-btn.prev {
  left: -22px;
}
.carousel-nav-btn.next {
  right: -22px;
}
@media (max-width: 1140px) {
  .carousel-nav-btn {
    display: none;
  }
}

.project-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.project-card:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 10px 25px -5px rgba(14, 59, 100, 0.12);
  transform: translateY(-3px);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-blue-green);
  z-index: 2;
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

@media (max-width: 480px) {
  .project-img-wrapper {
    height: 180px;
  }
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-info {
  padding: 1.25rem;
}

.project-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.project-meta {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* --- Profile Table --- */
.table-wrapper {
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.profile-table th,
.profile-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  word-break: break-word;
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
  border-bottom: none;
}

.profile-table th {
  width: 28%;
  background: rgba(9, 26, 47, 0.04);
  color: var(--text-primary);
  font-weight: 800;
  font-size: 0.925rem;
  white-space: nowrap;
}

.profile-table td {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* 375px〜640px スマホ用テーブル最適化 */
@media (max-width: 640px) {
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
    padding: 0.75rem 1.15rem;
    white-space: normal;
  }
  .profile-table th {
    background: rgba(16, 185, 129, 0.08);
    padding-top: 1.1rem;
    color: var(--accent-green-hover);
    font-size: 0.875rem;
  }
  .profile-table td {
    padding-bottom: 1.1rem;
    font-size: 0.925rem;
  }
}

/* --- Contact CTA Banner --- */
.contact-cta-card {
  background: var(--gradient-hero);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 3.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 480px) {
  .contact-cta-card {
    padding: 2.5rem 1.15rem;
  }
}

.phone-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--accent-green-mint);
  margin: 1.25rem 0;
  transition: transform var(--transition-fast);
  word-break: break-all;
}

@media (max-width: 480px) {
  .phone-link-btn {
    font-size: 1.6rem; /* 375pxスマホではみ出さないサイズ */
  }
}

.phone-link-btn:hover {
  transform: scale(1.04);
}

/* --- Contact Grid (Form Page) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-info-card {
  background: var(--gradient-hero);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 480px) {
  .contact-info-card {
    padding: 1.5rem 1.15rem;
  }
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  font-size: 1.35rem;
}

.info-title {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.info-detail {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.2rem;
  word-break: break-word;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

/* --- Business Overview Cards (Services Page) --- */
.business-grid-card {
  background: var(--bg-surface);
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

/* 左端のリニアグラデーションバー（ロゴの縦線・シャープさと調和） */
.business-grid-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-blue-green);
  opacity: 0.9;
}

.business-grid-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 8px 20px -4px rgba(14, 59, 100, 0.1);
}

.business-grid-card .card-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--accent-green-bright);
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.25rem;
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Footer --- */
.site-footer {
  margin-top: auto;
  background-color: #071526;
  color: var(--text-white);
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

/* フッター上端のリニアアクセントライン */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-blue-green);
  opacity: 0.85;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.footer-brand-title span {
  color: var(--accent-gold);
}

.footer-brand-sub {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-top: 0.35rem;
  text-transform: uppercase;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a, .footer-links span {
  color: var(--text-muted);
  font-size: 0.875rem;
  word-break: break-word;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* --- News Page Styles --- */
.news-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 480px) {
  .news-card {
    padding: 1.25rem 1.15rem;
  }
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

.news-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.news-badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-full);
}

.badge-primary {
  background: rgba(14, 59, 100, 0.1);
  color: var(--primary-blue);
}

.badge-gold,
.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green-hover);
}

.badge-cyan,
.badge-blue {
  background: rgba(2, 132, 199, 0.12);
  color: var(--primary-accent-blue);
}

.badge-secondary {
  background: #e2e8f0;
  color: var(--text-secondary);
}

.news-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 0.6rem;
}

@media (max-width: 480px) {
  .news-title {
    font-size: 1.05rem;
  }
}

.news-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Project Detail Container --- */
.project-detail-container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border-radius: 8px;
}
@media (max-width: 768px) {
  .project-detail-container {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   【NEW】ロゴ調和・幾何学線形デザインシステム (Architectural Linear Redesign)
   ========================================================================== */

/* --- 1. 幾何学スプリット・ヒーローセクション --- */
.hero-split-section {
  position: relative;
  background: radial-gradient(circle at 85% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 15% 80%, rgba(2, 132, 199, 0.15) 0%, transparent 45%),
              var(--primary-navy);
  color: var(--text-white);
  padding: 5.5rem 0 3.5rem 0;
  overflow: hidden;
  border-bottom: 2px solid rgba(16, 185, 129, 0.4);
}

/* 建築図面・精密方眼グリッドオーバーレイ */
.hero-split-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: 1;
  pointer-events: none;
}

/* ロゴの屋根・斜めラインを模した幾何学ウォーターマーク */
.hero-split-section::after {
  content: '';
  position: absolute;
  right: -5%;
  bottom: -15%;
  width: 500px;
  height: 500px;
  border-top: 2px dashed rgba(16, 185, 129, 0.15);
  border-left: 2px dashed rgba(2, 132, 199, 0.15);
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 1;
}

.hero-split-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .hero-split-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
}

.hero-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: rgba(14, 59, 100, 0.6);
  border: 1px solid rgba(16, 185, 129, 0.5);
  border-left: 4px solid var(--accent-green-bright);
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-green-mint);
  margin-bottom: 1.5rem;
}

.hero-split-title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-split-title .highlight-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-split-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

@media (max-width: 992px) {
  .hero-split-desc {
    margin: 0 auto 2rem auto;
  }
}

.hero-action-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .hero-action-group {
    justify-content: center;
  }
}

/* 幾何学リニアビジュアルフレーム（右カラム） */
.hero-visual-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-visual-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-blue-green);
  z-index: 3;
}

.hero-visual-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-frame:hover .hero-visual-img {
  transform: scale(1.04);
}

.hero-visual-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(9, 26, 47, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 2;
  text-align: left;
}

.hero-visual-badge-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent-green-bright);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
}

.hero-visual-badge-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* --- 2. 6大事業リニアティッカーバー --- */
.hero-service-strip {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-strip-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent-green-bright);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.service-strip-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

@media (max-width: 992px) {
  .service-strip-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }
}

@media (max-width: 540px) {
  .service-strip-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-strip-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.6rem;
  text-align: center;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.service-strip-item:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--accent-green-bright);
  transform: translateY(-2px);
}

.service-strip-item-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-green-bright);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.service-strip-item-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
}

/* --- 3. 6大事業ジオメトリックグリッド (トップページ用) --- */
.scope-grid-section {
  padding: 5.5rem 0;
  background-color: var(--bg-surface);
  position: relative;
}

.scope-grid-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-light);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

@media (max-width: 992px) {
  .scope-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .scope-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.scope-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2rem 1.65rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* カード上部の青〜緑グラデーションライン */
.scope-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-blue-green);
  opacity: 0.85;
}

.scope-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 12px 28px -6px rgba(14, 59, 100, 0.12);
}

.scope-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.scope-card-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary-accent-blue);
  line-height: 1;
}

.scope-card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.scope-card-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.scope-card-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
}

.scope-card-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  border-top: 1px dashed var(--border-light);
  padding-top: 0.85rem;
}

.scope-tag-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  background: rgba(14, 59, 100, 0.05);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* --- 4. 信頼・強みセクション (ディープネイビー・建築仕様書風) --- */
.section-blueprint {
  background: var(--gradient-hero);
  color: var(--text-white);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.section-blueprint::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
  margin-top: 3.5rem;
}

@media (max-width: 992px) {
  .blueprint-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.blueprint-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 2.25rem 1.75rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition-normal);
  position: relative;
}

.blueprint-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--accent-green-bright);
  transform: translateY(-3px);
}

.blueprint-step-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-green-bright);
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: block;
}

.blueprint-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blueprint-desc {
  font-size: 0.925rem;
  color: #cbd5e1;
  line-height: 1.75;
}

/* --- 5. 理念・Craftsmanship セクション --- */
.philosophy-linear-section {
  padding: 5.5rem 0;
  background-color: var(--bg-main);
}

.philosophy-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

@media (max-width: 992px) {
  .philosophy-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.philosophy-image-wrapper {
  position: relative;
}

.philosophy-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-green-bright);
  border-radius: var(--radius-sm);
  z-index: 1;
  pointer-events: none;
}

.philosophy-main-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   【LUXURY EDITORIAL】白基調・ラグジュアリー＆スクロール連動ロゴラインシステム
   ========================================================================== */

/* 固定背景SVGキャンバス（スクロール連動でロゴの青・緑の線が描画＆移動） */
.luxury-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.luxury-bg-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lx-line-blue {
  fill: none;
  stroke: #1b4d89;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.16;
  transition: stroke-dashoffset 0.05s linear;
}

.lx-line-green {
  fill: none;
  stroke: #439639;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.2;
  transition: stroke-dashoffset 0.05s linear;
}

.lx-line-subtle {
  fill: none;
  stroke: #0c2340;
  stroke-width: 0.75;
  opacity: 0.07;
}

/* メインコンテンツは背景ラインの前面に配置（背景を透過してラインを魅せる） */
body.luxury-theme {
  background-color: #ffffff;
}

body.luxury-theme main,
body.luxury-theme .site-footer {
  position: relative;
  z-index: 1;
}

body.luxury-theme .site-header {
  background-color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

/* --- 1. Editorial Hero (白ベース・高視認性・コンパクト) --- */
.lx-hero {
  position: relative;
  padding: 3rem 0 3.75rem 0;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 992px) {
  .lx-hero {
    padding: 2.5rem 0 3rem 0;
  }
}

.lx-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .lx-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

.lx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--primary-blue);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.lx-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background-color: var(--accent-green-bright);
}

.lx-hero-title {
  font-family: var(--font-family);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 900;
  color: var(--primary-navy);
  line-height: 1.32;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.lx-hero-title .accent-word {
  color: var(--primary-blue);
  position: relative;
  display: inline-block;
}

.lx-hero-desc {
  font-size: 1rem;
  color: #1e293b;
  line-height: 1.85;
  max-width: 500px;
  margin-bottom: 2rem;
  font-weight: 500;
}

.lx-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.lx-btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  background-color: var(--primary-navy);
  color: #ffffff;
  font-size: 0.925rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--primary-navy);
}

.lx-btn-solid:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -6px rgba(27, 77, 137, 0.35);
}

.lx-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--primary-navy);
  letter-spacing: 0.04em;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid rgba(12, 35, 64, 0.25);
  transition: all 0.3s ease;
}

.lx-btn-link:hover {
  color: var(--accent-green-bright);
  border-bottom-color: var(--accent-green-bright);
}

.lx-hero-visual {
  position: relative;
  padding-top: 2rem;
  padding-right: 1.5rem;
}

/* 建築フレームライン装飾 */
.lx-hero-visual::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 75%;
  border-top: 1px solid rgba(27, 77, 137, 0.3);
  border-right: 1px solid rgba(67, 150, 57, 0.35);
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 992px) {
  .lx-hero-visual {
    padding-top: 0;
    padding-right: 0;
    width: 100%;
  }
  .lx-hero-visual::before {
    display: none;
  }
}

.lx-hero-img-box {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 25px 50px -12px rgba(12, 35, 64, 0.14);
}

.lx-blueprint-box {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(27, 77, 137, 0.15);
  border-radius: 4px;
  box-shadow: 0 18px 40px -15px rgba(12, 35, 64, 0.08);
  padding: 1rem;
  overflow: hidden;
}

@media (max-width: 480px) {
  .lx-blueprint-box {
    padding: 0.6rem !important;
  }
}

.lx-blueprint-svg {
  width: 100%;
  height: auto;
  display: block;
}

.lx-hero-img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
  .lx-hero-img {
    height: 270px;
  }
}

.lx-hero-visual:hover .lx-hero-img {
  transform: scale(1.03);
}

.lx-hero-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

/* スクロールラインインジケーター（余白を詰めるためコンパクト配置） */
.lx-scroll-indicator {
  display: none;
}

.lx-scroll-line {
  width: 1px;
  height: 36px;
  background: rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
}

.lx-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-blue-green);
  animation: lxScrollDrop 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes lxScrollDrop {
  0% { top: -100%; }
  50% { top: 0%; }
  100% { top: 100%; }
}

/* --- 2. Statement Section --- */
.lx-statement {
  padding: 4.5rem 0;
  position: relative;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.lx-statement-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.lx-section-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent-green-bright);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.lx-serif-heading {
  font-family: var(--font-family);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 900;
  color: var(--primary-navy);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.lx-vertical-divider {
  width: 2px;
  height: 44px;
  background: linear-gradient(to bottom, var(--primary-blue), var(--accent-green-bright));
  margin: 0 auto 1.5rem auto;
}

.lx-statement-text {
  font-size: 1rem;
  color: #1e293b;
  font-weight: 500;
  line-height: 1.95;
}

/* --- 3. Expertise Index List (6大事業の見やすいリスト) --- */
.lx-expertise-section {
  padding: 4.75rem 0;
}

.lx-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.lx-index-list {
  border-top: 1px solid rgba(15, 23, 42, 0.14);
}

.lx-index-row {
  display: grid;
  grid-template-columns: 70px 240px 1fr 44px;
  align-items: center;
  gap: 1.75rem;
  padding: 1.65rem 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.14);
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(255, 255, 255, 0.85);
}

.lx-index-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--gradient-blue-green);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lx-index-row:hover {
  background: rgba(248, 250, 252, 0.98);
  padding-left: 1.75rem;
}

.lx-index-row:hover::before {
  width: 4px;
}

@media (max-width: 992px) {
  .lx-index-row {
    grid-template-columns: 56px 1fr;
    gap: 0.75rem;
    padding: 1.35rem 1rem;
  }
  .lx-index-row .lx-row-desc {
    grid-column: 1 / -1;
  }
  .lx-index-row .lx-row-arrow {
    display: none;
  }
}

.lx-row-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: 0.04em;
}

.lx-row-titles {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.lx-row-title-ja {
  font-family: var(--font-family);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.lx-row-title-en {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-green-bright);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lx-row-desc {
  font-size: 0.95rem;
  color: #1e293b;
  font-weight: 500;
  line-height: 1.75;
}

.lx-row-arrow {
  font-size: 1.2rem;
  color: var(--text-muted);
  text-align: right;
  transition: transform 0.3s ease, color 0.3s ease;
}

.lx-index-row:hover .lx-row-arrow {
  transform: translateX(6px);
  color: var(--accent-green-bright);
}

/* --- 4. Asymmetrical Promise / Strengths Section --- */
.lx-promise-section {
  padding: 5rem 0;
  background: rgba(248, 250, 252, 0.88);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.lx-promise-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .lx-promise-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.lx-promise-visual {
  position: relative;
}

.lx-promise-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 20px 40px -15px rgba(12, 35, 64, 0.14);
}

@media (max-width: 768px) {
  .lx-promise-img {
    height: 290px;
  }
}

.lx-promise-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 1.75rem;
}

.lx-promise-item {
  padding-left: 1.35rem;
  border-left: 3px solid rgba(27, 77, 137, 0.25);
  transition: border-color 0.3s ease;
}

.lx-promise-item:hover {
  border-left-color: var(--accent-green-bright);
}

.lx-promise-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-green-bright);
  margin-bottom: 0.3rem;
  display: block;
}

.lx-promise-title {
  font-family: var(--font-family);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.lx-promise-desc {
  font-size: 0.95rem;
  color: #1e293b;
  font-weight: 500;
  line-height: 1.75;
}

/* --- 5. Projects Section --- */
.lx-projects-section {
  padding: 5rem 0;
}

/* --- 6. Minimal Contact Section (白空間ベース) --- */
.lx-contact-section {
  padding: 5rem 0;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  text-align: center;
}

.lx-contact-box {
  max-width: 740px;
  margin: 0 auto;
  padding: 3.25rem 2.5rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  position: relative;
  box-shadow: 0 18px 40px -15px rgba(12, 35, 64, 0.08);
}

.lx-contact-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-blue-green);
}

@media (max-width: 640px) {
  .lx-contact-box {
    padding: 2.25rem 1.25rem;
  }
}

.lx-contact-tel {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: 0.05em;
  margin: 1.25rem 0 1.75rem 0;
  transition: color 0.3s ease;
}

.lx-contact-tel:hover {
  color: var(--primary-blue);
}

/* --- 7. 下層ページ共通：白基調ラグジュアリーページヘッダー --- */
.lx-page-header {
  position: relative;
  padding: 3.25rem 0 3rem 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.85) 100%);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

/* 極細の建築方眼グリッド */
.lx-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(27, 77, 137, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 77, 137, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.lx-page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 240px;
  height: 2px;
  background: var(--gradient-blue-green);
}

.lx-page-header-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .lx-page-header {
    padding: 2.5rem 0 2rem 0;
  }
  .lx-page-header-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.lx-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.lx-breadcrumb a {
  color: var(--primary-blue);
  transition: opacity 0.2s ease;
}

.lx-breadcrumb a:hover {
  opacity: 0.75;
}

.lx-breadcrumb-sep {
  color: var(--accent-green-bright);
}

.lx-page-header-art {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.lx-page-header-svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .lx-page-header-art {
    display: none;
  }
}

.lx-page-title {
  font-family: var(--font-family);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 900;
  color: var(--primary-navy);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.lx-page-desc {
  font-size: 1rem;
  color: #1e293b;
  font-weight: 500;
  line-height: 1.8;
  max-width: 680px;
}

/* 下層ページのセクションでも背景ロゴラインが上品に透ける調整 */
body.luxury-theme .glass-card,
body.luxury-theme .table-wrapper,
body.luxury-theme .news-card,
body.luxury-theme .project-card,
body.luxury-theme .strength-card,
body.luxury-theme .business-grid-card,
body.luxury-theme .contact-form-card {
  background: rgba(255, 255, 255, 0.92);
}




