/* ========================================
   efu Corporate Site - Light v3 Monotone
   ======================================== */

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

:root {
  --black: #1a1a1a;
  --white: #ffffff;
  --gray: #888888;
  --text: #333333;
  --light: #f2f2f2;
  --border: #e0e0e0;
  --accent: #c41e2a;
  --font-en: 'Inter', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  color: var(--black);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

/* ---- Header ---- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; padding: 20px 0; transition: all 0.4s;
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--font-en); font-size: 24px; font-weight: 700;
  color: var(--white); letter-spacing: 0.02em;
}
.header.scrolled {
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  padding: 14px 0; box-shadow: 0 1px 0 var(--border);
}
.header.scrolled .logo { color: var(--black); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em; color: rgba(255,255,255,0.7); transition: color 0.3s;
}
.nav-link:hover { color: var(--white); }
.header.scrolled .nav-link { color: var(--black); }
.header.scrolled .nav-link:hover { opacity: 0.6; }
.nav-cta {
  color: var(--black) !important; background: none;
  padding: 10px 28px; border: 1px solid var(--black); border-radius: 4px;
  font-weight: 500; transition: all 0.3s;
}
.nav-cta:hover { background: var(--black); color: var(--white) !important; }
.header:not(.scrolled) .nav-cta { color: var(--white) !important; border-color: var(--white); }
.header:not(.scrolled) .nav-cta:hover { background: var(--white); color: var(--black) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: all 0.3s; }
.header.scrolled .hamburger span { background: var(--black); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* ---- Hero ---- */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { display: none; }
.hero-content {
  position: relative; z-index: 2; padding: 0 40px;
  max-width: 1200px; margin: 0 auto; width: 100%;
}
.hero-label {
  font-family: var(--font-en); font-size: 12px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 24px;
  display: inline-block;
}
.hero-title {
  font-size: 56px; font-weight: 600; line-height: 1.4;
  color: var(--white); letter-spacing: 0.04em;
}
.hero-line {
  width: 60px; height: 2px; background: rgba(255,255,255,0.3);
  margin: 32px 0;
}
.hero-sub {
  font-size: 15px; font-weight: 400; line-height: 2;
  color: rgba(255,255,255,1);
}

/* ---- Section ---- */
.section { padding: 140px 0; }
.section--light { background: var(--light); }
.section--dark { background: var(--black); }
.section--first { padding-top: 160px; }

.section--bg {
  position: relative; overflow: hidden;
}
.section-bg {
  position: absolute; inset: 0; z-index: 0;
}
.section-bg-img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.08;
}
.section--bg .container { position: relative; z-index: 1; }

.section-head { margin-bottom: 56px; }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; }

.label {
  font-family: var(--font-en); font-size: 13px; font-weight: 300;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gray); display: inline-flex; align-items: center;
  gap: 12px; margin-bottom: 20px;
}
.label::before {
  content: ''; display: inline-block;
  width: 28px; height: 1px; background: var(--gray);
}
.label--hero {
  font-size: 12px; font-weight: 400;
  color: rgba(255,255,255,0.5); letter-spacing: 0.3em;
}
.label--hero::before { background: rgba(255,255,255,0.35); }
.label--light {
  color: rgba(255,255,255,0.5);
}
.label--light::before { background: rgba(255,255,255,0.35); }

.heading {
  font-size: 30px; font-weight: 600; line-height: 1.5; letter-spacing: 0.02em;
}
.heading--white { color: var(--white); }

.lead {
  font-size: 15px; font-weight: 400; line-height: 2; color: var(--black); margin-top: 16px;
}

.link-more {
  font-family: var(--font-en); font-size: 13px; font-weight: 500;
  color: var(--black); transition: opacity 0.3s; flex-shrink: 0;
}
.link-more:hover { opacity: 0.5; }

/* ---- Button ---- */
.btn {
  display: inline-block; font-family: var(--font-jp);
  font-size: 14px; font-weight: 500; color: var(--white);
  background: var(--black); padding: 16px 44px; border-radius: 4px;
  transition: all 0.3s; margin-top: 48px;
}
.btn:hover { opacity: 0.8; transform: translateY(-2px); }
.btn--white { background: var(--white); color: var(--black); }
.btn--white:hover { opacity: 0.9; }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { opacity: 0.85; }
.btn--outline {
  background: transparent; color: var(--black);
  border: 1px solid var(--gray); font-weight: 400;
}
.btn--outline:hover { border-color: var(--black); opacity: 1; }
.btn--lg { padding: 16px 44px; font-size: 14px; font-weight: 500; }

/* ---- Message ---- */
.message-block { max-width: 800px; }
.message-title {
  font-size: 36px; font-weight: 600; line-height: 1.5;
  margin-bottom: 40px; letter-spacing: 0.02em;
}
.message-text {
  font-size: 15px; font-weight: 400; line-height: 2.2;
  color: var(--black); margin-bottom: 16px;
}
.message-text:last-child {
  margin-bottom: 0; font-weight: 500; color: var(--black);
}

/* ---- Service Grid ---- */
.service-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 48px 24px 40px;
  border-radius: 4px; background: var(--white);
  border: 1px solid var(--border); transition: all 0.4s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: var(--black);
}
.service-card-icon {
  width: 56px; height: 56px; margin-bottom: 28px;
  color: var(--black);
}
.service-card-icon svg { width: 100%; height: 100%; }
.service-card-name {
  font-size: 16px; font-weight: 600; color: var(--black);
  margin-bottom: 12px; letter-spacing: 0.02em;
}
.service-card-desc {
  font-size: 13px; font-weight: 300; line-height: 2;
  color: var(--black);
}

/* ---- Cards (Media) ---- */
.cards { display: grid; gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border-radius: 4px; overflow: hidden;
  border: 1px solid var(--border); transition: all 0.4s; display: block;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08); border-color: transparent;
}
.card-img { overflow: hidden; }
.card-img img { width: 100%; height: auto; display: block; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-title { font-size: 16px; font-weight: 600; padding: 24px 24px 8px; }
.card-desc { font-size: 13px; font-weight: 400; line-height: 1.9; color: var(--gray); padding: 0 24px 24px; }

/* ---- Company ---- */
/* ---- Case Study ---- */
.casestudy-layout {
  display: grid; grid-template-columns: 1fr 0.6fr; gap: 48px; align-items: start;
}
.casestudy-body { max-width: 800px; }
.casestudy-body .lead { margin-bottom: 32px; }
.casestudy-inline-img {
  display: none; gap: 12px; margin-bottom: 24px;
}
.casestudy-inline-img img {
  width: 100%; border-radius: 4px; box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.casestudy-text {
  font-size: 15px; font-weight: 400; line-height: 2; color: var(--black); margin-bottom: 8px;
}
.casestudy-btns {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px;
}
.casestudy-btns .btn { margin-top: 0; }
.casestudy-img img {
  width: 100%; border-radius: 4px; box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.casestudy-slides {
  display: flex; flex-direction: column; gap: 12px;
}
.casestudy-slides img {
  width: 100%; border-radius: 4px; box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* ---- Company (split layout) ---- */
.lead--light { color: rgba(255,255,255,0.55); }
.company-split {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 520px;
}
.company-split__left {
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  padding: 100px 60px;
}
.company-split__content {
  max-width: 440px;
}
.company-split__right {
  position: relative; overflow: hidden; min-height: 400px;
}
.company-split__img {
  width: 100%; height: 100%; object-fit: cover;
}
.company-split__logo-overlay {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.company-split__logo {
  width: 30%; max-width: 160px; height: auto;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25), 0 4px 12px rgba(0,0,0,0.15);
}

/* ---- Service Page: Hero ---- */
.svc-hero {
  position: relative; overflow: hidden;
  background: var(--black); padding: 180px 0 120px; color: var(--white);
}
.svc-hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.svc-hero__bg-img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.15;
}
.svc-hero .container { position: relative; z-index: 1; }
.svc-hero__heading {
  font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.5;
  margin-top: 20px; color: var(--white);
}
.svc-hero__lead {
  font-size: 15px; line-height: 1.9; margin-top: 24px;
  color: rgba(255,255,255,0.7); max-width: 680px;
}

/* ---- Service Page: Why efu ---- */
.svc-why-section {
  background: var(--light); padding: 120px 0;
}
.svc-why__grid {
  display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: center;
}
.svc-why__visual {
  display: flex; align-items: center; justify-content: center;
}
.svc-why__visual img {
  width: 320px; height: auto;
}
.svc-why__label {
  font-size: 13px; font-weight: 600; color: var(--gray);
  letter-spacing: 0.05em;
}
.svc-why__heading {
  font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; line-height: 1.6;
  color: var(--black); margin-top: 16px;
}
.svc-why__content {
  margin-top: 48px; max-width: 640px;
}
.svc-why__content p {
  font-size: 15px; line-height: 2; color: var(--text); margin-top: 16px;
}
.svc-why__content p:first-child { margin-top: 0; }
.svc-why__strong {
  font-weight: 600; color: var(--black) !important;
}
.svc-why__btn {
  display: inline-block; margin-top: 32px; font-size: 14px; font-weight: 500;
  color: var(--black); border-bottom: 1px solid var(--black);
  padding-bottom: 2px; transition: opacity 0.3s;
}
.svc-why__btn:hover { opacity: 0.6; }

/* ---- Service Page: Areas (dark) ---- */
.svc-areas-section {
  background: var(--black); padding: 120px 0; color: var(--white);
}
.svc-areas-lead {
  font-size: 15px; line-height: 1.8; margin-top: 16px;
  color: rgba(255,255,255,0.6); max-width: 640px;
}
.svc-areas {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px;
}
.svc-area {
  border: 1px solid rgba(255,255,255,0.12); border-radius: 4px;
  padding: 36px 32px; display: flex; flex-direction: column;
  transition: border-color 0.3s;
}
.svc-area:hover { border-color: rgba(255,255,255,0.3); }
.svc-area__title {
  font-size: 18px; font-weight: 700; color: var(--white);
}
.svc-area__sub {
  font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; line-height: 1.6;
}
.svc-area__body {
  margin-top: 16px; flex: 1;
}
.svc-area__body p {
  font-size: 14px; line-height: 1.9; color: rgba(255,255,255,0.7); margin-top: 8px;
}
.svc-area__body p:first-child { margin-top: 0; }

/* ---- CTA Quiet ---- */
.cta-quiet {
  display: flex; align-items: center; justify-content: center; gap: 40px;
}
.cta-quiet__text {
  font-size: 15px; color: var(--text); margin: 0; line-height: 1;
}

/* ---- Service Detail ---- */
.service-detail--grid {
  display: grid; grid-template-columns: 1fr 200px; gap: 60px; align-items: start;
}
.service-detail--reverse { grid-template-columns: 200px 1fr; }
.service-detail--reverse .service-detail__content { order: 2; }
.service-detail--reverse .service-detail__visual { order: 1; }
.service-detail__content { max-width: 640px; }
.service-detail__visual {
  display: flex; align-items: flex-start; justify-content: center; padding-top: 8px;
}
.service-detail__icon-lg {
  width: 72px; height: 72px;
}
.service-detail__icon-lg svg { width: 100%; height: 100%; color: var(--gray); }
.service-detail__head {
  margin-bottom: 20px; padding-left: 16px;
  border-left: 3px solid var(--black);
}
.service-detail__title {
  font-size: 24px; font-weight: 700;
}
.service-detail__lead {
  font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.8;
}
.service-detail__body {
  margin-top: 20px;
}
.service-detail__body p {
  font-size: 14px; line-height: 2; color: var(--text); margin-top: 12px;
}
.service-detail__body p:first-child { margin-top: 0; }
.service-detail__tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.service-detail__tags span {
  font-size: 12px; padding: 4px 12px; border-radius: 2px;
  background: var(--light); color: var(--gray); font-weight: 500;
}
#crm, #automation { background: #f0f0ed; }
#seo, #sales { background: var(--white); }

/* ---- News ---- */
.news-list { border-top: 1px solid var(--border); }
.news-item {
  display: flex; gap: 32px; padding: 24px 0;
  border-bottom: 1px solid var(--border); transition: opacity 0.3s;
}
.news-item:hover { opacity: 0.6; }
.news-date {
  font-family: var(--font-en); font-size: 13px; font-weight: 400;
  color: var(--gray); flex-shrink: 0; width: 100px; padding-top: 2px;
}
.news-text { font-size: 14px; font-weight: 400; line-height: 1.8; }

/* ---- CTA ---- */
.cta {
  background: var(--light); padding: 72px 0;
}
.cta-inner { text-align: center; }
.cta-title {
  font-size: 22px; font-weight: 500; color: var(--black);
  line-height: 1.6; margin-bottom: 16px;
}
.cta-sub {
  font-size: 14px; color: var(--gray); margin-bottom: 32px;
}
.cta .btn--accent {
  background: var(--accent); color: var(--white); font-weight: 600;
}
.cta .btn--accent:hover { opacity: 0.8; }
.cta .btn { margin-top: 0; }

/* ---- Company Page ---- */
.company-table {
  width: 100%; border-collapse: collapse;
}
.company-compact .company-table th,
.company-compact .company-table td {
  padding: 14px 0;
}
.company-table th,
.company-table td {
  font-size: 14px; line-height: 1.9; padding: 20px 0;
  border-bottom: 1px solid var(--border); text-align: left; vertical-align: top;
}
.company-table th {
  width: 140px; font-weight: 600; color: var(--black); white-space: nowrap; padding-right: 32px;
}
.company-table td {
  color: var(--text);
}
.company-table--history th {
  width: 120px; font-weight: 500; color: var(--gray);
  font-family: var(--font-en); font-size: 13px;
}
.company-section__title {
  font-size: 18px; font-weight: 700; margin-bottom: 24px;
}
.company-media-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.company-media-item {
  padding: 32px; background: var(--light); border-radius: 4px;
}
.company-media-item__name {
  font-family: var(--font-en); font-size: 18px; font-weight: 700;
}
.company-media-item__desc {
  font-size: 13px; color: var(--text); line-height: 1.8; margin-top: 8px;
}
.company-media-item__link {
  display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 500;
  color: var(--black); transition: opacity 0.3s;
}
.company-media-item__link:hover { opacity: 0.6; }

/* ---- Company: Profile ---- */
.company-profile__name {
  font-size: 22px; font-weight: 700;
}
.company-profile__kana {
  font-size: 13px; font-weight: 400; color: var(--gray); margin-left: 12px;
}
.company-profile__meta {
  font-size: 13px; color: var(--gray); margin-top: 8px;
}
.company-profile__bio {
  margin-top: 20px;
}
.company-profile__bio p {
  font-size: 14px; line-height: 2; color: var(--text); margin-top: 12px;
}
.company-profile__bio p:first-child { margin-top: 0; }
.company-profile__sns {
  display: flex; gap: 20px; margin-top: 20px;
}
.company-profile__sns a {
  font-size: 13px; font-weight: 500; color: var(--black);
  transition: opacity 0.3s;
}
.company-profile__sns a:hover { opacity: 0.6; }
.company-history__title {
  font-size: 16px; font-weight: 700; margin-top: 36px; margin-bottom: 16px;
}

/* ---- Company Page: Narrow Container (content only) ---- */
.company-page .section .container { max-width: 860px; }

/* ---- Company: Hero ---- */
.company-hero {
  position: relative; padding: 180px 0 80px; overflow: hidden;
}
.company-hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.company-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.company-hero__overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.5);
}
.company-hero .container { position: relative; z-index: 1; }
.company-hero .label { color: rgba(255,255,255,0.7); }
.company-hero .heading { color: var(--white); }

/* ---- Company: Map ---- */
.company-map { margin-top: 40px; }
.company-table--wide th {
  width: 160px; font-weight: 700; padding: 24px 40px 24px 0;
}
.company-table--wide td {
  padding: 24px 0;
}

/* ---- Company: CEO Profile ---- */
.ceo-profile__role {
  font-size: 13px; font-weight: 600; color: var(--gray); letter-spacing: 0.08em;
}
.ceo-profile__name {
  font-size: 28px; font-weight: 700; margin-top: 8px; letter-spacing: 0.04em;
}
.ceo-profile__kana {
  font-size: 13px; color: var(--gray); margin-top: 4px;
}
.ceo-profile__meta {
  font-size: 13px; color: var(--gray); margin-top: 12px;
}
.ceo-profile__bio {
  font-size: 15px; line-height: 2; color: var(--text); margin-top: 32px;
}
.ceo-profile__history-title {
  font-size: 16px; font-weight: 700; margin-top: 36px; margin-bottom: 16px;
}
.ceo-profile__history {
  list-style: none; padding: 0;
}
.ceo-profile__history li {
  font-size: 14px; line-height: 2; color: var(--text);
}
.ceo-profile__history li span {
  display: inline-block; width: 80px; color: var(--gray);
  font-family: var(--font-en); font-size: 13px;
}
.ceo-profile__sns {
  display: flex; gap: 16px; margin-top: 32px;
}
.ceo-profile__sns a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; color: var(--text);
  border: 1px solid var(--border); border-radius: 50%;
  transition: all 0.3s;
}
.ceo-profile__sns a:hover { color: var(--black); border-color: var(--black); }

/* ---- Company: Bottom Row (2-column) ---- */
.company-bottom-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}

/* ---- Company: Partners & Declaration ---- */
.company-partners {
  list-style: none; padding: 0;
}
.company-partners li {
  font-size: 14px; line-height: 1.8; color: var(--text);
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.company-partners li a {
  color: #2563b0; transition: opacity 0.3s;
}
.company-partners li a:hover { opacity: 0.6; }
.company-declaration__intro {
  font-size: 14px; line-height: 1.9; color: var(--text);
}
.company-declaration__source {
  font-size: 13px; color: var(--gray); margin-top: 8px;
}
.company-declaration__list {
  list-style: none; padding: 0; margin-top: 16px;
}
.company-declaration__list li {
  font-size: 14px; line-height: 1.8; color: var(--text); padding: 8px 0;
}
.company-declaration__list strong {
  color: var(--black);
}
.company-declaration__closing {
  font-size: 14px; line-height: 1.9; color: var(--text); margin-top: 16px;
}

/* ---- Service: AI Cycle ---- */
.svc-cycle {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0; align-items: start; margin-top: 56px;
}
.svc-cycle__item {
  padding: 32px 24px; border: 1px solid var(--border); border-radius: 4px;
  text-align: center;
}
.svc-cycle__num {
  font-family: var(--font-en); font-size: 12px; font-weight: 600;
  color: var(--gray); letter-spacing: 0.1em;
}
.svc-cycle__title {
  font-size: 18px; font-weight: 700; margin-top: 8px;
}
.svc-cycle__desc {
  font-size: 13px; line-height: 1.8; color: var(--text); margin-top: 12px;
}
.svc-cycle__arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--gray); padding: 0 8px; margin-top: 40px;
}
.svc-cycle__summary {
  font-size: 15px; line-height: 1.9; color: var(--text); margin-top: 40px;
  text-align: center;
}

/* ---- Service: Challenges ---- */
.svc-challenges {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.svc-challenge {
  padding: 28px 32px; background: var(--white); border-radius: 4px;
  border-left: 3px solid var(--black);
}
.svc-challenge__text {
  font-size: 15px; font-weight: 500; line-height: 1.7; color: var(--black);
}
.svc-challenges__footer {
  font-size: 15px; color: var(--text); margin-top: 32px; text-align: center;
}

/* ---- Service: Flow ---- */
.svc-flow {
  display: flex; flex-direction: column; gap: 0;
}
.svc-flow__step {
  display: flex; gap: 32px; align-items: flex-start;
  padding: 32px 0; border-bottom: 1px solid var(--border);
}
.svc-flow__step:first-child { border-top: 1px solid var(--border); }
.svc-flow__num {
  font-family: var(--font-en); font-size: 32px; font-weight: 700;
  color: var(--border); line-height: 1; min-width: 48px; text-align: center;
}
.svc-flow__title {
  font-size: 18px; font-weight: 700;
}
.svc-flow__desc {
  font-size: 14px; line-height: 1.9; color: var(--text); margin-top: 8px;
}

/* ---- Service: Plans ---- */
.svc-plans {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px;
}
.svc-plan {
  padding: 36px 32px; background: var(--white); border-radius: 4px;
  border: 1px solid var(--border); position: relative;
}
.svc-plan__title {
  font-size: 18px; font-weight: 700;
}
.svc-plan__desc {
  font-size: 14px; line-height: 1.9; color: var(--text); margin-top: 12px;
}
.svc-plan__tag {
  display: inline-block; margin-top: 20px; font-size: 12px; font-weight: 500;
  color: var(--gray); padding: 4px 12px; border: 1px solid var(--border);
  border-radius: 2px;
}
.svc-plans__footer {
  font-size: 14px; color: var(--gray); margin-top: 32px; text-align: center;
}

/* ---- Media: Item (2-column) ---- */
.media-item {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.media-item--reverse {
  direction: rtl;
}
.media-item--reverse > * {
  direction: ltr;
}
.media-item__desc {
  font-size: 15px; line-height: 2; color: var(--text); margin-top: 20px;
}
.media-item__features {
  list-style: none; padding: 0; margin-top: 20px;
}
.media-item__features li {
  font-size: 14px; line-height: 2; color: var(--text);
  padding-left: 16px; position: relative;
}
.media-item__features li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px; background: var(--black); border-radius: 50%;
}
.media-item__btn {
  display: inline-block; margin-top: 28px; font-size: 14px; font-weight: 500;
  color: var(--black); border-bottom: 1px solid var(--black);
  padding-bottom: 2px; transition: opacity 0.3s;
}
.media-item__btn:hover { opacity: 0.6; }
.media-item__visual {
  display: flex; align-items: center; justify-content: center;
}
.media-item__visual img {
  width: 100%; height: auto; border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* ---- CTA Split ---- */
.cta-split {
  display: grid; grid-template-columns: 1fr 1fr;
}
.cta-split__left {
  background: var(--black); color: var(--white);
  padding: 100px 80px; display: flex; flex-direction: column; justify-content: center;
}
.cta-split__heading {
  font-size: 28px; font-weight: 700; line-height: 1.6; margin-top: 16px; color: var(--white);
}
.label--white { color: rgba(255,255,255,0.5); }
.label--white::before { background: rgba(255,255,255,0.3); }
.cta-split__right {
  background: var(--light); padding: 100px 80px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 32px;
}
.cta-split__text {
  font-size: 15px; line-height: 1.8; color: var(--text);
}

/* ---- Footer ---- */
.footer {
  background: var(--black); color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-logo {
  font-family: var(--font-en); font-size: 22px; font-weight: 700;
  color: var(--white); display: block;
}
.footer-desc {
  font-size: 11px; letter-spacing: 0.08em; margin-top: 6px;
  color: rgba(255,255,255,0.5); display: block;
}
.footer-info {
  margin-top: 16px; display: flex; flex-direction: column; gap: 4px;
  font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.6;
}
.footer-nav { display: flex; gap: 24px; }
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.7); transition: color 0.3s;
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  font-family: var(--font-en); font-size: 11px;
  padding-top: 20px; color: rgba(255,255,255,0.4);
}

/* ---- Sub Pages ---- */
.page-hero {
  padding: 120px 0 48px; background: var(--black); color: var(--white);
  position: relative; overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title {
  font-size: 28px; font-weight: 700; margin-top: 8px; color: var(--white);
}
.page-hero__lead {
  font-size: 15px; line-height: 1.8; margin-top: 20px; color: rgba(255,255,255,0.6);
}

/* Article Layout (sub pages) */
.article { padding: 80px 0 120px; }
.article__inner { max-width: 720px; }
.article__section { margin-top: 64px; }
.article__section:first-child { margin-top: 0; }
.article__heading {
  font-size: 22px; font-weight: 700; margin-bottom: 28px;
}
.article__text {
  font-size: 15px; line-height: 2; color: var(--black); margin-top: 12px;
}
.article__text:first-of-type { margin-top: 0; }
.article__list {
  margin-top: 20px; padding-left: 1.2em; list-style: disc;
}
.article__list li {
  font-size: 15px; line-height: 2; color: var(--black); font-weight: 400;
  margin-top: 12px;
}
.article__list li:first-child { margin-top: 0; }
.article__list li strong {
  font-weight: 600;
}
.article__phases {
  margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.article__phase {
  padding: 24px; background: var(--light); border-radius: 4px;
}
.article__phase dt {
  font-size: 15px; font-weight: 600;
}
.article__phase dd {
  font-size: 14px; line-height: 1.8; color: var(--text); margin-top: 4px;
}
.article__note {
  color: var(--gray) !important; margin-top: 24px !important;
}
.article__coming-soon {
  font-family: var(--font-en); font-weight: 600; color: var(--gray) !important;
  letter-spacing: 0.05em;
}
.article__logo-inline {
  margin: 20px 0 28px; text-align: center;
}
.article__logo-inline img {
  height: 80px; width: auto;
}
.article__with-logo {
  display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center;
  max-width: none;
}
.article__with-logo__text { max-width: none; }
.article__with-logo__img {
  display: flex; align-items: center; justify-content: center;
}
.article__with-logo__img img { width: 160px; height: auto; }
.phase-grid {
  display: flex; gap: 12px; margin-top: 32px; align-items: stretch;
}
.phase-card { flex: 1; }
.phase-grid .phase-arrow {
  display: flex; align-items: center; font-size: 20px; color: var(--gray);
  flex-shrink: 0;
}
.phase-card {
  background: var(--light); border-radius: 4px; padding: 28px 24px;
}
.phase-card__num {
  font-family: var(--font-en); font-size: 13px; font-weight: 700;
  color: var(--gray); letter-spacing: 0.05em;
}
.phase-card__title {
  font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px;
}
.phase-card__circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--black); color: var(--white);
  font-family: var(--font-en); font-size: 13px; font-weight: 600; flex-shrink: 0;
}
.phase-card__sub {
  font-size: 12px; color: var(--gray); margin-top: 4px; line-height: 1.6;
}
.phase-card__desc {
  font-size: 13px; line-height: 1.8; color: var(--text); margin-top: 12px;
}
.article__with-illust {
  display: flex; gap: 40px; align-items: flex-start;
}
.article__with-illust__img {
  flex-shrink: 0; width: 260px;
}
.article__with-illust__img img { width: 100%; height: auto; }
.article__with-illust__text { flex: 1; }
.article__link {
  color: #2563b0; text-decoration: underline;
  text-underline-offset: 4px; transition: opacity 0.3s;
}
.article__link:hover { opacity: 0.6; }

/* ---- Animations ---- */
[data-animate] { opacity: 0; transform: translateY(28px); }
[data-animate].show {
  opacity: 1 !important; transform: translateY(0) !important;
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .header {
    position: static !important; background: #fff; padding: 12px 0;
    box-shadow: 0 1px 0 var(--border);
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  }
  .header-inner { padding: 0 20px; }
  .logo { color: var(--black) !important; }
  .nav {
    position: fixed !important; top: 0 !important; left: 0 !important;
    right: 0 !important; bottom: 0 !important;
    background: #fff !important; flex-direction: column !important;
    justify-content: center !important; align-items: center !important;
    gap: 28px !important; z-index: 100 !important;
    display: none !important;
  }
  .nav.open { display: flex !important; animation: fadeIn 0.3s ease !important; }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  .nav-link { font-size: 16px; color: var(--black) !important; }
  .nav-cta {
    border: none !important; padding: 0 !important; color: var(--black) !important;
    background: none !important; font-size: 16px;
  }
  .hamburger { display: flex; z-index: 101; }
  .hamburger span { background: var(--black) !important; }

  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 13px; }
  .hero-label { font-size: 10px; }

  .section { padding: 80px 0; }
  .heading { font-size: 24px; }
  .message-title { font-size: 26px; }

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

  .company-split { grid-template-columns: 1fr; }
  .company-split__left { padding: 64px 24px; text-align: left; }
  .company-split__right { height: 280px; min-height: auto; }
  .company-split__logo { max-width: 100px; }
  .casestudy-layout { grid-template-columns: 1fr; }
  .casestudy-slides { display: none; }
  .casestudy-inline-img { display: flex; flex-direction: column; }

  .section--first { padding-top: 40px; }
  .page-hero { padding: 40px 0 40px; }
  .page-hero__title { font-size: 22px; }
  .article { padding: 60px 0 80px; }
  .article__phases { grid-template-columns: 1fr; }
  .article__with-logo { display: flex; flex-direction: column; gap: 24px; }
  .article__with-logo__text { max-width: none; }
  .article__with-logo__img { width: 120px; }
  .phase-grid { flex-direction: column; }
  .phase-arrow { justify-content: center; transform: rotate(90deg); }
  .cta-split { grid-template-columns: 1fr; }
  .cta-split__left, .cta-split__right { padding: 60px 24px; }
  .cta-split__heading { font-size: 22px; }
  .service-nav__item { font-size: 12px; padding: 8px 14px; }
  .svc-hero { padding: 40px 0 40px; }
  .svc-hero__heading { font-size: 24px; }
  .company-media-list { grid-template-columns: 1fr; }
  .company-bottom-row { grid-template-columns: 1fr; gap: 36px; }
  .company-table th { width: auto; display: block; padding-bottom: 0; border: none; }
  .company-table td { display: block; padding-top: 4px; }
  .svc-why-section { padding: 64px 0; }
  .svc-why__grid { grid-template-columns: 1fr; }
  .svc-why__visual { margin-top: 24px; }
  .svc-why__visual img { width: 160px; }
  .svc-areas { grid-template-columns: 1fr; }
  .media-item { grid-template-columns: 1fr; gap: 32px; }
  .media-item--reverse { direction: ltr; }
  .svc-cycle { grid-template-columns: 1fr; gap: 16px; }
  .svc-cycle__arrow { transform: rotate(90deg); padding: 0; margin: 0 auto; }
  .svc-challenges { grid-template-columns: 1fr; }
  .svc-plans { grid-template-columns: 1fr; }
  .svc-flow__step { gap: 20px; }
  .svc-flow__num { font-size: 24px; min-width: 36px; }
  .svc-areas-section { padding: 80px 0; }
  .cta-quiet { gap: 24px; }
  .service-detail--grid,
  .service-detail--reverse { grid-template-columns: 1fr; gap: 24px; }
  .service-detail--reverse .service-detail__content { order: 1; }
  .service-detail--reverse .service-detail__visual { order: 2; }
  .service-detail__visual { justify-content: flex-start; }
  .service-detail__icon-lg { width: 56px; height: 56px; }
  .article__with-illust { flex-direction: column; }
  .article__with-illust__img { width: 100px; order: -1; }

  .section-head--row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .news-item { flex-direction: column; gap: 8px; }
  .news-date { width: auto; }

  .cta-title { font-size: 22px; }

  .footer-top { flex-direction: column; gap: 24px; }
  .footer-nav { flex-wrap: wrap; gap: 12px 20px; }
  .pc { display: none; }
}

@media (max-width: 480px) {
  .service-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 28px; }
}

@media (min-width: 769px) {
  .sp { display: none; }
}
