/* =============================================
   UI/UX Enhancement - Image & Photo Presentation
   ============================================= */

/* Card Image Styles
   Consistent aspect ratio, smooth borders,
   beautiful object-fit for all card images */
.c-card1__image1 {
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

.c-card1__image1 img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.c-card1:hover .c-card1__image1 img {
  transform: scale(1.03);
}

@media (max-width: 767px) {
  .c-card1__image1 img {
    height: 180px;
  }
}

/* Side-by-side layout image refinement */
.p-block11__text1:has(figure) > figure {
  overflow: hidden;
  border-radius: 4px;
}

.p-block11__text1:has(figure) > figure img {
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.p-block11__text1:has(figure):hover > figure img {
  transform: scale(1.02);
}

/* Full-width section images */
section > figure img,
.p-block11__inner1 > figure img {
  transition: opacity 0.4s ease;
}

/* Grid image gallery (environment factory photos etc.) */
.p-block11__grid1 > figure {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  line-height: 0;
}

.p-block11__grid1 > figure img {
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.p-block11__grid1 > figure:hover img {
  transform: scale(1.05);
}

/* Products plating type buttons - enhance photo backgrounds */
.p-block4__list1__item1[style*="background-image"] {
  position: relative;
  overflow: hidden;
}

.p-block4__list1__item1[style*="background-image"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(51, 153, 204, 0.15) 0%,
    rgba(51, 153, 204, 0.35) 100%
  );
  transition: background 0.5s ease;
  z-index: 1;
}

.p-block4__list1__item1[style*="background-image"]:hover::before {
  background: linear-gradient(
    180deg,
    rgba(51, 153, 204, 0.05) 0%,
    rgba(51, 153, 204, 0.25) 100%
  );
}

.p-block4__list1__item1[style*="background-image"] .p-block4__list1__item1__inner1 {
  position: relative;
  z-index: 2;
  background: rgba(51, 153, 204, 0.85);
  backdrop-filter: blur(2px);
}

.p-block4__list1__item1[style*="background-image"]:hover .p-block4__list1__item1__inner1 {
  background: rgba(92, 173, 214, 0.85);
}

/* Hero section image enhancement */
.p-heading1[style*="background-image"] {
  image-rendering: auto;
}

/* Smooth fade-in for lazy loaded images */
img[loading="lazy"] {
  opacity: 0;
  animation: fadeInImg 0.6s ease forwards;
}

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

/* Quality ISO cert - better side-by-side presentation */
.p-block11__text1:has(figure) > figure img[alt*="ISO"] {
  object-fit: contain;
  background: #fff;
  padding: 8px;
  border: 1px solid #eee;
  border-radius: 4px;
}

/* Card grid spacing refinement */
.p-block11__grid1 {
  gap: clamp(16px, 12px + 1.1vw, 24px);
}

/* Card shadow and hover refinement */
.c-card1 {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.c-card1:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Section image containers - rounded corners and overflow */
section > figure,
.p-block11 > .p-block11__inner1 > figure {
  border-radius: 4px;
  overflow: hidden;
}

/* Order flow image - centered with max-width */
figure img[alt*="ご注文"] {
  border-radius: 4px;
  max-width: 560px;
  margin: 0 auto;
}

/* Table horizontal scroll hint */
.c-table1 {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
@media (max-width: 768px) {
  .c-table1::after {
    content: 'Scroll >';
    display: block;
    text-align: right;
    font-size: 11px;
    color: #aaa;
    padding: 8px 4px 0;
    letter-spacing: 0.04em;
  }
}

/* Results/track record image */
figure img[alt*="取引実績"] {
  border-radius: 4px;
}

/* Facility photo */
figure img[alt*="工場設備"] {
  border-radius: 4px;
}

/* Timeline image enhancement */
figure img[alt*="歩み"] {
  border-radius: 4px;
}

/* Company CEO portrait refinement */
.p-block11__text1 figure img[alt*="代表"] {
  border-radius: 4px;
}

/* Environment main illustration */
figure img[alt*="環境"] {
  image-rendering: auto;
}

/* Recruit hero gallery - better grid */
.p-block11__grid1 figure img[alt*="工場の取り組み"] {
  border-radius: 4px;
}

/* Logo/badge images - contain instead of cover so they don't get cropped */
.c-card1__image1.--contain img,
.c-card1__image1 img[alt*="SBT"],
.c-card1__image1 img[alt*="SDG"],
.c-card1__image1 img[alt*="GOAL"],
.c-card1__image1 img[alt*="ロゴ"],
.c-card1__image1 img[alt*="認定"],
.c-card1__image1 img[alt*="張り紙"] {
  object-fit: contain !important;
  padding: 16px !important;
  background: #f7f9fb !important;
}

/* Typography micro-adjustments for image captions area */
.c-card1__image1 + .c-card1__title1 {
  border-top: none;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* =============================================
   Header Nav - My IMAI gray button (rightmost)
   ============================================= */
@media (min-width: 1024px) {
  /* Mail icon on 2nd item (お問い合わせ), not last */
  .p-nav1__list2 li:last-child a span::before {
    display: none !important;
  }
  .p-nav1__list2 li:nth-child(2) a span::before {
    display: block;
    content: "";
    width: 20px;
    height: 16px;
    background: url("../images/icon_mail1_2.png") 0 0/cover no-repeat;
  }
  /* My IMAI gray button */
  .p-nav1__list2 li:last-child a::before {
    background: linear-gradient(to right, #6b6b6b, #555) !important;
    opacity: 1 !important;
  }
  .p-nav1__list2 li:last-child a:hover::before {
    opacity: 0 !important;
  }
  .p-nav1__list2 li:last-child a:hover {
    background: #777;
  }
}

/* =============================================
   My IMAI Modal
   ============================================= */
.myimai-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 24px;
}

.myimai-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.myimai-modal {
  background: #fff;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.myimai-overlay.is-active .myimai-modal {
  transform: translateY(0) scale(1);
}

.myimai-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}

.myimai-modal__close:hover {
  background: #fff;
}

.myimai-modal__close::before,
.myimai-modal__close::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 2px;
  background: #333;
}

.myimai-modal__close::before { transform: rotate(45deg); }
.myimai-modal__close::after { transform: rotate(-45deg); }

.myimai-modal__header {
  background: linear-gradient(135deg, #0091d1 0%, #00b4d8 50%, #48cae4 100%);
  padding: 32px 36px;
  color: #fff;
}

.myimai-modal__header h2 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin: 0;
}

.myimai-modal__body {
  padding: 28px 36px 36px;
}

.myimai-modal__body p {
  font-size: 0.875rem;
  line-height: 1.85;
  color: #444;
  margin: 0 0 20px;
}

.myimai-modal__cta {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 24px;
  text-align: center;
  margin: 24px 0;
}

.myimai-modal__cta p {
  color: #0091d1;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.myimai-modal__cta a {
  display: block;
  max-width: 360px;
  margin: 0 auto;
  padding: 14px 24px;
  background: #555;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 4px;
  transition: background 0.25s ease;
}

.myimai-modal__cta a:hover {
  background: #333;
}

.myimai-modal__note {
  font-size: 0.8rem !important;
  color: #777 !important;
}

.myimai-modal__contact {
  font-size: 0.8rem !important;
  color: #555 !important;
  line-height: 1.8 !important;
}

.myimai-modal__contact strong {
  font-weight: 600;
}

@media (max-width: 767px) {
  .myimai-overlay { padding: 16px; }
  .myimai-modal__header { padding: 24px 20px; }
  .myimai-modal__header h2 { font-size: 1.05rem; }
  .myimai-modal__body { padding: 20px; }
  .myimai-modal__cta { padding: 16px; }
}

/* =============================================
   Design Meharness - Visual Hierarchy & Rhythm
   ============================================= */

/* Section padding - create breathing room */
.p-block11 {
  padding-top: clamp(56px, 48px + 2vw, 80px);
  padding-bottom: clamp(56px, 48px + 2vw, 80px);
}

/* Section headings - stronger presence */
.p-block11__title2 {
  font-size: clamp(22px, 18px + 1vw, 32px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* Accent line under section headings */
.p-block11__title2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #4fa3c9;
  margin-top: 16px;
}

/* Center-aligned headings */
.p-block11__title2[style*="text-align: center"]::after {
  margin-left: auto;
  margin-right: auto;
}

/* Body text - slightly more relaxed line-height */
.p-block11__text1 p {
  font-size: clamp(14px, 13px + 0.2vw, 15px);
  line-height: 2;
  color: #444;
}

/* Alternating section backgrounds for depth */
main > .p-block11:nth-child(even) {
  background: #f8fbfd;
}

main > .p-block11:nth-child(odd) {
  background: #fff;
}

/* Card redesign - remove cheap mint headers */
.c-card1 {
  border: none !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
}

.c-card1__title1 {
  font-size: clamp(14px, 13px + 0.3vw, 16px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  padding: 20px 24px 12px !important;
  background: transparent !important;
  color: #222 !important;
  border-left: none !important;
  margin: 0 !important;
}

/* Card text */
.c-card1__text1 {
  padding: 8px 24px 24px !important;
}

.c-card1__text1 p {
  font-size: 13.5px;
  line-height: 1.85;
  color: #666;
}

/* Cards with images keep different title style */
.c-card1__image1 + .c-card1__title1 {
  border-left: none !important;
  padding: 16px 20px 8px !important;
}

/* c-button1 redesign - from ugly gray block to clean branded button */
.c-button1 {
  background: #fff !important;
  border: 2px solid #3399cc !important;
  color: #3399cc !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 16px 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: auto !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  letter-spacing: 0.04em;
}
.c-button1:hover,
.c-button1:focus {
  background: #3399cc !important;
  color: #fff !important;
}
.c-button1 > span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.c-button1 > span::before {
  display: none !important;
}
.c-button1 > span::after {
  content: "" !important;
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(-45deg) !important;
  margin-left: 4px !important;
}

/* CTA section - stronger presence */
.p-cta1 {
  background: linear-gradient(135deg, #3a7ca5 0%, #2c6180 100%) !important;
  padding: clamp(48px, 40px + 3vw, 80px) 0 !important;
}

.p-cta1__title1 {
  font-size: clamp(24px, 20px + 1vw, 32px) !important;
  letter-spacing: 0.06em;
}

/* Page heading section - more dramatic */
.p-heading1 {
  min-height: clamp(200px, 25vw, 320px);
}

.p-heading1__inner1 {
  padding: clamp(40px, 5vw, 80px) 0;
}

.p-heading1__title1 {
  font-size: clamp(28px, 22px + 1.5vw, 40px) !important;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Breadcrumb - subtle but clear */
.p-breadcrumb1 {
  padding: 16px 0 !important;
  margin-bottom: 0;
}

/* Card grid - consistent 3-column on desktop */
@media (min-width: 768px) {
  .p-block11__grid1 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }
}

/* Scroll reveal animation */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.p-block11__inner1 {
  animation: slideUp 0.7s ease-out both;
}

/* Button hover improvements */
.c-button4 {
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease !important;
}

.c-button4:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Link hover color - brand consistent */
a:hover {
  color: #3a93b9;
}

/* Table/list styling in company info */
.p-block11__inner1 table {
  border-collapse: collapse;
  width: 100%;
}

.p-block11__inner1 table th,
.p-block11__inner1 table td {
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  line-height: 1.7;
}

.p-block11__inner1 table th {
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  width: 160px;
  vertical-align: top;
}

/* Footer refinement */
.p-footer1 {
  border-top: 1px solid #e8e8e8;
}

/* Footer nav2 - fix 3-button grid (originally 44px col was icon-only) */
@media (min-width: 768px) {
  .p-footer1__nav2 {
    grid-template-columns: 1fr 1fr 1fr !important;
    max-width: 560px !important;
  }
  .p-footer1__nav2 > li:nth-of-type(1) {
    grid-column: 1 !important;
    grid-row-start: 1 !important;
  }
}
@media (min-width: 1024px) {
  .p-footer1__nav2 {
    max-width: 520px !important;
  }
}
.p-footer1__nav2 .c-button3 {
  white-space: nowrap;
  font-size: 13px;
  padding: 12px 16px;
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
  .p-block11 {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .p-block11__title2 {
    font-size: 20px !important;
  }

  .p-block11__grid1 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .c-card1__image1 img {
    height: 180px;
  }
}

/* =============================================
   Page Subnav - Compact inline links
   ============================================= */
.page-subnav {
  background: #f8fbfd;
  border-bottom: 1px solid #eee;
  padding: 0 24px;
}

.page-subnav__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 0;
}

.page-subnav__link {
  display: block;
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.page-subnav__link:hover {
  color: #3399cc;
  border-bottom-color: #3399cc;
}

@media (max-width: 767px) {
  .page-subnav__inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }
  .page-subnav__link {
    padding: 14px 16px;
    font-size: 12px;
  }
}

/* =============================================
   About Strengths Cards - Pro Design
   ============================================= */
.about-strengths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-strengths__card {
  position: relative;
  padding: 36px 32px 32px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.about-strengths__card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.about-strengths__num {
  display: block;
  font-family: 'Albert Sans', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #3399cc;
  line-height: 1;
  opacity: 0.15;
  margin-bottom: 8px;
}

.about-strengths__title {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  line-height: 1.6;
  margin: 0 0 12px;
}

.about-strengths__text {
  font-size: 13.5px;
  line-height: 1.85;
  color: #666;
  margin: 0;
}

@media (max-width: 767px) {
  .about-strengths {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-strengths__card {
    padding: 28px 24px 24px;
  }
}

/* =============================================
   Strengths / Numbers Section (Top Page)
   ============================================= */
.p-strengths {
  background: #fff;
  padding: clamp(48px, 40px + 2vw, 72px) 24px;
  border-bottom: 1px solid #eee;
  overflow: hidden;
}

.p-strengths__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 24px + 2vw, 64px);
}

.p-strengths__item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.p-strengths__item:nth-child(1) { transition-delay: 0s; }
.p-strengths__item:nth-child(3) { transition-delay: 0.15s; }
.p-strengths__item:nth-child(5) { transition-delay: 0.3s; }
.p-strengths.is-visible .p-strengths__item {
  opacity: 1;
  transform: translateY(0);
}

.p-strengths__label {
  font-size: 13px;
  font-weight: 600;
  color: #3399cc;
  letter-spacing: 0.1em;
}

.p-strengths__number {
  font-family: 'Albert Sans', sans-serif;
  font-size: clamp(18px, 14px + 1vw, 22px);
  font-weight: 700;
  color: #222;
  letter-spacing: 0.02em;
  line-height: 1;
}

.p-strengths__number em {
  font-style: normal;
  font-size: clamp(48px, 36px + 3vw, 72px);
  font-weight: 800;
  color: #3399cc;
  line-height: 1;
  display: inline-block;
  margin: 0 2px;
}

.p-strengths__unit {
  font-size: clamp(28px, 20px + 2vw, 40px);
  font-weight: 700;
  color: #3399cc;
}

.p-strengths__sub {
  font-family: 'Albert Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #aaa;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.p-strengths__divider {
  width: 1px;
  height: 64px;
  background: #ddd;
  flex-shrink: 0;
  opacity: 0;
  transform: scaleY(0);
  transition: opacity 0.5s 0.4s, transform 0.5s 0.4s;
}
.p-strengths.is-visible .p-strengths__divider {
  opacity: 1;
  transform: scaleY(1);
}

@media (max-width: 767px) {
  .p-strengths__inner {
    gap: 20px;
  }
  .p-strengths__divider {
    height: 48px;
  }
  .p-strengths__label {
    font-size: 11px;
  }
}

/* =============================================
   Recruit Page - Complete Redesign
   ============================================= */

/* Recruit Hero - Full impact */
.recruit-hero {
  position: relative;
  width: 100%;
  height: clamp(500px, 70vh, 700px);
  overflow: hidden;
  background: #111;
}

.recruit-hero__slider {
  position: absolute;
  inset: 0;
  display: flex;
}

.recruit-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.recruit-hero__slide.is-active {
  opacity: 1;
}

.recruit-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.35) 60%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 2;
}

.recruit-hero__content {
  position: absolute;
  bottom: clamp(48px, 8vh, 96px);
  left: clamp(32px, 5vw, 80px);
  z-index: 3;
  color: #fff;
}

.recruit-hero__catch {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(28px, 22px + 2vw, 48px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.recruit-hero__sub {
  font-size: clamp(13px, 12px + 0.3vw, 15px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0;
}

.recruit-hero__scroll {
  position: absolute;
  bottom: 24px;
  right: 40px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Albert Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
}

.recruit-hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.4);
  margin: 12px auto 0;
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Recruit Marquee */
.recruit-marquee {
  overflow: hidden;
  padding: 12px 0;
  background: #f0faff;
}

.recruit-marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.recruit-marquee__track img {
  height: 48px;
  display: block;
}

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

/* Recruit Mission */
.recruit-mission {
  padding: clamp(64px, 56px + 3vw, 120px) 24px;
  text-align: center;
  background: #fff;
}

.recruit-mission__catch {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(22px, 18px + 1.2vw, 36px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: #222;
  margin: 0 0 24px;
}

.recruit-mission__text {
  font-size: clamp(13px, 12px + 0.3vw, 15px);
  line-height: 2.2;
  color: #555;
  max-width: 640px;
  margin: 0 auto;
}

/* Recruit Work Environment */
.recruit-env {
  padding: clamp(64px, 56px + 3vw, 112px) 24px;
  background: #f0faff;
}

.recruit-env__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.recruit-env__heading {
  font-size: clamp(22px, 18px + 1vw, 32px);
  font-weight: 700;
  color: #222;
  margin: 0 0 40px;
  letter-spacing: 0.04em;
}

.recruit-env__heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #3399cc;
  margin-top: 16px;
}

.recruit-env__photos {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  margin-bottom: 48px;
  border-radius: 6px;
  overflow: hidden;
}

.recruit-env__photos figure {
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

.recruit-env__photos figure:first-child {
  grid-row: 1 / 3;
}

.recruit-env__photos figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.recruit-env__photos figure:hover img {
  transform: scale(1.03);
}

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

.recruit-env__card {
  background: #fff;
  border-radius: 6px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: block;
}

.recruit-env__card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
  color: inherit;
}

.recruit-env__card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin: 0 0 10px;
}

.recruit-env__card p {
  font-size: 13px;
  line-height: 1.85;
  color: #666;
  margin: 0;
}

@media (max-width: 767px) {
  .recruit-env__photos {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .recruit-env__photos figure:first-child {
    grid-column: 1 / 3;
    grid-row: auto;
  }
  .recruit-env__cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* Recruit Staff Profiles */
.recruit-staff {
  padding: clamp(64px, 56px + 3vw, 112px) 24px;
  background: #fff;
}

.recruit-staff__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.recruit-staff__heading {
  font-size: clamp(22px, 18px + 1vw, 32px);
  font-weight: 700;
  color: #222;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}

.recruit-staff__heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #3399cc;
  margin-top: 16px;
}

.recruit-staff__category {
  font-size: 15px;
  font-weight: 600;
  color: #3399cc;
  margin: 48px 0 24px;
  letter-spacing: 0.04em;
}

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

.recruit-staff__card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.recruit-staff__card:hover {
  color: inherit;
}

.recruit-staff__portrait {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

.recruit-staff__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.recruit-staff__card:hover .recruit-staff__portrait img {
  transform: scale(1.06);
}

.recruit-staff__meta {
  text-align: center;
}

.recruit-staff__role {
  font-size: 12px;
  color: #3399cc;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 6px;
}

.recruit-staff__name {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  display: block;
  margin-bottom: 8px;
}

.recruit-staff__link {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.04em;
}

.recruit-staff__card:hover .recruit-staff__link {
  color: #3399cc;
}

@media (max-width: 767px) {
  .recruit-staff__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Recruit Gallery Strip */
.recruit-gallery {
  display: flex;
  gap: 4px;
  overflow: hidden;
  padding: 0;
  height: clamp(200px, 25vw, 320px);
}

.recruit-gallery figure {
  margin: 0;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  line-height: 0;
}

.recruit-gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Recruit Positions */
.recruit-positions {
  padding: clamp(64px, 56px + 3vw, 112px) 24px;
  background: #fff;
}

.recruit-positions__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.recruit-positions__heading {
  font-size: clamp(22px, 18px + 1vw, 32px);
  font-weight: 700;
  color: #222;
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}

.recruit-positions__heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #3399cc;
  margin-top: 16px;
}

.recruit-positions__sub {
  font-size: 13px;
  color: #888;
  margin: 0 0 48px;
}

.recruit-position {
  padding: clamp(32px, 28px + 1vw, 48px) 0;
  border-bottom: 1px solid #eee;
}

.recruit-position:first-of-type {
  border-top: 1px solid #eee;
}

.recruit-position__title {
  font-size: clamp(17px, 15px + 0.5vw, 20px);
  font-weight: 700;
  color: #222;
  margin: 0 0 8px;
}

.recruit-position__catch {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(14px, 13px + 0.3vw, 16px);
  color: #3399cc;
  margin: 0 0 16px;
  font-style: italic;
}

.recruit-position__desc {
  font-size: 14px;
  line-height: 2;
  color: #555;
  margin: 0;
  max-width: 720px;
}

/* Recruit Banner CTA */
.recruit-banner {
  position: relative;
  padding: clamp(64px, 56px + 3vw, 120px) 24px;
  text-align: center;
  overflow: hidden;
}

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

.recruit-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-banner__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.recruit-banner__content {
  position: relative;
  z-index: 1;
}

.recruit-banner__catch {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(22px, 18px + 1.5vw, 36px);
  color: #fff;
  margin: 0 0 32px;
  letter-spacing: 0.06em;
}

.recruit-banner__btn {
  display: inline-block;
  padding: 16px 48px;
  background: #3399cc;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.recruit-banner__btn:hover {
  background: #2b86b5;
  transform: translateY(-2px);
  color: #fff;
}

/* Recruit Info Table */
.recruit-info {
  padding: clamp(64px, 56px + 3vw, 112px) 24px;
  background: #fff;
}

.recruit-info__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.recruit-info__heading {
  font-size: clamp(22px, 18px + 1vw, 32px);
  font-weight: 700;
  color: #222;
  margin: 0 0 40px;
  letter-spacing: 0.04em;
}

.recruit-info__heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #3399cc;
  margin-top: 16px;
}

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

.recruit-info table th,
.recruit-info table td {
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  line-height: 1.8;
  vertical-align: top;
}

.recruit-info table th {
  font-weight: 600;
  color: #222;
  white-space: nowrap;
  width: 160px;
}

.recruit-info table td {
  color: #555;
}

@media (max-width: 767px) {
  .recruit-info table th,
  .recruit-info table td {
    display: block;
    width: 100%;
    padding: 12px 0;
  }
  .recruit-info table th {
    border-bottom: none;
    padding-bottom: 4px;
  }
}

/* Recruit FAQ */
.recruit-faq {
  padding: clamp(64px, 56px + 3vw, 112px) 24px;
  background: #f8fbfd;
}

.recruit-faq__inner {
  max-width: 800px;
  margin: 0 auto;
}

.recruit-faq__heading {
  font-size: clamp(22px, 18px + 1vw, 32px);
  font-weight: 700;
  color: #222;
  margin: 0 0 40px;
  letter-spacing: 0.04em;
}

.recruit-faq__heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #3399cc;
  margin-top: 16px;
}

.recruit-faq__item {
  border-bottom: 1px solid #ddd;
}

.recruit-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  text-align: left;
  line-height: 1.6;
}

.recruit-faq__q::before {
  content: 'Q';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #3399cc;
  color: #fff;
  font-family: 'Albert Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.recruit-faq__q::after {
  content: '+';
  margin-left: auto;
  font-size: 20px;
  color: #999;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.recruit-faq__item.is-open .recruit-faq__q::after {
  content: '-';
}

.recruit-faq__a {
  display: none;
  padding: 0 0 24px 48px;
  font-size: 14px;
  line-height: 2;
  color: #555;
}

.recruit-faq__item.is-open .recruit-faq__a {
  display: block;
}

/* =============================================
   About Page - Strengths Enhancement
   ============================================= */

/* Point cards with image - premium treatment */
#strengths .p-block11__grid1 {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}
@media (min-width: 768px) {
  #strengths .p-block11__grid1 {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
}
#strengths .p-block11__grid1 > .c-card1 {
  background: #fff !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border-bottom: 1px solid #e8e8e8 !important;
  padding-bottom: 32px !important;
  margin-bottom: 32px !important;
  position: relative;
  overflow: visible !important;
}
@media (min-width: 768px) {
  #strengths .p-block11__grid1 > .c-card1 {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  #strengths .p-block11__grid1 > .c-card1:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
  }
}
#strengths .c-card1__image1 {
  border-radius: 0 !important;
  margin: 0 !important;
}
#strengths .c-card1__image1 img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
#strengths .c-card1__image1 + .c-card1__title1 {
  font-size: clamp(15px, 14px + 0.3vw, 18px) !important;
  font-weight: 700 !important;
  padding: 20px 24px 10px !important;
  color: #1a1a1a !important;
  border-left: none !important;
  letter-spacing: 0.02em;
}
#strengths .c-card1__text1 {
  padding: 4px 24px 24px !important;
}
#strengths .c-card1__text1 p {
  font-size: 13.5px;
  line-height: 1.9;
  color: #555;
}

/* Facility section - cleaner card layout */
#facilities .c-card1 {
  background: #f8fbfd !important;
  box-shadow: none !important;
  border-left: none !important;
  border-radius: 6px !important;
  margin-top: 16px !important;
}
#facilities .c-card1__title1 {
  font-size: clamp(14px, 13px + 0.3vw, 17px) !important;
  color: #1a3a5c !important;
}
#facilities figure {
  border-radius: 6px !important;
  overflow: hidden;
}

/* Order Steps - clean list design */
#order .c-card1 {
  display: block !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 24px 0 !important;
  border-radius: 0 !important;
  border-bottom: 1px solid #eee !important;
  margin-top: 0 !important;
}
#order .c-card1:last-of-type {
  border-bottom: none !important;
}
#order .c-card1__title1 {
  background: transparent !important;
  border-left: none !important;
  padding: 0 0 10px !important;
  font-size: clamp(15px, 14px + 0.3vw, 18px) !important;
  color: #1a3a5c !important;
}
#order .c-card1__text1 {
  padding: 0 !important;
}
#order .c-card1__text1 p {
  color: #555;
  font-size: 14px;
  line-height: 1.8;
}

/* Dimensions table enhancement */
#dimensions .c-table1 table {
  border-collapse: collapse;
  width: 100%;
}
#dimensions .c-table1 thead th {
  background: #2c6180 !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 13px;
  padding: 12px 16px;
  border: none;
  text-align: center;
}
#dimensions .c-table1 tbody th {
  background: #f7f9fa;
  font-weight: 600;
  font-size: 13px;
  color: #333;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #e8e8e8;
}
#dimensions .c-table1 tbody td {
  font-size: 13px;
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid #e8e8e8;
  color: #555;
}
#dimensions .c-table1 tbody tr:hover {
  background: #f0f7fc;
}

/* Intro text on about page - more presence */
#strengths > .p-block11__inner1 > .p-block11__text1:first-child {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  padding: 20px 0 40px;
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  #strengths > .p-block11__inner1 > .p-block11__text1:first-child {
    flex-direction: row;
    gap: 40px;
  }
}
#strengths > .p-block11__inner1 > .p-block11__text1:first-child figure {
  flex-shrink: 0;
}
#strengths > .p-block11__inner1 > .p-block11__text1:first-child p {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
}

/* =============================================
   Plating Detail Pages
   ============================================= */
.plating-detail {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}
.plating-detail__overview {
  margin-bottom: 48px;
}
.plating-detail__overview p {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin: 0 0 16px;
}
.plating-detail__section-title {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #3399cc;
  letter-spacing: 0.04em;
}
.plating-detail__features,
.plating-detail__applications {
  margin-bottom: 48px;
}
.plating-detail__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plating-detail__list li {
  position: relative;
  padding: 12px 0 12px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  border-bottom: 1px solid #eee;
}
.plating-detail__list li:last-child {
  border-bottom: none;
}
.plating-detail__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: #3399cc;
  border-radius: 50%;
}
.plating-detail__specs {
  margin-bottom: 48px;
}
.plating-detail__table {
  width: 100%;
  border-collapse: collapse;
}
.plating-detail__table th,
.plating-detail__table td {
  padding: 14px 20px;
  font-size: 14px;
  line-height: 1.6;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
}
.plating-detail__table th {
  width: 160px;
  background: #f7f9fa;
  color: #333;
  font-weight: 600;
  white-space: nowrap;
}
.plating-detail__table td {
  color: #555;
}
@media (max-width: 600px) {
  .plating-detail__table th {
    width: 110px;
    padding: 10px 12px;
  }
  .plating-detail__table td {
    padding: 10px 12px;
  }
}

/* Kinds page - card links for detail pages */
.c-card1 a.card-detail-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  border-radius: 6px;
}
.c-card1 a.card-detail-link:hover {
  box-shadow: 0 4px 16px rgba(51, 153, 204, 0.15);
  transform: translateY(-2px);
}
.c-card1 a.card-detail-link .card-detail-arrow {
  display: block;
  text-align: right;
  padding: 8px 16px 12px;
  font-size: 13px;
  color: #3399cc;
  font-weight: 600;
}
.c-card1 a.card-detail-link .card-detail-arrow::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 2px solid #3399cc;
  border-bottom: 2px solid #3399cc;
  transform: rotate(-45deg);
  margin-left: 6px;
  vertical-align: middle;
}

/* =============================================
   Responsive Table - Card Layout on Mobile
   ============================================= */
@media (max-width: 1024px) {
  .c-table1 thead th:not(:empty) {
    min-width: auto !important;
  }
  .c-table1 tbody th {
    white-space: normal !important;
  }
}

@media (max-width: 640px) {
  .c-table1 {
    overflow-x: visible !important;
  }
  .c-table1::after {
    display: none !important;
  }
  .c-table1 table,
  .c-table1 thead,
  .c-table1 tbody,
  .c-table1 tr,
  .c-table1 th,
  .c-table1 td {
    display: block !important;
  }
  .c-table1 thead {
    display: none !important;
  }
  .c-table1 tbody tr {
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 6px !important;
    padding: 16px 20px !important;
    margin-bottom: 12px !important;
  }
  .c-table1 tbody tr:nth-of-type(even) {
    background: #f8fbfd !important;
  }
  .c-table1 tbody th {
    white-space: normal !important;
    padding: 0 0 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #222 !important;
    border-bottom: 1px solid #eee !important;
    margin-bottom: 10px !important;
  }
  .c-table1 tbody td {
    text-align: left !important;
    padding: 6px 0 !important;
    font-size: 14px !important;
    color: #555 !important;
  }
  .c-table1 tbody td::before {
    font-weight: 600;
    color: #999;
    font-size: 11px;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 2px;
  }
  .c-table1 tbody tr td:nth-child(2)::before {
    content: "最大寸法（mm）";
  }
  .c-table1 tbody tr td:nth-child(3)::before {
    content: "備考";
  }
  .c-table1 tbody td:empty {
    display: none !important;
  }
}

/* Print: show all images */
@media print {
  img[loading="lazy"] {
    opacity: 1 !important;
    animation: none !important;
  }
  .myimai-overlay { display: none !important; }
  .p-block11__inner1 { animation: none !important; }
}
