/* ========================================
   noDX, no営業 - 共通CSS
   MVP 1: index.html から抽出
   ======================================== */

/* ===== CSS Variables ===== */
:root {
  --color-bg: #FFFFFF;
  --color-main: #0084FF;
  --color-main-dark: #0066CC;
  --color-sub: #F0F6FF;
  --color-accent: #FAD200;
  --color-accent-dark: #E5BE00;
  --color-text: #1A1A1A;
  --color-text-sub: #666666;
  --color-border: #E5E5E5;
  --color-dark: #0A0A0A;
  /* ステータスカラー（MVP 2で追加） */
  --color-success: #27AE60;
  --color-error: #E53935;
  --color-danger: #E53935;
  --color-warning: #F39C12;
  /* ページ固有カラー */
  --color-sub-light: #F8FAFC;
  --color-main-light: #E8F4FF;
  /* offense系カラー（攻め/推進） */
  --color-offense: #F59E0B;
  --color-offense-dark: #D97706;
  /* リスク/機会カラー */
  --color-risk-light: #FF6B6B;
  --color-opportunity-light: #4ADE80;
  --font-base: 18px;
  --font-jp: 'Noto Sans JP', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  --font-en: 'Inter', sans-serif;
  --font-mincho: 'Shippori Mincho B1', serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  /* 統一角丸システム */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 60px;
  /* Typography Design System */
  /* Display（ヒーロー・大見出し） */
  --font-display-lg: clamp(2.5rem, 5vw, 4rem);
  --font-display-md: clamp(1.75rem, 4vw, 2.5rem);
  /* Heading（見出し） */
  --font-heading-lg: clamp(1.25rem, 3vw, 1.5rem);
  --font-heading-md: 1.25rem;
  --font-heading-sm: 1rem;
  /* Body（本文） */
  --font-body-lg: 1.0625rem;
  --font-body-md: 1rem;
  --font-body-sm: 0.9rem;
  /* Small（ラベル・補足） */
  --font-small-lg: 0.875rem;
  --font-small-md: 0.75rem;
  --font-small-sm: 0.65rem;
  /* Extended Font Sizes (v1.8) */
  --font-body-sm-lg: 0.9375rem;
  --font-body-xs: 1.125rem;
  --font-body-lg-lg: 1.375rem;
  --font-small-xs: 0.8125rem;
  --font-small-xs-alt: 0.8rem;
  --font-display-sm: 2rem;
  --font-display-xl: 3rem;
  --font-tiny: 0.625rem;
  /* Color Alpha Variants (v1.8) */
  --color-main-alpha-05: var(--color-main-alpha-05);
  --color-main-alpha-08: var(--color-main-alpha-08);
  --color-main-alpha-10: var(--color-main-alpha-10);
  --color-main-alpha-15: var(--color-main-alpha-15);
  --color-main-alpha-20: var(--color-main-alpha-20);
  --color-main-alpha-30: var(--color-main-alpha-30);
  /* SNS Colors (v1.8) */
  --color-social-facebook: #1877F2;
  --color-social-line: #00B900;
  --color-gray-slate: var(--color-gray-slate);
  /* Gap System (v1.8) */
  --gap-xs: 0.25rem;
  --gap-sm: 0.5rem;
  --gap-md: 0.75rem;
  --gap-lg: 1rem;
  --gap-xl: 1.5rem;
  --gap-2xl: 2rem;
  --gap-3xl: 3rem;
  --gap-4xl: 4rem;
  /* Extended Radius (v1.8) */
  --radius-circle: 50%;
  --radius-xs: 2px;
  --radius-pill: 9999px;
}

/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ===== Skip Link (Accessibility) ===== */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 10000;
  padding: 1rem 1.5rem;
  background: var(--color-main);
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

body {
  font-family: var(--font-jp);
  font-size: var(--font-base);
  line-height: 1.8;
  background: var(--color-bg);
  overflow-x: hidden;
}

/* ===== Typography System ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-jp);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.4;
}

h4 {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  line-height: 1.5;
}

h5 {
  font-size: var(--font-body-md);
  line-height: 1.5;
}

h6 {
  font-size: var(--font-small-lg);
  line-height: 1.5;
}

p {
  margin: 0;
  line-height: 1.8;
}

/* ブランドタグライン - 明朝体 */
.brand-tagline,
.fv__title,
.page-header__title,
.hero-title,
.hero__title,
.page-fv__title,
.page-hero__title,
.service-hero__title {
  font-family: var(--font-mincho);
}

/* 数値・英字 */
.number-item__value,
.stat-value,
[class*="count"],
[class*="number"] {
  font-family: var(--font-en);
}

/* ラベル・キャプション */
.label,
.caption,
[class*="__label"] {
  font-family: var(--font-en);
  font-size: var(--font-small-lg);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== Utility ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.container--wide {
  max-width: 1600px;
}

.container--narrow {
  max-width: 960px;
}

.container--form {
  max-width: 800px;
}

.highlight {
  color: var(--color-main);
}

/* ===== Animation Definitions ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(80px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.9;
  }
}

@keyframes scrollDown {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(10px);
    opacity: 0.5;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

/* ===== Mouse Stalker ===== */
.mouse-stalker {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-main);
  border-radius: var(--radius-circle);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out-expo),
    height 0.3s var(--ease-out-expo),
    opacity 0.3s,
    background-color 0.3s,
    border-color 0.3s;
}

.mouse-stalker.is-active {
  opacity: 1;
}

.mouse-stalker.is-hovering {
  width: 60px;
  height: 60px;
  background-color: var(--color-main-alpha-10);
  border-color: var(--color-main);
}

.mouse-stalker-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--color-main);
  border-radius: var(--radius-circle);
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s, transform 0.15s var(--ease-out-expo);
}

.mouse-stalker-dot.is-active {
  opacity: 1;
}

.mouse-stalker-dot.is-hovering {
  transform: translate(-50%, -50%) scale(0);
}

/* タッチデバイスでは非表示 */
@media (hover: none) and (pointer: coarse) {

  .mouse-stalker,
  .mouse-stalker-dot {
    display: none;
  }
}

@keyframes revealText {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes lineExpand {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* Scroll Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  transform: translateX(-80px);
}

.reveal--left.is-visible {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(80px);
}

.reveal--right.is-visible {
  transform: translateX(0);
}

.reveal--scale {
  transform: scale(0.9);
}

.reveal--scale.is-visible {
  transform: scale(1);
}

.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.stagger-5 {
  transition-delay: 0.5s;
}

.stagger-6 {
  transition-delay: 0.6s;
}

/* ===== Image Placeholder ===== */
.img-placeholder {
  background: linear-gradient(135deg, #F0F6FF 0%, #E0EDFF 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #666666;
  font-size: var(--font-small-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.img-placeholder__label {
  background: var(--color-main-alpha-10);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: var(--font-small-md);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: var(--color-main);
}

.img-placeholder__size {
  font-size: var(--font-small-sm);
  opacity: 0.6;
}

/* ===== Utility Classes ===== */

/* スマホ専用（PCで非表示） */
.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }

  /* PC用brをスマホで非表示 */
  .pc-only,
  br:not(.sp-only) {
    display: none;
  }
}

/* PC専用（スマホで非表示） */
@media (min-width: 769px) {
  .pc-only {
    display: inline;
  }
}

/* 画像カバー */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-cover--rounded {
  border-radius: var(--radius-lg);
}

.img-cover--rounded-xl {
  border-radius: var(--radius-xl);
}

/* 非表示（ナビゲーション等） */
.is-hidden {
  visibility: hidden;
}

/* 空状態 */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 0;
}

/* セクションサブタイトル中央寄せ */
.section__subtitle--centered {
  margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.125rem 2.5rem;
  font-size: var(--font-body-md);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.4s var(--ease-out-expo);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-text);
  font-weight: 700;
}

.btn--primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(250, 210, 0, 0.35);
}

.btn--secondary {
  background: var(--color-main);
  color: white;
}

.btn--secondary:hover {
  background: var(--color-accent);
  color: var(--color-text);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(250, 210, 0, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--color-main);
  border: 2px solid var(--color-main);
}

.btn--outline:hover {
  background: var(--color-main);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 132, 255, 0.35);
}

.btn--dark {
  background: var(--color-text);
  color: white;
}

.btn--dark:hover {
  background: var(--color-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(10, 10, 10, 0.3);
}

.btn--pulse {
  animation: pulse 2.5s infinite;
}

.btn__arrow {
  transition: transform 0.3s;
}

.btn:hover .btn__arrow {
  transform: translateX(5px);
}

/* ===== Header (Floating Capsule) ===== */
.header-capsule {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1100px;
  z-index: 1000;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s var(--ease-out-expo);
}

.header-capsule.header-scrolled {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header__logo img {
  height: 32px;
  width: auto;
}

.header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.header__nav-link {
  color: var(--color-gray-slate);
  text-decoration: none;
  font-size: var(--font-small-lg);
  font-weight: 500;
  transition: color 0.3s;
}

.header__nav-link:hover {
  color: var(--color-main);
}

/* ===== Header Dropdown ===== */
.header__nav-item {
  position: relative;
}

.header__nav-item--has-dropdown .header__nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header__dropdown-arrow {
  transition: transform 0.3s var(--ease-out-expo);
}

.header__nav-item--has-dropdown:hover .header__dropdown-arrow {
  transform: rotate(180deg);
}

.header__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 200px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-out-expo);
  z-index: 1000;
}

.header__dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid white;
}

.header__nav-item--has-dropdown:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.header__dropdown-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-gray-slate);
  text-decoration: none;
  font-size: var(--font-small-lg);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}

.header__dropdown-link:hover {
  background: var(--color-bg);
  color: var(--color-main);
}

.header__cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: var(--color-text);
  font-weight: 700;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-small-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
}

.header__cta:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(250, 210, 0, 0.3);
}

.header__cta svg {
  width: 16px;
  height: 16px;
}

.header__mobile-btn {
  display: flex;
  padding: 0.5rem;
  color: var(--color-gray-slate);
  background: none;
  border: none;
  cursor: pointer;
}

.header__mobile-btn svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 768px) {
  .header-capsule {
    padding: 0.75rem 1.5rem;
  }

  .header__nav {
    display: flex;
  }

  .header__cta {
    display: inline-flex;
  }

  .header__mobile-btn {
    display: none;
  }
}

@media (max-width: 767px) {
  .header-capsule {
    top: 12px;
    width: calc(100% - 24px);
    padding: 0.625rem 1rem;
  }
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  background: white;
  z-index: 1001;
  padding: 5rem 2rem 2rem;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  transition: right 0.4s var(--ease-out-expo);
}

.mobile-menu.is-open {
  right: 0;
}

.mobile-menu__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu__overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: color 0.3s;
}

.mobile-menu__close:hover {
  color: var(--color-main);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu__link {
  display: block;
  padding: 1rem 0;
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--font-body-md);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.3s, padding-left 0.3s;
}

.mobile-menu__link:hover {
  color: var(--color-main);
  padding-left: 0.5rem;
}

.mobile-menu__cta {
  margin-top: 2rem;
}

.mobile-menu__cta .btn {
  width: 100%;
  justify-content: center;
}

/* ===== Focus States (Accessibility) ===== */
:focus-visible {
  outline: 2px solid var(--color-main);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-main);
  outline-offset: 3px;
}

.header__nav-link:focus-visible,
.header__cta:focus-visible {
  outline-offset: 4px;
}

/* ===== Link Base Styles ===== */
a {
  color: var(--color-main);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--color-main-dark);
}

/* ===== 01. FV (First View) ===== */
.fv {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.fv__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.fv__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv__bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(240, 246, 255, 0.88) 50%, rgba(255, 255, 255, 0.9) 100%);
}

.fv__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 8rem 0;
}

.fv__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.fv__text {
  max-width: 640px;
}

.fv__title {
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.3s forwards;
}

.fv__title span {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-main), var(--color-main-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fv__lead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--color-text);
  margin-bottom: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.5s forwards;
}

.fv__sub {
  font-size: var(--font-body-md);
  color: var(--color-text-sub);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.7s forwards;
}

.fv__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.9s forwards;
}

.fv__visual {
  position: relative;
  opacity: 0;
  animation: fadeInRight 1.2s var(--ease-out-expo) 0.6s forwards;
}

.fv__image-main {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px var(--color-main-alpha-15);
}

.fv__image-float {
  position: absolute;
  width: 200px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 132, 255, 0.12);
  animation: float 4s ease-in-out infinite;
}

.fv__image-float--1 {
  bottom: -40px;
  left: -60px;
  animation-delay: 0s;
}

.fv__image-float--2 {
  top: -30px;
  right: -40px;
  width: 160px;
  animation-delay: 1s;
}

/* ===== 02. Problems (課題共感) - Bento Grid ===== */
.problems {
  padding: 8rem 0;
  background: #FFFFFF;
  color: var(--color-text);
  position: relative;
  overflow: hidden;
}

.problems__header {
  text-align: center;
  margin-bottom: 4rem;
}

.problems__label {
  font-family: var(--font-en);
  font-size: var(--font-small-lg);
  font-weight: 600;
  color: var(--color-main);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.problems__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
}

.problems__title em {
  font-style: normal;
  color: var(--color-main);
}

/* Bento Grid */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, minmax(180px, auto));
  gap: 1.25rem;
}

.bento__item {
  background: var(--color-sub);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

.bento__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-main-alpha-08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}

.bento__item:hover {
  transform: translateY(-5px);
  border-color: var(--color-main-alpha-30);
  box-shadow: 0 20px 60px rgba(0, 132, 255, 0.12);
}

.bento__item:hover::before {
  opacity: 1;
}

.bento__item--large {
  grid-column: span 6;
  grid-row: span 2;
}

.bento__item--medium {
  grid-column: span 6;
}

.bento__item--small {
  grid-column: span 4;
}

.bento__item--has-image {
  padding: 0;
}

.bento__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.5s, transform 0.8s var(--ease-out-expo);
}

.bento__item:hover .bento__image {
  opacity: 0.6;
  transform: scale(1.05);
}

.bento__content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 60%, transparent 100%);
}

.bento__icon {
  font-size: var(--font-display-md);
  margin-bottom: 1rem;
  display: block;
}

.bento__item-title {
  font-size: var(--font-heading-md);
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  color: var(--color-text);
}

.bento__item-text {
  font-size: var(--font-body-sm);
  color: var(--color-text-sub);
  line-height: 1.7;
}

/* ===== 03. Solution (解決宣言) ===== */
.solution {
  padding: 0;
  position: relative;
}

.solution__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.solution__image {
  position: relative;
  overflow: hidden;
}

.solution__image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.solution__image-bg .img-placeholder {
  width: 100%;
  height: 100%;
}

.solution__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 6rem);
  background: var(--color-sub);
}

.solution__label {
  font-family: var(--font-en);
  font-size: var(--font-small-lg);
  font-weight: 600;
  color: var(--color-main);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.solution__title {
  margin-bottom: 1.5rem;
}

.solution__title em {
  font-style: normal;
  color: var(--color-main);
  position: relative;
}

.solution__title em::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--color-main-alpha-20);
  z-index: -1;
}

.solution__text {
  font-size: var(--font-body-lg);
  color: var(--color-text-sub);
  line-height: 2;
  margin-bottom: 2.5rem;
}

.solution__features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.solution__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--font-body-sm);
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.solution__feature-icon {
  color: var(--color-main);
}

/* ===== 04. Services ===== */
.services {
  padding: 8rem 0;
  background: white;
}

.services__header {
  text-align: center;
  margin-bottom: 4rem;
}

.services__label {
  font-family: var(--font-en);
  font-size: var(--font-small-lg);
  font-weight: 600;
  color: var(--color-main);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.services__title em {
  font-style: normal;
  color: var(--color-main);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-dark);
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out-expo);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease-out-expo), opacity 0.5s;
}

.service-card__image .img-placeholder {
  width: 100%;
  height: 100%;
}

.service-card:hover .service-card__image {
  transform: scale(1.1);
  opacity: 0.7;
}

.service-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.3) 50%, transparent 100%);
  transition: background 0.5s;
}

.service-card:hover .service-card__overlay {
  background: linear-gradient(to top, rgba(0, 132, 255, 0.9) 0%, rgba(0, 132, 255, 0.4) 50%, transparent 100%);
}

.service-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  color: white;
  z-index: 1;
}

.service-card__number {
  font-family: var(--font-en);
  font-size: var(--font-small-md);
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.service-card__title {
  font-size: var(--font-heading-md);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.service-card__desc {
  font-size: var(--font-small-lg);
  opacity: 0.7;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-small-lg);
  font-weight: 600;
  color: white;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-out-expo);
}

.service-card:hover .service-card__link {
  opacity: 1;
  transform: translateY(0);
}

.service-card__link-arrow {
  transition: transform 0.3s;
}

.service-card__link:hover .service-card__link-arrow {
  transform: translateX(5px);
}

/* ===== 05. Numbers (数値実績) ===== */
.numbers {
  padding: 6rem 0;
  background: var(--color-main);
  position: relative;
  overflow: hidden;
}

.numbers__bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.numbers__inner {
  position: relative;
  z-index: 1;
}

.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.number-item {
  text-align: center;
  color: white;
}

.number-item__value {
  font-family: var(--font-en);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.number-item__unit {
  font-size: 1.5rem;
  font-weight: 600;
}

.number-item__label {
  font-size: var(--font-body-sm-lg);
  opacity: 0.85;
}

/* ===== 06. News ===== */
.news {
  padding: 6rem 0;
  background: var(--color-sub);
}

.news__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}


.news__label {
  font-family: var(--font-en);
  font-size: var(--font-small-lg);
  font-weight: 600;
  color: var(--color-main);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.news__title {
  font-size: var(--font-heading-lg);
  font-weight: 700;
}

.news__more {
  font-size: var(--font-body-sm);
  font-weight: 600;
  color: var(--color-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}

.news__more:hover {
  gap: 0.75rem;
}

.news__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.news-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 2rem;
  background: white;
  text-decoration: none;
  color: var(--color-text);
  transition: background 0.3s, padding-left 0.3s;
}

.news-item:hover {
  background: var(--color-sub);
  padding-left: 2.5rem;
}

.news-item__date {
  font-family: var(--font-en);
  font-size: var(--font-small-lg);
  color: var(--color-text-sub);
}

.news-item__title {
  font-size: var(--font-body-md);
  font-weight: 500;
  line-height: 1.5;
}

.news-item__arrow {
  color: var(--color-main);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s;
}

.news-item:hover .news-item__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ===== 07. CTA ===== */
.cta {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cta__bg .img-placeholder {
  width: 100%;
  height: 100%;
}

.cta__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 64, 245, 0.92) 0%, rgba(0, 50, 200, 0.95) 100%);
}

.cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  max-width: 700px;
  margin: 0 auto;
}

.cta__title {
  margin-bottom: 1.25rem;
}

.cta__text {
  font-size: var(--font-body-lg);
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.9;
}

.cta .btn--primary {
  background: white;
  color: var(--color-main);
}

.cta .btn--primary:hover {
  background: var(--color-accent);
  color: var(--color-dark);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.cta__microcopy {
  font-size: var(--font-small-lg);
  opacity: 0.85;
  margin-top: 1rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-dark);
  color: white;
  padding: 5rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer__brand {
  font-family: var(--font-mincho);
  font-size: var(--font-heading-lg);
  font-weight: 700;
  margin-bottom: 0;
  letter-spacing: 0.1em;
}

.footer__tagline {
  font-size: var(--font-small-lg);
  color: #ffffff;
  line-height: 1.8;
}

.footer__logo {
  display: block;
  margin-top: 3.125rem;
}

.footer__logo img {
  height: 64px;
  width: auto;
}

.footer__nav-title {
  font-family: var(--font-en);
  font-size: var(--font-small-md);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  margin-bottom: 1.25rem;
}

.footer__nav {
  list-style: none;
}

.footer__nav li {
  margin-bottom: 0.75rem;
}

.footer__nav a {
  color: white;
  text-decoration: none;
  font-size: var(--font-body-sm);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer__nav a:hover {
  opacity: 1;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--font-small-xs);
  opacity: 0.6;
}

.footer__bottom a {
  color: white;
  text-decoration: none;
}

/* ===== Responsive ===== */
@media (max-width: 1280px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    aspect-ratio: 4/3;
  }

  .bento {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto;
  }

  .bento__item--large {
    grid-column: span 6;
    grid-row: span 1;
  }

  .bento__item--medium {
    grid-column: span 3;
  }

  .bento__item--small {
    grid-column: span 3;
  }

  .fv__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fv__bg {
    background: url('../images/top_hero.webp') center center / cover no-repeat;
  }

  .fv__bg-overlay {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(240, 246, 255, 0.65) 50%, rgba(255, 255, 255, 0.65) 100%);
  }

  .fv__visual {
    display: none;
  }

  .fv__cta {
    justify-content: center;
  }

  .solution__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .solution__image {
    height: 400px;
  }

  .numbers__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    aspect-ratio: 4/3;
  }

  .bento__item--large,
  .bento__item--medium,
  .bento__item--small {
    grid-column: span 6;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .news-item__arrow {
    display: none;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 375px) {
  .numbers__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .fv__cta {
    flex-direction: column;
  }

  .fv__cta .btn {
    width: 100%;
  }
}

/* ===== Category Filter ===== */
.category-filter {
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}

.category-filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  list-style: none;
}

.category-filter__item a {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-size: var(--font-small-lg);
  font-weight: 500;
  color: var(--color-text-sub);
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-out-expo);
}

.category-filter__item a:hover {
  border-color: var(--color-main);
  color: var(--color-main);
}

.category-filter__item--active a {
  background: var(--color-main);
  border-color: var(--color-main);
  color: white;
}

.category-filter__item--active a:hover {
  color: white;
}

/* ===== News Archive ===== */
.news-archive {
  padding: 4rem 0 8rem;
}

.news-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* News Card */
.news-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.4s var(--ease-out-expo);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 132, 255, 0.12);
}

.news-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.news-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out-expo);
}

.news-card__image .img-placeholder {
  width: 100%;
  height: 100%;
  transition: transform 0.4s var(--ease-out-expo);
}

.news-card:hover .news-card__image img,
.news-card:hover .news-card__image .img-placeholder {
  transform: scale(1.05);
}

.news-card__content {
  padding: 1.5rem;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.news-card__date {
  font-family: var(--font-en);
  font-size: var(--font-small-xs);
  color: var(--color-text-sub);
}

.news-card__category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: var(--font-small-sm);
  font-weight: 600;
  color: var(--color-main);
  background: var(--color-main-alpha-10);
  border-radius: var(--radius-full);
}

.news-card__category--event {
  color: #27AE60;
  background: rgba(39, 174, 96, 0.1);
}

.news-card__category--media {
  color: #9B59B6;
  background: rgba(155, 89, 182, 0.1);
}

.news-card__category--column {
  color: #E67E22;
  background: rgba(230, 126, 34, 0.1);
}

.news-card__title {
  font-size: var(--font-body-md);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__excerpt {
  font-size: var(--font-small-lg);
  color: var(--color-text-sub);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Featured News (Top Article) */
.news-featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 1rem;
}

.news-featured .news-card__image {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.news-featured .news-card__content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-sub);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

.news-featured .news-card__title {
  font-size: var(--font-body-lg-lg);
  -webkit-line-clamp: 3;
  margin-bottom: 1rem;
}

.news-featured .news-card__excerpt {
  -webkit-line-clamp: 3;
  margin-bottom: 1.5rem;
}

.news-featured .news-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-small-lg);
  font-weight: 600;
  color: var(--color-main);
}

.news-featured .news-card__readmore svg {
  transition: transform 0.3s;
}

.news-featured:hover .news-card__readmore svg {
  transform: translateX(5px);
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 4rem;
}

.pagination__item {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: var(--font-body-sm-lg);
  font-weight: 500;
  color: var(--color-text-sub);
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all 0.3s var(--ease-out-expo);
}

.pagination__item:hover {
  border-color: var(--color-main);
  color: var(--color-main);
}

.pagination__item--current {
  background: var(--color-main);
  border-color: var(--color-main);
  color: white;
}

.pagination__item--current:hover {
  color: white;
}

.pagination__item--prev,
.pagination__item--next {
  width: auto;
  padding: 0 1.25rem;
  gap: 0.5rem;
}

.pagination__item--disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* News Archive Responsive */
@media (max-width: 1280px) {
  .news-archive__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-featured {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

  .news-featured .news-card__image {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .news-featured .news-card__content {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }
}

@media (max-width: 768px) {
  .news-archive__grid {
    grid-template-columns: 1fr;
  }

  .news-featured {
    grid-column: span 1;
  }
}

/* ===== Article Single ===== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  padding: 8rem 0 8rem;
}

.article-header {
  margin-bottom: 2.5rem;
}

.article-header__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.article-header__date {
  font-family: var(--font-en);
  font-size: var(--font-small-lg);
  color: var(--color-text-sub);
}

.article-header__category {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: var(--font-small-md);
  font-weight: 600;
  color: var(--color-main);
  background: var(--color-main-alpha-10);
  border-radius: var(--radius-full);
}

.article-header__category--event {
  color: #27AE60;
  background: rgba(39, 174, 96, 0.1);
}

.article-header__category--media {
  color: #9B59B6;
  background: rgba(155, 89, 182, 0.1);
}

.article-header__category--column {
  color: #E67E22;
  background: rgba(230, 126, 34, 0.1);
}

.article-header__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.5;
}

.article-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 3rem;
}

.article-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-thumbnail .img-placeholder {
  width: 100%;
  height: 100%;
}

/* Article Content */
.article-content {
  font-size: var(--font-body-md);
  line-height: 2;
  color: var(--color-text);
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-main);
}

.article-content h3 {
  font-size: var(--font-heading-md);
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--color-main);
}

.article-content p {
  margin-bottom: 1.75rem;
}

.article-content ul,
.article-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.75rem;
}

.article-content a {
  color: var(--color-main);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s;
}

.article-content a:hover {
  opacity: 0.7;
}

.article-content blockquote {
  background: var(--color-sub);
  border-left: 4px solid var(--color-main);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--color-text-sub);
}

.article-content img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
}

.article-content .info-box {
  background: var(--color-sub);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}

.article-content .info-box__title {
  font-size: var(--font-body-md);
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-content .info-box p {
  margin-bottom: 0;
}

/* Share Buttons */
.share-buttons {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.share-buttons__title {
  font-size: var(--font-small-lg);
  font-weight: 600;
  color: var(--color-text-sub);
  margin-bottom: 1rem;
}

.share-buttons__list {
  display: flex;
  gap: 0.75rem;
}

.share-buttons__item {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
  border: none;
  cursor: pointer;
}

.share-buttons__item--x {
  background: #000000;
  color: white;
}

.share-buttons__item--facebook {
  background: var(--color-social-facebook);
  color: white;
}

.share-buttons__item--line {
  background: var(--color-social-line);
  color: white;
}

.share-buttons__item--copy {
  background: var(--color-sub);
  color: var(--color-text);
}

.share-buttons__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Post Navigation */
.post-nav {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.post-nav__item {
  padding: 1.5rem;
  background: var(--color-sub);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease-out-expo);
}

.post-nav__item:hover {
  background: var(--color-main-alpha-10);
}

.post-nav__item--prev {
  text-align: left;
}

.post-nav__item--next {
  text-align: right;
}

.post-nav__label {
  font-size: var(--font-small-md);
  font-weight: 600;
  color: var(--color-text-sub);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-nav__item--next .post-nav__label {
  justify-content: flex-end;
}

.post-nav__title {
  font-size: var(--font-body-sm-lg);
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar__section {
  background: var(--color-sub);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
}

.sidebar__title {
  font-size: var(--font-body-sm-lg);
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-main);
}

/* Related Posts */
.related-posts {
  list-style: none;
}

.related-posts__item {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.related-posts__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.related-posts__link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: color 0.3s;
}

.related-posts__link:hover {
  color: var(--color-main);
}

.related-posts__date {
  font-family: var(--font-en);
  font-size: var(--font-small-md);
  color: var(--color-text-sub);
  margin-bottom: 0.35rem;
}

.related-posts__title {
  font-size: var(--font-small-lg);
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Category List */
.category-list {
  list-style: none;
}

.category-list__item {
  margin-bottom: 0.5rem;
}

.category-list__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text);
  font-size: var(--font-small-lg);
  transition: all 0.3s var(--ease-out-expo);
}

.category-list__link:hover {
  background: var(--color-main);
  color: white;
}

.category-list__count {
  font-family: var(--font-en);
  font-size: var(--font-small-md);
  color: var(--color-text-sub);
}

.category-list__link:hover .category-list__count {
  color: rgba(255, 255, 255, 0.8);
}

/* CTA Widget */
.sidebar__cta {
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main-dark) 100%);
  color: white;
  text-align: center;
}

.sidebar__cta .sidebar__title {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.sidebar__cta-text {
  font-size: var(--font-small-lg);
  opacity: 0.9;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.sidebar__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: white;
  color: var(--color-main);
  font-size: var(--font-small-lg);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out-expo);
}

.sidebar__cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Article Single Responsive */
@media (max-width: 1280px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .sidebar__section:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar__section:last-child {
    grid-column: span 1;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   サービス詳細用CSS（MVP 2で追加）
   ======================================== */

/* ===== Button Extensions ===== */
.btn--large {
  padding: 1.375rem 3rem;
  font-size: var(--font-body-xs);
}

.btn--white {
  background: white;
  color: var(--color-main);
}

.btn--white:hover {
  background: var(--color-accent);
  color: var(--color-dark);
  transform: translateY(-3px);
}

/* ===== Section Common ===== */
.section {
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.section--dark {
  background: var(--color-dark);
  color: white;
}

.section--sub {
  background: var(--color-sub);
}

.section--accent {
  background: var(--color-main);
  color: white;
}

.section__label {
  font-family: var(--font-en);
  font-size: var(--font-small-lg);
  font-weight: 600;
  color: var(--color-main);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.section--dark .section__label,
.section--accent .section__label {
  color: var(--color-accent);
}

.section__title {
  margin-bottom: 1.5rem;
}

.section__title em {
  font-style: normal;
  color: var(--color-main);
  position: relative;
}

.section--dark .section__title em,
.section--accent .section__title em {
  color: var(--color-accent);
}

.section__subtitle {
  font-size: var(--font-body-lg);
  color: var(--color-text-sub);
  line-height: 1.9;
  max-width: 720px;
}

.section--dark .section__subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 1rem 0;
  background: transparent;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  z-index: 10;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  font-size: var(--font-small-xs);
  flex-wrap: wrap;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
}

.breadcrumb__link {
  color: var(--color-text-sub);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb__link:hover {
  color: var(--color-main);
}

.breadcrumb__separator {
  margin: 0 0.5rem;
  color: var(--color-text-sub);
  opacity: 0.5;
}

.breadcrumb__current {
  color: var(--color-text);
  font-weight: 500;
}

@media (max-width: 767px) {
  .breadcrumb {
    top: 70px;
  }

  .breadcrumb__list {
    font-size: var(--font-small-md);
  }
}

/* ===== Service Hero ===== */
.service-hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.service-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(135deg, #F0F6FF 0%, #E0EDFF 30%, #D0E4FF 60%, #F0F6FF 100%);
}

.service-hero__bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, var(--color-main-alpha-08) 0%, transparent 70%);
  pointer-events: none;
}

.service-hero__bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(250, 210, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.service-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 10rem 0 6rem;
}

.service-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-hero__visual {
  position: relative;
  opacity: 0;
  animation: fadeInRight 1.2s var(--ease-out-expo) 0.6s forwards;
}

.service-hero__image-main {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px var(--color-main-alpha-15);
}

.service-hero__image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* フローティングカード共通 */
.service-hero__float {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 15px 40px var(--color-main-alpha-15);
  border: 1px solid var(--color-main-alpha-10);
  text-align: center;
  z-index: 10;
}

.service-hero__float-value {
  font-family: var(--font-en);
  font-size: var(--font-display-sm);
  font-weight: 700;
  color: var(--color-main);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.service-hero__float-label {
  font-size: var(--font-small-md);
  color: var(--color-text-sub);
  white-space: nowrap;
}

/* フローティングカード位置とアニメーション */
.service-hero__float--1 {
  bottom: -20px;
  right: -30px;
  left: auto;
  animation: floatSlow 5s ease-in-out infinite;
}

.service-hero__float--2 {
  top: -25px;
  left: -25px;
  right: auto;
  animation: floatMedium 4s ease-in-out infinite;
}

.service-hero__float--3 {
  top: 20%;
  right: -40px;
  left: auto;
  animation: floatFast 3s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes floatMedium {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(-1.5deg);
  }
}

@keyframes floatFast {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

.service-hero__text {
  color: var(--color-text);
}

.service-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-main-alpha-10);
  border: 1px solid var(--color-main);
  color: var(--color-main);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--font-small-lg);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.2s forwards;
}

.service-hero__title {
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.4s forwards;
}

.service-hero__title span {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-main), var(--color-main-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-hero__lead {
  font-size: var(--font-body-md);
  color: var(--color-text-sub);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.6s forwards;
}

.service-hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.8s forwards;
}

.service-hero__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  box-shadow: 0 4px 20px var(--color-main-alpha-10);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--font-body-sm);
  font-weight: 500;
  color: var(--color-text);
  border: 1px solid var(--color-main-alpha-10);
}

.service-hero__feature svg {
  color: var(--color-main);
  flex-shrink: 0;
}

.service-hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 1s forwards;
}

.service-hero__scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-sub);
  font-size: var(--font-small-md);
  font-family: var(--font-en);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 1.2s forwards;
  transition: color 0.3s ease;
}

.service-hero__scroll:hover {
  color: var(--color-main);
}

.service-hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-main), transparent);
  animation: scrollDown 2s infinite;
}

/* ===== Before/After Section ===== */
.before-after {
  padding: clamp(5rem, 10vw, 8rem) 0 0;
  background: white;
  overflow: hidden;
}

.before-after__header {
  text-align: center;
  margin-bottom: 4rem;
}

.before-after__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: stretch;
}

.before-after__card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

.before-after__card--before {
  background: white;
  border: 2px solid var(--color-border);
}

.before-after__card--after {
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main-dark) 100%);
  color: white;
}

.before-after__card:hover {
  transform: translateY(-8px);
}

.before-after__card--before:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.before-after__card--after:hover {
  box-shadow: 0 20px 60px var(--color-main-alpha-30);
}

.before-after__card-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.before-after__card-image img,
.before-after__card-image .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after__card-content {
  padding: 2rem;
}

.before-after__card-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--font-small-xs-alt);
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.before-after__card--before .before-after__card-badge {
  background: rgba(102, 102, 102, 0.1);
  color: var(--color-text-sub);
}

.before-after__card--after .before-after__card-badge {
  background: rgba(250, 210, 0, 0.2);
  color: var(--color-accent);
}

.before-after__card-title {
  font-size: var(--font-body-lg-lg);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.before-after__card-list {
  list-style: none;
}

.before-after__card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--font-body-md);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.before-after__card-list li:last-child {
  margin-bottom: 0;
}

.before-after__card-list svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.before-after__card--before .before-after__card-list svg {
  color: var(--color-error);
}

.before-after__card--after .before-after__card-list svg {
  color: var(--color-accent);
}

.before-after__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.before-after__arrow-circle {
  width: 80px;
  height: 80px;
  background: var(--color-accent);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(250, 210, 0, 0.3);
  animation: float 3s ease-in-out infinite;
}

.before-after__arrow-circle svg {
  width: 32px;
  height: 32px;
  color: var(--color-dark);
}

/* ===== Conclusion (So What?) ===== */
.before-after__conclusion {
  margin-top: 4rem;
  position: relative;
  background: linear-gradient(135deg, var(--color-dark) 0%, #1a2a3a 50%, #0a1520 100%);
  padding: clamp(3rem, 6vw, 5rem) 0;
  overflow: hidden;
}

.before-after__conclusion::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-main), var(--color-accent), var(--color-main));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

.before-after__conclusion::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--color-main-alpha-08) 0%, transparent 70%);
  pointer-events: none;
}

.conclusion__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.conclusion__label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-en);
  font-size: var(--font-small-lg);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.conclusion__label::before,
.conclusion__label::after {
  content: '';
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent));
}

.conclusion__label::after {
  background: linear-gradient(90deg, var(--color-accent), transparent);
}

.conclusion__text {
  font-family: var(--font-mincho);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: white;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.conclusion__highlight {
  display: inline-block;
  position: relative;
  color: var(--color-accent);
  padding: 0 0.1em;
}

.conclusion__highlight::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  right: 0;
  height: 0.15em;
  background: var(--color-accent);
  opacity: 0.3;
  border-radius: var(--radius-xs);
}

.conclusion__subtext {
  font-size: var(--font-body-md);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.conclusion__icon-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.conclusion__icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.conclusion__icon-circle {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-out-expo);
}

.conclusion__icon-circle:hover {
  background: var(--color-main-alpha-20);
  border-color: var(--color-main);
  transform: scale(1.1);
}

.conclusion__icon-circle svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.conclusion__icon-label {
  font-size: var(--font-small-md);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.conclusion__connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), var(--color-main-alpha-30), rgba(255, 255, 255, 0.1));
  position: relative;
}

.conclusion__connector::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--color-main);
  border-radius: var(--radius-circle);
  box-shadow: 0 0 10px var(--color-main);
}

/* ===== Process Section ===== */
.process {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--color-sub);
  position: relative;
  overflow: hidden;
}

.process__header {
  text-align: center;
  margin-bottom: 5rem;
}

.process__timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.process__line {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-border);
  z-index: 0;
}

.process__line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-main), var(--color-accent));
  transition: width 1.5s var(--ease-out-expo);
}

.process__line-fill.is-active {
  width: 100%;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.process__step {
  text-align: center;
}

.process__step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: white;
  border: 4px solid var(--color-border);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: var(--font-heading-lg);
  font-weight: 700;
  color: var(--color-text-sub);
  position: relative;
  transition: all 0.5s var(--ease-out-expo);
}

.process__step.is-active .process__step-number {
  background: var(--color-main);
  border-color: var(--color-main);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 10px 40px var(--color-main-alpha-30);
}

.process__step-image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  transition: all 0.5s var(--ease-out-expo);
}

.process__step-image img,
.process__step-image .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process__step:hover .process__step-image {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px var(--color-main-alpha-15);
}

.process__step-title {
  font-size: var(--font-heading-md);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.process__step-desc {
  font-size: var(--font-body-md);
  color: var(--color-text-sub);
  line-height: 1.8;
}

/* ===== Features Section ===== */
.features {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: white;
}

.features__header {
  text-align: center;
  margin-bottom: 5rem;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.features__grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.features__grid--three .feature-card {
  grid-template-columns: 1fr;
}

.features__grid--three .feature-card__image {
  aspect-ratio: 16/10;
}

.feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

.feature-card:hover {
  border-color: var(--color-main);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px var(--color-main-alpha-10);
}

.feature-card--reverse {
  direction: rtl;
}

.feature-card--reverse > * {
  direction: ltr;
}

.feature-card__image {
  aspect-ratio: 1;
  overflow: hidden;
}

.feature-card__image img,
.feature-card__image .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.feature-card:hover .feature-card__image img,
.feature-card:hover .feature-card__image .img-placeholder {
  transform: scale(1.05);
}

.feature-card__content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card__number {
  font-family: var(--font-en);
  font-size: var(--font-small-xs-alt);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.feature-card__title {
  font-size: var(--font-body-lg-lg);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: var(--color-dark);
}

.feature-card__desc {
  font-size: var(--font-body-md);
  color: var(--color-text-sub);
  line-height: 1.8;
}

/* ===== Comparison Section ===== */
.comparison {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--color-sub);
}

.comparison__header {
  text-align: center;
  margin-bottom: 4rem;
}

.comparison__table-wrapper {
  /* 横スクロールはモバイル用メディアクエリで設定 */
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.compare-table th,
.compare-table td {
  padding: 1.25rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.compare-table th {
  background: var(--color-sub);
  font-weight: 700;
  font-size: var(--font-body-sm-lg);
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.compare-table th.highlight-col {
  background: var(--color-main);
  color: white;
}

.compare-table td.highlight-col {
  background: var(--color-main-alpha-05);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table__icon {
  font-size: var(--font-heading-md);
}

.compare-table__icon--good {
  color: var(--color-success);
}

.compare-table__icon--bad {
  color: var(--color-error);
}

.compare-table__icon--mid {
  color: var(--color-warning);
}

.compare-table__note {
  text-align: center;
  margin-top: 2rem;
  font-size: var(--font-small-lg);
  color: var(--color-text-sub);
}

/* ===== Fit Section ===== */
.fit {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--color-sub);
}

.fit__header {
  text-align: center;
  margin-bottom: 4rem;
}

.fit__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.fit__card {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  position: relative;
}

.fit__card--yes {
  background: linear-gradient(135deg, rgba(0, 200, 100, 0.08) 0%, rgba(0, 150, 80, 0.12) 100%);
  border: 1px solid rgba(0, 200, 100, 0.2);
}

.fit__card--no {
  background: linear-gradient(135deg, rgba(100, 100, 120, 0.06) 0%, rgba(80, 80, 100, 0.1) 100%);
  border: 1px solid rgba(100, 100, 120, 0.15);
}

.fit__card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.fit__card--yes .fit__card-icon {
  background: rgba(0, 200, 100, 0.15);
  color: #00C864;
}

.fit__card--no .fit__card-icon {
  background: rgba(100, 100, 120, 0.12);
  color: #666;
}

.fit__card-title {
  font-size: var(--font-heading-md);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.fit__card--yes .fit__card-title {
  color: #00A050;
}

.fit__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fit__list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--font-body-sm-lg);
  line-height: 1.6;
  color: var(--color-text);
}

.fit__list-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-small-md);
  margin-top: 2px;
}

.fit__card--yes .fit__list-icon {
  background: rgba(0, 200, 100, 0.2);
  color: #00C864;
}

.fit__card--no .fit__list-icon {
  background: rgba(100, 100, 120, 0.15);
  color: #888;
}

/* ===== Pricing Section ===== */
.pricing {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: white;
}

.pricing__header {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
}

.pricing__grid--three {
  grid-template-columns: repeat(3, 1fr);
  max-width: none;
  gap: 2rem;
}

.pricing-card {
  position: relative;
  background: white;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  transition: all 0.5s var(--ease-out-expo);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
}

.pricing-card--featured {
  border-color: var(--color-main);
  background: linear-gradient(180deg, var(--color-sub) 0%, white 100%);
  transform: scale(1.05);
  z-index: 1;
}

.pricing-card--featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-main);
  color: white;
  padding: 0.375rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--font-small-xs-alt);
  font-weight: 700;
}

.pricing-card__name {
  font-size: var(--font-body-xs);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.pricing-card__desc {
  font-size: var(--font-small-lg);
  color: var(--color-text-sub);
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-card__price {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.pricing-card__price-value {
  font-family: var(--font-en);
  font-size: var(--font-display-xl);
  font-weight: 700;
  color: var(--color-main);
  line-height: 1;
}

.pricing-card__price-unit {
  font-size: var(--font-body-md);
  color: var(--color-text-sub);
  margin-left: 0.25rem;
}

.pricing-card__price-note {
  font-size: var(--font-small-xs-alt);
  color: var(--color-text-sub);
  margin-top: 0.5rem;
}

.pricing-card__features {
  list-style: none;
  flex: 1;
  margin-bottom: 2rem;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--font-body-md);
  margin-bottom: 0.875rem;
  line-height: 1.5;
}

.pricing-card__features li svg {
  color: var(--color-main);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.pricing-card__cta {
  margin-top: auto;
}

.pricing-card__cta .btn {
  width: 100%;
}

.pricing__note {
  text-align: center;
  font-size: var(--font-small-lg);
  color: var(--color-text-sub);
  margin-top: 1.5rem;
}

.pricing__initial {
  margin-bottom: 4rem;
}

.pricing__maintenance {
  max-width: 900px;
  margin: 0 auto;
}

.pricing__maintenance-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing__maintenance-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.pricing__maintenance-subtitle {
  font-size: var(--font-body-sm-lg);
  color: var(--color-text-sub);
}

.maintenance-card {
  background: var(--color-sub);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
}

.maintenance-card__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .maintenance-card__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.maintenance-card__name {
  font-size: var(--font-heading-md);
  font-weight: 700;
  color: var(--color-text);
}

.maintenance-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0;
}

.maintenance-card__price-value {
  font-family: var(--font-en);
  font-size: var(--font-display-md);
  font-weight: 800;
  color: var(--color-main);
}

.maintenance-card__price-unit {
  font-size: var(--font-body-sm-lg);
  color: var(--color-text-sub);
}

.maintenance-card__features {
  list-style: none;
}

.maintenance-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
  font-size: var(--font-body-sm-lg);
  color: var(--color-text-sub);
}

.maintenance-card__features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-main);
  border-radius: var(--radius-circle);
  flex-shrink: 0;
}

.pricing__server-note {
  text-align: center;
  font-size: var(--font-small-lg);
  color: var(--color-text-sub);
  margin-top: 1.5rem;
}

/* ===== FAQ Section ===== */
.faq {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: white;
}

.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.faq__header {
  position: sticky;
  top: 120px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.4s var(--ease-out-expo);
}

.faq-item:hover {
  box-shadow: 0 8px 30px var(--color-main-alpha-10);
}

.faq-item__question {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: var(--font-body-lg);
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.3s;
}

.faq-item__question:hover {
  color: var(--color-main);
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo);
}

.faq-item.is-open .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding: 0 2rem 1.5rem;
  font-size: var(--font-body-md);
  color: var(--color-text-sub);
  line-height: 1.9;
}

/* ===== Related Services Section ===== */
.related {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--color-sub);
}

.related__header {
  text-align: center;
  margin-bottom: 4rem;
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.related-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-dark);
  aspect-ratio: 4/5;
  text-decoration: none;
  transition: transform 0.5s var(--ease-out-expo);
}

.related-card:hover {
  transform: translateY(-10px);
}

.related-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease-out-expo), opacity 0.5s;
}

.related-card__image img,
.related-card__image .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card:hover .related-card__image {
  transform: scale(1.1);
  opacity: 0.7;
}

.related-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.3) 50%, transparent 100%);
  transition: background 0.5s;
}

.related-card:hover .related-card__overlay {
  background: linear-gradient(to top, rgba(0, 132, 255, 0.9) 0%, rgba(0, 132, 255, 0.4) 50%, transparent 100%);
}

.related-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  color: white;
  z-index: 1;
}

.related-card__number {
  font-family: var(--font-en);
  font-size: var(--font-small-md);
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.related-card__title {
  font-size: var(--font-heading-md);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.related-card__desc {
  font-size: var(--font-small-lg);
  opacity: 0.7;
  line-height: 1.6;
}

/* ===== Service Detail Responsive ===== */
@media (max-width: 1280px) {
  .service-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-hero__visual {
    order: -1;
    max-width: 500px;
    margin: 0 auto 2rem;
  }

  .service-hero__float--1 {
    bottom: -15px;
    right: 0;
    left: auto;
  }

  .service-hero__float--2 {
    top: -15px;
    left: 0;
    right: auto;
  }

  .service-hero__float--3 {
    top: 30%;
    right: -20px;
    left: auto;
  }

  .service-hero__features {
    justify-content: center;
  }

  .service-hero__cta {
    justify-content: center;
  }

  .before-after__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .before-after__arrow-circle svg {
    transform: rotate(90deg);
  }

  .process__steps {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .process__line {
    display: none;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .features__grid--three {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-card--reverse {
    direction: ltr;
  }

  .feature-card__image {
    aspect-ratio: 16/9;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .pricing__grid--three {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-10px);
  }

  .faq__inner {
    grid-template-columns: 1fr;
  }

  .faq__header {
    position: static;
    text-align: center;
  }

  .related__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .before-after__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .before-after__arrow-circle svg {
    transform: rotate(90deg);
  }

  .service-hero__visual {
    max-width: 320px;
    margin: 2rem auto 0;
  }

  .service-hero__image-main {
    height: 200px;
  }

  .service-hero__scroll {
    display: none;
  }

  .service-hero__float {
    display: none;
  }

  .compare-table {
    font-size: var(--font-small-lg);
  }

  .compare-table th,
  .compare-table td {
    padding: 1rem;
  }

  .fit__grid {
    grid-template-columns: 1fr;
  }

  .fit__card {
    padding: 2rem;
  }

  .conclusion__icon-row {
    gap: 1rem;
  }

  .conclusion__connector {
    width: 20px;
  }

  .conclusion__icon-circle {
    width: 48px;
    height: 48px;
  }

  .conclusion__icon-circle svg {
    width: 20px;
    height: 20px;
  }
}

/* ========================================
   汎用ページ用CSS（About Us等）
   ======================================== */

/* ===== Hero (Generic Page) ===== */
.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10rem 0 5rem;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--color-sub) 100%);
  overflow: hidden;
}

.hero__bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, var(--color-main-alpha-05) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, var(--color-main-alpha-08) 0%, transparent 40%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero__label {
  font-family: var(--font-en);
  font-size: var(--font-small-lg);
  font-weight: 600;
  color: var(--color-main);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.2s forwards;
}

.hero__title {
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.4s forwards;
}

.hero__subtitle {
  font-size: var(--font-body-lg);
  color: var(--color-text-sub);
  line-height: 1.9;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.6s forwards;
}

.hero__line {
  width: 60px;
  height: 3px;
  background: var(--color-main);
  margin: 2.5rem auto 0;
  transform-origin: center;
  transform: scaleX(0);
  animation: lineExpand 0.8s var(--ease-out-expo) 1s forwards;
}

/* ===== Origin Story - Timeline Style ===== */
.origin {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: #FFFFFF;
}

.origin__header {
  text-align: center;
  margin-bottom: 5rem;
}

.origin__label {
  font-family: var(--font-en);
  font-size: var(--font-small-lg);
  font-weight: 600;
  color: var(--color-main);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.origin__timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* 中央の縦線 */
.origin__timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-main), var(--color-accent));
  border-radius: var(--radius-xs);
}

.origin__item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 4rem;
}

.origin__item:last-child {
  margin-bottom: 0;
}

.origin__item:nth-child(odd) .origin__text {
  text-align: right;
  grid-column: 1;
}

.origin__item:nth-child(odd) .origin__visual {
  grid-column: 3;
}

.origin__item:nth-child(even) .origin__text {
  text-align: left;
  grid-column: 3;
}

.origin__item:nth-child(even) .origin__visual {
  grid-column: 1;
  grid-row: 1;
}

.origin__point {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: start;
  justify-content: center;
}

.origin__point-circle {
  width: 60px;
  height: 60px;
  background: white;
  border: 4px solid var(--color-main);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: var(--font-heading-md);
  font-weight: 700;
  color: var(--color-main);
  box-shadow: 0 10px 30px var(--color-main-alpha-20);
  position: relative;
  z-index: 2;
  transition: all 0.4s var(--ease-out-expo);
}

.origin__item:hover .origin__point-circle,
.origin__item.is-visible .origin__point-circle {
  background: var(--color-main);
  color: white;
  transform: scale(1.1);
}

.origin__text {
  max-width: 440px;
}

.origin__item:nth-child(odd) .origin__text {
  margin-left: auto;
}

.origin__number {
  font-family: var(--font-en);
  font-size: var(--font-small-md);
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.origin__title {
  font-size: var(--font-body-lg-lg);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.origin__desc {
  font-size: var(--font-body-md);
  color: var(--color-text-sub);
  line-height: 1.9;
}

.origin__visual {
  position: relative;
}

.origin__image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px var(--color-main-alpha-10);
  transition: all 0.5s var(--ease-out-expo);
}

.origin__item:hover .origin__image {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px var(--color-main-alpha-15);
}

.origin__image .img-placeholder {
  width: 100%;
  height: 100%;
}

/* ===== Philosophy - Bento Grid Style ===== */
.philosophy {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--color-sub);
}

.philosophy__header {
  text-align: center;
  margin-bottom: 4rem;
}

.philosophy__label {
  font-family: var(--font-en);
  font-size: var(--font-small-lg);
  font-weight: 600;
  color: var(--color-main);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.philosophy__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 1.25rem;
}

.philosophy__card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  border: 1px solid transparent;
}

.philosophy__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-main), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.philosophy__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 132, 255, 0.12);
  border-color: var(--color-main-alpha-20);
}

.philosophy__card:hover::before {
  transform: scaleX(1);
}

.philosophy__card--large {
  grid-column: span 8;
}

.philosophy__card--medium {
  grid-column: span 4;
}

.philosophy__card--small {
  grid-column: span 6;
}

.philosophy__card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-sub);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s var(--ease-out-expo);
}

.philosophy__card:hover .philosophy__card-icon {
  background: var(--color-main-alpha-10);
}

.philosophy__card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-main);
}

.philosophy__card-title {
  font-size: var(--font-heading-md);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.philosophy__card-text {
  font-size: var(--font-body-sm-lg);
  color: var(--color-text-sub);
  line-height: 1.8;
}

/* ===== Message (Company Message) ===== */
.message {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--color-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.message__bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, var(--color-main-alpha-15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(250, 210, 0, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.message__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.message__visual {
  position: relative;
}

.message__image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.message__image .img-placeholder {
  width: 100%;
  height: 100%;
}

.message__float {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: float 4s ease-in-out infinite;
}

.message__float--1 {
  bottom: -30px;
  right: -30px;
}

.message__float--2 {
  top: -20px;
  left: -20px;
  animation-delay: 1s;
}

.message__float-value {
  font-family: var(--font-en);
  font-size: var(--font-display-sm);
  font-weight: 700;
  color: var(--color-main);
  line-height: 1;
}

.message__float-label {
  font-size: var(--font-small-xs-alt);
  color: var(--color-text-sub);
  margin-top: 0.25rem;
}

.message__content {
  padding-left: 2rem;
}

.message__label {
  font-family: var(--font-en);
  font-size: var(--font-small-lg);
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.message__title {
  margin-bottom: 2rem;
}

.message__title em {
  font-style: normal;
  color: var(--color-accent);
}

.message__text {
  font-size: var(--font-body-md);
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.8);
}

.message__text p {
  margin-bottom: 1.5rem;
}

.message__text p:last-child {
  margin-bottom: 0;
}

.message__signature {
  margin-top: 3rem;
  text-align: right;
}

.message__signature-text {
  display: flex;
  flex-direction: column;
}

.message__signature-name {
  font-size: var(--font-body-md);
}

.message__signature-role {
  font-size: var(--font-small-lg);
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Company Info ===== */
.company {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: white;
}

.company__header {
  text-align: center;
  margin-bottom: 4rem;
}

.company__label {
  font-family: var(--font-en);
  font-size: var(--font-small-lg);
  font-weight: 600;
  color: var(--color-main);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.company__table {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.company__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s;
}

.company__row:last-child {
  border-bottom: none;
}

.company__row:hover {
  background: var(--color-sub);
}

.company__th {
  padding: 1.5rem 2rem;
  background: var(--color-main-alpha-05);
  font-weight: 600;
  font-size: var(--font-body-sm-lg);
  display: flex;
  align-items: center;
  color: var(--color-text);
}

.company__td {
  padding: 1.5rem 2rem;
  font-size: var(--font-body-sm-lg);
  line-height: 1.8;
  display: flex;
  align-items: center;
}

/* ===== 汎用ページ Responsive ===== */
@media (max-width: 1280px) {
  .origin__timeline::before {
    display: none;
  }

  .origin__item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .origin__item:nth-child(odd) .origin__text,
  .origin__item:nth-child(even) .origin__text {
    text-align: left;
    grid-column: 1;
    max-width: 100%;
    margin-left: 0;
  }

  .origin__item:nth-child(odd) .origin__visual,
  .origin__item:nth-child(even) .origin__visual {
    grid-column: 1;
    grid-row: auto;
  }

  .origin__point {
    display: none;
  }

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

  .philosophy__card--large,
  .philosophy__card--medium,
  .philosophy__card--small {
    grid-column: span 1;
  }

  .message__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .message__content {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .philosophy__grid {
    grid-template-columns: 1fr;
  }

  .company__row {
    grid-template-columns: 1fr;
  }

  .company__th {
    padding: 1rem 1.5rem 0.5rem;
  }

  .company__td {
    padding: 0.5rem 1.5rem 1rem;
  }
}

/* ========================================
   お問い合わせページ (contact.html)
   ======================================== */

/* ===== Page Header ===== */
.page-header {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--color-sub) 100%);
  text-align: center;
}

.page-header__label {
  font-family: var(--font-en);
  font-size: var(--font-small-lg);
  font-weight: 600;
  color: var(--color-main);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.page-header__title {
  margin-bottom: 1rem;
}

.page-header__desc {
  font-size: var(--font-body-md);
  color: var(--color-text-sub);
}

/* ===== Steps Indicator ===== */
.steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 3rem;
}

.steps__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: var(--font-small-lg);
  font-weight: 500;
  color: var(--color-text-sub);
  position: relative;
}

.steps__item::after {
  content: '';
  position: absolute;
  right: -12px;
  width: 24px;
  height: 24px;
  border-top: 2px solid var(--color-border);
  border-right: 2px solid var(--color-border);
  transform: rotate(45deg);
  background: white;
  z-index: 1;
}

.steps__item:last-child::after {
  display: none;
}

.steps__number {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-border);
  color: var(--color-text-sub);
  border-radius: var(--radius-circle);
  font-family: var(--font-en);
  font-size: var(--font-small-xs);
  font-weight: 600;
}

.steps__item--active {
  color: var(--color-main);
}

.steps__item--active .steps__number {
  background: var(--color-main);
  color: white;
}

.steps__item--completed .steps__number {
  background: var(--color-success);
  color: white;
}

/* ===== Contact Section ===== */
.contact {
  padding: 4rem 0 8rem;
}

.contact__intro {
  text-align: center;
  margin-bottom: 3rem;
}

.contact__intro-text {
  font-size: var(--font-body-md);
  color: var(--color-text-sub);
  margin-bottom: 1.5rem;
}

.contact__note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-main-alpha-08);
  border-radius: var(--radius-full);
  font-size: var(--font-small-lg);
  color: var(--color-main);
}

/* ===== Form ===== */
.form {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
  padding: 3rem;
}

.form__group {
  margin-bottom: 2rem;
}

.form__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-body-sm-lg);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.form__required {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: var(--font-small-sm);
  font-weight: 600;
  color: white;
  background: var(--color-error);
  border-radius: var(--radius-sm);
}

.form__optional {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: var(--font-small-sm);
  font-weight: 600;
  color: var(--color-text-sub);
  background: var(--color-border);
  border-radius: var(--radius-sm);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font-jp);
  font-size: var(--font-body-md);
  color: var(--color-text);
  background: var(--color-sub);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out-expo);
  outline: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  background: white;
  border-color: var(--color-main);
  box-shadow: 0 0 0 4px var(--color-main-alpha-10);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: #999;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
  cursor: pointer;
}

.form__textarea {
  min-height: 200px;
  resize: vertical;
}

.form__hint {
  font-size: var(--font-small-xs);
  color: var(--color-text-sub);
  margin-top: 0.5rem;
}

.form__error {
  font-size: var(--font-small-xs);
  color: var(--color-error);
  margin-top: 0.5rem;
  display: none;
}

.form__group--error .form__input,
.form__group--error .form__select,
.form__group--error .form__textarea {
  border-color: var(--color-error);
  background: #FFF5F5;
}

.form__group--error .form__error {
  display: block;
}

/* Checkbox / Radio */
.form__checkbox-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.form__checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--color-main);
  cursor: pointer;
}

.form__checkbox-text {
  font-size: var(--font-body-sm-lg);
  line-height: 1.6;
}

.form__checkbox-text a {
  color: var(--color-main);
}

/* Form Row */
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Submit */
.form__submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
}

.form__submit .btn {
  margin-left: auto;
  margin-right: auto;
}

/* Contact Form 7 スタイル */
.wpcf7-form {
  text-align: left;
}

.wpcf7-form .form__submit {
  text-align: center;
}

input[type="submit"].wpcf7-submit,
.wpcf7-submit {
  display: block;
  width: fit-content;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding: 1.125rem 2.5rem;
  font-size: var(--font-body-md);
  font-weight: 700;
  color: var(--color-text) !important;
  background: var(--color-accent) !important;
  border: none !important;
  border-radius: var(--radius-md);
  outline: none;
  box-shadow: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  -webkit-appearance: none;
  appearance: none;
}

input[type="submit"].wpcf7-submit:hover,
.wpcf7-submit:hover {
  background: var(--color-accent-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(250, 210, 0, 0.35) !important;
}

input[type="submit"].wpcf7-submit:focus,
.wpcf7-submit:focus {
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 2px;
}

.form__microcopy {
  margin-top: 1rem;
  font-size: var(--font-small-lg);
  color: var(--color-text-sub);
}

.form__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== Complete State ===== */
.complete {
  text-align: center;
  padding: 4rem 2rem;
}

.complete__icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  background: var(--color-success);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.complete__icon svg {
  width: 3.125rem;
  height: 3.125rem;
  color: white;
}

.complete__title {
  font-size: var(--font-heading-lg);
  font-weight: 700;
  margin-bottom: 1rem;
}

.complete__text {
  font-size: var(--font-body-md);
  color: var(--color-text-sub);
  margin-bottom: 2.5rem;
  line-height: 1.9;
}

.complete__info {
  background: var(--color-sub);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.complete__info-title {
  font-size: var(--font-body-sm-lg);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-main);
}

.complete__info-list {
  font-size: var(--font-body-sm-lg);
  line-height: 1.8;
}

/* ===== Other Contact Options ===== */
.other-options {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--color-border);
}

.other-options__title {
  font-size: var(--font-heading-md);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

.other-options__grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.other-options__card {
  background: var(--color-sub);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease-out-expo);
  max-width: 400px;
  width: 100%;
}

.other-options__card:hover {
  background: var(--color-main-alpha-10);
  transform: translateY(-4px);
}

.other-options__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: white;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-main);
}

.other-options__name {
  font-size: var(--font-body-md);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.other-options__desc {
  font-size: var(--font-small-xs);
  color: var(--color-text-sub);
}

/* ===== State Visibility ===== */
.state-input,
.state-complete {
  display: none;
}

.state-input.is-active,
.state-complete.is-active {
  display: block;
}

/* ===== Contact Responsive ===== */
@media (max-width: 768px) {
  .page-header {
    padding: 7rem 0 3rem;
  }

  .form {
    padding: 2rem 1.5rem;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
    gap: 0.5rem;
  }

  .steps__item::after {
    display: none;
  }

  .other-options__card {
    max-width: 100%;
  }
}

/* ========================================
   404エラーページ (404.php)
   ======================================== */

/* ===== Error Page Layout ===== */
.error-page {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--color-sub) 100%);
  padding-top: 6rem;
}

.error {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem 4rem;
  text-align: center;
  min-height: 50vh;
}

.error__content {
  max-width: 600px;
}

.error__code {
  font-family: var(--font-en);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-main) 0%, #0040F5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--color-main);
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

/* 404ページ用ボタン上書き */
.error-page .btn--primary {
  background: var(--color-main);
  color: white;
}

.error-page .btn--primary:hover {
  background: var(--color-main-dark);
  box-shadow: 0 15px 40px rgba(0, 132, 255, 0.35);
}

/* @keyframes float - 削除：common.css:290で定義済み */

.error__title {
  margin-bottom: 1rem;
}

.error__text {
  font-size: var(--font-body-md);
  color: var(--color-text-sub);
  margin-bottom: 2.5rem;
  line-height: 1.9;
}

.error__buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* ===== Error Suggestions Box ===== */
.error__suggestions {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
}

.error__suggestions-title {
  font-size: var(--font-body-sm-lg);
  font-weight: 600;
  color: var(--color-text-sub);
  margin-bottom: 1rem;
}

.error__suggestions-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  list-style: none;
}

.error__suggestions-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  font-size: var(--font-small-lg);
  color: var(--color-main);
  background: var(--color-sub);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
}

.error__suggestions-list a:hover {
  background: var(--color-main-alpha-15);
  transform: translateY(-2px);
}

/* ===== 404 Responsive ===== */
@media (max-width: 768px) {
  .error {
    padding: 6rem 1.5rem 3rem;
  }

  .error__buttons {
    flex-direction: column;
  }

  .error__buttons .btn {
    width: 100%;
  }
}

/* ========================================
   プライバシーポリシーページ (page-privacy.php)
   ======================================== */

/* ===== Legal Content ===== */
.legal {
  padding: 4rem 0 8rem;
}

.legal__content {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
  padding: 3rem;
}

.legal__section {
  margin-bottom: 3rem;
}

.legal__section:last-child {
  margin-bottom: 0;
}

.legal__h2 {
  font-size: var(--font-body-lg-lg);
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-main);
}

.legal__h3 {
  font-size: var(--font-body-xs);
  font-weight: 700;
  margin: 2rem 0 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--color-main);
}

.legal__p {
  font-size: var(--font-body-sm-lg);
  line-height: 2;
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.legal__p:last-child {
  margin-bottom: 0;
}

.legal__list {
  margin: 1rem 0 1.5rem;
  padding-left: 1.5rem;
}

.legal__list li {
  font-size: var(--font-body-sm-lg);
  line-height: 2;
  margin-bottom: 0.5rem;
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: var(--font-body-sm-lg);
}

.legal__table th,
.legal__table td {
  padding: 1rem;
  border: 1px solid var(--color-border);
  text-align: left;
}

.legal__table th {
  background: var(--color-sub);
  font-weight: 600;
  width: 30%;
}

.legal__info-box {
  background: var(--color-sub);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 3rem;
}

.legal__info-title {
  font-size: var(--font-body-md);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-main);
}

.legal__info-text {
  font-size: var(--font-body-sm-lg);
  line-height: 1.8;
}

.legal__info-text a {
  color: var(--color-main);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Page Header Update Date ===== */
.page-header__update {
  font-size: var(--font-small-lg);
  color: var(--color-text-sub);
}

/* ===== Legal Responsive ===== */
@media (max-width: 768px) {
  .legal__content {
    padding: 2rem 1.5rem;
  }

  .legal__table th,
  .legal__table td {
    display: block;
    width: 100%;
  }

  .legal__table th {
    border-bottom: none;
  }
}

/* ========================================
   ページトップへ戻るボタン
   ======================================== */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--color-main);
  border: none;
  border-radius: var(--radius-circle);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--color-main-alpha-30);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out-expo);
  z-index: 1000;
}

.back-to-top:hover {
  background: var(--color-main-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 132, 255, 0.4);
}

.back-to-top:active {
  transform: translateY(0);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  color: white;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }

  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}


/* ========================================
   印刷スタイル
   ======================================== */
@media print {
  /* 不要な要素を非表示 */
  .header-capsule,
  .footer,
  .mobile-menu,
  .mobile-menu__overlay,
  .mouse-stalker,
  .mouse-stalker-dot,
  .back-to-top,
  .skip-link,
  .cta,
  .btn,
  .related-card,
  nav {
    display: none !important;
  }

  /* 基本スタイル */
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }

  /* メインコンテンツの余白調整 */
  main {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* リンクのURL表示 */
  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  a[href^="#"]:after,
  a[href^="javascript"]:after {
    content: "";
  }

  /* 画像の最大幅 */
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  /* 見出しの改ページ制御 */
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }

  /* テーブルの改ページ制御 */
  table {
    page-break-inside: avoid;
  }
}

/* ===== Picture Tag Support for Responsive Images ===== */
/* <picture>タグのblock化（レイアウト崩れ防止） */
.service-hero__image-main picture,
.before-after__card-image picture,
.solution__image-bg picture,
.origin__image picture,
.reason__image picture,
.message__image picture,
.fv__image-main picture,
.fv__image-float picture,
.bento__item picture {
  display: block;
  width: 100%;
  height: 100%;
}
