/* ===================================
   RESET & BASE
=================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-dark:    #0d1f5c;
  --blue-mid:     #1a4cba;
  --blue-light:   #4a90e2;
  --blue-sky:     #7fb3f5;
  --blue-pale:    #eaf0ff;
  --pink-hot:     #e01e8a;
  --pink-mid:     #ff6eb4;
  --pink-light:   #ffb3d9;
  --pink-pale:    #fff0f8;
  --white:        #ffffff;
  --text-dark:    #1a2340;
  --text-mid:     #3d4f72;
  --text-gray:    #6b7ea8;

  --grad-hero:       linear-gradient(135deg, #0d1f5c 0%, #1a3a8c 50%, #2358d4 100%);
  --grad-pink:       linear-gradient(135deg, #e01e8a, #ff6eb4);
  --grad-blue-pink:  linear-gradient(135deg, #1a4cba 0%, #a020a0 50%, #e01e8a 100%);
  --grad-conic:      conic-gradient(from 0deg, #e01e8a, #7fb3f5, #e01e8a);

  --shadow-blue: 0 4px 24px rgba(26, 76, 186, 0.25);
  --shadow-pink: 0 4px 24px rgba(224, 30, 138, 0.3);

  --radius: 16px;
  --ease:   0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.pc-only { display: inline; }

/* ===================================
   HEADER
=================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 31, 92, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--ease);
}

.header.scrolled {
  background: rgba(13, 31, 92, 0.97);
}

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

.logo {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.logo-ami {
  font-family: 'Dancing Script', cursive;
  font-size: 28px;
  font-weight: 700;
  background: var(--grad-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--ease);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--grad-pink);
  border-radius: 1px;
  transition: width var(--ease);
}

.nav a:hover { color: var(--pink-light); }
.nav a:hover::after { width: 100%; }

.nav-cta {
  background: var(--grad-pink) !important;
  color: white !important;
  padding: 8px 22px !important;
  border-radius: 24px;
  font-weight: 700 !important;
  box-shadow: var(--shadow-pink);
  transition: transform var(--ease), box-shadow var(--ease) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(224, 30, 138, 0.45) !important;
  color: white !important;
}

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

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

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================
   HERO
=================================== */
.hero {
  min-height: 100vh;
  background: var(--grad-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255, 110, 180, 0.12) 1px, transparent 1px);
  background-size: 22px 22px, 28px 28px;
  opacity: 0.35;
  pointer-events: none;
}

/* 初回描画を軽くする（折り返し下セクション） */
.numbers,
.about,
.services,
.works,
.genre,
.mindset,
.flow,
.hours,
.contact,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-bg-glow--1 {
  width: 700px; height: 700px;
  top: -25%; right: -12%;
  background: radial-gradient(circle, rgba(224, 30, 138, 0.18) 0%, transparent 68%);
  animation: glow-pulse 5s ease-in-out infinite;
}

.hero-bg-glow--2 {
  width: 550px; height: 550px;
  bottom: -25%; left: -10%;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.22) 0%, transparent 68%);
  animation: glow-pulse 6s ease-in-out infinite 1.5s;
}

@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%       { transform: scale(1.12); opacity: 1; }
}

.hero-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 28px 60px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 110, 180, 0.45);
  color: var(--pink-light);
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 6px 18px;
  border-radius: 24px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(26px, 3.8vw, 50px);
  font-weight: 700;
  color: white;
  line-height: 1.45;
  margin-bottom: 18px;
}

.hero-title-accent {
  background: var(--grad-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-sub::before {
  content: '✦';
  color: var(--pink-mid);
  font-size: 12px;
}

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

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-pink);
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 34px;
  box-shadow: var(--shadow-pink);
  transition: transform var(--ease), box-shadow var(--ease);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(224, 30, 138, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 34px;
  backdrop-filter: blur(8px);
  transition: background var(--ease), transform var(--ease);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* Hero Avatar */
.hero-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-avatar-outer {
  width: 300px; height: 300px;
  border-radius: 50%;
  padding: 3px;
  background: var(--grad-conic);
  position: relative;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.hero-avatar-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.hero-avatar {
  width: 275px; height: 275px;
  object-fit: contain;
  mix-blend-mode: screen;
  animation: float 4s ease-in-out infinite;
  backface-visibility: hidden;
  transform: translateZ(0);
}

@keyframes spin         { from { transform: rotate(0deg);   } to { transform: rotate(360deg);  } }
@keyframes spin-reverse { from { transform: rotate(0deg);   } to { transform: rotate(-360deg); } }
@keyframes float        {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-12px); }
}

.hero-name-badge { text-align: center; }

.name-jp {
  display: block;
  font-size: 34px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.2em;
}

.name-en {
  display: block;
  font-family: 'Dancing Script', cursive;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

/* scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 10px;
  letter-spacing: 0.15em;
  z-index: 1;
}

.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scroll-drop 2s ease-in-out infinite;
}

@keyframes scroll-drop {
  0%   { transform: scaleY(1);   opacity: 0.5; }
  50%  { transform: scaleY(0.7); opacity: 1;   }
  100% { transform: scaleY(1);   opacity: 0.5; }
}

/* ===================================
   SPARKLE STARS (JS-generated)
=================================== */
.sparkle-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg);   }
  40%, 60%  { opacity: 1; transform: scale(1) rotate(180deg); }
}

/* ===================================
   NUMBERS
=================================== */
.numbers {
  background: var(--grad-blue-pink);
  padding: 56px 28px;
  position: relative;
  overflow: hidden;
}

.numbers::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.numbers-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.number-item {
  text-align: center;
  flex: 1;
  min-width: 140px;
  padding: 16px 20px;
}

.number-value {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 700;
  color: white;
  line-height: 1;
  display: inline;
}

.star-num {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 700;
  color: white;
  line-height: 1;
  display: inline;
}

.number-unit {
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  display: inline;
  margin-left: 4px;
}

.number-label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
}

.number-divider {
  font-size: 18px;
  color: rgba(255,255,255,0.25);
  padding: 0 4px;
  flex-shrink: 0;
}

/* ===================================
   SECTIONS COMMON
=================================== */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 88px 28px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header--left { text-align: left; }
.section-header--light .section-label { color: var(--pink-light); }

.section-label {
  font-family: 'Dancing Script', cursive;
  font-size: 19px;
  color: var(--pink-hot);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--text-dark);
  display: inline-block;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 3px;
  background: var(--grad-pink);
  border-radius: 2px;
}

.section-header--left .section-title::after {
  left: 0;
  transform: none;
}

.section-title--light { color: white; }
.section-title--light::after { background: var(--grad-pink); }

.section-desc {
  font-size: 15px;
  color: var(--text-gray);
  margin-top: 16px;
  line-height: 1.85;
}

.section-desc--light { color: rgba(255,255,255,0.72); }

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

.about-content {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: start;
}

.about-image { display: flex; justify-content: center; }

.about-avatar-container {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(26, 76, 186, 0.35);
  border: 3px solid rgba(255, 110, 180, 0.35);
  flex-shrink: 0;
}

.about-avatar {
  width: 210px; height: 210px;
  object-fit: contain;
  mix-blend-mode: screen;
}

.about-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.about-name span {
  font-size: 15px;
  color: var(--text-gray);
  font-weight: 400;
}

.about-tagline {
  font-size: 14px;
  color: var(--pink-hot);
  font-weight: 600;
  margin-bottom: 22px;
}

.about-body p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.95;
  margin-bottom: 14px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.about-tags li {
  background: white;
  border: 1px solid rgba(26, 76, 186, 0.15);
  color: var(--blue-mid);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 24px;
  transition: all var(--ease);
}

.about-tags li:hover {
  border-color: var(--pink-hot);
  color: var(--pink-hot);
}

/* ===================================
   SERVICES
=================================== */
.services { background: white; }

/* ===================================
   COMPARE
=================================== */
.compare {
  background: linear-gradient(180deg, #f7f9ff 0%, #eef3ff 100%);
  position: relative;
}

.compare::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(224, 30, 138, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.compare-card {
  background: white;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid rgba(26, 76, 186, 0.1);
  box-shadow: 0 10px 32px rgba(26, 76, 186, 0.08);
}

.compare-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 700;
}

.compare-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-card li {
  font-size: 14px;
  line-height: 1.8;
  position: relative;
  padding-left: 18px;
}

.compare-card li::before {
  content: '•';
  position: absolute;
  left: 0;
}

.compare-card--basic h3 { color: var(--text-dark); }
.compare-card--basic li { color: var(--text-gray); }
.compare-card--basic li::before { color: #9bb0d9; }

.compare-card--ami {
  border: 1px solid rgba(224, 30, 138, 0.25);
  background: linear-gradient(180deg, #ffffff 0%, #fff6fb 100%);
}

.compare-card--ami h3 { color: var(--pink-hot); }
.compare-card--ami li { color: #4b3a65; }
.compare-card--ami li::before { color: var(--pink-hot); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

/* 5枚カード: 上段3・下段2（6列グリッドで中央揃え） */
.services-grid--5 {
  grid-template-columns: repeat(6, 1fr);
}

.services-grid--5 .service-card:nth-child(1) { grid-column: 1 / 3; }
.services-grid--5 .service-card:nth-child(2) { grid-column: 3 / 5; }
.services-grid--5 .service-card:nth-child(3) { grid-column: 5 / 7; }
.services-grid--5 .service-card:nth-child(4) { grid-column: 2 / 4; }
.services-grid--5 .service-card:nth-child(5) { grid-column: 4 / 6; }

.service-card {
  background: white;
  border: 1px solid rgba(26, 76, 186, 0.1);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-pink);
  opacity: 0;
  transition: opacity var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 44px rgba(26, 76, 186, 0.14);
  border-color: rgba(26, 76, 186, 0.18);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 13.5px;
  color: var(--text-gray);
  line-height: 1.85;
  margin-bottom: 12px;
}

.service-detail {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(26, 76, 186, 0.08);
}

.service-detail li {
  font-size: 12.5px;
  color: var(--blue-mid);
  padding-left: 14px;
  position: relative;
}

.service-detail li::before {
  content: '✦';
  position: absolute;
  left: 0;
  font-size: 8px;
  top: 4px;
  color: var(--pink-hot);
}

.skills-up {
  margin-top: 32px;
  background: var(--blue-pale);
  border-left: 4px solid var(--pink-hot);
  padding: 16px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  color: var(--text-mid);
}

.skills-up-badge {
  font-weight: 700;
  color: var(--pink-hot);
  margin-right: 8px;
}

/* ===================================
   WORKS
=================================== */
.works {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}

.works::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.25;
  pointer-events: none;
}

.works-bg-glow {
  position: absolute;
  top: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(224, 30, 138, 0.16) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

.works-list {
  display: flex;
  flex-direction: column;
}

.work-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 28px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: background var(--ease), padding var(--ease);
  cursor: default;
}

.work-item:last-child { border-bottom: none; }

.work-item:hover {
  background: rgba(255,255,255,0.04);
  padding-left: 24px;
}

.work-num {
  font-family: 'Dancing Script', cursive;
  font-size: 28px;
  font-weight: 700;
  color: var(--pink-mid);
  opacity: 0.55;
  line-height: 1.2;
}

.work-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  line-height: 1.5;
}

.work-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.68);
  line-height: 1.85;
}

.work-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.work-badges span {
  font-size: 11px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.work-tag {
  background: rgba(224, 30, 138, 0.18);
  border: 1px solid rgba(224, 30, 138, 0.32);
  color: var(--pink-light);
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 14px;
  white-space: nowrap;
  align-self: flex-start;
  flex-shrink: 0;
}

/* featured work item （このサイト自体） */
.work-item--featured {
  background: rgba(255, 110, 180, 0.07);
  border-radius: 12px;
  border-bottom: 1px solid rgba(255, 110, 180, 0.18) !important;
  position: relative;
}

.work-item--featured::before {
  content: '✦ SAMPLE WORK';
  position: absolute;
  top: -11px; left: 70px;
  background: var(--grad-pink);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 12px;
  border-radius: 10px;
}

.work-tag--pink {
  background: rgba(224, 30, 138, 0.35);
  border-color: rgba(224, 30, 138, 0.55);
  color: white;
  font-weight: 600;
}

/* サービスカード内のサンプル注記 */
.service-sample-note {
  display: block;
  font-size: 11.5px;
  color: var(--pink-hot);
  font-weight: 600;
  margin-top: 8px;
  padding: 5px 10px;
  background: rgba(224, 30, 138, 0.07);
  border-left: 2px solid var(--pink-hot);
  border-radius: 0 6px 6px 0;
}

/* ===================================
   GENRE
=================================== */
.genre { background: var(--blue-pale); }

.genre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.genre-item {
  background: white;
  border: 1px solid rgba(26, 76, 186, 0.1);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  transition: all var(--ease);
}

.genre-item:hover {
  border-color: var(--pink-hot);
  color: var(--pink-hot);
  transform: translateX(5px);
  box-shadow: var(--shadow-pink);
}

.genre-icon {
  font-size: 22px;
  flex-shrink: 0;
}

/* ===================================
   MINDSET
=================================== */
.mindset {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}

.mindset::before {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(224, 30, 138, 0.15) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

.mindset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.mindset-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  backdrop-filter: blur(8px);
  transition: background var(--ease);
}

.mindset-item:hover {
  background: rgba(255,255,255,0.09);
}

.mindset-num {
  font-family: 'Dancing Script', cursive;
  font-size: 22px;
  color: var(--pink-mid);
  margin-bottom: 12px;
}

.mindset-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.mindset-item p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.68);
  line-height: 1.9;
}

.mindset-quote {
  text-align: center;
  padding: 28px;
  border-top: 1px solid rgba(224, 30, 138, 0.28);
  border-bottom: 1px solid rgba(224, 30, 138, 0.28);
}

.mindset-quote p {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  line-height: 2;
}

/* ===================================
   FLOW
=================================== */
.flow { background: white; }

.flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.flow-step {
  flex: 1;
  min-width: 160px;
  max-width: 220px;
  text-align: center;
  padding: 24px 18px;
  position: relative;
}

.flow-step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--pink-hot);
  margin-bottom: 12px;
}

.flow-step-icon {
  font-size: 38px;
  margin-bottom: 12px;
  display: block;
}

.flow-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.8;
}

.flow-arrow {
  font-size: 22px;
  color: var(--blue-sky);
  align-self: center;
  flex-shrink: 0;
  padding: 0 4px;
  margin-top: -24px;
}

/* ===================================
   HOURS
=================================== */
.hours { background: var(--pink-pale); }

.hours .section-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.hours-table {
  margin: 20px 0;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.hours-row {
  display: flex;
  padding: 16px 24px;
  gap: 32px;
  border-bottom: 1px solid #f0f0f0;
}

.hours-row:last-child { border-bottom: none; }

.hours-day {
  font-weight: 700;
  color: var(--text-dark);
  min-width: 130px;
  font-size: 15px;
}

.hours-time {
  color: var(--text-mid);
  font-size: 15px;
}

.hours-note {
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 12px;
}

.hours-image img {
  width: 220px;
  object-fit: contain;
}

/* ===================================
   CONTACT
=================================== */
.contact {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.2;
  pointer-events: none;
}

.contact-bg-glow {
  position: absolute;
  top: -20%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(224, 30, 138, 0.18) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

/* 送信結果メッセージ */
.form-result {
  display: none;
  text-align: center;
  padding: 32px 28px;
  border-radius: 16px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  animation: fade-in-up 0.5s ease both;
}

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

.form-result--success {
  background: rgba(255, 110, 180, 0.12);
  border: 1px solid rgba(255, 110, 180, 0.4);
}

.form-result--error {
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 80, 80, 0.35);
}

.form-result.is-visible { display: block; }

.form-result__icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.form-result--success .form-result__icon { color: var(--pink-mid); }
.form-result--error   .form-result__icon { color: #ff8080; }

.form-result__title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.form-result--success .form-result__title { color: white; }
.form-result--error   .form-result__title { color: #ffaaaa; }

.form-result__body {
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.75);
}

.form-result--error .form-result__body { color: rgba(255, 180, 180, 0.85); }

.form-result__body a {
  color: var(--pink-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-template {
  max-width: 660px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 16px 18px;
  position: relative;
  z-index: 1;
}

.contact-template-title {
  font-size: 14px;
  color: var(--pink-light);
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-template-lead {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
}

.contact-template ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-template li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
  padding-left: 14px;
  position: relative;
}

.contact-template li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 9px;
  color: var(--pink-mid);
}

.contact-form {
  max-width: 660px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 24px;
  padding: 44px 40px;
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

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

.required {
  display: inline-block;
  background: var(--pink-hot);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  color: white;
  font-size: 15px;
  font-family: 'Noto Sans JP', sans-serif;
  padding: 12px 16px;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
  outline: none;
  appearance: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--pink-mid);
  background: rgba(255,255,255,0.14);
  box-shadow: 0 0 0 3px rgba(224, 30, 138, 0.22);
}

.form-group select option {
  background: #0d1f5c;
  color: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.7;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-pink);
  color: white;
  font-size: 17px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  padding: 16px 52px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-pink);
  transition: transform var(--ease), box-shadow var(--ease), opacity var(--ease);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(224, 30, 138, 0.52);
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ===================================
   FOOTER
=================================== */
.footer {
  background: #070e2a;
  padding: 44px 28px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 10px;
}

.footer-logo .logo-ami  { font-size: 30px; }
.footer-logo .logo-sub  { font-size: 14px; }

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color var(--ease);
}

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

.footer-legal {
  margin-bottom: 12px;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--ease);
}

.footer-legal a:hover { color: var(--pink-light); }

.footer-credit {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* ===================================
   FADE-IN ANIMATION (JS adds .is-visible)
=================================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ===================================
   RESPONSIVE — TABLET (≤960px)
=================================== */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-image { order: -1; }

  .hero-sub { justify-content: center; }
  .hero-btns { justify-content: center; }

  .hero-avatar-outer { width: 240px; height: 240px; }
  .hero-avatar-inner { }
  .hero-avatar { width: 220px; height: 220px; }

  .about-content {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .about-image { order: -1; }
  .about-tags  { justify-content: flex-start; }

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

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

  /* 5カードはタブレットで2列に */
  .services-grid--5 { grid-template-columns: repeat(4, 1fr); }
  .services-grid--5 .service-card:nth-child(1) { grid-column: 1 / 3; }
  .services-grid--5 .service-card:nth-child(2) { grid-column: 3 / 5; }
  .services-grid--5 .service-card:nth-child(3) { grid-column: 1 / 3; }
  .services-grid--5 .service-card:nth-child(4) { grid-column: 3 / 5; }
  .services-grid--5 .service-card:nth-child(5) { grid-column: 2 / 4; }

  .hours .section-inner { grid-template-columns: 1fr; }
  .hours-image { display: none; }

  .flow-steps { gap: 0; }
}

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

  /* nav drawer */
  .nav-toggle { display: flex; }

  .nav {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(10, 20, 70, 0.97);
    padding: 24px 28px 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .nav.is-open { display: block; }

  .nav ul {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }

  .nav-cta {
    display: inline-block;
    margin-top: 8px;
  }

  .section-inner { padding: 64px 20px; }

  .compare-card { padding: 22px 18px; }
  .compare-card h3 { font-size: 17px; }
  .compare-card li { font-size: 13px; }

  /* numbers → 2×2グリッドに変更してかぶりを防ぐ */
  .number-divider { display: none; }
  .numbers-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .number-item { min-width: 0; padding: 16px 12px; }
  .number-value { font-size: 36px; }
  .star-num { font-size: 36px; }
  .number-unit {
    display: block;
    margin-left: 0;
    margin-top: 4px;
    font-size: 14px;
  }
  .number-label { margin-top: 6px; }

  /* about */
  .about-avatar-container { width: 180px; height: 180px; }
  .about-avatar { width: 170px; height: 170px; }

  /* services → SP は1列 */
  .services-grid,
  .services-grid--5 { grid-template-columns: 1fr !important; }
  .services-grid--5 .service-card:nth-child(n) { grid-column: auto; }

  /* about・その他のテキストは左揃えに */
  .about { text-align: left !important; }
  .about-content { text-align: left; }
  .section-desc { text-align: left; }
  .mindset-quote p { text-align: left; }
  .about-tags { justify-content: flex-start; }

  /* works */
  .work-item {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
  }
  .work-tag { grid-column: 2; }
  .work-badges { margin-top: 10px; gap: 6px; }
  .work-badges span { font-size: 10px; padding: 5px 8px; }

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

  /* flow */
  .flow-steps { flex-direction: column; align-items: center; }
  .flow-arrow { transform: rotate(90deg); margin: 0; }

  /* contact form */
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .contact-template { padding: 14px 14px; }

  /* footer */
  .footer-nav { gap: 16px; }

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

@media (max-width: 400px) {
  .services-grid,
  .services-grid--5 { grid-template-columns: 1fr; }
  .services-grid--5 .service-card:nth-child(n) { grid-column: auto; }
  .hero-avatar-outer { width: 200px; height: 200px; }
  .hero-avatar { width: 182px; height: 182px; }
}

/* モーションを控えたいユーザー向け */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
