:root {
  --brand: #0f3d5e;
  --brand2: #1f4e79;
  --brand-light: #2a6fbe;
  --accent: #2a6fbe;
  --bg: #f7f9fc;
  --card: #ffffff;
  --text: #222222;
  --text-muted: #555555;
  --text-light: #666666;
  --shadow: 0 6px 18px rgba(15,61,94,0.08);
  --shadow-hover: 0 12px 32px rgba(15,61,94,0.15);
  --radius: 14px;
  --gradient-primary: linear-gradient(135deg,var(--brand),var(--brand2));
  --gradient-accent: linear-gradient(135deg,#2a6fbe,#4a8fe7);
  --transition-speed: 0.3s;
  --transition-speed-slow: 0.6s;
}

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

body {
  overflow-x: hidden;
  font-family: 'Hiragino Kaku Gothic ProN','Noto Sans JP','Yu Gothic','Meiryo',sans-serif;
  color: var(--text);
  line-height: 1.85;
  background: var(--bg);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand);
  transition: all var(--transition-speed) ease;
}

a:hover {
  color: var(--accent);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-speed-slow) ease,transform var(--transition-speed-slow) ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity var(--transition-speed-slow) ease,transform var(--transition-speed-slow) ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity var(--transition-speed-slow) ease,transform var(--transition-speed-slow) ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  z-index: 1000;
  transition: all var(--transition-speed) ease;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 10px;
  border-bottom: 1px solid rgba(15,61,94,0.08);
}

.nav-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform var(--transition-speed) ease;
}

.brand:hover {
  transform: translateY(-2px);
}

.brand-logo {
  height: 46px;
  width: auto;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name-jp {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.2;
  white-space: nowrap;
}

.brand-name-en {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: var(--brand);
  color: white !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-speed) ease;
}

.nav-phone:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42,111,190,0.3);
}

.nav-phone i {
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}

.nav-links > a,
.nav-links .nav-dropdown {
  color: var(--brand);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-speed) ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links > a:hover {
  color: var(--accent);
}

.nav-links > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-speed) ease;
}

.nav-links > a:hover::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  outline: none;
  padding: 6px 0;
  margin: 0;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  transition: color var(--transition-speed) ease;
}

.dropdown-toggle:hover {
  color: var(--accent);
}

.dropdown-toggle .fa-chevron-down {
  font-size: 0.7rem;
  transition: transform var(--transition-speed) ease;
}

.nav-dropdown:hover .dropdown-toggle .fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
  border-radius: 12px;
  padding: 12px 0;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 8px);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 11px 22px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.25s ease;
}

.dropdown-menu a:hover {
  background: var(--bg);
  color: var(--brand);
  padding-left: 28px;
}

.dropdown-menu a i {
  margin-right: 10px;
  color: var(--accent);
  width: 18px;
  font-size: 0.9rem;
}

.dropdown-divider {
  margin: 10px 18px;
  border-top: 1px solid #e8e8e8;
}

.dropdown-menu-wide {
  min-width: 560px;
  padding: 12px 0;
}

.dropdown-region-grid {
  display: flex;
  padding: 4px 8px 0;
}

.dropdown-region {
  flex: 1;
  min-width: 100px;
  padding: 0 4px;
  border-right: 1px solid #f0f0f0;
}

.dropdown-region:last-child {
  border-right: none;
}

.dropdown-region-label {
  font-size: 0.63rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  padding: 4px 10px 6px;
  white-space: nowrap;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 2px;
}

.dropdown-region-grid a {
  padding: 6px 10px!important;
  font-size: 0.80rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-speed) ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white !important;
  box-shadow: 0 4px 12px rgba(15,61,94,0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15,61,94,0.3);
}

.btn-outline {
  border: 2px solid var(--brand);
  color: var(--brand) !important;
  background: transparent;
}

.btn-outline:hover {
  background: var(--brand);
  color: white !important;
}

.spacer {
  height: 120px;
}

.breadcrumb-bar {
  background: white;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  width: 100%;
}

.breadcrumb-nav {
  position: static;
  top: auto;
  left: auto;
  width: auto;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  z-index: auto;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 28px;
  font-size: 0.82rem;
  color: #888;
  transition: none;
}

.breadcrumb-nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.breadcrumb-nav a {
  color: #555;
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 92px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 58px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--brand);
  margin-bottom: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-header h2 i {
  font-size: 1.8rem;
  color: var(--accent);
}

.section-header p {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.8;
}

.bg-pattern-loop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.bg-pattern-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle,var(--brand) 1px,transparent 1px);
  background-size: 30px 30px;
}

.bg-pattern-flow {
  position: absolute;
  top: -10%;
  right: 0;
  width: min(600px,60vw);
  height: min(600px,60vw);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero {
  position: relative;
  background: var(--gradient-primary);
  color: white;
  padding: 140px 28px 108px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,rgba(255,255,255,0.08) 0%,transparent 70%);
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.8rem;
  margin: 0 0 22px;
  line-height: 1.3;
  font-weight: 700;
  animation: fade-in-up 0.8s ease-out;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-lead {
  font-size: 1.15rem;
  margin: 0 0 28px;
  line-height: 1.9;
  opacity: 0.95;
  animation: fade-in-up 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fade-in-up 0.8s ease-out 0.4s backwards;
}

.hero .btn-outline {
  border: 2px solid white;
  color: white !important;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
}

.hero .btn-outline:hover {
  background: white;
  color: var(--brand) !important;
  border-color: white;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 28px;
  margin-top: 42px;
}

.grid-2col {
  grid-template-columns: repeat(2,1fr);
}

.grid-3col {
  grid-template-columns: repeat(3,1fr);
}

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

@media (max-width:480px) {
  .grid-2col,
  .grid-3col {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: 50%;
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: white;
  transition: all 0.4s ease;
}

.card:hover .card-icon {
  transform: rotate(360deg) scale(1.1);
  animation: pulse-icon 1.5s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(42,111,190,0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(42,111,190,0);
  }
}

.card h3 {
  font-size: 1.3rem;
  color: var(--brand);
  margin-bottom: 14px;
  font-weight: 700;
}

.card p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 18px;
}

.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.tag {
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 20px;
  background: #eef5ff;
  color: var(--brand);
  transition: all var(--transition-speed) ease;
}

.tag:hover {
  background: var(--brand);
  color: white;
  transform: translateY(-2px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 32px;
  margin-top: 48px;
}

.feature-item {
  text-align: center;
  padding: 28px;
  transition: all var(--transition-speed) ease;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 3px solid var(--accent);
  position: relative;
  transition: all 0.4s ease;
}

.feature-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--accent);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
}

.feature-item:hover .feature-icon::before {
  opacity: 0.3;
  transform: scale(1.2);
  animation: ripple 1.5s ease-in-out infinite;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.feature-icon i {
  font-size: 2.2rem;
  color: var(--accent);
  transition: transform 0.4s ease;
}

.feature-item:hover .feature-icon i {
  transform: rotate(12deg) scale(1.1);
}

.feature-item h3 {
  font-size: 1.15rem;
  color: var(--brand);
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.icon-list li {
  padding: 10px 0;
  padding-left: 32px;
  position: relative;
  line-height: 1.8;
  animation: fade-in-left 0.5s ease-out backwards;
}

.icon-list li:nth-child(1) {
  animation-delay: 0.1s;
}

.icon-list li:nth-child(2) {
  animation-delay: 0.2s;
}

.icon-list li:nth-child(3) {
  animation-delay: 0.3s;
}

.icon-list li:nth-child(4) {
  animation-delay: 0.4s;
}

.icon-list li:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes fade-in-left {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.icon-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1rem;
}

.cta {
  position: relative;
  background: #f0f7ff;
  text-align: center;
  padding: 98px 28px;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle,rgba(42,111,190,0.06) 0%,transparent 70%);
  border-radius: 50%;
  animation: pulse-slow 6s ease-in-out infinite;
}

@keyframes pulse-slow {
  0%,
  100% {
    transform: translate(-50%,-50%) scale(1);
  }
  50% {
    transform: translate(-50%,-50%) scale(1.1);
  }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 2rem;
  color: var(--brand);
  margin: 0 0 14px;
  font-weight: 700;
}

.cta p {
  margin: 0 0 32px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.cta .btn-primary {
  padding: 16px 42px;
  font-size: 1.05rem;
}

.site-footer {
  background: var(--brand);
  color: white;
  padding: 72px 28px 36px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle,rgba(255,255,255,0.03) 0%,transparent 70%);
  border-radius: 50%;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  /* フッター再設計 第3版（DESIGN_FOOTER_20260820.md 3.1・2.6節）: 第2版の
     1.7fr 0.8fr 1.5fr 1fr から列1→列2へ0.3fr移譲。列3の2列ミニグリッド廃止（下記
     .footer-services-grid）で列3側の追加幅が不要になった分を、列2最下部リンク
     「全国のエリア分析を見る →」の折り返し解消に回した（実測: 列1 329→271px・
     列2 155→213px。列3・列4は不変）。
     第4版（2026-08-24・部長指示）: 単純な fr 配分は「コンテナが max-width(1100px) に
     達する手前の中間帯（実測ビューポート約1025〜1145px）」でだけ各列が最も狭くなり、
     第3版で直したはずの列2「全国のエリア分析を見る →」（自然幅214〜217px）が
     この帯でだけ再度折り返すことをブラウザ実測で発見（1024px以下と1150px以上でしか
     検証していなかった第3版の見落とし＝1050pxで列2 186px・列4 169pxまで縮み折返し）。
     さらに列4のフッターリンク（アンカーテキスト変更でaiポスティングサポーター＝
     自然幅204pxに）も同じ帯で折り返す。fr比率の調整だけでは「どこかの帯で必ず
     破綻する」構造が同じため、列2・列3・列4に minmax() の下限を設定し、
     コンテナ幅に関わらず各列の実測必要幅（列2:217px・列3:プレミアムセグメントDM
     202px・列4:204px、いずれも+6〜8px安全マージン）を機械的に保証する方式へ変更。
     列1は下限を設けず余剰吸収役のまま——ただし当初「実測必要幅144px（電話・CTA）」と
     見積もったのはQA検収で誤りと判明（住所228.5pxを見落とし）。QAの1px刻みスイープで
     列1が1025〜1096pxで折り返すリグレッションを検出（リンクのみをoffsetHeightで検証し
     `<p class="footer-address">`等の非リンク要素を対象から外していたための見落とし）。
     住所は語中で折り返っており見た目が悪いため、grid列幅の再配分ではなく
     `components/footer.html`側で住所を「東京都港区新橋4-25-4」／「石田ビル2階」の
     2つの white-space:nowrap 区間に分割し、意図した1箇所のみで改行する方式に変更
     （詳細下記 .footer-address-text のコメント）。この分割により列1の住所側の実質的な
     必要幅は最長の単一区間＝CTAボタン「お問い合わせ」144pxに戻り、対応時点ではこれを
     もって「列1は明示的な minmax 下限は不要」と判断していた。

     第5版（2026-08-27午前・千葉6市追加のリリース前フッター再確認で発見→**QA差し戻しで撤回**）:
     上記の「列1は144px程度で足りる」という判断は .footer-tagline（キャッチコピー
     「圏域（商圏）内の接触を、<br>最適に組み合わせ、循環させる。」）の必要幅を見落として
     いた。2行目「最適に組み合わせ、循環させる。」の自然幅は209px（getBoundingClientRect
     実測）でCTAボタン144pxより広く、ビューポート1025〜1075pxで列1が177〜209pxまで縮み
     タグラインが3行目へ折り返す実機バグを発見した。この時点の対応は「列1にも他列と同型の
     minmax(217px, 1.4fr) 下限を追加する」という対症療法だったが、**QA検収で以下のブロッカーを
     指摘され差し戻された**: 4列の下限合計 217+225+210+210＋gap44×3 = 994px がコンテナ実幅
     （1024px以下では2列グリッドへ切替、1025px直後は`.footer-inner`の`max-width:1100px`から
     左右padding 56pxを引いた実効幅が994pxを下回る）を上回る帯（実測1024〜1063px）で
     **グリッド自体がはみ出し、`.site-footer{overflow:hidden}` により列4「会社情報」が
     画面外で切断される**という、タグライン折返しより悪いリグレッションを生んでいた。
     QAの診断: 「offsetHeightによる折返し判定だけを見て、scrollWidthによるはみ出し判定を
     見ていなかった」ことが、この一連の是正（住所→タグライン→今回）に共通する原因。
     列1に効かせた minmax 下限は原理的に「他列の下限合計＋自列の下限」がコンテナ幅を
     超えた瞬間に必ずこの種のはみ出しを生むため、対症療法ではなく構造を見直した。

     第6版（2026-08-27・QA差し戻しを受けた構造的是正・Web担当）: 列1へのminmax下限は
     撤回（1.4fr のまま・下限なし）。列1は元々コンテンツが通常の折返し可能テキスト
     （CJKは文字間で自由に折返せるため min-content が実質0に近い）のため、**列1自体は
     どれだけ縮んでもグリッド全体をはみ出させることは無い**（他列の下限合計がコンテナ幅を
     超えない限り）——今回のはみ出しは「列1に人為的な下限を追加したことで自ら発生させた」
     ものであり、値を調整するのではなく追加しないのが正しい設計と判断した。
     根本原因は「4列レイアウトへ切り替わる`@media (max-width:1024px)`のしきい値が、
     4列が実際に収まる幅（列2・3・4の下限217+225+210+210＋gap132px=994px＋左右padding56px
     ≒1050px、かつ列1のタグラインが折返さない幅=1075px実測）と一致していない」ことに
     ある。よって是正は**「4列に切り替える条件」を「4列が実際に破綻なく収まる条件」へ
     一致させる**方式にした：`.footer-inner`の2列切替を`@media (max-width:1024px)`から
     切り出し、専用の`@media (max-width:1090px)`（下記）へ引き上げた。1075px実測+15pxの
     安全マージン。1090px以下は2列グリッド（`.footer-inner`が`max-width:1100px`の対象外に
     なるほど狭いため元々余裕がある）、1091px以上でのみ4列（この帯ではタグライン非折返し・
     列1に人為的下限が無いため原理的にはみ出しも起きない）。
     **検証（QA指摘どおり両指標・全要素・全幅で実施）**: 320〜1920pxの実ビューポートで、
     フッター内の全31リンク・4つの`h4`・`.footer-address`・`.footer-tagline`・
     `.footer-services-all`・コピーライト行・`.footer-inner`自身を対象に、
     offsetHeight（折返し行数）と`scrollWidth-clientWidth`（はみ出し量）の両方を
     機械判定。960〜1200pxは4px刻み＋境界（1024/1025/1074/1075/1090/1091）は1px刻み。
     **折返し0件・はみ出し0件を実測確認**（詳細はCHANGELOG.md 2026-08-27「フッター
     折返し第6版是正（QA差し戻し対応）」節参照）。 */
  grid-template-columns: 1.4fr minmax(225px, 1.1fr) minmax(210px, 1.5fr) minmax(210px, 1fr);
  gap: 44px;
  position: relative;
  z-index: 1;
}

/* footer-inner の2列/4列切替しきい値（第6版・2026-08-27）。
   nav/hero側の @media (max-width:1024px) とは意図的に分離している（上記コメント参照）。
   1090px以下は2列（`.footer-inner{grid-template-columns:1fr 1fr}`）、1091px以上が4列。 */
@media (max-width:1090px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.footer-logo-link {
  display: inline-flex;
  background: white;
  padding: 7px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.footer-logo {
  height: 34px;
  width: auto;
}

.footer-tagline {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin: 0 0 16px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact .footer-phone,
.footer-contact .footer-address,
.footer-contact .footer-cta {
  margin-top: 0;
  margin-bottom: 0;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: white !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: opacity var(--transition-speed) ease;
}

.footer-phone:hover {
  opacity: 0.85;
}

.footer-phone i {
  color: var(--accent);
}

.footer-address {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  line-height: 1.6;
}

.footer-address i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.8rem;
}

/* 2026-08-24（QA是正④の対応中に発見）: 住所の改行位置制御（2つの white-space:nowrap 区間）を
   .footer-address（display:flex の行方向コンテナ）の直下に置くと、各区間が独立したフレックス
   アイテムとして横並びに固定され（flexは既定でwrapしない・各アイテムはmin-width:autoで
   自身の内容ぶんまでしか縮まない）、区切りのスペースでの改行が機能せず列1がフルの234pxまで
   膨張してoverflow:hiddenの.site-footerで見えないまま右端が切れる事故になった。改行制御用の
   2スパンは footer-address 直下ではなく1枚の .footer-address-text でラップし、flexアイテムを
   「アイコン」と「テキスト全体」の2つに保つ（テキスト側はflexアイテムではなく通常のインライン
   フローになるため、内部の空白での改行が正しく機能する）。min-width:0はflexアイテムの
   自動最小サイズ（min-width:auto）を明示的に解除する保険。 */
.footer-address-text {
  min-width: 0;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 8px;
  color: white !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
  width: fit-content;
}

.footer-cta:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.45);
  transform: translateY(-1px);
}

.footer-cta i {
  color: var(--accent);
}

.footer-col h4 {
  font-weight: 700;
  margin: 0 0 16px;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 12px;
}

.footer-col h4 i {
  color: var(--accent);
}

.footer-col a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  display: flex;
  align-items: center;
  margin: 8px 0;
  transition: all var(--transition-speed) ease;
  font-size: 0.88rem;
  line-height: 1.4;
}

.footer-col a:hover {
  color: white;
  padding-left: 5px;
}

.footer-col a i {
  margin-right: 8px;
  width: 15px;
  color: var(--accent);
  font-size: 0.82rem;
  flex-shrink: 0;
}

/* フッター再設計 第3版（DESIGN_FOOTER_20260820.md 3.2.1・2.6節）: 第2版の2列ミニグリッドを
   廃止し単一列へ戻した。本番反映後にユーザー実測で「提供サービス11本中5本・エリア別特性
   最下部リンクが折り返している」と判明（1セル139px幅に対し最長項目「プレミアムセグメント
   DM」が199px必要）。2列化による高さ圧縮の効果は折り返しによる水増しでほぼ相殺されていた
   ため、単一列に戻したうえで浮いた幅を列2（.footer-inner側、上記コメント参照）へ回した。
   767px以下専用の上書きメディアクエリ（旧: grid-template-columns:1fr）も単一列が既定に
   なったことで不要になり削除済み。 */
.footer-services-grid {
  display: block;
}

.footer-services-grid a {
  margin: 8px 0;
}

.footer-services-all {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,0.15);
}

.footer-bottom {
  max-width: 1100px;
  margin: 44px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
}

.footer-col .footer-logo-link {
  display: inline-flex !important;
  width: auto;
}

@media (max-width:1024px) {
  .nav-inner {
    padding: 0 24px;
  }
  .nav-links {
    gap: 20px;
    font-size: 0.9rem;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  /* footer-inner の2列切替は2026-08-27・第6版是正で専用の @media (max-width:1090px)
     （下記 .footer-inner 定義の直後）へ切り出した。理由は下記コメント参照。ここでは
     nav/hero 側の1024pxブレークポイントのみを残す。 */
}

@media (max-width:768px) {
  .nav-inner {
    padding: 0 16px;
  }
  .nav-top {
    padding: 12px 0 10px;
  }
  .nav-bottom {
    padding: 10px 0;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .brand-logo {
    height: 38px;
  }
  .brand-name-jp {
    font-size: 0.9rem;
  }
  .brand-name-en {
    font-size: 0.68rem;
  }
  .nav-phone {
    font-size: 0.88rem;
    padding: 8px 14px;
  }
  .btn-primary {
    font-size: 0.88rem;
    padding: 8px 16px;
  }
  .nav-links {
    gap: 18px;
    font-size: 0.88rem;
  }
  .dropdown-menu {
    left: 0;
    transform: none;
    min-width: 220px;
  }
  .spacer {
    height: 130px;
  }
  .hero {
    padding: 110px 20px 84px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-lead {
    font-size: 1rem;
  }
  .section {
    padding: 68px 0;
  }
  .section-header h2 {
    font-size: 1.75rem;
  }
  .section-header p {
    font-size: 1rem;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .card {
    padding: 28px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cta h2 {
    font-size: 1.65rem;
  }
  .cta p {
    font-size: 0.95rem;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width:480px) {
  .nav-top {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 0;
  }
  .brand {
    justify-content: center;
  }
  .nav-right {
    justify-content: space-between;
  }
  .nav-phone,
  .btn-primary {
    flex: 1;
    justify-content: center;
    font-size: 0.85rem;
    padding: 9px 14px;
  }
  .nav-bottom {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .spacer {
    height: 180px;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
  .section-header h2 {
    font-size: 1.5rem;
  }
  .btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
  .card-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .site-footer {
    padding: 48px 20px 28px;
  }
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

@media print {
  nav,
  .cta,
  .site-footer {
    display: none;
  }
  .section {
    page-break-inside: avoid;
  }
  body {
    background: white;
  }
}

.service-list-section {
  background: linear-gradient(180deg,#f7f9fc 0%,white 100%);
  padding: 64px 0;
}

.service-category {
  margin-top: 64px;
  padding: 32px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15,61,94,0.08);
}

.service-category:first-child {
  margin-top: 44px;
}

.category-title {
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-title::before {
  content: '';
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg,var(--brand),var(--accent));
  border-radius: 2px;
}

.category-desc {
  color: var(--text-muted);
  margin: 0 0 24px 0;
  font-size: 0.95rem;
}

.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  border: 2px solid #e8ecf1;
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg,var(--brand),var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(42,111,190,0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .tags {
  margin-bottom: 16px;
}

.service-card h3 {
  margin: 0;
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.service-card .card-desc {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-card:hover h3 {
  color: var(--accent);
}

.service-note-card {
  margin-top: 64px;
  padding: 32px;
  background: linear-gradient(135deg,#f7f9fc 0%,#e8ecf1 100%);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  text-align: center;
}

.note-text {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.service-detail-section {
  background: linear-gradient(180deg,white 0%,#f7f9fc 50%,white 100%);
  padding: 64px 0;
}

.service-detail-card {
  background: white;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  padding: 36px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(15,61,94,0.06);
  transition: all 0.3s ease;
}

.service-detail-card:hover {
  box-shadow: 0 4px 16px rgba(15,61,94,0.12);
  transform: translateY(-2px);
}

.service-detail-card .tags {
  margin-bottom: 20px;
}

.service-detail-card h2 {
  color: var(--brand);
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8ecf1;
}

.service-detail-card .muted {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-detail-card .list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.service-detail-card .list li {
  padding: 12px 0 12px 32px;
  position: relative;
  color: var(--text);
  line-height: 1.7;
  border-bottom: 1px solid #f0f2f5;
}

.service-detail-card .list li:last-child {
  border-bottom: none;
}

.service-detail-card .list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

@media (max-width:768px) {
  .service-category {
    padding: 24px 16px;
    margin-top: 48px;
  }
  .category-title {
    font-size: 1.3rem;
  }
  .service-card {
    padding: 20px;
  }
  .service-detail-card {
    padding: 24px 16px;
  }
  .service-detail-card h2 {
    font-size: 1.2rem;
  }
}

.dropdown-menu {
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.dropdown-menu.show {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-toggle.active {
  color: var(--accent) !important;
}

@media (hover:none) and (pointer:coarse) {
  .nav-dropdown:hover .dropdown-menu {
    display: none;
  }
  .dropdown-menu.show {
    display: block;
    visibility: visible;
  }
}

@media (max-width:768px) {
  .nav-dropdown {
    position: relative;
  }
  .dropdown-toggle {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .dropdown-menu {
    position: relative;
    box-shadow: none;
    border-radius: 8px;
    margin-top: 8px;
    width: 100%;
  }
  .dropdown-menu.show {
    display: block;
    visibility: visible;
    animation: slideDown 0.3s ease;
  }
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.company-info {
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15,61,94,0.08);
  line-height: 1.8;
}

.company-info h3 {
  color: var(--brand);
  font-size: 1.5rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8ecf1;
}

.company-info p {
  margin: 8px 0;
  color: var(--text);
}

.company-info strong {
  color: var(--brand);
  font-weight: 600;
}

.company-info a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.company-info a:hover {
  color: var(--brand);
  text-decoration: underline;
}

@media (max-width:768px) {
  .company-info {
    padding: 20px;
  }
  .company-info h3 {
    font-size: 1.3rem;
  }
}
