@charset "utf-8";
/* ============================================================
   home.css — トップページ専用スタイル
   ------------------------------------------------------------
   ⚠️ このファイルはトップ（cgi-bin/view/top/index.html）専用。
      共通CSS（style.css / top.css）には混ぜないこと。混ぜると
      プライバシーポリシー等の他ページにも影響が出る。
   ⚠️ 読み込み順は style.css → top.css → home.css。
      後から読むので、同じ詳細度なら本ファイルが勝つ。
      → 新しく書くルールに !important を足さないこと。
   分離: 2026-08-18（元はテンプレート内のインライン <style>・53KB）
   ============================================================ */
/* ============================================================
   ANOTETE Corporate Top Page — Production CSS
   Aesthetic: Refined Trust — spacious, warm, depth
   Brand teal: #46aab8  |  Dark: #2a4551  |  Warm gray: #f7f6f3
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --brand: #46aab8;
  --brand-light: #e8f5f7;
  --brand-dark: #2a4551;
  --dark: #1e3340;
  --warm-bg: #f7f6f3;
  --warm-bg-alt: #f0efeb;
  --text: #2a4551;
  --text-light: #5a7a87;
  --text-muted: #8a9ea8;
  --white: #ffffff;
  --border-light: #d7d7d7;
  --border-warm: #e0dedb;
  --accent-red: #e35454;
  --placeholder-gray: #d9d9d9;
  --brand-mid: #3a7a8a;
  --shadow-sm: 0 2px 8px rgba(42, 69, 81, 0.06);
  --shadow-md: 0 8px 30px rgba(42, 69, 81, 0.10);
  --shadow-lg: 0 16px 48px rgba(42, 69, 81, 0.14);
  --shadow-card: 0 4px 20px rgba(42, 69, 81, 0.08);
  --radius: 16px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
}

/* --- Focus visible (keyboard navigation) --- */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
a.biz-list__item:focus-visible {
  outline-offset: 4px;
  border-radius: var(--radius);
}
.sf-option:focus-visible {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(70, 170, 184, 0.25);
}
.contact-form__submit:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--brand);
}

/* --- Typography Scale ---
   1.1rem  — dropdown sublabel, footer jp
   1.2rem  — news date, footer copyright, footer company
   1.3rem  — section subtitle (c-ttl01__txt), footer nav, why-list SP, contact note
   1.4rem  — body text, leads, news text, why-list, mission body
   1.5rem  — card catch, form label
   1.6rem  — table cells (company), CTA buttons
   2.0rem  — card title (biz-list__title), mission SP
   2.4rem  — branded card label
   3.0rem  — section heading SP (c-ttl01__txt--en)
   clamp(2rem–2.8rem)  — hero heading SP
   clamp(2.4rem–3.6rem) — mission statement
   clamp(2.6rem–4.4rem) — hero heading
   clamp(3.6rem–5.4rem) — section heading (c-ttl01__txt--en)
   ============================================================ */

/* ============================================================
   CRITICAL: Neutralize ALL existing top.css interference
   top.css applies wave images, backgrounds, pseudo-elements
   to .news, .contact, .company etc that break new layout
   ============================================================ */

/* Kill all wave/decorative pseudo-elements from top.css */
.news::before,
.news::after,
.news__box::before,
.news__box::after,
.contact::before,
.contact::after,
.contact-main::before,
.contact-main::after,
.company::before,
.company::after,
.why-section::before,
.biz-section + .company::before,
.biz-section + .company::after {
  content: none !important;
  display: none !important;
}

/* Reset .news__box background from top.css (pinkish tint) */
.news__box {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Reset .contact__note background from top.css */
.contact__note {
  background: transparent;
  border-radius: 0;
  padding: 20px;
}

/* Make form inputs visually distinct */
.contact-form__input,
.contact-form__textarea {
  border: 1px solid var(--border-light);
  background: var(--white);
}
.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(70, 170, 184, 0.15);
}

/* Fix header: ensure solid bg when scrolled past hero */
.l-header {
  background: rgba(255,255,255,0);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.l-header .l-header__inner {
  background: transparent;
}
.l-header.is-fixed {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 20px rgba(42, 69, 81, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.l-header.is-fixed .l-header__inner {
  background: transparent;
}
/* Nav text color: white on dark hero, dark when scrolled */
.l-header .l-header-nav__link {
  color: rgba(255,255,255,0.9);
  transition: color 0.3s;
}
.l-header .l-header-nav__link:hover,
.l-header.is-fixed .l-header-nav__link:hover {
  color: var(--brand) !important;
}
/* ⚠️ スクロールで白ヘッダーになるPC用の指定。SP(<=980px)ではメニューがダーク背景の
   オーバーレイなので、ここを適用すると文字が見えなくなる（2026-08-17 実測） */
@media screen and (min-width:981px) {
  .l-header.is-fixed .l-header-nav__link {
    color: var(--text) !important;
  }
}
/* Header logo: bright on dark hero, normal when scrolled */
.l-header .l-header-logo img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
  opacity: 1;
  visibility: visible;
}
.l-header.is-fixed .l-header-logo img {
  filter: none;
}

/* --- Scroll fade-in (CSS only, replaces GSAP ScrollTrigger) --- */
.c-anim-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.c-anim-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Hero elements use CSS keyframes instead */
.new-hero .c-anim-fade {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ===== HERO (Dark Mode) ===== */
.new-hero {
  position: relative;
  min-height: 85vh;
  min-height: 85dvh;
  display: flex;
  align-items: center;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}
/* Subtle grain texture (light grain on dark) */
.new-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
}
/* Glow accents on dark background */
.new-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(70,170,184,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 70%, rgba(70,170,184,0.15) 0%, transparent 40%),
    radial-gradient(circle at 30% 80%, rgba(100,210,220,0.08) 0%, transparent 35%);
  pointer-events: none;
  z-index: 1;
}
/* Hero large accent number — right side visual anchor */
.hero-accent-num {
  position: absolute;
  right: clamp(40px, 8vw, 160px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: accentFadeIn 1.2s 1.4s var(--ease) forwards;
}
.hero-accent-num__value {
  font-family: "Quicksand", sans-serif;
  font-size: clamp(8rem, 14vw, 16rem);
  font-weight: 700;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(93, 216, 230, 0.2);
  letter-spacing: -0.04em;
  display: block;
}
.hero-accent-num__plus {
  font-family: "Quicksand", sans-serif;
  font-size: clamp(5rem, 8vw, 9rem);
  color: rgba(93, 216, 230, 0.2);
  vertical-align: top;
  line-height: 1;
}
.hero-accent-num__label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  display: block;
  margin-top: 8px;
  text-align: right;
}
@keyframes accentFadeIn {
  from { opacity: 0; transform: translateY(-50%) translateX(20px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}
@media screen and (max-width:1024px) {
  .hero-accent-num { display: none; }
}
.new-hero__inner {
  position: relative;
  z-index: 2;
  padding: 200px clamp(40px, 6vw, 120px) 160px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}
/* Network SVG overlay */
.hero-network {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: networkFadeIn 2s 0.5s ease-out forwards;
}
@keyframes networkFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media screen and (max-width:767px) {
  .new-hero { min-height: auto; }
  .new-hero__inner { padding: 28vw 7vw 12vw; position: relative; z-index: 3; }
  .hero-network { width: 100%; opacity: 0; animation: networkFadeIn 2s 0.5s ease-out forwards; }
  @keyframes networkFadeIn { to { opacity: 0.4; } }
}
/* Hero heading: 3-line dynamic layout */
.new-hero__heading {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 0;
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.6s var(--ease) forwards;
}
.new-hero__line {
  display: block;
}
.new-hero__line--1 {
  font-weight: 900;
  opacity: 0;
  animation: fadeSlideUp 0.6s 0.8s var(--ease) forwards;
}
.new-hero__line--2 {
  color: #5dd8e6;
  opacity: 0;
  animation: fadeSlideUp 0.6s 1.0s var(--ease) forwards;
}
.new-hero__line--3 {
  opacity: 0;
  animation: fadeSlideUp 0.6s 1.2s var(--ease) forwards;
}
@media screen and (max-width:767px) {
  .new-hero__heading { font-size: clamp(2.2rem, 7vw, 3.2rem); line-height: 1.6; }
}
@media screen and (min-width:768px) and (max-width:1024px) {
  .new-hero__heading { font-size: 3.4rem; }
}
/* Bullet points: hidden per wireframe */
.new-hero__bullets { display: none; }
/* CTA buttons — hidden (hero is dynamic enough) */
.new-hero__cta {
  display: none;
}


@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== CLIENT LOGO SLIDER ===== */
.logo-slider {
  background: var(--white);
  padding: 40px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
/* Fade edges */
.logo-slider::before,
.logo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}
.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}
.logo-slider__track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: logoScroll 40s linear infinite;
}
.logo-slider__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
}
.logo-slider__item img {
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media screen and (max-width:767px) {
  .logo-slider { padding: 28px 0; }
  .logo-slider__track { gap: 40px; animation-duration: 30s; }
  .logo-slider__item { height: 28px; }
  .logo-slider__item img { max-width: 120px; }
  .logo-slider::before,
  .logo-slider::after { width: 40px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
  .logo-slider__track { animation: none; }
  .hero-webgl-canvas,
  .hero-particles-canvas { display: none; }
  .cursor-dot, .cursor-outline { display: none; }
  body.cursor-active { cursor: auto; }
  .new-hero__line--1,
  .new-hero__line--2,
  .new-hero__line--3,
  .new-hero__heading,
  .hero-accent-num { opacity: 1; transform: none; animation: none; }
}

/* ===== NUMBERS STRIP (hidden) ===== */
.numbers-strip { display: none; }

/* ===== SECTION TITLE (c-ttl01) — FIVOT-style left-aligned ===== */
.c-ttl01 { text-align: left; margin-bottom: 0; }
.c-ttl01__txt--en {
  font-family: "Quicksand", sans-serif;
  font-size: clamp(4.2rem, 8vw, 7.6rem);
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.03em;
  color: var(--brand-dark);
  display: block;
  margin-bottom: 8px;
  line-height: 1.1;
}
.c-ttl01__txt {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.4;
  letter-spacing: 0.08em;
  padding-top: 12px;
  border-top: 3px solid var(--brand);
  display: inline-block;
}
@media screen and (max-width:767px) {
  .c-ttl01__txt--en { font-size: clamp(3rem, 10vw, 4.2rem); }
}

/* ===== DROPDOWN MENU ===== */
.l-header-nav__item { position: relative; }
.l-header-nav__item--has-dropdown > .l-header-nav__link { cursor: default; }
.l-header-nav__item--has-dropdown > .l-header-nav__link::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: 2px;
  transition: transform 0.2s;
}
.l-header-dropdown {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  padding: 12px 0 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 1000;
}
.l-header-nav__item--has-dropdown:hover .l-header-dropdown,
.l-header-nav__item--has-dropdown:focus-within .l-header-dropdown {
  opacity: 1;
  visibility: visible;
}
.l-header-dropdown__item {
  display: block;
  padding: 10px 20px;
  font-size: 1.3rem;
  color: var(--text) !important;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.l-header-dropdown__item:hover {
  background: var(--warm-bg);
  color: var(--brand) !important;
}
.l-header-dropdown__label {
  display: block;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 2px;
}
span.l-header-dropdown__item {
  color: var(--text-muted) !important;
  cursor: default;
}
span.l-header-dropdown__item:hover {
  background: transparent;
  color: var(--text-muted) !important;
}
/* Mobile dropdown: show inline */
@media screen and (max-width:767px) {
  .l-header-nav.is-open .l-header-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    padding: 0 0 0 16px;
    min-width: 0;
  }
  .l-header-nav.is-open .l-header-dropdown__item {
    color: rgba(255,255,255,0.7) !important;
    padding: 8px 0;
  }
  .l-header-dropdown__item:hover {
    background: transparent;
    color: var(--white) !important;
  }
  .l-header-dropdown__label {
    color: rgba(255,255,255,0.4);
  }
  span.l-header-dropdown__item {
    color: rgba(255,255,255,0.4) !important;
  }
  span.l-header-dropdown__item:hover {
    color: rgba(255,255,255,0.4) !important;
  }
}

/* ===== WHY ANOTETE (Features) ===== */
.why-section {
  padding: 120px 0;
  background: var(--warm-bg);
  position: relative;
  z-index: 2;
}
.why-section::before, .why-section::after { content: none; display: none; }
/* Section header: 2-column layout (title left, lead right) */
.why-section .l-inner { max-width: 1200px; }
.why-section__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px 80px;
  align-items: start;
  margin-bottom: 80px;
}
.why-section__lead {
  font-size: 1.4rem;
  line-height: 2;
  color: var(--text-light);
  padding-top: 8px;
}
@media screen and (max-width:767px) {
  .why-section { padding: 80px 0; }
  .why-section__header {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }
}
.why-table { display: none; }
.why-table__head { display: none; }
.why-table__row { display: none; }
/* 3+2 icon grid */
.why-list {
  max-width: 1000px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  justify-items: start;
}
.why-list__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 0;
  border: none;
}
.why-list__item:first-child { border: none; }
.why-list__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: transparent;
  border-radius: 0;
  border-bottom: 3px solid var(--brand);
  margin-bottom: 24px;
  font-size: 0;
}
.why-list__num svg {
  width: 44px;
  height: 44px;
}
.why-list__content { display: contents; }
.why-list__q { display: none; }
.why-list__a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0;
  line-height: 1.7;
}
@media screen and (max-width:1024px) {
  .why-list { grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
}
@media screen and (max-width:767px) {
  .why-list { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; justify-items: center; }
  .why-list__item { align-items: center; text-align: center; }
  .why-list__num { width: 72px; height: 72px; font-size: 0; }
  .why-list__num svg { width: 36px; height: 36px; }
  .why-list__a { font-size: 1.3rem; }
}

/* ===== SERVICE / PRODUCT (biz-section) ===== */
.biz-section {
  padding: 120px 0;
  background: var(--white);
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.biz-section::before { display: none; }
.biz-section .l-inner { max-width: 1200px; }
/* Section header: 2-column (title left, lead right) */
.biz-section__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px 80px;
  align-items: start;
  margin-bottom: 64px;
}
.biz-section__sub {
  text-align: left;
  color: var(--text-light);
  margin: 0;
  font-size: 1.4rem;
  line-height: 2;
  padding-top: 8px;
}
/* Product section */
.product-section {
  background: var(--warm-bg);
}
@media screen and (max-width:767px) {
  .biz-section { padding: 80px 0; }
  .biz-section__header {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
}
.biz-grid { display: none; }
/* 2-column card grid */
.biz-list {
  max-width: 1200px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.biz-list__item {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: var(--shadow-card);
  border: none;
  padding: 0;
}
.product-section .biz-list__item {
  background: var(--white);
}
.biz-list__item:first-child { border: none; }
a.biz-list__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
div.biz-list__item {
  cursor: default;
}
.biz-list__badge {
  display: inline-block;
  font-family: "Quicksand", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  border-radius: 20px;
  padding: 4px 14px;
  line-height: 1.3;
  white-space: nowrap;
}
.biz-list__num {
  display: none;
}
/* Image / branded header area */
.biz-list__img {
  width: 100%;
  height: 240px;
  background: var(--placeholder-gray);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.4rem;
}
.biz-list__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Branded card header (for services without OGP images) */
.biz-list__img--branded {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-mid) 100%);
  color: var(--white);
  font-size: 0;
  position: relative;
}
.biz-list__img--branded::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.3;
  pointer-events: none;
}
.biz-card-label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  width: 100%;
  height: 100%;
  justify-content: flex-end;
}
.biz-card-label__icon {
  width: 48px;
  height: 48px;
  margin-bottom: auto;
  opacity: 0.5;
}
.biz-card-label__name {
  font-family: "Quicksand", "Noto Sans JP", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.2;
}
.biz-list__body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.biz-list__title-wrap { display: flex; flex-direction: column; gap: 4px; margin-bottom: 0; }
.biz-list__catch {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0 0 12px;
  line-height: 1.6;
}
.biz-list__title {
  font-family: "Quicksand", "Noto Sans JP", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: 0.02em;
  margin: 0;
}
.biz-list__desc { display: none; }
.biz-list__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
}
.biz-list__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--brand);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.6rem;
  transition: transform 0.3s var(--ease), background 0.3s;
}
a.biz-list__item:hover .biz-list__arrow {
  transform: translateX(4px);
  background: var(--brand-dark);
}
@media screen and (max-width:767px) {
  .biz-list { grid-template-columns: 1fr; gap: 24px; }
  .biz-list__body { padding: 24px 20px 28px; }
  .biz-list__title { font-size: 1.7rem; }
  .biz-list__catch { font-size: 1.4rem; }
  .biz-list__img { height: 160px; }
}

/* ===== MISSION (inside company section) — wireframe style ===== */
.mission-band {
  background: transparent;
  color: var(--text);
  padding: 0;
  text-align: left;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 64px;
}
.mission-band::before { content: none; }
.mission-band__inner { position: relative; max-width: none; margin: 0; }
.mission-band__label { display: none; }
.mission-band__statement {
  position: relative;
  white-space: nowrap;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
  color: var(--brand-dark);
}
.mission-band__body {
  font-size: 1.4rem;
  line-height: 2;
  color: var(--text-light);
  max-width: 640px;
  margin: 0;
  letter-spacing: 0.02em;
}
@media screen and (max-width:767px) {
  .mission-band { margin-bottom: 48px; }
  .mission-band__statement { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .mission-band__body { font-size: 1.3rem; }
}
.mission { display: none; }

/* ===== COMPANY ===== */
.company {
  padding: 120px 0 100px;
  background: var(--white);
}
.company .l-inner, .company__inner { max-width: 1200px; }
/* Company header: 2-column (title left, mission right) */
.company__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px 80px;
  align-items: start;
  margin-bottom: 64px;
}
.company .c-ttl01 { margin-bottom: 0; }
.company .c-table { max-width: 840px; margin: 40px 0 0 150px; }
.company .c-table table { border-collapse: collapse; width: 100%; border-top: none; }
.company .c-table tr { border-bottom: none; }
.company .c-table th {
  color: var(--brand-dark);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  padding: 25px 0;
  vertical-align: baseline;
  white-space: nowrap;
  width: 180px;
  font-family: "Noto Sans JP", sans-serif;
  border-bottom: 1px solid var(--brand-dark);
}
.company .c-table td {
  font-size: 1.6rem;
  line-height: 1.5;
  padding: 25px 50px;
  color: var(--brand-dark);
  border-bottom: 1px solid var(--border-light);
}
.company .c-table td a {
  color: var(--brand-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.company .c-table td a:hover { border-bottom-color: var(--brand-dark); }
.company .c-table__flex { display: flex; align-items: center; gap: 1em; }
.company .c-table__badge { width: 100px; height: auto; }
.company .c-table__flex dt { padding-bottom: 8px; }
.company .c-table th[scope="row"] { vertical-align: top; }
@media screen and (min-width:768px) and (max-width:1024px) {
  .mission-band__statement { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
}
@media screen and (max-width:767px) {
  .company { padding: 80px 0 60px; }
  .company__header {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }
  .company .c-table { margin: 24px 0 0 0; max-width: 100%; overflow-x: hidden; }
  .company .c-table table { display: block; width: 100%; }
  .company .c-table table > tbody { display: block; width: 100%; }
  .company .c-table tr {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    border-bottom: none;
  }
  .company .c-table th {
    width: auto;
    white-space: normal;
    padding: 0 0 6px 0;
    border-bottom: none;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand);
  }
  .company .c-table td {
    padding: 0;
    font-size: 1.4rem;
    word-break: break-all;
    border-bottom: none;
  }
  .company .c-table__flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6em;
  }
  .company .c-table__badge { width: 80px; }
}

/* ===== NEWS — 2-column layout (title left, list right) ===== */
.news {
  background: var(--warm-bg) !important;
  padding: 100px 0 80px !important;
  overflow: hidden !important;
  position: relative !important;
  border-top: none !important;
}
.news__box {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  background: transparent !important;
  position: relative !important;
  z-index: 2 !important;
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  gap: 40px 80px !important;
  align-items: start !important;
}
@media screen and (max-width:767px) {
  .news { padding: 60px 0 50px !important; }
  .news__box { padding: 0 4vw !important; grid-template-columns: 1fr !important; gap: 24px !important; }
}
.news .c-ttl01 { margin-bottom: 0 !important; }
.news__body { background: transparent !important; padding: 0 !important; border-radius: 0 !important; }
.news__list { background: transparent !important; }
.news__list li {
  padding: 20px 0 !important;
  border-bottom: 1px solid var(--border-warm) !important;
  display: block !important;
  background: transparent !important;
  border-radius: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.news__list li:first-child { border-top: 2px solid var(--brand) !important; }
.news__date {
  display: block !important;
  font-family: "Quicksand", sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: var(--brand) !important;
  letter-spacing: 0.04em !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  width: auto !important;
  margin-bottom: 4px !important;
}
.news__txt {
  font-size: 1.4rem !important;
  line-height: 1.7 !important;
  color: var(--text) !important;
  background: transparent !important;
  padding: 0 !important;
  display: block !important;
}
.news__link {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
  width: 100% !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.news__link::after { content: none !important; }
.news__link:hover .news__txt { color: var(--brand) !important; }

/* ===== CONTACT ===== */
.contact {
  padding: 120px 0 100px;
  background: var(--white);
  overflow: hidden;
  position: relative;
}
@media screen and (max-width:767px) {
  .contact { padding: 80px 0 60px; }
}
.contact__inner { position: relative; z-index: 2; max-width: 1200px; }
/* Contact header: 2-column (title left, lead right) */
.contact__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px 80px;
  align-items: start;
  margin-bottom: 48px;
}
.contact .c-ttl01 { margin-bottom: 0; }
.contact__lead {
  font-size: 1.4rem;
  line-height: 2;
  color: var(--text-light);
  margin: 0;
  max-width: 480px;
  text-align: left;
  padding-top: 8px;
}
@media screen and (max-width:767px) {
  .contact__header {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }
}
.contact__note {
  text-align: center;
  margin-bottom: 40px;
  background: transparent;
  padding: 16px 20px;
}
.contact__note p {
  font-size: 1.3rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.contact-header { display: none; }
.contact-main { background: transparent; position: relative; z-index: 2; }
.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--warm-bg);
  padding: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--border-warm);
}
@media screen and (max-width:767px) {
  .contact-form { padding: 32px 20px; }
}
.contact-form__ttl { color: var(--text); font-size: 1.5rem; font-weight: 700; }
.contact-form__label {
  background: var(--accent-red);
  color: var(--white);
  font-size: 1.1rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
}
.contact-form__group { margin-bottom: 24px; background: transparent; }
.contact-form__input, .contact-form__textarea {
  border: 1px solid var(--border-light);
  background: var(--white);
  border-radius: 6px;
}
.contact-form__input:focus, .contact-form__textarea:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(70, 170, 184, 0.15);
}
.contact-form__select select { border: 1px solid var(--border-light); background: var(--white); }
.contact-terms { margin: 28px 0; background: transparent; }
.contact-form__btn { text-align: center !important; margin-top: 32px !important; }
.contact-form__submit, .c-form-submit {
  background: var(--brand);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 16px 48px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background 0.3s var(--ease), transform 0.2s;
  cursor: pointer;
  width: auto;
  display: inline-block;
}
.contact-form__submit:hover, .c-form-submit:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}
.contact-form__submit[disabled], .contact-form__submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* ===== FOOTER — wireframe: logo+info left, 6-col nav right ===== */
.l-footer {
  background: var(--white);
  color: var(--text);
  padding: 80px 40px 40px;
  border-top: 1px solid var(--border-warm);
}
.l-footer .l-inner {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}
.l-footer-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.l-footer-info__logo img {
  height: 32px;
  width: auto;
}
.l-footer-info__company {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.8;
  text-align: left;
}
.l-footer-nav {
  display: grid;
  grid-template-columns: repeat(6, auto);
  gap: 24px;
  margin-bottom: 0;
  justify-content: start;
  text-align: left;
}
.l-footer-nav__group h4 {
  font-family: "Quicksand", "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  color: var(--brand-dark);
  text-transform: none;
  letter-spacing: 0.02em;
  margin: 0 0 4px;
  font-weight: 700;
}
.l-footer-nav__group h4 a {
  color: inherit;
  text-decoration: none;
}
.l-footer-nav__group h4 a:hover {
  color: var(--brand);
}
.l-footer-nav__group .l-footer-nav__jp {
  font-size: 1.1rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}
.l-footer-nav__group a {
  font-size: 1.3rem;
  color: var(--text-light);
  line-height: 2.2;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}
.l-footer-nav__group a:hover { color: var(--brand); }
.l-footer-nav__group > span:not(.l-footer-nav__jp) {
  font-size: 1.3rem;
  color: var(--text-muted);
  line-height: 2.2;
  display: block;
}
.l-footer-pagetop { display: none; }
.l-footer-link { display: none; }
.l-footer-bottom {
  grid-column: 1 / -1;
}
.l-footer-copyright {
  display: block;
  text-align: left;
  color: var(--text-muted);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--border-warm);
  padding-top: 32px;
  margin-top: 40px;
}
@media screen and (max-width:1080px) and (min-width:768px) {
  .l-footer .l-inner { grid-template-columns: 1fr; gap: 40px; }
  .l-footer-nav { grid-template-columns: repeat(3, 1fr); gap: 24px 32px; }
}
@media screen and (max-width:767px) {
  .l-footer { padding: 60px 20px 30px; }
  .l-footer .l-inner { grid-template-columns: 1fr; gap: 40px; }
  .l-footer-nav { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ===== HAMBURGER / MOBILE NAV FIX ===== */
/* SPメニュー: ハンバーガーをヘッダー(55px)内に収める
   ⚠️ style.css は top:10px + height:60px = 70px で、新デザインのヘッダー55pxをはみ出す */
@media screen and (max-width:980px) {
  .l-header-menu {
    width: 44px !important;
    height: 44px !important;
    top: 50% !important;
    right: 8px !important;
    transform: translateY(-50%) !important;
  }
}
/* SPメニュー: 開いている時だけ表示する（.is-open 必須。付け忘れると閉じていても中身が出る） */
@media screen and (max-width:767px) {
  .l-header-nav.is-open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .l-header-nav.is-open .l-header-nav__inner {
    display: block !important;
    visibility: visible !important;
  }
  .l-header-nav.is-open .l-header-nav__items {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .l-header-nav.is-open .l-header-nav__item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .l-header-nav.is-open .l-header-nav__link {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 12px 20px !important;
    font-size: 1.5rem !important;
    color: var(--text) !important;
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
  }
  /* Show dropdown items inline in mobile menu */
  .l-header-nav.is-open .l-header-nav__item--has-dropdown .l-header-dropdown {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    background: rgba(0,0,0,0.02) !important;
  }
  .l-header-nav.is-open .l-header-dropdown__item {
    padding: 10px 20px 10px 36px !important;
    font-size: 1.3rem !important;
    display: block !important;
    visibility: visible !important;
  }
  /* Hide dropdown arrow on mobile */
  .l-header-nav.is-open .l-header-nav__item--has-dropdown > .l-header-nav__link::after {
    display: none !important;
  }
  /* Nav buttons (CTA) */
  .l-header-nav__btns {
    display: block !important;
    visibility: visible !important;
    padding: 16px 20px !important;
  }
}
/* Dark hero state: brand-color lines on semi-transparent bg */
.l-header-menu {
  background: rgba(255,255,255,0.12) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}
.l-header-menu span,
.l-header-menu span::before,
.l-header-menu span::after { background: var(--brand) !important; }
/* Scrolled (is-fixed) state: brand-color lines on light bg */
.l-header.is-fixed .l-header-menu { background: rgba(42,69,81,0.08) !important; }
.l-header.is-fixed .l-header-menu span,
.l-header.is-fixed .l-header-menu span::before,
.l-header.is-fixed .l-header-menu span::after { background: var(--brand) !important; }

/* ===== Hero serif accent ===== */
.new-hero__main .hero-serif {
  font-family: "DM Serif Display", serif;
  font-style: italic;
  font-weight: 400;
}

/* ===== LENIS SMOOTH SCROLL ===== */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor-active .cursor-dot,
.cursor-active .cursor-outline {
  opacity: 1;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--brand);
  transform: translate(-50%, -50%);
  mix-blend-mode: normal;
}
.cursor-outline {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--brand);
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s, border-color 0.25s, opacity 0.3s;
}
.cursor-outline.is-hover {
  width: 54px;
  height: 54px;
  background: rgba(70, 170, 184, 0.08);
  border-color: var(--brand);
}
.cursor-outline.is-text {
  width: 4px;
  height: 28px;
  border-radius: 2px;
  background: var(--brand);
  border: none;
}
.cursor-outline.is-view {
  width: 80px;
  height: 80px;
  background: rgba(70, 170, 184, 0.12);
  border-color: var(--brand);
}
.cursor-view-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Quicksand", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand);
  opacity: 0;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.cursor-outline.is-view .cursor-view-label {
  opacity: 1;
}
/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor-dot, .cursor-outline { display: none; }
  body.cursor-active { cursor: auto; }
}
body.cursor-active { cursor: none; }
body.cursor-active a,
body.cursor-active button,
body.cursor-active input,
body.cursor-active textarea,
body.cursor-active select,
body.cursor-active label { cursor: none; }

/* ===== GSAP ANIMATION OVERRIDES ===== */
/* When GSAP is active, disable CSS-only fade system */
.gsap-active .c-anim-fade {
  opacity: 1;
  transform: none;
  transition: none;
}
/* GSAP-controlled elements start hidden */
.gsap-active .gsap-fade {
  opacity: 0;
  visibility: hidden;
}

/* ===== TYPOGRAPHY REVEAL ===== */
.char-reveal .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}
.line-reveal {
  clip-path: inset(0 100% 0 0);
}

/* ===== HERO WEBGL CANVAS ===== */
.hero-webgl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
/* When WebGL is active, dim static background effects */
.webgl-active .new-hero::after {
  opacity: 0.3;
}

/* ===== INTERACTIVE PARTICLE CANVAS ===== */
.hero-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* ===== SOLUTION FINDER v2 (インライン診断ウィジェット) ===== */
.sf-widget {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9000;
  width: 340px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease);
  animation: sfSlideUp 0.6s var(--ease) both;
  animation-delay: 1.5s;
}
@keyframes sfSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.sf-widget:hover { box-shadow: 0 16px 48px rgba(42,69,81,0.18); }

/* --- Widget header (always visible) --- */
.sf-widget__header {
  background: var(--brand-dark);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sf-widget__icon {
  width: 28px;
  height: 28px;
  background: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1;
}
.sf-widget__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}

/* --- Progress bar --- */
.sf-progress {
  display: flex;
  gap: 4px;
  padding: 0 18px;
  margin-top: -2px;
  background: var(--brand-dark);
  padding-bottom: 10px;
}
.sf-progress__step {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.2);
  transition: background 0.4s;
}
.sf-progress__step.is-done { background: var(--brand); }
.sf-progress__step.is-current { background: var(--brand); animation: sfStepPulse 1.5s ease-in-out infinite; }
@keyframes sfStepPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* --- Question body --- */
.sf-body {
  padding: 18px;
}
.sf-question {
  display: none;
}
.sf-question.is-active {
  display: block;
  animation: sfFadeIn 0.35s var(--ease);
}
@keyframes sfFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.sf-question__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* --- Option buttons --- */
.sf-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sf-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--warm-bg);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.15s;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.3rem;
  color: var(--text);
  line-height: 1.4;
  text-align: left;
}
.sf-option:hover {
  border-color: var(--brand);
  background: var(--brand-light);
  transform: translateX(3px);
}
.sf-option__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Loading --- */
.sf-loading {
  display: none;
  text-align: center;
  padding: 32px 18px;
}
.sf-loading.is-active { display: block; }
.sf-loading__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border-warm);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: sfSpin 0.8s linear infinite;
  margin: 0 auto 14px;
}
@keyframes sfSpin { to { transform: rotate(360deg); } }
.sf-loading__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- Header buttons (minimize / close) --- */
.sf-widget__header-btns {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.sf-widget__minimize,
.sf-widget__close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
  line-height: 1;
}
.sf-widget__minimize:hover,
.sf-widget__close:hover {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}
.sf-widget.is-minimized .sf-body,
.sf-widget.is-minimized .sf-progress,
.sf-widget.is-minimized .sf-loading { display: none; }
.sf-widget.is-minimized { width: auto; cursor: pointer; }
.sf-widget.is-minimized .sf-widget__header { border-radius: 60px; }
.sf-widget.is-minimized .sf-widget__close { display: none; }
.sf-widget.is-hidden { display: none; }

/* --- Reopen floating button --- */
.sf-reopen {
  display: none;
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9000;
  width: 56px;
  height: 56px;
  background: var(--brand);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 2.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s, background 0.2s;
  animation: sfSlideUp 0.4s var(--ease) both;
}
.sf-reopen:hover {
  background: var(--brand-dark);
  transform: scale(1.08);
}
.sf-reopen.is-visible { display: flex; align-items: center; justify-content: center; }

/* --- Result CTA (after Q3) --- */
.sf-result-cta {
  display: none;
  padding: 18px;
  text-align: center;
}
.sf-result-cta.is-active {
  display: block;
  animation: sfFadeIn 0.35s var(--ease);
}
.sf-result-cta__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.sf-result-cta__btn {
  display: inline-block;
  width: 100%;
  padding: 14px 24px;
  background: var(--brand);
  color: var(--white);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.sf-result-cta__btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

/* --- SP responsive --- */
@media screen and (max-width:767px) {
  .sf-widget {
    bottom: 16px;
    right: 12px;
    left: 12px;
    width: auto;
  }
  .sf-reopen {
    bottom: 16px;
    right: 12px;
  }
}

/* ===== Case section (added 2026-08-17) ===== */
.case-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:32px 28px;margin-top:44px}
.case-card{display:block;text-decoration:none;color:inherit}
.case-card__thumb{position:relative;border-radius:8px;overflow:hidden;background:#eef4f5;aspect-ratio:16/10}
.case-card__thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease}
.case-card:hover .case-card__thumb img{transform:scale(1.04)}
.case-card__tag{position:absolute;top:0;right:0;background:#e60027;color:#fff;font-size:1.1rem;line-height:1;padding:7px 12px;letter-spacing:.02em}
.case-card__date{display:block;margin-top:16px;font-size:1.3rem;color:#8a9a9f}
.case-card__title{margin-top:6px;font-size:1.7rem;line-height:1.6;font-weight:700;color:#2a4551}
.case-card:hover .case-card__title{color:#2e7c88}
.case-section__more{margin-top:44px;text-align:center}
.case-section__more a{display:inline-flex;align-items:center;gap:8px;font-size:1.4rem;color:#2e7c88;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:2px}
@media screen and (max-width:980px){.case-cards{grid-template-columns:repeat(2,1fr);gap:28px 20px}}
@media screen and (max-width:600px){.case-cards{grid-template-columns:1fr;gap:28px}.case-card__title{font-size:1.6rem}}

/* SPメニュー: 視認性の改善（GP-Online のSPメニューを参考。ダーク地＋左寄せ＋区切り線） */
@media screen and (max-width:980px) {
  /* 背景をダークにしてコントラストを確保（ティール地＋白文字は読みにくかった） */
  .l-header__bg.is-open { background: #22333b !important; }
  .l-header-nav.is-open .l-header-nav__inner { padding: 8px 24px 40px !important; }

  /* 親項目: 左寄せ・太字・区切り線 */
  .l-header-nav.is-open .l-header-nav__item { border-bottom: 1px solid rgba(255,255,255,0.14) !important; }
  .l-header-nav.is-open .l-header-nav__link {
    text-align: left !important;
    font-size: 1.7rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    padding: 18px 4px !important;
    letter-spacing: .02em !important;
  }

  /* 子項目: 一段下げて、親より小さく。文字は白で十分な濃さを保つ */
  .l-header-nav.is-open .l-header-dropdown { padding: 0 0 10px 14px !important; }
  .l-header-nav.is-open .l-header-dropdown__item {
    text-align: left !important;
    color: rgba(255,255,255,0.88) !important;
    font-size: 1.4rem !important;
    font-weight: 500 !important;
    padding: 11px 4px !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
  }
  .l-header-nav.is-open .l-header-dropdown__label {
    color: rgba(255,255,255,0.55) !important;
    font-size: 1.15rem !important;
    margin-top: 3px !important;
  }

  /* CTA: 幅いっぱいで押しやすく
     ⚠️ display:block にすると既存の flex 中央寄せが壊れ、文字が上に寄る（2026-08-17 実測） */
  .l-header-nav.is-open .l-header-nav__btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 62px !important;
    height: auto !important;
    margin: 28px 0 0 !important;
    padding: 14px 44px 14px 20px !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }
  .l-header-nav.is-open .l-header-nav__btn .c-btn01__txt {
    line-height: 1.5 !important;
    font-size: 1.6rem !important;
  }
  /* PC用の改行はSPでは出さない */
  .l-header-nav.is-open .l-header-nav__btn .c-btn01__txt br { display: none !important; }
}

/* ページ内リンクの着地位置がヘッダーに隠れないようにする */
#service-training, #service-advisory { scroll-margin-top: 70px; }

/* SPメニュー: 文字色を白で確定させる
   ⚠️ 既存CSSが .l-header.is-fixed / .is-open で var(--text)（ダークネイビー）を !important 指定しており、
   スクロール後にメニューを開くと文字が背景に溶けて見えなくなっていた */
@media screen and (max-width:980px) {
  .l-header-nav.is-open .l-header-nav__link,
  .l-header.is-fixed .l-header-nav.is-open .l-header-nav__link { color: #fff !important; }
  .l-header-nav.is-open .l-header-dropdown__item,
  .l-header.is-fixed .l-header-nav.is-open .l-header-dropdown__item { color: rgba(255,255,255,0.88) !important; }
  .l-header-nav.is-open .l-header-dropdown__label { color: rgba(255,255,255,0.55) !important; }
}

/* SPメニュー: パネルの高さをビューポート基準にする
   ⚠️ style.css は .l-header-nav { height: calc(100% - 55px) } で親(.l-header)の高さに依存している。
   スクロールで .l-header が 55px に縮むと calc(100% - 55px) = 0 になり、
   中身が押し潰されて「メニューを開いても文字が出ない」状態になっていた（2026-08-17 実測）。 */
@media screen and (max-width:980px) {
  .l-header-nav {
    height: calc(100vh - 55px) !important;
    height: calc(100dvh - 55px) !important;
    max-height: none !important;
  }
  .l-header-nav.is-open .l-header-nav__inner {
    height: 100% !important;
    max-height: none !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}

/* 本番の /assets/css/style.css には .l-header-nav__btns が存在しないため、ここで補う。
   ⚠️ 本番CSSを差し替えると他ページ（プライバシーポリシー等）に影響するので、CSS本体は触らない方針。
   テスト環境のCSSにのみ存在していた2ルールを移植（2026-08-18 実測）。 */
@media screen and (max-width:980px) {
  .l-header-nav__btns { opacity: 1; -webkit-transition: opacity .2s; transition: opacity .2s; }
  .l-header-nav__btns.is-close { opacity: 0; }
}
