:root {
  --bg: #e8e6e3;
  --ink: #2f3a45;
  --line: #2f3a45;
  --seed: #b8a46a;
  --muted: #2f3a45;
  --border: rgba(31, 31, 31, 0.14);
  --section-pad: clamp(20px, 5vw, 30px);
  --content-max: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: "Noto Sans JP", sans-serif, "Segoe UI", sans-serif;
  line-height: 1.75;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

img,
svg {
  display: block;
}

a:link,
a:visited {
  text-decoration: underline;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1,
h2 {
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(36px, 3.2vw, 50px);
}

h2 {
  font-size: clamp(18px, 1.6vw, 26px);
}

h3 {
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.4;
  font-weight: 600;
}

h4 {
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.4;
  font-weight: 600;
}

p,
li,
input,
textarea,
button {
  font-size: clamp(14px, 1.5vw, 16px);
}

p {
  color: var(--muted);
}

.sp {
  display: none;
}

/*GSAP*/
.logo-mark,
.hero-subcopy {
  opacity: 0;
}

.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
}

.hero-title .char-space {
  display: inline-block;
}

.logo-mark img {
  display: block;
}

.js-char-reveal p {
  margin: 0;
}

.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
}

.char-space {
  display: inline-block;
  width: 0.35em;
}

.hero-title,
.hero-subcopy,
.logo-mark {
  visibility: hidden;
}

.hero-title.is-ready,
.hero-subcopy.is-ready,
.logo-mark.is-ready {
  visibility: visible;
}


/*ヘッダー*/
.site-header {
  width: 100%;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.site-header__logo {
  display: inline-block;
  width: 50px;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.site-header__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header__logo:hover {
  opacity: 0.7;
}

.site-header__menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__menu a {
  display: inline-block;
  color: var(--ink);
  font-size: clamp(11px, 1.4vw, 14px);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-header__menu a:hover {
  opacity: 0.7;
  transform: translateY(2px);
}

/*ページ進捗*/
.page-progress {
  position: fixed;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  z-index: 50;
  width: 24px;
  display: flex;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s ease;
}

.page-progress.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%);
}

.page-progress__line {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 50%;
  width: 0.5px;
  background: var(--line);
  transform: translateX(-50%);
}

.page-progress__dots {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-progress__dot {
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  padding: 0;
  margin: 0;
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  max-width: 10px;
  max-height: 10px;
  border-radius: 50%;
  box-sizing: border-box;
  flex: 0 0 10px;
  display: block;
  line-height: 1;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background-color 0.25s ease;
}

.page-progress__dot.is-active {
  transform: scale(1);
}

.page-progress__dot.is-current {
  background: var(--seed);
}

@media (max-width: 767px) {
  .page-progress {
    right: 5px;
    width: 30px;
  }

  .page-progress__dots {
    gap: 25px;
  }

  .page-progress__dot {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    max-width: 14px;
    max-height: 14px;
    flex: 0 0 14px;
  }
}

.page-progress__dot {
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .page-progress__dot::before {
    content: attr(data-label);
    position: absolute;
    top: 50%;
    right: calc(100% + 2px);
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 10px;
    line-height: 1;
    color: var(--line);
    background: rgba(255, 255, 255, 0.5);
    padding: 8px 10px;
    border-radius: 999px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .page-progress__dot:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-4px);
  }
}



/*背景星ー*/
.star-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.star {
  position: absolute;
  border-radius: 999px;
  background: rgba(107, 107, 107, 0.75);
  will-change: transform;
  animation: none;
  opacity: 1;
}



/*パス*/

#pathSvg,
#pathBg,
#seeds {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.path-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.path-bg svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.path-bg-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.path-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.path-layer svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.trail-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#trailBase {
  opacity: 0;
  pointer-events: none;
}

.trail-draw {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
  opacity: 1;
}

/*種*/
.seeds {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.seed {
  position: absolute;
  opacity: 0;
}

.seed svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sprout-seed-dot,
.sprout-leaf,
.sprout-stem {
  transform-box: fill-box;
  transform-origin: center center;
}

/*ページ*/
.page {
  position: relative;
  overflow-x: clip;
}

.section {
  position: relative;
  z-index: 4;
  min-height: 95svh;
  padding: var(--section-pad);
  display: grid;
  align-items: center;
}

#ceomessage,
#staff,
#contact {
  margin-top: clamp(96px, 16svh, 192px);
}

.section-blank {
  min-height: 30svh;
}

.section--catch {
  min-height: 50svh;
}

.footer-section {
  min-height: 100svh;
  padding: 20svh 5% 5svh 5%;
}

.section__inner {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  display: grid;
  gap: 25px;
}

.section__inner--hero {
  max-width: 920px;
  margin-bottom: 100px;
}

.section[data-align="left"] .section__inner {
  justify-items: start;
  text-align: left;
}

.section[data-align="right"] .section__inner {
  justify-items: end;
}

.section[data-align="center"] .section__inner {
  justify-items: center;
  text-align: center;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--seed);
  font-weight: bold;
}

.logo-mark {
  width: clamp(160px, 22vw, 280px);
  display: grid;
  place-items: center;
}

.hero-title {
  font-size: clamp(36px, 3.2vw, 50px);
  margin: 60px 0 20px 0;
  letter-spacing: 0.1em;
  line-height: 1.4em;
  text-align: center;
}



.hero-subcopy {
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.8;
  color: var(--ink);
}

.copy-stack {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.copy-stack--wide {
  max-width: 800px;
  margin: 0 auto;
}

.section-bg {
  border-radius: 30px;
  background: rgba(232, 230, 227, 0.26);
  padding: var(--section-pad);
  backdrop-filter: blur(4px);
}

.outline-card {
  max-width: 620px;
  display: grid;
  gap: 14px;
}

.outline-card h2,
.company-card h2 {
  font-size: 2em;
  line-height: 1.4em;
}

.staff_sec {
  margin: 20px 0;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.staff_sec h3 {
  margin-bottom: 1em;
  color: var(--seed);
}

.staff_sec h4 {
  margin-bottom: 1em;
  font-weight: 700;
}

.staff-profile-table {
  margin-bottom: 1em;
}

.staff-profile-table th,
.staff-profile-table td {
  padding: 0.25em 0;
}

.staff-profile-table th {
  width: 6em;
  padding-right: 1em;
  font-weight: 500;
  white-space: nowrap;
}

.staff_sec ol {
  padding-left: 1.5em;
  list-style: decimal;
}

.staff_sec ol li {
  margin-bottom: 1em;
}

.staff_sec ol li:last-child {
  margin-bottom: 0em;
}

.en-line {
  color: var(--seed);
}

.footer-tagline {
  color: var(--seed);
}

.footer-seed-scene {
  position: relative;
  width: min(100%, 220px);
  height: clamp(150px, 20vw, 210px);
  margin-top: 8px;
  justify-self: center;
  overflow: visible;
}

.footer-seed {
  --seed-x: 0px;
  --seed-y: -148px;
  --seed-rotate: -18deg;
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: clamp(18px, 2.2vw, 24px);
  aspect-ratio: 0.72;
  border-radius: 58% 42% 55% 45% / 46% 54% 50% 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 246, 218, 0.95) 0%, rgba(255, 246, 218, 0.25) 24%, rgba(255, 246, 218, 0) 35%),
    linear-gradient(145deg, #ddcc99 0%, #b8a46a 48%, #88754a 100%);
  box-shadow:
    0 2px 6px rgba(97, 80, 36, 0.25),
    inset -2px -3px 4px rgba(102, 75, 22, 0.28),
    inset 2px 3px 4px rgba(255, 250, 234, 0.35);
  opacity: 0;
  transform: translate(calc(-50% + var(--seed-x)), var(--seed-y)) rotate(var(--seed-rotate));
  transform-origin: center center;
  overflow: hidden;
  isolation: isolate;
  transition: opacity 0.45s ease;
  will-change: transform, opacity, filter;
}

.footer-seed::before,
.footer-seed::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.footer-seed::before {
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(112deg,
      rgba(255, 255, 255, 0) 6%,
      rgba(255, 255, 255, 0.03) 24%,
      rgba(255, 255, 255, 0.44) 36%,
      rgba(255, 255, 255, 0.78) 44%,
      rgba(255, 255, 255, 0.98) 50%,
      rgba(255, 250, 238, 0.54) 58%,
      rgba(255, 249, 236, 0.2) 66%,
      rgba(255, 255, 255, 0) 82%),
    radial-gradient(circle at 26% 22%,
      rgba(255, 252, 243, 0.72) 0%,
      rgba(255, 249, 235, 0.3) 34%,
      rgba(255, 246, 225, 0) 66%),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.04) 20%,
      rgba(255, 255, 255, 0) 48%);
  background-repeat: no-repeat;
  background-size: 260% 100%, 120% 120%, 100% 100%;
  background-position: 165% 50%, 0% 0%, 0% 0%;
  opacity: 0.4;
  filter: brightness(1);
}

.footer-seed::after {
  top: -8%;
  left: -102%;
  width: 204%;
  height: 118%;
  border-radius: inherit;
  background:
    linear-gradient(104deg,
      rgba(255, 255, 255, 0) 20%,
      rgba(255, 255, 255, 0.04) 32%,
      rgba(255, 255, 255, 0.3) 40%,
      rgba(255, 255, 255, 0.72) 48%,
      rgba(255, 255, 255, 0.94) 54%,
      rgba(255, 250, 238, 0.34) 62%,
      rgba(255, 255, 255, 0) 78%);
  background-repeat: no-repeat;
  opacity: 0;
  transform: rotate(-14deg) translateX(-56%);
  transform-origin: center center;
  filter: blur(2.2px);
  mix-blend-mode: screen;
}

.footer-seed-scene.is-active .footer-seed {
  opacity: 1;
}

.footer-seed-scene.is-landed .footer-seed::before {
  animation: footerSeedHighlightFlow 4.8s linear 0.04s infinite;
}

.footer-seed-scene.is-landed .footer-seed::after {
  animation: footerSeedSheenSweep 4.8s linear 0.04s infinite;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 700px);
}

.company-card {
  display: grid;
  gap: 12px;
}

.company-card,
.contact-card {
  opacity: 0;
  transform: translateY(40px);
}

.company-card--full {
  grid-column: 1 / -1;
}

.company-card ul {
  padding-left: 1.2em;
  display: grid;
  gap: 8px;
  list-style-type: disc;
}

.company-card h3 {
  margin-top: 2em;
}

/*フッター*/
.footer-logo {
  opacity: 1;
}

.section__footer_end {
  margin-top: auto;
  display: grid;
  gap: 50px;
  justify-content: center;
  text-align: center;
}

.section__footer_end a {
  opacity: 0.7;
  font-size: 10px;
}

.section__footer_end a:hover {
  opacity: 1;
}

.copyright {
  opacity: 0.5;
  font-size: 10px;
}

@keyframes footerSeedHighlightFlow {
  0% {
    opacity: 0.4;
    filter: brightness(1);
    background-position: 165% 50%, 0% 0%, 0% 0%;
  }

  4.5% {
    opacity: 0.48;
    filter: brightness(1.05);
    background-position: 144% 50%, 1% 0%, 0% 0%;
  }

  10.5% {
    opacity: 0.64;
    filter: brightness(1.16);
    background-position: 36% 48%, 6% 2%, 0% 0%;
  }

  16.66% {
    opacity: 0.46;
    filter: brightness(1.03);
    background-position: -18% 48%, 10% 4%, 0% 0%;
  }

  16.67%,
  100% {
    opacity: 0.4;
    filter: brightness(1);
    background-position: 165% 50%, 0% 0%, 0% 0%;
  }
}

@keyframes footerSeedSheenSweep {
  0% {
    opacity: 0;
    transform: rotate(-14deg) translateX(-56%);
  }

  4.5% {
    opacity: 0.06;
    transform: rotate(-14deg) translateX(-38%);
  }

  10.5% {
    opacity: 0.32;
    transform: rotate(-14deg) translateX(10%);
  }

  16.66% {
    opacity: 0.12;
    transform: rotate(-14deg) translateX(56%);
  }

  16.67%,
  100% {
    opacity: 0;
    transform: rotate(-14deg) translateX(-56%);
  }
}



@media (max-width: 767px) {
  .sp {
    display: block;
  }

  .site-header__inner {
    display: flex;
    gap: 20px;
    padding: 20px;
  }

  .site-header__menu {
    gap: 20px;
  }

  .hero-title {
    margin: 0;
  }

  .section--hero {
    min-height: 90svh !important;
  }

  .section {
    min-height: 150svh;
  }

  .section--catch,
  .section-blank {
    min-height: 50svh;
  }

  .footer-section {
    min-height: 100svh;
  }

  .footer-seed-scene {
    width: min(100%, 180px);
    height: 160px;
  }

  .company-grid {
    grid-template-columns: 1fr;
  }

  .company-card--full {
    grid-column: auto;
  }

  .outline-card,
  .copy-stack--wide,
  .contact-card {
    max-width: 100%;
  }

  .section[data-align="center"] .section__inner {
    text-align: left;
  }

  .copy-stack {
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {

  .footer-seed-scene.is-active .footer-seed,
  .footer-seed-scene.is-landed .footer-seed::before,
  .footer-seed-scene.is-landed .footer-seed::after {
    animation: none;
  }

  .footer-seed-scene.is-active .footer-seed {
    opacity: 1;
    transform: translate(calc(-50% + 0px), 0) rotate(-18deg);
  }

  .footer-seed-scene.is-landed .footer-seed::before {
    opacity: 0.46;
    filter: brightness(1.08);
    background-position: -18% 48%, 10% 4%, 0% 0%;
  }

  .footer-seed-scene.is-landed .footer-seed::after {
    opacity: 0;
    transform: rotate(-14deg) translateX(56%);
  }
}


/*フォーム*/

.contact-card {
  max-width: 640px;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.form-field {
  display: grid;
  gap: 8px;
  text-align: left;
}

.form-field2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  margin: 10px 0;
  line-height: 1.4;
  font-size: 12px;
}

.form-field2 input[type="checkbox"] {
  accent-color: var(--seed);
  width: 20px;
  height: 20px;
  margin-right: 0;
  flex-shrink: 0;
}

.form-field span {
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(234, 234, 234, 0.18);
  border-radius: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
  outline: none;
}

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

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid rgba(234, 234, 234, 0.18);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.contact-link:hover {
  background: rgba(184, 164, 106, 0.72);
}

.form-status {
  display: none;
  margin: 30px 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.form-status.is-error {
  display: block;
  color: #b42318;
  background: rgba(180, 35, 24, 0.1);
  border: 1px solid rgba(180, 35, 24, 0.2);
}

.form-status.is-success {
  display: block;
  color: var(--seed);
  background: rgba(184, 164, 106, 0.1);
  border: 1px solid rgba(184, 164, 106, 0.2);
}

.form-field,
.form-field2,
.turnstile-wrap {
  margin-bottom: 16px;
}

.form-field em {
  font-style: normal;
  font-size: 12px;
  color: #b42318;
  margin-left: 6px;
}

.field-error {
  display: block;
  min-height: 1.4em;
  margin-top: 6px;
  color: #b42318;
  font-size: 12px;
  line-height: 1.5;
}

.form-field input.is-error,
.form-field textarea.is-error {
  border-color: #b42318;
}

.contact-link[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.turnstile-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}


/*プライバシーポリシー*/
.privacy-panel {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.privacy-panel__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 30, 0.35);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.privacy-panel__body {
  position: absolute;
  top: 0;
  right: 0;
  width: min(680px, 100%);
  height: 100%;
  background: #fff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.45s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.privacy-panel__inner {
  padding: 80px 40px 48px;
}

.privacy-panel__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

.privacy-panel__inner h2 {
  margin: 0 0 24px;
  font-size: 30px;
  line-height: 1.3;
}

.privacy-panel__inner h3 {
  margin: 28px 0 10px;
  font-size: 18px;
  line-height: 1.5;
}

.privacy-panel__inner p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 2;
}

.privacy-panel__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.privacy-panel.is-open {
  pointer-events: auto;
}

.privacy-panel.is-open .privacy-panel__overlay {
  opacity: 1;
}

.privacy-panel.is-open .privacy-panel__body {
  transform: translateX(0);
}

body.is-privacy-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .privacy-panel__body {
    width: 100%;
  }

  .privacy-panel__inner {
    padding: 72px 20px 32px;
  }

  .privacy-panel__inner h2 {
    font-size: 24px;
  }

  .privacy-panel__inner h3 {
    font-size: 16px;
  }

  .privacy-panel__inner p {
    font-size: 13px;
    line-height: 1.9;
  }
}
