/*
Theme Name: ShikiTech Theme
Theme URI: https://shiki-tech.jp
Author: 合同会社志木テック
Version: 3.0
*/

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --navy:       #0D1B2A;
  --navy-mid:   #1A2F45;
  --navy-light: #243B55;
  --teal:       #00C2A8;
  --teal-dim:   rgba(0,194,168,0.15);
  --orange:     #FF6B35;
  --white:      #FFFFFF;
  --gray:       #6B7A8D;
  --gray-light: #B0BEC5;
  --font-ja:    'Noto Sans JP', sans-serif;
  --ease-out:   cubic-bezier(0.16,1,0.3,1);
  --max-w:      1300px;
  --side-pad:   clamp(1.5rem, 5%, 5rem);
}

/* ============================================================
   Reset / Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* ★ htmlにoverflow指定しない — window.scrollYが壊れるため */
}
body {
  background: linear-gradient(135deg, #0d1b2a 0%, #0a2233 50%, #0d1b2a 100%);
  color: var(--white);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

/* WP全幅リセット */
.wp-site-blocks, .entry-content { max-width: 100% !important; padding: 0 !important; }
.site-main { overflow: hidden; }

/* ============================================================
   共通パーツ
   ============================================================ */
.label-en {
  font-size: 1rem;
  letter-spacing: 0.25em;
  color: var(--teal);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.sec-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--white);
}
.btn-primary {
  display: inline-block;
  padding: .9em 2.2em;
  background: var(--teal);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 2px;
  border: 2px solid var(--teal);
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease-out);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.btn-primary:hover {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-block;
  padding: .9em 2.2em;
  border: 2px solid rgba(255,255,255,.7);
  color: var(--white);
  background: transparent;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 2px;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.badge-soon {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: .25em .8em;
  background: var(--orange);
  color: var(--white);
  border-radius: 2px;
}
.more-link {
  display: inline-block;
  color: var(--teal);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .05em;
  margin-top: 2rem;
  transition: opacity .2s;
}
.more-link:hover { opacity: .7; }

/* ============================================================
   アニメーション
   ============================================================ */
.animate-fade-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.animate-fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   HEADER — 独自HTML版
   ============================================================ */
.st-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,27,42,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,194,168,.15);
  height: 72px;
  transition: top .2s ease, background .3s ease, box-shadow .3s ease;
}
/* WP管理バー表示時のオフセット */
.admin-bar .st-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .st-header {
    top: 46px;
  }
}
/* スクロール時にヘッダーをより不透明に（JSで .is-scrolled を付与） */
.st-header.is-scrolled {
  background: rgba(13,27,42,.98);
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
/* 下スクロール時に隠す */
.st-header.is-hidden {
  transform: translateY(-100%);
}
.st-header {
  transition: transform .35s cubic-bezier(0.16,1,0.3,1),
              background .3s ease,
              box-shadow .3s ease,
              top .2s ease;
}
.st-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.st-header__logo { flex-shrink: 0; display: flex; align-items: center; }
.st-header__logo img { height: 50px; width: auto; display: block; }
.st-header__sitename { font-size: 1.1rem; font-weight: 700; color: var(--white); }

.st-header__nav { flex: 1; display: flex; justify-content: center; }
.st-nav { list-style: none; display: flex; gap: 2rem; align-items: center; margin: 0; padding: 0; }
.st-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  padding: .3em 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.st-nav a:hover { color: var(--teal); border-bottom-color: var(--teal); }

/* ---- ドロップダウンメニュー ---- */
/* 子メニューを持つliに相対位置 */
.st-nav > li { position: relative; }

/* 子メニューの矢印インジケーター */
.st-nav > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: .45em;
  vertical-align: middle;
  transition: transform .2s;
}
.st-nav > li.menu-item-has-children:hover > a::after {
  transform: rotate(-135deg) translateY(-2px);
}

/* サブメニュー本体 */
.st-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 240px;
  background: rgba(13,27,42,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,194,168,.2);
  border-top: 2px solid var(--teal);
  border-radius: 2px;
  list-style: none;
  padding: 1.25rem 0 .5rem;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  z-index: 999;
  white-space: nowrap;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}

/* サブメニューの「くちばし」 */
.st-nav .sub-menu::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--teal);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* ホバーで表示 */
.st-nav > li.menu-item-has-children:hover > .sub-menu,
.st-nav > li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* サブメニューのリンク */
.st-nav .sub-menu a {
  display: block;
  padding: .7rem 1.25rem;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  border-bottom: none;
  transition: color .2s, background .2s, padding-left .2s;
}
.st-nav .sub-menu a:hover {
  color: var(--teal);
  background: rgba(0,194,168,.08);
  padding-left: 1.6rem;
  border-bottom: none;
}
/* サブメニューの区切り線 */
.st-nav .sub-menu li + li {
  border-top: 1px solid rgba(255,255,255,.06);
}

.st-header__cta {
  flex-shrink: 0;
  display: inline-block;
  padding: .55em 1.5em;
  background: var(--teal);
  color: var(--navy);
  font-size: .95rem;
  font-weight: 700;
  border-radius: 2px;
  border: 2px solid var(--teal);
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.st-header__cta:hover {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

/* ハンバーガー（SP用） */
.st-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.st-header__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform .3s, opacity .3s;
}

/* ヘッダー高さ分のオフセット */
.site-main { padding-top: 72px; }
.fp-hero { margin-top: -72px; }
.admin-bar .site-main { padding-top: 104px; } /* 72px + 32px管理バー */
.admin-bar .fp-hero { margin-top: -104px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-main { padding-top: 114px; }
  .admin-bar .fp-hero { margin-top: -114px; }
}

/* ============================================================
   FOOTER — 独自HTML版
   ============================================================ */
.st-footer {
  background: #080f18;
  border-top: 1px solid rgba(0,194,168,.12);
  padding: 4rem var(--side-pad) 0;
  overflow-x: hidden;
}
.st-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.st-footer__brand { flex-shrink: 0; }
.st-footer__brand img { height: 36px; width: auto; margin-bottom: 1rem; }
.st-footer__sitename { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; display: block; }
.st-footer__tagline { font-size: .88rem; color: var(--gray); margin-top: .5rem; }

.st-footer__nav { display: flex; gap: 4rem; flex: 1; justify-content: flex-end; }
.st-footer__col-title {
  font-size: .85rem;
  letter-spacing: .2em;
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.st-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.st-footer__col a { font-size: .9rem; color: rgba(255,255,255,.55); transition: color .2s; }
.st-footer__col a:hover { color: var(--white); }
.footer-coming-soon { color: rgba(255,255,255,.25); font-size: .9rem; cursor: default; }

.st-footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 0;
}
.st-footer__copy { font-size: .8rem; color: rgba(255,255,255,.25); }

/* ============================================================
   S1: HERO
   ============================================================ */
.fp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* グラデーション発光 — ::before/:afterの代わりにinset要素で実装 */
}
.hero-swiper {
  position: absolute !important;
  inset: 0;
  z-index: 0;
  overflow: hidden !important;
}
.hero-swiper .swiper-slide {
  background-size: cover;
  background-position: center;
}
.hero-swiper .swiper-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,.9) 0%, rgba(0,60,80,.55) 60%, rgba(13,27,42,.5) 100%);
}
.hero-swiper .swiper-pagination { bottom: 2rem !important; z-index: 10; }
.hero-swiper .swiper-pagination-bullet { background: rgba(255,255,255,.4); width: 8px; height: 8px; }
.hero-swiper .swiper-pagination-bullet-active { background: var(--teal); width: 28px; border-radius: 4px; }

/* グラデーション発光オーバーレイ */
.fp-hero__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 65% at 88% 15%, rgba(0,194,168,.28) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 8% 85%, rgba(0,180,150,.2) 0%, transparent 55%) !important;
}

.fp-hero__inner {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 var(--side-pad);
  padding-left: max(var(--side-pad), 6%);
}
.fp-hero__eyebrow {
  font-size: .95rem;
  letter-spacing: .25em;
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.fp-hero__catch {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -.01em;
}
.fp-hero__catch em { font-style: normal; color: var(--teal); }
.fp-hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,.75);
  margin-bottom: 2.5rem;
  line-height: 1.9;
}
.fp-hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.fp-hero__deco {
  position: absolute;
  right: 2.5%;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: .65rem;
  letter-spacing: .3em;
  color: rgba(255,255,255,.18);
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
  white-space: nowrap;
}

/* ============================================================
   S2: COUNTER
   ============================================================ */
.fp-counter {
  padding: 4rem var(--side-pad);
  border-top: 1px solid rgba(0,194,168,.2);
  border-bottom: 1px solid rgba(0,194,168,.2);
  background: linear-gradient(90deg, #1a2f45 0%, #0a2a3a 50%, #1a2f45 100%);
  /* グラデーション発光 */
  position: relative;
  overflow: hidden;
}
.fp-counter__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 150% at 50% 50%, rgba(0,194,168,.25) 0%, transparent 60%) !important;
}
.fp-counter__grid {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 8rem);
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
}
.fp-counter__item { text-align: center; }
.fp-counter__num {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
}
.fp-counter__unit { font-size: .5em; font-weight: 700; color: var(--teal); }
.fp-counter__label { font-size: .9rem; color: var(--gray-light); margin-top: .5rem; letter-spacing: .05em; }

/* ============================================================
   S3: SERVICES — ブロークングリッド
   ============================================================ */
.fp-services {
  padding: 8rem var(--side-pad) 6rem;
  background: linear-gradient(160deg, #0d1b2a 0%, #0a2233 40%, #0d2535 100%);
  position: relative;
  overflow: hidden;
}
.fp-services__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(0,194,168,.18) 0%, transparent 55%) !important;
}
.fp-services__head { margin-bottom: 3rem; position: relative; z-index: 1; }

.fp-services__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: minmax(340px, auto) minmax(280px, auto) minmax(160px, auto);
  gap: 14px;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* カード共通 */
.sv-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--navy-mid);
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .3s;
}
.sv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,194,168,.12);
  border-color: rgba(0,194,168,.25);
}
.sv-card__img {
  background-size: cover;
  background-position: center;
  transition: transform .5s var(--ease-out);
  overflow: hidden;
  flex-shrink: 0;
}
.sv-card:hover .sv-card__img { transform: scale(1.05); }
.sv-card__body {
  padding: 1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.sv-card__icon { font-size: 1.4rem; }
.sv-card__title { font-size: 1rem; font-weight: 700; color: var(--white); }
.sv-card__desc { font-size: .95rem; color: var(--gray-light); line-height: 1.6; flex: 1; }
.sv-card__link { font-size: .9rem; color: var(--teal); font-weight: 600; margin-top: .5rem; transition: opacity .2s; }
.sv-card__link:hover { opacity: .7; }

/* === グリッド配置 ===
   Row1(380px): [Card1:大 col1-7] [Card2:縦長 col7-13 row1-3]
   Row2(260px): [Card3 col1-4] [Card4 col4-7]
   Row3(200px): [Card5 col1-7]
*/
.sv-card--lg    { grid-column: 1 / 7;  grid-row: 1; }
.sv-card--lg .sv-card__img { height: 230px; }

.sv-card--tall  { grid-column: 7 / 13; grid-row: 1 / 4; }
.sv-card--tall .sv-card__img { flex: 1; min-height: 0; }

.sv-card:nth-child(3) { grid-column: 1 / 4; grid-row: 2; min-height: 0; }
.sv-card:nth-child(3) .sv-card__img { height: 90px; }

.sv-card--wide  { grid-column: 4 / 7;  grid-row: 2; min-height: 0; }
.sv-card--wide .sv-card__img { height: 90px; }

.sv-card--badge { grid-column: 1 / 7;  grid-row: 3; flex-direction: row; min-height: 160px; }
.sv-card--badge .sv-card__img { width: 40%; flex-shrink: 0; height: auto; min-height: 140px; }
.sv-card--badge .sv-card__body { justify-content: center; padding: 2rem; }

/* ============================================================
   S4: WHY — コラージュ
   ============================================================ */
.fp-why {
  padding: 8rem var(--side-pad) 10rem;
  overflow: hidden;
  background: linear-gradient(160deg, #0d1b2a 0%, #091e2e 35%, #112233 70%, #1a2f45 100%);
  position: relative;
}
.fp-why__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 8% 15%, rgba(0,194,168,.22) 0%, transparent 50%),
    radial-gradient(ellipse 45% 55% at 92% 85%, rgba(0,180,150,.18) 0%, transparent 50%) !important;
}
.fp-why__bg-text {
  position: absolute;
  font-size: clamp(6rem, 18vw, 16rem);
  font-weight: 900;
  color: rgba(0,194,168,.04);
  top: 5%;
  left: -2%;
  letter-spacing: -.03em;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}
.fp-why__head {
  position: relative;
  z-index: 2;
  margin-bottom: 4rem;
}

/* WHY — 2×2カードグリッド */
.fp-why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin: 0 calc(-1 * var(--side-pad));
  overflow: hidden;
}

/* カード全体 */
.why-card {
  position: relative;
  overflow: hidden;
  background: var(--navy-mid);
  transition: background .3s;
}
.why-card:hover { background: #1e3550; }

/* 画像エリア */
.why-card__img {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
  transition: transform .6s var(--ease-out);
  position: relative;
}
.why-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    transparent 40%,
    rgba(13,27,42,.75) 100%);
}
.why-card:hover .why-card__img { transform: scale(1.04); }

/* テキストエリア */
.why-card__body {
  padding: 2rem 2.5rem 2.5rem;
  position: relative;
  border-top: 1px solid rgba(0,194,168,.12);
  transition: border-color .3s;
}
.why-card:hover .why-card__body { border-color: rgba(0,194,168,.35); }

/* ティールの左ボーダーアクセント */
.why-card__body::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.why-card:hover .why-card__body::before { opacity: 1; }

/* 番号 */
.why-card__num {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: var(--teal);
  opacity: .18;
  line-height: 1;
  margin-bottom: .5rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

/* タイトル */
.why-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: .75rem;
}

/* 説明文 */
.why-card__desc {
  font-size: 1rem;
  color: var(--gray-light);
  line-height: 1.8;
}

/* 古いレイアウト用クラスは無効化 */
.fp-why__collage, .why-row { display: contents; }
.why-img { display: none; }
.why-card--01, .why-card--02, .why-card--03, .why-card--04 { all: unset; }

/* ============================================================
   S5: GROUP
   ============================================================ */
.fp-group {
  padding: 8rem var(--side-pad) 6rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0d1b2a 0%, #0e2030 60%, #1a2f45 100%);
}
.fp-group__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,194,168,.14) 0%, transparent 60%) !important;
}
.fp-group__head { margin-bottom: 3rem; position: relative; z-index: 1; }
.fp-group__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.gp-card {
  background: var(--navy-mid);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform .35s var(--ease-out), border-color .3s, box-shadow .35s;
}
.gp-card__link { display: inline-block; margin-top: .75rem; font-size: .85rem; font-weight: 600; color: var(--teal); transition: opacity .2s; }
.gp-card__link:hover { opacity: .75; }
.gp-card:hover { transform: translateY(-7px); border-color: var(--teal); box-shadow: 0 20px 50px rgba(0,194,168,.12); }
.gp-card__img { height: 220px; background-size: cover; background-position: center; transition: transform .5s var(--ease-out); }
.gp-card:hover .gp-card__img { transform: scale(1.05); }
.gp-card__body { padding: 1.5rem 1.75rem 2rem; display: flex; flex-direction: column; gap: .4rem; }
.gp-card__icon { font-size: 1.6rem; }
.gp-card__title { font-size: 1.05rem; font-weight: 700; color: var(--white); }
.gp-card__desc  { font-size: 1rem; color: var(--gray-light); flex: 1; margin-bottom: .5rem; }

/* ============================================================
   S6: NEWS
   ============================================================ */
.fp-news {
  padding: 7rem var(--side-pad) 5rem;
  background: linear-gradient(180deg, #1a2f45 0%, #0e2236 60%, #091c2e 100%);
}
.fp-news__head { margin-bottom: 2.5rem; }
.fp-news__list { max-width: 900px; margin-left: auto; margin-right: auto; border-top: 1px solid rgba(255,255,255,.08); }
.news-row {
  display: grid;
  grid-template-columns: 110px 1fr 30px;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: padding-left .2s, background .2s;
}
.news-row:hover { background: rgba(0,194,168,.05); padding-left: .75rem; }
.news-row__date  { font-size: .85rem; color: var(--teal); font-weight: 600; letter-spacing: .05em; white-space: nowrap; }
.news-row__title { font-size: 1rem; color: var(--white); }
.news-row__arrow { color: var(--teal); font-size: 1rem; text-align: right; }
.news-empty { color: var(--gray); font-size: 1rem; padding: 2rem 0; }
.fp-news .more-link { display: block; text-align: right; max-width: 900px; margin: 1.5rem auto 0; }

/* ============================================================
   S7: CTA
   ============================================================ */
.fp-cta {
  padding: 10rem var(--side-pad);
  text-align: center;
  border-top: 1px solid rgba(0,194,168,.15);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1b2a 0%, #0a2233 50%, #0d1b2a 100%);
}
.fp-cta__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 90% at 25% 50%, rgba(0,194,168,.24) 0%, transparent 50%),
    radial-gradient(ellipse 50% 75% at 80% 50%, rgba(0,180,150,.18) 0%, transparent 50%) !important;
}
.fp-cta__inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.fp-cta__title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; line-height: 1.3; margin-bottom: 1.5rem; }
.fp-cta__sub    { color: rgba(255,255,255,.6); font-size: 1rem; margin-bottom: 2.5rem; line-height: 1.9; }


/* ============================================================
   Glow共通 — 確実にabsoluteで背景発光
   ============================================================ */
.fp-hero__glow,
.fp-counter__glow,
.fp-services__glow,
.fp-why__glow,
.fp-group__glow,
.fp-cta__glow {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
/* glow親にposition:relativeを確実に */
.fp-hero, .fp-counter, .fp-services, .fp-why, .fp-group, .fp-cta {
  position: relative;
}
/* glow内のコンテンツをz-index:1以上に */
.fp-counter__grid,
.fp-services__head, .fp-services__grid,
.fp-why__head, .fp-why__grid, .fp-why__bg-text,
.fp-group__head, .fp-group__grid,
.fp-cta__inner {
  position: relative;
  z-index: 1;
}

/* Swiper横スクロール防止 */
.fp-hero { overflow: hidden !important; }
.hero-swiper { overflow: hidden !important; }
.swiper-wrapper { will-change: transform; }
/* 各スライドをcontain:strictで閉じ込め */
.swiper-slide {
  transform: translateZ(0);
  contain: layout style;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 900px) {
  /* サービスグリッド: 1カラム積み重ね */
  .fp-services__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }
  .sv-card--lg, .sv-card--tall, .sv-card:nth-child(3),
  .sv-card--wide, .sv-card--badge {
    grid-column: auto;
    grid-row: auto;
    flex-direction: column;
  }
  /* 全カード画像高さを180pxに統一 */
  .sv-card .sv-card__img { height: 180px !important; flex: none !important; width: 100% !important; }
  .sv-card--badge { flex-direction: column; }
}

@media (max-width: 767px) {
  .st-header__nav { display: block; }
  .st-header__cta { display: none; }
  /* ハンバーガードロワー */
  .st-header__nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10,22,36,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1rem 2rem 2rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s cubic-bezier(0.16,1,0.3,1), opacity .3s;
    border-bottom: 1px solid rgba(0,194,168,.2);
    z-index: 998;
  }
  .st-header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .st-nav { flex-direction: column; gap: 0; align-items: flex-start; }
  .st-nav li { width: 100%; border-bottom: 1px solid rgba(255,255,255,.07); }
  .st-nav a { display: block; padding: .9rem 0; font-size: 1rem; border-bottom: none !important; }
  /* SP: ドロップダウン無効化 */
  .st-nav > li.menu-item-has-children > a::after { display: none; }
  .st-nav .sub-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    background: rgba(0,0,0,.2);
    border: none;
    border-top: none;
    border-left: 2px solid rgba(0,194,168,.3);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
    margin-left: 1rem;
    display: none;
  }
  .st-nav .sub-menu::before { display: none; }
  .st-nav > li.menu-item-has-children.is-sp-open > .sub-menu { display: block; }
  .st-nav .sub-menu a {
    padding: .65rem 1rem;
    font-size: .9rem;
    color: rgba(255,255,255,.6);
  }
  .st-nav .sub-menu a:hover { padding-left: 1.3rem; background: none; }
  .st-nav .sub-menu li + li { border-top: 1px solid rgba(255,255,255,.05); }
  /* SP: 子メニュー展開トグルボタン（767px以下のみ表示） */
  .st-nav-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,.5);
    font-size: 1.2rem;
    padding: .5rem;
    cursor: pointer;
    line-height: 1;
    transition: color .2s, transform .2s;
  }
  .menu-item-has-children { position: relative; }
  .menu-item-has-children.is-sp-open .st-nav-toggle { color: var(--teal); transform: translateY(-50%) rotate(180deg); }

  /* ハンバーガー ✕ アニメーション */
  .st-header__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .st-header__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .st-header__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .st-header__hamburger { display: flex; }
  .site-main { padding-top: 60px; }
  .st-header { height: 60px; }
  .fp-hero { margin-top: -60px; }
  .fp-hero__btns { flex-direction: column; align-items: flex-start; }
  .fp-hero__deco { display: none; }

  .fp-services__grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .sv-card--lg, .sv-card--tall, .sv-card:nth-child(3),
  .sv-card--wide, .sv-card--badge {
    grid-column: auto; grid-row: auto; flex-direction: column;
  }
  /* SP: 全カード画像を150pxに統一 */
  .sv-card .sv-card__img { height: 150px !important; flex: none !important; width: 100% !important; min-height: 0 !important; }

  /* WHY SP: 1カラム */
  .fp-why__grid { grid-template-columns: 1fr; }
  .why-card__img { height: 200px; }
  .why-card__body { padding: 1.5rem; }

  .fp-group__grid { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 90px 1fr 20px; gap: .75rem; }

  /* フッター 1カラム */
  .st-footer__inner { flex-direction: column !important; gap: 2rem !important; }
  .st-footer__nav { flex-direction: column !important; gap: 2rem !important; justify-content: flex-start !important; }
  .st-footer__brand { max-width: 100%; }
  .st-footer__col { width: 100%; }
}

/* ============================================================
   固定ページ — ページヒーロー
   ============================================================ */
.page-hero {
  position: relative;
  height: 360px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,27,42,.45) 0%,
    rgba(13,27,42,.72) 60%,
    rgba(13,27,42,.92) 100%
  );
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad) 3.5rem;
}
.page-hero__label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--teal);
  margin-bottom: .5rem;
}
.page-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0;
}

/* ============================================================
   パンくずバー（ヒーローとコンテンツの間）
   ============================================================ */
.page-breadcrumb-bar {
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.page-breadcrumb-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: .75rem var(--side-pad);
}

/* ============================================================
   パンくずリスト
   ============================================================ */
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 0;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.breadcrumb__link {
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.breadcrumb__link:hover { color: var(--teal); }
.breadcrumb__sep {
  margin: 0 .4em;
  color: rgba(255,255,255,.3);
}
.breadcrumb__item--current span {
  color: rgba(255,255,255,.55);
}

/* ============================================================
   固定ページ — コンテンツエリア
   ============================================================ */
.page-content {
  background: var(--navy);
  padding: 6rem var(--side-pad) 8rem;
}
.page-content__inner {
  max-width: 860px;
  margin: 0 auto;
}

/* Gutenbergブロック基本スタイル */
.page-content__inner h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--white);
  margin: 3rem 0 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--teal);
  line-height: 1.3;
}
.page-content__inner h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--white);
  margin: 2rem 0 .75rem;
  line-height: 1.4;
}
.page-content__inner p {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}
.page-content__inner ul,
.page-content__inner ol {
  padding-left: 1.5em;
  color: rgba(255,255,255,.8);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}
.page-content__inner li { margin-bottom: .4em; }
.page-content__inner strong { color: var(--white); font-weight: 700; }
.page-content__inner a { color: var(--teal); }
.page-content__inner a:hover { opacity: .8; }
.page-content__inner hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,.1);
  margin: 2.5rem 0;
}

/* テーブル（会社概要等） */
.page-content__inner table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  margin-bottom: 2rem;
}
.page-content__inner th,
.page-content__inner td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  vertical-align: top;
  text-align: left;
  line-height: 1.7;
}
.page-content__inner th {
  width: 30%;
  color: var(--teal);
  font-weight: 700;
  white-space: nowrap;
}
.page-content__inner td { color: rgba(255,255,255,.8); }
.page-content__inner tr:first-child th,
.page-content__inner tr:first-child td {
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ============================================================
   固定ページ — レスポンシブ
   ============================================================ */
@media (max-width: 767px) {
  .page-hero { height: 280px; }
  .page-hero__inner { padding-bottom: 2rem; }
  .page-content { padding: 4rem var(--side-pad) 5rem; }
  .page-content__inner th { width: 40%; white-space: normal; }
}


/* ============================================================
   会社紹介ページ（/about）専用テンプレート
   ============================================================ */

/* 共通eyebrow */
.ab-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--teal);
  margin-bottom: .75rem;
}

/* 背景装飾テキスト（共通） */
.ab-bg-text {
  position: absolute;
  font-size: clamp(6rem, 16vw, 14rem);
  font-weight: 900;
  color: rgba(0,194,168,.045);
  top: 0;
  right: -2%;
  letter-spacing: -.03em;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  line-height: 1;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}
.ab-bg-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- S1: リード文（画像回り込み） ---- */
.ab-lead {
  background: var(--navy);
  padding: 8rem var(--side-pad);
  overflow: hidden;
  position: relative;
}
.ab-lead__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.ab-lead__heading {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 1.75rem;
}
.ab-lead__body {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  line-height: 2;
  margin-bottom: 1rem;
}
.ab-lead__img {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.ab-lead__img::before {
  content: '';
  position: absolute;
  inset: -2px;
  border: 2px solid var(--teal);
  border-radius: 4px;
  opacity: .4;
  z-index: 1;
  pointer-events: none;
}
.ab-lead__img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  transition: transform .6s var(--ease-out);
}
.ab-lead__img:hover img { transform: scale(1.04); }

/* ---- S2: ビジョン（フルワイド・3カード） ---- */
.ab-vision {
  background: linear-gradient(160deg, #091e2e 0%, #0d1b2a 40%, #1a2f45 100%);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}
.ab-vision__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(0,194,168,.1) 0%, transparent 65%);
}
.ab-vision__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}
.ab-vision__heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 3.5rem;
}
.ab-vision__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
}
.ab-vision__card {
  background: rgba(13,27,42,.6);
  backdrop-filter: blur(4px);
  overflow: hidden;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.ab-vision__card:nth-child(2) { transition-delay: .12s; }
.ab-vision__card:nth-child(3) { transition-delay: .24s; }
.ab-vision__card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.ab-vision__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.ab-vision__card:hover .ab-vision__card-img img { transform: scale(1.07); }
.ab-vision__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,27,42,.2) 0%, rgba(13,27,42,.7) 100%);
}
.ab-vision__num {
  position: absolute;
  bottom: 1rem;
  left: 1.5rem;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--teal);
  opacity: .35;
  line-height: 1;
  z-index: 1;
}
.ab-vision__card-body {
  padding: 2rem 2rem 2.5rem;
  border-top: 2px solid var(--teal);
}
.ab-vision__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: .85rem;
}
.ab-vision__text {
  font-size: .92rem;
  color: rgba(255,255,255,.65);
  line-height: 1.85;
}

/* ---- S3: 代表メッセージ（2カラム） ---- */
.ab-message {
  background: var(--navy-mid);
  padding: 8rem var(--side-pad);
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ab-message__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 6rem;
  align-items: start;
}
.ab-message__deco-img {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.ab-message__deco-img img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  filter: brightness(.85) saturate(.9);
}
.ab-message__deco-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(13,27,42,.95) 0%, transparent 100%);
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  line-height: 1.7;
}
.ab-message__deco-label strong {
  color: var(--white);
  font-size: 1.15rem;
  display: block;
}
.ab-message__deco-en {
  font-size: .78rem;
  color: var(--teal);
  letter-spacing: .08em;
}
.ab-message__heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 2rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--teal);
}
.ab-message__quote {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 800;
  color: var(--teal);
  line-height: 1.5;
  margin-bottom: 2rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--teal);
}
.ab-message__content p {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  line-height: 2;
  margin-bottom: 1.25rem;
}
.ab-message__sign {
  font-weight: 700 !important;
  color: rgba(255,255,255,.9) !important;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem !important;
  margin-top: .5rem;
}

/* ---- S4: 会社概要リンク ---- */
.ab-profile-link {
  background: var(--navy);
  padding: 6rem var(--side-pad);
  text-align: center;
}
.ab-profile-link__inner { max-width: 600px; margin: 0 auto; }
.ab-profile-link__heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
}
.ab-profile-link__body {
  font-size: .95rem;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* ---- レスポンシブ ---- */
@media (max-width: 1024px) {
  .ab-message__inner { grid-template-columns: 320px 1fr; gap: 3rem; }
  .ab-message__deco-img img { height: 440px; }
}
@media (max-width: 900px) {
  .ab-vision__grid { grid-template-columns: 1fr; }
  .ab-vision__card-img { height: 200px; }
}
@media (max-width: 767px) {
  .ab-lead { padding: 5rem var(--side-pad); }
  .ab-lead__inner { grid-template-columns: 1fr; gap: 3rem; }
  .ab-lead__img img { height: 280px; }
  .ab-message { padding: 5rem var(--side-pad); }
  .ab-message__inner { grid-template-columns: 1fr; gap: 3rem; }
  .ab-message__deco-img img { height: 300px; }
  .ab-profile-link { padding: 5rem var(--side-pad); }
}

/* VISIONセクションの背景テキストは左側配置 */
.ab-vision .ab-bg-text {
  right: auto;
  left: -2%;
}

/* ============================================================
   事業紹介一覧ページ（/services）
   ============================================================ */

/* S2: リード文 */
.sv-lead {
  background: var(--navy);
  padding: 8rem var(--side-pad);
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sv-lead .ab-bg-text { right: auto; left: -2%; transform: translateY(30px); }
.sv-lead .ab-bg-text.is-visible { transform: translateY(0); }
.sv-lead__inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 1; }
.sv-lead__heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
.sv-lead__body {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  line-height: 2;
}

/* S3: 事業カード（ブロークングリッド） */
.sv-list { background: var(--navy); }

.sv-item {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 600px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  position: relative;
}
.sv-item--reverse {
  grid-template-columns: 45% 55%;
  direction: rtl;
}
.sv-item--reverse > * { direction: ltr; }

/* 高さにリズムをつける */
.sv-item:nth-child(1) { min-height: 700px; }
.sv-item:nth-child(2) { min-height: 580px; }
.sv-item:nth-child(3) { min-height: 680px; }
.sv-item:nth-child(4) { min-height: 560px; }
.sv-item:nth-child(5) { min-height: 640px; }

/* 画像エリア */
.sv-item__img-wrap {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}
.sv-item--reverse .sv-item__img-wrap {
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}
.sv-item__img {
  height: 100%;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  transition: transform .8s var(--ease-out);
  position: relative;
}
.sv-item:hover .sv-item__img { transform: scale(1.05); }
.sv-item__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,.7) 0%, rgba(13,27,42,.25) 100%);
}
.sv-item__eyebrow {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--teal);
  z-index: 1;
}

/* テキストエリア */
.sv-item__body {
  padding: 4rem 3.5rem 4rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}
.sv-item--reverse .sv-item__body {
  padding: 4rem 5rem 4rem 3.5rem;
}

/* 背景番号 */
.sv-item__num {
  position: absolute;
  top: -1.5rem;
  right: -1rem;
  font-size: clamp(6rem, 10vw, 9rem);
  font-weight: 900;
  color: rgba(0,194,168,.06);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -.05em;
}
.sv-item--reverse .sv-item__num {
  right: auto;
  left: -1rem;
}

.sv-item__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
  position: relative;
  z-index: 1;
}
.sv-item__title {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: .65rem;
  padding-bottom: .65rem;
  border-bottom: 2px solid var(--teal);
  position: relative;
  z-index: 1;
}
.sv-item__catch {
  font-size: .95rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.6;
  margin-bottom: 1.1rem;
  position: relative;
  z-index: 1;
}
.sv-item__desc {
  font-size: .92rem;
  color: rgba(255,255,255,.68);
  line-height: 1.9;
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 1;
}
.sv-item__points {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  position: relative;
  z-index: 1;
}
.sv-item__points li {
  font-size: .86rem;
  color: rgba(255,255,255,.62);
  padding-left: 1em;
  position: relative;
  line-height: 1.7;
}
.sv-item__points li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.sv-item__footer {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: auto;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.07);
  position: relative;
  z-index: 1;
}
.sv-item__price {
  font-size: .95rem;
  color: var(--white);
  font-weight: 700;
}
.sv-item__price span {
  display: block;
  font-size: .72rem;
  font-weight: 400;
  color: rgba(255,255,255,.4);
  letter-spacing: .06em;
  margin-bottom: .15rem;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .sv-item__body,
  .sv-item--reverse .sv-item__body { padding: 3rem 2.5rem; }
  .sv-item__img-wrap,
  .sv-item--reverse .sv-item__img-wrap { clip-path: none; }
}
@media (max-width: 767px) {
  .sv-item,
  .sv-item--reverse {
    grid-template-columns: 1fr;
    grid-template-rows: 260px auto;
    min-height: auto;
    direction: ltr;
  }
  .sv-item:nth-child(n) { min-height: auto; }
  .sv-item__img { min-height: 260px; }
  .sv-item__body,
  .sv-item--reverse .sv-item__body { padding: 2.5rem var(--side-pad); }
  .sv-item__footer { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .sv-lead { padding: 5rem var(--side-pad); }
}
/* ============================================================
   会社概要ページ（/about/company）
   ============================================================ */
.co-profile {
  background: var(--navy);
  padding: 8rem var(--side-pad);
  position: relative;
  overflow: hidden;
}
.co-profile .ab-bg-text {
  top: 2rem;
  right: -2%;
}
.co-profile__inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.co-profile__lead { margin-bottom: 3rem; }
.co-profile__heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}

/* テーブル */
.co-table { width: 100%; border-collapse: collapse; }
.co-table__row {
  border-bottom: 1px solid rgba(255,255,255,.2);
  transition: background .2s, opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.co-table__row:first-child { border-top: 1px solid rgba(255,255,255,.2); }
.co-table__row:hover { background: rgba(0,194,168,.04); }
.co-table__th {
  width: 180px;
  padding: 1.4rem 1.5rem 1.4rem 0;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal);
  vertical-align: top;
  white-space: nowrap;
}
.co-table__td {
  padding: 1.4rem 0;
  font-size: .98rem;
  color: rgba(255,255,255,.82);
  line-height: 1.85;
  vertical-align: top;
}
.co-table__td span {
  display: block;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  margin-top: .2rem;
  letter-spacing: .05em;
}
.co-table__td a {
  color: rgba(255,255,255,.82);
  transition: color .2s;
}
.co-table__td a:hover { color: var(--teal); }

/* マップ */
.co-map {
  background: var(--navy-mid);
  padding: 6rem var(--side-pad);
  border-top: 1px solid rgba(255,255,255,.06);
}
.co-map__inner {
  max-width: 900px;
  margin: 0 auto;
}
.co-map__heading {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 2rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}
.co-map__frame {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1rem;
  filter: brightness(.9) saturate(.8);
}
.co-map__address {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  text-align: right;
}

/* レスポンシブ */
@media (max-width: 767px) {
  .co-profile { padding: 5rem var(--side-pad); }
  .co-table__th { width: 100px; font-size: .78rem; padding-right: 1rem; }
  .co-map { padding: 4rem var(--side-pad); }
  .co-map__frame iframe { height: 300px; }
}

/* ============================================================
   プライバシーポリシーページ（/privacy）
   ============================================================ */
.pv-body {
  background: var(--navy);
  padding: 7rem var(--side-pad) 8rem;
  position: relative;
  overflow: hidden;
}
.pv-body .ab-bg-text {
  top: 2rem;
  right: -2%;
  font-size: clamp(5rem, 14vw, 12rem);
}
.pv-body__inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* リード */
.pv-lead {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.pv-lead p {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  line-height: 2;
  margin-bottom: .75rem;
}
.pv-enacted {
  font-size: .82rem !important;
  color: rgba(255,255,255,.4) !important;
  margin-top: 1.5rem !important;
}

/* 各条文 */
.pv-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pv-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.pv-section__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.pv-section__num {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal);
  white-space: nowrap;
  padding: .2em .7em;
  border: 1px solid rgba(0,194,168,.4);
  border-radius: 2px;
}
.pv-section__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}
.pv-section__body p {
  font-size: .95rem;
  color: rgba(255,255,255,.72);
  line-height: 2;
  margin-bottom: .75rem;
}
.pv-section__body ul {
  padding-left: 0;
  list-style: none;
  margin: .75rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.pv-section__body ul li {
  font-size: .92rem;
  color: rgba(255,255,255,.65);
  line-height: 1.8;
  padding-left: 1.2em;
  position: relative;
}
.pv-section__body ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* 第8条のテーブル */
.pv-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.pv-table tr {
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.pv-table tr:first-child {
  border-top: 1px solid rgba(255,255,255,.1);
}
.pv-table th {
  width: 130px;
  padding: 1rem 1rem 1rem 0;
  font-size: .82rem;
  font-weight: 700;
  color: var(--teal);
  vertical-align: top;
  white-space: nowrap;
}
.pv-table td {
  padding: 1rem 0;
  font-size: .92rem;
  color: rgba(255,255,255,.75);
  line-height: 1.8;
  vertical-align: top;
}
.pv-table td a {
  color: var(--teal);
}
.pv-table td a:hover { opacity: .75; }

@media (max-width: 767px) {
  .pv-body { padding: 5rem var(--side-pad) 6rem; }
  .pv-section__head { flex-direction: column; gap: .5rem; }
  .pv-table th { width: 90px; }
}

/* ============================================================
   お問い合わせページ（/contact）
   ============================================================ */

/* リード */
.ct-lead {
  background: var(--navy);
  padding: 7rem var(--side-pad) 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ct-lead .ab-bg-text { right: auto; left: -2%; }
.ct-lead__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.ct-lead__heading {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.ct-lead__body {
  font-size: 1.02rem;
  color: rgba(255,255,255,.72);
  line-height: 2;
  margin-bottom: 3rem;
}
.ct-lead__body strong { color: var(--teal); font-weight: 700; }

/* 3つの特徴 */
.ct-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ct-feature {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-top: 2px solid var(--teal);
  padding: 1.75rem 1.5rem;
  border-radius: 2px;
}
.ct-feature__icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: .75rem;
}
.ct-feature__title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .4rem;
}
.ct-feature__body {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}

/* フォームセクション */
.ct-form-section {
  background: var(--navy-mid);
  padding: 6rem var(--side-pad) 8rem;
}
.ct-form-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 5rem;
  align-items: start;
}

/* CF7フォームラップ */
.ct-form-wrap {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  padding: 3rem;
}

/* CF7共通スタイル */
.wpcf7 .cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.wpcf7 .cf7-field {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.wpcf7 .cf7-field:last-child { margin-bottom: 0; }
.wpcf7 .cf7-row .cf7-field { margin-bottom: 0; }

.wpcf7 label {
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  letter-spacing: .05em;
}
.cf7-required { color: var(--teal); margin-left: .25em; }

/* 入力フィールド共通 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 2px;
  padding: .85em 1em;
  font-size: .95rem;
  color: var(--white);
  font-family: var(--font-ja);
  transition: border-color .2s, background .2s;
  -webkit-appearance: none;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(0,194,168,.06);
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder { color: rgba(255,255,255,.3); }
.wpcf7 select { cursor: pointer; color: rgba(255,255,255,.85); }
.wpcf7 select option { background: #1a2f45; color: var(--white); }
.wpcf7 textarea { min-height: 160px; resize: vertical; }

/* プライバシー同意チェック */
.cf7-field--privacy {
  margin-top: .5rem;
  margin-bottom: 2rem !important;
}
.cf7-field--privacy label {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  font-weight: 400;
}
.cf7-field--privacy a { color: var(--teal); }
.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
  cursor: pointer;
}

/* 送信ボタン */
.wpcf7 input[type="submit"] {
  display: inline-block;
  padding: .9em 3em;
  background: var(--teal);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--teal);
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--font-ja);
  letter-spacing: .05em;
  transition: background .2s, color .2s;
  width: 100%;
  margin-top: .5rem;
}
.wpcf7 input[type="submit"]:hover {
  background: transparent;
  color: var(--teal);
}

/* 営業メール対策チェックボックス */
.cf7-field--antisales {
  margin-top: .5rem;
  margin-bottom: 2rem !important;
  padding: 1rem 1.25rem;
  background: rgba(255,107,53,.06);
  border: 1px solid rgba(255,107,53,.2);
  border-radius: 2px;
}
.cf7-field--antisales label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  cursor: pointer;
  font-weight: 400;
  line-height: 1.7;
}
.cf7-field--antisales .wpcf7-acceptance input[type="checkbox"] {
  margin-top: .2rem;
  flex-shrink: 0;
}

/* バリデーションメッセージ */
.wpcf7 .wpcf7-not-valid-tip {
  font-size: .78rem;
  color: #ff6b6b;
  margin-top: .3rem;
  display: block;
}
.wpcf7 .wpcf7-response-output {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 2px;
  font-size: .9rem;
  border: none !important;
}
.wpcf7.sent .wpcf7-response-output {
  background: rgba(0,194,168,.12);
  color: var(--teal);
  border-left: 3px solid var(--teal) !important;
}
.wpcf7.failed .wpcf7-response-output,
.wpcf7.invalid .wpcf7-response-output {
  background: rgba(255,107,107,.1);
  color: #ff6b6b;
  border-left: 3px solid #ff6b6b !important;
}

/* PCではトグルボタン非表示 */
.st-nav-toggle { display: none; }

/* サイドinfo */
.ct-info {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.ct-info__block {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ct-info__block:last-of-type { border-bottom: none; }
.ct-info__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--teal);
  margin-bottom: .5rem;
}
.ct-info__val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  transition: color .2s;
}
.ct-info__val--sm { font-size: .92rem; font-weight: 400; line-height: 1.8; }
a.ct-info__val:hover { color: var(--teal); }
.ct-info__note {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  margin-top: .25rem;
}
.ct-info__privacy {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  line-height: 1.8;
}
.ct-info__privacy a { color: var(--teal); }

/* レスポンシブ */
@media (max-width: 1024px) {
  .ct-form-section__inner { grid-template-columns: 1fr; gap: 3rem; }
  .ct-info { position: static; }
}
@media (max-width: 767px) {
  .ct-lead { padding: 5rem var(--side-pad) 4rem; }
  .ct-features { grid-template-columns: 1fr; gap: 1rem; }
  .ct-form-section { padding: 4rem var(--side-pad) 6rem; }
  .ct-form-wrap { padding: 2rem 1.5rem; }
  .wpcf7 .cf7-row { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   お問い合わせ 確認モーダル
   ============================================================ */
.ct-confirm-btn {
  width: 100%;
  margin-top: .5rem;
}

/* モーダル全体 */
.ct-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.ct-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.ct-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,16,27,.85);
  backdrop-filter: blur(4px);
}
.ct-modal__box {
  position: relative;
  z-index: 1;
  background: #1a2f45;
  border: 1px solid rgba(255,255,255,.12);
  border-top: 3px solid var(--teal);
  border-radius: 4px;
  width: min(680px, 90vw);
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform .3s var(--ease-out);
}
.ct-modal.is-open .ct-modal__box {
  transform: translateY(0);
}
.ct-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ct-modal__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.ct-modal__close {
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  font-size: 1.4rem;
  cursor: pointer;
  padding: .25rem .5rem;
  line-height: 1;
  transition: color .2s;
}
.ct-modal__close:hover { color: var(--white); }
.ct-modal__body { padding: 1.5rem 2rem; }

/* 確認テーブル */
.ct-modal__table {
  width: 100%;
  border-collapse: collapse;
}
.ct-modal__table tr {
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ct-modal__table tr:first-child {
  border-top: 1px solid rgba(255,255,255,.08);
}
.ct-modal__table th {
  width: 160px;
  padding: 1rem 1rem 1rem 0;
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal);
  vertical-align: top;
  white-space: nowrap;
}
.ct-modal__table td {
  padding: 1rem 0;
  font-size: .92rem;
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  vertical-align: top;
  word-break: break-word;
}
.ct-modal__footer {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
  justify-content: flex-end;
}
.ct-modal__back {
  background: none;
  border: 2px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.7);
  padding: .75em 2em;
  border-radius: 2px;
  cursor: pointer;
  font-size: .95rem;
  font-family: var(--font-ja);
  transition: border-color .2s, color .2s;
}
.ct-modal__back:hover {
  border-color: rgba(255,255,255,.7);
  color: var(--white);
}
.ct-modal__submit {
  padding: .75em 2.5em;
  border-radius: 2px;
  cursor: pointer;
  font-size: .95rem;
  font-family: var(--font-ja);
  font-weight: 700;
}
.ct-modal__submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}

/* body モーダル開時スクロール禁止 */
body.modal-open { overflow: hidden; }

/* ============================================================
   送信完了ページ（/contact/thanks）
   ============================================================ */
.ct-thanks {
  background: var(--navy);
  padding: 9rem var(--side-pad);
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.ct-thanks__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.ct-thanks__icon {
  width: 72px;
  height: 72px;
  background: var(--teal);
  color: var(--navy);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}
.ct-thanks__heading {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.ct-thanks__body {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  line-height: 2;
  margin-bottom: 1rem;
}
.ct-thanks__body strong { color: var(--teal); font-weight: 700; }
.ct-thanks__note {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 3rem;
}
.ct-thanks__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .ct-modal__header,
  .ct-modal__body,
  .ct-modal__footer { padding: 1.25rem 1.5rem; }
  .ct-modal__table th { width: 100px; }
  .ct-modal__footer { flex-direction: column-reverse; }
  .ct-modal__back,
  .ct-modal__submit { width: 100%; text-align: center; }
  .ct-thanks { padding: 6rem var(--side-pad); }
}

/* ============================================================
   事業詳細ページ共通（/services/{slug}/）
   ============================================================ */

/* ヒーローキャッチ */
.sv-hero .page-hero__inner { padding-bottom: 4rem; }
.sv-hero__catch {
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,.8);
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 640px;
}

/* 共通セクションタイトル */
.svd-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 3rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}

/* S2: 特徴グリッド */
.svd-features {
  background: var(--navy);
  padding: 8rem var(--side-pad);
  position: relative;
  overflow: hidden;
}
.svd-features .ab-bg-text { right: -2%; top: 1rem; }
.svd-features__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.svd-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 4px;
  overflow: hidden;
}
/* 4枚以上のとき: 最後が単独で余る場合は2カラムに */
.svd-features__grid .svd-feature:nth-child(3n+1):last-child,
.svd-features__grid .svd-feature:nth-child(3n+2):last-child {
  grid-column: span 2;
}
.svd-feature {
  background: var(--navy-mid);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background .3s, opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.svd-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,194,168,.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.svd-feature:hover { background: #1e3550; }
.svd-feature:hover::before { opacity: 1; }

/* 番号装飾 */
.svd-feature__num {
  position: absolute;
  top: -1rem;
  right: .5rem;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(0,194,168,.07);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -.05em;
}

/* アイコン */
.svd-feature__icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(0,194,168,.12);
  border: 1px solid rgba(0,194,168,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  transition: background .3s, border-color .3s;
}
.svd-feature:hover .svd-feature__icon-wrap {
  background: rgba(0,194,168,.2);
  border-color: rgba(0,194,168,.5);
}
.svd-feature__icon { font-size: 1.5rem; display: block; }
.svd-feature__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .75rem;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}
.svd-feature__title::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal);
  margin-top: .5rem;
  transition: width .3s var(--ease-out);
}
.svd-feature:hover .svd-feature__title::after { width: 40px; }
.svd-feature__body {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  line-height: 1.85;
  position: relative;
  z-index: 1;
}

/* S3: 導入実績 */
.svd-cases {
  background: var(--navy-mid);
  padding: 7rem var(--side-pad);
  border-top: 1px solid rgba(255,255,255,.06);
}
.svd-cases__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.svd-cases__list { display: flex; flex-direction: column; gap: 2rem; }
.svd-case {
  background: rgba(13,27,42,.6);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
}
.svd-case__img {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 200px;
}
.svd-case__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,.7) 0%, rgba(13,27,42,.3) 100%);
}
.svd-case__img-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--teal);
}
.svd-case__content { padding: 2.5rem; }

.svd-case__client {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal);
  margin-bottom: 1.5rem;
  padding: .3em .8em;
  border: 1px solid rgba(0,194,168,.35);
  border-radius: 2px;
  display: inline-block;
}
.svd-case__flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: start;
}
.svd-case__arrow {
  color: var(--teal);
  font-size: 1.4rem;
  padding-top: 2.2rem;
  opacity: .6;
}
.svd-case__step { display: flex; flex-direction: column; gap: .6rem; }
.svd-case__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  padding: .2em .7em;
  border-radius: 2px;
  display: inline-block;
  width: fit-content;
}
.svd-case__step--problem .svd-case__label { background: rgba(255,107,53,.15); color: #ff8c5a; }
.svd-case__step--action .svd-case__label  { background: rgba(0,194,168,.12); color: var(--teal); }
.svd-case__step--result .svd-case__label  { background: rgba(100,180,100,.12); color: #7ecb7e; }
.svd-case__step p {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  line-height: 1.8;
}

/* S4: 料金 */
.svd-price {
  background: var(--navy);
  padding: 7rem var(--side-pad);
  border-top: 1px solid rgba(255,255,255,.06);
}
.svd-price__inner { max-width: var(--max-w); margin: 0 auto; }
.svd-price__table-wrap { overflow-x: auto; }
.svd-price__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.svd-price__table thead th {
  padding: .9rem 1.25rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal);
  border-bottom: 2px solid rgba(0,194,168,.3);
  text-align: left;
}
.svd-price__table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .2s;
}
.svd-price__table tbody tr:hover { background: rgba(255,255,255,.03); }
.svd-price__table tbody td {
  padding: 1.1rem 1.25rem;
  font-size: .95rem;
  color: rgba(255,255,255,.78);
  vertical-align: top;
}
.svd-price__amount {
  font-weight: 700;
  color: var(--white) !important;
  white-space: nowrap;
}
.svd-price__note { color: rgba(255,255,255,.5) !important; font-size: .88rem !important; }
.svd-price__tax {
  font-size: .8rem;
  color: rgba(255,255,255,.38);
  margin-top: 1rem;
  text-align: right;
}
.svd-price__note-block {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-left: 3px solid var(--teal);
  padding: 1.75rem 2rem;
  border-radius: 2px;
}
.svd-price__note-block p {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  line-height: 2;
}


/* ---- ギャラリー（3枚横並び） ---- */
.svd-gallery {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.05);
}
.svd-gallery__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.svd-gallery__item {
  height: 260px;
  background-size: cover;
  background-position: center;
  transition: transform .6s var(--ease-out);
  overflow: hidden;
}
.svd-gallery__inner:hover .svd-gallery__item { filter: brightness(.8); }
.svd-gallery__inner .svd-gallery__item:hover {
  filter: brightness(1);
  transform: scale(1.02);
}

/* ② 実績カードに画像 */
/* S5: FAQ アコーディオン */
.svd-faq {
  background: var(--navy-mid);
  padding: 7rem var(--side-pad) 8rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.svd-faq__inner { max-width: 860px; margin: 0 auto; }
.svd-faq__list { display: flex; flex-direction: column; gap: .5rem; }
.svd-faq__item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color .2s;
}
.svd-faq__item.is-open { border-color: rgba(0,194,168,.3); }
.svd-faq__q {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  cursor: pointer;
  list-style: none;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-ja);
  font-size: .98rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  transition: background .2s;
}

.svd-faq__q:hover { background: rgba(255,255,255,.04); }
.svd-faq__q-label {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--teal);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 900;
}
.svd-faq__icon {
  margin-left: auto;
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 50%;
  position: relative;
}
.svd-faq__icon::before,
.svd-faq__icon::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,.6);
  border-radius: 1px;
}
.svd-faq__icon::before { width: 10px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.svd-faq__icon::after  { width: 1.5px; height: 10px; top: 50%; left: 50%; transform: translate(-50%,-50%); transition: transform .2s; }
.svd-faq__item.is-open .svd-faq__icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.svd-faq__a {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.svd-faq__a-label {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1.5px solid rgba(0,194,168,.4);
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 900;
}
.svd-faq__a p {
  font-size: .93rem;
  color: rgba(255,255,255,.7);
  line-height: 1.9;
  padding-top: .25rem;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .svd-features__grid { grid-template-columns: repeat(2, 1fr); }
  .svd-case { grid-template-columns: 1fr; }
  .svd-case__img { min-height: 200px; }
  .svd-case__flow {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
  .svd-case__arrow { display: none; }
}
@media (max-width: 767px) {
  .svd-features, .svd-cases, .svd-price, .svd-faq { padding: 5rem var(--side-pad); }
  .svd-features__grid { grid-template-columns: 1fr; }
  .svd-features__grid .svd-feature:nth-child(3n+1):last-child,
  .svd-features__grid .svd-feature:nth-child(3n+2):last-child { grid-column: span 1; }
  .svd-gallery__inner { grid-template-columns: 1fr; }
  .svd-gallery__item { height: 200px; }
  .svd-case__content { padding: 1.5rem; }
}


/* ============================================================
   お知らせ一覧（archive.php）
   ============================================================ */
.news-archive {
  background: var(--navy);
  padding: 8rem var(--side-pad) 9rem;
  position: relative;
  overflow: hidden;
}
.news-archive .ab-bg-text { right: -2%; top: 2rem; }
.news-archive__inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.news-archive__heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 3.5rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}
.news-archive__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.news-archive__item {
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.news-archive__link {
  display: block;
  padding: 2rem 0;
  transition: background .2s, padding .2s;
}
.news-archive__link:hover {
  padding-left: 1rem;
  background: rgba(0,194,168,.04);
}
.news-archive__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .75rem;
}
.news-archive__date {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .05em;
  font-weight: 500;
}
.news-archive__cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal);
  background: rgba(0,194,168,.1);
  border: 1px solid rgba(0,194,168,.25);
  padding: .15em .7em;
  border-radius: 2px;
}
.news-archive__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: .6rem;
  transition: color .2s;
}
.news-archive__link:hover .news-archive__title { color: var(--teal); }
.news-archive__excerpt {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  margin-bottom: .75rem;
}
.news-archive__more {
  font-size: .82rem;
  color: var(--teal);
  font-weight: 600;
}

/* ページネーション */
.news-archive__pagination {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}
.news-archive__pagination .nav-links {
  display: flex;
  gap: .5rem;
  align-items: center;
}
.news-archive__pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 2px;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: border-color .2s, color .2s, background .2s;
}
.news-archive__pagination .page-numbers:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.news-archive__pagination .page-numbers.current {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--navy);
  font-weight: 700;
}
.news-archive__pagination .prev,
.news-archive__pagination .next {
  width: auto;
  padding: 0 1rem;
  font-size: .82rem;
}
.news-archive__empty {
  padding: 4rem 0;
  text-align: center;
  color: rgba(255,255,255,.45);
}

/* ============================================================
   お知らせ詳細（single.php）
   ============================================================ */
.news-single {
  background: var(--navy);
  padding: 7rem var(--side-pad) 9rem;
}
.news-single__inner {
  max-width: 800px;
  margin: 0 auto;
}
.news-single__article { margin-bottom: 4rem; }

/* ヘッダー */
.news-single__header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.news-single__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.news-single__date {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .05em;
}
.news-single__cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal);
  background: rgba(0,194,168,.1);
  border: 1px solid rgba(0,194,168,.25);
  padding: .15em .7em;
  border-radius: 2px;
}
.news-single__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.4;
}

/* 本文コンテンツ */
.news-single__content {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  line-height: 2;
}
.news-single__content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin: 2.5rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--teal);
}
.news-single__content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 2rem 0 .75rem;
}
.news-single__content p { margin-bottom: 1.25rem; }
.news-single__content a { color: var(--teal); }
.news-single__content a:hover { opacity: .8; }
.news-single__content ul,
.news-single__content ol {
  padding-left: 1.5em;
  margin-bottom: 1.25rem;
}
.news-single__content li { margin-bottom: .4em; }
.news-single__content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1.5rem 0;
}

/* 前後ナビ */
.news-single__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.news-single__nav-prev,
.news-single__nav-next {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.news-single__nav-next { text-align: right; }
.news-single__nav-label {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .05em;
}
.news-single__nav a {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  transition: color .2s;
}
.news-single__nav a:hover { color: var(--teal); }

/* 一覧に戻る */
.news-single__back {
  text-align: center;
  margin-top: 3rem;
}

/* レスポンシブ */
@media (max-width: 767px) {
  .news-archive { padding: 5rem var(--side-pad) 6rem; }
  .news-single { padding: 5rem var(--side-pad) 6rem; }
  .news-single__nav { grid-template-columns: 1fr; }
  .news-single__nav-next { text-align: left; }
}
