:root {
  /* Colors */
  --primary-green: #8EC320;
  --primary-dark: #333333;
  --primary-white: #FFFFFF;
  --primary-black: #000000;
  --light-green: #EDF8E7;
  --light-gray: #F2F5E9;
  --gray: #888888;
  --border-gray: #D9D9D9;
  --shadow-black: rgba(0, 0, 0, 0.25);
  --shadow-light: rgba(0, 0, 0, 0.1);
  --text-shadow: rgba(0, 0, 0, 0.6);
  --overlay-gray: rgba(136, 136, 136, 0.2);
  --service-bg: rgba(237, 248, 231, 0.5);
  
  /* Fonts */
  --font-zen-maru: 'Zen Maru Gothic', sans-serif;
  --font-zen-kurenaido: 'Zen Kurenaido', serif;
  --font-poppins: 'Poppins', sans-serif;
  --font-noto: 'Noto Sans JP', sans-serif;
  
  /* Font Sizes - Responsive with clamp() */
  --fs-12: clamp(12px, 0.75vw, 12px);
  --fs-14: clamp(12px, 0.875vw, 14px);
  --fs-15: clamp(14px, 0.9375vw, 15px);
  --fs-16: clamp(14px, 1vw, 16px);
  --fs-18: clamp(14px, 1.125vw, 18px);
  --fs-20: clamp(16px, 1.25vw, 20px);
  --fs-24: clamp(18px, 1.5vw, 24px);
  --fs-28: clamp(20px, 1.75vw, 28px);
  --fs-32: clamp(22px, 2vw, 32px);
  --fs-36: clamp(24px, 2.25vw, 36px);
  --fs-40: clamp(26px, 2.5vw, 40px);
  --fs-48: clamp(28px, 3vw, 48px);
  --fs-152: clamp(48px, 9.5vw, 152px);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-zen-maru);
  color: var(--primary-dark);
  line-height: 1.7;
  letter-spacing: 0.04em;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--primary-white);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.4rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 6rem;
}

.header-logo img {
  width: 100%;
  max-width: 320px;
  object-fit: fill;
}

/* ハンバーガーメニューボタン */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 24px;
  height: 3px;
  background: var(--primary-dark);
  margin: 2px 0;
  transition: all 0.3s ease;
}

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

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

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

/* モバイルメニューオーバーレイ */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* モバイルメニューが開いているときはハンバーガーボタンを隠す */
body.menu-open .hamburger-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: var(--primary-white);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-gray);
}

.mobile-menu-logo img {
  height: 40px;
  object-fit: contain;
}

.mobile-menu-close {
  position: relative;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.close-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 3px;
  background: var(--primary-dark);
  transition: all 0.3s ease;
}

.close-line:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-line:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav {
  padding: 40px 20px;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.mobile-nav-list li {
  margin-bottom: 20px;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-zen-maru);
  font-weight: 700;
  font-size: var(--fs-18);
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  text-decoration: none;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-gray);
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--primary-green);
}

.mobile-contact {
  padding-top: 20px;
  border-top: 2px solid var(--primary-green);
}

.mobile-contact-info {
  text-align: center;
}

.mobile-phone-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.mobile-phone-wrapper:hover {
  background-color: rgba(142, 195, 32, 0.1);
}

.mobile-phone-wrapper img {
  width: 20px;
  height: 20px;
}

.mobile-phone-number {
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: var(--fs-18);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--primary-green);
}

.mobile-office-hours {
  font-family: var(--font-zen-maru);
  font-weight: 500;
  font-size: var(--fs-14);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--gray);
  margin: 0;
}

.company-name {
  font-family: var(--font-zen-maru);
  font-weight: 900;
  font-size: var(--fs-20);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list a {
  font-family: var(--font-zen-maru);
  font-weight: 700;
  font-size: var(--fs-16);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--primary-green);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 24px;
}

.contact-line {
  width: 0;
  height: 56px;
  border-left: 2px solid var(--border-gray);
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.phone-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.phone-wrapper:hover {
  background-color: rgba(142, 195, 32, 0.1);
}

.phone-wrapper img {
  width: 24px;
  height: 26px;
}

.phone-number {
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: var(--fs-28);
  line-height: 1;
  color: var(--primary-green);
}

.office-hours {
  font-family: var(--font-poppins);
  font-weight: 500;
  font-size: var(--fs-16);
  line-height: 1;
  text-align: right;
  color: var(--primary-dark);
  white-space: nowrap;
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 700px;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 87px 80px;
  gap: 10px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-gray);
  z-index: -1;
}

.hero-inner {
  width: 100%;
  height: 100%;
  display: flex;
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  position: absolute;
  left: 0;
  bottom: 0;
}

.hero-text-line1,
.hero-text-line2 {
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: var(--fs-48);
  line-height: 1;
  letter-spacing: 0.12em;
  text-align: center;
  color: var(--primary-white);
  background: var(--primary-white);
  color: var(--primary-black);
  padding: 8px;
  border-radius: 4px;
  text-align: left;
  margin-bottom: 16px;
}
.hero-text-line1 .accent, 
.hero-text-line2 .accent{
  color: var(--primary-green);
}

.hero-text-line1 {
  width: auto;
  white-space: nowrap;
  min-width: 13em;
  width: fit-content;
}

.hero-text-line2 {
  width: fit-content;
  white-space: nowrap;
  min-width: 8em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-family: var(--font-zen-maru);
  font-weight: 700;
  font-size: var(--fs-18);
  line-height: 1.7;
  letter-spacing: 0.16em;
  color: var(--primary-white);
  text-shadow: 0px 0px 20px var(--text-shadow);
}

.hero-contact-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 16px 48px;
  background: var(--primary-green);
  border-radius: 999px;
  box-shadow: 0px 4px 10px var(--shadow-black);
  width: 368px;
  cursor: pointer;
}

.hero-contact-btn .phone-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-contact-btn .phone-icon-wrapper img {
  width: 28px;
  height: 28px;
}

.hero-contact-btn .phone-number {
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: var(--fs-28);
  line-height: 1;
  color: var(--primary-white);
}

.hero-contact-btn .office-hours {
  font-family: var(--font-poppins);
  font-weight: 500;
  font-size: var(--fs-14);
  line-height: 1;
  text-align: center;
  color: var(--primary-white);
}

/* Section Styling */
.section-bg-white {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-white);
  z-index: -1;
}

.section-bg-green {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--light-green);
  z-index: -1;
}

.section-title {
  position: absolute;
  font-family: var(--font-poppins);
  font-weight: 700;
  font-size: var(--fs-152);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--light-gray);
}

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

/* Message Section */
.message-section {
  position: relative;
  width: 100%;
  padding: 104px 170px;
}

.message-section .section-title {
  top: 56px;
  right: 0;
}

.message-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.message-content {
  width: 38%;
  min-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message-title {
  font-family: var(--font-zen-kurenaido);
  font-weight: 400;
  font-size: var(--fs-36);
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  white-space: nowrap;
}

.message-author {
  font-family: var(--font-zen-kurenaido);
  font-weight: 400;
  font-size: var(--fs-16);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
}

.president-image {
  width: 100%;
  height: 513px;
  border-radius: 24px;
  overflow: hidden;
}

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

.message-text-content {
  width: 62%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 80px;
}

.message-text {
  font-family: var(--font-zen-maru);
  font-weight: 500;
  font-size: var(--fs-15);
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
}

.services-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-item img {
  width: 20px;
  height: 20px;
}

.check-item span {
  font-family: var(--font-zen-maru);
  font-weight: 700;
  font-size: var(--fs-16);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
}

/* Service Section */
.service-section {
  position: relative;
  width: 100%;
  height: 1075px;
  padding: 80px 170px;
}

.service-section .section-title {
  top: 40px;
  right: 0;
}

.service-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-header {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.service-main-title {
  font-family: var(--font-zen-maru);
  font-weight: 700;
  font-size: var(--fs-40);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
}

.service-sub-title {
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: var(--fs-16);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--primary-green);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-item {
  position: relative;
  width: 100%;
  height: 241px;
  background: var(--service-bg);
  border-radius: 24px;
  display: flex;
  align-items: center;
  padding: 0 80px;

}

.service-item:not(:first-child) {
  margin-top: -1px;
}

.service-card {
  padding: 64px 0;
}

.service-card-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 24em;
}

.service-number-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-label {
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: var(--fs-24);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--primary-green);
}

.service-number {
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: var(--fs-36);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--primary-green);
}

.service-title-wrapper {
  position: relative;
  height: 61px;
}

.service-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 261px;
  height: 8px;
  background: #F0F9C4;
}

.service-title {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-zen-maru);
  font-weight: 700;
  font-size: var(--fs-36);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  white-space: nowrap;
}

.service-description {
  font-family: var(--font-zen-maru);
  font-weight: 500;
  font-size: var(--fs-20);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
}

.service-divider {
  position: absolute;
  top: 40px;
  left: calc(26% + 80px + 12px);
  width: 0;
  height: 161px;
  border-left: 1px solid var(--border-gray);
}

.service-description-wrapper {
  position: relative;
}

.service-description-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -2.4rem;
  width: 0;
  transform: translateY(-50%);
  height: 161px;
  border-left: 1px solid var(--border-gray);
  z-index: 1;
}

.service-link {
  position: absolute;
  bottom: 1.25rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 125px;
}

.service-link-btn {
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-link-btn span {
  font-family: var(--font-zen-maru);
  font-weight: 700;
  font-size: var(--fs-15);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--primary-green);
  white-space: nowrap;
}

.arrow-icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.arrow-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-green);
}

.arrow-icon img {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 12px;
  height: 12px;
}

.service-link-line {
  width: 100%;
  height: 1px;
  background: var(--primary-green);
}

/* Recruit Section */
.recruit-section {
  position: relative;
  width: 100%;
  padding: 120px 170px;
}

.recruit-section .section-title {
  top: 80px;
  left: 0;
}

.recruit-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.recruit-content {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.recruit-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 165px;
  position: relative;
  z-index: 1;
}

.recruit-sub-title {
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: var(--fs-16);
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--primary-green);
}

.recruit-main-title {
  font-family: var(--font-zen-maru);
  font-weight: 700;
  font-size: var(--fs-40);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  white-space: nowrap;
}

.recruit-description {
  font-family: var(--font-zen-maru);
  font-weight: 500;
  font-size: var(--fs-16);
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--gray);
  z-index: 1;
}

.recruit-details {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.recruit-cards-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.recruit-cards {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0;
}

.recruit-cards::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.recruit-cards::-webkit-scrollbar-track {
  display: none;
}

.recruit-cards::-webkit-scrollbar-thumb {
  display: none;
}

.recruit-cards::-webkit-scrollbar-corner {
  display: none;
}

/* IE and Edge specific */
.recruit-cards {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Firefox specific */
.recruit-cards {
  scrollbar-width: none;
}

.recruit-card {
  flex: 0 0 536px;
  min-height: 608px;
  background: var(--primary-white);
  border-radius: 24px;
  box-shadow: 0px 0px 20px var(--shadow-light);
  padding: 56px;
  scroll-snap-align: start;
}

.recruit-card-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Common Card Section Styles */
.card-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-section--title {
  gap: 8px;
}

.card-title {
  font-family: var(--font-zen-maru);
  font-weight: 700;
  font-size: var(--fs-20);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--border-gray);
  position: relative;
}

.card-title::after {
  content: '';
  position: absolute;
  bottom: -1.5px;
  left: 0;
  width: 136px;
  height: 1.5px;
  background: var(--primary-green);
}

/* card-title-line クラスは削除済み - border-bottomで実装 */

.card-subtitle {
  font-family: var(--font-zen-maru);
  font-weight: 500;
  font-size: var(--fs-15);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  margin: 0;
}

.card-section-title {
  font-family: var(--font-zen-maru);
  font-weight: 700;
  font-size: var(--fs-20);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-gray);
  position: relative;
}

.card-section-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 136px;
  height: 1px;
  background: var(--primary-green);
}

/* card-section-line クラスは削除済み - border-bottomで実装 */

.card-section-text {
  font-family: var(--font-zen-maru);
  font-weight: 500;
  font-size: var(--fs-15);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  margin: 0;
}

.card-section-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Specific Card Content Styles */
.card-section-content--salary {
  gap: 32px;
  width: 333px;
}

.card-section-content--experience {
  gap: 32px;
  width: 424px;
}

.salary-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.allowance-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.allowance-item {
  display: flex;
  flex-direction: column;
}

.allowance-item:nth-child(3) {
  width: 125px;
}

.allowance-title {
  font-family: var(--font-zen-maru);
  font-weight: 700;
  font-size: var(--fs-15);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
}

.allowance-amount {
  font-family: var(--font-zen-maru);
  font-weight: 500;
  font-size: var(--fs-15);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
}

.experience-item {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.experience-category {
  font-family: var(--font-zen-maru);
  font-weight: 700;
  font-size: var(--fs-15);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  margin: 0;
}

.recruit-scrollbar {
  width: 1096px;
  margin: 40px auto 0;
  position: relative;
}

.recruit-scrollbar-track {
  width: 100%;
  height: 6px;
  background: #C0C0C0;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}

.recruit-scrollbar-thumb {
  height: 6px;
  background: var(--primary-green);
  border-radius: 3px;
  position: absolute;
  top: 0;
  left: 0;
  cursor: grab;
  transition: background-color 0.3s ease;
  min-width: 50px;
}

.recruit-scrollbar-thumb:hover {
  background: #7AB01C;
}

.recruit-scrollbar-thumb:active {
  cursor: grabbing;
  background: #6A9015;
}

.recruit-next {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  z-index: 10;
}

.recruit-next-btn {
  width: 56px;
  height: 56px;
  background: var(--primary-green);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.recruit-next-btn:hover {
  background: #7AB01C;
}

.recruit-next-btn svg {
  width: 17px;
  height: 38px;
}

/* Company Section */
.company-section {
  position: relative;
  width: 100%;
  padding: 104px 170px;
}

.company-section .section-title {
  top: 40px;
  right: 0;
}

.company-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1200px;
  margin: auto;
}

.company-header {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.company-main-title {
  font-family: var(--font-zen-maru);
  font-weight: 700;
  font-size: var(--fs-40);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
}

.company-sub-title {
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: var(--fs-16);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--primary-green);
}

.company-table {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.company-row {
  display: flex;
  padding: 16px;
  min-height: 67px;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-gray);
}

.company-row:last-child {
  border-bottom: none;
}

.company-label {
  font-family: var(--font-zen-maru);
  font-weight: 700;
  font-size: var(--fs-16);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  width: 200px;
  flex-shrink: 0;
}

.company-value {
  font-family: var(--font-zen-maru);
  font-weight: 500;
  font-size: var(--fs-15);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  flex: 1;
  padding-left: 50px;
}

/* company-line クラスは削除済み - border-bottomで実装 */

/* Contact Section */
.contact-section {
  position: relative;
  width: 100%;
  margin: 0 auto 100px;
  max-width: 1200px;
  padding: 0 20px;
}

.contact-bg-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
}

.contact-bg-image {
  position: absolute;
  top: 24px;
  right: 0;
  width: 768px;
  height: 460px;
  z-index: -1;
}

.contact-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.contact-content {
  position: relative;
  z-index: 1;
  background: var(--primary-white);
  border-radius: 24px;
  padding: 64px 44px;
  display: flex;
  flex-direction: column;
  gap: 56px;
  width: 48%;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-title-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 40px;
  width: 334px;
}

.contact-main-title {
  font-family: var(--font-zen-maru);
  font-weight: 700;
  font-size: var(--fs-40);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--primary-green);
  white-space: nowrap;
}

.contact-sub-title {
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: var(--fs-16);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--primary-green);
}

.contact-description {
  font-family: var(--font-zen-maru);
  font-weight: 500;
  font-size: var(--fs-16);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.contact-phone-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 16px 48px;
  background: var(--primary-green);
  border-radius: 999px;
  box-shadow: 0px 4px 10px var(--shadow-black);
  width: 100%;
  cursor: pointer;
}

.contact-phone-wrapper .phone-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.contact-phone-wrapper .phone-icon-wrapper img {
  width: 28px;
  height: 28px;
}

.contact-phone-wrapper .phone-number {
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: var(--fs-28);
  line-height: 1;
  color: var(--primary-white);
}

.contact-phone-wrapper .office-hours {
  font-family: var(--font-poppins);
  font-weight: 500;
  font-size: var(--fs-14);
  line-height: 1;
  text-align: center;
  color: var(--primary-white);
}

.contact-note {
  font-family: var(--font-zen-maru);
  font-weight: 500;
  font-size: var(--fs-14);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
}

/* Footer */
.footer {
  background: var(--primary-green);
  padding: 56px 0;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-nav-list {
  display: flex;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--primary-white);
}

.footer-nav-list a {
  font-family: var(--font-zen-maru);
  font-weight: 700;
  font-size: var(--fs-15);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--primary-white);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer-nav-list a:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

/* レスポンシブデザイン - タブレット用 (769px〜1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  /* ヘッダー */
  .header-inner {
    max-width: 100%;
    gap: 1.5rem;
  }

  .header-logo {
    height: 6rem;
  }

  .nav-list {
    gap: 1.5rem;
  }

  .nav-list a {
    font-size: var(--fs-14);
  }

  .phone-number {
    font-size: var(--fs-16);
  }

  .office-hours {
    font-size: var(--fs-12);
  }

  /* ヒーローセクション */
  .hero-section {
    height: 70vh;
    min-height: 600px;
    padding: 160px 30px 60px;
  }

  .hero-inner {
    max-width: 100%;
    padding: 0;
  }

  .hero-content {
    max-width: 700px;
    gap: 2rem;
  }

  .hero-text-line1,
  .hero-text-line2 {
    font-size: clamp(36px, 4.5vw, 48px);
  }

  .hero-subtitle {
    font-size: var(--fs-20);
    margin-top: 1rem;
  }

  .hero-contact-btn .phone-number {
    font-size: var(--fs-24);
  }

  /* メッセージセクション */
  .message-section {
    padding: 60px 30px;
  }

  .message-container {
    max-width: 100%;
    gap: 50px;
  }

  .message-content {
    width: 40%;
    min-width: 350px;
    gap: 16px;
    flex-direction: column;
  }

  .message-header {
    flex-direction: column;
    text-align: left;
    margin-bottom: 0;
  }

  .message-title {
    font-size: var(--fs-32);
    line-height: 1.4;
    white-space: nowrap;
  }

  .president-image {
    width: 100%;
    height: 420px;
    flex-shrink: 0;
    border-radius: 24px;
    overflow: hidden;
  }

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

  .message-text-content {
    width: 550px;
    gap: 30px;
    margin-top: 60px;
  }

  .message-text {
    font-size: var(--fs-16);
    line-height: 1.8;
  }

  .check-item {
    gap: 12px;
  }

  .check-item span {
    font-size: var(--fs-16);
  }

  /* サービスセクション */
  .service-section {
    padding: 60px 30px;
  }

  .service-container {
    max-width: 100%;
    gap: 2rem;
  }

  .service-main-title {
    font-size: var(--fs-32);
  }

  .service-sub-title {
    font-size: var(--fs-16);
  }

  .service-list {
    gap: 2rem;
  }

  .service-card {
    padding: 30px;
    width: 18em;
  }

  .service-card-header {
    gap: 1.5rem;
  }

  .service-number {
    font-size: var(--fs-32);
  }

  .service-title {
    font-size: var(--fs-28);
    line-height: 1.4;
  }

  .service-description {
    font-size: var(--fs-16);
    line-height: 1.7;
  }

  /* 採用セクション */
  .recruit-section {
    padding: 60px 30px;
  }

  .recruit-container {
    max-width: 100%;
    gap: 2rem;
  }

  .recruit-content {
    gap: 2rem;
  }

  .recruit-main-title {
    font-size: var(--fs-32);
  }

  .recruit-description {
    font-size: var(--fs-16);
    line-height: 1.7;
  }

  .recruit-cards-wrapper {
    margin: 0 -30px;
    padding: 0 30px;
  }

  .recruit-cards {
    gap: 1.5rem;
    padding: 20px 0;
  }

  .recruit-card {
    min-width: 300px;
    width: 300px;
  }

  .recruit-card-content {
    padding: 24px;
  }

  .card-title {
    font-size: var(--fs-24);
  }

  .card-subtitle {
    font-size: var(--fs-14);
  }

  .card-section-title {
    font-size: var(--fs-18);
  }

  .card-section-text {
    font-size: var(--fs-14);
    line-height: 1.6;
  }

  .salary-main {
    font-size: var(--fs-16);
  }

  .allowance-title {
    font-size: var(--fs-14);
  }

  .allowance-amount {
    font-size: var(--fs-14);
  }

  .experience-category {
    font-size: var(--fs-14);
  }

  /* 会社情報セクション */
  .company-section {
    padding: 60px 30px;
  }

  .company-container {
    max-width: 100%;
    gap: 2rem;
  }

  .company-main-title {
    font-size: var(--fs-32);
  }

  .company-table {
    gap: 1rem;
  }

  .company-row {
    gap: 1rem;
    padding: 1.5rem;
    flex-direction: row;
    text-align: left;
  }

  .company-label {
    min-width: 160px;
    font-size: var(--fs-16);
    margin-bottom: 0;
  }

  .company-value {
    font-size: var(--fs-16);
    line-height: 1.7;
  }

  /* お問い合わせセクション */
  .contact-section {
    padding: 60px 30px;
  }

  .contact-bg-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
  }

  .contact-bg-image {
    position: absolute;
    top: 24px;
    right: 0;
    width: 600px;
    height: 380px;
    z-index: -1;
  }

  .contact-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
  }

  .contact-content {
    position: relative;
    z-index: 1;
    background: var(--primary-white);
    border-radius: 24px;
    padding: 50px 40px;
    width: 50%;
    gap: 2rem;
  }

  .contact-main-title {
    font-size: var(--fs-32);
  }

  .contact-description {
    font-size: var(--fs-16);
    line-height: 1.7;
  }

  .contact-phone-wrapper .phone-number {
    font-size: var(--fs-28);
  }

  .contact-note {
    font-size: var(--fs-14);
  }

  /* フッター */
  .footer {
    padding: 40px 30px 20px;
  }

  .footer-container {
    max-width: 100%;
    gap: 1.5rem;
  }

  .footer-nav-list {
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-nav-list a {
    font-size: var(--fs-16);
  }
}

/* レスポンシブデザイン - スマホ用 */
@media (max-width: 768px) {
  /* ヘッダー */
  .header-inner {
    justify-content: space-between;
  }
  .header-logo{
    width: 30%;
    height: auto;
  }
  
  .hamburger-btn {
    display: flex;
  }
  
  .header-nav {
    display: none;
  }
  
  /* ヒーローセクション（FV） */
  .hero-section {
    height: 50vh;
    min-height: 500px;
    margin-top: 0;
    padding: 40px 20px;
    justify-content: center;
    align-items: center;
  }
  
  .hero-inner {
    align-items: center;
    justify-content: center;
  }
  
  .hero-content {
    width: 100%;
    max-width: 400px;
    bottom: 0;
    gap: 14px;
  }
  
  .hero-text-line1,
  .hero-text-line2 {
    font-size: var(--fs-24);
    min-width: auto;
    text-align: center;
    white-space: normal;
    line-height: 1.4;
    margin-bottom: 8px;
    padding: 12px 16px;
  }
  
  .hero-text-line2 {
    margin-bottom: 10px;
  }
  
  .hero-subtitle {
    font-size: var(--fs-16);
    line-height: 1.6;
    letter-spacing: 0.08em;
  }
  
  .hero-contact-btn {
    width: 100%;
    max-width: 320px;
    padding: 20px 24px;
    gap: 8px;
    margin: auto;
  }
  
  .hero-contact-btn .phone-number {
    font-size: var(--fs-22);
  }
  
  .hero-contact-btn .phone-icon-wrapper img {
    width: 24px;
    height: 24px;
  }
  
  /* メッセージセクション */
  .message-section {
    padding: 60px 20px;
  }

  .message-section .section-title {
    top: 20px;
    right: 20px;
  }

  .message-container {
    gap: 32px;
    max-width: 100%;
  }

  .message-content {
    min-width: auto;
    gap: 24px;
    order: 1;
  }

  .message-header {
    gap: 12px;
  }

  .message-title {
    font-size: var(--fs-24);
    line-height: 1.4;
    white-space: normal;
    text-align: left;
  }

  .message-author {
    font-size: var(--fs-14);
    line-height: 1.6;
  }

  .president-image {
    height: 240px;
    border-radius: 16px;
  }

  .message-text-content {
    width: 60%;
    gap: 24px;
    margin-top: 0;
    order: 2;
  }

  .message-text {
    font-size: var(--fs-14);
    line-height: 1.7;
  }

  .services-checklist {
    gap: 12px;
  }

  .check-item {
    gap: 8px;
    align-items: flex-start;
  }

  .check-item img {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
  }

  .check-item span {
    font-size: var(--fs-14);
    line-height: 1.6;
  }
  
  /* サービスセクション */
  .service-section {
    height: auto;
    padding: 60px 20px;
  }
  
  .service-section .section-title {
    top: 20px;
    right: 20px;
  }
  
  .service-container {
    gap: 40px;
  }
  
  .service-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .service-main-title {
    font-size: var(--fs-28);
  }
  
  .service-sub-title {
    font-size: var(--fs-14);
  }
  
  .service-list {
    gap: 24px;
  }
  
  .service-item {
    height: auto;
    min-height: 200px;
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .service-card {
    padding: 0;
    width: 100%;
  }
  
  .service-card-header {
    width: 100%;
    gap: 12px;
  }
  
  .service-number-wrapper {
    gap: 6px;
  }
  
  .service-label {
    font-size: var(--fs-18);
  }
  
  .service-number {
    font-size: var(--fs-24);
  }
  
  .service-title-wrapper {
    height: auto;
  }
  
  .service-line {
    height: 4px;
    margin-top: 8px;
  }
  
  .service-title {
    position: static;
    font-size: var(--fs-24);
    line-height: 1.4;
    white-space: normal;
    margin-bottom: 8px;
  }
  
  .service-description-wrapper {
    width: 100%;
    margin-top: 16px;
  }
  
  .service-description-wrapper::before {
    display: none;
  }
  
  .service-description {
    font-size: var(--fs-16);
    line-height: 1.6;
  }
  
  .service-link {
    margin: 0;
    bottom: 1rem;
    right: 1rem;
    gap: 12px;
  }
  .service-link-line{
    display: none;
  }
  
  .service-link-btn {
    justify-content: center;
    padding: 0;
  }
  
  .service-link-btn span {
    font-size: var(--fs-16);
  }
  
  /* 会社概要セクション */
  .company-section {
    padding: 60px 20px;
  }
  
  .company-section .section-title {
    top: 20px;
    right: 20px;
  }
  
  .company-container {
    gap: 40px;
  }
  
  .company-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .company-main-title {
    font-size: var(--fs-28);
  }
  
  .company-sub-title {
    font-size: var(--fs-14);
  }
  
  .company-table {
    gap: 0;
  }
  
  .company-row {
    flex-direction: column;
    padding: 20px 0;
    min-height: auto;
    gap: 8px;
    align-items: flex-start;
  }
  
  .company-label {
    width: 100%;
    font-size: var(--fs-15);
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 4px;
  }
  
  .company-value {
    width: 100%;
    padding-left: 0;
    font-size: var(--fs-15);
    line-height: 1.6;
  }
  
  /* 求人情報セクション */
  .recruit-section {
    padding: 60px 20px;
  }
  
  .recruit-section .section-title {
    top: 20px;
    left: 20px;
  }
  
  .recruit-container {
    gap: 40px;
  }
  
  .recruit-content {
    width: 100%;
    gap: 32px;
  }
  
  .recruit-header {
    width: 100%;
    align-items: flex-start;
    gap: 8px;
  }
  
  .recruit-sub-title {
    font-size: var(--fs-14);
    text-align: left;
  }
  
  .recruit-main-title {
    font-size: var(--fs-28);
    white-space: normal;
    text-align: left;
  }
  
  .recruit-description {
    font-size: var(--fs-15);
    text-align: left;
    line-height: 1.6;
  }
  
  .recruit-details {
    gap: 32px;
  }
  
  .recruit-cards-wrapper {
    width: 100%;
  }
  
  .recruit-cards {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0;
  }

  .recruit-cards::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .recruit-cards::-webkit-scrollbar-track {
    display: none;
  }

  .recruit-cards::-webkit-scrollbar-thumb {
    display: none;
  }

  .recruit-cards::-webkit-scrollbar-corner {
    display: none;
  }
  
  .recruit-card {
    flex: 0 0 280px;
    min-height: auto;
    width: 280px;
    padding: 24px 20px;
  }
  
  .recruit-card-content {
    gap: 24px;
  }
  
  .card-section {
    gap: 12px;
  }
  
  .card-section--title {
    gap: 8px;
  }
  
  .card-title {
    font-size: var(--fs-18);
    padding-bottom: 6px;
  }
  
  .card-title::after {
    width: 100px;
    height: 1.5px;
    bottom: -1.5px;
  }
  
  .card-subtitle {
    font-size: var(--fs-14);
    line-height: 1.6;
  }
  
  .card-section-title {
    font-size: var(--fs-16);
    padding-bottom: 6px;
  }
  
  .card-section-title::after {
    width: 80px;
    height: 1px;
    bottom: -1px;
  }
  
  .card-section-text {
    font-size: var(--fs-14);
    line-height: 1.6;
  }
  
  .card-section-content {
    gap: 16px;
  }
  
  .card-section-content--salary,
  .card-section-content--experience {
    width: 100%;
    gap: 16px;
  }
  
  .salary-main {
    gap: 8px;
  }
  
  .allowance-list {
    gap: 8px;
  }
  
  .allowance-item {
    gap: 4px;
  }
  
  .allowance-item:nth-child(3) {
    width: 100%;
  }
  
  .allowance-title {
    font-size: var(--fs-14);
    line-height: 1.5;
  }
  
  .allowance-amount {
    font-size: var(--fs-14);
    line-height: 1.5;
  }
  
  .experience-item {
    gap: 4px;
  }
  
  .experience-category {
    font-size: var(--fs-14);
    line-height: 1.5;
  }
  
  /* スマホ版でもスクロールバーとナビゲーションボタンを表示 */
  .recruit-scrollbar {
    width: calc(100% - 40px);
    margin: 32px auto 0;
    position: relative;
  }
  
  .recruit-next {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 10;
  }
  
  /* お問い合わせセクション */
  .contact-section {
    margin: 0 auto 60px;
    padding: 0 16px;
  }
  
  .contact-bg-wrapper {
    border-radius: 16px;
  }
  
  .contact-header {
    gap: 16px;
  }
  .contact-bg-image {
    width: unset;
  }
  
  .contact-title-wrapper {
    gap: 12px;
    height: auto;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .contact-main-title {
    font-size: var(--fs-32);
  }
  
  .contact-sub-title {
    font-size: var(--fs-14);
  }
  
  .contact-description {
    font-size: var(--fs-14);
    line-height: 1.8;
  }
  
  .contact-info {
    gap: 12px;
  }
  
  .contact-phone-wrapper {
    padding: 20px 24px;
    gap: 8px;
    border-radius: 100px;
  }
  
  .contact-phone-wrapper .phone-icon-wrapper {
    gap: 8px;
  }
  
  .contact-phone-wrapper .phone-icon-wrapper img {
    width: 24px;
    height: 24px;
  }
  
  .contact-phone-wrapper .phone-number {
    font-size: var(--fs-24);
  }
  
  .contact-phone-wrapper .office-hours {
    font-size: var(--fs-12);
  }
  
  .contact-note {
    font-size: var(--fs-12);
    text-align: center;
    padding: 0 8px;
  }
  
  /* フッター */
  .footer {
    padding: 40px 0;
  }
  
  .footer-container {
    gap: 24px;
    padding: 0 16px;
  }
  
  .footer-nav-list {
    gap: 32px;
    padding-bottom: 24px;
    flex-direction: column;
  }
  
  .footer-nav-list a {
    font-size: var(--fs-14);
  }
}

@media (max-width: 480px) {
  .header-logo{
    width: 60%;
  }
  .message-content,
  .message-text-content {
    width: 100%;
  }
  .message-container {
    flex-direction: column;
  }
  .contact-content {
    position: relative;
    z-index: 2;
    background: var(--primary-white);
    border-radius: 16px;
    padding: 32px 24px;
    gap: 32px;
    width: 100%;
    margin-top: -40px;
  }
  .contact-bg-image {
    position: relative;
    top: 0;
    right: auto;
    width: 100%;
    height: 200px;
    margin-bottom: 24px;
    z-index: 1;
  }
  
  .contact-bg-image img {
    border-radius: 16px;
    object-position: center 30%;
  }
}

.footer-copyright {
  font-family: var(--font-zen-maru);
  font-weight: 500;
  font-size: var(--fs-12);
  line-height: 1;
  color: var(--primary-white);
}

/* 電話番号オーバーレイリンク */
.phone-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  border-radius: inherit;
  text-decoration: none;
  color: transparent;
  display: block;
}