/* ============================================================
   DESIGN TOKENS — Green / Natural Palette
   Key color: Deep Forest Green with cool light backgrounds
   ============================================================ */

:root {
  /* Green (Key Color) */
  --wine-900: #13382A;
  --wine-800: #1A4D3A;
  --wine-700: #1F6B4F;
  --wine-600: #2A8A66;
  --wine-500: #38A87D;
  --wine-100: #E6F5EE;

  /* Background — cool mint-tinted off-white */
  --cream: #F4F8F6;
  --cream-dark: #E8F0EC;
  --cream-light: #FAFCFB;

  /* Neutral */
  --text-primary: #1E2D28;
  --text-secondary: #5A6B63;
  --text-light: #8A9A92;
  --border: #D4DFD9;
  --white: #FFFFFF;

  /* Accent */
  --eco-600: #1A7A50;
  --eco-500: #24A06A;
  --gold: #7BB38E;

  /* Typography */
  --font-sans: 'Inter', 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --ls-wide: 0.14em;
  --ls-normal: 0.04em;

  /* Layout */
  --container-max: 1100px;
  --container-px: 1.5rem;
  --section-py: 6rem;
  --header-h: 70px;

  /* Card */
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-soft: 0 2px 20px rgba(0, 0, 0, 0.06);

  /* Motion */
  --dur: 300ms;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --reveal-dur: 700ms;
}

@media (min-width: 768px) {
  :root {
    --container-px: 2.5rem;
    --section-py: 8rem;
  }
}

/* ============================================================
   RESET
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-primary);
  background: var(--cream);
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(244, 248, 246, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(244, 248, 246, 0.97);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  color: var(--wine-700);
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.7;
}

.logo-img {
  height: 32px;
  width: auto;
  margin-right: 12px;
}


/* Nav Desktop */
.nav-desktop {
  display: none;
}

@media (min-width: 800px) {
  .nav-desktop {
    display: block;
  }

  .hamburger {
    display: none !important;
  }
}

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

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: var(--ls-normal);
  position: relative;
  transition: color var(--dur) var(--ease);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--wine-700);
  transition: width 0.3s var(--ease);
}

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

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 8px;
  height: 40px;
  margin-top: 4px;
  /* ロゴテキストとの視覚的なズレ（上寄り）を補正 */
  z-index: 110;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--wine-700);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

/* Mobile Nav */
.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(244, 248, 246, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 105;
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: auto;
}

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

.nav-mobile-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--wine-700);
  letter-spacing: var(--ls-normal);
  transition: opacity 0.2s;
}

.nav-mobile-link:hover {
  opacity: 0.6;
}

@media (min-width: 800px) {
  .nav-mobile {
    display: none;
  }
}

/* ============================================================
   WATERMARK SECTION LABELS
   ============================================================ */

.section-with-watermark {
  position: relative;
  overflow: hidden;
}

.watermark {
  position: absolute;
  top: -0.15em;
  left: -0.03em;
  font-family: var(--font-sans);
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(31, 107, 79, 0.15);
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.watermark--light {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section--cream {
  background: var(--cream);
}

.section--white {
  background: var(--white);
}

.section--wine {
  background: var(--wine-700);
  color: var(--white);
}

.section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 3.5rem;
  margin-top: 120px;
}

.section-header--center {
  text-align: center;
}

.section-sub {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  color: var(--wine-700);
  border-bottom: 2px solid var(--wine-700);
  padding-bottom: 4px;
  text-transform: uppercase;
}

.section-sub--light {
  color: rgba(255, 255, 255, 0.7);
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: var(--ls-normal);
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--wine-700);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--wine-800);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(31, 107, 79, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--wine-700);
  border: 1.5px solid var(--wine-700);
}

.btn--outline:hover {
  background: var(--wine-700);
  color: var(--white);
}

.btn--wide {
  min-width: 200px;
  padding: 16px 48px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: var(--cream);
  padding-top: var(--header-h);
  padding-bottom: 2rem;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-layout {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
  }
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-h1 {
  margin-bottom: 1.5rem;
}

.hero-h1-en {
  display: block;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--wine-700);
}

.hero-lead {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-cta .btn {
  width: 100%;
}

@media (min-width: 600px) {
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-cta .btn {
    width: auto;
  }
}

.hero-visual {
  position: relative;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* Decorative cubes */
@keyframes floatDiamond {

  0%,
  100% {
    transform: rotate(45deg) translateY(0px);
  }

  50% {
    transform: rotate(45deg) translateY(-10px);
  }
}

.deco-cube {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--wine-100);
  transform: rotate(45deg);
  z-index: 0;
  opacity: 0.6;
  animation: floatDiamond 4s ease-in-out infinite;
}

/* Individual timing per cube for a natural, asynchronous feel */
.deco-cube--1 {
  animation-duration: 3.8s;
  animation-delay: 0s;
}

.deco-cube--2 {
  animation-duration: 5.2s;
  animation-delay: -1.3s;
}

.deco-cube--3 {
  animation-duration: 4.4s;
  animation-delay: -2.1s;
}

.deco-cube--4 {
  animation-duration: 6.0s;
  animation-delay: -0.7s;
}

.deco-cube--5 {
  animation-duration: 3.5s;
  animation-delay: -3.0s;
}

.deco-cube--6 {
  animation-duration: 4.8s;
  animation-delay: -1.8s;
}

.deco-cube--7 {
  animation-duration: 5.5s;
  animation-delay: -0.4s;
}

.deco-cube--8 {
  animation-duration: 4.1s;
  animation-delay: -2.6s;
}

.deco-cube--9 {
  animation-duration: 6.2s;
  animation-delay: -1.0s;
}

.deco-cube--10 {
  animation-duration: 3.9s;
  animation-delay: -3.4s;
}

.deco-cube--11 {
  animation-duration: 5.0s;
  animation-delay: -0.9s;
}

.deco-cube--12 {
  animation-duration: 4.3s;
  animation-delay: -2.2s;
}

.deco-cube--13 {
  animation-duration: 5.7s;
  animation-delay: -1.5s;
}

.deco-cube--14 {
  animation-duration: 3.6s;
  animation-delay: -3.8s;
}

.deco-cube--15 {
  animation-duration: 4.9s;
  animation-delay: -0.6s;
}

.deco-cube--16 {
  animation-duration: 6.4s;
  animation-delay: -2.9s;
}

.deco-cube--17 {
  animation-duration: 4.0s;
  animation-delay: -1.1s;
}

.deco-cube--18 {
  animation-duration: 5.3s;
  animation-delay: -3.2s;
}

.deco-cube--19 {
  animation-duration: 3.7s;
  animation-delay: -0.3s;
}

.deco-cube--20 {
  animation-duration: 6.1s;
  animation-delay: -2.0s;
}

.deco-cube--21 {
  animation-duration: 4.6s;
  animation-delay: -1.7s;
}

.deco-cube--22 {
  animation-duration: 5.8s;
  animation-delay: -3.5s;
}

.deco-cube--23 {
  animation-duration: 3.4s;
  animation-delay: -0.8s;
}

.deco-cube--24 {
  animation-duration: 4.7s;
  animation-delay: -2.4s;
}


.deco-cube--1 {
  top: 15%;
  right: 8%;
  width: 16px;
  height: 16px;
  background: var(--wine-700);
  opacity: 0.15;
}

.deco-cube--2 {
  top: 25%;
  left: 5%;
  width: 12px;
  height: 12px;
  background: var(--eco-600);
  opacity: 0.2;
}

.deco-cube--3 {
  bottom: 20%;
  right: 15%;
  width: 24px;
  height: 24px;
  background: var(--wine-100);
  opacity: 0.5;
}

.deco-cube--4 {
  bottom: 30%;
  left: 12%;
  width: 10px;
  height: 10px;
  background: var(--gold);
  opacity: 0.3;
}

.deco-cube--5 {
  top: 12%;
  left: 18%;
  width: 28px;
  height: 28px;
  background: var(--cream-dark);
  opacity: 0.6;
}

.deco-cube--6 {
  bottom: 18%;
  left: 42%;
  width: 8px;
  height: 8px;
  background: var(--wine-500);
  opacity: 0.2;
}

.deco-cube--7 {
  top: 35%;
  right: 30%;
  width: 14px;
  height: 14px;
  background: var(--gold);
  opacity: 0.2;
}

.deco-cube--8 {
  top: 60%;
  right: 5%;
  width: 22px;
  height: 22px;
  background: var(--wine-100);
  opacity: 0.4;
}

.deco-cube--9 {
  top: 8%;
  left: 30%;
  width: 18px;
  height: 18px;
  background: var(--eco-600);
  opacity: 0.15;
}

.deco-cube--10 {
  bottom: 12%;
  right: 35%;
  width: 12px;
  height: 12px;
  background: var(--gold);
  opacity: 0.25;
}

.deco-cube--11 {
  top: 45%;
  left: 2%;
  width: 26px;
  height: 26px;
  background: var(--wine-700);
  opacity: 0.1;
}

.deco-cube--12 {
  top: 20%;
  right: 25%;
  width: 8px;
  height: 8px;
  background: var(--wine-500);
  opacity: 0.3;
}

.deco-cube--13 {
  bottom: 40%;
  left: 20%;
  width: 15px;
  height: 15px;
  background: var(--cream-dark);
  opacity: 0.5;
}

.deco-cube--14 {
  top: 55%;
  right: 45%;
  width: 20px;
  height: 20px;
  background: var(--wine-100);
  opacity: 0.35;
}

.deco-cube--15 {
  bottom: 5%;
  left: 55%;
  width: 30px;
  height: 30px;
  background: var(--gold);
  opacity: 0.15;
}

.deco-cube--16 {
  top: 5%;
  right: 50%;
  width: 10px;
  height: 10px;
  background: var(--wine-600);
  opacity: 0.2;
}

.deco-cube--17 {
  top: 70%;
  left: 30%;
  width: 18px;
  height: 18px;
  background: var(--wine-100);
  opacity: 0.4;
}

.deco-cube--18 {
  top: 30%;
  left: 45%;
  width: 8px;
  height: 8px;
  background: var(--eco-600);
  opacity: 0.2;
}

.deco-cube--19 {
  bottom: 35%;
  right: 55%;
  width: 6px;
  height: 6px;
  background: var(--gold);
  opacity: 0.3;
}

.deco-cube--20 {
  top: 80%;
  right: 20%;
  width: 22px;
  height: 22px;
  background: var(--wine-100);
  opacity: 0.35;
}

.deco-cube--21 {
  top: 40%;
  right: 15%;
  width: 10px;
  height: 10px;
  background: var(--wine-500);
  opacity: 0.18;
}

.deco-cube--22 {
  bottom: 50%;
  left: 60%;
  width: 14px;
  height: 14px;
  background: var(--cream-dark);
  opacity: 0.55;
}

.deco-cube--23 {
  top: 18%;
  left: 60%;
  width: 7px;
  height: 7px;
  background: var(--wine-700);
  opacity: 0.12;
}

.deco-cube--24 {
  bottom: 15%;
  right: 68%;
  width: 16px;
  height: 16px;
  background: var(--gold);
  opacity: 0.2;
}


/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-cue-line {
  display: block;
  width: 1px;
  height: 50px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.scroll-cue-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--wine-700);
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    top: -100%;
  }

  50% {
    top: 100%;
  }

  100% {
    top: 100%;
  }
}

/* ============================================================
   SERVICE SECTION — Staggered Layout
   ============================================================ */

.service-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  /* 画像とテキストの関連性を強めるため(ゲシュタルト要因の「近接」)、2remから1.5remに縮小 */
  align-items: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.service-block:last-child {
  margin-bottom: 0;
}

/* モバイル時は画像を必ず上に（テキストを下に）統一 */
.service-block .service-img-wrap {
  order: -1;
}

@media (min-width: 768px) {
  .service-block {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 6rem;
  }

  /* デスクトップで画像の順序をリセット */
  .service-block .service-img-wrap {
    order: 0;
  }

  .service-block--left .service-content {
    order: -1;
  }
}

.service-img-wrap {
  position: relative;
  z-index: 1;
}

.service-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 1;
}

.service-num {
  position: absolute;
  top: -1.2rem;
  right: -0.8rem;
  font-family: var(--font-sans);
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 800;
  color: rgba(31, 107, 79, 0.18);
  /* 少し濃くして透過 (--wine-700) */
  line-height: 1;
  pointer-events: none;
  z-index: 10;
  /* ダークな画像に重なった際に隠れて見えなくなるのを防ぐ「白フチ」の工夫 */
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
}

.service-num--left {
  right: auto;
  left: -0.8rem;
}

.service-content {
  position: relative;
  z-index: 1;
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--wine-700);
  margin-bottom: 1rem;
  letter-spacing: var(--ls-normal);
}

.service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 1.25rem;
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-bullets li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
}

.service-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  background: var(--wine-600);
  border-radius: 50%;
}

/* ============================================================
   PHILOSOPHY — Wine Background
   ============================================================ */

.philosophy-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 120px;
}

@media (min-width: 768px) {
  .philosophy-layout {
    grid-template-columns: auto 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

.philosophy-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: none;
}

@media (min-width: 768px) {
  .philosophy-label {
    display: block;
    align-self: start;
    padding-top: 0.5rem;
  }
}

.philosophy-heading {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.philosophy-body {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 2.1;
}

.philosophy-body p {
  margin-bottom: 1rem;
}

.philosophy-body p:last-child {
  margin-bottom: 0;
}

.philosophy-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes floatImage {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-14px);
  }
}

.philosophy-img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  animation: floatImage 5s ease-in-out infinite;
}

/* ============================================================
   ABOUT / COMPANY
   ============================================================ */

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
  margin-top: 120px;
}

@media (min-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr 1.2fr;
    grid-template-rows: auto 1fr;
    /* タイトル行とコンテンツ行 */
    gap: 0 4rem;
    /* 縦の隙間はコンテンツ内のmarginで調整するため0 */
    align-items: start;
  }

  .about-visual {
    grid-column: 1;
    grid-row: 1 / 3;
    /* 画像は左側2行分をぶち抜き */
  }

  .about-header {
    grid-column: 2;
    grid-row: 1;
  }

  .about-content {
    grid-column: 2;
    grid-row: 2;
  }
}

.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  /* モバイルでは余分な上部余白がないように */
}

@media (min-width: 768px) {
  .about-img {
    margin-top: 70px;
    /* デスクトップでは右カラムとのバランスを取るために下げる */
  }
}

.about-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0.75rem 0 2rem;
}

.company-table {
  border-top: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.company-row {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  gap: 1rem;
}

@media (max-width: 500px) {
  .company-row {
    flex-direction: column;
    gap: 0.25rem;
  }
}

.company-row dt {
  width: 100px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--wine-700);
}

.company-row dd {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}



/* ============================================================
   CONTACT FORM
   ============================================================ */

.contact-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: var(--ls-normal);
}

.required {
  color: var(--wine-700);
  font-size: 11px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--wine-600);
  box-shadow: 0 0 0 3px rgba(31, 107, 79, 0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-privacy {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.form-privacy a {
  color: var(--wine-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit {
  text-align: center;
}

.sp-only {
  display: inline;
}

@media (min-width: 600px) {
  .sp-only {
    display: none;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--wine-900);
  padding: 3rem 0 2rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  color: rgba(255, 255, 255, 0.7);
}

.footer-logo-img {
  height: 24px;
  width: auto;
  margin-right: 10px;
}

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

.footer-nav a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--reveal-dur) ease-out, transform var(--reveal-dur) ease-out;
}

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

.reveal--delay-1 {
  transition-delay: 180ms;
}

.reveal--delay-2 {
  transition-delay: 360ms;
}

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

  .scroll-cue-line::after {
    animation: none;
  }

  .deco-cube {
    animation: none;
  }

  .philosophy-img {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--wine-700);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(31, 107, 79, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background 0.2s;
  z-index: 200;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--wine-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 107, 79, 0.4);
}

/* ============================================================
   UTILITIES
   ============================================================ */

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