/* ロゴ、ヒーロー図版、各章の部品と操作状態を担当する。
   hover/focusの全変化は0.2〜0.35秒で統一する。 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  transition: color .25s var(--ease-standard), opacity .25s var(--ease-standard);
}

.site-header:not(.is-scrolled) {
  color: var(--white);
}

.site-header:not(.is-scrolled) .main-nav .nav-contact,
.site-header:not(.is-scrolled) .nav-toggle {
  border-color: rgba(255, 253, 245, .62);
  background: rgba(5, 11, 8, .18);
}

.site-header.is-scrolled {
  color: var(--ink);
}

.brand-leaf {
  fill: var(--brass-light);
}

.brand:hover,
.brand:focus-visible {
  color: var(--green-deep);
}

/* ブランド識別子として視認性を保つ固定ロゴ寸法の例外。 */
.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.wordmark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.05em;
}

.main-nav a {
  position: relative;
  padding-block: 8px;
  font-family: var(--font-code);
  font-size: 11px;
  letter-spacing: .07em;
  transition: color .25s var(--ease-standard), background-color .25s var(--ease-standard), border-color .25s var(--ease-standard), transform .25s var(--ease-out);
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 1px;
  border-bottom: 1px solid var(--green-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.main-nav .nav-contact {
  padding-inline: 16px;
  border: 1px solid var(--ink);
}

.main-nav .nav-contact:hover,
.main-nav .nav-contact:focus-visible {
  border-color: var(--brass-light);
  background: var(--brass-light);
  color: var(--ink);
}

.main-nav .nav-contact::after {
  content: none;
}

/* 44pxのタップ領域を保証する開閉ボタンの例外。 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
  transition: background-color .25s var(--ease-standard), border-color .25s var(--ease-standard), color .25s var(--ease-standard);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--green-deep);
  background: var(--green-deep);
  color: var(--white);
}

/* メニュー記号として1px線を保つ装飾寸法の例外。 */
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin-block: 5px;
  background: currentColor;
  transition: transform .3s var(--ease-out), opacity .25s var(--ease-standard);
}

.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image: linear-gradient(rgba(255, 253, 245, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 253, 245, .055) 1px, transparent 1px);
  background-size: 72px 72px;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 78% auto 0 max(14px, calc((100% - 1120px) / 2 + var(--gutter) / 2));
  border-left: 1px solid rgba(168, 124, 61, .27);
  pointer-events: none;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: 0;
}

/* KV写真をヒーロー全面へ敷く内在画像制御の例外。 */
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 11, 8, .9) 0%, rgba(5, 11, 8, .72) 39%, rgba(5, 11, 8, .17) 72%, rgba(5, 11, 8, .4) 100%);
}

.hero-copy,
.route-stage,
.hero-foot {
  position: relative;
  z-index: 4;
}

.hero-coordinate {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 253, 245, .3);
  color: rgba(255, 253, 245, .62);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .08em;
}

.hero-kicker {
  margin-top: clamp(42px, 6vw, 76px);
}

.hero .hero-kicker {
  color: var(--brass-light);
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(46px, 6vw, 64px);
  line-height: 1.22;
  letter-spacing: -.06em;
  color: var(--white);
}

.hero h1 em {
  color: var(--brass-light);
  font-style: normal;
}

.hero-lead {
  margin-top: 28px;
  color: rgba(255, 253, 245, .76);
  font-size: 17px;
  line-height: 2;
}

.hero-lead strong {
  color: var(--brass-light);
  font-family: var(--font-code);
  font-size: 13px;
  letter-spacing: .04em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 13px 0 10px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  transition: color .25s var(--ease-standard), border-color .25s var(--ease-standard), transform .25s var(--ease-out);
}

.hero .text-link {
  color: var(--white);
}

.text-link span {
  transition: transform .25s var(--ease-out);
}

.text-link:hover,
.text-link:focus-visible {
  border-color: var(--brass-light);
  color: var(--brass-light);
  transform: translateY(-2px);
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translate(3px, 3px);
}

.text-link--quiet {
  border-color: rgba(255, 253, 245, .32);
  color: rgba(255, 253, 245, .68);
}

.route-stage {
  margin-left: clamp(76px, 9vw, 152px);
  border: 1px solid rgba(255, 253, 245, .34);
  background: rgba(4, 10, 7, .28);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  transform: translate3d(0, 0, 0);
}

/* viewBox付きブランドアートの比率維持に必要な内在サイズ例外。 */
.route-map {
  width: 100%;
  height: auto;
  color: var(--brass-light);
  opacity: .68;
}

.route-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  border-color: rgba(255, 253, 245, .24);
  color: rgba(255, 253, 245, .66);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .08em;
}

.route-meta--top { border-bottom: 1px solid rgba(255, 253, 245, .24); }
.route-meta--bottom { border-top: 1px solid rgba(255, 253, 245, .24); }
.map-grid path, .map-contours path { fill: none; stroke: currentColor; stroke-width: 1; }
.map-grid { color: var(--white); }
.map-contours { color: var(--brass-light); }
.route-path { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.route-path--branch { stroke-width: 3; }
.route-nodes { fill: var(--ink); stroke: currentColor; stroke-width: 3; }
.route-leaf { fill: var(--green-bright); transform-box: fill-box; transform-origin: bottom center; }
.map-labels { fill: var(--white); font-family: var(--font-code); font-size: 12px; letter-spacing: .04em; }

.hero-foot {
  color: rgba(255, 253, 245, .58);
  font-family: var(--font-code);
  font-size: 10px;
  letter-spacing: .12em;
}

.hero-foot-line {
  flex: 1;
  border-top: 1px solid rgba(255, 253, 245, .28);
}

.path-origin {
  position: relative;
  padding: 24px;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  color: var(--green-deep);
}

/* 1120px外枠の内側ガターへ経路を置き、本文との幾何的な交差を避ける。 */
.growth-story {
  --storyline-x: max(14px, calc((100% - 1120px) / 2 + var(--gutter) / 2));
}

.storyline {
  position: absolute;
  z-index: 1;
  inset: 0 0 var(--section-space);
  overflow: hidden;
  pointer-events: none;
}

.storyline-track,
.storyline-progress {
  position: absolute;
  inset: 0 auto 0 var(--storyline-x);
  display: block;
  transform-origin: top;
}

.storyline-track {
  border-left: 1px solid rgba(168, 124, 61, .27);
}

/* ページを貫く経路の視認性を保つ2px装飾寸法の例外。 */
.storyline-progress {
  width: 2px;
  height: 100%;
  background: var(--brass);
  transform: scaleY(0);
}

.story-bud {
  position: absolute;
  z-index: 1;
  top: var(--section-space);
  left: calc(var(--storyline-x) - 7px);
  display: block;
  border: 2px solid var(--brass);
  border-radius: 50%;
  background: var(--bud-surface, var(--paper));
}

/* 章の到達点を示す14px装飾ノードの例外。 */
.story-bud {
  width: 14px;
  height: 14px;
}

/* 芽吹きの葉形を保つ11×7px装飾寸法の例外。 */
.story-bud::before,
.story-bud::after {
  content: "";
  position: absolute;
  bottom: 9px;
  width: 11px;
  height: 7px;
  border-radius: 100% 0 100% 0;
  background: var(--green);
  transform: scale(.45) rotate(-24deg);
  transform-origin: bottom right;
}

.story-bud::before {
  right: 6px;
}

.story-bud::after {
  left: 6px;
  transform: scale(.45) rotate(114deg);
}

.story-bud--final::before,
.story-bud--final::after {
  background: var(--brass-light);
}

/* 最終ノードの中心で経路を止め、CONTACT内を道の到達点にする。 */
.story-bud--final {
  top: auto;
  bottom: calc(var(--section-space) - 7px);
}

/* viewBox付き経路図の比率維持に必要な内在サイズ例外。 */
.path-origin svg {
  width: 100%;
  height: auto;
}

.origin-path-window {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}

.origin-path-mask {
  display: none;
}

.js.motion-ready .origin-path-mask {
  position: absolute;
  inset: 0;
  display: block;
  background: var(--paper-light);
  pointer-events: none;
  will-change: transform;
}

.path-origin > p,
.origin-axis {
  color: var(--ink-soft);
  font-family: var(--font-code);
  font-size: 10px;
  letter-spacing: .08em;
}

.path-origin > p {
  margin-top: 18px;
  text-align: right;
}

.belief {
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

.belief-label {
  color: var(--green-deep);
  font-size: 11px;
  letter-spacing: .1em;
}

.belief h3 {
  margin-top: 18px;
  font-size: clamp(26px, 3.3vw, 36px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.04em;
}

.belief > p:last-child {
  margin-top: 18px;
  color: var(--ink-soft);
  line-height: 2;
}

.image-reveal {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--sage-deep);
}

.image-reveal::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(10, 61, 44, .22);
  mix-blend-mode: color;
  pointer-events: none;
}

.image-reveal-media {
  display: block;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
}

.image-reveal-media img {
  filter: saturate(.7) contrast(1.05);
}

.photo-note,
.culture-shot figcaption {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: .06em;
}

.service {
  background: var(--sage);
  background-image: url("paper-fibers.svg");
  --bud-surface: var(--sage);
}

.service-summary p {
  padding: 26px;
  border-right: 1px solid var(--ink);
}

.service-summary p:last-child {
  border-right: 0;
}

.service-summary strong,
.service-summary span {
  display: block;
}

.service-summary strong {
  font-family: var(--font-heading);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.service-summary span {
  margin-top: 9px;
  font-family: var(--font-code);
  font-size: 10px;
  letter-spacing: .09em;
}

.route-catalog {
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(208, 178, 118, .58);
  background: #101a14;
  color: var(--white);
  box-shadow: 0 34px 90px var(--shadow-deep);
}

.atlas-sheet-head,
.atlas-sheet-foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-code);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: .1em;
}

.atlas-sheet-head {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 253, 245, .24);
  color: rgba(255, 253, 245, .58);
}

.atlas-sheet-head p {
  display: flex;
}

.atlas-sheet-head p,
.atlas-sheet-foot {
  flex-wrap: wrap;
  gap: 10px 24px;
}

.atlas-sheet-head p:first-child span:first-child {
  color: var(--brass-light);
  font-weight: 700;
}

.atlas-contours {
  position: absolute;
  z-index: 0;
  inset: 0;
  color: var(--green-bright);
  opacity: .42;
  pointer-events: none;
}

.atlas-grid {
  position: relative;
  z-index: 1;
}

/* viewBox付き測量図をボード全面へ敷く内在SVG制御の例外。 */
.atlas-contours {
  width: 100%;
  height: 100%;
}

.atlas-grid-lines path,
.atlas-elevation-lines path,
.atlas-route-line {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.atlas-grid-lines path {
  stroke: rgba(255, 253, 245, .12);
  stroke-width: 1;
}

.atlas-elevation-lines path {
  stroke: rgba(142, 198, 160, .32);
  stroke-width: 1;
}

.atlas-route-line {
  stroke: var(--brass-light);
  stroke-width: 2;
  stroke-dasharray: 5 8;
}

.atlas-route-nodes {
  fill: var(--ink);
  stroke: var(--brass-light);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.service-item {
  position: relative;
  border: 1px solid rgba(255, 253, 245, .18);
  background: rgba(10, 22, 15, .78);
}

.service-item::before {
  content: "";
  position: absolute;
  top: 19px;
  right: 19px;
  border: 3px solid var(--brass-light);
  border-radius: 50%;
}

/* 地図上の観測点として識別する6px装飾寸法の例外。 */
.service-item::before {
  width: 6px;
  height: 6px;
}

.service-item::after {
  content: attr(data-coordinate);
  display: block;
  margin-top: 28px;
  color: rgba(255, 253, 245, .38);
  font-family: var(--font-code);
  font-size: 9px;
  letter-spacing: .08em;
}

.service-item > p:first-child {
  color: var(--brass-light);
  font-size: 11px;
  letter-spacing: .08em;
}

.service-item h3 {
  font-size: 23px;
  line-height: 1.5;
  letter-spacing: -.025em;
}

.service-item > p:last-child {
  margin-top: 18px;
  color: rgba(255, 253, 245, .68);
  font-size: 14px;
  line-height: 1.95;
}

.service-item--future {
  background: rgba(168, 124, 61, .18);
}

.service-item--future > p:first-child { color: var(--brass-light); }
.service-item--future > p:last-child { color: rgba(255, 253, 245, .7); }

.atlas-sheet-foot {
  margin-top: clamp(34px, 5vw, 56px);
  padding-top: 16px;
  border-top: 1px solid rgba(255, 253, 245, .24);
  color: rgba(255, 253, 245, .5);
}

.atlas-sheet-foot p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.atlas-sheet-foot i {
  display: inline-block;
  border-radius: 50%;
  background: var(--brass-light);
}

/* 地図凡例の記号として必要な5px装飾寸法の例外。 */
.atlas-sheet-foot i {
  width: 5px;
  height: 5px;
}

.approach-copy h3 {
  margin-top: 18px;
  font-size: clamp(29px, 3.7vw, 40px);
  line-height: 1.42;
  letter-spacing: -.04em;
}

.approach-copy h3 span {
  display: block;
}

.approach {
  position: relative;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--ink);
  background: rgba(248, 244, 233, .82);
  box-shadow: 0 24px 62px rgba(17, 23, 18, .12);
}

.approach::before {
  content: "FIELD METHOD / 04 CHECKPOINTS";
  position: absolute;
  top: 11px;
  right: 15px;
  color: var(--brass);
  font-family: var(--font-code);
  font-size: 9px;
  letter-spacing: .09em;
}

.approach-copy > p:last-child {
  margin-top: 22px;
  color: var(--ink-soft);
}

.approach-list li > span {
  color: var(--brass);
  font-family: var(--font-code);
  font-size: 11px;
}

.approach-list h3 {
  font-size: 18px;
  line-height: 1.55;
}

.approach-list p {
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 14px;
}

.value {
  overflow: hidden;
  background: var(--green-deep);
  background-image: url("paper-fibers.svg");
  color: var(--white);
  --bud-surface: var(--green-deep);
}

.value-heading > div > p:last-child {
  color: rgba(255, 254, 248, .7);
}

.value-item {
  position: relative;
  display: grid;
  grid-template-columns: auto .86fr 1.14fr auto;
  gap: clamp(16px, 3vw, 42px);
  align-items: center;
  padding: 30px 0;
  border: 0;
  border-top: 1px solid var(--line-light);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color .3s var(--ease-standard);
}

.value-item::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--paper);
  opacity: 0;
  transition: opacity .3s var(--ease-standard);
}

.value-item > * {
  position: relative;
  z-index: 1;
}

.value-item:last-child {
  border-bottom: 1px solid var(--line-light);
}

.value-item:hover,
.value-item:focus-visible,
.value-item.is-grown {
  color: var(--ink);
}

.value-item:hover::before,
.value-item:focus-visible::before,
.value-item.is-grown::before {
  opacity: 1;
}

.value-number {
  color: var(--brass-light);
  font-size: 11px;
  transition: color .25s var(--ease-standard);
}

.value-item:hover .value-number,
.value-item:focus-visible .value-number,
.value-item.is-grown .value-number {
  color: var(--green-deep);
}

.value-name {
  font-family: var(--font-heading);
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.03em;
}

.value-copy {
  color: rgba(255, 254, 248, .72);
  line-height: 1.8;
  transition: color .25s var(--ease-standard);
}

.value-item:hover .value-copy,
.value-item:focus-visible .value-copy,
.value-item.is-grown .value-copy {
  color: var(--ink-soft);
}

/* 参加ギミックの意味を担う芽アイコンの固定寸法例外。 */
.value-sprout {
  width: 68px;
  height: 68px;
  color: var(--green-bright);
}

.sprout-stem {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  transform: scaleY(.35);
  transform-origin: bottom;
  transition: transform .3s var(--ease-out), color .25s var(--ease-standard);
}

.sprout-leaf {
  fill: currentColor;
  opacity: .2;
  transform: scale(.25) rotate(-10deg);
  transform-box: fill-box;
  transform-origin: bottom center;
  transition: transform .3s var(--ease-out), opacity .25s var(--ease-standard), color .25s var(--ease-standard);
}

.sprout-leaf--right {
  transform: scale(.25) rotate(10deg);
}

.value-item:hover .sprout-stem,
.value-item:focus-visible .sprout-stem,
.value-item.is-grown .sprout-stem {
  color: var(--green-deep);
  transform: scaleY(1);
}

.value-item:hover .sprout-leaf,
.value-item:focus-visible .sprout-leaf,
.value-item.is-grown .sprout-leaf {
  color: var(--green);
  opacity: 1;
  transform: scale(1) rotate(0);
}

.culture {
  background: var(--ink);
  background-image: url("paper-fibers.svg");
  color: var(--white);
  --bud-surface: var(--ink);
}

.section-heading--dark .section-lead {
  color: rgba(255, 254, 248, .66);
}

.culture-shot figcaption {
  border-color: var(--line-light);
  color: rgba(255, 254, 248, .62);
}

.culture-shot figcaption span:first-child {
  color: var(--green-bright);
}

.company {
  background: var(--paper);
  background-image: url("paper-fibers.svg");
  --bud-surface: var(--paper);
}

.about,
.contact {
  background-color: var(--paper);
  background-image: url("paper-fibers.svg");
  --bud-surface: var(--paper);
}

.contact {
  background-color: var(--paper-light);
}

.company-heading .section-kicker,
.contact-heading .section-kicker {
  margin-top: 42px;
}

.company-table {
  border-top: 1px solid var(--ink);
}

.company-table > div {
  display: grid;
  grid-template-columns: .3fr 1.7fr;
  gap: 28px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  color: var(--brass);
  font-size: 13px;
}

.company-table dd {
  font-weight: 700;
}

.contact {
  border-top: 1px solid var(--ink);
  background: var(--paper-light);
  background-image: url("paper-fibers.svg");
}

.contact-routes {
  border-top: 1px solid var(--ink);
}

.contact-route {
  position: relative;
  isolation: isolate;
  display: block;
  padding: 28px 58px 28px 0;
  border-bottom: 1px solid var(--line);
}

.contact-route > span,
.contact-route strong,
.contact-route small {
  display: block;
}

.contact-route > span {
  color: var(--green-deep);
  font-size: 10px;
  letter-spacing: .1em;
}

.contact-route strong {
  margin-top: 12px;
  overflow-wrap: anywhere;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.6vw, 29px);
}

.contact-route small {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 12px;
}

.contact-route--static {
  padding-right: 0;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  background-image: url("paper-fibers.svg");
  color: var(--white);
}

.brand--light:hover,
.brand--light:focus-visible {
  color: var(--green-bright);
}

.footer-top > div > p {
  margin-top: 18px;
  color: rgba(255, 254, 248, .55);
  font-size: 13px;
}

.footer-nav a {
  color: rgba(255, 254, 248, .64);
  font-family: var(--font-code);
  font-size: 11px;
  transition: color .25s var(--ease-standard), transform .25s var(--ease-out);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--green-bright);
  transform: translateX(4px);
}

.footer-bottom {
  color: rgba(255, 254, 248, .46);
  font-size: 11px;
}

.footer-bottom p:last-child {
  flex: none;
  font-family: var(--font-code);
}
