/* =========================
   style.css (base)
   - reset + tokens + layout + components
   ========================= */

   @charset "UTF-8";

/* =========================================
   1. Base & Variables
========================================= */
:root {
  /* Colors */
  --bg-ink: #0E0F12;
  --bg-charcoal: #16181E;
  --bg-paper: #EFECE6;
  --bg-offwhite: #F6F4EF;

  --text-main: #F6F4EF;
  --text-dark: #111318;
  --text-muted: #9AA0A6;

  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(17, 19, 24, 0.14);

  --accent-cyan: #18E0D0;
  --accent-lime: #B9FF3B;

  /* Fonts */
  --font-en: 'Space Grotesk', sans-serif;
  --font-jp: 'Zen Kaku Gothic New', sans-serif;
}

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

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

body {
  background-color: var(--bg-ink);
  color: var(--text-main);
  font-family: var(--font-jp);
  line-height: 1.8;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s, color 0.3s, background-color 0.3s;
}

a:hover {
  opacity: 0.8;
}

ul, ol {
  list-style: none;
}

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

/* =========================================
   2. Utilities & Common Components
========================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Text Utilities */
.font-en { font-family: var(--font-en); }
.text-cyan { color: var(--accent-cyan); }
.text-lime { color: var(--accent-lime); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

/* Grain Overlay (Texture) */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Fade Animation Classes */
.js-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}
.js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Image Hover Effects */
.mood-img {
  filter: grayscale(100%) contrast(110%) brightness(90%);
  transition: filter 0.5s ease;
}
.mood-img:hover {
  filter: grayscale(0%) contrast(100%) brightness(100%);
}

/* =========================================
   3. Header & Navigation
========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  /* mix-blend-mode: difference; */
  mix-blend-mode: normal;
  background: rgba(14, 15, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
}

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

/* Desktop Nav */
.desktop-nav {
  display: none;
  gap: 32px;
  font-family: var(--font-en);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.desktop-nav a {
  color: rgba(246, 244, 239, 0.8);
}

.desktop-nav a:hover,
.desktop-nav a.active,
.desktop-nav a.current {
  color: var(--accent-cyan);
}

/* Mobile Menu Button */
.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  width: 30px;
  padding: 20px 0;
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #fff;
  transition: 0.3s;
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(14, 15, 18, 0.95);
  backdrop-filter: blur(5px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px 24px;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav a {
  font-family: var(--font-en);
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--text-main);
  display: block;
}

.mobile-nav a.active {
  color: var(--accent-cyan);
}

/* =========================================
   Header Dropdown
========================================= */

/* ドロップダウンの親要素（Service） */
.nav-has-child {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  cursor: pointer;
}

/* ドロップダウンメニュー本体 */
.nav-dropdown {
  /* ★ここが重要：完全に隠す設定 */
  visibility: hidden; /* 見えなくする */
  opacity: 0;         /* 透明にする */
  pointer-events: none; /* クリック判定も消す */

  /* 位置と見た目 */
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px); /* 少し下にずらしておく */
  
  background-color: var(--bg-charcoal);
  border: 1px solid var(--line-dark);
  min-width: 180px;
  padding: 10px 0;
  text-align: left;
  z-index: 5000;
  
  /* アニメーション */
  transition: all 0.3s ease;
}

/* ホバー時の挙動（親にマウスが乗ったら） */
.nav-has-child:hover .nav-dropdown {
  visibility: visible;  /* 見えるようにする */
  opacity: 1;           /* 不透明にする */
  pointer-events: auto; /* クリックできるようにする */
  transform: translateX(-50%) translateY(0); /* 位置を戻す */
}

/* ドロップダウン内のリンク装飾 */
.nav-dropdown a {
  display: block;
  padding: 12px 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: 0.2s;
}

.nav-dropdown a:hover {
  color: var(--accent-cyan);
  background-color: rgba(255, 255, 255, 0.05);
}

/* スマホ版の見た目調整 */
.mobile-sub {
  font-size: 1.1rem !important;
  color: var(--text-muted) !important;
  margin-top: -10px !important;
  padding-left: 24px !important;
}

/* =========================================
   4. Buttons (Global)
========================================= */
/* Hero Button (Solid) */
.btn-hero {
  display: inline-block;
  padding: 16px 32px;
  background-color: var(--text-main);
  color: var(--bg-ink);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: 0.3s;
}
.btn-hero:hover {
  background-color: var(--accent-cyan);
}

/* Hero Button (Outline) */
.btn-hero-outline {
  display: inline-block;
  padding: 16px 32px;
  border: 1px solid var(--line-dark);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: 0.3s;
}
.btn-hero-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Outline Button (Packages etc) */
.btn-outline-cyan {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--line-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: 0.3s;
}
.btn-outline-cyan:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}
.btn-outline_lime {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--line-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: 0.3s;
}
.btn-outline_lime:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-lime);
  color: var(--accent-lime);
}

/* Main CTA Button (Contact etc) */
.btn-main, .btn-cta, .btn-submit {
  display: inline-block;
  background-color: var(--text-main);
  color: var(--bg-ink);
  font-weight: 700;
  padding: 16px 48px;
  font-size: 1rem;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
  max-width: 300px;
  text-align: center;
}
.btn-main:hover, .btn-cta:hover, .btn-submit:hover {
  background-color: var(--accent-cyan);
}

.contact-section{
    padding: 80px 0;
}

/* =========================================
   5. Top Page Specifics
========================================= */
/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 100px;
}

.hero-bg-text {
  position: absolute;
  top: 20%;
  left: -5%;
  z-index: 0;
  pointer-events: none;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 20vw;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-sub {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  display: block;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
  font-family: var(--font-jp);
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  padding-left: 16px;
  border-left: 1px solid rgba(185, 255, 59, 0.5);
}
.hero-info span { display: block; margin-bottom: 4px; }

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

.hero-visual {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  z-index: 0;
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-ink), transparent);
  opacity: 0.9;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(110%) brightness(90%);
}

/* Problem Section */
.problem-section {
  padding: 100px 0;
  background-color: var(--bg-offwhite);
  color: var(--text-dark);
}
.problem-container {
  display: grid;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.problem-head h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
}
.problem-line {
  width: 50px;
  height: 3px;
  background-color: var(--accent-cyan);
}
.problem-list { display: grid; gap: 40px; }
.problem-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 30px;
}
.p-num {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--accent-cyan);
  padding-top: 4px;
}
.p-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.p-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

/* Philosophy Section */
.philo-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-ink);
  color: var(--text-main);
}
.bg-drive {
  position: absolute;
  bottom: 0;
  right: -10%;
  z-index: 0;
  pointer-events: none;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 18vw;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
}
.philo-container {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  display: block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  text-transform: uppercase;
}
.philo-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.philo-heading {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.philo-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 2;
  max-width: 600px;
}
.highlight {
  color: var(--text-main);
  border-bottom: 1px solid rgba(24, 224, 208, 0.5);
  padding-bottom: 2px;
}

/* Top Service Grid */
.service-section { padding: 120px 0; background-color: var(--bg-charcoal); }
.service-grid { display: grid; gap: 80px; position: relative; }
.v-line { display: none; }
.service-card { position: relative; }
.s-num {
  font-family: var(--font-en);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s;
}
.service-card:hover .s-num.cyan { color: rgba(24, 224, 208, 0.2); }
.service-card:hover .s-num.lime { color: rgba(185, 255, 59, 0.2); }
.s-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.cyan { background-color: var(--accent-cyan); }
.dot.lime { background-color: var(--accent-lime); }
.s-target {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}
.s-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.s-list {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  list-style: none;
}
.s-list li { margin-bottom: 8px; }
.s-link {
  font-size: 0.9rem;
  font-weight: 700;
  border-bottom: 1px solid var(--text-main);
  padding-bottom: 2px;
  transition: 0.3s;
}
.s-link:hover { color: var(--accent-cyan); border-color: var(--accent-cyan); }
.service-img-area {
  margin-top: 80px;
  position: relative;
  height: 40vh;
  overflow: hidden;
}
.service-img-area::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}
.service-img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: 0.5s;
}

/* =========================================
   6. Subpage Header (Common)
========================================= */
.page-header-section, .page-header {
  padding-top: 180px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line-dark);
}
.section-subtitle, .sub-label {
  display: block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.page-title {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 24px;
}
.page-lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 800px;
  line-height: 2;
}

/* =========================================
   7. Works / Portfolio
========================================= */
.works-section { padding: 120px 0; background-color: var(--bg-ink); }
.works-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 20px;
}
.section-title { font-size: 2.5rem; font-weight: 700; }
.works-grid { display: grid; gap: 40px; }

.work-item {
  display: block;
  border: 1px solid var(--line-dark);
  background-color: var(--bg-charcoal);
  transition: 0.3s;
}
.work-item:hover {
  background-color: rgba(255, 255, 255, 0.02);
  border-color: var(--accent-cyan);
}
.work-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: 0.5s;
}
.work-item:hover .work-thumb img {
  transform: scale(1.05);
  filter: grayscale(0%);
}
.work-content { padding: 24px; }
.work-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: 0.3s;
}
.work-item:hover .work-title { color: var(--accent-cyan); }
.work-cat {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}
.work-desc {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.6;
}

.is-hidden { display: none !important; }


/* Works Filter */
.works-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}
.filter-item {
  font-family: var(--font-en);
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  letter-spacing: 0.05em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.filter-item.active {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  font-weight: 700;
}
.filter-item:hover { color: var(--text-main); }

.is-hidden{ display:none !important; }

/* Case Study Detailed View */
.case-study-section { padding-bottom: 100px; }
.case-item {
  border-bottom: 1px solid var(--line-dark);
  padding: 100px 0;
}
.case-item:last-child { border-bottom: none; }
.case-header { margin-bottom: 40px; }
.tags { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.tag {
  font-family: var(--font-en);
  font-size: 0.75rem;
  border: 1px solid var(--line-dark);
  padding: 4px 12px;
  color: var(--text-muted);
}
.client-name { font-size: 1.5rem; font-weight: 700; line-height: 1.4; }
.case-visual {
  width: 100%;
  aspect-ratio: 16/9;
  margin-bottom: 60px;
  background-color: #222;
  overflow: hidden;
}
.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.case-item:hover .case-visual img { transform: scale(1.03); }
.case-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.detail-box h4 {
  font-family: var(--font-en);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}
.detail-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.6;
}
.detail-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 20px;
}
.result-box {
  border: 1px solid var(--line-dark);
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
}
.result-label {
  font-size: 0.8rem;
  color: var(--accent-lime);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}
.result-value {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}
.view-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border-bottom: 1px solid var(--text-main);
  padding-bottom: 2px;
}
.view-link:hover { color: var(--accent-cyan); border-color: var(--accent-cyan); }

/* Gallery Section */
.gallery-section {
  padding: 100px 0;
  background-color: var(--bg-charcoal);
}
.gallery-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}
.gallery-title { font-family: var(--font-en); font-size: 2.5rem; font-weight: 700; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  background: #000;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: 0.5s;
}
.gallery-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* =========================================
   8. Service Page
========================================= */
.stance-section { padding: 100px 0; background-color: var(--bg-charcoal); }
.stance-content { max-width: 800px; margin: 0 auto; text-align: center; }
.stance-heading { font-size: 2rem; font-weight: 700; margin-bottom: 40px; }
.stance-text { font-size: 1rem; color: var(--text-muted); margin-bottom: 40px; text-align: left; }
.stance-highlight { color: var(--text-main); border-bottom: 1px solid var(--accent-lime); padding-bottom: 2px; }

.package-section { padding: 120px 0;}
.package-list { display: flex; flex-direction: column; gap: 120px; }
.package-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  border-top: 1px solid var(--line-dark);
  padding-top: 60px;
}
.package-item.reverse { display: flex; flex-direction: column-reverse; } /* Mobile Default */
.package-img {
  width: 100%; aspect-ratio: 16/9; background-color: #222; position: relative; overflow: hidden;
}
.package-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: 0.5s; }
.package-img:hover img { filter: grayscale(0%); transform: scale(1.05); }

.package-content h3 {
  font-size: 2rem; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 16px;
}
.number { font-family: var(--font-en); font-size: 3rem; opacity: 0.2; font-weight: 700; }
.target-badge {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  padding: 4px 12px; border: 1px solid var(--line-dark);
  margin-bottom: 24px; color: var(--accent-cyan);
}
.check-list-recruit { margin-bottom: 40px; }
.check-list-recruit li {
  padding-left: 24px; position: relative; margin-bottom: 8px;
  color: var(--text-muted); font-size: 0.9rem;
}
.check-list-recruit li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; background-color: var(--accent-cyan); border-radius: 50%;
}
.check-list-store { margin-bottom: 40px; }
.check-list-store li {
  padding-left: 24px; position: relative; margin-bottom: 8px;
  color: var(--text-muted); font-size: 0.9rem;
}
.check-list-store li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; background-color: var(--accent-lime); border-radius: 50%;
}

.others-section { padding: 100px 0; background-color: var(--bg-charcoal); border-top: 1px solid var(--line-dark); }
.others-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-top: 40px;
}
.other-item h4 { font-size: 1.1rem; margin-bottom: 12px; border-left: 2px solid var(--accent-lime); padding-left: 12px; }
.other-item p { font-size: 0.9rem; color: var(--text-muted); }

.flow-section { padding: 120px 0; background-color: var(--bg-paper); color: var(--text-dark); }
.flow-grid { display: grid; grid-template-columns: 1fr; gap: 60px; margin-top: 60px; }
.flow-step { position: relative; }
.step-num { font-family: var(--font-en); font-size: 3rem; font-weight: 700; color: #ddd; position: absolute; top: -30px; left: 0; z-index: 0; }
.step-content { position: relative; z-index: 1; padding-top: 20px; }
.step-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.step-desc { font-size: 0.9rem; color: #555; line-height: 1.6; }

/* --- Flow Section --- */
.flow-section { padding: 120px 0; background-color: var(--bg-paper); color: var(--text-dark); }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.flow-step { position: relative; }
.step-num { font-family: var(--font-en); font-size: 3rem; font-weight: 700; color: #ddd; position: absolute; top: -30px; left: 0; z-index: 0; }
.step-content { position: relative; z-index: 1; padding-top: 20px; }
.step-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.step-desc { font-size: 0.9rem; color: #555; line-height: 1.6; }

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

/* FAQ: detailsのデフォルト三角を消す */
.faq details > summary { list-style: none; }
.faq details > summary::-webkit-details-marker { display: none; }

/* ＋アイコン回転（open時に×っぽく） */
.faq details[open] .faq-icon { transform: rotate(45deg); }
.faq .faq-icon { transition: transform .2s ease; }

/* =========================================
   FAQ Section (LP)
========================================= */
.faq-section {
  padding: 120px 0;
  background-color: var(--bg-charcoal);
}

.faq-section .faq-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.faq-list {
  border-top: 1px solid var(--line-dark);
}

.faq-item {
  border-bottom: 1px solid var(--line-dark);
}

.faq-summary {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px 0;
  cursor: pointer;
}

.faq-qnum {
  flex: 0 0 56px;
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  padding-top: 4px;
  color: var(--accent-cyan);
}

.faq-section.is-store .faq-qnum {
  color: var(--accent-lime);
}

.faq-question {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
}

.faq-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--text-muted);
}

.faq-answer {
  padding: 0 0 28px 74px; /* 56px(番号) + 18px(gap) */
  color: var(--text-muted);
  line-height: 2;
}

@media (max-width: 768px) {
  .faq-section { padding: 100px 0; }
  .faq-qnum { flex-basis: 48px; }
  .faq-answer { padding-left: 66px; }
}



/* =========================================
   9. LP / Detail Pages (Recruit & Store)
========================================= */
.lp-hero {
  padding-top: 180px; padding-bottom: 100px;
  border-bottom: 1px solid var(--line-dark);
  background-size: cover; background-position: center;
  min-height: 80vh; display: flex; align-items: center;
  /* background-image set inline or via specific class */
}
.hero-tag {
  display: inline-block; border: 1px solid var(--accent-cyan); color: var(--accent-cyan);
  padding: 6px 16px; font-size: 0.8rem; font-weight: 700; margin-bottom: 32px; letter-spacing: 0.05em;
}

.issue-section { padding: 100px 0; background-color: var(--bg-charcoal); }
.issue-heading { font-size: 1.8rem; font-weight: 700; margin-bottom: 60px; text-align: center; }
.issue-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.issue-card {
  border: 1px solid var(--line-dark); padding: 40px; background-color: rgba(255, 255, 255, 0.02);
}
.issue-num { font-family: var(--font-en); color: var(--accent-cyan); font-size: 1.5rem; margin-bottom: 16px; display: block; }
.issue-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; }
.issue-text { color: var(--text-muted); font-size: 0.9rem; }

.solution-section { padding: 120px 0; }
.solution-intro { text-align: center; margin-bottom: 80px; }
.section-en { font-family: var(--font-en); color: var(--accent-lime); letter-spacing: 0.2em; display: block; margin-bottom: 16px; font-size: 0.875rem; }
.section-jp { font-size: 2.5rem; font-weight: 700; line-height: 1.4; }

.split-layout { display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center; }
.split-img { width: 100%; aspect-ratio: 4/3; background: #222; overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: 0.5s; }
.split-img:hover img { filter: grayscale(0%); }

.point-item { margin-bottom: 32px; border-left: 2px solid var(--accent-cyan); padding-left: 24px; }
.point-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--text-main); }
.point-desc { font-size: 0.95rem; color: var(--text-muted); }

.visual-section { padding: 100px 0; background-color: #000; }
.visual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.visual-item { width: 100%; aspect-ratio: 3/2; overflow: hidden; }
.visual-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.visual-item:hover img { transform: scale(1.05); }
.visual-item.full { grid-column: span 2; aspect-ratio: 21/9; }

.package-card {
  background-color: var(--bg-ink); border: 1px solid var(--line-dark);
  padding: 60px 40px; max-width: 800px; margin: 0 auto; text-align: center; position: relative;
}
.package-card::before {
  content: 'RECOMMENDED'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background-color: var(--accent-cyan); color: var(--bg-ink);
  font-size: 0.75rem; font-weight: 700; padding: 4px 16px; letter-spacing: 0.1em;
}
.package-title { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.package-sub { color: var(--accent-cyan); font-weight: 700; margin-bottom: 40px; display: block; }
.package-includes { text-align: left; margin: 0 auto 40px; display: inline-block; }
.include-item { margin-bottom: 16px; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.price-area { border-top: 1px solid var(--line-dark); padding-top: 40px; }
.price-value { font-family: var(--font-en); font-size: 2.5rem; font-weight: 700; margin: 16px 0; }

/* Store Specifics (Before/After) */
.store-hero {
  padding-top: 180px; padding-bottom: 100px; border-bottom: 1px solid var(--line-dark);
  background-size: cover; background-position: center; min-height: 80vh; display: flex; align-items: center;
}
.compare-section { padding: 120px 0; background-color: var(--bg-charcoal); }
.compare-grid { display: grid; gap: 40px; align-items: center; margin-bottom: 40px; }
.compare-card { position: relative; }
.compare-label {
  position: absolute; top: 20px; left: 20px; z-index: 10;
  padding: 4px 12px; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em;
}
.label-bad { background-color: rgba(0, 0, 0, 0.7); color: #999; }
.label-good { background-color: var(--accent-lime); color: #000; }
.img-box { width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.img-box img { width: 100%; height: 100%; object-fit: cover; }
.img-bad img { filter: brightness(0.7) contrast(0.8) grayscale(30%); }
.img-good img { filter: brightness(1.1) contrast(1.1) saturate(1.1); transition: transform 0.5s; }
.compare-card:hover .img-good img { transform: scale(1.05); }

.logic-section { padding: 100px 0; }
.logic-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.logic-item { border-top: 2px solid var(--accent-lime); padding-top: 24px; }
.logic-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; }

.plan-section { padding: 100px 0; background-color: #000; }
.plan-card {
  background-color: var(--bg-ink); border: 1px solid var(--line-dark);
  padding: 60px 40px; max-width: 800px; margin: 0 auto; text-align: center; position: relative;
}
.plan-card::before {
  content: 'RECOMMENDED'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background-color: var(--accent-lime); color: var(--bg-ink);
  font-size: 0.75rem; font-weight: 700; padding: 4px 16px; letter-spacing: 0.1em;
}
.plan-title { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.plan-sub { color: var(--accent-lime); font-weight: 700; margin-bottom: 40px; display: block; }
.plan-includes { text-align: left; margin: 0 auto 40px; display: inline-block; }
.plan-item { margin-bottom: 16px; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.plan-area { border-top: 1px solid var(--line-dark); padding-top: 40px; }
.plan-value { font-family: var(--font-en); font-size: 2.5rem; font-weight: 700; margin: 16px 0; }




/* =========================================
   10. About
========================================= */
.profile-section { padding: 100px 0; }
.profile-grid { display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center; }
.profile-img { width: 100%; aspect-ratio: 4/5; background-color: #222; overflow: hidden; position: relative; }
.profile-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: 0.5s; }
.profile-img:hover img { filter: grayscale(0%); }
.profile-content h2 { font-size: 2rem; font-weight: 700; line-height: 1.4; margin-bottom: 32px; }
.profile-text { color: var(--text-muted); font-size: 0.95rem; line-height: 2; margin-bottom: 24px; }
.name-block { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.jp-name { font-size: 1.25rem; font-weight: 700; display: block; margin-bottom: 4px; }
.en-name { font-family: var(--font-en); color: var(--accent-cyan); font-size: 0.9rem; letter-spacing: 0.1em; }

.skills-section { padding: 100px 0; background-color: var(--bg-charcoal); }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.skill-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.skill-card h3::before { content: ''; display: block; width: 8px; height: 8px; background: var(--accent-lime); border-radius: 50%; }

.equip-section { padding: 100px 0; border-top: 1px solid var(--line-dark); }
.equip-list { display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line-dark); }
.equip-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px; border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-en); font-size: 0.9rem; color: var(--text-muted);
}
.equip-item:last-child { border-bottom: none; }
.equip-cat { font-weight: 700; color: var(--text-main); width: 30%; }
.equip-name { width: 70%; }

.company-section { padding: 100px 0; background-color: var(--bg-charcoal); }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 20px 0; text-align: left; border-bottom: 1px solid var(--line-dark); font-size: 0.9rem; }
.info-table th { width: 30%; color: var(--text-muted); font-weight: normal; }

/* =========================================
   11. Contact
========================================= */
.contact-wrapper {
  display: flex; flex-direction: column; min-height: 100vh; padding-top: 120px;
}
.contact-container {
  display: flex; flex-direction: column; gap: 60px; max-width: 1280px; margin: 0 auto; padding: 60px 24px 120px; width: 100%;
}
.contact-info { width: 100%; }
.info-list { margin-top: 60px; border-top: 1px solid var(--line-dark); padding-top: 40px; }
.info-item { margin-bottom: 24px; }
.info-label { font-size: 0.8rem; color: var(--text-muted); display: block; margin-bottom: 8px; }
.info-value { font-family: var(--font-en); font-size: 1.1rem; color: var(--text-main); }
.sns-links { display: flex; gap: 20px; margin-top: 32px; }
.sns-link { font-family: var(--font-en); border-bottom: 1px solid var(--text-muted); font-size: 0.9rem; padding-bottom: 2px; }

.contact-form-area { width: 100%; background-color: var(--bg-charcoal); padding: 40px; border: 1px solid var(--line-dark); }
.form-group { margin-bottom: 32px; }
.form-label { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 12px; color: var(--text-main); }
.required { color: var(--accent-cyan); margin-left: 4px; font-size: 0.8rem; vertical-align: super; }
.form-input, .form-textarea, .form-select {
  width: 100%; background-color: var(--bg-ink); border: 1px solid var(--line-dark); color: var(--text-main);
  padding: 16px; font-size: 1rem; font-family: inherit; transition: 0.3s; border-radius: 0;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--accent-cyan); background-color: rgba(24, 224, 208, 0.05);
}
.form-textarea { resize: vertical; min-height: 150px; }
.checkbox-group { display: flex; flex-direction: column; gap: 12px; }
.checkbox-item { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.checkbox-item input {
  appearance: none; width: 20px; height: 20px; border: 1px solid var(--line-dark); background-color: var(--bg-ink); cursor: pointer; position: relative;
}
.checkbox-item input:checked { background-color: var(--accent-cyan); border-color: var(--accent-cyan); }
.checkbox-item input:checked::after {
  content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 10px; border: solid #000; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.checkbox-text { font-size: 0.95rem; color: var(--text-muted); }

/* =========================================
   12. News
========================================= */
.news-section { padding-top: 180px; padding-bottom: 120px; }
.news-list { border-top: 1px solid var(--line-dark); }
.news-item { border-bottom: 1px solid var(--line-dark); padding: 32px 0; transition: background-color 0.3s; }
.news-item:hover { background-color: rgba(255, 255, 255, 0.02); }
.news-link { display: flex; flex-direction: column; gap: 12px; }
.news-meta { display: flex; align-items: center; gap: 16px; width: 100%; flex-shrink: 0; }
.news-date { font-family: var(--font-en); color: var(--text-muted); font-size: 0.9rem; }
.news-cat { font-size: 0.75rem; font-weight: 700; border: 1px solid var(--accent-cyan); color: var(--accent-cyan); padding: 2px 10px; display: inline-block; }
.news-title { font-size: 1rem; font-weight: 500; color: var(--text-main); line-height: 1.6; }

/* News Detail */
.article-section { padding-top: 180px; padding-bottom: 120px; }
.post-header { margin-bottom: 60px; border-bottom: 1px solid var(--line-dark); padding-bottom: 40px; }
.post-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.post-content p { margin-bottom: 2em; color: var(--text-muted); font-size: 1rem; line-height: 2; }
.post-content h2 {
  font-size: 1.5rem; font-weight: 700; color: var(--text-main);
  margin-top: 60px; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark);
}
.post-content h3 {
  font-size: 1.25rem; font-weight: 700; color: var(--text-main);
  margin-top: 40px; margin-bottom: 16px; border-left: 3px solid var(--accent-cyan); padding-left: 16px;
}
.post-content img { width: 100%; height: auto; margin: 40px 0; }
.post-content ul, .post-content ol { margin-bottom: 2em; padding-left: 24px; color: var(--text-muted); }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-footer { margin-top: 80px; text-align: center; }
.btn-back {
  display: inline-block; border: 1px solid var(--line-dark);
  padding: 12px 40px; font-size: 0.9rem; font-family: var(--font-en);
  letter-spacing: 0.1em; transition: 0.3s;
}
.btn-back:hover { background-color: rgba(255, 255, 255, 0.05); color: var(--accent-cyan); border-color: var(--accent-cyan); }

/* =========================================
   13. Privacy Policy
========================================= */
.policy-section { padding-top: 180px; padding-bottom: 120px; }
.policy-content { color: var(--text-muted); font-size: 0.95rem; }
.policy-block { margin-bottom: 60px; }
.policy-heading {
  font-size: 1.25rem; font-weight: 700; color: var(--text-main);
  margin-bottom: 24px; border-left: 2px solid var(--accent-cyan); padding-left: 16px;
}
.policy-text { margin-bottom: 24px; line-height: 2; }
.policy-list { list-style: disc; padding-left: 24px; margin-bottom: 24px; }
.policy-list li { margin-bottom: 8px; }

/* =========================================
   14. Footer
========================================= */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--line-dark);
  text-align: center;
  background-color: var(--bg-ink);
}
.footer-msg { font-size: 1.1rem; font-weight: 700; margin-bottom: 24px; }
.footer-logo { font-family: var(--font-en); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.1em; }
.copyright { font-size: 0.75rem; color: var(--text-muted); margin-top: 40px; }


/* =========================================
   15. Global Responsive Overrides
========================================= */
@media (min-width: 768px) {
  .site-header { padding: 32px 48px; }
  .desktop-nav { display: flex; }
  .menu-btn { display: none; }
  
  /* Hero & Top */
  .hero-section { flex-direction: row; align-items: center; padding-top: 0; }
  .hero-content { width: 50%; padding-left: 120px; }
  .hero-visual { width: 50%; height: 100vh; }
  .hero-title { font-size: 4rem; }
  
  /* Problem */
  .problem-container { grid-template-columns: 1fr 2fr; }
  
  /* Philosophy */
  .philo-content { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .philo-heading { font-size: 4rem; }
  
  /* Service */
  .service-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .v-line { display: block; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background-color: rgba(255, 255, 255, 0.06); }
  .service-card:last-child { padding-top: 80px; }
  
  /* Works */
  .works-header { flex-direction: row; align-items: flex-end; }
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .work-item.featured { grid-column: span 2; }
  
  /* Contact Top */
  .contact-flex { flex-direction: row; gap: 80px; }
  .contact-left { width: 50%; }
  .contact-right { width: 50%; }
  
  /* Contact Page Split */
  .contact-container { flex-direction: row; align-items: flex-start; }
  .contact-info { width: 40%; position: sticky; top: 120px; }
  .contact-form-area { width: 60%; }
  
  /* LP Layouts */
  .split-layout { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr 1fr; }
  .logic-grid { grid-template-columns: repeat(3, 1fr); }
  
  /* Packages */
  .package-item, .package-item.reverse { display: grid; flex-direction: row; grid-template-columns: 1fr 1fr; }
  .package-item.reverse .package-content { direction: ltr; }
  .package-item.reverse { direction: rtl; }
  
  /* Profile & Equip */
  .profile-grid { grid-template-columns: 400px 1fr; gap: 80px; }
  .equip-list { grid-template-columns: 1fr 1fr; }
  .equip-item:nth-child(odd) { border-right: 1px solid var(--line-dark); }
  
  /* News */
  .news-link { flex-direction: row; align-items: baseline; gap: 40px; }
  .news-meta { width: 220px; }
  .news-title { font-size: 1.1rem; }
}