/* ============================================
   和田建工株式会社 - Main Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1B3A2D;
  --primary-light: #2D5A3F;
  --accent: #3CB371;
  --accent-gold: #C8A45C;
  --dark: #111111;
  --dark-overlay: rgba(17, 17, 17, 0.7);
  --dark-overlay-heavy: rgba(17, 17, 17, 0.85);
  --light: #F5F5F0;
  --white: #FFFFFF;
  --gray: #888888;
  --gray-light: #E0E0E0;
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Montserrat", sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  color: var(--dark);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Loading Screen --- */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.loaded {
  opacity: 0;
  visibility: hidden;
}

.loading-screen .loader-text {
  font-family: var(--font-en);
  font-size: 1.2rem;
  color: var(--accent);
  letter-spacing: 8px;
  text-transform: uppercase;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(17, 17, 17, 0.95);
  padding: 12px 0;
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}

.logo-sub {
  font-family: var(--font-en);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.nav-list {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-list a {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 4px;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-list a .nav-en {
  font-family: var(--font-en);
  font-size: 0.6rem;
  color: var(--accent);
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: var(--dark-overlay-heavy);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.5s ease;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-list {
  text-align: center;
}

.mobile-nav-list li {
  margin-bottom: 32px;
}

.mobile-nav-list a {
  color: var(--white);
  font-size: 1.4rem;
  letter-spacing: 3px;
}

.mobile-nav-list .nav-en {
  font-family: var(--font-en);
  font-size: 0.7rem;
  color: var(--accent);
  display: block;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 4px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(17, 17, 17, 0.8) 0%,
    rgba(27, 58, 45, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero-catch {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 6px;
  line-height: 1.6;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease 0.5s forwards;
}

.hero-sub {
  font-family: var(--font-en);
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  color: var(--accent);
  letter-spacing: 6px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease 0.8s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s ease 1.2s forwards;
}

.hero-scroll span {
  font-family: var(--font-en);
  font-size: 0.6rem;
  color: var(--white);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 60px;
  background: var(--accent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Parallax Section Backgrounds --- */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  will-change: transform;
  transition: opacity 0.8s ease;
}

.parallax-section .section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  opacity: 0.88;
}

.parallax-section .container {
  position: relative;
  z-index: 2;
}

/* Dark parallax variant */
.parallax-section.dark {
  color: var(--white);
}

.parallax-section.dark .section-overlay {
  background: var(--dark);
  opacity: 0.82;
}

.parallax-section.dark .parallax-bg {
  opacity: 0.25;
}

/* --- Section Styles --- */
.section {
  padding: 120px 0;
}

.section-label {
  font-family: var(--font-en);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.section-title-en {
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: rgba(60, 179, 113, 0.1);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: -20px;
  line-height: 1;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 2;
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Service Cards (Top Page) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.service-card {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  group: true;
}

.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-bg {
  transform: scale(1.08);
}

.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.9) 0%,
    rgba(17, 17, 17, 0.3) 60%,
    rgba(17, 17, 17, 0.1) 100%
  );
  transition: background 0.4s ease;
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(
    to top,
    rgba(27, 58, 45, 0.95) 0%,
    rgba(27, 58, 45, 0.5) 60%,
    rgba(27, 58, 45, 0.2) 100%
  );
}

.service-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 32px;
  color: var(--white);
}

.service-card-num {
  font-family: var(--font-en);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.service-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  opacity: 0.8;
}

.service-card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 2px;
  letter-spacing: 2px;
}

/* --- Works Grid --- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 60px;
}

.work-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}

.work-item-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.work-item:hover .work-item-bg {
  transform: scale(1.05);
}

.work-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0);
  transition: background 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.work-item:hover .work-item-overlay {
  background: rgba(17, 17, 17, 0.6);
}

.work-item-info {
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.work-item:hover .work-item-info {
  opacity: 1;
  transform: translateY(0);
}

.work-item-info h3 {
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.work-item-info span {
  font-size: 0.75rem;
  color: var(--accent);
  font-family: var(--font-en);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- CTA Banner --- */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
}

.cta-banner .parallax-bg {
  opacity: 0.3;
}

.cta-banner .section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  opacity: 0.75;
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--gray-light);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.btn {
  display: inline-block;
  padding: 16px 48px;
  border: 1px solid var(--accent);
  color: var(--primary);
  font-size: 0.85rem;
  letter-spacing: 3px;
  transition: all var(--transition);
  background: transparent;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent);
  color: var(--white);
}

/* ダーク背景上のボタンは白文字 */
.parallax-section.dark .btn,
.cta-banner .btn {
  color: var(--white);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
}

/* --- Company Info Table --- */
.info-table {
  width: 100%;
  margin-top: 40px;
}

.info-table tr {
  border-bottom: 1px solid var(--gray-light);
}

.info-table th,
.info-table td {
  padding: 20px 16px;
  text-align: left;
  font-size: 0.9rem;
  vertical-align: top;
}

.info-table th {
  width: 200px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--primary);
}

/* --- Recruit Page --- */
.recruit-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.recruit-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.recruit-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(17, 17, 17, 0.7) 0%,
    rgba(17, 17, 17, 0.3) 60%
  );
}

.recruit-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
}

.recruit-label {
  font-family: var(--font-en);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1;
  opacity: 0;
  transform: translateX(-40px);
  animation: slideRight 1s ease 0.3s forwards;
}

.recruit-label-jp {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--accent);
  letter-spacing: 8px;
  margin-top: 12px;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
}

.recruit-catch {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--white);
  margin-top: 40px;
  letter-spacing: 3px;
  line-height: 2;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Recruit message */
.recruit-message {
  padding: 120px 0;
  background: var(--dark);
  color: var(--white);
}

.recruit-message-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.recruit-message h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: 4px;
  line-height: 2;
  margin-bottom: 32px;
}

.recruit-message p {
  font-size: 0.9rem;
  line-height: 2.2;
  color: var(--gray-light);
}

.recruit-image-box {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.recruit-image-box .placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 3px;
}

/* Recruit benefits */
.recruit-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.benefit-card {
  background: var(--light);
  padding: 40px 32px;
  border-left: 3px solid var(--accent);
  transition: all var(--transition);
}

.benefit-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.benefit-card-num {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(60, 179, 113, 0.2);
  margin-bottom: 12px;
}

.benefit-card h3 {
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.8;
}

/* Job details table */
.job-table {
  width: 100%;
  margin-top: 40px;
  border-collapse: collapse;
}

.job-table tr {
  border-bottom: 1px solid var(--gray-light);
}

.job-table th,
.job-table td {
  padding: 24px 20px;
  text-align: left;
  font-size: 0.9rem;
  vertical-align: top;
}

.job-table th {
  width: 180px;
  font-weight: 600;
  letter-spacing: 2px;
  background: var(--light);
  color: var(--primary);
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo .logo-text {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.footer-info p {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 2;
}

.footer-nav h3 {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-nav a {
  display: block;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-contact h3 {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-contact p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 2;
}

.footer-contact .tel {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  margin: 12px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-en);
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 2px;
}

/* --- Page Header (sub pages) --- */
.page-header {
  position: relative;
  height: 50vh;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-header .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.page-header .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(17, 17, 17, 0.8) 0%,
    rgba(27, 58, 45, 0.6) 100%
  );
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.page-header-content .section-title-en {
  color: rgba(255,255,255,0.08);
  margin-bottom: -10px;
}

.page-header-content h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 6px;
  font-weight: 700;
}

/* --- Business Page --- */
.business-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
}

.business-image {
  position: relative;
  overflow: hidden;
}

.business-image .placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 3px;
}

.business-content {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.business-content h2 {
  font-size: 1.6rem;
  letter-spacing: 4px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.business-content .accent-line {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 24px;
}

.business-content p {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--gray);
}

.business-content ul {
  margin-top: 24px;
}

.business-content ul li {
  font-size: 0.9rem;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  color: var(--gray);
}

.business-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.business-section.reverse {
  direction: rtl;
}

.business-section.reverse > * {
  direction: ltr;
}

/* --- Works Filter --- */
.works-filter {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  font-size: 0.8rem;
  letter-spacing: 2px;
  border: 1px solid var(--gray-light);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-base);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* --- Works Detail Cards --- */
.works-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.works-detail-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: all var(--transition);
}

.works-detail-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.works-detail-card .card-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 2px;
  overflow: hidden;
}

.works-detail-card .card-body {
  padding: 28px 24px;
}

.works-detail-card .card-tag {
  font-size: 0.7rem;
  color: var(--accent);
  font-family: var(--font-en);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.works-detail-card h3 {
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.works-detail-card p {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.8;
}

/* --- Map --- */
.map-container {
  width: 100%;
  height: 400px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .business-section { grid-template-columns: 1fr; }
  .business-section.reverse { direction: ltr; }
  .recruit-message-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-list { display: none; }
  .hamburger { display: flex; }

  .hero-catch {
    letter-spacing: 3px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-detail-grid {
    grid-template-columns: 1fr;
  }

  .recruit-hero-content {
    padding: 0 24px;
  }

  .recruit-label {
    font-size: clamp(2.5rem, 12vw, 5rem);
  }

  .business-content {
    padding: 40px 24px;
  }

  .info-table th {
    width: 120px;
  }

  .job-table th {
    width: 120px;
  }

  .page-header {
    height: 40vh;
    min-height: 280px;
  }
}

@media (max-width: 480px) {
  .works-grid {
    grid-template-columns: 1fr;
  }

  .recruit-benefits {
    grid-template-columns: 1fr;
  }

  .info-table th,
  .info-table td,
  .job-table th,
  .job-table td {
    display: block;
    width: 100%;
  }

  .info-table th,
  .job-table th {
    padding-bottom: 4px;
    border-bottom: none;
  }
}

/* --- Placeholder image styles (replace with real images) --- */
.placeholder-img {
  background: linear-gradient(135deg, #1a2a20 0%, #2d4a3a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}
