/* ============================================
   フォーエス株式会社 — 事業LP共通スタイル
   business-lp.css
   ============================================ */

/* ===== CSS Variables (inherit from style.css) ===== */
:root {
  --dark: #1a1a2e;
  --dark-light: #2a2a4e;
  --accent: #c4a35a;
  --accent-light: #f5ecd7;
  --accent-hover: #d4b36a;
  --gray-100: #f7f7f5;
  --gray-200: #e8e8e5;
  --gray-300: #d0d0cc;
  --gray-400: #b0b0ab;
  --gray-500: #8a8a85;
  --gray-600: #6a6a65;
  --gray-700: #4a4a45;
  --white: #ffffff;
  --off-white: #f3f3f1;
  --red: #e74c3c;
  --ff-jp: 'Noto Sans JP', sans-serif;
  --ff-en: 'Inter', sans-serif;
  --ff-serif: 'Noto Serif JP', serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.10);
  --max-width: 1200px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-jp);
  background: var(--off-white);
  color: var(--dark);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== MEGA MENU HEADER ===== */
.g-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: transform 0.4s var(--ease), box-shadow 0.3s;
}
.g-header.is-hidden { transform: translateY(-100%); }
.g-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 3vw, 40px);
  height: 72px;
}
.g-header__logo img {
  height: 32px;
  width: auto;
}
.g-header__nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.g-header__nav-item {
  position: relative;
  padding: 0 16px;
  height: 72px;
  display: flex;
  align-items: center;
  font-size: .78rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: color 0.3s;
  white-space: nowrap;
}
.g-header__nav-item:hover,
.g-header__nav-item.is-active { color: var(--accent); }
.g-header__nav-item i {
  font-size: .55rem;
  margin-left: 5px;
  transition: transform 0.3s;
}
.g-header__nav-item:hover i { transform: rotate(180deg); }

/* Mega dropdown */
.g-header__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  min-width: 520px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all 0.3s var(--ease);
  pointer-events: none;
}
.g-header__nav-item:hover .g-header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.g-header__dd-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: .75rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.2s;
  white-space: nowrap;
}
.g-header__dd-link:hover {
  background: var(--accent-light);
  color: var(--dark);
}
.g-header__dd-link i {
  font-size: .8rem;
  color: var(--accent);
  width: 20px;
  text-align: center;
}

/* Header CTA */
.g-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  margin-left: 12px;
}
.g-header__cta:hover {
  background: var(--accent);
  color: var(--dark);
}

/* Burger */
.g-header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.g-header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s;
}

/* ===== MOBILE NAV ===== */
.g-mnav {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.g-mnav.is-open {
  pointer-events: auto;
  opacity: 1;
}
.g-mnav__bg {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.85);
  backdrop-filter: blur(8px);
}
.g-mnav__inner {
  position: absolute;
  top: 0;
  right: 0;
  width: min(380px, 85vw);
  height: 100%;
  background: var(--white);
  padding: 80px 32px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
}
.g-mnav.is-open .g-mnav__inner { transform: translateX(0); }
.g-mnav__section-title {
  font-size: .65rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 20px 0 8px;
  font-family: var(--ff-en);
}
.g-mnav__link {
  display: block;
  padding: 12px 0;
  font-size: .88rem;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.2s;
}
.g-mnav__link:hover { color: var(--accent); }
.g-mnav__link i {
  margin-right: 10px;
  color: var(--accent);
  width: 20px;
  text-align: center;
  font-size: .8rem;
}
.g-mnav__footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  font-size: .75rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px clamp(20px, 3vw, 40px) 0;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  font-size: .72rem;
  color: var(--gray-500);
}
.breadcrumb__list li { display: flex; align-items: center; }
.breadcrumb__list li + li::before {
  content: '›';
  margin: 0 8px;
  color: var(--gray-300);
}
.breadcrumb__list a {
  color: var(--gray-500);
  transition: color 0.2s;
}
.breadcrumb__list a:hover { color: var(--accent); }
.breadcrumb__list [aria-current] {
  color: var(--gray-700);
  font-weight: 500;
}

/* ===== LP HERO ===== */
.lp-hero {
  padding: clamp(100px, 14vw, 160px) clamp(20px, 3vw, 40px) clamp(60px, 8vw, 100px);
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
.lp-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,163,90,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.lp-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.lp-hero__text { position: relative; z-index: 1; }
.lp-hero__label {
  font-family: var(--ff-en);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.lp-hero__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}
.lp-hero__title small {
  display: block;
  font-family: var(--ff-en);
  font-size: .55em;
  font-weight: 400;
  color: var(--gray-500);
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.lp-hero__sub {
  font-size: clamp(.85rem, 1.3vw, .95rem);
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 28px;
}
.lp-hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.lp-hero__visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ===== LP SECTIONS ===== */
.lp-sec {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 3vw, 40px);
}
.lp-sec--white { background: var(--white); }
.lp-sec--alt { background: var(--off-white); }
.lp-sec--dark {
  background: var(--dark);
  color: var(--white);
}
.lp-sec__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Section Header */
.lp-sec__header {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.lp-sec__num {
  font-family: var(--ff-en);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
}
.lp-sec__title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin: 8px 0 12px;
}
.lp-sec__title-en {
  font-family: var(--ff-en);
  font-size: .7rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 2px;
}
.lp-sec__divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 16px auto 0;
}

/* ===== PROBLEM SECTION ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.problem-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 14px;
}
.problem-card__text {
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.7;
}

/* ===== SERVICE CARDS ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.service-card__title {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.service-card__desc {
  font-size: .8rem;
  color: var(--gray-600);
  line-height: 1.8;
  flex: 1;
}
.service-card__link {
  margin-top: 14px;
  font-size: .78rem;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== STRENGTHS ===== */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.strength-card { text-align: center; }
.strength-card__num {
  font-family: var(--ff-en);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
}
.strength-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 12px auto;
}
.strength-card__title {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.strength-card__desc {
  font-size: .8rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ===== CASES ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}
.case-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.case-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.case-card__body { padding: 20px; }
.case-card__tag {
  display: inline-block;
  font-size: .65rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.case-card__title {
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.case-card__desc {
  font-size: .75rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== AREA ===== */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.area-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: .82rem;
  font-weight: 500;
}
.area-tag i { color: var(--accent); font-size: .75rem; }
.area-tag--main {
  background: var(--accent-light);
  border-color: var(--accent);
  font-weight: 600;
}

/* ===== FLOW ===== */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.flow-step {
  text-align: center;
  position: relative;
}
.flow-step::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: var(--gray-300);
}
.flow-step:last-child::after { display: none; }
.flow-step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-en);
  font-size: .85rem;
  font-weight: 700;
  margin: 0 auto 12px;
}
.flow-step__title {
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.flow-step__desc {
  font-size: .7rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-list { margin: 0; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: .88rem;
  font-weight: 500;
  color: var(--dark);
  font-family: var(--ff-jp);
  line-height: 1.7;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q__badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-en);
  font-size: .7rem;
  font-weight: 700;
}
.faq-q__icon {
  margin-left: auto;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  color: var(--gray-500);
  transition: all 0.3s;
}
.faq-item.is-open .faq-q__icon {
  transform: rotate(45deg);
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), opacity 0.3s;
  opacity: 0;
}
.faq-item.is-open .faq-a {
  opacity: 1;
}
.faq-a__inner {
  padding: 0 0 24px 44px;
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.9;
}

/* ===== RELATED LINKS ===== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.related-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: all 0.3s;
}
.related-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.related-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.related-card__title {
  font-size: .85rem;
  font-weight: 600;
}
.related-card__desc {
  font-size: .72rem;
  color: var(--gray-500);
}
.related-card__arrow {
  margin-left: auto;
  color: var(--accent);
  font-size: .7rem;
}

/* ===== CTA SECTION ===== */
.lp-cta {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  color: var(--white);
  padding: clamp(60px, 8vw, 100px) clamp(20px, 3vw, 40px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lp-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,163,90,0.1) 0%, transparent 70%);
}
.lp-cta__title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  margin-bottom: 12px;
}
.lp-cta__sub {
  font-size: .85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}
.lp-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.lp-cta__tel {
  font-family: var(--ff-en);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.lp-cta__tel i { color: var(--accent); margin-right: 8px; font-size: 1rem; }
.lp-cta__hours {
  font-size: .72rem;
  color: rgba(255,255,255,0.4);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-jp);
  font-size: .85rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.btn--primary {
  background: var(--accent);
  color: var(--dark);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(196,163,90,0.3);
}
.btn--outline {
  background: transparent;
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--white {
  background: var(--white);
  color: var(--dark);
}
.btn--white:hover {
  background: var(--accent-light);
}
.btn--dark {
  background: var(--dark);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--accent);
  color: var(--dark);
}
.btn--sm {
  font-size: .78rem;
  padding: 10px 22px;
}
.btn--center { margin: 0 auto; display: flex; }

/* ===== 4-COLUMN FOOTER ===== */
.g-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: clamp(48px, 6vw, 80px) clamp(20px, 3vw, 40px) 32px;
}
.g-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.g-footer__top {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: 48px;
}
.g-footer__brand img {
  height: 28px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(10);
}
.g-footer__brand-text {
  font-size: .75rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.4);
}
.g-footer__col-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-family: var(--ff-en);
}
.g-footer__link {
  display: block;
  font-size: .78rem;
  padding: 5px 0;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.g-footer__link:hover { color: var(--accent); }
.g-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .7rem;
  color: rgba(255,255,255,0.3);
}

/* ===== MOBILE FIXED BAR ===== */
.m-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
}
.m-bar__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
}
.m-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 0;
  font-size: .6rem;
  font-weight: 600;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
}
.m-bar__item:hover { color: var(--accent); }
.m-bar__item i { font-size: 1rem; }
.m-bar__item--accent {
  color: var(--white);
  background: var(--accent);
  border-radius: var(--radius);
  margin: 0 4px;
}
.m-bar__item--accent:hover { color: var(--white); opacity: 0.9; }

/* ===== INFO TABLE (reuse) ===== */
.lp-info-table {
  width: 100%;
  border-collapse: collapse;
}
.lp-info-table th,
.lp-info-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-200);
  font-size: .82rem;
  text-align: left;
  vertical-align: top;
}
.lp-info-table th {
  font-weight: 600;
  color: var(--gray-700);
  width: 160px;
  white-space: nowrap;
  background: var(--gray-100);
}
.lp-info-table td { color: var(--gray-600); }
.lp-info-table a { color: var(--accent); }

/* ===== TECH STACK ===== */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: .75rem;
  font-weight: 500;
  font-family: var(--ff-en);
  transition: all 0.2s;
}
.tech-tag:hover { border-color: var(--accent); background: var(--accent-light); }
.tech-tag--main {
  border-color: var(--accent);
  background: var(--accent-light);
  font-weight: 600;
}

/* ===== STATS ROW ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.stat-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
}
.stat-card__num {
  font-family: var(--ff-en);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-card__label {
  font-size: .72rem;
  color: var(--gray-500);
  margin-top: 6px;
}

/* ===== SECTION CTA BUTTON (for top page) ===== */
.sec-cta-wrap {
  text-align: center;
  margin-top: clamp(32px, 4vw, 48px);
}

/* ===== SHOP INFO (Telecom / Company) ===== */
.shop-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.shop-info .info-table { width: 100%; }
.shop-info .info-table th {
  font-weight: 600;
  font-size: .8rem;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
  vertical-align: top;
}
.shop-info .info-table td {
  font-size: .82rem;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
}
.shop-info .info-table .info-table__dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-right: 8px;
  vertical-align: middle;
}
.shop-info__map iframe { border-radius: var(--radius-lg); }

/* ===== FAQ ITEMS (New Style — telecom/company) ===== */
.faq-item__q {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 18px 20px; border: none;
  background: var(--white); cursor: pointer;
  font-size: .88rem; font-weight: 500;
  text-align: left; font-family: var(--ff-jp);
  border-bottom: 1px solid var(--gray-200);
  transition: background 0.3s;
}
.faq-item__q:hover { background: var(--gray-100); }
.faq-item__q i { margin-left: auto; font-size: .6rem; color: var(--gray-400); transition: transform .3s; }
.faq-item.is-open .faq-item__q i { transform: rotate(180deg); }
.faq-item__q-icon {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  font-size: .7rem; font-weight: 700; flex-shrink: 0;
}
.faq-item__a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item__a p {
  padding: 16px 20px; padding-left: 60px;
  font-size: .82rem; color: var(--gray-600);
  line-height: 1.8; background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  position: relative;
}
.faq-item__a-icon {
  position: absolute; left: 20px; top: 16px;
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gray-300); color: var(--white);
  font-size: .7rem; font-weight: 700;
}

/* ===== PHILOSOPHY BLOCK (Company page) ===== */
.philosophy-block {
  text-align: center;
  padding: clamp(40px, 6vw, 80px) 0;
}
.philosophy-block__main {
  font-family: var(--ff-serif);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.7;
  color: var(--dark);
  margin-bottom: 16px;
}
.philosophy-block__sub {
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 32px;
}
.philosophy-block__desc {
  max-width: 700px;
  margin: 0 auto;
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 2;
}

/* ===== HISTORY TIMELINE (Company page) ===== */
.history-timeline {
  position: relative;
  padding-left: 40px;
}
.history-timeline::before {
  content: '';
  position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 2px; background: var(--gray-200);
}
.history-timeline__item {
  position: relative;
  padding-bottom: clamp(24px, 3vw, 40px);
  display: flex; gap: 20px; align-items: flex-start;
}
.history-timeline__item::before {
  content: '';
  position: absolute;
  left: -34px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  z-index: 1;
}
.history-timeline__date {
  font-family: var(--ff-en);
  font-size: .72rem; font-weight: 600;
  color: var(--accent);
  white-space: nowrap; min-width: 90px;
  padding-top: 2px;
}
.history-timeline__content p {
  font-size: .88rem; color: var(--dark);
  margin-bottom: 8px;
}
.history-timeline__img {
  max-width: 200px; border-radius: var(--radius);
  margin-top: 8px;
}

/* ===== CONTACT METHODS (Contact page) ===== */
.contact-methods {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(32px, 5vw, 80px);
  flex-wrap: wrap;
}
.contact-method {
  text-align: center;
  flex: 1; min-width: 250px; max-width: 400px;
}
.contact-method__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto 16px;
}
.contact-method__title {
  font-size: 1rem; font-weight: 600; margin-bottom: 12px;
}
.contact-method__tel {
  display: block;
  font-family: var(--ff-en); font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; color: var(--accent);
  text-decoration: none; margin-bottom: 8px;
}
.contact-method__note {
  font-size: .8rem; color: var(--gray-500); line-height: 1.7;
}
.contact-method__divider {
  width: 1px; height: 100px; background: var(--gray-200);
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 700px; margin: 0 auto;
}
.contact-form__row { margin-bottom: 24px; }
.contact-form__label {
  display: block; font-size: .82rem; font-weight: 600;
  margin-bottom: 8px; color: var(--dark);
}
.contact-form__req {
  display: inline-block; font-size: .6rem; font-weight: 600;
  background: var(--red); color: var(--white);
  padding: 1px 8px; border-radius: 3px; margin-left: 6px;
  vertical-align: middle;
}
.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  font-size: .88rem; font-family: var(--ff-jp);
  transition: border-color .3s;
  background: var(--white);
}
.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,163,90,0.1);
}
.contact-form__textarea { resize: vertical; min-height: 120px; }
.contact-form__submit { text-align: center; margin-top: 32px; }
.contact-form__result {
  margin-top: 24px; padding: 16px 24px; border-radius: var(--radius);
  font-size: .88rem; text-align: center;
}
.contact-form__result--success {
  background: #d4edda; color: #155724; border: 1px solid #c3e6cb;
}
.contact-form__result--success i { margin-right: 8px; }

/* ===== LP HERO COMPACT (Company / Contact) ===== */
.lp-hero--compact { padding-top: clamp(100px, 12vw, 140px); padding-bottom: clamp(40px, 5vw, 60px); }
.lp-hero--compact .lp-hero__inner { grid-template-columns: 1fr; text-align: center; }

/* ===== LP CTA NOTE ===== */
.lp-cta__note {
  font-size: .72rem; color: rgba(255,255,255,.4); margin-top: 20px;
}

/* ===== BTN LG ===== */
.btn--lg { font-size: .95rem; padding: 16px 40px; }

/* ===== SERVICE CARD LINK ===== */
.service-card--link { text-decoration: none; cursor: pointer; transition: all .3s; }
.service-card--link:hover { border-color: var(--accent); transform: translateY(-3px); }

/* ===== MOBILE FOOTER BAR (Shared new) ===== */
.g-m-footer-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 6000;
  background: var(--dark); border-top: 1px solid rgba(255,255,255,.08);
  justify-content: space-around; align-items: center; height: 56px;
}
.g-m-footer-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: rgba(255,255,255,.6); font-size: .55rem; font-weight: 400;
  text-decoration: none; transition: color .3s;
}
.g-m-footer-bar a i { font-size: .9rem; }
.g-m-footer-bar a:hover { color: var(--accent); }

/* ===== FOOTER COLUMNS (New shared) ===== */
.g-footer__columns {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding-bottom: 32px; margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.g-footer__columns .g-footer__col ul { list-style: none; }
.g-footer__columns .g-footer__col ul li { margin-bottom: 6px; }
.g-footer__columns .g-footer__col ul a {
  font-size: .72rem; color: rgba(255,255,255,.4); transition: color .3s;
}
.g-footer__columns .g-footer__col ul a:hover { color: rgba(255,255,255,.7); }
.g-footer__columns .g-footer__col ul a i { margin-right: 4px; font-size: .6rem; }
.g-footer__columns .g-footer__col p {
  font-size: .68rem; color: rgba(255,255,255,.3); line-height: 1.8;
}
.g-footer__logo { height: 28px; filter: brightness(10); margin-bottom: 32px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .g-header__nav { display: none; }
  .g-header__cta { display: none; }
  .g-header__burger { display: flex; }
  .lp-hero__inner { grid-template-columns: 1fr; }
  .lp-hero__visual { max-width: 500px; }
  .strengths-grid { grid-template-columns: 1fr; gap: 20px; }
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .flow-grid { grid-template-columns: repeat(3, 1fr); }
  .flow-step:nth-child(3)::after { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .g-footer__top { grid-template-columns: 1fr 1fr; }
  .g-footer__columns { grid-template-columns: repeat(2, 1fr); }
  .g-m-footer-bar { display: flex; }
  .shop-info { grid-template-columns: 1fr; }
  .contact-method__divider { width: 80px; height: 1px; }
}

@media (max-width: 768px) {
  .m-bar { display: block; }
  body { padding-bottom: 72px; }
  .g-header__inner { height: 60px; }
  .g-header__logo img { height: 26px; }
  .cases-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .g-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .g-footer__columns { grid-template-columns: 1fr 1fr; }
  .lp-cta__tel { font-size: 1.2rem; }
  .history-timeline__item { flex-direction: column; gap: 6px; }
}

@media (max-width: 480px) {
  .problem-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .flow-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .g-footer__columns { grid-template-columns: 1fr; }
  .contact-methods { flex-direction: column; }
}
