/* ============================================================
   たなか行政書士事務所 — style.css
   メインカラー: #1a3d1e（深い杉林）  アクセント: #4a7c35（若木の緑）
============================================================ */

/* ============================================================
   1. 変数 & リセット
============================================================ */
:root {
  --primary:        #1a3d1e;
  --primary-light:  #2a5c30;
  --primary-dark:   #0f261a;
  --accent:         #4a7c35;
  --accent-light:   #6a9e52;
  --text:           #1c201c;
  --text-muted:     #4a5a4a;
  --bg:             #f4f7f1;
  --bg-alt:         #e8f0e4;
  --white:          #ffffff;
  --radius-card:    20px;
  --radius-btn:     999px;
  --shadow:         0 4px 32px rgba(26, 61, 30, 0.10);
  --shadow-hover:   0 10px 48px rgba(26, 61, 30, 0.20);
  --transition:     0.25s ease-out;
  --font:           'Shippori Mincho', 'Noto Serif JP', serif;
  --font-sans:      '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: 26px;
  line-height: 1.9;
  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; }
  .section-fade { opacity: 1 !important; transform: none !important; }
}

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


.section-title {
  font-size: clamp(2.0rem, 4vw, 3.0rem);
  font-weight: 800;
  line-height: 1.32;
  color: var(--primary);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 580px;
  margin-bottom: 52px;
  font-family: var(--font-sans);
}

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

/* ============================================================
   3. ボタン
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-size: 21px;
  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);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  box-shadow: 0 6px 24px rgba(74, 124, 53, 0.45);
  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, 61, 30, 0.3);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-hero { font-size: 22px; padding: 18px 48px; }
.btn-full { width: 100%; justify-content: center; padding: 18px 36px; font-size: 22px; }
.btn-lg   { font-size: 20px; padding: 17px 44px; }

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

/* ============================================================
   5. ヘッダー
============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 38, 26, 0.96);
  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.28); }

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

.logo {
  font-size: 21px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  line-height: 1.35;
}
.logo-sub {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.1em;
  font-family: var(--font-sans);
  margin-top: 2px;
}

.nav { flex: 1; }

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

.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-light);
  font-weight: 700;
  white-space: nowrap;
  transition: opacity var(--transition);
  flex-shrink: 0;
  text-decoration: none;
}
.header-tel > i {
  font-size: 24px;
  line-height: 1;
  margin-top: 3px;
}
.header-tel-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.header-tel-number {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--accent-light);
}
.header-tel-hours {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.05em;
  font-family: var(--font-sans);
}
.header-tel:hover { opacity: 0.75; }

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

/* ハンバーガー */
.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 span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span: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;
  position: fixed;
  top: 84px;
  left: 0;
  right: 0;
  z-index: 999;
}
.mobile-menu.active { display: flex; }

.mobile-link {
  display: block;
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  font-family: var(--font-sans);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color var(--transition);
}
.mobile-link:hover { color: var(--accent-light); }

.mobile-tel {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-light);
  font-weight: 700;
  font-size: 19px;
  margin-top: 22px;
  text-decoration: none;
}
.mobile-tel i { font-size: 16px; }

/* ============================================================
   6. ヒーロー
============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 84px;
  background: #0b1d0e;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 24, 10, 0.85) 0%,
    rgba(8, 24, 10, 0.60) 55%,
    rgba(8, 24, 10, 0.20) 100%
  );
  z-index: 1;
}

.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.065'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  pointer-events: none;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  max-width: 820px;
  padding: 88px 0 136px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--accent-light);
  margin-bottom: 16px;
  font-family: var(--font-sans);
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent-light);
  flex-shrink: 0;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}
.hero-location i { color: var(--accent-light); font-size: 14px; }

.hero-title {
  font-size: clamp(2.2rem, 9vw, 5.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.hero-title .accent { color: var(--accent-light); }

.hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.70);
  max-width: 540px;
  line-height: 2.05;
  margin-bottom: 48px;
  font-family: var(--font-sans);
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll-indicator span {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-sans);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.65), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
.scroll-arrow {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  animation: scrollArrow 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.8; transform: scaleY(1); }
  50%       { opacity: 0.35; transform: scaleY(0.5); }
}
@keyframes scrollArrow {
  0%, 100% { opacity: 0.75; transform: translateY(0); }
  50%       { opacity: 0.35; transform: translateY(4px); }
}

/* hero-diagonal 削除（斜め区切りなし） */

/* ============================================================
   7. 課題・共感（エディトリアルリスト形式）
============================================================ */
.issues {
  padding: 128px 0 144px;
  background: var(--bg);
}

.issues-list {
  margin-top: 68px;
}

.issue-item {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(26, 61, 30, 0.12);
  transition: background var(--transition);
}
.issue-item:first-child {
  border-top: 1px solid rgba(26, 61, 30, 0.12);
}
.issue-item:hover {
  background: rgba(26, 61, 30, 0.055);
}

.issue-num {
  font-size: clamp(3.0rem, 6vw, 5.5rem);
  font-weight: 800;
  color: var(--accent);
  opacity: 0.17;
  line-height: 1;
  flex-shrink: 0;
  min-width: 108px;
  font-family: var(--font-sans);
  transition: opacity var(--transition);
}
.issue-item:hover .issue-num { opacity: 0.32; }

.issue-body {
  flex: 1;
  padding-top: 6px;
}

.issue-question {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.65;
  margin-bottom: 14px;
}

.issue-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.85;
  font-family: var(--font-sans);
}

.issues-answer {
  margin-top: 80px;
  padding: 60px 48px;
  background: var(--primary);
  border-radius: var(--radius-card);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.issues-answer-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;
}

.issues-answer-inner {
  position: relative;
  z-index: 1;
}

.issues-answer p {
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.8;
}
.issues-answer strong { color: var(--accent-light); }

/* ============================================================
   8. サービス
============================================================ */
.services {
  padding: 128px 0 144px;
  background: var(--bg-alt);
  position: relative;
}

/* services-shape-top 削除（斜め区切りなし） */

/* ---------- サービス 3等分グリッド ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 0;
}

.service-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);
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
}

.service-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: linear-gradient(150deg, #c4dbb8 0%, #9cbf96 100%);
  overflow: hidden;
}
.service-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.8rem;
  color: var(--primary);
  opacity: 0.28;
}

.service-card-body {
  padding: 30px 32px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.42;
}

.service-card-body p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.85;
  font-family: var(--font-sans);
}

.service-card-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  font-family: var(--font-sans);
}
.service-card-list li i { color: var(--accent); font-size: 14px; }

/* ============================================================
   9. About
============================================================ */
.about {
  padding: 128px 0 144px;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.about-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;
}

.about-glow {
  position: absolute;
  top: -120px; right: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 158, 82, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.about-inner {
  position: relative;
  z-index: 1;
}

.about .section-title { color: var(--white); }
.about .section-desc  { color: rgba(255, 255, 255, 0.62); }

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

.about-feature {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-card);
  padding: 44px 36px;
  transition: background var(--transition), border-color var(--transition);
}
.about-feature:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.about-feature-icon {
  font-size: 32px;
  color: var(--accent-light);
  margin-bottom: 22px;
}

.about-feature h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.42;
}

.about-feature p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.92;
  font-family: var(--font-sans);
}

/* ============================================================
   10. 代表者紹介
============================================================ */
.owner {
  padding: 128px 0 144px;
  background: var(--bg-alt);
}

.owner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 72px;
  align-items: start;
  margin-top: 56px;
}

.owner-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: sticky;
  top: 104px;
}

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

.owner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5.5rem;
  color: var(--primary);
  opacity: 0.32;
}

.owner-name-block { text-align: center; }

.owner-name-jp {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.owner-name-en {
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-family: var(--font-sans);
  margin-top: 2px;
}

.owner-role {
  font-size: 14px;
  color: var(--accent);
  font-weight: 700;
  margin-top: 6px;
  font-family: var(--font-sans);
}

.qualif-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.qualif-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: rgba(26, 61, 30, 0.07);
  border-radius: 10px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font-sans);
}
.qualif-item i {
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
}

.owner-message h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.58;
  margin-bottom: 32px;
}

.owner-message p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 2.0;
  margin-bottom: 24px;
  font-family: var(--font-sans);
}
.owner-message p:last-child { margin-bottom: 0; }

/* ============================================================
   12. 会社情報
============================================================ */
.company {
  padding: 128px 0 144px;
  background: var(--bg);
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 52px;
  align-items: stretch;
  margin-top: 52px;
}

.company-map {
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 400px;
  box-shadow: var(--shadow);
}
.company-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: block;
  border: 0;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
}
.info-table tr {
  border-bottom: 1px solid rgba(26, 61, 30, 0.10);
}
.info-table tr:first-child {
  border-top: 1px solid rgba(26, 61, 30, 0.10);
}
.info-table th {
  padding: 22px 24px 22px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  vertical-align: top;
  width: 120px;
  font-family: var(--font-sans);
}
.info-table td {
  padding: 22px 0;
  font-size: 17px;
  color: var(--text);
  line-height: 1.82;
}
.business-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.business-list li {
  padding-left: 1em;
  position: relative;
}
.business-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.info-table td a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.info-table td a:hover { color: var(--accent); }

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

.contact-lead {
  text-align: center;
  margin-bottom: 52px;
}
.contact-lead .section-title { margin: 0 auto 20px; }
.contact-lead .section-desc {
  max-width: 100%;
  text-align: center;
  margin: 0 auto 36px;
}

.contact-tel-banner {
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-card);
  padding: 52px 48px;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.contact-tel-banner-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;
}
.contact-tel-banner-inner { position: relative; z-index: 1; }

.contact-tel-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.52);
  letter-spacing: 0.08em;
  font-family: var(--font-sans);
  margin-bottom: 16px;
}

.contact-tel-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--accent-light);
  font-size: clamp(1.9rem, 4.5vw, 3.0rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: opacity var(--transition);
  text-decoration: none;
}
.contact-tel-link:hover { opacity: 0.78; }
.contact-tel-link i { font-size: 0.75em; }

.contact-tel-hours {
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
  margin-top: 14px;
  font-family: var(--font-sans);
}

.contact-divider {
  position: relative;
  text-align: center;
  margin: 48px 0;
}
.contact-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: rgba(26, 61, 30, 0.15);
}
.contact-divider span {
  position: relative;
  background: var(--bg-alt);
  padding: 0 28px;
  font-size: 14px;
  color: var(--text-muted);
  font-family: var(--font-sans);
  letter-spacing: 0.12em;
}

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

.form-group { position: relative; }

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(26, 61, 30, 0.20);
  padding: 22px 0 10px;
  font-family: var(--font);
  font-size: 18px;
  color: var(--text);
  resize: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--primary);
}
.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
  border-bottom-color: var(--primary);
  box-shadow: 0 2px 0 var(--primary);
}

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

.required {
  color: #c0392b;
  font-size: 14px;
  margin-left: 3px;
}

.form-submit {
  text-align: center;
  margin-top: 12px;
}

/* ============================================================
   14. フッター（2段構成）
============================================================ */
.footer-main {
  background: var(--primary-dark);
  padding: 72px 0;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 52px 28px;
  align-items: start;
}

.footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.footer-logo-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--font-sans);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.footer-info {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.75;
  font-family: var(--font-sans);
}
.footer-info a {
  color: rgba(255, 255, 255, 0.42);
  transition: color var(--transition);
  text-decoration: none;
}
.footer-info a:hover { color: var(--accent-light); }

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-light);
  margin-bottom: 16px;
  font-family: var(--font-sans);
}

.footer-nav-list li { margin-bottom: 2px; }
.footer-nav-list li a {
  font-size: 14px;
  line-height: 1.5;
  display: block;
  padding: 3px 0;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-sans);
  transition: color var(--transition);
}
.footer-nav-list li a:hover { color: var(--accent-light); }

.footer-bottom {
  background: #060f08;
  padding: 20px;
  text-align: center;
}
.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.44);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.75); }
.footer-sep {
  margin: 0 14px;
  opacity: 0.3;
}

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

  .services-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   16. レスポンシブ — モバイル (〜768px)
============================================================ */
@media (max-width: 768px) {
  body { font-size: 22px; }

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

  /* ヒーロー */
  .hero { min-height: 620px; }
  .hero-btns { flex-direction: column; }
  .btn-hero { width: 100%; justify-content: center; }

  /* 課題 */
  .issue-item { gap: 20px; padding: 36px 0; }
  .issue-num  { min-width: 60px; font-size: 2.8rem; }

  /* サービス */
  .services-grid { grid-template-columns: 1fr; }

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

  /* 代表者 */
  .owner-grid { grid-template-columns: 1fr; gap: 48px; }
  .owner-left { position: static; }
  .owner-photo-wrap { max-width: 220px; margin: 0 auto; }

  /* 会社情報 */
  .company-grid { grid-template-columns: 1fr; }
  .company-map { min-height: 300px; }
  .info-table th { width: 90px; font-size: 14px; }
  .info-table td { font-size: 15px; }

  /* お問い合わせ */
  .contact-tel-banner { padding: 36px 24px; }

  /* フッター */
  .footer-main-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-main { padding: 56px 0; }
}
