/* ===== front.css ==== */
/* Merged from css/style.css + css/service.css */

/* =====================
   VARIABLES & RESET
===================== */
:root {
  --pure-white: #FFFFFF;
  --dark-bg: #1a1a1a;
  --light-bg: #FAFAFA;
  --dark-text: #222222;
  --light-text: #fff;
  --accent-red: #FF0A09;
  --border-gray: #ddd;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  padding-top: 64px;
}

section[id] {
  scroll-margin-top: 64px;
}

/* =====================
   ANIMATIONS
===================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

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

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

/* =====================
   HEADER
===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
}

.header-logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--dark-text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-nav {
  flex: 1;
}

.header-nav ul {
  display: flex;
  list-style: none;
  gap: 0.2rem;
}

.header-nav ul li a {
  display: block;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  color: #444;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.header-nav ul li a:hover {
  background: var(--light-bg);
  color: var(--dark-text);
}

.header-cta {
  flex-shrink: 0;
  padding: 0.6rem 1.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background-color: var(--accent-red);
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.04em;
  border: 2px solid var(--accent-red);
  transition: background 0.2s ease, color 0.2s ease;
}

.header-cta:hover {
  background-color: #fff;
  color: var(--accent-red);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark-text);
  transition: all 0.3s ease;
  margin: 0 auto;
}

/* =====================
   FOOTER
===================== */
.site-footer {
  background-color: var(--dark-bg);
  color: #ccc;
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  text-decoration: none;
  margin-bottom: 0.8rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: #999;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-sns {
  display: flex;
  gap: 1rem;
}

.footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #aaa;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-sns a:hover {
  background: var(--accent-red);
  color: #fff;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: #999;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-address {
  font-size: 0.8rem;
  color: #666;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: #666;
}

.footer-legal a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #fff;
}

/* =====================
   FLOATING MENU
===================== */
.floating-menu {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 999;
}

.floating-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.floating-menu-item > span:first-child {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.floating-menu-item.active > span:first-child {
  background-color: var(--accent-red);
}

.floating-menu-item:not(.active) > span:first-child {
  background-color: var(--dark-bg);
}

.floating-menu-item:hover > span:first-child {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.floating-menu-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark-text);
  text-align: center;
  line-height: 1.4;
  max-width: 80px;
  white-space: normal;
}

/* =====================
   HERO
===================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem max(2rem, calc(50% - 600px));
  background-color: var(--light-bg);
  animation: fadeIn 0.8s ease-out;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1rem;
  color: var(--dark-text);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.hero-content p:first-of-type {
  font-weight: 600;
  margin-bottom: 2rem;
}

/* =====================
   HERO STATS
===================== */
.hero-stats {
  display: flex;
  align-items: center;
  margin: 1.5rem 0 1rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-red);
  line-height: 1;
}

.hero-stat-unit {
  font-size: 1rem;
  font-weight: 700;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: #666;
  letter-spacing: 0.03em;
}

.hero-stat-divider {
  width: 1px;
  height: 2.5rem;
  background: #ddd;
  margin: 0 1.5rem;
}

/* =====================
   BUTTONS
===================== */
.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
}

.btn {
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: normal;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: var(--accent-red);
  color: var(--light-text);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 10, 9, 0.3);
}

.btn-dark {
  background-color: var(--dark-bg);
  color: var(--light-text);
}

.btn-dark:hover {
  background-color: #333;
}

.btn-small {
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  width: auto;
  min-width: 200px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-center {
  display: flex;
  justify-content: center;
  margin-top: 1.2rem;
}

/* =====================
   SPEECH BUBBLE
===================== */
.stats-bubble-container {
  max-width: 350px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.stats-bubble-container.active {
  opacity: 1;
  transform: translateY(0);
}

.stats-bubble {
  position: relative;
  background: var(--dark-bg);
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  max-width: 350px;
  margin: 20px auto;
  font-size: 13px;
}

.stats-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 200px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--dark-bg);
  display: block;
}

/* =====================
   HERO SLIDER
===================== */
.hero-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.hero-slide {
  width: 100%;
  height: 400px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--dark-bg);
}

.case-slide {
  position: absolute;
  inset: 0;
  padding: 2.2rem 2rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dark-bg);
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.case-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.case-slide-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-red);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  background: rgba(255,10,9,0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  width: fit-content;
}

.case-slide-metric {
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.case-slide-unit {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.case-slide-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.2rem;
}

.case-slide-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
}

.carousel-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.2rem 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 100%);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.dot.active {
  background-color: #fff;
  width: 24px;
  border-radius: 4px;
}

/* =====================
   SIDEBAR (共通)
===================== */
.sidebar-label {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--dark-text);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.sidebar-desc {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* =====================
   VALUES SECTION
===================== */
.values-section {
  display: flex;
  gap: 3rem;
  padding: 4rem max(2rem, calc(50% - 600px));
  background-color: var(--light-bg);
}

.values-questions {
  background-color: var(--pure-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  height: fit-content;
  position: sticky;
  top: 80px;
  align-self: flex-start;
  z-index: 10;
  width: 350px;
  flex: 0 0 350px;
}

.values-questions ul {
  list-style: none;
}

.values-questions ul li {
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 6px 10px 6px 0.9rem;
  border-radius: 4px;
  color: var(--dark-text);
  position: relative;
  font-size: 0.9rem;
}

.values-questions ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-red);
  font-weight: bold;
}

.values-questions ul li:hover {
  opacity: 0.7;
}

.values-questions ul li.active {
  font-weight: bold;
}

.values-values {
  background-color: var(--pure-white);
  color: var(--dark-text);
  padding: 3rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.values-value {
  margin-bottom: 3rem;
  animation: slideUp 0.6s ease-out backwards;
}

.values-value:nth-child(1) { animation-delay: 0.1s; }
.values-value:nth-child(2) { animation-delay: 0.2s; }
.values-value:nth-child(3) { animation-delay: 0.3s; }
.values-value:nth-child(4) { animation-delay: 0.4s; }

.values-value.hidden { display: none; }
.values-value.visible {
  display: block;
  animation: fadeInUp 0.35s ease forwards;
}

.values-value h4 {
  font-size: 2.2rem;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  color: var(--dark-text);
}

.values-value p {
  font-size: 1.05rem;
  color: var(--dark-text);
  line-height: 1.7;
}

/* =====================
   FAQ SECTION
===================== */
.qna-section {
  display: flex;
  gap: 3rem;
  padding: 4rem max(2rem, calc(50% - 600px));
  background-color: var(--light-bg);
}

.qna-questions {
  background-color: var(--pure-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  height: fit-content;
  position: sticky;
  top: 80px;
  align-self: flex-start;
  z-index: 10;
  width: 350px;
  flex: 0 0 350px;
}

.qna-questions ul {
  list-style: none;
}

.qna-questions ul li {
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 6px 10px 6px 0.9rem;
  border-radius: 4px;
  color: var(--dark-text);
  position: relative;
  font-size: 0.9rem;
}

.qna-questions ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-red);
  font-weight: bold;
}

.qna-questions ul li:hover {
  opacity: 0.7;
}

.qna-questions ul li.active {
  font-weight: bold;
}

.qna-values {
  background-color: var(--pure-white);
  color: var(--dark-text);
  padding: 3rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.qna-value {
  margin-bottom: 3rem;
  animation: slideUp 0.6s ease-out backwards;
}

.qna-value:nth-child(1) { animation-delay: 0.1s; }
.qna-value:nth-child(2) { animation-delay: 0.2s; }
.qna-value:nth-child(3) { animation-delay: 0.3s; }
.qna-value:nth-child(4) { animation-delay: 0.4s; }

.qna-value.hidden { display: none; }
.qna-value.visible {
  display: block;
  animation: fadeInUp 0.35s ease forwards;
}

.qna-value h4 {
  font-size: 2.2rem;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  color: var(--dark-text);
}

.qna-value p {
  font-size: 1.05rem;
  color: var(--dark-text);
  line-height: 1.7;
}

/* FAQ お問い合わせリスト */
.faq-inquiry-list {
  list-style: none;
  margin: 0.6rem 0 1rem;
}

.faq-inquiry-list li {
  font-size: 1.05rem;
  color: var(--dark-text);
  line-height: 1.7;
  padding-left: 1em;
  position: relative;
}

.faq-inquiry-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* =====================
   FAQ DIAGRAM
===================== */
.faq-diagram {
  background: #f4f4f4;
  border-radius: 10px;
  padding: 1.4rem;
  margin: 1.4rem 0 1.2rem;
}

.faq-diagram-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}

.faq-diagram-category {
  text-align: center;
}

.faq-diagram-category .cat-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.faq-diagram-category .cat-main {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark-text);
}

.faq-diagram-cross {
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark-text);
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.faq-diagram-body {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.faq-diagram-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.faq-diagram-col {
  border-right: 1px solid #eee;
  padding: 0 0 1rem;
}

.faq-diagram-col:last-child {
  border-right: none;
}

.faq-diagram-col-header {
  background: var(--dark-bg);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  padding: 0.55rem 0.5rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}

.faq-diagram-col ul {
  list-style: none;
  padding: 0 0.8rem;
  margin: 0;
}

.faq-diagram-col ul li {
  font-size: 0.74rem;
  color: #444;
  padding: 0.2rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  line-height: 1.5;
}

.faq-diagram-col ul li::before {
  content: "›";
  color: var(--accent-red);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.faq-diagram-footer {
  background: #f9f9f9;
  border-top: 1px solid #eee;
  padding: 0.75rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #444;
  text-align: center;
}

/* =====================
   FAQ PRODUCT CARDS
===================== */
.faq-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1rem 0 1.4rem;
}

.faq-product-card {
  background: #fff;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 1.1rem 1.2rem 0.9rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: box-shadow 0.2s;
}

.faq-product-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.faq-product-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-red);
  text-transform: uppercase;
}

.faq-product-card h5 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--dark-text);
  margin: 0;
}

.faq-product-card p {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.6;
  margin: 0.2rem 0 0.6rem;
}

.faq-product-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dark-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
}

.faq-product-link:hover {
  color: var(--accent-red);
}

/* =====================
   CASE STUDY DETAIL (FAQ内 導入実績)
===================== */
.case-study-detail {
  margin-top: 1rem;
}

.case-detail-header {
  background: var(--light-bg);
  border: 1px solid var(--border-gray);
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.5rem;
}

.case-detail-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.case-detail-industry,
.case-detail-period {
  font-size: 0.78rem;
  color: #666;
  background: #eee;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.case-detail-company {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.3rem 0 0.6rem;
}

.case-detail-kpi {
  font-size: 1rem;
  color: var(--dark-text);
}

.case-detail-kpi strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-red);
}

.case-detail-section {
  margin-bottom: 1.4rem;
}

.case-detail-section h6 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  margin-bottom: 0.4rem;
}

.case-detail-section p {
  font-size: 0.92rem;
  line-height: 1.8;
}

.case-detail-voice {
  background: #f4f4f4;
  color: var(--dark-text);
  border-left: 3px solid var(--accent-red);
  border-radius: 0 10px 10px 0;
  padding: 1.4rem 1.6rem;
  margin-top: 1rem;
}

.case-detail-voice p {
  font-size: 0.9rem;
  line-height: 1.9;
  margin-bottom: 0.8rem;
}

.case-detail-voice p:last-of-type {
  margin-bottom: 0;
}

.other-cases-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin: 2rem 0 0.8rem;
}

.case-detail-voice-author {
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.8rem;
}

/* =====================
   RECRUIT CARDS
===================== */
.recruit-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.recruit-card {
  background: var(--light-bg);
  border: 1px solid var(--border-gray);
  border-radius: 10px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.recruit-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.recruit-type {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--dark-bg);
  color: var(--light-text);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  width: fit-content;
}

.recruit-card h5 {
  font-size: 1rem;
  font-weight: 700;
}

.recruit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.recruit-list li {
  font-size: 0.85rem;
  padding-left: 1rem;
  position: relative;
  line-height: 1.6;
}

.recruit-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-red);
}

@media (max-width: 768px) {
  .recruit-cards {
    grid-template-columns: 1fr;
  }
}

/* =====================
   MEMBER CARDS
===================== */
.member-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.member-card {
  background: var(--light-bg);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-gray);
}

.member-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.member-photo--dummy {
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-info {
  padding: 0.9rem 1rem;
}

.member-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark-text);
  margin: 0 0 0.15rem;
}

.member-role {
  font-size: 0.75rem;
  color: #888;
  margin: 0 0 0.6rem;
}

.member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.member-tags span {
  font-size: 0.68rem;
  background: #fff;
  border: 1px solid var(--border-gray);
  border-radius: 3px;
  padding: 0.15rem 0.5rem;
  color: #555;
}

/* =====================
   WHY US (FAQ内)
===================== */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.why-us-card {
  background: var(--light-bg);
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid var(--border-gray);
}

.why-us-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-red);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.why-us-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.why-us-card p {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* =====================
   HOW IT WORKS (FAQ内)
===================== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.5rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--light-bg);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
}

.step-num {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-red);
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  min-width: 56px;
}

.step-num span {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.step-body h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.step-body p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.step-arrow {
  text-align: center;
  font-size: 1rem;
  color: #bbb;
  padding: 0.3rem 0;
}

/* =====================
   CTA SECTION
===================== */
.cta-section-wrap {
  background-color: var(--accent-red);
  background-image: url('teams.png');
  background-size: 265px;
  background-position: calc(50% + 335px) top;
  background-repeat: no-repeat;
}

.case-studies {
  background-color: transparent;
}

.cta-team-photo {
  display: none;
}

.cta-text-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.cta-cards-block {
  background: transparent;
  padding: 0 max(2rem, calc(50% - 600px)) 4rem;
}

.case-section-heading {
  font-size: 1.4rem;
  color: white;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.case-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 320px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  gap: 10px;
}

/* =====================
   CTA CARDS
===================== */
.cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2rem;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.cta-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 1.4rem;
  text-decoration: none;
  color: var(--dark-text);
  border-right: 1px solid #e5e5e5;
  transition: background 0.2s ease;
}

.cta-card:last-child {
  border-right: none;
}

.cta-card:hover {
  background: var(--light-bg);
}

.cta-card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.cta-card-body {
  flex: 1;
  min-width: 0;
}

.cta-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--dark-text);
}

.cta-card-body p {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
}

.cta-card-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  opacity: 0.4;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cta-card:hover .cta-card-arrow {
  opacity: 0.8;
  transform: translateX(3px);
}

/* =====================
   CASE CARDS
===================== */
.case-card {
  width: 320px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.case-card-image-2 {
  position: relative;
  height: 180px;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.case-card-image-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card-content {
  padding: 0.5rem 0.65rem 0.45rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.case-card-content .case-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.case-card-content .case-text {
  font-size: 0.82rem;
  color: #999;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-label {
  display: block;
  font-size: 0.6rem;
  color: #bbb;
  font-weight: 400;
  margin-top: auto;
  padding-top: 0.4rem;
  border-top: 1px solid #f0f0f0;
  letter-spacing: 0.03em;
}

.case-tag {
  display: inline-block;
  font-size: 0.72rem;
  color: #666;
  background: #eee;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

/* =====================
   UTILITIES
===================== */
.div-visible { display: block; }
.div-hidden  { display: none; }

.tooltip {
  display: none;
}

.tooltip.visible {
  display: block;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
}

.tooltiptext {
  display: block;
  background: var(--dark-bg);
  color: var(--light-text);
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.6;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* =====================
   MOBILE NAV
===================== */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 1200;
  padding: 80px 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.mobile-nav ul li a {
  display: block;
  padding: 0.9rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-gray);
}

.mobile-nav ul li:first-child a {
  border-top: 1px solid var(--border-gray);
}

.mobile-nav-cta {
  display: block;
  padding: 0.85rem;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================
   MEDIA QUERIES
===================== */

/* --- 1024px --- */
@media (max-width: 1024px) {
  .floating-menu {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 4%;
  }

  .hero-image {
    order: -1;
    max-width: 100%;
    margin: 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .cta-section-wrap {
    background-image: none !important;
  }

  .case-studies {
    background-color: var(--accent-red);
    padding-bottom: 0;
    position: relative;
    z-index: 2;
  }

  .cta-text-block {
    padding: 2rem 1.5rem 0.5rem;
  }

  .cta-team-photo {
    display: block;
    width: 265px;
    height: auto;
    margin: -3rem auto 0;
    margin-bottom: -150px;
    position: relative;
    z-index: 2;
  }

  .cta-cards-block {
    background: transparent !important;
    padding: 0;
    position: relative;
    z-index: 1;
  }

  .cta-cards {
    background: #fff !important;
    border-radius: 20px 20px 0 0;
    padding: 160px 1.5rem 2rem;
    grid-template-columns: 1fr !important;
    gap: 0;
    margin-top: 0;
  }

  .cta-card {
    border-right: none !important;
    border-bottom: 1px solid #e5e5e5;
  }

  .cta-card:last-child {
    border-bottom: none;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }
}

/* --- 900px --- */
@media (max-width: 900px) {
  .header-nav,
  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav-overlay {
    display: block;
    pointer-events: none;
  }

  .mobile-nav-overlay.open {
    pointer-events: auto;
  }

  .values-section,
  .qna-section {
    flex-direction: column;
    gap: 1.5rem;
  }

  .values-questions,
  .qna-questions {
    position: static;
    width: 100%;
    flex: none;
    padding: 1.5rem;
  }

  .values-values,
  .qna-values {
    padding: 1.5rem;
  }

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

  .faq-diagram-col:nth-child(2) {
    border-right: none;
  }

  .faq-diagram-col:nth-child(1),
  .faq-diagram-col:nth-child(2) {
    border-bottom: 1px solid #eee;
  }

  .faq-products {
    grid-template-columns: 1fr;
  }
}

/* --- 768px --- */
@media (max-width: 768px) {
  .floating-menu {
    display: none;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .values-section,
  .qna-section {
    padding: 2rem 1rem;
  }

  .qna-values {
    padding: 1.5rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-image {
    display: block;
    width: 100%;
    min-height: 200px;
  }

  .hero-slide {
    height: 200px;
  }

  .button-group {
    flex-direction: column;
    align-items: stretch;
  }

  .button-group .btn {
    text-align: center;
  }

  .stats-bubble-container {
    margin-left: auto;
    width: fit-content;
  }

  .stats-bubble {
    width: fit-content;
    max-width: 260px;
    margin: 20px 0 20px auto;
  }

  .stats-bubble::after {
    left: auto;
    right: 20px;
  }

  .case-section-heading {
    font-size: 1.1rem;
  }

  .cta-cards {
    grid-template-columns: 1fr;
  }

  .cta-card {
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
  }

  .cta-card:last-child {
    border-bottom: none;
  }

  .qna-value h4,
  .values-value h4 {
    font-size: 1.6rem;
  }

  .faq-diagram-cols {
    grid-template-columns: 1fr;
  }

  .faq-diagram-col {
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .faq-diagram-col:last-child {
    border-bottom: none;
  }

  .faq-diagram-top {
    flex-direction: column;
    gap: 0.8rem;
  }

  .faq-diagram-cross {
    transform: rotate(90deg);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* メンバーカード：横並び */
  .member-cards {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .member-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 120px;
    overflow: hidden;
    gap: 1rem;
  }

  .member-card .member-photo {
    width: 90px;
    height: 120px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: 50% 70%;
    border-radius: 0;
    transform: scale(1.35);
    transform-origin: top center;
  }

  .member-card .member-photo--dummy {
    width: 90px;
    height: 120px;
    flex-shrink: 0;
  }

  .member-card .member-info {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-content: center;
    overflow: hidden;
  }

  .member-card .member-name {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .member-card .member-role {
    font-size: 0.7rem;
  }

  .member-card .member-tags span {
    font-size: 0.6rem;
    padding: 0.1rem 0.35rem;
  }
}

/* --- 480px --- */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.7rem;
  }

  .faq-products {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .case-section-heading {
    font-size: 1rem;
  }
}

/* =====================
   CONTACT PAGE
===================== */
.contact-hero {
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-gray);
    padding: 5rem 1.5rem 4rem;
    text-align: center;
}
.contact-hero-inner { max-width: 640px; margin: 0 auto; }
.contact-hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--accent-red);
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.contact-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}
.contact-hero-lead { font-size: 0.95rem; color: #555; line-height: 1.8; }

.contact-section { padding: 5rem 1.5rem 6rem; }
.contact-inner { max-width: 680px; margin: 0 auto; }

.contact-note {
    background: #fff8f8;
    border: 1px solid rgba(255,10,9,0.2);
    border-radius: 8px;
    padding: 1rem 1.4rem;
    margin-bottom: 2.5rem;
    font-size: 0.88rem;
    color: #555;
}

.contact-form-row { margin-bottom: 1.8rem; }
.contact-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}
.contact-label.required::after {
    content: '必須';
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    background: var(--accent-red);
    padding: 1px 6px;
    border-radius: 3px;
    vertical-align: middle;
}
.contact-input,
.contact-select,
.contact-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--dark-text);
    background: #fff;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    transition: border-color 0.2s;
    font-family: inherit;
    line-height: 1.6;
}
.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(255,10,9,0.08);
}
.contact-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}
.contact-textarea { resize: vertical; min-height: 160px; }

.contact-error {
    background: #fff0f0;
    border: 1px solid rgba(255,10,9,0.3);
    border-radius: 8px;
    padding: 1rem 1.4rem;
    color: #cc0000;
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
    white-space: pre-line;
}

.contact-form-submit { margin-top: 2rem; text-align: center; }
.contact-submit-btn {
    display: inline-block;
    background: var(--accent-red);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 3.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
    letter-spacing: 0.04em;
}
.contact-submit-btn:hover:not(:disabled) { opacity: 0.85; }
.contact-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.contact-privacy-note { margin-top: 1rem; font-size: 0.78rem; color: #999; }
.contact-privacy-note a { color: #999; text-decoration: underline; }

.contact-success { text-align: center; padding: 4rem 2rem; }
.contact-success-icon {
    width: 64px; height: 64px;
    background: var(--accent-red);
    color: #fff;
    font-size: 1.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.contact-success h2 { font-size: 1.6rem; font-weight: 800; color: var(--dark-text); margin-bottom: 1rem; }
.contact-success p { font-size: 0.95rem; color: #555; line-height: 1.8; margin-bottom: 2rem; }
.contact-back-btn {
    display: inline-block;
    background: var(--dark-bg);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.contact-back-btn:hover { opacity: 0.8; }

@media (max-width: 768px) {
    .contact-hero h1 { font-size: 1.7rem; }
    .contact-section { padding: 3rem 1rem 4rem; }
    .contact-submit-btn { width: 100%; padding: 1rem; }
}

/* =====================
   THANKS PAGE
===================== */
.thanks-section {
    min-height: calc(100vh - 64px - 260px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1.5rem;
}
.thanks-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}
.thanks-icon {
    width: 72px;
    height: 72px;
    background: var(--accent-red);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}
.thanks-inner h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}
.thanks-inner > p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 2.5rem;
}
.thanks-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}
.thanks-download-btn {
    display: inline-block;
    background: var(--accent-red);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s;
    letter-spacing: 0.04em;
}
.thanks-download-btn:hover { opacity: 0.85; }
.thanks-contact-link {
    font-size: 0.88rem;
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
}
.thanks-contact-link:hover { text-decoration: underline; }
.thanks-note {
    font-size: 0.82rem;
    color: #999;
}
.thanks-note a { color: #999; text-decoration: underline; }

@media (max-width: 768px) {
    .thanks-inner h1 { font-size: 1.4rem; }
    .thanks-download-btn { width: 100%; text-align: center; }
}


/* ===== service.css (merged) ===== */
/* =====================
   SERVICE PAGES — SHARED STYLES
   service.css
===================== */

/* ---- HERO ---- */
.svc-hero {
    padding: 120px 0 72px;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-gray);
}
.svc-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.svc-hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--accent-red);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.svc-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--dark-text);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.svc-hero-lead {
    font-size: 1rem;
    color: #555;
    line-height: 2;
    margin-bottom: 2.4rem;
    max-width: 620px;
}
.svc-hero-badges {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 2.4rem;
    flex-wrap: wrap;
}
.svc-hero-badge {
    display: flex;
    flex-direction: column;
    padding: 0 2rem 0 0;
    margin-right: 2rem;
    border-right: 1px solid var(--border-gray);
}
.svc-hero-badge:last-child {
    border-right: none;
}
.svc-hero-badge-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark-text);
    line-height: 1;
    margin-bottom: 0.3rem;
}
.svc-hero-badge-label {
    font-size: 0.72rem;
    color: #999;
    white-space: nowrap;
}
.svc-hero-actions {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
}
.btn-hero-primary {
    display: inline-block;
    padding: 0.9rem 2.6rem;
    background: var(--accent-red);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    border: 2px solid var(--accent-red);
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.03em;
}
.btn-hero-primary:hover {
    background: transparent;
    color: var(--accent-red);
}
.btn-hero-sub {
    font-size: 0.88rem;
    color: #555;
    text-decoration: none;
    letter-spacing: 0.03em;
}
.btn-hero-sub:hover {
    color: var(--dark-text);
    text-decoration: underline;
}

/* ---- SECTION SHELL ---- */
.svc-section { padding: 80px 0; }
.svc-section.alt { background: var(--light-bg); }
.svc-section.dark { background: var(--dark-bg); }
.svc-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.svc-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--accent-red);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.svc-section.dark .svc-label { color: rgba(255,255,255,0.4); }
.svc-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
    line-height: 1.4;
}
.svc-section.dark .svc-title { color: #fff; }
.svc-desc {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.9;
    margin-bottom: 2.8rem;
    max-width: 680px;
}
.svc-section.dark .svc-desc { color: rgba(255,255,255,0.5); }

/* ---- ISSUES ---- */
.svc-issues {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}
.svc-issue-card {
    background: #fff;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 1.8rem;
}
.svc-issue-num {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent-red);
    margin-bottom: 0.7rem;
}
.svc-issue-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.6rem;
    line-height: 1.5;
}
.svc-issue-card p {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.75;
}

/* ---- CASE STUDIES ---- */
.svc-section.dark { background: #fff; }
.svc-section.dark .svc-label { color: var(--accent-red); }
.svc-section.dark .svc-title { color: var(--dark-text); }
.svc-section.dark .svc-desc { color: #666; }

.svc-cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}
.svc-case {
    background: #fff;
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}
.svc-case-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-red);
    border: 1px solid rgba(255,10,9,0.3);
    border-radius: 3px;
    padding: 2px 8px;
    margin-bottom: 1rem;
    width: fit-content;
}
.svc-case h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1.4rem;
    line-height: 1.6;
    height: 5.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.svc-case-metrics {
    display: flex;
    gap: 1.4rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}
.svc-case-metric {}
.svc-case-metric-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-red);
    line-height: 1.2;
    display: block;
    margin-bottom: 0.2rem;
}
.svc-case-metric-label {
    font-size: 0.75rem;
    color: #aaa;
    display: block;
    line-height: 1.4;
    min-height: 2.4rem;
}
.svc-case-detail {
    font-size: 0.78rem;
    color: #999;
    line-height: 1.7;
    border-top: 1px solid var(--border-gray);
    padding-top: 1rem;
    margin-top: auto;
}

/* ---- COMPARE TABLE ---- */
.svc-compare-wrap {
    margin-top: 2.5rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-gray);
}
.svc-compare {
    width: 100%;
    border-collapse: collapse;
}
.svc-compare th,
.svc-compare td {
    padding: 1rem 1.4rem;
    text-align: left;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border-gray);
}
.svc-compare thead th {
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    background: var(--dark-bg);
    color: rgba(255,255,255,0.6);
}
.svc-compare thead th:first-child {
    color: rgba(255,255,255,0.35);
}
.svc-compare thead th:last-child {
    background: var(--accent-red);
    color: #fff;
}
.svc-compare tbody tr:last-child td {
    border-bottom: none;
}
.svc-compare td:first-child {
    color: #888;
    font-size: 0.85rem;
    font-weight: 600;
    background: #fafafa;
    width: 30%;
}
.svc-compare td:nth-child(2) {
    color: #aaa;
}
.svc-compare td:last-child {
    font-weight: 700;
    color: var(--dark-text);
}
.svc-compare-check { color: var(--accent-red); font-weight: 800; }
.svc-compare-cross { color: #ccc; }

/* ---- APPROACH ---- */
.svc-approach {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 2.5rem;
    border-radius: 8px;
    overflow: hidden;
}
.svc-approach-step {
    padding: 2.2rem;
    background: #fff;
    border: 1px solid var(--border-gray);
    position: relative;
}
.svc-approach-step + .svc-approach-step {
    border-left: none;
}
.svc-approach-arrow {
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: #fff;
    border: 1px solid var(--border-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--accent-red);
    font-weight: 800;
    z-index: 1;
}
.svc-approach-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent-red);
    opacity: 0.12;
    line-height: 1;
    margin-bottom: 0.4rem;
    font-family: 'Segoe UI', sans-serif;
}
.svc-approach-step h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 0.7rem;
    line-height: 1.4;
}
.svc-approach-step p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.svc-approach-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.svc-approach-tag {
    font-size: 0.72rem;
    color: #777;
    background: var(--light-bg);
    border: 1px solid var(--border-gray);
    border-radius: 3px;
    padding: 2px 8px;
}

/* ---- WHY US ---- */
.svc-why {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
    margin-top: 0;
}
.svc-why-item {
    padding-top: 1.6rem;
    border-top: 2px solid var(--border-gray);
}
.svc-why-item.highlight {
    border-top-color: var(--accent-red);
}
.svc-why-num {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-red);
    margin-bottom: 0.8rem;
}
.svc-why-item h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 0.7rem;
    line-height: 1.4;
}
.svc-why-item p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.85;
}

/* ---- PLANS ---- */
.svc-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.svc-plan {
    background: #fff;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
}
.svc-plan.featured {
    border-color: var(--accent-red);
    border-width: 2px;
}
.svc-plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-red);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 12px;
    white-space: nowrap;
    letter-spacing: 0.05em;
}
.svc-plan h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
}
.svc-plan-target {
    font-size: 0.78rem;
    color: #aaa;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}
.svc-plan-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-red);
    margin-bottom: 0.3rem;
    line-height: 1;
}
.svc-plan-price span {
    font-size: 0.78rem;
    font-weight: 400;
    color: #aaa;
}
.svc-plan-price-note {
    font-size: 0.75rem;
    color: #bbb;
    margin-bottom: 1.4rem;
}
.svc-plan hr {
    border: none;
    border-top: 1px solid var(--border-gray);
    margin: 1.4rem 0;
}
.svc-plan ul {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}
.svc-plan ul li {
    font-size: 0.85rem;
    color: #555;
    padding: 0.38rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    border-bottom: 1px solid #f3f3f3;
}
.svc-plan ul li:last-child { border-bottom: none; }
.svc-plan ul li::before {
    content: "✓";
    color: var(--accent-red);
    font-weight: 800;
    flex-shrink: 0;
    font-size: 0.8rem;
    margin-top: 0.1rem;
}
.svc-plan-note {
    font-size: 0.76rem;
    color: #bbb;
    margin-top: 1.2rem;
    line-height: 1.6;
}
.svc-plan-cta {
    display: block;
    text-align: center;
    margin-top: 1.6rem;
    padding: 0.7rem;
    background: var(--accent-red);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.svc-plan-cta:hover { opacity: 0.85; }
.svc-plan-cta.outline {
    background: transparent;
    color: var(--dark-text);
    border: 1px solid var(--border-gray);
}
.svc-plan-cta.outline:hover { background: var(--light-bg); opacity: 1; }

/* ---- FLOW ---- */
.svc-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 2.5rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-gray);
}
.svc-flow-step {
    padding: 2rem 1.4rem;
    background: #fff;
    text-align: center;
    border-right: 1px solid var(--border-gray);
}
.svc-flow-step:last-child { border-right: none; }
.svc-flow-num {
    width: 52px;
    height: 52px;
    background: var(--accent-red);
    color: #fff;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.svc-flow-step h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.svc-flow-step p {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.7;
}
.svc-flow-note {
    display: inline-block;
    font-size: 0.72rem;
    color: var(--accent-red);
    font-weight: 700;
    background: rgba(255,10,9,0.06);
    padding: 3px 8px;
    border-radius: 3px;
    margin-top: 0.7rem;
    letter-spacing: 0.04em;
}

/* ---- FAQ ---- */
.svc-faq {
    margin-top: 2.5rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-gray);
}
.svc-faq-item {
    border-bottom: 1px solid var(--border-gray);
}
.svc-faq-item:last-child { border-bottom: none; }
.svc-faq-q {
    padding: 1.3rem 1.6rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark-text);
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    background: #fff;
}
.svc-faq-q::before {
    content: "Q";
    min-width: 26px;
    height: 26px;
    background: var(--accent-red);
    color: #fff;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.05rem;
}
.svc-faq-a {
    padding: 1.3rem 1.6rem;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.9;
    background: var(--light-bg);
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}
.svc-faq-a::before {
    content: "A";
    min-width: 26px;
    height: 26px;
    background: #666;
    color: #fff;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

/* ---- CTA (dark) ---- */
.svc-cta {
    padding: 96px 0;
    background: var(--dark-bg);
}
.svc-cta-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}
.svc-cta-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.svc-cta h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.4;
}
.svc-cta p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 2.4rem;
    line-height: 2;
}
.svc-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-svc-primary {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--accent-red);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    border: 2px solid var(--accent-red);
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.03em;
}
.btn-svc-primary:hover {
    background: transparent;
    color: var(--accent-red);
}
.btn-svc-secondary {
    display: inline-block;
    padding: 1rem 2.4rem;
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.2);
    transition: border-color 0.2s, color 0.2s;
}
.btn-svc-secondary:hover {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}
.svc-cta-note {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.3);
    margin-top: 1.2rem;
    line-height: 1.7;
}

/* ---- RESPONSIVE ---- */

/* 1200px: コンテンツ最大幅内でpadding調整 */
@media (max-width: 1200px) {
    .svc-hero h1 { font-size: 2.1rem; }
}

/* 1024px */
@media (max-width: 1024px) {
    .svc-hero h1 { font-size: 1.9rem; }
    .svc-cases { grid-template-columns: 1fr 1fr; }
}

/* 900px */
@media (max-width: 900px) {
    .svc-plans {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    .svc-cases { grid-template-columns: 1fr; }
    .svc-why { grid-template-columns: 1fr; gap: 1.8rem; }
    .svc-approach { grid-template-columns: 1fr; }
    .svc-approach-step + .svc-approach-step {
        border-left: 1px solid var(--border-gray);
        border-top: none;
    }
    .svc-approach-arrow { display: none; }

    /* 比較表: 横スクロール */
    .svc-compare-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .svc-compare {
        min-width: 560px;
    }
}

/* 768px */
@media (max-width: 768px) {
    .svc-hero { padding: 100px 0 52px; }
    .svc-hero h1 { font-size: 1.6rem; }
    .svc-hero-lead { font-size: 0.9rem; }

    .svc-hero-badges {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .svc-hero-badge {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
        min-width: 120px;
    }
    .svc-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-hero-primary {
        width: 100%;
        text-align: center;
    }

    .svc-section { padding: 56px 0; }

    .svc-issues { grid-template-columns: 1fr; }

    .svc-approach { border-radius: 0; }
    .svc-approach-step {
        border-left: 1px solid var(--border-gray) !important;
        border-right: 1px solid var(--border-gray) !important;
    }
    .svc-approach-step:first-child { border-top: 1px solid var(--border-gray); }

    /* FLOW: 2×2 */
    .svc-flow { grid-template-columns: repeat(2, 1fr); }
    .svc-flow-step { border-right: none; border-bottom: 1px solid var(--border-gray); }
    .svc-flow-step:last-child { border-bottom: none; }
    .svc-flow-step:nth-child(odd) { border-right: 1px solid var(--border-gray); }
    .svc-flow-step:nth-child(3) { border-bottom: 1px solid var(--border-gray); }

    /* CTA */
    .svc-cta { padding: 64px 0; }
    .svc-cta h2 { font-size: 1.3rem; }
    .svc-cta-buttons { flex-direction: column; align-items: stretch; }
    .btn-svc-primary,
    .btn-svc-secondary { text-align: center; }
}

/* 480px */
@media (max-width: 480px) {
    .svc-hero h1 { font-size: 1.4rem; }
    .svc-hero-badge-num { font-size: 1.2rem; }

    .svc-flow { grid-template-columns: 1fr; }
    .svc-flow-step { border-right: none !important; border-bottom: 1px solid var(--border-gray); }
    .svc-flow-step:last-child { border-bottom: none; }

    .svc-plan { padding: 1.4rem; }
    .svc-compare { min-width: 480px; }
    .svc-compare th, .svc-compare td { padding: 0.7rem; font-size: 0.78rem; }
}
