/* ============================================
   アミタ経営計画 - Common Layout Stylesheet
   ヘッダー・ヒーロー・フッター共通パーツ
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Primary Colors */
  --color-primary: #19c0d7;
  --color-primary-light: #57f0d0;
  --color-primary-dark: #2fa7e0;

  /* Gradients */
  --gradient-main: linear-gradient(135deg, #ff6fa3 0%, #f78acb 8%, #c7a6ff 16%, #8bb8ff 26%, #7fd4d8 58%, #36c1d6 70%, #2fa7e0 85%, #5fa3d4 100%);
  --gradient-cta: linear-gradient(135deg, #ff6fa3 0%, #f78acb 8%, #c7a6ff 16%, #8bb8ff 26%, #7fd4d8 58%, #36c1d6 70%, #2fa7e0 85%, #5fa3d4 100%);
  --gradient-mesh: radial-gradient(ellipse at 30% 20%, rgba(255, 107, 107, 0.08) 0%, transparent 40%), radial-gradient(ellipse at 70% 80%, rgba(78, 205, 196, 0.08) 0%, transparent 40%), radial-gradient(ellipse at 50% 50%, rgba(69, 183, 209, 0.05) 0%, transparent 50%);

  /* Text Colors */
  --color-text: #333;
  --color-text-dark: #222;
  --color-text-light: #555;
  --color-text-muted: #999;

  /* Background Colors */
  --color-bg: #f5f7fa;
  --color-bg-white: #fff;
  --color-bg-transparent: rgba(238, 237, 242, 0.3);

  /* Border & Divider */
  --color-border: #e5e5e5;
  --color-divider: #333;

  /* Font Family */
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  --font-heading: "Noto Sans JP", sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1400px;
  --container-narrow: 1000px;

  /* Border Radius */
  --radius-large: 140px;
  --radius-medium: 64px;
  --radius-small: 12px;

  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);

  /* Z-index Scale */
  --z-base: 1;
  --z-elevated: 2;
  --z-header: 1000;
  --z-menu: 998;
  --z-toggle: 1001;
  --z-scroll-top: 1002;
  --z-modal: 2000;
  --z-behind: -1;

  /* Common Gradients */
  --gradient-45: linear-gradient(45deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-primary) 100%);
}

/* ---------- Reset & Base ---------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 113px; /* ここで遷移位置を調整可能 */
  font-size: 16px;
  scrollbar-gutter: stable;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* Tablet scroll padding (769px - 1040px) */
@media (min-width: 769px) and (max-width: 1040px) {
  html {
    scroll-padding-top: 80px;
  }
}


body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* ---------- Layout Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 120px;
  box-sizing: border-box;
}

/* ---------- Section Common ---------- */
.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--color-text);
  max-width: var(--container-max);
  margin: 0 auto 40px;
}

.section-label-about {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--color-text);
  max-width: var(--container-max);
  margin: 0 auto 40px;
}

.section-label::before,
.section-label-about::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  display: inline-block;
}

.section-label-about::before {
  background: var(--color-bg-white);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: left;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  color: var(--color-text-dark);
  margin-bottom: 24px;
  max-width: 1320px;
  margin-top: 0;
  line-height: 1.4rem;
}

.section-desc {
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.1rem;
  line-height: 2em;
  display: flex;
  align-items: center;
  text-align: left;
  color: var(--color-text-light);
  max-width: var(--container-max);
  margin: 0 auto;
  padding-bottom: 120px;
}

.section-divider {
  width: 100%;
  max-width: var(--container-max);
  height: 1px;
  background: var(--color-divider);
  margin: 0 auto 40px;
}

/* Hide section-divider in specific sections */
.service .section-divider,
.company .section-divider,
.news .section-divider {
  display: none;
}

/* ============================================
   HERO BACKGROUND (Common)
   ============================================ */
.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(180deg, #f5f7fa 0%, #f8f9fa 100%);
  z-index: -1;
  overflow: hidden;
}

/* Cinematic gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.9;
  z-index: 1;
  will-change: transform, opacity;
  transform: translateZ(0);
}

/* Vibrant colorful orbs distributed across the entire screen */
.orb-1 {
  width: 500px;
  height: 500px;
  top: 5%;
  left: -5%;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.8) 0%, rgba(255, 142, 142, 0.5) 50%, transparent 70%);
  animation: float-orb 22s ease-in-out infinite, pulse-orb 7s ease-in-out infinite;
  will-change: transform, opacity;
}

.orb-2 {
  width: 400px;
  height: 400px;
  top: -10%;
  right: 20%;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.8) 0%, rgba(150, 230, 220, 0.5) 50%, transparent 70%);
  animation: float-orb 26s ease-in-out infinite reverse, pulse-orb 9s ease-in-out infinite;
}

.orb-3 {
  width: 450px;
  height: 450px;
  top: 40%;
  right: -8%;
  background: radial-gradient(circle, rgba(69, 183, 209, 0.8) 0%, rgba(120, 200, 230, 0.5) 50%, transparent 70%);
  animation: float-orb 20s ease-in-out infinite, pulse-orb 8s ease-in-out infinite;
}

.orb-4 {
  width: 350px;
  height: 350px;
  top: 60%;
  left: 10%;
  background: radial-gradient(circle, rgba(150, 206, 180, 0.75) 0%, rgba(180, 230, 200, 0.45) 50%, transparent 70%);
  animation: float-orb 24s ease-in-out infinite reverse, pulse-orb 10s ease-in-out infinite;
}

.orb-5 {
  width: 400px;
  height: 400px;
  bottom: 5%;
  right: 25%;
  background: radial-gradient(circle, rgba(254, 202, 87, 0.75) 0%, rgba(255, 220, 130, 0.45) 50%, transparent 70%);
  animation: float-orb 19s ease-in-out infinite, pulse-orb 11s ease-in-out infinite;
}

.orb-6 {
  width: 300px;
  height: 300px;
  top: 20%;
  left: 30%;
  background: radial-gradient(circle, rgba(155, 89, 182, 0.7) 0%, rgba(200, 150, 220, 0.4) 50%, transparent 70%);
  animation: float-orb 28s ease-in-out infinite reverse, pulse-orb 12s ease-in-out infinite;
}

.orb-7 {
  width: 350px;
  height: 350px;
  top: 70%;
  left: 40%;
  background: radial-gradient(circle, rgba(241, 196, 15, 0.75) 0%, rgba(255, 220, 100, 0.45) 50%, transparent 70%);
  animation: float-orb 21s ease-in-out infinite, pulse-orb 9s ease-in-out infinite;
}

.orb-8 {
  width: 280px;
  height: 280px;
  top: 35%;
  left: 5%;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.75) 0%, rgba(100, 180, 240, 0.45) 50%, transparent 70%);
  animation: float-orb 25s ease-in-out infinite reverse, pulse-orb 8s ease-in-out infinite;
}

/* Subtle gradient mesh */
.hero-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-mesh);
  animation: mesh-shift 30s ease-in-out infinite;
  will-change: transform;
  z-index: 1;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Animations */
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(180px, -150px) scale(1.15) rotate(5deg); }
  50% { transform: translate(-120px, 120px) scale(0.9) rotate(-3deg); }
  75% { transform: translate(150px, 180px) scale(1.1) rotate(4deg); }
}

@keyframes pulse-orb {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.8; }
}

@keyframes mesh-shift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 20px); }
}

/* Hero Spotlight */
.hero-spotlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  box-shadow: none;
}

.header__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 30px 30px 12px 0;
}

/* Header Logo Wrap */
.header__logo-wrap {
  background-image: linear-gradient(144deg, rgba(238, 237, 242, 0.3), rgba(255, 255, 255, 0) 43%);
  background-color: transparent;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-top: 2px solid rgba(238, 237, 242, 0.18);
  border-right: 2px solid rgba(238, 237, 242, 0.34);
  border-bottom: 2px solid rgba(238, 237, 242, 0.34);
  border-left: 2px solid rgba(238, 237, 242, 0.34);
  border-radius: 0 64px 64px 0;
  padding: 15px 32px 15px 80px;
  display: flex;
  align-items: center;
  height: 82.79px;
  box-sizing: border-box;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.header__logo .logo-icon {
  width: 40px;
  height: 40px;
}

.header__logo .logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f5a623, #f7c948);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.header__logo .logo-text-main {
  font-size: 1.35rem;
  font-weight: 700;
  color: #19c0d7;
  letter-spacing: 2px;
}

/* Header Navigation */
.header__nav {
  display: flex;
  align-items: center;
  gap: 0;
  background-image: linear-gradient(144deg, rgba(238, 237, 242, 0.3), rgba(255, 255, 255, 0) 43%);
  background-color: transparent;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-top: 2px solid rgba(238, 237, 242, 0.18);
  border-right: 2px solid rgba(238, 237, 242, 0.34);
  border-bottom: 2px solid rgba(238, 237, 242, 0.34);
  border-left: 2px solid rgba(238, 237, 242, 0.34);
  border-radius: 64px;
  padding: 15px 15px 15px 40px;
}

.header__nav a {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #222;
  padding: 8px 16px;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.header__nav a:hover {
  color: #19c0d7;
}

/* PC表示時のジグザグアニメーション */
@media (min-width: 1025px) {
  .header__nav a:not([href*="contact"]):not(.header__link--cta):not(.header__link--phone):not(.header__link--home) {
    position: relative;
    display: inline-block;
  }

  /* ハンバーガーメニュー内ではジグザグアニメーションを無効化 */
  .header__nav.open a:not([href*="contact"]):not(.header__link--cta):not(.header__link--phone):not(.header__link--home)::before,
  .header__nav.open a:not([href*="contact"]):not(.header__link--cta):not(.header__link--phone):not(.header__link--home):hover::before {
    display: none;
  }

  .header__nav a:not([href*="contact"]):not(.header__link--cta):not(.header__link--phone):not(.header__link--home)::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 40px;
    left: 0;
    bottom: -16px;
    z-index: 1;
    pointer-events: none;
    transform: scaleX(0);
    transition: transform 300ms cubic-bezier(0.175, 0.885, 0.32, 1);
    transform-origin: right;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200%25' height='100%25'%3E%3Cdefs%3E%3ClinearGradient id='gradient' x1='0%25' y1='0%25' x2='100%25' y2='100%25' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0%25' stop-color='%23ff6fa3'/%3E%3Cstop offset='16%25' stop-color='%23c7a6ff'/%3E%3Cstop offset='58%25' stop-color='%237fd4d8'/%3E%3Cstop offset='100%25' stop-color='%23ff6fa3'/%3E%3C/linearGradient%3E%3Cstyle%3E .wave%7B stroke:url(%23gradient); stroke-width:2; stroke-linecap:square; %7D %3C/style%3E%3C/defs%3E%3Cpattern id='wavePattern' x='0' y='0' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath fill='none' class='wave' d='M 0 20 L 40 20' /%3E%3C/pattern%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='url(%23wavePattern)'%3E%3C/rect%3E%3C/svg%3E") 0px 50% / 40px 40px repeat-x;
  }

  .header__nav a:not([href*="contact"]):not(.header__link--cta):not(.header__link--phone):not(.header__link--home):hover::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200%25' height='100%25'%3E%3Cdefs%3E%3ClinearGradient id='gradient' x1='0%25' y1='0%25' x2='100%25' y2='100%25' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0%25' stop-color='%23ff6fa3'/%3E%3Cstop offset='16%25' stop-color='%23c7a6ff'/%3E%3Cstop offset='58%25' stop-color='%237fd4d8'/%3E%3Cstop offset='100%25' stop-color='%23ff6fa3'/%3E%3C/linearGradient%3E%3Cstyle%3E .wave%7B animation:wave 2s cubic-bezier(0.175, 0.885, 0.32, 1) infinite; animation-delay:-0.25s; stroke:url(%23gradient); stroke-width:2; stroke-linecap:square; %7D @keyframes wave%7B 25%25%7B d:path('M 0 20 L 10 15 L 20 20 L 30 25 L 40 20 ');%7D 50%25%7B d:path('M 0 20 L 10 25 L 20 20 L 30 15 L 40 20 ');%7D 75%25%7B d:path('M 0 20 L 10 15 L 20 20 L 30 25 L 40 20 ');%7D %7D %3C/style%3E%3C/defs%3E%3Cpattern id='wavePattern' x='0' y='0' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath fill='none' class='wave' d='M 0 20 L 10 25 L 20 20 L 30 15 L 40 20' /%3E%3C/pattern%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='url(%23wavePattern)'%3E%3C/rect%3E%3C/svg%3E") 0px 50% / 40px 40px repeat-x;
    animation: zigzagWaving 6s linear infinite reverse;
    transform: scaleX(1);
    transform-origin: left;
  }

  @keyframes zigzagWaving {
    to { background-position: 80px 50%; }
  }

  /* Header logo text animation */
  .header__logo {
    color: #222;
    display: inline-block;
    position: relative;
    text-decoration: none;
  }

  .header__logo::before {
    content: "アミタビジネスアシスト";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    background-image: linear-gradient(
      135deg,
      #ff6fa3 0%,
      #f78acb 8%,
      #c7a6ff 16%,
      #8bb8ff 26%,
      #d9d9d9 36%,
      #bfc7cc 46%,
      #7fd4d8 58%,
      #36c1d6 70%,
      #2fa7e0 85%,
      #5fa3d4 100%
    );
    background-size: 0% 100%;
    background-position: left;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transition: background-size 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s;
    pointer-events: none;
  }

  .header__logo:hover::before {
    background-size: 100% 100%;
    opacity: 1;
  }
}

/* CTA Button */
.header__nav .header__link--cta {
  background: linear-gradient(
    135deg,
    #ff6fa3 0%,
    #f78acb 8%,
    #c7a6ff 16%,
    #8bb8ff 26%,
    #7fd4d8 58%,
    #36c1d6 70%,
    #2fa7e0 85%,
    #5fa3d4 100%
  );
  background-size: 200% auto;
  background-position: 0% 50%;
  color: #fff;
  padding: 10px 56px 10px 32px;
  border-radius: 50px;
  font-weight: 500;
  position: relative;
  margin-left: 10px;
  transition: background-position 0.7s ease-out, padding 0.3s ease;
  white-space: nowrap;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header__nav .header__link--cta::after {
  content: '→';
  font-size: 0.9rem;
  color: #19c0d7;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease-out;
}

.header__nav .header__link--cta:hover::after {
  transform: translateY(-50%) translateX(4px);
}

.header__nav .header__link--cta:hover {
  background-position: 20% 50%;
  padding: 10px 88px 10px 64px;
  color: #fff;
}

/* Phone Button - Hide on PC, show only in mobile menu */
.header__link--phone {
  background: linear-gradient(
    135deg,
    #ff6fa3 0%,
    #f78acb 8%,
    #c7a6ff 16%,
    #8bb8ff 26%,
    #7fd4d8 58%,
    #36c1d6 70%,
    #2fa7e0 85%,
    #5fa3d4 100%
  );
  background-size: 200% auto;
  background-position: 0% 50%;
  color: #fff;
  padding: 10px 48px 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  position: relative;
  min-width: 200px;
  margin-left: 10px;
  margin-top: 8px;
  display: none !important;
  align-items: center;
  transition: all 0.5s ease;
}

.header__link--phone::after {
  content: '📞';
  font-size: 0.9rem;
  color: #19c0d7;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.5s ease;
}

.header__link--phone:hover {
  background-position: 100% 50%;
  color: #fff;
}

.header__link--phone:hover::after {
  transform: translateY(-50%) translateX(2px);
}

/* Home Link - Hide on PC, show only in mobile menu */
.header__link--home {
  display: none;
}

/* Header over dark section */
.header.over-dark .header__nav a:not(.header__link--cta):not(.header__link--phone):not(.header__link--home) {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.header.over-dark .header__nav a:not(.header__link--cta):not(.header__link--phone):not(.header__link--home):hover {
  color: #19c0d7;
}

/* Header text white for banner section */
.header-text-white .header__nav a:not(.header__link--cta):not(.header__link--phone):not(.header__link--home) {
  color: #fff !important;
  transition: color 0.3s ease;
}

.header-text-white .header__logo {
  color: #fff !important;
  transition: color 0.3s ease;
}

.header-text-white .header__logo .logo-text-main {
  color: #fff !important;
  transition: color 0.3s ease;
}

/* Utility Classes */
.hidden {
  display: none;
}

/* Mobile Menu Toggle */
.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 80px;
  height: 80px;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(238, 237, 242, 0.34);
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.header__toggle:hover {
  box-shadow: 0 4px 20px rgba(25, 192, 215, 0.3);
}

.header__toggle span {
  width: 24px;
  height: 2px;
  background: linear-gradient(
    135deg,
    #ff6fa3 0%,
    #f78acb 8%,
    #5fa3d4 100%
  );
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle.active span:nth-child(2) {
  opacity: 0;
}

.header__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Header Responsive ---------- */

/* 1. フォントサイズ可変 (1.2rem → 0.95rem) */
.header__logo {
  font-size: clamp(0.95rem, 1.2vw, 1.2rem);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.header__nav a:not(.header__link--cta):not(.header__link--phone):not(.header__link--home) {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  transition: font-size 0.3s ease;
}

/* 2. ロゴ非表示状態（ナビ間隔24px未満時） */
.header--logo-hidden .header__logo-wrap {
  opacity: 0;
  transform: translateX(-20px);
  pointer-events: none;
  width: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease, width 0.4s ease, padding 0.4s ease;
}

/* ロゴ非表示時、ナビを中央へ */
.header--logo-hidden .header__inner {
  justify-content: center;
}

.header--logo-hidden .header__nav {
  margin: 0 auto;
  transition: margin 0.4s ease, transform 0.4s ease;
}

/* 3. ハンバーガーメニュー表示（1146px以下） */
@media (max-width: 1040px) {
  .header__nav {
    display: none !important;
  }

  .header__nav.open {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px clamp(20px, 8vw, 60px) 80px;
    gap: clamp(16px, 3vh, 24px);
    background: linear-gradient(144deg, rgba(238, 237, 242, 0.85), rgba(255, 255, 255, 0.6) 43%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 0;
    z-index: 999;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    overflow-y: auto;
    scrollbar-width: none;
  }

  .header__nav.open::-webkit-scrollbar {
    display: none;
  }

  .header__nav.open a {
    font-size: clamp(0.95rem, 1.2vw, 1rem);
    padding: 12px clamp(8px, 1.2vw, 14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    width: 100%;
    text-align: left;
    flex-shrink: 0;
    min-height: 44px;
    color: #222;
    font-weight: 500;
    transition: none;
  }

  .header__nav.open a:not(.header__link--cta):not(.header__link--phone):hover,
  .header__nav.open a:not(.header__link--cta):not(.header__link--phone):active {
    color: #19c0d7;
  }

  .header__nav.open a:first-of-type {
    margin-top: 40px;
    flex-shrink: 0;
    min-height: 44px;
  }

  /* HOMEリンクを表示 */
  .header__nav.open .header__link--home {
    display: flex !important;
    flex-shrink: 0;
    min-height: 44px;
  }

  .header__nav.open .header__link--cta {
    padding: 24px 56px 24px 32px;
    height: 76px;
    min-height: 76px;
    font-size: clamp(1rem, 1.2vw, 1rem);
    margin-left: 0;
    margin-top: clamp(24px, 4vh, 32px);
    flex-shrink: 0;
    color: #fff;
    transition: none;
    background-position: 0% 50%;
  }

  .header__nav.open .header__link--cta:hover,
  .header__nav.open .header__link--cta:active {
    background-position: 0% 50%;
    padding: 24px 56px 24px 32px;
    color: #fff;
  }

  .header__nav.open .header__link--cta::after {
    content: '→';
    font-size: 0.9rem;
    color: #19c0d7;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-out;
  }

  .header__nav.open .header__link--cta:hover::after {
    transform: translateY(-50%) translateX(4px);
  }

  .header__nav.open .header__link--phone {
    display: flex !important;
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-bottom: 80px;
    padding: 24px 56px 24px 32px;
    height: 76px;
    min-height: 76px;
    position: relative;
    color: #fff;
    font-size: clamp(1rem, 1.2vw, 1rem);
    flex-shrink: 0;
    transition: none;
    background-position: 0% 50%;
  }

  .header__nav.open .header__link--phone:hover,
  .header__nav.open .header__link--phone:active {
    background-position: 0% 50%;
    padding: 24px 56px 24px 32px;
    color: #fff;
  }

  .header__nav.open .header__link--phone::after {
    content: '→';
    font-size: 0.9rem;
    color: #19c0d7;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-out;
  }

  .header__nav.open .header__link--phone:hover::after {
    transform: translateY(-50%) translateX(4px);
  }

  /* メニュー開閉時のボタン切り替え */
  .header__nav.open ~ .header__toggle,
  :has(.header__nav.open) .header__toggle {
    display: none !important;
  }

  .header__close {
    display: none;
  }

  :has(.header__nav.open) .header__close {
    display: flex !important;
    z-index: 1000;
  }

  .header__toggle {
    display: flex !important;
  }

  .header__logo-wrap {
    opacity: 0;
    transform: translateX(-20px);
    pointer-events: none;
    width: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    height: 82.79px;
    box-sizing: border-box;
  }

  .header__inner {
    justify-content: center;
    padding: 30px 0 12px 0;
  }
}

/* 768px以下 - ハンバーガーメニュー（現状維持） */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 0px; /* スマホ用 */
  }

  .header__nav {
    display: none !important;
  }

  .header__nav.open {
    display: flex !important;
  }

  /* メニュー開閉時のボタン切り替え */
  .header__nav.open ~ .header__toggle,
  :has(.header__nav.open) .header__toggle {
    display: none !important;
  }

  .header__close {
    display: none;
  }

  :has(.header__nav.open) .header__close {
    display: flex !important;
    width: 64px;
    height: 64px;
  }

  .header__toggle {
    display: flex !important;
    width: 64px;
    height: 64px;
  }

  .phone-button {
    right: 20px !important;
    bottom: 40px !important;
    width: 64px !important;
    height: 64px !important;
    transition: none !important;
    background: rgba(25, 192, 215, 0.6) !important;
  }

  .phone-button.is-visible {
    bottom: 40px !important;
  }

  .phone-button__icon {
    width: 24px !important;
    height: 24px !important;
    fill: #fff !important;
    stroke: none !important;
  }

  .scroll-top {
    display: none;
  }

  .header__logo-wrap {
    opacity: 0;
    transform: translateX(-20px);
    pointer-events: none;
    width: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    height: 82.79px;
    box-sizing: border-box;
  }

  .header__inner {
    justify-content: center;
    padding: 30px 0 12px 0;
  }
}

/* Menu Close Button */
.header__close {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 80px;
  height: 80px;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(238, 237, 242, 0.34);
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 18px;
  right: 19px;
  z-index: 1002;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(25, 192, 215, 0.3);
  -webkit-tap-highlight-color: transparent;
}

.header__close span {
  width: 24px;
  height: 2px;
  background: linear-gradient(
    135deg,
    #ff6fa3 0%,
    #f78acb 8%,
    #5fa3d4 100%
  );
  position: absolute;
  transition: all 0.3s ease;
}

.header__close span:first-child {
  transform: rotate(45deg);
}

.header__close span:last-child {
  transform: rotate(-45deg);
}

/* ============================================
   HERO BACKGROUND (fixed)
   ============================================ */
.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #e0f7fa 0%, #f5f7fa 50%, #e8f4f8 100%);
}

/* Gradient Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.9;
  z-index: 1;
  will-change: transform, opacity;
  transform: translateZ(0);
}

.hero-orb.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.4) 0%, transparent 70%);
  top: 10%;
  left: 10%;
  animation: float-orb-1 20s ease-in-out infinite;
}

.hero-orb.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.4) 0%, transparent 70%);
  top: 60%;
  right: 15%;
  animation: float-orb-2 25s ease-in-out infinite;
}

.hero-orb.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(150, 206, 180, 0.3) 0%, transparent 70%);
  bottom: 20%;
  left: 20%;
  animation: float-orb-3 22s ease-in-out infinite;
}

.hero-orb.orb-4 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 234, 167, 0.4) 0%, transparent 70%);
  top: 30%;
  right: 25%;
  animation: float-orb-4 18s ease-in-out infinite;
}

.hero-orb.orb-5 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(162, 155, 254, 0.3) 0%, transparent 70%);
  top: 70%;
  left: 60%;
  animation: float-orb-5 24s ease-in-out infinite;
}

.hero-orb.orb-6 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(253, 203, 110, 0.3) 0%, transparent 70%);
  bottom: 30%;
  right: 10%;
  animation: float-orb-6 19s ease-in-out infinite;
}

.hero-orb.orb-7 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(129, 236, 236, 0.3) 0%, transparent 70%);
  top: 15%;
  right: 40%;
  animation: float-orb-7 21s ease-in-out infinite;
}

.hero-orb.orb-8 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(223, 230, 233, 0.4) 0%, transparent 70%);
  bottom: 15%;
  left: 40%;
  animation: float-orb-8 23s ease-in-out infinite;
}

@keyframes float-orb-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

@keyframes float-orb-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes float-orb-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, 15px) scale(1.05); }
}

@keyframes float-orb-4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-15px, -25px) scale(1.08); }
}

@keyframes float-orb-5 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(0.92); }
}

@keyframes float-orb-6 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-25px, 10px) scale(1.06); }
}

@keyframes float-orb-7 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15px, 25px) scale(0.98); }
}

@keyframes float-orb-8 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -15px) scale(1.04); }
}

/* Gradient Mesh */
.hero-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(at 40% 20%, rgba(255, 107, 107, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(78, 205, 196, 0.15) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(150, 206, 180, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(255, 234, 167, 0.15) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(162, 155, 254, 0.15) 0px, transparent 50%);
  opacity: 0.6;
  will-change: transform, opacity;
  transform: translateZ(0);
  animation: mesh-shift 30s ease-in-out infinite;
}

@keyframes mesh-shift {
  0%, 100% { opacity: 0.6; transform: translateZ(0) scale(1); }
  50% { opacity: 0.8; transform: translateZ(0) scale(1.02); }
}

/* ============================================
   HERO CONTENT
   ============================================ */

/* Hero content styles consolidated below at line ~2070 */

@keyframes hero-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fade-in-scroll 1s ease-out 1.5s forwards;
}

.hero-scroll-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.4);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll-arrow {
  width: 24px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-arrow::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.5; }
}

@keyframes fade-in-scroll {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: rgba(255, 255, 255, 0.5);
  padding: 160px clamp(20px, 4vw, 40px);
  color: #333;
}

.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  padding: 40px;
  align-items: stretch;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.footer__contact-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .footer__contact-row {
    flex-direction: column;
    gap: 0;
  }

  .footer__contact-row .footer__contact:nth-child(2),
  .footer__contact-row .footer__contact:nth-child(3) {
    display: inline-block;
  }

  .footer__nav .footer__cta {
    letter-spacing: 0.2rem;
  }
}

@media (min-width: 769px) {
  .footer__contact-row {
    flex-direction: column;
    gap: 0;
    margin-top: auto;
  }

  .footer__content {
    gap: 16px;
  }

  .footer__content p:last-of-type {
    margin-top: 0;
  }

  .footer__logo {
    margin-bottom: 0;
  }
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 100%;
}

.footer__nav .footer__cta {
  display: inline-block;
  background: linear-gradient(
    135deg,
    #ff6fa3 0%,
    #f78acb 8%,
    #c7a6ff 16%,
    #8bb8ff 26%,
    #7fd4d8 58%,
    #36c1d6 70%,
    #2fa7e0 85%,
    #5fa3d4 100%
  );
  color: #fff;
  text-decoration: none;
  padding: 20px 32px;
  border-radius: 20px;
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 0.95rem);
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(25, 192, 215, 0.3);
  margin-bottom: 0;
  margin-top: auto;
}

@media (min-width: 769px) {
  .footer__nav .footer__cta:hover {
    transform: translateY(-2px);
    letter-spacing: 0.2rem;
    box-shadow: 0 6px 16px rgba(25, 192, 215, 0.4);
  }
}

.footer__logo {
  font-size: clamp(1.3rem, 4vw, 1.5rem);
  letter-spacing: 0.1rem;
  font-weight: 700;
  color: #222;
  text-decoration: none;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer__logo::before {
  content: "アミタビジネスアシスト";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  background-image: linear-gradient(
    135deg,
    #ff6fa3 0%,
    #f78acb 8%,
    #c7a6ff 16%,
    #8bb8ff 26%,
    #d9d9d9 36%,
    #bfc7cc 46%,
    #7fd4d8 58%,
    #36c1d6 70%,
    #2fa7e0 85%,
    #5fa3d4 100%
  );
  background-size: 0% 100%;
  background-position: left;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transition: background-size 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s;
  pointer-events: none;
}

.footer__logo:hover::before {
  background-size: 100% 100%;
  opacity: 1;
}

.footer__content p {
  margin: 0;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.1rem;
  color: #555;
  line-height: 1.6;
}

.footer__content a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__content a:hover {
  color: #19c0d7;
}

.footer__address a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer__address a:hover {
  color: #19c0d7;
}

.footer__external-link {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer__address a:hover .footer__external-link {
  opacity: 1;
}

.footer__contact {
  color: #555;
  transition: color 0.3s ease;
}

.footer__contact a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__contact:has(a):hover,
.footer__contact:has(a):hover a {
  color: #19c0d7;
}

.footer__contact:not(:has(a)) {
  pointer-events: none;
  user-select: text;
}

.footer__contact-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__nav-title {
  font-size: clamp(1rem, 3vw, 1.1rem);
  font-weight: 600;
  color: #222;
  margin: 0;
}

.footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.footer__nav-list li a {
  color: #555;
  text-decoration: none;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0;
  display: inline-block;
}

@media (min-width: 769px) {
  .footer__nav-list li a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
  }

  .footer__nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #3bb8c4, #57f0d0);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .footer__nav-list li a:hover {
    color: #19c0d7;
    transform: translateX(6px);
  }

  .footer__nav-list li a:hover::after {
    width: 100%;
  }
}

.footer__bottom {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 80px;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal-link {
  color: #555;
  text-decoration: none;
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  transition: color 0.3s ease;
}

.footer__legal-link:hover {
  color: #19c0d7;
}

.footer__copyright-wrap {
  text-align: right;
}

.footer__copyright {
  font-size: clamp(0.8rem, 2vw, 0.85rem);
  font-weight: 500;
  color: #666;
  margin: 0;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* 1500px以下 */
@media (max-width: 1500px) {
  .header__logo-wrap {
    padding: 15px 24px 15px 40px;
  }

  .header__nav {
    padding: 15px 10px 15px 24px;
  }

  .header__nav a {
    font-size: 1rem;
    padding: 8px 10px;
    letter-spacing: 0.05em;
  }

  .header__nav .header__link--cta {
    padding: 10px 56px 10px 32px;
    min-width: 140px;
  }
}

/* 1280px以下 - ロゴ非表示・ナビ中央配置 */
@media (max-width: 1280px) {
  .header__logo-wrap {
    opacity: 0;
    transform: translateX(-20px);
    pointer-events: none;
    width: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    height: 82.79px;
    box-sizing: border-box;
    transition: opacity 0.4s ease, transform 0.4s ease, width 0.4s ease, padding 0.4s ease;
  }

  .header__inner {
    justify-content: center;
    padding: 30px 0 12px 0; /* 右padding 30pxを削除 */
  }

  .header__nav {
    margin: 0 auto;
    transition: margin 0.4s ease, transform 0.4s ease;
  }
}

/* 1280px以下 */
@media (max-width: 1280px) {
  .container {
    padding: 0 80px;
  }
}

@media (max-width: 1000px) {
  .container {
    padding: 0 80px;
  }

  .hero-content .hero-sub .sp-br {
    display: inline;
  }
}

/* 768px以下 */
@media (max-width: 768px) {
  .container {
    padding: 0 clamp(20px, 8vw, 60px);
  }

  .header__inner {
    padding: 0;
  }

  .hero-content {
    width: 100%;  /* ← 1320px固定を上書き */
    padding-left: clamp(16px, 4vw, 20px);
    padding-right: clamp(16px, 4vw, 20px);
    box-sizing: border-box;
  }

  .footer__bottom {
    justify-content: center;
  }

  .footer__copyright-wrap {
    text-align: center;
    width: 100%;
  }

  .footer__copyright {
    text-align: center;
  }

  .hero-content h1 {
    font-size: clamp(1.35rem, 5.5vw, 2rem);
    letter-spacing: 0.5px;
    word-break: break-word;
    overflow-wrap: anywhere;
    -webkit-text-size-adjust: 100%;
    hyphens: auto;
  }

  .hero-content h1 br {
    display: block;
  }

  .hero-content h1 .sp-br {
    display: block;
  }

  .hero-content .hero-sub {
    font-size: clamp(0.75rem, 3.2vw, 0.9rem);
    word-break: break-word;
    overflow-wrap: anywhere;
    letter-spacing: 0;
  }


  .footer {
    padding: clamp(56px, 8vw, 60px) clamp(16px, 4vw, 20px);
  }

  .footer__logo {
    font-size: clamp(1.3rem, 4vw, 1.5rem);
    position: relative;
    display: inline-block;
  }

  .footer__content p {
    font-size: clamp(0.8rem, 2vw, 1.1rem);
    letter-spacing: 0.1rem;
    font-weight: 600;
  }
}

/* ============================================
   CTA BANNER SECTION (共通パーツ)
   ============================================ */
.hp-cta {
  display: block;
  width: 100%;
  background: linear-gradient(90deg, rgba(25, 192, 215, 0.1) 0%, rgba(65, 182, 230, 0.1) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: backdrop-filter 0.2s ease;
  padding: 80px 0;
}

.hp-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    #ff6fa3 0%,
    #f78acb 8%,
    #c7a6ff 16%,
    #8bb8ff 26%,
    #d9d9d9 36%,
    #bfc7cc 46%,
    #7fd4d8 58%,
    #36c1d6 70%,
    #2fa7e0 85%,
    #5fa3d4 100%
  );
  background-size: 0% 100%;
  background-position: left;
  background-repeat: no-repeat;
  transition: background-size 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

/* Hover effects for 769px and above */
.hp-cta:hover::before {
  background-size: 100% 100%;
}

/* PC only: backdrop-filter change on hover */
@media (min-width: 1024px) {
  .hp-cta:hover {
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
  }
}

/* Mobile static background (768px以下): no hover, always 100% */
@media (max-width: 768px) {
  .hp-cta::before {
    background-size: 100% 100%;
    transition: none;
  }

  .hp-cta:hover::before {
    background-size: 100% 100%;
  }
}

.hp-cta__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: hp-cta-scroll 40s linear infinite;
  position: relative;
  z-index: 1;
}

@keyframes hp-cta-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hp-cta__text {
  font-size: 10vw;
  color: #fff;
  white-space: nowrap;
  display: flex;
  align-items: center;
  font-weight: 300;
  line-height: 1;
}

.hp-cta__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  margin-right: 40px;
  line-height: 1;
}

/* ============================================
   SECTION COMMON PARTS (共通パーツ)
   ============================================ */

/* ---------- Section Divider ---------- */
.hp-section-divider {
  max-width: 1000px;
  margin: 0 0 40px;
}

/* ---------- Label ---------- */
.hp-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  color: #333;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hp-label::before {
  content: '';
  width: 10px;
  height: 10px;
  background: #19c0d7;
  border-radius: 50%;
  display: inline-block;
}

/* Contactラベル専用 */
.hp-label--contact {
  padding-bottom: 40px;
}

/* ---------- Title ---------- */
.hp-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.1rem;
  color: #1a1a1a;
  margin-bottom: 24px;
  line-height: 1.4;
}

/* ---------- Description ---------- */
.hp-desc {
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.1rem;
  color: #555;
  line-height: 1.8;
  padding-bottom: 80px;
  max-width: 100%;
}

.hp-desc--service {
  padding-bottom: 40px;
}

/* ---------- Body Scroll Lock ---------- */
body.body--is-menu-open {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

html:has(body.body--is-menu-open) {
  overflow: hidden;
}

/* ---------- Fade In Section ---------- */
.hp-fade-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hp-fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HERO SECTION (from style.css)
   ============================================ */
.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(180deg, #f5f7fa 0%, #f8f9fa 100%);
  z-index: -1;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.9;
  z-index: 1;
  will-change: transform, opacity;
  transform: translateZ(0);
}

.orb-1 {
  width: 500px;
  height: 500px;
  top: 5%;
  left: -5%;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.8) 0%, rgba(255, 142, 142, 0.5) 50%, transparent 70%);
  animation: float-orb 22s ease-in-out infinite, pulse-orb 7s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  top: -10%;
  right: 20%;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.8) 0%, rgba(150, 230, 220, 0.5) 50%, transparent 70%);
  animation: float-orb 26s ease-in-out infinite reverse, pulse-orb 9s ease-in-out infinite;
}

.orb-3 {
  width: 450px;
  height: 450px;
  top: 40%;
  right: -8%;
  background: radial-gradient(circle, rgba(69, 183, 209, 0.8) 0%, rgba(120, 200, 230, 0.5) 50%, transparent 70%);
  animation: float-orb 20s ease-in-out infinite, pulse-orb 8s ease-in-out infinite;
}

.orb-4 {
  width: 350px;
  height: 350px;
  top: 60%;
  left: 10%;
  background: radial-gradient(circle, rgba(150, 206, 180, 0.75) 0%, rgba(180, 230, 200, 0.45) 50%, transparent 70%);
  animation: float-orb 24s ease-in-out infinite reverse, pulse-orb 10s ease-in-out infinite;
}

.orb-5 {
  width: 400px;
  height: 400px;
  bottom: 5%;
  right: 25%;
  background: radial-gradient(circle, rgba(254, 202, 87, 0.75) 0%, rgba(255, 220, 130, 0.45) 50%, transparent 70%);
  animation: float-orb 19s ease-in-out infinite, pulse-orb 11s ease-in-out infinite;
}

.orb-6 {
  width: 300px;
  height: 300px;
  top: 20%;
  left: 30%;
  background: radial-gradient(circle, rgba(155, 89, 182, 0.7) 0%, rgba(200, 150, 220, 0.4) 50%, transparent 70%);
  animation: float-orb 28s ease-in-out infinite reverse, pulse-orb 12s ease-in-out infinite;
}

.orb-7 {
  width: 350px;
  height: 350px;
  top: 70%;
  left: 40%;
  background: radial-gradient(circle, rgba(241, 196, 15, 0.75) 0%, rgba(255, 220, 100, 0.45) 50%, transparent 70%);
  animation: float-orb 21s ease-in-out infinite, pulse-orb 9s ease-in-out infinite;
}

.orb-8 {
  width: 280px;
  height: 280px;
  top: 35%;
  left: 5%;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.75) 0%, rgba(100, 180, 240, 0.45) 50%, transparent 70%);
  animation: float-orb 25s ease-in-out infinite reverse, pulse-orb 8s ease-in-out infinite;
}

.hero-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(255, 107, 107, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 70% 80%, rgba(78, 205, 196, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(69, 183, 209, 0.05) 0%, transparent 50%);
  animation: mesh-shift 30s ease-in-out infinite;
  will-change: transform;
  z-index: 1;
}

/* ============================================
   HERO CONTENT
   ============================================ */
.hero-content {
  position: relative;
  width: 1320px;
  z-index: 2;
  margin-left: 0px;
  text-align: left;
  animation: hero-fade-in-up 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-content .section-label {
  margin-bottom: 20px;
  color: #666;
  opacity: 0;
  animation: hero-fade-in-up 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 24px;
}

.hero-content h1 .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}

.hero-content h1 .gradient-bg {
  background: var(--gradient-main);
  color: #fff;
  padding: 0px 8px 3px;
}

.hero-content .hero-sub {
  font-size: clamp(0.85rem, calc(0.53vw + 0.73rem), 1.1rem);
  line-height: clamp(1.2rem, 1.094rem + 0.2817vw, 1.5rem);
  color: #555;
  letter-spacing: 1px;
  font-weight: 400;
  max-width: 700px;
  word-break: break-word;
  overflow-wrap: anywhere;
  -webkit-text-size-adjust: 100%;
  opacity: 0;
  animation: hero-fade-in-up 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s forwards;
}

/* スマホ専用改行タグ：PCでは非表示 */
.sp-br {
  display: none;
}

/* PC専用改行タグ：SPでは非表示 */
.pc-br {
  display: block;
}

@media (max-width: 768px) {
  .pc-br {
    display: none;
  }
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(180px, -150px) scale(1.15) rotate(5deg); }
  50% { transform: translate(-120px, 120px) scale(0.9) rotate(-3deg); }
  75% { transform: translate(150px, 180px) scale(1.1) rotate(4deg); }
}

@keyframes pulse-orb {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.8; }
}

@keyframes mesh-shift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 20px); }
}

@keyframes hero-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll-dot {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 24px; opacity: 0.3; }
}

@keyframes fade-in-scroll {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================
   PHONE BUTTON
   ============================================ */
.phone-button {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 80px;
  height: 80px;
  background: rgba(25, 192, 215, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: bottom 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.3s ease;
  z-index: 998;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(25, 192, 215, 0.2);
}

.phone-button.is-visible {
  bottom: 130px;
}

.phone-button__icon {
  width: 32px;
  height: 32px;
  color: #fff;
  stroke-width: 1;
  transition: transform 0.3s ease;
}

@media (min-width: 769px) {
  .phone-button:hover {
    background: rgba(25, 192, 215, 0.7);
  }

  .phone-button:hover .phone-button__icon {
    transform: translateY(-2px);
  }
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(238, 237, 242, 0.34);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.scroll-top:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top__arrow {
  width: 28px;
  height: 28px;
  color: #373333;
  transition: transform 0.3s ease;
}

.scroll-top:hover .scroll-top__arrow {
  transform: translateY(-3px);
}

/* スマホでは非表示 */
@media (max-width: 768px) {
  .scroll-top,
  .hero-scroll {
    display: none;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 40px 40px 80px 40px;
  }

  .footer__nav {
    gap: 24px;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;
    padding-bottom: 56px;
  }

  .footer__legal {
    flex-direction: column;
    gap: 12px;
  }

  .footer__copyright-wrap {
    text-align: center;
  }
}
