/* ===================================
   OZ PRINTING - Main Stylesheet
   =================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Paytone+One&family=Oswald:wght@400;600;700&family=Montserrat:wght@700&display=swap');

/* ===================================
   Background Floating Words
   =================================== */
#bg-words {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-main);
  font-size: 52px;
  font-weight: 800;
  color: rgba(0,0,0,0.02);
  white-space: nowrap;
  letter-spacing: 0.04em;
  user-select: none;
}

.bg-word {
  position: absolute;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: rgba(0,0,0,0.005);
  white-space: nowrap;
  user-select: none;
  letter-spacing: 0.08em;
  will-change: transform;
}

@keyframes bgFloat1 {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(18px, -12px) rotate(1deg); }
  50%  { transform: translate(8px, -24px) rotate(-1deg); }
  75%  { transform: translate(-14px, -10px) rotate(0.5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes bgFloat2 {
  0%   { transform: translate(0, 0) rotate(0deg); }
  33%  { transform: translate(-20px, 15px) rotate(-1.5deg); }
  66%  { transform: translate(12px, 20px) rotate(1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes bgFloat3 {
  0%   { transform: translate(0, 0) rotate(0deg); }
  20%  { transform: translate(10px, 18px) rotate(1deg); }
  60%  { transform: translate(-16px, 8px) rotate(-0.5deg); }
  80%  { transform: translate(6px, -16px) rotate(1.5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes bgFloat4 {
  0%   { transform: translate(0, 0); }
  40%  { transform: translate(22px, -8px); }
  70%  { transform: translate(-10px, 18px); }
  100% { transform: translate(0, 0); }
}

/* すべてのコンテンツをbg-wordsの上に */
.site-header,
main,
.site-footer,
.mobile-nav,
.nav-overlay,
#preloader {
  position: relative;
  z-index: 1;
}


/* ===================================
   Preloader
   =================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
  overflow: hidden;
}

#preloader.hide {
  opacity: 0;
  pointer-events: none;
}

.preloader-text {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: clamp(80px, 16vw, 200px);
  letter-spacing: 0.04em;
  line-height: 0.9;
  color: #d8d8d8;
  text-shadow:
    2px 2px 0 #ffffff,
    -1px -1px 0 rgba(0,0,0,0.12),
    3px 3px 6px rgba(0,0,0,0.06);
  transform: rotate(-8deg) translateY(-10px);
  transform-origin: center center;
  user-select: none;
  display: block;
}

.preloader-sub {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: clamp(11px, 1.5vw, 15px);
  letter-spacing: 0.3em;
  color: #bbb;
  margin-top: 32px;
  transform: rotate(-8deg);
  transform-origin: center center;
}

.preloader-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #5c8fa8;
  animation: preloaderBar 1.8s ease forwards;
}

@keyframes preloaderBar {
  from { width: 0; }
  to   { width: 100%; }
}

/* ===================================
   CSS Variables
   =================================== */
:root {
  --font-main: 'Yu Gothic', '游ゴシック', YuGothic, 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-en: 'Paytone One', 'Oswald', sans-serif;
  --primary: #3a3a3a;
  --accent: #5c8fa8;
  --bg: #ffffff;
  --light-bg: #f5f5f5;
  --text: #222222;
  --text-light: #888888;
  --border: #e8e8e8;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 4px;
  --radius-lg: 8px;
  --transition: all 0.3s ease;
}

/* ===================================
   Overflow Fix
   =================================== */
html {
  overflow-x: hidden;
}

/* ===================================
   Base
   =================================== */
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.8;
  overflow-x: hidden;
}

/* ===================================
   Social Icons
   =================================== */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
  border-radius: 4px;
  padding: 4px;
}

.site-header .social-icon {
  color: var(--primary);
  margin-left: 16px;
}

.site-header .social-icon:hover {
  color: var(--accent);
}

.site-footer .social-icon {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer .social-icon:hover {
  color: #fff;
}

/* ===================================
   Header
   =================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1060;
  background: #fff;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  transition: box-shadow 0.3s ease, transform 0.4s ease, opacity 0.4s ease;
}

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

.site-header.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  margin-bottom: -70px;
}

.site-header .logo {
  height: 36px;
  display: flex;
  align-items: center;
}

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

/* Main Nav */
.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.main-nav ul li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  margin: 0 10px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--primary);
  border-radius: 4px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.main-nav ul li a:hover {
  color: var(--accent);
}

.main-nav ul li a .en {
  display: inline-block;
  white-space: nowrap;
  transition: opacity 0.5s ease;
  opacity: 1;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
}

.main-nav ul li a .ja {
  display: block;
  position: absolute;
  white-space: nowrap;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

.main-nav ul li a:hover .en {
  opacity: 0;
}

.main-nav ul li a:hover .ja {
  opacity: 1;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 1050;
  padding: 90px 30px 30px;
  box-shadow: -4px 0 30px rgba(0,0,0,0.15);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
}

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

.mobile-nav ul li {
  border-bottom: 1px solid var(--border);
}

.mobile-nav ul li a {
  display: block;
  padding: 16px 0;
  font-size: 14px;
  color: var(--primary);
}

.mobile-nav ul li a .en {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.mobile-nav ul li a .ja {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1040;
}

.nav-overlay.show {
  display: block;
}

/* ===================================
   Footer
   =================================== */
.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 60px 40px 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-brand .footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, fit-content(200px));
  grid-auto-rows: minmax(auto, 40px);
  row-gap: 2px;
  column-gap: 30px;
  justify-content: flex-end;
}

.footer-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  font-family: var(--font-en);
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  padding: 2px 0;
  line-height: 1;
  transition: color 0.2s ease;
  white-space: nowrap;
}

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

.footer-nav a .en {
  display: inline-block;
  white-space: nowrap;
  transition: opacity 0.5s ease;
  opacity: 1;
  font-family: 'Montserrat', sans-serif;
}

.footer-nav a .ja {
  font-family: 'Montserrat', sans-serif;
  display: block;
  position: absolute;
  white-space: nowrap;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

.footer-nav a:hover .en {
  opacity: 0;
}

.footer-nav a:hover .ja {
  opacity: 1;
  color: var(--accent);
}

.footer-privacy-mark {
  margin-top: 16px;
}
.footer-privacy-mark img {
  height: 60px;
  width: auto;
}
.footer-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-brands a {
  display: flex;
  align-items: center;
}
.footer-brands img {
  height: 70px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.footer-brands a:hover img {
  opacity: 1;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #fff;
}

/* ===================================
   Page Wrapper
   =================================== */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===================================
   Section Common
   =================================== */
.section { padding: 100px 0; }
.section-alt { background: #fff9e6; }
.section-pop {
  background: linear-gradient(135deg, #fff5f2 0%, #fff 100%);
}

.section + .section,
.section-alt + .section,
.section + .section-alt {
  border-top: 1px solid #e8e8e8;
}

.section-dark {
  background: var(--primary);
  color: #fff;
}

#blog {
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  margin-top: -40px;
  padding-top: 80px;
  margin-bottom: -40px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

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

.section-header .en-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: #ffffff;
  display: block;
  position: relative;
  overflow: hidden;
  width: fit-content;
  margin: 0 auto;
  isolation: isolate;
  font-weight: 900;
  text-shadow:
    1px 0 0 #111,
    -1px 0 0 #111,
    0 1px 0 #111,
    0 -1px 0 #111,
    1px 1px 0 #111,
    -1px -1px 0 #111,
    1px -1px 0 #111,
    -1px 1px 0 #111;
}
.section-header .en-title::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: #5c8fa8;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 0.65s cubic-bezier(0.77,0,0.18,1);
  z-index: 1;
}
.section-header .en-title.revealed::before,
.section-header .en-title.is-visible::before {
  transform: scaleX(0);
}
.section-dark .section-header .en-title {
  color: #ffffff;
}

.en-title-accent {
  color: #5c8fa8;
  position: relative;
  display: inline-block;
  z-index: 2;
}

.section-header .ja-title {
  display: none;
  font-size: 15px;
  color: var(--text-light);
  margin-top: 10px;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.section-dark .section-header .ja-title {
  color: rgba(255,255,255,0.6);
}

.accent-line {
  width: 40px;
  height: 4px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===================================
   News Section
   =================================== */
.news-list {
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #e8e8e8;
}

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

.news-date {
  flex: 0 0 auto;
  min-width: 180px;
  white-space: nowrap;
  font-size: 12px;
  color: var(--accent);
  font-family: var(--font-en);
  font-weight: 600;
}
.news-date-end {
  font-size: 12px;
  color: var(--accent);
  font-family: var(--font-en);
  font-weight: 600;
}

.news-content {
  flex: 1;
  font-size: 14px;
  color: #e63300;
  line-height: 1.6;
}

/* .news-mark is defined below in Blog Archive section */

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #cc2900; transform: translateY(-3px); }
.btn-outline {
  border: 1px solid rgba(58,58,58,0.5);
  color: rgba(58,58,58,0.7);
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-outline:hover {
  border-color: #3a3a3a;
  color: #fff;
  background: #3a3a3a;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(58,58,58,0.2);
}
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.btn-white-transparent { background: rgba(255, 255, 255, 0.5); color: var(--primary); border: none; }
.btn-white-transparent:hover { background: #fff; opacity: 1; transform: translateY(-3px); }
.btn-outline-black {
  border: 1px solid #000;
  color: #000;
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-outline-black:hover {
  background: #000;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.btn-outline-white { border: 2.5px solid #fff; color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--primary); transform: translateY(-3px); }

/* ===================================
   Cards
   =================================== */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px) rotate(-0.5deg);
  box-shadow: var(--shadow-hover);
}

.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-tag {
  display: inline-block;
  width: fit-content;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  font-family: var(--font-en);
}

.card-tag-design { background: #e8f4fd; color: #1e6a9e; border-radius: 4px; padding: 2px 10px; font-size: 11px; font-weight: 600; }
.card-tag-web { background: #e8fdf0; color: #1e7a3e; border-radius: 4px; padding: 2px 10px; font-size: 11px; font-weight: 600; }
.card-tag-illust { background: #fff4e0; color: #9a5500; border-radius: 4px; padding: 2px 10px; font-size: 11px; font-weight: 600; }
.card-tag-logo { background: #f3e8ff; color: #6b21a8; border-radius: 4px; padding: 2px 10px; font-size: 11px; font-weight: 600; }
.card-tag-other { background: #f0f0f0; color: #555; border-radius: 4px; padding: 2px 10px; font-size: 11px; font-weight: 600; }
.card-tag-flyer    { background: #fde8e8; color: #b91c1c; border-radius: 4px; padding: 2px 10px; font-size: 11px; font-weight: 600; }
.card-tag-pamphlet { background: #ecfdf5; color: #065f46; border-radius: 4px; padding: 2px 10px; font-size: 11px; font-weight: 600; }
.card-tag-booklet  { background: #eff6ff; color: #1d4ed8; border-radius: 4px; padding: 2px 10px; font-size: 11px; font-weight: 600; }

.card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--primary);
}

.card-text {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===================================
   Grid Layouts
   =================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* ===================================
   Page Hero
   =================================== */
.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 80px 40px;
  margin-top: 80px;
  text-align: center;
}

.page-hero .page-hero-title,
.page-hero-title {
  font-family: var(--font-en);
  font-size: 72px;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 16px;
}

.page-hero .page-hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.15em;
}

/* ===================================
   Hero Grid Slideshow
   =================================== */
/* ===================================
   Hero Slide Section (新）
   =================================== */
.hero-slide-section {
  width: 100%;
  background: #fff;
  padding: 120px 55px 20px;
  box-sizing: border-box;
}

.hero-slide-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.hero-background {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1200;
}

.hero-background img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-panels {
  position: absolute;
  inset: 0;
}

.hero-panel {
  position: absolute;
  background-size: 400%;
  background-repeat: no-repeat;
  opacity: 1;
}

@keyframes panelSlideOut {
  0% { 
    transform: translateX(0) translateY(0);
    opacity: 1;
  }
  30% {
    opacity: 0.7;
  }
  100% { 
    transform: translateX(var(--tx)) translateY(var(--ty));
    opacity: 0;
  }
}










  10% { opacity: 1; }
  100% { bottom: 0; opacity: 1; }
}


  10% { opacity: 1; }
  100% { top: 0; opacity: 1; }
}

@media (max-width: 767px) {
  .hero-slide {
    flex: 0 0 50%;
    width: 50%;
  }
}

.hero-grid-section {
  width: 100%;
  height: 100vh;
  padding: 15px;
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(3, 1fr);
  width: 100%;
  height: 100%;
  gap: 0;
  border: none;
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
  transition: grid-template-columns 0.8s ease, grid-template-rows 0.8s ease;
}

.hero-grid-cell {
  overflow: hidden;
  position: relative;
  background: #fff;
  perspective: 900px;
  border: none;
  outline: none;
  box-shadow: none;
}

.hero-grid-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform-origin: center center;
  padding: 5px;
  border: none;
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .hero-grid-section {
    padding: 10px;
  }
  .hero-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
}

/* ===================================
   Hero Section (Top)
   =================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0d0d0d;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/img-atari01.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  height: 110px;
}

.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
  animation: heroFadeUp 0.8s ease 0.1s both;
}

.hero-catch {
  font-family: var(--font-en);
  font-size: clamp(72px, 14vw, 160px);
  letter-spacing: 0.04em;
  line-height: 0.9;
  margin-bottom: 0;
  animation: heroFadeUp 1s ease 0.3s both;
  -webkit-text-stroke: 2px #fff;
  color: transparent;
}

.hero-catch-fill {
  font-family: var(--font-en);
  font-size: clamp(72px, 14vw, 160px);
  letter-spacing: 0.04em;
  line-height: 0.9;
  color: #fff;
  animation: heroFadeUp 1s ease 0.5s both;
  display: block;
}

.hero-sub {
  font-size: clamp(13px, 1.8vw, 17px);
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.7);
  margin-top: 32px;
  animation: heroFadeUp 1s ease 0.7s both;
  font-weight: 300;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 9px;
  letter-spacing: 0.3em;
  font-family: var(--font-en);
  animation: bounce 2s infinite;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

.hero-tag {
  position: absolute;
  bottom: 48px;
  right: 48px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 10px 20px;
  border-radius: 4px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===================================
   Member Cards
   =================================== */
.member-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.member-card:hover {
  transform: translateY(-10px) rotate(0.5deg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.member-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.member-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.member-card:hover .member-card-img-wrap img {
  transform: scale(1.05);
}

.member-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(230,51,0,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.member-card:hover .member-card-overlay {
  opacity: 1;
}

.member-card-overlay span {
  color: #fff;
  font-size: 12px;
  font-family: var(--font-en);
  letter-spacing: 0.1em;
}

.member-card-body {
  padding: 16px;
}

.member-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.member-card-name-en {
  font-size: 11px;
  font-family: var(--font-en);
  color: var(--text-light);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.member-card-dept {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}

/* ===================================
   Category Tabs / Filter
   =================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-tab {
  padding: 9px 22px;
  border-radius: 50px;
  border: 2px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  background: #fff;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.05);
}

.filter-tab[data-filter="contents"]:hover,
.filter-tab[data-filter="contents"].active {
  background: #bbdefb;
  border-color: #1565c0;
  color: #1565c0;
}

.filter-tab[data-filter="signage"]:hover,
.filter-tab[data-filter="signage"].active {
  background: #e1bee7;
  border-color: #7b1fa2;
  color: #7b1fa2;
}

.filter-tab[data-filter="design"]:hover,
.filter-tab[data-filter="design"].active {
  background: #fce4ec;
  border-color: #c2185b;
  color: #c2185b;
}

.filter-tab[data-filter="booklet"]:hover,
.filter-tab[data-filter="booklet"].active {
  background: #c8e6c9;
  border-color: #388e3c;
  color: #388e3c;
}

/* ===================================
   Works Grid
   =================================== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.works-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: #fff;
}

.works-card:hover {
  transform: translateY(-10px) rotate(-0.5deg);
  box-shadow: var(--shadow-hover);
}

.works-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.works-card:hover .works-card-img {
  transform: scale(1.05);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
  background: linear-gradient(135deg, #FFF8E7 0%, #FFE8C8 100%);
  padding: 80px 40px;
  text-align: center;
  color: #3a2a18;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  display: none;
}

.cta-section::after {
  display: none;
}

.cta-section h2 {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 15px;
  color: rgba(17,17,17,0.75);
  margin-bottom: 48px;
  letter-spacing: 0.05em;
}

/* ===================================
   About Section
   =================================== */
.about-inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-en);
  font-size: 52px;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 24px;
}

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

.about-logo img {
  width: 100%;
  max-width: 300px;
  opacity: 1;
}

/* ===================================
   News / Column List
   =================================== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.news-date {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--accent);
  white-space: nowrap;
  min-width: 180px;
}

.news-cat {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
  font-family: var(--font-en);
}

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

/* ===================================
   Blog / Article Cards
   =================================== */
.article-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: grid;
  grid-template-columns: 200px 1fr;
}

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

.article-card-img {
  width: 200px;
  height: 100%;
  object-fit: cover;
  min-height: 140px;
}

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

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.article-date {
  font-size: 12px;
  color: var(--text-light);
  font-family: var(--font-en);
}

.article-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--primary);
}

.article-card-excerpt {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===================================
   Member Detail Page
   =================================== */
.member-detail {
  padding: 80px 0;
}

.member-detail-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.member-detail-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.member-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-detail-name {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.member-detail-name-en {
  font-family: var(--font-en);
  font-size: 20px;
  color: var(--text-light);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.member-detail-dept {
  display: inline-block;
  font-size: 12px;
  margin-bottom: 30px;
}

.member-detail-table {
  width: 100%;
  margin-bottom: 30px;
}

.member-detail-table tr {
  border-bottom: 1px solid var(--border);
}

.member-detail-table th {
  padding: 14px 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  text-align: left;
  width: 120px;
}

.member-detail-table td {
  padding: 14px 0;
  font-size: 14px;
  color: var(--text);
}

.member-bio {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 24px;
  font-size: 14px;
  line-height: 2;
  margin-bottom: 30px;
  border-left: 4px solid var(--accent);
}

/* ===================================
   Profile Table
   =================================== */
.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table tr {
  border-bottom: 1px solid var(--border);
}

.profile-table th {
  padding: 20px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  text-align: left;
  width: 160px;
  vertical-align: top;
}

.profile-table td {
  padding: 20px 0;
  font-size: 15px;
  color: var(--text);
}

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

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.form-label .required {
  color: var(--accent);
  font-size: 10px;
  margin-left: 6px;
  padding: 2px 6px;
  border: 1px solid var(--accent);
  border-radius: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s ease;
  background: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  outline: none;
}

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

.form-error {
  color: var(--accent);
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.form-error.show {
  display: block;
}

.form-submit {
  text-align: center;
}

/* ===================================
   Recruit Page
   =================================== */
.recruit-hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.recruit-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/img-atari02.jpg');
  background-size: cover;
  background-position: center;
}

.recruit-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.7);
}

.recruit-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.recruit-hero-content h1 {
  font-family: var(--font-en);
  font-size: 72px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.job-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  transition: var(--transition);
  border-left: 4px solid var(--accent);
}

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

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

.job-details {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  font-size: 13px;
}

.job-detail-item dt {
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.job-detail-item dd {
  color: var(--text);
  font-size: 16px;
}

/* ===================================
   Privacy Page
   =================================== */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0;
}

.privacy-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.privacy-content p {
  font-size: 14px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 16px;
}

.privacy-content ol, .privacy-content ul {
  padding-left: 1.5em;
  margin-bottom: 16px;
}

.privacy-content li {
  font-size: 14px;
  line-height: 2;
  color: var(--text);
  list-style: decimal;
}

.privacy-content ul li {
  list-style: disc;
}

/* ===================================
   Photo Row Layout (デスクトップ横並び)
   =================================== */
.photo-row {
  display: flex;
  gap: 16px;
  margin: 20px 0;
}

.photo-row img {
  flex: 1;
  object-fit: cover;
  border-radius: var(--radius);
  max-height: 300px;
}

/* ===================================
   Breadcrumb
   =================================== */
.container-pan {
  width: 1200px !important;
  margin: 0 auto;
  padding: 0 40px;
}

.breadcrumb {
  padding: 16px 40px;
  font-size: 12px;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  text-align: left !important;
}

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

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

.breadcrumb span::before {
  content: ' / ';
}

/* ===================================
   More Button
   =================================== */
.more-btn-wrap {
  text-align: center;
  margin-top: 50px;
}

/* ===================================
   Tag Badge
   =================================== */
.tag {
  display: inline-block;
  background: var(--light-bg);
  color: var(--text-light);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  margin: 2px;
}

/* ===================================
   Staff Author
   =================================== */
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
}

.author-dept {
  font-size: 11px;
  color: var(--text-light);
}

/* ===================================
   Reveal Animation
   =================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 768px) {
  /* Header */
  .site-header {
    padding: 0 20px;
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

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

  .container {
    padding: 0 20px;
  }

  /* Section headers */
  .section-header .en-title {
    font-size: 32px;
  }

  /* Grid */
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  /* Hero */
  .hero-tag { display: none; }
  .hero-catch { -webkit-text-stroke: 1px #fff; }

  /* Page Hero */
  .page-hero {
    padding: 50px 20px;
  }

  .page-hero .page-hero-title,
  .page-hero-title {
    font-size: 48px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 15px;
    column-gap: 15px;
    width: 100%;
  }
  .footer-nav a {
    white-space: normal;
    overflow-wrap: break-word;
  }

  /* About */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-logo {
    display: none;
  }

  /* Member detail */
  .member-detail-inner {
    grid-template-columns: 1fr;
  }

  .member-detail-photo {
    max-width: 300px;
    margin: 0 auto;
  }

  /* Article card */
  .article-card {
    grid-template-columns: 1fr;
  }

  .article-card-img {
    width: 100%;
    height: 200px;
  }

  /* Works grid */
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Job */
  .job-details {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-section {
    padding: 60px 20px;
  }

  /* Photo row */
  .photo-row {
    flex-direction: column;
  }

  /* Breadcrumb */
  .breadcrumb {
    padding: 12px 20px;
  }

  /* Profile table */
  .profile-table th {
    width: 100px;
  }

  /* Recruit hero */
  .recruit-hero-content h1 {
    font-size: 48px;
  }

  /* Footer */
  .site-footer {
    padding: 40px 20px 20px;
  }

  /* Grid 3 -> 1 col on very small */
  .member-grid.grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .hero-catch {
    font-size: 56px;
  }

  .hero-catch-fill {
    font-size: 56px;
  }

  .page-hero .page-hero-title,
  .page-hero-title {
    font-size: 36px;
  }
}

/* ===================================
   Member Grid (Top Page - hito photos)
   =================================== */
.member-grid-wrap {
  padding: 0 100px;
}

/* ===== Trading Card (Pop Style) ===== */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 32px;
}

.hito-card {
  position: relative;
  display: block;
  cursor: pointer;
  aspect-ratio: 2/3;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.4s ease;
}

/* カードごとに色違いのボーダー（nth-child） */
.hito-card:nth-child(5n+1) { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.hito-card:nth-child(5n+2) { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.hito-card:nth-child(5n+3) { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.hito-card:nth-child(5n+4) { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.hito-card:nth-child(5n+0) { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

.hito-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 10;
}


.hito-card .hito-a {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  border-radius: 0;
}

/* 線画：白フェード後に表示 */
.hito-card .hito-b {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.4s ease 0.15s;
  border: none;
  border-radius: 0;
}

.hito-card:hover .hito-b {
  opacity: 1;
}

/* 名前エリア（常時表示） */
.hito-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  padding: 28px 12px 14px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hito-card:hover .hito-card-info {
  opacity: 1;
}

.hito-card-name {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}

.hito-card-dept {
  font-size: 10px;
  opacity: 0.85;
  line-height: 1.4;
}

/* accent-line 非表示 */
.accent-line {
  display: none;
}

@media (max-width: 1024px) {
  .member-grid-wrap {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .member-grid-wrap {
    padding: 0 16px;
  }
  .member-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================================
   Gallery Grid (OZ PROJECT top)
   =================================== */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 0;
  position: relative;
  margin-top: 30px;
  margin-bottom: 30px;
  align-items: center;
}

.gallery-item {
  width: 240px;
  flex-shrink: 0;
  overflow: visible;
  border-radius: 6px;
  display: block;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
  margin-top: 20px;
  margin-bottom: 20px;
  height: auto;
}

.gallery-item img {
  width: 240px;
  display: block;
  object-fit: contain;
  height: auto;
  filter: drop-shadow(4px 4px 1px rgba(0,0,0,0.5));
}

.gallery-item:hover {
  transform: scale(1.06);
  opacity: 0.88;
}

.gallery-next-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--accent);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(230,51,0,0.2), 0 6px 20px rgba(230,51,0,0.4);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  border: none;
  margin-top: 20px;
  animation: btnBounce 1s ease-in-out infinite;
}

.gallery-next-btn:hover {
  transform: scale(1.2) rotate(10deg);
  box-shadow: 0 0 0 8px rgba(230,51,0,0.2), 0 10px 30px rgba(230,51,0,0.5);
}

@keyframes btnBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ===================================
   Pedia Cards (OZ PEDIA top) - 横並び
   =================================== */
.pedia-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pedia-card {
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  overflow: hidden;
}

.pedia-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.13);
}

.pedia-card-img {
  width: 300px;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  flex-shrink: 0;
}

.pedia-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.pedia-card-body .card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--primary);
}

.pedia-card-body .card-text {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
}

.pedia-card-body .card-date {
  font-size: 11px;
  color: var(--text-light);
  font-family: var(--font-en);
}

/* ===================================
   Blog Cards (OZ PERSONAL top) - 3列
   =================================== */
.blog-top-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-top-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  display: block;
}

.blog-top-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.13);
}

.blog-top-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.blog-top-card-body {
  padding: 14px 16px;
}

.blog-top-card-date {
  font-size: 11px;
  color: var(--text-light);
  font-family: var(--font-en);
  margin-bottom: 6px;
  display: block;
}

.blog-top-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .pedia-grid { grid-template-columns: 1fr; }
  .pedia-card { flex-direction: column; }
  .pedia-card-img { width: 100%; height: 200px; object-fit: cover; }
  .blog-top-grid { grid-template-columns: 1fr; }
  .gallery-item { width: 160px; }
  .gallery-item img { width: 160px; height: auto; }
  .recruit-grid { grid-template-columns: 1fr !important; }
}

/* en-title 文字アニメーション */
@keyframes letterPop {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.35); }
}

.en-title .char {
  display: inline-block;
  animation: letterPop 3s ease-in-out infinite;
}

/* pedia-card ズームホバー */
.pedia-card:hover .pedia-card-img {
  transform: scale(1.08);
}
.blog-top-card { overflow: hidden; }
.blog-top-card-img {
  transition: transform 0.4s ease;
}
.blog-top-card:hover .blog-top-card-img {
  transform: scale(1.08);
}

/* P possibilities */
#p-possibilities {
  padding: 80px 0;
}

.p-possibilities-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.p-possibilities-heading {
  position: relative;
  text-align: center;
  margin-bottom: 44px;
  padding: 32px 20px 0;
}

.p-possibilities-watermark {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: clamp(120px, 22vw, 240px);
  line-height: 0.8;
  color: rgba(92, 143, 168, 0.08);
  pointer-events: none;
  user-select: none;
}

.p-possibilities-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-en);
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 0.03em;
  color: #111;
  font-weight: 900;
}

.p-possibilities-title-accent {
  color: #5c8fa8;
}

.p-possibilities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.p-possibility-card {
  position: relative;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 17, 17, 0.08);
  padding: 30px 26px 28px;
  min-height: 240px;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.p-possibility-card::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 4px;
  background: #5c8fa8;
  transition: width 0.35s ease;
}

.p-possibility-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(17, 17, 17, 0.1);
}

.p-possibility-card:hover::after {
  width: 100%;
}

.p-possibility-letter {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-en);
  font-size: clamp(48px, 5vw, 60px);
  line-height: 1;
  color: #5c8fa8;
}

.p-possibility-word {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.p-possibility-text {
  font-size: 14px;
  line-height: 1.9;
  color: #666;
}

.p-possibilities-closing {
  max-width: 760px;
  margin: 42px auto 0;
  padding: 20px 24px;
  border-top: 1px solid #5c8fa8;
  border-bottom: 1px solid #5c8fa8;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 2;
  color: #444;
}

@media (max-width: 900px) {
  .p-possibilities-grid {
    grid-template-columns: 1fr;
  }

  .p-possibility-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  #p-possibilities {
    padding: 80px 0;
  }

  .p-possibilities-heading {
    margin-bottom: 34px;
    padding-top: 18px;
  }

  .p-possibilities-title {
    font-size: clamp(28px, 9vw, 44px);
  }

  .p-possibilities-closing {
    padding: 16px 18px;
    font-size: 14px;
    text-align: left;
  }
}

/* Preloader SVG animations */
#preloader {
  cursor: pointer;
}

#preloader svg {
  width: 90vw;
  max-width: 900px;
  height: auto;
}

@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}

@keyframes wobbleText {
  0%   { transform: translate(0, 0) rotate(0deg); }
  20%  { transform: translate(-3px, -2px) rotate(-1deg); }
  40%  { transform: translate(3px, 2px) rotate(1deg); }
  60%  { transform: translate(-2px, 3px) rotate(-0.5deg); }
  80%  { transform: translate(2px, -1px) rotate(0.8deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* ===================================
   Works Detail — Staff Photo
   =================================== */
.staff-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 8px;
  border: 2px solid #e0e0e0;
}

.staff-photo-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8e8e8;
  display: block;
  margin: 0 auto 8px;
}

/* ===================================
   Member Carousel (Top Page 5-person)
   =================================== */
.member-carousel-section {
  overflow: visible;
}

.member-carousel-wrap {
  position: relative;
  height: auto;
  overflow: visible;
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.member-carousel-inner {
  position: relative;
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  transition: none;
}

.carousel-item {
  position: relative;
  width: 100%;
  left: auto;
  top: auto;
  backface-visibility: visible;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(17,17,17,0.35);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-prev { left: 40px; }
.carousel-next { right: 40px; }

.carousel-prev:hover,
.carousel-next:hover { background: var(--accent); }

.carousel-more-btn {
  text-align: center;
  margin-top: 24px;
}

/* ===================================
   Member Card hito-b Hover Image
   =================================== */
.member-card-img-wrap .hito-b-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease 0.2s;
}

.member-card:hover .hito-b-img {
  opacity: 1;
}

/* ===================================
   Member Category Badges & Tags
   =================================== */
.dept-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.dept-badge.dept-creative   { background: #43A047; }
.dept-badge.dept-project    { background: #7B1FA2; }
.dept-badge.dept-print      { background: #283593; }
.dept-badge.dept-corporate  { background: #C2185B; }
.dept-badge.dept-orion      { background: #6D4C41; }
.dept-badge.dept-wiz       { background: #00897B; }
.dept-badge.dept-ec-growth { background: #F4511E; }

.course-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  color: #fff;
  margin-left: 4px;
  margin-bottom: 4px;
}
.course-tag.course-print    { background: #0288D1; }
.course-tag.course-ec       { background: #F59E0B; color: #111; }

.member-card-role {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
}

/* ===================================
   Google Fonts: Montserrat
   =================================== */
.montserrat {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* ===================================
   Hero Logo Cell
   =================================== */
.hero-logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 4px;
  grid-column: span 2;
}

.hero-logo-cell:nth-child(9) {
  display: none;
}

.hero-logo-img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}


/* ===================================
   Works Detail 2-column layout
   =================================== */
.works-detail-2col-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  height: calc(100vh - 70px);
  overflow: hidden;
}

.works-detail-left {
  overflow-y: auto;
  height: 100%;
  padding: 48px 56px;
}

.works-detail-right {
  overflow-y: auto;
  height: 100%;
  padding: 48px 36px;
  border-left: 1px solid #e8e8e8;
  background: #fafafa;
}

.works-detail-category-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.works-detail-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 32px;
  color: #111;
}

.works-detail-eyecatch {
  width: 60%;
  border-radius: 8px;
  margin: 0 auto 32px;
  display: block;
}

.works-detail-body {
  font-size: 15px;
  line-height: 2;
  color: #333;
  margin-bottom: 40px;
}

.works-detail-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.works-detail-photo-item {
  background: #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
}

.works-detail-photo-item img {
  width: 100%;
  height: auto;
  display: block;
}

.works-detail-staff-section {
  margin-bottom: 40px;
}

.works-detail-staff-section h2 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #888;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8e8e8;
}

.works-detail-staff-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.works-detail-staff-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.works-detail-staff-item img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0e0e0;
  flex-shrink: 0;
}

.works-detail-staff-label {
  margin-bottom: 8px;
}

.works-detail-staff-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  padding: 6px 10px;
  margin: -6px -10px;
  border-radius: 8px;
  transition: background-color 0.25s ease;
}
.works-detail-staff-link:hover {
  background-color: #e3e3e3;
}

.works-detail-staff-info dt {
  font-size: 10px;
  color: #aaa;
  margin-bottom: 2px;
}

.works-detail-staff-info dd {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.works-detail-comment-section h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #888;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8e8e8;
}

.works-detail-comment-box {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  font-style: italic;
}

.works-detail-back-btn {
  margin-top: 32px;
}

.works-detail-back-btn a:hover {
  color: #fff !important;
  background-color: #333;
  border-color: #333;
}

@media (max-width: 900px) {
  .works-detail-2col-wrapper {
    display: block;
    height: auto;
    overflow: visible;
  }
  .works-detail-left,
  .works-detail-right {
    height: auto;
    overflow: visible;
    padding: 32px 20px;
  }
  .works-detail-right {
    border-left: none;
    border-top: 1px solid #e8e8e8;
  }
}

/* ===================================
   Member Detail - Button Height Align
   =================================== */
.member-detail-btn-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.member-detail-btn-wrap .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  text-align: center;
}

.member-detail .btn {
  display: inline-flex;
  height: 52px;
  padding-top: 0;
  padding-bottom: 0;
  align-items: center;
  align-self: center;
}

/* ===== Column List (OZ Pedia) ===== */
.column-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 32px 0;
}
.column-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.column-card:hover { opacity: 0.8; }
.column-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.column-card-tag {
  display: inline-block;
  width: fit-content;
  background: #f4c7bc;
  color: #c0392b;
  font-size: 11px;
  padding: 2px 8px;
  margin-top: 8px;
  border-radius: 4px;
}
.column-card-title {
  font-size: 14px;
  margin-top: 6px;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .column-list { grid-template-columns: 1fr; }
}

/* ===================================
   Blog Archive Grid
   =================================== */
.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 32px 0;
}
.blog-archive-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.blog-archive-card:hover { opacity: 0.8; }
.blog-archive-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
.blog-archive-body { padding: 10px 0; }
.blog-archive-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 6px;
}
@media (max-width: 768px) {
  .blog-archive-grid { grid-template-columns: 1fr; }
}

/* ===================================
   News Mark (blue circle)
   =================================== */
.news-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e63300;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  flex: 0 0 auto;
  margin-right: 10px;
  line-height: 1;
}

/* ===================================
   OZ Pedia カテゴリー色
   =================================== */
.column-item[data-category="contents"] .column-card-tag { background: #bbdefb; color: #1565c0; }
.column-item[data-category="signage"] .column-card-tag { background: #e1bee7; color: #7b1fa2; }
.column-item[data-category="design"] .column-card-tag { background: #fce4ec; color: #c2185b; }
.column-item[data-category="booklet"] .column-card-tag { background: #c8e6c9; color: #388e3c; }

/* ===================================
   固定お問い合わせボタン (item 42)
   =================================== */
.fixed-contact-btn {
  display: none;
}
@media (max-width: 768px) {
  .fixed-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    box-sizing: border-box;
    background: #e63300;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    z-index: 9999;
    text-decoration: none;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
  }
  /* 固定ボタンの分だけbodyのpaddingを追加 */
  body {
    padding-bottom: 52px;
  }
  /* item ⑪: ハンバーガーメニュー展開時はお問い合わせボタンを隠す */
  body.menu-open .fixed-contact-btn {
    display: none;
  }
}

/* ===================================
   スマホ追加CSS (修正指示34)
   =================================== */
@media (max-width: 768px) {
  /* item 13: ヒーロースライド横幅100% */
  .hero-slide-section {
    width: 100%;
    height: 56.25vw;
    padding: 0 25px;
    margin-top: 100px;
  }
  .hero-slide-container {
    border-radius: 20px;
    height: 100%;
  }

  /* item 14: お知らせレイアウト変更 */
  .news-item {
    flex-wrap: wrap;
    gap: 8px;
  }
  .news-content {
    width: 100%;
    flex: none;
  }

  /* item 16: p-possibilities-title 24px 左詰め */
  .p-possibilities-title {
    font-size: 24px !important;
    text-align: left;
  }

  /* item 17: page-hero-title 24px 左詰め */
  .page-hero .page-hero-title,
  .page-hero-title {
    font-size: 24px !important;
    text-align: left;
  }
  .page-hero {
    text-align: left !important;
  }

  /* item 18: page-hero-sub 12px 左詰め */
  .page-hero .page-hero-sub {
    font-size: 12px !important;
    text-align: left;
  }

  /* item 19: gallery-next-btn ぼかし削除 */
  .gallery-next-btn {
    filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }

  /* item 21: en-title 24px 左詰め */
  .section-header .en-title {
    font-size: 24px !important;
    text-align: left;
    margin: 0;
  }
  .section-header {
    text-align: left;
  }

  /* item 22: member-carousel 横2列 */
  .member-carousel-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  /* item 23: OZ PEDIA 横2列 */
  .pedia-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .pedia-card {
    flex-direction: column !important;
  }
  .pedia-card-img {
    width: 100% !important;
    height: 160px !important;
  }

  /* item 24: cta-section 左詰め */
  .cta-section {
    text-align: left !important;
  }

  /* item 25: cta-section h2 18px */
  .cta-section h2 {
    font-size: 18px !important;
  }

  /* item 26: cta-section p 14px */
  .cta-section p {
    font-size: 14px !important;
  }

  /* item 27: フッターメニュー センター */
  .footer-nav {
    justify-content: center;
    text-align: center;
  }
  .footer-nav a .ja {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* item 28: page-hero パディング20px */
  .page-hero {
    padding: 20px 20px !important;
  }

  /* item 29: section-heading 24px 左詰め */
  .section-heading {
    font-size: 24px !important;
    text-align: left;
  }

  /* item 30: about-text h2 24px 左詰め */
  .about-text h2 {
    font-size: 24px !important;
    text-align: left;
  }

  /* item 31: VISION・PRESIDENT 20px */
  .profile-section-heading,
  .about-vision h3,
  .about-president h3 {
    font-size: 20px !important;
  }

  /* item 32: member-grid 横2列 */
  .member-grid.grid-4,
  .grid-4.member-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* item 32: OUR DIV. toggle スタイル */
  .our-div-toggle-wrap {
    display: block !important;
    padding: 12px 20px;
    border-bottom: 1px solid #e8e8e8;
  }
  .our-div-btn {
    width: 100%;
    padding: 12px 16px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
  }
  .our-div-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
  }
  .filter-tab-mobile {
    width: 100%;
    padding: 10px 16px;
    text-align: left;
    border: 1px solid #e8e8e8;
    background: #fff;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
  }
  .filter-tab-mobile.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }
  /* スマホ時は既存の filter-tabs を非表示 */
  .filter-tabs {
    display: none;
  }

  /* item 33: member-detail padding-top 0 */
  .member-detail {
    padding-top: 0 !important;
  }

  /* item 34: 社員詳細 2カラム→1カラム */
  .member-detail-table {
    display: block;
  }
  .member-detail-table tr {
    display: block;
    margin-bottom: 8px;
  }
  .member-detail-table th {
    display: block;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    padding-bottom: 4px;
    width: auto;
  }
  .member-detail-table td {
    display: block;
    padding-top: 0;
    font-size: 14px;
  }

  /* item 35: page-hero-detail 非表示 */
  .page-hero-detail {
    display: none !important;
  }

  /* item 36: 社員詳細ボタン 横幅100% */
  .member-detail-btn-wrap .btn {
    width: 100%;
  }
  .member-detail-btn-wrap {
    width: 100%;
  }

  /* item 37: Let's join us! 24px 左詰め */
  .recruit-catchcopy,
  .recruit-hero-content h1,
  .letsjoinus-title {
    font-size: 24px !important;
    text-align: left !important;
  }

  /* item 38: 採用テキスト 左詰め */
  .recruit-grid {
    text-align: left !important;
  }

  /* item 39: 前後記事ナビ 縦1列 */
  .article-nav,
  .post-nav {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .article-nav .btn,
  .post-nav .btn {
    width: 100% !important;
    justify-content: center;
  }

  /* item 40: article-detail パディング20px */
  .article-detail {
    padding: 20px !important;
  }

  /* item 41: 作品一覧戻るボタン 横幅100% */
  .works-detail-back-btn .btn,
  .works-back-btn .btn {
    width: 100% !important;
    justify-content: center;
  }

  /* item 9: 採用ページテキスト 左詰め */
  .recruit-intro-text {
    text-align: left !important;
  }
}

/* item 31: profile profile-section-heading インラインh3対応 */
@media (max-width: 768px) {
  .section h3[style*="OZ PRINTING VISION"],
  .section h3[style*="MESSAGE FROM PRESIDENT"] {
    font-size: 20px !important;
  }
}

/* 修正指示35: スマホ余白・グリッド調整 */
@media (max-width: 768px) {
  #news { padding: 0 !important; }
  #p-possibilities { padding: 20px 0 40px; }
  .gallery-grid { margin-top: 0; margin-bottom: 0; }
  .section-header { margin-bottom: 20px; }
  .blog-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .column-list { grid-template-columns: repeat(2, 1fr); }
  #blog, #column { padding: 40px 0 !important; }
  #works { padding: 40px 0 0 !important; }
}

/* 修正指示36: スマホ追加調整 */
@media (max-width: 768px) {
  .mobile-nav li:has(a[href*="contact"]) { display: none; }
  .member-detail .btn { width: 100%; justify-content: center; }
  .gallery-grid { column-gap: 20px; }
  .footer-brands { padding-left: 0; padding-right: 0; }
}

/* cta-section ボタン スマホ全幅・センター */
@media (max-width: 768px) {
  .cta-section .btn { width: 100%; justify-content: center; }
}

/* 社員紹介アーカイブ スマホ2列 */
@media (max-width: 768px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}

/* 制作事例アーカイブ スマホ上下余白0 */
@media (max-width: 768px) {
  .works-archive { padding: 0; }
}

/* ブログ・コラムアーカイブ スマホ上下余白0 */
@media (max-width: 768px) {
  .blog-archive,
  .column-archive { padding: 0; }
}

/* 社員紹介アーカイブ カテゴリバッジ スマホ8px */
@media (max-width: 768px) {
  .dept-badge, .course-tag { font-size: 8px; }
}

/* 社員紹介アーカイブ CTAボタン間隔 スマホ15px */
@media (max-width: 768px) {
  .cta-section .btn-white { margin-right: 0 !important; margin-bottom: 15px; }
}

/* item 9: works-detail-eyecatch スマホ幅100% */
@media (max-width: 768px) {
  .works-detail-eyecatch {
    width: 100%;
  }
}

@media (min-width: 769px) {
  .job-detail-item { grid-template-columns: 1fr 5fr !important; }
}

/* item ⑨: 採用情報カード内文字 -2px (スマホ) */
@media (max-width: 768px) {
  .job-card { font-size: 13px; }
  .job-card .job-title { font-size: 18px; }
  .job-card .job-detail-item dt { font-size: 16px; }
  .job-card .job-detail-item dd { font-size: 13px; }
  .job-card .job-details { font-size: 11px; }
}

/* 修正指示49: 制作事例一覧スマホ2列 */
@media (max-width: 768px) {
  #worksGrid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  #worksGrid .gallery-item {
    width: 100%;
  }
  #worksGrid .gallery-item img {
    width: 100%;
    height: auto;
  }
}

/* 修正指示50: works-detail-staff-comment 上下余白 */
.works-detail-staff-comment {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* 修正指示50: 作品一覧へ戻るボタン 丸枠 */
.works-detail-back-btn {
  display: block;
  margin-top: 16px;
}
.works-detail-back-btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 2px solid #111;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.works-detail-back-btn-link:hover {
  background: #111;
  color: #fff;
}
@media (max-width: 768px) {
  .works-detail-back-btn-link {
    width: 100%;
    box-sizing: border-box;
  }
}

/* 制作事例 デスクトップ4列・センター配置 */
@media (min-width: 769px) {
  #worksGrid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px !important;
  }
  #worksGrid .gallery-item {
    flex: 0 0 calc(25% - 12px);
    max-width: calc(25% - 12px);
    width: calc(25% - 12px);
  }
  #worksGrid .gallery-item img {
    width: 100%;
    height: auto;
  }
}
