/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  color: #343434;
  line-height: 1.8;
  background: #fff;
  font-size: 17px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== CSS VARIABLES ===== */
:root {
  --main-color: #2B9880;
  --green-dark: #186d5a;
  --green-light: #6aad78;
  --text-dark: #343434;
  --text-mid: #555;
  --text-light: #888;
  --border: #dde8dd;
}

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 3vw, 40px);
  height: 100px;
}
.logo {
  margin: 0;
  line-height: 1;
}
.logo a {
  display: block;
}
.logo img {
  height: clamp(44px, 4.5vw, 60px);
  width: auto;
  display: block;
}
nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 35px); }
nav a {
  font-size: clamp(13px, 1.3vw, 17px);
  color: var(--text-dark);
  transition: color 0.2s;
  font-weight: 600;
}
nav a:hover { color: var(--main-color); }
.nav-cta {
  background: var(--main-color);
  color: #fff !important;
  padding: 10px clamp(14px, 2vw, 40px);
  border-radius: 6px;
  transition: background 0.2s;
}
.nav-cta:hover { background: #186d5a !important; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  margin-top: 100px;
  position: relative;
  height: 780px;
  background-image: url('../images/kv.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-text h1 {
  writing-mode: vertical-rl;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 52px;
  color: #fff;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.1em;
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.45));
  margin-top: 140px;
}

.hero-text h1 span {
  display: inline-block;
}

.hero-text h1 .line-1 {
  margin-left: 2%;
}

/* ===== SECTION COMMON ===== */
section { padding: 120px 0; }
.section-heading {
  position: relative;
  text-align: center;
  margin-bottom: 48px;
  line-height: 1;
}
.section-label {
  display: block;
  user-select: none;
}
.section-label img {
  width: auto;
  max-width: 100%;
  height: 110px;
  margin: 0 auto;
}
.section-title br { display: none; }
.section-title {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-dark);
}

#company .section-title { color: #fff; }

/* ===== GREETING ===== */
#greeting {
  background: #fff;
  max-width: 1100px;
  margin: 0 auto;
}
.greeting-inner {
  display: flex;
  gap: 70px;
  align-items: flex-start;
}
.greeting-text { flex: 1; }
.greeting-text p {
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.9;
}
.greeting-text .ceo-name {
  margin-top: 24px;
  color: var(--text-dark);
  text-align: right;
}
.greeting-photo {
  width: 370px;
  flex-shrink: 0;
}
.greeting-photo img {
  width: 370px;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* ===== MISSION ===== */
#mission {
  background: var(--bg-light);
}
.mission-inner {
  max-width: 960px;
  margin: 0 auto;
}
.mission-kanji {
  margin-bottom: 80px;
  width: fit-content;
  margin-inline: auto;
}
.mission-body {
  max-width: 630px;
  margin: 0 auto;
}
.mission-body p {
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.9;
}

/* ===== COMPANY INFO ===== */
#company {
  background-image: url('../images/company-bg.webp');
  background-size: cover;
  background-position: center;
  position: relative;
}
.company-table-wrap {
  max-width: 650px;
  margin: 0 auto;
  background: #ffffff;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table tr {
  border-bottom: 1px solid #3D868F;
}
.company-table tr:last-child { border-bottom: none; }
.company-table th {
  width: 130px;
  padding: 14px 20px;
  background: #F9FAFB;
  font-weight: 600;
  white-space: nowrap;
  vertical-align: top;
  border-right: 1px solid #3D868F;
}
.company-table td {
  padding: 14px 20px;
  
}

/* ===== GROUP ===== */
#group {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.group-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 25px;
  border-radius: 10px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  min-height: 105px;
  border: 1px solid transparent;
}
.group-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  border-color: var(--green-light);
  transform: translateY(-2px);
}
.group-card-icon {
  width: 31px; height: 31px;
  display: flex; align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 20px;
}
.group-card-icon img {
  width: 100%;
  height: auto;
}
.group-card-name {
  font-size: 1.1875rem;
  flex: 1;
  line-height: 1.4;
  font-weight: 500;
  padding-right: 15px;
}
.group-card-name br { display: none; }
.group-card-link-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.group-card:hover .group-card-link-icon {
  opacity: 1;
}

/* ===== FOOTER ===== */
footer {
  color: var(--main-color);
  text-align: center;
  padding: 30px;
  font-size: 0.75rem;
}
.footer-privacy {
  margin-bottom: 6px;
}
.footer-privacy a {
  color: var(--main-color);
  text-decoration: underline;
  font-size: 0.75rem;
}
.footer-privacy a:hover {
  color: var(--green-dark);
}

/* ===== PRIVACY POLICY ===== */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 30px 80px;
}
.privacy-content p {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 16px;
}
.privacy-content h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 32px 0 10px;
  color: var(--text-dark);
}
.privacy-content ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}
.privacy-content ol li {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 6px;
}
.privacy-content ol ol {
  margin-top: 6px;
  margin-bottom: 0;
}
.privacy-end {
  margin-top: 40px;
  text-align: right;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 100px; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  z-index: 99;
  padding: 16px 0;
  flex-direction: column;
  padding: 20px;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  padding: 12px 10px;
  font-weight: 600;
  border-bottom: 1px solid #f0f0f0;
}
.mobile-nav a:last-child { border-bottom: none; }



/* Scroll Down */
.container_06 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
.scroll-down_06 {
  display: block;
  text-align: center;
  padding-bottom: 24px;
}
.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: serif;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

.circle-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid #fff;
  border-radius: 50%;
  position: relative;
  margin-bottom:12px;
  margin-inline: auto;
  animation: pulse 2s infinite;
}

.circle-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}


/* ===== SUB PAGE ===== */
.sub-page-wrap {
  margin-top: 100px;
}
.sub-page-title {
  padding: 80px 30px 60px;
  text-align: center;
  background: #fff;
}
.sub-page-title h1 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--main-color);
  font-family: 'Noto Sans JP', sans-serif;
}
.sub-intro {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 30px 80px;
}
.sub-intro-photo {
  margin: 0 auto 48px;
  border-radius: 4px;
  overflow: hidden;
  background: #d6e4d6;
  max-width: 590px;
  aspect-ratio: 4 / 3;
}
.sub-intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sub-intro p {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 12px;
}
.sub-profile {
  background-image: url('../images/company-bg.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 120px 30px;
  margin-bottom: 60px;
}
.sub-profile::before {
  content: '';
  position: absolute;
  inset: 0;
}
.sub-profile .section-heading,
.sub-profile .company-table-wrap {
  position: relative;
  z-index: 1;
}
.sub-profile .section-title { color: #fff; }
/* ===== GALLERY (creek_farm) ===== */
.gallery-wrap {
  overflow: hidden;
  background: #fff;
  line-height: 0;
  margin: 60px 0 180px;
}
.gallery-strip {
  display: flex;
  gap: 6px;
  width: max-content;
  animation: gallery-marquee 45s linear infinite;
  animation-play-state: paused;
}
.gallery-strip.is-ready {
  animation-play-state: running;
}
.gallery-strip img {
  height: 300px;
  width: auto;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}
@keyframes gallery-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.sub-back-link {
  display: block;
  text-align: center;
  padding: 40px 20px;
  background: #fff;
}
.sub-back-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--main-color);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color 0.2s;
}
.sub-back-link a:hover { color: var(--green-dark); }
.sub-back-link a::before {
  content: '←';
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  body { font-size: 16px; }
  header { height: 60px; }
  nav { display: none; }
  .hamburger { display: flex; }
  .hero { margin-top: 60px; }
  .mobile-nav { top: 60px; }
  .logo img { height: 36px; }
  .nav-cta { width: 60%; margin-inline: auto; text-align: center; margin-top: 20px; }
  .section-label img { height: 90px; }
  .sub-page-wrap { margin-top: 60px; }
}

@media (min-width: 819px) and (max-width: 1330px) {
  section { padding: 60px 30px; }
}

@media (min-width: 1025px) and (max-width: 1330px) {
  .hero-text h1 { height: 520px; }
}

@media (max-width: 820px) {
  .section-title br { display: inline; }

  .hero { height: 550px; }
  .hero-content { padding: 0 24px; }
  .hero-text { display: flex; justify-content: center; width: 100%; }
  .hero-text h1 { font-size: 2.0625rem; height: 320px; margin-top: 0; width: fit-content; }
  .hero-text h1 .line-1 { margin-left: 20px; }

  section { padding: 60px 30px; }
  .section-label img { height: 70px; }
  .section-title { line-height: 1.4; }

  .greeting-inner { flex-direction: column; gap: 32px; }
  .greeting-photo { width: 100%; }
  .greeting-photo img { width: 70%; margin-inline: auto; }

  .company-table th { width: 100%; padding: 12px 14px; display: block; border-right: none; text-align: left; }
  .company-table td { padding: 12px 14px; display: block; }

  .group-grid { grid-template-columns: 1fr; }
  .group-card-name br { display: inline; }

  .gallery-wrap {  margin: 0 0 100px;　}


  .gallery-strip img { height: 260px; }
  .gallery-strip { gap: 4px; }
}

