/* ============================================
   AQ Partners - Main Stylesheet
   Design: Modern Luxury Blue Theme
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --primary:       #0a3d7c;
  --primary-light: #1557b0;
  --primary-dark:  #062a57;
  --accent:        #4aa3e8;
  --accent-light:  #7ec5f5;
  --gold:          #c9a84c;
  --gold-light:    #e0c070;
  --white:         #ffffff;
  --off-white:     #f5f7fa;
  --text-dark:     #0d1b2e;
  --text-mid:      #3a4a5c;
  --text-light:    #6b7e94;
  --border:        #d8e2ee;
  --dark-bg:       #0b2540;
  --dark-bg2:      #0f3060;
  --section-bg:    #f0f4f9;

  --font-en:       'Inter', sans-serif;
  --font-ja:       'Noto Sans JP', sans-serif;
  --font-serif:    'Cormorant Garamond', serif;

  --radius:        12px;
  --radius-sm:     6px;
  --shadow:        0 8px 40px rgba(10, 61, 124, 0.12);
  --shadow-lg:     0 20px 60px rgba(10, 61, 124, 0.18);
  --transition:    0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  /* scroll-behavior: smooth は JS 側で制御（公開環境での競合防止） */
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-ja);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---- Utility ---- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 120px 0;
}

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

.pc-only { display: inline; }
.sp-only { display: none; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(6, 24, 40, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.logo-img {
  height: 30px;       /* ヘッダーの高さに合わせて調整 */
  width: auto;
  display: block;
  /* 黒背景を馴染ませるためmix-blend-modeで背景を透過 */
  mix-blend-mode: screen;
}

/* スマホ */
@media (max-width: 768px) {
  .logo-img {
    height: 24px;
  }
}

.logo-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.logo-ja {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  display: none;
}

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  background: var(--primary-light);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 30px;
}

.nav-cta:hover {
  background: var(--accent) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    #020c18 0%,
    #071832 25%,
    #0a2a5e 55%,
    #0d3a6e 80%,
    #0a2040 100%
  );
  overflow: hidden;
  pointer-events: none;
}

.hero-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(30, 100, 200, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 10% 90%, rgba(74, 163, 232, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 10%, rgba(201, 168, 76, 0.07) 0%, transparent 50%);
}

/* Animated perspective grid */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(74, 163, 232, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 163, 232, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridPulse 12s ease-in-out infinite;
  transform-origin: center bottom;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 20px 20px;
  animation: gridMove 18s linear infinite;
}

@keyframes gridMove {
  0%   { transform: translateY(0) translateX(0); }
  100% { transform: translateY(80px) translateX(20px); }
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.6; transform: perspective(800px) rotateX(6deg) scale(1.05); }
  50%       { opacity: 1;   transform: perspective(800px) rotateX(8deg) scale(1.08); }
}

/* ---- Geometric decorative elements ---- */
.hero-geo {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Rotating rings */
.geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(74, 163, 232, 0.15);
  pointer-events: none;
  touch-action: none;
}

.geo-ring--1 {
  width: 600px; height: 600px;
  top: 50%; left: 60%;
  transform: translate(-50%, -50%);
  animation: ringRotate 30s linear infinite;
  border-color: rgba(74, 163, 232, 0.12);
}
.geo-ring--2 {
  width: 400px; height: 400px;
  top: 50%; left: 60%;
  transform: translate(-50%, -50%);
  animation: ringRotate 20s linear infinite reverse;
  border-color: rgba(201, 168, 76, 0.1);
  border-style: dashed;
}
.geo-ring--3 {
  width: 220px; height: 220px;
  top: 50%; left: 60%;
  transform: translate(-50%, -50%);
  animation: ringRotate 12s linear infinite;
  border-color: rgba(74, 163, 232, 0.2);
}

@keyframes ringRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Diagonal lines */
.geo-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(74, 163, 232, 0.15), transparent);
  height: 1px;
  width: 40%;
  pointer-events: none;
  touch-action: none;
}

.geo-line--1 {
  top: 30%; left: 5%;
  transform: rotate(-15deg);
  animation: lineSweep 8s ease-in-out infinite;
}
.geo-line--2 {
  top: 60%; left: 55%;
  width: 30%;
  transform: rotate(10deg);
  animation: lineSweep 10s ease-in-out infinite 2s;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.12), transparent);
}
.geo-line--3 {
  top: 80%; left: 15%;
  width: 25%;
  transform: rotate(-8deg);
  animation: lineSweep 12s ease-in-out infinite 4s;
}

@keyframes lineSweep {
  0%, 100% { opacity: 0.4; transform: rotate(-15deg) scaleX(0.8); }
  50%       { opacity: 1;   transform: rotate(-15deg) scaleX(1.2); }
}

/* Glowing dots */
.geo-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(74, 163, 232, 0.6);
  box-shadow: 0 0 12px rgba(74, 163, 232, 0.6), 0 0 24px rgba(74, 163, 232, 0.3);
  pointer-events: none;
  touch-action: none;
}

.geo-dot--1 { width: 4px; height: 4px; top: 20%; left: 15%; animation: dotPulse 4s ease-in-out infinite; }
.geo-dot--2 { width: 6px; height: 6px; top: 70%; left: 75%; animation: dotPulse 5s ease-in-out infinite 1s; background: rgba(201,168,76,0.8); box-shadow: 0 0 12px rgba(201,168,76,0.6), 0 0 24px rgba(201,168,76,0.3); }
.geo-dot--3 { width: 3px; height: 3px; top: 35%; left: 85%; animation: dotPulse 3.5s ease-in-out infinite 0.5s; }
.geo-dot--4 { width: 5px; height: 5px; top: 85%; left: 30%; animation: dotPulse 6s ease-in-out infinite 2s; }
.geo-dot--5 { width: 4px; height: 4px; top: 15%; left: 55%; animation: dotPulse 4.5s ease-in-out infinite 3s; background: rgba(201,168,76,0.7); box-shadow: 0 0 10px rgba(201,168,76,0.5); }

@keyframes dotPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.8); }
}

/* Responsive: hide large rings on mobile */
@media (max-width: 768px) {
  .geo-ring--1 { width: 380px; height: 380px; }
  .geo-ring--2 { width: 250px; height: 250px; }
  .geo-ring--3 { width: 140px; height: 140px; }
  .hero-bg::before { background-size: 60px 60px; }
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 40px;
  max-width: 1100px;     /* 横幅を広げてPCで大きく表示 */
  width: 100%;
  pointer-events: auto;  /* ボタン等は正常にクリック可 */
}

.hero-sub {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--accent-light);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 32px;
  text-align: center;
  animation: heroFadeUp 1s ease 0.3s both;
}

/* メインタイトル：日本語 */
.hero-main-ja {
  display: block;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

/* メインタイトル：英語サブ */
.hero-main-en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(1.0rem, 2vw, 1.6rem);
  font-weight: 400;
  color: var(--accent-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* 説明文 */
.hero-desc {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: rgba(255,255,255,0.78);
  line-height: 2.0;
  margin-bottom: 48px;
}

/* SP/PCテキスト出し分け（デフォルトはPC） */
.hero-desc-sp { display: none; }
.hero-desc-pc { display: inline; }
.tagline-pc { display: inline; }
.tagline-sp { display: none; }
/* PCではSP用改行を非表示、PC用改行を表示 */
.sp-br { display: none; }
.pc-br { display: block; }
.footer-nav-break { display: none; }
/* PC ではspanを非表示、PC専用テキストを表示 */
.hero-desc-line { display: none; }
.hero-desc-pc-text { display: inline; }

/* スマホ */
@media (max-width: 600px) {
  /* 横スクロール防止：はみ出し要素を封じる */
  html, body { overflow-x: hidden !important; max-width: 100vw; }
  .hero { overflow: hidden !important; }
  .geo-ring { display: none !important; }

  .hero-desc br { display: none; }

  /* ヒーロータイトル：日本語 → 1行に収める */
  .hero-main-ja {
    font-size: clamp(1.45rem, 7vw, 1.8rem);
    white-space: nowrap;
    letter-spacing: 0.04em;
    line-height: 1.2;
  }

  /* ヒーロータイトル：英語 → 少し小さく */
  .hero-main-en {
    font-size: clamp(0.6rem, 3.2vw, 0.85rem);
    letter-spacing: 0.15em;
  }

  /* コンテンツ幅を広げて文字が折り返しやすくする */
  .hero-content {
    padding: 0 20px;
  }

  /* 説明文 → 3行に収まるよう小さく */
  .hero-desc {
    font-size: 11.5px !important;
    line-height: 1.75;
    margin-bottom: 32px;
    letter-spacing: 0.01em;
  }

  /* SP用テキストのみ表示、PC用は非表示 */
  .hero-desc-sp { display: inline; }
  .hero-desc-pc { display: none; }
  /* SPでは各spanをブロックにして改行、PC専用テキストは非表示 */
  .hero-desc-line { display: block; }
  .hero-desc-pc-text { display: none; }

  /* About — SP用調整 */
  .tagline-pc { display: none; }
  .tagline-sp {
    display: inline;
    font-size: 13.5px;
    letter-spacing: 0em;
  }
  .about-tagline {
    font-size: inherit;
    margin-bottom: 16px;
    line-height: 1.4;
  }
  .about-message {
    margin-bottom: 24px;
    max-width: 100%;
  }
  .about-body {
    font-size: 12px !important;
    line-height: 1.8;
    margin-bottom: 12px;
  }
  .about-message {
    margin-bottom: 32px;
  }

  /* Service desc — SP用 */
  .service-desc {
    font-size: 12px !important;
    line-height: 1.7;
  }
  .sp-br { display: block; }
  .pc-br { display: none; }

  /* Service cards — SP用コンパクト化 */
  .service-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
  .service-card {
    padding: 14px 16px !important;
  }
  /* NO＋アイコン＋タイトル横並び */
  .service-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
  }
  .service-number {
    font-size: 1rem !important;
    margin-bottom: 0 !important;
    min-width: 24px;
    line-height: 1;
  }
  .service-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    margin-bottom: 0 !important;
    flex-shrink: 0;
  }
  .service-icon i {
    font-size: 1rem !important;
  }
  .service-card h3 {
    font-size: 13px !important;
    margin-bottom: 0 !important;
    line-height: 1.3;
  }
  .service-card p {
    font-size: 11px !important;
    margin-bottom: 8px !important;
    line-height: 1.6;
  }
  .service-list {
    gap: 5px;
  }
  .service-list li {
    font-size: 11px !important;
    gap: 6px;
  }
  .service-salon-badge {
    margin-top: 10px;
    margin-bottom: 4px !important;
    padding-top: 10px;
    padding-bottom: 4px;
  }
  .service-salon-logo {
    width: 60px !important;
    height: 60px !important;
  }

  /* MVV — SP用コンパクト化 */
  .about-mvv {
    gap: 8px;
  }
  .mvv-card {
    padding: 14px 14px;
  }
  .mvv-label {
    font-size: 10px !important;
    margin-bottom: 6px;
    letter-spacing: 0.15em;
  }
  .mvv-text {
    font-size: 12px !important;
    line-height: 1.65;
  }
  .mvv-list li {
    font-size: 12px !important;
    line-height: 1.55;
    padding-left: 12px;
  }
  .mvv-list {
    gap: 6px;
  }

  /* Clients — SP用コンパクト化 */
  .clients .section-desc { font-size: 0.78rem; white-space: nowrap; }
  .clients.section { padding: 60px 0; }
  .clients-grid { gap: 6px; }
  .client-card {
    padding: 16px 20px;
    width: calc(50% - 8px);
    min-width: unset;
    min-height: 80px;
  }
  .client-logo-img { max-width: 110px; max-height: 44px; }
  .clients-note { margin-top: 20px; font-size: 0.72rem; }
}

.hero-row {
  display: block;          /* 必ず1行ずつのブロック要素 */
  font-size: 4.0rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.6;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-align: center;
  margin: 0;
  padding: 0;
}

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

/* タブレット (768px以下) */
@media (max-width: 768px) {
  .hero-row {
    font-size: 2.6rem;
  }
}

/* スマホ (480px以下) */
@media (max-width: 480px) {
  .hero-row {
    font-size: clamp(1.4rem, 7.5vw, 2.0rem);
    white-space: normal;
  }
}

.hero-row .accent {
  color: var(--accent-light);
  position: relative;
  display: inline-block;
}

.hero-row .accent::after {
  display: none;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
  margin-bottom: 48px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: var(--font-ja);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.05em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(21, 87, 176, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(21, 87, 176, 0.5);
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-3px);
}

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

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-dark .section-label {
  color: var(--accent-light);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

/* 左右にデコレーション画像を配置 */
.section-title::before,
.section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2em;
  height: 2.2em;
  background-image: url('../images/section-deco.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  mix-blend-mode: multiply;   /* 白背景に馴染む */
  opacity: 0.55;
}

.section-title::before {
  right: calc(100% + 10px);
}

.section-title::after {
  left: calc(100% + 10px);
  transform: translateY(-50%) scaleX(-1); /* 左右反転で対称に */
}

/* ダークセクションでは blend-mode を screen に切り替え */
.section-dark .section-title::before,
.section-dark .section-title::after {
  mix-blend-mode: screen;
  opacity: 0.5;
}

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

.section-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

.section-dark .section-desc {
  color: rgba(255,255,255,0.65);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--white);
}

/* 想いと本文エリア */
.about-message {
  max-width: 800px;
  margin: 0 auto 72px;
  text-align: center;
}

.about-tagline {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 28px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.about-body {
  font-size: 0.97rem;
  color: var(--text-mid);
  margin-bottom: 18px;
  line-height: 2.0;
  text-align: left;
}

/* MISSION / VISION / VALUES */
.about-mvv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mvv-card {
  background: var(--bg-light, #f7f9fc);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 3px solid var(--primary-light);
}

.mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent);
}

.mvv-label {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.mvv-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.9;
}

.mvv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mvv-list li {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
}

.mvv-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* タブレット */
@media (max-width: 900px) {
  .about-mvv {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ */
@media (max-width: 600px) {
  .about-message {
    margin-bottom: 48px;
  }
}

/* ============================================
   SERVICE
   ============================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 44px 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(74, 163, 232, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-number {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(74, 163, 232, 0.35);
  line-height: 1;
  margin-bottom: 16px;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

/* 06 店舗運営 — サロンロゴ（カード下部） */
.service-salon-badge {
  margin-top: 24px;
  margin-bottom: -24px;
  padding-top: 20px;
  padding-bottom: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: center;
}

.service-salon-logo {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  opacity: 0.92;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.service-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.9;
  margin-bottom: 24px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.95);
}

.service-list li i {
  color: var(--accent-light);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ============================================
   FEATURE
   ============================================ */
.feature {
  background: var(--section-bg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-icon-wrap {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition);
}

.feature-item:hover .feature-icon-wrap {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  transform: rotate(5deg) scale(1.05);
}

.feature-icon-wrap i {
  font-size: 1.6rem;
  color: var(--white);
}

.feature-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.feature-item p {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ============================================
   FLOW
   ============================================ */
.flow-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-item {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  transition: var(--transition);
}

.flow-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(74, 163, 232, 0.3);
  transform: translateX(6px);
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.flow-num {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  background: rgba(74, 163, 232, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
}

.flow-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-icon i {
  font-size: 1.2rem;
  color: var(--white);
}

.flow-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.flow-body p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}

.flow-arrow {
  color: var(--accent);
  font-size: 1rem;
  margin: 8px 0;
  opacity: 0.6;
}

/* ============================================
   CLIENTS
   ============================================ */
.clients {
  background: var(--section-bg);
}

/* ===== CASES ===== */
.cases.section {
  background: var(--section-bg);
}

.cases-coming {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 0 60px;
}

.cases-coming-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 64px 80px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  text-align: center;
}

.cases-coming-badge {
  display: inline-block;
  padding: 8px 28px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.cases-coming-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 2;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .cases-coming-inner {
    padding: 48px 32px;
  }
  .cases-coming-text {
    font-size: 12px !important;
    line-height: 1.8;
  }
  .cases .section-desc {
    font-size: 12px !important;
  }
  .contact .section-desc {
    font-size: 12px !important;
  }
  .form-note {
    font-size: 11px !important;
  }

  /* フッターナビ2行化 */
  .footer-nav-break {
    display: block;
    width: 100%;
    height: 0;
  }
}

/* ===== CLIENTS ===== */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
}

.client-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  min-height: 120px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

/* クライアントロゴ画像 */
.client-logo-img {
  max-width: 220px;
  max-height: 72px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.clients-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* ============================================
   COMPANY
   ============================================ */
.company {
  background: var(--white);
}

.company-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--border);
}

.company-table tr:first-child {
  border-top: 1px solid var(--border);
}

.company-table th,
.company-table td {
  padding: 20px 16px;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.8;
  vertical-align: top;
}

.company-table th {
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
  min-width: 130px;
}

.company-table td {
  color: var(--text-mid);
}

.company-table td a {
  color: var(--primary-light);
}

.company-table td a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.company-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
  max-width: 720px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(74, 163, 232, 0.15);
  border: 1px solid rgba(74, 163, 232, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon i {
  color: var(--accent-light);
  font-size: 1.1rem;
}

.contact-info-label {
  font-size: 0.75rem;
  font-family: var(--font-en);
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 1rem;
  color: var(--white);
  line-height: 1.6;
  font-weight: 500;
}

a.contact-info-value:hover {
  color: var(--accent-light);
}

/* Form */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 44px 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}

.required {
  display: inline-block;
  background: var(--primary-light);
  color: var(--white);
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-ja);
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(74, 163, 232, 0.1);
  box-shadow: 0 0 0 3px rgba(74, 163, 232, 0.15);
}

.form-group select option {
  background: var(--dark-bg2);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: 14px;
  text-align: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark-bg);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 32px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  text-align: center;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  margin: 0 auto 6px;
  mix-blend-mode: screen;
}

.footer-logo p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
}

.footer-nav a {
  font-family: var(--font-en);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--accent-light);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* ============================================
   PAGE TOP BUTTON
   ============================================ */
.page-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 960px) {
  .container { padding: 0 28px; }
  .section { padding: 90px 0; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-grid { grid-template-columns: 1fr; gap: 24px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .company-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-info { flex-direction: row; flex-wrap: wrap; }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 640px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }

  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }

  /* Header */
  .header-inner { padding: 0 20px; height: 68px; }
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    width: 40vw;
    height: 100vh;
    background: rgba(6, 24, 40, 0.98);
    backdrop-filter: blur(20px);
    padding: 100px 24px 40px;
    transform: translateX(100%);
    transition: var(--transition);
    z-index: 999;
    border-left: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
  }
  .nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-link { font-size: 0.95rem; padding: 11px 12px; width: 100%; }
  /* SP: Contactボタンの背景色・ボーダーを解除して他リンクと統一 */
  .nav-cta {
    background: none !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    padding: 11px 12px !important;
    color: rgba(255, 255, 255, 0.9) !important;
  }
  .nav-cta:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    transform: none !important;
    color: #fff !important;
  }

  /* Hero — スマホはstyle.css上部の@media(max-width:600px)で制御 */
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; max-width: 320px; }

  /* Feature */
  .feature-grid { grid-template-columns: 1fr; }

  /* Flow */
  .flow-item { padding: 24px 20px; gap: 20px; }

  /* Clients */
  .client-card { padding: 28px 32px; min-width: 160px; }
  .client-logo-img { max-width: 140px; max-height: 56px; }


  /* Contact */
  .contact-info { flex-direction: column; }
  .contact-form { padding: 32px 24px; }

  /* Footer */
  .footer-inner { padding: 0 20px; }
  .page-top { bottom: 24px; right: 24px; width: 44px; height: 44px; }
}
