/* ============================================================
   leftworks — style.css
   メインカラー: #1a3a5c  アクセント: #c8a84b
============================================================ */

/* ============================================================
   1. 変数 & リセット
============================================================ */
:root {
  --primary:        #1a3a5c;
  --primary-light:  #254e7a;
  --primary-dark:   #0f2240;
  --accent:         #c8a84b;
  --accent-light:   #dfc070;
  --text:           #1c1c1c;
  --text-muted:     #5a5a6a;
  --bg:             #f7f4ef;
  --bg-alt:         #efece6;
  --white:          #ffffff;
  --radius-card:    24px;
  --radius-btn:     999px;
  --shadow:         0 4px 32px rgba(26, 58, 92, 0.10);
  --shadow-hover:   0 10px 48px rgba(26, 58, 92, 0.18);
  --transition:     0.25s ease-out;
  --font:           'Noto Sans JP', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 23px;
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fade-in,
  .fade-in-hero { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   2. ユーティリティ
============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 48px;
}

.section-header {
  margin-bottom: 52px;
}

.section-header h2,
.contact-header h2,
.rep-content h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 900;
  line-height: 1.28;
  color: var(--primary);
  margin-bottom: 16px;
  margin-top: 4px;
}

.section-cta { text-align: center; margin-top: 56px; }

/* ============================================================
   3. ボタン
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-size: 19px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background   var(--transition),
    color        var(--transition),
    border-color var(--transition),
    box-shadow   var(--transition),
    transform    var(--transition);
}

/* 塗りつぶし（アクセントカラー） */
.btn-primary,
.btn-accent {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}
.btn-primary:hover,
.btn-accent:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  box-shadow: 0 8px 28px rgba(200, 168, 75, 0.5);
  transform: translateY(-2px);
}

/* アウトライン（ダーク背景向け白枠） */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* アウトライン（ライト背景向け） */
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(26, 58, 92, 0.3);
  transform: translateY(-2px);
}

.btn-lg { font-size: 20px; padding: 17px 44px; }
.btn-sm { padding: 10px 22px; font-size: 13px; }

/* ============================================================
   4. フェードイン
============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.72s ease-out, transform 0.72s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-hero {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  transition-delay: var(--delay, 0s);
}
.fade-in-hero.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   5. ヘッダー
============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 34, 64, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  gap: 16px;
  flex-wrap: nowrap;
}

.header-logo {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.logo-en {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.logo-ja {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.12em;
  line-height: 1;
}

.header-nav { flex: 1; }

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-sns a {
  font-size: 1.2rem;
  line-height: 1;
}
.nav-sns a::after { display: none; }

.header-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* 電話番号エリア */
.header-tel {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--accent);
  white-space: nowrap;
  transition: opacity var(--transition);
  flex-shrink: 0;
}
.header-tel > i {
  font-size: 24px;
  line-height: 1;
  margin-top: 3px;
}
.header-tel:hover { opacity: 0.75; }

.header-tel-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.tel-number {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--accent);
}

.tel-hours {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 10px 20px;
  flex-shrink: 0;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.hamburger-line {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* モバイルメニュー */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--primary-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 28px 28px;
}
.mobile-menu.active { display: flex; }

.mobile-nav-list li a {
  display: block;
  padding: 15px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color var(--transition);
}
.mobile-nav-list li a:hover { color: var(--accent); }

.mobile-tel-link {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
  margin-top: 20px;
}

/* ============================================================
   6. ヒーロー
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--primary);
  overflow: hidden;
  padding-top: 84px;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(18, 18, 18, 0.82) 0%,
    rgba(18, 18, 18, 0.55) 60%,
    rgba(18, 18, 18, 0.35) 100%
  );
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -220px; right: -180px;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 168, 75, 0.14) 0%, transparent 68%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 40px 120px;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-desc {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 700px;
  line-height: 1.95;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll span {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.35);
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.38), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.7; transform: scaleY(1); }
  50%       { opacity: 0.3; transform: scaleY(0.5); }
}

/* ============================================================
   7. 課題・共感
============================================================ */
.section-problems {
  padding: 120px 0 136px;
  background: var(--bg);
}

.problems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 0;
}

.problem-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.problem-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.problem-icon {
  width: 52px;
  height: 52px;
  background: rgba(26, 58, 92, 0.07);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 18px;
  line-height: 1.82;
  color: var(--text-muted);
}

.problems-conclusion {
  margin-top: 40px;
  text-align: center;
  font-size: 2.13rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(26, 58, 92, 0.06);
  border-radius: var(--radius-card);
  padding: 28px 36px;
}
.problems-conclusion strong { color: var(--accent); }

/* ============================================================
   8. サービス
============================================================ */
.section-services {
  padding: 120px 0 136px;
  background: var(--bg-alt);
}

/* Bentoグリッド: 2列
   .bento-large → col 1, row 1〜2
   .bento-small×2 → col 2, row 1 / row 2
   .bento-price → 全幅, row 3
*/
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}

.bento-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.bento-large {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.bento-small {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}
.bento-wide {
  grid-column: 1 / -1;
}
.bento-price {
  grid-column: 1 / -1;
}
.bento-price:hover {
  transform: none;
  box-shadow: var(--shadow);
}

/* ビジュアルエリア */
.bento-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #e6e2d8 0%, #ccc8bc 100%);
  overflow: hidden;
}
.bento-large .bento-visual { aspect-ratio: 4 / 3; }
.bento-small .bento-visual { aspect-ratio: 4 / 3; }
.bento-wide .bento-visual  { aspect-ratio: 42 / 9; }

.bento-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease-out;
}

.bento-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.22;
  transition: opacity 0.4s ease-out;
}
.bento-large .bento-placeholder { font-size: 5rem; }

/* ボディ */
.bento-body {
  padding: 24px 28px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 8px;
}
.service-badge--winter { color: #4a90d9; }

.bento-body h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.bento-body p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.82;
}

.service-target-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.service-target-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-muted);
}
.service-target-list li i { color: var(--accent); font-size: 11px; }

.service-price-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 10px 22px;
  transition: background 0.2s ease-out, color 0.2s ease-out;
}
.service-price-link:hover {
  background: var(--accent);
  color: #fff;
}

/* 料金表カード */
.bento-price .bento-body {
  padding: 36px 40px;
}

.bento-price .bento-body h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-table {
  display: flex;
  flex-direction: column;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  gap: 12px;
}
.price-row:last-child { border-bottom: none; }

.price-label {
  font-size: 14px;
  color: var(--text-muted);
}
.price-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.price-base {
  font-size: 1.3rem;
  color: var(--accent);
}
.price-row--special .price-label,
.price-row--special .price-value {
  color: var(--primary);
  font-weight: 600;
}

.price-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Before / After
============================================================ */
.before-after-wrap {
  margin-top: 80px;
  background: var(--primary);
  border-radius: 28px;
  padding: 64px 56px;
}

.before-after-header {
  text-align: center;
  margin-bottom: 48px;
}

.before-after-label-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  background: rgba(200,168,75,0.15);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.before-after-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.before-after-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
}

.before-after-compare {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.ba-card {
  flex: 1;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.ba-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
}

.ba-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 5px 16px;
  border-radius: 999px;
}

.ba-badge--before {
  background: rgba(0,0,0,0.65);
  color: #fff;
}

.ba-badge--after {
  background: var(--accent);
  color: #1a1a1a;
}

.ba-arrow {
  font-size: 32px;
  color: var(--accent);
  flex-shrink: 0;
  opacity: 0.9;
}

.ba-case {
  margin-bottom: 48px;
}

.ba-case:last-child {
  margin-bottom: 0;
}

.ba-case-label {
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-align: center;
}

/* ============================================================
   9. About
============================================================ */
.section-about {
  padding: 120px 0 136px;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.section-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  pointer-events: none;
}

.section-about .section-header h2 { color: var(--white); }
.section-about .section-label { color: var(--accent); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  position: relative;
}

.about-card {
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  transition: background var(--transition), border-color var(--transition);
}
.about-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.about-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.55;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.about-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}

.about-card p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.67);
  line-height: 1.85;
}

/* ============================================================
   10. お客様の声
============================================================ */
.section-testimonials {
  padding: 120px 0 136px;
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 44px 40px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
}

.testimonial-quote-icon {
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}

.testimonial-card > p {
  font-size: 19px;
  line-height: 1.92;
  color: var(--text-muted);
  flex: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  background: rgba(26, 58, 92, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--primary);
  flex-shrink: 0;
}

.testimonial-footer cite {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  font-style: normal;
}

/* ============================================================
   11. 代表者紹介
============================================================ */
.section-representative {
  padding: 120px 0 136px;
  background: var(--bg-alt);
}

.rep-layout {
  display: block;
}

.rep-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rep-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #ddd9d0 0%, #c4bdb0 100%);
}

.rep-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease-out;
}

.rep-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: #a09a90;
  transition: opacity 0.4s ease-out;
}

.rep-content {
  display: flex;
  flex-direction: column;
}

.rep-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 16px;
  margin-bottom: 4px;
}

.rep-name-en {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-left: 10px;
}

.rep-role {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 24px;
}

.rep-message p {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.92;
  margin-bottom: 16px;
}
.rep-message p:last-child { margin-bottom: 0; }

/* ============================================================
   12. 会社情報・アクセス
============================================================ */
.section-company {
  padding: 120px 0 136px;
  background: var(--bg);
}

.company-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
}

.company-dl { width: 100%; }

.company-row {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 17px 0;
}
.company-row:last-child { border-bottom: none; }

.company-dl dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 96px;
  padding-top: 2px;
}

.company-dl dd {
  font-size: 19px;
  color: var(--text);
  line-height: 1.8;
  flex: 1;
}

.company-dl dd a {
  color: var(--primary);
  text-decoration: none;
}
.company-dl dd a:hover { color: var(--accent); }

/* ============================================================
   13. お問い合わせ
============================================================ */
.section-contact {
  padding: 120px 0 136px;
  background: var(--bg-alt);
}

.contact-header {
  margin-bottom: 48px;
}
.contact-header .section-desc {
  max-width: none;
}

.contact-tel-block {
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-card);
  padding: 44px 40px;
  text-align: center;
  margin-bottom: 44px;
}

.contact-tel-cta {
  display: inline-flex;
  align-items: flex-end;
  gap: 18px;
  color: var(--accent);
  transition: opacity var(--transition);
}
.contact-tel-cta:hover { opacity: 0.78; }

.contact-tel-cta > i { font-size: 1.8rem; }

.contact-tel-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.contact-tel-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.05em;
}

.contact-tel-number {
  font-size: clamp(1.6rem, 4.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1;
}

.contact-hours {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  margin-top: 12px;
}

.contact-divider {
  position: relative;
  text-align: center;
  margin: 44px 0;
}
.contact-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
}
.contact-divider span {
  position: relative;
  background: var(--bg-alt);
  padding: 0 20px;
  font-size: 13px;
  color: var(--text-muted);
}

/* フォーム */
.contact-form {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.form-field { position: relative; }

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(26, 58, 92, 0.2);
  padding: 18px 0 8px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  resize: none;
  transition: border-color var(--transition);
}
.form-input:focus {
  border-bottom-color: var(--primary);
}
.form-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-bottom-color: var(--primary);
}

/* フローティングラベル */
.form-label {
  position: absolute;
  left: 0;
  top: 18px;
  font-size: 15px;
  color: var(--text-muted);
  pointer-events: none;
  transition: top 0.2s ease-out, font-size 0.2s ease-out, color 0.2s ease-out;
}
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: 0;
  font-size: 11px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.form-required { color: #c0392b; }

.form-required-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.form-submit-wrap { text-align: center; }

/* ============================================================
   14. フッター
============================================================ */
.footer-upper {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 64px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 44px;
}

.footer-logo {
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
}

.footer-sns {
  display: flex;
  gap: 14px;
}
.footer-sns a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 20px;
  transition: color var(--transition);
}
.footer-sns a:hover { color: var(--accent); }

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-address p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.footer-address a {
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}
.footer-address a:hover { color: var(--accent); }

.footer-nav-list li { margin-bottom: 4px; line-height: 1; }
.footer-nav-list li a {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}
.footer-nav-list li a:hover { color: var(--accent); }

.footer-lower {
  background: #060e19;
  padding: 20px;
  text-align: center;
}
.footer-lower p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   15. レスポンシブ — タブレット (〜1024px)
============================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-info {
    grid-column: 1 / -1;
  }
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   16. レスポンシブ — モバイル (〜768px)
============================================================ */
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  /* フォーム */
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* ヘッダー */
  .header-contact { display: none; }
  .nav-links      { display: none; }
  .hamburger      { display: flex; }

  /* ヒーロー */
  .hero { min-height: 100vh; min-height: 100dvh; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.8rem); }
  .hero-desc  { font-size: 19px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* 課題 */
  .problems-grid { grid-template-columns: 1fr; }

  /* Bento */
  .bento-grid   { grid-template-columns: 1fr; }
  .bento-large  { grid-column: 1; grid-row: auto; }
  .bento-small  { grid-column: 1; grid-row: auto; }
  .bento-wide   { grid-column: 1; }
  .bento-price  { grid-column: 1; }
  .bento-price .bento-body { padding: 28px 24px; }

  /* Before / After */
  .before-after-wrap { padding: 40px 24px; border-radius: 20px; }
  .before-after-compare { flex-direction: column; gap: 20px; }
  .ba-arrow { transform: rotate(90deg); }
  .before-after-title { font-size: 1.25rem; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }

  /* お客様の声 */
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card  { padding: 36px 28px; }

  /* 代表者 */
  .rep-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rep-photo-wrap {
    max-width: 240px;
    margin: 0 auto;
  }

  /* 会社情報 */
  .company-wrap { grid-template-columns: 1fr; }

  /* お問い合わせ */
  .contact-tel-block { padding: 32px 24px; }
  .contact-tel-cta   { flex-direction: column; align-items: center; gap: 8px; }
  .contact-tel-text  { align-items: center; }

  /* フッター */
  .footer-grid  { grid-template-columns: 1fr; }
  .footer-upper { padding: 48px 0; }
}
