/* ===================================================
   common.css — 異文化マネジメント共通スタイル
   =================================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #1a3a5c;
  --primary-light: #2a5a8c;
  --primary-dark: #0d1f33;
  --accent: #c5963a;
  --accent-light: #e0b35a;
  --accent-dark: #a07828;
  --text: #222222;
  --text-light: #3a3a3a;
  --text-muted: #555555;
  --bg: #fafafa;
  --bg-cream: #f7f4ef;
  --bg-dark: #0d1f33;
  --white: #ffffff;
  --border: #e0dcd4;
  --shadow: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 16px;
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
.serif { font-family: 'Noto Serif JP', serif; }

/* ===== HEADER / NAV ===== */
header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
header.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

header.site-header.header-compact nav { height: 48px; }
header.site-header.header-compact .logo { font-size: 0.72rem; }
header.site-header.header-compact .hamburger { padding: 4px; gap: 3px; }
header.site-header.header-compact .hamburger span { width: 18px; }
header.site-header.header-compact + .mobile-menu { top: 48px; }

header.site-header nav {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: 'Noto Serif JP', serif; font-size: 1rem;
  font-weight: 600; color: var(--primary);
  text-decoration: none; letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text); text-decoration: none; font-size: 0.9rem;
  font-weight: 500; letter-spacing: 0.02em; transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--accent); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--primary); color: var(--white) !important;
  padding: 10px 24px; border-radius: 6px;
  font-size: 0.88rem !important; transition: background 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--primary-light) !important; }


/* ===== HAMBURGER ===== */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none; position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999;
  padding: 32px 24px; flex-direction: column; gap: 0; overflow-y: auto;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  display: block; padding: 16px 0; color: var(--text);
  text-decoration: none; font-size: 1rem; font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .nav-cta {
  display: block; text-align: center; margin-top: 24px;
  padding: 16px; background: var(--primary); color: var(--white) !important;
  border-radius: 6px; border-bottom: none;
}

/* ===== LP STICKY BAR (service / article pages) ===== */
.lp-sticky-bar {
  display: flex; align-items: center;
  position: fixed; top: 48px; left: 0; right: 0;
  z-index: 998; height: 0; overflow: hidden;
  background: linear-gradient(145deg, #0f2b1e 0%, #1b4332 50%, #2d6a4f 100%);
  transition: height 0.35s ease;
}
.lp-sticky-bar.lp-sticky-visible { height: 46px; }
.lp-sticky-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
.lp-sticky-title {
  font-family: 'Noto Serif JP', serif; font-size: 0.82rem; font-weight: 600;
  color: var(--white); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; display: block; letter-spacing: 0.03em;
}
.lp-sticky-title em { font-style: normal; color: var(--accent-light, #e0b35a); }
@media (min-width: 1024px) { .lp-sticky-title { font-size: 1.0rem; } }

/* ===== FOOTER ===== */
footer { background: #1b4332; color: rgba(255,255,255,0.7); padding: 48px 24px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo {
  font-family: 'Noto Serif JP', serif; font-size: 0.95rem;
  font-weight: 600; color: rgba(255,255,255,0.8);
}
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.85rem; transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-copy {
  font-size: 0.78rem; text-align: center; margin-top: 32px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1100px; margin-left: auto; margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 6px; font-size: 1rem;
  font-weight: 600; text-decoration: none; transition: all 0.3s;
  cursor: pointer; border: none; letter-spacing: 0.02em;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover {
  background: var(--accent-light); transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(197,150,58,0.4);
}
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover {
  background: var(--accent-light); transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(197,150,58,0.4);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}
.btn-white-outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-white-outline:hover { background: rgba(255,255,255,0.1); }
.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; border-radius: 6px; font-size: 1rem;
  font-weight: 600; text-decoration: none; transition: all 0.3s ease;
  cursor: pointer; letter-spacing: 0.02em;
  background: transparent; color: var(--primary);
  border: 1px solid var(--border);
}
.btn-outline-dark:hover {
  background: var(--primary); color: var(--white); border-color: var(--primary);
}

/* ===== LP HERO ===== */
.lp-hero {
  padding: 140px 24px 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  position: relative; overflow: hidden;
}
.lp-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(197,150,58,0.12) 0%, transparent 50%);
}
.lp-hero-inner {
  max-width: 800px; margin: 0 auto; position: relative; z-index: 1;
}
.lp-hero-badge {
  display: inline-block; background: rgba(197,150,58,0.2); color: var(--accent-light);
  font-size: 0.82rem; font-weight: 500; padding: 5px 16px; border-radius: 50px;
  letter-spacing: 0.08em; margin-bottom: 24px; border: 1px solid rgba(197,150,58,0.3);
}
.lp-hero h1 {
  font-family: 'Noto Serif JP', serif; font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700; color: var(--white); line-height: 1.6; margin-bottom: 20px;
}
.lp-hero h1 em { font-style: normal; color: var(--accent-light); }
.lp-hero-sub {
  font-size: clamp(0.92rem, 1.5vw, 1.08rem); color: rgba(255,255,255,0.85);
  line-height: 1.9; margin-bottom: 36px;
}
.lp-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== LP SECTIONS ===== */
section { padding: 80px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  color: var(--accent); letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700; color: var(--primary-dark);
  line-height: 1.5; margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem; color: var(--text-light);
  max-width: 640px; line-height: 1.9;
}
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

.lp-section { max-width: 900px; margin: 0 auto; }
.lp-section-wide { max-width: 1100px; margin: 0 auto; }
.lp-section-label {
  font-size: 0.8rem; font-weight: 600; color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px;
}
.lp-section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700; color: var(--primary-dark); line-height: 1.5; margin-bottom: 16px;
}
.lp-section-desc {
  font-size: 1.05rem; color: var(--text-light); max-width: 700px; line-height: 1.9;
}
.lp-section-header { margin-bottom: 48px; }
.lp-section-header.center { text-align: center; }
.lp-section-header.center .lp-section-desc { margin: 0 auto; }

/* ===== BACKGROUND UTILITIES ===== */
.bg-cream { background: var(--bg-cream); }
.bg-white { background: var(--white); }
.bg-dark { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); }
.bg-sage { background: #eaf0ea; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 76px 24px 12px; background: var(--bg-cream);
  font-size: 0.8rem; color: var(--text-muted);
}
.breadcrumb-inner { max-width: 1100px; margin: 0 auto; }
.breadcrumb--flat { padding-top: 84px; padding-bottom: 12px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== CTA SECTIONS ===== */
.lp-cta {
  text-align: center; padding: 80px 24px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
}
.lp-cta h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700; margin-bottom: 16px;
}
.lp-cta p {
  font-size: 1.02rem; color: rgba(255,255,255,0.85); margin-bottom: 32px;
  max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.8;
}
.lp-cta .btn-accent { font-size: 1rem; padding: 16px 40px; }

.cta-banner {
  background: linear-gradient(145deg, #0f2b1e, #1b4332);
  padding: 80px 24px; text-align: center; color: var(--white);
}
.cta-banner h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700; margin-bottom: 16px;
}
.cta-banner p { font-size: 1.05rem; color: rgba(255,255,255,0.85); margin-bottom: 32px; }

/* ===== PAIN / FEATURE GRIDS ===== */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.pain-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px 24px; border-left: 3px solid var(--accent); }
.pain-card h3 { font-size: 1rem; font-weight: 600; color: var(--primary-dark); margin-bottom: 10px; display: flex; align-items: flex-start; gap: 10px; }
.pain-card h3 i { color: var(--accent); font-size: 0.85rem; margin-top: 4px; flex-shrink: 0; }
.pain-card p { font-size: 0.95rem; color: var(--text-light); line-height: 1.8; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.feature-card { background: var(--white); padding: 36px 28px; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: all 0.3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ===== STEPS ===== */
.steps { display: flex; flex-direction: column; gap: 0; max-width: 720px; margin: 0 auto; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: 'Noto Serif JP', serif; font-size: 1.1rem; font-weight: 700; flex-shrink: 0; }
.step-content h3 { font-size: 1.05rem; font-weight: 600; color: var(--primary-dark); margin-bottom: 8px; }
.step-content p { font-size: 0.95rem; color: var(--text-light); line-height: 1.8; }

/* ===== UPSELL CARDS ===== */
.upsell-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.upsell-card { background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding: 28px 24px; }
.upsell-card h4 { font-size: 1rem; font-weight: 600; color: var(--primary-dark); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.upsell-card h4 i { color: var(--accent); }
.upsell-card p { font-size: 0.92rem; color: var(--text-light); line-height: 1.7; margin-bottom: 12px; }
.upsell-card a { font-size: 0.9rem; font-weight: 600; color: var(--primary); text-decoration: none; }
.upsell-card a:hover { text-decoration: underline; }

/* ===== ARTICLE CONTENT (service/article 共通) ===== */
/* article-crosslink-list / experience-cta など article ページ固有スタイルは article.css で管理 */
.article-inner { max-width: 740px; margin: 0 auto; }

.article-section { padding: 76px 24px; }
.article-section > * { max-width: 740px; margin-left: auto; margin-right: auto; }

.article-label {
  display: block; font-size: 0.73rem; font-weight: 700;
  color: #c5963a; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 10px; text-align: left;
}
.article-section h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700; color: #1a1a1a; line-height: 1.5; margin-bottom: 24px;
}

.article-body { font-size: 0.98rem; color: #3a3a3a; line-height: 2.0; }
.article-body p + p { margin-top: 16px; }
.article-lead { font-size: 1.15em; color: #555; font-weight: 500; margin-bottom: 1.5em; line-height: 1.7; }

blockquote.article-highlight {
  background: var(--white); border-left: 4px solid #2d6a4f;
  border-radius: 0 14px 14px 0; padding: 32px 36px; margin: 0 auto;
}
blockquote.article-highlight p { font-size: 1.02rem; color: var(--text); line-height: 1.9; }
blockquote.article-highlight p + p { margin-top: 16px; }

.hero-sub-note { font-size: 0.95em; opacity: 0.85; }

.article-crosslink {
  display: block;
  padding: 28px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.article-crosslink p { font-size: 0.95rem; color: #3a3a3a; margin: 0; }
.article-crosslink a { font-weight: 600; color: var(--primary); text-decoration: none; }

.lp-hero-after-breadcrumb { padding-top: 60px; }
.highlight-box p + p { margin-top: 16px; }
.overflow-x-auto { overflow-x: auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
}
@media (max-width: 600px) {
  section { padding: 56px 16px; }
  .lp-hero { padding: 110px 16px 60px; }
}

.article-meta {
  margin-top: 3em;
  color: #888;
  font-size: 0.9em;
}
