/* =========================================================
   兵藤ファーム ― Design System
   和モダン / bright / photo-forward
   ========================================================= */

:root {
  --font-serif: "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", sans-serif;

  --color-bg: #fffdf9;
  --color-bg-soft: #fbf1ec;
  --color-surface: #ffffff;

  --color-primary: #7d1f46;
  --color-primary-dark: #4f1330;
  --color-accent: #c62d5c;
  --color-accent-dark: #9c1f47;
  --color-gold: #b98c4c;

  --color-text: #2a201e;
  --color-text-soft: #6f5f5a;
  --color-border: #efe1da;

  --shadow-soft: 0 10px 30px rgba(80, 30, 50, 0.1);
  --shadow-card: 0 14px 40px rgba(80, 30, 50, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.9;
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  margin: 0;
  color: var(--color-primary);
}

p {
  margin: 0;
}

a {
  font-family: var(--font-sans);
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 14px;
}

.eyebrow--light {
  color: #e9c891;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.divider {
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-gold);
  margin: 20px auto 0;
}

.divider--left {
  margin-left: 0;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.5;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  font-size: 0.98rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 12px 26px rgba(198, 45, 92, 0.28);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(198, 45, 92, 0.34);
}

.btn-outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* =========================================================
   Navigation
   ========================================================= */
.navbar {
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(42, 32, 30, 0.06);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.nav-logo {
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 36px;
}

.nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 50%;
  background-color: var(--color-accent);
  transition: all 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 72px;
    flex-direction: column;
    background-color: var(--color-surface);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 20px 0;
    gap: 0;
    box-shadow: var(--shadow-soft);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    padding: 15px 0;
  }
}

/* =========================================================
   Photo Hero (index.html)
   ========================================================= */
.photo-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: url("shiso_farm_images/shiso_photo_1.jpg") no-repeat center 70% /
    cover;
}

.photo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 6, 14, 0.68) 0%,
    rgba(20, 6, 14, 0.4) 26%,
    rgba(20, 6, 14, 0.1) 50%,
    rgba(20, 6, 14, 0) 75%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 160px 24px 72px;
  margin: 0 auto;
  color: #fff;
  text-align: left;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 6px 22px rgba(0, 0, 0, 0.4);
}

.hero-description {
  font-size: 0.98rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 36px;
  max-width: 640px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.35);
}

/* Vision section */
.vision-section {
  padding: 96px 24px;
  text-align: center;
  background-color: var(--color-bg-soft);
}

.vision-content {
  max-width: 760px;
  margin: 0 auto;
}

.vision-content p {
  color: var(--color-text-soft);
  line-height: 2;
  margin-top: 28px;
}

/* Image + text row (content-section) */
.content-section {
  display: flex;
  align-items: center;
  padding: 90px 24px;
  gap: 60px;
  max-width: 1180px;
  margin: 0 auto;
}

.content-section img {
  width: 44%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.content-section .text {
  flex: 1;
}

.content-section .text p {
  color: var(--color-text-soft);
  margin-top: 20px;
}

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

/* =========================================================
   Products Preview / Feature
   ========================================================= */
.products-preview {
  padding: 100px 24px;
  background-color: var(--color-bg-soft);
  text-align: center;
}

.product-feature {
  max-width: 1000px;
  margin: 56px auto 0;
  display: flex;
  align-items: center;
  gap: 60px;
  background: var(--color-surface);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  padding: 40px;
}

.product-feature img {
  width: 42%;
  border-radius: 16px;
}

.product-feature .product-info {
  flex: 1;
}

.product-feature h3 {
  color: var(--color-primary);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.product-feature p {
  color: var(--color-text-soft);
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .product-feature {
    flex-direction: column;
    padding: 28px;
    gap: 28px;
  }

  .product-feature img {
    width: 100%;
  }
}

/* Small product card (used where a grid of products may appear) */
.product-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.product-card {
  background: var(--color-surface);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  max-width: 350px;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.product-info h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.product-info p {
  color: var(--color-text-soft);
  margin-bottom: 20px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--color-accent);
  padding: 11px 26px;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.product-link:hover {
  background-color: var(--color-accent);
  color: white;
}

/* =========================================================
   Story / deep contrast band
   ========================================================= */
.story-section {
  position: relative;
  padding: 120px 24px;
  text-align: center;
  color: #fff;
  background: var(--color-primary-dark) no-repeat center / cover;
}

.story-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(41, 13, 27, 0.9) 0%,
    rgba(41, 13, 27, 0.72) 55%,
    rgba(41, 13, 27, 0.9) 100%
  );
}

.story-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.story-section h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.story-content p {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 2;
}

/* =========================================================
   Product hero split (biso.html)
   ========================================================= */
.product-hero {
  padding: 160px 24px 90px;
  background-color: var(--color-bg-soft);
  overflow: hidden;
}

.product-hero .container {
  display: flex;
  align-items: center;
  gap: 64px;
}

.product-hero-text {
  flex: 1;
  min-width: 280px;
}

.product-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.4;
  margin-bottom: 16px;
}

.product-hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 20px;
}

.product-hero-image {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.product-hero-image::before {
  content: "";
  position: absolute;
  width: 82%;
  height: 82%;
  top: 6%;
  right: -6%;
  background: var(--color-bg-soft);
  border: 2px solid var(--color-gold);
  border-radius: 24px;
  z-index: 0;
}

.product-hero-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 768px) {
  .product-hero .container {
    flex-direction: column;
  }

  .product-hero-image::before {
    display: none;
  }
}

/* Effects section */
.effects-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 96px 24px;
  background-color: var(--color-surface);
  max-width: 1180px;
  margin: 0 auto;
}

.card {
  background: var(--color-bg-soft);
  padding: 36px;
  border-radius: 18px;
  max-width: 420px;
  flex: 1 1 320px;
  border: 1px solid var(--color-border);
}

.card h2 {
  color: var(--color-primary);
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card li {
  margin-bottom: 14px;
  padding-left: 1.6em;
  position: relative;
  color: var(--color-text-soft);
}

.card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: bold;
}

/* =========================================================
   Footer
   ========================================================= */
footer {
  background-color: var(--color-bg-soft);
  color: var(--color-text);
  padding: 64px 24px 40px;
  border-top: 1px solid var(--color-gold);
}

.footer-content {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-section h3 {
  color: var(--color-primary);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-section p {
  color: var(--color-text-soft);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: var(--color-text-soft);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  max-width: 1180px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-soft);
  font-size: 0.82rem;
}

/* =========================================================
   Scroll indicator
   ========================================================= */
.scroll-indicator {
  position: fixed;
  right: 26px;
  top: 0;
  width: 22px;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
}

.scroll-track {
  position: absolute;
  top: 6vh;
  bottom: 6vh;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(185, 140, 79, 0.3) 12%,
    rgba(185, 140, 79, 0.3) 88%,
    transparent
  );
  border-radius: 2px;
}

.scroll-drop-pos {
  position: absolute;
  top: 6vh;
  left: 50%;
  width: 20px;
  margin-left: -10px;
  will-change: transform;
}

.scroll-drop-shape {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 50% 12%;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 8px 14px rgba(125, 31, 70, 0.4));
}

/* Scrollbar */
body::-webkit-scrollbar {
  display: none !important;
}

body {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 768px) {
  .photo-hero {
    align-items: flex-end;
  }

  .hero-content {
    padding: 140px 20px 56px;
    text-align: left;
  }

  .content-section {
    flex-direction: column;
    text-align: center;
    padding: 64px 20px;
    gap: 32px;
  }

  .reverse {
    flex-direction: column;
  }

  .content-section img {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .scroll-indicator {
    display: none;
  }

  .vision-section,
  .products-preview,
  .story-section,
  .effects-section {
    padding: 64px 20px;
  }
}
