/* =============================================
   PREVICT Inc. Corporate Site
   ============================================= */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  font-weight: 400;
  color: #0A0A0A;
  background: #FFFFFF;
  line-height: 1.8;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s, color .2s; }
a:hover { opacity: .7; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Variables */
:root {
  --navy: #0F1D4A;
  --navy-deep: #091338;
  --red: #E60012;
  --red-hover: #C5000F;
  --ink: #0A0A0A;
  --gray: #6B7280;
  --light: #F5F5F7;
  --border: #E5E5E5;
  --container: 1200px;
  --header-h: 80px;
}

/* Typography */
.font-en {
  font-family: 'Montserrat', 'Inter', sans-serif;
  letter-spacing: 0.08em;
  font-weight: 700;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.4; letter-spacing: 0.04em; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   Header
   ============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,.04);
}
.header__inner {
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo img { height: 36px; width: auto; }
.header__logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.header__logo-text .accent { color: var(--red); }

.nav { display: flex; align-items: center; gap: 40px; }
.nav__item {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  position: relative;
  color: var(--ink);
}
.nav__item::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .3s ease;
}
.nav__item:hover { opacity: 1; }
.nav__item:hover::after { width: 100%; }
.nav__item-sub {
  display: block;
  font-size: 10px;
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-top: 2px;
}
.nav__cta {
  background: var(--navy);
  color: #fff;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 999px;
  transition: background .2s;
}
.nav__cta:hover { background: var(--red); opacity: 1; }

/* Hamburger */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  z-index: 1100;
}
.hamburger span {
  position: absolute;
  left: 8px;
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform .3s, opacity .3s, top .3s;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 26px; }
.hamburger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* =============================================
   Hero
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, #FAFAFB 0%, #FAFAFB 45%, rgba(250,250,251,0) 70%),
    url('../images/hero-bg.webp') right center / auto 85% no-repeat,
    linear-gradient(135deg, #FAFAFB 0%, #EDEFF5 100%);
}
@media (max-width: 960px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(250,250,251,.85) 0%, rgba(250,250,251,.7) 60%, rgba(250,250,251,.4) 100%),
      url('../images/hero-bg.webp') 50% bottom / auto 52% no-repeat,
      linear-gradient(135deg, #FAFAFB 0%, #EDEFF5 100%);
  }
}
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .4;
}
.hero__blob--1 {
  width: 600px; height: 600px;
  top: -200px; right: -150px;
  background: radial-gradient(circle, rgba(230,0,18,.35), transparent);
  animation: float 18s ease-in-out infinite;
}
.hero__blob--2 {
  width: 500px; height: 500px;
  bottom: -150px; left: -100px;
  background: radial-gradient(circle, rgba(15,29,74,.4), transparent);
  animation: float 22s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 24px;
  z-index: 2;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--navy);
  margin-bottom: 32px;
}
.hero__tag::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--red);
}
.hero__title {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  color: var(--ink);
}
.hero__tagline {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 600;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line span { display: inline-block; }
.hero__title .accent { color: var(--red); }
.hero__tagline .accent { color: var(--red); }
.hero__title-big {
  color: var(--red);
}
.hero__title-navy {
  color: var(--navy);
}
.hero__title-en {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding-right: 0.04em;
}

.hero__desc {
  font-size: 16px;
  max-width: 580px;
  margin-bottom: 48px;
  color: #333;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gray);
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: '';
  display: block;
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--navy), transparent);
  margin: 16px auto 0;
  animation: scrollLine 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  border-radius: 999px;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn svg { transition: transform .3s; }
.btn:hover { opacity: 1; transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 20px rgba(15,29,74,.25);
}
.btn--primary:hover { background: var(--navy-deep); box-shadow: 0 12px 28px rgba(15,29,74,.35); }

.btn--accent { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(230,0,18,.25); }
.btn--accent:hover { background: var(--red-hover); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--outline:hover { background: var(--ink); color: #fff; }

/* =============================================
   Sections
   ============================================= */
.section {
  padding: 120px 0;
  position: relative;
}
.section--light { background: var(--light); }
.section--dark { background: var(--navy); color: #fff; }

.section__head {
  margin-bottom: 64px;
  text-align: left;
}
.section__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--red);
  margin-bottom: 20px;
}
.section__label::before {
  content: ''; width: 24px; height: 1px; background: var(--red);
}
.section__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}
.section__title .accent { color: var(--red); }
.section--dark .section__title { color: #fff; }
.section__subtitle {
  font-size: 16px;
  color: var(--gray);
  max-width: 640px;
}
.section--dark .section__subtitle { color: rgba(255,255,255,.7); }

/* =============================================
   Service Cards
   ============================================= */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: #fff;
  padding: 48px 32px;
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,.08);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 24px;
}
.service-card__icon {
  width: 56px; height: 56px;
  margin-bottom: 24px;
  color: var(--navy);
}
.service-card__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}
.service-card__en {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gray);
  margin-bottom: 12px;
}
.service-card__desc {
  font-size: 14px;
  color: #333;
  line-height: 1.9;
}

/* =============================================
   Strengths
   ============================================= */
.strengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.strengths--4col { grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 1100px) {
  .strengths--4col { grid-template-columns: repeat(2, 1fr); gap: 48px; }
}
.strength {
  position: relative;
  padding-top: 32px;
}
.strength__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.4);
  position: absolute;
  top: -20px; left: -8px;
}
.section--dark .strength__num { -webkit-text-stroke-color: rgba(255,255,255,.25); }
.strength__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}
.strength__desc {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,.75);
}

/* =============================================
   About / Company
   ============================================= */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-intro__text .section__title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-feature-settings: "palt";
  letter-spacing: -0.02em;
}
.about-intro__text p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 24px;
}
.about-intro__signature {
  margin-top: 40px;
  width: fit-content;
  margin-left: auto;
  text-align: left;
  line-height: 1.4;
}
.about-intro__signature span {
  display: block;
  color: var(--navy);
}
.about-intro__signature-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #666;
  margin-bottom: 8px;
}
.about-intro__signature-name {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
}
@media (max-width: 960px) {
  .about-intro__signature { margin-top: 28px; }
  .about-intro__signature-title { font-size: 12px; margin-bottom: 6px; }
  .about-intro__signature-name { font-size: 20px; letter-spacing: 0.14em; }
}
.about-intro__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-intro__visual::before,
.about-intro__visual::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}
.about-intro__visual::before {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(230,0,18,.5), transparent);
  top: -80px; right: -80px;
  filter: blur(40px);
}
.about-intro__visual::after {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(255,255,255,.15), transparent);
  bottom: -60px; left: -60px;
  filter: blur(40px);
}
.about-intro__badge {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
}

/* デスクトップ時：画像を左側のセクション背景として配置し、テキストを右に寄せる
   （ヒーローが右画像なので、Aboutは左右反転してリズムを出す） */
@media (min-width: 961px) {
  .section--about-bg {
    position: relative;
    isolation: isolate;
    background-image: url('../images/about-intro.webp');
    background-size: 52% auto;
    background-position: left center;
    background-repeat: no-repeat;
    overflow: hidden;
  }
  .section--about-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to left,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,1) 46%,
      rgba(255,255,255,0.92) 52%,
      rgba(255,255,255,0.5) 62%,
      rgba(255,255,255,0.15) 74%,
      rgba(255,255,255,0) 90%);
    z-index: -1;
    pointer-events: none;
  }
  .section--about-bg .about-intro {
    grid-template-columns: 1fr;
  }
  .section--about-bg .about-intro__text {
    max-width: 560px;
    margin-left: auto;
    position: relative;
  }
  .section--about-bg .about-intro__visual--image { display: none; }
}

/* about.html Messageセクション：画像の左端をmask-imageで透明にフェードし境目を完全除去 */
@media (min-width: 961px) {
  .section--about-visual-bg {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    isolation: isolate;
  }
  /* ::beforeに画像を描画し、mask-imageで左端を透明にフェード（ハードエッジ除去） */
  .section--about-visual-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/about-visual.webp');
    background-size: auto 100%;
    background-position: right center;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(to right, transparent 48%, #000 100%);
    mask-image: linear-gradient(to right, transparent 48%, #000 100%);
    z-index: 0;
    pointer-events: none;
  }
  /* <img>要素はPCでは非表示（背景画像として扱うため） */
  .section--about-visual-bg .about-intro__visual--image {
    display: none !important;
  }
  .section--about-visual-bg .about-intro {
    grid-template-columns: 1fr;
  }
  .section--about-visual-bg .about-intro__text {
    max-width: 560px;
    margin-right: auto;
    margin-left: 0;
    position: relative;
    z-index: 1;
  }
}

/* 画像バリアント（about.html用） */
.about-intro__visual--image { background: var(--navy-deep); }
.about-intro__visual--image::before,
.about-intro__visual--image::after { content: none; }
.about-intro__visual--image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.about-intro__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,19,56,0.85) 0%, rgba(9,19,56,0.2) 55%, transparent 100%);
  z-index: 2;
}
.about-intro__visual--image .about-intro__badge {
  position: absolute;
  left: 32px;
  bottom: 32px;
  z-index: 3;
  text-align: left;
}
.about-intro__visual--image .about-intro__badge .label {
  font-size: 14px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.95);
  padding-left: 40px;
  position: relative;
}
.about-intro__visual--image .about-intro__badge .label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 28px; height: 1px;
  background: var(--red);
}
.about-intro__badge .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,.5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.about-intro__badge .label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: 0.25em;
  font-weight: 600;
}

/* Privacy Policy */
.policy {
  max-width: 860px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 2;
  color: #333;
}
.policy__lead {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.policy__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 48px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--red);
  line-height: 1.6;
}
.policy__title:first-of-type { margin-top: 0; }
.policy p { margin-bottom: 16px; }
.policy__list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.policy__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}
.policy__list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}
.policy__info {
  margin: 16px 0 24px;
  padding: 20px 24px;
  background: var(--light);
  border-radius: 12px;
}
.policy__info dt {
  font-weight: 700;
  color: var(--navy);
  margin-top: 12px;
  font-size: 14px;
}
.policy__info dt:first-child { margin-top: 0; }
.policy__info dd { margin: 4px 0 0; font-size: 14px; }
.policy a { color: var(--red); text-decoration: underline; }
.policy a:hover { opacity: .7; }
.policy__meta {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--gray);
  text-align: right;
}

/* Brand Name Origin（社名の由来） */
.brand-origin {
  margin: 0 auto;
  text-align: center;
}
.brand-origin p {
  font-size: 18px;
  line-height: 2.1;
  color: var(--navy, #0f1d4a);
  margin: 0 0 28px;
}
.brand-origin p:last-child {
  margin-bottom: 0;
}
.brand-origin__quote {
  font-size: 24px !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.85 !important;
  margin: 52px 0 !important;
  color: var(--navy, #0f1d4a);
}
.brand-origin__quote-lead {
  display: inline-block;
  font-size: 42px;
  letter-spacing: 0.05em;
  line-height: 1.55;
  margin-bottom: 4px;
}
.brand-origin .accent {
  color: var(--red);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.06em;
  padding: 0 0.1em;
}
@media (max-width: 960px) {
  .brand-origin p {
    font-size: 15px;
    line-height: 1.95;
    margin-bottom: 20px;
    text-align: left;
  }
  .brand-origin__quote {
    font-size: 17px !important;
    line-height: 1.7 !important;
    margin: 28px 0 !important;
    text-align: center;
  }
  .brand-origin__quote-lead {
    font-size: 26px;
    line-height: 1.5;
    margin-bottom: 6px;
  }
  .brand-origin br { display: none; }
  .brand-origin__quote br { display: inline; }
}

/* Company Table */
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 24px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  vertical-align: top;
}
.company-table th {
  width: 200px;
  font-weight: 600;
  color: var(--navy);
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  letter-spacing: 0.1em;
}

/* =============================================
   Page Header (sub pages)
   ============================================= */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 100px) 0 100px;
  background: linear-gradient(135deg, #FAFAFB 0%, #EDEFF5 100%);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  right: -200px; top: -200px;
  background: radial-gradient(circle, rgba(230,0,18,.2), transparent);
  filter: blur(80px);
  border-radius: 50%;
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__en {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--red);
  margin-bottom: 16px;
}
.page-hero__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
}
.breadcrumb {
  display: flex;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gray);
  margin-top: 24px;
}
.breadcrumb span { color: var(--red); }

/* =============================================
   Service page detail
   ============================================= */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.service-detail:last-child { border-bottom: none; }
.service-detail__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.service-detail__title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}
.service-detail__image {
  margin-top: 32px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--light);
}
.service-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-detail__heading--bg {
  position: relative;
  min-height: 360px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.service-detail__heading--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,29,74,.2) 0%, rgba(15,29,74,.75) 100%);
  z-index: 1;
}
.service-detail__heading-inner {
  position: relative;
  z-index: 2;
}
.service-detail__heading--bg .service-detail__num { color: #fff; opacity: .9; }
.service-detail__heading--bg .service-detail__title { color: #fff; }
.service-detail__heading--bg .service-detail__en { color: rgba(255,255,255,.85); }
.service-detail__en {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gray);
  font-weight: 600;
}
.service-detail__body p {
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 2;
}
.service-detail__features {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}
.service-detail__feature {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--light);
  border-radius: 12px;
  align-items: flex-start;
}
.service-detail__feature-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 10px;
  flex-shrink: 0;
}
.service-detail__feature h4 { font-size: 16px; margin-bottom: 6px; }
.service-detail__feature p { font-size: 14px; color: #444; margin: 0; }

/* =============================================
   Service page - Solutions (overlapping layout)
   ============================================= */
.solutions {
  display: grid;
  gap: 40px;
}
.solution-block {
  position: relative;
  display: grid;
  align-items: stretch;
}
.solution-block--right { grid-template-columns: 58% 42%; }
.solution-block--left  { grid-template-columns: 42% 58%; }
.solution-block__image {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--light);
}
.solution-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.solution-block__card {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 56px 52px;
  box-shadow: 0 24px 64px rgba(15, 29, 74, .12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 48px;
  margin-bottom: 48px;
}
/* Right variant: image left / card right (card overlaps leftward) */
.solution-block--right .solution-block__image { grid-column: 1; grid-row: 1; }
.solution-block--right .solution-block__card {
  grid-column: 2; grid-row: 1;
  margin-left: -80px;
}
/* Left variant: image right / card left (card overlaps rightward) */
.solution-block--left .solution-block__image { grid-column: 2; grid-row: 1; }
.solution-block--left .solution-block__card {
  grid-column: 1; grid-row: 1;
  margin-right: -80px;
}
.solution-block__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 16px;
}
.solution-block__subtitle {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: none;
  position: relative;
}
.solution-block__subtitle::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--red);
}
.solution-block__desc {
  font-size: 15px;
  line-height: 2;
  color: var(--ink);
  margin-bottom: 0;
}
.solution-block__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--navy);
  transition: color .2s ease, border-color .2s ease, gap .2s ease;
}
.solution-block__cta svg { transition: transform .2s ease; }
.solution-block__cta:hover {
  color: var(--red);
  border-color: var(--red);
  gap: 16px;
}
.solution-block__cta:hover svg { transform: translateX(4px); }

/* =============================================
   Works
   ============================================= */
.works-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: 80px;
  padding-bottom: 80px;
}
.works-section__deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.works-section__deco--dots-tl {
  top: 40px;
  left: 20px;
  width: 160px;
  height: 140px;
  background-image: radial-gradient(rgba(230, 60, 80, 0.22) 1.6px, transparent 1.8px);
  background-size: 14px 14px;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(135deg, #000 20%, transparent 75%);
  mask-image: linear-gradient(135deg, #000 20%, transparent 75%);
}
.works-section__deco--dots-bl {
  bottom: 80px;
  left: 20px;
  width: 180px;
  height: 150px;
  background-image: radial-gradient(rgba(230, 60, 80, 0.22) 1.6px, transparent 1.8px);
  background-size: 14px 14px;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(45deg, #000 20%, transparent 75%);
  mask-image: linear-gradient(45deg, #000 20%, transparent 75%);
}
.works-section__deco--circle-tr {
  top: -80px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(230, 60, 80, 0.14), rgba(230, 60, 80, 0.04) 60%, transparent 75%);
}
.works-section__deco--circle-bl {
  bottom: -90px;
  left: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 70% 70%, rgba(230, 60, 80, 0.12), rgba(230, 60, 80, 0.04) 60%, transparent 75%);
}
.works-section__deco--ellipse-bc {
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 900px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(230, 60, 80, 0.06), rgba(230, 60, 80, 0.02) 55%, transparent 75%);
}
.works-section__deco--ellipse-white {
  bottom: -170px;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  max-width: 1400px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #fff 35%, rgba(255, 255, 255, 0.75) 55%, rgba(255, 255, 255, 0) 78%);
  z-index: 0;
}
.works-section__deco--wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 50px;
  z-index: 0;
}
.works-section > .container { position: relative; z-index: 1; }

.works-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.45fr);
  gap: 48px;
  align-items: center;
}
.works-feature__text { max-width: 460px; position: relative; }
.works-feature .section__title { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
.works-feature__text .section__label { margin-bottom: 16px; }
.works-feature__text .section__subtitle { margin-bottom: 24px; }
.works-feature__script {
  font-family: 'Parisienne', 'Noto Sans JP', cursive;
  font-weight: 400;
  font-size: clamp(3rem, 6.2vw, 5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(230, 60, 80, 0.22);
  margin: 0 0 8px;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
.works-feature__cta { margin-top: 28px; }
.btn--lg {
  padding: 18px 40px;
  font-size: 16px;
}

/* 3つの特徴ポイント（アイコン付き） */
.works-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.works-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  position: relative;
}
.works-point + .works-point::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(15, 29, 74, 0.12);
}
.works-point__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(230, 60, 80, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red, #e63c50);
  flex-shrink: 0;
}
.works-point__icon svg {
  width: 30px;
  height: 30px;
}
.works-point__text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--navy, #0f1d4a);
  font-weight: 600;
  margin: 0;
}

/* 右側のメディア（動画＋スチール）ラッパー */
.works-feature__media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  position: relative;
  padding-bottom: 34px;
}
.works-feature__video {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--light);
  box-shadow: 0 24px 64px rgba(15, 29, 74, .18);
}
.works-feature__stills {
  position: relative;
  width: 100%;
  cursor: pointer;
}
.works-feature__slide {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  opacity: 0;
  transition: opacity 600ms ease;
  pointer-events: none;
  position: absolute;
  inset: 0;
}
/* 1枚目だけ通常フローに置き、親の高さを決める */
.works-feature__slide:first-child {
  position: relative;
}
.works-feature__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.works-feature__still {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--light);
  box-shadow: 0 14px 36px rgba(15, 29, 74, .14);
  aspect-ratio: 4 / 3;
}
.works-feature__still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 動画キャプション（CASE 01 + タイトル） */
.works-feature__caption--video {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 30px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  pointer-events: none;
}
.works-feature__caption-label {
  display: inline-block;
  padding: 4px 12px;
  background: var(--red, #e63c50);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  border-radius: 2px;
  line-height: 1.6;
}
.works-feature__caption-title {
  margin: 0;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.35);
}
/* スチールのラベルボックス（PROCESS / OUTPUT） */
.works-feature__still-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 13px 10px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(15, 29, 74, 0.12);
  max-width: calc(100% - 24px);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.works-feature__still-label-en {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red, #e63c50);
  line-height: 1;
}
.works-feature__still-label-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy, #0f1d4a);
  line-height: 1.55;
  letter-spacing: 0.02em;
}
/* 大きな番号オーバーレイ（02 / 03） */
.works-feature__still-num {
  position: absolute;
  left: 14px;
  bottom: 6px;
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.01em;
  line-height: 1;
  z-index: 3;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.works-feature__dots {
  position: absolute;
  right: 0;
  bottom: -26px;
  display: flex;
  gap: 10px;
  z-index: 2;
  padding: 0;
  background: transparent;
}
.works-feature__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(15, 29, 74, 0.22);
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}
.works-feature__dot:hover {
  background: rgba(15, 29, 74, 0.45);
}
.works-feature__dot.is-active {
  background: var(--red, #d93a2b);
  transform: scale(1.25);
}
.works-feature__video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.works-feature__video-toggle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background-color .3s ease, opacity .3s ease;
}
.works-feature__video-toggle:hover { background: transparent; }
.works-feature__video-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background-color .2s ease;
}
.works-feature__video-icon svg {
  width: 20px;
  height: 20px;
}
.works-feature__video-icon--play svg { margin-left: 2px; } /* 三角形の視覚補正 */
.works-feature__video-icon--pause { display: none; }
.works-feature__video-toggle:hover .works-feature__video-icon {
  background: rgba(255, 255, 255, .32);
  transform: scale(1.05);
}
/* 停止中: ほんのり暗めのオーバーレイで映像のプレビューも見せる */
.works-feature__video-toggle {
  background: linear-gradient(to bottom, rgba(0,0,0,.05), rgba(0,0,0,.25));
}
/* 再生中: オーバーレイ透明に、ホバー時にpauseアイコン */
.works-feature__video.is-playing .works-feature__video-toggle {
  background: transparent;
  opacity: 0;
}
.works-feature__video.is-playing:hover .works-feature__video-toggle {
  background: transparent;
  opacity: 1;
}
.works-feature__video.is-playing .works-feature__video-icon--play { display: none; }
.works-feature__video.is-playing .works-feature__video-icon--pause { display: flex; }

/* Progress bar */
.works-feature__video-progress {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 4px;
  background: rgba(255, 255, 255, .25);
  border-radius: 2px;
  cursor: pointer;
  z-index: 3;
  transition: height .2s ease;
  touch-action: none;
}
.works-feature__video-progress:hover,
.works-feature__video-progress:focus-visible,
.works-feature__video.is-scrubbing .works-feature__video-progress {
  height: 8px;
}
.works-feature__video-progress:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 2px; }
.works-feature__video-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--red);
  border-radius: 2px;
  pointer-events: none;
  transition: width .08s linear;
}
.works-feature__video-progress-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .2s ease;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.works-feature__video-progress:hover .works-feature__video-progress-thumb,
.works-feature__video.is-scrubbing .works-feature__video-progress-thumb {
  transform: translate(-50%, -50%) scale(1);
}

/* 下部タグライン */
.works-tagline {
  margin-top: 36px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.works-tagline__title {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 500;
  color: var(--navy, #0f1d4a);
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin: 0 0 14px;
}
.works-tagline__title .accent {
  color: var(--red);
  font-weight: 500;
}
.works-tagline__sub {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin: 0;
}

.works-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}
.stat {
  padding: 48px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  text-align: center;
}
.stat__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--navy), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}
.stat__label { font-size: 14px; color: var(--gray); font-weight: 600; letter-spacing: 0.05em; }

.client-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.client-types--3col { grid-template-columns: repeat(3, 1fr); }
.client-card {
  padding: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: box-shadow .3s, transform .3s;
}
.client-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.06); }
.client-card__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 12px;
}
.client-card__title { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.client-card__desc { font-size: 14px; color: #444; line-height: 1.9; }

/* =============================================
   Contact Form
   ============================================= */
.contact-intro {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.contact-intro p { font-size: 16px; line-height: 2; color: #333; }

.form {
  max-width: 720px;
  margin: 0 auto;
}
.form__row {
  margin-bottom: 28px;
}
.form__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
.form__required {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.form__optional {
  background: var(--gray);
  color: #fff;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 16px 20px;
  font-family: inherit;
  font-size: 15px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(15,29,74,.08);
}
.form__textarea { min-height: 180px; resize: vertical; }

.form__consent { display: flex; gap: 12px; align-items: center; margin: 32px 0; font-size: 14px; }
.form__consent a { color: var(--navy); text-decoration: underline; }
.form__submit { text-align: center; }
.form__submit button {
  min-width: 280px;
  padding: 20px 48px;
  background: var(--navy);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 8px 20px rgba(15,29,74,.25);
}
.form__submit button:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(230,0,18,.3);
}

.contact-alt {
  margin-top: 80px;
  padding: 48px;
  background: var(--light);
  border-radius: 24px;
  text-align: center;
}
.contact-alt__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-alt__tel {
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 8px;
}
.contact-alt__note { font-size: 13px; color: var(--gray); }

/* =============================================
   FAQ
   ============================================= */
.faq {
  max-width: 880px;
  margin: 0 auto;
}
.faq__item {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(15, 29, 74, .06);
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow .25s ease;
}
.faq__item[open] {
  box-shadow: 0 14px 36px rgba(15, 29, 74, .1);
}
.faq__question {
  display: grid;
  grid-template-columns: 40px 1fr 24px;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  transition: background .2s ease;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question:hover { background: rgba(15, 29, 74, .02); }
.faq__mark {
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.05em;
  line-height: 1;
}
.faq__mark--a { color: var(--navy); }
.faq__q-text {
  min-width: 0;
}
.faq__icon {
  position: relative;
  width: 16px;
  height: 16px;
  justify-self: end;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--navy);
  transition: transform .25s ease, opacity .25s ease;
}
.faq__icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq__answer {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding: 0 28px 28px;
  border-top: 1px solid rgba(15, 29, 74, .06);
  margin-top: -1px;
}
.faq__answer {
  padding-top: 24px;
}
.faq__answer p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
  margin: 0;
}
.faq__note {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.8;
}

@media (max-width: 720px) {
  .faq__question {
    grid-template-columns: 28px 1fr 20px;
    gap: 14px;
    padding: 18px 20px;
    font-size: 15px;
  }
  .faq__mark { font-size: 18px; }
  .faq__answer {
    grid-template-columns: 28px 1fr;
    gap: 14px;
    padding: 20px 20px 22px;
  }
  .faq__answer p { font-size: 14px; }
}

/* =============================================
   Contact CTA banner
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  color: #fff;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  right: -200px; top: -200px;
  background: radial-gradient(circle, rgba(230,0,18,.35), transparent);
  filter: blur(100px);
  border-radius: 50%;
}
.cta-banner__inner { position: relative; z-index: 2; }
.cta-banner__en {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
  font-weight: 600;
}
.cta-banner__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 32px;
  line-height: 1.5;
  text-align: center;
}
.cta-banner__desc {
  font-size: 16px;
  opacity: .85;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: #FFFFFF;
  color: #555;
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}
.footer__logo {
  display: inline-block;
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 20px;
  max-width: 240px;
}
.footer__logo img {
  height: 40px;
  width: auto;
  display: block;
}
.footer__logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin: 0;
}
.footer__logo-text .accent { color: var(--red); }
.footer__desc { font-size: 13px; line-height: 2; }
.footer__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink);
  margin-bottom: 24px;
}
.footer__list li { margin-bottom: 12px; font-size: 13px; }
.footer__list a { color: #555; }
.footer__list a:hover { color: var(--red); opacity: 1; }
.footer__info { font-size: 13px; line-height: 2; }
.footer__info dt { font-weight: 600; color: var(--ink); margin-top: 16px; }
.footer__info dt:first-child { margin-top: 0; }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.5);
  font-family: 'Montserrat', sans-serif;
}

/* =============================================
   Animation helpers
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .services { grid-template-columns: 1fr; gap: 20px; }
  .strengths,
  .strengths--4col { grid-template-columns: 1fr; gap: 48px; }
  .about-intro { grid-template-columns: 1fr; gap: 48px; }
  /* モバイル時は画像をセクション背景に当て込む */
  .section--about-bg {
    position: relative;
    background-image: url('../images/about-intro.webp');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    isolation: isolate;
  }
  .section--about-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
      rgba(255,255,255,0.86) 0%,
      rgba(255,255,255,0.68) 55%,
      rgba(255,255,255,0.86) 100%);
    z-index: -1;
    pointer-events: none;
  }
  .section--about-bg .about-intro__visual--image { display: none; }
  .service-detail { grid-template-columns: 1fr; gap: 32px; padding: 60px 0; }
  .solutions { gap: 32px; }
  .solution-block,
  .solution-block--right,
  .solution-block--left {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .solution-block--right .solution-block__image,
  .solution-block--left .solution-block__image {
    grid-column: 1; grid-row: 1;
  }
  .solution-block--right .solution-block__card,
  .solution-block--left .solution-block__card {
    grid-column: 1; grid-row: 2;
    margin: -48px 20px 0;
    padding: 36px 28px;
  }
  .solution-block__title { font-size: 14px; margin-bottom: 12px; }
  .solution-block__subtitle { font-size: 22px; margin-bottom: 20px; padding-bottom: 12px; }
  .works-stats { grid-template-columns: 1fr; gap: 16px; }
  .works-feature {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
  }
  .works-feature__text { text-align: left; width: 100%; max-width: none; }
  .works-feature__media {
    width: 100%;
    max-width: 560px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
  }
  .works-feature__video { width: 100%; }
  .works-feature__stills {
    width: 100%;
  }
  .works-feature__dots {
    right: 0;
    bottom: -30px;
  }
  .works-feature__script {
    font-size: clamp(2.6rem, 12vw, 4rem);
    margin: 8px 0 4px;
  }
  .works-feature__caption--video {
    left: 14px;
    right: 14px;
    bottom: 24px;
    gap: 8px;
  }
  .works-feature__caption-label {
    font-size: 10px;
    padding: 3px 10px;
  }
  .works-feature__caption-title {
    font-size: 13px;
  }
  .works-feature__still-label {
    top: 10px;
    left: 10px;
    padding: 7px 10px 8px;
  }
  .works-feature__still-label-en {
    font-size: 9px;
  }
  .works-feature__still-label-text {
    font-size: 10px;
  }
  .works-feature__still-num {
    left: 10px;
    bottom: 4px;
    font-size: 36px;
  }
  .works-tagline { margin-top: 60px; }
  .works-section__deco--dots-tl,
  .works-section__deco--dots-bl,
  .works-section__deco--circle-tr,
  .works-section__deco--circle-bl,
  .works-section__deco--ellipse-bc,
  .works-section__deco--ellipse-white { display: none; }
  .client-types,
  .client-types--3col { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .container { padding: 0 20px; }
  .header__inner { padding: 0 20px; }

  /* Mobile Nav */
  .nav {
    position: fixed;
    top: 0; right: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.77,0,.18,1);
    z-index: 1050;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__item { font-size: 18px; text-align: center; }
  .nav__item-sub { font-size: 11px; }
  .nav__cta { padding: 14px 32px; }
  .hamburger { display: block; }

  .hero {
    padding-top: var(--header-h);
    min-height: 88vh;
    align-items: flex-start;
  }
  .hero__inner { padding: 48px 20px 40px; }
  .hero__desc {
    font-size: 13.5px;
    line-height: 1.85;
    font-feature-settings: "palt";
    letter-spacing: -0.01em;
  }
  .about-intro__text p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 20px;
  }
  /* about.html: Messageセクション画像を背景に */
  .section--about-visual-bg {
    position: relative;
    isolation: isolate;
    overflow: hidden;
  }
  .section--about-visual-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.92) 0%,
        rgba(255,255,255,0.82) 40%,
        rgba(255,255,255,0.90) 100%),
      url('../images/about-visual.webp') center / cover no-repeat;
    z-index: -1;
  }
  .section--about-visual-bg .about-intro { gap: 0; }
  .section--about-visual-bg .about-intro__visual--image { display: none; }
  .section__subtitle {
    font-size: 15px;
    font-feature-settings: "palt";
    letter-spacing: -0.01em;
  }
  .cta-banner__desc {
    font-size: 13px;
    font-feature-settings: "palt";
    letter-spacing: -0.01em;
    line-height: 1.8;
  }
  .contact-intro p {
    font-size: 13px;
    line-height: 1.9;
    font-feature-settings: "palt";
    letter-spacing: -0.01em;
  }

  .btn { padding: 16px 28px; font-size: 12px; }

  .company-table th {
    width: 150px;
    font-size: 13px;
    padding: 16px 8px;
    font-feature-settings: "palt";
    letter-spacing: -0.02em;
  }
  .company-table td { font-size: 13px; padding: 16px 8px; }

  .contact-alt { padding: 32px 20px; }
  .contact-alt__tel { font-size: 28px; }

  .cta-banner { padding: 64px 0; }

  .stat { padding: 32px 20px; }
  .stat__num { font-size: 40px; }

  .form__submit button { min-width: 100%; width: 100%; }
}

@media (hover: none) {
  .service-card:hover { transform: none; }
  .client-card:hover { transform: none; }
}
