/* ========================================
   グローバル設定
======================================== */
/*
Theme Name: HIMAWARI
Theme URI: https://himawariseisou.com/
Author: カームスさん
Description: 高松市の不用品回収・遺品整理「ひまわり」公式サイト用WordPressテーマ
Version: 1.0.0
*/

:root {
  /* カラーパレット - ネイビー×ベージュ×ゴールド（上品・高級） */
  --brand-main: #1e3a5f;
  --brand-main-dark: #0f2847;
  --brand-main-light: #2d4a6f;
  --brand-navy: #1e3a5f;
  --brand-navy-dark: #0f2847;
  
  /* ベージュ系 */
  --brand-beige: #f5f1ea;
  --brand-beige-light: #faf8f3;
  --brand-beige-dark: #e8e3d8;
  --brand-cream: #fffbf5;
  
  /* ゴールド・アクセント */
  --brand-gold: #c9a961;
  --brand-gold-light: #d4b574;
  --brand-gold-dark: #b8984d;
  --brand-bronze: #cd7f32;
  
  /* セージグリーン（自然な印象） */
  --brand-sage: #9caf88;
  --brand-sage-light: #b5c5a4;
  
  /* グレースケール */
  --text-primary: #2c2c2c;
  --text-secondary: #5a5a5a;
  --text-tertiary: #8a8a8a;
  --text-inverse: #ffffff;
  --text-gold: #c9a961;
  
  /* 背景色 - 温かみのあるニュートラル */
  --bg-primary: #ffffff;
  --bg-secondary: #faf8f3;
  --bg-tertiary: #f5f1ea;
  --bg-cream: #fffbf5;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-dark: rgba(245, 241, 234, 0.9);
  
  /* ボーダー */
  --border-color: #e8e3d8;
  --border-light: #f5f1ea;
  --border-gold: rgba(201, 169, 97, 0.3);
  --border-glass: rgba(255, 255, 255, 0.5);
  
  /* シャドウ - 柔らかく上品な影 */
  --shadow-xs: 0 1px 3px rgba(44, 44, 44, 0.04);
  --shadow-sm: 0 2px 8px rgba(30, 58, 95, 0.06);
  --shadow-md: 0 4px 20px rgba(30, 58, 95, 0.08);
  --shadow-lg: 0 8px 30px rgba(30, 58, 95, 0.1);
  --shadow-xl: 0 12px 40px rgba(30, 58, 95, 0.12);
  --shadow-glass: 0 8px 32px rgba(30, 58, 95, 0.06);
  --shadow-colored: 0 8px 24px rgba(201, 169, 97, 0.25);
  --shadow-gold: 0 4px 16px rgba(201, 169, 97, 0.3);
  
  /* ボーダー半径 */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* スペーシング */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  
  /* レイアウト */
  --max-width: 1200px;
  --header-height: 72px;
  
  /* トランジション */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  
  /* フォントサイズ（高齢者向けに大きめ） */
  --font-xs: 14px;
  --font-sm: 16px;
  --font-base: 18px;
  --font-lg: 20px;
  --font-xl: 24px;
  --font-2xl: 28px;
  --font-3xl: 36px;
  --font-4xl: 48px;
}

/* ========================================
   リセット & ベーススタイル
======================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 72px);
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 72px);
}

body.admin-bar {
  scroll-padding-top: calc(var(--header-height) + 104px);
}

body.admin-bar section[id] {
  scroll-margin-top: calc(var(--header-height) + 104px);
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: var(--font-base);
  line-height: 1.8;
  color: var(--text-primary);
  background: linear-gradient(to bottom, 
    #ffffff 0%, 
    var(--bg-cream) 50%, 
    #ffffff 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.02em;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ========================================
   トップバー
======================================== */

.top-bar {
  background: linear-gradient(135deg, var(--brand-navy-dark) 0%, var(--brand-navy) 100%);
  color: var(--text-inverse);
  padding: var(--space-sm) 0;
  font-size: var(--font-sm);
  border-bottom: 1px solid var(--brand-gold);
}

.top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.top-bar-text {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.top-bar-phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: var(--font-lg);
  color: var(--text-inverse);
}

.top-bar-phone:hover {
  opacity: 0.9;
}

/* ========================================
   ヘッダー
======================================== */

#header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-height: var(--header-height);
}

/* ロゴエリア */
.logo-area {
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--text-primary);
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-icon {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: all var(--transition-base);
}

.logo-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.logo-link:hover .logo-icon {
  transform: none;
}

.logo-title {
  font-size: var(--font-xl);
  font-weight: 900;
  color: var(--brand-navy);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.logo-title-desktop {
  display: inline;
}

.logo-title-mobile {
  display: none;
}

.logo-sub {
  font-size: var(--font-xs);
  color: var(--text-tertiary);
  font-weight: 500;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--space-sm);
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--brand-main-dark);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

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

/* ナビゲーション */
.header-nav {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.nav-link i {
  font-size: 16px;
}

.nav-link:hover {
  background-color: var(--brand-main);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

@media (min-width: 769px) {
  .header-nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    grid-auto-flow: row;
    align-content: center;
  }

  .nav-link {
    white-space: nowrap;
  }

  .logo-title-desktop {
    display: inline;
  }

  .logo-title-mobile {
    display: none;
  }

  .header-phone-mobile {
    display: none !important;
  }
}

/* ヘッダーCTA */
.header-cta {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.header-phone-mobile {
  display: none;
}

/* ========================================
   ボタンスタイル
======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: var(--font-base);
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

/* ボタンサイズ */
.btn-lg {
  padding: var(--space-lg) var(--space-xl);
  font-size: var(--font-lg);
}

.btn-xl {
  padding: var(--space-xl) var(--space-2xl);
  font-size: var(--font-xl);
  border-radius: var(--radius-lg);
}

/* ボタンカラー */
.btn-primary {
  background: linear-gradient(135deg, 
    var(--brand-navy) 0%, 
    var(--brand-navy-dark) 100%);
  color: var(--text-inverse);
  border: 1px solid var(--brand-gold);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, 
    var(--brand-navy-dark) 0%, 
    var(--brand-navy) 100%);
  box-shadow: var(--shadow-gold);
  border-color: var(--brand-gold-light);
}

.btn-phone {
  background: linear-gradient(135deg, 
    var(--brand-navy-dark) 0%, 
    var(--brand-navy) 100%);
  color: var(--text-inverse);
  border: 1px solid var(--brand-gold);
  position: relative;
  overflow: hidden;
}

.btn-phone:hover {
  box-shadow: var(--shadow-gold);
  border-color: var(--brand-gold-light);
}

.btn-line,
.btn-success {
  background: linear-gradient(135deg, #06c755, #00b140);
  color: var(--text-inverse);
}

.btn-line:hover,
.btn-success:hover {
  background: linear-gradient(135deg, #00b140, #009933);
}

.btn-outline {
  background-color: var(--bg-primary);
  color: var(--brand-main-dark);
  border: 2px solid var(--brand-main);
}

.btn-outline:hover {
  background-color: var(--brand-main);
  color: var(--text-inverse);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--text-inverse);
  border: 2px solid var(--text-inverse);
  backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
  background-color: var(--text-inverse);
  color: var(--brand-main-dark);
}

/* ボタン内テキスト */
.btn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}

.btn-label {
  font-size: inherit;
  font-weight: 700;
}

.btn-sub {
  font-size: var(--font-xs);
  font-weight: 500;
  opacity: 0.9;
}

/* CTA 準備中バッジ */
.cta-pending {
  position: relative;
  overflow: visible;
}

.cta-pending .cta-pending-badge {
  position: absolute;
  top: 8px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  pointer-events: none;
  z-index: 2;
}

.cta-pending .cta-pending-badge i {
  font-size: 12px;
}

.fixed-cta-btn .cta-pending-badge {
  top: -6px;
  left: auto;
  right: -6px;
  padding: 3px 6px;
  font-size: 10px;
}

/* ========================================
   ヒーローセクション
======================================== */

.hero {
  position: relative;
  padding: 100px var(--space-md);
  overflow: hidden;
  background: 
    linear-gradient(135deg, 
      rgba(30, 58, 95, 0.04) 0%, 
      rgba(201, 169, 97, 0.03) 50%,
      rgba(245, 241, 234, 0.05) 100%),
    linear-gradient(to bottom, var(--bg-cream) 0%, var(--bg-primary) 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(30, 58, 95, 0.04) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a961' fill-opacity='0.015'%3E%3Cpath d='M0 0h80v80H0V0zm20 20v40h40V20H20zm2 2h36v36H22V22z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3xl);
  align-items: center;
}

/* バッジ */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--font-sm);
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}

.badge-primary {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--brand-main-dark);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.badge-secondary {
  background: linear-gradient(135deg, 
    rgba(251, 191, 36, 0.9) 0%, 
    rgba(245, 158, 11, 0.9) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  border: 1px solid rgba(251, 191, 36, 0.4);
}

/* タイトル */
.hero-title {
  margin-bottom: var(--space-lg);
  line-height: 1.4;
}

.hero-title-main {
  display: block;
  font-size: var(--font-3xl);
  font-weight: 900;
  color: var(--brand-main-dark);
  margin-bottom: var(--space-sm);
}

.hero-title-sub {
  display: block;
  font-size: var(--font-2xl);
  font-weight: 700;
  color: var(--text-primary);
}

.hero-description {
  font-size: var(--font-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.9;
}

/* 特徴リスト */
.hero-features {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  font-size: var(--font-lg);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.hero-features li:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.hero-features i {
  color: var(--brand-main);
  font-size: 20px;
  flex-shrink: 0;
}

/* ヒーローCTA */
.hero-cta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.hero-cta .btn {
  flex: 1 1 0;
  min-width: 0;
}

.hero-cta .btn-primary {
  padding: var(--space-xl) var(--space-2xl);
  font-size: var(--font-xl);
  box-shadow: var(--shadow-xl);
}

.hero-cta .btn-success,
.hero-cta .btn-line {
  padding: var(--space-lg) var(--space-xl);
  font-size: var(--font-lg);
  box-shadow: var(--shadow-lg);
}

.hero-cta .btn-outline {
  padding: var(--space-md) var(--space-lg);
  font-size: var(--font-base);
  box-shadow: var(--shadow-sm);
}

.hero-cta .btn-primary:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: var(--shadow-colored);
}

.hero-cta .btn-success:hover,
.hero-cta .btn-line:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.hero-cta .btn-outline:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: var(--shadow-md);
}

/* タブレット以上で最小幅を確保 */
@media (min-width: 641px) {
  .hero-cta .btn {
    min-width: 240px;
  }
}

/* PC以上でさらにゆとり */
@media (min-width: 1024px) {
  .hero-cta .btn {
    min-width: 280px;
  }
}

.hero-note {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-sm);
  color: var(--text-tertiary);
}

/* ヒーロー画像 */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 500px;
}

.hero-caption {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-sm);
  color: var(--text-tertiary);
}

/* ========================================
   実績セクション
======================================== */

.achievements {
  position: relative;
  background: 
    linear-gradient(135deg, 
      var(--brand-navy-dark) 0%, 
      var(--brand-navy) 50%,
      #2d4a6f 100%);
  color: var(--text-inverse);
  padding: var(--space-2xl) var(--space-md);
  overflow: hidden;
  border-top: 2px solid var(--brand-gold);
  border-bottom: 2px solid var(--brand-gold);
}

.achievements::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  z-index: 0;
}

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

.achievements-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.achievement-item {
  text-align: center;
  animation: fadeInUp 0.6s ease-out;
}

.achievement-number {
  font-size: var(--font-4xl);
  font-weight: 900;
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.achievement-number .unit {
  font-size: var(--font-xl);
  margin-left: 2px;
}

.achievement-label {
  font-size: var(--font-base);
  font-weight: 500;
  opacity: 0.95;
}

.achievement-note {
  margin-top: 4px;
  font-size: var(--font-sm);
  opacity: 0.8;
}

/* ========================================
   セクション共通
======================================== */

.section {
  padding: var(--space-3xl) var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-alt {
  position: relative;
  background: 
    linear-gradient(to bottom, 
      rgba(255, 255, 255, 0.8) 0%, 
      rgba(250, 248, 243, 1) 50%,
      rgba(255, 255, 255, 0.8) 100%);
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a961' fill-opacity='0.01'%3E%3Cpath d='M0 0h100v100H0V0zm25 25v50h50V25H25zm2 2h46v46H27V27z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
  pointer-events: none;
}

.section-alt > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--brand-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: var(--font-3xl);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.section-lead {
  font-size: var(--font-lg);
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 800px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* ========================================
   サービスグリッド
======================================== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card-image {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, 
    var(--brand-beige-light) 0%, 
    var(--brand-beige) 100%);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-image .image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: var(--brand-gold);
  opacity: 0.6;
}

.service-card-image .image-placeholder i {
  font-size: 48px;
  color: var(--brand-gold-dark);
}

.service-card-image .image-placeholder span {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.service-card-content {
  padding: var(--space-xl);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
  z-index: 10;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
  border-color: var(--brand-gold);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, 
    rgba(201, 169, 97, 0.1) 0%, 
    rgba(201, 169, 97, 0.15) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid var(--brand-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold-dark);
  font-size: 28px;
  margin-bottom: var(--space-md);
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-light));
  color: var(--text-inverse);
  transform: scale(1.05);
  box-shadow: var(--shadow-gold);
}

.service-tag {
  display: inline-block;
  font-size: var(--font-xs);
  padding: 6px var(--space-md);
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, 
    var(--brand-beige-light) 0%, 
    var(--brand-beige) 100%);
  color: var(--brand-navy);
  border: 1px solid var(--brand-gold);
  margin-bottom: var(--space-md);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.service-title {
  font-size: var(--font-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.service-description {
  font-size: var(--font-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-base);
  font-weight: 700;
  color: var(--brand-navy);
  transition: all var(--transition-base);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.service-link:hover {
  gap: var(--space-md);
  color: var(--brand-gold);
  border-bottom-color: var(--brand-gold);
  text-decoration: none;
}

/* ========================================
   選ばれる理由グリッド
======================================== */

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.reason-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.reason-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
  border-color: var(--brand-gold);
}

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

.reason-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.reason-card:hover .reason-image {
  transform: scale(1.05);
}

.reason-content {
  padding: var(--space-xl);
  position: relative;
}

.reason-number {
  position: absolute;
  top: -30px;
  right: var(--space-xl);
  font-size: 64px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  line-height: 1;
}

.reason-title {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--font-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.reason-title i {
  color: var(--brand-gold);
  font-size: 24px;
}

.reason-description {
  font-size: var(--font-base);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ========================================
   料金テーブル
======================================== */

.price-table-wrapper {
  margin-bottom: var(--space-xl);
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.price-table thead {
  background: linear-gradient(135deg, var(--brand-main-dark), var(--brand-main));
  color: var(--text-inverse);
}

.price-table th,
.price-table td {
  padding: var(--space-lg) var(--space-xl);
  text-align: left;
  font-size: var(--font-base);
}

.price-table th {
  font-weight: 700;
  font-size: var(--font-lg);
}

.price-table tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-base);
}

.price-table tbody tr:hover {
  background-color: var(--bg-secondary);
}

.plan-name {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-weight: 700;
  color: var(--text-primary);
}

.plan-name i {
  color: var(--brand-main);
  font-size: 20px;
}

.price-cell {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: var(--font-2xl);
  font-weight: 900;
  color: var(--brand-main-dark);
}

.price-note {
  font-size: var(--font-sm);
  color: var(--text-tertiary);
}

.price-notes {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.note-card {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-main);
}

.note-card i {
  color: var(--brand-main);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.note-card p {
  font-size: var(--font-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

.price-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  background-color: #06c755;
  color: var(--text-inverse);
  border-radius: var(--radius-md);
  font-size: var(--font-lg);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.price-cta:hover {
  background-color: #00b140;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   お客様の声
======================================== */

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.voice-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-glass);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-base);
  position: relative;
}

.voice-card::before {
  content: '"';
  position: absolute;
  top: var(--space-md);
  left: var(--space-lg);
  font-size: 64px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand-main), var(--brand-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  line-height: 1;
  font-family: Georgia, serif;
}

.voice-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-colored);
  background: rgba(255, 255, 255, 0.9);
}

.voice-rating {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-md);
  font-size: var(--font-base);
  color: var(--brand-gold);
}

.voice-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.voice-meta i {
  font-size: 18px;
}

.voice-text {
  font-size: var(--font-base);
  color: var(--text-secondary);
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

/* ========================================
   作業事例
======================================== */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.case-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glass);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-base);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-colored);
  background: rgba(255, 255, 255, 0.9);
}

.case-image-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.case-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: var(--text-tertiary);
}

.case-placeholder i {
  font-size: 48px;
}

.case-placeholder span {
  font-size: var(--font-sm);
  font-weight: 600;
}

.case-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--brand-main);
  color: var(--text-inverse);
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.case-content {
  padding: var(--space-xl);
}

.case-title {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.case-details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.case-detail {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-sm);
  color: var(--text-tertiary);
}

.case-detail i {
  color: var(--brand-main);
}

/* ========================================
   会社情報
======================================== */

.company-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-2xl);
  align-items: stretch;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.company-table tr {
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-base);
}

.company-table tr:last-child {
  border-bottom: none;
}

.company-table tr:hover {
  background-color: var(--bg-secondary);
}

.company-table th,
.company-table td {
  padding: var(--space-lg) var(--space-xl);
  text-align: left;
  vertical-align: middle;
  font-size: var(--font-base);
}

.company-table th {
  width: 180px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.company-table th i {
  color: var(--brand-gold);
  font-size: 18px;
  margin-right: var(--space-sm);
}

.company-table td {
  color: var(--text-primary);
  font-weight: 500;
}


.company-map {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px 0;
}

.company-map img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.04);
  transform-origin: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: var(--text-tertiary);
  box-shadow: var(--shadow-sm);
}

.map-placeholder i {
  font-size: 64px;
  color: var(--brand-main);
}

.map-placeholder p {
  font-size: var(--font-lg);
  font-weight: 600;
  margin: 0;
}

.map-placeholder small {
  font-size: var(--font-sm);
}

/* ========================================
   最終CTA
======================================== */

.cta-final {
  position: relative;
  background: 
    linear-gradient(135deg, 
      var(--brand-navy-dark) 0%, 
      var(--brand-navy) 50%,
      #2d4a6f 100%);
  color: var(--text-inverse);
  padding: var(--space-3xl) var(--space-md);
  margin-top: var(--space-3xl);
  overflow: hidden;
  border-top: 3px solid var(--brand-gold);
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
  pointer-events: none;
}

.cta-final-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cta-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  font-size: 36px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
}

.cta-title {
  font-size: var(--font-3xl);
  font-weight: 900;
  margin-bottom: var(--space-lg);
  line-height: 1.4;
}

.cta-description {
  font-size: var(--font-lg);
  line-height: 1.9;
  margin-bottom: var(--space-2xl);
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-md);
  max-width: 100%;
  margin: 0 auto var(--space-xl);
  justify-content: center;
}

.cta-buttons .btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: 400px;
}

/* タブレット以上で最小幅を確保 */
@media (min-width: 641px) {
  .cta-buttons .btn {
    min-width: 240px;
  }
}

/* PC以上でさらにゆとり */
@media (min-width: 1024px) {
  .cta-buttons .btn {
    min-width: 280px;
  }
}

.cta-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--font-sm);
  opacity: 0.9;
  padding: var(--space-md);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

/* ========================================
   フッター
======================================== */

.footer {
  background-color: var(--text-primary);
  color: var(--text-inverse);
  padding: var(--space-3xl) var(--space-md) var(--space-xl);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--font-xl);
  font-weight: 900;
  margin-bottom: var(--space-md);
}

.footer-logo img {
  width: 96px;
  height: 96px;
  display: block;
  object-fit: contain;
  background: #ffffff;
  padding: 2px;
  box-sizing: border-box;
}

.footer-description {
  font-size: var(--font-base);
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: var(--space-lg);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-xl);
  font-weight: 900;
  color: var(--text-inverse);
  padding: var(--space-md);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  width: fit-content;
}

.footer-phone:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.footer-hours {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-sm);
  opacity: 0.8;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer-nav-title {
  font-size: var(--font-base);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-inverse);
}

.footer-nav-list {
  list-style: none;
}

.footer-nav-list li {
  margin-bottom: var(--space-sm);
}

.footer-nav-list a {
  font-size: var(--font-sm);
  color: var(--text-inverse);
  opacity: 0.8;
  transition: opacity var(--transition-base);
}

.footer-nav-list a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  font-size: var(--font-sm);
  opacity: 0.8;
}

.footer-bottom > div {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-copyright {
  text-align: center;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   ページトップボタン
======================================== */

.page-top {
  position: fixed;
  bottom: 100px;
  right: var(--space-lg);
  width: 56px;
  height: 56px;
  background: rgba(37, 99, 235, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-inverse);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-colored);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 90;
}

.page-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ========================================
   固定CTAバー（モバイル用）
======================================== */

.fixed-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-sm);
  display: none;
  z-index: 95;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.fixed-cta-bar {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.fixed-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: var(--space-md) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--text-inverse);
  transition: all var(--transition-fast);
}

.fixed-cta-btn i {
  font-size: 36px;
}

.fixed-cta-phone {
  background: linear-gradient(135deg, var(--brand-main-dark), var(--brand-main));
}

.fixed-cta-line {
  background: linear-gradient(135deg, #06c755, #00b140);
}

.fixed-cta-mail {
  background: linear-gradient(135deg, #6b6b6b, #4a4a4a);
}

.fixed-cta-btn:hover {
  transform: translateY(-2px);
}

/* ========================================
   画像プレースホルダー
======================================== */

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: var(--text-tertiary);
}

.image-placeholder i {
  font-size: 48px;
  opacity: 0.5;
}

.image-placeholder span {
  font-size: var(--font-sm);
  font-weight: 600;
}

/* ========================================
   アニメーション
======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ========================================
   レスポンシブ対応
======================================== */

/* タブレット */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 80px var(--space-md);
  }

  .header-nav {
    gap: var(--space-xs);
  }

  .nav-link {
    padding: 6px 10px;
    font-size: var(--font-xs);
  }

  .header-cta .btn {
    padding: 8px 14px;
    font-size: var(--font-sm);
  }

  .section {
    padding: var(--space-2xl) var(--space-md);
  }

  .btn-lg {
    padding: var(--space-md) var(--space-lg);
    font-size: var(--font-base);
  }

  .btn-xl {
    padding: var(--space-lg) var(--space-xl);
    font-size: var(--font-lg);
  }
  
  .achievements-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
  
  .service-grid,
  .reason-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .voice-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .company-grid {
    grid-template-columns: 1fr;
  }
  
  .company-table th {
    width: 140px;
    font-size: var(--font-sm);
  }
  
  .company-table td {
    font-size: var(--font-sm);
  }
  
  .footer-main {
    grid-template-columns: 1fr;
  }
  
  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .header-cta .btn-line {
    display: none !important;
  }
}

/* モバイル */
@media (max-width: 768px) {
  :root {
    --header-height: 56px;
    --font-base: 16px;
    --font-lg: 18px;
    --font-xl: 20px;
    --font-2xl: 24px;
    --font-3xl: 28px;
    --font-4xl: 36px;
  }
  
  .top-bar-inner {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .top-bar {
    display: none;
  }
  
  .header-inner {
    flex-wrap: wrap;
    padding: var(--space-sm) var(--space-md);
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .logo-text {
    min-width: 0;
  }

  .logo-title {
    max-width: 160px;
    font-size: var(--font-lg);
    line-height: 1.2;
    white-space: normal;
    word-break: break-all;
  }

  .logo-title-desktop {
    display: none;
  }

  .logo-title-mobile {
    display: inline;
  }

  .logo-sub {
    font-size: var(--font-xs);
  }

  .logo-sub {
    display: none;
  }
  
  .hamburger {
    display: flex;
    order: 3;
    margin-left: auto;
  }

  .header-phone-mobile {
    display: inline-flex;
    order: 2;
    margin-left: auto;
    margin-right: var(--space-sm);
    padding: 6px 12px;
    font-size: var(--font-sm);
    white-space: nowrap;
  }
  
  .header-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    z-index: 99;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  
  .header-nav.active {
    transform: translateX(0);
  }
  
  .nav-link {
    width: 100%;
    padding: var(--space-md);
    font-size: var(--font-base);
  }
  
  .header-cta {
    display: none;
  }
  
  .hero {
    padding: 64px var(--space-md);
  }
  
  .hero-title-main {
    font-size: var(--font-2xl);
  }
  
  .hero-title-sub {
    font-size: var(--font-xl);
  }

  .hero-features li {
    font-size: var(--font-sm);
  }

  .sp-only {
    display: inline;
  }
  
  .achievements-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  
  .achievement-number {
    font-size: var(--font-3xl);
  }
  
  .section {
    padding: var(--space-2xl) var(--space-md);
  }
  
  .section-title {
    font-size: var(--font-2xl);
  }
  
  .voice-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .reason-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-nav {
    grid-template-columns: 1fr;
  }
  
  .fixed-cta-bar {
    display: grid;
  }
  
  .page-top {
    bottom: 80px;
    right: var(--space-md);
    width: 48px;
    height: 48px;
  }
  
  /* 会社情報テーブルの調整 */
  .company-table th,
  .company-table td {
    padding: var(--space-md);
    font-size: var(--font-sm);
  }
  
  .company-table th {
    width: 120px;
  }
  
  .company-table th i {
    font-size: 16px;
  }
}

/* 小さいモバイル（640px以下で縦並び） */
@media (max-width: 640px) {
  /* CTAボタンを縦並びに */
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    min-width: auto;
    width: 100%;
  }

  .hero-cta .btn-primary {
    order: 0;
  }

  .hero-cta .btn-success,
  .hero-cta .btn-line {
    order: 1;
  }

  .hero-cta .btn-outline {
    order: 2;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    min-width: auto;
    max-width: none;
    width: 100%;
  }
  
  .achievements-inner {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .reason-grid {
    grid-template-columns: 1fr;
  }
}

/* プリント用 */
@media print {
  .top-bar,
  .hamburger,
  .header-cta,
  .fixed-cta-bar,
  .page-top,
  .cta-final {
    display: none;
  }
}
/* connection test */
/* auto upload test - 成功！ */


/* CTA icons: all CTA buttons */
.btn i {
  font-size: 24px;
}

/* CTA icons: phone CTA highest priority */
.btn-phone i {
  font-size: 32px;
}

/* CTA icons: line + mail CTA (below phone) */
.btn-line i,
.btn-success i,
.btn-outline i {
  font-size: 26px;
}

/* CTA icons: fixed mobile CTA */
.fixed-cta-btn i {
  font-size: 27px;
}

@media (max-width: 768px) {
  .hero-cta .btn-phone {
    padding-top: 20px;
    padding-bottom: 20px;
    min-height: 72px;
    align-items: center;
  }

  .hero-cta .btn-phone .btn-text {
    line-height: 1.3;
  }

  .hero-cta .btn-phone-hero {
    padding: 22px 24px;
    min-height: 84px;
    white-space: normal;
  }

  .hero-cta .btn-phone-hero .btn-text {
    line-height: 1.35;
  }

  .hero-cta .btn-success,
  .hero-cta .btn-line {
    padding: 22px 24px;
    min-height: 84px;
  }

  /* Final CTA phone button: prevent text clipping on mobile */
  .cta-final .btn-phone-cta {
    padding: 22px 24px;
    min-height: 96px;
    align-items: center;
    white-space: normal;
  }

  .cta-final .btn-phone-cta .btn-text {
    line-height: 1.35;
  }
}

/* Hero badges: match secondary to primary appearance */
.hero-badges .badge-secondary {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--brand-main-dark);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

/* News page: simple, readable layout */
.category-filter-section {
  padding: var(--space-xl) var(--space-md) 0;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.category-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 20px;
  font-size: var(--font-lg);
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 2px solid rgba(37, 99, 235, 0.2);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
}

.category-btn i {
  font-size: 18px;
}

.category-btn[data-category="all"] i {
  color: #2563eb;
}

.category-btn[data-category="works"] i {
  color: #00b140;
}

.category-btn[data-category="info"] i {
  color: #f59e0b;
}

.category-btn.active {
  border-color: rgba(37, 99, 235, 0.6);
  box-shadow: var(--shadow-sm);
}

.news-list-section {
  padding: var(--space-3xl) var(--space-md);
}

.news-list-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2xl);
}

.news-item-card {
  background-color: var(--bg-primary);
  border: 1px solid rgba(30, 58, 95, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.news-card-inner {
  display: block;
  color: inherit;
}

.news-card-image {
  position: relative;
}

.news-card-image img {
  display: block;
  width: 100%;
  height: auto;
}

.news-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: var(--font-sm);
  font-weight: 700;
}

.category-works {
  background-color: #e8f8ef;
  color: #00b140;
}

.category-info {
  background-color: #fff4e5;
  color: #f59e0b;
}

.news-card-content {
  padding: var(--space-lg);
}

.news-card-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-sm);
  color: var(--text-tertiary);
}

.news-card-date i {
  color: #2563eb;
}

.news-card-title {
  margin: var(--space-sm) 0 var(--space-md);
  font-size: var(--font-xl);
  line-height: 1.5;
  color: var(--text-primary);
}

.news-card-excerpt {
  margin: 0 0 var(--space-md);
  color: var(--text-secondary);
  line-height: 1.8;
}

.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.news-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.news-meta-item i {
  color: #f59e0b;
}

.pagination {
  margin-top: var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.pagination-btn,
.pagination-number {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(30, 58, 95, 0.15);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-weight: 700;
}

.pagination-number.active {
  background-color: var(--brand-main);
  color: var(--text-inverse);
  border-color: var(--brand-main);
}

@media (max-width: 1024px) {
  .news-list-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .category-btn {
    font-size: var(--font-base);
    padding: 10px 16px;
  }

  /* Price table to cards on mobile */
  .price-table-wrapper {
    overflow-x: visible;
  }

  .price-table {
    box-shadow: none;
    background: transparent;
  }

  .price-table thead {
    display: none;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table tbody tr {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
  }

  .price-table td {
    padding: 0 0 var(--space-md);
  }

  .price-table td:last-child {
    padding-bottom: 0;
  }
  
  .price-table td::before {
    display: block;
    font-size: var(--font-sm);
    color: var(--text-tertiary);
    margin-bottom: 4px;
  }

  .price-table td:nth-child(1)::before {
    content: "プラン";
  }

  .price-table td:nth-child(2)::before {
    content: "目安の荷物量";
  }

  .price-table td:nth-child(3)::before {
    content: "料金目安（税込）";
  }
}

/* Contact form: center and enlarge */
.contact-form-embed {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  display: flex;
  justify-content: center;
}

.contact-form-embed .wpcf7 {
  width: 100%;
  margin: 0 auto;
}

.contact-form-embed .wpcf7-form {
  margin: 0 auto;
  width: 100%;
}

.contact-form-embed .wpcf7-form {
  max-width: 640px;
}

.contact-form-embed .wpcf7-form p {
  margin: 0 0 var(--space-md);
}

.contact-form-embed .wpcf7-form label {
  display: block;
  text-align: left;
}

.contact-form-embed .wpcf7-form .wpcf7-form-control {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 18px;
}

.contact-form-embed .wpcf7-form textarea.wpcf7-form-control {
  min-height: 180px;
}

/* Top news: timeline style */
.topics-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 960px;
  position: relative;
}

.topics-list::before {
  content: '';
  position: absolute;
  left: 96px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(30, 58, 95, 0.12);
}

.topics-list li {
  position: relative;
  padding: var(--space-md) 0 var(--space-md) 132px;
}

.topics-list li::before {
  content: '';
  position: absolute;
  left: 88px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-main);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.topics-link {
  display: block;
  color: var(--text-primary);
  text-decoration: none;
}

.topics-date {
  display: inline-block;
  min-width: 96px;
  font-weight: 700;
  color: var(--brand-main-dark);
}

.topics-title {
  display: inline-block;
  font-size: var(--font-lg);
  line-height: 1.6;
}

.section-more {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  background-color: var(--brand-main);
  color: var(--text-inverse);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  margin: var(--space-xl) auto 0;
}

.section-more:hover {
  background-color: var(--brand-main-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .topics-list {
    max-width: 100%;
  }

  .topics-list::before {
    left: 12px;
  }

  .topics-list li {
    padding-left: 40px;
  }

  .topics-list li::before {
    left: 6px;
  }

  .topics-date {
    display: block;
    margin-bottom: 4px;
  }
}
