@charset "UTF-8";

/* ==========================================
   RESET & BASIC SETTINGS
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: #0b0f19;
  color: #ffffff;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

.max-600 {
  max-width: 600px;
}

.kuten {
  display: inline-block;
  margin-right: -0.18em;
  letter-spacing: -0.18em;
}

.sp-only { display: none; }
.pc-only { display: inline; }

.sp-indent {
  display: inline;
}

/* ==========================================
   ANIMATIONS (テキストのみディゾルブ出現)
   ========================================== */
.fade-in-hero {
  animation: cinemaDissolve 1.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes cinemaDissolve {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.0s cubic-bezier(0.22, 1, 0.36, 1), transform 1.0s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-parent .fade-in-up:nth-child(1) { transition-delay: 0.08s; }
.stagger-parent .fade-in-up:nth-child(2) { transition-delay: 0.22s; }
.stagger-parent .fade-in-up:nth-child(3) { transition-delay: 0.36s; }

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background-color: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
}

.btn-nav {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  white-space: nowrap;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: #0f172a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sp-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background-color: rgba(11, 15, 25, 0.98);
  backdrop-filter: blur(15px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sp-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sp-menu-overlay a {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================
   HERO (ガクッとなる表示ズレを完全防止)
   ========================================== */
.hero {
  margin-top: 72px;
  position: relative;
  width: 100%;
  height: calc(100vh - 72px);
  height: calc(100dvh - 72px);
  min-height: 500px;
  overflow: hidden;
  background-color: #0b0f19;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 動画（最背面に固定・読み込み時の拡大縮小揺れを防止） */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
}

/* オーバーレイ */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 15, 25, 0.22);
  z-index: 2;
}

/* テキストコンテンツ */
.hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
}

.hero-category-badge {
  display: inline-block;
  background-color: rgba(59, 130, 246, 0.35);
  border: 1px solid #3b82f6;
  color: #93c5fd;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
  color: #ffffff;
}

.hero-lead {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 40px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

/* ==========================================
   COMPARE PROPOSAL SECTION (比較歓迎ブロック)
   ========================================== */
.compare-section {
  padding: 50px 0;
  background-color: #0d1322;
}

.compare-box {
  border-left-color: #60a5fa;
  background-color: rgba(30, 41, 59, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.compare-box h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #93c5fd;
}

/* ==========================================
   SECTIONS & BACKGROUNDS (背景画像の読み込みエラー修正)
   ========================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #3b82f6;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-tag.light { color: #60a5fa; }

h2 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
  color: #ffffff;
}

.section-sub {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 48px;
}

.bg-light { background-color: #111827; }

/* PURPOSE 背景画像（プロパティを分解して確実に読み込ませる） */
.purpose-section-bg {
  background-image: linear-gradient(rgba(11, 15, 25, 0.72), rgba(11, 15, 25, 0.72)), url('images/purpose-bg.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #0b0f19;
  color: #ffffff;
}

.services-section-bg {
  background-image: linear-gradient(rgba(7, 10, 16, 0.78), rgba(7, 10, 16, 0.78)), url('images/services-bg.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #070a10;
  color: #ffffff;
}

.step-section-bg {
  background-image: linear-gradient(rgba(7, 10, 16, 0.82), rgba(7, 10, 16, 0.82)), url('images/step-bg.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #070a10;
  color: #ffffff;
}

.contact-section-bg {
  background-image: linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.72)), url('images/contact-bg.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #0f172a;
  color: #ffffff;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
  border: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.6);
}

/* ==========================================
   CARDS & GRIDS
   ========================================== */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background-color: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 32px;
  color: #ffffff;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.message-box {
  background-color: rgba(11, 15, 25, 0.88);
  border-left: 4px solid #2563eb;
  padding: 36px;
  border-radius: 0 12px 12px 0;
}

.message-box p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: #f1f5f9;
}
.message-box p:last-child { margin-bottom: 0; }

.card-solution .sol-icon {
  font-size: 1.8rem;
  font-weight: 800;
  color: #3b82f6;
  margin-bottom: 16px;
}

.card-solution h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card-solution p { color: #cbd5e1; font-size: 0.95rem; }

/* PRICE CARD */
.card-price {
  position: relative;
  display: flex;
  flex-direction: column;
}

.card-price.featured {
  border: 2px solid #2563eb;
  background-color: rgba(17, 24, 39, 0.95);
}

.badge-featured {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2563eb;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.price-header h3 { font-size: 1.4rem; margin-bottom: 8px; }

.price-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: 16px;
}

.price-num .tax { font-size: 0.85rem; font-weight: 400; color: #cbd5e1; }

.price-desc {
  font-size: 0.9rem;
  color: #e2e8f0;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-features { list-style: none; }
.price-features li {
  font-size: 0.9rem;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-weight: bold;
}

.price-detail { color: #94a3b8; display: block; }

/* MENU CARD */
.menu-cat {
  display: inline-block;
  background-color: #2563eb;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.menu-card ul { list-style: none; }
.menu-card li {
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

/* WORKS CARD */
.card-work { padding: 0; overflow: hidden; }

.work-img-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-work:hover .work-img { transform: scale(1.06); }

.work-content { padding: 24px; }
.work-badge { font-size: 0.75rem; color: #60a5fa; font-weight: 700; margin-bottom: 8px; }
.work-content h4 { font-size: 1.15rem; margin-bottom: 12px; }
.work-desc { font-size: 0.85rem; color: #cbd5e1; margin-bottom: 16px; }
.work-details { list-style: none; font-size: 0.85rem; color: #e2e8f0; }
.work-details li { margin-bottom: 6px; }

.works-note {
  margin-top: 32px;
  font-size: 0.9rem;
  color: #cbd5e1;
  text-align: center;
}

/* STEP */
.step-container { display: flex; flex-direction: column; gap: 20px; }
.step-card {
  background-color: #111827;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}

.step-card:hover {
  transform: translateX(6px);
  border-color: #3b82f6;
}

.step-header { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.step-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: #60a5fa;
  background-color: rgba(37, 99, 235, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
}

.step-header h3 { font-size: 1.25rem; color: #ffffff; font-weight: 700; }
.step-card p { color: #f1f5f9; font-size: 0.98rem; line-height: 1.8; }

/* PROFILE */
.profile-grid-layout {
  display: flex;
  gap: 40px;
  align-items: center;
  background-color: #1f2937;
  padding: 40px;
  border-radius: 16px;
}

.profile-img-col { flex: 0 0 240px; }
.profile-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
}

.profile-info h3 { font-size: 1.6rem; margin-bottom: 4px; }
.profile-en { font-size: 0.85rem; color: #94a3b8; font-weight: 400; margin-left: 8px; }
.profile-title { color: #60a5fa; font-size: 0.95rem; font-weight: 600; margin-bottom: 20px; }
.profile-text p { font-size: 0.95rem; color: #e2e8f0; margin-bottom: 12px; }

/* CONTACT */
.contact-sub { text-align: center; margin-bottom: 32px; color: #f1f5f9; }
.email-box {
  text-align: center;
  background-color: rgba(17, 24, 39, 0.95);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.email-label { display: block; font-size: 0.75rem; color: #60a5fa; font-weight: 700; margin-bottom: 4px; }
.email-link { font-size: 1.4rem; font-weight: 700; color: #ffffff; }
.email-note {
  font-size: 0.88rem;
  color: #f1f5f9;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.contact-form {
  background-color: rgba(17, 24, 39, 0.95);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.form-group label .badge {
  background-color: #ef4444;
  color: #ffffff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: #111827;
  border: 1px solid #374151;
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.95rem;
}

.btn-submit { width: 100%; padding: 16px; font-size: 1.1rem; }

/* FOOTER */
.footer {
  background-color: #f8fafc;
  color: #0f172a;
  padding: 60px 0 40px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-logo-img {
  height: 32px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.address { font-size: 0.85rem; color: #475569; margin-bottom: 16px; }
.copyright { font-size: 0.8rem; color: #64748b; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .pc-only { display: none !important; }
  .sp-only { display: inline !important; }

  .nav { display: none; }
  .hamburger { display: flex; }

  .hero h1 {
    font-size: 1.85rem;
    line-height: 1.5;
    text-align: left;
    display: inline-block;
  }

  .sp-indent {
    display: block;
    padding-left: 1.8em;
    margin-top: 0.2em;
  }

  .hero-lead { font-size: 0.95rem; text-align: center; }

  .grid-3 { grid-template-columns: 1fr; }

  .profile-grid-layout {
    flex-direction: column;
    padding: 24px;
  }

  .profile-img-col {
    flex: 0 0 auto;
    width: 100%;
  }

  .profile-img { height: 240px; }
  .contact-form { padding: 24px; }
  .email-link { font-size: 1.1rem; }
}