

:root {
  --color-bg: #ffffff;
  --color-gray: #f6f6f6;
  --color-dark: #0c0c0c;
  --color-text: #333333;
  --color-text-light: #cccccc;
  --color-gold: #b59b6b;
  --color-border: #e5e5e5;
  --font-ja: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HGS明朝E", "MS P明朝", "MS PMincho", serif;
  --font-en: "Montserrat", sans-serif;
  --font-serif: "Playfair Display", serif;
  /* 日本語見出し用：游明朝 */
  --font-mincho: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HGS明朝E", "MS P明朝", "MS PMincho", serif;
}

/* 日本語の見出し・タイトルは游明朝（明朝体） */
.heading-lg,
.heading-ja,
.hero-lead,
.card-kw-title,
.work-title,
.news-title,
.contact-company,
.page-hero h1,
.policy-block h2 {
  font-family: var(--font-mincho);
  font-feature-settings: "palt";
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ja);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.9;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; transition: color .3s ease; }

/* =========================================================
   共通パーツ
========================================================= */
.section {
  padding: 100px 0;
}

/* =========================================================
   ローディング（システム開発会社風・ダーク／グラデーション）
========================================================= */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0b0c;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  transition: opacity .7s ease, visibility .7s ease;
}
.site-loader.is-loaded {
  opacity: 0;
  visibility: hidden;
}
.site-loader-inner {
  text-align: center;
  padding: 0 24px;
}
.site-loader-logo {
  font-family: var(--font-en);
  font-size: clamp(1.7rem, 5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #fff;
  margin: 0 0 26px;
  opacity: 0;
  transform: translateY(12px);
  animation: loaderFadeUp .9s cubic-bezier(.22,.61,.36,1) forwards;
}
.site-loader-logo span { color: var(--color-gold); }
.site-loader-bar {
  position: relative;
  width: min(240px, 60vw);
  height: 2px;
  margin: 0 auto;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}
.site-loader-bar span {
  position: absolute;
  top: 0;
  left: -40%;
  height: 100%;
  width: 40%;
  background: linear-gradient(to right, #2AA7E1 0%, #5470B5 50%, #7C73B4 100%);
  animation: loaderSlide 1.25s ease-in-out infinite;
}
.site-loader-text {
  margin: 18px 0 0;
  font-family: var(--font-en);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.45em;
  text-indent: 0.45em;
  color: rgba(255,255,255,0.55);
  animation: loaderBlink 1.4s ease-in-out infinite;
}
@keyframes loaderSlide {
  0%   { left: -40%; }
  100% { left: 100%; }
}
@keyframes loaderFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes loaderBlink {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.9; }
}
/* JS無効時に永遠に残らないようにする保険 */
.no-js .site-loader { display: none; }

.section-gray { background-color: var(--color-gray); }
.section-dark { background-color: var(--color-dark); }

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

/* 小さな英字ラベル */
.label-en {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 14px;
}
.label-en.sm { font-size: 0.7rem; margin-bottom: 8px; }
.label-en.light { color: var(--color-gold); }

/* 大きな英字見出し（セリフ） */
.display-en {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--color-dark);
  margin-bottom: 24px;
}
.display-en.light { color: #ffffff; }

/* 日本語の大きめ見出し */
.heading-lg {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--color-dark);
  margin-bottom: 24px;
}
.heading-lg.light { color: #ffffff; }

.heading-ja {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-dark);
  margin-bottom: 24px;
}
.heading-ja.light { color: #ffffff; }

.body-text {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 18px;
}
.body-text.sm { font-size: 0.9rem; line-height: 1.8; }
.body-text.light { color: var(--color-text-light); }

/* リンク矢印 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-dark);
}
.link-arrow i { transition: transform .3s ease; }
.link-arrow:hover { color: var(--color-gold); }
.link-arrow:hover i { transform: translateX(6px); }

/* =========================================================
   ボタン
========================================================= */
.btn-kw {
  border-radius: 2px;
  padding: 14px 34px;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: none;
  transition: all .35s ease;
}

.btn-dark.btn-kw {
  background-color: var(--color-dark);
  border: 1px solid var(--color-dark);
  color: #fff;
}
.btn-dark.btn-kw:hover {
  background-color: transparent;
  color: var(--color-dark);
}

.btn-light.btn-kw {
  background-color: #fff;
  border: 1px solid #fff;
  color: var(--color-dark);
}
.btn-light.btn-kw:hover {
  background-color: transparent;
  color: #fff;
}

.btn-outline-kw {
  border-radius: 2px;
  padding: 14px 34px;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  transition: all .35s ease;
}
.btn-outline-kw:hover {
  background-color: #fff;
  color: var(--color-dark);
  border-color: #fff;
}

.btn-outline-kw-light {
  border-radius: 2px;
  padding: 14px 34px;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  transition: all .35s ease;
}
.btn-outline-kw-light:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

/* =========================================================
   ヘッダー
========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  background-color: transparent;
  transition: background-color .4s ease, padding .4s ease;
  padding: 12px 0;
}
.site-header.scrolled {
  background-color: var(--color-dark);
  padding: 4px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.brand-logo {
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
}
.brand-logo span { color: var(--color-gold); margin-left: 4px; }
.brand-logo:hover { color: #fff; }

.site-header .navbar { padding: 0; }

.navbar-nav .nav-link {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 1.1rem;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  bottom: 2px;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width .3s ease;
}
.navbar-nav .nav-link:hover { color: #fff; }
.navbar-nav .nav-link:hover::after { width: calc(100% - 2.2rem); }

/* ハンバーガー */
.navbar-toggler {
  border: none;
  padding: 6px;
  width: 40px;
  height: 36px;
  position: relative;
}
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar {
  display: block;
  width: 26px;
  height: 2px;
  background-color: #fff;
  margin: 5px auto;
  transition: all .3s ease;
}

/* =========================================================
   ヒーロー
========================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8,8,8,0.68) 0%, rgba(8,8,8,0.42) 38%, rgba(8,8,8,0.14) 72%, rgba(8,8,8,0.04) 100%);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero-content { max-width: 760px; }

.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-en);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 28px;
}
.hero-title span {
  display: block;
  font-size: clamp(2.6rem, 9vw, 5.2rem);
}
.hero-lead {
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 500;
  color: #fff;
  margin-bottom: 18px;
}
.hero-desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.7);
}
.hero-scroll span { position: relative; }
.hero-scroll span::after {
  content: "";
  display: block;
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.5);
  margin: 10px auto 0;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   コンセプト
========================================================= */
.section-concept .display-en { margin-bottom: 18px; }

/* =========================================================
   サービスカード
========================================================= */
.card-kw {
  background: #fff;
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease;
}
.card-kw:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}
.card-kw-img {
  aspect-ratio: 600 / 420;
  overflow: hidden;
}
.card-kw-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.card-kw:hover .card-kw-img img { transform: scale(1.05); }
.card-kw-body { padding: 30px 28px 34px; }
.card-kw-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-dark);
}

/* =========================================================
   サービス（左右分割 / 扉が閉まるアニメーション）
========================================================= */

#service { padding-bottom: 0; }

.service-rows {
  /* コンテナを飛び出して全幅に */
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.service-row {
  display: flex;
  min-height: 480px;
  overflow: hidden;            /* 扉が外から閉まる動きを枠内に収める */
}
.service-row.reverse { flex-direction: row-reverse; }

/* 画像側 */
.service-row-img {
  position: relative;
  flex: 0 0 50%;
  background-size: cover;
  background-position: center;
  transform: translateX(-100%);
  transition: transform 1s cubic-bezier(.22,.61,.36,1);
}
/* 画像オーバーレイ（下を暗く） */
.service-row-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,.05) 100%);
}
/* 左下の英語ラベル（線が描かれて文字になる） */
.service-row-en {
  position: absolute;
  left: clamp(22px, 3.4vw, 50px);
  bottom: clamp(18px, 3vw, 38px);
  z-index: 2;
  height: clamp(52px, 9vw, 104px);
  width: auto;
  overflow: visible;
  /* 初期は左→右に向けて隠しておく（扉が止まったあとワイプで出現） */
  clip-path: inset(0 100% 0 0);
}
.service-row-en text {
  fill: #fff;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 92px;
}
/* 扉アニメ（1s）が止まってから、左→右へワイプして文字が現れる */
.service-row.in-view .service-row-en {
  animation: serviceWipe 2.6s cubic-bezier(.66, 0, .2, 1) 1.2s forwards;
}
@keyframes serviceWipe {
  to { clip-path: inset(0 0 0 0); }
}
/* テキスト側 */
.service-row-text {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  padding: 64px clamp(26px, 5vw, 84px);
  transform: translateX(100%);
  transition: transform 1s cubic-bezier(.22,.61,.36,1);
}
/* 反転時は左右の入り方も反転 */
.service-row.reverse .service-row-img  { transform: translateX(100%); }
.service-row.reverse .service-row-text { transform: translateX(-100%); }

/* 画面内に入ったら閉じる */
.service-row.in-view .service-row-img,
.service-row.in-view .service-row-text { transform: translateX(0); }

/* テキスト配色 */
.service-row-text.dark { background: var(--color-dark); }
.service-row-text.light { background: #fff; }
.service-row-inner { max-width: 540px; }
.service-row-title {
  font-family: var(--font-mincho);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.6;
  margin: 10px 0 18px;
  color: var(--color-dark);
}
.service-row-text.dark .service-row-title { color: #fff; }
.service-row-text.dark .body-text { color: var(--color-text-light); }
.service-row-text .body-text { margin-bottom: 26px; }
.service-row-text .btn-kw { margin-top: 4px; }

@media (max-width: 767.98px) {
  .service-row,
  .service-row.reverse { flex-direction: column; }
  .service-row-img {
    flex: none;
    width: 100%;
    min-height: 240px;
  }
  .service-row-text {
    flex: none;
    width: 100%;
    padding: 44px 24px;
  }
}

/* =========================================================
   WORKS
========================================================= */
.work-thumb {
  display: block;
  position: relative;
  aspect-ratio: 640 / 400;
  overflow: hidden;
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.work-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  opacity: 0;
  transition: opacity .4s ease;
}
.work-thumb:hover img { transform: scale(1.06); }
.work-thumb:hover .work-thumb-overlay { opacity: 1; }

.work-body { padding: 22px 4px 0; }
.work-cat {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin-bottom: 8px;
}
.work-title {
  position: relative;
  display: inline-block;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  padding-left: 14px;
  background: linear-gradient(135deg, #1f2b46 0%, #3a5a8c 50%, #5b8fd6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #1f2b46;
}
.work-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3a5a8c 0%, #5b8fd6 100%);
}
.work-body .body-text.sm {
  height: calc(0.9rem * 1.8 * 3);
  margin-bottom: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.tag-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-list li {
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 5px 12px;
  background: linear-gradient(135deg, #1f2b46 0%, #3a5a8c 50%, #5b8fd6 100%);
  box-shadow: 0 2px 6px rgba(31, 43, 70, 0.25);
}

/* =========================================================
   ブランディング（黒背景）
========================================================= */
.branding-img {
  aspect-ratio: 1600 / 600;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.branding-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.branding-geo {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
}
.branding-geo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(91,143,214,0.16) 0%, rgba(91,143,214,0.04) 45%, transparent 70%);
}
.branding-geo canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 991.98px) {
  .branding-geo { max-width: 360px; }
}

/* =========================================================
   モバイル最適化
========================================================= */
/* 見出しは左寄せ */
.mobile-head {
  max-width: 720px;
  margin-bottom: 56px;
}

/* スマホカルーセル（横幅いっぱい / ドラッグ・ボタン操作） */
.phone-carousel { width: 100%; }

.phone-viewport {
  /* 画面いっぱいに広げる（左の余白側にスマホが隠れる） */
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;            /* 縦スクロールは許可、横はJSで制御 */
}
.phone-viewport.dragging { cursor: grabbing; }

.phone-track {
  display: flex;
  width: max-content;
  /* 先頭スマホをコンテナ左端に合わせる（Bootstrapコンテナ幅に追従） */
  padding-left: 12px;
  padding-right: 12px;
  will-change: transform;
}
@media (min-width: 576px)  { .phone-track { padding-left: calc((100vw - 540px) / 2 + 12px);  padding-right: calc((100vw - 540px) / 2 + 12px); } }
@media (min-width: 768px)  { .phone-track { padding-left: calc((100vw - 720px) / 2 + 12px);  padding-right: calc((100vw - 720px) / 2 + 12px); } }
@media (min-width: 992px)  { .phone-track { padding-left: calc((100vw - 960px) / 2 + 12px);  padding-right: calc((100vw - 960px) / 2 + 12px); } }
@media (min-width: 1200px) { .phone-track { padding-left: calc((100vw - 1140px) / 2 + 12px); padding-right: calc((100vw - 1140px) / 2 + 12px); } }
@media (min-width: 1400px) { .phone-track { padding-left: calc((100vw - 1320px) / 2 + 12px); padding-right: calc((100vw - 1320px) / 2 + 12px); } }

.phone-mock {
  position: relative;
  flex: 0 0 auto;
  /* PCで5台＋6台目が少し見えるサイズ */
  width: 17vw;
  margin-right: clamp(12px, 1.4vw, 26px);
  aspect-ratio: 237 / 469;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.18));
  user-select: none;
}
.phone-mock:last-child { margin-right: 0; }

/* 背面のデザイン画像（フレームの画面コンテンツ部分に合わせて配置）
   ※参考サイトの値(237×469基準: left23 / top77 / width190 / height320)を％換算。
   　casebase-sp.png の窓に合わせて微調整したい場合は下記4値を変更 */
.phone-screen {
  position: absolute;
  top: 16.4%;
  left: 9.7%;
  width: 80.2%;
  height: 68.2%;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
  z-index: 1;
  -webkit-user-drag: none;
  user-select: none;
}
/* 前面の透過スマホフレーム */
.phone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* 左右ボタン */
.phone-nav {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 34px;
}
.phone-btn {
  width: 52px;
  height: 52px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-dark);
  border-radius: 2px;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}
.phone-btn:hover:not(:disabled) {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
}
.phone-btn:disabled { opacity: .3; cursor: default; }

/* =========================================================
   提案・改善（横長背景）
========================================================= */
.section-improve {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.improve-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.improve-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(12,12,12,0.85), rgba(12,12,12,0.55));
}
.improve-inner { position: relative; z-index: 2; }
.improve-labels { display: flex; flex-wrap: wrap; gap: 12px; }
.improve-label {
  display: inline-block;
  background-color: var(--color-dark);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  border-left: 3px solid var(--color-gold);
}

/* =========================================================
   NEWS / BLOG
========================================================= */
.news-card {
  display: flex;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 18px;
  height: 100%;
  transition: transform .35s ease, box-shadow .35s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.06);
}
.news-thumb {
  flex: 0 0 38%;
  aspect-ratio: 420 / 260;
  overflow: hidden;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-body { flex: 1; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 10px;
}
.news-cat {
  background: var(--color-dark);
  color: #fff;
  padding: 2px 10px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}
.news-title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 10px;
  color: var(--color-dark);
}
.news-card:hover .news-title { color: var(--color-gold); }

/* 最新記事（大きく表示） */
.news-feature {
  display: block;
  background: #fff;
  border: 1px solid var(--color-border);
  height: 100%;
  transition: transform .35s ease, box-shadow .35s ease;
}
.news-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.07);
}
.news-feature-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.news-feature-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.news-feature:hover .news-feature-thumb img { transform: scale(1.05); }
.news-feature-body { padding: 28px 28px 32px; }
.news-feature-title {
  font-family: var(--font-mincho);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 12px 0 14px;
  color: var(--color-dark);
}
.news-feature:hover .news-feature-title { color: var(--color-gold); }

/* 右側2記事の縦並び */
.news-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  justify-content: space-between;
}
.news-side .news-card { height: auto; }

/* 一覧ボタン */
.news-more {
  text-align: center;
  margin-top: 50px;
}
.news-more .btn-kw { min-width: 280px; }

@media (max-width: 575.98px) {
  .news-more .btn-kw { width: 100%; min-width: 0; }
}

/* =========================================================
   お知らせ一覧ページ（news/）
========================================================= */
/* 2列グリッドのカードは縦型（サムネ上・本文下） */
.news-archive .news-card {
  flex-direction: column;
  gap: 16px;
  padding: 0 0 20px;
  height: 100%;
}
.news-archive .news-thumb {
  flex: none;
  width: 100%;
  aspect-ratio: 420 / 260;
}
.news-archive .news-body { padding: 0 20px; }

.news-empty {
  padding: 40px 0;
  color: #888;
  text-align: center;
}

/* 重要なお知らせタグ（グラデーション） */
.news-important-tag {
  display: inline-block;
  padding: 2px 12px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  border-radius: 2px;
  background: linear-gradient(to right, #2AA7E1 0%, #5470B5 50%, #7C73B4 100%);
  box-shadow: 0 2px 8px rgba(84, 112, 181, 0.35);
}
.news-meta { flex-wrap: wrap; }

/* ページネーション（丸型・グラデーション） */
.news-pager { margin-top: 56px; }
.news-pager .pagination { gap: 10px; }
.news-pager .page-item { margin: 0; }
.news-pager .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  color: var(--color-dark);
  font-family: var(--font-en);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, color .3s ease;
}
.news-pager .page-link:hover {
  background: #fff;
  color: var(--color-dark);
  border-color: var(--color-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}
.news-pager .page-item.active .page-link {
  background: linear-gradient(135deg, #2AA7E1 0%, #5470B5 50%, #7C73B4 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(84, 112, 181, 0.4);
}
.news-pager .page-item.active .page-link:hover { transform: none; }
.news-pager .page-item.disabled .page-link {
  opacity: 0.35;
  pointer-events: none;
}
.news-pager .page-link:focus { box-shadow: none; outline: none; }

/* 重要なお知らせ（右サイドバー） */
.news-aside {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 26px 24px;
  overflow: hidden;
}
.news-aside::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #2AA7E1 0%, #5470B5 50%, #7C73B4 100%);
}
.news-aside-title {
  font-family: var(--font-mincho);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}
.news-aside-title i { color: var(--color-gold); margin-right: 4px; }
.news-aside-empty {
  color: #888;
  font-size: 0.9rem;
  margin: 0;
}
.news-aside-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-aside-list li { border-bottom: 1px dashed var(--color-border); }
.news-aside-list li:last-child { border-bottom: none; }
.news-aside-list a {
  display: block;
  padding: 14px 0;
  transition: opacity .2s ease;
}
.news-aside-list a:hover { opacity: .65; }
.news-aside-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #999;
  margin-bottom: 6px;
}
.news-aside-cat {
  background: linear-gradient(to right, #2AA7E1 0%, #5470B5 50%, #7C73B4 100%);
  color: #fff;
  padding: 1px 8px;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}
.news-aside-ttl {
  display: block;
  font-family: var(--font-mincho);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-dark);
}

@media (max-width: 991.98px) {
  .news-aside { position: static; margin-top: 10px; }
}

/* =========================================================
   お知らせ詳細ページ（news/detail/）
========================================================= */
.news-detail-head {
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}
.news-detail-title {
  font-family: var(--font-mincho);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-dark);
  margin: 14px 0 0;
}
.news-detail-subtitle {
  margin: 14px 0 0;
  font-size: 1.02rem;
  color: #666;
}
.news-detail-mv {
  margin-bottom: 32px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-gray);
}
.news-detail-mv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 本文（リッチテキスト） */
.news-detail-body {
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text);
}
.news-detail-body > *:first-child { margin-top: 0; }
.news-detail-body p { margin: 0 0 1.4em; }
.news-detail-body h2 {
  font-family: var(--font-mincho);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 1.8em 0 0.8em;
  padding-left: 14px;
  border-left: 4px solid var(--color-gold);
}
.news-detail-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.6em 0 0.7em;
}
.news-detail-body img {
  max-width: 100%;
  height: auto;
}
.news-detail-body a {
  color: #2AA7E1;
  text-decoration: underline;
}
.news-detail-body ul,
.news-detail-body ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.news-detail-body li { margin-bottom: 0.4em; }
.news-detail-body blockquote {
  margin: 0 0 1.4em;
  padding: 16px 20px;
  background: var(--color-gray);
  border-left: 4px solid var(--color-border);
  color: #555;
}
/* 追加画像 */
.news-detail-gallery {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.news-detail-gallery img { width: 100%; height: auto; }
/* フッターボタン */
.news-detail-foot {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}
.news-detail-foot .btn-kw i { margin-right: 6px; }
/* 記事が見つからない場合 */
.news-detail-missing {
  text-align: center;
  padding: 50px 20px;
  background: #fff;
  border: 1px solid var(--color-border);
}
.news-detail-missing p {
  color: #666;
  line-height: 1.9;
  margin-bottom: 26px;
}

/* =========================================================
   相談導線（黒背景）
========================================================= */
.project-box {
  border: 1px solid rgba(255,255,255,0.14);
  padding: clamp(30px, 6vw, 70px);
  max-width: 900px;
  margin: 0 auto;
}
.project-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 24px 28px;
  margin: 36px 0;
}
.pf-row {
  display: flex;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pf-row:last-child { border-bottom: none; }
.pf-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  flex: 0 0 90px;
}
.pf-line { color: var(--color-text-light); font-size: 0.92rem; }

/* =========================================================
   ABOUT
========================================================= */
.about-img {
  aspect-ratio: 700 / 900;
  overflow: hidden;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 12px;
}
.feature-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #2AA7E1, #7C73B4);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s ease;
}
.feature-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.07);
  border-color: transparent;
}
.feature-list li:hover::before { transform: scaleY(1); }

.feature-no {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  flex: 0 0 auto;
  min-width: 22px;
}
.feature-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c2a978, #b59b6b);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(181,155,107,0.35);
}
.feature-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.5;
}

@media (max-width: 575.98px) {
  .feature-list li { padding: 14px 16px; gap: 12px; }
  .feature-text { font-size: 0.92rem; }
}

/* =========================================================
   CONTACT
========================================================= */
.contact-company {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}
.contact-line { color: var(--color-text-light); margin-bottom: 12px; }
.contact-line a { color: #fff; }
.contact-line a:hover { color: var(--color-gold); }
.contact-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }

.contact-form .form-label {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
  margin-bottom: 6px;
}
.contact-form .form-control {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 2px;
  color: #fff;
  padding: 12px 14px;
}
.contact-form .form-control::placeholder { color: rgba(255,255,255,0.35); }
.contact-form .form-control:focus {
  background: rgba(255,255,255,0.08);
  border-color: var(--color-gold);
  box-shadow: none;
  color: #fff;
}

/* =========================================================
   アクセスマップ（白黒）
========================================================= */
.map-section {
  position: relative;
  line-height: 0;
}
.map-frame {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  /* 白黒（グレースケール）表示 */
  filter: grayscale(100%) contrast(1.05);
  transition: filter .5s ease;
}
.map-section:hover .map-frame {
  filter: grayscale(0%);
}

@media (max-width: 767.98px) {
  .map-frame { height: 300px; }
}

/* =========================================================
   フッター
========================================================= */
.site-footer {
  background-color: var(--color-dark);
  padding: 70px 0 28px;
  border-top: 5px solid;
  border-bottom: 5px solid;
  border-image: linear-gradient(to right, #2AA7E1 0%, #5470B5 38%, #7C73B4 68%, #9B7A9C 100%) 1;
}
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-company { color: #fff; font-weight: 700; margin-bottom: 10px; }
.footer-line { color: var(--color-text-light); font-size: 0.9rem; margin-bottom: 6px; }
.footer-line a { color: var(--color-text-light); }
.footer-line a:hover { color: var(--color-gold); }

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: flex-start;
}
.footer-nav a {
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.75);
}
.footer-nav a:hover { color: var(--color-gold); }

.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-policy {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
}
.footer-policy a {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
}
.footer-policy a:hover { color: var(--color-gold); }
.copyright {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin: 0;
  text-align: center;
}

/* =========================================================
   ページトップ
========================================================= */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  background: var(--color-dark);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .35s ease;
  z-index: 1020;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--color-gold); color: #fff; border-color: var(--color-gold); }

/* =========================================================
   右下 追従バナー
========================================================= */
.float-banner {
  position: fixed;
  right: 22px;
  bottom: 82px;            /* ページトップボタンに被らない高さ */
  z-index: 1015;
  width: min(710px, 92vw);
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
  transition: width .4s ease, bottom .4s ease, opacity .4s ease;
}
.float-banner.shrink {
  width: min(460px, 70vw);
}
.float-banner-link {
  display: block;
  border-radius: 4px;
  overflow: hidden;
}
.float-banner-link img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 710 / 400;
  object-fit: cover;
}
.float-banner-close {
  position: absolute;
  top: -11px;
  right: -11px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  z-index: 2;
  transition: background .3s ease;
}
.float-banner-close:hover { background: var(--color-gold); }
.float-banner.is-hidden { display: none; }

@media (max-width: 767.98px) {
  .float-banner {
    right: 12px;
    bottom: 72px;
    width: clamp(200px, 64vw, 300px);
  }
  .float-banner.shrink { width: clamp(104px, 30vw, 140px); }
}

/* =========================================================
   スクロールアニメーション
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   レスポンシブ
========================================================= */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--color-dark);
    margin-top: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.08);
  }
  .navbar-nav .nav-link { padding: 0.7rem 0.4rem; }
  .navbar-nav .nav-link::after { display: none; }
}

@media (max-width: 767.98px) {
  .section { padding: 60px 0; }
  .section-improve { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { height: auto; min-height: 100svh; padding-top: 96px; padding-bottom: 60px; }
  .hero-actions .btn,
  .hero-actions .btn-outline-kw { width: 100%; text-align: center; }
  .news-card { flex-direction: column; gap: 14px; }
  .news-thumb { flex: none; width: 100%; }
  .mobile-head { margin-bottom: 36px; }
  .phone-btn { width: 46px; height: 46px; font-size: 1.05rem; }
  .contact-actions .btn { width: 100%; text-align: center; }
}

/* スマホカルーセル：表示台数をブレークポイントで調整 */
@media (max-width: 1199.98px) { .phone-mock { width: 21vw; } }   /* 約4台＋α */
@media (max-width: 991.98px)  { .phone-mock { width: 30vw; } }   /* 約3台＋α */
@media (max-width: 575.98px)  { .phone-mock { width: 58vw; } }   /* 約1.5台＋α */

/* =========================================================
   下層ページ共通（基本方針・ポリシー等）
========================================================= */
/* 固定ヘッダー分を確保した黒のページヘッダー */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background-color: var(--color-dark);
  padding: 130px 0 52px;
  text-align: left;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: svcBgDrift 24s ease-in-out infinite alternate;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,19,34,0.5) 0%, rgba(12,19,34,0.85) 100%);
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero .breadcrumb-kw {
  justify-content: flex-start;
  margin: 0 0 16px;
}
.page-hero .label-en {
  color: #9ec1f0;
  margin-bottom: 8px;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: #fff;
  margin: 0;
}

/* パンくず */
.breadcrumb-kw {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  justify-content: center;
  margin-top: 18px;
}
.breadcrumb-kw a { color: rgba(255,255,255,0.7); }
.breadcrumb-kw a:hover { color: var(--color-gold); }
.breadcrumb-kw .sep { opacity: 0.5; }

/* 本文（基本方針） */
.policy { max-width: 860px; margin: 0 auto; }
.policy .lead {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 40px;
}
.policy-block { margin-bottom: 40px; }
.policy-block h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-dark);
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}
.policy-block h2 .num {
  font-family: var(--font-en);
  color: var(--color-gold);
  margin-right: 12px;
}
.policy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.policy-list li {
  position: relative;
  padding: 8px 0 8px 26px;
  color: var(--color-text);
  font-size: 0.96rem;
}
.policy-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 7px;
  height: 7px;
  background: var(--color-gold);
  border-radius: 50%;
}

/* 制定情報 */
.policy-meta {
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid var(--color-border);
  text-align: right;
  color: var(--color-text);
  font-size: 0.92rem;
  line-height: 2;
}
.policy-meta .company { font-weight: 700; color: var(--color-dark); }

@media (max-width: 767.98px) {
  .page-hero { padding: 120px 0 50px; }
  .policy-meta { text-align: left; }
}

/* =========================================================
   追従メニューボタン & オーバーレイメニュー
========================================================= */
body.menu-open { overflow: hidden; }

/* 右端中央の固定ボタン */
.side-menu-btn {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1070;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 13px;
  border: none;
  border-radius: 12px 0 0 12px;
  background: linear-gradient(to bottom, #2AA7E1 0%, #5470B5 55%, #7C73B4 100%);
  color: #fff;
  box-shadow: -4px 0 18px rgba(0,0,0,0.18);
  cursor: pointer;
  transition: padding .3s ease, box-shadow .3s ease, opacity .3s ease;
}
.side-menu-btn:hover {
  padding-right: 19px;
  box-shadow: -7px 0 24px rgba(0,0,0,0.3);
}
.side-menu-btn-icon { font-size: 1.35rem; line-height: 1; }
.side-menu-btn-text {
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
}

/* オーバーレイメニュー */
.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 1060;
  background: rgba(8,8,8,0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
.overlay-menu.open { opacity: 1; visibility: visible; }

.overlay-menu-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: #fff;
  border-radius: 2px;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}
.overlay-menu-close:hover { background: #fff; color: var(--color-dark); }

.overlay-menu-nav ul { list-style: none; padding: 0; margin: 0; text-align: center; }
.overlay-menu-nav li { margin: 4px 0; }
.overlay-menu-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
  color: #fff;
  transition: color .3s ease, letter-spacing .3s ease;
}
.overlay-menu-nav a:hover { color: var(--color-gold); }
.overlay-menu-nav .en {
  font-family: var(--font-en);
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.overlay-menu-nav .ja {
  font-size: 0.78rem;
  color: var(--color-text-light);
  letter-spacing: 0.08em;
}
.overlay-menu-info {
  margin-top: 44px;
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.85rem;
  line-height: 1.9;
}
.overlay-menu-info a { color: #fff; }
.overlay-menu-info a:hover { color: var(--color-gold); }

@media (max-width: 767.98px) {
  .side-menu-btn { display: none; }
}

/* =========================================================
   お問い合わせ誘導（フッター地図上）
========================================================= */
.contact-cta {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(120deg, #2AA7E1 0%, #3F84C8 52%, #6A72B2 100%);
  overflow: hidden;
}
/* 斜めの光のアクセント（参考画像の左上の明るい斜め帯） */
.contact-cta::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -10%;
  width: 55%;
  height: 180%;
  background: linear-gradient(120deg, rgba(255,255,255,0.16), rgba(255,255,255,0));
  transform: skewX(-18deg);
  pointer-events: none;
}
.contact-cta .container { position: relative; z-index: 1; }

.contact-cta-ja {
  font-family: var(--font-mincho);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 14px;
}
.contact-cta-en {
  font-family: var(--font-en);
  font-style: normal;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 12px;
}
.contact-cta-en-sub {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.8);
  margin: 0;
}
.contact-cta-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.contact-cta-label .mark {
  display: inline-block;
  width: 20px;
  height: 4px;
  background: #e8392b;
  transform: skewX(-24deg);
}
.contact-cta-desc {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  line-height: 1.9;
  margin-bottom: 26px;
}
.contact-cta-tel {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0 0 26px;
  font-family: var(--font-en);
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
}
.contact-cta-tel a { color: #fff; }
.contact-cta-tel a:hover { color: #fff; opacity: 0.85; }
.contact-cta-tel .hours {
  font-family: var(--font-ja);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.8);
}

/* 黒い横長CONTACTボタン */
.contact-cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  background: var(--color-dark);
  color: #fff;
  padding: 24px 28px;
  border-radius: 4px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  transition: background .3s ease, transform .3s ease;
}
.contact-cta-btn:hover { background: #000; color: #fff; transform: translateY(-2px); }
.contact-cta-btn-text {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-en);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.contact-cta-btn-text small {
  font-family: var(--font-ja);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
}
.contact-cta-btn-arrow {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #2AA7E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform .3s ease;
}
.contact-cta-btn:hover .contact-cta-btn-arrow { transform: translateX(5px); }

@media (max-width: 767.98px) {
  .contact-cta { padding: 56px 0; }
  .contact-cta-btn { padding: 20px 22px; }
}

/* =========================================================
   お問い合わせページ フォーム
========================================================= */
.contact-page { width: 100%; }

/* 左サイド：会社情報（画面追従） */
.contact-aside {
  position: sticky;
  top: 100px;
  border: 1px solid var(--color-border);
  background: #fff;
}
.contact-aside-img {
  aspect-ratio: 640 / 480;
  overflow: hidden;
}
.contact-aside-img img { width: 100%; height: 100%; object-fit: cover; }
.contact-aside-body { padding: 26px 24px 28px; }
.contact-aside-name {
  font-family: var(--font-mincho);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}
.contact-aside-info {
  margin: 0 0 22px;
}
.contact-aside-info dt {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: 4px;
}
.contact-aside-info dd {
  font-size: 0.92rem;
  color: var(--color-text);
  margin: 0 0 16px;
  line-height: 1.7;
}
.contact-aside-info dd:last-child { margin-bottom: 0; }
.contact-aside-info a { color: var(--color-text); }
.contact-aside-info a:hover { color: var(--color-gold); }
.contact-aside-actions .btn-kw { width: 100%; }

@media (max-width: 991.98px) {
  .contact-aside { position: static; }
}

.contact-lead {
  color: var(--color-text);
  font-size: 0.96rem;
  line-height: 1.9;
  margin-bottom: 36px;
}
.contact-lead .req-note { display: inline-block; margin-left: 4px; font-size: 0.85rem; color: #777; }

/* 必須 / 任意ラベル */
.req {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 2px;
  vertical-align: middle;
}
.opt {
  display: inline-block;
  font-size: 0.72rem;
  color: #888;
  margin-left: 4px;
}

/* エラー表示 */
.contact-errors {
  background: #fbeaea;
  border: 1px solid #e3b7b3;
  border-radius: 3px;
  padding: 18px 22px;
  margin-bottom: 30px;
  color: #a5342a;
}
.contact-errors p { font-weight: 700; margin: 0 0 8px; }
.contact-errors ul { margin: 0; padding-left: 20px; }
.contact-errors li { font-size: 0.9rem; }

/* フォーム要素 */
.form-row { margin-bottom: 24px; }
.form-label-kw {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}
.form-control-kw {
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 13px 15px;
  font-size: 0.95rem;
  background: #fff;
  color: var(--color-text);
}
.form-control-kw:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(181,155,107,0.15);
}

/* 目的の選択 */
.purpose-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.purpose-option {
  position: relative;
  flex: 1 1 calc(50% - 12px);
  min-width: 200px;
  margin: 0;
  cursor: pointer;
}
.purpose-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.purpose-option span {
  display: block;
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: 15px 14px;
  font-size: 0.92rem;
  color: var(--color-text);
  background: #fff;
  transition: all .25s ease;
}
.purpose-option:hover span { border-color: #bbb; }
.purpose-option input:checked + span {
  border-color: var(--color-dark);
  background: var(--color-dark);
  color: #fff;
  font-weight: 700;
}

/* 同意 */
.form-agree {
  text-align: center;
  margin: 30px 0 26px;
  font-size: 0.92rem;
}
.form-agree label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.form-agree input { width: 18px; height: 18px; accent-color: var(--color-dark); }
.form-agree a { color: var(--color-dark); text-decoration: underline; }
.form-agree a:hover { color: var(--color-gold); }

/* reCAPTCHA */
.form-recaptcha {
  display: flex;
  justify-content: center;
  margin: 26px 0 4px;
}

/* 送信ボタン */
.form-submit { text-align: center; margin-top: 22px; }
.form-submit .btn-kw { min-width: 260px; }

/* 送信完了 */
.contact-thanks { text-align: center; padding: 30px 0; }
.contact-thanks i {
  font-size: 3.4rem;
  color: var(--color-gold);
  display: block;
  margin-bottom: 18px;
}
.contact-thanks .heading-ja { margin-bottom: 18px; }
.contact-thanks .btn-kw { margin-top: 14px; }

@media (max-width: 575.98px) {
  .purpose-option { flex: 1 1 100%; }
  .form-submit .btn-kw { width: 100%; min-width: 0; }
}

/* =========================================================
   サービスページ
========================================================= */
/* 目玉：オーダーメイド開発 */
.svc-strength-sec {
  position: relative;
  overflow: hidden;
  background: #0c1322;
  padding: clamp(72px, 11vw, 140px) 0;
}
.svc-strength-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  transform: scale(1.08);
  animation: svcBgDrift 22s ease-in-out infinite alternate;
}
.svc-strength-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 75% 20%, rgba(91,143,214,0.22) 0%, rgba(12,19,34,0) 55%),
    linear-gradient(180deg, rgba(12,19,34,0.82) 0%, rgba(12,19,34,0.92) 100%);
}
.svc-strength-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(60px);
  background: radial-gradient(circle, rgba(91,143,214,0.55) 0%, rgba(91,143,214,0) 70%);
  top: -120px;
  left: -80px;
  animation: svcGlow 9s ease-in-out infinite;
  pointer-events: none;
}
.svc-strength-glow.glow2 {
  top: auto;
  left: auto;
  right: -120px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(58,90,140,0.5) 0%, rgba(58,90,140,0) 70%);
  animation-delay: 3s;
}
.svc-strength-sec .container { position: relative; z-index: 2; }

/* 左：テキスト */
.svc-pickup-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
  background: linear-gradient(135deg, #1f2b46 0%, #3a5a8c 50%, #5b8fd6 100%);
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(91,143,214,0.35);
}
.svc-strength-en {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  letter-spacing: 0.02em;
  margin: 0 0 6px;
  background: linear-gradient(135deg, #9ec1f0 0%, #ffffff 60%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.svc-strength-title {
  font-family: var(--font-mincho);
  font-feature-settings: "palt";
  font-size: clamp(1.7rem, 4.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.4;
  color: #fff;
  margin: 0 0 22px;
}
.svc-strength-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5b8fd6, #9ec1f0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(.22,.61,.36,1) .3s;
}
.svc-strength-text.is-visible .svc-strength-title::after { transform: scaleX(1); }
.svc-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.svc-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #e7edf6;
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateX(-16px);
}
.svc-strength-text.is-visible .svc-points li {
  animation: svcPointIn .6s cubic-bezier(.22,.61,.36,1) forwards;
}
.svc-strength-text.is-visible .svc-points li:nth-child(1) { animation-delay: .25s; }
.svc-strength-text.is-visible .svc-points li:nth-child(2) { animation-delay: .4s; }
.svc-strength-text.is-visible .svc-points li:nth-child(3) { animation-delay: .55s; }
.svc-strength-text.is-visible .svc-points li:nth-child(4) { animation-delay: .7s; }
.svc-points li i {
  flex: none;
  margin-top: 4px;
  font-size: 1.1rem;
  color: #7fb0ee;
}

/* 右：ビジュアル（汎用 → オーダーメイド の比較） */
.svc-strength-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.svc-compare {
  width: 100%;
  max-width: 440px;
  border-radius: 12px;
  padding: 22px 24px;
  opacity: 0;
  transform: translateY(22px);
}
.svc-strength-visual.is-visible .svc-compare {
  animation: svcCardIn .7s cubic-bezier(.22,.61,.36,1) forwards;
}
.svc-strength-visual.is-visible .svc-compare-good { animation-delay: .35s; }
.svc-compare-bad {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
}
.svc-compare-good {
  position: relative;
  background: linear-gradient(135deg, rgba(91,143,214,0.22) 0%, rgba(31,43,70,0.55) 100%);
  border: 1px solid rgba(126,176,238,0.55);
  box-shadow: 0 24px 55px rgba(0,0,0,0.4), 0 0 0 4px rgba(91,143,214,0.12);
}
.svc-compare-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 14px;
}
.svc-compare-bad .svc-compare-label { color: #b9c2d1; }
.svc-compare-good .svc-compare-label { color: #fff; }
.svc-compare-good .svc-compare-label i { color: #9ec1f0; }
.svc-compare-bad .svc-compare-label i { color: #8e98a8; }
.svc-compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}
.svc-compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  line-height: 1.55;
}
.svc-compare-list li i { flex: none; margin-top: 2px; font-size: 1.05rem; }
.svc-compare-bad .svc-compare-list li {
  color: #98a2b3;
  text-decoration: line-through;
  text-decoration-color: rgba(152,162,179,0.5);
}
.svc-compare-bad .svc-compare-list li i { color: #6b7585; }
.svc-compare-good .svc-compare-list li { color: #eef3fb; font-weight: 600; }
.svc-compare-good .svc-compare-list li i { color: #7fb0ee; }
.svc-compare-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  background: linear-gradient(135deg, #3a5a8c, #5b8fd6);
  box-shadow: 0 8px 22px rgba(91,143,214,0.5);
  animation: svcArrowBounce 1.8s ease-in-out infinite;
}

@keyframes svcCardIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes svcArrowBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* 業種別カード */
.industry-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  padding: 0 28px 28px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(31,43,70,0.12);
  border-color: rgba(91,143,214,0.5);
}
.industry-img {
  margin: 0 -28px 22px;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: var(--color-gray);
}
.industry-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.industry-card:hover .industry-img img { transform: scale(1.06); }
.industry-name {
  font-family: var(--font-mincho);
  font-feature-settings: "palt";
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}
.industry-sys {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.industry-sys li {
  position: relative;
  padding-left: 20px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--color-text);
}
.industry-sys li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, #3a5a8c, #5b8fd6);
}

@keyframes svcBgDrift {
  from { transform: scale(1.08) translateY(0); }
  to   { transform: scale(1.16) translateY(-20px); }
}
@keyframes svcGlow {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%      { opacity: .95; transform: scale(1.18); }
}
@keyframes svcFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes svcPointIn {
  to { opacity: 1; transform: translateX(0); }
}
@keyframes svcChipIn {
  from { opacity: 0; transform: translateY(16px) scale(.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .svc-strength-bg,
  .svc-strength-glow,
  .svc-visual-frame,
  .svc-chip { animation: none !important; }
}
@media (max-width: 991.98px) {
  .svc-strength-visual { min-height: 320px; margin-top: 10px; }
  .svc-chip { font-size: 0.8rem; padding: 7px 13px; }
}

/* サービス詳細リスト */
.svc-list { max-width: 980px; margin: 0 auto; }
.svc-item {
  display: flex;
  gap: clamp(24px, 5vw, 56px);
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--color-border);
}
.svc-item:first-child { border-top: none; padding-top: 0; }
.svc-item-head { flex: 0 0 230px; }
.svc-item-no {
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #1f2b46 0%, #5b8fd6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 14px;
}
.svc-item-en {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--color-gold);
}
.svc-item-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 6px 0 0;
}
.svc-item-body { flex: 1 1 auto; }
.svc-feature {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.svc-feature li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--color-text);
}
.svc-feature li i { flex: none; margin-top: 3px; color: #3a5a8c; }
@media (max-width: 767.98px) {
  .svc-item { flex-direction: column; gap: 16px; }
  .svc-item-head { flex: none; }
}

/* =========================================================
   プライバシーポリシー（リンク風ボタン / モーダル）
========================================================= */
.privacy-link {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  color: #3a5a8c;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.privacy-link:hover { color: #5b8fd6; }
.privacy-modal .modal-content {
  border: none;
  border-radius: 10px;
  overflow: hidden;
}
.privacy-modal .modal-header {
  background: linear-gradient(135deg, #1f2b46 0%, #3a5a8c 60%, #5b8fd6 100%);
  color: #fff;
  border-bottom: none;
  padding: 20px 26px;
}
.privacy-modal .modal-title {
  font-family: var(--font-mincho);
  font-feature-settings: "palt";
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
}
.privacy-modal .modal-header .btn-close {
  filter: invert(1) grayscale(1) brightness(2);
  opacity: 0.9;
}
.privacy-modal .modal-body { padding: 26px; }
.privacy-modal .modal-body .body-text { margin-bottom: 12px; }
.privacy-block { margin-top: 22px; }
.privacy-block h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 8px;
  padding-left: 12px;
  border-left: 3px solid #5b8fd6;
}
.privacy-list {
  margin: 6px 0 0;
  padding-left: 20px;
}
.privacy-list li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 4px;
}
.privacy-modal .modal-footer { border-top: 1px solid var(--color-border); padding: 16px 26px; }

/* =========================================================
   制作事例 詳細（WORKS DETAIL）
========================================================= */
.work-detail-head { margin-bottom: 26px; }
.work-detail-cat {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--color-gold);
  margin-bottom: 10px;
}
.work-detail-title {
  font-family: var(--font-mincho);
  font-feature-settings: "palt";
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 16px;
}
.work-detail-mv {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 40px;
  aspect-ratio: 16 / 9;
  background: var(--color-gray);
}
.work-detail-mv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-detail-lead {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-dark);
  font-weight: 500;
  padding-bottom: 26px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--color-border);
}
.work-section { margin-bottom: 34px; }
.work-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 14px;
}
.work-section-no {
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #1f2b46 0%, #3a5a8c 50%, #5b8fd6 100%);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.work-detail-gallery {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}
.work-detail-gallery img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* 右：プロジェクト概要 */
.work-detail-info {
  background: var(--color-gray);
  border-radius: 10px;
  padding: 26px 24px;
  position: sticky;
  top: 100px;
}
.work-info-head {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-dark);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
.work-info-list { margin: 0 0 18px; }
.work-info-list dt {
  font-size: 0.78rem;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.04em;
}
.work-info-list dd {
  font-size: 0.98rem;
  color: var(--color-dark);
  margin: 2px 0 14px;
}

/* 前後ナビ */
.work-detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid var(--color-border);
}
.work-detail-nav > div { flex: 1; }
.work-detail-nav a {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-dark);
  text-decoration: none;
  transition: color .3s ease;
}
.work-detail-nav a:hover { color: #5b8fd6; }
.work-nav-list {
  flex: none;
  padding: 8px 18px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

@media (max-width: 991.98px) {
  .work-detail-info { position: static; margin-top: 10px; }
}

/* 一覧カード：業種（画像右下に重ねる） */
.work-industry {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: rgba(12,12,12,0.85);
  border-radius: 2px;
  padding: 4px 12px;
}

/* =========================================================
   制作事例 詳細：ヒーロー / KPI / ステップ / お客様の声
========================================================= */
.work-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 130px 0 56px;
}
.work-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: svcBgDrift 24s ease-in-out infinite alternate;
}
.work-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,19,34,0.45) 0%, rgba(12,19,34,0.82) 100%);
}
.work-hero-inner { position: relative; z-index: 2; }
.breadcrumb-kw.light a { color: rgba(255,255,255,0.85); }
.breadcrumb-kw.light span,
.breadcrumb-kw.light .sep { color: rgba(255,255,255,0.6); }
.work-hero-cat {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #9ec1f0;
  margin: 18px 0 10px;
}
.work-hero-title {
  font-family: var(--font-mincho);
  font-feature-settings: "palt";
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  margin: 0 0 18px;
}
.work-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.work-hero-meta .tag-list { margin: 0; }
.work-hero-industry {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1f2b46;
  background: #fff;
  border-radius: 2px;
  padding: 5px 14px;
}

/* KPI */
.work-kpi-sec {
  background: var(--color-dark);
  padding: 0;
}
.work-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
}
.work-kpi {
  background: var(--color-dark);
  text-align: center;
  padding: 36px 16px;
}
.work-kpi-value {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #9ec1f0 0%, #ffffff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.work-kpi-label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ステップ（課題→施策→効果） */
.work-steps {
  position: relative;
  margin-bottom: 14px;
}
.work-step {
  position: relative;
  display: flex;
  gap: 22px;
  padding-bottom: 36px;
}
.work-step:last-child { padding-bottom: 0; }
.work-step::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: -4px;
  width: 2px;
  background: var(--color-border);
}
.work-step:last-child::before { display: none; }
.work-step-mark {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #1f2b46 0%, #3a5a8c 50%, #5b8fd6 100%);
  box-shadow: 0 8px 20px rgba(91,143,214,0.3);
}
.work-step.is-result .work-step-mark {
  background: linear-gradient(135deg, #1f7a52 0%, #36b37e 100%);
  box-shadow: 0 8px 20px rgba(54,179,126,0.35);
}
.work-step-body { flex: 1 1 auto; padding-top: 4px; }
.work-step-label {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 8px;
}
.work-step.is-result .work-step-label { color: #1f7a52; }

/* お客様の声 */
.work-voice {
  position: relative;
  margin: 38px 0 0;
  padding: 34px 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f4f8fe 0%, #eef3fb 100%);
  border: 1px solid rgba(91,143,214,0.25);
}
.work-voice-icon {
  font-size: 2rem;
  color: #5b8fd6;
  line-height: 1;
}
.work-voice-text {
  font-size: 1.08rem;
  line-height: 1.9;
  font-weight: 500;
  color: var(--color-dark);
  margin: 8px 0 12px;
}
.work-voice-author {
  font-size: 0.92rem;
  color: #5a6b86;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .work-kpi-row { grid-template-columns: 1fr; }
  .work-kpi { padding: 26px 16px; }
  .work-hero { min-height: 380px; padding-top: 110px; }
}

/* =========================================================
   制作事例 詳細：箇条書き（機能 / 導入効果 / 拡張例）
========================================================= */
.sw-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sw-list li {
  position: relative;
  padding: 12px 14px 12px 44px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-border);
}
.sw-list li:last-child { border-bottom: none; }
.sw-list li::before {
  content: "\F633"; /* bi-check-lg */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #3a5a8c 0%, #5b8fd6 100%);
}
.sw-list.sw-list-result li::before {
  background: linear-gradient(135deg, #1f7a52 0%, #36b37e 100%);
}

/* 今後の拡張例：チップ表示 */
.sw-future-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sw-future-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #3a5a8c;
  background: #f4f8fe;
  border: 1px solid rgba(91,143,214,0.3);
  border-radius: 999px;
  padding: 8px 16px;
}
.sw-future-list li i { font-size: 0.95rem; color: #5b8fd6; }

/* =========================================================
   CONCEPT 見出し：上下2色＋水面が流れる波アニメーション（SVG）
========================================================= */
.concept-title-wrap {
  line-height: 1;
  margin-bottom: 18px;
}
.concept-wave {
  width: 100%;
  max-width: 660px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* =========================================================
   制作事例 一覧：絞り込みフィルター
========================================================= */
.works-filter {
  background: #f6f9fd;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 30px;
}
.works-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
}
.works-filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 180px;
  min-width: 160px;
}
.works-filter-field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #5a6b86;
  margin: 0;
}
.works-filter-field select,
.works-filter-field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font-size: 0.95rem;
  color: var(--color-dark);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.works-filter-field select:focus,
.works-filter-field input:focus {
  outline: none;
  border-color: #5b8fd6;
  box-shadow: 0 0 0 3px rgba(91,143,214,0.18);
}
.works-filter-keyword { flex: 2 1 240px; }
.works-filter-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
.works-filter-actions .btn { height: 46px; display: inline-flex; align-items: center; }
.works-filter-result {
  font-size: 0.92rem;
  color: #5a6b86;
  margin-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.works-filter-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #3a5a8c;
  background: #eef3fb;
  border: 1px solid rgba(91,143,214,0.3);
  border-radius: 999px;
  padding: 4px 12px;
}
@media (max-width: 767.98px) {
  .works-filter-actions { flex: 1 1 100%; }
  .works-filter-actions .btn { flex: 1; justify-content: center; }
}

/* 一覧カード：詳細リンク */
.work-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #3a5a8c;
  transition: gap .3s ease, color .3s ease;
}
.work-card:hover .work-card-more { gap: 12px; color: #5b8fd6; }
.work-card-more i { transition: transform .3s ease; }

/* =========================================================
   ABOUT（会社概要）
========================================================= */

/* --- MISSION（我々の想い） --- */
.about-mission {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: #0b0d12;
  color: #fff;
  isolation: isolate;
}
.about-mission-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(120% 80% at 70% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 80% at 70% 20%, #000 30%, transparent 75%);
}
.about-mission-glow {
  position: absolute;
  z-index: -1;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
}
.about-mission-glow.g1 {
  top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(42,167,225,0.55), transparent 65%);
  animation: aboutGlowFloat 16s ease-in-out infinite;
}
.about-mission-glow.g2 {
  bottom: -200px; left: -140px;
  background: radial-gradient(circle, rgba(124,115,180,0.5), transparent 65%);
  animation: aboutGlowFloat 20s ease-in-out infinite reverse;
}
@keyframes aboutGlowFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, 30px); }
}
.about-mission-inner { max-width: 880px; }
.about-mission-eyebrow {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: rgba(255,255,255,0.55);
  margin: 0 0 26px;
  padding-left: 56px;
  position: relative;
}
.about-mission-eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 40px; height: 1px;
  background: linear-gradient(to right, #2AA7E1, #7C73B4);
}
.about-mission-title {
  font-family: var(--font-mincho);
  font-feature-settings: "palt";
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin: 0 0 36px;
}
.about-mission-title .grad {
  background: linear-gradient(100deg, #2AA7E1 0%, #5470B5 50%, #9b7fd0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.about-mission-text {
  max-width: 720px;
}
.about-mission-text p {
  font-size: 1.02rem;
  line-height: 2.1;
  color: rgba(255,255,255,0.82);
  margin: 0 0 18px;
}
.about-mission-text strong { color: #fff; font-weight: 700; }
.about-mission-sign {
  margin: 34px 0 0;
  font-family: var(--font-mincho);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
}

/* --- VALUES（大切にしていること） --- */
.about-values-sec { background: var(--color-gray); }
.about-values { margin-top: 18px; }
.about-value-card {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 38px 26px 30px;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease, border-color .4s ease;
}
.about-value-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, #2AA7E1, #5470B5, #7C73B4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}
.about-value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(20,34,60,0.12);
  border-color: transparent;
}
.about-value-card:hover::before { transform: scaleX(1); }
.about-value-no {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(84,112,181,0.12);
}
.about-value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, #2AA7E1, #5470B5);
  box-shadow: 0 10px 22px rgba(84,112,181,0.3);
  margin-bottom: 22px;
}
.about-value-en {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 6px;
}
.about-value-title {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-dark);
  margin: 0 0 12px;
}
.about-value-text {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--color-text);
  margin: 0;
}

/* --- STORY（なぜシステム開発か） --- */
.about-story-sec { padding: 110px 0; background: #fff; }
.about-story-head { position: sticky; top: 110px; }
.about-story-head .heading-lg { margin-bottom: 26px; }
.about-story-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-story-block {
  display: flex;
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid var(--color-border);
}
.about-story-block:first-child { border-top: none; padding-top: 0; }
.about-story-step {
  flex: 0 0 auto;
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2AA7E1, #7C73B4);
  box-shadow: 0 8px 18px rgba(84,112,181,0.28);
}
.about-story-title {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-dark);
  margin: 6px 0 12px;
}
.about-story-block .body-text { margin-bottom: 0; }

/* --- STATS（数字） --- */
.about-stats-sec {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background: #0b0d12;
  color: #fff;
  isolation: isolate;
}
.about-stats-glow {
  position: absolute;
  z-index: -1;
  top: 50%; left: 50%;
  width: 900px; height: 460px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(84,112,181,0.4), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.about-stat {
  text-align: center;
  padding: 14px 18px;
  position: relative;
}
.about-stats .col-12.col-md-4:not(:last-child) .about-stat::after {
  content: "";
  position: absolute;
  top: 14px; bottom: 14px; right: 0;
  width: 1px;
  background: rgba(255,255,255,0.12);
}
.about-stat-num {
  font-family: var(--font-en);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 16px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.about-stat-num .count {
  font-size: clamp(3rem, 8vw, 4.6rem);
  background: linear-gradient(120deg, #6cc4f0 0%, #8aa0e0 55%, #b39bdf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.about-stat-num .unit {
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.about-stat-label {
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.72);
  margin: 0 auto;
  max-width: 280px;
}

/* --- COMPANY PROFILE（会社概要） --- */
.about-profile-sec { background: var(--color-gray); }
.about-profile {
  max-width: 880px;
  margin: 44px auto 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(20,34,60,0.06);
}
.about-profile-table { margin: 0; }
.about-profile-row {
  display: flex;
  border-top: 1px solid var(--color-border);
}
.about-profile-row:first-child { border-top: none; }
.about-profile-row dt {
  flex: 0 0 200px;
  padding: 24px 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-dark);
  background: #fafafa;
  border-right: 1px solid var(--color-border);
  position: relative;
}
.about-profile-row dt::before {
  content: "";
  position: absolute;
  left: 0; top: 24px; bottom: 24px;
  width: 3px;
  background: linear-gradient(to bottom, #2AA7E1, #7C73B4);
}
.about-profile-row dd {
  flex: 1;
  padding: 24px 28px;
  margin: 0;
  line-height: 1.9;
  color: var(--color-text);
}
.about-profile-row dd a { color: #3a5a8c; }
.about-profile-row dd a:hover { color: var(--color-gold); }

@media (max-width: 991.98px) {
  .about-story-head { position: static; }
}
@media (max-width: 767.98px) {
  .about-mission { padding: 84px 0; }
  .about-mission-eyebrow { padding-left: 0; }
  .about-mission-eyebrow::before { display: none; }
  .about-story-sec { padding: 80px 0; }
  .about-story-block { gap: 16px; padding: 24px 0; }
  .about-story-step { width: 38px; height: 38px; font-size: 1rem; }
  .about-stats .col-12.col-md-4:not(:last-child) .about-stat::after { display: none; }
  .about-profile-row { flex-direction: column; }
  .about-profile-row dt {
    flex: none;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 16px 22px;
  }
  .about-profile-row dt::before { top: 16px; bottom: 16px; }
  .about-profile-row dd { padding: 18px 22px; }
}

/* =========================================================
   VOICE（お客様の声）
========================================================= */

/* 星評価 */
.voice-stars {
  display: inline-flex;
  gap: 5px;
  color: #ffc400;
  font-size: 1.2rem;
  line-height: 1;
}
.voice-stars .bi-star-fill { color: #ffc400; }
.voice-stars .bi-star { color: #e2e2e2; }

/* 一覧上部の平均評価 */
.voice-avg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(20,34,60,0.06);
}
.voice-avg .voice-stars { font-size: 1.1rem; }
.voice-avg-num {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-dark);
}
.voice-avg-label { font-size: 0.82rem; color: #888; }

/* 声カード */
.voice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 26px 24px 22px;
  color: var(--color-text);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease, border-color .4s ease;
}
.voice-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, #2AA7E1, #5470B5, #7C73B4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}
.voice-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(20,34,60,0.12);
  border-color: transparent;
}
.voice-card:hover::before { transform: scaleX(1); }
.voice-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.voice-avatar {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef3fb;
}
.voice-avatar img { width: 100%; height: 100%; object-fit: cover; }
.voice-avatar-initial {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 700;
  color: #5b8fd6;
}
.voice-card-meta { display: flex; flex-direction: column; gap: 5px; }
.voice-card-industry {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--color-dark);
  border-radius: 3px;
  padding: 2px 9px;
}
.voice-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-dark);
  margin: 0 0 10px;
}
.voice-card-text {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--color-text);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.voice-card-name {
  font-size: 0.82rem;
  color: #888;
  margin: 0 0 10px;
}
.voice-card .tag-list { margin-top: auto; }
.voice-card .work-card-more { margin-top: 14px; }
.voice-card:hover .work-card-more { gap: 12px; color: #5b8fd6; }

/* 詳細：お客様プロフィール */
.voice-detail-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}
.voice-avatar-lg { width: 84px; height: 84px; }
.voice-avatar-lg .voice-avatar-initial { font-size: 2rem; }
.voice-detail-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 8px;
}
.voice-detail-rating { display: flex; align-items: center; gap: 10px; }
.voice-detail-rating .voice-stars { font-size: 1.25rem; }
.voice-rating-num {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
}
.voice-detail-lead {
  font-size: 1.05rem;
  line-height: 2;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 36px;
}

/* 詳細：依頼前→相談→依頼後の流れ */
.voice-flow {
  position: relative;
  margin: 0 0 40px;
  padding-left: 8px;
}
.voice-flow-step {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 0 0 28px 0;
}
.voice-flow-step::before {
  content: "";
  position: absolute;
  left: 27px; top: 56px; bottom: -4px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(91,143,214,0.5), rgba(124,115,180,0.2));
}
.voice-flow-step:last-child::before { display: none; }
.voice-flow-icon {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  z-index: 1;
}
.voice-flow-before .voice-flow-icon { background: linear-gradient(135deg, #8a94a6, #5f6b77); }
.voice-flow-reason .voice-flow-icon { background: linear-gradient(135deg, #2AA7E1, #5470B5); }
.voice-flow-after .voice-flow-icon  { background: linear-gradient(135deg, #34c38f, #2a9d8f); }
.voice-flow-body { padding-top: 4px; }
.voice-flow-label {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin: 0 0 4px;
}
.voice-flow-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 10px;
}
.voice-flow-body .body-text { margin-bottom: 0; }

/* 詳細：お客様コメント（引用） */
.voice-quote {
  position: relative;
  margin: 0;
  padding: 34px 32px 28px;
  background: linear-gradient(135deg, #f3f7fd, #eef0f8);
  border-radius: 10px;
  border: 1px solid rgba(91,143,214,0.18);
}
.voice-quote-mark {
  position: absolute;
  top: 14px; left: 18px;
  font-size: 2.6rem;
  color: rgba(91,143,214,0.28);
}
.voice-quote p {
  position: relative;
  font-size: 1.08rem;
  line-height: 2;
  font-weight: 500;
  color: var(--color-dark);
  margin: 0 0 16px;
  padding-left: 8px;
}
.voice-quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #666;
}
.voice-quote footer .voice-stars { font-size: 1.05rem; }

@media (max-width: 575.98px) {
  .voice-detail-head { gap: 16px; }
  .voice-avatar-lg { width: 68px; height: 68px; }
  .voice-flow-step { gap: 14px; }
  .voice-flow-icon { width: 48px; height: 48px; font-size: 1.25rem; }
  .voice-flow-step::before { left: 23px; top: 48px; }
  .voice-quote { padding: 30px 22px 24px; }
}
