/* ===================================================
   TAXAVE（タクセーブ）- common.css
   共通スタイル：変数・リセット・レイアウト・ボタン・
   ヘッダー・フッター・パンくず・信頼バー
=================================================== */

/* ===== CSS変数 ===== */
:root {
  --orange: #FF6B35;
  --navy:   #1B2A4A;
  --green:  #2ECC8A;
  --yellow: #FFD23F;
  --red:    #EF4444;
  --amber:  #F59E0B;
  --gray-50:  #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-400: #ADB5BD;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --white: #ffffff;
  --font: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

/* ===== リセット・ベース ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* 横スクロール防止 */
}
body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden; /* 横スクロール防止 */
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
svg { max-width: 100%; }

/* ===== レイアウトユーティリティ ===== */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 96px 0;
}
.section-sm {
  padding: 64px 0;
}
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto 56px;
}
.text-center { text-align: center; }

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: #e85a25;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,107,53,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--orange);
}
.btn-white:hover {
  background: var(--gray-100);
}
.btn-lg {
  padding: 18px 40px;
  font-size: 17px;
  border-radius: 10px;
}

/* ===== ヘッダー（マーケティングサイト用） ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.2s;
}
.header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  font-size: 24px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.5px;
}
.logo-sub {
  font-size: 11px;
  color: var(--gray-600);
  line-height: 1.2;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-nav-login {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.15s;
}
.btn-nav-login:hover { background: var(--gray-100); }
.btn-nav-start {
  font-size: 14px;
  font-weight: 700;
  background: var(--orange);
  color: white;
  padding: 10px 20px;
  border-radius: 7px;
  transition: all 0.2s;
}
.btn-nav-start:hover {
  background: #e85a25;
  transform: translateY(-1px);
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.2s;
}

/* モバイルメニュー */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 24px 28px;
  z-index: 99;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: block; }
.mobile-menu-links {
  list-style: none;
  margin-bottom: 20px;
}
.mobile-menu-links li {
  border-bottom: 1px solid var(--gray-100);
}
.mobile-menu-links a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
}
.mobile-menu-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===== コラムページ用 簡易ヘッダー ===== */
.site-header {
  background: var(--navy);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-size: 20px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.5px;
}
.site-logo span {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  font-weight: 400;
  margin-left: 8px;
}
.header-cta {
  background: var(--orange);
  color: white;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

/* ===== パンくずナビ ===== */
.breadcrumb {
  background: white;
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 24px;
}
.breadcrumb-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-600);
  flex-wrap: wrap;
}
.breadcrumb-sep { color: var(--gray-400); }
.breadcrumb a { color: var(--orange); }

/* ===== 信頼バー ===== */
.trust-bar {
  background: var(--navy);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 600;
}
.trust-icon {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  width: 18px;
  text-align: center;
}

/* ===== フッター（マーケティングサイト用） ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-brand .logo-mark { font-size: 28px; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.4); margin-top: 4px; }
.footer-brand-desc {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  margin-top: 14px;
}
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}
.footer-links a:hover { color: white; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  max-width: 600px;
  line-height: 1.6;
  text-align: right;
}

/* ===== コラムページ用 簡易フッター ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 32px 24px;
  margin-top: 64px;
  text-align: center;
}
.site-footer a { color: rgba(255,255,255,0.6); }
.site-footer .footer-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 13px;
}
.site-footer .footer-copy { font-size: 12px; }
.site-footer .footer-disclaimer {
  font-size: 11px;
  max-width: 700px;
  margin: 12px auto 0;
  line-height: 1.6;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ===== Font Awesome アイコン共通調整 ===== */
.fa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== レスポンシブ（共通） ===== */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  /* ナビゲーション：モバイルではハンバーガーのみ残す */
  .nav-links { display: none; }
  .nav-cta { display: none; }      /* ボタン類はモバイルメニュー内に移動 */
  .logo-sub { display: none; }    /* サブテキストはモバイルでは非表示 */
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-disclaimer { text-align: left; }
  .trust-bar-inner { gap: 20px; }
}

@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
