/* Reset & Base */
:root {
  --primary-green: #008a5b;
  /* ロゴやアクセントの濃い緑 */
  --accent-green: #65b211;
  /* 斜めのラインの明るい緑 */
  --bg-yellow: #dfe3cc;
  /* 背景の薄い黄色 */
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-color: #dddddd;
  --font-family-ja: 'Noto Sans JP', sans-serif;
  --font-family-en: 'Roboto', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-family-ja);
  color: var(--text-dark);
  background-color: #fff;
  line-height: 1.8;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.mb-0 {
  margin-bottom: 0 !important
}

.mb-1 {
  margin-bottom: .25rem !important
}

.mb-2 {
  margin-bottom: .5rem !important
}

.mb-3 {
  margin-bottom: 1rem !important
}

.mb-4 {
  margin-bottom: 1.5rem !important
}

.mb-5 {
  margin-bottom: 3rem !important
}

.mb-auto {
  margin-bottom: auto !important
}

.d-none {
  display: none !important
}




section#landscape.section.landscape p {text-align: center;
}



/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 1000;
  transition: background-color 0.3s;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 20px;
}

.logo img {
  height: 50px;
}

nav.global-nav {
  flex-grow: 1;
  display: flex;
  justify-content: right;
  margin-right: 20px;
  transition: all 0.5s ease-in-out;
}

.global-nav ul .nav-recruit {
  display: none;
  /* Hide recruit in main nav on desktop */
}

.global-nav ul {
  display: flex;
  gap: 40px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-recruit {
  height: 80px;
  /* Match header height */
  margin-right: -20px;
  /* Extend to screen edge */
  margin-top: 0px;
}

.btn-recruit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-green);
  color: var(--text-light);
  height: 80px;
  /* Full header height */
  padding: 0 40px 0 50px;
  /* Extra padding on right */
  font-family: var(--font-family-en);
  font-weight: 700;
  font-size: 1.15rem;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  transition: background-color 0.3s;
}

.btn-recruit:hover {
  background-color: #00a36a;
  /* Slightly lighter green */
}

.btn-recruit span {
  font-family: var(--font-family-ja);
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.0;
}

.nav-recruit {
  display: none;
  /* Hide recruit link in main nav by default */
}

.global-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-green);
  transition: width 0.3s;
}

.global-nav a:hover::after {
  width: 100%;
}

.global-nav a {
  display: block;
  font-family: var(--font-family-ja);
  font-size: 1.15rem;
  font-weight: 700;
  color: #666;
  text-align: center;
  line-height: 1.6;
}

.global-nav a span {
  display: block;
  font-family: var(--font-family-ja);
  font-size: 0.9rem;
  font-weight: 400;
  color: #666;
  text-align: center;
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 21px;
  position: relative;
  z-index: 1001;
  padding: 0;
  margin: 0;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-green);
  position: absolute;
  transition: all 0.3s ease;
  left: 0;
}

.hamburger-menu span:nth-child(1) {
  top: 0;
}

.hamburger-menu span:nth-child(2) {
  top: 9px;
}

.hamburger-menu span:nth-child(3) {
  top: 18px;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  /* Push down by header height */
  height: 700px;
  position: relative;
  color: var(--text-light);
  overflow: hidden;
  /* For stripes */
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-left: 1%;
  margin-top: -80px;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 3;
  transition: background 0.3s ease;
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(255, 255, 255, 0.9);
}

.carousel-indicators {
  position: absolute;
  bottom: 75px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.indicator.active {
  background: var(--primary-green);
}

.hero-subtitle {
  font-family: var(--font-family-en);
  font-weight: 700;
  font-size: 60px;
  color: var(--primary-green);
  margin-left: 260px;
  margin-top: 40px;
  text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.9), -2px 2px 10px rgba(255, 255, 255, 0.9), 2px -2px 10px rgba(255, 255, 255, 0.9), -2px -2px 10px rgba(255, 255, 255, 0.9);
  line-height: 1.25;
}

.hero h2 {
  font-size: 42px;
  line-height: 1.5;
  margin: 320px 0 30px 240px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5), -2px 2px 10px rgba(0, 0, 0, 0.5), 2px -2px 10px rgba(0, 0, 0, 0.5), -2px -2px 10px rgba(0, 0, 0, 0.5);
  font-feature-settings: "palt";
}

.hero-description {
  font-size: 16px;
  margin-left: 245px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5), -2px 2px 10px rgba(0, 0, 0, 0.5), 2px -2px 10px rgba(0, 0, 0, 0.5), -2px -2px 10px rgba(0, 0, 0, 0.5);
  font-feature-settings: "palt";
}

/* Recruit Section */
.recruit {
  margin-top: 80px;
  /* Push down by header height */
  height: 700px;
  background: url('../images/recruit-bg.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--text-light);
  overflow: hidden;
  /* For stripes */
}

.recruit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.recruit-content {
  position: relative;
  z-index: 2;
  padding-left: 4%;
  margin-top: -80px;
}

.recruit-subtitle {
  font-family: var(--font-family-en);
  font-weight: 700;
  font-size: 60px;
  color: var(--primary-green);
}

.recruit h2 {
  font-size: 42px;
  line-height: 1.5;
  margin: 200px 0 30px 190px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.recruit-description {
  font-size: 16px;
  margin-left: 190px;
}

/* Section Title */
.section {
  position: relative;
  overflow: hidden;
}

.section::before {
  content: attr(data-title);
  position: absolute;
  top: 30px;
  right: 5%;
  font-family: var(--font-family-en);
  font-size: 100px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  z-index: 0;
  white-space: nowrap;
  line-height: 1;
}

.section-title {
  margin-bottom: 50px;
  margin-left: 0;
  position: relative;
  width: 220px;
  height: 120px;
  background-color: var(--primary-green);
  color: white;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 20px;
  z-index: 1;
}

.section-title h2 {
  font-family: var(--font-family-en);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 3px;
}

.section-title p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.section-title-right {
  margin-bottom: 50px;
  position: relative;
  width: 220px;
  height: 90px;
  background-color: var(--primary-green);
  color: white;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 20px;
  margin-left: auto;
  text-align: right;
  z-index: 1;
}

.section-title-right h2 {
  font-family: var(--font-family-en);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 3px;
}

.section-title-right p {
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
}

/* Commitment Section */
.commitment {
  background-color: var(--bg-yellow);
  padding: 0 0 100px;
}

.commitment2 {
  background-color: var(--bg-yellow);
  padding: 100px 0 100px;
}

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

.commitment-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.commitment-text {
  flex: 1;
}

.commitment-text h3 {
  font-size: 28px;
  line-height: 1.6;
  margin-top: 80px;
  font-weight: 700;
  margin-bottom: 20px;
}

.commitment-text p {
  line-height: 1.8;
}

.commitment-image {
  flex: 1;
  position: relative;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  overflow: visible;
}

.commitment-image img {
  width: 100%;
  display: block;
  margin-top: 80px;
}

.commitment-image::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -80px;
  width: 50%;
  height: 120px;
  background-color: #e74c3c;
  clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 80%);
  z-index: -1;
}

/* Service Section */
#service > div:nth-child(3) > h3 {
  font-size: 28px;
  margin-top: 0px;
  margin-bottom: 15px;
  text-align: center;
}

.service {
  background-color: #ffffff;
  position: relative;
  padding: 80px 0 100px;
  overflow: visible;
}

.service::before {
  content: 'Service';
  position: absolute;
  top: 40px;
  left: 50px;
  font-family: var(--font-family-en);
  font-size: 100px;
  font-weight: 700;
  color: rgba(230, 230, 230, 0.6);
  z-index: 0;
  white-space: nowrap;
  line-height: 1;
}

.service .container {
  position: relative;
  z-index: 1;
  padding-top: 140px;
}

.service .container:nth-child(3) {
  padding-top: 80px;
}

.section-title-right {
  position: absolute;
  top: 0;
  right: 0;
  margin-bottom: 50px;
  margin-left: 0;
  width: 260px;
  height: 130px;
  background-color: --primary-green;
  color: white;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.section-title-right h2 {
  font-family: var(--font-family-en);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 5px;
}

.section-title-right p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: #fff;
  overflow: visible;
  position: relative;
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0);
}

.service-card-image {
  width: 100%;
  height: 200px;
  position: relative;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  overflow: visible;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

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

.service-card-content {
  padding: 25px 40px 20px 0px;
}

.service-card h4 {
  font-size: 16px;
  color: #4caf50;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card h3 {
  font-size: 16px;
  color: #4caf50;
  margin-bottom: 12px;
  font-weight: 700;
}







.landscape .container {
  position: relative;
  z-index: 1;
  padding-top: 40px;
}

.landscape {
  background-color: var(--bg-yellow);
  background-image: url(../images/company-bg.svg);
  background-blend-mode: luminosity;
  background-position: center;
  background-size: cover;
  position: relative;
  padding: 0px 0 100px;
}

.landscape-card {
  overflow: visible;
  position: relative;
}

.landscape-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.landscape-grid_Company {
  display: grid;
  /* 1frだと常に幅を使い切るため、アイテム幅を維持して中央寄せにする指定 */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 30px 20px;
  max-width: 860px;
  margin: 0 auto;
  justify-content: center; /* グリッド全体を中央へ */
}

.landscape-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0);
}

.landscape-card-image {
  width: 100%;
  height: 200px;
  position: relative;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  overflow: visible;
  margin: 0px 0px 20px;
}

.landscape-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

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

.landscape-card-content {
  padding: 25px 20px 20px;
}

.landscape-card h4 {
  font-size: 16px;
  color: #4caf50;
  margin-bottom: 12px;
  font-weight: 700;
}

/* Interview Section */
.interview {
  background-color: #ffffff;
  position: relative;
  padding: 80px 0 100px;
  overflow: visible;
}

.interview::before {
  content: 'Interview';
  position: absolute;
  top: 40px;
  left: 50px;
  font-family: var(--font-family-en);
  font-size: 100px;
  font-weight: 700;
  color: rgba(230, 230, 230, 0.6);
  z-index: 0;
  white-space: nowrap;
  line-height: 1;
}

.interview .container {
  position: relative;
  z-index: 1;
  padding-top: 140px;
}

.interview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.interview-card {
  background-color: #fff;
  overflow: visible;
  position: relative;
}

.interview-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0);
}

.interview-card-image {
  width: 100%;
  height: 200px;
  position: relative;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  overflow: visible;
}

.interview-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

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

.interview-card-content {
  padding: 25px 20px 20px;
}

.interview-card h4 {
  font-size: 16px;
  color: #4caf50;
  margin-bottom: 12px;
  font-weight: 700;
}

/* Gallery Section */
.gallery {
  background-color: #f8f8f8;
  position: relative;
  padding: 80px 0 100px;
  overflow: visible;
}

.gallery::before {
  content: 'Interview';
  position: absolute;
  top: 40px;
  left: 50px;
  font-family: var(--font-family-en);
  font-size: 100px;
  font-weight: 700;
  color: rgba(230, 230, 230, 0.6);
  z-index: 0;
  white-space: nowrap;
  line-height: 1;
}

.gallery .container {
  position: relative;
  z-index: 1;
  padding-top: 140px;
}

.gallery .section-title-right {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  width: 260px;
  height: 130px;
  background-color: var(--primary-green);
  color: white;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.gallery .section-title-right h2 {
  font-family: var(--font-family-en);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 5px;
}

.gallery .section-title-right p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.gallery-content {
  margin-top: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(3, 200px);
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.gallery-overlay h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}

.gallery-overlay p {
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.9;
}

/* Company Section */
.company {
  background-color: var(--bg-yellow);
  background-image: url('../images/company-bg.svg');
  background-blend-mode: luminosity;
  background-position: center;
  background-size: cover;
  position: relative;
  padding: 80px 0 100px;
}

.company .section-title {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  z-index: 2;
}

.company-container {
  position: relative;
  padding-top: 140px;
}

.company-content {
  display: flex;
  align-items: center;
  gap: 50px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-left: 5px solid var(--accent-green);
}

.company-logo {
  text-align: center;
}

.company-logo img {
  width: 150px;
}

.company-info {
  flex: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px 20px;
}

.company-info dt {
  font-weight: 700;
}

/* Access Section */
.access {
  background-color: #f8f8f8;
  position: relative;
  padding: 80px 0 100px;
  overflow: visible;
}

.access::before {
  content: 'Access';
  position: absolute;
  top: 40px;
  left: 50px;
  font-family: var(--font-family-en);
  font-size: 100px;
  font-weight: 700;
  color: rgba(230, 230, 230, 0.6);
  z-index: 0;
  white-space: nowrap;
  line-height: 1;
}

.access .container {
  position: relative;
  z-index: 1;
  padding-top: 140px;
}

.access-content {
  display: flex;
  align-items: center;
  gap: 50px;
  background-color: rgba(255, 255, 255, 0.9);
}

.access-list {
  border-top: 2px solid #4caf50;
  max-width: 800px;
  margin: 50px auto 0;
}

.access-list li {
  display: flex;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid #e0e0e0;
  gap: 20px;
}

.access-list time {
  font-family: var(--font-family-en);
  font-size: 14px;
  color: #666;
  margin-right: 0;
  min-width: 80px;
  flex-shrink: 0;
}

.access-category {
  background-color: #4caf50;
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: px;
  margin-right: 0;
  flex-shrink: 0;
  white-space: nowrap;
  min-width: 7rem;
  text-align: center;
}

.access-list a {
  transition: color 0.3s;
  flex: 1;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

.access-list a:hover {
  color: #4caf50;
}

.access-footer {
  text-align: center;
  margin-top: 50px;
}

/* Contact Section */
.contact {
  background-color: var(--bg-yellow);
  position: relative;
  padding: 80px 0 100px;
}

.contact-conf {
  background-color: var(--bg-yellow);
  position: relative;
  padding: 80px 0 100px;
  margin-top: 80px;
}

.contact .section-title,
.contact-conf .section-title {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  z-index: 2;
}

.contact-title {
  text-align: center;
  margin-top: 6rem;
  font-size: 1.7rem;
}

h3.contact-title {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.7rem;
}

.contact-lead {
  text-align: center;
  margin-top: 9rem;
  margin-bottom: 40px;
}

.contact-conf p.contact-lead {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 40px;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #fff;
  padding: 40px;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

.required {
  background-color: #e74c3c;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  font-size: 16px;
}

.privacy-policy {
  display: flex;
  align-items: center;
}

.privacy-policy input {
  margin-right: 10px;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.privacy-content {
  flex-direction: column;
  margin-top: 160px !important;
  max-width: 700px;
  margin: 0 auto;
}

.privacy-text h3 {
  font-size: 22px;
  line-height: 1.6;
  margin-top: 80px;
  font-weight: 700;
  margin-bottom: 20px;
}

.privacy-text span {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 60px;
  font-weight: 700;
  margin-bottom: 80px;
}

.privacy-text p {
  line-height: 1.8;
}

.privacy-text li {
  margin-left: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--primary-green);
  color: #fff;
  padding: 12px 40px;
  border-radius: 5px;
  font-weight: 700;
  text-align: center;
  border: 2px solid var(--primary-green);
  transition: background-color 0.3s, color 0.3s;
}

.btn:hover {
  background-color: #fff;
  color: var(--primary-green);
}

.btn-arrow {
  display: inline-block;
  background-color: var(--primary-green);
  color: #fff;
  padding: 6px 25px;
  border-radius: 5px;
  font-weight: 700;
  text-align: center;
  border: 2px solid var(--primary-green);
  transition: background-color 0.3s, color 0.3s;
  margin-top: 20px;
}

.btn-arrow:hover {
  background-color: #fff;
  color: var(--primary-green);
}

/* Footer */
.footer {
  background-color: #333;
  color: #f2f2f2;
  padding-top: 60px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  padding-bottom: 40px;
  padding-left: 10%;
  padding-right: 10%;
  border-bottom: 1px solid #555;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 15px;
}

.footer-logo p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 40px;
}

.footer-nav a {
  font-size: 14px;
  transition: color 0.3s;
}

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

.copyright {
  text-align: center;
  padding: 20px 0;
  font-size: 12px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 1399.98px) {
  .hero h2 {
    margin: 320px 0 30px 130px;
  }

  .hero-description {
    margin-left: 130px;
  }
}

@media (max-width: 1199.98px) {
  .hero h2 {
    margin: 320px 0 30px 130px;
  }

  .hero-description {
    margin-left: 130px;
  }
}

@media (max-width: 991.98px) {
  .hero h2 {
    margin: 280px 0 30px 260px;
  }

  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
  }

  .logo {
    position: relative;
    z-index: 1002;
    /* ナビゲーションのz-index (999) より高く設定 */
  }

  .section::before {
    font-size: 80px;
    top: 20px;
  }

  .global-nav ul {
    display: none;
    /* Hide nav links on mobile */
  }

  .header-recruit {
    display: none;
    /* Hide the desktop recruit button */
  }

  .hamburger-menu {
    display: block;
  }

  /* When hamburger is clicked, show the nav container */
  .global-nav.active {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 420px;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    padding-top: 80px;
  }

  /* And show the list inside */
  .global-nav.active ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
  }

  /* Show the recruit item in the mobile list */
  .global-nav.active .nav-recruit {
    display: block;
    margin-top: 20px;
  }

  /* Style the mobile recruit item as a button */
  .global-nav.active .nav-recruit a {
    background-color: var(--primary-green);
    color: white;
    padding: 10px 40px;
    border-radius: 5px;
  }

  .global-nav.active .nav-recruit a:hover {
    background-color: var(--accent-green);
  }

  .global-nav.active .nav-recruit a span {
    color: white;
  }

  .global-nav.active .nav-recruit a::after {
    display: none;
    /* No underline on button */
  }

  nav.global-nav {
    flex-grow: 1;
    display: flex;
    justify-content: right;
    margin-right: 0px;
  }
}

@media (max-width: 991.98px) and (min-width: 768px) {
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
  }

  .hero {
    height: 500px;
  }

  .hero h2 {
    font-size: 32px;
    margin: 240px 0 10px 70px;
    font-feature-settings: "palt";
  }

  .hero-subtitle {
    font-size: 3.5rem;
    margin-left: 4rem;
  }

  .hero-description {
    font-size: 15px;
    margin-left: 70px;
    font-feature-settings: "palt";
  }

  .hero-content {
    padding-left: 2%;
  }

  .service-grid,
  .landscape-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .service-card-image,
  .landscape-card-image {
    height: 240px;
  }
}

/* Mobile Menu Styles */
@media (max-width: 767.98px) {
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
  }

  .global-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .global-nav.active {
    max-height: 500px;
    /* Adjust based on your menu height */
    opacity: 1;
  }

  .global-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
  }

  .global-nav li {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .global-nav a {
    padding: 10px 0;
    display: block;
    width: 100%;
  }

  .global-nav a::after {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }

  .hamburger-menu span {
    transition: all 0.3s ease;
  }

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

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

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

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
  }

  .slide {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
  }

  .section::before {
    font-size: 80px;
    top: 10px;
  }

  .section {
    padding: 0 0 60px;
  }

  .section::before {
    font-size: 3.5rem;
    top: 25px;
  }

  .header-container {
    height: 60px;
  }

  .hero {
    padding-top: 0px;
    height: 400px;
    margin-top: 0px;
  }

  .carousel-prev,
  .carousel-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }

  .carousel-indicators {
    bottom: 20px;
    gap: 10px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .hero-content {
    padding-left: 5%;
    padding-right: 5%;
    margin-top: -60px;
  }

  .hero h2 {
    font-size: 28px;
    margin: 90px 0 20px 30px;
    font-feature-settings: "palt";
  }

  .hero-subtitle {
    font-size: 2.7rem;
    margin-left: 1.5rem;
  }

  .hero-description {
    font-size: 14px;
    margin-left: 30px;
    font-feature-settings: "palt";
  }

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

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

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

  .commitment-content {
    flex-direction: column;
  }

  .commitment-text h3 {
    font-size: 22px;
  }

  .commitment-image img {
    width: 100%;
    display: block;
    margin-top: 0px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 50px;
  }

  .landscape-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 50px;
  }

  .contact-lead {
    text-align: center;
    margin-top: 10rem;
    margin-bottom: 40px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 200px);
    gap: 0px;
  }

  .gallery-item.large {
    grid-row: span 2;
  }

  .company-content {
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
    margin-top: 40px;
  }

  .access-content {
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
  }

  .access-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-logo p {
    margin: 0 auto;
  }

  .footer-nav ul {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hero-subtitle {
    margin-top: 10px;
  }

  .global-nav.active {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 460px;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    padding-top: 80px;
  }

  .global-nav li {
    width: 100%;
    text-align: center;
    padding: 3px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .global-nav a {
    padding: 0 0 10px 0;
    display: block;
    width: 100%;
  }

  .global-nav.active ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 0px;
  }
}

@media (max-width: 575.98px) {
  .section::before {
    font-size: 48px;
  }

  .carousel-prev,
  .carousel-next {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  .carousel-indicators {
    bottom: 15px;
    gap: 8px;
  }

  .indicator {
    width: 8px;
    height: 8px;
  }

  .hero h2 {
    font-size: 1.4rem;
    margin: 130px 0 10px 25px;
    font-feature-settings: "palt";
  }

  .hero-subtitle {
    font-size: 1.8rem;
    margin-left: 1.5rem;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-left: 25px;
    font-feature-settings: "palt";
  }

  .carousel-prev,
  .carousel-next {
    top: 60%;
  }

  .section-title,
  .section-title-right {
    width: 170px;
    height: 70px;
  }

  .section-title h2,
  .section-title-right h2 {
    font-size: 1.3rem;
  }

  .section-title p,
  .section-title-right p {
    font-size: 0.8rem;
  }

  .commitment-text h3 {
    font-size: 20px;
  }

  .service div.container h3 {
    font-size: 20px;
    margin-top: 0px;
    margin-bottom: 15px;
    text-align: center;
  }

  .service div.container h5 {
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 40px;
    text-align: center;
  }

  .service-grid,
  .landscape-grid {
    grid-template-columns: 1fr;
  }

  .service-card-image {
    width: 100%;
    height: 260px;
    position: relative;
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
    overflow: visible;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(7, 200px);
    gap: 10px;
  }

  .gallery-item.large {
    grid-row: span 2;
  }

  .contact-form {
    padding: 20px;
  }

  .landscape .container {
    position: relative;
    z-index: 1;
    padding-top: 0px;
  }

  .d-sm-none {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .hero h2 {
    font-size: 1.2rem;
    margin: 150px 0 10px 25px;
    font-feature-settings: "palt";
  }

  .hero-description {
    font-size: 0.86rem;
    margin-left: 25px;
    font-feature-settings: "palt";
  }

  .service-card-image {
    height: 180px;
  }

  .section::before {
    font-size: 40px;
    top: 15px;
  }

  .access::before,
  .service::before {
    left: 20px;
  }
}