/* ===================================
   ススキノ夜職案内所 - メインスタイル
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;600;700&family=Noto+Sans+JP:wght@300;400;500;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300&display=swap');

:root {
  --black:       #08070d;
  --deep:        #0d0b18;
  --surface:     #13101f;
  --card:        #1a1630;
  --border:      #2e2550;
  --purple-dark: #3b2d7a;
  --purple:      #6c4fc4;
  --purple-mid:  #8b6fd4;
  --purple-light:#b09ae0;
  --gold:        #c9a84c;
  --gold-light:  #e2c97e;
  --text:        #e8e4f4;
  --text-muted:  #9990bf;
  --text-dim:    #5a5478;
  --line-green:  #06c755;
  --white:       #ffffff;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 32px rgba(108,79,196,0.18);
  --shadow-gold: 0 4px 32px rgba(201,168,76,0.18);
}

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

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  padding-bottom: 80px; /* スマホ固定ボタン分 */
}

/* ===== 背景テクスチャ ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(108,79,196,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(201,168,76,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ===== タイポグラフィ ===== */
h1, h2, h3, h4 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  line-height: 1.4;
}

.serif-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

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

/* ===== レイアウト ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }

/* ===== セクション見出し ===== */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title .en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.section-title h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--white);
}
.section-title .line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== ヘッダー ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,7,13,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo .logo-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.15em;
}
.logo .logo-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}
.logo .logo-sub {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ハンバーガーメニュー */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ナビ */
.nav-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 80vw);
  height: 100vh;
  background: var(--deep);
  border-left: 1px solid var(--border);
  padding: 80px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 200;
}
.nav-menu.open { right: 0; }
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 150;
}
.nav-overlay.open { display: block; }
.nav-menu a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  color: var(--text);
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--gold); }
.nav-menu .nav-line-btn {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--line-green);
  color: white;
  padding: 14px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
}
.nav-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 8px;
}

/* ===== ヒーロー ===== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(59,45,122,0.35) 0%, transparent 70%),
    linear-gradient(180deg, var(--black) 0%, var(--deep) 50%, var(--black) 100%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particle 4s infinite;
}
@keyframes particle {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  20% { opacity: 0.8; transform: translateY(-20px) scale(1); }
  100% { opacity: 0; transform: translateY(-120px) scale(0.5); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 6px 18px;
  border-radius: 40px;
  font-size: 0.75rem;
  color: var(--gold-light);
  letter-spacing: 0.15em;
  margin-bottom: 28px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}
.hero-title {
  font-size: clamp(2rem, 7vw, 3.5rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}
.hero-title span {
  background: linear-gradient(135deg, var(--purple-light), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  font-family: 'Noto Sans JP', sans-serif;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(108,79,196,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(108,79,196,0.5);
}
.btn-line {
  background: var(--line-green);
  color: white;
  box-shadow: 0 4px 20px rgba(6,199,85,0.3);
  font-size: 1rem;
  padding: 16px 36px;
}
.btn-line:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(6,199,85,0.45);
  background: #05b84d;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #a87d30);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--purple-light);
  border: 1.5px solid var(--purple-mid);
}
.btn-outline:hover {
  background: rgba(108,79,196,0.1);
  border-color: var(--purple-light);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--purple-mid); color: var(--text); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-line-lg {
  background: var(--line-green);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 20px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(6,199,85,0.3);
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  width: 100%;
}
.btn-line-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(6,199,85,0.45);
}

/* ===== カウンター ===== */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.1em;
}

/* ===== カテゴリカード ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}
.category-card:hover { transform: translateY(-4px); }
.category-card-inner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: border-color 0.3s;
}
.category-card:hover .category-card-inner {
  border-color: var(--purple-mid);
}
.cat-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(108,79,196,0.15);
  border: 1px solid rgba(108,79,196,0.3);
}
.cat-icon.gold-bg {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.3);
}
.cat-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  color: var(--white);
}
.cat-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(108,79,196,0.12);
  padding: 4px 12px;
  border-radius: 20px;
}
.cat-arrow {
  color: var(--purple-light);
  font-size: 1.2rem;
  margin-top: 4px;
}

/* ===== 求人カード ===== */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.job-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.job-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-mid);
  box-shadow: var(--shadow);
}
.job-card-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--purple-dark), var(--deep));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.job-card-thumb .thumb-pattern {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 20px
    );
}
.job-card-thumb .thumb-emoji {
  font-size: 3.5rem;
  opacity: 0.6;
  position: relative;
  z-index: 1;
}
.job-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(108,79,196,0.85);
  color: white;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.job-card-badge.new {
  background: rgba(201,168,76,0.9);
  color: var(--black);
}
.job-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.job-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  color: var(--white);
}
.job-salary {
  text-align: right;
  flex-shrink: 0;
}
.job-salary .amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 600;
}
.job-salary .unit {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(108,79,196,0.15);
  color: var(--purple-light);
  border: 1px solid rgba(108,79,196,0.25);
}
.tag.gold { background: rgba(201,168,76,0.1); color: var(--gold-light); border-color: rgba(201,168,76,0.25); }
.job-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.job-card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 20px 20px;
}

/* ===== ブログカード ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-mid);
  box-shadow: var(--shadow);
}
.blog-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--surface), var(--card));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}
.blog-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,22,48,0.8) 0%, transparent 60%);
}
.blog-cat-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(108,79,196,0.85);
  color: white;
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 1;
}
.blog-card-body { padding: 20px; }
.blog-date { font-size: 0.72rem; color: var(--text-dim); margin-bottom: 8px; }
.blog-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 8px;
}
.blog-excerpt { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ===== LINE CTA ===== */
.line-cta-section {
  background: linear-gradient(135deg, rgba(59,45,122,0.3), rgba(13,11,24,0.8));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
}
.line-cta-section .line-icon {
  width: 80px;
  height: 80px;
  background: var(--line-green);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.5rem;
}
.line-cta-section h2 {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  color: var(--white);
  margin-bottom: 12px;
}
.line-cta-section p {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.line-qr-wrap {
  margin: 32px auto;
  max-width: 200px;
}
.line-qr-wrap img {
  width: 100%;
  border-radius: 12px;
  border: 2px solid var(--border);
}
.line-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}
.line-point {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(6,199,85,0.08);
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid rgba(6,199,85,0.2);
}

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--white);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}
.faq-q:hover { background: rgba(108,79,196,0.08); }
.faq-q .q-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.faq-q .faq-icon {
  margin-left: auto;
  color: var(--text-dim);
  transition: transform 0.3s;
  font-size: 1.2rem;
}
.faq-q.active .faq-icon { transform: rotate(45deg); color: var(--purple-light); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  border-top: 0px solid var(--border);
}
.faq-a.open {
  max-height: 300px;
  border-top-width: 1px;
}
.faq-a-inner {
  padding: 16px 24px 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== 検索バー ===== */
.search-bar {
  display: flex;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  max-width: 600px;
  margin: 0 auto;
}
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.95rem;
  padding: 8px 12px;
  font-family: 'Noto Sans JP', sans-serif;
  outline: none;
}
.search-bar input::placeholder { color: var(--text-dim); }
.search-bar button {
  background: var(--purple);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
  white-space: nowrap;
}
.search-bar button:hover { background: var(--purple-mid); }

/* ===== パンくず ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
  padding: 16px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--purple-light); }
.breadcrumb span { color: var(--text-dim); }
.breadcrumb .current { color: var(--text); }

/* ===== 来訪者カウンター ===== */
.visitor-counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(108,79,196,0.1);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.visitor-counter .count-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
}

/* ===== フッター ===== */
.site-footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo .logo-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-logo p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.footer-col h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--purple-light); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ===== スマホ固定LINEボタン ===== */
.fixed-line-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--line-green);
  color: white;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  box-shadow: 0 -4px 20px rgba(6,199,85,0.3);
  transition: background 0.2s;
}
.fixed-line-btn:hover { background: #05b84d; }
.fixed-line-btn .line-icon-btn {
  background: white;
  color: var(--line-green);
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.fixed-line-btn .btn-texts { line-height: 1.2; text-align: left; }
.fixed-line-btn .btn-main { font-size: 0.95rem; }
.fixed-line-btn .btn-sub { font-size: 0.68rem; opacity: 0.9; }

/* ===== 求人詳細 ===== */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.detail-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.detail-hero {
  height: 240px;
  background: linear-gradient(135deg, var(--purple-dark), var(--deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
}
.detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px,
    transparent 1px, transparent 20px
  );
}
.detail-body { padding: 28px; }
.detail-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 8px;
}
.detail-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.info-item { }
.info-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 4px;
  letter-spacing: 0.1em;
}
.info-value {
  font-size: 0.92rem;
  color: var(--text);
}
.info-value.salary {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--gold);
}
.detail-section { margin: 24px 0; }
.detail-section h3 {
  font-size: 0.85rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.detail-section p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.9;
}
.detail-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.sidebar-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 16px;
}

/* ===== ブログ記事 ===== */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.article-title {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.4;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.article-cat-badge {
  background: rgba(108,79,196,0.2);
  color: var(--purple-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
}
.article-body h2 {
  font-size: 1.2rem;
  color: var(--white);
  margin: 36px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--purple);
}
.article-body h3 {
  font-size: 1rem;
  color: var(--purple-light);
  margin: 24px 0 12px;
}
.article-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 16px;
}
.article-body .highlight-box {
  background: rgba(108,79,196,0.1);
  border: 1px solid rgba(108,79,196,0.25);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.article-body .highlight-box p { margin: 0; }
.article-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.article-ctas .cta-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
}

/* ===== LINE応募ページ ===== */
.line-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.line-page-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
}
.line-page-icon {
  width: 100px;
  height: 100px;
  background: var(--line-green);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  margin: 0 auto 28px;
  box-shadow: 0 8px 32px rgba(6,199,85,0.3);
}
.line-page-card h1 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 16px;
}
.line-page-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.line-step-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}
.line-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.step-num {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}
.step-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-top: 4px;
}
.step-text strong { color: var(--text); }

/* ===== おすすめバッジ ===== */
.recommend-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, var(--gold), #a87d30);
  color: var(--black);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ===== タブ ===== */
.tab-list {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
  overflow-x: auto;
  margin-bottom: 32px;
}
.tab-btn {
  flex: 1;
  padding: 10px 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}
.tab-btn.active {
  background: var(--purple);
  color: white;
}
.tab-btn:hover:not(.active) { background: rgba(108,79,196,0.1); color: var(--text); }

/* ===== モーダル ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 600;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
}

/* ===== アニメーション ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .category-card-inner { padding: 20px 12px; gap: 8px; }
  .cat-icon { width: 48px; height: 48px; font-size: 1.4rem; }
  .cat-name { font-size: 0.9rem; }
  .jobs-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .detail-grid { grid-template-columns: 1fr; }
  .article-body { padding: 24px 20px; }
  .line-page-card { padding: 32px 24px; }
  .hero-stats { gap: 24px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }
  .line-cta-section { padding: 32px 20px; }
  .detail-info-grid { grid-template-columns: 1fr; }
  .job-card-footer { grid-template-columns: 1fr; }
  .tab-list { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 48px 0; }
  .section-title { margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .category-grid { gap: 8px; }
  .cat-icon { width: 40px; height: 40px; font-size: 1.2rem; }
  .cat-name { font-size: 0.78rem; }
  .cat-count { display: none; }
}
