/* ========================================
   OFA Website Stylesheet
   Mobile First Responsive Design
   ======================================== */

/* ========== CSS Custom Properties ========== */
:root {
  /* Colors */
  --color-primary: #F3778D;
  --color-primary-light: #FADAE0;
  --color-primary-dark: #E05C74;
  --color-secondary: #F5A623;
  --color-secondary-light: #FFD89B;
  --color-secondary-dark: #E8963C;
  --color-navy: #284B66;
  --color-navy-light: #DCE5EC;
  --color-accent-blue: #284B66;
  --color-accent-green: #7BC17E;
  
  --color-text: #666666;
  --color-text-light: #888888;
  --color-text-muted: #AAAAAA;
  --color-white: #FFFFFF;
  --color-bg: #FFFFFF;
  --color-bg-pink: #FAE1D2;
  --color-bg-light: #FDF3ED;
  --color-bg-gray: #F5F5F5;
  
  /* Typography */
  --font-primary: 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
  --font-accent: 'Comfortaa', 'Zen Maru Gothic', cursive;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;
  
  /* Container */
  --container-max: 1200px;
  --container-padding: 1rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-index */
  --z-header: 1000;
  --z-overlay: 900;
  --z-modal: 1100;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--color-primary);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ========== Utility Classes ========== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-label {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-xs);
}

.section-label--white {
  color: var(--color-white);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
  cursor: pointer;
}

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

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn--secondary:hover {
  background-color: #E09620;
  border-color: #E09620;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn--white:hover {
  background-color: transparent;
  color: var(--color-white);
  transform: translateY(-2px);
}

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

.btn--outline:hover {
  background-color: var(--color-text);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  z-index: var(--z-header);
  transition: box-shadow var(--transition-normal);
}

.header.is-scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem var(--container-padding);
  max-width: 1440px;
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__logo-link {
  position: relative;
  display: block;
}

.header__logo-link img {
  width: 76px;
  height: 48px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

/* Decorative dots around logo */
.header__logo-dots {
  position: absolute;
  top: -8px;
  left: -12px;
  width: 40px;
  height: 30px;
  pointer-events: none;
  z-index: 1;
}

.header__logo-dot {
  position: absolute;
  border-radius: 50%;
  background-color: var(--color-primary-light);
}

.header__logo-dot--1 {
  width: 12px;
  height: 12px;
  top: 0;
  left: 12px;
  opacity: 0.9;
}

.header__logo-dot--2 {
  width: 8px;
  height: 8px;
  top: 14px;
  left: 0;
  opacity: 0.7;
}

.header__logo-dot--3 {
  width: 6px;
  height: 6px;
  top: 6px;
  left: 26px;
  opacity: 0.6;
}

.header__logo-dot--4 {
  width: 5px;
  height: 5px;
  top: 20px;
  left: 22px;
  opacity: 0.5;
}

.header__logo-dot--5 {
  width: 4px;
  height: 4px;
  top: 24px;
  left: 8px;
  opacity: 0.4;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  margin-top: 25px;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Hamburger Menu */
.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 6px;
  z-index: calc(var(--z-header) + 1);
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: all var(--transition-normal);
}

.header__hamburger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.header__hamburger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation */
.header__nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--color-white);
  padding: 100px var(--spacing-lg) var(--spacing-lg);
  transition: right var(--transition-normal);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}

.header__nav.is-open {
  right: 0;
}

.header__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--spacing-xl);
}

.header__nav-list li {
  border-bottom: 1px solid var(--color-bg-gray);
}

.header__nav-link {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 1rem 0;
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.header__nav-link:hover,
.header__nav-link.current {
  color: var(--color-primary);
}

/* Top link special styling for mobile */
.header__nav-link--top .header__nav-link-text {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
}

.header__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 8px rgba(232, 90, 113, 0.25);
}

.header__contact-btn svg {
  flex-shrink: 0;
}

.header__contact-btn:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 90, 113, 0.35);
}

/* Navigation Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: var(--z-overlay);
}

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

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  padding: 100px var(--container-padding) 2rem;
  background-color: var(--color-white);
}

.hero__frame {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

/* Tagline image overlaid on the notch baked into the hero images */
.hero__maintext {
  position: absolute;
  top: 7%;
  left: 4.5%;
  width: 42%;
  margin: 0;
  z-index: 3;
  pointer-events: none;
}

.hero__maintext img {
  display: block;
  width: 100%;
  height: auto;
}

/* Slider container - the pink frame + notch are part of the images */
.hero__slider {
  position: relative;
  overflow: hidden;
}

.hero__slider-track {
  position: relative;
  width: 100%;
  aspect-ratio: 2520 / 1350;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

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

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

/* Slider dots */
.hero__slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero__slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.hero__slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.hero__slider-dot.is-active {
  background-color: var(--color-white);
  transform: scale(1.2);
}

/* Hero Blog Cards */
.hero__blog {
  padding: var(--spacing-xl) var(--container-padding);
  background-color: var(--color-bg-light);
}

.hero__blog-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}

.hero__blog-title {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-primary);
}

.hero__blog-subtitle {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.hero__blog-link {
  font-family: var(--font-accent);
  font-size: 0.875rem;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 2px;
  margin-top: var(--spacing-xs);
}

.hero__blog-cards {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.hero__blog-right {
  display: none;
}

/* Blog Card Component */
.blog-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.blog-card--small {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
}

.blog-card__category {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 0;
  color: var(--color-white);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  flex-shrink: 0;
}

.blog-card__category--houmon {
  background-color: var(--color-primary);
}

.blog-card__category--support {
  background-color: var(--color-secondary);
}

.blog-card__thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__content {
  flex: 1;
  min-width: 0;
}

.blog-card__date {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.blog-card__title {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== ABOUT SECTION ========== */
.about {
  position: relative;
  padding: 4rem var(--container-padding) 5rem;
  background-color: var(--color-white);
  overflow: hidden;
}

.about__inner {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  z-index: 2;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about__text {
  max-width: 600px;
}

/* Section label with underline */
.section-label--underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.25rem;
}

.section-label--underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
}

.about__heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.about__heading-accent {
  color: var(--color-primary);
}

.about__catch {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.about__catch-line {
  display: block;
}

.about__catch-highlight {
  color: var(--color-primary);
}

.about__desc {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 2.2;
}

.about__desc p {
  margin: 0;
}

.about__image {
  display: flex;
  justify-content: center;
}

.about__image img {
  width: 100%;
  max-width: 560px;
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== SERVICES SECTION ========== */
.services {
  padding: 0 var(--container-padding) 4rem;
  background-color: var(--color-white);
}

.services__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.services__cards-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Service Card Base */
.service-card {
  position: relative;
  border-radius: 24px;
  border: 2px solid transparent;
  overflow: visible;
}

.service-card__icon {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 124px;
  z-index: 10;
}

.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

.service-card__body {
  padding: 4rem 1.5rem 2rem;
}

.service-card__number {
  font-family: var(--font-accent);
  font-size: 0.875rem;
  font-weight: 400;
  display: inline-block;
  padding-bottom: 0.125rem;
  border-bottom: 1px solid currentColor;
  margin-bottom: 1.25rem;
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card__intro {
  font-size: 0.8125rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.service-card__photo {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.service-card__photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.service-card__services {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.service-card__services-label {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-style: italic;
}

.service-card__services-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.125rem;
}

.service-card__desc {
  font-size: 0.8125rem;
  line-height: 1.9;
  margin-bottom: 1.25rem;
  text-align: left;
}

/* Service Tags */
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
  margin-bottom: 2rem;
}

.service-card__tags li {
  font-size: 0.6875rem;
  padding: 0.4rem 0.875rem;
  border-radius: 8px;
  background-color: var(--color-white);
  color: var(--color-text);
}

/* Works Grid (B型事業所) */
.service-card__works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.service-card__work-item {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
}

.service-card__work-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.service-card__work-item span {
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: 0.6875rem;
  padding: 0.3rem 0.625rem;
  color: var(--color-white);
  background-color: var(--color-navy);
  border-radius: 0 6px 0 0;
}

/* Service Card Buttons */
.service-card__btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 0.875rem 2.5rem;
  border-radius: 100px;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: center;
  transition: all var(--transition-normal);
}

.service-card__btn--primary {
  background-color: var(--color-secondary-dark);
  color: var(--color-white);
  box-shadow: 4px 4px 0 var(--color-white), 5px 5px 0 var(--color-secondary-dark);
}

.service-card__btn--primary:hover {
  background-color: var(--color-secondary-dark);
  color: var(--color-white);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-white), 3px 3px 0 var(--color-secondary-dark);
}

.service-card__btn--secondary {
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: 4px 4px 0 var(--color-white), 5px 5px 0 var(--color-navy);
}

.service-card__btn--secondary:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-white), 3px 3px 0 var(--color-navy);
}

/* ===== Service Card Variants ===== */

/* 01: 訪問看護 - Peach */
.service-card--houmon {
  background-color: var(--color-bg-pink);
  border-color: var(--color-secondary-dark);
}

.service-card--houmon .service-card__number {
  color: var(--color-secondary-dark);
}

.service-card--houmon .service-card__title {
  color: var(--color-text);
}

.service-card--houmon .service-card__services-label {
  color: var(--color-secondary-dark);
}

/* 02: B型事業所 - Light Blue */
.service-card--support {
  background-color: var(--color-navy-light);
  border-color: var(--color-navy);
}

.service-card--support .service-card__number {
  color: var(--color-navy);
}

.service-card--support .service-card__title {
  color: var(--color-text);
}

.service-card--support .service-card__services-label--secondary {
  color: var(--color-navy);
}

/* 03: 卸売業 - White with border */
.service-card--wholesale {
  background-color: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: 16px;
}

.service-card--wholesale .service-card__wholesale-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  gap: 1.5rem;
}

.service-card--wholesale .service-card__wholesale-image {
  flex-shrink: 0;
  width: 200px;
}

.service-card--wholesale .service-card__wholesale-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.service-card--wholesale .service-card__wholesale-content {
  text-align: center;
}

.service-card--wholesale .service-card__number {
  color: var(--color-primary);
}

.service-card--wholesale .service-card__title {
  color: var(--color-text);
  margin-bottom: 1rem;
}

.service-card--wholesale .service-card__desc {
  text-align: left;
  margin-bottom: 0;
}

/* ========== RECRUIT SECTION ========== */
.recruit {
  --recruit-green: #7BC17E;
  position: relative;
  padding: 5rem 0 6rem;
  background-color: var(--color-white);
  overflow: hidden;
}

/* Two wave bands (top / bottom). Each colored layer is masked by the
   wave SVG twice - one copy anchored to the band top, one to the band
   bottom, intersected - so both wavy edges keep their full amplitude
   instead of being squashed to the band height. Layers scroll
   right -> left at two speeds for parallax. */
.recruit__wave {
  --recruit-mask-h: 330px;
  /* Inlined copies of img/top_wave3.svg / top_wave4.svg. mask-image is
     CORS-restricted, so a file:// or cross-origin URL is refused while a
     data: URI always works. Keep in sync with the files in img/. */
  --recruit-mask-back: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1680 940.56' preserveAspectRatio='none'%3E%3Cpath fill='%23fae6be' d='M1345%2C14.09c-186%2C46.45-444.73%2C100.66-671%2C25C357-66.91%2C165%2C81.64%2C0%2C33.09v879h0c174-34%2C270%2C105%2C674-36.38%2C216.54-75.78%2C534.64-80.7%2C671-16.74%2C190%2C89.12%2C335%2C53.12%2C335%2C53.12V33.09s-179.16-57.92-335-19Z'/%3E%3C/svg%3E");
  --recruit-mask-front: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1680 1058.69' preserveAspectRatio='none'%3E%3Cpath fill='%239fceb1' fill-opacity='0.5' d='M1345%2C131.3c-157.57%2C31.17-453%2C85-671-26C454.02-6.7%2C176-29.8%2C0%2C38.13v989s152.72-67.48%2C335-34.93c330%2C58.93%2C444-98.45%2C671-25%2C234.87%2C75.99%2C498%2C127.86%2C674%2C59.93V38.13s-142%2C55-335%2C93.17Z'/%3E%3C/svg%3E");
  position: absolute;
  left: 0;
  width: 100%;
  height: 130px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.recruit__wave--top {
  top: 3.5rem;
}

.recruit__wave--bottom {
  bottom: -2.5rem;
}

.recruit__wave-layer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 200%;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  /* The SVGs' lower edges undulate far less than their upper edges, so the
     bottom-anchored copy is taller to give that edge a visible wave. */
  -webkit-mask-size: 50% var(--recruit-mask-h), 50% calc(var(--recruit-mask-h) * 1.8);
  mask-size: 50% var(--recruit-mask-h), 50% calc(var(--recruit-mask-h) * 1.8);
  -webkit-mask-position: 0 0, 0 100%;
  mask-position: 0 0, 0 100%;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  will-change: transform;
}

.recruit__wave-layer--back {
  background-color: #fae6be;
  -webkit-mask-image: var(--recruit-mask-back), var(--recruit-mask-back);
  mask-image: var(--recruit-mask-back), var(--recruit-mask-back);
  animation: waveScroll 44s linear infinite;
}

/* top_wave4.svg carries fill-opacity .5, so the alpha mask yields the
   designed 50% green over the beige layer. */
.recruit__wave-layer--front {
  background-color: #9fceb1;
  -webkit-mask-image: var(--recruit-mask-front), var(--recruit-mask-front);
  mask-image: var(--recruit-mask-front), var(--recruit-mask-front);
  animation: waveScroll 22s linear infinite reverse;
}

.recruit__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

/* White card with green outline; flush with the left edge,
   rounded on the right side only. */
.recruit__card {
  position: relative;
  background-color: var(--color-white);
  border: 1px solid var(--recruit-green);
  border-left: 0;
  border-radius: 0 40px 40px 0;
  margin-right: var(--container-padding);
  padding: 2.5rem var(--container-padding) 3rem;
  z-index: 1;
}

.recruit__content {
  max-width: 500px;
}

/* Green variant for section label */
.section-label--green {
  color: var(--recruit-green);
}

.section-label--green::after {
  background-color: var(--recruit-green);
}

.recruit__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.8;
  color: var(--color-text);
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.recruit__title-line {
  display: block;
}

.recruit__desc {
  font-size: 0.875rem;
  line-height: 2.2;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.recruit__desc p {
  margin: 0;
}

.recruit__btn {
  display: inline-block;
  background-color: var(--recruit-green);
  color: var(--color-white);
  padding: 0.875rem 2.75rem;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--transition-normal);
  box-shadow: 4px 4px 0 var(--color-white), 5px 5px 0 var(--recruit-green);
}

.recruit__btn:hover {
  background-color: var(--recruit-green);
  color: var(--color-white);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-white), 3px 3px 0 var(--recruit-green);
}

/* Photo overlapping the card's right edge */
.recruit__image {
  position: relative;
  margin-top: -2rem;
  margin-left: 2rem;
  z-index: 2;
}

.recruit__image-mask {
  position: relative;
  width: 100%;
  border-radius: 24px 0 0 24px;
  overflow: hidden;
}

.recruit__image-mask img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.1s linear;
  will-change: transform;
}

/* ========== STAFF SECTION ========== */
.staff {
  --staff-teal: #7AB9C7;
  --staff-photo: 200px;
  --staff-gap: 1.5rem;
  padding: 4rem 0;
  background-color: var(--color-white);
  overflow: hidden;
}

.staff__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Teal variant for section label */
.section-label--teal {
  color: var(--staff-teal);
}

.section-label--teal::after {
  background-color: var(--staff-teal);
}

/* Infinite marquee: photos enter from the right under a white fade
   and run off the left edge of the viewport. */
.staff__photos {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0;
}

.staff__photos::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 30%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--color-white) 85%);
  pointer-events: none;
  z-index: 1;
}

.staff__photos-track {
  display: flex;
  width: max-content;
  animation: staffScroll 36s linear infinite;
  will-change: transform;
}

@keyframes staffScroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* margin-right (not gap) keeps each item's footprint identical so
   translateX(-50%) lands exactly on the duplicate set. */
.staff__photo {
  flex-shrink: 0;
  width: var(--staff-photo);
  height: var(--staff-photo);
  margin-right: var(--staff-gap);
  border-radius: 50%;
  overflow: hidden;
}

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

/* Content area */
.staff__content {
  padding: 0 var(--container-padding);
  max-width: 600px;
}

.staff__title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.8;
  color: var(--color-text);
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.staff__title-line {
  display: block;
}

.staff__desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 2.2;
  margin-bottom: 1.5rem;
}

.staff__btn {
  display: inline-block;
  background-color: var(--staff-teal);
  color: var(--color-white);
  padding: 0.875rem 2.75rem;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--transition-normal);
  box-shadow: 4px 4px 0 var(--color-white), 5px 5px 0 var(--staff-teal);
}

.staff__btn:hover {
  background-color: var(--staff-teal);
  color: var(--color-white);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-white), 3px 3px 0 var(--staff-teal);
}

/* ========== COMPANY SECTION ========== */
.company {
  padding: 4rem var(--container-padding);
  background-color: var(--color-white);
  border-top: 1px solid var(--color-bg-gray);
  border-bottom: 1px solid var(--color-bg-gray);
}

.company__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.company__header {
  flex-shrink: 0;
}

.company__title {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.company__subtitle {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.company__content {
  flex: 1;
}

.company__list {
  display: flex;
  flex-direction: column;
}

.company__list-item {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-bg-gray);
  gap: 0.5rem;
}

.company__list-item:first-child {
  border-top: 1px solid var(--color-bg-gray);
}

.company__list-item dt {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.company__list-item dd {
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.9;
}

.company__map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-primary);
  font-size: 0.875rem;
  margin-left: 1rem;
  transition: opacity var(--transition-fast);
}

.company__map-link:hover {
  opacity: 0.7;
  color: var(--color-primary);
}

.company__map-icon {
  flex-shrink: 0;
}

/* ========== MAP SECTION ========== */
.map-section {
  padding: 3rem var(--container-padding) 4rem;
  background-color: var(--color-white);
}

.map-section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.map-section__container {
  position: relative;
  border: 3px solid var(--color-primary);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.map-section__label {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background-color: var(--color-white);
  padding: 0.625rem 1.5rem;
  border-radius: 0 0 20px 20px;
  font-family: var(--font-accent);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-primary);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-fast);
}

.map-section__label:hover {
  color: var(--color-primary-dark);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.map-section__label-icon {
  flex-shrink: 0;
}

.map-section__iframe-wrap {
  width: 100%;
  height: 280px;
}

.map-section__iframe-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* ========== FOOTER ========== */
.footer {
  position: relative;
  background-color: var(--color-white);
}

.footer__main {
  padding: 3rem var(--container-padding) 2.5rem;
  background-color: var(--color-white);
}

.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer__logo {
  display: flex;
  justify-content: center;
}

.footer__logo-link {
  position: relative;
  display: block;
}

.footer__logo-link img {
  width: 130px;
  height: 82px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

/* Decorative dots around footer logo */
.footer__logo-dots {
  position: absolute;
  top: -12px;
  left: -18px;
  width: 50px;
  height: 40px;
  pointer-events: none;
  z-index: 1;
}

.footer__logo-dot {
  position: absolute;
  border-radius: 50%;
  background-color: var(--color-primary-light);
}

.footer__logo-dot--1 {
  width: 16px;
  height: 16px;
  top: 0;
  left: 16px;
  opacity: 0.9;
}

.footer__logo-dot--2 {
  width: 10px;
  height: 10px;
  top: 18px;
  left: 0;
  opacity: 0.7;
}

.footer__logo-dot--3 {
  width: 8px;
  height: 8px;
  top: 8px;
  left: 34px;
  opacity: 0.6;
}

.footer__logo-dot--4 {
  width: 6px;
  height: 6px;
  top: 26px;
  left: 28px;
  opacity: 0.5;
}

.footer__logo-dot--5 {
  width: 5px;
  height: 5px;
  top: 32px;
  left: 10px;
  opacity: 0.4;
}

.footer__cols {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  text-align: center;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer__col-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer__col-title--primary {
  color: var(--color-primary);
}

.footer__col-title--secondary {
  color: var(--color-secondary);
}

.footer__address,
.footer__tel {
  font-size: 0.8125rem;
  color: var(--color-text);
  line-height: 1.7;
}

.footer__socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  transition: opacity var(--transition-fast);
}

.footer__social:hover {
  opacity: 0.7;
}

.footer__social--instagram {
  color: var(--color-secondary);
}

.footer__social--navy {
  color: var(--color-navy);
}

.footer__col--contact {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 2.5rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--transition-normal);
  box-shadow: 4px 4px 0 var(--color-white), 5px 5px 0 var(--color-primary);
}

.footer__contact-btn svg {
  flex-shrink: 0;
}

.footer__contact-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-white), 3px 3px 0 var(--color-primary);
}

/* Footer Bottom with Wave: two SVG layers scroll right -> left at
   different speeds (parallax); the nav sits in the solid area below. */
.footer__bottom {
  position: relative;
  min-height: 190px;
  overflow: hidden;
}

.footer__wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.footer__wave-layer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 200%;
  background-repeat: repeat-x;
  background-size: 50% 100%;
  background-position: 0 0;
  will-change: transform;
}

.footer__wave-layer--back {
  background-image: url('../img/footer_wave1.svg');
  animation: waveScroll 44s linear infinite;
}

.footer__wave-layer--front {
  background-image: url('../img/footer_wave2.svg');
  animation: waveScroll 22s linear infinite reverse;
}

.footer__bottom-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 190px;
  padding: 0 var(--container-padding) 1.75rem;
}

.footer__nav {
  width: 100%;
}

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.25rem;
}

.footer__nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-white);
  padding: 0.25rem 0.75rem;
  transition: opacity var(--transition-fast);
}

.footer__nav a:hover {
  opacity: 0.7;
  color: var(--color-white);
}

.footer__nav-divider {
  color: var(--color-white);
  opacity: 0.8;
  font-size: 0.75rem;
}

/* Side Copyright */
.side-copyright {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.625rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  padding: 1rem 0.5rem;
  z-index: 50;
  display: none;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* ========== TABLET STYLES (768px+) ========== */
@media screen and (min-width: 768px) {
  :root {
    --container-padding: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  /* Header */
  .header__logo-link img {
    width: 86px;
    height: 54px;
  }
  
  .header__logo-text {
    font-size: 0.8125rem;
  }

  .header__logo-dots {
    width: 48px;
    height: 36px;
    top: -10px;
    left: -14px;
  }

  .header__logo-dot--1 {
    width: 14px;
    height: 14px;
  }

  .header__logo-dot--2 {
    width: 10px;
    height: 10px;
  }
  
  /* Hero */
  .hero {
    padding: 110px 2rem 3rem;
  }

  .hero__text-bubble {
    padding: 1.75rem 2.5rem 1.75rem 2rem;
    margin-left: 2rem;
    border-radius: 24px 24px 0 0;
  }

  .hero__flower {
    width: 24px;
    height: 24px;
    top: 1rem;
    left: 1rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__slider {
    border-radius: 0 40px 40px 40px;
    border-width: 3px;
  }

  .hero__slider-track {
    aspect-ratio: 16 / 9;
  }

  .hero__slider-dots {
    bottom: 1.25rem;
    gap: 0.625rem;
  }

  .hero__slider-dot {
    width: 12px;
    height: 12px;
  }
  
  /* About */
  .about__heading {
    font-size: 1.25rem;
  }

  .about__catch {
    font-size: 1.75rem;
  }
  
  .about__content {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }
  
  .about__text {
    flex: 1;
  }
  
  .about__image {
    flex: 0 0 45%;
  }

  .about__image img {
    max-width: 100%;
  }
  
  /* Services */
  .services__cards-row {
    flex-direction: row;
    gap: 2rem;
  }

  .services__cards-row .service-card {
    flex: 1;
    margin-top: 80px;
  }

  .service-card__body {
    padding: 4.5rem 2rem 2.5rem;
  }

  .service-card__title {
    font-size: 1.375rem;
  }

  .service-card__photo img {
    height: 180px;
  }

  .service-card--wholesale .service-card__wholesale-inner {
    flex-direction: row;
    padding: 2.5rem;
    gap: 2.5rem;
  }

  .service-card--wholesale .service-card__wholesale-content {
    text-align: left;
    flex: 1;
  }

  .service-card--wholesale .service-card__desc {
    text-align: left;
  }
  
  /* Recruit */
  .recruit {
    padding: 8rem 0 9rem;
  }

  .recruit__wave {
    --recruit-mask-h: 450px;
    height: 180px;
  }

  .recruit__wave--top {
    top: 5rem;
  }

  .recruit__wave--bottom {
    bottom: -3.5rem;
  }

  .recruit__inner {
    flex-direction: row;
    align-items: center;
  }

  /* The photo overlaps the card by 12% of the row (= 12/52 ≈ 23% of the
     card), so reserve that width plus a gap on the right to keep the text
     from running under the image. */
  .recruit__card {
    --recruit-overlap: 23%;
    flex: 0 0 52%;
    margin-right: 0;
    padding: 5rem calc(var(--recruit-overlap) + 2rem) 5rem clamp(2rem, 5vw, 5rem);
    border-radius: 0 60px 60px 0;
  }

  .recruit__image {
    flex: 1;
    margin-top: 0;
    margin-left: -12%;
  }

  .recruit__image-mask {
    border-radius: 40px 0 0 40px;
  }

  .recruit__image-mask img {
    height: 420px;
  }
  
  .recruit__title {
    font-size: 1.75rem;
  }
  
  /* Staff */
  .staff {
    --staff-photo: clamp(200px, 25vw, 430px);
    --staff-gap: clamp(1.5rem, 2.5vw, 2.75rem);
    padding: 5rem 0;
  }

  .staff__inner {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
  
  .staff__photos {
    flex: 0 0 62%;
  }

  .staff__photos::after {
    width: 22%;
  }
  
  .staff__content {
    flex: 1;
    padding: 0 2rem 0 1.5rem;
  }
  
  .staff__title {
    font-size: 1.5rem;
  }
  
  /* Company */
  .company__inner {
    flex-direction: row;
    gap: 3rem;
  }

  .company__header {
    flex: 0 0 180px;
  }

  .company__list-item {
    flex-direction: row;
    gap: 2rem;
  }

  .company__list-item dt {
    flex: 0 0 100px;
    text-align: right;
  }

  /* Map */
  .map-section__container {
    border-radius: 24px;
  }

  .map-section__iframe-wrap {
    height: 350px;
  }
  
  /* Footer */
  .footer__info {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .footer__info-block {
    text-align: left;
  }
  
  .footer__social-wrap {
    justify-content: flex-start;
  }
  
  .footer__contact {
    justify-content: flex-end;
    align-items: flex-start;
  }
}

/* ========== DESKTOP STYLES (1024px+) ========== */
@media screen and (min-width: 1024px) {
  /* Header Desktop */
  .header__inner {
    padding: 0 2rem;
    height: 80px;
    gap: 1.5rem;
    flex-wrap: nowrap;
  }

  .header__hamburger {
    display: none;
  }
  
  .header__nav {
    position: static !important;
    right: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
  }
  
  .header__nav-list {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.5rem;
    margin-bottom: 0;
  }

  .header__nav-list li {
    border-bottom: none;
  }
  
  .header__nav-link {
    font-size: 0.875rem;
    padding: 0.25rem 0;
    position: relative;
    white-space: nowrap;
  }

  /* Top link special styling */
  .header__nav-link--top {
    padding-bottom: 0.35rem;
  }

  .header__nav-link--top .header__nav-link-text {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 400;
    font-size: 1rem;
    color: var(--color-text);
    position: relative;
    display: inline-block;
  }

  .header__nav-link--top .header__nav-link-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-text);
  }

  .header__nav-link--top.current .header__nav-link-text {
    color: var(--color-text);
  }

  .header__nav-link--top:hover .header__nav-link-text {
    color: var(--color-primary);
  }

  .header__nav-link--top:hover .header__nav-link-text::after {
    background-color: var(--color-primary);
  }

  /* Regular nav link hover effect */
  .header__nav-link:not(.header__nav-link--top)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
  }
  
  .header__nav-link:not(.header__nav-link--top):hover::after,
  .header__nav-link:not(.header__nav-link--top).current::after {
    width: 100%;
  }

  .header__contact-btn {
    padding: 0.875rem 1.75rem;
    font-size: 0.875rem;
  }
  
  /* Hero Desktop */
  .hero {
    padding: 90px 3rem 4rem;
  }

  .hero__frame {
    max-width: 1200px;
  }

  .hero__slider-dots {
    bottom: 1.5rem;
    gap: 0.75rem;
  }

  .hero__slider-dot {
    width: 14px;
    height: 14px;
  }
  
  /* Blog Preview Desktop */
  .blog-preview__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }

  .blog-preview__header {
    flex: 0 0 160px;
    position: sticky;
    top: 120px;
  }

  .blog-preview__grid {
    flex: 1;
    flex-direction: row;
    gap: 1.5rem;
  }

  .blog-preview__column {
    flex: 1;
  }

  .blog-card__link {
    --blog-card-h: 160px;
  }

  .blog-card__thumb {
    width: 160px;
  }

  .blog-card__body {
    padding: 1rem 1.25rem;
  }

  .blog-card__title {
    font-size: 1rem;
  }

  /* About Desktop */
  .about {
    padding: 5rem 3rem 6rem;
  }

  .about__heading {
    font-size: 1.375rem;
    margin-bottom: 2.5rem;
  }

  .about__catch {
    font-size: 2rem;
    line-height: 2;
    margin-bottom: 2.5rem;
  }

  .about__desc {
    font-size: 1rem;
  }

  .about__content {
    gap: 4rem;
  }

  .about__image {
    flex: 0 0 48%;
  }

  /* Services Desktop */
  .services {
    padding: 0 3rem 5rem;
  }

  .services__cards-row {
    gap: 3rem;
  }

  .service-card__icon {
    width: 120px;
    height: 150px;
    top: -84px;
  }

  .service-card__body {
    padding: 5rem 3rem 3rem;
  }

  .service-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .service-card__intro {
    font-size: 0.875rem;
  }

  .service-card__photo img {
    height: 220px;
  }

  .service-card__desc {
    font-size: 0.875rem;
  }

  .service-card__tags {
    gap: 0.625rem;
  }

  .service-card__tags li {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .service-card__works-grid {
    gap: 1rem;
  }

  .service-card__work-item img {
    height: 150px;
  }

  .service-card__work-item span {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }

  .service-card--wholesale {
    margin-top: 3rem;
  }

  .service-card--wholesale .service-card__wholesale-inner {
    padding: 3rem 4rem;
    gap: 3rem;
  }

  .service-card--wholesale .service-card__wholesale-image {
    width: 280px;
  }

  .service-card--wholesale .service-card__title {
    font-size: 1.5rem;
  }

  .service-card--wholesale .service-card__desc {
    font-size: 0.9375rem;
    line-height: 2;
  }

  /* Recruit Desktop */
  .recruit {
    padding: 9.5rem 0 10rem;
  }

  .recruit__wave {
    --recruit-mask-h: 520px;
    height: 210px;
  }

  .recruit__wave--top {
    top: 6rem;
  }

  .recruit__wave--bottom {
    bottom: -4rem;
  }

  .recruit__card {
    padding: 6.5rem calc(var(--recruit-overlap) + 2.5rem) 6.5rem clamp(3rem, 5vw, 5rem);
  }

  .recruit__title {
    font-size: 2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }

  .recruit__desc {
    font-size: 0.9375rem;
  }

  .recruit__image-mask {
    border-radius: 48px 0 0 48px;
  }

  .recruit__image-mask img {
    height: 520px;
  }

  /* Staff Desktop */
  .staff {
    padding: 6rem 0;
  }

  .staff__content {
    padding: 0 3rem 0 1.5rem;
  }

  .staff__title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .staff__desc {
    font-size: 0.9375rem;
  }

  /* Footer Desktop */
  .footer__main {
    padding: 3.5rem var(--container-padding) 0;
  }

  .footer__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
  }

  .footer__logo {
    flex-shrink: 0;
  }

  .footer__logo-link img {
    width: 200px;
    height: 126px;
  }

  .footer__cols {
    flex-direction: row;
    flex: 1;
    gap: 3rem;
    text-align: left;
    margin-left: 1rem;
    padding-top: 0.75rem;
  }

  .footer__col {
    flex: 1;
    gap: 0.25rem;
  }

  .footer__col-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
  }

  .footer__col-title--secondary {
    color: var(--color-navy);
  }

  .footer__address,
  .footer__tel {
    padding-left: 0.75rem;
  }

  .footer__socials {
    justify-content: flex-start;
    padding-left: 0.75rem;
    margin-top: 0.75rem;
  }

  .footer__col--contact {
    flex: 0 0 auto;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .footer__bottom {
    min-height: 220px;
    margin-top: -1rem;
  }

  .footer__bottom-content {
    min-height: 220px;
  }

  /* Company Desktop */
  .company {
    padding: 5rem 3rem;
  }

  .company__inner {
    gap: 5rem;
  }

  .company__header {
    flex: 0 0 220px;
  }

  .company__title {
    font-size: 2.5rem;
  }

  .company__list-item dt {
    flex: 0 0 120px;
    font-size: 0.875rem;
  }

  .company__list-item dd {
    font-size: 0.9375rem;
  }

  /* Map Desktop */
  .map-section {
    padding: 3rem 3rem 5rem;
  }

  .map-section__container {
    border-radius: 30px;
  }

  .map-section__label {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 0 0 24px 24px;
  }

  .map-section__iframe-wrap {
    height: 420px;
  }
  
  /* Side Copyright */
  .side-copyright {
    display: block;
    position: fixed;
    right: 0;
    top: 50%;
    writing-mode: horizontal-tb;
    transform: translate(50%, -50%) rotate(90deg);
    transform-origin: center center;
    padding: 0;
    z-index: 100;
  }
  
  .side-copyright span {
    display: block;
    font-size: 0.625rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
}

/* ========== LARGE DESKTOP STYLES (1280px+) ========== */
@media screen and (min-width: 1280px) {
  .header__inner {
    padding: 1rem 3rem;
  }

  .header__logo {
    gap: 1.25rem;
  }

  .header__logo-link img {
    width: 96px;
    height: 60px;
  }

  .header__logo-text {
    font-size: 0.875rem;
  }

  .header__logo-dots {
    width: 52px;
    height: 40px;
    top: -12px;
    left: -16px;
  }

  .header__logo-dot--1 {
    width: 16px;
    height: 16px;
  }

  .header__logo-dot--2 {
    width: 12px;
    height: 12px;
  }

  .header__logo-dot--3 {
    width: 8px;
    height: 8px;
  }

  .header__nav-list {
    gap: 2.5rem;
  }

  .header__nav-link {
    font-size: 0.9375rem;
  }

  .hero__title {
    font-size: 3.5rem;
  }
  
  .about__catch {
    font-size: 1.75rem;
  }
  
  .recruit__title {
    font-size: 2rem;
  }
  
  .staff__title {
    font-size: 1.75rem;
  }
}

/* ========== BLOG PREVIEW SECTION (top page) ========== */
.blog-preview {
  position: relative;
  padding: 6rem var(--container-padding) 7rem;
  background: transparent;
  overflow: hidden;
}

/* Two wave layers scrolling horizontally at different speeds.
   wave2 (peach) sits behind, wave1 (pink) in front. */
.blog-preview__wave {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.blog-preview__wave canvas {
  display: none;
}

.blog-preview__wave-layer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 200%;
  background-repeat: repeat-x;
  background-size: 50% 100%;
  background-position: 0 0;
  will-change: transform;
}

.blog-preview__wave-layer--back {
  background-image: url('../img/top_wave2.svg');
  animation: waveScroll 44s linear infinite;
}

.blog-preview__wave-layer--front {
  background-image: url('../img/top_wave1.svg');
  animation: waveScroll 22s linear infinite reverse;
}

@keyframes waveScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .blog-preview__wave-layer,
  .sp-about__wave-layer,
  .recruit__wave-layer,
  .footer__wave-layer,
  .staff__photos-track {
    animation: none;
  }
}

.blog-preview__inner {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 2;
}

.blog-preview__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.blog-preview__title {
  font-family: var(--font-accent);
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: 0.02em;
}

.blog-preview__subtitle {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.125rem;
}

.blog-preview__more {
  display: inline-block;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--color-white);
  background-color: var(--color-primary);
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 100px;
  margin-top: 0.75rem;
  box-shadow: 0 3px 0 var(--color-primary-dark);
  transition: all var(--transition-normal);
}

.blog-preview__more:hover {
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--color-primary-dark);
}

.blog-preview__grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-preview__column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ========== BLOG CARD - New Design ========== */
.blog-card {
  background-color: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.blog-card:hover {
  transform: translate(-2px, -2px);
}

/* 訪問看護 - Orange/Amber offset shadow */
.blog-card--houmon {
  border: 2px solid #E8963C;
  box-shadow: 5px 5px 0 #E8963C;
}

.blog-card--houmon:hover {
  box-shadow: 7px 7px 0 #E8963C;
}

.blog-card--houmon .blog-card__category {
  background-color: #E8963C;
}

.blog-card--houmon .blog-card__title {
  color: #D07E28;
}

/* B型事業所 - Navy offset shadow */
.blog-card--support {
  border: 2px solid var(--color-navy);
  box-shadow: 5px 5px 0 var(--color-navy);
}

.blog-card--support:hover {
  box-shadow: 7px 7px 0 var(--color-navy);
}

.blog-card--support .blog-card__category {
  background-color: var(--color-navy);
}

.blog-card--support .blog-card__title {
  color: var(--color-navy);
}

.blog-card__link {
  display: flex;
  align-items: stretch;
  min-height: var(--blog-card-h, 120px);
  color: var(--color-text);
}

.blog-card__link:hover {
  color: var(--color-text);
}

/* upright keeps the "Ｂ" in Ｂ型事業所 vertical instead of rotated */
.blog-card__category {
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-white);
  padding: 0.75rem 0.5rem;
  flex-shrink: 0;
}

/* Thumbnail fills the card height; extra width is cropped, no rounding */
.blog-card__thumb {
  flex-shrink: 0;
  align-self: stretch;
  width: 120px;
  height: auto;
  border-radius: 0;
  overflow: hidden;
}

.blog-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.blog-card__body {
  flex: 1;
  min-width: 0;
  padding: 0.875rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

.blog-card__date {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.blog-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Blog layout (desktop) - BLOG label bottom-left, cards in two columns */
@media screen and (min-width: 1024px) {
  .blog-preview {
    padding-top: 5rem;
  }

  .blog-preview__inner {
    flex-direction: row;
    align-items: stretch;
    gap: 3rem;
  }

  .blog-preview__header {
    flex: 0 0 150px;
    position: static;
    top: auto;
    justify-content: center;
    padding-bottom: 0;
  }

  .blog-preview__grid {
    flex: 1;
    flex-direction: row;
    gap: 2rem;
    align-items: stretch;
  }

  /* Both columns share one height; each card stretches equally so
     the rows in the left and right columns line up. */
  .blog-preview__column {
    flex: 1;
    gap: 1.5rem;
  }

  .blog-preview__column .blog-card {
    flex: 1;
    display: flex;
  }

  .blog-preview__column .blog-card__link {
    flex: 1;
  }
}

/* ========== BLOG ARCHIVE PAGE ========== */
.blog-archive {
  padding: var(--spacing-xxl) var(--container-padding);
}

.blog-archive__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.blog-archive__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.blog-card--archive {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--color-bg-gray);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

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

.blog-card--archive .blog-card__link {
  display: flex;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
}

.blog-card--archive .blog-card__thumb {
  flex-shrink: 0;
  width: 110px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.blog-card--archive .blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card--archive .blog-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.blog-card--archive .blog-card__category {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--color-white);
  align-self: flex-start;
}

/* ========== PAGINATION ========== */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-xl);
}

.pagination__list {
  display: flex;
  gap: var(--spacing-xs);
}

.pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  border: 2px solid var(--color-bg-gray);
  transition: all var(--transition-normal);
}

.pagination__item:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pagination__item--active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.pagination__item--active:hover {
  color: var(--color-white);
}

/* ========== PAGE HERO (sub-pages) ========== */
.page-hero {
  padding-top: 80px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.page-hero__inner {
  padding: var(--spacing-xxl) var(--container-padding) var(--spacing-xl);
}

.page-hero__inner .section-label {
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
}

.page-hero__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.page-hero__wave {
  height: 100px;
  position: relative;
  overflow: hidden;
}

.page-hero__wave canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Sub-page title waves: three SVG bands scrolling at different speeds
   (same technique as the footer) so the layers drift against each other. */
.page-hero__wave--layers {
  height: clamp(110px, 12vw, 190px);
  margin-top: var(--spacing-md);
}

.page-hero__wave-layer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 200%;
  background-repeat: repeat-x;
  background-size: 50% 100%;
  background-position: 0 0;
  will-change: transform;
}

.page-hero__wave-layer--back {
  background-image: url('../img/sub_wave3.svg');
  animation: waveScroll 44s linear infinite;
}

.page-hero__wave-layer--middle {
  background-image: url('../img/sub_wave2.svg');
  animation: waveScroll 30s linear infinite reverse;
}

.page-hero__wave-layer--front {
  background-image: url('../img/sub_wave1.svg');
  animation: waveScroll 22s linear infinite;
}

/* ========== ABOUT SECTION - updated structure ========== */
.about__label-wrap {
  margin-bottom: var(--spacing-xl);
}

.about__label-wrap .section-label {
  display: block;
  text-align: center;
}

.about__section-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin-top: var(--spacing-xs);
}

/* ========== SERVICE CARD - updated structure ========== */
.service-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__image .service-card__title {
  position: absolute;
  bottom: var(--spacing-md);
  left: var(--spacing-md);
  right: var(--spacing-md);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.service-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 60%);
}

.service-card--houmon .service-card__image::after {
  background: linear-gradient(to top, rgba(232, 90, 113, 0.65) 0%, transparent 60%);
}

.service-card--support .service-card__image::after {
  background: linear-gradient(to top, rgba(245, 166, 35, 0.65) 0%, transparent 60%);
}

.service-card__image--product {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f8f8;
}

.service-card__image--product::after {
  display: none;
}

.service-card__image--product img {
  width: auto;
  height: auto;
  max-height: 200px;
  object-fit: contain;
}

.service-card__title--dark {
  position: absolute;
  color: var(--color-text) !important;
  text-shadow: none !important;
}

.service-card__label-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: var(--spacing-md);
}

.service-card__label-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.section-label--secondary {
  color: var(--color-secondary);
}

/* ========== FOOTER COLS (updated structure) ========== */
.footer__cols {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer__col-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.footer__address,
.footer__tel {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.footer__socials {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.footer__col--contact {
  align-items: flex-start;
  justify-content: flex-start;
}

/* ========== CONTACT PAGE ========== */
.contact-phone {
  padding: var(--spacing-xl) var(--container-padding) var(--spacing-sm);
}

.contact-phone__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: var(--spacing-xl) var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-phone__left {
  text-align: center;
}

.contact-phone__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.06em;
}

.contact-phone__label {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--color-primary);
  display: block;
  margin-top: 0.25rem;
}

.contact-phone__list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-phone__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-phone__name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
}

.contact-phone__hours {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.contact-phone__number {
  display: block;
  font-family: var(--font-accent);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-navy);
  transition: opacity var(--transition-fast);
  white-space: nowrap;
}

.contact-phone__number:hover {
  opacity: 0.75;
}

.contact-phone__number--primary {
  color: var(--color-secondary);
}

/* ========== CONTACT FORM SECTION ========== */
.contact-form {
  padding: var(--spacing-sm) var(--container-padding) var(--spacing-xxl);
}

.contact-form__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: var(--spacing-xxl) var(--spacing-md);
}

.contact-form__title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text);
  text-align: center;
  letter-spacing: 0.14em;
  margin-bottom: var(--spacing-xs);
}

.contact-form__inner > .section-label {
  display: block;
  text-align: center;
  font-size: 1rem;
  margin-bottom: var(--spacing-xl);
}

/* ========== FORM STYLES ========== */
.form {
  max-width: 880px;
  margin: var(--spacing-xl) auto 0;
}

.form__row {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-lg);
  border: 0;
  padding: 0;
  min-width: 0;
}

.form__label-wrap {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  min-height: 1.5rem;
}

.form__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.06em;
}

.form__required {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.3rem 0.75rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 100px;
}

.form__field {
  flex: 1;
  min-width: 0;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 0.85rem 1.25rem;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1px solid #d8d8d8;
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form__textarea {
  min-height: 300px;
  resize: vertical;
}

.form__note {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.form__error {
  max-width: 880px;
  margin: 0 auto var(--spacing-lg);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: 0.875rem;
  line-height: 1.8;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(232, 90, 113, 0.12);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-text-muted);
}

.form__radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.form__radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.form__radio-label input[type="radio"] {
  accent-color: var(--color-primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form__submit {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-xl);
}

.form__submit .btn {
  min-width: 200px;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  box-shadow: 4px 4px 0 var(--color-primary-light);
}

.form__submit .btn:hover {
  box-shadow: 6px 6px 0 var(--color-primary-light);
}

/* ========== CONFIRM TABLE ========== */
.confirm-intro {
  text-align: center;
  font-size: 0.9375rem;
  margin-bottom: var(--spacing-xl);
  color: var(--color-text-light);
}

.confirm-table {
  width: 100%;
  max-width: 880px;
  margin: 0 auto var(--spacing-xl);
}

.confirm-table td {
  word-break: break-all;
}

.confirm-btns .btn {
  min-width: 180px;
}

.confirm-table th,
.confirm-table td {
  padding: var(--spacing-sm);
  font-size: 0.875rem;
  text-align: left;
  border-bottom: 1px solid var(--color-bg-gray);
  vertical-align: top;
}

.confirm-table th {
  width: 35%;
  font-weight: 500;
  color: var(--color-text);
}

.confirm-table td {
  color: var(--color-text-light);
}

.confirm-btns {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

/* ========== THANKS SECTION ========== */
.thanks-section {
  padding: var(--spacing-xxl) var(--container-padding);
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
}

.thanks-section__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.thanks-section__title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--color-text);
}

.thanks-section__desc {
  font-size: 0.9375rem;
  line-height: 2;
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-xl);
}

/* ========== INNER PAGE CONTENT ========== */
.inner-page-content {
  padding: var(--spacing-xxl) var(--container-padding);
}

.inner-page-content__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.inner-page-content__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.inner-page-content__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.inner-page-content__title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
  color: var(--color-text);
}

.inner-page-content__desc {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

/* ========== RECRUIT BUTTONS ========== */
.recruit-btns {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
  align-items: flex-start;
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== RESPONSIVE ADDITIONS ========== */
@media screen and (min-width: 768px) {
  .blog-preview__grid {
    flex-direction: row;
    gap: var(--spacing-xl);
  }

  .blog-preview__left {
    flex: 1;
  }

  .blog-preview__right {
    flex: 0 0 300px;
  }

  .blog-archive__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-phone__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) clamp(2rem, 6vw, 6rem);
  }

  .contact-phone__left {
    flex: 0 0 auto;
    text-align: left;
    padding-right: var(--spacing-xl);
    border-right: 1px solid #d8d8d8;
  }

  .contact-phone__list {
    flex: 1;
    gap: var(--spacing-md);
  }

  .contact-phone__item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
  }

  .contact-phone__item-text {
    flex: 1;
  }

  .contact-form__inner {
    padding: var(--spacing-xxl) clamp(2rem, 6vw, 6rem);
  }

  .form__row {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--spacing-lg);
  }

  .form__label-wrap {
    flex: 0 0 260px;
    padding-top: 0.85rem;
  }

  .form__row--inline .form__label-wrap {
    padding-top: 0;
  }

  .form__radio-group {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--spacing-md) var(--spacing-lg);
    padding-top: 0.15rem;
  }

  .inner-page-content__inner {
    flex-direction: row;
    align-items: center;
  }

  .inner-page-content__image {
    flex: 0 0 48%;
  }

  .inner-page-content__text {
    flex: 1;
  }

  .recruit-btns {
    flex-direction: row;
  }

  .page-hero__title {
    font-size: 2rem;
  }

  .footer__cols {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer__col {
    flex: 1;
  }

  .footer__col--contact {
    flex: 0 0 auto;
    align-items: flex-end;
  }
}

.header__nav-link--current {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.4em;
  text-decoration-thickness: 1px;
}

/* ========== SUB PAGE THEME (support = navy, nursing = orange) ========== */
.main {
  --sp-accent: var(--color-navy);
  --sp-accent-light: var(--color-navy-light);
  --sp-photo: url('../img/support_back.jpg');
  --sp-mask-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1680 1261.24' preserveAspectRatio='none'%3E%3Cpath d='M1680%2C365.4V33.09s-179.16-57.91-335-19c-186%2C46.45-444.73%2C100.66-671%2C25C357-66.91%2C165%2C81.64%2C0%2C33.09v332.31s0%2C0%2C0%2C0v866.69c174-34%2C270.54%2C106.53%2C674-36.38%2C255.12-90.37%2C491.12-85.37%2C671-16.74%2C196.08%2C74.81%2C335%2C53.12%2C335%2C53.12V365.4h0Z'/%3E%3C/svg%3E");
  --sp-mask-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1680 1328.69' preserveAspectRatio='none'%3E%3Cpath d='M1345%2C131.3c-157.57%2C31.17-453%2C85-671-26C454.02-6.7%2C176-29.8%2C0%2C38.13v1259s152.72-67.48%2C335-34.93c330%2C58.93%2C444-98.45%2C671-25%2C234.87%2C75.99%2C498%2C127.86%2C674%2C59.93V38.13s-142%2C55-335%2C93.17Z'/%3E%3C/svg%3E");
}

.main--nursing {
  --sp-accent: #e18e2e;
  --sp-accent-light: #fae1d2;
  --sp-photo: url('../img/nursing_back.jpg');
  --sp-mask-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1680 1681.24' preserveAspectRatio='none'%3E%3Cpath d='M1680%2C365.4V33.09s-179.16-57.91-335-19c-186%2C46.45-444.73%2C100.66-671%2C25C357-66.91%2C165%2C81.64%2C0%2C33.09v332.31s0%2C0%2C0%2C0v1286.69c174-34%2C270.54%2C106.53%2C674-36.38%2C255.12-90.37%2C491.12-85.37%2C671-16.74%2C196.08%2C74.81%2C335%2C53.12%2C335%2C53.12V365.4h0Z'/%3E%3C/svg%3E");
  --sp-mask-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1680 1748.69' preserveAspectRatio='none'%3E%3Cpath d='M1345%2C131.3c-157.57%2C31.17-453%2C85-671-26C454.02-6.7%2C176-29.8%2C0%2C38.13v1679s152.72-67.48%2C335-34.93c330%2C58.93%2C444-98.45%2C671-25%2C234.87%2C75.99%2C498%2C127.86%2C674%2C59.93V38.13s-142%2C55-335%2C93.17Z'/%3E%3C/svg%3E");
}

.header--nursing .header__nav-link--current {
  color: #e18e2e;
}

.main--nursing .sp-about__title {
  color: var(--sp-accent);
}

.sp-about__em {
  font-weight: 700;
  color: var(--sp-accent);
}

/* ========== SUPPORT PAGE ========== */
.sp-hero {
  position: relative;
  z-index: 2;
  padding: var(--spacing-xxl) var(--container-padding) 0;
}

.sp-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.sp-hero__label {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sp-accent);
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-sm);
}

.sp-hero__title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.1em;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.sp-hero__title span {
  display: block;
}

.sp-hero__desc {
  font-size: 0.9375rem;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.sp-hero__desc p + p {
  margin-top: 1.5em;
}

.sp-hero__image {
  border-radius: 36px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  max-width: 320px;
  margin: 0 auto;
  width: 100%;
  border: 2px solid var(--sp-accent);
  background-color: var(--color-white);
}

.sp-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Background photo band, looping navy/light waves, and overlapping card */
.sp-about {
  --sp-photo-h: clamp(300px, 44vw, 700px);
  --sp-wave-top: calc(var(--sp-photo-h) - clamp(70px, 8vw, 130px));
  position: relative;
  margin-top: calc(-1 * var(--spacing-xl));
  padding-bottom: clamp(120px, 14vw, 220px);
  overflow: hidden;
}

.sp-about__photo {
  position: relative;
  height: var(--sp-photo-h);
  background-image: var(--sp-photo);
  background-size: cover;
  background-position: center bottom;
}

.sp-about__photo::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 40%;
  background: linear-gradient(to bottom, var(--color-white), rgba(255, 255, 255, 0));
}

.sp-about__waves {
  position: absolute;
  top: var(--sp-wave-top);
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.sp-about__wave-layer {
  position: absolute;
  left: 0;
  width: 200%;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: 50% 100%;
  mask-size: 50% 100%;
  will-change: transform;
}

.sp-about__wave-layer--navy {
  top: 0;
  bottom: 0;
  background-color: var(--sp-accent);
  -webkit-mask-image: var(--sp-mask-navy);
  mask-image: var(--sp-mask-navy);
  animation: waveScroll 44s linear infinite;
}

.sp-about__wave-layer--light {
  top: clamp(40px, 5vw, 80px);
  bottom: clamp(40px, 5vw, 80px);
  background-color: var(--sp-accent-light);
  -webkit-mask-image: var(--sp-mask-light);
  mask-image: var(--sp-mask-light);
  animation: waveScroll 22s linear infinite reverse;
}

.sp-about__chara {
  position: absolute;
  left: 50%;
  top: var(--sp-wave-top);
  width: clamp(80px, 8vw, 120px);
  transform: translate(-50%, -18%);
  z-index: 2;
}

.sp-about__chara img {
  display: block;
  width: 100%;
  height: auto;
}

.sp-about__card {
  position: relative;
  z-index: 3;
  max-width: var(--container-max);
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: var(--spacing-xl) var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.sp-about__card-wrap {
  position: relative;
  z-index: 3;
  padding: 0 var(--container-padding);
  margin-top: clamp(-40px, -4vw, -70px);
}

.sp-about__top {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.sp-about__title {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.sp-about__desc {
  font-size: 0.8125rem;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.sp-about__desc p + p {
  margin-top: 1em;
}

.sp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  font-size: 0.8125rem;
}

.sp-table th {
  width: 90px;
  background-color: var(--sp-accent);
  color: var(--color-white);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.sp-table td {
  background-color: var(--color-bg-gray);
  color: var(--color-text);
  text-align: center;
  padding: 0.5rem 0.75rem;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
}

.sp-features {
  display: grid;
  gap: var(--spacing-lg);
}

.sp-feature__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1260 / 780;
  margin-bottom: var(--spacing-sm);
}

.sp-feature__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-feature__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.sp-feature__desc {
  font-size: 0.75rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

/* Flow / steps / FAQ */
.sp-flow {
  padding: var(--spacing-xxl) var(--container-padding);
}

.sp-flow__inner {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: var(--spacing-lg);
}

.sp-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: var(--spacing-lg) var(--spacing-md) var(--spacing-xl);
}

.sp-card__title {
  display: block;
  width: fit-content;
  margin: 0 auto var(--spacing-lg);
  background-color: var(--sp-accent);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.45rem 2.5rem;
  border-radius: var(--radius-sm);
}

.sp-card--faq .sp-card__title {
  background-color: var(--color-primary);
}

.sp-timeline {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--spacing-md);
  row-gap: 0.6rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.sp-timeline dt {
  font-family: var(--font-accent);
  white-space: nowrap;
}

.sp-card__note {
  margin-top: var(--spacing-md);
  font-size: 0.6875rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

.sp-steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.sp-steps li {
  counter-increment: step;
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
}

.sp-steps li::before {
  content: counter(step);
  font-family: var(--font-accent);
  font-size: 1.125rem;
  color: var(--sp-accent);
  flex: 0 0 1.5rem;
  line-height: 1.4;
}

.sp-steps__title {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.sp-steps__desc {
  font-size: 0.75rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-top: 0.25rem;
}

.sp-steps__tel {
  display: block;
  font-family: var(--font-accent);
  font-size: 1.125rem;
  color: var(--sp-accent);
  margin-top: 0.15rem;
}

.sp-steps .btn {
  margin-top: 0.6rem;
  font-size: 0.6875rem;
  padding: 0.4rem 1.1rem;
  background-color: var(--sp-accent);
  color: var(--color-white);
  box-shadow: 3px 3px 0 var(--sp-accent-light);
}

.sp-faq {
  display: flex;
  flex-direction: column;
}

.sp-faq__item {
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.sp-faq__item:last-child {
  border-bottom: 0;
}

.sp-faq__q,
.sp-faq__a {
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
  font-size: 0.8125rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.sp-faq__q {
  font-weight: 700;
}

.sp-faq__q::before,
.sp-faq__a::before {
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.sp-faq__q::before {
  content: 'Q';
  background-color: var(--color-primary);
}

.sp-faq__a::before {
  content: 'A';
  background-color: var(--sp-accent);
}

/* Instagram */
.sp-insta {
  padding: 0 var(--container-padding) var(--spacing-xxl);
}

.sp-insta__inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  text-align: center;
}

.sp-insta__title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-primary);
}

.sp-insta__desc {
  font-size: 0.8125rem;
  color: var(--color-text);
  margin-top: 0.35rem;
}

.sp-insta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--sp-accent);
  color: var(--color-white);
  font-family: var(--font-accent);
  font-size: 0.875rem;
  padding: 0.6rem 1.75rem;
  border-radius: 100px;
  box-shadow: 4px 4px 0 var(--sp-accent-light);
  transition: transform var(--transition-fast);
}

.sp-insta__btn:hover {
  transform: translateY(-2px);
}

.sp-insta__btn svg {
  width: 16px;
  height: 16px;
}

/* Contact CTA (same as top page) */
.sp-cta {
  padding: var(--spacing-xxl) var(--container-padding);
  text-align: center;
}

.sp-cta__title {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: var(--spacing-xl);
}

.sp-cta__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.sp-cta__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.sp-cta__label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.sp-cta__tel {
  font-family: var(--font-accent);
  font-size: 1.75rem;
  color: var(--color-navy);
  white-space: nowrap;
}

.sp-cta__sub {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

@media (min-width: 768px) {
  .sp-hero__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-xxl);
  }

  .sp-hero__text {
    flex: 1;
  }

  .sp-hero__image {
    flex: 0 0 34%;
    max-width: 380px;
    margin: 0;
    align-self: flex-start;
  }

  .sp-about__card {
    padding: var(--spacing-xl) clamp(2rem, 5vw, 5rem);
  }

  .sp-about__top {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--spacing-xl);
  }

  .sp-about__text {
    flex: 1;
  }

  .sp-about__top .sp-table {
    flex: 1;
  }

  .sp-features {
    grid-template-columns: repeat(3, 1fr);
  }

  .sp-flow__inner {
    grid-template-columns: 1fr 1fr;
  }

  .sp-card--faq {
    grid-column: 1 / -1;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
  }

  .sp-insta__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .sp-cta__inner {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
  }

  .sp-cta__col {
    flex: 1;
  }

  .sp-cta__col + .sp-cta__col {
    border-left: 1px solid #d8d8d8;
  }
}

/* ========== NURSING PAGE ========== */
.ns-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
  font-size: 0.8125rem;
  table-layout: fixed;
}

.ns-table thead th {
  background-color: var(--sp-accent);
  color: var(--color-white);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 0.5rem 0.25rem;
  border-radius: var(--radius-sm);
}

.ns-table thead td {
  width: 32%;
}

.ns-table tbody th {
  background-color: var(--sp-accent);
  color: var(--color-white);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: left;
  line-height: 1.5;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
}

.ns-table tbody td {
  background-color: var(--color-white);
  border: 1px solid var(--sp-accent-light);
  color: var(--color-text);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0.75rem 0.25rem;
  border-radius: var(--radius-sm);
}

.ns-table tbody td small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  margin-top: 0.15rem;
}

/* Voice of users */
.ns-voice {
  padding: var(--spacing-xl) var(--container-padding) var(--spacing-xxl);
}

.ns-voice__inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
}

.ns-voice__title {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--sp-accent);
  text-align: center;
}

.ns-voice__desc {
  font-size: 0.8125rem;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-align: center;
  max-width: 800px;
  margin-top: calc(-1 * var(--spacing-md));
}

.ns-charts {
  display: grid;
  gap: var(--spacing-lg);
  width: 100%;
}

.ns-chart {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: var(--spacing-lg) var(--spacing-md) var(--spacing-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.ns-chart__title {
  align-self: stretch;
  background-color: var(--sp-accent);
  color: var(--color-white);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
}

.ns-pie {
  --ns-orange: #e18e2e;
  --ns-pink: var(--color-primary);
  --ns-green: #7fd3a0;
  --ns-navy: var(--color-navy);
  --ns-sky: #8ecbd6;
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: var(--radius-full);
}

.ns-pie--satisfaction {
  background: conic-gradient(
    var(--ns-orange) 0 75.9%,
    var(--ns-pink) 75.9% 86.2%,
    var(--ns-green) 86.2% 100%
  );
}

.ns-pie--merit {
  background: conic-gradient(
    var(--ns-orange) 0 39.2%,
    var(--ns-pink) 39.2% 56.8%,
    var(--ns-green) 56.8% 62.7%,
    var(--ns-navy) 62.7% 96.1%,
    var(--ns-sky) 96.1% 100%
  );
}

.ns-pie__label {
  position: absolute;
  transform: translate(-50%, -50%);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}

.ns-pie__label--s5 { left: 50%; top: 66%; }
.ns-pie__label--s4 { left: 21%; top: 40%; }
.ns-pie__label--s3 { left: 36%; top: 22%; }
.ns-pie__label--m1 { left: 76%; top: 42%; }
.ns-pie__label--m2 { left: 55%; top: 79%; }
.ns-pie__label--m4 { left: 24%; top: 43%; }

.ns-legend {
  list-style: none;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.ns-legend li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ns-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.ns-legend__dot--orange { background-color: #e18e2e; }
.ns-legend__dot--pink { background-color: var(--color-primary); }
.ns-legend__dot--green { background-color: #7fd3a0; }
.ns-legend__dot--navy { background-color: var(--color-navy); }
.ns-legend__dot--sky { background-color: #8ecbd6; }

.ns-legend__val {
  margin-left: 0.5rem;
  font-family: var(--font-accent);
}

.ns-chart__note {
  align-self: flex-start;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-top: calc(-1 * var(--spacing-sm));
}

.ns-reason__title {
  background-color: var(--sp-accent);
  color: var(--color-white);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.5rem 2.5rem;
  border-radius: var(--radius-md);
}

.ns-testimonials {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.ns-testimonial {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.ns-testimonial--reverse {
  flex-direction: row-reverse;
}

.ns-testimonial__avatar {
  flex: 0 0 auto;
  width: clamp(72px, 10vw, 150px);
  aspect-ratio: 1;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.ns-testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ns-testimonial__bubble {
  position: relative;
  flex: 1;
  background-color: var(--sp-accent-light);
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.06em;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-xl);
}

.ns-testimonial__bubble::before {
  content: '';
  position: absolute;
  top: 55%;
  width: 0;
  height: 0;
  border-style: solid;
}

.ns-testimonial:not(.ns-testimonial--reverse) .ns-testimonial__bubble::before {
  right: 100%;
  border-width: 12px 22px 0 0;
  border-color: var(--sp-accent-light) transparent transparent transparent;
}

.ns-testimonial--reverse .ns-testimonial__bubble::before {
  left: 100%;
  border-width: 12px 0 0 22px;
  border-color: var(--sp-accent-light) transparent transparent transparent;
}

@media (min-width: 768px) {
  .ns-charts {
    grid-template-columns: 1fr 1fr;
    max-width: 780px;
  }

  .ns-chart {
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-xxl);
  }

  .ns-pie {
    width: 240px;
    height: 240px;
  }

  .ns-testimonial__bubble {
    max-width: 620px;
    padding: var(--spacing-lg) var(--spacing-xl);
  }

  .main--nursing .sp-features {
    row-gap: var(--spacing-xl);
  }

  .main--nursing .sp-about__top .ns-table {
    flex: 1.15;
  }
}

/* ========== RECRUIT PAGE ========== */
.main--recruit {
  --rc-green: #7BC17E;
  --rc-teal: #5BB4C4;
  --rc-orange: #e18e2e;
  --rc-orange-light: #fae1d2;
  --rc-navy: #284B66;
  --rc-navy-light: #dce5ec;
  --recruit-green: var(--rc-green);
  --staff-teal: var(--rc-teal);
}

.header--recruit .header__nav-link--current {
  color: var(--color-primary);
}

/* Full-bleed photo with three looping wave bands (beige / 50% green / white)
   drifting at different speeds across the bottom edge. */
.rc-hero {
  position: relative;
  height: clamp(320px, 52vw, 760px);
  overflow: hidden;
}

.rc-hero__photo {
  position: absolute;
  inset: 0;
  background-image: url('../img/recruit_main.jpg');
  background-size: cover;
  background-position: center 30%;
}

.rc-hero__waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(90px, 14vw, 210px);
  pointer-events: none;
}

.rc-hero__wave-layer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  background-repeat: repeat-x;
  background-size: 50% 100%;
  will-change: transform;
}

.rc-hero__wave-layer--beige {
  top: 0;
  background-image: url('../img/recruit_wave1.svg');
  animation: waveScroll 44s linear infinite;
}

.rc-hero__wave-layer--green {
  top: 18%;
  background-image: url('../img/recruit_wave2.svg');
  animation: waveScroll 30s linear infinite reverse;
}

.rc-hero__wave-layer--white {
  top: 38%;
  background-image: url('../img/recruit_wave3.svg');
  animation: waveScroll 22s linear infinite;
}

/* Intro */
.rc-intro {
  padding: var(--spacing-sm) var(--container-padding) var(--spacing-xxl);
  text-align: center;
}

.rc-intro__inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}

.rc-intro .section-label {
  margin-bottom: 0;
}

.rc-intro__title {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: var(--rc-teal);
}

.rc-intro__title span {
  display: block;
}

.rc-intro__desc {
  font-size: 0.875rem;
  line-height: 2.1;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.rc-intro__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.rc-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background-color: var(--rc-accent);
  transition: all var(--transition-normal);
}

.rc-pill:hover {
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.rc-pill--nursing { --rc-accent: var(--rc-orange); }
.rc-pill--support { --rc-accent: var(--rc-navy); }

/* Job card: themed per department */
.rc-job {
  --rc-accent: var(--rc-orange);
  --rc-accent-light: var(--rc-orange-light);
  --rc-photo: url('../img/nursing_back.jpg');
  padding: 0 var(--container-padding);
  scroll-margin-top: 110px;
}

.rc-job--support {
  --rc-accent: var(--rc-navy);
  --rc-accent-light: var(--rc-navy-light);
  --rc-photo: url('../img/support_back.jpg');
}

.rc-job__card {
  max-width: var(--container-max);
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.rc-job__visual {
  position: relative;
  height: clamp(300px, 40vw, 560px);
  background-image: var(--rc-photo);
  background-size: cover;
  background-position: left center;
}

.rc-job__visual::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 35%;
  background: linear-gradient(to bottom, var(--color-white), rgba(255, 255, 255, 0));
}

.rc-job__waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(70px, 10vw, 150px);
  pointer-events: none;
}

.rc-job__wave-layer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: 50% 100%;
  mask-size: 50% 100%;
  will-change: transform;
}

.rc-job__wave-layer--accent {
  top: 0;
  background-color: var(--rc-accent);
  -webkit-mask-image: url('../img/recruit_wave1.svg');
  mask-image: url('../img/recruit_wave1.svg');
  animation: waveScroll 44s linear infinite reverse;
}

.rc-job__wave-layer--white {
  top: 36%;
  background-color: var(--color-white);
  -webkit-mask-image: url('../img/recruit_wave3.svg');
  mask-image: url('../img/recruit_wave3.svg');
  animation: waveScroll 24s linear infinite;
}

.rc-job__copy {
  position: absolute;
  right: 0;
  top: clamp(90px, 14vw, 180px);
  max-width: 94%;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  z-index: 1;
}

.rc-job__catch {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.92);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: clamp(0.875rem, 1.45vw, 1.25rem);
  font-weight: 700;
  line-height: 1.9;
  white-space: nowrap;
  letter-spacing: 0.08em;
  color: var(--color-text);
  text-align: left;
}

.rc-job__catch span {
  display: block;
}

.rc-job__tag {
  display: inline-block;
  background-color: var(--rc-accent);
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-sm);
}

.rc-job__body {
  padding: var(--spacing-xl) var(--spacing-md) var(--spacing-xxl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxl);
}

.rc-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.rc-details__head {
  flex: 0 0 auto;
}

.rc-details__title {
  font-family: var(--font-accent);
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--rc-accent);
  line-height: 1.2;
}

.rc-details__sub {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: var(--color-text);
  margin-top: 0.25rem;
  margin-bottom: var(--spacing-md);
}

.rc-details__desc {
  font-size: 0.8125rem;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.rc-details__desc p + p {
  margin-top: 0.75em;
}

.rc-spec {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem 0;
  font-size: 0.8125rem;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.rc-spec dt {
  color: var(--color-text-light);
  letter-spacing: 0.14em;
  font-weight: 500;
}

.rc-spec dd {
  margin: 0 0 0.75rem;
}

.rc-spec dd span {
  display: block;
}

/* Staff voice */
.rc-voice {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  align-items: center;
}

.rc-voice__text {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.rc-voice__text .section-label {
  margin-bottom: 0;
}

.rc-voice__title {
  font-size: clamp(1.125rem, 1.9vw, 1.5rem);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-text);
}

.rc-voice__title span {
  display: block;
}

.rc-voice__btn {
  display: inline-block;
  margin-top: var(--spacing-sm);
  background-color: var(--rc-teal);
  color: var(--color-white);
  padding: 0.75rem 2.25rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: all var(--transition-normal);
  box-shadow: 4px 4px 0 var(--color-white), 5px 5px 0 var(--rc-teal);
}

.rc-voice__btn:hover {
  color: var(--color-white);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-white), 3px 3px 0 var(--rc-teal);
}

.rc-voice__photos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  width: 100%;
}

.rc-voice__circle {
  position: relative;
  flex: 0 1 50%;
  max-width: 300px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}

.rc-voice__circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rc-voice__circle--tint img {
  filter: grayscale(1);
  opacity: 0.35;
}

.rc-voice__circle--tint {
  background-color: var(--rc-teal);
}

.rc-job--support .rc-voice__circle--tint {
  background-color: var(--rc-navy);
}

.rc-voice__name {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: var(--color-white);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-align: center;
}

.rc-voice__name strong {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.rc-cta .sp-cta__tel--nursing {
  color: var(--rc-orange);
}

@media (min-width: 768px) {
  .rc-job__body {
    padding: var(--spacing-xxl) clamp(2rem, 5vw, 5rem);
  }

  .rc-details {
    flex-direction: row;
    gap: clamp(2rem, 5vw, 5rem);
  }

  .rc-details__head {
    flex: 0 0 300px;
  }

  .rc-spec {
    flex: 1;
    grid-template-columns: 8.5em 1fr;
    gap: 0.75rem 1.5rem;
    align-content: start;
  }

  .rc-spec dt {
    text-align: right;
    white-space: nowrap;
  }

  .rc-spec dd {
    margin: 0;
  }

  .rc-voice {
    flex-direction: row;
    justify-content: space-between;
  }

  .rc-voice__text {
    flex: 1;
  }

  .rc-voice__photos {
    flex: 0 0 55%;
    justify-content: flex-end;
    gap: var(--spacing-lg);
  }

  .rc-voice__circle {
    flex: 0 0 44%;
  }

  .rc-job__copy {
    padding-right: clamp(1rem, 4vw, 3.5rem);
  }
}

@media (max-width: 767px) {
  .rc-job__copy {
    left: 0;
    right: 0;
    top: auto;
    bottom: clamp(60px, 14vw, 110px);
    max-width: none;
    align-items: center;
  }

  .rc-job__catch {
    white-space: normal;
    width: 100%;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
  }
}
