/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-100: #f7f7f7;
  --gray-200: #e8e8e8;
  --gray-400: #999999;
  --gray-600: #555555;
  --font-serif: 'Cormorant Garamond', 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', 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-sans);
  color: var(--black);
  background: var(--white);
  line-height: 1.8;
  font-weight: 300;
  overflow-x: hidden;
}

img { width: 100%; height: 100%; object-fit: cover; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }

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

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  transition: background var(--transition), padding var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 14px 40px;
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.15em;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
}
.logo-sub {
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  margin-top: 3px;
  color: var(--gray-400);
}

.global-nav { display: flex; align-items: center; gap: 32px; }

.nav-list { display: flex; gap: 28px; }
.nav-list a {
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  opacity: 0.8;
  transition: opacity var(--transition);
}
.nav-list a:hover { opacity: 1; }

.nav-lang { display: flex; align-items: center; gap: 6px; color: var(--white); font-size: 0.7rem; }
.lang-btn { color: var(--white); opacity: 0.5; transition: opacity var(--transition); }
.lang-btn.active { opacity: 1; }

.lp-btn-header {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 8px 22px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  transition: background var(--transition), color var(--transition);
}
.lp-btn-header:hover { background: var(--white); color: var(--black); }

.entry-btn-header {
  color: var(--white);
  border: 1px solid var(--white);
  padding: 8px 22px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  transition: background var(--transition), color var(--transition);
}
.entry-btn-header:hover { background: var(--white); color: var(--black); }

.hamburger { display: none; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 1px; background: var(--white); transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-nav-list { text-align: center; }
.mobile-nav-list li { margin: 16px 0; }
.mobile-nav-list a {
  color: var(--white);
  font-size: 1.2rem;
  letter-spacing: 0.15em;
}

.entry-btn-mobile {
  color: var(--white);
  border: 1px solid var(--white);
  padding: 12px 40px;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-yt-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-yt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  border: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.hero-catch {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  letter-spacing: 0.3em;
  margin-top: 16px;
  opacity: 0.8;
  font-style: italic;
}

.hero-entry-btn {
  margin-top: 40px;
  display: inline-block;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 14px 48px;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  transition: background var(--transition), color var(--transition);
}
.hero-entry-btn:hover { background: var(--white); color: var(--black); }

/* =============================================
   AWARD BANNER
   ============================================= */
.section-award-banner {
  padding: 40px 0;
  background: var(--white);
}

.award-banner-link {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  transition: opacity 0.3s ease;
}
.award-banner-link:hover { opacity: 0.75; }

.award-banner-inner {
  width: 100%;
  overflow: hidden;
}

.award-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .section-award-banner { padding: 20px 0; }
  .award-banner-link { padding: 0 20px; }
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: var(--white);
  animation: scrollDown 1.5s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollDown {
  0% { transform: scaleY(0); opacity: 1; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Fade-in animations */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeUp 0.9s ease forwards; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   SECTION COMMONS
   ============================================= */
.section-header { margin-bottom: 60px; }
.section-en {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.section-ja {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.08em;
}
.section-header.white .section-en,
.section-header.white .section-ja { color: var(--white); }

.view-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  margin-top: 40px;
  transition: opacity var(--transition);
}
.view-more-link:hover { opacity: 0.6; }
.view-more-link.white { color: var(--white); border-color: var(--white); }

/* =============================================
   INFORMATION
   ============================================= */
.section-info {
  padding: 100px 0;
  background: var(--gray-100);
}

.info-list { border-top: 1px solid var(--gray-200); }

.info-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}

.info-date {
  font-size: 0.8rem;
  color: var(--gray-400);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.info-tag {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--black);
  padding: 2px 10px;
  white-space: nowrap;
}

.info-title {
  font-size: 0.9rem;
  font-weight: 300;
  transition: opacity var(--transition);
}
.info-title:hover { opacity: 0.6; }

/* =============================================
   MASUDA NEWS (TOPICS)
   ============================================= */
.section-topics {
  padding: 72px 0 80px;
  background: #fff;
}

.news-header {
  margin-bottom: 36px;
}

.news-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
}

.news-subtitle {
  font-size: 0.78rem;
  color: var(--gray-600);
  letter-spacing: 0.04em;
}

.news-body {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: stretch;
}

/* Featured */
.news-featured {
  display: flex;
  flex-direction: column;
}

.news-featured-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}
.news-featured-link:hover { opacity: 0.82; }

.news-featured-img {
  width: 100%;
  flex: 1;
  min-height: 200px;
  overflow: hidden;
}
.news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-featured-title {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--black);
  margin-top: 16px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

/* List */
.news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-list-item {
  flex: 1;
  border-bottom: 1px solid #c8c4bc;
  display: flex;
  align-items: center;
}
.news-list-item:first-child {
  border-top: 1px solid #c8c4bc;
}

.news-list-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  width: 100%;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}
.news-list-link:hover { opacity: 0.7; }

.news-list-thumb {
  flex-shrink: 0;
  width: 140px;
  height: 94px;
  overflow: hidden;
}
.news-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-list-title {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--black);
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 960px) {
  .news-body { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .section-topics { padding: 48px 0 56px; }
  .news-list-thumb { width: 90px; height: 62px; }
}

/* =============================================
   SERVICE BLOCKS
   ============================================= */
.service-blocks { background: var(--white); }
.service-block { border-top: 1px solid var(--gray-200); }

/* ---- Hero ---- */
.service-hero {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}
.service-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}
.service-hero-title {
  position: absolute;
  top: 50%;
  left: 60px;
  transform: translateY(-50%);
  color: var(--white);
}
.service-en {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 7.5vw, 8rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.0;
  display: block;
}
.service-ja {
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  opacity: 0.9;
  margin-top: 12px;
  display: block;
}

/* ---- Content layout ---- */
.service-content {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 0;
  padding: 80px 0 80px 60px;
  align-items: center;
}

/* ---- Text side (left column) ---- */
.service-text {
  padding-right: 48px;
}
.service-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 28px;
}
.service-body {
  font-size: 0.875rem;
  line-height: 2;
  color: var(--gray-600);
  margin-bottom: 12px;
}
.service-mice {
  font-size: 0.8rem;
  line-height: 2;
  color: var(--gray-400);
  margin-top: 8px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--black);
  border: 1px solid var(--black);
  padding: 10px 24px;
  margin-top: 32px;
  text-decoration: none;
  border-radius: 100px;
  transition: background var(--transition), color var(--transition);
}
.service-link:hover { background: var(--black); color: var(--white); }

/* ---- Slider side (right column) ---- */
.service-slider-wrap {
  position: relative;
}

.service-image-frame {
  position: relative;
  width: 100%;
  height: 560px;
}

.service-swiper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.service-swiper .swiper-slide {
  position: relative;
  height: 100%;
}

.service-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Caption overlay — bottom gradient inside slide */
.service-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 64px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}
.service-slide-title {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 8px;
}
.service-slide-desc {
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
}

/* Arrow buttons */
.service-swiper .swiper-button-prev,
.service-swiper .swiper-button-next {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: 0;
  top: 50%;
  margin-top: 0;
  transform: translateY(-50%);
}
.service-swiper .swiper-button-prev::after,
.service-swiper .swiper-button-next::after {
  font-size: 12px;
  color: var(--black);
  font-weight: 700;
}
.service-swiper .swiper-button-prev { left: 0; }
.service-swiper .swiper-button-next { right: 0; }

/* Pagination dots */
.service-slider-wrap > .swiper-pagination {
  position: static !important;
  display: flex;
  margin-top: 12px;
}
.service-slider-wrap > .swiper-pagination .swiper-pagination-bullet {
  width: 6px; height: 6px;
  background: var(--gray-200);
  opacity: 1;
  border-radius: 50%;
  margin: 0 3px;
}
.service-slider-wrap > .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--black);
}

/* Responsive */
@media (max-width: 900px) {
  .service-hero { height: 260px; }
  .service-hero-title { left: 24px; }
  .service-en { font-size: clamp(2.4rem, 10vw, 4rem); }
  .service-content { grid-template-columns: 1fr; padding: 48px 24px; }
  .service-text { padding-right: 0; margin-bottom: 40px; }
  .service-image-frame { height: 360px; }
}

/* =============================================
   INTERVIEW BANNER
   ============================================= */
.section-interview-banner {
  position: relative;
  height: 85vh;
  min-height: 600px;
  overflow: hidden;
}

.interview-banner-bg {
  position: absolute;
  inset: 0;
}
.interview-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.interview-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.interview-banner-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 80px 80px 72px 80px;
}

.interview-banner-main {
  max-width: 540px;
}

.interview-banner-label {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
}

.interview-banner-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 40px;
}

.interview-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.65);
  padding: 12px 32px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  border-radius: 100px;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
}
.interview-banner-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.9);
}

.interview-banner-quote {
  align-self: flex-end;
  text-align: right;
  max-width: 420px;
}

.interview-quote-inner {
  margin-bottom: 12px;
}

.interview-quote-open,
.interview-quote-close {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.75);
  display: inline;
  vertical-align: top;
}
.interview-quote-close {
  vertical-align: bottom;
}

.interview-quote-text {
  display: inline;
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  line-height: 1.9;
  color: var(--white);
  letter-spacing: 0.02em;
}

.interview-quote-name {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .section-interview-banner { height: auto; min-height: 80vh; }
  .interview-banner-body { padding: 60px 24px 56px; }
  .interview-banner-quote { align-self: flex-start; text-align: left; }
}

/* =============================================
   ABOUT
   ============================================= */
.section-about { padding: 120px 0; overflow: hidden; }

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.about-image img { transition: transform 0.8s ease; }
.about-image:hover img { transform: scale(1.04); }

.about-text {}

.about-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  line-height: 1.7;
  margin: 24px 0 20px;
}

.about-body {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  margin-top: 32px;
  transition: opacity var(--transition);
}
.text-link:hover { opacity: 0.6; }

/* =============================================
   WORKS
   ============================================= */
.section-works { padding: 100px 0; background: var(--white); }

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

.works-card {
  display: block;
  position: relative;
  overflow: hidden;
}

.works-card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.works-card-img img { transition: transform 0.7s ease; }
.works-card:hover .works-card-img img { transform: scale(1.06); }

.works-card:nth-child(4),
.works-card:nth-child(5) {
  grid-column: span 1;
}

.works-grid .works-card:nth-child(4) { grid-column: 1 / 2; }
.works-grid .works-card:nth-child(5) { grid-column: 2 / 3; }

/* Make row 2 be 2 cards + offset */
@media (min-width: 768px) {
  .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.works-card-body {
  padding: 20px 0;
}

.works-en {
  font-family: var(--font-serif);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gray-400);
}

.works-ja {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 4px 0 10px;
  letter-spacing: 0.05em;
}

.works-card-body p {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.9;
}

/* =============================================
   WELFARE
   ============================================= */
.section-welfare {
  position: relative;
  padding: 120px 0;
  color: var(--white);
  overflow: hidden;
}

.welfare-bg {
  position: absolute;
  inset: 0;
}
.welfare-bg img { height: 100%; }
.welfare-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.section-welfare .container { position: relative; z-index: 1; }

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

.welfare-item { }

.welfare-icon {
  margin-bottom: 16px;
  opacity: 0.7;
}

.welfare-item h3 {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.welfare-item p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
}

/* =============================================
   INTERVIEW
   ============================================= */
.section-interview { padding: 100px 0; background: var(--gray-100); }

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

.interview-card { display: block; }

.interview-card-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.interview-card-img img { transition: transform 0.7s ease; }
.interview-card:hover .interview-card-img img { transform: scale(1.05); }

.interview-dept {
  position: absolute;
  bottom: 0; left: 0;
  background: var(--black);
  color: var(--white);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  padding: 6px 14px;
}

.interview-card-body { padding: 20px 0; }

.interview-quote {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.interview-name {
  font-size: 0.85rem;
  font-weight: 400;
}
.interview-name span { color: var(--gray-400); font-size: 0.75rem; }

.interview-year { font-size: 0.75rem; color: var(--gray-400); margin-top: 4px; }

/* =============================================
   FAQ
   ============================================= */
.section-faq { padding: 100px 0; }

.faq-list { border-top: 1px solid var(--gray-200); }

.faq-item { border-bottom: 1px solid var(--gray-200); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  text-align: left;
  gap: 16px;
}

.faq-icon { flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease, padding var(--transition);
  padding: 0;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 24px; }

.faq-answer p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 2;
}

/* =============================================
   CTA
   ============================================= */
.section-cta {
  background: var(--black);
  padding: 120px 40px;
  text-align: center;
  color: var(--white);
}

.cta-en {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.cta-ja {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-entry-btn {
  display: inline-block;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 16px 60px;
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  transition: background var(--transition), color var(--transition);
}
.cta-entry-btn:hover { background: var(--white); color: var(--black); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
  line-height: 1;
}
.footer-logo .logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.15em;
}
.footer-logo .logo-sub {
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  margin-top: 4px;
  color: var(--gray-400);
}

.footer-nav-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-nav-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.footer-nav-col ul li { margin-bottom: 10px; }
.footer-nav-col a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.footer-nav-col a:hover { color: var(--white); }

.footer-sns {
  display: flex;
  gap: 20px;
  margin-bottom: 48px;
}

.sns-link {
  color: var(--white);
  opacity: 0.6;
  transition: opacity var(--transition);
}
.sns-link:hover { opacity: 1; }

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

.copyright { font-size: 0.72rem; color: var(--gray-400); }

.footer-policy {
  display: flex;
  gap: 24px;
}
.footer-policy a {
  font-size: 0.72rem;
  color: var(--gray-400);
  transition: color var(--transition);
}
.footer-policy a:hover { color: var(--white); }

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-content {
  background: var(--white);
  width: min(540px, 90vw);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition);
}
.modal-overlay.open .modal-content { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 1.2rem;
  color: var(--gray-400);
  transition: color var(--transition);
}
.modal-close:hover { color: var(--black); }

.modal-inner { padding: 60px 50px; }

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 32px;
}

.modal-btns { display: flex; flex-direction: column; gap: 12px; }

.modal-entry-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border: 1px solid var(--gray-200);
  transition: border-color var(--transition), background var(--transition);
}
.modal-entry-btn:hover { border-color: var(--black); background: var(--gray-100); }

.modal-btn-label { font-size: 0.95rem; font-weight: 400; }
.modal-btn-sub { font-size: 0.75rem; color: var(--gray-400); margin-left: auto; margin-right: 16px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid .works-card:nth-child(4),
  .works-grid .works-card:nth-child(5) { grid-column: auto; }
  .footer-nav-wrap { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .site-header { padding: 20px 24px; }
  .site-header.scrolled { padding: 12px 24px; }
  .global-nav { display: none; }
  .hamburger { display: flex; }

  .about-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
  .works-grid { grid-template-columns: 1fr; gap: 2px; }
  .welfare-grid { grid-template-columns: 1fr; gap: 36px; }
  .interview-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav-wrap { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

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

  .section-info, .section-works, .section-interview, .section-faq { padding: 70px 0; }
  .section-about, .section-welfare { padding: 80px 0; }
  .section-cta { padding: 80px 24px; }
}

/* =============================================
   事業紹介 BUSINESS SECTION (sticky scroll)
   kumamoto-dock.com 事業紹介を忠実再現
   ============================================= */

/* =============================================
   会社概要ページ (page-company.php)
   j-mpe.com/aboutus/ 準拠
   ============================================= */
.co-page {
  background: #fafaf7;
  min-height: 100vh;
}
.co-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* セクション共通見出し */
.co-section-head {
  margin-bottom: 56px;
  text-align: center;
}
.co-section-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #8a7a55;
  line-height: 1;
  margin-bottom: 10px;
}
.co-section-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: #999;
}

/* PHILOSOPHY */
.co-philosophy {
  padding: 100px 0 96px;
  background: linear-gradient(180deg, #fafaf7 0%, #f2ede3 100%);
}
.co-philosophy-body {
  text-align: center;
}
.co-philosophy-text {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 400;
  color: #2a2a2a;
  line-height: 2.2;
  letter-spacing: 0.12em;
}

/* CREDO */
.co-credo {
  padding: 96px 0;
  background: #fff;
}
.co-credo-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.9rem;
  color: #888;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 48px;
}
.co-credo-list {
  max-width: 640px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  counter-reset: credo;
}
.co-credo-list li {
  counter-increment: credo;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #e8e4dc;
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  color: #2a2a2a;
  letter-spacing: 0.08em;
}
.co-credo-list li::before {
  content: counter(credo, decimal-leading-zero);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #c9a84c;
  flex-shrink: 0;
  width: 40px;
  text-align: right;
  line-height: 1;
}
.co-credo-list li:first-child { border-top: 1px solid #e8e4dc; }

/* 企業概要 */
.co-overview {
  padding: 96px 0;
  background: #fafaf7;
}
.co-table {
  width: 100%;
  border-collapse: collapse;
}
.co-table th,
.co-table td {
  padding: 22px 32px;
  text-align: left;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  color: #2a2a2a;
  letter-spacing: 0.04em;
  line-height: 1.7;
  border-bottom: 1px solid #e8e4dc;
  vertical-align: top;
}
.co-table tr:first-child th,
.co-table tr:first-child td { border-top: 1px solid #e8e4dc; }
.co-table th {
  width: 160px;
  font-weight: 500;
  color: #8a7a55;
  font-family: 'Noto Serif JP', serif;
  white-space: nowrap;
}

/* 企業沿革 */
.co-history {
  padding: 96px 0 120px;
  background: #fff;
}
.co-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.co-timeline::before {
  content: '';
  position: absolute;
  left: 140px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e8e4dc;
}
.co-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 28px 0;
  position: relative;
}
.co-timeline-item::before {
  content: '';
  position: absolute;
  left: 136px;
  top: 36px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c9a84c;
  border: 2px solid #fff;
  outline: 1px solid #c9a84c;
}
.co-timeline-year {
  width: 140px;
  flex-shrink: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: #8a7a55;
  letter-spacing: 0.04em;
  line-height: 1;
  padding-top: 6px;
  text-align: right;
  padding-right: 32px;
}
.co-timeline-year span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.72rem;
  color: #aaa;
  letter-spacing: 0.1em;
}
.co-timeline-content {
  padding-left: 48px;
}
.co-timeline-month {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.78rem;
  color: #c9a84c;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.co-timeline-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  color: #2a2a2a;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

/* SP */
@media (max-width: 768px) {
  .co-inner { padding: 0 24px; }
  .co-philosophy { padding: 72px 0; }
  .co-credo, .co-overview, .co-history { padding: 64px 0; }
  .co-table th { width: 100px; }
  .co-table th, .co-table td { padding: 16px 16px; font-size: 0.83rem; }
  .co-timeline::before { left: 80px; }
  .co-timeline-item::before { left: 76px; }
  .co-timeline-year { width: 80px; font-size: 1.3rem; padding-right: 20px; }
  .co-timeline-content { padding-left: 32px; }
}

/* =============================================
   企業情報 COMPANY SECTION
   kumamoto-dock.com 企業情報を忠実再現
   ============================================= */
.company-section {
  background: #f7f4ee;
  padding: 12rem 0 7rem;
  overflow: hidden;
}
.company-head {
  padding: 0 80px;
  margin-bottom: 7rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0;
}
.company-headline {
  margin-bottom: 0;
}
.company-headline__jp {
  padding-left: 5rem;
  display: block;
  position: relative;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.06em;
}
.company-headline__jp::before {
  content: '';
  position: absolute;
  top: 1.1rem;
  left: 0;
  width: 4rem;
  height: 0.2rem;
  background: #c9a84c;
}
.company-headline__en {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 7vw, 8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #111;
}
.company-view-more {
  margin: 0 0 1rem 5.5rem;
}
.company-view-more a {
  padding: 1.4rem 0 0.5rem 3.9rem;
  position: relative;
  display: inline-block;
  color: #111;
  text-decoration: none;
}
.company-view-more-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  line-height: 1;
  color: #111;
}
.company-view-arrow {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 1px;
  background: rgba(0,0,0,0.45);
  transition: width 0.3s;
}
.company-view-more a:hover .company-view-arrow { width: 3.6rem; }
.company-cards {
  padding: 0 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.company-card {
  display: block;
  text-decoration: none;
  overflow: hidden;
}
.company-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.company-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.company-card:hover .company-card-img img { transform: scale(1.06); }
.company-card-body {
  padding: 2.4rem 2.4rem 3rem;
  background: #f5f5f3;
  position: relative;
}
.company-card-en {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 500;
  color: #111;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.company-card-ja {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #888;
  letter-spacing: 0.06em;
}
.company-card-arrow {
  position: absolute;
  bottom: 2.4rem;
  right: 2rem;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 50%;
  display: block;
  transition: right 0.3s;
}
.company-card-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 0.7rem;
  height: 0.7rem;
  border-top: 1.5px solid #333;
  border-right: 1.5px solid #333;
}
.company-card:hover .company-card-arrow { right: 1.2rem; }
.company-desc {
  padding: 5rem 80px 0;
  max-width: 800px;
}
.company-desc p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(0.8rem, 0.95vw, 0.92rem);
  color: #666;
  line-height: 1.9;
  letter-spacing: 0.03em;
}
@media (max-width: 896px) {
  .company-section { padding: 7rem 0 8rem; }
  .company-head { padding: 0 24px; margin-bottom: 4rem; }
  .company-cards { padding: 0; grid-template-columns: 1fr; gap: 2px; }
  .company-desc { padding: 3rem 24px 0; }
}

/* =============================================
   採用情報 RECRUIT SECTION
   kumamoto-dock.com Recruit を忠実再現
   青丸角ボックス・テキスト左・写真右20°傾斜
   ============================================= */
.recruit-section {
  padding: 0 80px 7.6rem;
}
/* 全体を囲む青いボックス（リンク） */
.recruit-wrap {
  background: #2A6495;
  border-radius: 0.5rem;
  padding: 5.1rem 7.1rem;
  min-height: 48rem;
  overflow: hidden;
  position: relative;
  display: block;
  box-sizing: border-box;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.3s;
}

/* タイトルボックス（Recruit見出し + View more） */
.recruit-title-box {
  margin-bottom: 5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 3rem;
}
.recruit-h2 { margin: 0; }
.recruit-h2 strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #fff;
}
.recruit-h2 span {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.25em;
  margin-top: 4px;
}
.recruit-com-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.85);
  margin: 0;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}

/* サブ見出し */
.recruit-h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3vw, 3.6rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 4.3rem;
  position: relative;
  z-index: 1;
}

/* 本文 */
.recruit-body-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(0.85rem, 1.1vw, 1.1rem);
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.85;
  letter-spacing: 0.03em;
  max-width: 440px;
  position: relative;
  z-index: 1;
}

/* 採用情報を見るCTA */
.recruit-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.4rem;
  padding: 1rem 2rem;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 2rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
  position: relative;
  z-index: 1;
  transition: background 0.3s, border-color 0.3s;
}
.recruit-cta:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}
.recruit-cta-arrow {
  transition: transform 0.3s;
}
.recruit-cta:hover .recruit-cta-arrow {
  transform: translateX(4px);
}

/* 写真リスト：右側に絶対配置・20°傾斜 */
.recruit-photo-list {
  position: absolute;
  top: -19.5%;
  right: -5.7%;
  width: 63.71%;
  transform: rotate(20deg);
  transform-origin: center center;
  display: flex;
  align-items: flex-start;
  z-index: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1rem;
}
/* 各列：高さを固定してスクロールをクリップ */
.recruit-photo-list > li {
  width: calc((100% - 1rem) / 2);
  list-style: none;
  overflow: hidden;
  height: 1200px;
}
/* 2列目：参考サイト準拠（上に -10.4% ずらす） */
.recruit-photo-list > li:nth-child(2) {
  margin-top: -10.4%;
}
.recruit-photo-list .recruit-sub-ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.recruit-photo-list .recruit-sub-ul li {
  list-style: none;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.recruit-photo-list .recruit-sub-ul img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 縦スクロールアニメーション */
@keyframes recruitScrollUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
@keyframes recruitScrollDown {
  0%   { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

.recruit-sub-ul--up {
  animation: recruitScrollUp 22s linear infinite;
}
.recruit-sub-ul--down {
  animation: recruitScrollDown 22s linear infinite;
}


/* SP */
@media (max-width: 896px) {
  .recruit-section { padding: 0 16px 5rem; }
  .recruit-wrap {
    padding: 4rem 2rem;
    min-height: 34rem;
    background: linear-gradient(90deg, #2A6495 27.6%, rgba(42,100,149,0.25) 100%);
  }
  .recruit-title-box { margin-bottom: 3rem; }
  .recruit-h2 strong { font-size: 2.8rem; }
  .recruit-h3 { font-size: 1.4rem; }
  .recruit-photo-list { top: -2%; right: -22%; width: 100%; }
  .recruit-photo-list > li:nth-child(2) { margin-top: 5%; }
}

/* =============================================
   事業実績 WORKS SECTION
   kumamoto-dock.com 建造実績を忠実再現
   ============================================= */
.works-section {
  padding: 14.9rem 0 16.1rem;
  background: #212121;
  overflow: hidden;
}

/* Head */
.works-head {
  padding: 0 80px;
  margin-bottom: 7rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0;
}
.works-headline {
  margin-bottom: 0;
}
.works-headline__jp {
  padding-left: 5rem;
  display: block;
  position: relative;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
}
.works-headline__jp::before {
  content: '';
  position: absolute;
  top: 1.1rem;
  left: 0;
  width: 4rem;
  height: 0.2rem;
  background: #c9a84c;
}
.works-headline__en {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(6rem, 10vw, 12rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}

/* View more link */
.works-link {
  margin: 0 0 1rem 5.5rem;
}
.works-link a {
  padding: 1.4rem 0 0.5rem 3.9rem;
  position: relative;
  display: inline-block;
  color: #fff;
  text-decoration: none;
}
.works-link-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  line-height: 1;
}
.works-arrow {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 1px;
  background: rgba(255,255,255,0.6);
  transition: width 0.3s;
}
.works-link a:hover .works-arrow { width: 3.6rem; }

/* Photo list — Swiper */
.works-photo-list {
  margin-left: auto;
  width: calc(50% + 59rem);
  max-width: calc(100% - 6rem);
}
.works-photo-list .swiper-wrapper {
  align-items: flex-start;
}
.works-photo-list .swiper-slide {
  width: 38rem;
  margin-right: 4rem;
  position: relative;
  flex-shrink: 0;
}
.works-photo-list .swiper-slide a {
  aspect-ratio: 6 / 7;
  display: block;
  position: relative;
  text-decoration: none;
}
.works-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
}
.works-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.works-photo-list .swiper-slide a:hover .works-photo img {
  transform: scale(1.1);
}
.works-text {
  padding: 3.4rem 3rem;
  position: relative;
  z-index: 5;
}
.works-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.12em;
  margin-bottom: 2.6rem;
}
.works-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 4vw, 5rem);
  font-weight: 500;
  line-height: 1;
  color: #fff;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.works-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
}
.works-item-arrow {
  position: absolute;
  bottom: 5rem;
  right: 2rem;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: block;
  transition: right 0.3s;
  z-index: 5;
}
.works-item-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 0.7rem;
  height: 0.7rem;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
}
.works-photo-list .swiper-slide a:hover .works-item-arrow {
  right: 1.2rem;
}

/* Responsive SP */
@media (max-width: 896px) {
  .works-section { padding: 7rem 0; }
  .works-head { padding: 0 24px; margin-bottom: 5rem; }
  .works-link { margin: 0 0 0 2rem; }
  .works-photo-list { margin-left: 2rem; max-width: calc(100% - 2rem); }
  .works-photo-list .swiper-slide { width: 26rem; margin-right: 2rem; }
  .works-en { font-size: 2.8rem; }
  .works-ja { font-size: 1.2rem; }
  .works-item-arrow { bottom: 3.5rem; }
}
.biz-section {
  background: #1b3050;
}
.biz-head {
  padding: 64px 80px 56px;
}
.biz-head-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.biz-head-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.biz-head-title span {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
}
.biz-sub-line {
  display: block;
}

/* ── Clip wrap ── */
.biz-clip-wrap {
  position: relative;
}

/*
 * 各 .biz-item は contain:paint (= overflow hidden) + height:100svh
 * 各 .biz-inner は position:absolute + height:200svh でスクロール空間を確保
 * 全アイテム top:0 に統一 → 3・4枚目も確実に sticky が効く
 */
.biz-item {
  contain: paint;
  height: 100svh;
}
.biz-inner {
  width: 100%;
  height: 200svh;
  position: absolute;
  left: 0;
  top: 0;         /* ← 全アイテム top:0。-100svh は3・4枚目の sticky を壊す */
}
.biz-inner-01 { background: #1b3050; } /* サファイアネイビー */
.biz-inner-02 { background: #183d2a; } /* ディープエメラルド */
.biz-inner-03 { background: #3d1a24; } /* ローズバーガンディ */
.biz-inner-04 { background: #22183d; } /* ディープインディゴ */
.biz-inner-05 { background: #3d2c18; } /* アンバーブラウン(建設版) */
.biz-inner-06 { background: #183a3d; } /* スチールティール(建設版) */

/* ── Sticky box ── */
/* 参照: stickyBox / height: calc(100svh - 6rem) / top: 6rem */
.biz-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── テキスト列 (参照: subInner 57.7%) ── */
.biz-text-col {
  width: 57.7%;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
/* 参照: subBox { margin: 0 0 0 auto; max-width: 58rem; padding: 0.1rem 2rem 0 2.3rem; } */
.biz-text-inner {
  margin: 0 0 0 160px;
  max-width: 560px;
  width: 100%;
  padding: 0 32px 0 0;
  box-sizing: border-box;
}

/* 参照: .number { font-size:1.4rem; font-weight:500; margin-bottom:3.2rem; } */
.biz-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 3.2rem;
}
/* 参照: headLine03 { font-size:3.6rem; font-weight:500; line-height:1.3; margin-bottom:5rem; } */
.biz-item-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.4rem, 2.2vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0.04em;
  margin-bottom: 5rem;
}
/* 参照: .text { font-size:1.5rem; font-weight:500; line-height:1.75; margin-bottom:2.7rem; } */
.biz-item-body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  letter-spacing: 0.02em;
  margin-bottom: 2.7rem;
}

/* View more リンク (参照: comLink) */
.biz-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  letter-spacing: 0.28em;
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transition: gap 0.4s cubic-bezier(0.25,0.46,0.45,0.94),
              border-color 0.4s;
}
.biz-link::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.6);
  transition: width 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  flex-shrink: 0;
}
.biz-link:hover { gap: 28px; border-color: rgba(255,255,255,0.7); }
.biz-link:hover::before { width: 44px; }

/* ── 写真列 (参照: photoBox 42.3% / object-fit:cover / border-radius: 0.5rem 0 0 0.5rem) ── */
.biz-photo-col {
  width: 42.3%;
  height: 100svh;
  overflow: hidden;
  flex-shrink: 0;
  padding: 2rem 40px 2rem 0;
  box-sizing: border-box;
}
.biz-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

/* ── SP対応 ── */
@media (max-width: 896px) {
  .biz-head { padding: 80px 24px 48px; }
  .biz-item { height: auto; contain: none; }
  .biz-inner { height: auto; position: static; }
  .biz-sticky { position: static; height: auto; flex-direction: column; }
  .biz-text-col { width: 100%; }
  .biz-text-inner { margin: 0; max-width: none; padding: 48px 24px 40px; order: 2; }
  .biz-photo-col { width: 100%; height: 60vw; padding: 0; order: 1; }
  .biz-photo-col img { border-radius: 0; }
  .biz-number { font-size: 1rem; margin-bottom: 1.6rem; }
  .biz-item-title { font-size: clamp(1.5rem, 5vw, 2rem); margin-bottom: 2rem; }
}

/* =============================================
   WPT LP OVERRIDES(製品LP用の追記)
   ============================================= */
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 料金プラン */
.plan-section { padding: 120px 0; background: var(--gray-100); }
.plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1000px; margin: 64px auto 0; padding: 0 40px; }
.plan-card { background: var(--white); border: 1px solid var(--gray-200); padding: 56px 44px; display: flex; flex-direction: column; }
.plan-card--featured { border-color: var(--black); }
.plan-label { font-size: 0.7rem; letter-spacing: 0.3em; color: var(--gray-400); margin-bottom: 12px; }
.plan-name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 300; letter-spacing: 0.12em; margin-bottom: 20px; }
.plan-price { font-size: 1.9rem; font-weight: 400; letter-spacing: 0.05em; margin-bottom: 4px; }
.plan-price small { font-size: 0.8rem; color: var(--gray-600); font-weight: 300; }
.plan-price-sub { font-size: 0.78rem; color: var(--gray-400); margin-bottom: 28px; }
.plan-list { margin: 0 0 36px; flex: 1; }
.plan-list li { font-size: 0.85rem; padding: 12px 0; border-bottom: 1px solid var(--gray-200); color: var(--gray-600); }
.plan-cta { display: block; text-align: center; border: 1px solid var(--black); padding: 16px; font-size: 0.8rem; letter-spacing: 0.25em; width: 100%; transition: background var(--transition), color var(--transition); }
.plan-cta:hover { background: var(--black); color: var(--white); }
.plan-cta--fill { background: var(--black); color: var(--white); }
.plan-cta--fill:hover { background: transparent; color: var(--black); }
.plan-note { max-width: 1000px; margin: 28px auto 0; padding: 0 40px; font-size: 0.75rem; color: var(--gray-400); text-align: center; }

/* デモ一覧マトリクス */
.demo-matrix { max-width: 820px; margin: 56px auto 0; padding: 0 40px; }
.demo-matrix table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.demo-matrix th, .demo-matrix td { padding: 14px 10px; border-bottom: 1px solid var(--gray-200); text-align: left; font-weight: 300; }
.demo-matrix thead th { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gray-400); }
.demo-matrix a { color: var(--gray-600); text-decoration: underline; text-underline-offset: 4px; transition: color var(--transition); }
.demo-matrix a:hover { color: var(--black); }

/* 申込モーダル(2ステップ+フォーム) */
.modal-step { display: none; }
.modal-step.active { display: block; }
.mf-back { display: inline-block; font-size: 0.75rem; color: var(--gray-400); margin-bottom: 20px; cursor: pointer; }
.mf-back:hover { color: var(--black); }
.mf-group { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--gray-600); margin: 22px 0 10px; }
.mf-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mf-option { display: flex; align-items: center; gap: 10px; border: 1px solid var(--gray-200); padding: 12px 14px; font-size: 0.85rem; cursor: pointer; transition: border-color var(--transition); }
.mf-option:hover { border-color: var(--black); }
.mf-option input { accent-color: var(--black); flex: none; }
.mf-demo { margin-left: auto; font-size: 0.68rem; color: var(--gray-400); text-decoration: underline; text-underline-offset: 3px; flex: none; }
.mf-demo:hover { color: var(--black); }
.mf-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 0.75rem; color: var(--gray-600); margin: 24px 0 18px; }
.mf-agree a { text-decoration: underline; text-underline-offset: 3px; }
.mf-submit { width: 100%; background: var(--black); color: var(--white); padding: 17px; font-size: 0.82rem; letter-spacing: 0.22em; transition: opacity var(--transition); }
.mf-submit:hover { opacity: 0.75; }
.mf-note { font-size: 0.7rem; color: var(--gray-400); margin-top: 14px; line-height: 1.7; }
.modal-content { max-height: 90vh; overflow-y: auto; }

/* 参考LPに無い細部 */
.recruit-cta { cursor: pointer; }
.service-link { cursor: pointer; }

@media (max-width: 768px) {
  .plan-cards { grid-template-columns: 1fr; padding: 0 24px; }
  .mf-options { grid-template-columns: 1fr; }
  .demo-matrix { padding: 0 24px; overflow-x: auto; }
  .modal-inner { padding: 48px 28px; }
}

/* 管理画面スクショ用(UIが切れないよう左上基準) */
.service-swiper .swiper-slide img { object-fit: cover; object-position: top left; background: #f0f0f1; }

/* 管理画面デモの案内ボックス */
.admin-demo-box { margin-top: 36px; border: 1px solid var(--gray-200); background: var(--gray-100); padding: 24px 26px; }
.admin-demo-box .adb-title { font-size: 0.72rem; letter-spacing: 0.28em; color: var(--gray-400); margin-bottom: 12px; }
.admin-demo-box .adb-cred { font-size: 0.85rem; line-height: 2; margin-bottom: 14px; }
.admin-demo-box .adb-cred code { font-family: monospace; background: var(--white); border: 1px solid var(--gray-200); padding: 2px 8px; }
.admin-demo-box .adb-note { font-size: 0.68rem; color: var(--gray-400); margin-bottom: 18px; }
.admin-demo-box .adb-link { display: inline-block; border: 1px solid var(--black); padding: 10px 26px; font-size: 0.75rem; letter-spacing: 0.2em; transition: background 0.4s, color 0.4s; }
.admin-demo-box .adb-link:hover { background: var(--black); color: var(--white); }

/* 管理画面スクショ上のキャプション可読性(濃いグラデ下敷き) */
.service-swiper .service-slide-caption { background: linear-gradient(to top, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.55) 60%, transparent 100%); padding-top: 48px; }
