/* ===========================================
   ReGrowth株式会社 - 共通スタイルシート
   基調色: #F47A4D (オレンジ・コーラル)
   =========================================== */

/* ---- Google Fonts & Reset ---- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Inter:wght@400;600;700;800&display=swap');

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

:root {
  --primary: #F47A4D;
  --primary-dark: #d9623a;
  --primary-light: #f9a07a;
  --primary-pale: #fff0ea;
  --line-green: #06C755;
  --line-green-dark: #05b04c;
  --dark: #1a1a2e;
  --dark-2: #16213e;
  --mid-gray: #6b7280;
  --light-gray: #f3f4f6;
  --border: #e5e7eb;
  --white: #ffffff;
  --text: #1f2937;
  --text-light: #6b7280;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 60px rgba(0,0,0,0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: 0.3s ease;
  --header-height: 72px;
}

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

body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* =========================================
   CONTAINER
   ========================================= */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

/* Logo */
.header-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* Nav */
.header-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 6px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--primary);
  background: var(--primary-pale);
}

/* Header CTAs */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  white-space: nowrap;
  transition: all var(--transition);
}

.btn-header-contact {
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-header-contact:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-header-recruit {
  background: var(--primary);
  color: var(--white);
}
.btn-header-recruit:hover {
  background: var(--primary-dark);
}

.btn-header-line {
  background: var(--line-green);
  color: var(--white);
}
.btn-header-line:hover {
  background: var(--line-green-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--transition);
}

.hamburger:hover { background: var(--light-gray); }

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

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.mobile-menu.open { display: block; }

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.mobile-nav-list a {
  display: block;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  color: var(--text);
}

.mobile-nav-list a:hover { background: var(--light-gray); }

.mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
}

.btn-mobile-contact {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-mobile-recruit {
  background: var(--primary);
  color: var(--white);
}

.btn-mobile-line {
  background: var(--line-green);
  color: var(--white);
}

/* =========================================
   BOTTOM FIXED CTA (Mobile)
   ========================================= */
.bottom-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 8px 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.bottom-cta-inner {
  display: flex;
  gap: 8px;
}

.bottom-cta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 8px;
  color: var(--white);
  text-align: center;
  line-height: 1.2;
}

.bottom-cta-btn i { font-size: 1rem; }

.bottom-cta-btn.contact { background: #4b5563; }
.bottom-cta-btn.recruit { background: var(--primary); }
.bottom-cta-btn.line    { background: var(--line-green); }

/* =========================================
   MAIN CONTENT OFFSET
   ========================================= */
main { padding-top: var(--header-height); }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,122,77,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 2px solid rgba(14, 14, 14, 0.6);
}
.btn-outline-dark:hover {
  background: rgba(58, 58, 58, 0.15);
  border-color: var(--dark);
}

.btn-line {
  background: var(--line-green);
  color: var(--white);
}
.btn-line:hover {
  background: var(--line-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,199,85,0.35);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* =========================================
   SECTION COMMON
   ========================================= */
.section {
  padding: 88px 0;
}

.section-sm {
  padding: 56px 0;
}

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 900;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-title span { color: var(--primary); }

.section-lead {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

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

/* =========================================
   FADE IN ANIMATION
   ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* =========================================
   HERO SECTION (index.html)
   ========================================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, #0d1b3e 50%, #1a0a2e 100%);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 動画を隙間なく全体に広げる */
  z-index: 0;          /* 文字の後ろ、青い背景の前に配置 */
  pointer-events: none; /* マウスの操作を邪魔しないようにする */
  filter: brightness(0.6);
}

/* Geometric floating shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #a855f7 0%, transparent 70%);
  bottom: 50px;
  left: 10%;
  animation-delay: 2s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  top: 30%;
  right: 20%;
  animation-delay: 4s;
}

.shape-4 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  bottom: 20%;
  right: 5%;
  animation-delay: 6s;
  opacity: 0.1;
}

/* Geometric lines */
.hero-geo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.geo-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(244,122,77,0.2), transparent);
  height: 1px;
}

.geo-line-1 { width: 60%; top: 30%; left: -10%; transform: rotate(-15deg); }
.geo-line-2 { width: 40%; top: 60%; right: -5%; transform: rotate(10deg); }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 80px 0 60px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--primary) 0%, #f9a07a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-slogan {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  font-weight: 500;
  line-height: 1.6;
}

.hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 44px;
  max-width: 520px;
  line-height: 1.9;
}

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

/* =========================================
   NEWS TICKER (1-line)
   ========================================= */
.news-ticker {
  background: var(--white);
  border-top: 3px solid var(--primary);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.news-ticker-inner {
  display: flex;
  align-items: center;
  height: 52px;
  gap: 0;
}

.news-ticker-label {
  flex-shrink: 0;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.news-ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  position: relative;
}

.news-ticker-list {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 64px;
  padding: 0 40px;
  animation: ticker-scroll 20s linear infinite;
  width: max-content;
}

.news-ticker-list:hover {
  animation-play-state: paused;
}

.news-ticker-item {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.news-ticker-date {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

.news-ticker-text {
  font-size: 0.875rem;
  color: var(--text);
}

.news-ticker-text a {
  color: var(--text);
}

.news-ticker-text a:hover {
  color: var(--primary);
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* 5つのカードを3+2レイアウトにする（最終行2枚を中央揃え） */
.services-grid .service-card:nth-child(4) {
  grid-column: 1 / 2;
  margin-left: calc(50% + 12px);
}

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

/* 4,5番目を真ん中に来るよう調整 */
.services-row-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: calc((100% - 24px) / 3 * 2 + 24px);
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.75rem;
  color: var(--primary);
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.service-link:hover { gap: 10px; }

/* =========================================
   SERVICES UNIFORM GRID (全5つ同じ大きさ)
   ========================================= */
.services-uniform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 4,5番目のカードを2列グリッドで中央配置 */
.services-uniform-grid .service-card:nth-child(4),
.services-uniform-grid .service-card:nth-child(5) {
  /* 何もしない - grid-auto-flowで自然に配置 */
}

/* 最終行の2枚を中央に揃えるためのラッパー使用 */
.services-top-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.services-bottom-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: calc((1120px - 48px) / 3 * 2 + 24px);
  margin: 0 auto;
}

/* =========================================
   STRENGTHS / REASONS (選ばれる理由)
   ========================================= */
/* 背景画像 + テキストオーバーレイ構造 */
.reasons-section {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.reasons-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/reasons-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* 仮: プレースホルダー背景 */
  background-color: var(--dark-2);
}

/* 差し替え用コメント:
   images/reasons-bg.jpg に差し替え
   推奨: 1920x800px 以上, 暗めの写真が望ましい */

.reasons-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(26,26,46,0.92) 0%,
    rgba(13,27,62,0.88) 50%,
    rgba(26,10,46,0.90) 100%);
}

.reasons-content {
  position: relative;
  z-index: 1;
  padding: 88px 0;
}

.reasons-content .section-header .section-label { color: var(--primary-light); }
.reasons-content .section-header .section-title { color: var(--white); }
.reasons-content .section-header .section-lead  { color: rgba(255,255,255,0.7); }

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

.reason-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}

.reason-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.reason-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  opacity: 0.9;
}

.reason-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}

.reason-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
}

/* =========================================
   NEWS SECTION
   ========================================= */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.news-item:first-child { border-top: 1px solid var(--border); }

.news-item:hover { background: var(--primary-pale); padding-left: 8px; }

.news-meta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.news-date {
  font-size: 0.8rem;
  color: var(--text-light);
  white-space: nowrap;
}

.news-badge {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 100px;
  background: var(--primary-pale);
  color: var(--primary);
  white-space: nowrap;
}

.news-title {
  font-size: 0.925rem;
  color: var(--text);
  line-height: 1.6;
  font-weight: 500;
  flex: 1;
}

.news-title a:hover { color: var(--primary); }

/* News sidebar */
.news-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.sidebar-line-card {
  background: var(--line-green);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.sidebar-line-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 16px;
  opacity: 0.95;
}

.sidebar-line-card .btn-line {
  width: 100%;
  justify-content: center;
  background: var(--white);
  color: var(--line-green);
}

.sidebar-line-card .btn-line:hover {
  background: #f0fff4;
}

/* =========================================
   RECRUIT SECTION (TOP page)
   ========================================= */
/* === 変更後（画像にする場合） === */
.recruit-section {
  background-image: 
    url('../images/recruit-bg.png'), 
    linear-gradient(135deg, rgba(0, 2, 97, 0.4) 0%, rgba(3, 20, 69, 0.4) 100%); 
  
  /* ★ ここを書き換えました！ */
  /* 1つ目の画像は「横幅は自動・縦幅512px」に縮小し、2つ目のグラデーションは「全体（cover）」に広げます */
  background-size: auto 512px, cover; 
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  
  color: var(--dark);
  padding: 0;                
  min-height: 512px;         
  display: flex;             
  align-items: center;       
}

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

.recruit-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.recruit-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 20px;
}

.recruit-desc {
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.9;
  margin-bottom: 32px;
}

.recruit-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recruit-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition);
}

.recruit-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--primary);
}

.recruit-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--white);
  flex-shrink: 0;
}

.recruit-card-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.recruit-card-text p {
  font-size: 0.82rem;
  color: var(--dark);
  line-height: 1.5;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo-text {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-sns {
  display: flex;
  gap: 12px;
}

.sns-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}

.sns-btn:hover { background: var(--primary); color: var(--white); }

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links a:hover { color: var(--primary); }

/* =========================================
   PAGE HERO (下層ページ共通)
   ========================================= */
.page-hero {
  background-image: 
    url('../images/page-hero-bg.png'),
    linear-gradient(135deg,
      rgba(26, 26, 46, 0.92) 0%,
      rgba(13, 27, 62, 0.88) 50%,
      rgba(26, 10, 46, 0.90) 100%
    );
  
  /* ★ 1つ目の画像を「縦幅400px」に指定しました */
  background-size: auto 400px, cover; 
  
  /* ★ ここで画像の上側にパディング（隙間）を作っています */
  /* 「center 80px」にすることで、画像の上側に80pxの余白を空けて配置します */
  background-position: center 20px, center; 
  background-repeat: no-repeat, no-repeat;

  color: var(--white);
  
  /* ★ セクション自体の上のパディング（140px）も広げて、文字と被らないようにしました */
  padding: 140px 0 80px; 
  min-height: 400px; /* 400pxの画像がはみ出さずに収まるように高さをキープ */
  
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244,122,77,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.page-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.2;
}

.page-hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 560px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 0.8rem;
}

.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: rgba(255,255,255,0.8); }

/* =========================================
   COMPANY PAGE
   ========================================= */
.company-info-table {
  width: 100%;
  border-collapse: collapse;
}

.company-info-table th,
.company-info-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.925rem;
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
}

.company-info-table th {
  width: 200px;
  font-weight: 700;
  color: var(--dark);
  background: var(--light-gray);
}

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

.company-info-table tr:last-child th,
.company-info-table tr:last-child td { border-bottom: none; }

.message-block {
  background: var(--light-gray);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 36px 40px;
}

.message-block blockquote {
  font-size: 1rem;
  line-height: 2;
  color: var(--text);
  font-style: normal;
  margin-bottom: 20px;
}

.message-block cite {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
  font-style: normal;
}

.cite-role {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-light);
}

/* =========================================
   SERVICES PAGE
   ========================================= */
.service-detail {
  display: block; /* grid（2分割）を解除して1カラムの縦並びに */
  max-width: 720px; /* 文章が横に広がりすぎて読みにくくなるのを防ぐ（幅はお好みで） */
  margin: 0 auto; /* 1カラムにした塊を画面の中央に寄せる */
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child { border-bottom: none; }

.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }

.service-detail-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.service-detail-num {
  font-size: 4rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  font-family: 'Inter', sans-serif;
  margin-bottom: 4px;
}

.service-detail h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.35;
}

.service-detail p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 16px;
}

.service-feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}

.service-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text);
}

.service-feature-list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* Service image placeholder */
.service-detail-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 差し替えガイドコメントは HTML内に記載 */
.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================
   FAQ PAGE
   ========================================= */
.faq-group { margin-bottom: 48px; }

.faq-group-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item.open { box-shadow: var(--shadow); border-color: var(--primary); }

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  line-height: 1.5;
  width: 100%;
  text-align: left;
}

.faq-q-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-pale);
  color: var(--primary);
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.faq-toggle {
  margin-left: auto;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 24px 20px;
}

.faq-a-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.faq-answer-inner p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.85;
  padding-top: 4px;
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-tab-btns {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
}

.contact-tab-btn {
  flex: 1;
  padding: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-light);
  background: var(--light-gray);
  border: none;
}

.contact-tab-btn.active {
  background: var(--primary);
  color: var(--white);
}

.contact-tab-content {
  display: none;
}

.contact-tab-content.active {
  display: block;
}

/* LINE Recruit panel */
.line-recruit-panel {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
}

.line-recruit-panel .line-logo-big {
  font-size: 4rem;
  color: var(--line-green);
  margin-bottom: 16px;
}

.line-recruit-panel h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 16px;
}

.line-recruit-panel p {
  font-size: 0.925rem;
  color: var(--text-light);
  line-height: 1.85;
  max-width: 500px;
  margin: 0 auto 32px;
}

.line-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.line-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  position: relative;
}

.line-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 20px;
  width: 2px;
  height: 40px;
  background: var(--border);
}

.line-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--line-green);
  color: var(--white);
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.line-step p {
  font-size: 0.8rem;
  color: var(--text);
  margin: 0;
  text-align: center;
  line-height: 1.4;
}

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

.contact-form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.required-mark {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  background: var(--primary);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.925rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(244,122,77,0.15);
}

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

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

.form-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
  line-height: 1.5;
}

.form-privacy {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 28px;
}

.form-privacy a { color: var(--primary); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.contact-sidebar {}

.contact-sidebar-card {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}

.contact-sidebar-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.contact-sidebar-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* =========================================
   WORKS PAGE
   ========================================= */
.works-coming {
  text-align: center;
  padding: 80px 0;
}

.works-coming-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.works-coming h2 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 16px;
}

.works-coming p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto 36px;
}

/* =========================================
   NEWS PAGE
   ========================================= */
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all var(--transition);
}

.news-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.news-card + .news-card { margin-top: 16px; }

/* =========================================
   PRIVACY PAGE
   ========================================= */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 40px;
  margin-bottom: 12px;
}

.privacy-content p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 12px;
}

.privacy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 12px;
}

.privacy-content ul li {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 6px;
}

.privacy-updated {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

/* =========================================
   RESPONSIVE - Tablet (max 1024px)
   ========================================= */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .news-sidebar {
    position: static;
  }

  .contact-sidebar { display: none; }

  .recruit-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-top-row { grid-template-columns: repeat(2, 1fr); }
  .services-bottom-row {
    max-width: 100%;
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-detail.reverse { direction: ltr; }

  .reasons-grid { grid-template-columns: 1fr 1fr; }
  .company-info-table th { width: 140px; }
}

/* =========================================
   RESPONSIVE - Mobile (max 768px)
   ========================================= */
@media (max-width: 768px) {
  :root { --header-height: 60px; }

  .header-nav, .header-ctas { display: none; }
  .hamburger { display: flex; }
  .bottom-cta { display: flex; }

  body { padding-bottom: 72px; }

  .section { padding: 56px 0; }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .news-ticker-inner { height: 44px; }
  .news-ticker-label { font-size: 0.7rem; padding: 0 14px; }

  .services-top-row { grid-template-columns: 1fr; }
  .services-bottom-row { grid-template-columns: 1fr; max-width: 100%; }

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

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }

  .recruit-inner { grid-template-columns: 1fr; }

  .contact-form-row { grid-template-columns: 1fr; }
  .contact-tab-btns { flex-direction: column; }

  .service-detail { padding: 40px 0; }

  .line-steps { gap: 16px; }
  .line-step:not(:last-child)::after { display: none; }

  .message-block { padding: 24px 20px; }
  .company-info-table { display: block; }
  .company-info-table tbody { display: block; }
  .company-info-table tr { display: block; margin-bottom: 16px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
  .company-info-table th,
  .company-info-table td { display: block; width: 100%; border-bottom: 1px solid var(--border); }
  .company-info-table th { font-size: 0.82rem; padding: 10px 16px; }
  .company-info-table td { padding: 12px 16px; border-bottom: none; }

  .page-hero { padding: 48px 0 40px; }

  .line-recruit-panel { padding: 32px 20px; }
}

/* =========================================
   UTILITY
   ========================================= */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
