/* ========================================
   株式会社VERTA コーポレートサイト
   共通スタイルシート
   ======================================== */

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

:root {
  --primary: #1a1a1a;
  --primary-light: #2d2d2d;
  --accent: #4ABFB4;
  --accent-light: #6DD5CA;
  --accent-dark: #3AA89E;
  --text: #333333;
  --text-light: #666666;
  --text-white: #ffffff;
  --bg: #ffffff;
  --bg-light: #f5f7fa;
  --bg-dark: #1a1a1a;
  --border: #e0e0e0;
  --success: #4CAF50;
  --gradient: linear-gradient(135deg, #1a1a1a 0%, #2d3a3a 50%, #4ABFB4 100%);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
}

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

a:hover {
  color: var(--accent-dark);
}

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

/* --- Container --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header --- */
.header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

/* オーバーレイ型（トップページヒーロー用） */
.header-overlay {
  background: transparent;
  border-bottom: none;
}

/* ヘッダー内のコンテナは全幅で左寄せ */
.header-overlay > .container {
  max-width: none;
  padding: 0 48px;
}

.header-overlay .header-inner {
  height: 140px;
  align-items: center;
}

.header-overlay .logo img {
  height: 120px;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

.header-overlay .nav-list a {
  color: var(--text-white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.header-overlay .nav-list a:hover {
  color: var(--accent-light);
}

.header-overlay .header-utility-link {
  color: var(--text-white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.header-overlay.scrolled,
.header-overlay.header-solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-overlay.scrolled .logo img,
.header-overlay.header-solid .logo img {
  filter: none;
}

.header-overlay.scrolled .nav-list a,
.header-overlay.scrolled .header-utility-link,
.header-overlay.header-solid .nav-list a,
.header-overlay.header-solid .header-utility-link {
  color: var(--text);
  text-shadow: none;
}

.header-overlay.scrolled .nav-list a:hover,
.header-overlay.header-solid .nav-list a:hover {
  color: var(--accent);
}

/* ソリッド版のページではコンテンツがヘッダーに隠れないようにする */
body.has-solid-header {
  padding-top: 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* 右上のユーティリティリンク */
.header-utility {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-utility-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.05em;
  position: relative;
  padding: 4px 0;
}

.header-utility-link:hover {
  color: var(--accent);
}

/* --- Header 採用情報ドロップダウン --- */
.header-utility-dropdown {
  position: relative;
}

.header-utility-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
}

.header-utility-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.header-utility-dropdown.open .header-utility-arrow {
  transform: rotate(180deg);
}

.header-utility-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 100;
}

.header-utility-dropdown.open .header-utility-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-utility-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.header-utility-menu a:hover {
  background: rgba(74, 191, 180, 0.10);
  color: var(--accent-dark);
}

.header-utility-lang::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M12 2a10 10 0 1 0 0 20a10 10 0 0 0 0-20Zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.92 8ZM12 4c.83 1.18 1.48 2.55 1.91 4h-3.82A12.5 12.5 0 0 1 12 4ZM4.26 14a7.98 7.98 0 0 1 0-4h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2H4.26Zm.81 2h2.95c.32 1.26.78 2.45 1.38 3.56A7.99 7.99 0 0 1 5.07 16ZM8.03 8H5.07a7.99 7.99 0 0 1 4.33-3.56A15.65 15.65 0 0 0 8.03 8Zm3.97 12c-.83-1.18-1.48-2.55-1.91-4h3.82A12.5 12.5 0 0 1 12 20Zm2.34-6H9.66c-.09-.66-.16-1.32-.16-2s.07-1.34.16-2h4.68c.09.66.16 1.32.16 2s-.07 1.34-.16 2Zm.26 5.56c.6-1.11 1.06-2.3 1.38-3.56h2.95a7.99 7.99 0 0 1-4.33 3.56ZM16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38a7.98 7.98 0 0 1 0 4h-3.38Z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='currentColor' d='M12 2a10 10 0 1 0 0 20a10 10 0 0 0 0-20Zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.92 8ZM12 4c.83 1.18 1.48 2.55 1.91 4h-3.82A12.5 12.5 0 0 1 12 4ZM4.26 14a7.98 7.98 0 0 1 0-4h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2H4.26Zm.81 2h2.95c.32 1.26.78 2.45 1.38 3.56A7.99 7.99 0 0 1 5.07 16ZM8.03 8H5.07a7.99 7.99 0 0 1 4.33-3.56A15.65 15.65 0 0 0 8.03 8Zm3.97 12c-.83-1.18-1.48-2.55-1.91-4h3.82A12.5 12.5 0 0 1 12 20Zm2.34-6H9.66c-.09-.66-.16-1.32-.16-2s.07-1.34.16-2h4.68c.09.66.16 1.32.16 2s-.07 1.34-.16 2Zm.26 5.56c.6-1.11 1.06-2.3 1.38-3.56h2.95a7.99 7.99 0 0 1-4.33 3.56ZM16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38a7.98 7.98 0 0 1 0 4h-3.38Z'/></svg>") center/contain no-repeat;
}

/* ナビゲーションの行（ロゴ下） */
.header-nav-row {
  display: flex;
  justify-content: flex-start;
  padding-bottom: 14px;
  padding-top: 4px;
}

.header-nav-row nav {
  width: 100%;
}

.header-overlay .header-nav-row .nav-list {
  gap: 40px;
}

.header-overlay .header-nav-row .nav-list a {
  font-size: 15px;
  font-weight: 600;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.logo img {
  height: 96px;
  width: auto;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-list a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

.nav-list a:hover {
  color: var(--accent);
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  cursor: pointer;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--bg-dark);
  padding: 12px 0;
  padding-top: 20px;
  margin-top: 0;
  list-style: none;
  z-index: 100;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--bg-dark);
}

.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li {
  list-style: none;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 24px;
  color: var(--text-white) !important;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.nav-dropdown-menu a::after {
  display: none !important;
}

.nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent) !important;
}

/* --- Light variant (ポケモン風 白背景ドロップダウン) --- */
.nav-dropdown-light > a.nav-has-arrow::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  vertical-align: middle;
  background: none;
  position: static;
  transition: transform 0.2s ease;
}

.nav-dropdown-light:hover > a.nav-has-arrow::after {
  transform: rotate(225deg) translate(-2px, 2px);
}

.nav-dropdown-light .nav-dropdown-menu {
  left: 0;
  transform: none;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
  padding-top: 8px;
  margin-top: 12px;
  min-width: 240px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.nav-dropdown-light .nav-dropdown-menu::before {
  display: none;
}

.nav-dropdown-light .nav-dropdown-menu::after {
  top: -16px;
  height: 16px;
}

.nav-dropdown-light .nav-dropdown-menu a {
  color: var(--text) !important;
  text-shadow: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}

.nav-dropdown-light .nav-dropdown-menu a:hover {
  background: #f5f7fa;
  color: var(--accent) !important;
}

/* トップ項目: 左に黄色のアクセントバー */
.nav-dropdown-light .nav-dropdown-top {
  font-weight: 700 !important;
  padding-left: 28px !important;
}

.nav-dropdown-light .nav-dropdown-top::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--accent);
  border-radius: 2px;
}

.nav-dropdown-light .nav-dropdown-top span {
  font-weight: 700;
  margin-left: 4px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

/* --- Hero --- */
.hero {
  background: #1a1a1a;
  color: var(--text-white);
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 全画面ヒーロー（コピーなし、Scroll Down付き） */
.hero-fullscreen {
  min-height: 100vh;
  height: 100vh;
}

.hero-fullscreen::after {
  display: none;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-white);
  text-decoration: none;
  letter-spacing: 0.2em;
  font-size: 11px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.hero-scroll-text {
  font-weight: 500;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 1);
  animation: scrollLineDrop 2s ease-in-out infinite;
}

@keyframes scrollLineDrop {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* 暗いオーバーレイで文字の可読性を確保 + 右下を隠す */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.35) 0%,
    rgba(10, 10, 10, 0.10) 30%,
    rgba(10, 10, 10, 0.20) 100%
  );
  z-index: 1;
}

/* 右下のウォーターマークを隠す */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(ellipse at bottom right, rgba(10, 10, 10, 0.95) 0%, transparent 70%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 3px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
  animation: heroTextFadeIn 1.5s ease-out;
}

@keyframes heroTextFadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-sub {
  font-size: 16px;
  margin-bottom: 8px;
  opacity: 0.8;
  letter-spacing: 3px;
}

/* --- About VERTA Section (New) --- */
.about-section-new {
  background: var(--bg);
  padding-top: 80px;
}

/* --- About VERTA（Philosophy 3カード横並び） --- */
.about-philosophy-section {
  background: var(--bg);
  padding: 112px 0 128px;
  scroll-margin-top: 180px;
}

.about-philosophy-section > .container {
  max-width: 1240px;
  padding: 0 64px;
}

.about-philosophy-section .phil-label {
  margin-bottom: 28px;
  color: var(--accent);
}

.about-philosophy-section .phil-label::before {
  background: var(--accent);
}

.about-philosophy-heading {
  font-size: 38px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.about-philosophy-lead {
  font-size: 16px;
  line-height: 2.1;
  color: var(--text);
  margin-bottom: 72px;
  max-width: 820px;
}

.about-philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.about-philosophy-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.about-philosophy-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.about-philosophy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-philosophy-card:hover .about-philosophy-image img {
  transform: scale(1.05);
}

.about-philosophy-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.about-philosophy-label {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.about-philosophy-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.about-philosophy-arrow {
  width: 36px;
  height: 36px;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  transition: var(--transition);
}

.about-philosophy-card:hover .about-philosophy-arrow {
  background: #ffffff;
  color: var(--text);
}

@media (max-width: 1024px) {
  .about-philosophy-section > .container {
    padding: 0 32px;
  }
  .about-philosophy-grid {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .about-philosophy-section {
    padding: 64px 0 72px;
  }
  .about-philosophy-section > .container {
    padding: 0 20px;
  }
  .about-philosophy-heading {
    font-size: 22px;
    margin-bottom: 24px;
  }
  .about-philosophy-lead {
    margin-bottom: 40px;
  }
  .about-philosophy-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.about-section-new .section-title {
  margin-bottom: 48px;
}

/* 1-3: 全幅交互レイアウト */
.about-full {
  width: 100%;
}

.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-decoration: none;
  color: inherit;
  min-height: 400px;
  overflow: hidden;
}

.about-row:hover .about-col-image img {
  transform: scale(1.05);
}

.about-row-reverse {
  direction: rtl;
}

.about-row-reverse > * {
  direction: ltr;
}

.about-col-image {
  overflow: hidden;
}

.about-col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-col-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 64px;
  background: #ffffff;
}

.about-col-number {
  font-size: 52px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 12px;
}

.about-col-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.about-col-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

/* 4-6: カード横並び */
.about-cards-wrap {
  max-width: 100%;
  padding: 64px 40px 80px;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  position: relative;
  height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-white);
  display: block;
}

.about-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.about-card:hover .about-card-bg {
  transform: scale(1.05);
}

.about-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.about-card:hover .about-card-overlay {
  background: rgba(0, 0, 0, 0.3);
}

.about-card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.about-card-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-card-content p {
  font-size: 14px;
  opacity: 0.9;
}

/* --- About 2-column Grid --- */
.about-grid-wrap {
  padding: 64px 0 80px;
}

.about-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 40px;
}

.about-grid-item {
  text-decoration: none;
  display: block;
}

.about-grid-image {
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 16px;
}

.about-grid-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-grid-item:hover .about-grid-image img {
  transform: scale(1.03);
}

.about-grid-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

@media (max-width: 768px) {
  .about-grid-2col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Page Heading (about.html等の汎用ページ見出し) --- */
.page-heading {
  background: #F2F4F6;
  padding: 220px 0 56px;
}

.page-heading-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 16px;
  display: inline-block;
}

.page-heading-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.page-heading-desc {
  margin-top: 20px;
  color: var(--text-light);
  font-size: 15px;
}

/* タイトル左 + 画像右 のページ見出し */
.page-heading-with-image .page-heading-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.page-heading-with-image .page-heading-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

/* サイトのアクセントカラーに寄せた色調補正（青系→ティール系・ページ背景に馴染ませる） */
.page-heading-image-tinted {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.page-heading-image-tinted img {
  filter: hue-rotate(-38deg) saturate(0.85) brightness(1.02) contrast(0.95);
  object-position: center 28%;
}

.page-heading-image-tinted::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 248, 248, 0.0) 0%, rgba(245, 248, 248, 0.30) 100%),
              linear-gradient(135deg, rgba(74, 191, 180, 0.22), rgba(58, 168, 158, 0.10));
  pointer-events: none;
  border-radius: 24px;
}

.business-slide-image-tinted img,
.card-image-tinted {
  filter: hue-rotate(-38deg) saturate(0.85) brightness(1.0) contrast(0.95);
  object-position: center 28%;
}

/* 画像のみ右側から見切れさせる（セクション高さは変えない） */
.page-heading-bleed {
  overflow: hidden;
}

.page-heading-bleed .page-heading-image {
  margin-right: -180px;
}

.page-heading-bleed .page-heading-image img {
  width: calc(100% + 180px);
  opacity: 0.95;
}

@media (max-width: 860px) {
  .page-heading-with-image .page-heading-inner {
    grid-template-columns: 1fr;
  }
  .page-heading-bleed .page-heading-image {
    margin-right: 0;
  }
  .page-heading-bleed .page-heading-image img {
    width: 100%;
  }
}

/* --- 企業理念・各ブロック共通 --- */
.phil-block-section {
  background: #ffffff;
  padding: 64px 0;
  border-bottom: 1px solid #EAECEF;
}

.phil-block-section:last-of-type {
  border-bottom: none;
}

.phil-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.1em;
  position: relative;
  padding-left: 14px;
  margin-bottom: 16px;
}

.phil-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.phil-heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 20px;
}

.phil-body {
  font-size: 15px;
  color: var(--text);
  line-height: 2;
  max-width: 760px;
}

/* バリューブロック */
.phil-block-section-values {
  background: #F8FAFB;
}

.phil-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
  max-width: 880px;
}

.phil-value-card {
  background: transparent;
  border-radius: 0;
  padding: 24px 0;
  box-shadow: none;
  border-left: none;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
}

.phil-value-num {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  line-height: 1;
}

.phil-value-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.phil-value-card p {
  grid-column: 2;
  font-size: 16px;
  color: var(--text);
  line-height: 1.9;
}

@media (max-width: 640px) {
  .phil-value-card {
    grid-template-columns: 1fr;
    padding: 24px 28px;
    gap: 12px;
  }
  .phil-value-card p {
    grid-column: auto;
  }
  .phil-value-num {
    font-size: 28px;
  }
  .phil-value-card h3 {
    font-size: 20px;
  }
  .phil-value-card p {
    font-size: 15px;
  }
}

/* --- 関連するページ --- */
.related-pages {
  background: #ffffff;
  padding: 64px 0 80px;
}

.related-pages-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.related-pages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F2F4F6;
  border-radius: 12px;
  padding: 22px 24px;
  text-decoration: none;
  color: var(--text);
  position: relative;
  transition: background 0.2s ease, transform 0.2s ease;
}

.related-card::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 56%;
  background: var(--accent);
  border-radius: 2px;
}

.related-card:hover {
  background: #E9ECEF;
  transform: translateY(-2px);
}

.related-card-title {
  font-size: 15px;
  font-weight: 700;
  padding-left: 12px;
}

.related-card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}

.related-card:hover .related-card-arrow {
  background: var(--accent);
  color: #ffffff;
}

@media (max-width: 960px) {
  .related-pages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .related-pages-grid {
    grid-template-columns: 1fr;
  }
}

/* --- パンくず --- */
.breadcrumb {
  background: #ffffff;
  padding: 16px 0 28px;
  font-size: 13px;
  color: var(--text-light);
  border-top: 1px solid #EAECEF;
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  margin: 0 10px;
  color: #B8BEC4;
}

.breadcrumb-current {
  color: var(--text);
}

/* --- About カード一覧 (3カラム) --- */
.about-cards-section {
  background: #F2F4F6;
  padding: 24px 0 96px;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 事業紹介トップは2x2の正方形カード */
.service-cards-section .container-wide {
  max-width: 1100px;
  padding: 0 20px;
}

.service-cards-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* 会社についてトップは3x2の正方形カード（約360px） */
.about-page-cards-section .container-wide {
  max-width: 1160px;
  padding: 0 20px;
}

.about-page-cards-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.about-page-cards-grid .about-card {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

.about-page-cards-grid .about-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.about-page-cards-grid .about-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

.about-page-cards-grid .about-card-body {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  background: transparent;
  padding: 0;
}

.about-page-cards-grid .about-card-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.about-page-cards-grid .about-card-arrow {
  width: 36px;
  height: 36px;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  background: transparent;
}

.about-page-cards-grid .about-card:hover .about-card-arrow {
  background: #ffffff;
  color: var(--text);
}

@media (max-width: 1000px) {
  .about-page-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .about-page-cards-grid {
    grid-template-columns: 1fr;
  }
}

.service-cards-grid .about-card {
  position: relative;
  display: block;
  height: auto;
}

.service-cards-grid .about-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.service-cards-grid .about-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

.service-cards-grid .about-card-body {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 2;
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
  padding: 0;
}

.service-cards-grid .about-card-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.service-cards-grid .about-card-arrow {
  width: 36px;
  height: 36px;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  background: transparent;
}

.service-cards-grid .about-card:hover .about-card-arrow {
  background: #ffffff;
  color: var(--text);
}

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

.about-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.about-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.about-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-card:hover .about-card-image img {
  transform: scale(1.04);
}

.about-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}

.about-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.about-card-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text);
  transition: background 0.25s ease, color 0.25s ease;
}

.about-card:hover .about-card-arrow {
  background: var(--accent);
  color: #ffffff;
}

@media (max-width: 960px) {
  .about-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .about-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* --- News Section --- */
.news-section {
  background: #F8FAFB;
  padding: 112px 0 128px;
  scroll-margin-top: 180px;
}

.news-section > .container {
  max-width: 1240px;
  padding: 0 64px;
}

.news-section .phil-label {
  margin-bottom: 28px;
  color: var(--accent-dark);
}

.news-section .phil-label::before {
  background: var(--accent);
}

.news-heading {
  font-size: 38px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.news-lead {
  font-size: 16px;
  line-height: 2.1;
  color: var(--text);
  margin-bottom: 56px;
  max-width: 820px;
}

@media (max-width: 1024px) {
  .news-section > .container {
    padding: 0 32px;
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 64px 0 72px;
  }
  .news-section > .container {
    padding: 0 20px;
  }
  .news-heading {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .news-lead {
    margin-bottom: 32px;
  }
}

.news-list {
  border-top: 1px solid var(--border);
}

.news-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

.news-item:hover {
  color: var(--accent);
}

.news-item time {
  flex: 0 0 auto;
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.news-tag {
  flex: 0 0 auto;
  background: var(--accent);
  color: var(--text-white);
  font-size: 12px;
  padding: 2px 12px;
  border-radius: 20px;
  font-weight: 500;
}

.news-title {
  flex: 1;
  font-size: 15px;
}

/* --- Business Cards (top page) --- */
/* --- Business Banner --- */
.biz-banner {
  display: flex;
  width: 100%;
}

.biz-banner-item {
  position: relative;
  flex: 1;
  height: 360px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.biz-banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.biz-banner-item:hover img {
  transform: scale(1.05);
}

.biz-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
  z-index: 1;
}

.biz-banner-item:hover .biz-banner-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.biz-banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: var(--text-white);
}

.biz-banner-content h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(74, 191, 180, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

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

.btn-accent {
  background: var(--text-white);
  color: var(--accent);
}

.btn-accent:hover {
  background: var(--bg-light);
  color: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-white);
}

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-dark .section-title h2 {
  color: var(--text-white);
}

.section-title p {
  color: var(--text-light);
  font-size: 15px;
}

.section-dark .section-title p {
  color: rgba(255, 255, 255, 0.7);
}

.section-title .title-bar {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
}

/* 左揃え + ティールカラーのバリエーション */
.section-title-left {
  text-align: left;
}

.section-title-left h2 {
  color: var(--accent);
}

.section-title-left p {
  color: var(--text);
  font-weight: 700;
  font-size: 22px;
  margin-top: 4px;
}

.section-title-left .title-bar {
  margin: 16px 0 0;
}

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

.card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--primary);
}

.card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  padding: 24px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 8px;
}

.section-dark .stat-label {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Service Detail --- */
.service-block {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 64px;
  padding: 40px;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-block:nth-child(even) {
  flex-direction: row-reverse;
}

.service-block-image {
  flex: 0 0 360px;
  height: 240px;
  background: var(--gradient);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.service-block-content {
  flex: 1;
}

.service-block-content h3 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 16px;
}

.service-block-content p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-features li {
  background: var(--bg-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--primary);
}

/* --- Works / Case Studies --- */
.case-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.case-card-header {
  background: var(--gradient);
  color: var(--text-white);
  padding: 24px;
}

.case-card-header .tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 8px;
}

.case-card-header h3 {
  font-size: 18px;
}

.case-card-body {
  padding: 24px;
}

.case-card-body p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.case-result {
  display: flex;
  gap: 16px;
}

.case-result-item {
  text-align: center;
  flex: 1;
  padding: 12px;
  background: var(--bg-light);
  border-radius: var(--radius);
}

.case-result-item .num {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

.case-result-item .label {
  font-size: 12px;
  color: var(--text-light);
}

/* --- Testimonial --- */
.testimonial {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-size: 64px;
  color: var(--accent-light);
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
}

.testimonial p {
  font-size: 15px;
  color: var(--text-light);
  padding-left: 32px;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  padding-left: 32px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

/* --- Recruit --- */
.recruit-tabs-wrap {
  padding: 32px 0 0;
}

.recruit-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.recruit-tab-list {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* 個人事業主パネル特徴 */
.freelance-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.freelance-feature {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
}

.freelance-feature h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.freelance-feature p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
  margin: 0;
}

/* 会員登録 / ログイン カード */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.membership-card {
  display: block;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 32px 28px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.membership-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.membership-card-primary {
  background: linear-gradient(135deg, #3AA89E 0%, #2E8C84 100%);
  border-color: transparent;
  color: #ffffff;
}

.membership-card-primary:hover {
  border-color: transparent;
}

.membership-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  margin-bottom: 14px;
}

.membership-card-primary .membership-card-tag {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.membership-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.03em;
}

.membership-card p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 20px;
}

.membership-card-primary p {
  color: rgba(255, 255, 255, 0.92);
}

.membership-card-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-dark);
}

.membership-card-primary .membership-card-link {
  color: #ffffff;
}

@media (max-width: 768px) {
  .freelance-feature-grid {
    grid-template-columns: 1fr;
  }
  .recruit-tab {
    padding: 10px 20px;
    font-size: 13px;
  }
  .membership-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }
  .membership-card {
    padding: 24px 24px 22px;
  }
  .membership-card h3 {
    font-size: 19px;
  }
}

.recruit-tab {
  padding: 12px 28px;
  border: 2px solid var(--accent);
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: transparent;
  transition: var(--transition);
}

.recruit-tab.active,
.recruit-tab:hover {
  background: var(--accent);
  color: var(--text-white);
}

.recruit-panel {
  display: none;
}

.recruit-panel.active {
  display: block;
}

.recruit-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.recruit-info h3 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 16px;
}

.recruit-info p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.recruit-points {
  list-style: none;
}

.recruit-points li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recruit-points li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

.recruit-table {
  width: 100%;
  border-collapse: collapse;
}

.recruit-table th,
.recruit-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.recruit-table th {
  background: var(--bg-light);
  color: var(--primary);
  font-weight: 600;
  width: 30%;
}

/* --- Company --- */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

.company-table th,
.company-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.company-table th {
  background: var(--bg-light);
  color: var(--primary);
  font-weight: 600;
  width: 200px;
}

.greeting-block {
  display: flex;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.greeting-image {
  flex: 0 0 200px;
  height: 260px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 14px;
}

.greeting-text h3 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 16px;
}

.greeting-text p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.greeting-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 680px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-group label .required {
  color: #e53935;
  font-size: 12px;
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

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

.form-radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  cursor: pointer;
}

/* --- Member Auth --- */
.member-auth-wrap {
  max-width: 520px;
  margin: 0 auto;
}

.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
}

.auth-tab {
  flex: 1;
  padding: 14px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.auth-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.auth-panel {
  display: none;
}

.auth-panel.active {
  display: block;
}

.auth-error {
  display: none;
  color: #e53935;
  font-size: 14px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: #fbe9e7;
  border-radius: var(--radius);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.reg-step-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.8;
}

.reg-resend {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 16px;
}

.link-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.link-btn:hover {
  color: var(--accent-dark);
}

.auth-success {
  color: var(--success);
  font-size: 14px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: #e8f5e9;
  border-radius: var(--radius);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* --- Wizard (Step-by-step registration) --- */
.wizard-progress {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.wizard-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.wizard-step-label {
  font-size: 12px;
  color: var(--text-light);
  text-align: right;
  margin-bottom: 24px;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-btn-group {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.wizard-btn-group .btn {
  flex: 1;
  text-align: center;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-light);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--text);
  color: var(--text);
}

.wizard-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wizard-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.wizard-radio:hover {
  border-color: var(--accent-light);
}

.wizard-radio input[type="radio"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}

.wizard-radio input[type="radio"]:checked + span {
  color: var(--accent);
  font-weight: 600;
}

.wizard-radio:has(input:checked) {
  border-color: var(--accent);
  background: rgba(74, 191, 180, 0.05);
}

/* Birthday selects */
.birthday-selects {
  display: flex;
  align-items: center;
  gap: 4px;
}

.birthday-selects select {
  flex: 1;
  min-width: 0;
}

.birthday-sep {
  font-size: 14px;
  color: var(--text-light);
  flex-shrink: 0;
}

/* Career entry (業務経歴) */
.career-entry {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  position: relative;
}

.career-entry-header {
  margin-bottom: 12px;
}

.career-entry-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.career-entry .form-group {
  margin-bottom: 12px;
}

.career-entry .form-group:last-child {
  margin-bottom: 0;
}

.career-entry .form-group label {
  font-size: 13px;
}

.btn-remove-entry {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.btn-remove-entry:hover {
  color: #e53935;
}

.btn-add-entry {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--bg-light);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 16px;
}

.btn-add-entry:hover {
  border-color: var(--accent);
  background: rgba(74, 191, 180, 0.05);
}

/* Skill checkboxes (キャリアスキル) */
.skill-check-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.skill-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.skill-check:hover {
  border-color: var(--accent-light);
}

.skill-check input[type="checkbox"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}

.skill-check:has(input:checked) {
  border-color: var(--accent);
  background: rgba(74, 191, 180, 0.05);
}

.skill-check:has(input:checked) span {
  color: var(--accent-dark);
  font-weight: 600;
}

@media (max-width: 768px) {
  .skill-check-group {
    grid-template-columns: 1fr;
  }
}

/* Hint button & box */
.hint-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-white);
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  margin-left: 6px;
  vertical-align: middle;
  transition: var(--transition);
}

.hint-btn:hover {
  background: var(--accent-dark);
  transform: scale(1.1);
}

.hint-box {
  display: none;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-light);
}

.hint-box.open {
  display: block;
}

.hint-title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  margin-top: 12px;
}

.hint-title:first-child {
  margin-top: 0;
}

.hint-box ul {
  list-style: none;
  padding: 0;
}

.hint-box li {
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.hint-box li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.hint-example {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text);
}

.input-count {
  text-align: right;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal {
  background: var(--bg);
  border-radius: 12px;
  padding: 36px 32px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text);
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.modal-case-name {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* --- Case Detail Page --- */
.case-detail-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.case-detail-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin: 16px 0 32px;
  line-height: 1.5;
}

.case-detail-section {
  margin-top: 40px;
}

.case-detail-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 20px;
}

.case-detail-section p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 16px;
}

.case-detail-section ul {
  list-style: none;
  padding: 0;
}

.case-detail-section ul li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  padding: 6px 0 6px 24px;
  position: relative;
}

.case-detail-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.case-detail-list li {
  padding: 8px 0 8px 24px;
}

.case-detail-points li::before {
  background: none;
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
  top: 8px;
  width: auto;
  height: auto;
}

.case-detail-actions {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Apply type cards */
.apply-type-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.apply-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.apply-type-card:hover {
  border-color: var(--accent-light);
}

.apply-type-card input[type="radio"] {
  display: none;
}

.apply-type-card:has(input:checked) {
  border-color: var(--accent);
  background: rgba(74, 191, 180, 0.06);
}

.apply-type-icon {
  font-size: 28px;
  line-height: 1;
}

.apply-type-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.apply-type-card:has(input:checked) .apply-type-label {
  color: var(--accent-dark);
}

.form-help {
  font-size: 13px;
  color: var(--text-light);
  margin-top: -8px;
  margin-bottom: 12px;
}

.meeting-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.meeting-slot-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
  width: 56px;
}

.meeting-slot-inputs {
  display: flex;
  gap: 8px;
  flex: 1;
}

.meeting-slot-inputs input,
.meeting-slot-inputs select {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
}

.meeting-slot-inputs input:focus,
.meeting-slot-inputs select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 191, 180, 0.1);
}

@media (max-width: 768px) {
  .wizard-radio-group {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 28px 20px;
  }

  .meeting-slot {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .meeting-slot-inputs {
    width: 100%;
  }

  .apply-type-group {
    grid-template-columns: 1fr;
  }

  .apply-type-card {
    flex-direction: row;
    padding: 14px 16px;
    gap: 12px;
  }

  .apply-type-icon {
    font-size: 22px;
  }
}

/* --- Welcome Page --- */
.welcome-wrap {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.welcome-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-white);
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.welcome-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.welcome-desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 32px;
}

.welcome-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: left;
}

.welcome-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.welcome-card-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.welcome-test-notice {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 24px;
  text-align: center;
}

.welcome-test-badge {
  display: inline-block;
  background: #ffc107;
  color: #333;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.welcome-test-notice p:last-child {
  font-size: 14px;
  color: #856404;
}

/* --- Admin Dashboard --- */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.admin-stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.admin-stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.admin-stat-label {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.admin-search-input {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  width: 260px;
  transition: var(--transition);
}

.admin-search-input:focus {
  outline: none;
  border-color: var(--accent);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: top;
}

.admin-table th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  font-size: 13px;
}

.admin-table tbody tr:hover {
  background: rgba(74, 191, 180, 0.03);
}

.admin-btn-view,
.admin-btn-delete {
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  margin-right: 6px;
  transition: var(--transition);
}

.admin-btn-view {
  background: var(--accent);
  color: var(--text-white);
}

.admin-btn-view:hover {
  background: var(--accent-dark);
}

.admin-btn-delete {
  background: none;
  border: 1px solid #e53935;
  color: #e53935;
}

.admin-btn-delete:hover {
  background: #e53935;
  color: #fff;
}

.admin-btn-approve {
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--success);
  background: none;
  color: var(--success);
  margin-right: 6px;
  transition: var(--transition);
}

.admin-btn-approve:hover {
  background: var(--success);
  color: #fff;
}

/* Admin modal tabs */
.admin-modal-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin: 16px 0 20px;
}

.admin-modal-tab {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: var(--transition);
}

.admin-modal-tab:hover {
  color: var(--text);
}

.admin-modal-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.admin-modal-panel {
  display: none;
}

.admin-modal-panel.active {
  display: block;
}

.admin-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.admin-status-approved {
  background: #e8f5e9;
  color: #2e7d32;
}

.admin-status-pending {
  background: #fff3e0;
  color: #e65100;
}

.admin-empty {
  text-align: center;
  color: var(--text-light);
  padding: 40px 0;
  font-size: 15px;
}

@media (max-width: 768px) {
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-search-input {
    width: 100%;
  }
}

/* --- Member Avatar & Dropdown --- */
.member-avatar-wrap {
  position: relative;
}

.member-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 0;
}

.member-avatar:hover {
  border-color: var(--accent);
  background: rgba(74, 191, 180, 0.08);
}

.member-avatar svg {
  width: 24px;
  height: 24px;
  color: var(--text-light);
}

.member-avatar:hover svg {
  color: var(--accent);
}

.member-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  min-width: 200px;
  z-index: 100;
  overflow: hidden;
}

.member-dropdown.open {
  display: block;
}

.member-dropdown-item {
  display: block;
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.member-dropdown-item:hover {
  background: var(--bg-light);
  color: var(--accent);
}

.member-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.member-dropdown-logout {
  color: #e53935;
}

.member-dropdown-logout:hover {
  background: #fbe9e7;
  color: #c62828;
}

/* --- Mypage --- */
.mypage-section {
  margin-bottom: 40px;
}

.mypage-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 20px;
}

.mypage-table {
  width: 100%;
  border-collapse: collapse;
}

.mypage-table th,
.mypage-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: top;
}

.mypage-table th {
  background: var(--bg-light);
  color: var(--primary);
  font-weight: 600;
  width: 160px;
}

.mypage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mypage-tag {
  display: inline-block;
  background: rgba(74, 191, 180, 0.1);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.mypage-career-item {
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}

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

.mypage-career-industry {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.mypage-career-period {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.mypage-career-detail {
  font-size: 14px;
  color: var(--text);
}

.mypage-actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
}

/* --- Skillsheet Preview --- */
.skillsheet {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 40px;
  font-size: 14px;
}

.skillsheet-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.skillsheet-logo img {
  height: 36px;
}

.skillsheet-date {
  font-size: 13px;
  color: var(--text-light);
}

.skillsheet-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  background: #4472c4;
  padding: 10px;
  margin-bottom: 24px;
}

.skillsheet table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.skillsheet th,
.skillsheet td {
  border: 1px solid #999;
  padding: 10px 12px;
  font-size: 14px;
}

.skillsheet th {
  background: #4472c4;
  color: var(--text-white);
  font-weight: 600;
  text-align: center;
}

.skillsheet .label-cell {
  background: #f2f2f2;
  font-weight: 600;
  width: 100px;
  text-align: center;
}

.skillsheet-section-title {
  background: #4472c4;
  color: var(--text-white);
  font-weight: 600;
  text-align: center;
  padding: 8px;
}

.skillsheet-pr {
  min-height: 120px;
  white-space: pre-wrap;
  line-height: 1.8;
}

.skillsheet-actions {
  max-width: 800px;
  margin: 24px auto 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}

@media print {
  .header, .page-header, .breadcrumb, .footer,
  .member-header, .member-nav, .skillsheet-actions {
    display: none !important;
  }
  .skillsheet {
    border: none;
    padding: 0;
    max-width: 100%;
  }
  .section {
    padding: 0 !important;
  }
}

@media (max-width: 768px) {
  .member-dropdown {
    min-width: 180px;
  }
  .mypage-table th {
    width: 100px;
  }
  .skillsheet {
    padding: 20px 16px;
  }
}

/* --- Member Cases --- */
.member-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.member-welcome {
  font-size: 16px;
  font-weight: 500;
}

.btn-logout {
  background: none;
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.btn-logout:hover {
  border-color: var(--text);
  color: var(--text);
}

.case-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.case-card:hover {
  box-shadow: var(--shadow-hover);
}

.case-card-header {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--border);
}

.case-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--text-white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.case-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.5;
}

.case-card-body {
  padding: 20px 28px;
}

.case-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.case-info div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-info dt {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.case-info dd {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.case-detail {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

.case-card-footer {
  padding: 16px 28px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 13px;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, #3AA89E 0%, #2E8C84 55%, #1F6F69 100%);
  color: var(--text-white);
  text-align: center;
  padding: 64px 0;
}

.cta-section h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: 28px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 24px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.9;
  margin: 0;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col h4 a {
  color: inherit;
  text-decoration: none;
}

.footer-col h4 a:hover {
  color: var(--accent-light);
}

.footer-logo {
  display: inline-block;
  margin: 0;
}

.footer-logo img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer p {
  font-size: 13px;
  line-height: 1.8;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 32px;
    margin-bottom: 32px;
  }
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }
  .footer-col h4 {
    font-size: 14px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }
}

/* --- 事業詳細ページ共通 --- */
.service-detail-body {
  max-width: 880px;
}

.service-detail-body p {
  font-size: 16px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 20px;
}

.service-detail-body .service-lead {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 32px;
}

.service-detail-lead {
  max-width: 880px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--accent-dark);
  margin: 0 0 28px;
  letter-spacing: 0.02em;
}

.service-detail-meaning {
  max-width: 880px;
  margin: 0 0 32px;
  padding: 0;
}

.service-detail-meaning-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #888;
  margin: 0 0 8px;
}

.service-detail-meaning-label span {
  color: var(--text);
  font-weight: 700;
}

.service-detail-meaning-tagline {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .service-detail-meaning-label {
    font-size: 12px;
  }
  .service-detail-meaning-tagline {
    font-size: 14px;
  }
}

/* --- パートナー会社一覧 --- */
.partners-lead {
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  margin: 0 0 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #d8d8d8;
}

.partners-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 920px;
  border-top: 1px solid #d8d8d8;
}

.partners-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 22px 8px;
  border-bottom: 1px solid #d8d8d8;
  font-size: 16px;
  color: #1a1a1a;
}

.partners-item-num {
  font-family: 'Times New Roman', serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #888;
  min-width: 36px;
}

.partners-item-name {
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .partners-item {
    padding: 18px 6px;
    gap: 16px;
    font-size: 15px;
  }
  .partners-item-num {
    min-width: 30px;
    font-size: 12px;
  }
}

/* --- 採用ヒーロー（フルワイド背景写真） --- */
.recruit-hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  /* ヘッダー（約 140px）が上に重なる分を上側に加算して、見た目の中央に揃える */
  padding: 200px 0 60px;
}

.recruit-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.recruit-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) brightness(0.95);
}

.recruit-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 50, 50, 0.65) 0%, rgba(45, 110, 105, 0.55) 50%, rgba(15, 50, 50, 0.70) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.45) 100%);
  z-index: 1;
}

.recruit-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.recruit-hero-content > * {
  margin-left: auto;
  margin-right: auto;
}

.recruit-hero-en {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.recruit-hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin: 0 0 28px;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.recruit-hero-sub {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 0 0 56px;
  color: rgba(255, 255, 255, 0.92);
}

.recruit-hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.recruit-hero-actions .btn {
  padding: 16px 36px;
  font-size: 15px;
  letter-spacing: 0.1em;
}

.recruit-hero-secondary {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 14px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.recruit-hero-secondary:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

@media (max-width: 768px) {
  .recruit-hero {
    min-height: 540px;
    padding: 140px 0 40px;
  }
  .recruit-hero-en {
    margin-bottom: 24px;
  }
  .recruit-hero-title {
    font-size: 34px;
    margin-bottom: 20px;
  }
  .recruit-hero-sub {
    font-size: 15px;
    margin-bottom: 40px;
  }
  .recruit-hero-actions {
    gap: 14px;
  }
  .recruit-hero-actions .btn {
    padding: 14px 28px;
    font-size: 14px;
  }
}

/* --- 採用詳細（左ラベル+右コンテンツ） --- */
.recruit-detail-section {
  padding: 60px 0 100px;
}

.recruit-detail-head {
  margin-bottom: 40px;
}

.recruit-detail-job-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  background: rgba(74, 191, 180, 0.10);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.recruit-detail-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.4;
}

.recruit-detail-lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  margin: 0;
  max-width: 880px;
}

.recruit-detail-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.recruit-detail-table tr {
  border-bottom: 1px solid #eee;
}

.recruit-detail-table tr:last-child {
  border-bottom: none;
}

.recruit-detail-table th,
.recruit-detail-table td {
  padding: 22px 24px;
  vertical-align: top;
  text-align: left;
}

.recruit-detail-table th {
  width: 200px;
  background: #1f3a3a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-right: 1px solid #2a4848;
}

.recruit-detail-table td {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
}

.recruit-detail-table td ul {
  margin: 0;
  padding-left: 1.2em;
}

.recruit-detail-table td ul li {
  margin: 4px 0;
}

.recruit-detail-actions {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.recruit-detail-back {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-dark);
  padding: 14px 24px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.recruit-detail-back:hover {
  background: rgba(74, 191, 180, 0.10);
}

@media (max-width: 768px) {
  .recruit-detail-section {
    padding: 40px 0 60px;
  }
  .recruit-detail-title {
    font-size: 24px;
  }
  .recruit-detail-table th,
  .recruit-detail-table td {
    display: block;
    width: 100%;
    padding: 14px 18px;
  }
  .recruit-detail-table th {
    border-right: none;
    border-bottom: 1px solid #2a4848;
    font-size: 13px;
  }
}

/* --- 募集中の業種カード --- */
.job-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.job-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: var(--text);
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(74, 191, 180, 0.18);
}

.job-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f5f8f8;
}

.job-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.job-card:hover .job-card-image img {
  transform: scale(1.04);
}

.job-card-body {
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.job-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.job-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.4;
}

.job-card-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text);
  margin: 0 0 18px;
  flex-grow: 1;
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.job-card-meta-item {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: rgba(74, 191, 180, 0.10);
  padding: 6px 12px;
  border-radius: 999px;
}

.job-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid #eee;
}

@media (max-width: 1024px) {
  .job-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .job-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .job-card-title {
    font-size: 18px;
  }
}

/* --- 採用区分の選択 --- */
.recruit-select-lead {
  text-align: center;
  font-size: 16px;
  color: var(--text);
  margin: 0 0 40px;
  line-height: 1.8;
}

.recruit-select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}

.recruit-select-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  padding: 44px 36px 36px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.recruit-select-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--accent);
}

.recruit-select-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(74, 191, 180, 0.18);
  border-color: rgba(74, 191, 180, 0.4);
}

.recruit-select-en {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  text-transform: uppercase;
}

.recruit-select-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin: 10px 0 16px;
  line-height: 1.4;
}

.recruit-select-title small {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light, #666);
  margin-top: 4px;
}

.recruit-select-desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
  margin: 0 0 28px;
  flex-grow: 1;
}

.recruit-select-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-dark);
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent-dark);
}

@media (max-width: 768px) {
  .recruit-select-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .recruit-select-card {
    padding: 36px 24px 28px;
  }
  .recruit-select-title {
    font-size: 22px;
  }
}

/* --- 主な対応業務カード --- */
.role-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.role-card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.role-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px 28px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.role-card-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(74, 191, 180, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  margin-bottom: 20px;
}

.role-card-image img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: hue-rotate(-46deg) saturate(0.85) brightness(0.92);
}

.role-card-image svg {
  width: 72%;
  height: 72%;
}

.role-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
  line-height: 1.4;
}

.role-card-desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
  margin: 0;
}

@media (max-width: 1024px) {
  .role-card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .role-card-grid,
  .role-card-grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .role-card-image {
    width: 120px;
    height: 120px;
  }
  .role-card-title {
    font-size: 18px;
  }
}

.service-detail-section {
  max-width: 880px;
  margin-top: 48px;
}

.service-detail-section.work-styles {
  max-width: 1100px;
}

.service-detail-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  line-height: 1.4;
}

.work-styles-lead {
  text-align: center;
  font-size: 16px;
  color: var(--text);
  margin: 0 0 32px;
  line-height: 1.8;
}

.work-styles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.work-style-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.work-style-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.work-style-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(74, 191, 180, 0.12);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.work-style-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}

.work-style-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #fff;
}

.work-style-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: hue-rotate(-46deg) saturate(0.85) brightness(0.95);
}

.work-style-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
  margin: 0;
}

@media (max-width: 768px) {
  .service-detail-section {
    margin-top: 32px;
  }
  .service-detail-heading {
    font-size: 18px;
  }
  .work-styles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .work-style-title {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .service-detail-lead {
    font-size: 20px;
    margin-bottom: 20px;
  }
}

/* --- Page Header --- */
.page-header {
  background: var(--gradient);
  color: var(--text-white);
  padding: 220px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-header p {
  opacity: 0.8;
  font-size: 15px;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 12px 0;
  background: var(--bg-light);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb span {
  color: var(--text-light);
  margin: 0 8px;
}

/* --- Flow --- */
.flow-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.flow-step-num {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-weight: 700;
  font-size: 18px;
}

.flow-step h4 {
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 4px;
}

.flow-step p {
  font-size: 12px;
  color: var(--text-light);
}

/* --- Message (Company) --- */
.message-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.message-block-single {
  grid-template-columns: 1fr;
  max-width: 880px;
}

.message-photo {
  text-align: center;
}

.message-photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #e8e8e8;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 15px;
  margin-bottom: 16px;
}

.message-photo img,
.message-photo-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: block;
}

.message-name {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.message-name-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.1em;
}

.message-text p {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 20px;
}

.message-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .message-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .message-photo {
    max-width: 240px;
    margin: 0 auto;
  }
}

/* --- Recruit Page --- */
.recruit-lead {
  text-align: center;
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 48px;
  line-height: 1.8;
}

.work-style-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-style-card {
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.work-style-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.work-style-label {
  display: inline-block;
  background: #333;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.work-style-label-primary {
  background: var(--primary);
}

.work-style-label-accent {
  background: var(--accent);
  color: var(--primary);
}

.work-style-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.work-style-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 24px;
}

.work-style-for h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.work-style-for ul {
  list-style: none;
  margin-bottom: 24px;
}

.work-style-for li {
  font-size: 14px;
  color: var(--text-light);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.work-style-for li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.work-style-detail {
  border-top: 1px solid #e0e0e0;
  padding-top: 16px;
}

.work-style-detail p {
  font-size: 13px;
  color: #999;
  text-align: center;
}

/* Work Place */
.work-place-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-place-item {
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.work-place-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  background: var(--gradient);
  border-radius: 50%;
  margin-bottom: 20px;
}

.work-place-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.work-place-item p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light);
}

/* Daily Timeline */
.daily-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.daily-timeline::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e0e0e0;
}

.daily-item {
  display: flex;
  gap: 32px;
  padding: 24px 0;
  position: relative;
}

.daily-time {
  flex-shrink: 0;
  width: 60px;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  text-align: right;
  padding-top: 2px;
}

.daily-content {
  padding-left: 24px;
  position: relative;
}

.daily-content::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid #fff;
}

.daily-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.daily-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Career Steps */
.career-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.career-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}

.career-step-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

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

.career-step p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

.career-step-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 24px;
  position: relative;
}

.career-step-arrow::before {
  content: '→';
  font-size: 20px;
  color: var(--accent);
  font-weight: 700;
}

/* Training */
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.training-item {
  padding: 32px 24px;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
}

.training-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.training-item p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .work-style-grid,
  .work-place-grid,
  .training-grid {
    grid-template-columns: 1fr;
  }
  .career-steps {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .career-step-arrow {
    transform: rotate(90deg);
    margin-top: 0;
  }
  .daily-timeline::before {
    left: 50px;
  }
}

/* --- Service Role Grid --- */
.service-intro {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 2;
  color: var(--text-light);
}

.role-heading {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--text);
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.role-item {
  /* no border, clean layout */
}

.role-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e0e0e0;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 15px;
  margin-bottom: 24px;
}

.role-item img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.role-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.role-desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .role-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .role-heading {
    font-size: 22px;
  }
}

/* --- Our Name (Company) --- */
.name-intro {
  max-width: 820px;
  margin: 0 0 48px;
  color: var(--text);
  line-height: 2;
  font-size: 16px;
}

.name-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 720px;
}

.name-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s, box-shadow 0.25s;
}

.name-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.name-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  background: transparent;
  border-radius: 0;
  line-height: 1;
}

/* T のみロゴと同じティール色 */
.name-card:nth-child(4) .name-letter {
  color: #36A8A4;
  background: transparent;
}

.name-letter-at {
  color: #1a1a1a;
  background: transparent;
}

.name-card {
  row-gap: 2px;
}

.name-letter {
  grid-column: 1;
  grid-row: span 3;
}

.name-word {
  grid-column: 2;
  grid-row: 1;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  margin: 0;
}

.name-word-ja {
  grid-column: 2;
  grid-row: 2;
  font-size: 12px;
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0;
}

.name-desc {
  grid-column: 2;
  grid-row: 3;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.65;
  margin: 2px 0 0;
}

@media (max-width: 768px) {
  .name-card {
    grid-template-columns: 80px 1fr;
    gap: 20px;
    padding: 22px 24px;
  }
  .name-letter {
    width: 72px;
    height: 72px;
    font-size: 40px;
  }
  .name-word {
    font-size: 20px;
  }
  .name-desc {
    font-size: 14px;
  }
}


/* --- Philosophy Page --- */
.phil-hero-section {
  color: var(--text-white);
}

.phil-hero-bg {
  background: url('../images/phil-hero-bg.jpg') center center / cover no-repeat;
  position: relative;
  padding: 160px 0 100px;
  text-align: center;
}

.phil-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.phil-hero-bg .container {
  position: relative;
  z-index: 1;
}

.phil-hero-lead {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.phil-hero-body {
  font-size: 18px;
  line-height: 2.2;
  opacity: 0.85;
}

.phil-block {
  text-align: center;
  padding: 40px 0;
  max-width: 700px;
  margin: 0 auto;
}

.phil-block-lead {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.phil-block-body {
  font-size: 17px;
  line-height: 2;
  color: var(--text);
}

.phil-mission-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phil-mission-list li {
  font-size: 17px;
  color: var(--text);
}

.phil-values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 20px 0;
}

.phil-value-item {
  text-align: center;
  padding: 40px 16px;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.phil-value-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.phil-value-number {
  display: block;
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 12px;
  line-height: 1;
}

.phil-value-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.phil-value-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .logo img {
    height: 64px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-list.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    background: var(--bg-light);
    margin-top: 0;
    padding: 4px 0 4px 16px;
    min-width: auto;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-menu a {
    color: var(--text) !important;
    padding: 8px 16px;
    font-size: 13px;
  }

  .nav-dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    display: block;
  }

  .hero {
    min-height: 70vh;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 15px;
  }

  .about-row,
  .about-row-reverse {
    grid-template-columns: 1fr;
    min-height: auto;
    direction: ltr;
  }

  .about-col-image {
    height: 200px;
  }

  .about-col-text {
    padding: 32px 24px;
  }

  .about-col-text h3 {
    font-size: 22px;
  }

  .about-col-number {
    font-size: 36px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .phil-hero-lead {
    font-size: 26px;
  }

  .phil-hero-body {
    font-size: 16px;
  }

  .phil-block-lead {
    font-size: 22px;
  }

  .phil-values {
    grid-template-columns: 1fr 1fr;
  }

  .phil-value-item:last-child {
    grid-column: 1 / -1;
  }

  .news-item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .biz-banner {
    flex-direction: column;
  }

  .biz-banner-item {
    height: 200px;
  }

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

  .service-block {
    flex-direction: column !important;
    padding: 24px;
  }

  .service-block-image {
    flex: none;
    width: 100%;
    height: 180px;
  }

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

  .section-title h2 {
    font-size: 24px;
  }

  .page-header {
    padding: 110px 0 40px;
  }

  .page-header h1 {
    font-size: 26px;
  }

  .greeting-block {
    flex-direction: column;
  }

  .greeting-image {
    flex: none;
    width: 100%;
    height: 200px;
  }

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

  .flow-list {
    flex-direction: column;
    align-items: center;
  }

  .case-result {
    flex-direction: column;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .target-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* --- Recruit Banner (TOP) --- */
.recruit-banner {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recruit-banner-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.recruit-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 90%;
  filter: blur(4px);
  transform: scale(1.05);
}

.recruit-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.45) 100%);
  z-index: 1;
}

.recruit-banner-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.recruit-banner-en {
  display: block;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 8px;
}

.recruit-banner-jp {
  font-size: 16px;
  letter-spacing: 0.2em;
  margin-bottom: 32px;
  opacity: 0.92;
}

.recruit-banner-btn {
  display: inline-block;
  padding: 14px 56px;
  border: 1.5px solid #ffffff;
  border-radius: 50px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.recruit-banner-btn:hover {
  background: #ffffff;
  color: var(--text);
}

@media (max-width: 768px) {
  .recruit-banner {
    height: 320px;
  }
  .recruit-banner-en {
    font-size: 36px;
  }
  .recruit-banner-jp {
    font-size: 13px;
    margin-bottom: 24px;
  }
  .recruit-banner-btn {
    padding: 12px 40px;
    font-size: 14px;
  }
}

/* --- Business Carousel Full Width Wrap --- */
.business-carousel-wrap {
  width: 100%;
}

/* --- Business Carousel (事業紹介) --- */
.business-carousel {
  position: relative;
}

.business-carousel-viewport {
  overflow: hidden;
}

.business-carousel-track {
  display: flex;
  padding: 0 15%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.business-slide {
  position: relative;
  flex: 0 0 70%;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  box-sizing: border-box;
  opacity: 0.35;
  transform: scale(0.94);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.business-slide + .business-slide {
  margin-left: 0;
}

.business-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 768px) {
  .business-carousel-track {
    padding: 0 6%;
  }
  .business-slide {
    flex: 0 0 88%;
  }
}

.business-slide-num {
  position: absolute;
  top: 24px;
  left: 32px;
  z-index: 2;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.15em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.business-slide-num::before {
  content: '';
  display: inline-block;
  width: 56px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 14px;
}

.business-slide-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.business-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.business-slide-card {
  position: absolute;
  right: 40px;
  bottom: 40px;
  width: min(380px, 80%);
  background: #ffffff;
  padding: 28px 32px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.business-slide-tag {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.business-slide-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.business-slide-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 16px;
}

.business-slide-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-dark);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.business-slide-link:hover {
  color: var(--accent);
}

.business-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: var(--text);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  z-index: 3;
}

.business-carousel-btn:hover {
  background: var(--accent);
  color: #ffffff;
}

.business-carousel-prev {
  left: 32px;
}

.business-carousel-next {
  right: 32px;
}

.business-carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.business-carousel-dots {
  display: flex;
  gap: 10px;
}

.business-carousel-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: #D5D9DD;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.business-carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

.business-carousel-toggle {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #ffffff;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
  margin-left: 8px;
}

.business-carousel-toggle:hover {
  border-color: var(--accent);
}

.business-carousel-toggle-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  position: relative;
}

/* 再生中 = ポーズアイコン（停止できる状態） */
.business-carousel-toggle.is-playing .business-carousel-toggle-icon::before,
.business-carousel-toggle.is-playing .business-carousel-toggle-icon::after {
  content: '';
  position: absolute;
  top: 0;
  width: 3px;
  height: 10px;
  background: var(--text);
}

.business-carousel-toggle.is-playing .business-carousel-toggle-icon::before {
  left: 1px;
}

.business-carousel-toggle.is-playing .business-carousel-toggle-icon::after {
  right: 1px;
}

/* 停止中 = 再生アイコン（三角） */
.business-carousel-toggle:not(.is-playing) .business-carousel-toggle-icon::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--text);
}

@media (max-width: 768px) {
  .business-slide-num {
    top: 16px;
    left: 20px;
    font-size: 14px;
  }
  .business-slide-num::before {
    width: 32px;
    margin-right: 8px;
  }
  .business-slide-card {
    right: 16px;
    bottom: 16px;
    padding: 20px 22px;
  }
  .business-carousel-prev {
    left: 8px;
  }
  .business-carousel-next {
    right: 8px;
  }
  .business-carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
}

/* --- Business Section (事業紹介) --- */
.business-section {
  background: var(--bg);
  padding: 112px 0 128px;
  scroll-margin-top: 180px;
}

.business-section > .container {
  max-width: 1240px;
  padding: 0 64px;
}

.business-section .phil-label {
  margin-bottom: 28px;
  color: var(--accent-dark);
}

.business-section .phil-label::before {
  background: var(--accent);
}

.business-heading {
  font-size: 38px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 56px;
  letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
  .business-section > .container {
    padding: 0 32px;
  }
}

@media (max-width: 768px) {
  .business-section {
    padding: 64px 0 72px;
  }
  .business-section > .container {
    padding: 0 20px;
  }
  .business-heading {
    font-size: 22px;
    margin-bottom: 32px;
  }
}

/* --- Target Section (個人事業主・企業様・採用) --- */
.target-section {
  background: var(--bg-light);
  padding: 112px 0 128px;
}

.target-section > .container {
  max-width: 1240px;
  padding: 0 64px;
}

.target-section .phil-label {
  margin-bottom: 28px;
  color: var(--accent-dark);
}

.target-section .phil-label::before {
  background: var(--accent);
}

.target-heading {
  font-size: 38px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.target-lead {
  font-size: 16px;
  line-height: 2.1;
  color: var(--text);
  margin-bottom: 56px;
  max-width: 820px;
}

@media (max-width: 1024px) {
  .target-section > .container {
    padding: 0 32px;
  }
}

@media (max-width: 768px) {
  .target-section {
    padding: 64px 0 72px;
  }
  .target-section > .container {
    padding: 0 20px;
  }
  .target-heading {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .target-lead {
    margin-bottom: 40px;
  }
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 880px;
}

.target-card {
  display: block;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  color: var(--text);
}

.target-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.target-card-image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.target-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.target-card:hover .target-card-image img {
  transform: scale(1.05);
}

.target-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
}

.target-card-body {
  padding: 28px 24px 32px;
}

.target-card-en {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.target-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.target-card-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.target-card-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.target-card:hover .target-card-link {
  letter-spacing: 0.05em;
}

/* ===================================================
   モバイル対応 統合調整 (max-width: 768px)
   =================================================== */
@media (max-width: 768px) {
  /* --- ヘッダー: 1行化 + ハンバーガー表示 --- */
  .header-overlay > .container {
    padding: 0 16px;
  }
  .header-overlay .header-inner {
    height: 64px;
  }
  .header-overlay .logo img {
    height: 40px;
    filter: none;
  }
  .header-utility {
    gap: 12px;
  }
  .header-utility-link {
    font-size: 11px;
    color: var(--text) !important;
    text-shadow: none !important;
  }
  .header-utility-lang::before {
    width: 12px;
    height: 12px;
  }
  /* 透過ヘッダーもモバイルでは白背景に */
  .header-overlay {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
  }
  /* ナビ行はモバイルではハンバーガー専用に */
  .header-nav-row {
    position: absolute;
    top: 0;
    right: 0;
    height: 64px;
    width: auto;
    padding: 0 16px;
    align-items: center;
    background: transparent;
    pointer-events: none;
  }
  .header-nav-row nav {
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    pointer-events: auto;
  }
  /* ナビ列は固定オーバーレイで縦並び */
  .nav-list {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 16px 20px;
    flex-direction: column;
    gap: 4px;
    z-index: 999;
  }
  .nav-list a {
    color: var(--text) !important;
    text-shadow: none !important;
    font-size: 15px;
    padding: 12px 0;
    display: block;
  }
  .nav-dropdown-light .nav-dropdown-menu {
    position: static;
    transform: none;
    background: var(--bg-light);
    box-shadow: none;
    padding: 4px 0 4px 16px;
    margin-top: 0;
    border-radius: 8px;
    display: block;
  }
  .nav-dropdown-light .nav-dropdown-menu::before,
  .nav-dropdown-light .nav-dropdown-menu::after {
    display: none;
  }
  .nav-dropdown-light .nav-dropdown-menu a {
    padding: 8px 12px;
    font-size: 13px;
  }
  .nav-dropdown-light .nav-dropdown-top::before {
    display: none;
  }

  /* ハンバーガー位置調整 */
  .hamburger {
    display: flex;
    margin-left: auto;
  }
  .hamburger span {
    background: var(--primary);
  }
  /* 採用情報・Englishは小さく右寄せ前に表示 */
  .header-overlay .header-utility {
    margin-right: 56px;
  }

  /* --- ページ見出し: 上余白を短く --- */
  .page-heading {
    padding: 100px 0 40px;
  }
  .page-heading-title {
    font-size: 26px;
  }
  .page-heading-with-image .page-heading-inner {
    gap: 24px;
  }
  .page-heading-with-image .page-heading-image img {
    border-radius: 16px;
  }
  /* page-heading-bleedはモバイルで通常表示 */
  .page-heading-bleed .page-heading-image img {
    width: 100%;
  }

  /* --- セクション全般 --- */
  .container {
    padding: 0 20px;
  }
  .section {
    padding: 48px 0;
  }

  /* --- Hero --- */
  .hero-fullscreen {
    min-height: 70vh;
    height: 70vh;
  }
  .hero-scroll-text {
    font-size: 11px;
  }

  /* --- About VERTA --- */
  .about-philosophy-section {
    padding: 56px 0 64px;
  }
  .about-philosophy-section > .container {
    padding: 0 20px;
  }
  .about-philosophy-heading {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  .about-philosophy-lead {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 32px;
  }
  .about-philosophy-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-philosophy-card {
    aspect-ratio: 5 / 3;
  }
  .about-philosophy-title {
    font-size: 16px;
  }

  /* --- News --- */
  .news-section {
    padding: 56px 0 64px;
  }
  .news-section > .container {
    padding: 0 20px;
  }
  .news-heading {
    font-size: 22px;
  }
  .news-lead {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .news-item {
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0;
  }
  .news-title {
    flex: 1 0 100%;
    font-size: 14px;
  }

  /* --- Business (事業紹介) スマホ縦積みレイアウト --- */
  .business-section {
    padding: 56px 0 64px;
  }
  .business-section > .container {
    padding: 0 20px;
  }
  .business-heading {
    font-size: 22px;
    margin-bottom: 32px;
  }

  /* peek なしの1スライド表示 */
  .business-carousel-track {
    padding: 0;
  }
  .business-slide {
    flex: 0 0 100%;
    border-radius: 0;
    background: #ffffff;
    opacity: 1;
    transform: none;
  }

  /* 画像エリア: 4:3に変更し全幅表示 */
  .business-slide-image {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    margin: 0 20px;
  }

  /* 番号は画像左上にオーバーレイ */
  .business-slide-num {
    top: 14px;
    left: 14px;
    font-size: 13px;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
  }
  .business-slide-num::before {
    width: 32px;
    margin-right: 8px;
    background: var(--accent);
  }

  /* 説明カード: 画像下に通常配置（オーバーレイ解除） */
  .business-slide-card {
    position: static;
    width: auto;
    margin: 16px 20px 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  .business-slide-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .business-slide-card p {
    font-size: 13px;
    margin-bottom: 12px;
    color: var(--text);
  }
  .business-slide-tag {
    font-size: 11px;
    margin-bottom: 6px;
  }

  /* 矢印ボタンは画像中央に配置 */
  .business-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    top: 0;
    transform: none;
    margin-top: calc((100vw - 40px) * 0.375 - 18px);
  }
  .business-carousel-prev {
    left: 26px;
  }
  .business-carousel-next {
    right: 26px;
  }
  .business-carousel-controls {
    margin-top: 20px;
  }

  /* --- Target Section --- */
  .target-section {
    padding: 56px 0 64px;
  }
  .target-section > .container {
    padding: 0 20px;
  }
  .target-heading {
    font-size: 22px;
    margin-bottom: 32px;
  }
  .target-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .target-card-body {
    padding: 20px 22px 24px;
  }
  .target-card-title {
    font-size: 18px;
  }

  /* --- 会社についてカード (about-page-cards) --- */
  .about-page-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* --- 事業紹介トップカード (service-cards) --- */
  .service-cards-section .container-wide {
    padding: 0 20px;
  }
  .service-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* --- CTA --- */
  .cta-section {
    padding: 48px 20px;
  }
  .cta-section h2 {
    font-size: 22px;
  }
  .cta-section p {
    font-size: 14px;
  }

  /* --- Footer --- */
  .footer {
    padding: 40px 0 20px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* --- Philosophy values --- */
  .phil-values-grid {
    max-width: 100%;
    gap: 16px;
    margin-top: 28px;
  }
  .phil-value-card {
    grid-template-columns: 60px 1fr;
    gap: 16px;
    padding: 18px 0;
  }
  .phil-value-num {
    font-size: 28px;
  }
  .phil-value-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .phil-value-card p {
    font-size: 14px;
    line-height: 1.8;
  }
  .phil-heading {
    font-size: 22px;
  }
  .phil-body {
    font-size: 14px;
  }

  /* --- Company (Our Name) --- */
  .name-card {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 12px 16px;
  }
  .name-letter {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }
  .name-word {
    font-size: 15px;
  }
  .name-desc {
    font-size: 12px;
  }
  .name-intro {
    font-size: 14px;
    margin-bottom: 28px;
  }
  .company-table {
    font-size: 13px;
  }

  /* --- Message page --- */
  .message-block-single {
    max-width: 100%;
  }
  .message-text p {
    font-size: 14px;
    line-height: 1.9;
  }

  /* --- Section title --- */
  .section-title h2 {
    font-size: 24px;
  }
  .section-title p {
    font-size: 14px;
  }
  .section-title-left p {
    font-size: 16px;
  }
}

/* ===================================================
   さらに小型スマホ向け調整 (max-width: 480px)
   =================================================== */
@media (max-width: 480px) {
  .page-heading-title {
    font-size: 22px;
  }
  .about-philosophy-heading,
  .news-heading,
  .business-heading,
  .target-heading {
    font-size: 18px;
  }
  .business-slide-card {
    width: calc(100% - 24px);
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px 16px;
  }
  .business-slide-card h3 {
    font-size: 16px;
  }
}

/* ===== Coming Soon Cover (採用ページ公開準備中) ===== */
.coming-soon-cover {
  display: none;
  min-height: 80vh;
  padding: 200px 24px 160px;
  background: linear-gradient(180deg, #f7f9fb 0%, #ffffff 100%);
  text-align: center;
  align-items: center;
  justify-content: center;
}
.coming-soon-inner {
  max-width: 640px;
  margin: 0 auto;
}
.coming-soon-label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 28px;
}
.coming-soon-title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  margin: 0 0 28px;
  line-height: 1.4;
}
.coming-soon-text {
  font-size: 16px;
  line-height: 2;
  color: #666;
  margin: 0 0 44px;
}
.coming-soon-back {
  display: inline-block;
  padding: 16px 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}
.coming-soon-back:hover {
  background: var(--accent-dark);
}
html.recruit-hidden .coming-soon-cover {
  display: flex;
}
html.recruit-hidden body > section:not(.coming-soon-cover),
html.recruit-hidden body > nav,
html.recruit-hidden body > .breadcrumb {
  display: none !important;
}
@media (max-width: 640px) {
  .coming-soon-cover {
    padding: 160px 20px 120px;
  }
  .coming-soon-title {
    font-size: 32px;
  }
  .coming-soon-text {
    font-size: 14px;
  }
}
