/* ============================================================
   MYコンサルティング株式会社 — style.css
   GLCL-inspired Corporate Design
   ============================================================ */

/* ---------- Reset & Variables ---------- */
:root {
  --primary: #0A2D80;
  --text: #151515;
  --text-body: #555555;
  --bg-white: #ffffff;
  --bg-gray: #ECF0F3;
  --bg-gray2: #f2f2f2;
  --border: #cdcdcd;
  --btn-dark: #32373c;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
table { border-collapse: collapse; width: 100%; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.pc-only { display: inline; }
.sp-only { display: none; }

/* ---------- Section Labels ---------- */
.section-en {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
}
.section-en-left { text-align: left; }

.section-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 24px;
  color: var(--text);
}
.section-title-left { text-align: left; }

.section-subtitle {
  text-align: center;
  font-size: 17px;
  margin-bottom: 16px;
  color: var(--text);
}

.section-lead {
  text-align: center;
  color: var(--text-body);
  max-width: 800px;
  margin: 0 auto 48px;
  font-size: 15px;
  line-height: 2;
}

.section-btn-wrap {
  text-align: center;
  margin-bottom: 48px;
}

.section-link-wrap {
  margin-bottom: 48px;
}

.text-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: opacity 0.3s;
}
.text-link:hover { opacity: 0.7; }

.text-primary { color: var(--primary); font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-white { background: var(--bg-white); }
.section-gray { background: var(--bg-gray); }
.section-gray2 { background: var(--bg-gray2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn .arrow { font-size: 14px; }

.btn-dark {
  background: var(--btn-dark);
  color: #fff;
  border-color: var(--btn-dark);
}
.btn-dark:hover { background: #1a1e22; }

.btn-outline {
  background: #fff;
  color: var(--btn-dark);
  border-color: var(--btn-dark);
}
.btn-outline:hover { background: var(--btn-dark); color: #fff; }

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover { background: rgba(255,255,255,0.85); }

.btn-white-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-white-outline:hover { background: rgba(255,255,255,0.15); }

/* ============================================================
   HEADER (Single row)
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-logo-img {
  height: 36px;
  width: auto !important;
  object-fit: contain !important;
}
.logo-main {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.02em;
  line-height: 1;
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.header-nav-list {
  display: flex;
  gap: 0;
}
.header-nav-list li a {
  display: block;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  height: 72px;
  line-height: 72px;
  position: relative;
  transition: color 0.3s;
}
.header-nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: width 0.3s;
}
.header-nav-list li a:hover { color: var(--primary); }
.header-nav-list li a:hover::after { width: 100%; }

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  flex-shrink: 0;
  transition: opacity 0.3s;
}
.header-cta-btn:hover { opacity: 0.85; }
.header-cta-hp {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  margin-right: 8px;
}
.header-cta-hp:hover {
  background: var(--primary);
  color: #fff;
  opacity: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 2px;
}
.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: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255,255,255,0.98);
  z-index: 1050;
  padding-top: var(--header-h);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav {
  padding: 40px;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav li a {
  display: block;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--bg-gray);
  padding-top: var(--header-h);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 60px 60px 60px;
  gap: 40px;
  min-height: calc(100vh - var(--header-h));
}
.hero-text {
  padding-right: 20px;
}
.hero-image {
  border-radius: 12px;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.hero-en {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-heading {
  margin-bottom: 24px;
  line-height: 1.3;
}
.hero-line1 {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.4;
}
.hero-line2 {
  display: block;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
}
.hero-sub {
  margin-bottom: 36px;
}
.hero-sub p {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--text);
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.about-card {
  background: var(--bg-gray);
  border-radius: 12px;
  overflow: hidden;
}
.about-card-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.about-card-body {
  padding: 28px 32px 32px;
}
.about-card-body h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text);
}
.about-card-body p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.9;
}

/* ============================================================
   COMPREHENSIVE
   ============================================================ */
.comprehensive-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-top: 48px;
}
.comprehensive-diagram {
  flex: 0 0 400px;
}
.comprehensive-text {
  flex: 1;
}
.comprehensive-text h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--text);
}
.comprehensive-text p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 2;
  margin-bottom: 16px;
}

/* Diagram */
.diagram-wrap {
  position: relative;
  width: 360px;
  height: 360px;
  margin: 0 auto;
}
.diagram-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.diagram-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.diagram-logo {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.diagram-circle {
  position: absolute;
  width: 110px;
  height: 110px;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}
.diagram-circle span {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

.diagram-circle-1 { top: -10px; left: 50%; transform: translateX(-50%); }
.diagram-circle-2 { right: -10px; top: 50%; transform: translateY(-50%); }
.diagram-circle-3 { bottom: -10px; left: 50%; transform: translateX(-50%); }
.diagram-circle-4 { left: -10px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   SERVICE
   ============================================================ */
.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.service-card-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.service-card-en {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 20px 4px;
}
.service-card-title {
  font-size: 15px;
  font-weight: 900;
  padding: 0 20px 20px;
  color: var(--text);
}

/* ============================================================
   ADVANTAGE
   ============================================================ */
.advantage-item {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.advantage-item:last-child { border-bottom: none; }

.advantage-num {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.advantage-num span {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.advantage-body {
  flex: 1;
}
.advantage-body h3 {
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text);
}
.advantage-body p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 2;
}

.advantage-img {
  flex: 0 0 260px;
}
.advantage-img img {
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

/* ============================================================
   HP HERO CARD (Main Service Feature)
   ============================================================ */
.hp-hero-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  margin-top: 48px;
}
.hp-hero-card-img {
  overflow: hidden;
  height: 100%;
}
.hp-hero-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}
.hp-hero-card-body {
  padding: 48px 48px 48px 0;
}
.hp-hero-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  padding: 4px 14px;
  border-radius: 99px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.hp-hero-card-body h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 16px;
}
.hp-hero-card-text {
  font-size: 15px;
  color: var(--text-body);
  line-height: 2;
  margin-bottom: 20px;
}
.hp-hero-card-list {
  list-style: none;
  margin-bottom: 28px;
}
.hp-hero-card-list li {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}
.hp-hero-card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.pricing-card--recommend {
  border-color: var(--primary);
}
.pricing-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 20px;
  border-radius: 99px;
}
.pricing-card-header {
  margin-bottom: 20px;
}
.pricing-card-name {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
}
.pricing-card-desc {
  font-size: 13px;
  color: var(--text-body);
}
.pricing-card-price {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.pricing-yen {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  vertical-align: top;
}
.pricing-num {
  font-size: 42px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pricing-tax {
  font-size: 13px;
  color: var(--text-body);
}
.pricing-card-features {
  list-style: none;
  text-align: left;
  margin-bottom: 20px;
}
.pricing-card-features li {
  font-size: 14px;
  color: var(--text);
  padding: 7px 0;
  padding-left: 24px;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.pricing-card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.pricing-card-maintenance {
  font-size: 13px;
  color: var(--text-body);
  margin-top: 16px;
}
.pricing-card-maintenance strong {
  color: var(--primary);
  font-size: 16px;
}

/* ============================================================
   FLOW
   ============================================================ */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.flow-step {
  background: var(--bg-gray);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
}
.flow-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 16px;
}
.flow-step h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.flow-step p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.7;
}

/* 3-col service cards */
.service-cards--3col {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
}

/* ============================================================
   MESSAGE
   ============================================================ */
.message-center {
  max-width: 760px;
  margin: 48px auto 0;
  text-align: center;
}
.message-quote-mark {
  font-size: 80px;
  line-height: 0.6;
  color: var(--primary);
  opacity: 0.15;
  font-family: Georgia, serif;
  margin-bottom: 8px;
}
.message-quote {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.6;
}
.message-divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto 32px;
}
.message-text {
  text-align: left;
}
.message-text p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 2;
  margin-bottom: 20px;
}
.message-text p:last-child { margin-bottom: 0; }
.message-sig {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.message-sig-logo {
  height: 36px;
  width: auto !important;
  object-fit: contain !important;
  opacity: 0.6;
}
.message-sig-company {
  font-size: 12px;
  color: var(--text-body);
}
.message-sig-name {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.1em;
}

/* Philosophy values */
.philosophy-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: left;
}
.philosophy-item {
  padding: 32px 28px;
  background: var(--bg-gray);
  border-radius: 12px;
}
.philosophy-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.philosophy-item h4 {
  font-size: 17px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 12px;
}
.philosophy-item p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.9;
}

/* ============================================================
   COMPANY
   ============================================================ */
.company-table {
  max-width: 800px;
  margin: 0 auto;
}
.company-table table {
  border-top: 2px solid var(--primary);
}
.company-table tr {
  border-bottom: 1px solid var(--border);
}
.company-table th,
.company-table td {
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.8;
  vertical-align: top;
  text-align: left;
}
.company-table th {
  width: 160px;
  font-weight: 700;
  color: var(--text);
  background: rgba(10,45,128,0.03);
}
.company-table td {
  color: var(--text-body);
}

/* ============================================================
   NEWS
   ============================================================ */
.news-list {
  max-width: 800px;
  margin: 0 auto;
}
.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.3s;
}
.news-item:first-child { border-top: 1px solid var(--border); }
.news-item:hover { opacity: 0.7; }

.news-date {
  font-size: 14px;
  color: var(--text-body);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.news-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 3px;
  padding: 2px 10px;
  flex-shrink: 0;
}
.news-title-text {
  flex: 1;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.news-link {
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   CTA
   ============================================================ */
.section-cta {
  background: var(--primary);
  padding: 80px 0;
  color: #fff;
}
.cta-title {
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 48px;
  line-height: 1.6;
}
.cta-cards {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}
.cta-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 36px 32px;
}
.cta-card-main {
  flex: 1;
}
.cta-card-main-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.cta-card-main-text {
  flex: 1;
}
.cta-card-main-img {
  flex: 0 0 180px;
}
.cta-card-main-img img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 12px;
  opacity: 0.9;
}
.cta-card-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cta-card-sub {
  flex: 1;
}
.cta-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.cta-card h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
}
.cta-card p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.8;
  margin-bottom: 20px;
}

.cta-phone {
  text-align: center;
}
.cta-phone-num {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.cta-phone-time {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-top {
  display: flex;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  flex: 0 0 240px;
}
.footer-logo-main {
  display: block;
  font-size: 20px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.footer-logo-sub {
  display: block;
  font-size: 11px;
  color: var(--text-body);
}
.footer-nav-columns {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer-nav-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-nav-col li a {
  display: block;
  font-size: 13px;
  color: var(--text-body);
  padding: 4px 0;
  transition: color 0.3s;
}
.footer-nav-col li a:hover { color: var(--primary); }

.footer-offices {
  display: flex;
  gap: 64px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.footer-office h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}
.footer-office p {
  font-size: 13px;
  color: var(--text-body);
  margin-bottom: 4px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-body);
}

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .section { padding: 72px 0; }


  .header-main { height: 64px; }
  .header-inner { padding: 0 24px; gap: 20px; }
  .header-nav-list li a { padding: 0 14px; font-size: 13px; height: 64px; line-height: 64px; }
  .header-cta-btn { display: none; }
  .header-cta-hp { display: none; }

  .hero-inner { padding: 40px 40px; gap: 32px; }

  .comprehensive-inner { gap: 40px; }
  .comprehensive-diagram { flex: 0 0 320px; }
  .diagram-wrap { width: 300px; height: 300px; }
  .diagram-circle { width: 90px; height: 90px; }
  .diagram-circle span { font-size: 11px; }
  .diagram-center { width: 80px; height: 80px; }
  .diagram-logo { font-size: 18px; }

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

  .advantage-img { flex: 0 0 200px; }
  .advantage-img img { width: 200px; height: 140px; }

  .message-quote { font-size: 22px; }
  .philosophy-values { grid-template-columns: 1fr; gap: 16px; }

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

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .pc-only { display: none; }
  .sp-only { display: inline; }

  .section-title { font-size: 24px; }
  .section-lead { font-size: 14px; }

  /* Header */

  .header-nav { display: none; }
  .header-cta-btn { display: none; }
  .header-cta-hp { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    min-height: auto;
    gap: 24px;
  }
  .hero-text { padding-right: 0; }
  .hero-line1 { font-size: 28px; }
  .hero-line2 { font-size: 44px; }
  .hero-sub p { font-size: 17px; }
  .hero-btns { gap: 12px; }
  .btn { padding: 12px 28px; font-size: 14px; }

  /* About */
  .about-cards { grid-template-columns: 1fr; gap: 24px; }

  /* Comprehensive */
  .comprehensive-inner { flex-direction: column; gap: 40px; }
  .comprehensive-diagram { flex: none; width: 100%; }
  .diagram-wrap { width: 280px; height: 280px; }
  .diagram-circle { width: 85px; height: 85px; }
  .diagram-circle span { font-size: 10px; }
  .diagram-center { width: 72px; height: 72px; }
  .diagram-logo { font-size: 16px; }

  /* HP Hero Card */
  .hp-hero-card { grid-template-columns: 1fr; }
  .hp-hero-card-img img { min-height: 240px; }
  .hp-hero-card-body { padding: 32px 24px; }
  .hp-hero-card-body h3 { font-size: 20px; }

  /* Pricing */
  .pricing-cards { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-num { font-size: 36px; }

  /* Flow */
  .flow-steps { grid-template-columns: repeat(2, 1fr); }

  /* Service */
  .service-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-cards--3col { grid-template-columns: repeat(2, 1fr); }
  .service-card-img img { height: 120px; }
  .service-card-en { font-size: 10px; padding: 12px 16px 4px; }
  .service-card-title { font-size: 13px; padding: 0 16px 16px; }

  /* Advantage */
  .advantage-item {
    flex-wrap: wrap;
    gap: 20px;
    padding: 32px 0;
  }
  .advantage-img {
    flex: 0 0 100%;
    order: -1;
  }
  .advantage-img img { width: 100%; height: 200px; }
  .advantage-num { width: 48px; height: 48px; }
  .advantage-num span { font-size: 18px; }
  .advantage-body h3 { font-size: 17px; }

  /* Message */
  .message-quote { font-size: 20px; }
  .message-quote-mark { font-size: 60px; }

  /* Company */
  .company-table th { width: 120px; padding: 16px; font-size: 14px; }
  .company-table td { padding: 16px; font-size: 14px; }

  /* News */
  .news-item { flex-wrap: wrap; gap: 8px; }
  .news-title-text { flex: 0 0 100%; font-size: 14px; }
  .news-link { margin-left: auto; }

  /* CTA */
  .section-cta { padding: 60px 0; }
  .cta-title { font-size: 22px; }
  .cta-card-main-img { display: none; }
  .cta-cards { flex-direction: column; }
  .cta-phone-num { font-size: 26px; }

  /* Footer */
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-logo { flex: none; }
  .footer-nav-columns { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-offices { flex-direction: column; gap: 24px; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .service-cards { grid-template-columns: 1fr; }
  .hero-line1 { font-size: 24px; }
  .hero-line2 { font-size: 36px; }
  .hero-sub p { font-size: 15px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
  .footer-nav-columns { grid-template-columns: 1fr; }
}
